@remit/web-client-dist 0.0.327 → 0.0.328
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-Blw3XOe0.js → BriefPane-D3qeMrbX.js} +1 -1
- package/assets/{ErrorState-CHBHNYQS.js → ErrorState-CKNYdF-I.js} +1 -1
- package/assets/{FlaggedPane-vTEeU26L.js → FlaggedPane-dEMZZUCG.js} +1 -1
- package/assets/{MailListHeader-BLdUipHt.js → MailListHeader-Cvqgaxpp.js} +3 -3
- package/assets/{MailViewChrome-Be3ErsZj.js → MailViewChrome-B9zM-POS.js} +1 -1
- package/assets/{MailboxPane-DkW1kOf1.js → MailboxPane-23eq6GhD.js} +1 -1
- package/assets/{NavMenuButton-wyXvU-7L.js → NavMenuButton-BPDEzSgb.js} +1 -1
- package/assets/{OnboardingWizard-04ayePfk.js → OnboardingWizard-SVEwC-an.js} +1 -1
- package/assets/{OutboxPane-C46PUaxA.js → OutboxPane-BRme9HCT.js} +1 -1
- package/assets/_mailboxId-BsWuArvT.js +1 -0
- package/assets/_messageId-B5l9wKso.js +1 -0
- package/assets/_messageId-BgqwVQSG.js +1 -0
- package/assets/_outboxMessageId-BeYOBPKJ.js +1 -0
- package/assets/_threadId-BzXQShx9.js +1 -0
- package/assets/_threadId-CKfD7Brx.js +1 -0
- package/assets/{account-form-helpers-Cxg4r3BT.js → account-form-helpers-C9JjxdDc.js} +1 -1
- package/assets/{accounts-C0rRiLSk.js → accounts-O7eu7L5x.js} +1 -1
- package/assets/{advanced-Csf3s7-H.js → advanced-BMzMZLdx.js} +1 -1
- package/assets/{appearance-4VPGzqyq.js → appearance-BxDHABny.js} +1 -1
- package/assets/{avatar-jOP6UWqK.js → avatar-D_hCvF7M.js} +1 -1
- package/assets/{bottom-sheet-8yl8cuX7.js → bottom-sheet-W4iNuDQY.js} +1 -1
- package/assets/{brief-DjQNM-D4.js → brief-CJch99Kj.js} +1 -1
- package/assets/brief-J7XCu-b8.js +1 -0
- package/assets/{browser-ponyfill-CVJcT5S6.js → browser-ponyfill-DupWnSix.js} +1 -1
- package/assets/{circle-check-BEVn-TI1.js → circle-check-BSUrU5Rs.js} +1 -1
- package/assets/{circle-check-big-DAFbfJi2.js → circle-check-big-wQtrx0rR.js} +1 -1
- package/assets/{circle-help-CZnon8UJ.js → circle-help-MkNqCKuM.js} +1 -1
- package/assets/{clock-DU7TCwP7.js → clock-D54LVwMy.js} +1 -1
- package/assets/{confirm-dialog-fW2VFpuf.js → confirm-dialog-CN94p4G5.js} +1 -1
- package/assets/{download-C16RP9CN.js → download-A0ToeXiC.js} +1 -1
- package/assets/{filters-vwPVGk6q.js → filters-DLu0nhTj.js} +1 -1
- package/assets/{flagged-BVJOxgjJ.js → flagged-BpkspqCO.js} +1 -1
- package/assets/flagged-C3Cy1IIZ.js +1 -0
- package/assets/{folders-DWVAXg-C.js → folders-Cy3_pevU.js} +1 -1
- package/assets/index-BB70q4FE.js +1 -0
- package/assets/{index-Bwp5OQpQ.js → index-BaROPbqc.js} +4 -4
- package/assets/index-BgqwVQSG.js +1 -0
- package/assets/index-CAUiaQ8R.js +1 -0
- package/assets/index-CZGMeYU5.js +1 -0
- package/assets/index-Cs4pZupt.js +1 -0
- package/assets/index-D2NyO5n9.js +1 -0
- package/assets/index-DYPEKr-i.js +1 -0
- package/assets/{kbd-CPcSanPY.js → kbd-Di4l9V4B.js} +1 -1
- package/assets/{labels-DeKjPNT1.js → labels-bjojUaId.js} +1 -1
- package/assets/{mail-CJgTO01Z.js → mail-C4QawnsD.js} +1 -1
- package/assets/{menu-DPE9pjqH.js → menu-DyqIlmZ5.js} +1 -1
- package/assets/{move-options-Csbk4V5Q.js → move-options-B6WdWCEB.js} +1 -1
- package/assets/{nav-link-DkNRr0qZ.js → nav-link-DGeg_A0i.js} +1 -1
- package/assets/{onboarding-DZMOJYSS.js → onboarding-D2qmE7OP.js} +1 -1
- package/assets/outbox-CnPSjqM-.js +1 -0
- package/assets/{pencil-DRb3y29N.js → pencil-C78Gnl2t.js} +1 -1
- package/assets/{rich-text-BkPjntEn.js → rich-text-Cvtr2svM.js} +1 -1
- package/assets/{rotate-ccw-CvEB1LaO.js → rotate-ccw-C4tmxgLV.js} +1 -1
- package/assets/{row-actions-BTJtEh-M.js → row-actions-DVJABhbt.js} +1 -1
- package/assets/{search-scope-VKguXzKa.js → search-scope-D-McGL_G.js} +1 -1
- package/assets/{search-token-index-LTew3OxT.js → search-token-index-BdYhqwX4.js} +1 -1
- package/assets/{search-view-C4zDDGmW.js → search-view-F08CdgMv.js} +1 -1
- package/assets/{senders-Dv1kQnSF.js → senders-CwPxrNAE.js} +1 -1
- package/assets/settings-BJhuGxuA.js +1 -0
- package/assets/{settings-screen-Bz53mSfP.js → settings-screen-B_7AEjqA.js} +1 -1
- package/assets/{shield-check-CsFZbw84.js → shield-check-CcD3SAku.js} +1 -1
- package/assets/{suggested-vips-dDlp-3pf.js → suggested-vips-nX4XzTyj.js} +1 -1
- package/assets/{use-match-media-Bahc65V3.js → use-match-media-CqaSQ78Q.js} +1 -1
- package/assets/{useDebouncedValue-CZlpqWW6.js → useDebouncedValue-2B3cmoJq.js} +1 -1
- package/assets/{useFilters-8lyeAYaZ.js → useFilters--2L0e4Ru.js} +1 -1
- package/assets/{useLabels-DX0u5BY7.js → useLabels-D2xVhPbL.js} +1 -1
- package/assets/{useRefreshControl-COhqTZ8E.js → useRefreshControl-Dzj3HLkc.js} +1 -1
- package/assets/{useSearchMirror-D7jaJTls.js → useSearchMirror-Cqj8Y9tc.js} +1 -1
- package/assets/{useSearchTokenContext-BObYEOel.js → useSearchTokenContext-Byqr6rJk.js} +1 -1
- package/assets/{useSignature-Jio0QfkY.js → useSignature-BK72rcNJ.js} +1 -1
- package/assets/{useThreadRow-D-CBhW5T.js → useThreadRow-Dcri3LGA.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/_mailboxId-C5XAukHU.js +0 -1
- package/assets/_messageId-DwAktSw7.js +0 -1
- package/assets/_messageId-MQs0xH0E.js +0 -1
- package/assets/_outboxMessageId-WzAAWQTg.js +0 -1
- package/assets/_threadId-BW0Lu8jC.js +0 -1
- package/assets/_threadId-D-3tCJO-.js +0 -1
- package/assets/brief-Dh0osHhT.js +0 -1
- package/assets/flagged-qLRCdG5g.js +0 -1
- package/assets/index-3DZJ6uTl.js +0 -1
- package/assets/index-BKpJMo5D.js +0 -1
- package/assets/index-DWsgj0VV.js +0 -1
- package/assets/index-DsHWjJXW.js +0 -1
- package/assets/index-LJ5w3k2V.js +0 -1
- package/assets/index-MQs0xH0E.js +0 -1
- package/assets/index-wdeYr6S8.js +0 -1
- package/assets/outbox-BzsZDEbQ.js +0 -1
- package/assets/settings-BQNqJIMg.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,b as N,p as z,r as c,aA as A,am as L,g as O,aE as $,x as I,b9 as q,s as k,ag as C,ba as M,bb as P,B as S,a as R,bc as B,X as G}from"./index-
|
|
1
|
+
import{j as e,b as N,p as z,r as c,aA as A,am as L,g as O,aE as $,x as I,b9 as q,s as k,ag as C,ba as M,bb as P,B as S,a as R,bc as B,X as G}from"./index-BaROPbqc.js";import{K as m}from"./kbd-Di4l9V4B.js";import{S as Q,a as E}from"./settings-screen-B_7AEjqA.js";import{E as V}from"./ErrorState-CKNYdF-I.js";import{u as K}from"./useDebouncedValue-2B3cmoJq.js";import{a as _}from"./format-De9HZKjg.js";import"./avatar-D_hCvF7M.js";import"./menu-DyqIlmZ5.js";import"./circle-help-MkNqCKuM.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(q()),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=$[s];o&&t({to:o})};return e.jsx(Q,{items:A,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(L,{icon:e.jsx(O,{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,a0 as o}from"./index-BaROPbqc.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,aC as S}from"./index-
|
|
1
|
+
import{c as z,r as j,j as e,b as f,B as i,X as N,aC as S}from"./index-BaROPbqc.js";import{A as w}from"./avatar-D_hCvF7M.js";import{M as B}from"./menu-DyqIlmZ5.js";import{C as v}from"./circle-help-MkNqCKuM.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(B,{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 O={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=O[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-BaROPbqc.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,a8 as e}from"./index-
|
|
1
|
+
import{j as t,a8 as e}from"./index-BaROPbqc.js";const o=()=>t.jsx(e,{to:"/settings/senders",replace:!0});export{o as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d}from"./index-
|
|
1
|
+
import{r as d}from"./index-BaROPbqc.js";const r=e=>{const[i,n]=d.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches);return d.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const t=window.matchMedia(e);n(t.matches);const a=s=>n(s.matches);return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[e]),i};export{r as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o}from"./index-
|
|
1
|
+
import{r as o}from"./index-BaROPbqc.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,ag as b,cR as E,x as C,cS as D,cA as x,cT as F,s as M,cU as P,cV as N,cW as L,cX as T}from"./index-
|
|
1
|
+
import{r as m,ag as b,cR as E,x as C,cS as D,cA as x,cT as F,s as M,cU as P,cV as N,cW as L,cX as T}from"./index-BaROPbqc.js";import{u as z}from"./use-match-media-CqaSQ78Q.js";import{D as w}from"./layout-breakpoints-BWjiUQKh.js";const Y=()=>z(w),G=(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"},Z=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?"+":"-",c=Math.abs(o),l=String(Math.floor(c/60)).padStart(2,"0"),f=String(c%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}${l}:${f}`},h="None",ee=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}),te=({mode:e,ruleScope:t})=>t==="standing"?"standing":t==="until"?"temporary":e==="selected"?"just-these":"all-like-these",re=({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}:{}}),_=new Set(["Complete","Failed"]),v=e=>e!==void 0&&_.has(e),R=1e3,k=15e3,J=e=>{const t=Math.max(0,e),r=R*2**t;return Math.min(r,k)},$=(e,t,r)=>{if(e)return{kind:r?"restartFailed":"startFailed",error:e};if(t)return{kind:"statusUnreadable",error:t}},se=e=>{const[t,r]=m.useState(),a=b({...E(),onSuccess:g=>r(g.organizeJobId)}),{mutate:i}=a,n=C({...D({path:{accountId:e??"",organizeJobId:t??""}}),enabled:!!e&&!!t,refetchInterval:g=>{const I=g.state.data?.state;return v(I)?!1:J(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]),c=n.data,l=a.isPending?void 0:c,f=l?.state??a.data?.state,u=v(l?.state),p={state:f,matchedCount:l?.matchedCount??0,appliedCount:l?.appliedCount??0,failedCount:l?.failedCount??0,errorMessage:l?.errorMessage??""};return{start:s,refreshStatus:d,progress:p,isStarting:a.isPending,isRunning:!!t&&!u,isDone:u,failure:$(a.error,n.error,!!c)}},ae=["From","Subject","HasWords","ListId","FromDomain"],U=e=>{const t=e.trim(),r=t.match(/<([^>]+)>/);return(r?r[1]:t).trim().toLowerCase()},ne=(e,t)=>e==="ListId"?U(t):t.trim(),Q=e=>e==="all"?"And":"Or",W=(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:Q(e.matchOperator),literalClauses:a}},j=e=>e.anchorMessageId!==void 0||!e.literalClauses.some(t=>t.field==="HasWords"),q=e=>JSON.stringify({anchor:e.anchorMessageId??null,operator:e.matchOperator,clauses:e.literalClauses.map(t=>`${t.field} ${t.value}`)}),ie=(e,t)=>{const r=W(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}},H=(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},K=350,oe=(e,t,r)=>{const a=b(x()),{mutateAsync:i}=a,n=q(t),[s,o]=m.useState(()=>({})),d=m.useRef(t);d.current=t;const c=m.useRef(n),l=j(t);return m.useEffect(()=>{if(!e||!l||n===s.previewedSignature||n===s.errorSignature)return;const f=setTimeout(()=>{const u=n;c.current=u,i({path:{accountId:e},body:y({...d.current})}).then(p=>{c.current===u&&o({count:p.matchedCount,matchedIds:p.messageIds,previewedSignature:u})}).catch(p=>{c.current===u&&o(g=>({...g,error:p instanceof Error?p.message:"Couldn't count matches.",errorSignature:u}))})},K);return()=>clearTimeout(f)},[e,l,n,s.previewedSignature,s.errorSignature,i]),l?{count:H(s,n),matchedIds:s.previewedSignature===n?s.matchedIds??[]:[]}:{count:{status:"error",reason:F},matchedIds:[]}},A=e=>N({path:{accountId:e}}),ue=e=>{const t=C({...L({path:{accountId:e??""}}),enabled:!!e});return{filters:t.data?.items??[],isPending:t.isPending,isError:t.isError,error:t.error,refetch:t.refetch}},ce=e=>{const t=M(),r=b({...P(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a,mutateAsync:i}=r,n=m.useCallback((o,d,c)=>{e&&a({path:{accountId:e},body:S(o,d,c)})},[e,a]),s=m.useCallback(async(o,d,c)=>e?i({path:{accountId:e},body:S(o,d,c)}).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}},le=e=>{const t=M(),r=b({...T(),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,ae as S,se as a,A as b,ie as c,Y as d,Z as e,G as f,ue as g,le as h,y as i,ce as j,re as k,ee as l,ne as n,te as o,O as p,W as r,oe as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as L,bL as p,s as n,ag as l,bM as d,r as o,bN as y,bO as c,bP as g}from"./index-
|
|
1
|
+
import{x as L,bL as p,s as n,ag as l,bM as d,r as o,bN as y,bO as c,bP as g}from"./index-BaROPbqc.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}},h=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}},C=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,h as b,C as c,m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as E,e as q,b as j,B as D,r as i,v as C,aG as R,s as P,o as K,a2 as Q,Q as A,P as G,R as $,U as z}from"./index-
|
|
1
|
+
import{j as E,e as q,b as j,B as D,r as i,v as C,aG as R,s as P,o as K,a2 as Q,Q as A,P as G,R as $,U as z}from"./index-BaROPbqc.js";import{C as B}from"./circle-check-big-wQtrx0rR.js";import{R as H}from"./search-token-index-BdYhqwX4.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?E.jsx(q,{className:"size-4 text-danger"}):h?E.jsx(B,{className:"size-4 text-positive"}):E.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 E.jsxs("div",{className:"relative inline-flex",children:[E.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&&E.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,w=0;for(const r of o)if(N(r.data?.syncPhase)){g=!0;for(const l of r.data?.mailboxes??[])y+=l.messagesSynced,w+=l.messagesTotal}const S=t&&h&&!g;return i.useEffect(()=>{S&&n(!0)},[S]),!t||!h?v:{syncing:g,resolved:!0,synced:y,total:w}}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]),w=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:w}),[y,w]);return E.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=>{$(e,{softError:!0})&&z(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 G({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 w=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:w}};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 h,o as y,W as v,r as p}from"./index-
|
|
1
|
+
import{p as h,o as y,W as v,r as p}from"./index-BaROPbqc.js";import{u as x}from"./search-scope-D-McGL_G.js";import{b as I}from"./search-view-F08CdgMv.js";function q(o){const a=h(),{searchInput:c,searchQuery:e}=y(),{q:i=""}=v({from:"/mail"}),n=x({select:m=>m.location.pathname}),s=p.useRef(i);s.current=i;const{to:r}=o,t="params"in o?o.params.mailboxId:void 0,l=t?`/mail/${t}`:r;p.useEffect(()=>{if(!I({searchInput:c,committedQuery:e,urlQuery:s.current,pathname:n,listPath:l}))return;const d=!!e&&s.current!==e,u=f=>({...f,q:e||void 0,...d?{selectedMessageId:void 0,selectedThreadId:void 0,selectedMailboxId:void 0}:{}});if(!d){a({to:".",search:u,replace:!0});return}if(r==="/mail/$mailboxId"){if(!t)return;a({to:r,params:{mailboxId:t},search:u,replace:!0});return}a({to:r,search:u,replace:!0})},[c,e,a,r,t,l,n])}export{q as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c4 as X,r as h,j as a,b as B,I as Y,a2 as Z,n as P,s as W,x as J,cs as H,cr as ee,ae as te,ag as se,ah as re,bb as ne,e as ae,X as oe,K as C,o as ie}from"./index-
|
|
1
|
+
import{c4 as X,r as h,j as a,b as B,I as Y,a2 as Z,n as P,s as W,x as J,cs as H,cr as ee,ae as te,ag as se,ah as re,bb as ne,e as ae,X as oe,K as C,o as ie}from"./index-BaROPbqc.js";import{K as L}from"./kbd-Di4l9V4B.js";import{u as ce}from"./use-match-media-CqaSQ78Q.js";import{M as Q}from"./enums-CCxx0t2v.js";import{u as le,i as de}from"./search-scope-D-McGL_G.js";const ue=(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 c,ae as p,x as f,Z as m,r,ag as y,ah as T,a1 as x,ai as E}from"./index-
|
|
1
|
+
import{s as c,ae as p,x as f,Z as m,r,ag as y,ah as T,a1 as x,ai as E}from"./index-BaROPbqc.js";const i={html:"",plainText:""},C=e=>{const u=c(),{pushError:o}=p(),{data:n}=f({...m(),staleTime:1/0}),g=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))}}),l=r.useCallback((t,s)=>{e&&a.mutate({path:{accountId:e},body:{signatureHtml:t,signaturePlainText:s}})},[e,a]);return{signature:g,setSignature:l,isSaving:a.isPending}};export{C as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as C,ae as I,ag as E,bE as k,bF as A,r as x,j as p,bG as f,bH as R,bI as j,o as O,x as S,bJ as D,bK as Q}from"./index-
|
|
1
|
+
import{s as C,ae as I,ag as E,bE as k,bF as A,r as x,j as p,bG as f,bH as R,bI as j,o as O,x as S,bJ as D,bK as Q}from"./index-BaROPbqc.js";import{aq as _,ar as q,as as w,at as z,au as N}from"./MailListHeader-Cvqgaxpp.js";import{a as P}from"./useLabels-D2xVhPbL.js";import{M as B}from"./enums-CCxx0t2v.js";import{u as F,s as G}from"./search-scope-D-McGL_G.js";import{n as U}from"./search-query-Cr_ZXBCp.js";import{u as K,p as H}from"./useSearchTokenContext-Byqr6rJk.js";const J=e=>{const{mailboxId:s,messages:i}=e,o=C(),{pushError:l}=I(),{mutateAsync:n,isPending:a}=E({...A(),onError:(r,u)=>{l({title:u.body.action==="Remove"?"Couldn't remove label":"Couldn't apply label",detail:k(r),error:r})},onSettled:(r,u,d)=>{_(o,q(w(d.body.messageIds??[],i??[],s)))}});return{applyLabel:x.useCallback((r,u,d)=>{r.length!==0&&z(r,m=>n({body:{messageIds:m,labelId:u,action:d}}))},[n]),isPending:a}};function ne({accountId:e,mailboxId:s,messageIds:i}){const{labels:o}=P(e),{applyLabel:l}=J({mailboxId:s}),n=x.useMemo(()=>o.map(a=>({key:a.labelId,label:a.name,icon:p.jsx("span",{className:`size-2.5 rounded-full ${R(a.color)?f[a.color]:f.Default}`}),onSelect:()=>l(i,a.labelId,"Apply")})),[o,i,l]);return n.length===0?null:p.jsx(N,{triggerLabel:"Apply label to selected messages",triggerIcon:p.jsx(j,{className:"size-4 text-fg-subtle"}),triggerText:"Apply label",items:n,align:"start",nested:!0,touch:!1,triggerClassName:"min-h-11 w-full justify-start gap-3 px-4 py-2.5 text-sm font-normal text-fg"})}const V=20,$=new Set(Object.values(B)),W=e=>e!==void 0&&$.has(e)?e:void 0,X=e=>{if(e.some(s=>s.type==="isUnread"))return!1;if(e.some(s=>s.type==="isRead"))return!0};function re({mailboxId:e,filterCategory:s}={}){const{searchQuery:i}=O(),o=K(),l=F({select:t=>t.matches}),n=U(i),{freeText:a,tokens:c}=H(n,o),r=a.length>0,u=c.find(t=>t.type==="category"),d=W(s)??u?.category,m=c.some(t=>t.type==="hasAttachment")?!0:void 0,b=c.some(t=>t.type==="isStarred")?!0:void 0,y=X(c),g=c.find(t=>t.type==="after"),h=c.find(t=>t.type==="before"),T=c.find(t=>t.type==="in"),v=G({matches:l,callerMailboxId:e,inTokenMailboxId:T?.mailboxId}),{data:M,isLoading:L}=S({...D({query:{query:a,mailboxId:v,limit:V,...d!==void 0?{category:d}:{},...m!==void 0?{hasAttachment:m}:{},...b!==void 0?{hasStars:b}:{},...y!==void 0?{isRead:y}:{},...g?{sentDateFrom:g.epochSeconds}:{},...h?{sentDateTo:h.epochSeconds}:{}}}),enabled:r,staleTime:6e4});return{hits:M?.items??[],isLoading:r&&L}}const ie=(e,s)=>{const{data:i}=S({...Q({path:{threadId:e??""}}),enabled:!!e}),o=i?.items??[],l=s?o.find(a=>a.messageId===s):void 0,n=o.length>0?o[o.length-1]:void 0;return l??n};export{ne as L,re as a,ie 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-BaROPbqc.js"></script>
|
|
42
42
|
<link rel="stylesheet" crossorigin href="/assets/index-DUKJ-tDb.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a3 as m,j as o,a0 as p}from"./index-Bwp5OQpQ.js";import{a}from"./search-view-C4zDDGmW.js";import{M as r}from"./MailboxPane-DkW1kOf1.js";import{u as e}from"./useSearchMirror-D7jaJTls.js";import"./nav-link-DkNRr0qZ.js";import{u as s}from"./MailListHeader-BLdUipHt.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./MailViewChrome-Be3ErsZj.js";import"./avatar-jOP6UWqK.js";import"./account-form-helpers-Cxg4r3BT.js";import"./menu-DPE9pjqH.js";import"./ErrorState-CHBHNYQS.js";import"./useFilters-8lyeAYaZ.js";import"./confirm-dialog-fW2VFpuf.js";import"./format-De9HZKjg.js";import"./NavMenuButton-wyXvU-7L.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";import"./shield-check-CsFZbw84.js";import"./bottom-sheet-8yl8cuX7.js";import"./circle-help-CZnon8UJ.js";import"./circle-check-BEVn-TI1.js";import"./move-options-Csbk4V5Q.js";import"./intelligence-pref-C6lFpj6U.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./download-C16RP9CN.js";import"./clock-DU7TCwP7.js";function Q(){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{Q as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bwp5OQpQ.js";import{M as r}from"./MailboxPane-DkW1kOf1.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./MailListHeader-BLdUipHt.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./MailViewChrome-Be3ErsZj.js";import"./NavMenuButton-wyXvU-7L.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-8yl8cuX7.js";import"./circle-help-CZnon8UJ.js";import"./circle-check-BEVn-TI1.js";import"./intelligence-pref-C6lFpj6U.js";function I(){return o.jsx(r.Reading,{})}export{I as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bwp5OQpQ.js";import{B as o}from"./BriefPane-Blw3XOe0.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./MailListHeader-BLdUipHt.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";function A(){return r.jsx(o.Reading,{})}export{A as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bwp5OQpQ.js";import{O as t}from"./OutboxPane-C46PUaxA.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./circle-check-big-DAFbfJi2.js";import"./clock-DU7TCwP7.js";import"./row-actions-BTJtEh-M.js";import"./rotate-ccw-CvEB1LaO.js";import"./NavMenuButton-wyXvU-7L.js";import"./menu-DPE9pjqH.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{a0 as o}from"./index-Bwp5OQpQ.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a0 as o}from"./index-Bwp5OQpQ.js";const n=o;export{n as component};
|
package/assets/brief-Dh0osHhT.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,a0 as i}from"./index-Bwp5OQpQ.js";import{a as m}from"./search-view-C4zDDGmW.js";import{B as o}from"./BriefPane-Blw3XOe0.js";import{u as p}from"./useSearchMirror-D7jaJTls.js";import"./nav-link-DkNRr0qZ.js";import{u as e}from"./MailListHeader-BLdUipHt.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./useLabels-DX0u5BY7.js";import"./useFilters-8lyeAYaZ.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";function D(){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{D as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a4 as i,j as o,a0 as m}from"./index-Bwp5OQpQ.js";import{a as e}from"./search-view-C4zDDGmW.js";import{F as t}from"./FlaggedPane-vTEeU26L.js";import{u as p}from"./useSearchMirror-D7jaJTls.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./MailListHeader-BLdUipHt.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./MailViewChrome-Be3ErsZj.js";function v(){const{selectedMessageId:r}=i.useSearch();return p({to:"/mail/flagged"}),o.jsx(t,{selectedMessageId:r,children:o.jsx(e,{phone:o.jsx(t.Phone,{}),list:o.jsx(t.List,{}),reading:o.jsx(m,{}),intelligence:o.jsx(t.Intelligence,{}),hasThread:!!r})})}export{v as component};
|
package/assets/index-3DZJ6uTl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,a8 as o}from"./index-Bwp5OQpQ.js";const n=()=>t.jsx(o,{to:"/settings/accounts"});export{n as component};
|
package/assets/index-BKpJMo5D.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bwp5OQpQ.js";import{B as o}from"./BriefPane-Blw3XOe0.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./MailListHeader-BLdUipHt.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";function C(){return r.jsx(o.Reading,{})}export{C as component};
|
package/assets/index-DWsgj0VV.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bwp5OQpQ.js";import{M as r}from"./MailboxPane-DkW1kOf1.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./MailListHeader-BLdUipHt.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./MailViewChrome-Be3ErsZj.js";import"./NavMenuButton-wyXvU-7L.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-8yl8cuX7.js";import"./circle-help-CZnon8UJ.js";import"./circle-check-BEVn-TI1.js";import"./intelligence-pref-C6lFpj6U.js";function H(){return o.jsx(r.Reading,{})}export{H as component};
|
package/assets/index-DsHWjJXW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bwp5OQpQ.js";import{O as t}from"./OutboxPane-C46PUaxA.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./circle-check-big-DAFbfJi2.js";import"./clock-DU7TCwP7.js";import"./row-actions-BTJtEh-M.js";import"./rotate-ccw-CvEB1LaO.js";import"./NavMenuButton-wyXvU-7L.js";import"./menu-DPE9pjqH.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-LJ5w3k2V.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bwp5OQpQ.js";import{M as i}from"./MailboxPane-DkW1kOf1.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./MailListHeader-BLdUipHt.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./MailViewChrome-Be3ErsZj.js";import"./NavMenuButton-wyXvU-7L.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-8yl8cuX7.js";import"./circle-help-CZnon8UJ.js";import"./circle-check-BEVn-TI1.js";import"./intelligence-pref-C6lFpj6U.js";function I(){return o.jsx(i.Reading,{})}export{I as component};
|
package/assets/index-MQs0xH0E.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bwp5OQpQ.js";import{B as o}from"./BriefPane-Blw3XOe0.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./MailListHeader-BLdUipHt.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./useRefreshControl-COhqTZ8E.js";import"./circle-check-big-DAFbfJi2.js";import"./useLabels-DX0u5BY7.js";import"./useThreadRow-D-CBhW5T.js";import"./search-query-Cr_ZXBCp.js";function A(){return r.jsx(o.Reading,{})}export{A as component};
|
package/assets/index-wdeYr6S8.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-Bwp5OQpQ.js";import{F as r}from"./FlaggedPane-vTEeU26L.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./MailListHeader-BLdUipHt.js";import"./search-token-index-LTew3OxT.js";import"./layout-breakpoints-BWjiUQKh.js";import"./account-form-helpers-Cxg4r3BT.js";import"./avatar-jOP6UWqK.js";import"./useSignature-Jio0QfkY.js";import"./useDebouncedValue-CZlpqWW6.js";import"./useFilters-8lyeAYaZ.js";import"./ErrorState-CHBHNYQS.js";import"./format-De9HZKjg.js";import"./nav-link-DkNRr0qZ.js";import"./download-C16RP9CN.js";import"./shield-check-CsFZbw84.js";import"./move-options-Csbk4V5Q.js";import"./confirm-dialog-fW2VFpuf.js";import"./clock-DU7TCwP7.js";import"./menu-DPE9pjqH.js";import"./MailViewChrome-Be3ErsZj.js";function w(){return o.jsx(r.Reading,{})}export{w as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{D as i,j as o,a0 as s}from"./index-Bwp5OQpQ.js";import{a as m}from"./search-view-C4zDDGmW.js";import{O as t}from"./OutboxPane-C46PUaxA.js";import{u as a}from"./useSearchMirror-D7jaJTls.js";import"./nav-link-DkNRr0qZ.js";import"./useSearchTokenContext-BObYEOel.js";import"./kbd-CPcSanPY.js";import"./use-match-media-Bahc65V3.js";import"./enums-CCxx0t2v.js";import"./search-scope-VKguXzKa.js";import"./circle-check-big-DAFbfJi2.js";import"./clock-DU7TCwP7.js";import"./row-actions-BTJtEh-M.js";import"./rotate-ccw-CvEB1LaO.js";import"./NavMenuButton-wyXvU-7L.js";import"./menu-DPE9pjqH.js";import"./format-De9HZKjg.js";import"./outbox-status-CPfNHfUQ.js";import"./search-query-Cr_ZXBCp.js";function e(){return i({from:"/mail/outbox/draft/$outboxMessageId",shouldThrow:!1})?.outboxMessageId}function w(){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(s,{})})})}export{w as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,a0 as o}from"./index-Bwp5OQpQ.js";const n=()=>t.jsx(o,{});export{n as component};
|