File: /www/server/panel/BTPanel/static/js/setting-custom-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./setting-legacy2.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./form-item-legacy.js?v=1777008528","./useController-legacy29.js?v=1777008528","./useController-legacy13.js?v=1777008528"],function(n,t){"use strict";var r,l,o,u,a,i,c,s,f,m,y,d,g,p,b,j,v,_,h,x;return{setters:[function(e){r=e.cO,l=e.cP},function(e){o=e.c,u=e.w,a=e.o,i=e.j,c=e.k,s=e.e,f=e.v,m=e.p,y=e.x,d=e.ad,g=e.z,p=e.ab},function(e){b=e.i,j=e.c,v=e.a,_=e.o,h=e.b,x=e.r},null,null,null,null,null,null,null,null,null],execute:function(){var t={class:"p-[20px]"};n("default",o({__name:"setting-custom",setup:function(n){return u(function(){return x.value.custom},function(e){j.config=e||""}),a(b),function(n,o){var u=r,a=d,b=g,x=p,A=l;return i(),c("div",t,[s(x,{ref:"customFormRef",model:m(j),"label-width":"100px"},{default:f(function(){return[s(a,{label:"需要插入的配置",prop:"config"},{default:f(function(){return[s(u,{modelValue:m(j).config,"onUpdate:modelValue":o[0]||(o[0]=function(e){return m(j).config=e}),placeholder:m(v),type:"textarea",width:"42rem",rows:6,resize:"none"},null,8,["modelValue","placeholder"])]}),_:1}),s(a,{label:" "},{default:f(function(){return[s(b,{type:"primary",onClick:m(_)},{default:f(function(){return e(o[1]||(o[1]=[y("保存",-1)]))}),_:1},8,["onClick"])]}),_:1})]}),_:1},8,["model"]),s(A,{options:m(h),class:"mt-2rem ml-[20px]"},null,8,["options"])])}}}))}}})}();