File: /www/server/panel/BTPanel/static/js/key-config.js
import{M as c,d_ as u,cZ as f}from"./utils-lib.js?v=1777008528";import{c as x,aK as l,o as g,j as w,k as _,q as t,e as r,p as i,Q as p,x as h}from"./base-lib.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";const y={class:"p-[1.6rem]"},S={class:"flex flex-col text-secondary text-base"},V={class:"flex items-center leading-[4rem]"},v={class:"flex items-center leading-[4rem]"},k=x({__name:"key-config",setup(C){const a=l("terminalCopyStatus",!1),s=l("rightKeyPasteStatus",!1),d=l("showLabelDot",!0);g(()=>{d.value=!1});const m=()=>{window.location.protocol!=="https:"&&window.location.hostname!=="localhost"&&(s.value=!1,c.error("请打开面板SSL后再执行操作"))};return(b,e)=>{const n=u;return w(),_("div",y,[t("div",S,[t("span",V,[e[2]||(e[2]=t("span",{class:"w-[10rem] text-right whitespace-nowrap"}," 选中复制: ",-1)),r(n,{modelValue:i(a),"onUpdate:modelValue":e[0]||(e[0]=o=>p(a)?a.value=o:null),width:36},null,8,["modelValue"]),e[3]||(e[3]=t("span",{class:"text-small text-secondary ml-[10px]"},"开启后,选中终端内容将自动复制到剪贴板,无需手动复制",-1))]),t("span",v,[e[4]||(e[4]=t("span",{class:"w-[10rem] text-right whitespace-nowrap"}," 右键自动粘贴: ",-1)),r(n,{modelValue:i(s),"onUpdate:modelValue":e[1]||(e[1]=o=>p(s)?s.value=o:null),width:36,onChange:m},null,8,["modelValue"]),e[5]||(e[5]=t("span",{class:"text-small text-secondary ml-[10px]"},[h("开启后,终端输入时右键将自动粘贴内容"),t("span",{class:"text-danger"},"(注意:面板需HTTPS环境)")],-1))])])])}}}),B=f(k,[["__scopeId","data-v-fd81c16f"]]);export{B as default};