@remit/web-client-dist 0.0.653 → 0.0.654
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-Bnl8KWnm.js → BriefPane-BCUzDi0M.js} +1 -1
- package/assets/{CalendarComposePane-DprKFFto.js → CalendarComposePane-B1ugPLuI.js} +1 -1
- package/assets/{CalendarComposeSeed-D9pQN8cn.js → CalendarComposeSeed-ew4UkM1t.js} +1 -1
- package/assets/{CalendarShell-DK2BWBTT.js → CalendarShell-WRxn9sjQ.js} +1 -1
- package/assets/{EmptyState-CwCbNMwE.js → EmptyState-CMwh4I6q.js} +1 -1
- package/assets/{ErrorState-qRnIOayy.js → ErrorState-DNFHspWz.js} +1 -1
- package/assets/{FlaggedPane-jvSK43mR.js → FlaggedPane-aTIJMuGv.js} +1 -1
- package/assets/{FullCompose-dcB2RcRV.js → FullCompose-CUyyOEnC.js} +1 -1
- package/assets/MailListHeader-CQDSlr9k.js +1 -0
- package/assets/{MailNav-9mIaR9nW.js → MailNav-D416fImS.js} +1 -1
- package/assets/{MailShell-CpmNbM7h.js → MailShell-BIvJeWyL.js} +1 -1
- package/assets/MailViewChrome-UR-zeB42.js +1 -0
- package/assets/{MailboxPane-Dop2VAEg.js → MailboxPane-CRU0WI2x.js} +1 -1
- package/assets/{NavMenuButton-DF_D480Q.js → NavMenuButton-cJikUtSJ.js} +1 -1
- package/assets/{OnboardingWizard-BlolFeH8.js → OnboardingWizard-CvMVsMKT.js} +1 -1
- package/assets/{OpenCalendarEvent-dtjwzRgW.js → OpenCalendarEvent-D1sZ-GRa.js} +1 -1
- package/assets/{OutboxPane-CgzHrFCk.js → OutboxPane-C4u8rDUe.js} +1 -1
- package/assets/_calendarObjectId-DeczpyzI.js +1 -0
- package/assets/_mailboxId-D7I6Z8or.js +1 -0
- package/assets/_messageId-Ct8MFOUe.js +1 -0
- package/assets/_messageId-DJ-aFrnQ.js +1 -0
- package/assets/_messageId-DRWuvk3z.js +1 -0
- package/assets/_outboxMessageId-C60Dbo5n.js +1 -0
- package/assets/_recurrenceId-De85aUmF.js +1 -0
- package/assets/_threadId-DVG1-e5_.js +1 -0
- package/assets/_threadId-DxKICXZb.js +1 -0
- package/assets/_threadId-Jo0fuO40.js +1 -0
- package/assets/{_view._date-Lwq96zs_.js → _view._date-DwMOgKWO.js} +1 -1
- package/assets/{accounts-CX73Riqc.js → accounts-DnHZ103b.js} +1 -1
- package/assets/{advanced-lMbfngw0.js → advanced-BZVf3_ew.js} +1 -1
- package/assets/{appearance-BqLsfVlF.js → appearance-BkMHHUQG.js} +1 -1
- package/assets/{attendee-row-CWvzYrHl.js → attendee-row-DwrxHoUg.js} +1 -1
- package/assets/{avatar-BPBkYGiM.js → avatar--cs-SUmT.js} +1 -1
- package/assets/{bell-off-BhceOCke.js → bell-off-BKU5bR5P.js} +1 -1
- package/assets/{bottom-sheet-1LZPPKZQ.js → bottom-sheet-0Pbsps2C.js} +1 -1
- package/assets/{brief-BU42BeF8.js → brief-BQzN81ti.js} +1 -1
- package/assets/brief-DacITFQv.js +1 -0
- package/assets/{browser-ponyfill-O6nwU-ax.js → browser-ponyfill-p-64afd7.js} +1 -1
- package/assets/{bug-Dn7VhRe_.js → bug-BM6kTzR1.js} +1 -1
- package/assets/{calendar-clash-strip-Djxxy9JD.js → calendar-clash-strip-CkTpKwDu.js} +1 -1
- package/assets/{calendar-format-BTEE4x_-.js → calendar-format-D1akKqM4.js} +1 -1
- package/assets/{calendar-report-CeaS5tVm.js → calendar-report-BxH5o5N9.js} +1 -1
- package/assets/{calendar-suggestion-DmwOD7CT.js → calendar-suggestion-BBxpels5.js} +1 -1
- package/assets/{calendar-BZmNKe44.js → calendar-wEZJHgZd.js} +1 -1
- package/assets/{calendars-Dt54nxCW.js → calendars-_ehKrD55.js} +1 -1
- package/assets/{card-CD-IbYhn.js → card-BRSJ5q6Y.js} +1 -1
- package/assets/{checkbox-BUYJAWmY.js → checkbox-C0271RkP.js} +1 -1
- package/assets/chevron-left-CBtM03_z.js +1 -0
- package/assets/{circle-check-CTCuTEzZ.js → circle-check-DLOMzuPE.js} +1 -1
- package/assets/{circle-check-big-enwr5eao.js → circle-check-big-9X205Z9_.js} +1 -1
- package/assets/{circle-help-CdQnDpWa.js → circle-help-CgV1hMay.js} +1 -1
- package/assets/{clock-sCt61zmc.js → clock-ClfQ7Jbl.js} +1 -1
- package/assets/compose._-_outboxMessageId_-BNTqM-P_.js +1 -0
- package/assets/compose._-_outboxMessageId_-DI6GUA-E.js +1 -0
- package/assets/compose._-_outboxMessageId_-DOpa6FMd.js +1 -0
- package/assets/compose._-_outboxMessageId_-DZufPrdW.js +1 -0
- package/assets/{config-import-CTjPgGfx.js → config-import-DIW3FsTi.js} +1 -1
- package/assets/{confirm-dialog-3lsFfeae.js → confirm-dialog-B6ufQwtY.js} +1 -1
- package/assets/{copy-CFY2KJ76.js → copy-BZbhH6Ym.js} +1 -1
- package/assets/{credential-steps-DUKM3B_3.js → credential-steps-CLyostoZ.js} +1 -1
- package/assets/{download-BlVMjQYn.js → download-q4beFGPw.js} +1 -1
- package/assets/{file-json-Cw7Stw8Y.js → file-json-Cr3Di1SH.js} +1 -1
- package/assets/{filters-CMw54RPC.js → filters-CS7oyBbO.js} +1 -1
- package/assets/{flagged-CA8JmDLT.js → flagged-B51af1d3.js} +1 -1
- package/assets/flagged-DAH9z1uI.js +1 -0
- package/assets/{folders-IAY61u32.js → folders-CcL8X3l0.js} +1 -1
- package/assets/{help-copy-CDqz6ba_.js → help-copy-DZD1c-_z.js} +1 -1
- package/assets/{import-Bu4uKL7o.js → import-B4BXF_lv.js} +1 -1
- package/assets/index-2WD-tMjp.js +1 -0
- package/assets/{index-C5_g27B8.js → index-B4JdswHn.js} +69 -69
- package/assets/index-BKvALb75.js +1 -0
- package/assets/index-BsArebdo.js +1 -0
- package/assets/index-CTeV_UBP.js +1 -0
- package/assets/index-CgcFzoeS.js +1 -0
- package/assets/index-CkiCGHOQ.js +1 -0
- package/assets/index-Ct8MFOUe.js +1 -0
- package/assets/index-CvUHal94.js +1 -0
- package/assets/index-DJ-aFrnQ.js +1 -0
- package/assets/{index-OSjyRZxI.js → index-DJ2xR7nc.js} +4 -4
- package/assets/{index-Dvf-CvNV.js → index-Dbbydebg.js} +1 -1
- package/assets/{kbd-jqBZOlP1.js → kbd-X2f0JsWs.js} +1 -1
- package/assets/{labels-B-W2dqFl.js → labels-5t-KGkVt.js} +1 -1
- package/assets/{mail-CcvcBJbI.js → mail-D4gulnME.js} +1 -1
- package/assets/{mail-q5Rt7EqC.js → mail-DweCDR9r.js} +1 -1
- package/assets/{map-pin-BA5B_mK8.js → map-pin-FVWIN_AF.js} +1 -1
- package/assets/{menu-BIJGP4SE.js → menu-D_kqgOpb.js} +1 -1
- package/assets/minus-BSNUE9Xs.js +1 -0
- package/assets/{new-rcK9WAAO.js → new-CeGWYhgd.js} +1 -1
- package/assets/onboarding-CCI1hadb.js +1 -0
- package/assets/{onboarding-completion-geMEcl6n.js → onboarding-completion-RARiUKZ6.js} +1 -1
- package/assets/outbox-rfU6Hb7A.js +1 -0
- package/assets/{pane-header-COuq-tzv.js → pane-header-DWAz5BQu.js} +1 -1
- package/assets/{pencil-CiS5g11i.js → pencil-C6lN6xpL.js} +1 -1
- package/assets/{popover-menu-DRzy2r2Z.js → popover-menu-ScZ5sdbz.js} +1 -1
- package/assets/{refresh-cw-DKxFpmVK.js → refresh-cw-CIdgQmhu.js} +1 -1
- package/assets/{rich-text-DrHbd8fY.js → rich-text-CdZh6WQc.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-BBACeUvm.js → rich-text-spellcheck-worker-provider-CnL9CIvx.js} +1 -1
- package/assets/{rotate-ccw-D8zDaEwL.js → rotate-ccw-GmGf70Zg.js} +1 -1
- package/assets/{roving-focus-CqEMo3iP.js → roving-focus-D2wkvRq-.js} +1 -1
- package/assets/{row-actions-CheKNT8A.js → row-actions-bd_6I1xJ.js} +1 -1
- package/assets/{search-mirror-CjDgpnnU.js → search-mirror-B7YqORh1.js} +1 -1
- package/assets/{search-token-index-cjyDSb-j.js → search-token-index--_Rh4aFK.js} +1 -1
- package/assets/{sections-CVGX9ZC8.js → sections-CLSd-RpI.js} +1 -1
- package/assets/{senders-Bevla-YR.js → senders-D13iRAyD.js} +1 -1
- package/assets/settings-AUDdkXM6.js +1 -0
- package/assets/{settings-screen-Bz3u_NFz.js → settings-screen-4QpOPg7q.js} +1 -1
- package/assets/{shield-check-CSsuNv3u.js → shield-check-8O6tctrF.js} +1 -1
- package/assets/{suggested-vips-DGV5x7YT.js → suggested-vips-2jf6a7qF.js} +1 -1
- package/assets/{suggestion._suggestionId-BceKo3d2.js → suggestion._suggestionId-Cr0xDyLN.js} +1 -1
- package/assets/{undo-2-wdBiM3tk.js → undo-2-svU5oJQZ.js} +1 -1
- package/assets/{useCalendarData-C0AlcSoY.js → useCalendarData-BIblGP77.js} +1 -1
- package/assets/{useCalendarFreeBusy-Cx7ARe2X.js → useCalendarFreeBusy-ziLEEc7D.js} +1 -1
- package/assets/{useCalendarWrites-Czr9-Ggx.js → useCalendarWrites-T903Es4q.js} +1 -1
- package/assets/{useCalendars-D7pSspdK.js → useCalendars-D81fvJ5t.js} +1 -1
- package/assets/{useDebouncedValue-C9ilgxxS.js → useDebouncedValue--hf0UzWb.js} +1 -1
- package/assets/{useFilters--Q8YjWe3.js → useFilters-Bj038H29.js} +1 -1
- package/assets/{useLabels-di8tfGtd.js → useLabels-C4frOkLu.js} +1 -1
- package/assets/{useLayoutTier-DZ3zd0wf.js → useLayoutTier-BtYfbCqz.js} +1 -1
- package/assets/{useMessageBodyContent-DrQHQtW0.js → useMessageBodyContent-CSShNM3z.js} +1 -1
- package/assets/{useQueries-DuyXe1gN.js → useQueries-DTupFckA.js} +1 -1
- package/assets/{useRefreshControl-DLSAPce4.js → useRefreshControl-CI_8sSKm.js} +1 -1
- package/assets/{useResultFolderIndex-DgNc7wol.js → useResultFolderIndex-pmQq0fuk.js} +1 -1
- package/assets/useSearchTokenContext-Cs4q-Qex.js +84 -0
- package/assets/{useSemanticSearch-B3Tgfrug.js → useSemanticSearch-BfPYzK04.js} +1 -1
- package/assets/{useSignature-Yr0ANAix.js → useSignature-Cn0_fTIF.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/MailListHeader-yK2jlwsk.js +0 -7
- package/assets/MailViewChrome-DvSA6Vpz.js +0 -1
- package/assets/_calendarObjectId-ChTiA0rP.js +0 -1
- package/assets/_mailboxId-tkmGqcjm.js +0 -1
- package/assets/_messageId-B9MdbBjg.js +0 -1
- package/assets/_messageId-CMcwpeY8.js +0 -1
- package/assets/_messageId-mTKPiQV2.js +0 -1
- package/assets/_outboxMessageId-BpTbjf6S.js +0 -1
- package/assets/_recurrenceId-KJTs9tOi.js +0 -1
- package/assets/_threadId-452TFU46.js +0 -1
- package/assets/_threadId-DLYmJ9hM.js +0 -1
- package/assets/_threadId-DmKfzJtw.js +0 -1
- package/assets/brief-Ke1ToYMd.js +0 -1
- package/assets/chevron-left-BCVTzsio.js +0 -1
- package/assets/compose._-_outboxMessageId_-7CL-g2G5.js +0 -1
- package/assets/compose._-_outboxMessageId_-ChwleO2v.js +0 -1
- package/assets/compose._-_outboxMessageId_-DbKs6GxP.js +0 -1
- package/assets/compose._-_outboxMessageId_-dCGsKFDO.js +0 -1
- package/assets/flagged-CUMrtAWn.js +0 -1
- package/assets/index-B9MdbBjg.js +0 -1
- package/assets/index-Bc4dq-Ut.js +0 -1
- package/assets/index-CMcwpeY8.js +0 -1
- package/assets/index-CQVZkxPD.js +0 -1
- package/assets/index-CapHg8CW.js +0 -1
- package/assets/index-CjAFt8m6.js +0 -1
- package/assets/index-GY6lxSbj.js +0 -1
- package/assets/index-Lnhqc2rh.js +0 -1
- package/assets/index-blcV1DC7.js +0 -1
- package/assets/minus-Bj7slPzA.js +0 -1
- package/assets/onboarding-BT2HVJhW.js +0 -1
- package/assets/outbox-CV3An6t8.js +0 -1
- package/assets/settings-Cru8pqDa.js +0 -1
- package/assets/useSearchTokenContext-C96BRNRB.js +0 -84
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e as pe,j as t,t as k,f as W,a3 as ge,X as ve,c as F,
|
|
1
|
+
import{e as pe,j as t,t as k,f as W,a3 as ge,X as ve,c as F,f9 as le,s as V,r as E,eM as ee,b5 as Z,Y as be,a0 as Ne,an as P,ab as je}from"./index-B4JdswHn.js";import{u as ke,e as we,m as ye,t as Ce,C as Se,d as Ee,p as Te}from"./CalendarComposePane-B1ugPLuI.js";import{c as Ie,R as De,G as ce,u as Oe,n as Re}from"./calendar-format-D1akKqM4.js";import{R as Fe,A as Ae}from"./attendee-row-DwrxHoUg.js";import{C as ze}from"./clock-ClfQ7Jbl.js";import{G as te,M as Le}from"./map-pin-FVWIN_AF.js";import{M as $e}from"./mail-DweCDR9r.js";import{P as Me}from"./pencil-C6lN6xpL.js";import{f as Pe,d as de,j as se,u as We,c as Ze,s as _e,U as ne,h as Ue}from"./useCalendars-D81fvJ5t.js";import{a as Ve}from"./useCalendarWrites-T903Es4q.js";import{b as Ge}from"./useCalendarData-BIblGP77.js";import{a as qe}from"./calendar-report-BxH5o5N9.js";import{a as Be}from"./calendar-subscription-B-aAc2Gy.js";const He=pe("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);function S({icon:e,children:s}){return t.jsxs("div",{className:"flex items-start gap-2.5 py-1",children:[t.jsx("span",{className:"mt-0.5 shrink-0 text-fg-subtle",children:e}),t.jsx("div",{className:"min-w-0 flex-1 text-sm text-fg",children:s})]})}function Ye({event:e,calendar:s,whenText:r,onEdit:n,onDelete:i,onOpenThread:l,onClose:d,activeAttendee:c="",onActivateAttendee:u,renderAttendeeContext:p,touch:x=!1,chrome:f="header",className:v}){const N=Ie(s.color),a=t.jsxs(t.Fragment,{children:[t.jsx("h1",{className:"text-xl font-semibold text-fg",children:e.title}),t.jsxs("div",{className:"mt-3 flex flex-col border-b border-line pb-3",children:[t.jsx(S,{icon:t.jsx(ze,{className:"size-4"}),children:t.jsxs("span",{className:"flex flex-wrap items-center gap-2",children:[r,e.attendees.length>0&&t.jsx(Fe,{rsvp:e.myRsvp})]})}),e.zoneCertainty==="ambiguous"?t.jsx(S,{icon:t.jsx(te,{className:"size-4 text-warning"}),children:t.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."})}):e.timeZone!==""&&t.jsx(S,{icon:t.jsx(te,{className:"size-4"}),children:e.timeZone}),e.recurrenceRule!==""&&t.jsx(S,{icon:t.jsx(De,{className:"size-4"}),children:t.jsxs("span",{className:"flex flex-wrap items-center gap-2",children:[e.recurrenceRule,e.seriesException&&t.jsx("span",{className:"rounded-xs bg-warning-soft px-1.5 py-0.5 text-2xs text-warning",children:"Moved out of the series"})]})}),e.location!==""&&t.jsx(S,{icon:t.jsx(Le,{className:"size-4"}),children:e.location})]}),e.threadId!==""&&l&&t.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:[t.jsx($e,{className:"size-4 shrink-0 text-accent-2"}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block text-2xs uppercase tracking-wider text-fg-subtle",children:"From this thread"}),t.jsx("span",{className:"block truncate text-sm text-fg",children:e.threadSubject})]})]}),e.attendees.length>0&&t.jsx(Ae,{attendees:e.attendees,activeEmail:c,onActivate:u,renderContext:p,touch:x,className:"mt-3"}),e.notes!==""&&t.jsx("p",{className:"mt-3 whitespace-pre-wrap text-sm text-fg-muted",children:e.notes})]});return f==="bare"?t.jsx("div",{className:k("flex flex-col",v),children:a}):t.jsxs("article",{className:k("flex h-full w-full flex-col bg-surface",v),children:[t.jsxs("header",{className:"flex h-pane-header shrink-0 items-center gap-2 border-b border-line px-row-inset",children:[t.jsx("span",{className:k("size-2.5 shrink-0 rounded-full",N.solid)}),t.jsxs("span",{className:"min-w-0 flex-1 truncate text-xs text-fg-muted",children:[s.name," · ",s.accountLabel]}),n&&t.jsx(W,{variant:"ghost",size:"sm",icon:t.jsx(Me,{className:"size-3.5"}),onClick:n,children:"Edit"}),i&&t.jsx(W,{variant:"ghost",size:"sm",icon:t.jsx(ge,{className:"size-3.5"}),onClick:i,className:"text-danger",children:"Delete"}),d&&t.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:t.jsx(ve,{className:"size-4"})})]}),t.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-row-inset py-3",children:a})]})}const Je=[{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 Ke({title:e,ruleText:s,instanceText:r,onChoose:n,onCancel:i,touch:l,className:d}){return t.jsxs("div",{className:k("flex flex-col gap-3",d),children:[t.jsxs("div",{children:[t.jsxs("h2",{className:"text-md font-semibold text-fg",children:[e," repeats"]}),t.jsx("p",{className:"text-xs text-fg-muted",children:s}),t.jsxs("p",{className:"text-xs text-fg-subtle",children:["You clicked ",r,"."]})]}),t.jsx("p",{className:"text-sm text-fg",children:"What should the change apply to?"}),t.jsx("div",{className:"flex flex-col gap-1.5",children:Je.map(c=>t.jsxs("button",{type:"button",onClick:()=>n(c.scope),className:k("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:[t.jsx("span",{className:"text-sm font-medium text-fg",children:c.label}),t.jsx("span",{className:"text-2xs text-fg-subtle",children:c.note})]},c.scope))}),t.jsx(W,{variant:"ghost",size:l?"md":"sm",onClick:i,className:k("self-start",l&&"min-h-11"),children:"Cancel"})]})}const ue=e=>e.replace(/\r?\n[ \t]/g,""),re=e=>e.replace(/\\n/gi,`
|
|
2
2
|
`).replace(/\\,/g,",").replace(/\\;/g,";").replace(/\\\\/g,"\\");function _(e,s){let r=!1;for(let n=s.length;n<e.length;n+=1){const i=e[n];if(n===s.length&&i!==";"&&i!==":")return;if(i==='"'){r=!r;continue}if(!r&&i===":")return e.slice(n+1).trim()}}function U(e,s){for(const r of ue(e).split(/\r?\n/)){if(!r.startsWith(s))continue;const n=_(r,s);if(n!==void 0)return n}return""}const Qe=e=>U(e,"RRULE"),Xe=e=>({location:re(U(e,"LOCATION")),description:re(U(e,"DESCRIPTION"))});function et(e,s){const r=ue(e).split(/\r?\n/).find(i=>i.startsWith("DTSTART")&&_(i,"DTSTART")!==void 0);if(r===void 0)return Pe(s);const n=/;TZID="?([^;:"]+)"?/i.exec(r)?.[1];return n!==void 0?Intl.supportedValuesOf("timeZone").includes(n)?n:s:_(r,"DTSTART")?.toUpperCase().endsWith("Z")?"":s}const tt=V(404);function st(e,s){const{data:r,isLoading:n,error:i,refetch:l}=F({...le({path:{calendarObjectId:e},query:{calendarId:s}}),meta:tt,enabled:e!==""&&s!==""});return{resource:r,isLoading:n,error:i,refetch:()=>{l()}}}const ae=365*24*60*6e4,nt=1440*6e4,ie=V(401),rt=V(401,404),R=e=>new Date(e).toISOString().replace(/\.\d{3}Z$/,"+00:00"),at=e=>{const s=e instanceof Error&&e.message!==""?e.message:"no reason given",r=Z(e);return r===void 0?s:`${s} (HTTP ${r})`};function it(e,s){const[r]=E.useState(()=>Date.now()),n=de(),i=new Date(r).toISOString(),l=F({...ee({query:{from:R(r),to:R(r+ae),calendarObjectId:e}}),meta:ie,retry:!1,enabled:s}),d=l.data?se(l.data.items,e,i,n):void 0,c=F({...le({path:{calendarObjectId:e}}),meta:rt,retry:!1,enabled:s&&l.data!==void 0&&d===void 0}),u=Date.parse(c.data?.dtStart??""),p=c.data!==void 0&&Number.isNaN(u),x=Number.isNaN(u)?0:u-nt,f=F({...ee({query:{from:R(x),to:R(x+ae),calendarObjectId:e}}),meta:ie,retry:!1,enabled:s&&c.data!==void 0&&!p}),v=f.data?se(f.data.items,e,i,n):void 0;if(!s)return{kind:"Idle"};if(d)return{kind:"Found",jump:d};if(v)return{kind:"Found",jump:v};const N=Z(c.error)===404,a=[l.error,N?null:c.error,f.error].find(w=>w!==null);return a!==void 0?Z(a)===401?{kind:"SignedOut"}:{kind:"Failed",reason:at(a)}:N?{kind:"Deleted"}:p?{kind:"Failed",reason:`the stored event names no readable start (${c.data?.dtStart??""})`}:f.data!==void 0?{kind:"NoOccurrenceFound"}:{kind:"Searching"}}const ot={kind:"NotInView"},oe="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";function lt(e){switch(e.kind){case"Finding":return{title:"Finding the event",detail:"Looking for the day it falls on."};case"Deleted":return{title:"This event was deleted",detail:"None of your calendars holds it any more."};case"NoOccurrenceFound":return{title:"No occurrence in its first year or the coming year",detail:"Its repeat rule, or the days taken out of it, leave it no day in either."};case"SignedOut":return{title:"Your session has ended",detail:"Sign in again to open this event."};case"Failed":return{title:"The event couldn't be looked up",detail:e.reason};case"NotInView":return{title:"That event isn't on this week",detail:"The address names an event the calendar doesn't have here."}}}function ct({event:e,calendar:s,isOccurrence:r,absence:n=ot,problem:i="",readOnlyNote:l="",onEdit:d,onDelete:c,onClose:u}){if(!e||!s){const{title:p,detail:x}=lt(n),f=n.kind==="Failed"||n.kind==="SignedOut";return t.jsxs("div",{role:f?"alert":void 0,className:"flex h-full flex-col items-center justify-center gap-2 bg-surface p-8 text-center",children:[t.jsx(be,{className:"size-8 text-fg-subtle","aria-hidden":"true"}),t.jsx("p",{className:"text-sm font-medium text-fg",children:p}),t.jsx("p",{className:"max-w-xs break-words text-sm text-fg-muted",children:x}),t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[n.kind==="SignedOut"&&n.signIn,n.kind==="Failed"&&t.jsx("a",{href:n.reportHref,target:"_blank",rel:"noreferrer",className:oe,children:"Report an issue"}),t.jsx("button",{type:"button",onClick:u,className:oe,children:"Back to the calendar"})]})]})}return t.jsxs("div",{className:"flex h-full min-h-0 flex-col bg-surface",children:[r&&t.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"}),l!==""&&t.jsxs("p",{className:"flex shrink-0 items-start gap-2 border-b border-line bg-surface-sunken px-row-inset py-2 text-sm text-fg-muted",children:[t.jsx(He,{className:"mt-0.5 size-4 shrink-0","aria-hidden":"true"}),t.jsx("span",{className:"min-w-0 flex-1 break-words",children:l})]}),i!==""&&t.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:[t.jsx(Ne,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":"true"}),t.jsx("p",{className:"min-w-0 flex-1 break-words text-fg",children:i})]}),t.jsx(Ye,{event:e,calendar:s,whenText:ce(e),onEdit:d,onDelete:c,onClose:u,className:"min-h-0 flex-1"})]})}const dt="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 ut(){const{Account:e}=je();return t.jsx(e,{children:({signOut:s})=>t.jsx("button",{type:"button",onClick:()=>s(),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:"Sign in again"})})}const ft=(e,s)=>{switch(e.kind){case"Deleted":case"NoOccurrenceFound":return{kind:e.kind};case"SignedOut":return{kind:"SignedOut",signIn:t.jsx(ut,{})};case"Failed":return{kind:"Failed",reason:e.reason,reportHref:qe(`opening an event failed: ${e.reason}`)};case"Searching":return{kind:"Finding"};default:return{kind:s?"Finding":"NotInView"}}};function St({calendarObjectId:e,recurrenceId:s}){const{view:r,date:n,calendarIds:i}=Oe(),{events:l,isLoading:d}=Ge({view:r,date:n,calendarIds:i}),{calendars:c,collections:u,timeZoneByCalendarId:p}=We(),{closeEvent:x}=Re(),{updateEvent:f,deleteEvent:v,isWriting:N}=Ve(),a=l.find(o=>o.id===Ze(e,s??"")),w=s===void 0&&a===void 0,A=w?_e(l,e,new Date().toISOString()):void 0,z=it(e,w&&!d&&A===void 0),T=c.find(o=>o.id===a?.calendarId),{resource:g}=st(e,a?.calendarId??""),[G,y]=E.useState(void 0),[b,L]=E.useState(void 0),[j,I]=E.useState(void 0),[q,C]=E.useState(""),fe=ke(j??we("",""),e),D=g?Xe(g.icalData):void 0,$=g?Qe(g.icalData):"",me=a&&!a.allDay?a.start.slice(11,16):"",M=g?et(g.icalData,p[a?.calendarId??""]??ne):ne,xe=a&&!a.allDay?ye($,Ue(a.start,M===""?"UTC":M).slice(0,10),a.start.slice(0,10)):$,O=$===""?"":Ce(xe,me)??"Repeats",B=a!==void 0&&a.seriesId!==""&&s!==void 0&&s!=="",H=a!==void 0&&g!==void 0&&!T?.readOnly,Y=(o,m)=>{if(o.kind==="written"){C(""),m();return}C(o.kind==="conflict"?dt:o.message)},J=o=>({calendarObjectId:e,calendarId:a?.calendarId??"",recurrenceId:s??"",scope:o,etag:g?.etag??""}),K=o=>{if(!a)return;const m=Ee(a,{repeat:O,location:D?.location??"",notes:D?.description??""});y(void 0),L({before:m,scope:o}),I(m),C("")},Q=o=>{y(void 0),v(J(o)).then(m=>Y(m,x))},he=()=>{if(!b||!j)return;const o=Te(b.before,j,{clock:de(),anchor:M});if(!o.ok){C(o.problem);return}f(J(b.scope),o.patch).then(m=>Y(m,()=>{L(void 0),I(void 0)}))};if(A)return t.jsx(P,{to:"/calendar/$view/$date/$calendarObjectId/$recurrenceId",params:{view:r,date:n,calendarObjectId:e,recurrenceId:A.recurrenceId},search:!0,hash:!0,replace:!0});const h=z.kind==="Found"?z.jump:void 0,X=h!==void 0&&i.length>0&&!i.includes(h.calendarId);if(h&&(h.date!==n||X)){const o=X?m=>({...m,calendarId:[...i,h.calendarId]}):!0;return h.recurrenceId===""?t.jsx(P,{to:"/calendar/$view/$date/$calendarObjectId",params:{view:r,date:h.date,calendarObjectId:e},search:o,hash:!0,replace:!0}):t.jsx(P,{to:"/calendar/$view/$date/$calendarObjectId/$recurrenceId",params:{view:r,date:h.date,calendarObjectId:e,recurrenceId:h.recurrenceId},search:o,hash:!0,replace:!0})}return G!==void 0&&a?t.jsx("div",{className:"flex h-full flex-col justify-center bg-surface px-row-inset",children:t.jsx(Ke,{className:"mx-auto w-full max-w-md",title:a.title,ruleText:O===""?"It repeats":O,instanceText:ce(a),onChoose:G==="edit"?K:Q,onCancel:()=>y(void 0)})}):b&&j?t.jsx(Se,{title:"Edit event",subtitle:b.scope==="this"?"This occurrence only":j.date,calendars:c,draft:j,onChange:I,problem:q,saveLabel:"Save",isSaving:N,repeatEditable:b.scope===void 0||b.scope==="all",calendarEditable:!1,clashes:fe,onSave:he,onCancel:()=>{L(void 0),I(void 0),C("")}}):t.jsx(ct,{event:a&&{...a,location:D?.location??"",notes:D?.description??"",recurrenceRule:O},calendar:T,readOnlyNote:T?.readOnly?Be(u.find(o=>o.calendarId===T.id)?.subscriptionUrl??""):"",isOccurrence:s!==void 0,absence:ft(z,w&&d),problem:q,onEdit:H?()=>B?y("edit"):K(void 0):void 0,onDelete:H?()=>B?y("delete"):Q(void 0):void 0,onClose:x})}export{St as O};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ar as g,a0 as w,L as C,j as s,t as b,a3 as H,a1 as S,a9 as _,u as q,cm as
|
|
1
|
+
import{ar as g,a0 as w,L as C,j as s,t as b,a3 as H,a1 as S,a9 as _,u as q,cm as K,r as x,cN as U,co as W,c as G,ad as J,C as V,dx as X,h as Y,at as Z,cR as ee,i as v,av as y,cK as se,cL as te,bT as p,f4 as ne}from"./index-B4JdswHn.js";import{a as ae,u as k,L as R}from"./roving-focus-D2wkvRq-.js";import{u as oe,p as re,R as j,c as ie}from"./useSearchTokenContext-Cs4q-Qex.js";import{C as L}from"./circle-check-big-9X205Z9_.js";import{C as I}from"./clock-ClfQ7Jbl.js";import{R as le}from"./row-actions-bd_6I1xJ.js";import{R as ce}from"./rotate-ccw-GmGf70Zg.js";import{P as T}from"./pane-header-DWAz5BQu.js";import{N as ue}from"./NavMenuButton-cJikUtSJ.js";import{i as de,s as D}from"./outbox-status-BlKn6P0x.js";import{n as xe}from"./search-query-Cr_ZXBCp.js";import{g as fe}from"./useMessageBodyContent-CSShNM3z.js";const me={queued:{icon:I,label:"Queued",className:"text-warning"},sending:{icon:C,label:"Sending…",className:"text-accent-2",spin:!0},sent:{icon:L,label:"Sent",className:"text-positive"},unfiled:{icon:g,label:"Sent, not filed",className:"text-warning"},failed:{icon:w,label:"Failed",className:"text-danger"},blocked:{icon:g,label:"Blocked",className:"text-warning"}};function O({status:e,iconOnly:t,className:a}){const n=me[e],o=n.icon;return s.jsxs("span",{className:b("inline-flex items-center gap-1.5 text-xs font-medium",n.className,a),children:[s.jsx(o,{className:b("size-4",n.spin&&"animate-spin")}),!t&&n.label]})}const he=(e,t)=>t?"bg-accent-2-soft":e==="failed"?"bg-danger-soft":e==="blocked"||e==="unfiled"?"bg-warning/10":"";function be({recipients:e,subject:t,time:a,status:n,error:o,selected:l,onSelect:c,onRetry:r,retrying:u,onEdit:i,onDelete:f,deleting:d}){const m=n==="failed"||n==="blocked"||n==="unfiled";return s.jsxs("div",{className:b("flex items-start gap-3 border-b border-line px-4 py-3 transition-colors hover:bg-surface-raised",he(n,l)),children:[s.jsxs("button",{type:"button",...ae,onClick:c,className:"flex flex-1 min-w-0 items-start gap-3 text-left",children:[s.jsx("div",{className:"mt-0.5 shrink-0",children:s.jsx(O,{status:n,iconOnly:!0})}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsxs("div",{className:"flex items-center justify-between gap-2",children:[s.jsx("span",{className:"truncate text-sm font-medium",children:e}),s.jsx("span",{className:"shrink-0 text-xs text-fg-muted",children:a})]}),s.jsx("div",{className:"truncate text-sm",children:t||"No subject"}),s.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[s.jsx(O,{status:n}),o&&s.jsxs("span",{className:"truncate text-xs text-fg-muted",children:["— ",o]})]})]})]}),m&&s.jsx("div",{className:"shrink-0",children:s.jsx(le,{actions:[...n==="failed"&&r?[{label:"Retry sending",iconOnly:!0,icon:s.jsx(ce,{className:"size-3.5"}),busy:u,onClick:r}]:[],...n==="unfiled"?[]:[{label:"Edit as draft",iconOnly:!0,icon:s.jsx(S,{className:"size-3.5"}),onClick:i}]],destructive:{label:"Delete message",iconOnly:!0,icon:s.jsx(H,{className:"size-3.5"}),busy:d,confirm:{prompt:"Delete this message?",confirmLabel:"Delete"},onClick:f}})})]})}function ze(){return _({from:"/mail/outbox/draft/$outboxMessageId",shouldThrow:!1})?.outboxMessageId}function ge(){const e=q(),t=K();return x.useCallback(a=>{e({to:"/mail/outbox/draft/$outboxMessageId",params:{outboxMessageId:a},search:U,hash:t})},[e,t])}function pe(){return W()}function je(e,t){const a=t.trim().toLowerCase();if(a.length===0)return!0;const n=[e.subject,e.fromAddress,e.fromName,...e.toAddresses??[],...e.ccAddresses??[]].filter(o=>typeof o=="string").join(" ").toLowerCase();return a.split(/\s+/).every(o=>o.length===0||n.includes(o))}function Ne(e){return e.tokens.length>0&&e.freeText.trim().length===0}const A={queued:{icon:I,label:"Queued",className:"text-warning"},sending:{icon:C,label:"Sending…",className:"text-accent-2"},sent:{icon:L,label:"Sent",className:"text-positive"},unfiled:{icon:g,label:"Sent, not filed",className:"text-warning"},failed:{icon:w,label:"Failed",className:"text-danger"},blocked:{icon:g,label:"Blocked",className:"text-warning"}},ve=e=>ne(e).toDateString()===new Date().toDateString()?p(e,{hour:"numeric",minute:"2-digit"}):p(e,{month:"short",day:"numeric"}),M=e=>p(e,{dateStyle:"medium",timeStyle:"short"}),ye=e=>{const t=e.toAddresses??[];return t.length===0?"No recipients":t.length===1?t[0]:`${t[0]} +${t.length-1}`},E=(e,t)=>t?"The outbox cannot filter on those terms":e?"No matching outbox messages":"No outbox messages",P=x.createContext(null);function N(){const e=x.useContext(P);if(!e)throw new Error("OutboxPane.* must be used inside <OutboxPane>");return e}function Oe({outboxMessageId:e,children:t}){const a=ge(),n=pe(),{data:o,isLoading:l}=G(J()),{searchQuery:c}=V(),r=oe(),u=xe(c),i=re(u,r),f=u.length>0,d=Ne(i),m=x.useMemo(()=>d?[]:(o?.items??[]).filter(h=>de(h.status)).filter(h=>je(h,i.freeText)),[o,i.freeText,d]),F=x.useMemo(()=>m.find(h=>h.outboxMessageId===e),[m,e]),$={messages:m,hasQuery:f,unsupportedQuery:d,isLoading:l,selectedMessageId:e,selectedMessage:F,onOpenMessage:a,onCloseMessage:n};return s.jsx(P.Provider,{value:$,children:t})}function Q({message:e,isSelected:t,onSelect:a}){const n=Y(),o=fe(),{pushError:l}=Z(),c=x.useCallback(()=>{n.invalidateQueries({queryKey:ee()})},[n]),r=v({...se(),onSuccess:c,onError:d=>{l(y("Couldn't resend message","The message wasn't sent.",d))}}),u=v({...te(),onSuccess:c,onError:d=>{l(y("Couldn't delete message","The message wasn't deleted.",d))}}),i=e.status;if(!A[i])return null;const f=D(e.status);return s.jsx(be,{recipients:ye(e),subject:e.subject||"",time:ve(e.sentAt??e.updatedAt),status:i,error:f?e.lastError??void 0:void 0,selected:t,onSelect:a,onRetry:i==="failed"?()=>r.mutate({path:{outboxMessageId:e.outboxMessageId}}):void 0,retrying:r.isPending,onEdit:()=>o(e.outboxMessageId),onDelete:()=>u.mutate({path:{outboxMessageId:e.outboxMessageId}}),deleting:u.isPending})}function B({message:e,onBack:t}){const a=e.status,n=A[a],o=n?.icon??S,l=e.sentAt?M(e.sentAt):M(e.updatedAt);return s.jsxs("div",{className:"h-full overflow-y-auto bg-canvas",children:[s.jsxs("div",{className:"border-b border-line p-4",children:[t&&s.jsxs("button",{type:"button",onClick:t,className:"mb-3 inline-flex items-center gap-1 text-sm text-fg-muted hover:text-fg",children:[s.jsx(X,{className:"size-4"}),s.jsx("span",{children:"Back"})]}),s.jsx("h1",{className:"text-xl font-semibold mb-3",children:e.subject||"(No subject)"}),s.jsxs("div",{className:"space-y-1 text-sm",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx("span",{className:"text-fg-muted shrink-0 w-12",children:"From:"}),s.jsx("span",{className:"text-fg",children:e.fromName?`${e.fromName} <${e.fromAddress}>`:e.fromAddress})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("span",{className:"text-fg-muted shrink-0 w-12",children:"To:"}),s.jsx("span",{className:"text-fg",children:(e.toAddresses??[]).join(", ")})]}),e.ccAddresses&&e.ccAddresses.length>0&&s.jsxs("div",{className:"flex gap-2",children:[s.jsx("span",{className:"text-fg-muted shrink-0 w-12",children:"Cc:"}),s.jsx("span",{className:"text-fg",children:e.ccAddresses.join(", ")})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("span",{className:"text-fg-muted shrink-0 w-12",children:"Date:"}),s.jsx("span",{className:"text-fg",children:l})]}),n&&s.jsxs("div",{className:"flex items-center gap-2 pt-2",children:[s.jsx(o,{className:b("size-4",n.className,a==="sending"&&"animate-spin")}),s.jsx("span",{className:b("text-xs font-medium",n.className),children:n.label}),D(e.status)&&e.lastError&&s.jsxs("span",{className:"text-xs text-fg-muted",children:["— ",e.lastError]})]})]})]}),s.jsx("div",{className:"p-4",children:s.jsx(ie,{html:e.htmlBody,text:e.textBody})})]})}function Me(){const{messages:e,hasQuery:t,unsupportedQuery:a,isLoading:n,selectedMessageId:o,onOpenMessage:l}=N(),c=x.useRef(null);return k({containerRef:c,itemSelector:R}),n?s.jsx("div",{className:"flex h-full items-center justify-center bg-canvas",children:s.jsx("span",{className:"text-fg-muted",children:"Loading..."})}):e.length===0?s.jsx("div",{className:"flex h-full bg-surface",children:s.jsx(j,{message:E(t,a),showHints:!1})}):s.jsxs("div",{className:"h-full flex flex-col bg-canvas",children:[s.jsx(z,{count:e.length}),s.jsx("div",{ref:c,className:"flex-1 overflow-y-auto",children:e.map(r=>s.jsx(Q,{message:r,isSelected:o===r.outboxMessageId,onSelect:()=>l(r.outboxMessageId)},r.outboxMessageId))})]})}function z({count:e}){return s.jsx(T,{title:"Outbox",leading:s.jsx(ue,{}),children:s.jsxs("span",{className:"shrink-0 text-2xs text-fg-subtle",children:[e," ",e===1?"message":"messages"]})})}function we(){const{selectedMessage:e}=N();return s.jsxs("section",{className:"flex h-full w-full min-w-0 flex-col bg-canvas",children:[s.jsx(T,{}),s.jsx("div",{className:"min-h-0 flex-1 overflow-hidden",children:e?s.jsx(B,{message:e}):s.jsx(j,{message:"Select a message to read",showHints:!1})})]})}function Ce(){const{messages:e,hasQuery:t,unsupportedQuery:a,isLoading:n,selectedMessageId:o,selectedMessage:l,onOpenMessage:c,onCloseMessage:r}=N(),u=x.useRef(null);return k({containerRef:u,itemSelector:R}),n?s.jsx("div",{className:"flex h-full items-center justify-center bg-canvas",children:s.jsx("span",{className:"text-fg-muted",children:"Loading..."})}):l?s.jsx(B,{message:l,onBack:r}):e.length===0?s.jsx("div",{className:"flex h-full bg-surface",children:s.jsx(j,{message:E(t,a),showHints:!1})}):s.jsxs("div",{className:"h-full flex flex-col bg-canvas",children:[s.jsx(z,{count:e.length}),s.jsx("div",{ref:u,className:"flex-1 overflow-y-auto",children:e.map(i=>s.jsx(Q,{message:i,isSelected:o===i.outboxMessageId,onSelect:()=>c(i.outboxMessageId)},i.outboxMessageId))})]})}const Fe=Object.assign(Oe,{List:Me,Reading:we,Phone:Ce});export{Fe as O,ze as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{O as o}from"./index-B4JdswHn.js";const n=o;export{n as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aj as m,j as o,O as p}from"./index-B4JdswHn.js";import{a}from"./MailShell-BIvJeWyL.js";import{M as r}from"./MailboxPane-CRU0WI2x.js";import{a as e}from"./search-token-index--_Rh4aFK.js";import{u as s}from"./search-mirror-B7YqORh1.js";import"./FullCompose-CUyyOEnC.js";import"./ErrorState-DNFHspWz.js";import"./index-DJ2xR7nc.js";import"./useMessageBodyContent-CSShNM3z.js";import"./useSignature-Cn0_fTIF.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue--hf0UzWb.js";import"./sections-CLSd-RpI.js";import"./confirm-dialog-B6ufQwtY.js";import"./useSearchTokenContext-Cs4q-Qex.js";import"./kbd-X2f0JsWs.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CI_8sSKm.js";import"./circle-check-big-9X205Z9_.js";import"./refresh-cw-CIdgQmhu.js";import"./useQueries-DTupFckA.js";import"./MailListHeader-CQDSlr9k.js";import"./roving-focus-D2wkvRq-.js";import"./popover-menu-ScZ5sdbz.js";import"./mail-DweCDR9r.js";import"./avatar--cs-SUmT.js";import"./EmptyState-CMwh4I6q.js";import"./undo-2-svU5oJQZ.js";import"./download-q4beFGPw.js";import"./useCalendarFreeBusy-ziLEEc7D.js";import"./calendar-format-D1akKqM4.js";import"./useCalendars-D81fvJ5t.js";import"./map-pin-FVWIN_AF.js";import"./calendar-suggestion-BBxpels5.js";import"./attendee-row-DwrxHoUg.js";import"./minus-BSNUE9Xs.js";import"./clock-ClfQ7Jbl.js";import"./calendar-clash-strip-CkTpKwDu.js";import"./bell-off-BKU5bR5P.js";import"./shield-check-8O6tctrF.js";import"./calendar-report-BxH5o5N9.js";import"./useFilters-Bj038H29.js";import"./checkbox-C0271RkP.js";import"./useLayoutTier-BtYfbCqz.js";import"./menu-D_kqgOpb.js";import"./MailViewChrome-UR-zeB42.js";import"./pane-header-DWAz5BQu.js";import"./NavMenuButton-cJikUtSJ.js";import"./useLabels-C4frOkLu.js";import"./useSemanticSearch-BfPYzK04.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-0Pbsps2C.js";import"./circle-help-CgV1hMay.js";import"./circle-check-DLOMzuPE.js";function no(){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{no as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./index-B4JdswHn.js";import{B as o}from"./BriefPane-BCUzDi0M.js";import"./useSearchTokenContext-Cs4q-Qex.js";import"./kbd-X2f0JsWs.js";import"./useMessageBodyContent-CSShNM3z.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-CQDSlr9k.js";import"./roving-focus-D2wkvRq-.js";import"./search-token-index--_Rh4aFK.js";import"./useQueries-DTupFckA.js";import"./popover-menu-ScZ5sdbz.js";import"./mail-DweCDR9r.js";import"./avatar--cs-SUmT.js";import"./index-DJ2xR7nc.js";import"./useSignature-Cn0_fTIF.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue--hf0UzWb.js";import"./sections-CLSd-RpI.js";import"./EmptyState-CMwh4I6q.js";import"./ErrorState-DNFHspWz.js";import"./undo-2-svU5oJQZ.js";import"./download-q4beFGPw.js";import"./useCalendarFreeBusy-ziLEEc7D.js";import"./calendar-format-D1akKqM4.js";import"./useCalendars-D81fvJ5t.js";import"./map-pin-FVWIN_AF.js";import"./calendar-suggestion-BBxpels5.js";import"./attendee-row-DwrxHoUg.js";import"./minus-BSNUE9Xs.js";import"./clock-ClfQ7Jbl.js";import"./calendar-clash-strip-CkTpKwDu.js";import"./bell-off-BKU5bR5P.js";import"./shield-check-8O6tctrF.js";import"./calendar-report-BxH5o5N9.js";import"./useFilters-Bj038H29.js";import"./checkbox-C0271RkP.js";import"./confirm-dialog-B6ufQwtY.js";import"./useLayoutTier-BtYfbCqz.js";import"./menu-D_kqgOpb.js";import"./useRefreshControl-CI_8sSKm.js";import"./circle-check-big-9X205Z9_.js";import"./refresh-cw-CIdgQmhu.js";import"./useSemanticSearch-BfPYzK04.js";import"./useLabels-C4frOkLu.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-zWa1qc6-.js";function W(){return r.jsx(o.Reading,{})}export{W as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as o}from"./index-B4JdswHn.js";import{M as r}from"./MailboxPane-CRU0WI2x.js";import"./useSearchTokenContext-Cs4q-Qex.js";import"./kbd-X2f0JsWs.js";import"./useMessageBodyContent-CSShNM3z.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CI_8sSKm.js";import"./circle-check-big-9X205Z9_.js";import"./refresh-cw-CIdgQmhu.js";import"./useQueries-DTupFckA.js";import"./MailListHeader-CQDSlr9k.js";import"./roving-focus-D2wkvRq-.js";import"./search-token-index--_Rh4aFK.js";import"./popover-menu-ScZ5sdbz.js";import"./mail-DweCDR9r.js";import"./avatar--cs-SUmT.js";import"./index-DJ2xR7nc.js";import"./useSignature-Cn0_fTIF.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue--hf0UzWb.js";import"./sections-CLSd-RpI.js";import"./EmptyState-CMwh4I6q.js";import"./ErrorState-DNFHspWz.js";import"./undo-2-svU5oJQZ.js";import"./download-q4beFGPw.js";import"./useCalendarFreeBusy-ziLEEc7D.js";import"./calendar-format-D1akKqM4.js";import"./useCalendars-D81fvJ5t.js";import"./map-pin-FVWIN_AF.js";import"./calendar-suggestion-BBxpels5.js";import"./attendee-row-DwrxHoUg.js";import"./minus-BSNUE9Xs.js";import"./clock-ClfQ7Jbl.js";import"./calendar-clash-strip-CkTpKwDu.js";import"./bell-off-BKU5bR5P.js";import"./shield-check-8O6tctrF.js";import"./calendar-report-BxH5o5N9.js";import"./useFilters-Bj038H29.js";import"./checkbox-C0271RkP.js";import"./confirm-dialog-B6ufQwtY.js";import"./useLayoutTier-BtYfbCqz.js";import"./menu-D_kqgOpb.js";import"./MailViewChrome-UR-zeB42.js";import"./pane-header-DWAz5BQu.js";import"./NavMenuButton-cJikUtSJ.js";import"./useLabels-C4frOkLu.js";import"./useSemanticSearch-BfPYzK04.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-0Pbsps2C.js";import"./circle-help-CgV1hMay.js";import"./circle-check-DLOMzuPE.js";function $(){return o.jsx(r.Reading,{})}export{$ as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as o}from"./index-B4JdswHn.js";import{F as r}from"./FlaggedPane-aTIJMuGv.js";import"./useSearchTokenContext-Cs4q-Qex.js";import"./kbd-X2f0JsWs.js";import"./useMessageBodyContent-CSShNM3z.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-CQDSlr9k.js";import"./roving-focus-D2wkvRq-.js";import"./search-token-index--_Rh4aFK.js";import"./useQueries-DTupFckA.js";import"./popover-menu-ScZ5sdbz.js";import"./mail-DweCDR9r.js";import"./avatar--cs-SUmT.js";import"./index-DJ2xR7nc.js";import"./useSignature-Cn0_fTIF.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue--hf0UzWb.js";import"./sections-CLSd-RpI.js";import"./EmptyState-CMwh4I6q.js";import"./ErrorState-DNFHspWz.js";import"./undo-2-svU5oJQZ.js";import"./download-q4beFGPw.js";import"./useCalendarFreeBusy-ziLEEc7D.js";import"./calendar-format-D1akKqM4.js";import"./useCalendars-D81fvJ5t.js";import"./map-pin-FVWIN_AF.js";import"./calendar-suggestion-BBxpels5.js";import"./attendee-row-DwrxHoUg.js";import"./minus-BSNUE9Xs.js";import"./clock-ClfQ7Jbl.js";import"./calendar-clash-strip-CkTpKwDu.js";import"./bell-off-BKU5bR5P.js";import"./shield-check-8O6tctrF.js";import"./calendar-report-BxH5o5N9.js";import"./useFilters-Bj038H29.js";import"./checkbox-C0271RkP.js";import"./confirm-dialog-B6ufQwtY.js";import"./useLayoutTier-BtYfbCqz.js";import"./menu-D_kqgOpb.js";import"./MailViewChrome-UR-zeB42.js";import"./refresh-cw-CIdgQmhu.js";import"./wizard-selection-zWa1qc6-.js";function S(){return o.jsx(r.Reading,{})}export{S as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as o}from"./index-B4JdswHn.js";import{O as t}from"./OutboxPane-C4u8rDUe.js";import"./roving-focus-D2wkvRq-.js";import"./useSearchTokenContext-Cs4q-Qex.js";import"./kbd-X2f0JsWs.js";import"./useMessageBodyContent-CSShNM3z.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-9X205Z9_.js";import"./clock-ClfQ7Jbl.js";import"./row-actions-bd_6I1xJ.js";import"./rotate-ccw-GmGf70Zg.js";import"./pane-header-DWAz5BQu.js";import"./NavMenuButton-cJikUtSJ.js";import"./menu-D_kqgOpb.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function R(){return o.jsx(t.Reading,{})}export{R as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{fa as o,j as m}from"./index-B4JdswHn.js";import{O as p}from"./OpenCalendarEvent-D1sZ-GRa.js";import"./CalendarComposePane-B1ugPLuI.js";import"./calendar-format-D1akKqM4.js";import"./useQueries-DTupFckA.js";import"./useCalendars-D81fvJ5t.js";import"./calendar-clash-strip-CkTpKwDu.js";import"./attendee-row-DwrxHoUg.js";import"./avatar--cs-SUmT.js";import"./minus-BSNUE9Xs.js";import"./clock-ClfQ7Jbl.js";import"./map-pin-FVWIN_AF.js";import"./mail-DweCDR9r.js";import"./pencil-C6lN6xpL.js";import"./useCalendarWrites-T903Es4q.js";import"./ErrorState-DNFHspWz.js";import"./useCalendarData-BIblGP77.js";import"./calendar-report-BxH5o5N9.js";import"./calendar-subscription-B-aAc2Gy.js";function P(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return m.jsx(p,{calendarObjectId:r,recurrenceId:t})}export{P as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{O as o}from"./index-B4JdswHn.js";const n=o;export{n as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{O as o}from"./index-B4JdswHn.js";const n=o;export{n as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{O as o}from"./index-B4JdswHn.js";const n=o;export{n as component};
|