@remit/web-client-dist 0.0.539 → 0.0.541
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-BF3QpH9s.js +1 -0
- package/assets/{CalendarComposePane-tQ70DMF5.js → CalendarComposePane-B6OhiQsN.js} +1 -1
- package/assets/{CalendarComposeSeed-BDYrBoOn.js → CalendarComposeSeed-CqB_vGGN.js} +1 -1
- package/assets/{CalendarShell-NLYcQtjI.js → CalendarShell-DbJMAS-C.js} +1 -1
- package/assets/{EmptyState-kUDfGSa-.js → EmptyState-CSMaYaEn.js} +1 -1
- package/assets/{ErrorState-VDo7BEXi.js → ErrorState-QAArpXLf.js} +1 -1
- package/assets/{FlaggedPane-D797wNm2.js → FlaggedPane-BtaFIljM.js} +1 -1
- package/assets/{FullCompose-zR5425gW.js → FullCompose-CCGrmPJg.js} +1 -1
- package/assets/MailListHeader-u7Rq5QvZ.js +7 -0
- package/assets/MailNav-DmDmKON5.js +1 -0
- package/assets/{MailShell-tZFfzwz5.js → MailShell-CIM1STt4.js} +1 -1
- package/assets/MailViewChrome-CwKbpyYR.js +1 -0
- package/assets/{MailboxPane-BopLrNNz.js → MailboxPane-DO9E9d66.js} +1 -1
- package/assets/{NavMenuButton-CfCIoTCV.js → NavMenuButton-D33sb1Iv.js} +1 -1
- package/assets/{OnboardingWizard-2mTY55FL.js → OnboardingWizard-B-3KPUTk.js} +1 -1
- package/assets/{OpenCalendarEvent-V_qj0EjB.js → OpenCalendarEvent-BtVmJGD7.js} +2 -2
- package/assets/OutboxPane-DuI38cvH.js +1 -0
- package/assets/_calendarObjectId-BFcCSDs_.js +1 -0
- package/assets/_mailboxId-DQF2tTng.js +1 -0
- package/assets/_messageId-CmzkEIXV.js +1 -0
- package/assets/_messageId-DXA2DL6W.js +1 -0
- package/assets/_messageId-DjkcpITY.js +1 -0
- package/assets/_outboxMessageId-C83CuACP.js +1 -0
- package/assets/_recurrenceId-Du4qexes.js +1 -0
- package/assets/_threadId-BBpdlFP4.js +1 -0
- package/assets/_threadId-CX4mdigM.js +1 -0
- package/assets/_threadId-DAMPCoMl.js +1 -0
- package/assets/_view._date-ccLw5fGv.js +1 -0
- package/assets/{accounts-NoIrbDGD.js → accounts-xBjoZkoW.js} +1 -1
- package/assets/{advanced-CDSXEaTr.js → advanced-ByJqVgoW.js} +2 -2
- package/assets/{appearance-DWg9Fev-.js → appearance-ZmXLJr87.js} +1 -1
- package/assets/{attachment-file-BqkgTk5V.js → attachment-file-BG27lVCM.js} +1 -1
- package/assets/{attendee-row-Cv_RoZCD.js → attendee-row-CTNLChhq.js} +1 -1
- package/assets/{avatar-5AJpJDbh.js → avatar-DXro8ker.js} +1 -1
- package/assets/{bottom-sheet-CelNqy1y.js → bottom-sheet-C7xkmDov.js} +1 -1
- package/assets/{brief-DBM3Ph9C.js → brief-B-ou101e.js} +1 -1
- package/assets/brief-B3zDqsEV.js +1 -0
- package/assets/{browser-ponyfill-CpwZ1QuB.js → browser-ponyfill-CkVzAnx2.js} +1 -1
- package/assets/{bug-DnU8bYv9.js → bug-DavmLUd9.js} +1 -1
- package/assets/calendar-DneQR1Xt.js +1 -0
- package/assets/{calendar-color-CHnffHyS.js → calendar-color-AdRpHzAi.js} +1 -1
- package/assets/{calendar-event-chip-C9NOIAJ7.js → calendar-event-chip-QZOcdP_o.js} +1 -1
- package/assets/{calendars-DnRJcpuO.js → calendars-CXJ5rls_.js} +1 -1
- package/assets/{card-BIo-eYcK.js → card-C6idQCt2.js} +1 -1
- package/assets/chevron-left-BwWGiDVd.js +1 -0
- package/assets/{circle-check-DYx-rw9M.js → circle-check-BOIz7Z_j.js} +1 -1
- package/assets/{circle-check-big-CiGlGCl1.js → circle-check-big-C2MGkIL1.js} +1 -1
- package/assets/{circle-help-D_5w7LgQ.js → circle-help-B4BuWt0G.js} +1 -1
- package/assets/{clock-BkwpZS6T.js → clock-BK5YthR0.js} +1 -1
- package/assets/compose._-_outboxMessageId_-BHPHapGA.js +1 -0
- package/assets/compose._-_outboxMessageId_-CR4zylJj.js +1 -0
- package/assets/compose._-_outboxMessageId_-CwE4fYtQ.js +1 -0
- package/assets/compose._-_outboxMessageId_-iWeSeSc4.js +1 -0
- package/assets/{config-import-CHkWlsTW.js → config-import-FPetVYo2.js} +1 -1
- package/assets/{confirm-dialog-Bay01642.js → confirm-dialog-k-k-byYR.js} +1 -1
- package/assets/{copy-8LApphug.js → copy-DOvcgC4N.js} +1 -1
- package/assets/{credential-steps-tHE5fDmz.js → credential-steps-C7XjDWoW.js} +1 -1
- package/assets/{download-oST1Pv8p.js → download-tt-Cyzcf.js} +1 -1
- package/assets/{file-json-DnRKjKiP.js → file-json-DTL9kFs5.js} +1 -1
- package/assets/{filters-Buglze8m.js → filters-oxhJ9CrI.js} +1 -1
- package/assets/{flagged-CJjphuiU.js → flagged-BbV9soU9.js} +1 -1
- package/assets/flagged-DdPgHrWA.js +1 -0
- package/assets/folders-BZdx-r7F.js +1 -0
- package/assets/{format-CWO8MVm7.js → format-By3hRFiw.js} +1 -1
- package/assets/{help-copy-BwQIRzP8.js → help-copy-Dwlt9trH.js} +1 -1
- package/assets/{import-otv52wgG.js → import-DLwEJzp8.js} +1 -1
- package/assets/index-26R7PEMP.js +1 -0
- package/assets/index-B9SKzNNx.js +1 -0
- package/assets/{index-DDXWq0c8.js → index-Bsmi-6m5.js} +1 -1
- package/assets/index-BxuJcbHa.js +1 -0
- package/assets/index-ByRi5YZH.js +294 -0
- package/assets/index-CX22JAkI.js +1 -0
- package/assets/index-CYm2FZEz.js +1 -0
- package/assets/index-CcPXpKEP.js +1 -0
- package/assets/index-DjkcpITY.js +1 -0
- package/assets/{index-DsRBPRBB.js → index-Ex7ioeVB.js} +4 -4
- package/assets/index-Pv-qxF_k.js +1 -0
- package/assets/index-npsdHvXX.js +1 -0
- package/assets/{kbd-B9nU8EDr.js → kbd-g95IxlDg.js} +1 -1
- package/assets/{labels-DBHZvdEr.js → labels-D9niB03z.js} +1 -1
- package/assets/mail-CrkFA1JF.js +1 -0
- package/assets/{mail-B-HBRveP.js → mail-D5qE4FN6.js} +1 -1
- package/assets/{map-pin--HA8ooZj.js → map-pin-BbuzgGID.js} +1 -1
- package/assets/{menu-CL8oYhg5.js → menu-BNS6TRoC.js} +1 -1
- package/assets/{new-jRPRW8fh.js → new-N9iBOfdl.js} +1 -1
- package/assets/onboarding-DWkVXZJu.js +1 -0
- package/assets/{onboarding-completion-DZv9f55o.js → onboarding-completion-BsrETocc.js} +1 -1
- package/assets/outbox-BteDz8S4.js +1 -0
- package/assets/{pencil-D0RtlkgQ.js → pencil-CiINOUXE.js} +1 -1
- package/assets/{refresh-cw-aknANAyZ.js → refresh-cw-DP7E7xBG.js} +1 -1
- package/assets/{rich-text-Bpmt0Q2Q.js → rich-text-Dz-h6Wzi.js} +15 -15
- package/assets/{rich-text-spellcheck-worker-provider-CAEYgLim.js → rich-text-spellcheck-worker-provider-BAwEUuQt.js} +1 -1
- package/assets/{rotate-ccw-ANFMG0Un.js → rotate-ccw-C4-mOKlW.js} +1 -1
- package/assets/roving-focus-BFebcwNO.js +1 -0
- package/assets/{row-actions-CT3DvHHR.js → row-actions-B7DxoNvh.js} +1 -1
- package/assets/{search-mirror-w8o3KYuJ.js → search-mirror-DxN5-fCD.js} +1 -1
- package/assets/{search-token-index-dunAqY2l.js → search-token-index-Cmtl3dKn.js} +1 -1
- package/assets/{sections-CpLvdf_Q.js → sections-wd7CziQ2.js} +1 -1
- package/assets/{senders-DGhCm9Cq.js → senders-CloB4eNC.js} +1 -1
- package/assets/settings-DH_Czyn_.js +1 -0
- package/assets/{settings-screen-n7380RZQ.js → settings-screen-BSHTP4w3.js} +1 -1
- package/assets/{shield-check-BqYHKvFE.js → shield-check-BqR-Gonk.js} +1 -1
- package/assets/{suggested-vips-BAvZjSyo.js → suggested-vips-rQSwcCZv.js} +1 -1
- package/assets/{useCalendarData-D1EN840n.js → useCalendarData-CCXTAZRA.js} +1 -1
- package/assets/{useCalendars-DH8nOZcd.js → useCalendars-BHFymoaq.js} +1 -1
- package/assets/{useDebouncedValue-Dv0WkGIF.js → useDebouncedValue-6OtqszcW.js} +1 -1
- package/assets/{useFilters-DS_Q_iog.js → useFilters-Ccb4BahB.js} +1 -1
- package/assets/{useLabels-j2kudmYw.js → useLabels-DcCbJtSx.js} +1 -1
- package/assets/{useLayoutTier-CCGjVGyC.js → useLayoutTier-CF0bNBqy.js} +1 -1
- package/assets/{useMessageBodyContent-CRGA_hjE.js → useMessageBodyContent-q8o4QD20.js} +1 -1
- package/assets/{useQueries-djG1CrNB.js → useQueries-gUcpJxIV.js} +1 -1
- package/assets/{useRefreshControl-Bi0R4fuK.js → useRefreshControl-DvDz3P8k.js} +1 -1
- package/assets/{useResultFolderIndex-BCGAB_OB.js → useResultFolderIndex-DlAYVvjn.js} +1 -1
- package/assets/{useSearchTokenContext-9o7ruLw5.js → useSearchTokenContext-BCmfVUAi.js} +3 -3
- package/assets/{useSemanticSearch-DYgnPGVP.js → useSemanticSearch-4IMN41e8.js} +1 -1
- package/assets/{useSignature--ONyUwiW.js → useSignature-D80B_qPi.js} +1 -1
- package/assets/{window--WwoSABt.js → window-BIqTObac.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/BriefPane-Ip1tU4Q2.js +0 -1
- package/assets/MailListHeader-BNe_s60T.js +0 -7
- package/assets/MailNav-Bqn1DFhd.js +0 -1
- package/assets/MailViewChrome-B1fzfXtB.js +0 -1
- package/assets/OutboxPane-DlPDtcBL.js +0 -1
- package/assets/_calendarObjectId-CZ_xnOwy.js +0 -1
- package/assets/_mailboxId-DLTSNNdz.js +0 -1
- package/assets/_messageId-B4E9VsGl.js +0 -1
- package/assets/_messageId-CWNpxM_O.js +0 -1
- package/assets/_messageId-CdX9aQBn.js +0 -1
- package/assets/_outboxMessageId-nFK7r3Fh.js +0 -1
- package/assets/_recurrenceId-Dn5opwOe.js +0 -1
- package/assets/_threadId-DliBCvhK.js +0 -1
- package/assets/_threadId-QAbbdkCV.js +0 -1
- package/assets/_threadId-cDiMLExB.js +0 -1
- package/assets/_view._date-AOhQ7-Uc.js +0 -1
- package/assets/brief-D4AeeAY5.js +0 -1
- package/assets/calendar-Ckcu_24O.js +0 -1
- package/assets/chevron-left-K8Bg0uJl.js +0 -1
- package/assets/compose._-_outboxMessageId_-BMcDZaSg.js +0 -1
- package/assets/compose._-_outboxMessageId_-CXIL2PE5.js +0 -1
- package/assets/compose._-_outboxMessageId_-D_3HrLmE.js +0 -1
- package/assets/compose._-_outboxMessageId_-opDIhYx3.js +0 -1
- package/assets/flagged-CBQpNBN6.js +0 -1
- package/assets/folders-CNPLhb4H.js +0 -1
- package/assets/index-B9v6nYHl.js +0 -1
- package/assets/index-BiRvhN4V.js +0 -1
- package/assets/index-BmbIB1oc.js +0 -1
- package/assets/index-Bry1TMaW.js +0 -1
- package/assets/index-CWNpxM_O.js +0 -1
- package/assets/index-CdX9aQBn.js +0 -1
- package/assets/index-ClEohi1R.js +0 -1
- package/assets/index-CmthVe78.js +0 -1
- package/assets/index-CrPVnwJ1.js +0 -294
- package/assets/index-R-8APqxR.js +0 -1
- package/assets/mail-B9aZ_UMX.js +0 -1
- package/assets/onboarding-BWnBpp6S.js +0 -1
- package/assets/outbox-D_lL10Ql.js +0 -1
- package/assets/settings-DXWuEuQC.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as D,r as h,T as ae,j as e,U as ne,V as re,W as G,t as N,Y as T,Z as V,_ as ie,$ as J,a0 as le,a1 as oe,X as ce,a2 as ue,a3 as de,a4 as xe,a5 as fe,a6 as me,I as he,a7 as ge,a8 as pe,a9 as I,aa as be,h as ve,C as je,ab as ye,G as Ne,c as Se,ac as ke,ad as Ce,ae as M,af as we,ag as w,ah as Oe,D as ze,v as Re}from"./index-CrPVnwJ1.js";import{B as Ae,a as Ie}from"./useLayoutTier-CCGjVGyC.js";import{u as Ee}from"./useQueries-djG1CrNB.js";import{i as Le}from"./outbox-status-BlKn6P0x.js";import{B as Fe}from"./bug-DnU8bYv9.js";const Pe=D("BookmarkPlus",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"12",x2:"12",y1:"7",y2:"13",key:"1cppfj"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]]);const Me=D("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);const De=D("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),_e="button:not([disabled]), a[href]",O="outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-surface-sunken";function Be({active:s,dimmed:t,indent:a}){return N("flex w-full items-center gap-2 rounded-md px-2 py-1 text-left text-sm transition-colors",O,a&&"pl-7",s?"bg-accent-2-soft font-medium text-accent-2":"text-fg-muted hover:bg-surface hover:text-fg",t&&"opacity-55")}function Te({icon:s,label:t,count:a,active:n}){return e.jsxs(e.Fragment,{children:[s&&e.jsx("span",{className:N("shrink-0",n?"text-accent-2":"text-fg-subtle"),children:s}),e.jsx("span",{className:"flex-1 truncate",children:t}),a!=null&&a>0&&e.jsx("span",{className:N("text-2xs tabular-nums",n?"text-accent-2":"text-fg-subtle"),children:a})]})}function A({icon:s,label:t,count:a,active:n,dimmed:o,indent:l,navId:u,linkComponent:g,ariaLabel:x,title:v,onClick:j}){const p=Be({active:n,dimmed:o,indent:l}),d=e.jsx(Te,{icon:s,label:t,count:a,active:n});return u&&g?g({navId:u,className:p,ariaLabel:x??t,title:v,onClick:j,children:d}):e.jsx("button",{type:"button",onClick:j,className:p,"aria-label":x,title:v,children:d})}const q={inbox:0,flagged:1,drafts:2,sent:3,archive:4,all:5,junk:6,trash:7};function Ve(s){switch(s){case"inbox":return e.jsx(he,{className:"size-4"});case"flagged":return e.jsx(G,{className:"size-4"});case"drafts":return e.jsx(me,{className:"size-4"});case"sent":return e.jsx(J,{className:"size-4"});case"archive":return e.jsx(fe,{className:"size-4"});case"all":return e.jsx(xe,{className:"size-4"});case"junk":return e.jsx(de,{className:"size-4"});case"trash":return e.jsx(ue,{className:"size-4"})}}const K=s=>s.role!=null,P=8,Q="remit.nav.folders.open.",$="remit.nav.account.open.";function H(s,t,a){if(typeof localStorage>"u")return a;const n=localStorage.getItem(s+t);return n===null?a:n!=="0"}function U(s,t,a){typeof localStorage>"u"||localStorage.setItem(s+t,a?"1":"0")}function qe({query:s,onSelect:t,onRemove:a}){return e.jsxs("div",{className:"group flex w-full items-center gap-1 rounded-md pr-1 hover:bg-surface",children:[e.jsxs("button",{type:"button",onClick:t,className:N("flex min-w-0 flex-1 items-center gap-2 px-2 py-1 text-left text-sm text-fg-muted transition-colors hover:text-fg",O),children:[e.jsx(oe,{className:"size-4 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"min-w-0 flex-1 truncate",children:s})]}),a&&e.jsx("button",{type:"button",onClick:a,"aria-label":`Remove saved search: ${s}`,className:N("shrink-0 rounded-full p-1 text-fg-subtle opacity-0 transition-opacity hover:bg-surface-sunken hover:text-fg group-hover:opacity-100 focus-visible:opacity-100",O),children:e.jsx(ce,{className:"size-3.5"})})]})}function Ke({savedSearches:s,saveableQuery:t,onSelectSavedSearch:a,onRemoveSavedSearch:n,onSaveCurrentSearch:o}){return s.length===0&&!t?null:e.jsxs("div",{className:"mt-3",children:[e.jsx("div",{className:"px-2 pb-1 text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Saved searches"}),t&&e.jsxs("button",{type:"button",onClick:o,className:N("flex w-full items-center gap-2 rounded-md px-2 py-1 text-left text-sm text-accent transition-colors hover:bg-surface",O),children:[e.jsx(Pe,{className:"size-4 shrink-0"}),e.jsxs("span",{className:"min-w-0 flex-1 truncate",children:["Save “",t,"”"]})]}),s.map(l=>e.jsx(qe,{query:l,onSelect:()=>a?.(l),onRemove:n?()=>n(l):void 0},l))]})}function Qe({account:s,selectedNavId:t,onSelectNav:a,linkComponent:n}){const[o,l]=h.useState(()=>H($,s.id,!0)),[u,g]=h.useState(()=>H(Q,s.id,!0)),[x,v]=h.useState(!1),j=()=>{l(r=>{const f=!r;return U($,s.id,f),f})},p=()=>{g(r=>{const f=!r;return U(Q,s.id,f),f})},d=s.mailboxes.filter(K).sort((r,f)=>q[r.role]-q[f.role]),c=s.mailboxes.filter(r=>!K(r)),S=x||c.length<=P?c:c.slice(0,P),z=c.length-S.length,R=s.status??"ready",F=R==="ready"&&d.length===0&&c.length===0;return e.jsxs("div",{className:"mt-3",children:[e.jsxs("button",{type:"button",onClick:j,"aria-expanded":o,className:N("flex w-full items-center gap-1.5 px-2 pb-1 text-left transition-colors hover:text-fg",O,s.muted&&"opacity-55"),children:[o?e.jsx(T,{className:"size-3 shrink-0 text-fg-subtle"}):e.jsx(V,{className:"size-3 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"truncate text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:s.label}),s.muted&&e.jsxs(e.Fragment,{children:[e.jsx(Ae,{className:"size-3 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"text-2xs text-fg-subtle",children:"muted"})]})]}),o&&e.jsxs(e.Fragment,{children:[R==="loading"&&e.jsx("div",{className:"px-2 py-1 text-sm text-fg-muted",children:"Loading…"}),R==="error"&&e.jsxs("div",{role:"alert",className:"mx-2 my-1 flex items-start gap-2 rounded-md border border-danger/40 bg-danger-soft px-2 py-1.5 text-sm",children:[e.jsx(ie,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":"true"}),e.jsx("div",{className:"min-w-0 flex-1",children:e.jsx("p",{className:"font-medium text-danger",children:"Couldn't load mailboxes"})}),s.onRetry&&e.jsx("button",{type:"button",onClick:s.onRetry,className:"shrink-0 text-sm font-medium text-accent hover:underline",children:"Retry"})]}),F&&e.jsx("div",{className:"px-2 py-1 text-sm text-fg-muted",children:"No mailboxes"}),R==="ready"&&e.jsxs(e.Fragment,{children:[d.map(r=>e.jsx(A,{navId:r.id,linkComponent:n,icon:Ve(r.role),label:r.name,ariaLabel:r.name,title:r.fullPath??r.name,count:r.unseen,active:t===r.id,dimmed:s.muted,onClick:()=>a?.(r.id)},r.id)),s.outboxPending!==void 0&&e.jsx(A,{navId:"outbox",linkComponent:n,icon:e.jsx(J,{className:"size-4"}),label:"Outbox",ariaLabel:"Outbox",count:s.outboxPending>0?s.outboxPending:void 0,active:t==="outbox",dimmed:s.muted,onClick:()=>a?.("outbox")}),c.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",onClick:p,"aria-expanded":u,className:N("mt-1 flex w-full items-center gap-1 px-2 py-1 text-left text-2xs font-semibold uppercase tracking-wider text-fg-subtle transition-colors hover:text-fg",O),children:[u?e.jsx(T,{className:"size-3 shrink-0"}):e.jsx(V,{className:"size-3 shrink-0"}),e.jsx("span",{className:"flex-1",children:"Folders"}),e.jsx("span",{className:"tabular-nums opacity-70",children:c.length})]}),u&&e.jsxs(e.Fragment,{children:[S.map(r=>e.jsx(A,{navId:r.id,linkComponent:n,icon:e.jsx(le,{className:"size-4"}),label:r.name,ariaLabel:r.name,title:r.fullPath??r.name,count:r.unseen,active:t===r.id,dimmed:s.muted,onClick:()=>a?.(r.id)},r.id)),(z>0||x)&&c.length>P&&e.jsx("button",{type:"button",onClick:()=>v(r=>!r),className:N("ml-7 flex items-center px-2 py-1 text-2xs font-medium text-accent transition-colors hover:underline",O),children:x?"Show less":`Show all (${c.length})`})]})]})]})]})]})}function $e({accounts:s,selectedNavId:t,briefUnseen:a,onSelectNav:n,variant:o="desktop",linkComponent:l,calendarNav:u="hidden",savedSearches:g=[],saveableQuery:x,onSelectSavedSearch:v,onRemoveSavedSearch:j,onSaveCurrentSearch:p}){const d=h.useRef(null);ae({containerRef:d,itemSelector:_e});const c=o==="drawer",S=e.jsxs("nav",{ref:c?d:void 0,className:c?"px-2 py-2":"flex-1 overflow-y-auto px-2 py-2","aria-label":"Mailboxes",children:[e.jsx(A,{navId:"brief",linkComponent:l,icon:e.jsx(ne,{className:"size-4"}),label:"Daily brief",ariaLabel:"Daily brief",count:a,active:t==="brief",onClick:()=>n?.("brief")}),u==="shown"&&e.jsx(A,{navId:"calendar",linkComponent:l,icon:e.jsx(re,{className:"size-4"}),label:"Calendar",ariaLabel:"Calendar",active:t==="calendar",onClick:()=>n?.("calendar")}),e.jsx(A,{navId:"flagged",linkComponent:l,icon:e.jsx(G,{className:"size-4"}),label:"Starred",ariaLabel:"Starred",active:t==="flagged",onClick:()=>n?.("flagged")}),e.jsx(Ke,{savedSearches:g,saveableQuery:x,onSelectSavedSearch:v,onRemoveSavedSearch:j,onSaveCurrentSearch:p}),s.length===0?e.jsx("div",{className:"px-2 py-4 text-center text-sm text-fg-muted",children:"No accounts configured"}):s.map(z=>e.jsx(Qe,{account:z,selectedNavId:t,onSelectNav:n,linkComponent:l},z.id))]});return c?S:e.jsx("aside",{ref:d,className:"flex h-full w-full flex-col bg-surface-sunken",children:S})}function He(){const{pathname:s}=ge(),t=pe({from:"/mail/$mailboxId",shouldThrow:!1});return I(s,"/settings")?"settings":I(s,"/calendar")?"calendar":I(s,"/mail/outbox")?"outbox":I(s,"/mail/flagged")?"flagged":I(s,"/mail/brief")?"brief":t?.mailboxId??""}const Ue=({children:s})=>{const{Account:t}=be();return e.jsx(t,{children:s})},_="remit.savedSearches",We=25;function L(){try{const s=localStorage.getItem(_);if(!s)return[];const t=JSON.parse(s);return Array.isArray(t)?t.filter(a=>typeof a=="string"):[]}catch{return[]}}function Ye(s){const t=s.trim();if(!t)return L();const a=[t,...L().filter(n=>n!==t)].slice(0,We);try{localStorage.setItem(_,JSON.stringify(a))}catch{return a}return a}function Ge(s){const t=L().filter(a=>a!==s);try{localStorage.setItem(_,JSON.stringify(t))}catch{return t}return t}const W=s=>/^\d/.test(s),Je=(s,t)=>{const a=W(s),n=W(t);return a&&!n?-1:!a&&n?1:s.localeCompare(t,void 0,{sensitivity:"base",numeric:!0})};function Xe(s,t,a){const n=[],o=[];for(const l of s)t.has(l.mailboxId)?n.push(l):o.push(l);return o.sort((l,u)=>Je(M(l,void 0,a),M(u,void 0,a))),{system:n,labels:o}}function Ze(s,t,a){const n=we(t)&&s.unseenCount>0;return{id:s.mailboxId,name:M(s,t,a),unseen:n?s.unseenCount:void 0,role:t,fullPath:s.fullPath}}function Y({accounts:s,onMailboxSelect:t,variant:a="desktop"}){const n=ve(),o=Ie(),l=He(),{searchInput:u,onSearchChange:g}=je(),[x,v]=h.useState(L),{t:j}=ye("mail",{useSuspense:!1}),p=h.useCallback((i,b)=>j(i,{defaultValue:b}),[j]),d=Ee({queries:s.map(i=>({...Ne({path:{accountId:i.accountId}}),staleTime:1/0}))}),{data:c}=Se(ke()),S=h.useMemo(()=>(c?.items??[]).filter(i=>Le(i.status)).length,[c?.items]),z=h.useMemo(()=>s.map((i,b)=>{const m=d[b],k=m?.data?.items??[],y=Ce(i.folderAppointments),{system:C,labels:se}=Xe(k,y,p),te=m?.isError?"error":m?.isLoading?"loading":"ready";return{id:i.accountId,label:i.email,email:i.email,muted:!!i.muted,outboxPending:S,status:te,onRetry:()=>m?.refetch(),mailboxes:[...C,...se].map(B=>Ze(B,y.get(B.mailboxId),p))}}),[s,d,S,p]),R=i=>{n.invalidateQueries({queryKey:Oe({path:{mailboxId:i},query:{order:"desc"}})})},F=({navId:i,className:b,ariaLabel:m,title:k,children:y,onClick:C})=>i==="brief"?e.jsx(w,{to:"/mail/brief",search:{q:void 0},activeOptions:{includeSearch:!1},onClick:()=>C?.(),className:b,"aria-label":m,title:k,children:y}):i==="calendar"?e.jsx(w,{to:"/calendar",onClick:()=>C?.(),className:b,"aria-label":m,title:k,children:y}):i==="outbox"?e.jsx(w,{to:"/mail/outbox",search:{q:void 0},onClick:()=>C?.(),className:b,"aria-label":m,title:k,children:y}):i==="flagged"?e.jsx(w,{to:"/mail/flagged",search:{q:void 0},onClick:()=>C?.(),className:b,"aria-label":m,title:k,children:y}):i==="settings"?e.jsx(w,{to:"/settings/accounts",onClick:()=>C?.(),className:b,"aria-label":m,title:k,children:y}):e.jsx(w,{to:"/mail/$mailboxId",params:{mailboxId:i},search:{q:void 0},onClick:()=>{R(i),C?.()},className:b,"aria-label":m,title:k,children:y}),r=()=>{g(""),t?.()},f=u.trim(),E=f.length>0&&!x.includes(f)?f:void 0,X=h.useCallback(()=>{E&&v(Ye(E))},[E]),Z=h.useCallback(i=>{v(Ge(i))},[]),ee=h.useCallback(i=>{g(i),o(i),t?.()},[g,o,t]);return e.jsx($e,{accounts:z,selectedNavId:l,onSelectNav:r,linkComponent:F,calendarNav:"shown",variant:a,savedSearches:x,saveableQuery:E,onSaveCurrentSearch:X,onSelectSavedSearch:ee,onRemoveSavedSearch:Z})}function es(){return e.jsxs("button",{type:"button",onClick:ze,className:"flex w-full items-center gap-2 rounded-md px-2 py-1 text-sm text-fg-muted transition-colors hover:bg-surface hover:text-fg",children:[e.jsx(Fe,{className:"size-4 shrink-0"}),e.jsx("span",{className:"flex-1 truncate text-left",children:"Report a bug"})]})}function is({accounts:s,onMailboxSelect:t}){return Re()?.showNavPane??!0?e.jsx(Y,{accounts:s}):e.jsxs("div",{className:"flex h-full flex-col",children:[e.jsx("div",{className:"flex-1 overflow-y-auto",children:e.jsx(Y,{accounts:s,onMailboxSelect:t,variant:"drawer"})}),e.jsxs("div",{className:"border-t border-line px-2 py-2",children:[e.jsxs(w,{to:"/settings/accounts",onClick:t,children:[e.jsx(De,{className:"size-4 shrink-0"}),e.jsx("span",{className:"flex-1 truncate text-left",children:"Settings"})]}),e.jsx(es,{}),e.jsx(Ue,{children:({signOut:o})=>e.jsxs("button",{type:"button",onClick:()=>{t?.(),o()},className:"flex min-h-11 w-full items-center gap-2 rounded-md px-2 py-1 text-sm text-fg-muted transition-colors hover:bg-surface hover:text-fg","data-testid":"sign-out-button",children:[e.jsx(Me,{className:"size-4 shrink-0"}),e.jsx("span",{className:"flex-1 truncate text-left",children:"Sign out"})]})})]})]})}export{Ue as A,Me as L,is as M,De as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s,L as le,f as _,_ as ue,r as g,t as Y,aA as de,a2 as fe,dQ as me,T as xe,dR as K,dS as ge,b_ as he,dT as pe,dU as be,dV as ve,C as je,dW as we,d9 as Ne}from"./index-CrPVnwJ1.js";import{m as ye,A as Pe}from"./search-token-index-dunAqY2l.js";import{ad as Re,ae as Ce,c as Se,a as G,af as Ee,v as Me,ag as ke,ah as Te,ai as Ae,aj as Ie,ak as ee,al as Le}from"./MailListHeader-BNe_s60T.js";import{A as ze}from"./avatar-5AJpJDbh.js";import{M as Oe}from"./mail-B-HBRveP.js";import{R as De}from"./refresh-cw-aknANAyZ.js";import{M as _e}from"./menu-CL8oYhg5.js";function $e(){return s.jsx("div",{className:"space-y-0",role:"status","aria-busy":"true","aria-label":"Loading messages",children:Array.from({length:8}).map((e,t)=>s.jsxs("div",{className:"animate-pulse border-b border-line px-3 py-2",children:[s.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[s.jsx("div",{className:"h-4 w-32 rounded bg-surface-sunken"}),s.jsx("div",{className:"h-3 w-16 rounded bg-surface-sunken"})]}),s.jsx("div",{className:"mb-2 h-4 w-48 rounded bg-surface-sunken"}),s.jsx("div",{className:"h-3 w-full rounded bg-surface-sunken"})]},t))})}function Fe({filter:e,scopeLabel:t,searchQuery:n}){const u=n?.trim();return e?s.jsxs(V,{children:[s.jsx("p",{className:"font-medium text-fg",children:Ue(e.label,t,u)}),s.jsx("p",{className:"mt-1 text-sm text-fg-muted",children:He[e.reach]}),s.jsx(_,{variant:"secondary",size:"sm",className:"mt-4",onClick:e.onClear,children:"Clear filter"})]}):s.jsx(V,{children:s.jsx("p",{className:"text-fg-muted",children:Xe(u,t)})})}const He={"whole-folder":"Every message in this folder was checked.","loaded-pages":"Only the messages loaded so far were checked."};function Xe(e,t){return e?"No messages match your search":t?`No messages in ${t}`:"No messages in this mailbox"}function Ue(e,t,n){return n?`No results for “${n}” in ${e}`:t?`No ${e} in ${t}`:`No ${e}`}function V({children:e}){return s.jsx("div",{className:"flex h-full flex-1 items-center justify-center",children:s.jsx("div",{className:"flex max-w-sm flex-col items-center justify-center p-8 text-center",children:e})})}function ls(){return s.jsxs("div",{className:"flex items-center justify-center gap-2 py-4 text-sm text-fg-muted",role:"status","aria-live":"polite",children:[s.jsx(le,{className:"size-4 animate-spin","aria-hidden":"true"}),s.jsx("span",{children:"Loading more…"})]})}function Be({message:e="Something went wrong loading this mailbox.",onRetry:t,onReport:n}){return s.jsx("div",{className:"flex h-full flex-1 items-center justify-center p-4",children:s.jsxs("div",{role:"alert",className:"flex max-w-sm flex-col items-center justify-center gap-3 text-center",children:[s.jsx(ue,{className:"size-8 text-danger","aria-hidden":"true"}),s.jsxs("div",{children:[s.jsx("p",{className:"font-medium text-danger",children:"Couldn't load messages"}),s.jsx("p",{className:"mt-1 break-words text-sm text-fg-muted",children:e})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[t&&s.jsx(_,{variant:"secondary",size:"sm",onClick:t,children:"Retry"}),n&&s.jsx(_,{variant:"ghost",size:"sm",onClick:n,children:"Report a problem"})]})]})})}const A=72,q=10,We=A/2,J="__swipeableRowAxisCancel";function Z(e){return e==="leading"?A:e==="trailing"?-A:0}function Qe(e){return e>=A/2?"leading":e<=-A/2?"trailing":"none"}function Ye({thread:e,selectionMode:t,checked:n,active:u,peek:f,onPeek:c,onToggleCheck:h,onLongPress:w,onOpen:p,onAct:b}){const x=g.useRef(null),[v,j]=g.useState(null),{longPressProps:P}=Re({onLongPress:w,isDisabled:t,accessibilityDescription:"Select message"}),S=i=>{const o=new PointerEvent("pointercancel",{bubbles:!0});o[J]=!0,i.currentTarget.dispatchEvent(o)},r=Ce(P,{onPointerDown:i=>{x.current={startX:i.clientX,startY:i.clientY,axis:"none",escaped:!1}},onPointerMove:i=>{if(t)return;const o=x.current;if(!o)return;const m=i.clientX-o.startX,M=i.clientY-o.startY;if(o.axis==="none"&&(Math.abs(M)>q&&Math.abs(M)>Math.abs(m)?o.axis="vertical":Math.abs(m)>q&&Math.abs(m)>Math.abs(M)&&(o.axis="horizontal",i.currentTarget.setPointerCapture(i.pointerId))),o.axis==="none")return;const I=o.axis==="horizontal"?Math.abs(m):Math.abs(M);if(!o.escaped&&I>We&&(o.escaped=!0,S(i)),o.axis!=="horizontal")return;const F=Z(f),H=Math.max(-A,Math.min(A,F+m));j(H)},onPointerUp:i=>{const o=x.current;x.current=null;const m=v;if(j(null),!!o){if(o.axis!=="none"&&!o.escaped&&S(i),o.axis==="horizontal"){m!==null&&c(Qe(m));return}if(o.axis!=="vertical"){if(t){h();return}if(f!=="none"){c("none");return}p()}}},onPointerCancel:i=>{i.nativeEvent[J]||(x.current=null,j(null))}}),d=v??Z(f),y=d>0?"leading":d<0?"trailing":"none",R=Y("relative touch-pan-y bg-surface","select-none",Se({active:n||u})),z={transform:d!==0?`translateX(${d}px)`:void 0,transition:v===null?"transform 150ms ease":"none",minHeight:44},$=!e.isRead,T=i=>i.stopPropagation(),O=t?s.jsxs(s.Fragment,{children:[s.jsx("span",{className:Y("inline-flex size-7 shrink-0 items-center justify-center rounded-full border",n?"border-accent bg-accent text-accent-fg":"border-line-strong bg-canvas"),children:n&&s.jsx(de,{className:"size-3.5"})}),s.jsx(G,{thread:e})]}):s.jsxs(s.Fragment,{children:[$&&s.jsx("span",{className:"absolute left-1.5 top-1/2 size-1.5 -translate-y-1/2 rounded-full bg-accent"}),s.jsx("span",{role:"checkbox",tabIndex:0,"aria-checked":n,"aria-label":`Select message from ${e.fromName}`,onPointerDown:T,onPointerMove:T,onPointerUp:T,onClick:i=>{i.preventDefault(),i.stopPropagation(),w()},onKeyDown:i=>{i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),w())},className:"-m-2 inline-flex size-11 shrink-0 items-center justify-center rounded-full",children:s.jsx(ze,{name:e.fromName,email:e.fromEmail,size:"sm"})}),s.jsx(G,{thread:e})]});return s.jsxs("div",{className:"relative overflow-hidden",children:[y==="leading"&&s.jsx("button",{type:"button",onClick:()=>b("leading"),"aria-label":e.isRead?"Mark as unread":"Mark as read",className:"absolute inset-y-0 left-0 flex items-center justify-start bg-accent-2 px-6 text-accent-fg",children:e.isRead?s.jsx(Oe,{className:"size-6"}):s.jsx(Ee,{className:"size-6"})}),y==="trailing"&&s.jsx("button",{type:"button",onClick:()=>b("trailing"),"aria-label":"Delete message",className:"absolute inset-y-0 right-0 flex items-center justify-end bg-danger px-6 text-canvas",children:s.jsx(fe,{className:"size-6"})}),s.jsx("button",{type:"button",role:t?"checkbox":void 0,"aria-checked":t?n:void 0,"data-message-row":!0,"data-message-id":e.id,...r,className:R,style:z,children:O})]})}function Ke({sections:e,selectedThreadId:t,selectionMode:n,checkedIds:u,initialPeek:f,onToggleCheck:c,onEnterSelection:h,onOpenThread:w,onRefresh:p,refreshing:b,busy:x=!1}){const[v,j]=g.useState(new Set),[P,S]=g.useState(new Map),N=e.flatMap(r=>r.threads).filter(r=>!v.has(r.id)).map(r=>{const d=P.get(r.id);return d===void 0?r:{...r,isRead:d}}),[E,C]=g.useState(f&&f!=="none"&&N[1]?{id:N[1].id,side:f}:null),k=(r,d)=>{if(d==="trailing")j(y=>new Set(y).add(r));else{const y=N.find(R=>R.id===r);S(R=>new Map(R).set(r,!y?.isRead))}C(null)};return s.jsxs("div",{className:"flex-1 overflow-y-auto",children:[b&&s.jsxs("div",{className:"flex items-center justify-center gap-2 border-b border-line py-3 text-fg-muted",children:[s.jsx(De,{className:"size-4 animate-spin"}),s.jsx("span",{className:"text-xs",children:"Checking for new mail…"})]}),s.jsx("div",{className:"divide-y divide-line",children:N.map(r=>s.jsx("div",{className:x?"pointer-events-none opacity-50":void 0,children:s.jsx(Ye,{thread:r,selectionMode:n,checked:u.has(r.id),active:r.id===t,peek:E?.id===r.id?E.side:"none",onPeek:d=>C(d==="none"?null:{id:r.id,side:d}),onToggleCheck:()=>c(r.id),onLongPress:()=>h(r.id),onOpen:()=>w(r.id),onAct:d=>k(r.id,d)})},r.id))}),!n&&!b&&!x&&s.jsx("button",{type:"button",onClick:p,className:"w-full border-t border-line py-2 text-center text-2xs text-fg-subtle transition-colors hover:bg-surface-sunken",children:"Pull to refresh"})]})}const Ge=new Set;function us({listTitle:e,listMeta:t,sections:n,briefFilters:u,flatList:f,listState:c="ready",searchQuery:h,listFilter:w,listScopeLabel:p,errorMessage:b,onRetry:x,onReportError:v,briefFilter:j,selectedThreadId:P,density:S="comfortable",onSelectThread:N,onOpenNav:E,isDesktop:C,initialTouchState:k,selection:r,keyboard:d,selectionBar:y,paneOverlay:R,listBody:z,hideHeader:$=!1}){const T=S==="compact"?Te:Ae,O=g.useRef(null),i=g.useRef(null),o=me(d);xe({containerRef:O,itemSelector:K,enabled:!o});const m=o?d.focusedId:void 0,M=o?m??n[0]?.threads[0]?.id:void 0,I=g.useCallback(a=>M===void 0?void 0:a===M?0:-1,[M]);g.useEffect(()=>{if(m===void 0)return;const a=i.current;if(!a)return;const l=a.querySelector(`${K}[data-message-id="${m}"]`);!l||l===a.ownerDocument.activeElement||l.focus({preventScroll:!1})},[m]),g.useEffect(()=>{if(!o)return;const a=i.current;if(!a)return;const l=a.ownerDocument.activeElement;l!==null&&l!==a.ownerDocument.body||a.focus({preventScroll:!0})},[o]);const F=!C&&!u&&c==="ready",[H,W]=g.useState(!1),ae=k==="peek-trailing"?"trailing":k==="peek-leading"?"leading":void 0,re=()=>{W(!0),setTimeout(()=>W(!1),1400)},D=r?.selectedIds??Ge,L=r?.onToggle,Q=r?.onRowSelect,ie=Me(D.size,C),X=g.useCallback(a=>{if(L)return{checked:D.has(a),onToggle:l=>{l.preventDefault(),l.stopPropagation(),L(a)}}},[D,L]),U=g.useCallback((a,l)=>Q?.(a,ke(l))?(l.preventDefault(),l.shiftKey&&window.getSelection()?.removeAllRanges(),!0):!1,[Q]),oe=g.useCallback(({thread:a,active:l,onClick:B})=>s.jsx(T,{thread:a,active:l,focused:a.id===m,tabIndex:I(a.id),selection:X(a.id),onClick:ce=>{U(a.id,ce)||B?.()}}),[T,X,U,m,I]);return s.jsxs("section",{ref:a=>{i.current=a,d?.ref(a)},tabIndex:o?-1:void 0,className:"relative flex h-full w-full flex-col bg-surface outline-none",children:[y??($?null:s.jsxs("header",{className:"flex h-pane-header shrink-0 items-center gap-2 border-b border-line px-row-inset",children:[E&&s.jsx(_,{variant:"ghost",size:"sm",icon:s.jsx(_e,{className:"size-4"}),onClick:E,"aria-label":"Open folders",className:"-ml-1 shrink-0"}),s.jsx("h1",{className:"min-w-0 flex-1 truncate text-sm font-semibold text-fg",children:e}),t&&s.jsx("span",{className:"shrink-0 text-2xs text-fg-subtle",children:t})]})),c==="loading"?s.jsx("div",{className:"flex-1 overflow-y-auto",children:s.jsx($e,{})}):c==="empty"?s.jsx(Fe,{filter:w,scopeLabel:p,searchQuery:h}):c==="error"?s.jsx(Be,{message:b,onRetry:x,onReport:v}):u?s.jsx(ge,{...j??{},sections:n,selectedThreadId:P,Row:oe,keyboard:d,onSelectThread:N}):z??(F?s.jsx(Ke,{sections:n,selectedThreadId:P,selectionMode:ie,checkedIds:D,initialPeek:ae,onToggleCheck:a=>L?.(a),onEnterSelection:a=>L?.(a),onOpenThread:a=>N?.(a),onRefresh:re,refreshing:H}):s.jsx("div",{ref:O,className:"flex-1 overflow-y-auto",children:n.map(a=>s.jsxs("div",{children:[!f&&a.label&&s.jsxs("div",{className:"sticky top-0 flex h-section-row items-center justify-between border-b border-line bg-surface-sunken px-row-inset",children:[s.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:a.label}),s.jsx("span",{className:"text-2xs text-fg-subtle tabular-nums",children:a.threads.length})]}),s.jsx("div",{className:"divide-y divide-line",children:a.threads.map(l=>s.jsx(T,{thread:l,active:l.id===P,focused:l.id===m,tabIndex:I(l.id),selection:X(l.id),onClick:B=>{U(l.id,B)||N?.(l.id)}},l.id))})]},a.id))})),C&&s.jsx(Ie,{hints:d?Pe(d.handlers):ye}),R]})}var Ve=class extends he{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,u=super.createResult(e,t),{isFetching:f,isRefetching:c,isError:h,isRefetchError:w}=u,p=n.fetchMeta?.fetchMore?.direction,b=h&&p==="forward",x=f&&p==="forward",v=h&&p==="backward",j=f&&p==="backward";return{...u,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:be(t,n.data),hasPreviousPage:pe(t,n.data),isFetchNextPageError:b,isFetchingNextPage:x,isFetchPreviousPageError:v,isFetchingPreviousPage:j,isRefetchError:w&&!b&&!v,isRefetching:c&&!x&&!j}}};function ds(e,t){return ve(e,Ve)}const se={dimension:"read",position:"pre",text:"unread"},qe={dimension:"read",position:"pre",text:"read"},te={dimension:"starred",position:"pre",text:"starred"},ne={dimension:"attachment",position:"post",text:"with an attachment"},Je=[["unread",se],["flagged",te],["attachment",ne]],Ze=e=>{switch(e.type){case"category":return{dimension:"category",position:"pre",text:ee(e.category)??e.value};case"isUnread":return se;case"isRead":return qe;case"isStarred":return te;case"hasAttachment":return ne;case"from":return{dimension:e.raw,position:"post",text:`from ${e.value}`};case"subject":return{dimension:e.raw,position:"post",text:`about “${e.value}”`};case"before":return{dimension:e.raw,position:"post",text:`sent before ${e.value}`};case"after":return{dimension:e.raw,position:"post",text:`sent on or after ${e.value}`};case"in":return{dimension:e.raw,position:"post",text:`in ${e.value}`};case"account":return{dimension:e.raw,position:"post",text:`in the ${e.value} account`}}},es=(e,t)=>{const n=new Map,u=c=>{n.has(c.dimension)||n.set(c.dimension,c)},f=ee(e.category);f&&u({dimension:"category",position:"pre",text:f});for(const[c,h]of Je)e.attributes.has(c)&&u(h);for(const c of t)u(Ze(c));return[...n.values()]},ss=(e,t)=>{const n=es(e,t);if(n.length===0)return;const u=f=>n.filter(c=>c.position===f).map(c=>c.text);return[...u("pre"),"mail",...u("post")].join(" ")},fs=({chips:e,tokens:t,reach:n,onClear:u})=>{const f=ss(e,t);if(f)return{label:f,reach:n,onClear:u}};function ms({title:e,unreadCount:t,preset:n,selectedCategory:u,activeFilters:f,onSelectCategory:c,onToggleFilter:h,onSelectSource:w,onClearFilters:p,children:b,footer:x,searchResults:v,searchLoading:j,relatedResults:P,relatedLoading:S,onSelectSearchResult:N,searchResultsLabel:E,relatedResultsLabel:C,searchResultsInBody:k,refreshControl:r}){const{searchInput:d}=je(),y=d.trim().length>0,R={categories:n.categories,filters:n.filters,sources:n.sources,selectedCategory:u,activeFilters:f,onSelectCategory:c,onSelectSource:w,onToggleFilter:h,onClear:p};return s.jsx(we,{hasSheet:!y,children:s.jsx(Le,{title:e,unreadCount:t,footer:x,searchFilter:R,searchResults:v,searchLoading:j,relatedResults:P,relatedLoading:S,onSelectSearchResult:N,searchResultsLabel:E,relatedResultsLabel:C,searchResultsInBody:k,refreshControl:r,children:s.jsx(Ne,{...R,hideChrome:y,children:b})})})}export{ls as M,Ye as S,us as a,ms as b,fs as l,ds as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aq as g,_ as w,L as C,j as s,t as b,d0 as F,a2 as _,$ as S,a8 as q,u as H,ce as U,r as x,cg as K,c as W,ac as G,C as J,T as k,dR as R,d4 as V,h as X,as as Y,cL as Z,i as v,au as y,cA as ee,cB as se}from"./index-CrPVnwJ1.js";import{u as te,p as ne,R as j,c as ae}from"./useSearchTokenContext-9o7ruLw5.js";import{C as I}from"./circle-check-big-CiGlGCl1.js";import{C as T}from"./clock-BkwpZS6T.js";import{R as oe}from"./row-actions-CT3DvHHR.js";import{R as re}from"./rotate-ccw-ANFMG0Un.js";import{N as A}from"./NavMenuButton-CfCIoTCV.js";import{b as p,t as ie}from"./format-CWO8MVm7.js";import{i as le,s as D}from"./outbox-status-BlKn6P0x.js";import{n as ce}from"./search-query-Cr_ZXBCp.js";import{f as de}from"./useMessageBodyContent-CRGA_hjE.js";const ue={queued:{icon:T,label:"Queued",className:"text-warning"},sending:{icon:C,label:"Sending…",className:"text-accent-2",spin:!0},sent:{icon:I,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:n,className:a}){const t=ue[e],o=t.icon;return s.jsxs("span",{className:b("inline-flex items-center gap-1.5 text-xs font-medium",t.className,a),children:[s.jsx(o,{className:b("size-4",t.spin&&"animate-spin")}),!n&&t.label]})}const xe=(e,n)=>n?"bg-accent-2-soft":e==="failed"?"bg-danger-soft":e==="blocked"||e==="unfiled"?"bg-warning/10":"";function fe({recipients:e,subject:n,time:a,status:t,error:o,selected:l,onSelect:c,onRetry:r,retrying:d,onEdit:i,onDelete:f,deleting:u}){const m=t==="failed"||t==="blocked"||t==="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",xe(t,l)),children:[s.jsxs("button",{type:"button",...F,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:t,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:n||"No subject"}),s.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[s.jsx(O,{status:t}),o&&s.jsxs("span",{className:"truncate text-xs text-fg-muted",children:["— ",o]})]})]})]}),m&&s.jsx("div",{className:"shrink-0",children:s.jsx(oe,{actions:[...t==="failed"&&r?[{label:"Retry sending",iconOnly:!0,icon:s.jsx(re,{className:"size-3.5"}),busy:d,onClick:r}]:[],...t==="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(_,{className:"size-3.5"}),busy:u,confirm:{prompt:"Delete this message?",confirmLabel:"Delete"},onClick:f}})})]})}function Ee(){return q({from:"/mail/outbox/draft/$outboxMessageId",shouldThrow:!1})?.outboxMessageId}function me(){const e=H(),n=U();return x.useCallback(a=>{e({to:"/mail/outbox/draft/$outboxMessageId",params:{outboxMessageId:a},search:t=>t,hash:n})},[e,n])}function he(){return K()}function be(e,n){const a=n.trim().toLowerCase();if(a.length===0)return!0;const t=[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||t.includes(o))}function ge(e){return e.tokens.length>0&&e.freeText.trim().length===0}const L={queued:{icon:T,label:"Queued",className:"text-warning"},sending:{icon:C,label:"Sending…",className:"text-accent-2"},sent:{icon:I,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"}},pe=e=>ie(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"}),je=e=>{const n=e.toAddresses??[];return n.length===0?"No recipients":n.length===1?n[0]:`${n[0]} +${n.length-1}`},E=(e,n)=>n?"The outbox cannot filter on those terms":e?"No matching outbox messages":"No outbox messages",Q=x.createContext(null);function N(){const e=x.useContext(Q);if(!e)throw new Error("OutboxPane.* must be used inside <OutboxPane>");return e}function Ne({outboxMessageId:e,children:n}){const a=me(),t=he(),{data:o,isLoading:l}=W(G()),{searchQuery:c}=J(),r=te(),d=ce(c),i=ne(d,r),f=d.length>0,u=ge(i),m=x.useMemo(()=>u?[]:(o?.items??[]).filter(h=>le(h.status)).filter(h=>be(h,i.freeText)),[o,i.freeText,u]),z=x.useMemo(()=>m.find(h=>h.outboxMessageId===e),[m,e]),$={messages:m,hasQuery:f,unsupportedQuery:u,isLoading:l,selectedMessageId:e,selectedMessage:z,onOpenMessage:a,onCloseMessage:t};return s.jsx(Q.Provider,{value:$,children:n})}function P({message:e,isSelected:n,onSelect:a}){const t=X(),o=de(),{pushError:l}=Y(),c=x.useCallback(()=>{t.invalidateQueries({queryKey:Z()})},[t]),r=v({...ee(),onSuccess:c,onError:u=>{l(y("Couldn't resend message","The message wasn't sent.",u))}}),d=v({...se(),onSuccess:c,onError:u=>{l(y("Couldn't delete message","The message wasn't deleted.",u))}}),i=e.status;if(!L[i])return null;const f=D(e.status);return s.jsx(fe,{recipients:je(e),subject:e.subject||"",time:pe(e.sentAt??e.updatedAt),status:i,error:f?e.lastError??void 0:void 0,selected:n,onSelect:a,onRetry:i==="failed"?()=>r.mutate({path:{outboxMessageId:e.outboxMessageId}}):void 0,retrying:r.isPending,onEdit:()=>o(e.outboxMessageId),onDelete:()=>d.mutate({path:{outboxMessageId:e.outboxMessageId}}),deleting:d.isPending})}function B({message:e,onBack:n}){const a=e.status,t=L[a],o=t?.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:[n&&s.jsxs("button",{type:"button",onClick:n,className:"mb-3 inline-flex items-center gap-1 text-sm text-fg-muted hover:text-fg",children:[s.jsx(V,{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})]}),t&&s.jsxs("div",{className:"flex items-center gap-2 pt-2",children:[s.jsx(o,{className:b("size-4",t.className,a==="sending"&&"animate-spin")}),s.jsx("span",{className:b("text-xs font-medium",t.className),children:t.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(ae,{html:e.htmlBody,text:e.textBody})})]})}function ve(){const{messages:e,hasQuery:n,unsupportedQuery:a,isLoading:t,selectedMessageId:o,onOpenMessage:l}=N(),c=x.useRef(null);return k({containerRef:c,itemSelector:R}),t?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(n,a),showHints:!1})}):s.jsxs("div",{className:"h-full flex flex-col bg-canvas",children:[s.jsxs("header",{className:"flex h-pane-header shrink-0 items-center gap-2 border-b border-line px-row-inset",children:[s.jsx(A,{}),s.jsx("h1",{className:"min-w-0 flex-1 truncate text-sm font-semibold text-fg",children:"Outbox"}),s.jsxs("span",{className:"shrink-0 text-2xs text-fg-subtle",children:[e.length," ",e.length===1?"message":"messages"]})]}),s.jsx("div",{ref:c,className:"flex-1 overflow-y-auto",children:e.map(r=>s.jsx(P,{message:r,isSelected:o===r.outboxMessageId,onSelect:()=>l(r.outboxMessageId)},r.outboxMessageId))})]})}function ye(){const{selectedMessage:e}=N();return s.jsxs("section",{className:"flex h-full w-full min-w-0 flex-col bg-canvas",children:[s.jsx("header",{className:"flex h-pane-header shrink-0 items-center border-b border-line px-3"}),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 Oe(){const{messages:e,hasQuery:n,unsupportedQuery:a,isLoading:t,selectedMessageId:o,selectedMessage:l,onOpenMessage:c,onCloseMessage:r}=N(),d=x.useRef(null);return k({containerRef:d,itemSelector:R}),t?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(n,a),showHints:!1})}):s.jsxs("div",{className:"h-full flex flex-col bg-canvas",children:[s.jsxs("header",{className:"flex h-pane-header shrink-0 items-center gap-2 border-b border-line px-row-inset",children:[s.jsx(A,{}),s.jsx("h1",{className:"min-w-0 flex-1 truncate text-sm font-semibold text-fg",children:"Outbox"}),s.jsxs("span",{className:"shrink-0 text-2xs text-fg-subtle",children:[e.length," ",e.length===1?"message":"messages"]})]}),s.jsx("div",{ref:d,className:"flex-1 overflow-y-auto",children:e.map(i=>s.jsx(P,{message:i,isSelected:o===i.outboxMessageId,onSelect:()=>c(i.outboxMessageId)},i.outboxMessageId))})]})}const Qe=Object.assign(Ne,{List:ve,Reading:ye,Phone:Oe});export{Qe as O,Ee as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CrPVnwJ1.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ai as m,j as o,O as p}from"./index-CrPVnwJ1.js";import{a}from"./MailShell-tZFfzwz5.js";import{M as r}from"./MailboxPane-BopLrNNz.js";import{d as e}from"./search-token-index-dunAqY2l.js";import{u as s}from"./search-mirror-w8o3KYuJ.js";import"./FullCompose-zR5425gW.js";import"./ErrorState-VDo7BEXi.js";import"./index-DsRBPRBB.js";import"./useMessageBodyContent-CRGA_hjE.js";import"./useSignature--ONyUwiW.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Dv0WkGIF.js";import"./sections-CpLvdf_Q.js";import"./format-CWO8MVm7.js";import"./confirm-dialog-Bay01642.js";import"./useSearchTokenContext-9o7ruLw5.js";import"./kbd-B9nU8EDr.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-Bi0R4fuK.js";import"./circle-check-big-CiGlGCl1.js";import"./refresh-cw-aknANAyZ.js";import"./useQueries-djG1CrNB.js";import"./MailListHeader-BNe_s60T.js";import"./attachment-file-BqkgTk5V.js";import"./mail-B-HBRveP.js";import"./avatar-5AJpJDbh.js";import"./EmptyState-kUDfGSa-.js";import"./download-oST1Pv8p.js";import"./calendar-event-chip-C9NOIAJ7.js";import"./calendar-color-CHnffHyS.js";import"./map-pin--HA8ooZj.js";import"./attendee-row-Cv_RoZCD.js";import"./clock-BkwpZS6T.js";import"./useLayoutTier-CCGjVGyC.js";import"./shield-check-BqYHKvFE.js";import"./useFilters-DS_Q_iog.js";import"./menu-CL8oYhg5.js";import"./MailViewChrome-B1fzfXtB.js";import"./NavMenuButton-CfCIoTCV.js";import"./useLabels-j2kudmYw.js";import"./useSemanticSearch-DYgnPGVP.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-CelNqy1y.js";import"./circle-help-D_5w7LgQ.js";import"./circle-check-DYx-rw9M.js";function oo(){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{oo as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CrPVnwJ1.js";import{M as r}from"./MailboxPane-BopLrNNz.js";import"./useSearchTokenContext-9o7ruLw5.js";import"./kbd-B9nU8EDr.js";import"./useMessageBodyContent-CRGA_hjE.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-Bi0R4fuK.js";import"./circle-check-big-CiGlGCl1.js";import"./refresh-cw-aknANAyZ.js";import"./useQueries-djG1CrNB.js";import"./search-token-index-dunAqY2l.js";import"./useLayoutTier-CCGjVGyC.js";import"./MailListHeader-BNe_s60T.js";import"./attachment-file-BqkgTk5V.js";import"./mail-B-HBRveP.js";import"./avatar-5AJpJDbh.js";import"./index-DsRBPRBB.js";import"./useSignature--ONyUwiW.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Dv0WkGIF.js";import"./sections-CpLvdf_Q.js";import"./format-CWO8MVm7.js";import"./EmptyState-kUDfGSa-.js";import"./ErrorState-VDo7BEXi.js";import"./download-oST1Pv8p.js";import"./calendar-event-chip-C9NOIAJ7.js";import"./calendar-color-CHnffHyS.js";import"./map-pin--HA8ooZj.js";import"./attendee-row-Cv_RoZCD.js";import"./clock-BkwpZS6T.js";import"./shield-check-BqYHKvFE.js";import"./useFilters-DS_Q_iog.js";import"./confirm-dialog-Bay01642.js";import"./menu-CL8oYhg5.js";import"./MailViewChrome-B1fzfXtB.js";import"./NavMenuButton-CfCIoTCV.js";import"./useLabels-j2kudmYw.js";import"./useSemanticSearch-DYgnPGVP.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-CelNqy1y.js";import"./circle-help-D_5w7LgQ.js";import"./circle-check-DYx-rw9M.js";function S(){return o.jsx(r.Reading,{})}export{S as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CrPVnwJ1.js";import{F as r}from"./FlaggedPane-D797wNm2.js";import"./useSearchTokenContext-9o7ruLw5.js";import"./kbd-B9nU8EDr.js";import"./useMessageBodyContent-CRGA_hjE.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BNe_s60T.js";import"./search-token-index-dunAqY2l.js";import"./useLayoutTier-CCGjVGyC.js";import"./useQueries-djG1CrNB.js";import"./attachment-file-BqkgTk5V.js";import"./mail-B-HBRveP.js";import"./avatar-5AJpJDbh.js";import"./index-DsRBPRBB.js";import"./useSignature--ONyUwiW.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Dv0WkGIF.js";import"./sections-CpLvdf_Q.js";import"./format-CWO8MVm7.js";import"./EmptyState-kUDfGSa-.js";import"./ErrorState-VDo7BEXi.js";import"./download-oST1Pv8p.js";import"./calendar-event-chip-C9NOIAJ7.js";import"./calendar-color-CHnffHyS.js";import"./map-pin--HA8ooZj.js";import"./attendee-row-Cv_RoZCD.js";import"./clock-BkwpZS6T.js";import"./shield-check-BqYHKvFE.js";import"./useFilters-DS_Q_iog.js";import"./confirm-dialog-Bay01642.js";import"./menu-CL8oYhg5.js";import"./MailViewChrome-B1fzfXtB.js";import"./refresh-cw-aknANAyZ.js";import"./wizard-selection-DxUM65kM.js";function H(){return o.jsx(r.Reading,{})}export{H as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-CrPVnwJ1.js";import{B as o}from"./BriefPane-Ip1tU4Q2.js";import"./useSearchTokenContext-9o7ruLw5.js";import"./kbd-B9nU8EDr.js";import"./useMessageBodyContent-CRGA_hjE.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BNe_s60T.js";import"./search-token-index-dunAqY2l.js";import"./useLayoutTier-CCGjVGyC.js";import"./useQueries-djG1CrNB.js";import"./attachment-file-BqkgTk5V.js";import"./mail-B-HBRveP.js";import"./avatar-5AJpJDbh.js";import"./index-DsRBPRBB.js";import"./useSignature--ONyUwiW.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Dv0WkGIF.js";import"./sections-CpLvdf_Q.js";import"./format-CWO8MVm7.js";import"./EmptyState-kUDfGSa-.js";import"./ErrorState-VDo7BEXi.js";import"./download-oST1Pv8p.js";import"./calendar-event-chip-C9NOIAJ7.js";import"./calendar-color-CHnffHyS.js";import"./map-pin--HA8ooZj.js";import"./attendee-row-Cv_RoZCD.js";import"./clock-BkwpZS6T.js";import"./shield-check-BqYHKvFE.js";import"./useFilters-DS_Q_iog.js";import"./confirm-dialog-Bay01642.js";import"./menu-CL8oYhg5.js";import"./useRefreshControl-Bi0R4fuK.js";import"./circle-check-big-CiGlGCl1.js";import"./refresh-cw-aknANAyZ.js";import"./useSemanticSearch-DYgnPGVP.js";import"./useLabels-j2kudmYw.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function L(){return r.jsx(o.Reading,{})}export{L as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CrPVnwJ1.js";import{O as t}from"./OutboxPane-DlPDtcBL.js";import"./useSearchTokenContext-9o7ruLw5.js";import"./kbd-B9nU8EDr.js";import"./useMessageBodyContent-CRGA_hjE.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-CiGlGCl1.js";import"./clock-BkwpZS6T.js";import"./row-actions-CT3DvHHR.js";import"./rotate-ccw-ANFMG0Un.js";import"./NavMenuButton-CfCIoTCV.js";import"./menu-CL8oYhg5.js";import"./format-CWO8MVm7.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{eq as o,j as m}from"./index-CrPVnwJ1.js";import{O as e}from"./OpenCalendarEvent-V_qj0EjB.js";import"./CalendarComposePane-tQ70DMF5.js";import"./window--WwoSABt.js";import"./ErrorState-VDo7BEXi.js";import"./calendar-color-CHnffHyS.js";import"./attendee-row-Cv_RoZCD.js";import"./avatar-5AJpJDbh.js";import"./clock-BkwpZS6T.js";import"./map-pin--HA8ooZj.js";import"./mail-B-HBRveP.js";import"./pencil-D0RtlkgQ.js";import"./useCalendars-DH8nOZcd.js";import"./useCalendarData-D1EN840n.js";import"./useQueries-djG1CrNB.js";function E(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return m.jsx(e,{calendarObjectId:r,recurrenceId:t})}export{E as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CrPVnwJ1.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CrPVnwJ1.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CrPVnwJ1.js";const n=o;export{n as component};
|