@abtnode/webapp 1.16.54-beta-20251016-050817-2fc632b8 → 1.16.54-beta-20251017-133309-7d40faa6
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-NScUj50m.js → AdapterDayjs-Dmdo2xWr.js} +1 -1
- package/dist/assets/{Add-D4EYSG3K.js → Add-BtxJ9S0c.js} +1 -1
- package/dist/assets/ArrowDropDown-CXhfj4YR.js +1 -0
- package/dist/assets/{Autocomplete-Dy_zZ4Oc.js → Autocomplete-BSxdbGZ9.js} +1 -1
- package/dist/assets/{Breadcrumbs-C8gaKT3g.js → Breadcrumbs-BQIMaSsB.js} +1 -1
- package/dist/assets/{ButtonGroup-DcZ0ug1l.js → ButtonGroup-zxfGLX1y.js} +1 -1
- package/dist/assets/{CSSTransition-V4R7ZcvS.js → CSSTransition-BHFpNneQ.js} +1 -1
- package/dist/assets/{CallMerge-KoAXFCaW.js → CallMerge-B1sQW0-H.js} +1 -1
- package/dist/assets/{CardContent-W_hyQjAD.js → CardContent-BQOX_LLY.js} +1 -1
- package/dist/assets/{ChevronLeft-CKiAYw9j.js → ChevronLeft-CjfV9O7Y.js} +1 -1
- package/dist/assets/{ChevronRight-DZiek3NZ.js → ChevronRight-Cq74y-86.js} +1 -1
- package/dist/assets/{Clear---RPVeR7.js → Clear-CmclKblN.js} +1 -1
- package/dist/assets/{DeleteOutline-GpuLmtYQ.js → DeleteOutline-DeY1XytP.js} +1 -1
- package/dist/assets/{Done-DzMcAgjX.js → Done-otpI656Q.js} +1 -1
- package/dist/assets/{Edit-DCJEwDTg.js → Edit-BLOnay32.js} +1 -1
- package/dist/assets/{ErrorOutline-B9LgxSpq.js → ErrorOutline-C62Ptpls.js} +1 -1
- package/dist/assets/{FilterList-CNYUVm5S.js → FilterList-5aPzs6zd.js} +1 -1
- package/dist/assets/{Google-DR320mb8.js → Google-B6ijzIon.js} +1 -1
- package/dist/assets/{HelpOutline-USuznZgn.js → HelpOutline-OM9v4KDS.js} +1 -1
- package/dist/assets/{KeyboardArrowDown-rbx_AuZr.js → KeyboardArrowDown-CKtrlyfg.js} +1 -1
- package/dist/assets/{Launch-DkmyUeYd.js → Launch-BfuKeW3b.js} +1 -1
- package/dist/assets/{Link-CgW5geY5.js → Link-BD8pu5K0.js} +1 -1
- package/dist/assets/{ListItemButton-BhvWhm3n.js → ListItemButton-cn3fH9TW.js} +1 -1
- package/dist/assets/{ListSubheader-BlgmemtO.js → ListSubheader-Ch1RovVQ.js} +1 -1
- package/dist/assets/{LoadingButton-DpbZOfZH.js → LoadingButton-iO4mS6KL.js} +1 -1
- package/dist/assets/{MoreVert-wWXtgLji.js → MoreVert-CdXWMKz-.js} +1 -1
- package/dist/assets/{OpenInNew-B8ApQgxt.js → OpenInNew-BZCBTL61.js} +1 -1
- package/dist/assets/{Refresh-nk8BSp_h.js → Refresh-BLPv71Iw.js} +1 -1
- package/dist/assets/{Search-DV5vJN1H.js → Search-CbRhrT-l.js} +1 -1
- package/dist/assets/{Stepper-Dm3PYaFi.js → Stepper-JXr6cJC3.js} +1 -1
- package/dist/assets/{Switch-czLKbhPZ.js → Switch-D12CiGzx.js} +1 -1
- package/dist/assets/{TableSearch-CAf-ESr9.js → TableSearch-DsuiCyEx.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-Csc72nBu.js → ToggleButtonGroup-CoPX4ob9.js} +1 -1
- package/dist/assets/{UnfoldMore-BQzQy89p.js → UnfoldMore-DoB8mcpO.js} +1 -1
- package/dist/assets/{Verified-CF2yeqGT.js → Verified-CHH9KCap.js} +1 -1
- package/dist/assets/{VerifiedUser-C1tgCpCB.js → VerifiedUser-Brzhri9f.js} +1 -1
- package/dist/assets/{ViewList-CE_c5qLh.js → ViewList-CfykWbFF.js} +1 -1
- package/dist/assets/{_createAggregator-Bnob81wI.js → _createAggregator-DrGf--g5.js} +1 -1
- package/dist/assets/{actions-Cpb8n0Yw.js → actions-BU7VBlNr.js} +1 -1
- package/dist/assets/{actions-DtMFbSMo.js → actions-Dq4cTCeJ.js} +1 -1
- package/dist/assets/{agreement-D_SlINnK.js → agreement-BbZCQgd_.js} +1 -1
- package/dist/assets/api-DAWWUzPu.js +1 -0
- package/dist/assets/{appearance-buyEW0Iv.js → appearance-xpsoTzJy.js} +1 -1
- package/dist/assets/{ar-Ge3t6oI2.js → ar-BQm9lQ4M.js} +1 -1
- package/dist/assets/audit-logs-DXKfeYbe.js +35 -0
- package/dist/assets/{base-chart-E6uEbiC0.js → base-chart-C2185-Xr.js} +1 -1
- package/dist/assets/{blocklet-BSWtuwnH.js → blocklet--AI07_i0.js} +1 -1
- package/dist/assets/{chain-Cxmkzj72.js → chain-Dk4xAHS8.js} +1 -1
- package/dist/assets/{click-to-copy-C5l1aVBQ.js → click-to-copy-BCe_knva.js} +1 -1
- package/dist/assets/cloneDeep-CAK0LBhz.js +1 -0
- package/dist/assets/{collapse-D-q9UEjV.js → collapse-zs9NkhVG.js} +1 -1
- package/dist/assets/{config-navigation-Ck-BfL0o.js → config-navigation-D_6fIzEw.js} +31 -31
- package/dist/assets/{connect-to-sME9XFIO.js → connect-to-DP2mM_22.js} +3 -3
- package/dist/assets/{cssMode-CwQeOUoG.js → cssMode-B399Q_Au.js} +1 -1
- package/dist/assets/{de-CbARTvf4.js → de-D0uPENSq.js} +1 -1
- package/dist/assets/{delete-confirm-CiFwBlNG.js → delete-confirm-Bow13LE9.js} +1 -1
- package/dist/assets/{depsEqual-BHCVOuWA.js → depsEqual-DM_xCHol.js} +1 -1
- package/dist/assets/{detail-u9DgWb-d.js → detail-IWNgMo9A.js} +3 -3
- package/dist/assets/{domains-CuwWHtSp.js → domains-DKCOiTCg.js} +1 -1
- package/dist/assets/{download-B1XuXwBn.js → download-CZMq1lWW.js} +1 -1
- package/dist/assets/{edit.svg-BT2rpJxW.js → edit.svg-MBsEEqxw.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-89zxT23k.js +1 -0
- package/dist/assets/engine-DjXhikKJ.js +1 -0
- package/dist/assets/{es-CaCbzATO.js → es-Dh4_UfCu.js} +1 -1
- package/dist/assets/{fr-B3yjKUFH.js → fr-CzZWQkiT.js} +1 -1
- package/dist/assets/{freemarker2-B3dcQl4s.js → freemarker2-Bo8Dkz0i.js} +1 -1
- package/dist/assets/{get-safe-url-DfDeYxPo.js → get-safe-url-CWx4sAFH.js} +1 -1
- package/dist/assets/getValidReactChildren-Cg2u2AWU.js +1 -0
- package/dist/assets/{graphqlMode-gWZ1xdel.js → graphqlMode-C-1GELPv.js} +2 -2
- package/dist/assets/{handlebars-DLMgXH9N.js → handlebars-CmlxliCw.js} +1 -1
- package/dist/assets/{hi-q4mhHiIl.js → hi-Do9VCuRi.js} +1 -1
- package/dist/assets/{html-DmYIunqS.js → html-YsXSD8TZ.js} +1 -1
- package/dist/assets/{html-title-B42L4vHs.js → html-title-DV29cJ5k.js} +1 -1
- package/dist/assets/{htmlMode-CyuA6nxS.js → htmlMode-zogUHMrG.js} +1 -1
- package/dist/assets/{id-DTf7aVH8.js → id-Dhhrveu9.js} +1 -1
- package/dist/assets/{iframe-B-84ZVfc.js → iframe-CJvRag0f.js} +1 -1
- package/dist/assets/{index-jC9YQw2A.js → index-1qcmbchL.js} +1 -1
- package/dist/assets/{index-CT-cKo4l.js → index-2sz7KBve.js} +4 -4
- package/dist/assets/index-5gnDPlCv.js +375 -0
- package/dist/assets/{index-tXfQSlPx.js → index-B5lqoaM2.js} +3 -3
- package/dist/assets/index-B7g5Nk1d.js +292 -0
- package/dist/assets/{index-BcBcDLRF.js → index-B8b0rEFF.js} +14 -14
- package/dist/assets/{index-B6fuqqYD.js → index-B9ak8YbX.js} +1 -1
- package/dist/assets/{index-CbD2HRHU.js → index-BAu_h5OW.js} +1 -1
- package/dist/assets/index-BCTcUJyy.js +1 -0
- package/dist/assets/{index-D-dEXSR3.js → index-BFaz_KJO.js} +3 -3
- package/dist/assets/{index-Ca41Albz.js → index-BGcTTdNv.js} +1 -1
- package/dist/assets/{index-DfxHc659.js → index-BN9KmbYU.js} +2 -2
- package/dist/assets/{index-km_8frCh.js → index-BNAHYHIB.js} +1 -1
- package/dist/assets/{index-DaNXTl0n.js → index-BS8Zd79a.js} +1 -1
- package/dist/assets/{index-BkFC8ho3.js → index-BTzUdfyO.js} +3 -3
- package/dist/assets/{index-BHuxYJ36.js → index-BZKNVbcu.js} +1 -1
- package/dist/assets/{index-CHZXKvDD.js → index-BhRJ8iUw.js} +1 -1
- package/dist/assets/{index-m-5ZFaj3.js → index-Biom0VRc.js} +1 -1
- package/dist/assets/{index-E2RuVge2.js → index-Bk3_p0ot.js} +8 -8
- package/dist/assets/{index-DM9vqLT9.js → index-BlU4tJOu.js} +1 -1
- package/dist/assets/{index-DuS26oUH.js → index-BsODnAIr.js} +1 -1
- package/dist/assets/{index-D_ED6Nk7.js → index-Bsb50zao.js} +1 -1
- package/dist/assets/{index-CQ3QiuQQ.js → index-BszCp5iq.js} +1 -1
- package/dist/assets/{index-CGwvwEUr.js → index-BwAtwN98.js} +3 -10
- package/dist/assets/{index-haFP5Loj.js → index-C88zwj1F.js} +1 -1
- package/dist/assets/{index-DgKqbN5Y.js → index-CEVcCpp0.js} +1 -1
- package/dist/assets/{index-CnMT0fo1.js → index-CO6atVP1.js} +1 -1
- package/dist/assets/{index-M4yiF52E.js → index-CQwHcXdR.js} +1 -1
- package/dist/assets/{index-Bb-RBdu9.js → index-Cc5co79B.js} +1 -1
- package/dist/assets/{index-nUrxOkOM.js → index-CeeztwBq.js} +1 -1
- package/dist/assets/{index-D63ritT-.js → index-Cklq_snV.js} +1 -1
- package/dist/assets/{index-BIGgo0dk.js → index-CsAuzX0k.js} +1 -1
- package/dist/assets/{index-DXF1RiG0.js → index-Ctq71AUP.js} +1 -1
- package/dist/assets/{index-DBd6awj_.js → index-CwgLMaiR.js} +1 -1
- package/dist/assets/{index-DxZUfBpk.js → index-Cx0-cDmo.js} +1 -1
- package/dist/assets/index-DPsTv0RC.js +120 -0
- package/dist/assets/{index-CAMlpQ47.js → index-DQDQvvOo.js} +2 -2
- package/dist/assets/{index-B-KmoBb-.js → index-DaWRYFXy.js} +1 -1
- package/dist/assets/{index-BKJPtvsM.js → index-DnFU3fjE.js} +1 -1
- package/dist/assets/{index-D4PsRecd.js → index-DnGfacYV.js} +1 -1
- package/dist/assets/{index-CdnTrItd.js → index-DyqQGUXg.js} +1 -1
- package/dist/assets/{index-B4IIU09Y.js → index-QQLsDnxc.js} +3 -3
- package/dist/assets/{index-Dd5Oo0tk.js → index-_TZ0HsEX.js} +1 -1
- package/dist/assets/{index-u7lHFbWg.js → index-f461L7cH.js} +9 -9
- package/dist/assets/{index-F3HbHSYi.js → index-oppNoNvH.js} +57 -57
- package/dist/assets/{index-Cu6PRXBT.js → index-rDK2F6ft.js} +1 -1
- package/dist/assets/index-t2qXqnLl.js +1 -0
- package/dist/assets/{index.esm-CG55Fmct.js → index.esm-Cc-rWUer.js} +1 -1
- package/dist/assets/{install-from-url-DL-3oQMI.js → install-from-url-Byfhqhtx.js} +1 -1
- package/dist/assets/{invitation-C464OqTr.js → invitation-C7URd--D.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-DCicTZ8d.js → is-path-prefix-equal-DRcxtSPQ.js} +1 -1
- package/dist/assets/{item-DkbrJM2U.js → item-Dad5StUY.js} +1 -1
- package/dist/assets/{ja-Csh_XwzF.js → ja-B70UYq5X.js} +1 -1
- package/dist/assets/{javascript-B0hI_Eyo.js → javascript-CoBTz2gd.js} +1 -1
- package/dist/assets/{jsonMode--kCoJBFT.js → jsonMode-CVMee1RD.js} +1 -1
- package/dist/assets/{ko-xiNTwgO9.js → ko-C7TZwmXC.js} +1 -1
- package/dist/assets/{liquid-BVzOkmM1.js → liquid-D6EIo1wL.js} +1 -1
- package/dist/assets/{list-header-CnD8v8jR.js → list-header-xkh_uL_h.js} +1 -1
- package/dist/assets/{lock.svg-DWUrJ_5S.js → lock.svg-CkFKYDxX.js} +1 -1
- package/dist/assets/{log-CjBZbQrr.js → log-BYawti0X.js} +1 -1
- package/dist/assets/{lottie-react.esm-CcRYYgsR.js → lottie-react.esm-CySu6b9e.js} +1 -1
- package/dist/assets/{mdx-DOswkMzX.js → mdx-BEdivZjl.js} +1 -1
- package/dist/assets/{memory-BkrGYits.js → memory-Badimsp_.js} +1 -1
- package/dist/assets/{metric-CNxVptGa.js → metric-CtFXUNX3.js} +1 -1
- package/dist/assets/omit-D0KFhbLk.js +1 -0
- package/dist/assets/{overview-BWjjo7YM.js → overview-K7CavXZw.js} +1 -1
- package/dist/assets/{permission-caYaN7o4.js → permission-DZytcuWC.js} +1 -1
- package/dist/assets/{preference-D-1nO1Na.js → preference-CrZ37X3N.js} +3 -3
- package/dist/assets/{pt-BvcG4R7B.js → pt-DObJ_ADK.js} +1 -1
- package/dist/assets/{python-BJ2CXy2e.js → python-czQLPXp8.js} +1 -1
- package/dist/assets/{raf-schd.esm-BdLRNFZe.js → raf-schd.esm-PMp87DFK.js} +1 -1
- package/dist/assets/{razor-DdMOGESa.js → razor-Bgg3hEgt.js} +1 -1
- package/dist/assets/{rotate-session-key-D_YTGNN-.js → rotate-session-key-Dtz9D1ow.js} +1 -1
- package/dist/assets/{ru-DzUPRLmr.js → ru-nYDmEUmY.js} +1 -1
- package/dist/assets/{runtime-B1ybPRbq.js → runtime-BSvs2J54.js} +1 -1
- package/dist/assets/schema-DmifXwDr.js +1 -0
- package/dist/assets/sdk-VJ878dD0.js +1 -0
- package/dist/assets/{service-pByff5wa.js → service-BlUOvgta.js} +1 -1
- package/dist/assets/{shorten-label-DxKgpegt.js → shorten-label-BZLeEmnh.js} +1 -1
- package/dist/assets/simple-select-CDiD7EVt.js +1 -0
- package/dist/assets/{spaces-DnqeOj51.js → spaces-B91L1fYZ.js} +1 -1
- package/dist/assets/{status-iJzbVxRo.js → status-DEKm_VSq.js} +1 -1
- package/dist/assets/{status-BGeIvK1l.js → status-DIBvqycZ.js} +1 -1
- package/dist/assets/{switch-control-B_J8lGBy.js → switch-control-C9oMQ7W-.js} +1 -1
- package/dist/assets/{table-icons-CoOahY2H.js → table-icons-EhFLZCZI.js} +1 -1
- package/dist/assets/{team-NpjMEHti.js → team-fAqBHfRA.js} +1 -1
- package/dist/assets/{th-BmW1qKpZ.js → th-DMcUw_9_.js} +1 -1
- package/dist/assets/{toLower-Dx_gZ85b.js → toLower-CTl5GR-_.js} +1 -1
- package/dist/assets/toUpper-CjPgxX5u.js +1 -0
- package/dist/assets/{traffic-BiqnglqJ.js → traffic-BQ2LFr05.js} +1 -1
- package/dist/assets/{tsMode-CNfoaBo0.js → tsMode-BC6Utk6Q.js} +1 -1
- package/dist/assets/{typescript-CYiGFg4j.js → typescript-DA3LEYkV.js} +1 -1
- package/dist/assets/ua-parser-DP5omx3I.js +1 -0
- package/dist/assets/{url-evaluation-Bm9OWnaf.js → url-evaluation-QeH6FlO4.js} +1 -1
- package/dist/assets/{url-join-B07GNSp-.js → url-join-BL6fN34c.js} +1 -1
- package/dist/assets/{use-mobile-D5fNICVu.js → use-mobile-B3ZO2ENR.js} +1 -1
- package/dist/assets/{use-mobile-Dm-drtZi.js → use-mobile-CC5e6Q7A.js} +1 -1
- package/dist/assets/{useAsync-2o_4QDVN.js → useAsync-C4TyOh-5.js} +1 -1
- package/dist/assets/{useAsyncRetry-CSZJdZ2s.js → useAsyncRetry-nX6HpPsm.js} +1 -1
- package/dist/assets/{useLocalStorage-xEKVgwM3.js → useLocalStorage-CZNQlTk5.js} +1 -1
- package/dist/assets/{useThemeProps-BhYWaPDm.js → useThemeProps-BleY03wL.js} +1 -1
- package/dist/assets/{util-DhYg_WLh.js → util-DBPmcEMD.js} +1 -1
- package/dist/assets/{vi-BPU54RQW.js → vi-B73oWQBC.js} +1 -1
- package/dist/assets/{wait-container-HwFE2vqS.js → wait-container-DFnbvnlK.js} +1 -1
- package/dist/assets/{without-wallet-Dbr3bl6I.js → without-wallet-BEHqWwMH.js} +1 -1
- package/dist/assets/wrap-locale-D0QYhzyI.js +1 -0
- package/dist/assets/{xml-C13TFHPP.js → xml-D8pQLiZC.js} +1 -1
- package/dist/assets/{yaml-TMDBP8Bi.js → yaml-BSxlt5hf.js} +1 -1
- package/dist/assets/{zh-WrFfMVyM.js → zh-DCABA61W.js} +1 -1
- package/dist/assets/{zh-tw-DjWFpq-W.js → zh-tw-M_0Y4wmR.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-DonW35Zx.js +0 -1
- package/dist/assets/api-OdGoHXe4.js +0 -1
- package/dist/assets/audit-logs-CLj12YBu.js +0 -35
- package/dist/assets/client-BaEuKBw8.js +0 -1
- package/dist/assets/cloneDeep-CPQcx7Qa.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-CQ2-5c4_.js +0 -1
- package/dist/assets/engine-wH21TR28.js +0 -1
- package/dist/assets/getValidReactChildren-DECNQV_G.js +0 -1
- package/dist/assets/index-CAUKXdVD.js +0 -1
- package/dist/assets/index-DpTrAVde.js +0 -1
- package/dist/assets/index-DwEuapzX.js +0 -292
- package/dist/assets/index-DwfORIGZ.js +0 -113
- package/dist/assets/index-hPXA34zh.js +0 -375
- package/dist/assets/omit-B8xv_k3Z.js +0 -1
- package/dist/assets/schema-BKs0S9Ju.js +0 -1
- package/dist/assets/sdk-WWYom8eN.js +0 -1
- package/dist/assets/simple-select-DFmJjQqW.js +0 -1
- package/dist/assets/toUpper-28qo31SR.js +0 -1
- package/dist/assets/wrap-locale-BQVWlKMF.js +0 -1
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import{aF as Ge,j as e,bn as gt,r as g,bz as X,bf as K,H as U,aH as D,g as xt,o as d,h as te,at as bt,ay as jt,K as y,T as $,V as J,eM as Fe,O as Pe,il as Ye,bj as Te,aU as Ie,R as Ee,dG as we,b3 as qe,b1 as Ae,C as Xe,f as Je,e_ as Qe,aP as De,W as yt,as as Ze,im as et,v as Oe,f0 as tt,fn as ye,fH as st,dA as St,s as ie,af as pe,G as Ue,au as vt,io as Ct,ip as Nt,$ as nt,iq as wt,ir as Rt,is as Tt,it as It,N as Et,bu as it,J as At,P as Dt,S as Ot,Q as $e,iu as Lt,a3 as kt}from"./index-F3HbHSYi.js";import{d as Ft,H as at,g as Pt}from"./index-CGwvwEUr.js";import{R as _e,S as _t}from"./actions-Cpb8n0Yw.js";import{B as Bt}from"./index-Ca41Albz.js";import{S as me}from"./shorten-label-DxKgpegt.js";import{v as ot}from"./index-M4yiF52E.js";import{T as zt}from"./html-title-B42L4vHs.js";import{R as Wt}from"./Refresh-nk8BSp_h.js";import{D as Mt,g as Ht}from"./traffic-BiqnglqJ.js";import{u as Kt}from"./use-mobile-D5fNICVu.js";import"./FilterList-CNYUVm5S.js";import"./CSSTransition-V4R7ZcvS.js";import"./emotion-cache.browser.esm-CQ2-5c4_.js";import"./index-BIGgo0dk.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-BHCVOuWA.js";import"./index-jC9YQw2A.js";import"./TableSearch-CAf-ESr9.js";import"./Search-DV5vJN1H.js";import"./Clear---RPVeR7.js";import"./MoreVert-wWXtgLji.js";import"./useLocalStorage-xEKVgwM3.js";import"./url-evaluation-Bm9OWnaf.js";import"./get-safe-url-DfDeYxPo.js";import"./ButtonGroup-DcZ0ug1l.js";import"./getValidReactChildren-DECNQV_G.js";import"./permission-caYaN7o4.js";import"./index.esm-CG55Fmct.js";import"./collapse-D-q9UEjV.js";import"./blocklet-BSWtuwnH.js";import"./Switch-czLKbhPZ.js";import"./iframe-B-84ZVfc.js";import"./ChevronLeft-CKiAYw9j.js";import"./ChevronRight-DZiek3NZ.js";import"./index-DBii9-f-.js";import"./base-chart-E6uEbiC0.js";import"./index-nUrxOkOM.js";import"./AdapterDayjs-NScUj50m.js";import"./useThemeProps-BhYWaPDm.js";import"./visuallyHidden-Dan1xhjv.js";const qt=Ge(e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"})),Ut=Ge(e.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),rt=g.createContext({}),{Provider:$t,Consumer:an}=rt;function Vt({children:t,blocklet:s=""}){const{api:n,inService:r,ws:{useSubscription:a}}=gt(),[l,x]=g.useState([]),[u,T]=g.useState({total:0,pageSize:20,pageCount:0,page:1}),f=X(()=>s.meta?.did,[s]),[v,C]=g.useState([]),[F,_]=g.useState({}),N=X(()=>l.length?new Set(l.map(h=>h.id)):new Set,[l]),V=async({page:h=1,pageSize:S=20,...I}={})=>{if(!f)return[];try{const w={paging:{page:h,pageSize:S},...I,teamDid:f,dateRange:I.dateRange?[K(I.dateRange[0]).toISOString(),K(I.dateRange[1]).toISOString()]:void 0},{dids:E,...k}=w;let B="";E&&E.includes("system")&&(B="system");const ae=E?E.filter(oe=>oe!=="system"):[],ne={...k,source:B,componentDids:ae},ee=await n.getNotificationSendLog({input:ne});return _(ne),x(ee.list),T(ee.paging),ee.list}catch(w){return U.error(w.message),[]}},P=async()=>{const h=await n.getNotificationComponents({input:{teamDid:f}});C(h.componentDids)},L=g.useCallback(h=>{const S=s.children.find(I=>I.meta?.did===h);if(S)return S.ancestors=[s],S},[s]),W=async({notificationId:h,receivers:S,channels:I,...w})=>{await n.resendNotification({input:{teamDid:f,notificationId:h,receivers:S,channels:I.map(E=>E==="wallet"?D.NOTIFICATION_SEND_CHANNEL.WALLET:E==="pushKit"?D.NOTIFICATION_SEND_CHANNEL.PUSH:E),...w}})},q=g.useCallback(async h=>(await n.getUser({input:{teamDid:f,user:{did:h},options:{enableConnectedAccount:!0}}})).user,[n,f]),Y=g.useCallback(async({page:h=1,pageSize:S=20,...I}={})=>{try{const w={paging:{page:h,pageSize:S},...I,userName:I.searchText||"",teamDid:f,dateRange:I.dateRange?[K(I.dateRange[0]).toISOString(),K(I.dateRange[1]).toISOString()]:void 0};return await n.getReceivers({input:w})}catch(w){throw U.error(w.message),w}},[n,f]);g.useEffect(()=>{f&&P()},[f]),a(D.EVENTS.NOTIFICATION_BLOCKLET_UPDATE,h=>{N.has(h.notificationId)&&V(F)},[N,F]),a(D.EVENTS.NOTIFICATION_BLOCKLET_CREATE,h=>{N.has(h.id)||V(F)},[N,F]);const Z={fetch:V,data:l,paging:u,blocklet:s,getComponent:L,resendNotification:W,getUser:q,componentDids:v,getReceivers:Y,inService:r,teamDid:f};return e.jsx($t,{value:{notificationRecords:Z},children:t})}function Be(){const{notificationRecords:t}=g.useContext(rt);return t}he.propTypes={severity:d.oneOf(Object.values(["info","success","error","warning"])).isRequired};const Gt={info:"primary",success:"success",error:"error",warning:"warning"};function he({severity:t="info"}){return e.jsx(xt,{type:Gt[t],children:t})}const Yt=(t,s,n="")=>{if(!n||!s)return"";switch(n){case D.NOTIFICATION_SEND_FAILED_REASON.USER_DISABLED:return t("notification.sendStatus.reason.disabled",{channel:s});case D.NOTIFICATION_SEND_FAILED_REASON.CHANNEL_UNAVAILABLE:return t("notification.sendStatus.reason.unavailable",{channel:s});case D.NOTIFICATION_SEND_FAILED_REASON.CHANNEL_DISABLED:return t("notification.sendStatus.reason.notSent",{channel:s});case D.NOTIFICATION_SEND_FAILED_REASON.NOT_ONLINE:return t("notification.sendStatus.reason.offline");default:return n}};function lt(t,s,n={}){const{status:r,updatedAt:a,reason:l="",channel:x="wallet"}=n,u=a?t("notification.sendStatus.sentTime",{date:bt(a,s)}):"",T=Yt(t,x,l);return r===D.NOTIFICATION_SEND_STATUS.FAILED?{status:"failed",title:t("notification.sendStatus.failed"),sentTime:u,reason:T}:r===D.NOTIFICATION_SEND_STATUS.SENT?{status:"success",title:t("notification.sendStatus.success"),sentTime:u}:{status:"pending",title:t("notification.sendStatus.pending"),reason:T,sentTime:u}}const Le={pending:"#aaaaaa",success:"#34BE74",failed:"#D0021B"},ke=["wallet","pushKit","email"],Ve=["info","success","error","warning"],ct=t=>{const{settings:s}=t;return s?.notification?.email?.enabled},dt=t=>{const{settings:s}=t;return s?.notification?.pushKit?.enabled},Xt=(t,s)=>{const n=te(s,"extra.notifications.email",!0);return{available:ct(t),enabled:n}},Jt=(t,s)=>{const n=te(s,"extra.notifications.push",!0);return{available:dt(t),enabled:n}},Qt=t=>({enabled:te(t,"extra.notifications.wallet",!0)}),Zt=t=>({enabled:te(t,"extra.webhooks",[]).length>0}),be=(t=3)=>new Promise(s=>{setTimeout(()=>{s()},t*1e3)}),es=(t,s)=>s==="wallet"||s==="webhook"?[{channel:s,type:"enabled",pass:t("notification.sendStatus.reason.enabled",{channel:s}),fail:t("notification.sendStatus.reason.disabled",{channel:s})}]:s==="pushKit"||s==="email"?[{channel:s,type:"available",pass:t("notification.sendStatus.reason.available",{channel:s}),fail:t("notification.sendStatus.reason.unavailable",{channel:s})},{channel:s,type:"enabled",pass:t("notification.sendStatus.reason.enabled",{channel:s}),fail:t("notification.sendStatus.reason.disabled",{channel:s})}]:[],je=(t=[])=>{const s=K().startOf("day");return t.filter(n=>K(n.sendAt).isSame(s,"day")).length},ts=(t,s="")=>{if(s&&ke.includes(s)){const l=`${s}SendRecord`,x=te(t,l,[]);return je(x)}const n=te(t,"webhook",{}),r=Object.keys(n??{})??[];if(s&&r.includes(s)){const l=n[s]??[];return je(l)}const a={};return ke.forEach(l=>{const x=`${l}SendRecord`,u=te(t,x,[]),T=je(u);a[l]=T}),r.length>0&&r.forEach(l=>{const x=n[l]??[],u=je(x);a[l]=u}),a},Se=(t,s,n)=>{if(!Array.isArray(t))throw new Error("Invalid filterList or index");return t[n].splice(s,1),t},ve=(t,s)=>{if(!Array.isArray(s))throw new Error("filters must be an array");return s.length?!s.includes(t):!1},ss=t=>{switch(t){case D.NOTIFICATION_SEND_CHANNEL.WALLET:return"Wallet";case D.NOTIFICATION_SEND_CHANNEL.PUSH:return"Push Kit";case D.NOTIFICATION_SEND_CHANNEL.EMAIL:return"Email";case D.NOTIFICATION_SEND_CHANNEL.WEBHOOK:return"Webhook";default:return""}},ut=()=>({components:{MUIDataTableFilter:{styleOverrides:{header:{marginBottom:0,p:{margin:0}},root:{"& .MuiGrid-container":{marginTop:0,"& .MuiGrid-item":{paddingTop:0}}}}},MuiPopover:{styleOverrides:{root:{"&.MuiPopover-root":{"& .MuiPaper-root:has(.filter-container)":{width:"420px"}}}}}}});function se({config:t,enableTooltip:s=!0,showTitle:n=!1,children:r=null}){const{status:a,title:l="",sentTime:x="",reason:u=""}=t,T=[l,u].filter(Boolean).join(", ");return e.jsx(jt,{title:s?e.jsxs(e.Fragment,{children:[e.jsx($,{color:"inherit",sx:{fontSize:12},children:T}),e.jsx("span",{children:x})]}):null,arrow:!0,placement:"top",children:e.jsxs(y,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"4px"},children:[e.jsxs(y,{sx:{position:"relative",minHeight:14,minWidth:14,display:"flex",alignItems:"center",justifyContent:"center"},children:[e.jsx(y,{style:{opacity:.15},sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:Le[a]}}),e.jsx(y,{sx:{position:"absolute",width:"55%",height:"55%",borderRadius:"50%",bgcolor:Le[a]}})]}),e.jsx($,{color:"inherit",sx:{fontSize:12},children:n?l:r})]})})}se.propTypes={config:d.object.isRequired,enableTooltip:d.bool,showTitle:d.bool,children:d.node};Ce.propTypes={list:d.array.isRequired,label:d.string.isRequired,onDelete:d.func};function Ce({list:t,label:s,onDelete:n=()=>{}}){const{t:r,locale:a}=J();return e.jsxs(y,{sx:{display:"flex",gap:1,alignItems:"center"},children:[e.jsxs($,{children:[s,": "]}),t.map(l=>{const x=lt(r,a,{status:l});return e.jsx(Fe,{size:"small",label:e.jsx(y,{sx:{display:"flex",alignItems:"center",gap:"4px"},children:e.jsx(se,{config:x,enableTooltip:!1,children:x.title})}),onDelete:u=>n(u,l)},l)})]})}ze.propTypes={filterList:d.array.isRequired,onChange:d.func.isRequired,index:d.number.isRequired,column:d.object.isRequired,filterValues:d.array.isRequired,label:d.string.isRequired,renderLabel:d.func.isRequired};function ze({filterList:t,onChange:s,index:n,column:r,filterValues:a,label:l,renderLabel:x}){return e.jsxs(Pe,{className:"filter-container",children:[e.jsx(Ye,{component:"legend",children:l}),e.jsx(Te,{row:!0,children:a.map(u=>e.jsx(Ie,{control:e.jsx(Ee,{checked:t[n].indexOf(u.value??u)>-1,onChange:T=>{const f=[...t];T.target.checked?f[n]=[...f[n],u.value??u]:f[n]=f[n].filter(v=>v!==(u.value??u)),s(f[n],n,r)},name:u.value??u}),label:e.jsx("span",{style:{display:"flex",alignItems:"center"},children:x(u)})},u.value??u))})]})}function Re(t){return e.jsx(ze,{...t,renderLabel:s=>e.jsx(se,{enableTooltip:!1,config:{status:s.status},children:s.label})})}ce.propTypes={status:d.number.isRequired,updatedAt:d.string.isRequired,reason:d.string,channel:d.string,onResend:d.func};function ce({status:t,updatedAt:s,reason:n="",channel:r="wallet",onResend:a}){const{t:l,locale:x}=J(),u=lt(l,x,{status:t,updatedAt:s,reason:n,channel:r});return e.jsxs(y,{sx:{display:"flex",alignItems:"center",gap:1},children:[e.jsx(se,{config:u,showTitle:!0}),u.status!=="success"&&e.jsx(we,{className:"resend-btn",size:"small",startIcon:e.jsx(_e,{}),sx:{fontSize:12,color:"rgba(0, 0, 0, 0.87)",fontWeight:400,".MuiButton-startIcon":{mr:"2px"}},onClick:a,children:l("notification.resend")})]})}We.propTypes={value:d.array.isRequired,onChange:d.func};function We({value:t,onChange:s}){const{locale:n}=J(),r=K().toDate(),[a,l]=g.useState(null),x=g.useCallback(f=>{l(a?null:f.currentTarget)},[a]),u=!!a,T=g.useCallback(f=>{if(!f.startDate||!f.endDate){U.error("Please select a date range");return}if(K(f.startDate).isAfter(f.endDate)||!K(f.startDate).isValid()||!K(f.endDate).isValid()){U.error("Invalid date range");return}s([f.startDate,f.endDate]),l(null)},[s]);return e.jsxs("div",{children:[e.jsx($,{component:"div",variant:"h5",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},sx:{mb:0},children:e.jsxs(we,{onClick:x,variant:"outlined",size:"small",color:"inherit",children:[qe(t[0],n)," - ",qe(t[1],n)]})}),e.jsx(Ae,{open:u,anchorEl:a,onClose:()=>{l(null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},children:e.jsx(Mt,{open:!0,maxDate:r,initialDateRange:{startDate:t[0],endDate:t[1]},toggle:x,definedRanges:Ht(r),onChange:T})})]})}Me.propTypes={itemComponent:d.elementType.isRequired};function Me({itemComponent:t,...s}){const{t:n}=J();return!s?.filterList?.filter(a=>a.length).length?null:e.jsxs(y,{sx:{display:"flex",gap:1,alignItems:"center"},children:[e.jsx("div",{className:"toolbar-filter-title",children:n("notification.filter")}),e.jsx("div",{className:"toolbar-filter-content",children:e.jsx(Ft.TableFilterList,{...s,ItemComponent:t})})]})}function He({label:t,onDelete:s,canDelete:n=()=>!0,...r}){const a=s&&typeof s=="function"?s:void 0;let l=!0;return n&&typeof n=="function"&&(l=n({label:t,...r})),e.jsx(Fe,{label:t,variant:"outlined",...a&&l?{onDelete:a}:{}})}He.propTypes={label:d.string.isRequired,onDelete:d.func,canDelete:d.func};const ns=[{label:"Wallet",value:"app",checked:!0},{label:"Email",value:"email",checked:!0},{label:"Push Kit",value:"push",checked:!0},{label:"Webhook",value:"webhook",checked:!0}];pt.propTypes={loading:d.bool,onCancel:d.func,onConfirm:d.func};function pt({loading:t=!1,onCancel:s=()=>{},onConfirm:n=()=>{}}){const{t:r}=J(),[a,l]=g.useState(ns),[x,u]=g.useState(!0),T=(v,C)=>{C.checked=v.target.checked;const F=a.map(_=>({..._,checked:_.value===C.value?C.checked:_.checked}));l(F)},f=v=>{v.stopPropagation(),n({channels:a.filter(C=>C.checked).map(C=>C.value),isResendFailedOnly:x})};return e.jsxs(y,{className:"resend-config",sx:{padding:"16px 24px"},children:[e.jsx($,{variant:"body1",component:"div",className:"check-title",sx:{fontWeight:700,mb:1},children:r("notification.config")}),e.jsx(y,{className:"choose-channel",children:e.jsxs(Pe,{component:"fieldset",variant:"standard",children:[e.jsx(Ye,{component:"legend",children:r("notification.selectChannels")}),e.jsx(Te,{sx:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:1},children:a.map(v=>e.jsx(Ie,{control:e.jsx(Ee,{checked:v.checked,onChange:C=>T(C,v),name:v.value}),label:v.label},v.value))})]})}),e.jsx(y,{className:"resend-config-footer",children:e.jsx(Te,{children:e.jsx(Ie,{control:e.jsx(Ee,{checked:x,onChange:v=>u(v.target.checked)}),label:r("notification.resendFailedOnly")})})}),e.jsxs(y,{className:"resend-config-footer-tip",sx:{display:"flex",justifyContent:"flex-end",gap:1},children:[e.jsx(we,{onClick:v=>{v.stopPropagation(),s()},color:"inherit",children:r("common.cancel")}),e.jsxs(we,{onClick:f,color:"primary",disabled:t,variant:"contained",autoFocus:!0,style:{marginLeft:8},children:[t&&e.jsx(Xe,{size:16}),r("common.confirm")]})]})]})}ft.propTypes={notificationId:d.string.isRequired,handleResend:d.func,resending:d.bool};function ft({notificationId:t,handleResend:s,resending:n=!1}){const{t:r,locale:a}=J(),l=Je(),x=g.useMemo(()=>Qe(l,ut()),[l]),{getReceivers:u,inService:T,teamDid:f,getUser:v,blocklet:C}=Be(),[F,_]=g.useState(!1),[N,V]=g.useState([]),P=De({anchorEl:null,position:null}),L=De({anchorEl:null,position:null}),[W,q]=g.useState(null),[Y,Z]=g.useState({total:0,pageSize:10,pageCount:0,page:1}),[h,S]=g.useState({searchText:"",page:1,pageSize:10,walletSendStatus:[],pushKitSendStatus:[],emailSendStatus:[],dateRange:[K().subtract(1,"month").startOf("day").toDate(),K().endOf("day").toDate()]}),[I,w]=g.useState([]),E=[{label:r("notification.sendStatus.pending"),value:0,status:"pending"},{label:r("notification.sendStatus.success"),value:1,status:"success"},{label:r("notification.sendStatus.failed"),value:2,status:"failed"}],k=async()=>{if(!F&&t)try{_(!0);const i=await u({notificationId:t,...h}),o=i.list.map(c=>({...c,receiverUser:{...c.receiverUser,avatar:st(c.receiverUser.avatar,f,T)}}));V(o),Z(i.paging),_(!1)}catch(i){U.error(i.message),_(!1)}};g.useEffect(()=>{k()},[h]);const B=i=>{i.stopPropagation();const o=i.currentTarget;L.anchorEl=o;const c=o.getBoundingClientRect();L.position={top:c.top+window.scrollY,left:c.left+window.scrollX}},ae=i=>i.data.length?e.jsx("div",{style:{display:"flex",alignItems:"center",padding:"10px"},children:e.jsx(Oe,{className:"resend-btn",size:"small",color:"primary",variant:"contained",startIcon:e.jsx(_e,{}),sx:{".MuiButton-startIcon":{mr:"2px"}},onClick:B,children:r("notification.resend")})}):null,ne={sort:!1,download:!1,print:!1,selectableRows:"multiple",searchPlaceholder:r("common.search"),searchAlwaysOpen:!1,filterType:"checkbox",searchDebounceTime:300,page:Y.page-1,rowsPerPage:Y.pageSize,count:Y.total,searchText:h.searchText,tableBodyMaxHeight:"calc(80vh - 260px)",rowsSelected:I,onRowSelectionChange:(i,o)=>{w(o.map(c=>c.dataIndex))},customToolbarSelect:ae},ee=({page:i,rowsPerPage:o,searchText:c,filterList:j})=>{const[,z=[],G=[],H=[]]=j;h.pageSize!==o?S(M=>({...M,pageSize:o,page:1})):h.page!==i+1?S(M=>({...M,page:i+1})):h.searchText!==c?S(M=>({...M,searchText:c,page:1})):pe(z,h.walletSendStatus)?pe(G,h.pushKitSendStatus)?pe(H,h.emailSendStatus)||S(M=>({...M,emailSendStatus:H,page:1})):S(M=>({...M,pushKitSendStatus:G,page:1})):S(M=>({...M,walletSendStatus:z,page:1}))},oe=g.useCallback(async(i,o)=>{if(!o)return!1;const c=await v(o);return c?i==="wallet"?Qt(c):i==="email"?Xt(C,c):i==="pushKit"?Jt(C,c):i==="webhook"?Zt(c):!0:!1},[v,C]),ge=g.useCallback(i=>es(r,i),[r]),re=()=>{P.anchorEl=null,P.position=null,q(null)},le=()=>{L.anchorEl=null,L.position=null},m=async(i,o,c=!0,j="")=>{if(!(!o.length||!i.length))try{s(i,o,c,j),L.anchorEl||(await be(.5),re())}catch(z){console.error("handleResend error",{error:z})}},p=async({channels:i,isResendFailedOnly:o})=>{const c=I.map(j=>N[j].receiver);await m(i,c,o),await be(.5),le(),w([])},b=async(i,o=[],c=!0)=>{try{await m(["webhook"],[i.receiver],c,o)}catch(j){U.error(j.response?j.response.statusText:j.message)}},R=async(i,o,c,j=[],z=!0)=>{if(i.stopPropagation(),ts(o,c)>=4){U.warning(r("notification.resendLimit"));return}if(!ke.includes(c)){await b(o,j,z);return}if(i){const H=i.currentTarget,M=H.getBoundingClientRect();P.anchorEl=H,P.position={top:M.top+window.scrollY,left:M.left+window.scrollX}}q({channel:c});try{const H=await oe(c,o.receiver);await be(1),q({channel:c,result:H}),(typeof H=="boolean"&&H||St(H)&&Object.values(H).every(M=>!!M))&&(await s([c],[o.receiver],z),L.anchorEl||(await be(.5),re()))}catch(H){U.error(H.message)}},O=i=>{S(o=>({...o,dateRange:i,page:1}))},A=(i,o,c,j)=>{i.stopPropagation();const z=c.filter(G=>G!==o);S(G=>({...G,[j]:z,page:1}))},Q=X(()=>[{label:r("notification.receiver"),name:"receiver",width:200,options:{filter:!1,customBodyRenderLite:i=>{const{receiverUser:o,receiver:c}=N[i];return o?e.jsxs(y,{"data-cy":`member-name-${o.fullName}`,sx:{display:"flex",alignItems:"center",gap:1,justifyContent:"flex-start"},children:[e.jsx(Ze,{src:`${o.avatar}?imageFilter=resize&w=48&h=48`,size:32,did:c,shape:"circle",style:{borderRadius:"100%",overflow:"hidden"}}),e.jsx(me,{children:o.fullName})]},c):e.jsx(yt,{size:14,responsive:!1,compact:!0,copyable:!1,did:c})}}},{label:"Wallet",name:"walletSendStatus",width:200,options:{setCellProps:()=>({className:"sent-status-cell"}),filter:!0,filterType:"custom",filterList:h.walletSendStatus??[],customFilterListOptions:{render:i=>e.jsx(Ce,{list:i,label:"Wallet",onDelete:(o,c)=>{o.stopPropagation(),A(o,c,Q[1].options.filterList,"walletSendStatus")}}),update:Se},filterOptions:{names:E,fullWidth:!0,logic:ve,display:(i,o,c,j)=>e.jsx(Re,{label:"Wallet",filterList:i,onChange:o,index:c,column:j,filterValues:E})},customBodyRenderLite:i=>{const{walletSendStatus:o,walletSendAt:c,walletSendFailedReason:j}=N[i];return e.jsx(ce,{status:o,updatedAt:c,reason:j,channel:"wallet",onResend:z=>R(z,N[i],"wallet",[],!1)})}}},{label:"Push Kit",name:"pushKitSendStatus",width:200,options:{setCellProps:()=>({className:"sent-status-cell"}),customBodyRenderLite:i=>{const{pushKitSendStatus:o,pushKitSendAt:c,pushKitSendFailedReason:j}=N[i];return e.jsx(ce,{status:o,updatedAt:c,reason:j,channel:"pushkit",onResend:z=>R(z,N[i],"pushKit",[],!1)})},filter:!0,filterType:"custom",filterList:h.pushKitSendStatus??[],customFilterListOptions:{render:i=>e.jsx(Ce,{list:i,label:"Push Kit",onDelete:(o,c)=>{o.stopPropagation(),A(o,c,Q[2].options.filterList,"pushKitSendStatus")}}),update:Se},filterOptions:{names:E,fullWidth:!0,logic:ve,display:(i,o,c,j)=>e.jsx(Re,{label:"Push Kit",filterList:i,onChange:o,index:c,column:j,filterValues:E})}}},{label:"Email",name:"emailSendStatus",width:200,options:{setCellProps:()=>({className:"sent-status-cell"}),customBodyRenderLite:i=>{const{emailSendStatus:o,emailSendAt:c,emailSendFailedReason:j}=N[i];return e.jsx(ce,{status:o,updatedAt:c,reason:j,channel:"email",onResend:z=>R(z,N[i],"email",[],!1)})},filter:!0,filterType:"custom",filterList:h.emailSendStatus??[],customFilterListOptions:{render:i=>e.jsx(Ce,{list:i,label:"Email",onDelete:(o,c)=>{o.stopPropagation(),A(o,c,Q[3].options.filterList,"emailSendStatus")}}),update:Se},filterOptions:{names:E,fullWidth:!0,logic:ve,display:(i,o,c,j)=>e.jsx(Re,{label:"Email",filterList:i,onChange:o,index:c,column:j,filterValues:E})}}},{label:"Webhook",name:"webhook",width:200,options:{filter:!1,setCellProps:()=>({className:"sent-status-cell"}),customBodyRenderLite:i=>{const{webhook:o}=N[i];if(!o)return null;const c=Object.entries(o)[0];if(!c)return null;const[j,z]=c,G=z[0];return e.jsx(y,{sx:{display:"flex",flexDirection:"column",gap:1},children:e.jsxs(y,{className:"webhook-item",sx:{fontSize:12},children:[e.jsx(me,{maxLength:30,children:j},j),e.jsx(ce,{status:G.status,updatedAt:G.sendAt,reason:G.failedReason,channel:"webhook",onResend:H=>R(H,N[i],"webhook",[j],!1)})]},j)})}}},{label:r("common.createdAt"),name:"createdAt",width:100,options:{filter:!1,customBodyRenderLite:i=>{const{createdAt:o}=N[i];return e.jsx(et,{value:o,locale:a,shouldUpdate:!0})}}}],[N,a,h,r]),xe=[e.jsx(We,{value:h.dateRange,onChange:O},"date-picker"),e.jsx(Oe,{variant:"contained",size:"small",color:"primary",loading:F,startIcon:e.jsx(Wt,{}),onClick:()=>k(),sx:{".MuiButton-startIcon":{mr:"2px"}},style:{marginLeft:8},children:r("common.refresh")},"refresh")];return e.jsx(y,{sx:{overflow:"auto",".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"},".MuiTableCell-root":{paddingRight:"8px",whiteSpace:"nowrap"}},children:e.jsx(as,{children:e.jsxs(tt,{theme:x,children:[e.jsx(at,{className:"receivers-table",locale:a,loading:F,columns:Q,data:N,onChange:ee,options:ne,customButtons:xe,components:{TableFilterList:i=>e.jsx(Me,{...i,itemComponent:o=>e.jsx(He,{...o,canDelete:()=>!1})})}}),P.anchorEl&&e.jsx(Ae,{open:!!P.anchorEl,anchorReference:"anchorPosition",anchorPosition:P.position,onClose:re,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},children:e.jsxs(os,{children:[e.jsxs($,{variant:"body1",component:"div",className:"check-title",children:[W?.channel," Checking"]}),e.jsx(y,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:ge(W?.channel).map(i=>{const{type:o,pass:c,fail:j}=i;return!W?.result||W?.result?.[o]?e.jsxs($,{variant:"body1",component:"div",className:"check-item",sx:{display:"flex",alignItems:"center",gap:"4px",color:W?.result?.[o]?ye.success.main:"inherit"},children:[W?.result?e.jsx(Ut,{}):e.jsx(Xe,{size:12,sx:{color:ye.primary.main}}),e.jsx("span",{children:c})]},o):e.jsxs($,{variant:"body1",component:"div",className:"check-item",sx:{display:"flex",alignItems:"center",gap:"4px",color:ye.error.main},children:[e.jsx(qt,{}),e.jsx("span",{children:j})]},o)})})]})}),L.anchorEl&&e.jsx(Ae,{open:!!L.anchorEl,anchorReference:"anchorPosition",anchorPosition:L.position,onClose:le,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},children:e.jsx(pt,{loading:n,onCancel:le,onConfirm:p})})]})})})}const is=g.memo(ft),as=ie.div`
|
|
2
|
-
td.MuiTableCell-footer {
|
|
3
|
-
border: none !important;
|
|
4
|
-
}
|
|
5
|
-
.sent-status-cell {
|
|
6
|
-
.resend-btn {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
&:hover {
|
|
10
|
-
.resend-btn {
|
|
11
|
-
display: flex;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
`,os=ie.div`
|
|
16
|
-
padding: 8px 16px;
|
|
17
|
-
.check-title {
|
|
18
|
-
font-weight: 500;
|
|
19
|
-
margin-bottom: 8px;
|
|
20
|
-
&::first-letter {
|
|
21
|
-
text-transform: uppercase;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.check-item {
|
|
25
|
-
svg {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
}
|
|
28
|
-
font-size: 12px;
|
|
29
|
-
}
|
|
30
|
-
`,fe=t=>t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:t;function rs(t){const{wallet:s,push:n,email:r,webhook:a}=t;return[{name:"Wallet",value:e.jsx(de,{item:s})},{name:"Push",value:e.jsx(de,{item:n})},{name:"Email",value:e.jsx(de,{item:r})},...a.total>0?[{name:"Webhook",value:e.jsx(de,{item:a,isWebhook:!0})}]:[]]}function ls(t,s,n){const{wallet:r,push:a,email:l,webhook:x}=t;return[{name:"Wallet",value:e.jsx(ue,{loading:n,channel:D.NOTIFICATION_SEND_CHANNEL.WALLET,item:r,onResend:s})},{name:"Push",value:e.jsx(ue,{loading:n,channel:D.NOTIFICATION_SEND_CHANNEL.PUSH,item:a,onResend:s})},{name:"Email",value:e.jsx(ue,{loading:n,channel:D.NOTIFICATION_SEND_CHANNEL.EMAIL,item:l,onResend:s})},...x.total>0?[{name:"Webhook",value:e.jsx(ue,{loading:n,channel:D.NOTIFICATION_SEND_CHANNEL.WEBHOOK,item:x,isWebhook:!0,onResend:s})}]:[]]}Ke.propTypes={statistics:d.object.isRequired,onResend:d.func,mode:d.oneOf(["simple","detail"]),resending:d.bool};de.propTypes={item:d.object.isRequired,isWebhook:d.bool};function de({item:t,isWebhook:s=!1}){const{t:n}=J(),r=s?t.success.length:t.success,a=t.total,l=r===a?"success":"failed";return e.jsx(y,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",gap:2},children:e.jsx(y,{sx:{display:"flex",alignItems:"center",gap:1},children:e.jsxs(se,{config:{status:l},enableTooltip:!1,children:[fe(r)," / ",fe(a)," ",n("notification.sendStatus.success")]})})})}ue.propTypes={item:d.object.isRequired,isWebhook:d.bool,channel:d.string,onResend:d.func,loading:d.bool};function ue({channel:t=D.NOTIFICATION_SEND_CHANNEL.WALLET,item:s,isWebhook:n=!1,onResend:r=()=>{},loading:a=!1}){const{t:l}=J(),{success:x,failed:u,pending:T}=s,f=ss(t),v=n?x.length:x,C=n?u.length:u,F=n?T.length:T,_=async L=>{L.stopPropagation();const W=n?[...new Set([...x,...u].map(q=>q))]:[];await r([t],[],!0,W)},N=v+C,V=N>0?v/N*100:0,P=N>0?C/N*100:0;return e.jsxs(cs,{successRatio:V,failedRatio:P,children:[e.jsxs($,{variant:"h6",children:[f," (",s.total,")"]}),e.jsxs($,{variant:"body1",sx:{mb:2},children:[e.jsx("span",{style:{color:Le.success,fontWeight:600,fontSize:24},children:fe(v)}),e.jsx("small",{style:{paddingLeft:4},children:l("notification.sendStatus.success")})]}),e.jsxs(y,{className:"unsent-area",children:[e.jsxs(y,{children:[e.jsxs(se,{config:{status:"failed"},enableTooltip:!1,children:[fe(C)," ",l("notification.sendStatus.failed")]}),e.jsxs(se,{config:{status:"pending"},enableTooltip:!1,children:[fe(F)," ",l("notification.sendStatus.pending")]})]}),C>0&&e.jsx(y,{className:"resend-btn",children:e.jsx(Oe,{size:"small",color:"primary",loading:a,variant:"contained",startIcon:e.jsx(_e,{}),sx:{".MuiButton-startIcon":{mr:"2px"}},onClick:_,children:l("notification.resend")})})]})]})}function Ke({statistics:t,mode:s="simple",onResend:n=()=>{},resending:r=!1}){const a=X(()=>s==="simple"?rs(t):ls(t,n,r),[t,s]);return s==="simple"?e.jsx("div",{children:a.map(l=>e.jsx(ot,{style:{alignItems:"flex-start",marginBottom:s==="simple"?0:16},valueComponent:"div",nameWidth:100,name:l.name,children:l.value},l.name))}):e.jsx(Ue,{container:!0,spacing:2,children:a.map(l=>e.jsx(Ue,{size:{md:4,sm:6,xs:12},children:l.value},l.name))})}const cs=ie(y)`
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
align-items: flex-start;
|
|
34
|
-
padding: 16px;
|
|
35
|
-
border-radius: 8px;
|
|
36
|
-
background: ${({successRatio:t,failedRatio:s,theme:n})=>t===0&&s===0?n.palette.grey[300]:`linear-gradient(to right, ${vt(n.palette.success.light,.4)} ${t}%, ${n.palette.grey[100]} ${t}%)`};
|
|
37
|
-
transition: 'background 0.5s ease';
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
.unsent-area {
|
|
40
|
-
width: 100%;
|
|
41
|
-
position: relative;
|
|
42
|
-
.resend-btn {
|
|
43
|
-
position: absolute;
|
|
44
|
-
right: 0;
|
|
45
|
-
bottom: 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
`;mt.propTypes={notification:d.object.isRequired,onCancel:d.func,blocklet:d.object.isRequired,tab:d.string};function mt({notification:t,onCancel:s=()=>{},blocklet:n,tab:r="info"}){const{t:a,locale:l}=J(),{getComponent:x,resendNotification:u}=Be(),[T,f]=g.useState(!1),v=X(()=>x(t.componentDid)||n,[n,t.componentDid]),C=De({tab:r||"info"}),F=g.useCallback(async(h,S,I=!0,w=[])=>{if(!h.length||!t.id)return;const E=S.length>0?S:t?.receivers?.map(B=>B.receiver);if(!E.length)return;let k=[...h];if(k.includes(D.NOTIFICATION_SEND_CHANNEL.PUSH)&&!dt(n)&&(U.warning(a("notification.sendStatus.reason.unavailable",{channel:"Push Kit"})),k=k.filter(B=>B!==D.NOTIFICATION_SEND_CHANNEL.PUSH)),k.includes(D.NOTIFICATION_SEND_CHANNEL.EMAIL)&&!ct(n)&&(U.warning(a("notification.sendStatus.reason.unavailable",{channel:"Email"})),k=k.filter(B=>B!==D.NOTIFICATION_SEND_CHANNEL.EMAIL)),!!k.length)try{f(!0),await u({notificationId:t.id,receivers:E,channels:k,resendFailedOnly:I,...k.includes("webhook")&&w.length?{webhookUrls:w}:{}}),U.success("Message has been sent!")}catch(B){console.error("handleResend error",{error:B}),U.error(B.response?B.response.statusText:B.message)}finally{f(!1)}},[n,t.id,t?.receivers,u,a]),_=X(()=>Ct(t),[t]),N=X(()=>Nt(t),[t]),V=X(()=>_?t?.actorInfo:[],[t]),P=X(()=>n?.did||n?.meta?.did||"",[n]);function L(){return[{name:a("notification.from"),value:_&&N?e.jsx(wt,{actors:V,teamDid:P,size:32,showName:!0}):e.jsx(Rt,{size:32,blocklet:v,showName:!0,hideDot:!0})},{name:a("notification.notificationTitle"),value:e.jsx(me,{maxLength:50,children:t.title})},{name:a("notification.body"),value:_?e.jsx(Tt,{notification:t,blocklet:n}):e.jsx(It,{notification:t,rows:0})},{name:a("notification.severity"),value:e.jsx(he,{severity:t.severity})},{name:a("notification.createdAt"),value:e.jsx(Et,{value:t.createdAt,locale:l,shouldUpdate:!0,type:"all"})}].map(S=>e.jsx(ot,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:S.name,children:S.value},S.name))}const W={info:{label:a("common.basicInfo"),value:"info",component:L},receivers:{label:a("notification.receiver"),value:"receivers"},statistics:{label:a("notification.statistics"),value:"statistics"}},q=Object.values(W).map(({label:h,value:S})=>({label:h,value:S})),Y=W[C.tab]||W.info,Z=h=>{C.tab=h};return e.jsx(nt,{title:a("notification.notificationDetails"),fullWidth:!0,maxWidth:"lg",onClose:()=>{C.tab="info",s()},open:!0,actionsPosition:"left",sx:{".ux-dialog_header":{paddingBottom:0},".MuiDialogContent-root":{paddingTop:0}},children:e.jsxs(us,{children:[e.jsx(y,{className:"tabs",sx:{mx:3},children:e.jsx(zt,{tabs:q,current:C.tab,onChange:Z,scrollButtons:"auto"})}),e.jsxs("div",{className:"body",children:[C.tab==="receivers"&&e.jsx(is,{notificationId:t.id,resending:T,handleResend:F}),C.tab==="statistics"&&e.jsx(Ke,{statistics:t.statistics,mode:"detail",resending:T,onResend:F}),C.tab==="info"&&e.jsx(Y.component,{})]})]})})}const ds=g.memo(mt),us=ie.div`
|
|
49
|
-
& > .notification-row {
|
|
50
|
-
padding: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.tabs {
|
|
54
|
-
margin: 0;
|
|
55
|
-
}
|
|
56
|
-
.body {
|
|
57
|
-
margin-top: 16px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.channel-item {
|
|
61
|
-
display: flex;
|
|
62
|
-
padding: 4px;
|
|
63
|
-
justify-content: flex-start;
|
|
64
|
-
align-items: center;
|
|
65
|
-
gap: 8px;
|
|
66
|
-
> p {
|
|
67
|
-
font-size: 15px;
|
|
68
|
-
}
|
|
69
|
-
.resend-btn {
|
|
70
|
-
svg {
|
|
71
|
-
font-size: 16px;
|
|
72
|
-
}
|
|
73
|
-
display: flex;
|
|
74
|
-
align-items: center;
|
|
75
|
-
font-size: 12px;
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
&.disabled {
|
|
78
|
-
cursor: not-allowed;
|
|
79
|
-
color: ${ye.text.disabled};
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
`;Ne.propTypes={blocklet:d.object,label:d.string};const ps=ie.div`
|
|
84
|
-
display: flex;
|
|
85
|
-
justify-items: flex-start;
|
|
86
|
-
align-items: center;
|
|
87
|
-
gap: 8px;
|
|
88
|
-
.name {
|
|
89
|
-
display: block;
|
|
90
|
-
max-width: 260px;
|
|
91
|
-
white-space: nowrap;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
text-overflow: ellipsis;
|
|
94
|
-
}
|
|
95
|
-
`;function Ne({blocklet:t=null,label:s=""}){return e.jsx(ps,{children:t?e.jsxs(e.Fragment,{children:[e.jsx(it,{size:24,blocklet:t,ancestors:t.ancestors}),e.jsx("span",{className:"name",children:t.title||t.meta?.title})]}):e.jsx("span",{className:"name",children:s})})}ht.propTypes={list:d.array.isRequired,label:d.string.isRequired,onDelete:d.func};function ht({list:t,label:s,onDelete:n=()=>{}}){return e.jsxs(y,{sx:{display:"flex",gap:1,alignItems:"center"},children:[e.jsxs($,{children:[s,": "]}),t.map(r=>e.jsx(Fe,{size:"small",label:e.jsx(y,{sx:{display:"flex",alignItems:"center",gap:"4px"},children:e.jsx(he,{severity:r})}),onDelete:a=>n(a,r)},r))]})}function fs(t){return e.jsx(ze,{...t,renderLabel:s=>e.jsx(he,{severity:s})})}function ms({customTableButtons:t}){const{t:s,locale:n}=J(),r=Je(),a=g.useMemo(()=>Qe(r,ut()),[r]),[l,x]=g.useState(!1),{data:u,paging:T,blocklet:f,fetch:v,getComponent:C,componentDids:F,inService:_,teamDid:N}=Be(),V=g.useRef(null),[P,L]=g.useState(null),[W,q]=g.useState("info"),Y=Kt(),[Z,h]=g.useState(!1),S=`notification-records-${f.meta?.did}`,I=Pt(S),[w,E]=g.useState({pageSize:I.rowsPerPage||10,page:I.page?I.page+1:1,dids:I.dids||[],dateRange:I.dateRange||[K().subtract(1,"month").startOf("day").toDate(),K().endOf("day").toDate()]}),k=X(()=>{if(!f.children||!f.children.length)return[];const m=[];return f.children.forEach(p=>{const b=p.did||p.meta?.did;F.includes(b)&&(p.ancestors=[f],m.push(p))}),m},[F,f]),B=async m=>{try{x(!0),await v(m),x(!1)}finally{x(!1)}};g.useEffect(()=>{B(w)},[w]),g.useEffect(()=>{const m=u.find(p=>p.id===P?.id);P&&m&&L({...m})},[u]);const ae=(m,p,b,R)=>{m.stopPropagation();const O=b.filter(A=>A!==p);E(A=>({...A,[R]:O,page:1}))},ne=({page:m,rowsPerPage:p,filterList:b})=>{const[R=[],,,,O=[]]=b;w.pageSize!==p?E(A=>({...A,pageSize:p,page:1})):w.page!==m+1?E(A=>({...A,page:m+1})):pe(w.dids,R)?pe(w.severities,O)||E(A=>({...A,severities:O,page:1})):E(A=>({...A,dids:R,page:1}))},ee=g.useCallback(()=>{L(null),q("info")},[]),oe=g.useCallback(()=>{v(w)},[v,w]),ge=[{label:s("notification.from"),name:"sender",width:400,options:{filter:!0,filterType:"custom",customFilterListOptions:{render:m=>m.map((p,b)=>{if(p==="system")return e.jsx("span",{children:s("notification.system")},`system-${b}`);const R=k.find(O=>(O.did||O.meta?.did)===p);return e.jsx(Ne,{blocklet:R,label:R?.title||R?.meta?.title},p)}),update:(m,p,b)=>(m[b].splice(p,1),m)},filterOptions:{names:k,logic:(m,p)=>p.length?!p.includes(m):!1,display:(m,p,b,R)=>e.jsxs(Pe,{style:{width:"380px"},children:[e.jsx(Dt,{id:"demo-simple-select-label",style:{background:"#ffffff"},children:"Sender"}),e.jsxs(Ot,{multiple:!0,value:m[b],renderValue:O=>e.jsx(y,{style:{overflow:"hidden",textOverflow:"ellipsis"},sx:{display:"flex",gap:1,alignItems:"center"},children:O.map(A=>{if(A==="system")return e.jsx("span",{children:s("notification.system")},A);const Q=k.find(xe=>(xe.did||xe.meta?.did)===A);return e.jsx(Ne,{blocklet:Q,label:Q?.title||Q?.meta?.title},A)})}),onChange:O=>{m[b]=O.target.value,p(m[b],b,R)},children:[e.jsx($e,{value:"system",children:s("notification.system")}),k.map(O=>{const A=O.did||O.meta?.did;return e.jsx($e,{value:A,children:e.jsx(Ne,{blocklet:O,label:O.title||O.meta?.title})},A)})]})]})},customBodyRenderLite:m=>{const p=u[m],b=C(p.componentDid);return e.jsxs(y,{sx:{display:"flex",alignItems:"center",gap:1},children:[b?e.jsx(it,{size:32,blocklet:b,ancestors:b.ancestors??[]}):e.jsx(At,{blocklet:f,size:32}),e.jsx(me,{maxLength:50,children:b?.meta?.title||f?.meta?.title})]})}}},{label:s("notification.receiver"),name:"receivers",width:300,options:{filter:!1,customBodyRenderLite:m=>{const p=u[m],{receivers:b}=p;return e.jsx(Lt,{total:b.length,renderSurplus:R=>R<100?e.jsxs("span",{children:["+",R]}):e.jsx("span",{children:"99+"}),max:3,sx:{justifyContent:"flex-end",height:"32px",".MuiAvatar-root":{width:"32px",height:"32px",fontSize:"12px",border:0,zIndex:2}},onClick:R=>{R.stopPropagation(),L(p),q("receivers")},children:b.map(R=>{const{receiverUser:O}=R,A=st(O.avatar,N,_);return e.jsx(Ze,{alt:O.fullName,src:`${A}?imageFilter=resize&w=48&h=48`,size:32,did:R.receiver,shape:"circle",style:{borderRadius:"100%",overflow:"hidden"}},R.receiver)})})}}},{label:s("notification.statistics"),name:"statistics",width:400,options:{filter:!1,customBodyRenderLite:m=>{const p=u[m];return e.jsx(y,{onClick:b=>{b.stopPropagation(),L(p),q("statistics")},children:e.jsx(Ke,{statistics:p.statistics})})}}},{label:s("notification.notificationPreview"),name:"data",options:{filter:!1,customBodyRenderLite:m=>{const p=u[m];return e.jsx(me,{maxLength:50,children:p.title})}}},{label:s("notification.severity"),name:"severity",width:200,options:{setCellProps:()=>({className:"severity-cell"}),customBodyRenderLite:m=>{const p=u[m];return e.jsx(he,{severity:p.severity})},filter:!0,filterType:"custom",filterList:w.severities??[],customFilterListOptions:{render:m=>e.jsx(ht,{list:m,label:s("notification.severity"),onDelete:(p,b)=>{p.stopPropagation(),ae(p,b,ge[4].options.filterList,"severities")}}),update:Se},filterOptions:{names:Ve,fullWidth:!0,logic:ve,display:(m,p,b,R)=>e.jsx(fs,{label:s("notification.severity"),filterList:m,onChange:p,index:b,column:R,filterValues:Ve})}}},{label:s("common.createdAt"),name:"createdAt",width:300,options:{filter:!1,customBodyRenderLite:m=>{const{createdAt:p}=u[m];return e.jsx(et,{value:p,locale:n,shouldUpdate:!0})}}}],re=m=>{E(p=>({...p,dateRange:m,page:1}))},le=[e.jsxs(y,{sx:{display:"flex",alignItems:"center",gap:1.5},children:[e.jsx(kt,{onClick:()=>h(!0),sx:{p:Y?0:void 0},children:e.jsx(_t,{})},"settings"),Y?e.jsx($,{children:s("common.setting")}):null]}),...t||[]];return e.jsxs(y,{ref:V,sx:{overflow:"auto",".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"},".MuiTableCell-root":{paddingRight:"8px",whiteSpace:"nowrap"}},children:[e.jsx(hs,{children:e.jsx(tt,{theme:a,children:e.jsx(at,{className:"main-table",verticalKeyWidth:100,loading:l,locale:n,columns:ge,data:u,durable:S,onChange:ne,options:{sort:!1,download:!1,print:!1,search:!1,expandableRowsOnClick:!0,page:T.page-1,rowsPerPage:T.pageSize,count:T.total,...I,onRowClick:(m,{dataIndex:p})=>{L(u[p])}},customPreButtons:[e.jsx(We,{value:w.dateRange,onChange:re})],customButtons:le,components:{TableFilterList:m=>e.jsx(Me,{...m,itemComponent:p=>e.jsx(He,{...p,canDelete:b=>b?.columnNames?.[b?.index||0]?.name==="sender"})})}})})}),P&&e.jsx(ds,{refresh:oe,onCancel:ee,notification:P,blocklet:f,tab:W}),e.jsx(nt,{title:`${s("common.notification")} ${s("common.setting")}`,fullWidth:!0,maxWidth:"md",open:Z,onClose:()=>h(!1),PaperProps:{style:{minHeight:"500px"}},children:e.jsx(y,{sx:{mt:"-16px",overflowY:"hidden"},children:e.jsx(Bt,{})})})]})}const hs=ie.div`
|
|
96
|
-
td.MuiTableCell-footer {
|
|
97
|
-
border: none !important;
|
|
98
|
-
}
|
|
99
|
-
.sent-status-cell {
|
|
100
|
-
.resend-btn {
|
|
101
|
-
display: none;
|
|
102
|
-
}
|
|
103
|
-
&:hover {
|
|
104
|
-
.resend-btn {
|
|
105
|
-
display: flex;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.custom-toobar-btns {
|
|
111
|
-
gap: 4px;
|
|
112
|
-
}
|
|
113
|
-
`;gs.propTypes={blocklet:d.object.isRequired,customTableButtons:d.array};function gs({blocklet:t={},customTableButtons:s=[]}){return e.jsx(Vt,{blocklet:t,children:e.jsx(ms,{customTableButtons:s})})}export{gs as default};
|