@abtnode/webapp 1.17.5 → 1.17.6-beta-20251216-223535-283b9ffe
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-CgNLGdsV.js → AdapterDayjs-D4d-PrqS.js} +7 -7
- package/dist/assets/{Add-DY1gS9Dz.js → Add-BSsB0LgV.js} +1 -1
- package/dist/assets/ArrowDropDown-CNKThDMg.js +1 -0
- package/dist/assets/{Autocomplete-DBXlHxck.js → Autocomplete-fQULCEh3.js} +1 -1
- package/dist/assets/{Breadcrumbs-C4L8U0Mj.js → Breadcrumbs-BYVgLpiJ.js} +1 -1
- package/dist/assets/{ButtonGroup-3fqwj5Ky.js → ButtonGroup-DgPN2-YM.js} +1 -1
- package/dist/assets/{CSSTransition-hVfsLWm-.js → CSSTransition-DYtKv9e9.js} +1 -1
- package/dist/assets/{CallMerge-BWKncjAQ.js → CallMerge-v67_Z3SC.js} +1 -1
- package/dist/assets/{CardContent-S1Olt54S.js → CardContent-BYECX7XP.js} +1 -1
- package/dist/assets/{ChevronLeft-DGU-DOuV.js → ChevronLeft-CfyGnxyr.js} +1 -1
- package/dist/assets/{ChevronRight-8InGKmMS.js → ChevronRight-C4O2fZlw.js} +1 -1
- package/dist/assets/{Clear-BFurvC8R.js → Clear-CybwA2Jd.js} +1 -1
- package/dist/assets/{Delete-Brb8t62i.js → Delete-ytwLYNdm.js} +1 -1
- package/dist/assets/{DeleteOutline-P1tPKlQL.js → DeleteOutline-CjxNIx7X.js} +1 -1
- package/dist/assets/{Done-D7HN06J1.js → Done-BqFmWa1U.js} +1 -1
- package/dist/assets/{Edit-CpNEn5zp.js → Edit-DNmNGF17.js} +1 -1
- package/dist/assets/{ErrorOutline-DlSN54Ps.js → ErrorOutline-BlyorQPQ.js} +1 -1
- package/dist/assets/{FilterList-DCiDc43y.js → FilterList-DD3VXN0o.js} +1 -1
- package/dist/assets/{Google-D_lyR__A.js → Google-Bp60YdGj.js} +1 -1
- package/dist/assets/{HelpOutline-DpBESAst.js → HelpOutline-kE6mcJHh.js} +1 -1
- package/dist/assets/{KeyboardArrowDown-DeA6xh4S.js → KeyboardArrowDown-5IVXxFq-.js} +1 -1
- package/dist/assets/{Launch-Bq5mqcUb.js → Launch-Dnww4ldq.js} +1 -1
- package/dist/assets/{Link-CyO965jU.js → Link-DkJ5JSUR.js} +1 -1
- package/dist/assets/{ListItemButton-BsnowPaA.js → ListItemButton-Cmz2lNmj.js} +1 -1
- package/dist/assets/{ListSubheader-BcTZxGIx.js → ListSubheader-CE5Bsi9j.js} +1 -1
- package/dist/assets/{LoadingButton-UXSaquyL.js → LoadingButton-CyiIDt4W.js} +1 -1
- package/dist/assets/{MoreVert-V2LiAaXF.js → MoreVert-C-gNfdF4.js} +1 -1
- package/dist/assets/{OpenInNew-C5gvRiqd.js → OpenInNew-Dw9F5-j0.js} +1 -1
- package/dist/assets/{Refresh-C6MLAQnO.js → Refresh-CZ4VLHgc.js} +1 -1
- package/dist/assets/{Replay-CSz8ZIga.js → Replay-BJq8nepA.js} +1 -1
- package/dist/assets/{Search-x2lb6Akd.js → Search-Cc0L1P8Y.js} +1 -1
- package/dist/assets/{Stepper-D7l565H3.js → Stepper-DMJHwAtc.js} +1 -1
- package/dist/assets/{TableSearch-DRmWGhph.js → TableSearch-DIxp58MQ.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-DTZuFSiT.js → ToggleButtonGroup-D0GUjsDr.js} +1 -1
- package/dist/assets/{UnfoldMore-CfZy9D-D.js → UnfoldMore-CxNKo0Ry.js} +1 -1
- package/dist/assets/{Verified-BpXE28d4.js → Verified-Bmj6wp69.js} +1 -1
- package/dist/assets/{VerifiedUser-BNuQYAdH.js → VerifiedUser-U4nx-WO7.js} +1 -1
- package/dist/assets/{ViewList-C-96Tk3T.js → ViewList-CFmOfqSL.js} +1 -1
- package/dist/assets/{_createAggregator-CImEitD-.js → _createAggregator-BNHjiP2Z.js} +1 -1
- package/dist/assets/{actions-B8scXmgC.js → actions-DxhW-s_8.js} +1 -1
- package/dist/assets/{actions-kx-IWp3k.js → actions-LmskFz0e.js} +1 -1
- package/dist/assets/{agreement-DP0eUo8S.js → agreement-Cw-Y24RV.js} +1 -1
- package/dist/assets/api-CM8nEaeN.js +1 -0
- package/dist/assets/{appearance-cERzuGGi.js → appearance-B_sAL_Xy.js} +1 -1
- package/dist/assets/{audit-logs-Cv2ihhLM.js → audit-logs-DrYw8YX2.js} +1 -1
- package/dist/assets/{base-chart-DEZPYe4h.js → base-chart-Cnjgjyps.js} +1 -1
- package/dist/assets/{blocklet-C0-c8dVN.js → blocklet-CAtl3NS9.js} +1 -1
- package/dist/assets/{chain-fXxRiV2U.js → chain-CLyDSq6m.js} +1 -1
- package/dist/assets/{click-to-copy-CGVo7y_H.js → click-to-copy-B4kD-azC.js} +1 -1
- package/dist/assets/cloneDeep-B7ITWJEe.js +1 -0
- package/dist/assets/{config-navigation-DLeJwQ7O.js → config-navigation-EBUlfuPd.js} +3 -3
- package/dist/assets/connect-to-BBTYSJcL.js +29 -0
- package/dist/assets/{cssMode-JYzCUrBO.js → cssMode-Bt9MhaWE.js} +1 -1
- package/dist/assets/{delete-confirm-CKUwqxvJ.js → delete-confirm-BW9rRHcw.js} +1 -1
- package/dist/assets/{depsEqual-B4BFmwuI.js → depsEqual-CZmuZV4u.js} +1 -1
- package/dist/assets/{detail-F8H8w9u1.js → detail-NaPLCibZ.js} +3 -3
- package/dist/assets/{domains-BpTnyTDn.js → domains-CRVaOfFE.js} +2 -2
- package/dist/assets/{download-DDdx75jE.js → download-Q0QwEx4s.js} +1 -1
- package/dist/assets/{edit.svg-CBK1UF-9.js → edit.svg-BwRgVxi0.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-OrWbvjn-.js +1 -0
- package/dist/assets/engine-CyztVVgp.js +1 -0
- package/dist/assets/{freemarker2-BUy2QQDP.js → freemarker2-tDqLNl-2.js} +1 -1
- package/dist/assets/{get-safe-url-DwUMajjg.js → get-safe-url-2iJX7eF-.js} +1 -1
- package/dist/assets/getValidReactChildren-BaHtQCbY.js +1 -0
- package/dist/assets/{graphqlMode-DL2_JbNW.js → graphqlMode-BlUbMfzr.js} +2 -2
- package/dist/assets/{handlebars-q_jgTrqQ.js → handlebars-9eJ84UTg.js} +1 -1
- package/dist/assets/{html-D9YLKYtv.js → html-D6df9rSg.js} +1 -1
- package/dist/assets/{html-title-Dp-sqsn-.js → html-title-lLYk44sN.js} +1 -1
- package/dist/assets/{htmlMode-Bz_kRcCe.js → htmlMode-LE_hT0Km.js} +1 -1
- package/dist/assets/{iframe-Ca3kRbO-.js → iframe-BeIjzVA5.js} +1 -1
- package/dist/assets/{index-BkZRidRp.js → index-20VJ2Oit.js} +1 -1
- package/dist/assets/{index-Lkm8XAFp.js → index-2yC9CX7x.js} +1 -1
- package/dist/assets/{index-EFWTbF8B.js → index-B5BIzAQO.js} +1 -1
- package/dist/assets/{index-CzaXdOyt.js → index-B9nSfr01.js} +3 -3
- package/dist/assets/{index-29D5d56z.js → index-BKiW1GO2.js} +1 -1
- package/dist/assets/{index-t688rAZG.js → index-BLPxMqb5.js} +1 -1
- package/dist/assets/{index-B1mE4gVN.js → index-BPTVdEku.js} +1 -1
- package/dist/assets/{index-D-lCEtM3.js → index-BfBO-AOR.js} +1 -1
- package/dist/assets/{index-DqhaUjOT.js → index-BhijUvdW.js} +1 -1
- package/dist/assets/{index-CS7M20xU.js → index-BjV7y4g4.js} +1 -1
- package/dist/assets/{index-DfKSjTkz.js → index-Bk9ooLXT.js} +1 -1
- package/dist/assets/{index-CvyKEas9.js → index-Bnk9byas.js} +4 -4
- package/dist/assets/index-BtepVdqB.js +1 -0
- package/dist/assets/{index-Snc2Ei8N.js → index-C88tq6i-.js} +1 -1
- package/dist/assets/{index-DLSU0S2q.js → index-C8LJNLE1.js} +1 -1
- package/dist/assets/{index-D26x5oE3.js → index-CNTV-HhI.js} +1 -1
- package/dist/assets/{index-BTjnUzI6.js → index-CPcBs23J.js} +1 -1
- package/dist/assets/{index-D9CYdevY.js → index-CUC9gaVs.js} +1 -1
- package/dist/assets/{index-Bm01pS0y.js → index-CZuf0REe.js} +1 -1
- package/dist/assets/{index-D3FM5z_m.js → index-C_HV1TNt.js} +3 -3
- package/dist/assets/{index-BCxpBrwy.js → index-Cd1hBQ_9.js} +1 -1
- package/dist/assets/{index-C-lLLTqv.js → index-CfIM04Ha.js} +2 -2
- package/dist/assets/{index-CghNgTHC.js → index-Cu2YPuaF.js} +1 -1
- package/dist/assets/{index-COx5xHO6.js → index-CxNALWK-.js} +1 -1
- package/dist/assets/{index-BkRtS9xF.js → index-D1_GavIJ.js} +1 -1
- package/dist/assets/{index-sI82kOvs.js → index-D6nTf7SK.js} +31 -35
- package/dist/assets/{index-QPSBfX_L.js → index-D6qulFBc.js} +1 -1
- package/dist/assets/{index-BNrJ3-FU.js → index-DLeyjgnC.js} +1 -1
- package/dist/assets/{index-BqujSmiU.js → index-D_bACieO.js} +1 -1
- package/dist/assets/{index-BF-3wV6r.js → index-Dcu0Ced5.js} +1 -1
- package/dist/assets/{index-DxWj3O4A.js → index-DdUmpiCp.js} +3 -3
- package/dist/assets/{index-C-Jgy1MF.js → index-DlsopR7t.js} +1 -1
- package/dist/assets/{index-87RKuT5C.js → index-DmEIktUl.js} +115 -117
- package/dist/assets/{index-qPcTPC8W.js → index-DqqrHhsp.js} +1 -1
- package/dist/assets/{index-BOuTBP5N.js → index-DsPQ5RNh.js} +1 -1
- package/dist/assets/{index-HS1vQPHE.js → index-I7yLA1Ov.js} +1 -1
- package/dist/assets/{index-BP8O3XHI.js → index-IxMsTtHL.js} +1 -1
- package/dist/assets/index-Mpmy1dYW.js +375 -0
- package/dist/assets/{index-JEnbYjKN.js → index-P7FcdKFO.js} +1 -1
- package/dist/assets/{index-zltF8Ym1.js → index-UQ3D2bKL.js} +4 -4
- package/dist/assets/{index-B0_tF8nw.js → index-WvfzGhKH.js} +1 -1
- package/dist/assets/{index-CCjtqj3s.js → index-YqJm1wxK.js} +9 -9
- package/dist/assets/{index-lxTcvHA2.js → index-cmzW_NwI.js} +1 -1
- package/dist/assets/{index-C7i09MwD.js → index-jxWF1-Uj.js} +8 -8
- package/dist/assets/{index-DgrHpp-o.js → index-ojNpFmwB.js} +1 -1
- package/dist/assets/{index.esm-rxbUJdm1.js → index.esm-JPVKYAuW.js} +1 -1
- package/dist/assets/{install-from-url-Vgpqf_RA.js → install-from-url-a0384hu9.js} +1 -1
- package/dist/assets/{invitation-8UtMlo2J.js → invitation-CdbygWIR.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-5DtBeL0p.js → is-path-prefix-equal-BK7rdpKT.js} +1 -1
- package/dist/assets/{item-Bo6y5Gud.js → item-C3UkBhG5.js} +1 -1
- package/dist/assets/{javascript-DYN9z7wM.js → javascript-DkE91zSZ.js} +1 -1
- package/dist/assets/{jsonMode-D32rzzdQ.js → jsonMode-CBrNM7_M.js} +1 -1
- package/dist/assets/{liquid-BtOj54gG.js → liquid-CnsOwi8j.js} +1 -1
- package/dist/assets/{list-header-DMsNH71I.js → list-header-C7PJrzvN.js} +1 -1
- package/dist/assets/{lock.svg-Cs99iZpo.js → lock.svg-Rm7SZx1d.js} +1 -1
- package/dist/assets/{log-BDpurb-t.js → log-DEFMVzdt.js} +1 -1
- package/dist/assets/{lottie-react.esm-DHr-1U6T.js → lottie-react.esm-B-ezAxOL.js} +1 -1
- package/dist/assets/{mdx-BvhFWG4R.js → mdx-CZIaKyUY.js} +1 -1
- package/dist/assets/{memory-DdzEg3E6.js → memory-i6finnCy.js} +1 -1
- package/dist/assets/{metric-C2htX2Yk.js → metric-CihRbocA.js} +1 -1
- package/dist/assets/omit-CzDjJ0V8.js +1 -0
- package/dist/assets/{overview--R-CMMW-.js → overview-BKE4gv-F.js} +1 -1
- package/dist/assets/{permission-SRhWeTXb.js → permission-DlhGxFII.js} +1 -1
- package/dist/assets/{preference-CKq_K8v4.js → preference-BtrpCLMm.js} +3 -3
- package/dist/assets/{python-DxaDOp9e.js → python-DJYt3n7B.js} +1 -1
- package/dist/assets/{raf-schd.esm-VXV4zFrR.js → raf-schd.esm-D8v9lZx_.js} +1 -1
- package/dist/assets/{razor-BRzb-KS4.js → razor-hMRIDDQT.js} +1 -1
- package/dist/assets/{rotate-session-key-hCEg8oFb.js → rotate-session-key-WBI1WJWo.js} +1 -1
- package/dist/assets/{runtime-D91pG25y.js → runtime-Bc-gjnta.js} +1 -1
- package/dist/assets/schema-HU2ZEH5u.js +1 -0
- package/dist/assets/sdk-46pKrnQg.js +1 -0
- package/dist/assets/{service-dZBUbVK3.js → service-C3is7e0x.js} +1 -1
- package/dist/assets/{shorten-label-BF590ANn.js → shorten-label-DL-itFUz.js} +1 -1
- package/dist/assets/{simple-select-BVmpIZiu.js → simple-select-BAsjOjPA.js} +1 -1
- package/dist/assets/{spaces-BJDcrjBg.js → spaces-Djmw0nt4.js} +1 -1
- package/dist/assets/{status-8XKvO1QE.js → status-D2Drllod.js} +1 -1
- package/dist/assets/{status-DQ167_MQ.js → status-D7ZlLl4T.js} +1 -1
- package/dist/assets/{switch-control-HQLhcuwU.js → switch-control-BBA1I68_.js} +1 -1
- package/dist/assets/{table-icons-CTYxIeWB.js → table-icons-CqagwqOY.js} +1 -1
- package/dist/assets/{team-CWb9WqYD.js → team-D2Gv3KS6.js} +1 -1
- package/dist/assets/{toLower-TUYcnZbz.js → toLower-CreXzxO2.js} +1 -1
- package/dist/assets/toUpper-Crz2bdSG.js +1 -0
- package/dist/assets/{traffic-DGVWI219.js → traffic-lQhdhL0g.js} +1 -1
- package/dist/assets/{tsMode-DHb6BLph.js → tsMode-B0t-i9QO.js} +1 -1
- package/dist/assets/{typescript-BIlsbF26.js → typescript-BWstSdq7.js} +1 -1
- package/dist/assets/{url-evaluation-mq4H4jA_.js → url-evaluation-xPcTMwue.js} +1 -1
- package/dist/assets/{url-join-bG8RQ0FO.js → url-join-DaMo7uyz.js} +1 -1
- package/dist/assets/{use-mobile-BffT8C8k.js → use-mobile-DAmtuic1.js} +1 -1
- package/dist/assets/{use-mobile-BmJGrK15.js → use-mobile-DqI6fEdw.js} +1 -1
- package/dist/assets/{useAsync-C6Syz0fD.js → useAsync-8DzECKWt.js} +1 -1
- package/dist/assets/{useAsyncRetry-BG_Bqdv2.js → useAsyncRetry-CndpIWJk.js} +1 -1
- package/dist/assets/{useLocalStorage-7RvuX-wT.js → useLocalStorage-BL64yJ27.js} +1 -1
- package/dist/assets/useThemeProps-URhp63Pk.js +1 -0
- package/dist/assets/{util-BvF3wEH8.js → util-Cx7Tm9SQ.js} +1 -1
- package/dist/assets/{wait-container-DLuEZWXO.js → wait-container-BAd15_CC.js} +1 -1
- package/dist/assets/{without-wallet-DZoff-em.js → without-wallet-C_iBTPyr.js} +1 -1
- package/dist/assets/wrap-locale-DIHRO_br.js +1 -0
- package/dist/assets/{xml-DjQcmk1n.js → xml-HxQqV2ss.js} +1 -1
- package/dist/assets/{yaml-Cdu8Piv-.js → yaml-pWyAJblD.js} +1 -1
- package/dist/assets/{zh-Dr9buZnV.js → zh-CSl2KD_S.js} +1 -1
- package/dist/assets/{zh-tw-CeXBj2i0.js → zh-tw-BiloxWNq.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +25 -2
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-BA2tLXoO.js +0 -1
- package/dist/assets/api-D8LqcBu8.js +0 -1
- package/dist/assets/cloneDeep-CtZ8Xty4.js +0 -1
- package/dist/assets/connect-to-DCLDiA4c.js +0 -29
- package/dist/assets/emotion-cache.browser.esm-CZAf8Clc.js +0 -1
- package/dist/assets/engine-C1YpSsUo.js +0 -1
- package/dist/assets/getValidReactChildren-7B6f8iqP.js +0 -1
- package/dist/assets/index-CCTRr7te.js +0 -1
- package/dist/assets/index-CwQLM6w6.js +0 -376
- package/dist/assets/omit-Csc9rFvJ.js +0 -1
- package/dist/assets/schema-Bksytr0e.js +0 -1
- package/dist/assets/sdk-DXEfKnNl.js +0 -1
- package/dist/assets/toUpper-C6wT1Gl8.js +0 -1
- package/dist/assets/useThemeProps-DP_44cxZ.js +0 -1
- package/dist/assets/wrap-locale-CwRGSp3B.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,c2 as L,eT as C,d8 as w,cl as F,j as m,b9 as S,c4 as I,c5 as V,eU as j,bZ as G,cd as E,b_ as N,av as p,eV as n}from"./index-
|
|
1
|
+
import{r as d,c2 as L,eT as C,d8 as w,cl as F,j as m,b9 as S,c4 as I,c5 as V,eU as j,bZ as G,cd as E,b_ as N,av as p,eV as n}from"./index-DmEIktUl.js";const P=(t,e)=>{const{ownerState:a}=t;return[e.root,a.dense&&e.dense,a.alignItems==="flex-start"&&e.alignItemsFlexStart,a.divider&&e.divider,!a.disableGutters&&e.gutters]},T=t=>{const{alignItems:e,classes:a,dense:i,disabled:s,disableGutters:l,divider:c,selected:u}=t,o=V({root:["root",i&&"dense",!l&&"gutters",c&&"divider",s&&"disabled",e==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},j,a);return{...a,...o}},D=S(G,{shouldForwardProp:t=>E(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:P})(N(({theme:t})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${n.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:p(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${n.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:p(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${n.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:p(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:p(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${n.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${n.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),U=d.forwardRef(function(e,a){const i=L({props:e,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:l=!1,component:c="div",children:u,dense:f=!1,disableGutters:o=!1,divider:$=!1,focusVisibleClassName:O,selected:B=!1,className:k,...r}=i,g=d.useContext(C),x=d.useMemo(()=>({dense:f||g.dense||!1,alignItems:s,disableGutters:o}),[s,g.dense,f,o]),v=d.useRef(null);w(()=>{l&&v.current&&v.current.focus()},[l]);const y={...i,alignItems:s,dense:x.dense,disableGutters:o,divider:$,selected:B},b=T(y),R=F(v,a);return m.jsx(C.Provider,{value:x,children:m.jsx(D,{ref:R,href:r.href||r.to,component:(r.href||r.to)&&c==="div"?"button":c,focusVisibleClassName:I(b.focusVisible,O),ownerState:y,className:I(b.root,k),...r,classes:b,children:u})})});export{U as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c1 as g,c0 as f,r as S,c2 as h,j as m,b9 as x,c4 as L,ch as c,c5 as k,b_ as R}from"./index-
|
|
1
|
+
import{c1 as g,c0 as f,r as S,c2 as h,j as m,b9 as x,c4 as L,ch as c,c5 as k,b_ as R}from"./index-DmEIktUl.js";function v(t){return g("MuiListSubheader",t)}f("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const C=t=>{const{classes:s,color:o,disableGutters:e,inset:i,disableSticky:a}=t,r={root:["root",o!=="default"&&`color${c(o)}`,!e&&"gutters",i&&"inset",!a&&"sticky"]};return k(r,v,s)},M=x("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,s)=>{const{ownerState:o}=t;return[s.root,o.color!=="default"&&s[`color${c(o.color)}`],!o.disableGutters&&s.gutters,o.inset&&s.inset,!o.disableSticky&&s.sticky]}})(R(({theme:t})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(t.vars||t).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:s})=>!s.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:s})=>s.inset,style:{paddingLeft:72}},{props:({ownerState:s})=>!s.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}}]}))),n=S.forwardRef(function(s,o){const e=h({props:s,name:"MuiListSubheader"}),{className:i,color:a="default",component:r="li",disableGutters:p=!1,disableSticky:u=!1,inset:d=!1,...y}=e,l={...e,color:a,component:r,disableGutters:p,disableSticky:u,inset:d},b=C(l);return m.jsx(M,{as:r,className:L(b.root,i),ref:o,ownerState:l,...y})});n&&(n.muiSkipListHighlight=!0);export{n as L};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,j as e,bB as a}from"./index-
|
|
1
|
+
import{r,j as e,bB as a}from"./index-DmEIktUl.js";let t=!1;const i=()=>{t||(console.warn(["MUI: The LoadingButton component functionality is now part of the Button component from Material UI.","","You should use `import Button from '@mui/material/Button'`","or `import { Button } from '@mui/material'`"].join(`
|
|
2
2
|
`)),t=!0)},m=r.forwardRef(function(o,n){return i(),e.jsx(a,{ref:n,...o})});export{m as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as s,j as o}from"./index-
|
|
1
|
+
import{aF as s,j as o}from"./index-DmEIktUl.js";const c=s(o.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}));export{c as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as c,j as o}from"./index-
|
|
1
|
+
import{aF as c,j as o}from"./index-DmEIktUl.js";const t=c(o.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}));export{t as O};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as s,j as c}from"./index-
|
|
1
|
+
import{aF as s,j as c}from"./index-DmEIktUl.js";const t=s(c.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}));export{t as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as s,j as t}from"./index-
|
|
1
|
+
import{aF as s,j as t}from"./index-DmEIktUl.js";const o=s(t.jsx("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}));export{o as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as a,j as s}from"./index-
|
|
1
|
+
import{aF as a,j as s}from"./index-DmEIktUl.js";const o=a(s.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}));export{o as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,c1 as P,c0 as $,c2 as U,j as l,b9 as m,c4 as z,c5 as T,aF as _,cI as Q,b_ as F,cg as A,ch as q}from"./index-
|
|
1
|
+
import{r as p,c1 as P,c0 as $,c2 as U,j as l,b9 as m,c4 as z,c5 as T,aF as _,cI as Q,b_ as F,cg as A,ch as q}from"./index-DmEIktUl.js";const k=p.createContext({}),E=p.createContext({});function X(e){return P("MuiStep",e)}$("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const Y=e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e;return T({root:["root",o,n&&"alternativeLabel",a&&"completed"]},X,t)},Z=m("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),he=p.forwardRef(function(t,o){const n=U({props:t,name:"MuiStep"}),{active:a,children:s,className:d,component:i="div",completed:v,disabled:u,expanded:c=!1,index:r,last:b,...M}=n,{activeStep:y,connector:x,alternativeLabel:g,orientation:I,nonLinear:h}=p.useContext(k);let[S=!1,R=!1,f=!1]=[a,v,u];y===r?S=a!==void 0?a:!0:!h&&y>r?R=v!==void 0?v:!0:!h&&y<r&&(f=u!==void 0?u:!0);const N=p.useMemo(()=>({index:r,last:b,expanded:c,icon:r+1,active:S,completed:R,disabled:f}),[r,b,c,S,R,f]),L={...n,active:S,orientation:I,alternativeLabel:g,completed:R,disabled:f,expanded:c,component:i},j=Y(L),w=l.jsxs(Z,{as:i,className:z(j.root,d),ref:o,ownerState:L,...M,children:[x&&g&&r!==0?x:null,s]});return l.jsx(E.Provider,{value:N,children:x&&!g&&r!==0?l.jsxs(p.Fragment,{children:[x,w]}):w})}),ee=_(l.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"})),te=_(l.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}));function oe(e){return P("MuiStepIcon",e)}const W=$("MuiStepIcon",["root","active","completed","error","text"]);var H;const ne=e=>{const{classes:t,active:o,completed:n,error:a}=e;return T({root:["root",o&&"active",n&&"completed",a&&"error"],text:["text"]},oe,t)},D=m(Q,{name:"MuiStepIcon",slot:"Root"})(F(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${W.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${W.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${W.error}`]:{color:(e.vars||e).palette.error.main}}))),ae=m("text",{name:"MuiStepIcon",slot:"Text"})(F(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),re=p.forwardRef(function(t,o){const n=U({props:t,name:"MuiStepIcon"}),{active:a=!1,className:s,completed:d=!1,error:i=!1,icon:v,...u}=n,c={...n,active:a,completed:d,error:i},r=ne(c);if(typeof v=="number"||typeof v=="string"){const b=z(s,r.root);return i?l.jsx(D,{as:te,className:b,ref:o,ownerState:c,...u}):d?l.jsx(D,{as:ee,className:b,ref:o,ownerState:c,...u}):l.jsxs(D,{className:b,ref:o,ownerState:c,...u,children:[H||(H=l.jsx("circle",{cx:"12",cy:"12",r:"12"})),l.jsx(ae,{className:r.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:c,children:v})]})}return v});function se(e){return P("MuiStepLabel",e)}const C=$("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),le=e=>{const{classes:t,orientation:o,active:n,completed:a,error:s,disabled:d,alternativeLabel:i}=e;return T({root:["root",o,s&&"error",d&&"disabled",i&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",s&&"error",d&&"disabled",i&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",s&&"error",d&&"disabled",i&&"alternativeLabel"],labelContainer:["labelContainer",i&&"alternativeLabel"]},se,t)},ie=m("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})({display:"flex",alignItems:"center",[`&.${C.alternativeLabel}`]:{flexDirection:"column"},[`&.${C.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),ce=m("span",{name:"MuiStepLabel",slot:"Label"})(F(({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${C.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${C.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${C.alternativeLabel}`]:{marginTop:16},[`&.${C.error}`]:{color:(e.vars||e).palette.error.main}}))),pe=m("span",{name:"MuiStepLabel",slot:"IconContainer"})({flexShrink:0,display:"flex",paddingRight:8,[`&.${C.alternativeLabel}`]:{paddingRight:0}}),de=m("span",{name:"MuiStepLabel",slot:"LabelContainer"})(F(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${C.alternativeLabel}`]:{textAlign:"center"}}))),ve=p.forwardRef(function(t,o){const n=U({props:t,name:"MuiStepLabel"}),{children:a,className:s,componentsProps:d={},error:i=!1,icon:v,optional:u,slots:c={},slotProps:r={},StepIconComponent:b,StepIconProps:M,...y}=n,{alternativeLabel:x,orientation:g}=p.useContext(k),{active:I,disabled:h,completed:S,icon:R}=p.useContext(E),f=v||R;let N=b;f&&!N&&(N=re);const L={...n,active:I,alternativeLabel:x,completed:S,disabled:h,error:i,orientation:g},j=le(L),w={slots:c,slotProps:{stepIcon:M,...d,...r}},[G,J]=A("root",{elementType:ie,externalForwardedProps:{...w,...y},ownerState:L,ref:o,className:z(j.root,s)}),[K,V]=A("label",{elementType:ce,externalForwardedProps:w,ownerState:L}),[B,O]=A("stepIcon",{elementType:N,externalForwardedProps:w,ownerState:L});return l.jsxs(G,{...J,children:[f||B?l.jsx(pe,{className:j.iconContainer,ownerState:L,children:l.jsx(B,{completed:S,active:I,error:i,icon:f,...O})}):null,l.jsxs(de,{className:j.labelContainer,ownerState:L,children:[a?l.jsx(K,{...V,className:z(j.label,V?.className),children:a}):null,u]})]})});ve.muiName="StepLabel";function ue(e){return P("MuiStepConnector",e)}$("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const be=e=>{const{classes:t,orientation:o,alternativeLabel:n,active:a,completed:s,disabled:d}=e,i={root:["root",o,n&&"alternativeLabel",a&&"active",s&&"completed",d&&"disabled"],line:["line",`line${q(o)}`]};return T(i,ue,t)},Se=m("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),me=m("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${q(o.orientation)}`]]}})(F(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}})),xe=p.forwardRef(function(t,o){const n=U({props:t,name:"MuiStepConnector"}),{className:a,...s}=n,{alternativeLabel:d,orientation:i="horizontal"}=p.useContext(k),{active:v,disabled:u,completed:c}=p.useContext(E),r={...n,alternativeLabel:d,orientation:i,active:v,completed:c,disabled:u},b=be(r);return l.jsx(Se,{className:z(b.root,a),ref:o,ownerState:r,...s,children:l.jsx(me,{className:b.line,ownerState:r})})});function Le(e){return P("MuiStepper",e)}$("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const fe=e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:a}=e;return T({root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]},Le,a)},Ce=m("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),ye=l.jsx(xe,{}),Me=p.forwardRef(function(t,o){const n=U({props:t,name:"MuiStepper"}),{activeStep:a=0,alternativeLabel:s=!1,children:d,className:i,component:v="div",connector:u=ye,nonLinear:c=!1,orientation:r="horizontal",...b}=n,M={...n,nonLinear:c,alternativeLabel:s,orientation:r,component:v},y=fe(M),x=p.Children.toArray(d).filter(Boolean),g=x.map((h,S)=>p.cloneElement(h,{index:S,last:S+1===x.length,...h.props})),I=p.useMemo(()=>({activeStep:a,alternativeLabel:s,connector:u,nonLinear:c,orientation:r}),[a,s,u,c,r]);return l.jsx(k.Provider,{value:I,children:l.jsx(Ce,{as:v,ownerState:M,className:z(y.root,i),ref:o,...b,children:g})})});export{Me as S,he as a,ve as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,j as e,c4 as B,O,a4 as v,t as C,dI as P,bs as R,o}from"./index-
|
|
1
|
+
import{r as t,j as e,c4 as B,O,a4 as v,t as C,dI as P,bs as R,o}from"./index-DmEIktUl.js";import{S}from"./Search-Cc0L1P8Y.js";import{C as L}from"./Clear-CybwA2Jd.js";const T=t.createContext({}),{Provider:N}=T;function A({children:s}){const[n,a]=t.useState([]),[i,u]=t.useState([]),[l,p]=t.useState(!1),[x,r]=t.useState(!1),[b,c]=t.useState("Filter");return e.jsx(N,{value:{customButtons:n,setCustomButtons:a,customPreButtons:i,setCustomPreButtons:u,filterLabel:b,setFilterLabel:c,loading:l,setLoading:p,disabled:x,setDisabled:r},children:s})}function q(){return t.use(T)}function M({search:s="",options:n,searchText:a="",searchTextUpdate:i,searchClose:u,onSearchOpen:l=P}){const{searchOpen:p,searchPlaceholder:x,searchAlwaysOpen:r}=n,[b,c]=t.useState(!!a||p||!1),[f,w]=t.useState(a),j=t.useRef(null),{loading:g}=q(),{searchDebounceTime:d}=n,h=r||b,y=()=>{c(!0),l(!0)},F=k=>{const{value:m}=k.currentTarget;d?(clearTimeout(j.current),w(m),j.current=setTimeout(()=>{i(m)},d)):i(m)},$=()=>{c(!1),u(),w(""),l(!1)};return e.jsxs(D,{className:B({"search-always-open":r}),children:[h?e.jsx("div",{className:"toolbar-search-icon-placeholder",children:e.jsx(S,{})}):e.jsx(O,{title:s,disableFocusListener:!0,children:e.jsx(v,{"aria-label":s,"data-testid":`${s}-iconButton`,disabled:n.search==="disabled",onClick:y,children:e.jsx(S,{})})}),e.jsxs("div",{className:`toolbar-search-area ${h?"toolbar-btn-show":""}`,children:[h&&!g&&e.jsx(C,{variant:"standard",spacing:2,onChange:F,value:d?f:a,placeholder:x||"",autoFocus:!r}),g&&e.jsx(C,{disabled:!0,variant:"standard",spacing:2,value:d?f:a})]}),!r&&e.jsx("div",{className:`toolbar-search-close ${h?"toolbar-btn-show":""}`,children:e.jsx(v,{onClick:$,"aria-label":"click to close the search box",children:e.jsx(L,{})})})]})}M.propTypes={search:o.string,searchText:o.string,onSearchOpen:o.func,options:o.object.isRequired,searchTextUpdate:o.func.isRequired,searchClose:o.func.isRequired};const D=R("div")`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
.toolbar-search-area {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c0 as
|
|
1
|
+
import{c0 as S,c1 as w,r as n,gS as V,c2 as N,j as G,b9 as P,c4 as j,ch as W,c5 as U,bZ as A,b_ as D,av as f,cj as H}from"./index-DmEIktUl.js";import{g as Z}from"./getValidReactChildren-BaHtQCbY.js";function _(t){return w("MuiToggleButton",t)}const v=S("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),E=n.createContext({}),F=n.createContext(void 0);function q(t,o){return o===void 0||t===void 0?!1:Array.isArray(o)?o.includes(t):t===o}const I=t=>{const{classes:o,fullWidth:r,selected:i,disabled:d,size:g,color:B}=t,u={root:["root",i&&"selected",d&&"disabled",r&&"fullWidth",`size${W(g)}`,B]};return U(u,_,o)},J=P(A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:r}=t;return[o.root,o[`size${W(r.size)}`]]}})(D(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${v.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:f(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${v.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:f(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:f(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:f(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(H()).map(([o])=>({props:{color:o},style:{[`&.${v.selected}`]:{color:(t.vars||t).palette[o].main,backgroundColor:t.vars?`rgba(${t.vars.palette[o].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:f(t.palette[o].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[o].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:f(t.palette[o].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[o].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:f(t.palette[o].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),ot=n.forwardRef(function(o,r){const{value:i,...d}=n.useContext(E),g=n.useContext(F),B=V({...d,selected:q(o.value,i)},o),u=N({props:B,name:"MuiToggleButton"}),{children:O,className:C,color:c="standard",disabled:m=!1,disableFocusRipple:b=!1,fullWidth:s=!1,onChange:y,onClick:x,selected:p,size:z="medium",value:$,...h}=u,T={...u,color:c,disabled:m,disableFocusRipple:b,fullWidth:s,size:z},L=I(T),M=a=>{x&&(x(a,$),a.defaultPrevented)||y&&y(a,$)},l=g||"";return G.jsx(J,{className:j(d.className,L.root,C,l),disabled:m,focusRipple:!b,ref:r,onClick:M,onChange:y,value:$,ownerState:T,"aria-pressed":p,...h,children:O})});function K(t){return w("MuiToggleButtonGroup",t)}const e=S("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),Q=t=>{const{classes:o,orientation:r,fullWidth:i,disabled:d}=t,g={root:["root",r,i&&"fullWidth"],grouped:["grouped",`grouped${W(r)}`,d&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return U(g,K,o)},X=P("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:r}=t;return[{[`& .${e.grouped}`]:o.grouped},{[`& .${e.grouped}`]:o[`grouped${W(r.orientation)}`]},{[`& .${e.firstButton}`]:o.firstButton},{[`& .${e.lastButton}`]:o.lastButton},{[`& .${e.middleButton}`]:o.middleButton},o.root,r.orientation==="vertical"&&o.vertical,r.fullWidth&&o.fullWidth]}})(D(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${e.grouped}`]:{[`&.${e.selected} + .${e.grouped}.${e.selected}`]:{borderTop:0,marginTop:0}},[`& .${e.firstButton},& .${e.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${e.lastButton},& .${e.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${e.lastButton}.${v.disabled},& .${e.middleButton}.${v.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${e.grouped}`]:{[`&.${e.selected} + .${e.grouped}.${e.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${e.firstButton},& .${e.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${e.lastButton},& .${e.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${e.lastButton}.${v.disabled},& .${e.middleButton}.${v.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),et=n.forwardRef(function(o,r){const i=N({props:o,name:"MuiToggleButtonGroup"}),{children:d,className:g,color:B="standard",disabled:u=!1,exclusive:O=!1,fullWidth:C=!1,onChange:c,orientation:m="horizontal",size:b="medium",value:s,...y}=i,x={...i,disabled:u,fullWidth:C,orientation:m,size:b},p=Q(x),z=n.useCallback((l,a)=>{if(!c)return;const R=s&&s.indexOf(a);let k;s&&R>=0?(k=s.slice(),k.splice(R,1)):k=s?s.concat(a):[a],c(l,k)},[c,s]),$=n.useCallback((l,a)=>{c&&c(l,s===a?null:a)},[c,s]),h=n.useMemo(()=>({className:p.grouped,onChange:O?$:z,value:s,size:b,fullWidth:C,color:B,disabled:u}),[p.grouped,O,$,z,s,b,C,B,u]),T=Z(d),L=T.length,M=l=>{const a=l===0,R=l===L-1;return a&&R?"":a?p.firstButton:R?p.lastButton:p.middleButton};return G.jsx(X,{role:"group",className:j(p.root,g),ref:r,ownerState:x,...y,children:G.jsx(E.Provider,{value:h,children:T.map((l,a)=>G.jsx(F.Provider,{value:M(a),children:l},a))})})});export{et as T,ot as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as o,j as s}from"./index-
|
|
1
|
+
import{aF as o,j as s}from"./index-DmEIktUl.js";const a=o(s.jsx("path",{d:"M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"}));export{a as U};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as o,j as s}from"./index-
|
|
1
|
+
import{aF as o,j as s}from"./index-DmEIktUl.js";const a=o(s.jsx("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}));export{a as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as s,j as c}from"./index-
|
|
1
|
+
import{aF as s,j as c}from"./index-DmEIktUl.js";const a=s(c.jsx("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"})),o=s(c.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z"}));export{a as S,o as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aF as s,j as t}from"./index-
|
|
1
|
+
import{aF as s,j as t}from"./index-DmEIktUl.js";const o=s(t.jsx("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}));export{o as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as R,fL as O,cy as q,ft as W,fM as
|
|
1
|
+
import{r as R,fL as O,cy as q,ft as W,fM as K,h1 as A,ij as I,cx as j,gw as N,dt as P,cc as S}from"./index-DmEIktUl.js";import{d as V}from"./depsEqual-CZmuZV4u.js";var z=function(r,a,n){var e=R.useRef(void 0),t=R.useRef(0);V(a,e.current)||(t.current+=1),e.current=a,O(r,[t.current],n)},J=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator?.platform:""),M={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:J?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},E={ctrl:function(r){return r.ctrlKey},shift:function(r){return r.shiftKey},alt:function(r){return r.altKey},meta:function(r){return r.type==="keyup"?M.meta.includes(r.keyCode):r.metaKey}};function B(r){return I(r)||j(r)}function Q(r){var a=Object.keys(E).reduce(function(n,e){return E[e](r)?n+1:n},0);return[16,17,18,91,92].includes(r.keyCode)?a:a+1}function T(r,a,n){var e,t;if(!r.key)return!1;if(j(a))return r.keyCode===a?a:!1;var u=a.split("."),o=0;try{for(var l=K(u),d=l.next();!d.done;d=l.next()){var p=d.value,y=E[p],m=M[p.toLowerCase()];(y&&y(r)||m&&m===r.keyCode)&&o++}}catch(b){e={error:b}}finally{try{d&&!d.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return n?o===u.length&&Q(r)===u.length?a:!1:o===u.length?a:!1}function U(r,a){return A(r)?r:B(r)?function(n){return T(n,r,a)}:Array.isArray(r)?function(n){return r.find(function(e){return T(n,e,a)})}:function(){return!!r}}var X=["keydown"];function _(r,a,n){var e=n||{},t=e.events,u=t===void 0?X:t,o=e.target,l=e.exactMatch,d=l===void 0?!1:l,p=e.useCapture,y=p===void 0?!1:p,m=q(a),b=q(r);z(function(){var k,C,x,i=W(o,window);if(i){var L=function(f){var v,h=U(b.current,d),c=h(f),s=B(c)?c:f.key;if(c)return(v=m.current)===null||v===void 0?void 0:v.call(m,f,s)};try{for(var w=K(u),g=w.next();!g.done;g=w.next()){var D=g.value;(x=i?.addEventListener)===null||x===void 0||x.call(i,D,L,y)}}catch(f){k={error:f}}finally{try{g&&!g.done&&(C=w.return)&&C.call(w)}finally{if(k)throw k.error}}return function(){var f,v,h;try{for(var c=K(u),s=c.next();!s.done;s=c.next()){var G=s.value;(h=i?.removeEventListener)===null||h===void 0||h.call(i,G,L,y)}}catch(H){f={error:H}}finally{try{s&&!s.done&&(v=c.return)&&v.call(c)}finally{if(f)throw f.error}}}}},[u],o)}function Y(r,a,n,e){for(var t=-1,u=r==null?0:r.length;++t<u;){var o=r[t];a(e,o,n(o),r)}return e}function Z(r,a,n,e){return N(r,function(t,u,o){a(e,t,n(t),o)}),e}function rr(r,a){return function(n,e){var t=S(n)?Y:Z,u=a?a():{};return t(n,r,P(e),u)}}export{rr as c,_ as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as e,K as b,a4 as k,fu as C,b0 as M,bh as P,R as T,aE as v,a9 as z,O as A,o as m}from"./index-
|
|
1
|
+
import{r as u,j as e,K as b,a4 as k,fu as C,b0 as M,bh as P,R as T,aE as v,a9 as z,O as A,o as m}from"./index-DmEIktUl.js";function B({actions:d=[],size:s="small",...h}){const[r,i]=u.useState(null),f=!!r,x=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}i(t.currentTarget)},o=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}i(null)};return e.jsxs(b,{...h,children:[e.jsx(k,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"actions-menu-icon",onClick:x,size:s,children:e.jsx(C,{fontSize:s})}),e.jsx(M,{id:"actions-menu","data-cy":"actions-menu",anchorEl:r,keepMounted:!0,open:f,onClose:o,slotProps:{paper:{}},children:d.map((t,n)=>{if(typeof t=="function")return t({close:o});if(t.separator)return e.jsx(P,{},`separator-${n}`);const{icon:y,text:j,render:a,onClick:g,disabled:E=!1,tip:c,...I}=t,l=a&&typeof a=="function"?a({close:o}):u.createElement(T,{...I,disabled:E,dense:!0,onClick:async p=>{p.stopPropagation(),await g?.(p),o()},key:n,"data-cy":`actions-menu-${n}`},e.jsx(v,{style:{minWidth:24,marginRight:8},children:y}),e.jsx(z,{primary:j}));return c?e.jsx(A,{title:c,children:e.jsx("span",{children:l})}):l})})]})}B.propTypes={actions:m.array,size:m.oneOf(["small","medium","large"])};export{B as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aF as L,j as n,bL as Le,bM as je,bN as Ee,bO as we,bP as Z,bQ as ye,bR as Re,bS as ke,bT as Be,bU as Ae,r as p,o as b,bV as Me,aD as Ie,y as Te,bo as Pe,p as ie,i as C,b as V,bW as _,a4 as Ue,b0 as ze,X as Oe,I as He,bh as Ne,R as $e,aE as Ve,C as J,a9 as _e,ad as ee,v as We,aH as M,ba as te,H as O,s as qe,aa as Fe,aS as Ke,Y as Xe,T as H,aV as ne,bX as Ge,bY as Ye}from"./index-87RKuT5C.js";import{u as oe}from"./useLocalStorage-7RvuX-wT.js";import{I as Qe}from"./MoreVert-V2LiAaXF.js";import{D as Ze}from"./DeleteOutline-P1tPKlQL.js";import{g as W}from"./get-safe-url-DwUMajjg.js";import{B as Je}from"./ButtonGroup-3fqwj5Ky.js";import{R as et,a as se,u as tt}from"./url-evaluation-mq4H4jA_.js";import{w as nt}from"./permission-SRhWeTXb.js";const ot=L(n.jsx("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"})),st=L(n.jsx("path",{d:"M9 13.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5M4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25zM9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12m0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7m7.04 6.81c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44M15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35"})),rt=L(n.jsx("path",{d:"M12 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-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"})),at=L(n.jsx("path",{d:"M10 8.64 15.27 12 10 15.36zM8 5v14l11-7z"})),it=L(n.jsx("path",{d:"M19.5 3.5 18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2zM19 19.09H5V4.91h14zM6 15h12v2H6zm0-4h12v2H6zm0-4h12v2H6z"})),ct=L(n.jsx("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"})),lt=L(n.jsx("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1q-.09-.03-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),dt=L(n.jsx("path",{d:"M16 8v8H8V8zm2-2H6v12h12z"})),mt=L(n.jsx("path",{d:"M3 4c0-.55.45-1 1-1h2V1H4C2.34 1 1 2.34 1 4v2h2zm0 16v-2H1v2c0 1.66 1.34 3 3 3h2v-2H4c-.55 0-1-.45-1-1M20 1h-2v2h2c.55 0 1 .45 1 1v2h2V4c0-1.66-1.34-3-3-3m1 19c0 .55-.45 1-1 1h-2v2h2c1.66 0 3-1.34 3-3v-2h-2zm-2-5.13V9.13c0-.72-.38-1.38-1-1.73l-5-2.88c-.31-.18-.65-.27-1-.27s-.69.09-1 .27L6 7.39c-.62.36-1 1.02-1 1.74v5.74c0 .72.38 1.38 1 1.73l5 2.88c.31.18.65.27 1 .27s.69-.09 1-.27l5-2.88c.62-.35 1-1.01 1-1.73m-8 2.3-4-2.3v-4.63l4 2.33zm1-6.33L8.04 8.53 12 6.25l3.96 2.28zm5 4.03-4 2.3v-4.6l4-2.33z"}));var ut=200;function pt(e,s,l,c){var r=-1,m=je,v=!0,x=e.length,u=[],i=s.length;if(!x)return u;c?(m=Ee,v=!1):s.length>=ut&&(m=we,v=!1,s=new Le(s));e:for(;++r<x;){var f=e[r],h=f;if(f=c||f!==0?f:0,v&&h===h){for(var w=i;w--;)if(s[w]===h)continue e;u.push(f)}else m(s,h,c)||u.push(f)}return u}function ht(e,s,l){var c=e.length;if(c<2)return c?Z(e[0]):[];for(var r=-1,m=Array(c);++r<c;)for(var v=e[r],x=-1;++x<c;)x!=r&&(m[r]=pt(m[r]||v,e[x],s,l));return Z(ye(m),s,l)}var ft=Re(function(e){var s=ke(e);return s=typeof s=="function"?s:void 0,ht(Be(e,Ae),void 0,s)});const ce=p.createContext({});function gt({children:e,type:s="blocklets"}){const[l,c]=p.useState([]),r=p.useRef([]),m=u=>{if(!r.current.includes(u)){const i=[...r.current,u];c(i),r.current=i}},v=u=>{if(r.current.includes(u)){const i=r.current.filter(f=>f!==u);c(i),r.current=i}},x=u=>{const i=l.filter(h=>u.find(w=>w===h));ft(i,l).forEach(h=>v(h))};return n.jsx(ce.Provider,{value:{type:s,deletingBlocklets:l,addDeletingDid:m,removeDeletingDid:v,matchDeletingDid:x},children:e})}gt.propTypes={type:b.string,children:b.node.isRequired};function Bt(){return p.useContext(ce)}const le={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m8 9l3 3l-3 3m5 0h3"/><path d="M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></g>'},vt={display:"inline-flex",width:"26px",height:"26px",paddingRight:"3px"};function xt(e){return n.jsx("span",{style:vt,children:n.jsx(Ie,{icon:le,width:"100%",height:"100%",...e})})}const y={Start:at,Stop:dt,Restart:ct,Reload:ot,Remove:Ze,Config:lt,Log:it,Group:st,Cancel:rt,Dashboard:Me,Overview:mt,LogIcon:xt,TerminalIcon:le},re=(e,s)=>{if(!e)return"";if(!s)return e;const l=new URL(e),c=new URLSearchParams(l.searchParams),r=new URL(Te(l.origin,s));return r.search=c.toString(),r.toString()},St="internal",bt="external";function de({blocklet:e,onStart:s,onComplete:l,variant:c="menu",source:r="blocklet-list",hasPermission:m=!1,getComponentUrl:v=null,useBlockletUrlEvaluation:x=()=>({loading:!1,recommendedUrl:window?.location?.href}),...u}){const i=Pe(),[f,h]=p.useState(null),[w,q]=p.useState(null),[k,B]=p.useState(!1),[d,N]=p.useState(null),{t:o}=p.useContext(ie),[me]=oe("skip-blocklet-setup",!1),{loading:ue,recommendedUrl:$}=x(e),[pe]=oe("blocklet-type-filter",St),F=C.isInProgress(e.status),[K,X]=p.useState(!1);p.useEffect(()=>{if(!e?.controller)return;X(e?.controller?.status?.value===V.BLOCKLET_CONTROLLER_STATUS.suspended),(async()=>{try{const a=await i.api.getLauncherSession({input:{launcherSessionId:e?.controller?.launcherSessionId,launcherUrl:e?.controller?.launcherUrl}});if(a?.error){console.error("get launcher session failed",a.error);return}X([M.LAUNCH_SESSION_STATUS.overdue,M.LAUNCH_SESSION_STATUS.canceled,M.LAUNCH_SESSION_STATUS.terminated].includes(a?.launcherSession?.status))}catch(a){console.error("call getLauncherSession error",a)}})()},[]);const{inService:I}=i,he=r==="blocklet-detail",A=(t,a,S=!1)=>async()=>{const j=async U=>{s({action:t,blocklet:e}),B(!0),q(t);let z=!1;try{if(t==="remove")await a(U);else if(t==="start"){if(!C.hasRunnableComponent(e)){O.error(o("blocklet.noComponent"));return}if(!I&&!me&&!e.settings?.initialized&&e.mode!==V.BLOCKLET_MODES.DEVELOPMENT){if(!$||!te($)){O.error(o("blocklet.gotoVisitError"));return}const g=Fe(i.info),Q=new URL($);Q.searchParams.set("serverUrl",g),window.open(W(Q.href,{allowDomains:null})),l({action:t,blocklet:e});return}const D=e.children.filter(g=>!C.isInProgress(g.status)&&g.status!=="running"&&!C.isInProgress(g.greenStatus)&&g.greenStatus!=="running").map(g=>g.meta.did),R={did:e.meta.did,componentDids:D};await a({input:R})}else if(["stop","restart","reload"].includes(t)){const D=e.children.filter(g=>C.isBlockletRunning(g)).map(g=>g.meta.did),R={did:e.meta.did,componentDids:D};await a({input:R})}else{const D={did:e.meta.did};await a({input:D})}t==="remove"?z=!0:await Ke(1e3),t==="reload"&&O.success(o("blocklet.reloadSuccess")),N(null),l({action:t,blocklet:e})}catch(D){const R=`Blocklet ${t} failed: ${Xe(D)}`;throw l({action:t,blocklet:e,error:new Error(R)}),new Error(R)}finally{z||B(!1)}},E=()=>{B(!1),N(null)},P=C.getDisplayName(e,!0),De=e.mode===V.BLOCKLET_MODES.DEVELOPMENT?{description:()=>n.jsx(H,{component:"div",children:n.jsx(H,{gutterBottom:!0,children:o("blocklet.action.removeApplicationDescription")})}),params:{removeType:"complete"}}:{description:(U,z)=>n.jsxs(H,{component:"div",children:[n.jsx(H,{gutterBottom:!0,children:o("blocklet.action.removeApplicationDescription")}),n.jsxs(et,{name:"removeType",value:U.removeType,onChange:D=>z({...U,removeType:D.target.value}),children:[n.jsx(ne,{value:"backup",control:n.jsx(se,{}),label:o("blocklet.action.removeApplicationAfterBackup")}),n.jsx(ne,{value:"complete",control:n.jsx(se,{}),label:o("blocklet.action.removeApplicationComplete")})]})]}),params:{removeType:"backup"}},Ce={stop:{title:`${o("common.stop")} ${P}`,description:o("blocklet.action.stopDescription"),confirm:o("blocklet.action.confirmStop"),cancel:o("common.cancel"),onConfirm:j,onCancel:E},restart:{title:`${o("common.restart")} ${P}`,description:o("blocklet.action.restartDescription"),confirm:o("blocklet.action.confirmRestart"),cancel:o("common.cancel"),onConfirm:j,onCancel:E},remove:{title:`${o("common.remove")} ${P}`,confirm:o("blocklet.action.confirmRemove"),cancel:o("common.cancel"),onConfirm:j,onCancel:E,...De},cancelDownload:{title:`${o("common.cancel")}`,description:o("blocklet.action.cancelDownloadDescription",{name:P}),confirm:o("common.confirm"),cancel:o("common.cancel"),onConfirm:j,onCancel:E}};S?N(Ce[t]):await j()},fe=!!f,ge=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}h(t.currentTarget)},ve=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}h(null)},G=async(t,a)=>{try{a.stopPropagation(),a.preventDefault()}catch{}if(typeof t.handler=="function")try{B(!0),q(t.action),await t.handler()}catch(S){console.error(`Blocklet ${t.name} failed: `,S)}finally{B(!1),h(null)}else h(null)},xe=!I&&C.isDeletableBlocklet(e)?{action:"remove",icon:y.Remove,name:o("common.remove"),handler:A("remove",async({removeType:t})=>{t==="backup"&&await i.api.backupBlocklet({input:{appDid:e.appDid,to:"disk"}}),await i.api.deleteBlocklet({input:{did:e.meta.did,keepData:!1}})},!0),disabled:F}:null,Se={action:"remove",icon:({sx:t,...a})=>n.jsx(y.Cancel,{sx:{...t,paddingRight:"2px",zoom:.95},...a}),name:o("common.cancel"),handler:A("cancelDownload",i.api.cancelDownloadBlocklet,!0)},be=C.getAppMissingConfigs(e),Y=(t="dashboard")=>{const a=`/${e.mountPoint||"/"}`.replace(/\/+/g,"/"),S=v?.({mountPoint:a,blocklet:e});if(!S||!te(S)){O.error(o("blocklet.gotoVisitError"));return}const j=e?.site?.domainAliases;t==="logs"?window.open(W(re(S,`${M.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/developers/logs`),{allowDomains:j?.map(E=>E.value)})):window.open(W(re(S,`${M.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`),{allowDomains:j?.map(E=>E.value)}))};let T=[{action:"start",icon:y.Start,inExternal:!0,name:o("common.start"),handler:A("start",i.api.startBlocklet),disabled:K||e.children.every(t=>C.isBlockletRunning(t))||_(e.status)||ue||F},{action:"stop",icon:y.Stop,inExternal:!0,name:o("common.stop"),handler:A("stop",i.api.stopBlocklet,!0),disabled:!["running","starting"].includes(e.status)},{action:"restart",inExternal:!0,icon:y.Restart,name:o("common.restart"),handler:A("restart",i.api.restartBlocklet,!0),disabled:K||e.status!=="running"},_(e.status)?Se:xe,{separator:!0},I?null:{action:"dashboard",icon:({style:t,...a})=>n.jsx(y.Dashboard,{...a,style:{...t,width:"26px",height:"26px",paddingRight:"3px"}}),name:o("sidebar.dashboard"),handler:Y},!I&&!he?{action:"logs",icon:y.LogIcon,name:o("common.logs"),handler:()=>Y("logs")}:null].filter(Boolean);return pe===bt&&(T=T.filter(t=>t.inExternal)),c==="menu"?n.jsxs(ae,{"data-cy":"blocklet-actions",children:[n.jsx(Ue,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions","actions-blocklet-did":e.meta.did,onClick:ge,size:"small",disabled:!m||!_(e.status)&&k,children:n.jsx(Qe,{})}),n.jsxs(ze,{id:"actions-menu",anchorEl:f,keepMounted:!0,open:fe,onClose:ve,PaperProps:{},children:[be.length>0&&n.jsxs(Oe,{style:{maxWidth:"400px"},severity:"error",children:[o("blocklet.config.missingRequired"),n.jsx("br",{}),n.jsx(He,{to:`/blocklets/${e.meta.did}/components`,children:o("blocklet.config.gotoFix")})]}),T.map((t,a)=>t.separator?n.jsx(Ne,{},`separator-${a}`):n.jsxs($e,{dense:!0,onClick:S=>G(t,S),disabled:k||t.disabled,"data-cy":`${t.action}-blocklet`,children:[n.jsx(Ve,{style:{minWidth:24},children:w===t.action&&k?n.jsx(J,{size:16,sx:{marginRight:1}}):n.jsx(t.icon,{fontSize:"small"})}),n.jsx(_e,{primary:t.name})]},t.name))]}),d&&n.jsx(ee,{title:d.title,description:d.description,confirm:d.confirm,cancel:d.cancel,params:d.params,onConfirm:d.onConfirm,onCancel:d.onCancel})]}):n.jsxs(ae,{"data-cy":"blocklet-actions",...u,children:[n.jsx(Je,{children:T.filter(t=>!t.separator&&!t.onlyInMenu).map(t=>n.jsxs(We,{title:t.name,"data-cy":`${t.action}-blocklet`,onClick:()=>G(t),disabled:!!t.disabled||k,children:[w===t.action&&k?n.jsx(J,{size:16,sx:{marginRight:1}}):n.jsx(t.icon,{}),n.jsx("span",{className:"blocklet-action-text",children:t.name})]},t.name))}),d&&n.jsx(ee,{title:d.title,description:d.description,confirm:d.confirm,cancel:d.cancel,params:d.params,onConfirm:d.onConfirm,onCancel:d.onCancel})]})}de.propTypes={getComponentUrl:b.func,blocklet:b.object.isRequired,onStart:b.func.isRequired,onComplete:b.func.isRequired,variant:b.oneOf(["menu","group"]),source:b.oneOf(["blocklet-list","blocklet-detail"]),hasPermission:b.bool,useBlockletUrlEvaluation:b.func};const ae=qe.div`
|
|
1
|
+
import{aF as L,j as n,bL as Le,bM as je,bN as Ee,bO as we,bP as Z,bQ as ye,bR as Re,bS as ke,bT as Be,bU as Ae,r as p,o as b,bV as Me,aD as Ie,y as Te,bo as Pe,p as ie,i as C,b as V,bW as _,a4 as Ue,b0 as ze,X as Oe,I as He,bh as Ne,R as $e,aE as Ve,C as J,a9 as _e,ad as ee,v as We,aH as M,ba as te,H as O,s as qe,aa as Fe,aS as Ke,Y as Xe,T as H,aV as ne,bX as Ge,bY as Ye}from"./index-DmEIktUl.js";import{u as oe}from"./useLocalStorage-BL64yJ27.js";import{I as Qe}from"./MoreVert-C-gNfdF4.js";import{D as Ze}from"./DeleteOutline-CjxNIx7X.js";import{g as W}from"./get-safe-url-2iJX7eF-.js";import{B as Je}from"./ButtonGroup-DgPN2-YM.js";import{R as et,a as se,u as tt}from"./url-evaluation-xPcTMwue.js";import{w as nt}from"./permission-DlhGxFII.js";const ot=L(n.jsx("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"})),st=L(n.jsx("path",{d:"M9 13.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5M4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25zM9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12m0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7m7.04 6.81c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44M15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35"})),rt=L(n.jsx("path",{d:"M12 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-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"})),at=L(n.jsx("path",{d:"M10 8.64 15.27 12 10 15.36zM8 5v14l11-7z"})),it=L(n.jsx("path",{d:"M19.5 3.5 18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2zM19 19.09H5V4.91h14zM6 15h12v2H6zm0-4h12v2H6zm0-4h12v2H6z"})),ct=L(n.jsx("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"})),lt=L(n.jsx("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1q-.09-.03-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),dt=L(n.jsx("path",{d:"M16 8v8H8V8zm2-2H6v12h12z"})),mt=L(n.jsx("path",{d:"M3 4c0-.55.45-1 1-1h2V1H4C2.34 1 1 2.34 1 4v2h2zm0 16v-2H1v2c0 1.66 1.34 3 3 3h2v-2H4c-.55 0-1-.45-1-1M20 1h-2v2h2c.55 0 1 .45 1 1v2h2V4c0-1.66-1.34-3-3-3m1 19c0 .55-.45 1-1 1h-2v2h2c1.66 0 3-1.34 3-3v-2h-2zm-2-5.13V9.13c0-.72-.38-1.38-1-1.73l-5-2.88c-.31-.18-.65-.27-1-.27s-.69.09-1 .27L6 7.39c-.62.36-1 1.02-1 1.74v5.74c0 .72.38 1.38 1 1.73l5 2.88c.31.18.65.27 1 .27s.69-.09 1-.27l5-2.88c.62-.35 1-1.01 1-1.73m-8 2.3-4-2.3v-4.63l4 2.33zm1-6.33L8.04 8.53 12 6.25l3.96 2.28zm5 4.03-4 2.3v-4.6l4-2.33z"}));var ut=200;function pt(e,s,l,c){var r=-1,m=je,v=!0,x=e.length,u=[],i=s.length;if(!x)return u;c?(m=Ee,v=!1):s.length>=ut&&(m=we,v=!1,s=new Le(s));e:for(;++r<x;){var f=e[r],h=f;if(f=c||f!==0?f:0,v&&h===h){for(var w=i;w--;)if(s[w]===h)continue e;u.push(f)}else m(s,h,c)||u.push(f)}return u}function ht(e,s,l){var c=e.length;if(c<2)return c?Z(e[0]):[];for(var r=-1,m=Array(c);++r<c;)for(var v=e[r],x=-1;++x<c;)x!=r&&(m[r]=pt(m[r]||v,e[x],s,l));return Z(ye(m),s,l)}var ft=Re(function(e){var s=ke(e);return s=typeof s=="function"?s:void 0,ht(Be(e,Ae),void 0,s)});const ce=p.createContext({});function gt({children:e,type:s="blocklets"}){const[l,c]=p.useState([]),r=p.useRef([]),m=u=>{if(!r.current.includes(u)){const i=[...r.current,u];c(i),r.current=i}},v=u=>{if(r.current.includes(u)){const i=r.current.filter(f=>f!==u);c(i),r.current=i}},x=u=>{const i=l.filter(h=>u.find(w=>w===h));ft(i,l).forEach(h=>v(h))};return n.jsx(ce.Provider,{value:{type:s,deletingBlocklets:l,addDeletingDid:m,removeDeletingDid:v,matchDeletingDid:x},children:e})}gt.propTypes={type:b.string,children:b.node.isRequired};function Bt(){return p.useContext(ce)}const le={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m8 9l3 3l-3 3m5 0h3"/><path d="M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></g>'},vt={display:"inline-flex",width:"26px",height:"26px",paddingRight:"3px"};function xt(e){return n.jsx("span",{style:vt,children:n.jsx(Ie,{icon:le,width:"100%",height:"100%",...e})})}const y={Start:at,Stop:dt,Restart:ct,Reload:ot,Remove:Ze,Config:lt,Log:it,Group:st,Cancel:rt,Dashboard:Me,Overview:mt,LogIcon:xt,TerminalIcon:le},re=(e,s)=>{if(!e)return"";if(!s)return e;const l=new URL(e),c=new URLSearchParams(l.searchParams),r=new URL(Te(l.origin,s));return r.search=c.toString(),r.toString()},St="internal",bt="external";function de({blocklet:e,onStart:s,onComplete:l,variant:c="menu",source:r="blocklet-list",hasPermission:m=!1,getComponentUrl:v=null,useBlockletUrlEvaluation:x=()=>({loading:!1,recommendedUrl:window?.location?.href}),...u}){const i=Pe(),[f,h]=p.useState(null),[w,q]=p.useState(null),[k,B]=p.useState(!1),[d,N]=p.useState(null),{t:o}=p.useContext(ie),[me]=oe("skip-blocklet-setup",!1),{loading:ue,recommendedUrl:$}=x(e),[pe]=oe("blocklet-type-filter",St),F=C.isInProgress(e.status),[K,X]=p.useState(!1);p.useEffect(()=>{if(!e?.controller)return;X(e?.controller?.status?.value===V.BLOCKLET_CONTROLLER_STATUS.suspended),(async()=>{try{const a=await i.api.getLauncherSession({input:{launcherSessionId:e?.controller?.launcherSessionId,launcherUrl:e?.controller?.launcherUrl}});if(a?.error){console.error("get launcher session failed",a.error);return}X([M.LAUNCH_SESSION_STATUS.overdue,M.LAUNCH_SESSION_STATUS.canceled,M.LAUNCH_SESSION_STATUS.terminated].includes(a?.launcherSession?.status))}catch(a){console.error("call getLauncherSession error",a)}})()},[]);const{inService:I}=i,he=r==="blocklet-detail",A=(t,a,S=!1)=>async()=>{const j=async U=>{s({action:t,blocklet:e}),B(!0),q(t);let z=!1;try{if(t==="remove")await a(U);else if(t==="start"){if(!C.hasRunnableComponent(e)){O.error(o("blocklet.noComponent"));return}if(!I&&!me&&!e.settings?.initialized&&e.mode!==V.BLOCKLET_MODES.DEVELOPMENT){if(!$||!te($)){O.error(o("blocklet.gotoVisitError"));return}const g=Fe(i.info),Q=new URL($);Q.searchParams.set("serverUrl",g),window.open(W(Q.href,{allowDomains:null})),l({action:t,blocklet:e});return}const D=e.children.filter(g=>!C.isInProgress(g.status)&&g.status!=="running"&&!C.isInProgress(g.greenStatus)&&g.greenStatus!=="running").map(g=>g.meta.did),R={did:e.meta.did,componentDids:D};await a({input:R})}else if(["stop","restart","reload"].includes(t)){const D=e.children.filter(g=>C.isBlockletRunning(g)).map(g=>g.meta.did),R={did:e.meta.did,componentDids:D};await a({input:R})}else{const D={did:e.meta.did};await a({input:D})}t==="remove"?z=!0:await Ke(1e3),t==="reload"&&O.success(o("blocklet.reloadSuccess")),N(null),l({action:t,blocklet:e})}catch(D){const R=`Blocklet ${t} failed: ${Xe(D)}`;throw l({action:t,blocklet:e,error:new Error(R)}),new Error(R)}finally{z||B(!1)}},E=()=>{B(!1),N(null)},P=C.getDisplayName(e,!0),De=e.mode===V.BLOCKLET_MODES.DEVELOPMENT?{description:()=>n.jsx(H,{component:"div",children:n.jsx(H,{gutterBottom:!0,children:o("blocklet.action.removeApplicationDescription")})}),params:{removeType:"complete"}}:{description:(U,z)=>n.jsxs(H,{component:"div",children:[n.jsx(H,{gutterBottom:!0,children:o("blocklet.action.removeApplicationDescription")}),n.jsxs(et,{name:"removeType",value:U.removeType,onChange:D=>z({...U,removeType:D.target.value}),children:[n.jsx(ne,{value:"backup",control:n.jsx(se,{}),label:o("blocklet.action.removeApplicationAfterBackup")}),n.jsx(ne,{value:"complete",control:n.jsx(se,{}),label:o("blocklet.action.removeApplicationComplete")})]})]}),params:{removeType:"backup"}},Ce={stop:{title:`${o("common.stop")} ${P}`,description:o("blocklet.action.stopDescription"),confirm:o("blocklet.action.confirmStop"),cancel:o("common.cancel"),onConfirm:j,onCancel:E},restart:{title:`${o("common.restart")} ${P}`,description:o("blocklet.action.restartDescription"),confirm:o("blocklet.action.confirmRestart"),cancel:o("common.cancel"),onConfirm:j,onCancel:E},remove:{title:`${o("common.remove")} ${P}`,confirm:o("blocklet.action.confirmRemove"),cancel:o("common.cancel"),onConfirm:j,onCancel:E,...De},cancelDownload:{title:`${o("common.cancel")}`,description:o("blocklet.action.cancelDownloadDescription",{name:P}),confirm:o("common.confirm"),cancel:o("common.cancel"),onConfirm:j,onCancel:E}};S?N(Ce[t]):await j()},fe=!!f,ge=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}h(t.currentTarget)},ve=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}h(null)},G=async(t,a)=>{try{a.stopPropagation(),a.preventDefault()}catch{}if(typeof t.handler=="function")try{B(!0),q(t.action),await t.handler()}catch(S){console.error(`Blocklet ${t.name} failed: `,S)}finally{B(!1),h(null)}else h(null)},xe=!I&&C.isDeletableBlocklet(e)?{action:"remove",icon:y.Remove,name:o("common.remove"),handler:A("remove",async({removeType:t})=>{t==="backup"&&await i.api.backupBlocklet({input:{appDid:e.appDid,to:"disk"}}),await i.api.deleteBlocklet({input:{did:e.meta.did,keepData:!1}})},!0),disabled:F}:null,Se={action:"remove",icon:({sx:t,...a})=>n.jsx(y.Cancel,{sx:{...t,paddingRight:"2px",zoom:.95},...a}),name:o("common.cancel"),handler:A("cancelDownload",i.api.cancelDownloadBlocklet,!0)},be=C.getAppMissingConfigs(e),Y=(t="dashboard")=>{const a=`/${e.mountPoint||"/"}`.replace(/\/+/g,"/"),S=v?.({mountPoint:a,blocklet:e});if(!S||!te(S)){O.error(o("blocklet.gotoVisitError"));return}const j=e?.site?.domainAliases;t==="logs"?window.open(W(re(S,`${M.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/developers/logs`),{allowDomains:j?.map(E=>E.value)})):window.open(W(re(S,`${M.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`),{allowDomains:j?.map(E=>E.value)}))};let T=[{action:"start",icon:y.Start,inExternal:!0,name:o("common.start"),handler:A("start",i.api.startBlocklet),disabled:K||e.children.every(t=>C.isBlockletRunning(t))||_(e.status)||ue||F},{action:"stop",icon:y.Stop,inExternal:!0,name:o("common.stop"),handler:A("stop",i.api.stopBlocklet,!0),disabled:!["running","starting"].includes(e.status)},{action:"restart",inExternal:!0,icon:y.Restart,name:o("common.restart"),handler:A("restart",i.api.restartBlocklet,!0),disabled:K||e.status!=="running"},_(e.status)?Se:xe,{separator:!0},I?null:{action:"dashboard",icon:({style:t,...a})=>n.jsx(y.Dashboard,{...a,style:{...t,width:"26px",height:"26px",paddingRight:"3px"}}),name:o("sidebar.dashboard"),handler:Y},!I&&!he?{action:"logs",icon:y.LogIcon,name:o("common.logs"),handler:()=>Y("logs")}:null].filter(Boolean);return pe===bt&&(T=T.filter(t=>t.inExternal)),c==="menu"?n.jsxs(ae,{"data-cy":"blocklet-actions",children:[n.jsx(Ue,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions","actions-blocklet-did":e.meta.did,onClick:ge,size:"small",disabled:!m||!_(e.status)&&k,children:n.jsx(Qe,{})}),n.jsxs(ze,{id:"actions-menu",anchorEl:f,keepMounted:!0,open:fe,onClose:ve,PaperProps:{},children:[be.length>0&&n.jsxs(Oe,{style:{maxWidth:"400px"},severity:"error",children:[o("blocklet.config.missingRequired"),n.jsx("br",{}),n.jsx(He,{to:`/blocklets/${e.meta.did}/components`,children:o("blocklet.config.gotoFix")})]}),T.map((t,a)=>t.separator?n.jsx(Ne,{},`separator-${a}`):n.jsxs($e,{dense:!0,onClick:S=>G(t,S),disabled:k||t.disabled,"data-cy":`${t.action}-blocklet`,children:[n.jsx(Ve,{style:{minWidth:24},children:w===t.action&&k?n.jsx(J,{size:16,sx:{marginRight:1}}):n.jsx(t.icon,{fontSize:"small"})}),n.jsx(_e,{primary:t.name})]},t.name))]}),d&&n.jsx(ee,{title:d.title,description:d.description,confirm:d.confirm,cancel:d.cancel,params:d.params,onConfirm:d.onConfirm,onCancel:d.onCancel})]}):n.jsxs(ae,{"data-cy":"blocklet-actions",...u,children:[n.jsx(Je,{children:T.filter(t=>!t.separator&&!t.onlyInMenu).map(t=>n.jsxs(We,{title:t.name,"data-cy":`${t.action}-blocklet`,onClick:()=>G(t),disabled:!!t.disabled||k,children:[w===t.action&&k?n.jsx(J,{size:16,sx:{marginRight:1}}):n.jsx(t.icon,{}),n.jsx("span",{className:"blocklet-action-text",children:t.name})]},t.name))}),d&&n.jsx(ee,{title:d.title,description:d.description,confirm:d.confirm,cancel:d.cancel,params:d.params,onConfirm:d.onConfirm,onCancel:d.onCancel})]})}de.propTypes={getComponentUrl:b.func,blocklet:b.object.isRequired,onStart:b.func.isRequired,onComplete:b.func.isRequired,variant:b.oneOf(["menu","group"]),source:b.oneOf(["blocklet-list","blocklet-detail"]),hasPermission:b.bool,useBlockletUrlEvaluation:b.func};const ae=qe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i,s as S,o as h,r as T,v as he,C as xe,$ as ee,be as te,K as v,f as ge,i as G,cw as ye,bE as ve,h as j,dH as be,T as B,aH as we,V as ne,E as ke,aD as O,bo as re,B as je,A as Ee,aV as Ce,U as Ne,a4 as Te}from"./index-
|
|
1
|
+
import{j as i,s as S,o as h,r as T,v as he,C as xe,$ as ee,be as te,K as v,f as ge,i as G,cw as ye,bE as ve,h as j,dH as be,T as B,aH as we,V as ne,E as ke,aD as O,bo as re,B as je,A as Ee,aV as Ce,U as Ne,a4 as Te}from"./index-DmEIktUl.js";import{a as ie,h as Se,w as Re,f as Ie,b as Oe,d as Ue,e as De,N as Pe}from"./index-P7FcdKFO.js";import{j as V}from"./url-join-DaMo7uyz.js";import{g as qe}from"./get-safe-url-2iJX7eF-.js";function Ae({children:e,...n}){return i.jsx(Be,{...n,children:e})}Ae.propTypes={children:h.any.isRequired};const Be=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ax as a}from"./index-DmEIktUl.js";a.defaults.timeout=10*1e3;const o=a.create();export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bo as T,V as j,r as e,f as k,y as E,f9 as M,j as o,K as w,C as B,aH as H}from"./index-
|
|
1
|
+
import{bo as T,V as j,r as e,f as k,y as E,f9 as M,j as o,K as w,C as B,aH as H}from"./index-DmEIktUl.js";import{u as I}from"./blocklet-CAtl3NS9.js";import{u as N}from"./use-mobile-DqI6fEdw.js";function v(){const{info:x,inService:g}=T(),{blocklet:y}=I(),{locale:u}=j(),f=e.useRef(null),a=k(),[L,R]=e.useState(0),p=N(),[t,S]=e.useState(!0),s=e.useRef(null);let r="";g?r=H.WELLKNOWN_SERVICE_PATH_PREFIX:r=x.routing.adminPath;const c=new URLSearchParams;g?c.set("appUrl",window.location.origin):c.set("authKey","__sst"),c.set("schemaKey",E(window.location.origin,r,`/api/theme?id=${encodeURIComponent(y.meta.did)}`));const l=e.useCallback(()=>{if(s.current){const n=M(JSON.parse(JSON.stringify(a)),["palette","typography","shape","direction","breakpoints","mixins","shadows","transitions","zIndex"]);s.current.contentWindow.postMessage({type:"SEND_THEME",payload:n},window.location.origin)}},[a]),d=e.useCallback(()=>{s.current&&s.current.contentWindow.postMessage({type:"SEND_LOCALE",payload:u},window.location.origin)},[u]);return e.useEffect(()=>{const n=i=>{i.origin===window.location.origin&&(i.data.type==="REQUEST_THEME"&&l(),i.data.type==="THEME_BUILDER_LOADED"&&(d(),S(!1)))};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},[l,d]),e.useEffect(()=>{t===!1&&l()},[a,t,l]),e.useEffect(()=>{t===!1&&d()},[u,t,d]),e.useEffect(()=>{const n=document.querySelector("#arc__dashboard-main"),i=document.querySelector(".dashboard-content"),h=()=>{if(f.current){const{height:b}=n.getBoundingClientRect(),{top:C}=i.getBoundingClientRect(),{top:_}=f.current.getBoundingClientRect();let m=b-_+C-(p?108:164);p&&(m=Math.min(m,600)),R(m)}};return h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h)}},[p,a]),o.jsxs(o.Fragment,{children:[o.jsx(w,{ref:f}),t&&o.jsx(w,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"500px"},children:o.jsx(B,{})}),o.jsx("iframe",{title:"Theme Builder",ref:s,src:`${E(window.location.origin,r,"/hosted/theme-builder/")}?${c.toString()}`,style:{border:0,width:"100%",height:`${L}px`,display:t?"none":"block"}})]})}export{v as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Z}from"./index-
|
|
1
|
+
import{y as Z}from"./index-C88tq6i-.js";import{bo as V,r as d,j as t,H as F,V as O,f as M,fD as G,aH as D,K as b,cB as K,T as P,I as X,O as B,aR as Q,N as J,a4 as N,fG as q,fH as Y,E as ee,C as te,P as ne,Q as se,S as oe,R as re,fI as ie,s as ae,h as $,g as le,fJ as ce}from"./index-DmEIktUl.js";import{M as de}from"./TableSearch-DIxp58MQ.js";import{u as pe}from"./useLocalStorage-BL64yJ27.js";import{c as ue,v as fe,p as ge,s as _,N as T}from"./index-P7FcdKFO.js";import{U as me}from"./UnfoldMore-CxNKo0Ry.js";import{S as R}from"./shorten-label-DL-itFUz.js";import{u as xe}from"./team-D2Gv3KS6.js";import"./Search-Cc0L1P8Y.js";import"./Clear-CybwA2Jd.js";import"./decode-DPztD6kB.js";import"./blocklet-CAtl3NS9.js";import"./url-evaluation-xPcTMwue.js";const U=d.createContext({}),{Provider:he,Consumer:Fe}=U;function Le(){return localStorage.getItem("audit-log-page-size")&&Number(localStorage.getItem("audit-log-page-size"))||10}function be({children:e,scope:r="",categories:n=[],showScope:p,scopeFormatter:u,blocklets:o}){const{api:y,info:v}=V(),[x,c]=d.useState([]),[f,h]=d.useState({total:0,pageSize:Le(),pageCount:0,page:1}),[L,i]=d.useState(!1),[C,a]=d.useState(""),[g,s]=pe(`audit-log-category-${r}`,"all"),S=[{value:"all",label:"All",description:""},{value:"blocklet",label:"Blocklet Management",description:""},{value:"server",label:"Server Management",description:""},{value:"team",label:"Team Management",description:""},{value:"security",label:"Security",description:""},{value:"certificates",label:"Certificate Management",description:""},{value:"integrations",label:"Integration Management",description:""},{value:"gateway",label:"Gateway",description:""}].filter(E=>n.length?E.value==="all"||n.includes(E.value):!0),w=async({page:E=1,pageSize:l=20,silent:A=!0}={})=>{if(!L){A||i(!0);try{const j=await y.getAuditLogs({input:{paging:{page:E,pageSize:l},category:g==="all"?"":g,scope:r,actionOrContent:C}});p&&(j.list||[]).forEach(I=>{I.scope!==v.did&&(I.link=`/blocklets/${I.scope}/components`)}),c(j.list),h(j.paging),i(!1)}catch(j){F.error(j.message),i(!1)}}};d.useEffect(()=>{localStorage.setItem("audit-log-page-size",f.pageSize)},[f.pageSize]),d.useEffect(()=>{w({page:1,pageSize:f.pageSize,silent:!1})},[]),d.useEffect(()=>{w({page:1,pageSize:f.pageSize,silent:!1})},[g,C]);const k={loading:L,fetch:w,filter:{category:g,scope:r},categories:S,blocklets:o,setCategory:s,data:x,paging:f,setPaging:h,showScope:p,scopeFormatter:u,actionOrContent:C,setActionOrContent:a};return t.jsx(he,{value:{auditLogs:k},children:e})}function H(){const{auditLogs:e}=d.useContext(U);return e}const ye=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Ce=/^[a-zA-Z]:\\/;function ve(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Ce.test(e)?!1:ye.test(e)}const we=["http","https"],Se=["nofollow"],je={};function W(e){const r=e||je,n=r.protocols||we,p=ue(r.test);return function(u){fe(u,"element",function(o,y,v){if(o.tagName==="a"&&typeof o.properties.href=="string"&&p(o,y,v)){const x=o.properties.href;if(ve(x)?n.includes(x.slice(0,x.indexOf(":"))):x.startsWith("//")){const c=z(r.content,o),f=c&&!Array.isArray(c)?[c]:c,h=z(r.rel,o)||Se,L=typeof h=="string"?ge(h):h,i=z(r.target,o),C=z(r.properties,o);if(C&&Object.assign(o.properties,_(C)),L.length>0&&(o.properties.rel=[...L]),i&&(o.properties.target=i),f){const a=z(r.contentProperties,o)||{};o.children.push({type:"element",tagName:"span",properties:_(a),children:_(f)})}}}})}}function z(e,r){return typeof e=="function"?e(r):e}function ke(e){if(!e)return[];const r=/\[([^\]]+)\]\(([^)]+)\)/g,n=[];let p;for(;(p=r.exec(e))!==null;)n.push({text:p[1],url:p[2]});return n}const Ee=`
|
|
2
2
|
<svg style="width:38px;height:38px;" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.152 10.6417L31.72 0L13.288 10.6417V24.7942L1 31.8887V53.1722L19.432 63.8139L31.6902 56.7366L31.72 56.7538L31.7498 56.7366L44.008 63.8139L62.44 53.1722V31.8887L50.152 24.7942V10.6417ZM60.52 32.9972L48.232 25.9027V11.7502L31.72 2.21703L15.208 11.7502V25.9028L2.92 32.9972V52.0636L19.432 61.5968L31.6902 54.5196L31.72 54.5368L31.7498 54.5196L44.008 61.5968L60.52 52.0636V32.9972Z" fill="url(#paint0_linear_606_96)"/>
|
|
4
4
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.1521 24.8307L31.7201 14.189L13.2881 24.8307V46.1141L31.7201 56.7558L50.1521 46.1141V24.8307ZM15.2081 25.9392L31.7201 16.406L48.2321 25.9392V45.0056L31.7201 54.5388L15.2081 45.0056V25.9392ZM28.5464 23.0464C28.6641 22.6342 29.0408 22.3501 29.4695 22.3501H33.9707C34.3993 22.3501 34.776 22.6342 34.8938 23.0464L35.7504 26.0447L37.8696 27.2681L40.8945 26.5109C41.3103 26.4068 41.7447 26.591 41.959 26.9622L44.2096 30.8604C44.424 31.2316 44.3662 31.6998 44.0682 32.0079L41.8999 34.2489V36.6959L44.0682 38.9369C44.3662 39.245 44.424 39.7133 44.2096 40.0845L41.959 43.9827C41.7447 44.3539 41.3103 44.538 40.8945 44.4339L37.8696 43.6767L35.7504 44.9002L34.8938 47.8984C34.776 48.3106 34.3993 48.5947 33.9707 48.5947H29.4695C29.0408 48.5947 28.6641 48.3106 28.5464 47.8984L27.6897 44.9002L25.5706 43.6767L22.5457 44.4339C22.1299 44.538 21.6955 44.3539 21.4812 43.9827L19.2305 40.0845C19.0162 39.7133 19.0739 39.245 19.372 38.9369L21.5402 36.6959V34.2489L19.372 32.0079C19.0739 31.6998 19.0162 31.2316 19.2305 30.8604L21.4812 26.9622C21.6955 26.591 22.1299 26.4068 22.5457 26.5109L25.5706 27.2681L27.6897 26.0447L28.5464 23.0464ZM28.9861 27.5132C29.2018 27.3887 29.3607 27.1851 29.4292 26.9456L30.1936 24.2701H33.2466L34.011 26.9456C34.0794 27.1851 34.2383 27.3887 34.4541 27.5132L37.2459 29.1251C37.4617 29.2497 37.7174 29.2855 37.9591 29.225L40.6583 28.5493L42.1848 31.1932L40.25 33.193C40.0768 33.372 39.9799 33.6114 39.9799 33.8605V37.0843C39.9799 37.3334 40.0768 37.5728 40.25 37.7518L42.1848 39.7516L40.6583 42.3955L37.9591 41.7198C37.7174 41.6593 37.4617 41.6951 37.2459 41.8197L34.4541 43.4316C34.2383 43.5561 34.0794 43.7597 34.011 43.9992L33.2466 46.6747H30.1936L29.4292 43.9992C29.3607 43.7597 29.2018 43.5561 28.9861 43.4316L26.1942 41.8197C25.9785 41.6951 25.7228 41.6593 25.4811 41.7198L22.7819 42.3955L21.2554 39.7516L23.1902 37.7518C23.3634 37.5728 23.4602 37.3334 23.4602 37.0843V33.8605C23.4602 33.6114 23.3634 33.372 23.1902 33.193L21.2554 31.1932L22.7819 28.5493L25.4811 29.225C25.7228 29.2855 25.9785 29.2497 26.1942 29.1251L28.9861 27.5132ZM31.7201 41.6407C28.3134 41.6407 25.5517 38.8791 25.5517 35.4724C25.5517 32.0657 28.3134 29.3041 31.7201 29.3041C35.1268 29.3041 37.8884 32.0657 37.8884 35.4724C37.8884 38.8791 35.1268 41.6407 31.7201 41.6407ZM35.9684 35.4724C35.9684 37.8187 34.0664 39.7207 31.7201 39.7207C29.3738 39.7207 27.4717 37.8187 27.4717 35.4724C27.4717 33.1261 29.3738 31.2241 31.7201 31.2241C34.0664 31.2241 35.9684 33.1261 35.9684 35.4724Z" fill="url(#paint1_linear_606_96)"/>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as L,r as p,M,j as f,b3 as T,T as j,K as k,o as t}from"./index-
|
|
1
|
+
import{f as L,r as p,M,j as f,b3 as T,T as j,K as k,o as t}from"./index-DmEIktUl.js";import{E as C}from"./index-CUC9gaVs.js";const A=a=>{const h=new Date(Math.min(...a)),r=(new Date(Math.max(...a))-h)/(1e3*60);return u=>{if(r<=10){const c=(a.length-a.length%r)/r;return u%c===0}const d=(a.length-a.length%6)/6;return u%d===0}};function S({title:a="",total:h=0,history:s=[],valueFn:b=n=>n,xAxisFormat:r=n=>n,visualMapPieces:u=[],markLineData:v={},extraInfo:d=null,empty:w=null,onHover:c=()=>{},hoverIndex:i=null}){const n=L(),o=p.useRef(null),y=p.useMemo(()=>M(s)?[]:s.map(e=>r(e.date)),[s,r]);p.useEffect(()=>{if(!o.current||i?.ref===o)return;const e=o.current.getEchartsInstance(),l=i?.seriesIndex,m=y.findIndex(g=>g===i?.dataValue);i&&m!==-1?e.dispatchAction({type:"showTip",seriesIndex:l,dataIndex:m}):(e.dispatchAction({type:"hideTip"}),e.dispatchAction({type:"showTip",seriesIndex:0,dataIndex:-1}))},[i?.dataIndex]);const x=p.useCallback(()=>{c?.(null)},[c]);if(p.useEffect(()=>{if(o.current){const e=o.current.getEchartsInstance(),l=e.getDom();return l.addEventListener("mouseleave",x),()=>{l.removeEventListener("mouseleave",x),e.dispose()}}},[x]),M(s))return w||null;const E=Math.max(...s.map(e=>e.value),h||0,0),D={tooltip:{trigger:"axis",formatter(e){const l=e[0].data,m=b(l),{seriesIndex:g,dataIndex:I}=e[0];return c?.({seriesIndex:g,dataIndex:I,dataValue:y[I],ref:i?.ref||o}),`${e[0].name}: <b>${m}</b>`},backgroundColor:n.palette.background.paper,borderColor:n.palette.divider,textStyle:{color:n.palette.text.primary},extraCssText:`box-shadow: ${n.shadows[2]}; border-radius: 4px;`},grid:{top:"48px",left:"16px",right:"16px",bottom:"0px",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:y,axisTick:{show:!1},splitLine:{show:!1},axisLabel:{interval:A(s.map(e=>new Date(e.date)))}},yAxis:{type:"value",axisTick:{show:!1},splitLine:{show:!1},min:0,max:E,interval:Math.ceil(E/2),axisLabel:{formatter:b,padding:[5,0,0,0]}},visualMap:{show:!1,type:"piecewise",dimension:1,seriesIndex:0,pieces:u},series:[{name:`${a} Usage`,type:"line",smooth:!0,symbol:"none",lineStyle:{color:n.palette.primary.main,width:2.5},areaStyle:{},itemStyle:{},emphasis:{disabled:!0},data:s.map(e=>e.value),markLine:v}]};return f.jsxs(T,{sx:{p:1,position:"relative"},children:[f.jsx(j,{sx:{fontSize:"16px",fontWeight:"bold",color:"text.secondary",position:"absolute",top:8,left:16,zIndex:10},children:a}),f.jsx(C,{ref:o,option:D,style:{width:"100%",height:"200px"},onEvents:{globalout:x}}),d&&f.jsx(k,{sx:{color:"text.secondary",ml:2,mt:1,fontSize:12},children:d})]})}S.propTypes={title:t.string,total:t.number,history:t.array,valueFn:t.func,xAxisFormat:t.func,visualMapPieces:t.array,markLineData:t.object,extraInfo:t.node,empty:t.node,onHover:t.func,hoverIndex:t.object};export{S as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cb as a,cc as o,r as c}from"./index-
|
|
1
|
+
import{cb as a,cc as o,r as c}from"./index-DmEIktUl.js";function x(u,t,n,r){return u==null?[]:(o(t)||(t=t==null?[]:[t]),n=n,o(n)||(n=n==null?[]:[n]),a(u,t,n))}const l=c.createContext({}),{Provider:B,Consumer:C}=l;function s(){return c.useContext(l)}export{l as B,x as o,s as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{gN as m,gO as k,eA as x,eB as b,gP as K,gQ as Z,dF as X,gR as w,be as Y}from"./index-DmEIktUl.js";var V={exports:{}};/*!
|
|
2
2
|
* EventEmitter v5.2.9 - git.io/ee
|
|
3
3
|
* Unlicense - http://unlicense.org/
|
|
4
4
|
* Oliver Caldwell - https://oli.me.uk/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,p as e,j as t,dr as s,o as c}from"./index-
|
|
1
|
+
import{r,p as e,j as t,dr as s,o as c}from"./index-DmEIktUl.js";function n({children:p,...i}){const{t:o}=r.useContext(e);return t.jsx(s,{tip:o("common.copyTip"),copiedTip:o("common.copiedTip"),...i,children:p})}n.propTypes={children:c.any.isRequired};export{n as C};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dy as e,eY as r}from"./index-DmEIktUl.js";const o=e(r);export{o as r};
|