webman/public/apidoc/assets/index.5c3fd095.js

7 lines
215 KiB
JavaScript
Raw Normal View History

2025-02-16 00:39:18 +08:00
var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues=(e,t)=>{for(var n in t||(t={}))__hasOwnProp.call(t,n)&&__defNormalProp(e,n,t[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(t))__propIsEnum.call(t,n)&&__defNormalProp(e,n,t[n]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t)),__async=(e,t,n)=>new Promise(((a,r)=>{var o=e=>{try{i(n.next(e))}catch(t){r(t)}},l=e=>{try{i(n.throw(e))}catch(t){r(t)}},i=e=>e.done?a(e.value):Promise.resolve(e.value).then(o,l);i((n=n.apply(e,t)).next())}));import{d as defineComponent,u as useConfigInject,h as getPropsSlot,a0 as _objectWithoutProperties,c as createVNode,W as _objectSpread2,P as PropTypes,a1 as DownOutlined,a2 as Dropdown,a as flattenChildren,a3 as warning,O as _typeof,a4 as cloneVNode,_ as _defineProperty$7,a5 as Menu,a6 as _toConsumableArray,a7 as AntdIcon,a8 as inject,K as ref,Z as cloneElement,a9 as classNames,C as Col,aa as isStringElement,e as isEmptyElement,ab as initDefaultProps,ac as provide,ad as toRef,j as computed,S as watch,M as useBreakpoint,N as eagerComputed,Q as responsiveArray,ae as __unplugin_components_2$1,R as Row,af as Spin,V as onMounted,ag as KeyCode,w as withInstall,ah as useDestroyed,X as ResizeObserver,ai as filterEmpty,aj as isEmptyContent,ak as LocaleReceiver,al as CodeEditor,am as h,m as useAppStore,l as useI18n,an as useSlots,s as createElementBlock,G as createBlock,z as withCtx,y as createCommentVNode,ao as mergeProps,v as unref,J as __unplugin_components_1,A as openBlock,r as renderSlot,ap as normalizeProps,F as Fragment,aq as CheckOutlined,x as toDisplayString,B as createTextVNode,ar as textToHtml,as as cloneDeep,o as reactive,t as createBaseVNode,T as Tabs,at as __unplugin_components_4,au as commonjsGlobal,av as createIdcard,aw as trim,q as watchEffect,ax as EditTable,ay as createRandKey,az as useApidocOutsideStore,aA as useAppOutsideStore,aB as getObjectValueByKey,aC as isArray,aD as isObject,aE as request,n as useApidocStore,aF as Button,aG as __unplugin_components_2$2,D as renderList,H as __unplugin_components_1$1,aH as Badge,aI as normalizeClass,k as _export_sfc,aJ as __unplugin_components_0$1,p as __unplugin_components_0$2,aK as useRoute,aL as globalApi,aM as handleTableDataRowKey,aN as handleApidocHttpError,aO as Error$1,aP as RedoOutlined,aQ as DeviceEnum,E as normalizeStyle,aR as withDirectives,aS as vModelText,aT as CopyOutlined,aU as copyTextToClipboard,aV as message,aW as SelectOption,aX as __unplugin_components_3$1}from"./index.5c1bd6c6.js";import{A as Avatar}from"./index.589e7fc6.js";import{m as mdModal,M as Markdown,S as Skeleton}from"./Skeleton.be316f96.js";var _excluded$3=["class","style"],breadcrumbItemProps=function(){return{prefixCls:String,href:String,separator:PropTypes.any,overlay:PropTypes.any,onClick:Function}},BreadcrumbItem=defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:breadcrumbItemProps(),slots:["separator","overlay"],setup:function(e,t){var n=t.slots,a=t.attrs,r=useConfigInject("breadcrumb",e).prefixCls;return function(){var t,o,l,i,s,u=null!==(t=getPropsSlot(n,e,"separator"))&&void 0!==t?t:"/",c=getPropsSlot(n,e),d=a.class,p=a.style,f=_objectWithoutProperties(a,_excluded$3);return o=void 0!==e.href?createVNode("a",_objectSpread2({class:"".concat(r.value,"-link"),onClick:e.onClick},f),[c]):createVNode("span",_objectSpread2({class:"".concat(r.value,"-link"),onClick:e.onClick},f),[c]),l=o,i=r.value,o=(s=getPropsSlot(n,e,"overlay"))?createVNode(Dropdown,{overlay:s,placement:"bottom"},{default:function(){return[createVNode("span",{class:"".concat(i,"-overlay-link")},[l,createVNode(DownOutlined,null,null)])]}}):l,c?createVNode("span",{class:d,style:p},[o,u&&createVNode("span",{class:"".concat(r.value,
/*!
Mock - 模拟请求 & 模拟数据
https://github.com/nuysoft/Mock
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
*/;var c={Handler:r,Random:l,Util:o,XHR:a,RE:i,toJSONSchema:s,valid:u,heredoc:o.heredoc,setup:function(e){return a.setup(e)},_mocked:{},version:"1.0.1-beta3"};a&&(a.Mock=c),c.mock=function(e,t,n){return 1===arguments.length?r.gen(e):(2===arguments.length&&(n=t,t=void 0),a&&(window.XMLHttpRequest=a),c._mocked[e+(t||"")]={rurl:e,rtype:t,template:n},c)},e.exports=c},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend,gen:function(e,t,n){t=null==t?"":t+"",n={path:(n=n||{}).path||[Constant.GUID],templatePath:n.templatePath||[Constant.GUID++],currentContext:n.currentContext,templateCurrentContext:n.templateCurrentContext||e,root:n.root||n.currentContext,templateRoot:n.templateRoot||n.templateCurrentContext||e};var a,r=Parser.parse(t),o=Util.type(e);return Handler[o]?(a=Handler[o]({type:o,template:e,name:t,parsedName:t?t.replace(Constant.RE_KEY,"$1"):t,rule:r,context:n}),n.root||(n.root=a),a):e}};Handler.extend({array:function(e){var t,n,a=[];if(0===e.template.length)return a;if(e.rule.parameters)if(1===e.rule.min&&void 0===e.rule.max)e.context.path.push(e.name),e.context.templatePath.push(e.name),a=Random.pick(Handler.gen(e.template,void 0,{path:e.context.path,templatePath:e.context.templatePath,currentContext:a,templateCurrentContext:e.template,root:e.context.root||a,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();else if(e.rule.parameters[2])e.template.__order_index=e.template.__order_index||0,e.context.path.push(e.name),e.context.templatePath.push(e.name),a=Handler.gen(e.template,void 0,{path:e.context.path,templatePath:e.context.templatePath,currentContext:a,templateCurrentContext:e.template,root:e.context.root||a,templateRoot:e.context.templateRoot||e.template})[e.template.__order_index%e.template.length],e.template.__order_index+=+e.rule.parameters[2],e.context.path.pop(),e.context.templatePath.pop();else for(t=0;t<e.rule.count;t++)for(n=0;n<e.template.length;n++)e.context.path.push(a.length),e.context.templatePath.push(n),a.push(Handler.gen(e.template[n],a.length,{path:e.context.path,templatePath:e.context.templatePath,currentContext:a,templateCurrentContext:e.template,root:e.context.root||a,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();else for(t=0;t<e.template.length;t++)e.context.path.push(t),e.context.templatePath.push(t),a.push(Handler.gen(e.template[t],t,{path:e.context.path,templatePath:e.context.templatePath,currentContext:a,templateCurrentContext:e.template,root:e.context.root||a,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();return a},object:function(e){var t,n,a,r,o,l,i={};if(null!=e.rule.min)for(t=Util.keys(e.template),t=(t=Random.shuffle(t)).slice(0,e.rule.count),l=0;l<t.length;l++)r=(a=t[l]).replace(Constant.RE_KEY,"$1"),e.context.path.push(r),e.context.templatePath.push(a),i[r]=Handler.gen(e.template[a],a,{path:e.context.path,templatePath:e.context.templatePath,currentContext:i,templateCurrentContext:e.template,root:e.context.root||i,templateRoot:e.context.templateRoot||e.template}),e.context.path.pop(),e.context.templatePath.pop();else{for(a in t=[],n=[],e.template)("function"==typeof e.template[a]?n:t).push(a);for(t=t.concat(n),l=0;l<t.length;l++)r=(a=t[l]).replace(Constant.RE_KEY,"$1"),e.context.path.push(r),e.context.templatePath.push(a),i[r]=Handler.gen(e.template[a],a,{path:e.context.path,templatePath:e.context.templatePath,currentContext:i,templateCurrentContext:e.template,root:e.context.root||i,templateRoot:e.context.templateRoot||e.template}),e.context.path.pop(),e.context.templatePath.pop(),(o=a.match(Constant.RE_KEY))&&o[2]&&"number"===Util.type(e.template[a])&&(e.template[a]+=parseInt(o[2],10))}return i},number:function(e){var t,n;if(e.rule.decimal){for(e.template+="",(n=e.template.split("."))[0]=e.rule.range?e.rule.count:n[0],n[1]=(n[1]||"").slice(0,e.rule