@remit/web-client-dist 0.0.692 → 0.0.694
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-DfgrMpfo.js +1 -0
- package/assets/{CalendarEventEditor-9IlkB0YL.js → CalendarEventEditor-nNdTRvrP.js} +1 -1
- package/assets/{CalendarEventPopup-Dgio1io7.js → CalendarEventPopup-CK0ThqUH.js} +1 -1
- package/assets/{CalendarLoadFailed-BrNZqBKA.js → CalendarLoadFailed-DqZc18ET.js} +1 -1
- package/assets/{CalendarQuickCreate-By7rnSuh.js → CalendarQuickCreate-DvzkHIO9.js} +1 -1
- package/assets/{CalendarSession-CjfkNnKN.js → CalendarSession-D_c9Y6UZ.js} +1 -1
- package/assets/CollectionPane-Ud4h-8ub.js +1 -0
- package/assets/{DesktopChrome-CjDc9EdH.js → DesktopChrome-DHYyHOV_.js} +1 -1
- package/assets/{DropdownMenu-D4QQzyrH.js → DropdownMenu-BPnbuxSi.js} +1 -1
- package/assets/{EmptyState-DiS0VQW5.js → EmptyState-B6TJewxS.js} +1 -1
- package/assets/{ErrorState-BmGgdm41.js → ErrorState-B5x7OO3P.js} +1 -1
- package/assets/{FullCompose-ZjHfjPwG.js → FullCompose-By2bNMiB.js} +1 -1
- package/assets/LabelApplyTrigger-Bxs6cDOn.js +1 -0
- package/assets/{MailShell-BO8c-sH6.js → MailShell-BAZsxo3-.js} +1 -1
- package/assets/{MailViewChrome-DfgW3Ikc.js → MailViewChrome-CeNEd8rP.js} +1 -1
- package/assets/MailboxPane-pHPHm1KP.js +135 -0
- package/assets/MessageBody-BHkIMp4s.js +84 -0
- package/assets/MessageToolbar-CMdOlqF2.js +1 -0
- package/assets/{NavMenuButton-CkmJu7iR.js → NavMenuButton-Dha0SvsJ.js} +1 -1
- package/assets/{OnboardingWizard-reo_AB5t.js → OnboardingWizard-DqRtmDGR.js} +1 -1
- package/assets/{OutboxPane-qaAt9-sk.js → OutboxPane-CWhLXXM2.js} +1 -1
- package/assets/{ReportLink-DVR5iYy8.js → ReportLink-T3skoNQg.js} +1 -1
- package/assets/_calendarObjectId-D-xdcBhY.js +1 -0
- package/assets/_labelId-Cl0mm0aS.js +1 -0
- package/assets/_mailboxId-DXY2xie_.js +1 -0
- package/assets/_messageId-1xfg9JRz.js +1 -0
- package/assets/_messageId-C7RYu8D4.js +1 -0
- package/assets/_messageId-CpLDLwG4.js +1 -0
- package/assets/_messageId-DM4J2nkn.js +1 -0
- package/assets/_outboxMessageId-DbphUtGt.js +1 -0
- package/assets/_recurrenceId-B_wIJyrZ.js +1 -0
- package/assets/{_slotId-BwEkuNG8.js → _slotId-DSoyw2sm.js} +1 -1
- package/assets/_threadId-CWcvebi1.js +1 -0
- package/assets/_threadId-D1KeSzSU.js +1 -0
- package/assets/_threadId-DhAQNmCG.js +1 -0
- package/assets/_threadId-rafiyWr7.js +1 -0
- package/assets/{_view._date-XDQ3AudE.js → _view._date-hcmgBm1_.js} +1 -1
- package/assets/{account-service-status-DJyM-qfq.js → account-service-status-DIZp2CJy.js} +1 -1
- package/assets/{accounts-Dei0QQHb.js → accounts-C97z1Pd0.js} +1 -1
- package/assets/advanced--29ZYfrn.js +1 -0
- package/assets/{agenda-time-9aN7iZnW.js → agenda-time-bZcjQKSG.js} +1 -1
- package/assets/{app-chrome-DEclDxYQ.js → app-chrome-UVvRNKwI.js} +1 -1
- package/assets/{appearance-UFpWVtEM.js → appearance-ZXFz5lao.js} +1 -1
- package/assets/{avatar-DZNFp-l_.js → avatar-D3At1Qul.js} +1 -1
- package/assets/{badge-DXTfgcBt.js → badge-dj8dD-AR.js} +1 -1
- package/assets/{bottom-sheet-CBxZPIwF.js → bottom-sheet-CV9rObvl.js} +1 -1
- package/assets/{brief-fIZB7Fkj.js → brief-2yNYS3wf.js} +1 -1
- package/assets/brief-TvSyJ0Hh.js +1 -0
- package/assets/{calendar-BIfjhUb1.js → calendar-CCfPHKaQ.js} +1 -1
- package/assets/{calendar-CmjULz3U.js → calendar-Cx77i_wv.js} +1 -1
- package/assets/{calendar-event-popup-By-Wnzww.js → calendar-event-popup-knBxRz2d.js} +1 -1
- package/assets/{calendar-event-sidebar-DqoVNv2n.js → calendar-event-sidebar-3BKQojrV.js} +1 -1
- package/assets/{calendar-failure-note-CmQObVh4.js → calendar-failure-note-BUiZ-O7a.js} +1 -1
- package/assets/{calendar-guests-DivZiKa8.js → calendar-guests-aFcN8ViV.js} +1 -1
- package/assets/{calendar-suggestion-CO8Q4tfB.js → calendar-suggestion-Cm4KjSk-.js} +1 -1
- package/assets/{calendars-Dpds3q2Z.js → calendars-BFDTOhwb.js} +1 -1
- package/assets/{card-BkVHxya_.js → card-DLgsoLfF.js} +1 -1
- package/assets/{checkbox-Cxv99wmn.js → checkbox-DmpjHqx5.js} +1 -1
- package/assets/{chevron-down-CuQovlNy.js → chevron-down-B0Bkzz-J.js} +1 -1
- package/assets/{chevron-left-CO-V7AVZ.js → chevron-left-CXtArtIm.js} +1 -1
- package/assets/{circle-check-big-Q5xMZBl1.js → circle-check-big-CI7pNoKP.js} +1 -1
- package/assets/{circle-check-H4iBGaFc.js → circle-check-luU3Az-0.js} +1 -1
- package/assets/{circle-question-mark-Dt4vUSbc.js → circle-question-mark-DS_MwyOq.js} +1 -1
- package/assets/classification-M7vyyYc0.js +1 -0
- package/assets/{clock-Ctw4TG15.js → clock-CXNiym3R.js} +1 -1
- package/assets/cloud-off-DEFh0ByK.js +1 -0
- package/assets/compose._-_outboxMessageId_-C4UqzqsB.js +1 -0
- package/assets/compose._-_outboxMessageId_-CSUyyPsf.js +1 -0
- package/assets/compose._-_outboxMessageId_-CUUUaKzp.js +1 -0
- package/assets/compose._-_outboxMessageId_-D3ZrtXb-.js +1 -0
- package/assets/compose._-_outboxMessageId_-txkeSl3z.js +1 -0
- package/assets/{config-import-_7OioB2-.js → config-import-DYrX4xYR.js} +1 -1
- package/assets/{confirm-dialog-C8W1RcOV.js → confirm-dialog-CeB0RrSC.js} +1 -1
- package/assets/{copy-Eu3Pxnsn.js → copy-BVh-dc4N.js} +1 -1
- package/assets/{credential-steps-D8_QxBU3.js → credential-steps-ihHk8G-d.js} +1 -1
- package/assets/{download-B9mjNNRB.js → download-Im4qAd93.js} +1 -1
- package/assets/{draft-OCADnKfj.js → draft-gA8ktwkL.js} +1 -1
- package/assets/edit-AeV5d7Q9.js +1 -0
- package/assets/edit-C9IrXIRT.js +1 -0
- package/assets/{external-link-Byo-O3sb.js → external-link-BPfutwMA.js} +1 -1
- package/assets/{file-braces-CskVbU-i.js → file-braces-DImhKXQB.js} +1 -1
- package/assets/filters-BixikXOX.js +1 -0
- package/assets/{flagged-A9fk8Fz2.js → flagged-DlXuJV7_.js} +1 -1
- package/assets/flagged-UlACOt4x.js +1 -0
- package/assets/{folder-input-hWCgPqfm.js → folder-input-BBQLR_tO.js} +1 -1
- package/assets/{folders-Dfg9m7Cm.js → folders-tN5ItNP7.js} +1 -1
- package/assets/{help-copy-CnlNZ8sK.js → help-copy-CHQ_TpI3.js} +1 -1
- package/assets/{import-BIxL3HZr.js → import-BRAmXjIS.js} +1 -1
- package/assets/index-0F6D1QL4.js +1 -0
- package/assets/index-BNnZBbIV.js +1 -0
- package/assets/index-BeKthChA.js +1 -0
- package/assets/index-BhPUwC8f.js +1 -0
- package/assets/index-CUf1A0fN.js +1 -0
- package/assets/index-CbjCUjyM.js +1 -0
- package/assets/index-Chdoahsq.js +1 -0
- package/assets/index-CisM5xYX.js +1 -0
- package/assets/index-CpLDLwG4.js +1 -0
- package/assets/index-D-qIc_Ph.js +1 -0
- package/assets/index-DFaozp7e.js +1 -0
- package/assets/{index-CpNGDsVT.js → index-DHBczCNW.js} +10 -10
- package/assets/index-DR_5o1cC.js +213 -0
- package/assets/{index-DjD_uOHk.css → index-DS2W4dIw.css} +1 -1
- package/assets/index-UJSPAbyu.js +1 -0
- package/assets/{kbd-BMGsOR5H.js → kbd-B0NHhH5P.js} +1 -1
- package/assets/label-chip-DSBEe7ry.js +1 -0
- package/assets/{labels-jKncGvQ3.js → labels-BHUDM5JS.js} +1 -1
- package/assets/mail-D2zTFQj4.js +1 -0
- package/assets/{mail-qvbIZwSA.js → mail-aEfuaSCr.js} +1 -1
- package/assets/{menu-g1nN4c6m.js → menu-CnR5z5hQ.js} +1 -1
- package/assets/{nav-link-Bdv8kjEd.js → nav-link-UUbkPPMg.js} +1 -1
- package/assets/new-UOrJpTbz.js +1 -0
- package/assets/onboarding-CE1GqVAK.js +1 -0
- package/assets/{onboarding-completion-CjqVIsEV.js → onboarding-completion-yyY7ooIW.js} +1 -1
- package/assets/outbox-BjrTttbX.js +1 -0
- package/assets/{pencil-C3mJE9QO.js → pencil-B7A6MPOt.js} +1 -1
- package/assets/{people-ClLsRDo6.js → people-lwS7SzAR.js} +1 -1
- package/assets/{plus-B9Kjb5MA.js → plus-D_zwaNNt.js} +1 -1
- package/assets/{popover-menu-kMqLztgE.js → popover-menu-Cwo1QYau.js} +1 -1
- package/assets/{refresh-cw-DdZ8vtf2.js → refresh-cw-Ct8GI0Vj.js} +1 -1
- package/assets/reply-CKR0JbDH.js +1 -0
- package/assets/{rich-text-DTsRvBWK.js → rich-text-DoqySYOC.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-Bf2g3xpp.js → rich-text-spellcheck-worker-provider-CRq84w6_.js} +1 -1
- package/assets/{rotate-ccw-DU-xqseJ.js → rotate-ccw-DLTgUk3r.js} +1 -1
- package/assets/{roving-focus-h-W142Au.js → roving-focus-DZDqBfb5.js} +1 -1
- package/assets/{row-actions-CJJYnXCz.js → row-actions-B2wFen9R.js} +1 -1
- package/assets/search-mirror-DpnpCDcj.js +1 -0
- package/assets/{search-scope-BCz9qlCH.js → search-scope-T2j_EsV0.js} +1 -1
- package/assets/search-token-index-BP7yKtG_.js +1 -0
- package/assets/{sections-40tp2E7G.js → sections-6h7DKCxQ.js} +1 -1
- package/assets/{segmented-control-CMCgmRqX.js → segmented-control-1R4LBvE6.js} +1 -1
- package/assets/{select-CpLCf4_c.js → select-CzHV_FFG.js} +1 -1
- package/assets/senders-BPxxJ0j1.js +1 -0
- package/assets/settings-CxT_7aK9.js +1 -0
- package/assets/{settings-screen-Bx-jomcC.js → settings-screen-Bbjg-6l6.js} +1 -1
- package/assets/shield-check-C2UgIrHV.js +1 -0
- package/assets/spam-ZsXuaYs-.js +1 -0
- package/assets/{suggest-list-gj7TdgNf.js → suggest-list-B6cD40Oq.js} +1 -1
- package/assets/{suggested-vips-D9pkriav.js → suggested-vips-CSjON5_8.js} +1 -1
- package/assets/suggestion._suggestionId-DuDQGf01.js +1 -0
- package/assets/{switch-D9ilXr2Z.js → switch-RGS_qoTB.js} +1 -1
- package/assets/{task._calendarTaskId-c5dsQ5Rn.js → task._calendarTaskId-Ckwunqac.js} +1 -1
- package/assets/{undo-2-B0kA9_bY.js → undo-2-Bnztakne.js} +1 -1
- package/assets/{useCalendarData-QcaY0Cgc.js → useCalendarData-CVSSTX7q.js} +1 -1
- package/assets/{useCalendarScheduling-BXMaoFja.js → useCalendarScheduling-A8jy-RIu.js} +1 -1
- package/assets/{useCalendarSuggestions-iprVdeF2.js → useCalendarSuggestions-BUA2-2mf.js} +1 -1
- package/assets/{useCalendarTasks-D9R56VL3.js → useCalendarTasks-DSxaVdL9.js} +1 -1
- package/assets/useClassificationSettings-ChYo6qTF.js +1 -0
- package/assets/{useDebouncedValue-M5m0kaQD.js → useDebouncedValue-KKz10SXI.js} +1 -1
- package/assets/{useFilters-BybioZf1.js → useFilters-DhxRBswc.js} +1 -1
- package/assets/useJunkMailboxIds-B_SqvUpu.js +1 -0
- package/assets/useLabels-CIb1kkc9.js +1 -0
- package/assets/{useLayoutTier-BpSsrmgl.js → useLayoutTier-DinVKpNb.js} +1 -1
- package/assets/{useMediaQuery-uf6mjwPE.js → useMediaQuery-BRSRIX06.js} +1 -1
- package/assets/useMessageBodyContent-B8gK2Lo3.js +3 -0
- package/assets/useQueries-Dp5PLsrF.js +1 -0
- package/assets/{useRefreshControl-ByEWNZY9.js → useRefreshControl-CAy6K6Em.js} +1 -1
- package/assets/{useResultFolderIndex-BksYikib.js → useResultFolderIndex-JpPkIntb.js} +1 -1
- package/assets/{useSignature-klArqmQ3.js → useSignature-C-S_OGgq.js} +1 -1
- package/assets/{warnings-B1lLZh5p.js → warnings-BaDRsN2r.js} +3 -3
- package/index.html +2 -2
- package/package.json +1 -1
- package/assets/BriefPane-B8ecM3zB.js +0 -1
- package/assets/FlaggedPane-kBIob-rC.js +0 -1
- package/assets/LabelApplyTrigger-OJ81BaYH.js +0 -1
- package/assets/MailboxPane-BRUYtKC7.js +0 -135
- package/assets/MessageBody-BIp2OZY6.js +0 -84
- package/assets/MessageToolbar-BzxIP4DM.js +0 -1
- package/assets/_calendarObjectId-DNhcPvtT.js +0 -1
- package/assets/_mailboxId-ThNYujv3.js +0 -1
- package/assets/_messageId-CKJI1yyc.js +0 -1
- package/assets/_messageId-ChPDqFRo.js +0 -1
- package/assets/_messageId-zm_VBLaY.js +0 -1
- package/assets/_outboxMessageId-DcDyjoYW.js +0 -1
- package/assets/_recurrenceId-C0Y19B2U.js +0 -1
- package/assets/_threadId-CmA2aUrS.js +0 -1
- package/assets/_threadId-Cqj7hjyS.js +0 -1
- package/assets/_threadId-DI4EN6E1.js +0 -1
- package/assets/advanced-CmaLt1-e.js +0 -1
- package/assets/brief-MY0I_pcw.js +0 -1
- package/assets/classification-0ZO1lOyG.js +0 -1
- package/assets/compose._-_outboxMessageId_-B1VRxkLN.js +0 -1
- package/assets/compose._-_outboxMessageId_-C46VmFN6.js +0 -1
- package/assets/compose._-_outboxMessageId_-CNjOOJSh.js +0 -1
- package/assets/compose._-_outboxMessageId_-P_jyR3kH.js +0 -1
- package/assets/edit-AzkegsLe.js +0 -1
- package/assets/edit-qD-xofN1.js +0 -1
- package/assets/filters-DEBkAOGr.js +0 -1
- package/assets/flagged-D6O3EhIo.js +0 -1
- package/assets/index-BA_isERD.js +0 -1
- package/assets/index-BI3VHL-i.js +0 -1
- package/assets/index-C-PJeYPQ.js +0 -1
- package/assets/index-CKJI1yyc.js +0 -1
- package/assets/index-COXNp0IG.js +0 -1
- package/assets/index-CfV5o-lD.js +0 -1
- package/assets/index-ChPDqFRo.js +0 -1
- package/assets/index-CkmUVU7Z.js +0 -1
- package/assets/index-CmOAOx38.js +0 -213
- package/assets/index-CrZmkeYk.js +0 -1
- package/assets/index-zm_VBLaY.js +0 -1
- package/assets/label-chip-OfJL52HU.js +0 -1
- package/assets/mail-Bf1kTy2y.js +0 -1
- package/assets/new-Dcxxskrf.js +0 -1
- package/assets/onboarding-cRvBetgB.js +0 -1
- package/assets/outbox-CTC-6RuN.js +0 -1
- package/assets/reply-BBXEHuds.js +0 -1
- package/assets/search-mirror-CqXcmXWg.js +0 -1
- package/assets/search-token-index-e0cXuR4s.js +0 -1
- package/assets/senders-DjPDuDhf.js +0 -1
- package/assets/settings-CWQQ_e-3.js +0 -1
- package/assets/shield-check-BbVUhw_R.js +0 -1
- package/assets/suggestion._suggestionId-BsoCLJDm.js +0 -1
- package/assets/useLabels-iMMBj-Ba.js +0 -1
- package/assets/useMessageBodyContent-CsZ9VCHu.js +0 -3
- package/assets/useQueries-DeYJYa06.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CmOAOx38.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a9 as m,j as o,O as p}from"./index-CmOAOx38.js";import{a}from"./MailShell-BO8c-sH6.js";import{M as r}from"./MailboxPane-BRUYtKC7.js";import"./nav-link-Bdv8kjEd.js";import{a as e}from"./search-token-index-e0cXuR4s.js";import"./reply-BBXEHuds.js";import{u as s}from"./search-mirror-CqXcmXWg.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./FullCompose-ZjHfjPwG.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./useMediaQuery-uf6mjwPE.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./MailViewChrome-DfgW3Ikc.js";import"./roving-focus-h-W142Au.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./useQueries-DeYJYa06.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./label-chip-OfJL52HU.js";import"./refresh-cw-DdZ8vtf2.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./NavMenuButton-CkmJu7iR.js";import"./bottom-sheet-CBxZPIwF.js";import"./circle-question-mark-Dt4vUSbc.js";import"./circle-check-H4iBGaFc.js";function fo(){const{mailboxId:t}=m.useParams(),i=e();return s({to:"/mail/$mailboxId",params:{mailboxId:t}}),o.jsx(r,{mailboxId:t,thread:i,children:o.jsx(a,{phone:o.jsx(r.Phone,{}),list:o.jsx(r.List,{}),reading:o.jsx(p,{}),intelligence:o.jsx(r.Intelligence,{}),hasThread:!!i})})}export{fo as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{M as r}from"./MailboxPane-BRUYtKC7.js";import"./MailViewChrome-DfgW3Ikc.js";import"./search-token-index-e0cXuR4s.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./useQueries-DeYJYa06.js";import"./roving-focus-h-W142Au.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./chevron-down-CuQovlNy.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./refresh-cw-DdZ8vtf2.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./NavMenuButton-CkmJu7iR.js";import"./bottom-sheet-CBxZPIwF.js";import"./circle-question-mark-Dt4vUSbc.js";import"./circle-check-H4iBGaFc.js";function ao(){return o.jsx(r.Reading,{})}export{ao as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{F as r}from"./FlaggedPane-kBIob-rC.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./reply-BBXEHuds.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./roving-focus-h-W142Au.js";import"./chevron-down-CuQovlNy.js";import"./search-token-index-e0cXuR4s.js";import"./useQueries-DeYJYa06.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./MailViewChrome-DfgW3Ikc.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function $(){return o.jsx(r.Reading,{})}export{$ as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-CmOAOx38.js";import{B as o}from"./BriefPane-B8ecM3zB.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./reply-BBXEHuds.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./roving-focus-h-W142Au.js";import"./chevron-down-CuQovlNy.js";import"./search-token-index-e0cXuR4s.js";import"./useQueries-DeYJYa06.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function tr(){return r.jsx(o.Reading,{})}export{tr as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{O as t}from"./OutboxPane-qaAt9-sk.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./reply-BBXEHuds.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./outbox-status-BlKn6P0x.js";import"./NavMenuButton-CkmJu7iR.js";import"./menu-g1nN4c6m.js";import"./roving-focus-h-W142Au.js";import"./circle-check-big-Q5xMZBl1.js";import"./clock-Ctw4TG15.js";import"./row-actions-CJJYnXCz.js";import"./rotate-ccw-DU-xqseJ.js";function g(){return o.jsx(t.Reading,{})}export{g as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CmOAOx38.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CmOAOx38.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CmOAOx38.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-CmOAOx38.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,aB as S,aH as y,B as i,aI as j,r as h,ad as u,d as T,L as g,aJ as p,p as I,e as A,aK as B,aL as L,a5 as k,aM as O,aN as U,aO as D,u as E,ac as V}from"./index-CmOAOx38.js";import{e as M}from"./config-import-_7OioB2-.js";import"./nav-link-Bdv8kjEd.js";import"./reply-BBXEHuds.js";import{u as F,a as H}from"./sections-40tp2E7G.js";import{C as Y,a as _,b as P,c as G}from"./card-BkVHxya_.js";import{D as N}from"./download-B9mjNNRB.js";import{B as w}from"./badge-DXTfgcBt.js";import{F as J}from"./file-braces-CskVbU-i.js";import{R as v}from"./rotate-ccw-DU-xqseJ.js";import{C as b}from"./circle-check-H4iBGaFc.js";import{E as C}from"./external-link-Byo-O3sb.js";import{C as W,S as q}from"./shield-check-BbVUhw_R.js";import{C as Q}from"./clock-Ctw4TG15.js";import{b as $}from"./help-copy-CnlNZ8sK.js";import{S as K}from"./settings-screen-Bx-jomcC.js";import"./useMediaQuery-uf6mjwPE.js";import"./kbd-BMGsOR5H.js";import"./avatar-DZNFp-l_.js";import"./chevron-left-CO-V7AVZ.js";import"./menu-g1nN4c6m.js";import"./circle-question-mark-Dt4vUSbc.js";const X=["Remit restarts. Mail stops loading for about a minute and this page will lose its connection while that happens.","Nothing is sent, deleted or moved. Your mail stays at your provider.","If the new version does not come back up, the version you are running now is restored automatically."];function Z({open:s,currentVersion:n,release:a,appliesSchemaMigration:t=!1,onClose:l,onConfirm:r}){return s?e.jsx(S,{open:!0,onClose:l,title:`Install Remit ${a.version}`,children:e.jsxs("div",{className:"flex max-h-[80vh] flex-col",children:[e.jsxs("header",{className:"space-y-1 border-b border-line px-4 py-3",children:[e.jsxs("h3",{className:"text-sm font-semibold text-fg",children:["Install Remit ",a.version,"?"]}),e.jsxs("p",{className:"text-xs text-fg-muted",children:["You are on ",n,". ",a.version," was released"," ",y(a.releasedAt),"."]})]}),e.jsxs("div",{className:"flex-1 space-y-3 overflow-auto px-4 py-3",children:[e.jsx("p",{className:"text-sm text-fg-muted",children:a.summary}),e.jsxs("ul",{className:"space-y-2",children:[X.map(c=>e.jsxs("li",{className:"flex gap-2 text-sm text-fg-muted",children:[e.jsx("span",{className:"mt-1.5 size-1.5 shrink-0 rounded-full bg-fg-subtle"}),e.jsx("span",{children:c})]},c)),t&&e.jsxs("li",{className:"flex gap-2 text-sm text-fg-muted",children:[e.jsx("span",{className:"mt-1.5 size-1.5 shrink-0 rounded-full bg-fg-subtle"}),e.jsx("span",{children:"This version updates the database while Remit is offline. The step forward cannot be undone by hand, but a failed start is still rolled back to the version and data you have now."})]})]}),e.jsx("p",{className:"text-xs text-fg-subtle",children:"Good moment for this: when you are not waiting on a message."})]}),e.jsxs("footer",{className:"flex flex-wrap items-center justify-end gap-2 border-t border-line px-4 py-3",children:[e.jsx(i,{variant:"ghost",size:"sm",onClick:l,children:"Not now"}),e.jsx(j,{variant:"secondary",size:"sm",external:!0,href:a.releaseNotesUrl,icon:e.jsx(C,{className:"size-3.5"}),children:"Release notes"}),e.jsx(i,{size:"sm",icon:e.jsx(N,{className:"size-3.5"}),onClick:r,children:"Install and restart"})]})]})}):null}function o({children:s,tone:n}){return e.jsx("div",{className:I("rounded-sm border bg-surface px-row-inset py-3",n==="danger"?"border-danger/50":"border-line"),children:s})}function ee({state:s,onCheck:n,onInstall:a,onDismissResult:t,now:l=Date.now()}){const[r,c]=h.useState(null),m=s.status==="checking",d=s.status==="available",x=()=>{if(m){c("Already checking. The result appears here in a moment.");return}c(null),n()},z=()=>{t(),x()},f=()=>{if(!d&&s.status!=="rolledBack"&&s.status!=="abandoned"){c("There is no update to install. Check for updates first — if one is found it appears here.");return}c(null),a()},R=(()=>{switch(s.status){case"upToDate":return e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(b,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg",children:["Remit ",s.version," is the latest version.",e.jsxs("span",{className:"text-fg-subtle",children:[" ","Checked ",p(s.checkedAt,l),"."]})]})]}),e.jsx(i,{variant:"secondary",size:"sm",className:"shrink-0",onClick:x,children:"Check again"})]})});case"checking":return e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(g,{className:"size-4 shrink-0 animate-spin text-fg-subtle","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["Looking for a newer version. You are on ",s.version,"."]})]}),e.jsx(i,{variant:"secondary",size:"sm",className:"shrink-0",onClick:x,children:"Check again"})]})});case"neverChecked":return e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[e.jsx(Q,{className:"mt-0.5 size-4 shrink-0 text-fg-subtle","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["No update check has run yet. Remit checks for updates on its own in the background.",s.lastCheckedAt!==void 0&&e.jsxs("span",{className:"text-fg-subtle",children:[" ","Last checked"," ",p(s.lastCheckedAt,l),"."]})]})]}),e.jsx(i,{variant:"secondary",size:"sm",className:"shrink-0",onClick:x,children:"Check now"})]})});case"checkFailed":return e.jsx(o,{children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(W,{className:"mt-0.5 size-4 shrink-0 text-fg-subtle","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsx("p",{className:"text-sm text-fg",children:"Could not reach the update source."}),e.jsx("p",{className:"text-xs text-fg-muted",children:s.reason}),e.jsxs("p",{className:"text-xs text-fg-subtle",children:["You are still on ",s.version," and it keeps working.",s.lastCheckedAt!==void 0&&e.jsxs(e.Fragment,{children:[" ","Last successful check"," ",p(s.lastCheckedAt,l),"."]})]})]})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(i,{variant:"secondary",size:"sm",onClick:x,children:"Try again"})})]})});case"available":return e.jsx(o,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:"text-sm font-semibold text-fg",children:["Remit ",s.release.version]}),e.jsx(w,{tone:"accent",children:"update available"}),e.jsxs("span",{className:"text-2xs text-fg-subtle",children:["released ",y(s.release.releasedAt)," · you are on ",s.version]})]}),e.jsx("p",{className:"text-sm text-fg-muted",children:s.release.summary}),e.jsx("p",{className:"text-xs text-fg-subtle",children:"Installing restarts Remit, so mail stops loading for about a minute. If the new version does not come back up, the one you are running now is restored on its own."}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(i,{size:"sm",icon:e.jsx(N,{className:"size-3.5"}),onClick:f,children:["Install ",s.release.version]}),e.jsx(j,{variant:"secondary",size:"sm",external:!0,href:s.release.releaseNotesUrl,icon:e.jsx(C,{className:"size-3.5"}),children:"Release notes"})]})]})});case"applying":return e.jsx(o,{children:e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(g,{className:"size-4 shrink-0 animate-spin text-accent-2","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["Installing Remit ",s.target,". The restart screen has the details."]})]})});case"succeeded":return e.jsxs(e.Fragment,{children:[e.jsx(T,{tone:"success",onDismiss:t,children:e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"font-semibold",children:["Updated to Remit ",s.version,"."]}),e.jsxs("p",{children:["You were on ",s.previousVersion,"."," ",e.jsx("a",{href:s.releaseNotesUrl,target:"_blank",rel:"noopener noreferrer",className:"underline",children:"See what changed"}),"."]})]})}),e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(b,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg",children:["Remit ",s.version," is running."]})]}),e.jsx(i,{variant:"secondary",size:"sm",className:"shrink-0",onClick:z,children:"Check for updates"})]})})]});case"rolledBack":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Remit ",s.attemptedVersion," did not start. Remit reports that it put ",s.version," back."]}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["You are running ",s.version," again. A failed update can still have changed things on the way — the log below is the only account of what it got as far as doing."]})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"What Remit reported as the failure"}),e.jsx("code",{className:"block rounded-xs bg-danger-soft px-2 py-1 text-2xs text-danger",children:s.reason})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"Read the full log before trying again:"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(i,{variant:"secondary",size:"sm",icon:e.jsx(v,{className:"size-3.5"}),onClick:f,children:["Try ",s.attemptedVersion," again"]}),e.jsxs(i,{variant:"ghost",size:"sm",onClick:t,children:["Stay on ",s.version]})]})]})});case"unreachable":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Installing ",s.attemptedVersion," left the server unreachable."]}),e.jsx("p",{className:"text-sm text-fg-muted",children:"Remit has answered again since, but nothing here can say what happened during the silence."})]})]}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand}),e.jsx("div",{className:"flex justify-end",children:e.jsx(i,{variant:"ghost",size:"sm",onClick:t,children:"Dismiss"})})]})});case"rollbackFailed":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Remit ",s.attemptedVersion," did not start, and Remit could not put ",s.previousVersion," back."]}),e.jsx("p",{className:"text-sm text-fg-muted",children:"This is the one outcome Remit cannot resolve on its own. The server is in a half-changed state and needs you at a shell. The log below is the only account of where it stopped."})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"What Remit reported as the failure"}),e.jsx("code",{className:"block rounded-xs bg-danger-soft px-2 py-1 text-2xs text-danger",children:s.reason})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"Read the full log on the server:"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(i,{variant:"ghost",size:"sm",onClick:t,children:"Dismiss"})})]})});case"abandoned":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-fg-subtle","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Remit ",s.attemptedVersion," was not installed. Nothing changed."]}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["The update stopped before it altered anything. You are still running ",s.version,"."]})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"What Remit reported"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.reason})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"Read the full log before trying again:"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(i,{variant:"secondary",size:"sm",icon:e.jsx(v,{className:"size-3.5"}),onClick:f,children:["Try ",s.attemptedVersion," again"]}),e.jsxs(i,{variant:"ghost",size:"sm",onClick:t,children:["Stay on ",s.version]})]})]})});default:return s}})();return e.jsxs("section",{className:"space-y-3",children:[e.jsxs("header",{className:"space-y-1",children:[e.jsx("h2",{className:"text-sm font-semibold text-fg",children:"Updates"}),e.jsx("p",{className:"text-xs text-fg-muted",children:"This Remit runs on your own server, so it updates when you say so. Your mail lives at your provider and is never touched by an update."})]}),R,r&&e.jsx("p",{role:"status",className:"text-xs text-fg-muted",children:r})]})}function se({fileName:s,state:n="ready",error:a,onDownload:t,onImport:l}){const r=n==="downloading";return e.jsxs(Y,{className:"max-w-xl",children:[e.jsx(_,{children:e.jsx(P,{children:"Configuration file"})}),e.jsxs(G,{children:[e.jsx("p",{className:"text-sm text-fg-muted",children:"One versioned JSON document carrying every setting this instance holds: accounts and their servers, folder roles, rules, labels, flagged senders and appearance. No passwords and no OAuth tokens — you sign in again wherever you import it."}),n==="failed"&&e.jsxs("div",{className:"mt-3 space-y-2 rounded-sm border border-danger/40 bg-danger-soft px-3 py-2.5",children:[e.jsx("p",{className:"text-sm font-medium text-danger",children:"The config file could not be written."}),e.jsxs("p",{className:"text-xs text-fg-muted",children:["Nothing was downloaded. Try again — if it keeps failing, use"," ",e.jsx("code",{className:"rounded bg-surface-sunken px-1 py-0.5",children:"remit config save"})," ","on the host in the meantime."]}),a&&e.jsx("code",{className:"block rounded bg-surface-sunken px-2.5 py-2 text-2xs text-fg-muted",children:a})]}),e.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[e.jsx(i,{variant:"secondary",size:"sm",disabled:r,icon:r?e.jsx(g,{className:"size-3.5 animate-spin"}):e.jsx(N,{className:"size-3.5"}),onClick:t,children:r?"Preparing…":`Download ${s}`}),e.jsx(w,{tone:"neutral",children:"no passwords"})]}),e.jsxs("p",{className:"mt-3 text-2xs text-fg-subtle",children:["On the host, the same file comes from"," ",e.jsxs("code",{className:"rounded bg-surface-sunken px-1 py-0.5",children:["remit config save ~/",s]}),"."]}),e.jsxs("div",{className:"mt-5 border-t border-line pt-4",children:[e.jsx("p",{className:"text-sm font-medium text-fg",children:"Import a config file"}),e.jsx("p",{className:"mt-1 text-sm text-fg-muted",children:"Read a file from another Reader into this one. It shows what will change before anything is written, and asks for each account's credentials afterwards."}),e.jsx(i,{className:"mt-3",variant:"secondary",size:"sm",icon:e.jsx(J,{className:"size-3.5"}),onClick:l,children:"Import a config file"})]})]})]})}const ae=(s,n)=>{const a=URL.createObjectURL(new Blob([JSON.stringify(n,null,2)],{type:"application/json"})),t=document.createElement("a");t.href=a,t.download=s,t.click(),URL.revokeObjectURL(a)};function te(){const s=A(),n=F(),[a,t]=h.useState("ready"),[l,r]=h.useState(void 0),c=M(new Date),m=()=>{a!=="downloading"&&(t("downloading"),r(void 0),s.fetchQuery(B()).then(d=>{ae(c,d.document),t("ready")}).catch(d=>{t("failed"),r(d instanceof Error?d.message:"GET /config/export did not answer with a configuration.")}))};return e.jsx(se,{fileName:c,state:a,error:l,onDownload:m,onImport:()=>n("importConfig")})}function ne(){const{surface:s,release:n,currentVersion:a,appliesSchemaMigration:t,onCheck:l,install:r,onDismissResult:c}=L(),[m,d]=h.useState(!1);return s.status!=="ready"?null:e.jsxs(e.Fragment,{children:[e.jsx(ee,{state:s.section,onCheck:l,onInstall:()=>d(!0),onDismissResult:c}),n&&a&&e.jsx(Z,{open:m,currentVersion:a,release:n,appliesSchemaMigration:t,onClose:()=>d(!1),onConfirm:()=>{d(!1),r(n.version)}})]})}function ie(){return k().tlsMode!=="internal"?null:e.jsxs("div",{className:"border-t border-line pt-4 mt-4",children:[e.jsx("p",{className:"text-sm font-medium text-fg mb-1",children:"TLS root certificate"}),e.jsx("p",{className:"text-sm text-fg-muted mb-2",children:"This deployment signs its own certificate. Import it into the trust store of each device you browse from, and the browser warning stops for good."}),e.jsx(j,{href:"/tls-root-ca.crt",download:!0,variant:"secondary",size:"sm",icon:e.jsx(q,{className:"size-3.5"}),children:"Download root certificate"})]})}function re(s){try{return new Date(s).toLocaleString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}catch{return s}}function le({sha:s=U,commitUrl:n=O,buildTime:a=D}){return e.jsxs("p",{className:"text-xs text-fg-subtle",children:["Version"," ",n?e.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"font-mono hover:text-fg-muted hover:underline",children:s}):e.jsx("span",{className:"font-mono",children:s})," · ",e.jsxs("span",{children:["Built ",re(a)]})]})}function Ae(){const s=E(),n=V(),a=H(),[t,l]=h.useState(!0);return e.jsxs(K,{items:n,activeId:"advanced",title:"Advanced",description:"Notification rules, export, and diagnostics.",help:$,helpOpen:t,onToggleHelp:()=>l(r=>!r),onSelect:a,onBackToMail:()=>{s({to:"/mail"})},children:[k().updateMode==="self"&&e.jsx(ne,{}),e.jsx("div",{className:"mt-6 border-t border-line pt-4",children:e.jsx(te,{})}),e.jsx("div",{className:"mt-6 border-t border-line pt-4",children:e.jsx("p",{className:"text-sm text-fg-muted",children:"Notification rules are coming in a future release."})}),e.jsx(ie,{}),e.jsxs("div",{className:"border-t border-line pt-4 mt-4",children:[e.jsx("p",{className:"text-sm font-medium text-fg mb-1",children:"About"}),e.jsx(le,{})]})]})}export{Ae as component};
|
package/assets/brief-MY0I_pcw.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,O as i}from"./index-CmOAOx38.js";import{a as m}from"./MailShell-BO8c-sH6.js";import{B as o}from"./BriefPane-B8ecM3zB.js";import"./nav-link-Bdv8kjEd.js";import{a as p}from"./search-token-index-e0cXuR4s.js";import"./reply-BBXEHuds.js";import{u as e}from"./search-mirror-CqXcmXWg.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./FullCompose-ZjHfjPwG.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./useMediaQuery-uf6mjwPE.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./roving-focus-h-W142Au.js";import"./useQueries-DeYJYa06.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./label-chip-OfJL52HU.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function lr(){const t=p();return e({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{lr as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aP as Ke,aw as $e,ax as Ae,b0 as Ee,b1 as N,b2 as Le,s as fe,b3 as Be,a as me,b4 as pe,r as l,b5 as he,e as xe,f as Q,b6 as Fe,b7 as Me,b8 as Te,j as s,d as K,B as S,aG as De,ao as q,ap as Oe,c as He,b9 as ne,u as _e,ac as qe}from"./index-CmOAOx38.js";import{R as ye}from"./ReportLink-DVR5iYy8.js";import{f as Ve}from"./ErrorState-BmGgdm41.js";import{S as Ge}from"./select-CpLCf4_c.js";import{C as Qe}from"./confirm-dialog-C8W1RcOV.js";import{S as Xe}from"./switch-D9ilXr2Z.js";import{B as _}from"./badge-DXTfgcBt.js";import{a as Ye}from"./sections-40tp2E7G.js";import{S as We}from"./settings-screen-Bx-jomcC.js";import"./chevron-down-CuQovlNy.js";import"./avatar-DZNFp-l_.js";import"./chevron-left-CO-V7AVZ.js";import"./menu-g1nN4c6m.js";import"./circle-question-mark-Dt4vUSbc.js";const Ze=fe(403),X={...fe(400,403,404,409,422,429),...Ee},be=e=>Ke(e)===403,k=e=>e.state==="NotConfigured"?{presetId:void 0,sources:void 0}:e.state==="Unrunnable"?{presetId:e.presetId,sources:void 0}:{presetId:e.presetId,sources:e.sources},ge=(e,t)=>{const a=k(e);return a.presetId===t?a.sources:void 0},re=(e,t)=>e.state==="Configured"&&e.sources[t]===N.Saved?e[t]:"",V=(e,t,a)=>e.state==="Configured"&&e.presetId===t&&e[a]!==""?e[a]:void 0,G=e=>({presetId:k(e).presetId,model:re(e,"model"),baseUrl:re(e,"baseUrl"),apiKey:""}),ze=(e,t)=>k(t).presetId===e.presetId?G(t):{presetId:e.presetId,model:"",baseUrl:"",apiKey:""},Je=e=>e.state==="Unrunnable"?!0:e.state==="NotConfigured"?!1:Object.values(e.sources).includes(N.Saved),es={Hosted:"Hosted",Custom:"Your own endpoint",Local:"Self-hosted"},ss=e=>{const t=[];for(const a of e){const i=t.find(n=>n.group===a.group);if(i){i.presets.push(a);continue}t.push({group:a.group,label:es[a.group],presets:[a]})}return t},ve=e=>e.defaultBaseUrl===void 0,A=(e,t)=>t===N.Saved?`${e} Saved by you.`:t===N.Deployment?`${e} Provided by the deployment.`:e,je="Paste an API key",ts=e=>Be(e)?.code==="ClassificationApiKeyRequired",oe="Enter a URL that starts with http:// or https://",as=e=>{if(!URL.canParse(e))return!1;const{protocol:t}=new URL(e);return t==="http:"||t==="https:"},is=(e,t,a)=>{const i=e.baseUrl.trim(),n=e.apiKey.trim(),o=ge(a,t.presetId);if(i!==""&&!as(i))return{ok:!1,field:"BaseUrl",message:oe};if(i===""&&ve(t)&&V(a,t.presetId,"baseUrl")===void 0)return{ok:!1,field:"BaseUrl",message:oe};const d=o?.apiKey??N.Default;return t.needsKey&&n===""&&d===N.Default?{ok:!1,field:"ApiKey",message:je}:{ok:!0,body:{...k(a).presetId!==t.presetId?{classificationPresetId:t.presetId}:{},classificationModel:e.model.trim(),classificationBaseUrl:i,...t.needsKey&&n!==""?{classificationApiKey:n}:{}}}},ns=(e,t,a)=>{const i=k(e).presetId;if(!(i===void 0||t===void 0)&&i!==t)return a.find(n=>n.presetId===i)},rs=e=>{const t=e.status===void 0?e.kind:`${e.status}`;return`Test failed after ${e.latencyMs} ms: ${t}`},Ne=(e,t)=>$e(Ae({title:`Mail classification: ${e}`,errorMessage:`${e}. ${t}`})),os=e=>{const t=e.needsKey?"Needs an API key.":"No key needed.";if(e.price.state!=="Priced")return t;const a=new Intl.NumberFormat("en",{style:"currency",currency:e.price.currency,maximumFractionDigits:4}).format(e.price.perMillionInputTokens);return`${t} ${a} per million input tokens.`},le="Enter a whole number of 1 or more.",ls=2147483647,cs=e=>{const t=e.trim();if(!/^\d+$/.test(t))return{ok:!1,message:le};const a=Number(t);return a<1||a>ls?{ok:!1,message:le}:{ok:!0,limit:a}},Se=e=>e.calls>=e.dailyLimit,ds=(e,t)=>{const{cost:a}=e;if(a.state==="Priced"){const i=new Intl.NumberFormat("en",{style:"currency",currency:a.currency,maximumFractionDigits:2});return a.amount>0&&a.amount<.01?`under ${i.format(.01)}`:a.amount===0?i.format(0):`about ${i.format(a.amount)}`}return t?.group==="Local"?"no price, self-hosted":"no price"},Ie=e=>Le(e,{hour:"2-digit",minute:"2-digit",timeZoneName:"shortOffset"}),Y=e=>{be(e)&&he()},Ce=e=>t=>{e.setQueryData(pe().queryKey,t)},us=()=>{const e=me({...pe(),meta:Ze}),t=e.isError&&be(e.error);return l.useEffect(()=>{t&&he()},[t]),{...e,signedOut:t}},W=()=>{const e=xe();return Q({...Fe(),meta:X,onSuccess:Ce(e),onError:Y})},fs=()=>{const e=xe();return Q({...Me(),meta:X,onSuccess:Ce(e),onError:Y})},ms=()=>Q({...Te(),meta:X,onError:Y});function w({failure:e,onRetry:t}){const a=Ve(e.error);return s.jsxs(K,{tone:"danger",variant:"soft",children:[s.jsx("p",{className:"font-medium",children:e.title}),s.jsx("p",{className:"mt-0.5 break-words text-fg-muted",children:a}),s.jsxs("p",{className:"flex flex-wrap items-center gap-x-4",children:[t&&s.jsx(S,{variant:"secondary",className:"min-h-11",onClick:t,children:"Retry"}),s.jsx(ye,{href:Ne(e.title,a)})]})]})}function P({id:e,label:t,hint:a,error:i,children:n}){return s.jsxs("div",{children:[s.jsx(De,{htmlFor:e,children:t}),n,i&&s.jsx("p",{id:`${e}-error`,className:"mt-1 text-xs text-danger",children:i}),a&&s.jsx("p",{id:`${e}-hint`,className:"mt-1 text-xs text-fg-subtle",children:a})]})}const R=(e,t,a)=>[a?`${e}-error`:"",t?`${e}-hint`:""].filter(Boolean).join(" ")||void 0;function ps({settings:e,inputRef:t,onAnnounce:a}){const i=W(),[n,o]=l.useState(()=>`${e.dailyLimit}`),[d,c]=l.useState(void 0),[f,m]=l.useState(null),h=l.useId(),u=`${h}-limit`,[b]=e.usage,x=b?`Counts reset at ${Ie(b.resetsAt)}. `:"",v=()=>{if(i.isPending)return;const y=cs(n);if(!y.ok){c(y.message);return}m(null),i.mutate({body:{classificationDailyLimit:y.limit}},{onSuccess:()=>a("Saved"),onError:U=>m({title:"The daily limit was not saved",error:U})})};return s.jsxs("section",{"aria-labelledby":`${h}-title`,className:"space-y-4",children:[s.jsx("h2",{id:`${h}-title`,className:"text-xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Daily limit"}),s.jsx(P,{id:u,label:"Calls per account per day",hint:A(`${x}Past the limit, that account's new mail uses built-in rules.`,e.sources.dailyLimit),error:d,children:s.jsx(q,{id:u,ref:t,className:"h-11",inputMode:"numeric",value:n,autoComplete:"off","aria-invalid":d!==void 0,"aria-describedby":R(u,!0,d!==void 0),onChange:y=>{o(y.target.value),c(void 0),a("")},onKeyDown:y=>{y.key==="Enter"&&v()}})}),s.jsx(S,{variant:"primary",className:"min-h-11","aria-disabled":i.isPending,"aria-busy":i.isPending,onClick:v,children:i.isPending?"Saving…":"Save limit"}),f&&s.jsx(w,{failure:f})]})}const hs={ApiKey:"Replace key",Model:"Fix the model",BaseUrl:"Fix the base URL"};function xs({result:e,presetLabel:t,onFix:a,shown:i}){if(e.state==="Passed")return s.jsxs(K,{tone:"success",variant:"soft",children:[s.jsxs("p",{className:"font-medium",children:["Test passed in ",e.latencyMs," ms"]}),s.jsxs("p",{className:"mt-0.5 text-fg-muted",children:["Sample message labelled ",e.label,","," ",Math.round(e.confidence*100),"% confident."]})]});const n=rs(e),o=e.field;return s.jsxs(K,{tone:"danger",variant:"soft",children:[s.jsx("p",{className:"font-medium",children:n}),s.jsxs("p",{className:"mt-0.5 break-words text-fg-muted",children:[e.fix," Nothing changed: classification stays as it was."]}),s.jsxs("p",{className:"flex flex-wrap items-center gap-x-4",children:[o!==void 0&&i[o]&&s.jsx("button",{type:"button",onClick:()=>a(o),className:"inline-flex min-h-11 items-center font-medium text-accent hover:underline",children:hs[o]}),s.jsx(ye,{href:Ne(`Test of ${t} failed`,`${n}. ${e.kind}. ${e.fix}`)})]})]})}function ys({preset:e,settings:t,onAnnounce:a}){const i=W(),n=ms(),[o,d]=l.useState(()=>ze(e,t)),[c,f]=l.useState(null),[m,h]=l.useState(null),[u,b]=l.useState(!1),[x,v]=l.useState(null),[y,U]=l.useState(null),p=l.useRef(null),j=l.useRef(null),Z=l.useRef(null),z=l.useRef(null),E=l.useId(),L=`${E}-model`,B=`${E}-base-url`,F=`${E}-key`;l.useEffect(()=>{if(!y)return;({Model:p,BaseUrl:j,ApiKey:Z,Replace:z})[y.target].current?.focus()},[y]);const M=ge(t,e.presetId),J=M?.apiKey??N.Default,T=e.needsKey&&J!==N.Default,ee=J===N.Deployment,we=e.needsKey&&(!T||u),ke={ApiKey:e.needsKey,Model:!0,BaseUrl:!0},I=r=>c?.field===r?c.message:void 0,C=r=>I(r)!==void 0||m?.state==="Failed"&&m.field===r,$=r=>U({target:r}),D=(r,H)=>{d(g=>({...g,...H})),h(g=>g?.state==="Passed"?null:g),f(g=>g?.field===r?null:g),a("")},se=()=>{b(!0),$("ApiKey")},te=()=>{b(!1),d(r=>({...r,apiKey:""})),f(r=>r?.field==="ApiKey"?null:r),$("Replace")},O=r=>{if(r==="ApiKey"&&T){se();return}$(r)},Ue=()=>{const r=is(o,e,t);if(!r.ok){f({field:r.field,message:r.message}),O(r.field);return}v(null);const H=u;i.mutate({body:r.body},{onSuccess:()=>{d(g=>({...g,apiKey:""})),b(!1),f(null),a("Saved"),H&&$("Replace")},onError:g=>{if(ts(g)){f({field:"ApiKey",message:je}),O("ApiKey");return}v({title:`${e.label} was not saved`,error:g})}})},Pe=()=>{n.isPending||(h(null),v(null),a(""),n.mutate({body:{presetId:e.presetId,model:o.model.trim(),baseUrl:o.baseUrl.trim(),apiKey:o.apiKey.trim()}},{onSuccess:h,onError:r=>v({title:`The test of ${e.label} did not run`,error:r})}))},ae=V(t,e.presetId,"model")??e.defaultModel,Re=V(t,e.presetId,"baseUrl")??e.defaultBaseUrl??"http://localhost:11434/v1",ie=I("ApiKey");return s.jsxs(s.Fragment,{children:[s.jsx(P,{id:L,label:"Model",hint:A(`Empty uses ${ae}.`,M?.model),error:I("Model"),children:s.jsx(q,{id:L,ref:p,className:"h-11",value:o.model,placeholder:ae,autoComplete:"off",spellCheck:!1,"aria-invalid":C("Model"),"aria-describedby":R(L,!0,I("Model")!==void 0),onChange:r=>D("Model",{model:r.target.value})})}),s.jsx(P,{id:B,label:"Base URL",hint:A("Remit's server calls this URL.",M?.baseUrl),error:I("BaseUrl"),children:s.jsx(q,{id:B,ref:j,className:"h-11",type:"url",inputMode:"url",value:o.baseUrl,placeholder:Re,autoComplete:"off",spellCheck:!1,required:ve(e),"aria-invalid":C("BaseUrl"),"aria-describedby":R(B,!0,I("BaseUrl")!==void 0),onChange:r=>D("BaseUrl",{baseUrl:r.target.value})})}),T&&!u&&s.jsxs("div",{children:[s.jsx("p",{className:"mb-1 text-xs font-medium text-fg-muted",children:"API key"}),s.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-2",children:[ee?s.jsx("span",{className:C("ApiKey")?"text-sm text-danger":"text-sm text-fg-muted",children:"provided by the deployment"}):s.jsx("span",{className:C("ApiKey")?"text-sm text-danger":"text-sm text-fg",children:"set"}),s.jsx("span",{className:"flex-1"}),s.jsx(S,{ref:z,variant:"secondary",className:"min-h-11","aria-invalid":C("ApiKey"),onClick:se,children:ee?"Use your own key":"Replace"})]})]}),we&&s.jsx(P,{id:F,label:u?"New API key":"API key",hint:u?"The key in use stays until you press Save.":void 0,error:ie,children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Oe,{id:F,ref:Z,className:"h-11 flex-1",value:o.apiKey,placeholder:u?"Paste the new key":"Paste the key",autoComplete:"off",spellCheck:!1,"aria-invalid":C("ApiKey"),"aria-describedby":R(F,u,ie!==void 0),onChange:r=>D("ApiKey",{apiKey:r.target.value}),onKeyDown:r=>{r.key==="Escape"&&u&&(r.preventDefault(),r.stopPropagation(),te())}}),u&&s.jsx(S,{variant:"ghost",className:"min-h-11",onClick:te,children:"Cancel"})]})}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[s.jsx(S,{variant:"primary",className:"min-h-11","aria-disabled":i.isPending,onClick:()=>{i.isPending||Ue()},children:i.isPending?"Saving…":"Save"}),s.jsx(S,{variant:"secondary",className:"min-h-11","aria-disabled":n.isPending,"aria-busy":n.isPending,onClick:Pe,children:n.isPending?"Testing…":"Test connection"})]}),s.jsx("p",{"aria-live":"polite",className:"text-sm text-fg-muted empty:hidden",children:n.isPending?`Sending one sample message to ${e.label}`:""}),m&&s.jsx(xs,{result:m,presetLabel:e.label,onFix:O,shown:ke}),x&&s.jsx(w,{failure:x})]})}function bs({presets:e,settings:t,onAnnounce:a}){const[i,n]=l.useState(()=>G(t).presetId),o=fs(),[d,c]=l.useState(!1),[f,m]=l.useState(0),[h,u]=l.useState(null),b=l.useId(),x=e.find(p=>p.presetId===i),v=ns(t,i,e),y=t.state==="Configured"&&t.enabled,U=()=>{u(null),o.mutate({},{onSuccess:p=>{c(!1),n(G(p.classification).presetId),m(j=>j+1)},onError:p=>{c(!1),u({title:"The provider settings were not cleared",error:p})}})};return s.jsxs("section",{className:"space-y-4",children:[s.jsxs("div",{className:"flex min-h-11 items-center gap-3",children:[s.jsx("h2",{className:"flex-1 text-xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Provider"}),Je(t)&&s.jsx(S,{variant:"secondary",className:"min-h-11",onClick:()=>c(!0),children:"Clear"})]}),h&&s.jsx(w,{failure:h}),s.jsx(P,{id:b,label:"Provider",hint:x?os(x):void 0,children:s.jsxs(Ge,{id:b,className:"h-11",value:i??"",onChange:p=>n(e.find(j=>j.presetId===p.target.value)?.presetId),"aria-describedby":R(b,x!==void 0,!1),children:[s.jsx("option",{value:"",disabled:!0,children:"Choose a provider"}),ss(e).map(p=>s.jsx("optgroup",{label:p.label,children:p.presets.map(j=>s.jsx("option",{value:j.presetId,children:j.label},j.presetId))},p.group))]})}),v&&s.jsxs("p",{className:"text-sm text-warning",children:["Saving switches from ",v.label,k(t).sources?.apiKey===N.Saved?" and deletes its saved key.":"."]}),x&&s.jsx(ys,{preset:x,settings:t,onAnnounce:a},`${x.presetId}-${f}`),s.jsx(Qe,{isOpen:d,title:"Clear the provider settings?",description:y?"Classification is on. Clearing the provider switches it off, and new mail goes back to built-in rules. Every field returns to the deployment default.":"Clearing the provider returns every field to the deployment default.",confirmLabel:"Clear",destructive:!0,isBusy:o.isPending,onConfirm:U,onCancel:()=>c(!1)})]})}const ce="Mail classification settings did not load",de={[ne.NoBaseUrl]:"a base URL",[ne.NoApiKey]:"an API key"},gs=e=>{if(e.state==="NotConfigured")return"Save a provider below first. Until then, built-in rules label your mail.";if(e.state==="Unrunnable")return"The provider cannot run yet. Built-in rules label your mail.";const t=e.enabled?"New mail goes to the model. A failed call falls back to built-in rules.":"Provider saved. Built-in rules label your mail until you switch this on.";return A(t,e.sources.enabled)};function vs({settings:e}){return s.jsxs(K,{tone:"warning",variant:"soft",children:[s.jsxs("p",{className:"font-medium",children:["Classification cannot run without ",de[e.reason]]}),s.jsxs("p",{className:"mt-0.5 text-fg-muted",children:["Add ",de[e.reason]," below and save. Until then, built-in rules label your mail."]})]})}const js=e=>t=>{const a=e.find(i=>i.accountId===t);return a?.displayName?.trim()||a?.email||t};function Ns({on:e,capped:t}){return e?t?s.jsx(_,{tone:"warning",dot:!0,children:"cap reached"}):s.jsx(_,{tone:"positive",dot:!0,children:"on"}):s.jsx(_,{dot:!0,children:"off"})}function Ss({usage:e,preset:t,nameOf:a}){return s.jsx("dl",{className:"space-y-2",children:e.map(i=>s.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3",children:[s.jsx("dt",{className:"min-w-0 truncate text-sm text-fg",children:a(i.accountId)}),s.jsxs("dd",{className:"text-right text-sm text-fg-muted",children:[s.jsxs("span",{className:"text-fg",children:[i.calls," / ",i.dailyLimit," calls"]})," ",s.jsxs("span",{className:"text-xs",children:[ds(i,t),Se(i)&&s.jsx("span",{className:"text-warning",children:" · limit reached"})]})]})]},i.accountId))})}function Is({first:e,capped:t,nameOf:a,onRaiseLimit:i}){const n=new Intl.ListFormat("en",{type:"conjunction"}).format(t.map(o=>a(o.accountId)));return s.jsxs(K,{tone:"warning",variant:"soft",children:[s.jsxs("p",{className:"font-medium",children:[n," reached the daily limit of ",e.dailyLimit," calls"]}),s.jsxs("p",{className:"mt-0.5 text-fg-muted",children:[t.length===1?"Its":"Their"," new mail uses built-in rules until ",Ie(e.resetsAt),"."]}),s.jsx(S,{variant:"secondary",className:"mt-2 min-h-11",onClick:i,children:"Raise the limit"})]})}function Cs({settings:e,presets:t,nameOf:a,onRaiseLimit:i}){const n=W(),[o,d]=l.useState(null),c=l.useId(),f=e.state==="Configured",m=f&&e.enabled,h=m?e.usage.filter(Se):[],[u]=h,b=()=>{d(null),n.mutate({body:{classificationEnabled:!m}},{onError:d})};return s.jsxs("section",{"aria-labelledby":`${c}-title`,className:"space-y-3",children:[s.jsx("h2",{id:`${c}-title`,className:"text-xs font-semibold uppercase tracking-wider text-fg-subtle",children:"Status"}),s.jsxs("div",{className:"flex min-h-11 items-center gap-3",children:[s.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[s.jsx("span",{id:`${c}-label`,className:"text-sm text-fg",children:"Use the model"}),s.jsx("span",{id:`${c}-note`,className:"text-xs text-fg-subtle",children:gs(e)})]}),s.jsx(Ns,{on:m,capped:u!==void 0}),s.jsx(Xe,{checked:m,"aria-labelledby":`${c}-label`,"aria-describedby":`${c}-note`,"aria-disabled":!f||n.isPending,"aria-busy":n.isPending,onToggle:b})]}),e.state==="Unrunnable"&&s.jsx(vs,{settings:e}),u&&s.jsx(Is,{first:u,capped:h,nameOf:a,onRaiseLimit:i}),f&&s.jsx(Ss,{usage:e.usage,preset:t.find(x=>x.presetId===e.presetId),nameOf:a}),o!==null&&s.jsx(w,{failure:{title:m?"Classification was not switched off":"Classification was not switched on",error:o}})]})}function ue(){return s.jsx("div",{className:"h-48 animate-pulse rounded-sm border border-line bg-surface","aria-busy":"true","aria-label":"Loading mail classification settings"})}function ws(){const e=us(),t=me({...He(),staleTime:1/0}),[a,i]=l.useState(""),n=l.useRef(null),o=()=>{const f=n.current;f&&(f.focus(),f.select(),f.scrollIntoView({block:"center"}))};if(e.isPending)return s.jsx(ue,{});if(e.signedOut)return null;if(e.isError)return s.jsx(w,{failure:{title:ce,error:e.error},onRetry:()=>{e.refetch()}});if(t.isPending)return s.jsx(ue,{});if(t.isError)return s.jsx(w,{failure:{title:ce,error:t.error},onRetry:()=>{t.refetch()}});const{classification:d,classificationPresets:c}=e.data;return s.jsxs("div",{className:"max-w-xl space-y-8",children:[s.jsx(Cs,{settings:d,presets:c,nameOf:js(t.data.accounts),onRaiseLimit:o}),s.jsx(bs,{presets:c,settings:d,onAnnounce:i},d.state),d.state==="Configured"&&s.jsx(ps,{settings:d,inputRef:n,onAnnounce:i}),s.jsx("p",{"aria-live":"polite",className:"text-sm text-fg-muted",children:a})]})}const ks=s.jsxs("div",{className:"space-y-3",children:[s.jsx("p",{children:"A model labels new mail: spam and phishing, priority, personal, and a category. With classification off, or when a call fails, the built-in rules label it."}),s.jsx("p",{children:"The API key is stored encrypted on the server and never sent back to the browser. Test connection sends one built-in sample message, with the form as it stands, and changes nothing."})]});function Hs(){const e=_e(),t=qe(),a=Ye(),[i,n]=l.useState(!0);return s.jsx(We,{items:t,activeId:"classification",title:"Mail classification",description:"Label new mail with a model. Mail already in your folders keeps its labels.",help:ks,helpOpen:i,onToggleHelp:()=>n(o=>!o),onSelect:a,onBackToMail:()=>{e({to:"/mail"})},children:s.jsx(ws,{})})}export{Hs as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-ZjHfjPwG.js";import"./index-CmOAOx38.js";import"./index-CpNGDsVT.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";const x=o;export{x as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-ZjHfjPwG.js";import"./index-CmOAOx38.js";import"./index-CpNGDsVT.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";const x=o;export{x as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-ZjHfjPwG.js";import"./index-CmOAOx38.js";import"./index-CpNGDsVT.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";const x=o;export{x as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-ZjHfjPwG.js";import"./index-CmOAOx38.js";import"./index-CpNGDsVT.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";const x=o;export{x as component};
|
package/assets/edit-AzkegsLe.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e_ as o,j as r}from"./index-CmOAOx38.js";import{a as i}from"./CalendarEventEditor-9IlkB0YL.js";import"./draft-OCADnKfj.js";import"./agenda-time-9aN7iZnW.js";import"./calendar-guests-DivZiKa8.js";import"./calendar-event-popup-By-Wnzww.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./ErrorState-BmGgdm41.js";import"./useQueries-DeYJYa06.js";import"./pencil-C3mJE9QO.js";import"./circle-question-mark-Dt4vUSbc.js";import"./useCalendarData-QcaY0Cgc.js";import"./useCalendarTasks-D9R56VL3.js";import"./useCalendarScheduling-BXMaoFja.js";import"./useDebouncedValue-M5m0kaQD.js";import"./calendar-format-BwCpz-JZ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./calendar-CmjULz3U.js";import"./reply-BBXEHuds.js";import"./CalendarQuickCreate-By7rnSuh.js";import"./CalendarSession-CjfkNnKN.js";import"./calendar-event-sidebar-DqoVNv2n.js";import"./select-CpLCf4_c.js";import"./chevron-down-CuQovlNy.js";import"./confirm-dialog-C8W1RcOV.js";function q(){const{calendarObjectId:t}=o.useParams();return r.jsx(i,{calendarObjectId:t})}export{q as component};
|
package/assets/edit-qD-xofN1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f1 as o,j as i}from"./index-CmOAOx38.js";import{a as m}from"./CalendarEventEditor-9IlkB0YL.js";import"./draft-OCADnKfj.js";import"./agenda-time-9aN7iZnW.js";import"./calendar-guests-DivZiKa8.js";import"./calendar-event-popup-By-Wnzww.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./ErrorState-BmGgdm41.js";import"./useQueries-DeYJYa06.js";import"./pencil-C3mJE9QO.js";import"./circle-question-mark-Dt4vUSbc.js";import"./useCalendarData-QcaY0Cgc.js";import"./useCalendarTasks-D9R56VL3.js";import"./useCalendarScheduling-BXMaoFja.js";import"./useDebouncedValue-M5m0kaQD.js";import"./calendar-format-BwCpz-JZ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./calendar-CmjULz3U.js";import"./reply-BBXEHuds.js";import"./CalendarQuickCreate-By7rnSuh.js";import"./CalendarSession-CjfkNnKN.js";import"./calendar-event-sidebar-DqoVNv2n.js";import"./select-CpLCf4_c.js";import"./chevron-down-CuQovlNy.js";import"./confirm-dialog-C8W1RcOV.js";function y(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return i.jsx(m,{calendarObjectId:r,recurrenceId:t})}export{y as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ba as ee,j as e,L as B,ad as oe,p as ce,bb as de,bc as me,r as m,ao as H,B as F,bd as ue,be as J,bf as xe,bg as pe,aP as fe,e as he,f as ge,bh as be,bi as je,bj as ve,aB as Ne,T as ye,aw as te,ax as se,a as ae,U as Ce,bk as Se,W as we,Y as ke,bl as Fe,bm as Ie,u as Me,ac as Re,c as Ee}from"./index-CmOAOx38.js";import{E as K,f as Oe}from"./ErrorState-BmGgdm41.js";import{u as De}from"./useMediaQuery-uf6mjwPE.js";import{u as Le,a as Ae}from"./useLabels-iMMBj-Ba.js";import{C as Te,A as ze,a as $e,b as Pe,N as E,p as Be,u as Ue,r as _e,c as ne,S as Q,d as He,n as Ke,f as qe,e as Je,g as Qe,h as Ve,i as Ge,j as We}from"./useFilters-BybioZf1.js";import{L as ie}from"./label-chip-OfJL52HU.js";import{S as V}from"./segmented-control-CMCgmRqX.js";import{S as Ye}from"./select-CpLCf4_c.js";import{C as q}from"./circle-check-H4iBGaFc.js";import{B as Xe}from"./bottom-sheet-CBxZPIwF.js";import{B as Ze}from"./badge-DXTfgcBt.js";import{a as et}from"./sections-40tp2E7G.js";import{S as tt}from"./settings-screen-Bx-jomcC.js";import"./suggest-list-gj7TdgNf.js";import"./plus-B9Kjb5MA.js";import"./chevron-down-CuQovlNy.js";import"./avatar-DZNFp-l_.js";import"./chevron-left-CO-V7AVZ.js";import"./menu-g1nN4c6m.js";import"./circle-question-mark-Dt4vUSbc.js";function st({preview:t}){const s=ee(t);if(t.status==="loading")return e.jsxs("p",{className:"flex items-center gap-2 text-xs text-fg-muted","aria-live":"polite",children:[e.jsx(B,{className:"size-3.5 animate-spin","aria-hidden":"true"}),s]});if(t.status==="error")return e.jsxs("p",{className:"flex items-center gap-2 text-xs text-danger",role:"alert",children:[e.jsx(oe,{className:"size-3.5 shrink-0","aria-hidden":"true"}),s]});const a=t.count===0;return e.jsxs("p",{className:ce("flex items-center gap-2 text-xs",t.stale?"text-fg-subtle":a?"text-fg-muted":"font-medium text-fg"),"aria-live":"polite",children:[t.stale&&e.jsx(B,{className:"size-3.5 animate-spin","aria-hidden":"true"}),s]})}const at=[{value:"all",label:J("all")},{value:"any",label:J("any")}],G=[{value:"once",label:"Just once"},{value:"standing",label:"Keep doing this"},{value:"until",label:"Until a date"}],W="__filter_create_label__";function nt({folders:t,value:s,delimiter:a="/",onChangeMove:n,onCreateFolder:u}){const[x,j]=m.useState(!1),[f,h]=m.useState(),[o,g]=m.useState([]),S=m.useMemo(()=>{const v=new Set(t.map(p=>p.id));return[...t,...o.filter(p=>!v.has(p.id))]},[t,o]),l=m.useMemo(()=>{if(u)return async(v,p,r)=>{const d=await u(v,p,r);return g(w=>w.some(M=>M.id===d.id)?w:[...w,d]),d}},[u]),k=S.find(v=>v.id===s),y=S.find(v=>v.id===f),b=v=>{const p=pe(v.path,a);return p.map((r,d)=>{const w=p.slice(0,d+1).join(a);return S.find(M=>M.path===w)?.label??r}).join(" / ")},C=()=>{j(!1),h(void 0)};return x?e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"flex h-72 min-h-0 overflow-hidden rounded-md border border-line bg-surface",children:e.jsx(xe,{folders:S,selectedId:f,delimiter:a,onSelect:h,onCreateFolder:l,onCancel:C,labels:{createPending:"Waiting for the mail server to confirm the folder…"}})}),y?e.jsx(F,{variant:"primary",onClick:()=>{n?.(y.id),C()},className:"w-full",children:e.jsx("span",{className:"truncate",children:`Move matches to ${b(y)}`})}):e.jsx("p",{className:"text-2xs text-fg-subtle",children:"Tap a folder to open it, or make a new one where you want it."}),e.jsx(F,{variant:"ghost",size:"sm",onClick:C,className:"w-full",children:"Cancel"})]}):e.jsxs("div",{className:"rounded-md border border-line bg-surface-sunken p-3",children:[e.jsx("p",{className:"text-sm font-medium text-fg",children:k?b(k):"No folder yet"}),e.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-3",children:[e.jsx(F,{variant:"ghost",size:"sm",className:"px-0",onClick:()=>{h(s),j(!0)},children:"Choose a folder"}),k&&e.jsx(F,{variant:"ghost",size:"sm",className:"px-0",onClick:()=>n?.(""),children:"Don't move matches"})]})]})}function it({labels:t,value:s,onChangeLabel:a,onCreateLabel:n}){const[u,x]=m.useState(!1),[j,f]=m.useState(""),[h,o]=m.useState(!1),[g,S]=m.useState(),[l,k]=m.useState([]),y=m.useMemo(()=>{const r=new Set(t.map(d=>d.id));return[...t,...l.filter(d=>!r.has(d.id))]},[t,l]),b=y.find(r=>r.id===s),C=r=>{if(r===W){S(void 0),x(!0);return}a?.(r)},v=()=>{if(!n)return;const r=j.trim();r!==""&&(o(!0),S(void 0),n(r).then(d=>{k(w=>w.some(M=>M.id===d.id)?w:[...w,d]),a?.(d.id),x(!1),f(""),o(!1)}).catch(d=>{S(d instanceof Error?d.message:"Couldn't create that label. Please try again."),o(!1)}))},p=()=>{x(!1),f(""),S(void 0)};return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(Ye,{"aria-label":"Label to apply",value:s,onChange:r=>C(r.target.value),className:"flex-1",children:[e.jsx("option",{value:"",children:"No label"}),y.map(r=>e.jsx("option",{value:r.id,children:r.name},r.id)),n&&e.jsx("option",{value:W,children:"+ New label…"})]}),b&&e.jsx(ie,{label:{...b,labelId:b.id}})]}),u&&e.jsxs("div",{className:"space-y-2 rounded-md border border-line bg-surface-sunken p-2",children:[e.jsx(H,{value:j,onChange:r=>f(r.target.value),placeholder:"Label name","aria-label":"New label name",disabled:h,autoFocus:!0,onKeyDown:r=>{r.key==="Enter"&&(r.preventDefault(),v()),r.key==="Escape"&&(r.preventDefault(),p())}}),g&&e.jsx("p",{className:"text-2xs text-danger",role:"alert",children:g}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(F,{variant:"primary",size:"sm",onClick:v,disabled:h||j.trim()==="",children:h?"Creating…":"Create label"}),e.jsx(F,{variant:"ghost",size:"sm",onClick:p,disabled:h,children:"Cancel"})]})]})]})}function rt({rule:t,folders:s,delimiter:a,labels:n=[],preview:u,notice:x,clauseFields:j,persisted:f=!1,clauseSuggestions:h,clauseEdit:o,onStartAddClause:g,onStartEditClause:S,onRemoveClause:l,onChangeDraftField:k,onChangeDraftValue:y,onSubmitClause:b,onCancelClause:C,onChangeMatchOperator:v,onChangeMove:p,onCreateFolder:r,onChangeLabel:d,onCreateLabel:w,onChangeScope:M,onChangeName:O,onChangeUntil:L,onCommit:D,onCancel:z}){const A=t.clauses.length>=2,$=de(t.matchOperator),N=me(t,u),T=t.scope==="standing"||t.scope==="until",P=f?G.filter(I=>I.value!=="once"):G;return e.jsxs("div",{className:"flex min-h-0 flex-col",children:[e.jsxs("div",{className:"border-b border-line px-5 py-3",children:[e.jsx("h2",{className:"text-sm font-semibold text-fg",children:"Filter rule"}),e.jsx("p",{className:"mt-0.5 text-xs text-fg-muted",children:"These chips are the whole rule — what you see is what applies."})]}),e.jsxs("div",{className:"min-h-0 flex-1 space-y-5 overflow-y-auto px-5 py-4",children:[x,e.jsxs("section",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[t.clauses.map((I,U)=>e.jsxs(m.Fragment,{children:[U>0&&e.jsx("span",{className:"text-2xs font-medium uppercase text-fg-subtle",children:$}),e.jsx(Te,{clause:I,onEdit:()=>S?.(I.id),onRemove:()=>l?.(I.id)})]},I.id)),!o&&e.jsx(ze,{label:"Add clause",onClick:g})]}),o&&e.jsx($e,{draft:o.draft,mode:o.mode,fields:j,suggestions:h,onChangeField:k,onChangeValue:y,onSubmit:b,onCancel:C}),A&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-xs text-fg-muted",children:"Match"}),e.jsx(V,{name:"match-operator",size:"sm","aria-label":"Match operator",options:at,value:t.matchOperator,onChange:I=>v?.(I)})]})]}),e.jsxs("section",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-medium text-fg-muted",children:"Move matches to"}),e.jsx(nt,{folders:s,value:t.moveMailboxId,delimiter:a,onChangeMove:p,onCreateFolder:r})]}),e.jsxs("section",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-medium text-fg-muted",children:"Apply a label"}),e.jsx(it,{labels:n,value:t.labelId??"",onChangeLabel:d,onCreateLabel:w})]}),e.jsxs("section",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-medium text-fg-muted",children:"How long"}),e.jsx(V,{name:"rule-scope",size:"sm","aria-label":"Rule scope",options:P,value:t.scope,onChange:I=>M?.(I)}),T&&e.jsx(H,{value:t.name??"",onChange:I=>O?.(I.target.value),placeholder:"Name this rule (e.g. Receipts)","aria-label":"Rule name",className:"w-full"}),t.scope==="until"&&e.jsxs("div",{className:"flex items-center gap-2 text-xs text-fg-muted",children:[e.jsx("span",{children:"Until"}),e.jsx(H,{type:"date",value:t.until??"",onChange:I=>L?.(I.target.value),"aria-label":"Expiry date",className:"flex-1"})]})]}),e.jsx("div",{className:"border-t border-line pt-3",children:e.jsx(st,{preview:u})})]}),e.jsxs("div",{className:"space-y-2 border-t border-line px-5 py-3",children:[N&&e.jsx("p",{className:"text-xs text-fg-subtle",role:"status",children:N}),e.jsx(F,{variant:"primary",onClick:D,disabled:N!==void 0,className:"w-full",children:ue(t.scope)}),e.jsx(F,{variant:"ghost",onClick:z,className:"w-full",children:"Not now"})]})]})}const lt=t=>{const s=fe(t);return s!==void 0&&s>=400&&s<500};function Y({title:t,error:s,onRetry:a,reportHref:n}){return e.jsxs("div",{className:"space-y-1",children:[e.jsx(K,{variant:"inline",title:t,error:s,onRetry:lt(s)?void 0:a}),e.jsx("a",{href:n(Oe(s)),target:"_blank",rel:"noreferrer",className:"text-xs text-accent hover:underline",children:"Report an issue"})]})}const ot=(t,s)=>{const a=he(),n=ge({...je(),onSuccess:()=>{t&&(a.invalidateQueries({queryKey:Pe(t)}),s&&a.invalidateQueries({queryKey:be({path:{accountId:t,filterId:s}})}))}}),{mutate:u}=n;return{updateFilter:m.useCallback(j=>{!t||!s||u({path:{accountId:t,filterId:s},body:j})},[t,s,u]),isPending:n.isPending,isSuccess:n.isSuccess,isError:n.isError,error:n.error,reset:n.reset}},ct=t=>({clauses:t.literalClauses.map((a,n)=>({id:`clause-${n}`,field:a.field,value:a.value})),matchOperator:t.matchOperator==="And"?"all":"any",moveMailboxId:t.actionMailboxId!==E?t.actionMailboxId:void 0,labelId:t.actionLabelId!==E?t.actionLabelId:void 0,scope:t.scope==="Temporary"?"until":"standing",until:t.scope==="Temporary"?dt(t.expiresAt):void 0,name:t.name}),dt=t=>{if(!t)return"";const s=Date.parse(t);if(Number.isNaN(s))return"";const a=new Date(s),n=u=>String(u).padStart(2,"0");return`${a.getFullYear()}-${n(a.getMonth()+1)}-${n(a.getDate())}`},X=t=>JSON.stringify({clauses:t.clauses.map(s=>[s.field,s.value]),operator:t.matchOperator,move:t.moveMailboxId??null,label:t.labelId??null}),re=(t,s)=>X(t)!==X(s),Z=t=>JSON.stringify({scope:t.scope==="until"?"until":"standing",until:t.scope==="until"?t.until??"":""}),le=(t,s)=>Z(t)!==Z(s),mt=(t,s)=>{const a={},n=(t.name??"").trim();return n!==(s.name??"").trim()&&(a.name=n),re(t,s)&&(a.matchOperator=t.matchOperator==="all"?"And":"Or",a.literalClauses=t.clauses.map(u=>({field:u.field,value:u.value})),a.actionMailboxId=t.moveMailboxId??E,a.actionLabelId=t.labelId??E),le(t,s)&&(a.scope=t.scope==="until"?"Temporary":"Standing",t.scope==="until"&&(a.expiresAt=Be(t.until??""))),a};function ut({accountId:t,filter:s,folders:a,delimiter:n,labels:u,onClose:x}){const j=m.useMemo(()=>ct(s),[s]),[f,h]=m.useState(j),[o,g]=m.useState(),[S,l]=m.useState(!1),k=m.useRef(0),{count:y}=Ue(t,_e(f)),b=ot(t,s.filterId),C=ne(t),{createFolderIn:v}=ve(t),{createLabel:p}=Le(t),r=async c=>{const i=await p(c);return{id:i.labelId,name:i.name,color:i.color}},d=()=>g({mode:"add",draft:{field:Q[0],value:""}}),w=c=>{const i=f.clauses.find(R=>R.id===c);i&&g({mode:"edit",clauseId:c,draft:{field:i.field,value:i.value}})},M=c=>g(i=>i&&{...i,draft:{...i.draft,field:c}}),O=c=>g(i=>i&&{...i,draft:{...i.draft,value:c}}),L=()=>{if(!o)return;const c=o.draft.field,i=Ke(c,o.draft.value);i!==""&&(h(R=>o.mode==="edit"&&o.clauseId?{...R,clauses:R.clauses.map(_=>_.id===o.clauseId?{id:_.id,field:c,value:i}:_)}:(k.current+=1,{...R,clauses:[...R.clauses,{id:`new-${k.current}`,field:c,value:i}]})),g(void 0))},D=c=>h(i=>({...i,clauses:i.clauses.filter(R=>R.id!==c)})),z=c=>h(i=>({...i,matchOperator:c})),A=c=>h(i=>({...i,moveMailboxId:c||void 0})),$=c=>h(i=>({...i,labelId:c||void 0})),N=c=>h(i=>({...i,name:c})),T=c=>h(i=>({...i,scope:c,until:c==="until"?i.until:void 0})),P=c=>h(i=>({...i,until:c})),I=()=>{const c=re(f,j)||le(f,j),i=mt(f,j);if(Object.keys(i).length===0){x();return}l(c),b.updateFilter(i)},U=()=>C.start(He(f));return C.isStarting||C.isRunning||C.isDone?e.jsx(ht,{progress:C.progress,isDone:C.isDone,onClose:x}):b.isPending?e.jsx(xt,{}):b.isError?e.jsx(gt,{onRetry:b.reset,onClose:x}):b.isSuccess?S?e.jsx(ft,{preview:ee(y),blocked:y.status!=="ready"||y.stale===!0,onReapply:U,onClose:x}):e.jsx(pt,{onClose:x}):e.jsx(rt,{rule:f,folders:a,delimiter:n,labels:u,preview:y,clauseFields:Q,persisted:!0,clauseEdit:o,onStartAddClause:d,onStartEditClause:w,onRemoveClause:D,onChangeDraftField:M,onChangeDraftValue:O,onSubmitClause:L,onCancelClause:()=>g(void 0),onChangeMatchOperator:z,onChangeMove:A,onCreateFolder:v,onChangeLabel:$,onCreateLabel:r,onChangeName:N,onChangeScope:T,onChangeUntil:P,onCommit:I,onCancel:x})}function xt(){return e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-10 text-center",children:[e.jsx(B,{className:"size-8 animate-spin text-accent-2"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"Saving changes…"})]})}function pt({onClose:t}){return e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-8 text-center",children:[e.jsx(q,{className:"size-8 text-positive"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"Filter updated"}),e.jsx(F,{variant:"primary",onClick:t,className:"mt-2",children:"Done"})]})}function ft({preview:t,blocked:s,onReapply:a,onClose:n}){return e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-8 text-center",children:[e.jsx(q,{className:"size-8 text-positive"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"Rule saved"}),e.jsxs("p",{className:"max-w-xs text-xs text-fg-muted",children:["New mail follows the rule automatically. ",t," — move the mail already in your mailbox too?"]}),e.jsxs("div",{className:"mt-2 flex gap-2",children:[e.jsx(F,{variant:"primary",onClick:a,disabled:s,children:"Move existing mail"}),e.jsx(F,{variant:"ghost",onClick:n,children:"Not now"})]})]})}function ht({progress:t,isDone:s,onClose:a}){const n=t.state==="Failed";return e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-8 text-center",children:[s?n?e.jsx("span",{className:"text-sm font-semibold text-danger",children:"Move failed"}):e.jsx(q,{className:"size-8 text-positive"}):e.jsx(B,{className:"size-8 animate-spin text-accent-2"}),!s&&e.jsx("p",{className:"text-sm font-medium text-fg",children:"Moving existing mail…"}),s&&!n&&e.jsxs("div",{className:"text-sm text-fg",children:[e.jsx("p",{className:"font-medium",children:"Done"}),e.jsxs("p",{className:"mt-1 text-xs text-fg-muted",children:[t.appliedCount," of ",t.matchedCount," moved",t.failedCount>0?` · ${t.failedCount} failed`:"","."]})]}),s&&n&&e.jsx("p",{className:"max-w-xs text-xs text-fg-muted",children:t.errorMessage||"Something went wrong. Please try again."}),s&&e.jsx(F,{variant:"primary",onClick:a,className:"mt-2",children:"Done"})]})}function gt({onRetry:t,onClose:s}){return e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-8 text-center",children:[e.jsx("p",{className:"text-sm font-medium text-danger",children:"Couldn't save changes"}),e.jsx("p",{className:"max-w-xs text-xs text-fg-muted",children:"Please try again."}),e.jsxs("div",{className:"mt-2 flex gap-2",children:[e.jsx(F,{variant:"primary",onClick:t,children:"Try again"}),e.jsx(F,{variant:"ghost",onClick:s,children:"Not now"})]})]})}function bt({accountId:t,filter:s,folders:a,delimiter:n,labels:u,onClose:x}){const j=De(),f=e.jsx(ut,{accountId:t,filter:s,folders:a,delimiter:n,labels:u,onClose:x});return j?e.jsx(Ne,{open:!0,onClose:x,title:"Filter rule",children:f}):e.jsx(Xe,{open:!0,onClose:x,label:"Filter rule",dismissLabel:"Dismiss filter rule",children:f})}const jt=t=>{switch(t.kind){case"queuing":case"running":return"Running over the inbox…";case"done":return t.matched===0?"Done. Nothing in the inbox matched.":`Done. Filed ${t.applied} of ${t.matched} matching messages in the inbox.`;case"failed":return}};function vt({filters:t,mailboxName:s,labelById:a,onEdit:n,onDelete:u,deletingFilterId:x,onToggle:j,togglingFilterId:f,onRunNow:h,runFilterId:o,runStatus:g,now:S=Date.now()}){return t.length===0?e.jsx("p",{className:"py-6 text-sm text-fg-muted",children:"No filters yet. Select a few messages in the inbox and choose Organize to make one."}):e.jsx("ul",{className:"divide-y divide-line rounded-md border border-line",children:t.map(l=>{const k=qe(l,S),y=k==="Expired",b=k==="Disabled",C=b?Je(l):void 0,v=l.actionMailboxId!==E?s(l.actionMailboxId):void 0,p=l.actionLabelId!==E?a.get(l.actionLabelId):void 0,r=Qe(l.expiresAt),d=o===l.filterId?g:void 0,w=d?.kind==="queuing"||d?.kind==="running",M=d?jt(d):void 0,O=k==="Active"&&(l.actionMailboxId!==E||l.actionLabelId!==E);return e.jsxs("li",{className:"flex items-start gap-3 px-3 py-2.5",children:[e.jsxs("button",{type:"button",onClick:()=>n(l.filterId),"aria-label":`Edit filter ${l.name}`,className:"min-w-0 flex-1 rounded-sm text-left hover:opacity-80",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:`truncate text-sm font-medium ${y||b?"text-fg-muted":"text-fg"}`,children:l.name}),e.jsx(Ze,{tone:y?"neutral":b?"warning":"positive",dot:!0,children:k})]}),e.jsxs("p",{className:"mt-0.5 text-xs text-fg-subtle",children:[v?`Moves matches to ${v}`:"No move action",l.scope==="Temporary"&&r?y?` · expired ${r}`:` · until ${r}`:l.scope==="Standing"?" · always":""]}),C&&e.jsx("p",{className:"mt-0.5 text-xs text-warning",children:C}),M&&e.jsx("p",{role:"status",className:"mt-0.5 text-xs text-fg-muted",children:M}),p&&e.jsx("div",{className:"mt-1.5 flex flex-wrap gap-1.5",children:e.jsx(ie,{label:{labelId:p.id,name:p.name,color:p.color}})})]}),O&&e.jsx(F,{variant:"ghost",size:"sm",onClick:()=>h(l.filterId),disabled:w,"aria-label":`Run now: filter ${l.name}`,children:w?"Running…":"Run now"}),!y&&e.jsx(F,{variant:"ghost",size:"sm",onClick:()=>j(l.filterId,b),disabled:f===l.filterId,"aria-label":`${b?"Turn on":"Turn off"} filter ${l.name}`,children:b?"Turn on":"Turn off"}),e.jsx(F,{variant:"ghost",size:"sm",icon:e.jsx(ye,{className:"size-4 text-danger"}),onClick:()=>u(l.filterId),disabled:x===l.filterId,"aria-label":`Delete filter ${l.name}`})]},l.filterId)})})}function Nt(t){return te(se({title:`Filter toggle: ${t}`,errorMessage:t}))}function yt(t){return te(se({title:`Filter run now: ${t}`,errorMessage:t}))}const Ct=t=>{if(t.failure)return{kind:"failed",error:t.failure.error};if(t.isStarting)return{kind:"queuing"};if(t.isDone)return t.progress.state==="Failed"?{kind:"failed",error:new Error(t.progress.errorMessage||"The run over the inbox failed.")}:{kind:"done",matched:t.progress.matchedCount,applied:t.progress.appliedCount};if(t.isRunning)return{kind:"running"}},St=e.jsxs("div",{className:"space-y-3",children:[e.jsxs("p",{children:["Filters are the standing rules Organize creates. A"," ",e.jsx("strong",{children:"Standing"})," filter keeps working on new mail; a"," ",e.jsx("strong",{children:"Temporary"})," one stops on its own at the date you picked."]}),e.jsx("p",{children:"An expired filter isn't deleted the instant it lapses — it stays here, marked Expired, so you can see what it did and when it stopped."}),e.jsx("p",{children:"A filter that can't do its job turns itself off and says why, for example when its folder no longer exists. Turn it back on once that is fixed."})]});function wt({account:t}){const s=t.accountId,{filters:a,isPending:n,isError:u,error:x,refetch:j}=Ve(s),{deleteFilter:f,deletingFilterId:h}=Ge(s),o=We(s),g=ne(s),{startForFilter:S}=g,[l,k]=m.useState(),y=m.useCallback(N=>{k(N),S(N)},[S]),b=Ct(g),[C,v]=m.useState(),{data:p}=ae({...Ce({path:{accountId:s}}),staleTime:1/0}),r=Se(),d=m.useMemo(()=>we(t.folderAppointments),[t.folderAppointments]),w=m.useCallback(N=>{const T=p?.items.find(P=>P.mailboxId===N);if(T)return ke(T,d.get(N),r)},[p?.items,d,r]),M=m.useMemo(()=>Fe({mailboxes:p?.items??[],folderAppointments:t.folderAppointments,translator:r}),[p?.items,t.folderAppointments,r]),O=Ie(p?.items??[]),{labels:L}=Ae(s),D=m.useMemo(()=>L.map(N=>({id:N.labelId,name:N.name,color:N.color})),[L]),z=m.useMemo(()=>new Map(D.map(N=>[N.id,N])),[D]),A=a.find(N=>N.filterId===C),$=a.find(N=>N.filterId===l)?.name;return e.jsxs("section",{className:"space-y-2",children:[e.jsx("h2",{className:"text-sm font-semibold text-fg",children:t.email}),A&&e.jsx(bt,{accountId:s,filter:A,folders:M,delimiter:O,labels:D,onClose:()=>v(void 0)}),n?e.jsx("div",{className:"h-16 animate-pulse rounded-md border border-line bg-surface","aria-busy":"true","aria-label":`Loading filters for ${t.email}`}):u?e.jsx(K,{variant:"inline",title:`Couldn't load filters for ${t.email}`,error:x,onRetry:()=>{j()}}):e.jsxs(e.Fragment,{children:[o.isError&&e.jsx(Y,{title:o.enabling?"Couldn't turn the filter on":"Couldn't turn the filter off",error:o.error,onRetry:o.retry,reportHref:Nt}),l&&b?.kind==="failed"&&e.jsx(Y,{title:`Couldn't run ${$??"the filter"} over the inbox`,error:b.error,onRetry:g.failure?.kind==="statusUnreadable"?g.refreshStatus:()=>y(l),reportHref:yt}),e.jsx(vt,{filters:a,mailboxName:w,labelById:z,onEdit:v,onDelete:f,deletingFilterId:h,onToggle:o.toggleFilter,togglingFilterId:o.togglingFilterId,onRunNow:y,runFilterId:l,runStatus:b})]})]})}function Jt(){const t=Me(),s=Re(),a=et(),[n,u]=m.useState(!0),{data:x,isPending:j,isError:f,error:h,refetch:o}=ae(Ee());return e.jsx(tt,{items:s,activeId:"filters",title:"Filters",description:"Standing and temporary rules created by Organize, per account.",help:St,helpOpen:n,onToggleHelp:()=>u(g=>!g),onSelect:a,onBackToMail:()=>{t({to:"/mail"})},children:j?e.jsx("div",{className:"h-24 animate-pulse rounded-sm border border-line bg-surface","aria-busy":"true","aria-label":"Loading accounts"}):f?e.jsx(K,{title:"Couldn't load accounts",error:h,onRetry:()=>{o()}}):x.accounts.length===0?e.jsx("p",{className:"py-12 text-sm text-fg-muted",children:"No accounts configured."}):e.jsx("div",{className:"space-y-8",children:x.accounts.map(g=>e.jsx(wt,{account:g},g.accountId))})})}export{wt as AccountFilters,Jt as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,O as i}from"./index-CmOAOx38.js";import{a as m}from"./MailShell-BO8c-sH6.js";import{F as r}from"./FlaggedPane-kBIob-rC.js";import"./nav-link-Bdv8kjEd.js";import{a as p}from"./search-token-index-e0cXuR4s.js";import"./reply-BBXEHuds.js";import{u as e}from"./search-mirror-CqXcmXWg.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./FullCompose-ZjHfjPwG.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./useMediaQuery-uf6mjwPE.js";import"./chevron-down-CuQovlNy.js";import"./ErrorState-BmGgdm41.js";import"./confirm-dialog-C8W1RcOV.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./roving-focus-h-W142Au.js";import"./useQueries-DeYJYa06.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./label-chip-OfJL52HU.js";import"./MailViewChrome-DfgW3Ikc.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function ao(){const t=p();return e({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{ao as component};
|
package/assets/index-BA_isERD.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,aa as o}from"./index-CmOAOx38.js";const a=()=>t.jsx(o,{to:"/settings/accounts"});export{a as component};
|
package/assets/index-BI3VHL-i.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{M as i}from"./MailboxPane-BRUYtKC7.js";import"./MailViewChrome-DfgW3Ikc.js";import"./search-token-index-e0cXuR4s.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./useQueries-DeYJYa06.js";import"./roving-focus-h-W142Au.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./chevron-down-CuQovlNy.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./refresh-cw-DdZ8vtf2.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./NavMenuButton-CkmJu7iR.js";import"./bottom-sheet-CBxZPIwF.js";import"./circle-question-mark-Dt4vUSbc.js";import"./circle-check-H4iBGaFc.js";function no(){return o.jsx(i.Reading,{})}export{no as component};
|
package/assets/index-C-PJeYPQ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{F as r}from"./FlaggedPane-kBIob-rC.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./reply-BBXEHuds.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./roving-focus-h-W142Au.js";import"./chevron-down-CuQovlNy.js";import"./search-token-index-e0cXuR4s.js";import"./useQueries-DeYJYa06.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./MailViewChrome-DfgW3Ikc.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function $(){return o.jsx(r.Reading,{})}export{$ as component};
|
package/assets/index-CKJI1yyc.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{M as r}from"./MailboxPane-BRUYtKC7.js";import"./MailViewChrome-DfgW3Ikc.js";import"./search-token-index-e0cXuR4s.js";import"./reply-BBXEHuds.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./useQueries-DeYJYa06.js";import"./roving-focus-h-W142Au.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./chevron-down-CuQovlNy.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./refresh-cw-DdZ8vtf2.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./NavMenuButton-CkmJu7iR.js";import"./bottom-sheet-CBxZPIwF.js";import"./circle-question-mark-Dt4vUSbc.js";import"./circle-check-H4iBGaFc.js";function ao(){return o.jsx(r.Reading,{})}export{ao as component};
|
package/assets/index-COXNp0IG.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f0 as t,j as m}from"./index-CmOAOx38.js";import{C as p}from"./CalendarEventPopup-Dgio1io7.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./ErrorState-BmGgdm41.js";import"./useQueries-DeYJYa06.js";import"./useCalendarData-QcaY0Cgc.js";import"./useCalendarTasks-D9R56VL3.js";import"./calendar-format-BwCpz-JZ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./calendar-CmjULz3U.js";import"./reply-BBXEHuds.js";import"./CalendarSession-CjfkNnKN.js";import"./calendar-event-popup-By-Wnzww.js";import"./pencil-C3mJE9QO.js";import"./calendar-guests-DivZiKa8.js";import"./circle-question-mark-Dt4vUSbc.js";import"./confirm-dialog-C8W1RcOV.js";function b(){const{calendarObjectId:r,recurrenceId:o}=t.useParams();return m.jsx(p,{calendarObjectId:r,recurrenceId:o})}export{b as component};
|
package/assets/index-CfV5o-lD.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-CmOAOx38.js";import{B as o}from"./BriefPane-B8ecM3zB.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./reply-BBXEHuds.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./roving-focus-h-W142Au.js";import"./chevron-down-CuQovlNy.js";import"./search-token-index-e0cXuR4s.js";import"./useQueries-DeYJYa06.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./LabelApplyTrigger-OJ81BaYH.js";import"./useLabels-iMMBj-Ba.js";import"./useRefreshControl-ByEWNZY9.js";import"./circle-check-big-Q5xMZBl1.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function ir(){return r.jsx(o.Reading,{})}export{ir as component};
|
package/assets/index-ChPDqFRo.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-CmOAOx38.js";import{F as r}from"./FlaggedPane-kBIob-rC.js";import"./MessageToolbar-BzxIP4DM.js";import"./MessageBody-BIp2OZY6.js";import"./kbd-BMGsOR5H.js";import"./search-scope-BCz9qlCH.js";import"./app-chrome-DEclDxYQ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./reply-BBXEHuds.js";import"./useMessageBodyContent-CsZ9VCHu.js";import"./roving-focus-h-W142Au.js";import"./chevron-down-CuQovlNy.js";import"./search-token-index-e0cXuR4s.js";import"./useQueries-DeYJYa06.js";import"./index-CpNGDsVT.js";import"./useSignature-klArqmQ3.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-M5m0kaQD.js";import"./suggest-list-gj7TdgNf.js";import"./sections-40tp2E7G.js";import"./badge-DXTfgcBt.js";import"./undo-2-B0kA9_bY.js";import"./DropdownMenu-D4QQzyrH.js";import"./popover-menu-kMqLztgE.js";import"./ErrorState-BmGgdm41.js";import"./mail-qvbIZwSA.js";import"./download-B9mjNNRB.js";import"./avatar-DZNFp-l_.js";import"./EmptyState-DiS0VQW5.js";import"./calendar-suggestion-CO8Q4tfB.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./agenda-time-9aN7iZnW.js";import"./plus-B9Kjb5MA.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-CmjULz3U.js";import"./calendar-failure-note-CmQObVh4.js";import"./checkbox-Cxv99wmn.js";import"./clock-Ctw4TG15.js";import"./segmented-control-CMCgmRqX.js";import"./shield-check-BbVUhw_R.js";import"./useLayoutTier-BpSsrmgl.js";import"./menu-g1nN4c6m.js";import"./useFilters-BybioZf1.js";import"./select-CpLCf4_c.js";import"./folder-input-hWCgPqfm.js";import"./confirm-dialog-C8W1RcOV.js";import"./label-chip-OfJL52HU.js";import"./MailViewChrome-DfgW3Ikc.js";import"./refresh-cw-DdZ8vtf2.js";import"./wizard-selection-zWa1qc6-.js";function $(){return o.jsx(r.Reading,{})}export{$ as component};
|
package/assets/index-CkmUVU7Z.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eZ as o,j as r}from"./index-CmOAOx38.js";import{C as m}from"./CalendarEventPopup-Dgio1io7.js";import"./useCalendarSuggestions-iprVdeF2.js";import"./ErrorState-BmGgdm41.js";import"./useQueries-DeYJYa06.js";import"./useCalendarData-QcaY0Cgc.js";import"./useCalendarTasks-D9R56VL3.js";import"./calendar-format-BwCpz-JZ.js";import"./nav-link-Bdv8kjEd.js";import"./useMediaQuery-uf6mjwPE.js";import"./calendar-CmjULz3U.js";import"./reply-BBXEHuds.js";import"./CalendarSession-CjfkNnKN.js";import"./calendar-event-popup-By-Wnzww.js";import"./pencil-C3mJE9QO.js";import"./calendar-guests-DivZiKa8.js";import"./circle-question-mark-Dt4vUSbc.js";import"./confirm-dialog-C8W1RcOV.js";function b(){const{calendarObjectId:t}=o.useParams();return r.jsx(m,{calendarObjectId:t})}export{b as component};
|