@remit/web-client-dist 0.0.627 → 0.0.629
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{BriefPane-5t1y6BHz.js → BriefPane-BYct_UtO.js} +1 -1
- package/assets/{CalendarComposePane-DTss51wA.js → CalendarComposePane-Ct2l8PGF.js} +1 -1
- package/assets/{CalendarComposeSeed-CL9vlNa_.js → CalendarComposeSeed-BAUjJ5e1.js} +1 -1
- package/assets/{CalendarShell-DztIkUfE.js → CalendarShell-Csd16Skk.js} +1 -1
- package/assets/{EmptyState-B8qvPptk.js → EmptyState-B3SKuNr0.js} +1 -1
- package/assets/{ErrorState-CYNdJZay.js → ErrorState-DRZtXgYN.js} +1 -1
- package/assets/{FlaggedPane-DdSqVame.js → FlaggedPane-Co2R0OJZ.js} +1 -1
- package/assets/{FullCompose-JwSUM1dz.js → FullCompose-D3rfYvQR.js} +1 -1
- package/assets/{MailListHeader-DtrSBStk.js → MailListHeader-_GRJzk6x.js} +2 -2
- package/assets/{MailNav-CkomHqJa.js → MailNav-BtW59Nse.js} +1 -1
- package/assets/{MailShell-4M0ThOPQ.js → MailShell-CYnLaaio.js} +1 -1
- package/assets/{MailViewChrome-C2gSLnkh.js → MailViewChrome-BPlYBsFJ.js} +1 -1
- package/assets/{MailboxPane-Cu5xYRG1.js → MailboxPane-DRrbQAo3.js} +1 -1
- package/assets/{NavMenuButton-D0xMoMxJ.js → NavMenuButton-CyLOK_Fk.js} +1 -1
- package/assets/{OnboardingWizard-C7hJJOMh.js → OnboardingWizard-DLhtJpGm.js} +1 -1
- package/assets/OpenCalendarEvent-3AF2sHo_.js +2 -0
- package/assets/{OutboxPane-Bl8X8wra.js → OutboxPane-CrGnKSCL.js} +1 -1
- package/assets/_calendarObjectId-D8U9KvAE.js +1 -0
- package/assets/_mailboxId-vktIVctd.js +1 -0
- package/assets/_messageId-BfmpGpHr.js +1 -0
- package/assets/_messageId-Blt9LZ9Q.js +1 -0
- package/assets/_messageId-ClgqHxMZ.js +1 -0
- package/assets/_outboxMessageId-y3qV3xL5.js +1 -0
- package/assets/_recurrenceId-CDWZOYlU.js +1 -0
- package/assets/_threadId-2_3UIOYD.js +1 -0
- package/assets/_threadId-BPyTy-By.js +1 -0
- package/assets/_threadId-DGPMII_L.js +1 -0
- package/assets/_view._date-CCgrV0Do.js +1 -0
- package/assets/{accounts-jN_yQJE_.js → accounts-DOaiKAwu.js} +1 -1
- package/assets/{advanced-48oxr_dL.js → advanced-_0mtfFtE.js} +1 -1
- package/assets/{appearance-Wtiw5IuI.js → appearance-BLCfg6Ms.js} +1 -1
- package/assets/{attendee-row-Dc953tC1.js → attendee-row-lGaZ_txP.js} +1 -1
- package/assets/{avatar-DwG8D1jL.js → avatar-C6rJXQ1w.js} +1 -1
- package/assets/{bell-off-BQZUQO8g.js → bell-off-Cj-19EBu.js} +1 -1
- package/assets/{bottom-sheet-s5YLKBla.js → bottom-sheet-cfK6fTr2.js} +1 -1
- package/assets/brief-CGtfHT7J.js +1 -0
- package/assets/{brief-55jch8aU.js → brief-D6d93plO.js} +1 -1
- package/assets/{browser-ponyfill-BrmPnOZ8.js → browser-ponyfill-BJcRCbCi.js} +1 -1
- package/assets/{bug-D8kz5RBx.js → bug-CJ2-DjZO.js} +1 -1
- package/assets/{calendar-CM5S98IJ.js → calendar-BgX2FlCk.js} +1 -1
- package/assets/{calendar-clash-strip-Bc6tbVWL.js → calendar-clash-strip-I8NCaBf8.js} +1 -1
- package/assets/{calendar-format-B3qI6wbi.js → calendar-format-BCjw6Wdf.js} +1 -1
- package/assets/calendar-report-CWyeC8kX.js +1 -0
- package/assets/calendar-suggestion-DwQe-DW4.js +1 -0
- package/assets/{calendars-2hfoiwB5.js → calendars-CGoAiczp.js} +1 -1
- package/assets/{card-4Ao2NkA2.js → card-6a_o3foG.js} +1 -1
- package/assets/chevron-left-FV6t-DmA.js +1 -0
- package/assets/{circle-check-BtWIgh52.js → circle-check-DC8HnBjT.js} +1 -1
- package/assets/{circle-check-big-Hqrv5NRV.js → circle-check-big-BfiUJz9g.js} +1 -1
- package/assets/{circle-help-Bokpo3UI.js → circle-help-DWoa8Ct-.js} +1 -1
- package/assets/{clock-Dgicr-Eu.js → clock-DpXdz1Nu.js} +1 -1
- package/assets/compose._-_outboxMessageId_-BAIi3EPa.js +1 -0
- package/assets/compose._-_outboxMessageId_-Bo9y4T_R.js +1 -0
- package/assets/compose._-_outboxMessageId_-CTRmYotA.js +1 -0
- package/assets/compose._-_outboxMessageId_-DImV9MBm.js +1 -0
- package/assets/{config-import-DJAok1vi.js → config-import-BYvmrFUu.js} +1 -1
- package/assets/{confirm-dialog-mTy79lpU.js → confirm-dialog-DOM1mbt4.js} +1 -1
- package/assets/{copy-EcAja1wR.js → copy-CrcnK6wu.js} +1 -1
- package/assets/{credential-steps-BOxGhO5V.js → credential-steps-CyekqOKR.js} +1 -1
- package/assets/{download-tF72OCwE.js → download-D2-NUPGx.js} +1 -1
- package/assets/{file-json-COvQVp1O.js → file-json-DS63hnh9.js} +1 -1
- package/assets/{filters-DiVmoYgE.js → filters-BG_lcZYK.js} +1 -1
- package/assets/flagged-DaX5J8Ls.js +1 -0
- package/assets/{flagged-BMpGTDkg.js → flagged-XVLchKuy.js} +1 -1
- package/assets/{folders-CdGPnZui.js → folders-C00jwzez.js} +1 -1
- package/assets/{help-copy-rJxyCjPk.js → help-copy-B65YMhau.js} +1 -1
- package/assets/{import-BI_aecJ7.js → import-DsorKD37.js} +1 -1
- package/assets/{index-DeB5Gt1T.js → index-B8TTkszh.js} +4 -4
- package/assets/index-B8dy8ZEr.js +1 -0
- package/assets/index-B_g7B3Va.js +1 -0
- package/assets/index-BfmpGpHr.js +1 -0
- package/assets/index-BqLh-WVK.js +1 -0
- package/assets/index-CYoWtNGH.js +1 -0
- package/assets/index-D4MEpmhl.js +1 -0
- package/assets/{index-CzAIxx9Z.css → index-DBfeW6p_.css} +1 -1
- package/assets/index-DBzJ3Srp.js +1 -0
- package/assets/{index-DiKSDrYB.js → index-Dq0vpG8a.js} +4 -4
- package/assets/{index-BXFf-INn.js → index-GoftGdCh.js} +1 -1
- package/assets/index-ivD7U85s.js +1 -0
- package/assets/index-uwheFgWq.js +1 -0
- package/assets/{kbd-uvm6kK6p.js → kbd-DWOMKFVK.js} +1 -1
- package/assets/{labels-BtRjzY26.js → labels-NgRyQzax.js} +1 -1
- package/assets/mail-C0muzgMb.js +1 -0
- package/assets/{mail-emLdAig0.js → mail-CxDqKP0C.js} +1 -1
- package/assets/{menu-DSjbpPwG.js → menu-2BgPrZbs.js} +1 -1
- package/assets/{new-CZooXtQu.js → new-BxSfNRA3.js} +1 -1
- package/assets/onboarding-BnOvNFBK.js +1 -0
- package/assets/{onboarding-completion-C4mJgl4r.js → onboarding-completion-BENx1pJ3.js} +1 -1
- package/assets/outbox-Bd9_meE1.js +1 -0
- package/assets/{pencil-CNb0-5Pl.js → pencil-BoE6dIe7.js} +1 -1
- package/assets/{popover-menu-Cgn7Nfd4.js → popover-menu-Dci8SQJT.js} +1 -1
- package/assets/{refresh-cw-CJB18AFO.js → refresh-cw-BLxv_R1t.js} +1 -1
- package/assets/{rich-text-D1bzpXoD.js → rich-text-JeoGAXcr.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-DZV-k4Gt.js → rich-text-spellcheck-worker-provider-VT9NFRFA.js} +1 -1
- package/assets/{rotate-ccw-PcV7Aj1g.js → rotate-ccw-DDVMkqGb.js} +1 -1
- package/assets/{roving-focus-_LEzDmZL.js → roving-focus-Cs6iWufr.js} +1 -1
- package/assets/{row-actions-DYKbhlSx.js → row-actions-B4tnhuQT.js} +1 -1
- package/assets/{search-mirror-C4fBrAzt.js → search-mirror-Bl-Z8zrH.js} +1 -1
- package/assets/{search-token-index-DU31ezMG.js → search-token-index-DdA7BFEr.js} +1 -1
- package/assets/{sections-D2Y9dl1V.js → sections-gAf5RAcd.js} +1 -1
- package/assets/{senders-C_y7Qjcx.js → senders-BYQobI9i.js} +1 -1
- package/assets/settings-C7cdcIE5.js +1 -0
- package/assets/{settings-screen-DIHhQ6DO.js → settings-screen-CJYSyIrG.js} +1 -1
- package/assets/{shield-check-DPEI0ZZb.js → shield-check-BbOZU-ha.js} +1 -1
- package/assets/{suggested-vips-B4Ju3eF8.js → suggested-vips-DEV2pvsA.js} +1 -1
- package/assets/{undo-2-DIxZdhXp.js → undo-2-EliG40fh.js} +1 -1
- package/assets/{useCalendarData-0Ay6SNZb.js → useCalendarData-uJPI0R64.js} +1 -1
- package/assets/{useCalendarWrites-1jLuzvvi.js → useCalendarWrites-yZ3wFhqW.js} +1 -1
- package/assets/useCalendars-Dtgsk_ok.js +1 -0
- package/assets/{useDebouncedValue-C19gwLJ_.js → useDebouncedValue-BlQHSXzq.js} +1 -1
- package/assets/{useFilters-CTEj-EYW.js → useFilters-BM8eI3xc.js} +1 -1
- package/assets/{useLabels-BMKb_utG.js → useLabels-DCAn9Wiq.js} +1 -1
- package/assets/{useLayoutTier-Df9N2iNH.js → useLayoutTier-DV_uk1qc.js} +1 -1
- package/assets/{useMessageBodyContent-Ofaofz6M.js → useMessageBodyContent-SaudvJ_f.js} +1 -1
- package/assets/{useQueries--1OAy5D-.js → useQueries-BLlTxIMR.js} +1 -1
- package/assets/{useRefreshControl-DkXroi5T.js → useRefreshControl-Dwjheutp.js} +1 -1
- package/assets/{useResultFolderIndex-CS2Q1gkO.js → useResultFolderIndex-HJDBM-FF.js} +1 -1
- package/assets/{useSearchTokenContext-DiVA41H3.js → useSearchTokenContext-CwqK76g8.js} +1 -1
- package/assets/{useSemanticSearch-Bt4_2Izp.js → useSemanticSearch-BmktGXpn.js} +1 -1
- package/assets/{useSignature-CEW3Y4c5.js → useSignature-DsTucVsn.js} +1 -1
- package/index.html +2 -2
- package/package.json +1 -1
- package/assets/OpenCalendarEvent-yxRo87Zp.js +0 -2
- package/assets/_calendarObjectId-Br7tjBSf.js +0 -1
- package/assets/_mailboxId-BF3mVGEG.js +0 -1
- package/assets/_messageId-BzBm880g.js +0 -1
- package/assets/_messageId-Cv593aOQ.js +0 -1
- package/assets/_messageId-Dk0PfvYs.js +0 -1
- package/assets/_outboxMessageId-CWfrhLed.js +0 -1
- package/assets/_recurrenceId-Q0p8iUj2.js +0 -1
- package/assets/_threadId-C511DW6-.js +0 -1
- package/assets/_threadId-D2Cm0AnH.js +0 -1
- package/assets/_threadId-DjnMDLva.js +0 -1
- package/assets/_view._date-BXjmgREA.js +0 -1
- package/assets/brief-BB7wVPuQ.js +0 -1
- package/assets/calendar-suggestion-CgfI_4zL.js +0 -1
- package/assets/chevron-left-BSjR7PEV.js +0 -1
- package/assets/compose._-_outboxMessageId_-7hn05od-.js +0 -1
- package/assets/compose._-_outboxMessageId_-7j3PUiK0.js +0 -1
- package/assets/compose._-_outboxMessageId_-B2jiGI81.js +0 -1
- package/assets/compose._-_outboxMessageId_-DIdON4OY.js +0 -1
- package/assets/flagged-Hmh-aluQ.js +0 -1
- package/assets/index-BhWnYjov.js +0 -1
- package/assets/index-BkFCkN1d.js +0 -1
- package/assets/index-BzBm880g.js +0 -1
- package/assets/index-CV9Zi8kJ.js +0 -1
- package/assets/index-CsiaL8BT.js +0 -1
- package/assets/index-Csr51iTJ.js +0 -1
- package/assets/index-DCens478.js +0 -1
- package/assets/index-DhsBisgX.js +0 -1
- package/assets/index-Du6bKdnx.js +0 -1
- package/assets/mail-CLI9a3g0.js +0 -1
- package/assets/map-pin-bJa_ILz7.js +0 -1
- package/assets/onboarding-C6DX5Sl4.js +0 -1
- package/assets/outbox-Cm3jksst.js +0 -1
- package/assets/settings-Dq17dF34.js +0 -1
- package/assets/useCalendars-BrbeMcxP.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,i as b,eF as I,c as C,eG as x,e0 as F,eH as D,h as y,eI as N,eJ as P,eK as L,eL as z}from"./index-
|
|
1
|
+
import{r as p,i as b,eF as I,c as C,eG as x,e0 as F,eH as D,h as y,eI as N,eJ as P,eK as L,eL as z}from"./index-Dq0vpG8a.js";const W=(e,t)=>{if(e.state==="Expired")return"Expired";if(e.scope!=="Temporary"||!e.expiresAt)return"Active";const r=Date.parse(e.expiresAt);return Number.isNaN(r)?"Active":r<=t?"Expired":"Active"},B=e=>{if(!e)return;const t=Date.parse(e);if(!Number.isNaN(t))return new Date(t).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})},M=(e,t=new Date)=>{if(!e)return;const r=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(!r)return;const[,a,i,n]=r,s=new Date(Number(a),Number(i)-1,Number(n),23,59,59,0);if(Number.isNaN(s.getTime()))return;const o=-t.getTimezoneOffset(),d=o>=0?"+":"-",l=Math.abs(o),c=String(Math.floor(l/60)).padStart(2,"0"),f=String(l%60).padStart(2,"0"),u=m=>String(m).padStart(2,"0");return`${s.getFullYear()}-${u(s.getMonth()+1)}-${u(s.getDate())}T${u(s.getHours())}:${u(s.getMinutes())}:${u(s.getSeconds())}${d}${c}:${f}`},h="None",G=e=>!e.literalClauses.some(t=>t.field==="HasWords"),O=e=>({...e.anchorMessageId?{anchorMessageId:e.anchorMessageId}:{},matchOperator:e.matchOperator,literalClauses:e.literalClauses,actionLabelId:e.labelId??h,actionMailboxId:e.moveMailboxId??h}),V=({mode:e,ruleScope:t})=>t==="standing"?"standing":t==="until"?"temporary":e==="selected"?"just-these":"all-like-these",X=({mode:e,ruleScope:t,anchorMessageId:r,clauses:a,matchOperator:i,moveMailboxId:n,until:s})=>({...e==="similar"&&r?{anchorMessageId:r}:{},matchOperator:i==="all"?"And":"Or",literalClauses:a.map(o=>({field:o.field,value:o.value})),moveMailboxId:n,expiresAt:t==="until"?M(s??""):void 0}),S=(e,t,r)=>({name:r,scope:t==="standing"?"Standing":"Temporary",...t==="temporary"&&e.expiresAt?{expiresAt:e.expiresAt}:{},matchOperator:e.matchOperator,literalClauses:e.literalClauses,actionLabelId:e.labelId??h,actionMailboxId:e.moveMailboxId??h,...e.anchorMessageId?{anchorMessageId:e.anchorMessageId}:{}}),T=new Set(["Complete","Failed"]),v=e=>e!==void 0&&T.has(e),w=1e3,J=15e3,_=e=>{const t=Math.max(0,e),r=w*2**t;return Math.min(r,J)},$=(e,t,r)=>{if(e)return{kind:r?"restartFailed":"startFailed",error:e};if(t)return{kind:"statusUnreadable",error:t}},Y=e=>{const[t,r]=p.useState(),a=b({...I(),onSuccess:g=>r(g.organizeJobId)}),{mutate:i}=a,n=C({...x({path:{accountId:e??"",organizeJobId:t??""}}),enabled:!!e&&!!t,refetchInterval:g=>{const E=g.state.data?.state;return v(E)?!1:_(g.state.dataUpdateCount)}}),s=p.useCallback(g=>{e&&i({path:{accountId:e},body:O(g)})},[e,i]),{refetch:o}=n,d=p.useCallback(()=>{o()},[o]),l=n.data,c=a.isPending?void 0:l,f=c?.state??a.data?.state,u=v(c?.state),m={state:f,matchedCount:c?.matchedCount??0,appliedCount:c?.appliedCount??0,failedCount:c?.failedCount??0,errorMessage:c?.errorMessage??""};return{start:s,refreshStatus:d,progress:m,isStarting:a.isPending,isRunning:!!t&&!u,isDone:u,failure:$(a.error,n.error,!!l)}},Z=["From","Subject","HasWords","ListId","FromDomain"],k=e=>{const t=e.trim(),r=t.match(/<([^>]+)>/);return(r?r[1]:t).trim().toLowerCase()},ee=(e,t)=>e==="ListId"?k(t):t.trim(),R=e=>e==="all"?"And":"Or",U=(e,t)=>{const r=e.widen!==void 0&&!e.widen.inactive,a=e.clauses.map(i=>({field:i.field,value:i.value}));return{...r&&t?{anchorMessageId:t}:{},matchOperator:R(e.matchOperator),literalClauses:a}},H=e=>e.anchorMessageId!==void 0||!e.literalClauses.some(t=>t.field==="HasWords"),Q=e=>JSON.stringify({anchor:e.anchorMessageId??null,operator:e.matchOperator,clauses:e.literalClauses.map(t=>`${t.field} ${t.value}`)}),te=(e,t)=>{const r=U(e,t);return{...r.anchorMessageId?{anchorMessageId:r.anchorMessageId}:{},matchOperator:r.matchOperator,literalClauses:r.literalClauses,moveMailboxId:e.moveMailboxId,labelId:e.labelId,expiresAt:e.scope==="until"?M(e.until??""):void 0}},j=(e,t)=>{if(e.error!==void 0&&e.errorSignature===t)return{status:"error",reason:e.error};if(e.count===void 0)return{status:"loading"};const r=e.indexEmpty===!0?{indexEmpty:!0}:{};return e.previewedSignature===t?{status:"ready",count:e.count,...r}:{status:"ready",count:e.count,stale:!0,...r}},q=350,re=(e,t,r)=>{const a=b(F()),{mutateAsync:i}=a,n=Q(t),[s,o]=p.useState(()=>({})),d=p.useRef(t);d.current=t;const l=p.useRef(n),c=H(t);return p.useEffect(()=>{if(!e||!c||n===s.previewedSignature||n===s.errorSignature)return;const f=setTimeout(()=>{const u=n;l.current=u,i({path:{accountId:e},body:O({...d.current})}).then(m=>{l.current===u&&o({count:m.matchedCount,matchedIds:m.messageIds,indexEmpty:m.semanticIndexEmpty===!0,previewedSignature:u})}).catch(m=>{l.current===u&&o(g=>({...g,error:m instanceof Error?m.message:"Couldn't count matches.",errorSignature:u}))})},q);return()=>clearTimeout(f)},[e,c,n,s.previewedSignature,s.errorSignature,i]),c?{count:j(s,n),matchedIds:s.previewedSignature===n?s.matchedIds??[]:[]}:{count:{status:"error",reason:D},matchedIds:[]}},A=e=>P({path:{accountId:e}}),se=e=>{const t=C({...L({path:{accountId:e??""}}),enabled:!!e});return{filters:t.data?.items??[],isPending:t.isPending,isError:t.isError,error:t.error,refetch:t.refetch}},ae=e=>{const t=y(),r=b({...N(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a,mutateAsync:i}=r,n=p.useCallback((o,d,l)=>{e&&a({path:{accountId:e},body:S(o,d,l)})},[e,a]),s=p.useCallback(async(o,d,l)=>e?i({path:{accountId:e},body:S(o,d,l)}).then(()=>!0,()=>!1):!1,[e,i]);return{createFilter:n,createFilterAsync:s,isPending:r.isPending,isSuccess:r.isSuccess,isError:r.isError,error:r.error,reset:r.reset}},ne=e=>{const t=y(),r=b({...z(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a}=r;return{deleteFilter:p.useCallback(n=>{e&&a({path:{accountId:e,filterId:n}})},[e,a]),isPending:r.isPending,deletingFilterId:r.isPending?r.variables?.path.filterId:void 0}};export{h as N,Z as S,Y as a,A as b,te as c,B as d,se as e,W as f,ne as g,O as h,ae as i,X as j,G as k,ee as n,V as o,M as p,U as r,re as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,ep as L,h as n,i as l,eq as d,r as o,er as y,es as c,et as g}from"./index-
|
|
1
|
+
import{c as p,ep as L,h as n,i as l,eq as d,r as o,er as y,es as c,et as g}from"./index-Dq0vpG8a.js";const u=e=>y({path:{accountId:e}}),f=e=>{const r=p({...L({path:{accountId:e??""}}),enabled:!!e});return{labels:r.data?.items??[],isPending:r.isPending,isError:r.isError,error:r.error,refetch:r.refetch}},h=e=>{const r=n(),t=l({...d(),onSuccess:()=>{e&&r.invalidateQueries({queryKey:u(e)})}}),{mutateAsync:s}=t;return{createLabel:o.useCallback((a,i="Default")=>e?s({path:{accountId:e},body:{name:a,color:i}}):Promise.reject(new Error("No account")),[e,s]),isPending:t.isPending,isError:t.isError,error:t.error,reset:t.reset}},m=e=>{const r=n(),t=l({...c(),onSuccess:()=>{e&&r.invalidateQueries({queryKey:u(e)})}}),{mutate:s}=t;return{updateLabel:o.useCallback((a,i)=>{e&&s({path:{accountId:e,labelId:a},body:i})},[e,s]),isPending:t.isPending,updatingLabelId:t.isPending?t.variables?.path.labelId:void 0}},C=e=>{const r=n(),t=l({...g(),onSuccess:()=>{e&&r.invalidateQueries({queryKey:u(e)})}}),{mutate:s}=t;return{deleteLabel:o.useCallback(a=>{e&&s({path:{accountId:e,labelId:a}})},[e,s]),isPending:t.isPending,deletingLabelId:t.isPending?t.variables?.path.labelId:void 0}};export{f as a,m as b,C as c,h as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c1 as s,c2 as e}from"./index-
|
|
1
|
+
import{c1 as s,c2 as e}from"./index-Dq0vpG8a.js";const i=768,r=t=>t!=="desktop",a=()=>{const t=s(`(min-width: ${i}px)`);return s(e)?"desktop":t?"tablet":"phone"};export{r as i,a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,u as S,cn as O,co as N,a9 as h,cp as B,q as P,ab as U,h as $,c as D,cN as F,cO as v}from"./index-
|
|
1
|
+
import{r as c,u as S,cn as O,co as N,a9 as h,cp as B,q as P,ab as U,h as $,c as D,cN as F,cO as v}from"./index-Dq0vpG8a.js";const R="/mail/brief/compose/{-$outboxMessageId}",w="/mail/flagged/compose/{-$outboxMessageId}",E="/mail/outbox/compose/{-$outboxMessageId}",k="/mail/$mailboxId/compose/{-$outboxMessageId}";function T(){const e=h({from:R,shouldThrow:!1}),t=h({from:w,shouldThrow:!1}),r=h({from:E,shouldThrow:!1}),s=h({from:k,shouldThrow:!1});return e??t??r??s}function Y(){return T()!==void 0}function j(){return T()?.outboxMessageId}function L(e,t,r){return e==="flagged"?{to:w,params:{outboxMessageId:r}}:e==="outbox"?{to:E,params:{outboxMessageId:r}}:e==="mailbox"&&t?{to:k,params:{mailboxId:t,outboxMessageId:r}}:{to:R,params:{outboxMessageId:r}}}function g(){const e=S(),t=O(),{list:r,mailboxId:s}=N();return c.useCallback((n,o)=>{e({...L(r,s,n),search:a=>a,hash:o?.keepPanels?!0:t,replace:o?.replace??!1})},[e,t,r,s])}function J(){const e=g();return c.useCallback(()=>e(void 0),[e])}function V(){const e=g();return c.useCallback(t=>e(t),[e])}function Z(){const e=g();return c.useCallback(t=>e(t,{replace:!0,keepPanels:!0}),[e])}function ee(){return B()}const _=e=>{const t=e.filter(n=>!n.isMultipart&&n.disposition!=="attachment"&&n.mediaType==="TEXT"&&n.contentUrl.length>0),r=t.find(n=>n.mediaSubtype.toUpperCase()==="HTML");if(r)return{kind:"html",contentUrl:r.contentUrl};const s=t.find(n=>n.mediaSubtype.toUpperCase()==="PLAIN");return s?{kind:"text",contentUrl:s.contentUrl}:null},b={all:["messages"],detail:e=>[...b.all,"detail",e],body:e=>[...b.detail(e),"body"]};class f extends Error{reason;status;retryAfterSeconds;constructor(t,r,s,n){super(r),this.name="BodyFetchError",this.reason=t,this.status=s,this.retryAfterSeconds=n}}const q=e=>{const t=Number.parseInt(e??"",10);return!Number.isFinite(t)||t<=0?1:Math.min(t,30)},K=8,Q="x-remit-403-reason",I=(e,t)=>{const r=t?.trim()??"";return e===401?"auth":e===403?r.length>0?"auth":"body-missing":e===404?"body-missing":"generic"},X=(e,t)=>(t??"").toLowerCase().startsWith("text/html")?/<div\s+id=["']root["']/i.test(e):!1,G=(e,t)=>{const r=(t??"").toLowerCase();return!!(e==="text"&&r.startsWith("text/html"))},H=async(e,t,r=async()=>null)=>{const s={},n=await r();n&&(s.Authorization=`Bearer ${n}`);const o=await v(e,{headers:s});if(o.status===202)throw new f("not-ready","Message body is still syncing",202,q(o.headers.get("Retry-After")));if(!o.ok){const l=o.headers.get(Q),y=I(o.status,l);throw new f(y,`Failed to load message body (${o.status} ${o.statusText})`,o.status)}const a=o.headers.get("content-type");if(G(t,a))throw new f("content-type-mismatch",`Refusing to render message body — expected ${t}, got Content-Type ${a}`);const m=await o.text();if(X(m,a))throw new f("spa-shell-leak","Refusing to render message body — response looks like the SPA shell (CloudFront 403/404 fallback leaked through to /content/*)");return m},W=async(e,t)=>(t.isRetryAfterNotReady&&await e.refetchDescribeMessage(),e.fetchContent(t.contentUrl,t.kind)),te=({messageId:e,bodyParts:t,enabled:r=!0})=>{const s=t?_(t):null,n=P(),{getToken:o}=U(),a=c.useRef(null),m=$(),l=c.useRef(!1),y=c.useRef(null),C=e&&s?`${e}:${s.contentUrl}`:null;y.current!==C&&(y.current=C,l.current=!1);const i=D({queryKey:e?[...b.body(e),s?.contentUrl??null]:["messages","body","noop"],queryFn:()=>{if(!s)throw new Error("No renderable body part");if(!e)throw new Error("No messageId");const d=l.current;return l.current=!1,W({fetchContent:(u,M)=>H(u,M,o),refetchDescribeMessage:()=>m.refetchQueries({queryKey:F({path:{messageId:e}})})},{contentUrl:s.contentUrl,kind:s.kind,isRetryAfterNotReady:d})},enabled:r&&!!e&&!!s,staleTime:300*1e3,gcTime:1800*1e3,retry:(d,u)=>u instanceof f&&u.reason==="not-ready"?d<K:d<1,retryDelay:(d,u)=>u instanceof f&&u.reason==="not-ready"?(l.current=!0,(u.retryAfterSeconds??1)*1e3):1e3,meta:{softError:!0}}),p=i.isLoading&&!!s,x=t!==void 0&&s===null;c.useEffect(()=>{p&&(a.current=performance.now())},[p]),c.useEffect(()=>{i.isSuccess&&a.current!==null&&(n.recordTiming("message.body.load",Math.round(performance.now()-a.current)),a.current=null)},[i.isSuccess,n]);const A=i.data&&s?{kind:s.kind,body:i.data}:void 0;return{picked:s,data:A,isLoading:p,hasNoRenderablePart:x,isError:i.isError,error:i.error,refetch:i.refetch}};export{f as B,Y as a,te as b,j as c,Z as d,ee as e,V as f,I as g,J as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c3 as Q,c4 as y,c5 as S,c6 as w,c7 as C,h as k,c8 as q,c9 as x,r as p,ca as M,cb as H,cc as L,cd as P,ce as O,cf as B,cg as A}from"./index-
|
|
1
|
+
import{c3 as Q,c4 as y,c5 as S,c6 as w,c7 as C,h as k,c8 as q,c9 as x,r as p,ca as M,cb as H,cc as L,cd as P,ce as O,cf as B,cg as A}from"./index-Dq0vpG8a.js";function R(r,e){const s=new Set(e);return r.filter(t=>!s.has(t))}function T(r,e,s){const t=r.slice(0);return t[e]=s,t}var z=class extends Q{#i;#e;#n;#r;#s;#t;#o;#u;#h;#c=[];constructor(r,e,s){super(),this.#i=r,this.#r=s,this.#n=[],this.#s=[],this.#e=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(e=>{this.#d(r,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,e){this.#n=r,this.#r=e,y.batch(()=>{const s=this.#s,t=this.#f(this.#n);t.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=t.map(o=>o.observer),n=i.map(o=>o.getCurrentResult()),u=s.length!==i.length,a=i.some((o,d)=>o!==s[d]),f=u||a,b=f?!0:n.some((o,d)=>{const g=this.#e[d];return!g||!S(o,g)});!f&&!b||(f&&(this.#c=t,this.#s=i),this.#e=n,this.hasListeners()&&(f&&(R(s,i).forEach(o=>{o.destroy()}),R(i,s).forEach(o=>{o.subscribe(d=>{this.#d(o,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,e){const s=this.#f(r),t=s.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=s.map(n=>n.defaultedQueryOptions.queryHash);return[t,n=>this.#l(n??t,e,i),()=>this.#a(t,s)]}#a(r,e){return e.map((s,t)=>{const i=r[t];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,n=>{e.forEach(u=>{u.observer.trackProp(n)})})})}#l(r,e,s){if(e){const t=this.#h,i=s!==void 0&&t!==void 0&&(t.length!==s.length||s.some((n,u)=>n!==t[u]));return(!this.#t||this.#e!==this.#u||i||e!==this.#o)&&(this.#o=e,this.#u=this.#e,s!==void 0&&(this.#h=s),this.#t=w(this.#t,e(r))),this.#t}return r}#b(){return this.#r?.combine!==void 0&&this.#s.some((r,e)=>r.options.suspense&&this.#e[e]?.data===void 0)}#f(r){const e=new Map;this.#s.forEach(t=>{const i=t.options.queryHash;if(!i)return;const n=e.get(i);n?n.push(t):e.set(i,[t])});const s=[];return r.forEach(t=>{const i=this.#i.defaultQueryOptions(t),u=e.get(i.queryHash)?.shift()??new C(this.#i,i);s.push({defaultedQueryOptions:i,observer:u})}),s}#d(r,e){const s=this.#s.indexOf(r);s!==-1&&(this.#e=T(this.#e,s,e),this.#p())}#p(){if(this.hasListeners()){const r=this.#a(this.#e,this.#c),e=this.#b(),s=this.#t,t=e?s:this.#l(r,this.#r?.combine);(e||s!==t)&&y.batch(()=>{this.listeners.forEach(i=>{i(this.#e)})})}}};function U({queries:r,...e},s){const t=k(),i=q(),n=x(),u=p.useMemo(()=>r.map(h=>{const c=t.defaultQueryOptions(h);return c._optimisticResults=i?"isRestoring":"optimistic",c}),[r,t,i]);u.forEach(h=>{M(h);const c=t.getQueryCache().get(h.queryHash);H(h,n,c)}),L(n);const[a]=p.useState(()=>new z(t,u,e)),[f,b,o]=a.getOptimisticResult(u,e.combine),d=!i&&e.subscribed!==!1;p.useSyncExternalStore(p.useCallback(h=>d?a.subscribe(y.batchCalls(h)):P,[a,d]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),p.useEffect(()=>{a.setQueries(u,e)},[u,e,a]);const m=f.some((h,c)=>O(u[c],h))?f.flatMap((h,c)=>{const l=u[c];if(l&&O(l,h)){const E=new C(t,l);return B(l,E,n)}return[]}):[];if(m.length>0)throw Promise.all(m);const v=f.find((h,c)=>{const l=u[c];return l&&A({result:h,errorResetBoundary:n,throwOnError:l.throwOnError,query:t.getQueryCache().get(l.queryHash),suspense:l.suspense})});if(v?.error)throw v.error;return b(o())}export{U as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as E,a0 as K,t as Q,f as U,r as o,aT as R,h as N,C as $,E as z,F as B,q as G,P as I,Q as X,R as V,S as J}from"./index-
|
|
1
|
+
import{j as E,a0 as K,t as Q,f as U,r as o,aT as R,h as N,C as $,E as z,F as B,q as G,P as I,Q as X,R as V,S as J}from"./index-Dq0vpG8a.js";import{C as Y}from"./circle-check-big-BfiUJz9g.js";import{R as Z}from"./refresh-cw-BLxv_R1t.js";import{u as P}from"./useQueries-BLlTxIMR.js";function ye({state:e,onRefresh:s,label:t,errorMessage:n,hasUpdate:a,size:u="sm",className:c}){const i=e==="refreshing",r=e==="error",h=e==="success",S=r?E.jsx(K,{className:"size-4 text-danger"}):h?E.jsx(Y,{className:"size-4 text-positive"}):E.jsx(Z,{className:Q("size-4",i&&"animate-spin")}),w=r?`${t} — failed: ${n??"try again"}`:i?`${t} — refreshing`:h?`${t} — up to date`:a?`${t} — new mail`:t;return E.jsxs("div",{className:"relative inline-flex",children:[E.jsx(U,{variant:"ghost",size:u,icon:S,onClick:s,disabled:i,"aria-label":w,"aria-busy":i||void 0,title:r?n:t,className:c}),e==="idle"&&a&&E.jsx("span",{"aria-hidden":"true",className:"absolute right-1 top-1 size-1.5 rounded-full bg-accent-2"})]})}const ee=new Set(["discovering_mailboxes","syncing_inbox","syncing_others"]);function L(e){return!!e&&ee.has(e)}const F=3e3,te=F*2,C={syncing:!1,resolved:!1,synced:0,total:0};function we(e,s){const t=e.join(","),[n,a]=o.useState(!1),[u,c]=o.useState(!1);o.useEffect(()=>{a(!1),c(!1)},[t,s]),o.useEffect(()=>{if(!s)return;const m=setTimeout(()=>c(!0),te);return()=>clearTimeout(m)},[t,s]);const i=P({queries:e.map(m=>({...R({path:{accountId:m}}),enabled:s&&!n,refetchInterval:F,meta:{softError:!0}}))}),r=i.every(m=>m.isSuccess||m.isError),h=i.length===0||r||u;let S=!1,w=0,y=0;for(const m of i)if(L(m.data?.syncPhase)){S=!0;for(const l of m.data?.mailboxes??[])w+=l.messagesSynced,y+=l.messagesTotal}const x=s&&h&&!S;return o.useEffect(()=>{x&&a(!0)},[x]),!s||!h?C:{syncing:S,resolved:!0,synced:w,total:y}}const se=180*1e3,xe=30*1e3;let q=0;const M=new Set,re=(e=Date.now())=>{q=e+se;for(const s of M)s()},pe=(e=Date.now())=>e<q,Ee=e=>(M.add(e),()=>{M.delete(e)}),T=6e4,ne=new Set(["sent","drafts","trash","archive"]),_=(e,s)=>{const t=new Map;for(const n of e){const a=s.get(n.mailboxId)?.role;a&&ne.has(a)||t.set(n.mailboxId,n.highWaterMarkUid)}return t},j=(e,s)=>{const t=[];for(const[n,a]of s)a>(e.get(n)??0)&&t.push(n);return t},oe=(e,s)=>j(e,s).length>0,D=o.createContext(null),ae=()=>{const e=o.useContext(D);if(!e)throw new Error("useMailFreshness must be used inside <MailFreshnessProvider>");return e};function be({accountIds:e,children:s}){const t=N(),{resultFolderIndex:n}=$(),a=o.useRef(new Map),u=o.useRef(new Set),c=o.useRef(new Map),[i,r]=o.useState(new Set),h=P({queries:e.map(l=>({...R({path:{accountId:l}}),refetchInterval:T,staleTime:T,meta:{softError:!0}}))}),S=h.map(l=>l.dataUpdatedAt).join(","),w=e.join(",");o.useEffect(()=>{let l=!1;const f=new Set(i);e.forEach((d,p)=>{const b=h[p]?.data;if(!b)return;const g=_(b.mailboxes??[],n),v=c.current.get(d);if(c.current.set(d,g),v){const A=j(v,g);A.length>0&&z(t,B(A))}if(!u.current.has(d)){u.current.add(d),a.current.set(d,g);return}if(f.has(d))return;const W=a.current.get(d)??new Map;oe(W,g)&&(f.add(d),l=!0)}),l&&r(f)},[w,S]);const y=o.useCallback(l=>l.some(f=>i.has(f)),[i]),x=o.useCallback(l=>{r(f=>{if(l.every(p=>!f.has(p)))return f;const d=new Set(f);for(const p of l)d.delete(p);return d});for(const f of l){const d=t.getQueryData(R({path:{accountId:f}}).queryKey);a.current.set(f,_(d?.mailboxes??[],n)),u.current.add(f)}},[t,n]),m=o.useMemo(()=>({hasNewMail:y,acknowledge:x}),[y,x]);return E.jsx(D.Provider,{value:m,children:s})}const ie=2e3,ce=45e3,ue=e=>new Promise(s=>setTimeout(s,e)),k=e=>e instanceof Error&&e.message?e.message:"Something went wrong",le=e=>{V(e,{softError:!0},"user")&&J(e)},O=(e,s)=>e.fetchQuery({...R({path:{accountId:s}}),staleTime:0}),H=e=>e.mailboxes?.find(s=>s.fullPath?.toUpperCase()==="INBOX")?.lastSyncedAt??0,fe=async({accountId:e,readStatus:s,baselineLastSyncAt:t,baselineInboxSyncedAt:n=0,onInboxSynced:a,deadline:u,pollMs:c=ie})=>{let i=!1;for(;;){const r=await s().then(y=>({ok:!0,data:y})).catch(y=>({ok:!1,error:y}));if(!r.ok)return{accountId:e,message:k(r.error)};const{syncPhase:h,lastSyncAt:S}=r.data;if((S??0)>t&&!L(h))return h==="error"?{accountId:e,message:"Sync failed for this account"}:void 0;if(!i&&H(r.data)>n&&(i=!0,a?.()),Date.now()>=u)return{accountId:e,message:"Refresh is taking longer than usual"};await ue(c)}},de=async(e,s,t,n,a)=>{const u=await O(e,t).then(r=>({ok:!0,lastSyncAt:r.lastSyncAt??0,inboxSyncedAt:H(r)})).catch(r=>({ok:!1,error:r}));if(!u.ok)return{accountId:t,enqueued:!1,ok:!1,message:k(u.error)};const c=await I({path:{accountId:t},throwOnError:!0}).then(()=>({ok:!0})).catch(r=>({ok:!1,error:r}));if(!c.ok)return le(c.error),{accountId:t,enqueued:!1,ok:!1,message:k(c.error)};s.recordEvent("sync.triggered");const i=await fe({accountId:t,readStatus:()=>O(e,t),baselineLastSyncAt:u.lastSyncAt,baselineInboxSyncedAt:u.inboxSyncedAt,onInboxSynced:()=>a(t),deadline:n});return i?{accountId:t,enqueued:!0,ok:!1,message:i.message}:{accountId:t,enqueued:!0,ok:!0}},Re=(e,s={})=>{const t=N(),n=G(),{acknowledge:a}=ae(),[u,c]=o.useState("idle"),[i,r]=o.useState(),h=o.useRef(0),S=o.useRef(e);S.current=e;const w=o.useRef(s);w.current=s,o.useEffect(()=>{if(u!=="success")return;const x=setTimeout(()=>c("idle"),2e3);return()=>clearTimeout(x)},[u]);const y=o.useCallback(()=>{const x=S.current;if(x.length===0){c("error"),r("Nothing to refresh yet");return}const m=++h.current;c("refreshing"),r(void 0),re();const l=f=>{h.current===m&&(t.invalidateQueries({queryKey:X({path:{accountId:f}})}),w.current.onSettled?.())};(async()=>{const f=Date.now()+ce,d=await Promise.all(x.map(g=>de(t,n,g,f,l)));if(h.current!==m)return;const p=d.filter(g=>g.enqueued).map(g=>g.accountId);for(const g of p)l(g);p.length>0&&a(p);const b=d.filter(g=>!g.ok);b.length===0?c("success"):(c("error"),r(b[0]?.message))})()},[a,t,n]);return{state:u,errorMessage:i,refresh:y}};export{xe as H,be as M,ye as R,Re as a,L as b,we as c,pe as i,Ee as s,ae as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as r,r as s,b7 as t}from"./index-
|
|
1
|
+
import{K as r,r as s,b7 as t}from"./index-Dq0vpG8a.js";import{u as m}from"./useQueries-BLlTxIMR.js";const a=i=>({items:i.map(e=>e.data?.items??[]),isPending:i.some(e=>e.isPending),error:i.find(e=>e.error)?.error??null});function u(i){const e=m({queries:i.map(o=>({...r({path:{accountId:o.accountId}}),staleTime:1/0})),combine:a});return{index:s.useMemo(()=>t(i.map((o,n)=>({folderAppointments:o.folderAppointments,mailboxes:e.items[n]??[]}))),[i,e]),isPending:e.isPending,error:e.error}}export{u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as h,j as a,cu as Y,t as b,I as X,h as Z,at as J,i as ee,av as te,cN as se,bS as re,ab as ne,a0 as ae,X as oe,d6 as _,d7 as I,C as ie,co as ce}from"./index-
|
|
1
|
+
import{r as h,j as a,cu as Y,t as b,I as X,h as Z,at as J,i as ee,av as te,cN as se,bS as re,ab as ne,a0 as ae,X as oe,d6 as _,d7 as I,C as ie,co as ce}from"./index-Dq0vpG8a.js";import{K as A}from"./kbd-DWOMKFVK.js";import{B as le,b as de}from"./useMessageBodyContent-SaudvJ_f.js";import{i as ue}from"./search-scope-B5-OK3Cq.js";const me='"Geist Variable", "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',k={light:{fg:"oklch(0.3 0.025 235)",canvas:"oklch(0.96 0.015 90)",accent:"oklch(0.55 0.14 150)"},dark:{fg:"oklch(0.88 0.02 90)",canvas:"oklch(0.22 0.025 220)",accent:"oklch(0.78 0.16 150)"}},fe={background:!1,spacing:!1},he="16px",ge=()=>`html{padding:0}body{padding:${he};box-sizing:border-box}`,pe=()=>"html{overflow:hidden}body{overflow-x:auto}",be=/prefers-color-scheme\s*:\s*dark|color-scheme\s*:\s*[^;}"']*\bdark\b/i,ye='<meta name="viewport" content="width=device-width, initial-scale=1">',xe=e=>{const t=e?k.dark:k.light;return`
|
|
2
2
|
/* Plain-email base: UI font-stack + theme-aware colors (#424) */
|
|
3
3
|
html, body {
|
|
4
4
|
font-family: ${me};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as L,at as M,i as k,E as I,F as E,cz as A,el as R,r as v,dy as j,j as p,em as h,en as w,eo as D,C as _,co as z,c as N,dS as Q,d6 as O}from"./index-
|
|
1
|
+
import{h as L,at as M,i as k,E as I,F as E,cz as A,el as R,r as v,dy as j,j as p,em as h,en as w,eo as D,C as _,co as z,c as N,dS as Q,d6 as O}from"./index-Dq0vpG8a.js";import{c as U}from"./popover-menu-Dci8SQJT.js";import{aj as q}from"./MailListHeader-_GRJzk6x.js";import{a as P}from"./useLabels-DCAn9Wiq.js";import{n as B}from"./search-query-Cr_ZXBCp.js";import{b as F}from"./search-scope-B5-OK3Cq.js";import{u as G,p as H}from"./useSearchTokenContext-CwqK76g8.js";const ne=e=>{const t=new Set;for(const s of e)s&&t.add(s);return t.size>1?{accountId:void 0,restriction:"spansAccounts",moveDisabledHint:"Move only works within one account — clear selection or pick messages from a single account"}:{accountId:t.size===1?[...t][0]:void 0,restriction:void 0,moveDisabledHint:void 0}},K=e=>{const{mailboxId:t,messages:s}=e,n=L(),{pushError:l}=M(),{mutateAsync:c,isPending:a}=k({...R(),onError:(r,u)=>{l({title:u.body.action==="Remove"?"Couldn't remove label":"Couldn't apply label",detail:A(r),error:r})},onSettled:(r,u,d)=>{I(n,E(q(d.body.messageIds??[],s??[],t)))}});return{applyLabel:v.useCallback((r,u,d)=>{r.length!==0&&j(r,m=>c({body:{messageIds:m,labelId:u,action:d}}))},[c]),isPending:a}};function re({accountId:e,mailboxId:t,messageIds:s}){const{labels:n}=P(e),{applyLabel:l}=K({mailboxId:t}),c=v.useMemo(()=>n.map(a=>({key:a.labelId,label:a.name,icon:p.jsx("span",{className:`size-2.5 rounded-full ${w(a.color)?h[a.color]:h.Default}`}),onSelect:()=>l(s,a.labelId,"Apply")})),[n,s,l]);return c.length===0?null:p.jsx(U,{triggerLabel:"Apply label to selected messages",triggerIcon:p.jsx(D,{className:"size-4 text-fg-subtle"}),triggerText:"Apply label",items:c,align:"start",nested:!0,touch:!1,triggerClassName:"min-h-11 w-full justify-start gap-3 px-4 py-2.5 text-sm font-normal text-fg"})}const V=3,ie=({hasSearchQuery:e,freeText:t,residualTokenCount:s})=>{if(!e||s>0)return!1;const n=t.trim();return n.length===0||n.length>=V},ce=e=>e===void 0?{kind:"unknown"}:{kind:"exact",value:e},Y=20,$=new Set(Object.values(O)),J=e=>e!==void 0&&$.has(e)?e:void 0,W=e=>{if(e.some(t=>t.type==="isUnread"))return!1;if(e.some(t=>t.type==="isRead"))return!0};function le({mailboxId:e,filterCategory:t}={}){const{searchQuery:s}=_(),n=G(),l=z(),c=B(s),{freeText:a,tokens:i}=H(c,n),r=a.length>0,u=i.find(o=>o.type==="category"),d=J(t)??u?.category,m=i.some(o=>o.type==="hasAttachment")?!0:void 0,f=i.some(o=>o.type==="isStarred")?!0:void 0,y=W(i),b=i.find(o=>o.type==="after"),g=i.find(o=>o.type==="before"),S=i.find(o=>o.type==="in"),x=F({browsed:l,callerMailboxId:e,inTokenMailboxId:S?.mailboxId}),{data:T,isLoading:C}=N({...Q({query:{query:a,mailboxId:x,limit:Y,...d!==void 0?{category:d}:{},...m!==void 0?{hasAttachment:m}:{},...f!==void 0?{hasStars:f}:{},...y!==void 0?{isRead:y}:{},...b?{sentDateFrom:b.epochSeconds}:{},...g?{sentDateTo:g.epochSeconds}:{}}}),enabled:r,staleTime:6e4});return{hits:T?.items??[],isLoading:r&&C}}export{re as L,ne as r,ie as s,ce as t,le as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as g,at as p,c as f,d as m,r,i as y,av as T,o as E,l as d}from"./index-
|
|
1
|
+
import{h as g,at as p,c as f,d as m,r,i as y,av as T,o as E,l as d}from"./index-Dq0vpG8a.js";const i={html:"",plainText:""},x=e=>{const u=g(),{pushError:o}=p(),{data:n}=f({...m(),staleTime:1/0}),l=r.useMemo(()=>{if(!e||!n)return i;const t=n.accounts.find(a=>a.accountId===e);return t?{html:t.signatureHtml??"",plainText:t.signaturePlainText??""}:i},[e,n]),s=y({...d(),onSuccess:()=>{u.invalidateQueries({queryKey:E()})},onError:t=>{o(T("Couldn't save signature","The signature wasn't saved.",t))}}),c=r.useCallback((t,a)=>{e&&s.mutate({path:{accountId:e},body:{signatureHtml:t,signaturePlainText:a}})},[e,s]);return{signature:l,setSignature:c,isSaving:s.isPending}};export{x as u};
|
package/index.html
CHANGED
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
} catch (_) {}
|
|
39
39
|
})();
|
|
40
40
|
</script>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
42
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-Dq0vpG8a.js"></script>
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DBfeW6p_.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as e,t as h,f as S,a3 as J,X as K,c as $,eW as ee,s as se,Y as te,a0 as ne,r as w}from"./index-DiKSDrYB.js";import{u as ae,e as re,m as ie,t as oe,C as le,d as ce,p as de}from"./CalendarComposePane-DTss51wA.js";import{c as xe,R as fe,F as V,u as me,n as ue}from"./calendar-format-B3qI6wbi.js";import{R as he,A as pe}from"./attendee-row-Dc953tC1.js";import{C as ge}from"./clock-Dgicr-Eu.js";import{G as B,M as ve}from"./map-pin-bJa_ILz7.js";import{M as be}from"./mail-emLdAig0.js";import{P as je}from"./pencil-CNb0-5Pl.js";import{f as Ne,u as Ce,c as we,U as G,h as ke,d as ye}from"./useCalendars-BrbeMcxP.js";import{a as Ee}from"./useCalendarWrites-1jLuzvvi.js";import{b as Te}from"./useCalendarData-0Ay6SNZb.js";function v({icon:s,children:t}){return e.jsxs("div",{className:"flex items-start gap-2.5 py-1",children:[e.jsx("span",{className:"mt-0.5 shrink-0 text-fg-subtle",children:s}),e.jsx("div",{className:"min-w-0 flex-1 text-sm text-fg",children:t})]})}function Re({event:s,calendar:t,whenText:r,onEdit:n,onDelete:i,onOpenThread:l,onClose:d,activeAttendee:x="",onActivateAttendee:b,renderAttendeeContext:k,touch:y=!1,chrome:E="header",className:a}){const T=xe(t.color),c=e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:"text-xl font-semibold text-fg",children:s.title}),e.jsxs("div",{className:"mt-3 flex flex-col border-b border-line pb-3",children:[e.jsx(v,{icon:e.jsx(ge,{className:"size-4"}),children:e.jsxs("span",{className:"flex flex-wrap items-center gap-2",children:[r,s.attendees.length>0&&e.jsx(he,{rsvp:s.myRsvp})]})}),s.zoneCertainty==="ambiguous"?e.jsx(v,{icon:e.jsx(B,{className:"size-4 text-warning"}),children:e.jsx("span",{className:"text-warning",children:"The mail said a time but never a zone. Shown in your own; confirm before you travel for it."})}):s.timeZone!==""&&e.jsx(v,{icon:e.jsx(B,{className:"size-4"}),children:s.timeZone}),s.recurrenceRule!==""&&e.jsx(v,{icon:e.jsx(fe,{className:"size-4"}),children:e.jsxs("span",{className:"flex flex-wrap items-center gap-2",children:[s.recurrenceRule,s.seriesException&&e.jsx("span",{className:"rounded-xs bg-warning-soft px-1.5 py-0.5 text-2xs text-warning",children:"Moved out of the series"})]})}),s.location!==""&&e.jsx(v,{icon:e.jsx(ve,{className:"size-4"}),children:s.location})]}),s.threadId!==""&&l&&e.jsxs("button",{type:"button",onClick:l,className:"mt-3 flex w-full items-center gap-2.5 rounded-md border border-line bg-surface-sunken px-3 py-2 text-left outline-none hover:border-line-strong focus-visible:ring-2 focus-visible:ring-ring",children:[e.jsx(be,{className:"size-4 shrink-0 text-accent-2"}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block text-2xs uppercase tracking-wider text-fg-subtle",children:"From this thread"}),e.jsx("span",{className:"block truncate text-sm text-fg",children:s.threadSubject})]})]}),s.attendees.length>0&&e.jsx(pe,{attendees:s.attendees,activeEmail:x,onActivate:b,renderContext:k,touch:y,className:"mt-3"}),s.notes!==""&&e.jsx("p",{className:"mt-3 whitespace-pre-wrap text-sm text-fg-muted",children:s.notes})]});return E==="bare"?e.jsx("div",{className:h("flex flex-col",a),children:c}):e.jsxs("article",{className:h("flex h-full w-full flex-col bg-surface",a),children:[e.jsxs("header",{className:"flex h-pane-header shrink-0 items-center gap-2 border-b border-line px-row-inset",children:[e.jsx("span",{className:h("size-2.5 shrink-0 rounded-full",T.solid)}),e.jsxs("span",{className:"min-w-0 flex-1 truncate text-xs text-fg-muted",children:[t.name," · ",t.accountLabel]}),n&&e.jsx(S,{variant:"ghost",size:"sm",icon:e.jsx(je,{className:"size-3.5"}),onClick:n,children:"Edit"}),i&&e.jsx(S,{variant:"ghost",size:"sm",icon:e.jsx(J,{className:"size-3.5"}),onClick:i,className:"text-danger",children:"Delete"}),d&&e.jsx("button",{type:"button","aria-label":"Close event",onClick:d,className:"flex size-7 items-center justify-center rounded-md text-fg-subtle outline-none hover:bg-surface-sunken hover:text-fg focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(K,{className:"size-4"})})]}),e.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-row-inset py-3",children:c})]})}const De=[{scope:"this",label:"This event",note:"Leaves the rest of the series alone"},{scope:"following",label:"This and everything after",note:"Splits the series here"},{scope:"all",label:"The whole series",note:"Rewrites the rule itself"}];function ze({title:s,ruleText:t,instanceText:r,onChoose:n,onCancel:i,touch:l,className:d}){return e.jsxs("div",{className:h("flex flex-col gap-3",d),children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-md font-semibold text-fg",children:[s," repeats"]}),e.jsx("p",{className:"text-xs text-fg-muted",children:t}),e.jsxs("p",{className:"text-xs text-fg-subtle",children:["You clicked ",r,"."]})]}),e.jsx("p",{className:"text-sm text-fg",children:"What should the change apply to?"}),e.jsx("div",{className:"flex flex-col gap-1.5",children:De.map(x=>e.jsxs("button",{type:"button",onClick:()=>n(x.scope),className:h("flex flex-col rounded-md border border-line bg-surface px-3 py-2 text-left outline-none transition-colors hover:border-line-strong hover:bg-surface-sunken focus-visible:ring-2 focus-visible:ring-ring",l&&"min-h-11 justify-center"),children:[e.jsx("span",{className:"text-sm font-medium text-fg",children:x.label}),e.jsx("span",{className:"text-2xs text-fg-subtle",children:x.note})]},x.scope))}),e.jsx(S,{variant:"ghost",size:l?"md":"sm",onClick:i,className:h("self-start",l&&"min-h-11"),children:"Cancel"})]})}const Y=s=>s.replace(/\r?\n[ \t]/g,""),q=s=>s.replace(/\\n/gi,`
|
|
2
|
-
`).replace(/\\,/g,",").replace(/\\;/g,";").replace(/\\\\/g,"\\");function A(s,t){let r=!1;for(let n=t.length;n<s.length;n+=1){const i=s[n];if(n===t.length&&i!==";"&&i!==":")return;if(i==='"'){r=!r;continue}if(!r&&i===":")return s.slice(n+1).trim()}}function I(s,t){for(const r of Y(s).split(/\r?\n/)){if(!r.startsWith(t))continue;const n=A(r,t);if(n!==void 0)return n}return""}const Se=s=>I(s,"RRULE"),Ae=s=>({location:q(I(s,"LOCATION")),description:q(I(s,"DESCRIPTION"))});function Ie(s,t){const r=Y(s).split(/\r?\n/).find(i=>i.startsWith("DTSTART")&&A(i,"DTSTART")!==void 0);if(r===void 0)return Ne(t);const n=/;TZID="?([^;:"]+)"?/i.exec(r)?.[1];return n!==void 0?Intl.supportedValuesOf("timeZone").includes(n)?n:t:A(r,"DTSTART")?.toUpperCase().endsWith("Z")?"":t}const Fe=se(404);function Le(s,t){const{data:r,isLoading:n,error:i,refetch:l}=$({...ee({path:{calendarObjectId:s},query:{calendarId:t}}),meta:Fe,enabled:s!==""&&t!==""});return{resource:r,isLoading:n,error:i,refetch:()=>{l()}}}function Oe({event:s,calendar:t,isOccurrence:r,problem:n="",onEdit:i,onDelete:l,onClose:d}){return!s||!t?e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2 bg-surface p-8 text-center",children:[e.jsx(te,{className:"size-8 text-fg-subtle","aria-hidden":"true"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"That event isn't on this week"}),e.jsx("p",{className:"max-w-xs text-sm text-fg-muted",children:"The address names an event the calendar doesn't have here."}),e.jsx("button",{type:"button",onClick:d,className:"rounded-md border border-line px-2.5 py-1 text-sm font-medium text-fg outline-none hover:bg-surface-sunken focus-visible:ring-2 focus-visible:ring-ring",children:"Back to the calendar"})]}):e.jsxs("div",{className:"flex h-full min-h-0 flex-col bg-surface",children:[r&&e.jsx("p",{className:"shrink-0 border-b border-line bg-surface-sunken px-row-inset py-1.5 text-2xs uppercase tracking-wider text-fg-subtle",children:"One occurrence of a repeating event"}),n!==""&&e.jsxs("div",{role:"alert",className:"flex shrink-0 items-start gap-2 border-b border-danger/40 bg-danger-soft px-row-inset py-2 text-sm",children:[e.jsx(ne,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":"true"}),e.jsx("p",{className:"min-w-0 flex-1 break-words text-fg",children:n})]}),e.jsx(Re,{event:s,calendar:t,whenText:V(s),onEdit:i,onDelete:l,onClose:d,className:"min-h-0 flex-1"})]})}const Pe="This event changed somewhere else — over CalDAV, or in another tab. Nothing was saved. Close it and open it again to see the version that's stored now.";function Xe({calendarObjectId:s,recurrenceId:t}){const{view:r,date:n,calendarIds:i}=me(),{events:l}=Te({view:r,date:n,calendarIds:i}),{calendars:d,timeZoneByCalendarId:x}=Ce(),{closeEvent:b}=ue(),{updateEvent:k,deleteEvent:y,isWriting:E}=Ee(),a=l.find(o=>o.id===we(s,t??"")),T=d.find(o=>o.id===a?.calendarId),{resource:c}=Le(s,a?.calendarId??""),[F,p]=w.useState(void 0),[m,R]=w.useState(void 0),[u,j]=w.useState(void 0),[L,g]=w.useState(""),_=ae(u??re("",""),s),N=c?Ae(c.icalData):void 0,D=c?Se(c.icalData):"",Q=a&&!a.allDay?a.start.slice(11,16):"",z=c?Ie(c.icalData,x[a?.calendarId??""]??G):G,X=a&&!a.allDay?ie(D,ke(a.start,z===""?"UTC":z).slice(0,10),a.start.slice(0,10)):D,C=D===""?"":oe(X,Q)??"Repeats",O=a!==void 0&&a.seriesId!==""&&t!==void 0&&t!=="",P=a!==void 0&&c!==void 0,W=(o,f)=>{if(o.kind==="written"){g(""),f();return}g(o.kind==="conflict"?Pe:o.message)},Z=o=>({calendarObjectId:s,calendarId:a?.calendarId??"",recurrenceId:t??"",scope:o,etag:c?.etag??""}),M=o=>{if(!a)return;const f=ce(a,{repeat:C,location:N?.location??"",notes:N?.description??""});p(void 0),R({before:f,scope:o}),j(f),g("")},U=o=>{p(void 0),y(Z(o)).then(f=>W(f,b))},H=()=>{if(!m||!u)return;const o=de(m.before,u,{clock:ye(),anchor:z});if(!o.ok){g(o.problem);return}k(Z(m.scope),o.patch).then(f=>W(f,()=>{R(void 0),j(void 0)}))};return F!==void 0&&a?e.jsx("div",{className:"flex h-full flex-col justify-center bg-surface px-row-inset",children:e.jsx(ze,{className:"mx-auto w-full max-w-md",title:a.title,ruleText:C===""?"It repeats":C,instanceText:V(a),onChoose:F==="edit"?M:U,onCancel:()=>p(void 0)})}):m&&u?e.jsx(le,{title:"Edit event",subtitle:m.scope==="this"?"This occurrence only":u.date,calendars:d,draft:u,onChange:j,problem:L,saveLabel:"Save",isSaving:E,repeatEditable:m.scope===void 0||m.scope==="all",calendarEditable:!1,clashes:_,onSave:H,onCancel:()=>{R(void 0),j(void 0),g("")}}):e.jsx(Oe,{event:a&&{...a,location:N?.location??"",notes:N?.description??"",recurrenceRule:C},calendar:T,isOccurrence:t!==void 0,problem:L,onEdit:P?()=>O?p("edit"):M(void 0):void 0,onDelete:P?()=>O?p("delete"):U(void 0):void 0,onClose:b})}export{Xe as O};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DiKSDrYB.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aj as m,j as o,O as p}from"./index-DiKSDrYB.js";import{a}from"./MailShell-4M0ThOPQ.js";import{M as r}from"./MailboxPane-Cu5xYRG1.js";import{a as e}from"./search-token-index-DU31ezMG.js";import{u as s}from"./search-mirror-C4fBrAzt.js";import"./FullCompose-JwSUM1dz.js";import"./ErrorState-CYNdJZay.js";import"./index-DeB5Gt1T.js";import"./useMessageBodyContent-Ofaofz6M.js";import"./useSignature-CEW3Y4c5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-C19gwLJ_.js";import"./sections-D2Y9dl1V.js";import"./confirm-dialog-mTy79lpU.js";import"./useSearchTokenContext-DiVA41H3.js";import"./kbd-uvm6kK6p.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-DkXroi5T.js";import"./circle-check-big-Hqrv5NRV.js";import"./refresh-cw-CJB18AFO.js";import"./useQueries--1OAy5D-.js";import"./MailListHeader-DtrSBStk.js";import"./roving-focus-_LEzDmZL.js";import"./popover-menu-Cgn7Nfd4.js";import"./mail-emLdAig0.js";import"./avatar-DwG8D1jL.js";import"./EmptyState-B8qvPptk.js";import"./undo-2-DIxZdhXp.js";import"./download-tF72OCwE.js";import"./calendar-suggestion-CgfI_4zL.js";import"./calendar-format-B3qI6wbi.js";import"./useCalendars-BrbeMcxP.js";import"./map-pin-bJa_ILz7.js";import"./attendee-row-Dc953tC1.js";import"./clock-Dgicr-Eu.js";import"./calendar-clash-strip-Bc6tbVWL.js";import"./bell-off-BQZUQO8g.js";import"./copy-EcAja1wR.js";import"./shield-check-DPEI0ZZb.js";import"./useFilters-CTEj-EYW.js";import"./useLayoutTier-Df9N2iNH.js";import"./menu-DSjbpPwG.js";import"./MailViewChrome-C2gSLnkh.js";import"./NavMenuButton-D0xMoMxJ.js";import"./useLabels-BMKb_utG.js";import"./useSemanticSearch-Bt4_2Izp.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-s5YLKBla.js";import"./circle-help-Bokpo3UI.js";import"./circle-check-BtWIgh52.js";function po(){const{mailboxId:t}=m.useParams(),i=e();return s({to:"/mail/$mailboxId",params:{mailboxId:t}}),o.jsx(r,{mailboxId:t,thread:i,children:o.jsx(a,{phone:o.jsx(r.Phone,{}),list:o.jsx(r.List,{}),reading:o.jsx(p,{}),intelligence:o.jsx(r.Intelligence,{}),hasThread:!!i})})}export{po as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DiKSDrYB.js";import{M as r}from"./MailboxPane-Cu5xYRG1.js";import"./useSearchTokenContext-DiVA41H3.js";import"./kbd-uvm6kK6p.js";import"./useMessageBodyContent-Ofaofz6M.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-DkXroi5T.js";import"./circle-check-big-Hqrv5NRV.js";import"./refresh-cw-CJB18AFO.js";import"./useQueries--1OAy5D-.js";import"./MailListHeader-DtrSBStk.js";import"./roving-focus-_LEzDmZL.js";import"./search-token-index-DU31ezMG.js";import"./popover-menu-Cgn7Nfd4.js";import"./mail-emLdAig0.js";import"./avatar-DwG8D1jL.js";import"./index-DeB5Gt1T.js";import"./useSignature-CEW3Y4c5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-C19gwLJ_.js";import"./sections-D2Y9dl1V.js";import"./EmptyState-B8qvPptk.js";import"./ErrorState-CYNdJZay.js";import"./undo-2-DIxZdhXp.js";import"./download-tF72OCwE.js";import"./calendar-suggestion-CgfI_4zL.js";import"./calendar-format-B3qI6wbi.js";import"./useCalendars-BrbeMcxP.js";import"./map-pin-bJa_ILz7.js";import"./attendee-row-Dc953tC1.js";import"./clock-Dgicr-Eu.js";import"./calendar-clash-strip-Bc6tbVWL.js";import"./bell-off-BQZUQO8g.js";import"./copy-EcAja1wR.js";import"./shield-check-DPEI0ZZb.js";import"./useFilters-CTEj-EYW.js";import"./confirm-dialog-mTy79lpU.js";import"./useLayoutTier-Df9N2iNH.js";import"./menu-DSjbpPwG.js";import"./MailViewChrome-C2gSLnkh.js";import"./NavMenuButton-D0xMoMxJ.js";import"./useLabels-BMKb_utG.js";import"./useSemanticSearch-Bt4_2Izp.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-s5YLKBla.js";import"./circle-help-Bokpo3UI.js";import"./circle-check-BtWIgh52.js";function X(){return o.jsx(r.Reading,{})}export{X as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DiKSDrYB.js";import{F as r}from"./FlaggedPane-DdSqVame.js";import"./useSearchTokenContext-DiVA41H3.js";import"./kbd-uvm6kK6p.js";import"./useMessageBodyContent-Ofaofz6M.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-DtrSBStk.js";import"./roving-focus-_LEzDmZL.js";import"./search-token-index-DU31ezMG.js";import"./useQueries--1OAy5D-.js";import"./popover-menu-Cgn7Nfd4.js";import"./mail-emLdAig0.js";import"./avatar-DwG8D1jL.js";import"./index-DeB5Gt1T.js";import"./useSignature-CEW3Y4c5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-C19gwLJ_.js";import"./sections-D2Y9dl1V.js";import"./EmptyState-B8qvPptk.js";import"./ErrorState-CYNdJZay.js";import"./undo-2-DIxZdhXp.js";import"./download-tF72OCwE.js";import"./calendar-suggestion-CgfI_4zL.js";import"./calendar-format-B3qI6wbi.js";import"./useCalendars-BrbeMcxP.js";import"./map-pin-bJa_ILz7.js";import"./attendee-row-Dc953tC1.js";import"./clock-Dgicr-Eu.js";import"./calendar-clash-strip-Bc6tbVWL.js";import"./bell-off-BQZUQO8g.js";import"./copy-EcAja1wR.js";import"./shield-check-DPEI0ZZb.js";import"./useFilters-CTEj-EYW.js";import"./confirm-dialog-mTy79lpU.js";import"./useLayoutTier-Df9N2iNH.js";import"./menu-DSjbpPwG.js";import"./MailViewChrome-C2gSLnkh.js";import"./refresh-cw-CJB18AFO.js";import"./wizard-selection-DxUM65kM.js";function N(){return o.jsx(r.Reading,{})}export{N as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-DiKSDrYB.js";import{B as o}from"./BriefPane-5t1y6BHz.js";import"./useSearchTokenContext-DiVA41H3.js";import"./kbd-uvm6kK6p.js";import"./useMessageBodyContent-Ofaofz6M.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-DtrSBStk.js";import"./roving-focus-_LEzDmZL.js";import"./search-token-index-DU31ezMG.js";import"./useQueries--1OAy5D-.js";import"./popover-menu-Cgn7Nfd4.js";import"./mail-emLdAig0.js";import"./avatar-DwG8D1jL.js";import"./index-DeB5Gt1T.js";import"./useSignature-CEW3Y4c5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-C19gwLJ_.js";import"./sections-D2Y9dl1V.js";import"./EmptyState-B8qvPptk.js";import"./ErrorState-CYNdJZay.js";import"./undo-2-DIxZdhXp.js";import"./download-tF72OCwE.js";import"./calendar-suggestion-CgfI_4zL.js";import"./calendar-format-B3qI6wbi.js";import"./useCalendars-BrbeMcxP.js";import"./map-pin-bJa_ILz7.js";import"./attendee-row-Dc953tC1.js";import"./clock-Dgicr-Eu.js";import"./calendar-clash-strip-Bc6tbVWL.js";import"./bell-off-BQZUQO8g.js";import"./copy-EcAja1wR.js";import"./shield-check-DPEI0ZZb.js";import"./useFilters-CTEj-EYW.js";import"./confirm-dialog-mTy79lpU.js";import"./useLayoutTier-Df9N2iNH.js";import"./menu-DSjbpPwG.js";import"./useRefreshControl-DkXroi5T.js";import"./circle-check-big-Hqrv5NRV.js";import"./refresh-cw-CJB18AFO.js";import"./useSemanticSearch-Bt4_2Izp.js";import"./useLabels-BMKb_utG.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function T(){return r.jsx(o.Reading,{})}export{T as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DiKSDrYB.js";import{O as t}from"./OutboxPane-Bl8X8wra.js";import"./roving-focus-_LEzDmZL.js";import"./useSearchTokenContext-DiVA41H3.js";import"./kbd-uvm6kK6p.js";import"./useMessageBodyContent-Ofaofz6M.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-Hqrv5NRV.js";import"./clock-Dgicr-Eu.js";import"./row-actions-DYKbhlSx.js";import"./rotate-ccw-PcV7Aj1g.js";import"./NavMenuButton-D0xMoMxJ.js";import"./menu-DSjbpPwG.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function P(){return o.jsx(t.Reading,{})}export{P as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eX as o,j as m}from"./index-DiKSDrYB.js";import{O as p}from"./OpenCalendarEvent-yxRo87Zp.js";import"./CalendarComposePane-DTss51wA.js";import"./calendar-format-B3qI6wbi.js";import"./useQueries--1OAy5D-.js";import"./useCalendars-BrbeMcxP.js";import"./calendar-clash-strip-Bc6tbVWL.js";import"./attendee-row-Dc953tC1.js";import"./avatar-DwG8D1jL.js";import"./clock-Dgicr-Eu.js";import"./map-pin-bJa_ILz7.js";import"./mail-emLdAig0.js";import"./pencil-CNb0-5Pl.js";import"./useCalendarWrites-1jLuzvvi.js";import"./ErrorState-CYNdJZay.js";import"./useCalendarData-0Ay6SNZb.js";function I(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return m.jsx(p,{calendarObjectId:r,recurrenceId:t})}export{I as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DiKSDrYB.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DiKSDrYB.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DiKSDrYB.js";const n=o;export{n as component};
|