PageSourceSearch

https://digdis.app/assets/index-CCqvT9Ds.js

js digdis.app collected 2026-10-06 04:52:55 UTC 8,158 bytes, 1 lines download raw bytes

1import{j as t,r as b}from"./react-Ph8KmUpc.js";import{c as T}from"./react-redux-frK-3DTg.js";import{b as R}from"./redux-CEHQTSDm.js";import{W as S}from"./WithDeviceIdentifier-DVmY1vsZ.js";import{L as N,B as _,c as L,de as A}from"./index-BQP9Fsax.js";import{d as g}from"./dayjs-B1fPiYSR.js";import{l as m}from"./lodash-BD6zDV1Z.js";import"./classnames-BexLmjtK.js";import{I as f}from"./index-B19AzSFI.js";import"./react-custom-scrollbars-2-kgjb46fP.js";import{u as w}from"./react-router-dom-v5-compat-CtyklhH_.js";import{e as c,f as o,b as I,h as x,l as V,I as v,d as j}from"./antd-60O3bWIW.js";import"./@babel-Dv-xQaqJ.js";import"./react-dom-Bv_et8d-.js";import"./scheduler-CzFDRTuY.js";import"./hoist-non-react-statics-BSI0cVgy.js";import"./react-is-8JwjhRSi.js";import"./use-sync-external-store-Dy5tW4V4.js";import"./jspdf-DJ5JdgJM.js";import"./fflate-Cf-_J6lE.js";import"./@redux-saga-DofAfZN4.js";import"./@loadable-D-cJeKcY.js";import"./country-list-8JtTH2WR.js";import"./history-Dj_sFSuk.js";import"./resolve-pathname-D6XOvX2q.js";import"./value-equal-epUc6GCk.js";import"./tiny-invariant-BaFNuDhB.js";import"./mixpanel-browser-BICdPCGo.js";import"./react-ga-DGmEChOC.js";import"./prop-types-COOZHFUr.js";import"./file-saver-D0BwbMUa.js";import"./i18n-iso-countries-cqLO8yen.js";import"./diacritics-OEF76RwT.js";import"./sanitize-html-DrRXZjxj.js";import"./entities-CKVXowTg.js";import"./domelementtype-AVFTcEpP.js";import"./escape-string-regexp-BdPwSnSr.js";import"./deepmerge-MrQlWjp6.js";import"./parse-srcset-BJhEFT5l.js";import"./postcss-B8633UFr.js";import"./picocolors-CBpy9uNM.js";import"./nanoid-oL8Tb-R4.js";import"./title-BFmZ_Iud.js";import"./path-to-regexp-DqLwlp2K.js";import"./uuid-CQkTLCs1.js";import"./@ant-design-DKksAqrL.js";import"./rc-util-CJpcnuU4.js";import"./@emotion-BBuvJ6NL.js";import"./stylis-DKO5tF0i.js";import"./resize-observer-polyfill-B1PUzC5B.js";import"./@ctrl-DOFZgDuz.js";import"./react-infinite-scroller-DHECxD1N.js";import"./react-responsive-Fco_aIei.js";import"./chartjs-adapter-dayjs-4-8obW1Y9W.js";import"./chart.js-CeS8xRSw.js";import"./@kurkle-BZxJdD1U.js";import"./react-router-DFdoayiM.js";import"./@remix-run-CE9fA62X.js";import"./rc-resize-observer-BdQ-qCQL.js";import"./rc-motion-DhBSNTJX.js";import"./rc-picker-CN97HBMS.js";import"./@rc-component-CxcFbznJ.js";import"./rc-tabs-7wIxrTW8.js";import"./rc-dropdown-D3NoWE6X.js";import"./rc-menu-Cs56wxo8.js";import"./rc-overflow-BU2hobRn.js";import"./rc-select-DMFs1Ga8.js";import"./rc-virtual-list-DCFHM7qA.js";import"./rc-collapse-Tq3AGtZp.js";import"./rc-input-number-DzPeLdwY.js";import"./rc-input-CuyV-7Kl.js";import"./rc-drawer-DDe2Y2yl.js";import"./rc-field-form-XbhqmKOH.js";import"./async-validator-DKvM95Vc.js";import"./scroll-into-view-if-needed-BZeNfFF0.js";import"./compute-scroll-into-view-DWa9QgjM.js";import"./rc-dialog-DCRVNfDd.js";import"./rc-notification-frdkeFpn.js";import"./rc-tooltip-Cwc3QpCo.js";import"./rc-rate-D3021DsI.js";import"./rc-slider-BhLoUAYh.js";import"./rc-steps-CE9f1muJ.js";import"./rc-switch-DEwR8TyH.js";import"./rc-table-CYxJIk4h.js";import"./rc-tree-CTLZRWS2.js";import"./rc-checkbox-DiOY8bhH.js";import"./rc-pagination-BvDmzJeC.js";import"./throttle-debounce-CUWDS_la.js";import"./copy-to-clipboard-BHXIcV7g.js";import"./toggle-selection-BHUZwh74.js";import"./rc-textarea-Dy8qJcu2.js";import"./rc-progress-B-NZ42G9.js";import"./raf-Dq-sNnLN.js";import"./performance-now-CBZyMFG9.js";import"./dom-css-B4pbzv-1.js";import"./prefix-style-BamWPxcA.js";import"./to-camel-case-BpxV1GzG.js";import"./to-space-case-V3KmtM9Z.js";import"./to-no-case-Dd7xp2sK.js";import"./add-px-to-style-Y8Vp6shL.js";var C=(i=>(i.CHARTTOOL2ALERT="charttool2Alert",i.USERREADYSTATEMENTS="userReadyStatements",i.ADMINUSERINVITE="adminUserInvite",i.CHARTTOOL2MONTHLY="charttool2Monthly",i.CHARTTOOLALERT="charttoolAlert",i.CHARTTOOLMONTHLY="charttoolMonthly",i.KOMPILETRACKREQUEST="kompileTrackrequest",i.PRODUCTDELETEREMINDER="productDeleteReminder",i.PRODUCTERRORNOTIFICATION="productErrorNotification",i.PRODUCTSUBMISSION="productSubmission",i.USERINVITE="userInvite",i.USERNEWPASSWORD="userNewPassword",i))(C||{});const E="_container_1km8t_1",M="_search_1km8t_4",k="_templateSelect_1km8t_7",O="_title_1km8t_12",D="_row_1km8t_25",P="_titleRow_1km8t_34",U="_controls_1km8t_43",H="_list_1km8t_49",F="_receiverCol_1km8t_56",W="_mobileViewListCard_1km8t_63",B="_mobileViewListCardItem_1km8t_66",Y="_mobileViewListTitle_1km8t_66",G="_mobileViewListText_1km8t_71",r={container:E,search:M,templateSelect:k,title:O,row:D,titleRow:P,controls:U,list:H,receiverCol:F,mobileViewListCard:W,mobileViewListCardItem:B,mobileViewListTitle:Y,mobileViewListText:G},K=i=>{const p=w(),d=s=>()=>{p(L("techMailboxDetails",{id:s}))},l=()=>{const{entries:s,pagination:n,isLoading:a}=i.notifications;return!s.length&&a?t.jsx(N,{loading:!0}):s.length?t.jsx(f,{hasMore:n.hasMore,isLoading:a,onLoadMore:i.actions.getMore,children:s.map(e=>t.jsxs(c,{className:r.row,gutter:16,onClick:d(e._id),children:[t.jsx(o,{span:5,className:r.receiverCol,children:t.jsx(I,{title:m.get(e,"receiver","N/A"),children:m.get(e,"receiver","N/A")})}),t.jsx(o,{span:4,children:m.get(e,"template","N/A")}),t.jsx(o,{span:6,children:m.get(e,"subject","N/A")}),t.jsx(o,{span:4,children:m.get(e,"sendingTool","N/A")}),t.jsx(o,{span:2,children:m.get(e,"status","N/A")}),t.jsx(o,{span:3,align:"right",children:e.sendDate?g(e.sendDate).format(_):"N/A"})]},e._id))}):t.jsx(x,{image:x.PRESENTED_IMAGE_SIMPLE})},h=()=>t.jsxs(c,{gutter:16,children:[t.jsx(o,{span:5,children:"Receiver"}),t.jsx(o,{span:4,children:"Template"}),t.jsx(o,{span:6,children:"Subject"}),t.jsx(o,{span:4,children:"Sending tool"}),t.jsx(o,{span:2,children:"Status"}),t.jsx(o,{span:3,align:"right",children:"Send date"})]});return t.jsx(c,{children:t.jsxs(o,{span:24,children:[t.jsx("div",{className:r.titleRow,children:h()}),t.jsx("div",{className:r.list,children:l()})]})})},q=i=>{const p=w(),d=s=>()=>{p(L("techMailboxDetails",{id:s}))},l=s=>s||"N/A",h=()=>{const{entries:s,pagination:n,isLoading:a}=i.notifications;return!s.length&&a?t.jsx(N,{loading:!0}):s.length?t.jsx(f,{hasMore:n.hasMore,isLoading:a,onLoadMore:i.actions.getMore,children:s.map(e=>t.jsxs(V,{onClick:d(e._id),className:r.mobileViewListCard,hoverable:!0,children:[t.jsx(c,{gutter:[24,16],className:r.mobileViewListCardItem,children:t.jsx(o,{span:24,className:r.mobileViewListTitle,children:l(e.receiver)})}),t.jsxs(c,{gutter:[24,16],className:r.mobileViewListCardItem,children:[t.jsxs(o,{span:12,className:r.mobileViewListTitle,children:["Rocket:"," ",l(e.subject)]}),t.jsx(o,{span:12,className:r.mobileViewListTitle,children:e.sendDate?g(e.sendDate).format(_):"N/A"})]}),t.jsxs(c,{gutter:[24,16],className:r.mobileViewListCardItem,children:[t.jsx(o,{span:12,className:r.mobileViewListText,children:l(e.template)}),t.jsxs(o,{span:12,className:r.mobileViewListText,children:["Status:"," ",l(e.status)]})]})]},e._id))}):t.jsx(x,{image:x.PRESENTED_IMAGE_SIMPLE})};return t.jsx(c,{children:t.jsx(o,{span:24,children:t.jsx("div",{className:r.list,children:h()})})})},Q=T(i=>({notifications:i.admin.notifications}),i=>({actions:R(A,i)})),z=i=>{b.useEffect(()=>(i.actions.get(),()=>{i.actions.reset()}),[]);const p=({target:n})=>{i.actions.updateFilters({search:n.value})},d=n=>{i.actions.updateFilters({template:n==="all"?null:n})},l=()=>{const{isMobile:n,isTablet:a,notifications:e,actions:u}=i;return!n&&!a?t.jsx(K,{notifications:e,actions:u}):t.jsx(q,{notifications:e,actions:u})},{notifications:h}=i,{filters:s}=h;return t.jsxs("div",{className:r.container,children:[t.jsx(c,{children:t.jsx(o,{span:24,children:t.jsxs("div",{className:r.title,children:[t.jsx("h2",{children:"Notifications"}),t.jsxs("div",{className:r.controls,children:[t.jsx(v,{className:r.search,value:s.search,allowClear:!0,placeholder:"Search receiver",onChange:p}),t.jsxs(j,{className:r.templateSelect,placeholder:"Template",defaultValue:"all",value:s.template?s.template:"all",onChange:d,children:[t.jsx(j.Option,{value:"all",children:"All"}),Object.values(C).map((n,a)=>t.jsx(j.Option,{className:r.option,value:n,children:n},a))]})]})]})})}),l()]})},Wi=Q(S(z));export{Wi as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.