@remit/web-client-dist 0.0.355 → 0.0.356
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-CYfwVL8Y.js → BriefPane-BS5Lq2MZ.js} +1 -1
- package/assets/{ErrorState-CJ2aoLG_.js → ErrorState-iyZ1eEDd.js} +1 -1
- package/assets/{FlaggedPane-Sleye2NB.js → FlaggedPane-ktX1AK6k.js} +1 -1
- package/assets/{MailListHeader-CiYx2Ro0.js → MailListHeader-DnFZsLU5.js} +3 -3
- package/assets/{MailViewChrome-4eYgZdUD.js → MailViewChrome-B1N4z7Pm.js} +1 -1
- package/assets/{MailboxPane-VSk6AMXL.js → MailboxPane-Dhw8QEvL.js} +1 -1
- package/assets/{NavMenuButton-DCYDMDv1.js → NavMenuButton-B8BvpOxY.js} +1 -1
- package/assets/{OnboardingWizard-DoBOq2ec.js → OnboardingWizard-D9QaA8wx.js} +1 -1
- package/assets/{OutboxPane-D0ChJoAd.js → OutboxPane-DTooYDng.js} +1 -1
- package/assets/_mailboxId-0F2OLVkY.js +1 -0
- package/assets/_messageId-797n8gDL.js +1 -0
- package/assets/_messageId-BCsdFUs5.js +1 -0
- package/assets/_messageId-DqgcwsEx.js +1 -0
- package/assets/_outboxMessageId-M08TVdJj.js +1 -0
- package/assets/_threadId-B8Yjkmi1.js +1 -0
- package/assets/_threadId-DpOQd5cl.js +1 -0
- package/assets/_threadId-PwoZ7s3D.js +1 -0
- package/assets/{account-form-helpers-DAuyJa3o.js → account-form-helpers-n79hZWCu.js} +1 -1
- package/assets/{accounts-CeDKOmD9.js → accounts-q2ynk-9Z.js} +1 -1
- package/assets/{advanced-hybSRTbS.js → advanced-_W0aJq6k.js} +1 -1
- package/assets/{appearance-BpvA9O2b.js → appearance-BWPFtAqS.js} +1 -1
- package/assets/{avatar-CmvuzecB.js → avatar-DRzAUKDn.js} +1 -1
- package/assets/{bottom-sheet-BYOjIdVx.js → bottom-sheet-CYAAzFs2.js} +1 -1
- package/assets/brief-BvwMo2hW.js +1 -0
- package/assets/{brief-BVPyzhNL.js → brief-CdIy0xvq.js} +1 -1
- package/assets/{browser-ponyfill-C0xW0XXl.js → browser-ponyfill-CwHMNp32.js} +1 -1
- package/assets/{bug-JM5TdK6J.js → bug-aX2zoKsl.js} +1 -1
- package/assets/{circle-check-DlmySaui.js → circle-check-BpuRlCwV.js} +1 -1
- package/assets/{circle-check-big-Cj9roMB7.js → circle-check-big-Ci4xk_eE.js} +1 -1
- package/assets/{circle-help-C_AXwAaV.js → circle-help-l4FI_9La.js} +1 -1
- package/assets/{clock-C4V2tcYN.js → clock-x43VdT-G.js} +1 -1
- package/assets/{confirm-dialog-DPkij3bo.js → confirm-dialog-DnhbOBfz.js} +1 -1
- package/assets/{download-ChGh-J5t.js → download-BDyamb4u.js} +1 -1
- package/assets/{filters-GacN8-tL.js → filters-Bi0ePbo2.js} +1 -1
- package/assets/{flagged-D5M0XeA-.js → flagged-Djecuxf8.js} +1 -1
- package/assets/flagged-wK3gOzjd.js +1 -0
- package/assets/{folders-BrH0h_oC.js → folders-DBvC38NY.js} +1 -1
- package/assets/index-B9KGalbh.js +1 -0
- package/assets/index-BCsdFUs5.js +1 -0
- package/assets/index-C5ZngjHG.js +1 -0
- package/assets/index-CBqbCion.js +1 -0
- package/assets/{index-Bqn7f16e.js → index-CpL4QoWb.js} +4 -4
- package/assets/index-CwyVlvub.js +1 -0
- package/assets/index-DqgcwsEx.js +1 -0
- package/assets/index-N4dCVq0Z.js +1 -0
- package/assets/index-vrrpqe4P.js +1 -0
- package/assets/{kbd-BG1I0chs.js → kbd-B-IGAdWZ.js} +1 -1
- package/assets/{labels-BavFLXMP.js → labels-a3WH1yri.js} +1 -1
- package/assets/{mail-2xAGIPds.js → mail-DT3RwCYm.js} +1 -1
- package/assets/{menu-vEH9STs_.js → menu-C-178_d_.js} +1 -1
- package/assets/{move-options-k5syuO4O.js → move-options-B-_O6Age.js} +1 -1
- package/assets/{nav-link-COOZsOLo.js → nav-link-CI-9pBff.js} +1 -1
- package/assets/{onboarding-B28Gihze.js → onboarding-QXH9AO9A.js} +1 -1
- package/assets/outbox-CUzX3SOD.js +1 -0
- package/assets/{pencil-CkIitMcy.js → pencil-CzkYibYm.js} +1 -1
- package/assets/{rich-text-CsEQAreR.js → rich-text-CJKa3GnU.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-x6rgxHWR.js → rich-text-spellcheck-worker-provider-j4LLOI60.js} +1 -1
- package/assets/{rotate-ccw-xiByt5L1.js → rotate-ccw-Cvd6l1Qc.js} +1 -1
- package/assets/{row-actions-t73y2fxd.js → row-actions-B7ZYbUlo.js} +1 -1
- package/assets/{search-token-index-D-3XiS1P.js → search-token-index-Bq5W3wIz.js} +1 -1
- package/assets/{search-view-B6uoqRaE.js → search-view-BY8cFYny.js} +1 -1
- package/assets/{senders-cIRRNPpD.js → senders-CWxy9PJx.js} +1 -1
- package/assets/settings-AZpV762F.js +1 -0
- package/assets/{settings-screen-CH2hBhXZ.js → settings-screen-3PVPPcG9.js} +1 -1
- package/assets/{shield-check-drtxfxOL.js → shield-check-DmRA-CPl.js} +1 -1
- package/assets/{suggested-vips-CNjxCtfh.js → suggested-vips-CFyVrNim.js} +1 -1
- package/assets/{useDebouncedValue-upT4qR9G.js → useDebouncedValue-CwStTMs3.js} +1 -1
- package/assets/{useFilters-SCAefE6U.js → useFilters-CZ4EVtAQ.js} +1 -1
- package/assets/{useLabels-EfJaVdWJ.js → useLabels-DsFfQJKo.js} +1 -1
- package/assets/{useMediaQuery-C47DmZA5.js → useMediaQuery-DsLp21rD.js} +1 -1
- package/assets/{useRefreshControl-DMQBrv7r.js → useRefreshControl-D0tR6FR3.js} +1 -1
- package/assets/{useSearchMirror-BaenAzTH.js → useSearchMirror-CadW6Xgb.js} +1 -1
- package/assets/{useSearchTokenContext-ki2AZ7p9.js → useSearchTokenContext-C5JJYphj.js} +1 -1
- package/assets/{useSemanticSearch-DoxylHxn.js → useSemanticSearch-BM68RrQf.js} +1 -1
- package/assets/{useSignature-6eMCtb3X.js → useSignature-Db5YhvC8.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/_mailboxId-CK7QowXy.js +0 -1
- package/assets/_messageId-Bw730qzW.js +0 -1
- package/assets/_messageId-DRTnEPcv.js +0 -1
- package/assets/_messageId-DeYJ2FsF.js +0 -1
- package/assets/_outboxMessageId-CECizJ1R.js +0 -1
- package/assets/_threadId-DgtAhuV_.js +0 -1
- package/assets/_threadId-Dj8HOsy1.js +0 -1
- package/assets/_threadId-I8eJqG4z.js +0 -1
- package/assets/brief-DF7GfO-r.js +0 -1
- package/assets/flagged-DRo_foUo.js +0 -1
- package/assets/index-0RAdsyez.js +0 -1
- package/assets/index-Csk5-jLk.js +0 -1
- package/assets/index-D6wIsDjM.js +0 -1
- package/assets/index-DRTnEPcv.js +0 -1
- package/assets/index-DeYJ2FsF.js +0 -1
- package/assets/index-W1wD_fe0.js +0 -1
- package/assets/index-hR0QoOpl.js +0 -1
- package/assets/index-u91rwMUb.js +0 -1
- package/assets/outbox-XuiN4du0.js +0 -1
- package/assets/settings-DzfdNeyv.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,b as N,p as z,r as c,ay as L,ak as O,g as $,aC as q,x as I,ba as A,s as k,ae as C,bb as M,bc as P,B as S,a as R,bd as B,X as G}from"./index-
|
|
1
|
+
import{j as e,b as N,p as z,r as c,ay as L,ak as O,g as $,aC as q,x as I,ba as A,s as k,ae as C,bb as M,bc as P,B as S,a as R,bd as B,X as G}from"./index-CpL4QoWb.js";import{K as m}from"./kbd-B-IGAdWZ.js";import{S as Q,a as E}from"./settings-screen-3PVPPcG9.js";import{E as V}from"./ErrorState-iyZ1eEDd.js";import{u as K}from"./useDebouncedValue-CwStTMs3.js";import{a as _}from"./format-De9HZKjg.js";import"./avatar-DRzAUKDn.js";import"./menu-C-178_d_.js";import"./circle-help-l4FI_9La.js";function D({options:t,active:r,onSelect:x}){return e.jsx("div",{role:"tablist",className:N("flex shrink-0 gap-1 overflow-x-auto border-b border-line p-2","lg:w-44 lg:flex-col lg:gap-0 lg:overflow-visible lg:border-r lg:border-b-0 lg:py-2 lg:pr-2 lg:pl-3"),children:t.map(a=>{const d=a.id===r;return e.jsxs("button",{type:"button",role:"tab","aria-selected":d,onClick:()=>x(a.id),className:N("flex min-h-11 shrink-0 items-center gap-2 rounded-md px-3 text-left text-sm transition-colors lg:min-h-0 lg:px-2 lg:py-1",d?"bg-accent-2-soft font-medium text-accent-2":"text-fg-muted hover:bg-surface-sunken hover:text-fg"),children:[e.jsx("span",{className:"flex-1 truncate",children:a.label}),e.jsx("span",{className:N("text-2xs tabular-nums",d?"text-accent-2":"text-fg-subtle"),children:a.count??"—"})]},a.id)})})}const v={vip:"VIPs",muted:"Muted",blocked:"Blocked"},F=e.jsxs("div",{className:"space-y-3",children:[e.jsxs("p",{children:[e.jsx("strong",{className:"text-fg",children:"VIP"})," senders get priority surface in the daily brief and notification escalation, even when an account is quiet."]}),e.jsxs("p",{children:[e.jsx("strong",{className:"text-fg",children:"Muted"})," senders never notify and stay out of the brief. Their mail still syncs and stays searchable."]}),e.jsxs("p",{children:[e.jsx("strong",{className:"text-fg",children:"Blocked"})," senders never load images and go straight to junk."]}),e.jsxs("p",{children:["Tip: flag from the keyboard on any message — ",e.jsx(m,{children:"v"})," VIP,"," ",e.jsx(m,{children:"m"})," mute, ",e.jsx(m,{children:"b"})," block. Every rule an automation creates shows up here and can be removed."]})]});function H({query:t,onCount:r}){const{data:x,isPending:a,isError:d,error:b}=I(A()),h=k(),i=C({...P(),onSettled:()=>{h.invalidateQueries({queryKey:M()})}}),l=x?.suggestions??[],p=t.trim().toLowerCase(),u=p?l.filter(n=>(n.displayName??"").toLowerCase().includes(p)||n.normalizedEmail.toLowerCase().includes(p)):l;return c.useEffect(()=>{r?.(u.length,l.length)},[r,u.length,l.length]),a?e.jsx("div",{className:"px-row-inset py-3 text-sm text-fg-subtle animate-pulse",children:"Loading VIP suggestions…"}):d?e.jsx("div",{className:"px-row-inset py-3",children:e.jsx(V,{variant:"inline",title:"Couldn't load VIP suggestions",error:b})}):l.length===0?e.jsxs("div",{className:"px-row-inset py-5 text-sm text-fg-subtle",children:["No VIP suggestions yet. As you reply to senders, they'll appear here. Press ",e.jsx(m,{children:"v"})," on any message to promote a sender to VIP."]}):u.length===0?e.jsxs("p",{className:"px-row-inset py-5 text-sm text-fg-subtle",children:["No VIPs match “",t,"”."]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"px-row-inset py-1 text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Suggested — promote to VIP"}),u.map(n=>e.jsx(E,{name:n.displayName??n.normalizedEmail,email:n.normalizedEmail,meta:n.replyCount>0?`${n.inboundCount} received · you replied ${n.replyCount}×`:`${n.inboundCount} received · you've never replied`,trailing:e.jsx(S,{variant:"ghost",size:"sm",icon:e.jsx(R,{className:"size-3.5"}),"aria-busy":i.isPending,onClick:()=>{i.isPending||i.mutate({path:{addressId:n.addressId},body:{flags:{vip:{value:!0,setAt:Date.now(),setBy:"user"}}}})},children:"Add VIP"})},n.addressId))]})}function U({group:t,query:r,onCount:x}){const a=K(r.trim(),300),d=k(),[b,h]=c.useState(null),i=a.length>=2,l=B({query:{q:a,limit:50}}),{data:p,isPending:u,isError:n,error:j}=I({...l,enabled:i}),g=C({...P(),onSuccess:()=>{d.invalidateQueries({queryKey:l.queryKey})}}),f=(p?.items??[]).filter(s=>t==="muted"?s.flags?.muted?.value??!1:s.flags?.blocked?.value??!1);return c.useEffect(()=>{x?.(i?f.length:0,null)},[x,i,f.length]),i?u?e.jsx("div",{className:"px-row-inset py-3 text-sm text-fg-subtle animate-pulse",children:"Searching…"}):n?e.jsx("div",{className:"px-row-inset py-3",children:e.jsx(V,{variant:"inline",title:"Search failed",error:j})}):f.length===0?e.jsxs("p",{className:"px-row-inset py-5 text-sm text-fg-subtle",children:["No ",v[t].toLowerCase()," senders matching “",a,"”."]}):e.jsx(e.Fragment,{children:f.map(s=>{const o=t==="muted"?s.flags?.muted:s.flags?.blocked,y=o?[`${t}`,o.setAt&&_(o.setAt,{month:"short",year:"numeric"})||null,o.reason?`— ${o.reason}`:null].filter(Boolean).join(" "):t,w=g.isPending&&g.variables?.path.addressId===s.addressId,T=g.isError&&b===s.addressId;return e.jsx(E,{name:s.displayName??s.normalizedEmail,email:s.normalizedEmail,danger:t==="blocked",meta:y,trailing:T?e.jsx(S,{variant:"secondary",size:"sm",onClick:()=>{h(s.addressId),g.mutate({path:{addressId:s.addressId},body:{flags:{[t]:null}}})},children:"Retry"}):e.jsx(S,{variant:"ghost",size:"sm",icon:e.jsx(G,{className:"size-3.5"}),"aria-busy":w,"aria-label":`Remove ${t} flag`,onClick:()=>{w||(h(s.addressId),g.mutate({path:{addressId:s.addressId},body:{flags:{[t]:null}}}))}})},s.addressId)})}):e.jsxs("div",{className:"px-row-inset py-5 text-sm text-fg-subtle space-y-2",children:[e.jsxs("p",{children:["Type 2+ characters to search ",v[t].toLowerCase()," ","senders by name or address."]}),e.jsxs("p",{className:"text-2xs text-fg-subtle",children:["Note: a dedicated flagged-address list endpoint is in the backlog. Press ",e.jsx(m,{children:"m"})," on any message to mute its sender; ",e.jsx(m,{children:"b"})," to block."]})]})}function ae(){const t=z(),[r,x]=c.useState("vip"),[a,d]=c.useState(""),[b,h]=c.useState(!0),[i,l]=c.useState(0),[p,u]=c.useState({vip:0,muted:null,blocked:null}),n=c.useCallback((s,o)=>{l(s),u(y=>({...y,vip:o}))},[]),j=c.useCallback((s,o)=>{l(s),u(y=>({...y,[r]:s}))},[r]),g=p[r],f=s=>{const o=q[s];o&&t({to:o})};return e.jsx(Q,{items:L,activeId:"senders",title:"Senders & Rules",description:"Per-sender preferences — set with one key from any message, managed here.",flush:!0,help:F,helpOpen:b,onToggleHelp:()=>h(s=>!s),onSelect:f,onBackToMail:()=>{t({to:"/mail"})},children:e.jsxs("div",{className:"flex min-h-0 flex-1 flex-col lg:flex-row",children:[e.jsx(D,{active:r,onSelect:s=>{x(s),d("")},options:["vip","muted","blocked"].map(s=>({id:s,label:v[s],count:p[s]}))}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[e.jsx("div",{className:"border-b border-line px-row-inset py-2",children:e.jsx(O,{icon:e.jsx($,{className:"size-4"}),placeholder:`Filter ${v[r].toLowerCase()} by name or address`,className:"h-8 max-w-sm",value:a,onChange:s=>d(s.target.value)})}),e.jsx("div",{className:"min-h-0 flex-1 divide-y divide-line overflow-y-auto",children:r==="vip"?e.jsx(H,{query:a,onCount:n}):e.jsx(U,{group:r,query:a,onCount:j})}),e.jsxs("footer",{className:"flex items-center justify-between border-t border-line px-row-inset py-1 text-2xs text-fg-subtle",children:[e.jsx("span",{children:g!=null?`${i} of ${g} flagged senders`:`${i} flagged senders`}),e.jsxs("span",{children:[e.jsx(m,{children:"j"})," ",e.jsx(m,{children:"k"})," navigate · ",e.jsx(m,{children:"⌫"})," remove flag"]})]})]})]})})}export{ae as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t,$ as o}from"./index-CpL4QoWb.js";const n=()=>t.jsx(o,{});export{n as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as z,r as j,j as e,b as f,B as i,X as N,aA as S}from"./index-
|
|
1
|
+
import{c as z,r as j,j as e,b as f,B as i,X as N,aA as S}from"./index-CpL4QoWb.js";import{A as w}from"./avatar-DRzAUKDn.js";import{M as A}from"./menu-C-178_d_.js";import{C as v}from"./circle-help-l4FI_9La.js";const h=z("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);function F({items:l,activeId:t,title:c,description:n,children:r,help:s,helpOpen:d=!0,flush:o,onSelect:k,onToggleHelp:u,onBackToMail:m}){const[y,x]=j.useState(!1),[b,C]=j.useState(!1),p=!!s&&d,g=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"px-3 pt-3 pb-1 text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Settings"}),e.jsx("nav",{className:"flex-1 overflow-y-auto px-2 py-1",children:l.map(a=>e.jsxs("button",{type:"button",onClick:()=>{k?.(a.id),x(!1)},className:f("flex min-h-11 w-full items-center gap-2 rounded-md px-2 py-1 text-left text-sm transition-colors lg:min-h-0",a.id===t?"bg-accent-2-soft font-medium text-accent-2":"text-fg-muted hover:bg-surface hover:text-fg"),children:[a.icon&&e.jsx("span",{className:f("shrink-0",a.id===t?"text-accent-2":"text-fg-subtle"),children:a.icon}),a.label]},a.id))})]});return e.jsxs("div",{className:"safe-area-frame flex h-dvh w-full overflow-hidden bg-canvas font-sans text-fg",children:[e.jsxs("aside",{className:"hidden w-60 shrink-0 flex-col border-r border-line bg-surface-sunken lg:flex",children:[e.jsx("div",{className:"flex h-pane-header shrink-0 items-center border-b border-line px-2",children:e.jsxs("button",{type:"button",onClick:m,className:"flex w-full items-center gap-2 rounded-md px-2 py-1 text-left text-sm text-fg-muted hover:bg-surface hover:text-fg",children:[e.jsx(h,{className:"size-4 text-fg-subtle"}),"Back to mail"]})}),g]}),y&&e.jsxs("div",{className:"fixed inset-0 z-50 flex lg:hidden",children:[e.jsx("button",{type:"button","aria-label":"Close menu",className:"absolute inset-0 bg-canvas/60",onClick:()=>x(!1)}),e.jsxs("aside",{className:"safe-area-frame relative flex w-72 max-w-[85%] flex-col border-r border-line bg-surface-sunken",children:[e.jsxs("div",{className:"flex h-pane-header shrink-0 items-center justify-between border-b border-line px-2",children:[e.jsxs("button",{type:"button",onClick:()=>{m?.(),x(!1)},className:"flex items-center gap-2 rounded-md px-2 py-1 text-left text-sm text-fg-muted hover:bg-surface hover:text-fg",children:[e.jsx(h,{className:"size-4 text-fg-subtle"}),"Back to mail"]}),e.jsx(i,{variant:"ghost",size:"sm",icon:e.jsx(N,{className:"size-4"}),onClick:()=>x(!1),"aria-label":"Close menu"})]}),g]})]}),e.jsxs("main",{className:"flex min-w-0 flex-1 flex-col",children:[e.jsxs("header",{className:"flex h-pane-header shrink-0 items-center gap-3 border-b border-line px-3 lg:px-5",children:[m&&e.jsx(i,{variant:"ghost",size:"sm",icon:e.jsx(h,{className:"size-4"}),className:"-ml-1 lg:hidden",onClick:m,"aria-label":"Back to mail"}),e.jsx(i,{variant:"ghost",size:"sm",icon:e.jsx(A,{className:"size-4"}),className:"lg:hidden",onClick:()=>x(!0),"aria-label":"Open settings menu"}),e.jsx("h1",{className:"text-md font-semibold text-fg",children:c}),n&&e.jsx("p",{className:"hidden min-w-0 truncate text-xs text-fg-subtle lg:block",children:n}),s&&e.jsx(i,{variant:"ghost",size:"sm",icon:e.jsx(v,{className:"size-4"}),className:"ml-auto lg:hidden",onClick:()=>C(a=>!a),"aria-label":"Tips","aria-expanded":b}),s&&!p&&e.jsx(i,{variant:"ghost",size:"sm",icon:e.jsx(v,{className:"size-4"}),className:"hidden ml-auto lg:inline-flex",onClick:u,"aria-label":"Show tips"})]}),s&&b&&e.jsx("div",{className:"border-b border-line bg-surface-sunken px-row-inset py-3 text-xs leading-relaxed text-fg-muted lg:hidden",children:s}),o?e.jsx("div",{className:"flex min-h-0 flex-1 flex-col",children:r}):e.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto",children:e.jsx("div",{className:"max-w-2xl px-3 py-5 lg:px-5",children:e.jsx("div",{className:"space-y-5",children:r})})})]}),p&&e.jsxs("aside",{className:"hidden w-64 shrink-0 flex-col border-l border-line bg-surface-sunken lg:flex",children:[e.jsxs("header",{className:"flex h-pane-header shrink-0 items-center justify-between border-b border-line px-row-inset",children:[e.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Tips & tricks"}),e.jsx(i,{variant:"ghost",size:"sm",icon:e.jsx(N,{className:"size-3.5"}),onClick:u,"aria-label":"Collapse tips"})]}),e.jsx("div",{className:"flex-1 overflow-y-auto px-row-inset py-3 text-xs leading-relaxed text-fg-muted",children:s})]})]})}function R({name:l,email:t,meta:c,caption:n,danger:r,trailing:s}){return e.jsxs("div",{className:"flex items-center gap-3 px-row-inset py-2 hover:bg-surface-sunken",children:[e.jsx("span",{className:f(r&&"rounded-full ring-2 ring-danger/40"),children:e.jsx(w,{name:l,email:t,size:"sm"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex flex-col gap-0 sm:flex-row sm:items-baseline sm:gap-2",children:[e.jsx("span",{className:"truncate text-sm font-medium text-fg",children:l}),e.jsx("span",{className:"truncate text-2xs text-fg-subtle",children:t})]}),e.jsxs("div",{className:"text-xs text-fg-subtle",children:[c,n&&e.jsxs("span",{className:"text-fg-muted",children:[" · ",n]})]})]}),s&&e.jsx("div",{className:"shrink-0",children:s})]})}const B={healthy:{tone:"positive",label:"healthy"},error:{tone:"danger",label:"error"},muted:{tone:"neutral",label:"muted"}};function X({label:l,email:t,connector:c,syncLabel:n,state:r,errorDetail:s,trailing:d}){const o=B[r];return e.jsxs("div",{className:f("rounded-sm border border-line bg-surface",r==="muted"&&"opacity-65"),children:[e.jsxs("div",{className:"flex flex-col gap-3 px-row-inset py-3 sm:flex-row sm:items-center",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[e.jsx(w,{name:l,email:t,size:"md"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"truncate text-sm font-semibold text-fg",children:l}),e.jsx(S,{tone:o.tone,dot:!0,children:o.label})]}),e.jsxs("div",{className:"truncate text-xs text-fg-subtle",children:[t," · ",c," · ",n]})]})]}),d&&e.jsx("div",{className:"shrink-0",children:d})]}),s&&e.jsx("div",{className:"border-t border-line px-row-inset py-2",children:e.jsx("code",{className:"block rounded-xs bg-danger-soft px-2 py-1 text-2xs text-danger",children:s})})]})}export{X as A,F as S,R as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"./index-
|
|
1
|
+
import{c as e}from"./index-CpL4QoWb.js";const c=e("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);export{c as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t,a6 as e}from"./index-
|
|
1
|
+
import{j as t,a6 as e}from"./index-CpL4QoWb.js";const o=()=>t.jsx(e,{to:"/settings/senders",replace:!0});export{o as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o}from"./index-
|
|
1
|
+
import{r as o}from"./index-CpL4QoWb.js";const n=(e,t)=>{const[r,u]=o.useState(e);return o.useEffect(()=>{const s=setTimeout(()=>u(e),t);return()=>clearTimeout(s)},[e,t]),r};export{n as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,ae as b,cM as E,x as C,cN as x,cz as F,cO as N,s as M,cP as P,cQ as D,cR as z,cS as L}from"./index-
|
|
1
|
+
import{r as m,ae as b,cM as E,x as C,cN as x,cz as F,cO as N,s as M,cP as P,cQ as D,cR as z,cS as L}from"./index-CpL4QoWb.js";const B=(e,t)=>{if(e.state==="Expired")return"Expired";if(e.scope!=="Temporary"||!e.expiresAt)return"Active";const r=Date.parse(e.expiresAt);return Number.isNaN(r)?"Active":r<=t?"Expired":"Active"},K=e=>{if(!e)return;const t=Date.parse(e);if(!Number.isNaN(t))return new Date(t).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})},O=(e,t=new Date)=>{if(!e)return;const r=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(!r)return;const[,a,i,n]=r,s=new Date(Number(a),Number(i)-1,Number(n),23,59,59,0);if(Number.isNaN(s.getTime()))return;const o=-t.getTimezoneOffset(),d=o>=0?"+":"-",l=Math.abs(o),c=String(Math.floor(l/60)).padStart(2,"0"),f=String(l%60).padStart(2,"0"),u=p=>String(p).padStart(2,"0");return`${s.getFullYear()}-${u(s.getMonth()+1)}-${u(s.getDate())}T${u(s.getHours())}:${u(s.getMinutes())}:${u(s.getSeconds())}${d}${c}:${f}`},h="None",V=e=>!e.literalClauses.some(t=>t.field==="HasWords"),y=e=>({...e.anchorMessageId?{anchorMessageId:e.anchorMessageId}:{},matchOperator:e.matchOperator,literalClauses:e.literalClauses,actionLabelId:e.labelId??h,actionMailboxId:e.moveMailboxId??h}),G=({mode:e,ruleScope:t})=>t==="standing"?"standing":t==="until"?"temporary":e==="selected"?"just-these":"all-like-these",X=({mode:e,ruleScope:t,anchorMessageId:r,clauses:a,matchOperator:i,moveMailboxId:n,until:s})=>({...e==="similar"&&r?{anchorMessageId:r}:{},matchOperator:i==="all"?"And":"Or",literalClauses:a.map(o=>({field:o.field,value:o.value})),moveMailboxId:n,expiresAt:t==="until"?O(s??""):void 0}),S=(e,t,r)=>({name:r,scope:t==="standing"?"Standing":"Temporary",...t==="temporary"&&e.expiresAt?{expiresAt:e.expiresAt}:{},matchOperator:e.matchOperator,literalClauses:e.literalClauses,actionLabelId:e.labelId??h,actionMailboxId:e.moveMailboxId??h,...e.anchorMessageId?{anchorMessageId:e.anchorMessageId}:{}}),T=new Set(["Complete","Failed"]),v=e=>e!==void 0&&T.has(e),w=1e3,J=15e3,R=e=>{const t=Math.max(0,e),r=w*2**t;return Math.min(r,J)},_=(e,t,r)=>{if(e)return{kind:r?"restartFailed":"startFailed",error:e};if(t)return{kind:"statusUnreadable",error:t}},Y=e=>{const[t,r]=m.useState(),a=b({...E(),onSuccess:g=>r(g.organizeJobId)}),{mutate:i}=a,n=C({...x({path:{accountId:e??"",organizeJobId:t??""}}),enabled:!!e&&!!t,refetchInterval:g=>{const I=g.state.data?.state;return v(I)?!1:R(g.state.dataUpdateCount)}}),s=m.useCallback(g=>{e&&i({path:{accountId:e},body:y(g)})},[e,i]),{refetch:o}=n,d=m.useCallback(()=>{o()},[o]),l=n.data,c=a.isPending?void 0:l,f=c?.state??a.data?.state,u=v(c?.state),p={state:f,matchedCount:c?.matchedCount??0,appliedCount:c?.appliedCount??0,failedCount:c?.failedCount??0,errorMessage:c?.errorMessage??""};return{start:s,refreshStatus:d,progress:p,isStarting:a.isPending,isRunning:!!t&&!u,isDone:u,failure:_(a.error,n.error,!!l)}},Z=["From","Subject","HasWords","ListId","FromDomain"],$=e=>{const t=e.trim(),r=t.match(/<([^>]+)>/);return(r?r[1]:t).trim().toLowerCase()},ee=(e,t)=>e==="ListId"?$(t):t.trim(),k=e=>e==="all"?"And":"Or",Q=(e,t)=>{const r=e.widen!==void 0&&!e.widen.inactive,a=e.clauses.map(i=>({field:i.field,value:i.value}));return{...r&&t?{anchorMessageId:t}:{},matchOperator:k(e.matchOperator),literalClauses:a}},U=e=>e.anchorMessageId!==void 0||!e.literalClauses.some(t=>t.field==="HasWords"),j=e=>JSON.stringify({anchor:e.anchorMessageId??null,operator:e.matchOperator,clauses:e.literalClauses.map(t=>`${t.field} ${t.value}`)}),te=(e,t)=>{const r=Q(e,t);return{...r.anchorMessageId?{anchorMessageId:r.anchorMessageId}:{},matchOperator:r.matchOperator,literalClauses:r.literalClauses,moveMailboxId:e.moveMailboxId,labelId:e.labelId,expiresAt:e.scope==="until"?O(e.until??""):void 0}},q=(e,t)=>e.error!==void 0&&e.errorSignature===t?{status:"error",reason:e.error}:e.count===void 0?{status:"loading"}:e.previewedSignature===t?{status:"ready",count:e.count}:{status:"ready",count:e.count,stale:!0},H=350,re=(e,t,r)=>{const a=b(F()),{mutateAsync:i}=a,n=j(t),[s,o]=m.useState(()=>({})),d=m.useRef(t);d.current=t;const l=m.useRef(n),c=U(t);return m.useEffect(()=>{if(!e||!c||n===s.previewedSignature||n===s.errorSignature)return;const f=setTimeout(()=>{const u=n;l.current=u,i({path:{accountId:e},body:y({...d.current})}).then(p=>{l.current===u&&o({count:p.matchedCount,matchedIds:p.messageIds,previewedSignature:u})}).catch(p=>{l.current===u&&o(g=>({...g,error:p instanceof Error?p.message:"Couldn't count matches.",errorSignature:u}))})},H);return()=>clearTimeout(f)},[e,c,n,s.previewedSignature,s.errorSignature,i]),c?{count:q(s,n),matchedIds:s.previewedSignature===n?s.matchedIds??[]:[]}:{count:{status:"error",reason:N},matchedIds:[]}},A=e=>D({path:{accountId:e}}),se=e=>{const t=C({...z({path:{accountId:e??""}}),enabled:!!e});return{filters:t.data?.items??[],isPending:t.isPending,isError:t.isError,error:t.error,refetch:t.refetch}},ae=e=>{const t=M(),r=b({...P(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a,mutateAsync:i}=r,n=m.useCallback((o,d,l)=>{e&&a({path:{accountId:e},body:S(o,d,l)})},[e,a]),s=m.useCallback(async(o,d,l)=>e?i({path:{accountId:e},body:S(o,d,l)}).then(()=>!0,()=>!1):!1,[e,i]);return{createFilter:n,createFilterAsync:s,isPending:r.isPending,isSuccess:r.isSuccess,isError:r.isError,error:r.error,reset:r.reset}},ne=e=>{const t=M(),r=b({...L(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a}=r;return{deleteFilter:m.useCallback(n=>{e&&a({path:{accountId:e,filterId:n}})},[e,a]),isPending:r.isPending,deletingFilterId:r.isPending?r.variables?.path.filterId:void 0}};export{h as N,Z as S,Y as a,A as b,te as c,K as d,se as e,B as f,ne as g,y as h,ae as i,X as j,V as k,ee as n,G as o,O as p,Q as r,re as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as L,bA as p,s as n,ae as l,bB as d,r as o,bC as y,bD as c,bE as g}from"./index-
|
|
1
|
+
import{x as L,bA as p,s as n,ae as l,bB as d,r as o,bC as y,bD as c,bE as g}from"./index-CpL4QoWb.js";const u=e=>y({path:{accountId:e}}),f=e=>{const s=L({...p({path:{accountId:e??""}}),enabled:!!e});return{labels:s.data?.items??[],isPending:s.isPending,isError:s.isError,error:s.error,refetch:s.refetch}},m=e=>{const s=n(),t=l({...d(),onSuccess:()=>{e&&s.invalidateQueries({queryKey:u(e)})}}),{mutateAsync:r}=t;return{createLabel:o.useCallback((a,i="Default")=>e?r({path:{accountId:e},body:{name:a,color:i}}):Promise.reject(new Error("No account")),[e,r]),isPending:t.isPending,isError:t.isError,error:t.error,reset:t.reset}},C=e=>{const s=n(),t=l({...c(),onSuccess:()=>{e&&s.invalidateQueries({queryKey:u(e)})}}),{mutate:r}=t;return{updateLabel:o.useCallback((a,i)=>{e&&r({path:{accountId:e,labelId:a},body:i})},[e,r]),isPending:t.isPending,updatingLabelId:t.isPending?t.variables?.path.labelId:void 0}},h=e=>{const s=n(),t=l({...g(),onSuccess:()=>{e&&s.invalidateQueries({queryKey:u(e)})}}),{mutate:r}=t;return{deleteLabel:o.useCallback(a=>{e&&r({path:{accountId:e,labelId:a}})},[e,r]),isPending:t.isPending,deletingLabelId:t.isPending?t.variables?.path.labelId:void 0}};export{f as a,C as b,h as c,m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-CpL4QoWb.js";const r=1024,c=`(min-width: ${r}px) and (not ((orientation: portrait) and (pointer: coarse)))`,d=e=>{const[o,n]=s.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches);return s.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const t=window.matchMedia(e);n(t.matches);const a=i=>n(i.matches);return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[e]),o},m=()=>d(c);export{c as D,d as a,m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as w,e as q,b as j,B as D,r as i,v as C,aE as R,s as P,o as K,a1 as Q,P as A,N as $,Q as z,R as B}from"./index-
|
|
1
|
+
import{j as w,e as q,b as j,B as D,r as i,v as C,aE as R,s as P,o as K,a1 as Q,P as A,N as $,Q as z,R as B}from"./index-CpL4QoWb.js";import{C as G}from"./circle-check-big-Ci4xk_eE.js";import{R as H}from"./search-token-index-Bq5W3wIz.js";function oe({state:e,onRefresh:t,label:s,errorMessage:a,hasUpdate:n,size:u="sm",className:c}){const o=e==="refreshing",f=e==="error",h=e==="success",g=f?w.jsx(q,{className:"size-4 text-danger"}):h?w.jsx(G,{className:"size-4 text-positive"}):w.jsx(H,{className:j("size-4",o&&"animate-spin")}),y=f?`${s} — failed: ${a??"try again"}`:o?`${s} — refreshing`:h?`${s} — up to date`:n?`${s} — new mail`:s;return w.jsxs("div",{className:"relative inline-flex",children:[w.jsx(D,{variant:"ghost",size:u,icon:g,onClick:t,disabled:o,"aria-label":y,"aria-busy":o||void 0,title:f?a:s,className:c}),e==="idle"&&n&&w.jsx("span",{"aria-hidden":"true",className:"absolute right-1 top-1 size-1.5 rounded-full bg-accent-2"})]})}const U=new Set(["discovering_mailboxes","syncing_inbox","syncing_others"]);function N(e){return!!e&&U.has(e)}const _=3e3,W=_*2,v={syncing:!1,resolved:!1,synced:0,total:0};function ie(e,t){const s=e.join(","),[a,n]=i.useState(!1),[u,c]=i.useState(!1);i.useEffect(()=>{n(!1),c(!1)},[s,t]),i.useEffect(()=>{if(!t)return;const r=setTimeout(()=>c(!0),W);return()=>clearTimeout(r)},[s,t]);const o=C({queries:e.map(r=>({...R({path:{accountId:r}}),enabled:t&&!a,refetchInterval:_,meta:{softError:!0}}))}),f=o.every(r=>r.isSuccess||r.isError),h=o.length===0||f||u;let g=!1,y=0,E=0;for(const r of o)if(N(r.data?.syncPhase)){g=!0;for(const l of r.data?.mailboxes??[])y+=l.messagesSynced,E+=l.messagesTotal}const S=t&&h&&!g;return i.useEffect(()=>{S&&n(!0)},[S]),!t||!h?v:{syncing:g,resolved:!0,synced:y,total:E}}const M=6e4,I=new Set(["sent","drafts","trash","archive"]),k=(e,t)=>{const s=new Map;for(const a of e){const n=t.get(a.mailboxId)?.role;n&&I.has(n)||s.set(a.mailboxId,a.messagesTotal)}return s},X=(e,t)=>{for(const[s,a]of t)if(a>(e.get(s)??0))return!0;return!1},F=i.createContext(null),J=()=>{const e=i.useContext(F);if(!e)throw new Error("useMailFreshness must be used inside <MailFreshnessProvider>");return e};function ce({accountIds:e,children:t}){const s=P(),{resultFolderIndex:a}=K(),n=i.useRef(new Map),u=i.useRef(new Set),[c,o]=i.useState(new Set),f=C({queries:e.map(r=>({...R({path:{accountId:r}}),refetchInterval:M,staleTime:M,meta:{softError:!0}}))}),h=f.map(r=>r.dataUpdatedAt).join(","),g=e.join(",");i.useEffect(()=>{let r=!1;const l=new Set(c);e.forEach((d,x)=>{const p=f[x]?.data;if(!p)return;const m=k(p.mailboxes??[],a);if(!u.current.has(d)){u.current.add(d),n.current.set(d,m);return}if(l.has(d))return;const T=n.current.get(d)??new Map;X(T,m)&&(l.add(d),r=!0)}),r&&o(l)},[g,h]);const y=i.useCallback(r=>r.some(l=>c.has(l)),[c]),E=i.useCallback(r=>{o(l=>{if(r.every(x=>!l.has(x)))return l;const d=new Set(l);for(const x of r)d.delete(x);return d});for(const l of r){const d=s.getQueryData(R({path:{accountId:l}}).queryKey);n.current.set(l,k(d?.mailboxes??[],a)),u.current.add(l)}},[s,a]),S=i.useMemo(()=>({hasNewMail:y,acknowledge:E}),[y,E]);return w.jsx(F.Provider,{value:S,children:t})}const V=2e3,Y=45e3,Z=e=>new Promise(t=>setTimeout(t,e)),b=e=>e instanceof Error&&e.message?e.message:"Something went wrong",ee=e=>{z(e,{softError:!0})&&B(e)},L=e=>e.reduce((t,s)=>Math.max(t,s.lastSyncedAt??0),0),O=(e,t)=>e.fetchQuery({...R({path:{accountId:t}}),staleTime:0}),se=async(e,t,s,a)=>{let n=!1;for(;;){const u=await O(e,t).then(f=>({ok:!0,data:f})).catch(f=>({ok:!1,error:f}));if(!u.ok)return{accountId:t,message:b(u.error)};const{syncPhase:c,mailboxes:o}=u.data;if(N(c))n=!0;else if(n||L(o??[])>s)return c==="error"?{accountId:t,message:"Sync failed for this account"}:void 0;if(Date.now()>=a)return{accountId:t,message:"Refresh is taking longer than usual"};await Z(V)}},te=async(e,t,s,a)=>{const n=await O(e,s).then(o=>({ok:!0,maxLastSynced:L(o.mailboxes??[])})).catch(o=>({ok:!1,error:o}));if(!n.ok)return{accountId:s,enqueued:!1,ok:!1,message:b(n.error)};const u=await $({path:{accountId:s},throwOnError:!0}).then(()=>({ok:!0})).catch(o=>({ok:!1,error:o}));if(!u.ok)return ee(u.error),{accountId:s,enqueued:!1,ok:!1,message:b(u.error)};t.recordEvent("sync.triggered");const c=await se(e,s,n.maxLastSynced,a);return c?{accountId:s,enqueued:!0,ok:!1,message:c.message}:{accountId:s,enqueued:!0,ok:!0}},ue=(e,t={})=>{const s=P(),a=Q(),{acknowledge:n}=J(),[u,c]=i.useState("idle"),[o,f]=i.useState(),h=i.useRef(0),g=i.useRef(e);g.current=e;const y=i.useRef(t);y.current=t,i.useEffect(()=>{if(u!=="success")return;const S=setTimeout(()=>c("idle"),2e3);return()=>clearTimeout(S)},[u]);const E=i.useCallback(()=>{const S=g.current;if(S.length===0){c("error"),f("Nothing to refresh yet");return}const r=++h.current;c("refreshing"),f(void 0),(async()=>{const l=Date.now()+Y,d=await Promise.all(S.map(m=>te(s,a,m,l)));if(h.current!==r)return;const x=d.filter(m=>m.enqueued).map(m=>m.accountId);for(const m of x)s.invalidateQueries({queryKey:A({path:{accountId:m}})});x.length>0&&(y.current.onSettled?.(),n(x));const p=d.filter(m=>!m.ok);p.length===0?c("success"):(c("error"),f(p[0]?.message))})()},[n,s,a]);return{state:u,errorMessage:o,refresh:E}};export{ce as M,oe as R,ue as a,ie as b,N as i,J as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as y,o as d,V as x,r as h}from"./index-
|
|
1
|
+
import{p as y,o as d,V as x,r as h}from"./index-CpL4QoWb.js";import{b as Q}from"./nav-link-CI-9pBff.js";import{b}from"./search-view-BY8cFYny.js";function M(o){const a=y(),{searchInput:c,searchQuery:r}=d(),{q:i=""}=x({from:"/mail"}),n=Q({select:l=>l.location.pathname}),s=h.useRef(i);s.current=i;const{to:e}=o,t="params"in o?o.params.mailboxId:void 0,m=t?`/mail/${t}`:e;h.useEffect(()=>{if(!b({searchInput:c,committedQuery:r,urlQuery:s.current,pathname:n,listPath:m}))return;const p=!!r&&s.current!==r,u=f=>({...f,q:r||void 0});if(!p){a({to:".",search:u,hash:!0,replace:!0});return}if(e==="/mail/$mailboxId"){if(!t)return;a({to:e,params:{mailboxId:t},search:u,hash:!0,replace:!0});return}a({to:e,search:u,hash:!0,replace:!0})},[c,r,a,e,t,m,n])}export{M as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c2 as Z,r as g,j as a,b as x,I as J,a1 as ee,n as _,s as B,x as te,cq as $,cp as se,ac as re,ae as ne,af as ae,bc as oe,e as ie,X as ce,o as le}from"./index-
|
|
1
|
+
import{c2 as Z,r as g,j as a,b as x,I as J,a1 as ee,n as _,s as B,x as te,cq as $,cp as se,ac as re,ae as ne,af as ae,bc as oe,e as ie,X as ce,o as le}from"./index-CpL4QoWb.js";import{K as A}from"./kbd-B-IGAdWZ.js";import{M as D}from"./enums-CCxx0t2v.js";import{b as de,f as ue}from"./nav-link-CI-9pBff.js";const me=(e,t)=>{const r=e==="newsletter"||e==="marketing"||t;return{framed:r,isPlain:!r}},fe=()=>`
|
|
2
2
|
/* Zero the UA default body margin and clamp the document to the iframe width so
|
|
3
3
|
wide author markup can't push the body (and the page) past the viewport. */
|
|
4
4
|
html, body {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as L,ac as C,ae as k,bu as I,bv as E,r as x,j as p,bw as h,bx as A,by as j,o as R,x as Q,bz as z}from"./index-
|
|
1
|
+
import{s as L,ac as C,ae as k,bu as I,bv as E,r as x,j as p,bw as h,bx as A,by as j,o as R,x as Q,bz as z}from"./index-CpL4QoWb.js";import{ai as D,aj as O,ak as _,al as N,am as P}from"./MailListHeader-DnFZsLU5.js";import{a as q}from"./useLabels-DsFfQJKo.js";import{M as w}from"./enums-CCxx0t2v.js";import{b as U,s as B}from"./nav-link-CI-9pBff.js";import{n as F}from"./search-query-Cr_ZXBCp.js";import{u as G,p as K}from"./useSearchTokenContext-C5JJYphj.js";const V=t=>{const{mailboxId:s,messages:i}=t,l=L(),{pushError:c}=C(),{mutateAsync:r,isPending:a}=k({...E(),onError:(o,u)=>{c({title:u.body.action==="Remove"?"Couldn't remove label":"Couldn't apply label",detail:I(o),error:o})},onSettled:(o,u,m)=>{D(l,O(_(m.body.messageIds??[],i??[],s)))}});return{applyLabel:x.useCallback((o,u,m)=>{o.length!==0&&N(o,d=>r({body:{messageIds:d,labelId:u,action:m}}))},[r]),isPending:a}};function oe({accountId:t,mailboxId:s,messageIds:i}){const{labels:l}=q(t),{applyLabel:c}=V({mailboxId:s}),r=x.useMemo(()=>l.map(a=>({key:a.labelId,label:a.name,icon:p.jsx("span",{className:`size-2.5 rounded-full ${A(a.color)?h[a.color]:h.Default}`}),onSelect:()=>c(i,a.labelId,"Apply")})),[l,i,c]);return r.length===0?null:p.jsx(P,{triggerLabel:"Apply label to selected messages",triggerIcon:p.jsx(j,{className:"size-4 text-fg-subtle"}),triggerText:"Apply label",items:r,align:"start",nested:!0,touch:!1,triggerClassName:"min-h-11 w-full justify-start gap-3 px-4 py-2.5 text-sm font-normal text-fg"})}const $=20,H=new Set(Object.values(w)),J=t=>t!==void 0&&H.has(t)?t:void 0,W=t=>{if(t.some(s=>s.type==="isUnread"))return!1;if(t.some(s=>s.type==="isRead"))return!0};function ne({mailboxId:t,filterCategory:s}={}){const{searchQuery:i}=R(),l=G(),c=U({select:e=>e.matches}),r=F(i),{freeText:a,tokens:n}=K(r,l),o=a.length>0,u=n.find(e=>e.type==="category"),m=J(s)??u?.category,d=n.some(e=>e.type==="hasAttachment")?!0:void 0,b=n.some(e=>e.type==="isStarred")?!0:void 0,y=W(n),f=n.find(e=>e.type==="after"),g=n.find(e=>e.type==="before"),S=n.find(e=>e.type==="in"),v=B({matches:c,callerMailboxId:t,inTokenMailboxId:S?.mailboxId}),{data:M,isLoading:T}=Q({...z({query:{query:a,mailboxId:v,limit:$,...m!==void 0?{category:m}:{},...d!==void 0?{hasAttachment:d}:{},...b!==void 0?{hasStars:b}:{},...y!==void 0?{isRead:y}:{},...f?{sentDateFrom:f.epochSeconds}:{},...g?{sentDateTo:g.epochSeconds}:{}}}),enabled:o,staleTime:6e4});return{hits:M?.items??[],isLoading:o&&T}}export{oe as L,ne as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as l,ac as f,x as p,Y as m,r,ae as y,af as T,a0 as x,ag as E}from"./index-
|
|
1
|
+
import{s as l,ac as f,x as p,Y as m,r,ae as y,af as T,a0 as x,ag as E}from"./index-CpL4QoWb.js";const i={html:"",plainText:""},d=e=>{const u=l(),{pushError:o}=f(),{data:n}=p({...m(),staleTime:1/0}),c=r.useMemo(()=>{if(!e||!n)return i;const t=n.accounts.find(s=>s.accountId===e);return t?{html:t.signatureHtml??"",plainText:t.signaturePlainText??""}:i},[e,n]),a=y({...E(),onSuccess:()=>{u.invalidateQueries({queryKey:x()})},onError:t=>{o(T("Couldn't save signature","The signature wasn't saved.",t))}}),g=r.useCallback((t,s)=>{e&&a.mutate({path:{accountId:e},body:{signatureHtml:t,signaturePlainText:s}})},[e,a]);return{signature:c,setSignature:g,isSaving:a.isPending}};export{d as u};
|
package/index.html
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
} catch (_) {}
|
|
39
39
|
})();
|
|
40
40
|
</script>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-CpL4QoWb.js"></script>
|
|
42
42
|
<link rel="stylesheet" crossorigin href="/assets/index-Bn4mOVkF.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a2 as m,j as o,$ as p}from"./index-Bqn7f16e.js";import{a}from"./search-view-B6uoqRaE.js";import{M as r}from"./MailboxPane-VSk6AMXL.js";import{u as e}from"./useSearchMirror-BaenAzTH.js";import"./nav-link-COOZsOLo.js";import{e as s}from"./search-token-index-D-3XiS1P.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./MailListHeader-CiYx2Ro0.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./useMediaQuery-C47DmZA5.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";import"./NavMenuButton-DCYDMDv1.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-BYOjIdVx.js";import"./circle-help-C_AXwAaV.js";import"./circle-check-DlmySaui.js";function J(){const{mailboxId:t}=m.useParams(),i=s();return e({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{J as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{M as r}from"./MailboxPane-VSk6AMXL.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./search-token-index-D-3XiS1P.js";import"./MailListHeader-CiYx2Ro0.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";import"./NavMenuButton-DCYDMDv1.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-BYOjIdVx.js";import"./circle-help-C_AXwAaV.js";import"./circle-check-DlmySaui.js";function F(){return o.jsx(r.Reading,{})}export{F as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bqn7f16e.js";import{B as o}from"./BriefPane-CYfwVL8Y.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./MailListHeader-CiYx2Ro0.js";import"./search-token-index-D-3XiS1P.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";function y(){return r.jsx(o.Reading,{})}export{y as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{F as r}from"./FlaggedPane-Sleye2NB.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./MailListHeader-CiYx2Ro0.js";import"./search-token-index-D-3XiS1P.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";function k(){return o.jsx(r.Reading,{})}export{k as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{O as t}from"./OutboxPane-D0ChJoAd.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./circle-check-big-Cj9roMB7.js";import"./clock-C4V2tcYN.js";import"./row-actions-t73y2fxd.js";import"./rotate-ccw-xiByt5L1.js";import"./NavMenuButton-DCYDMDv1.js";import"./menu-vEH9STs_.js";import"./format-De9HZKjg.js";import"./outbox-status-CPfNHfUQ.js";import"./search-query-Cr_ZXBCp.js";function R(){return o.jsx(t.Reading,{})}export{R as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as o}from"./index-Bqn7f16e.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as o}from"./index-Bqn7f16e.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as o}from"./index-Bqn7f16e.js";const n=o;export{n as component};
|
package/assets/brief-DF7GfO-r.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,$ as i}from"./index-Bqn7f16e.js";import{a as m}from"./search-view-B6uoqRaE.js";import{B as o}from"./BriefPane-CYfwVL8Y.js";import{u as p}from"./useSearchMirror-BaenAzTH.js";import"./nav-link-COOZsOLo.js";import{e}from"./search-token-index-D-3XiS1P.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./MailListHeader-CiYx2Ro0.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./useMediaQuery-C47DmZA5.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";function z(){const t=e();return p({to:"/mail/brief"}),r.jsx(o,{thread:t,children:r.jsx(m,{phone:r.jsx(o.Phone,{}),list:r.jsx(o.List,{}),reading:r.jsx(i,{}),intelligence:r.jsx(o.Intelligence,{}),hasThread:!!t})})}export{z as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,$ as i}from"./index-Bqn7f16e.js";import{a as m}from"./search-view-B6uoqRaE.js";import{F as r}from"./FlaggedPane-Sleye2NB.js";import{u as p}from"./useSearchMirror-BaenAzTH.js";import"./nav-link-COOZsOLo.js";import{e}from"./search-token-index-D-3XiS1P.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./MailListHeader-CiYx2Ro0.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./useMediaQuery-C47DmZA5.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";function b(){const t=e();return p({to:"/mail/flagged"}),o.jsx(r,{thread:t,children:o.jsx(m,{phone:o.jsx(r.Phone,{}),list:o.jsx(r.List,{}),reading:o.jsx(i,{}),intelligence:o.jsx(r.Intelligence,{}),hasThread:!!t})})}export{b as component};
|
package/assets/index-0RAdsyez.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bqn7f16e.js";import{B as o}from"./BriefPane-CYfwVL8Y.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./MailListHeader-CiYx2Ro0.js";import"./search-token-index-D-3XiS1P.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";function z(){return r.jsx(o.Reading,{})}export{z as component};
|
package/assets/index-Csk5-jLk.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{F as r}from"./FlaggedPane-Sleye2NB.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./MailListHeader-CiYx2Ro0.js";import"./search-token-index-D-3XiS1P.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";function q(){return o.jsx(r.Reading,{})}export{q as component};
|
package/assets/index-D6wIsDjM.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{M as r}from"./MailboxPane-VSk6AMXL.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./search-token-index-D-3XiS1P.js";import"./MailListHeader-CiYx2Ro0.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";import"./NavMenuButton-DCYDMDv1.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-BYOjIdVx.js";import"./circle-help-C_AXwAaV.js";import"./circle-check-DlmySaui.js";function D(){return o.jsx(r.Reading,{})}export{D as component};
|
package/assets/index-DRTnEPcv.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bqn7f16e.js";import{B as o}from"./BriefPane-CYfwVL8Y.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./MailListHeader-CiYx2Ro0.js";import"./search-token-index-D-3XiS1P.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";function y(){return r.jsx(o.Reading,{})}export{y as component};
|
package/assets/index-DeYJ2FsF.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{F as r}from"./FlaggedPane-Sleye2NB.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./MailListHeader-CiYx2Ro0.js";import"./search-token-index-D-3XiS1P.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";function k(){return o.jsx(r.Reading,{})}export{k as component};
|
package/assets/index-W1wD_fe0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{O as t}from"./OutboxPane-D0ChJoAd.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./circle-check-big-Cj9roMB7.js";import"./clock-C4V2tcYN.js";import"./row-actions-t73y2fxd.js";import"./rotate-ccw-xiByt5L1.js";import"./NavMenuButton-DCYDMDv1.js";import"./menu-vEH9STs_.js";import"./format-De9HZKjg.js";import"./outbox-status-CPfNHfUQ.js";import"./search-query-Cr_ZXBCp.js";function d(){return o.jsx(t.Reading,{})}export{d as component};
|
package/assets/index-hR0QoOpl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,a6 as o}from"./index-Bqn7f16e.js";const n=()=>t.jsx(o,{to:"/settings/accounts"});export{n as component};
|
package/assets/index-u91rwMUb.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bqn7f16e.js";import{M as i}from"./MailboxPane-VSk6AMXL.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./nav-link-COOZsOLo.js";import"./useMediaQuery-C47DmZA5.js";import"./useRefreshControl-DMQBrv7r.js";import"./circle-check-big-Cj9roMB7.js";import"./search-token-index-D-3XiS1P.js";import"./MailListHeader-CiYx2Ro0.js";import"./account-form-helpers-DAuyJa3o.js";import"./avatar-CmvuzecB.js";import"./useSignature-6eMCtb3X.js";import"./useDebouncedValue-upT4qR9G.js";import"./ErrorState-CJ2aoLG_.js";import"./format-De9HZKjg.js";import"./download-ChGh-J5t.js";import"./shield-check-drtxfxOL.js";import"./move-options-k5syuO4O.js";import"./useFilters-SCAefE6U.js";import"./confirm-dialog-DPkij3bo.js";import"./clock-C4V2tcYN.js";import"./menu-vEH9STs_.js";import"./MailViewChrome-4eYgZdUD.js";import"./NavMenuButton-DCYDMDv1.js";import"./useLabels-EfJaVdWJ.js";import"./useSemanticSearch-DoxylHxn.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-BYOjIdVx.js";import"./circle-help-C_AXwAaV.js";import"./circle-check-DlmySaui.js";function F(){return o.jsx(i.Reading,{})}export{F as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{D as s,j as o,$ as i}from"./index-Bqn7f16e.js";import{a as m}from"./search-view-B6uoqRaE.js";import{O as t}from"./OutboxPane-D0ChJoAd.js";import{u as a}from"./useSearchMirror-BaenAzTH.js";import"./nav-link-COOZsOLo.js";import"./useSearchTokenContext-ki2AZ7p9.js";import"./kbd-BG1I0chs.js";import"./enums-CCxx0t2v.js";import"./circle-check-big-Cj9roMB7.js";import"./clock-C4V2tcYN.js";import"./row-actions-t73y2fxd.js";import"./rotate-ccw-xiByt5L1.js";import"./NavMenuButton-DCYDMDv1.js";import"./menu-vEH9STs_.js";import"./format-De9HZKjg.js";import"./outbox-status-CPfNHfUQ.js";import"./search-query-Cr_ZXBCp.js";import"./useMediaQuery-C47DmZA5.js";function e(){return s({from:"/mail/outbox/draft/$outboxMessageId",shouldThrow:!1})?.outboxMessageId}function S(){const r=e();return a({to:"/mail/outbox"}),o.jsx(t,{outboxMessageId:r,children:o.jsx(m,{phone:o.jsx(t.Phone,{}),list:o.jsx(t.List,{}),reading:o.jsx(i,{})})})}export{S as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,$ as o}from"./index-Bqn7f16e.js";const n=()=>t.jsx(o,{});export{n as component};
|