badmfck-api-server 4.1.51 → 4.1.52
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
|
-
<!-- Build: 2026-
|
|
5
|
-
<script>var __ver = "1.0.
|
|
4
|
+
<!-- Build: 2026-08-06T09:37:16.454Z | Version: 1.0.14 -->
|
|
5
|
+
<script>var __ver = "1.0.14";</script>
|
|
6
6
|
<meta charset="UTF-8" />
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
@@ -321,7 +321,7 @@ const a4={background:"#a7a7a7",backgroundSelected:"#66bb6a",toggle:"#FFFFFF"},l4
|
|
|
321
321
|
`),php:w.join(`
|
|
322
322
|
`)}},G4=(e,t)=>e.split(`
|
|
323
323
|
`).map((r,n)=>n===0?r:t+r).join(`
|
|
324
|
-
`),xr=({code:e,wrap:t})=>{const[r,n]=ee.useState(!1),o=()=>{var i;try{(i=navigator.clipboard)==null||i.writeText(e),n(!0),setTimeout(()=>n(!1),1500)}catch{}};return C.jsxs(M,{sx:{position:"relative"},children:[C.jsxs(M,{onClick:o,title:"Copy",sx:{position:"absolute",top:"8px",right:"8px",display:"flex",alignItems:"center",gap:"5px",padding:"5px 8px",borderRadius:"4px",cursor:"pointer",backgroundColor:"rgba(255,255,255,0.08)",transition:"background-color 0.2s ease","&:hover":{backgroundColor:"rgba(255,255,255,0.16)"}},children:[C.jsx(M,{sx:{display:"flex",filter:"invert(1) brightness(2)"},children:C.jsx(E4,{size:"13"})}),C.jsx(K,{variant:"small",color:r?"#6aa76a":"rgba(255,255,255,0.6)",sx:{fontSize:"11px"},children:r?"Copied":"Copy"})]}),C.jsx(M,{sx:{fontFamily:"monospace",color:"#0ffa52",backgroundColor:"rgba(0,0,0,0.7)",padding:"14px 76px 14px 16px",borderRadius:"4px",fontSize:"12px",lineHeight:"1.5",whiteSpace:t?"pre-wrap":"pre",wordBreak:t?"break-all":void 0,overflowX:t?void 0:"auto"},children:e})]})},X4={string:"#6aa76a",number:"#4c9ec7",boolean:"orange",object:"#FFAACC",array:"#00EEAA",any:"#ffeb3b",file:"#ff5722",date:"#9c27b0",null:"#9e9e9e",undefined:"#9e9e9e"},V1=({children:e})=>C.jsx(K,{variant:"medium",color:"rgba(255,255,255,0.82)",sx:{display:"block",fontSize:"1.05rem",lineHeight:"1.7",maxWidth:"74ch",letterSpacing:"0.1px"},children:e}),Oo=e=>(e==null?void 0:e.head)??(e==null?void 0:e.title)??"",K1=e=>{var t;return Array.isArray(e==null?void 0:e.lines)?e.lines:Array.isArray((t=e==null?void 0:e.content)==null?void 0:t.lines)?e.content.lines:Array.isArray(e==null?void 0:e.content)?e.content:[]},Q1=({node:e})=>{var n;const t=e.headers??[],r=e.gridTemplateColumns??e.gridTempalateColumns??t.map(()=>"max-content").join(" ");return C.jsxs(ie,{gap:"6px",children:[Oo(e)&&C.jsx(po,{children:Oo(e)}),C.jsx(M,{sx:{display:"grid",gap:"1px",padding:"1px",boxSizing:"border-box",backgroundColor:"rgba(255,255,255,0.05)",borderRadius:"6px",overflow:"hidden",gridTemplateColumns:r},children:C.jsxs(M,{sx:{display:"contents","&>div":{padding:"10px",fontSize:"12px",boxSizing:"border-box"}},children:[t.map((o,i)=>C.jsx(K,{variant:"medium",bold:!0,color:"rgba(255,255,255,0.7)",sx:{backgroundColor:"rgba(7, 11, 22, 0.685)"},children:o},i)),(n=e.rows)==null?void 0:n.map((o,i)=>o.map((s,a)=>C.jsx(K,{variant:"medium",sx:{backgroundColor:"panelBackgroundPrimary"},children:s},`${i}-${a}`)))]})})]})},Y4=({node:e})=>{const t=Oo(e),r=typeof e.content=="string"?e.content:e.code??"";return C.jsxs(ie,{gap:"6px",children:[t&&C.jsx(po,{children:t}),C.jsx(xr,{code:r,wrap:!0})]})},Z4=({node:e})=>{const[t,r]=ee.useState(e.opened===!0);return C.jsxs(M,{sx:{backgroundColor:"rgba(0,0,0,0.18)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:"8px",overflow:"hidden"},children:[C.jsxs(pe,{onClick:()=>r(!t),sx:{alignItems:"center",gap:"12px",padding:"18px 22px",cursor:"pointer",transition:"background-color 0.2s ease","&:hover":{backgroundColor:"rgba(0,0,0,0.25)"}},children:[C.jsx(On,{open:t,color:"rgba(255,255,255,0.6)"}),C.jsx(K,{color:"rgba(255,255,255,0.96)",sx:{fontSize:"19px",fontWeight:600,lineHeight:"1.3",letterSpacing:"0.2px"},children:Oo(e)})]}),t&&C.jsx(M,{sx:{padding:"4px 22px 22px 22px"},children:C.jsx(zo,{lines:K1(e),depth:1})})]})},J4=({node:e,depth:t})=>{const r=Oo(e),n=K1(e);return t===0?r?C.jsx(Z4,{node:e}):C.jsx(zo,{lines:n,depth:1}):C.jsxs(ie,{gap:"10px",sx:{borderLeft:"2px solid rgba(255,255,255,0.12)",paddingLeft:"16px"},children:[r&&C.jsx(K,{variant:"medium",bold:!0,color:"rgba(255,255,255,0.92)",sx:{fontSize:"15.5px"},children:r}),C.jsx(zo,{lines:n,depth:t+1})]})},e5=({node:e})=>C.jsxs(C.Fragment,{children:[e.title&&C.jsx(K,{variant:"medium",bold:!0,color:"rgba(255,255,255,0.9)",sx:{fontSize:"13px",marginTop:"4px"},children:e.title}),e.code&&C.jsx(xr,{code:e.code,wrap:!0}),e.table&&C.jsx(Q1,{node:e.table}),e.spacer&&C.jsx(Ae,{size:e.spacer})]}),t5=({node:e,depth:t})=>{if(e==null)return null;if(typeof e=="string")return C.jsx(V1,{children:e});if(Array.isArray(e))return C.jsx(zo,{lines:e,depth:t});switch(e.type){case"block":return C.jsx(J4,{node:e,depth:t});case"code":return C.jsx(Y4,{node:e});case"table":return C.jsx(Q1,{node:e});default:return C.jsx(e5,{node:e})}},zo=({lines:e,depth:t=0})=>Array.isArray(e)?C.jsx(ie,{gap:t===0?"18px":"13px",children:e.map((r,n)=>C.jsx(t5,{node:r,depth:t},n))}):null,G1=({description:e})=>{if(e&&typeof e=="string"&&e.trim().startsWith("{"))try{const t=JSON.parse(e);return t&&Array.isArray(t.lines)?C.jsx(zo,{lines:t.lines}):null}catch{return C.jsx(K,{variant:"medium",children:e})}return C.jsx(K,{variant:"medium",children:e})},yl="rgba(255,255,255,0.15)",X1=22,vd=17,r5=({name:e})=>C.jsx(M,{sx:{flex:"0 1 auto",minWidth:0,backgroundColor:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.06)",borderRadius:"5px",padding:"2px 7px"},children:C.jsx(K,{sx:{fontFamily:"monospace",fontSize:"12.5px",color:"rgba(255,255,255,0.92)",overflowWrap:"anywhere"},children:e})}),n5=({line:e})=>C.jsx(M,{sx:{flex:"0 0 auto",width:`${X1}px`,alignSelf:"stretch",position:"relative","&::before":e?{content:'""',position:"absolute",left:"10px",top:0,bottom:0,width:"1px",backgroundColor:yl}:{}}}),o5=({isLast:e})=>C.jsx(M,{sx:{flex:"0 0 auto",width:`${X1}px`,alignSelf:"stretch",position:"relative","&::before":{content:'""',position:"absolute",left:"10px",top:0,height:e?`${vd}px`:"100%",width:"1px",backgroundColor:yl},"&::after":{content:'""',position:"absolute",left:"10px",top:`${vd}px`,width:"9px",height:"1px",backgroundColor:yl}}}),i5=e=>{if(!e||!e.childs)return[];if(e.type==="array"){const t=e.childs[0];return t&&t.childs?Object.entries(t.childs):[]}return Object.entries(e.childs).filter(([t])=>t!=="0")},s5=({name:e,node:t,depth:r,isLast:n,ancestorsLast:o,parentPath:i})=>{const s=i5(t),a=s.length>0,[u,l]=ee.useState(!0);return C.jsxs(C.Fragment,{children:[C.jsxs(pe,{sx:{alignItems:"stretch",borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[r>0&&o.map((f,v)=>C.jsx(n5,{line:!f},v)),r>0&&C.jsx(o5,{isLast:n}),C.jsxs(ie,{sx:{flex:"1 1 auto",minWidth:0,padding:"6px 0",gap:"3px"},children:[C.jsxs(pe,{sx:{alignItems:"center",gap:"8px",minWidth:0},children:[a?C.jsx(M,{onClick:()=>l(!u),sx:{flex:"0 0 auto",display:"flex",cursor:"pointer"},children:C.jsx(On,{open:u,size:"10",color:"rgba(255,255,255,0.55)"})}):C.jsx(M,{sx:{flex:"0 0 auto",width:"10px"}}),i&&C.jsxs(K,{color:"rgba(255,255,255,0.4)",sx:{fontSize:"12px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:"0 3 auto",minWidth:"14px"},children:[i,"."]}),C.jsx(r5,{name:e}),C.jsx(K,{sx:{fontSize:"11px",fontFamily:"monospace"},bold:!0,color:X4[t.type],children:t.type}),t.optional&&C.jsx(K,{sx:{fontSize:"10px"},bold:!0,color:"rgba(106,134,255,0.85)",children:"optional"})]}),(t.details||t.regex)&&C.jsxs(ie,{sx:{gap:"5px",marginTop:"4px",padding:"8px 12px 8px 18px",backgroundColor:"rgba(0,0,0,0.2)",borderRadius:"5px"},children:[t.details&&C.jsx(K,{variant:"medium",color:"rgba(255,255,255,0.8)",sx:{fontSize:"13px",lineHeight:"1.55"},children:t.details}),t.regex&&C.jsxs(K,{variant:"small",color:"rgba(255,255,255,0.45)",sx:{fontFamily:"monospace",fontSize:"10px",wordBreak:"break-all"},children:["regex: ",t.regex]})]})]})]}),u&&a&&C.jsx(Y1,{entries:s,depth:r+1,ancestorsLast:r===0?[]:[...o,n],path:i?i+"."+e:e})]})},Y1=({entries:e,depth:t,ancestorsLast:r,path:n})=>C.jsx(C.Fragment,{children:e.map(([o,i],s)=>C.jsx(s5,{name:o,node:i,depth:t,isLast:s===e.length-1,ancestorsLast:r,parentPath:n},o))}),Z1=({schema:e})=>{const t=Object.entries(e??{}).filter(([r])=>r!=="0");return t.length===0?null:C.jsx(M,{sx:{border:"1px solid rgba(255,255,255,0.06)",borderRadius:"6px",padding:"0 14px"},children:C.jsx(Y1,{entries:t,depth:0,ancestorsLast:[],path:""})})},J1="#1a5bff",Cl=window.__host,la=!!Cl&&!/\{\{\w+\}\}/.test(Cl),md=window.__ver,El="documentation.auth",a5=()=>{try{const e=localStorage.getItem(El);if(!e)return null;const t=JSON.parse(e);return{host:t.host??"",login:t.login??"",password:""}}catch{return null}},l5=Ot.form`
|
|
324
|
+
`),xr=({code:e,wrap:t})=>{const[r,n]=ee.useState(!1),o=()=>{var i;try{(i=navigator.clipboard)==null||i.writeText(e),n(!0),setTimeout(()=>n(!1),1500)}catch{}};return C.jsxs(M,{sx:{position:"relative"},children:[C.jsxs(M,{onClick:o,title:"Copy",sx:{position:"absolute",top:"8px",right:"8px",display:"flex",alignItems:"center",gap:"5px",padding:"5px 8px",borderRadius:"4px",cursor:"pointer",backgroundColor:"rgba(255,255,255,0.08)",transition:"background-color 0.2s ease","&:hover":{backgroundColor:"rgba(255,255,255,0.16)"}},children:[C.jsx(M,{sx:{display:"flex",filter:"invert(1) brightness(2)"},children:C.jsx(E4,{size:"13"})}),C.jsx(K,{variant:"small",color:r?"#6aa76a":"rgba(255,255,255,0.6)",sx:{fontSize:"11px"},children:r?"Copied":"Copy"})]}),C.jsx(M,{sx:{fontFamily:"monospace",color:"#0ffa52",backgroundColor:"rgba(0,0,0,0.7)",padding:"14px 76px 14px 16px",borderRadius:"4px",fontSize:"12px",lineHeight:"1.5",whiteSpace:t?"pre-wrap":"pre",wordBreak:t?"break-all":void 0,overflowX:t?void 0:"auto"},children:e})]})},X4={string:"#6aa76a",number:"#4c9ec7",boolean:"orange",object:"#FFAACC",array:"#00EEAA",any:"#ffeb3b",file:"#ff5722",date:"#9c27b0",null:"#9e9e9e",undefined:"#9e9e9e"},V1=({children:e})=>C.jsx(K,{variant:"medium",color:"rgba(255,255,255,0.82)",sx:{display:"block",fontSize:"1.05rem",lineHeight:"1.7",maxWidth:"74ch",letterSpacing:"0.1px"},children:e}),Oo=e=>(e==null?void 0:e.head)??(e==null?void 0:e.title)??"",K1=e=>{var t;return Array.isArray(e==null?void 0:e.lines)?e.lines:Array.isArray((t=e==null?void 0:e.content)==null?void 0:t.lines)?e.content.lines:Array.isArray(e==null?void 0:e.content)?e.content:[]},Q1=({node:e})=>{var n;const t=e.headers??[],r=e.gridTemplateColumns??e.gridTempalateColumns??t.map(()=>"max-content").join(" ");return C.jsxs(ie,{gap:"6px",children:[Oo(e)&&C.jsx(po,{children:Oo(e)}),C.jsx(M,{sx:{display:"grid",gap:"1px",padding:"1px",boxSizing:"border-box",backgroundColor:"rgba(255,255,255,0.05)",borderRadius:"6px",overflow:"hidden",gridTemplateColumns:r},children:C.jsxs(M,{sx:{display:"contents","&>div":{padding:"10px",fontSize:"12px",boxSizing:"border-box"}},children:[t.map((o,i)=>C.jsx(K,{variant:"medium",bold:!0,color:"rgba(255,255,255,0.7)",sx:{backgroundColor:"rgba(7, 11, 22, 0.685)"},children:o},i)),(n=e.rows)==null?void 0:n.map((o,i)=>o.map((s,a)=>C.jsx(K,{variant:"medium",sx:{backgroundColor:"panelBackgroundPrimary"},children:s},`${i}-${a}`)))]})})]})},Y4=({node:e})=>{const t=Oo(e),r=typeof e.content=="string"?e.content:e.code??"";return C.jsxs(ie,{gap:"6px",children:[t&&C.jsx(po,{children:t}),C.jsx(xr,{code:r,wrap:!0})]})},Z4=({node:e})=>{const[t,r]=ee.useState(e.opened===!0);return C.jsxs(M,{sx:{backgroundColor:"rgba(0,0,0,0.18)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:"8px",overflow:"hidden"},children:[C.jsxs(pe,{onClick:()=>r(!t),sx:{alignItems:"center",gap:"12px",padding:"18px 22px",cursor:"pointer",transition:"background-color 0.2s ease","&:hover":{backgroundColor:"rgba(0,0,0,0.25)"}},children:[C.jsx(On,{open:t,color:"rgba(255,255,255,0.6)"}),C.jsx(K,{color:"rgba(255,255,255,0.96)",sx:{fontSize:"19px",fontWeight:600,lineHeight:"1.3",letterSpacing:"0.2px"},children:Oo(e)})]}),t&&C.jsx(M,{sx:{padding:"4px 22px 22px 22px"},children:C.jsx(zo,{lines:K1(e),depth:1})})]})},J4=({node:e,depth:t})=>{const r=Oo(e),n=K1(e);return t===0?r?C.jsx(Z4,{node:e}):C.jsx(zo,{lines:n,depth:1}):C.jsxs(ie,{gap:"10px",sx:{borderLeft:"2px solid rgba(255,255,255,0.12)",paddingLeft:"16px"},children:[r&&C.jsx(K,{variant:"medium",bold:!0,color:"rgba(255,255,255,0.92)",sx:{fontSize:"15.5px"},children:r}),C.jsx(zo,{lines:n,depth:t+1})]})},e5=({node:e})=>C.jsxs(C.Fragment,{children:[e.title&&C.jsx(K,{variant:"medium",bold:!0,color:"rgba(255,255,255,0.9)",sx:{fontSize:"13px",marginTop:"4px"},children:e.title}),e.code&&C.jsx(xr,{code:e.code,wrap:!0}),e.table&&C.jsx(Q1,{node:e.table}),e.spacer&&C.jsx(Ae,{size:e.spacer})]}),t5=({node:e,depth:t})=>{if(e==null)return null;if(typeof e=="string")return C.jsx(V1,{children:e});if(Array.isArray(e))return C.jsx(zo,{lines:e,depth:t});switch(e.type){case"block":return C.jsx(J4,{node:e,depth:t});case"code":return C.jsx(Y4,{node:e});case"table":return C.jsx(Q1,{node:e});default:return C.jsx(e5,{node:e})}},zo=({lines:e,depth:t=0})=>Array.isArray(e)?C.jsx(ie,{gap:t===0?"18px":"13px",children:e.map((r,n)=>C.jsx(t5,{node:r,depth:t},n))}):null,G1=({description:e})=>{if(e&&typeof e=="string"&&e.trim().startsWith("{"))try{const t=JSON.parse(e);return t&&Array.isArray(t.lines)?C.jsx(zo,{lines:t.lines}):null}catch{return C.jsx(K,{variant:"medium",children:e})}return C.jsx(K,{variant:"medium",children:e})},yl="rgba(255,255,255,0.15)",X1=22,vd=17,r5=({name:e})=>C.jsx(M,{sx:{flex:"0 1 auto",minWidth:0,backgroundColor:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.06)",borderRadius:"5px",padding:"2px 7px"},children:C.jsx(K,{sx:{fontFamily:"monospace",fontSize:"12.5px",color:"rgba(255,255,255,0.92)",overflowWrap:"anywhere"},children:e})}),n5=({line:e})=>C.jsx(M,{sx:{flex:"0 0 auto",width:`${X1}px`,alignSelf:"stretch",position:"relative","&::before":e?{content:'""',position:"absolute",left:"10px",top:0,bottom:0,width:"1px",backgroundColor:yl}:{}}}),o5=({isLast:e})=>C.jsx(M,{sx:{flex:"0 0 auto",width:`${X1}px`,alignSelf:"stretch",position:"relative","&::before":{content:'""',position:"absolute",left:"10px",top:0,height:e?`${vd}px`:"100%",width:"1px",backgroundColor:yl},"&::after":{content:'""',position:"absolute",left:"10px",top:`${vd}px`,width:"9px",height:"1px",backgroundColor:yl}}}),i5=e=>{if(!e||!e.childs)return[];if(e.type==="array"){const t=e.childs[0];return t&&t.childs?Object.entries(t.childs):[]}return Object.entries(e.childs).filter(([t])=>t!=="0")},s5=({name:e,node:t,depth:r,isLast:n,ancestorsLast:o,parentPath:i})=>{const s=i5(t),a=s.length>0,[u,l]=ee.useState(!0);return C.jsxs(C.Fragment,{children:[C.jsxs(pe,{sx:{alignItems:"stretch",borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[r>0&&o.map((f,v)=>C.jsx(n5,{line:!f},v)),r>0&&C.jsx(o5,{isLast:n}),C.jsxs(ie,{sx:{flex:"1 1 auto",minWidth:0,padding:"6px 0",gap:"3px"},children:[C.jsxs(pe,{sx:{alignItems:"center",gap:"8px",minWidth:0},children:[a?C.jsx(M,{onClick:()=>l(!u),sx:{flex:"0 0 auto",display:"flex",cursor:"pointer"},children:C.jsx(On,{open:u,size:"10",color:"rgba(255,255,255,0.55)"})}):C.jsx(M,{sx:{flex:"0 0 auto",width:"10px"}}),i&&C.jsxs(K,{color:"rgba(255,255,255,0.4)",sx:{fontSize:"12px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:"0 3 auto",minWidth:"14px"},children:[i,"."]}),C.jsx(r5,{name:e}),C.jsx(K,{sx:{fontSize:"11px",fontFamily:"monospace"},bold:!0,color:X4[t.type],children:t.type}),t.optional&&C.jsx(K,{sx:{fontSize:"10px"},bold:!0,color:"rgba(106,134,255,0.85)",children:"optional"})]}),(typeof t.details=="string"&&t.details||typeof t.regex=="string"&&t.regex)&&C.jsxs(ie,{sx:{gap:"5px",marginTop:"4px",padding:"8px 12px 8px 18px",backgroundColor:"rgba(0,0,0,0.2)",borderRadius:"5px"},children:[typeof t.details=="string"&&t.details&&C.jsx(K,{variant:"medium",color:"rgba(255,255,255,0.8)",sx:{fontSize:"13px",lineHeight:"1.55"},children:t.details}),typeof t.regex=="string"&&t.regex&&C.jsxs(K,{variant:"small",color:"rgba(255,255,255,0.45)",sx:{fontFamily:"monospace",fontSize:"10px",wordBreak:"break-all"},children:["regex: ",t.regex]})]})]})]}),u&&a&&C.jsx(Y1,{entries:s,depth:r+1,ancestorsLast:r===0?[]:[...o,n],path:i?i+"."+e:e})]})},Y1=({entries:e,depth:t,ancestorsLast:r,path:n})=>C.jsx(C.Fragment,{children:e.map(([o,i],s)=>C.jsx(s5,{name:o,node:i,depth:t,isLast:s===e.length-1,ancestorsLast:r,parentPath:n},o))}),Z1=({schema:e})=>{const t=Object.entries(e??{}).filter(([r])=>r!=="0");return t.length===0?null:C.jsx(M,{sx:{border:"1px solid rgba(255,255,255,0.06)",borderRadius:"6px",padding:"0 14px"},children:C.jsx(Y1,{entries:t,depth:0,ancestorsLast:[],path:""})})},J1="#1a5bff",Cl=window.__host,la=!!Cl&&!/\{\{\w+\}\}/.test(Cl),md=window.__ver,El="documentation.auth",a5=()=>{try{const e=localStorage.getItem(El);if(!e)return null;const t=JSON.parse(e);return{host:t.host??"",login:t.login??"",password:""}}catch{return null}},l5=Ot.form`
|
|
325
325
|
display: flex;
|
|
326
326
|
flex-direction: column;
|
|
327
327
|
gap: 16px;
|