System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./useController-legacy13.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./useStore-legacy12.js?v=1761009159","./useStore-legacy4.js?v=1761009159","./useController-legacy6.js?v=1761009159","./useController-legacy5.js?v=1761009159","./useMethod-legacy5.js?v=1761009159","./useController-legacy4.js?v=1761009159","./useStore-legacy10.js?v=1761009159"],function(e,l){"use strict";var n,t,u,s,a,r,c,o,i,d,y,m,p,f,g;return{setters:[function(e){n=e.c,t=e.g,u=e.e,s=e.C,a=e.U,r=e.v,c=e.N,o=e.y},function(e){i=e.K,d=e.k,y=e.bq,m=e.c5},function(e){p=e.aI},function(e){f=e.i,g=e.o},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){e("default",n({__name:"ssl-expire-configure",setup:function(e,l){var n=l.expose,j=i({data:function(){var e=f().data;return e||{id:0,dueAlarm:!1,domainName:"",cycle:30,allSsl:!1,push:[]}},options:function(e){return t(function(){return[{type:"switch",label:"到期提醒",key:"dueAlarm"},{type:"input",label:"设置站点",key:"domainName",attrs:{width:"28rem",disabled:!0}},{type:"custom",render:function(){return u(y,{label:"证书有效期",prop:"cycle"},{default:function(){return[u("div",{class:"text-small flex"},[u("span",{class:"mr-4px"},[s("小于")]),u(d,{modelValue:e.value.cycle,"onUpdate:modelValue":function(l){return e.value.cycle=l},class:"!w-[10rem]",type:"number"},null),u("span",{class:"ml-4px"},[s("天，将每天发送1次提醒。")])])]}})},rules:{cycle:[m({message:"请输入证书到期提示时间"}),{validator:function(e,l,n){/^[1-9]\d*$/.test(l)?n():n(new Error("请输入大于0的整数"))},trigger:["blur","change","input"]}]}},p("通知方式","push",{rules:{push:[m({message:"请选择通知方式"})]}}),{type:"custom",render:function(){return u(y,{label:"应用配置"},{default:function(){return[u(a,{modelValue:e.value.allSsl,"onUpdate:modelValue":function(l){return e.value.allSsl=l},name:"type"},{default:function(){return[s("将当前配置应用到所有"),u("span",{class:"text-danger"},[s("未设置过的站点")])]}})]}})}}]})},submit:g}),b=j.BtForm;return n({onConfirm:j.submit}),function(e,l){return r(),c(o(b),{class:"p-[16px]","label-width":"100px"})}}}))}}});
