This commit is contained in:
2026-06-15 15:58:10 +08:00
parent aa87d55b33
commit 7a747961e5
51 changed files with 11 additions and 184 deletions

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\controller;
namespace app\admin\controller\embed;
use app\admin\model\Config as ConfigModel;
use app\admin\model\Game;

View File

@@ -1 +0,0 @@
import{_}from"./index-r_E2mS1x.js";import{D as d,G as e,U as a,H as o,P as t,I as r,C as p,V as u}from"./vue-DweYBrEc.js";const f={},m={class:"page"},g={class:"container"},v={class:"warning"},b={class:"page-footer"};function k(s,n){const l=r("router-link"),i=r("el-button"),c=r("el-button-group");return p(),d("div",m,[e("div",g,[n[1]||(n[1]=e("div",{class:"fbi"},"401 WARNING",-1)),e("div",v,a(s.$t("401.noPowerTip")),1),e("div",b,[o(c,null,{default:t(()=>[o(i,{size:"large",type:"info"},{default:t(()=>[o(l,{class:"stopcode-a",to:"/"},{default:t(()=>[u(a(s.$t("404.Return to home page")),1)]),_:1})]),_:1}),o(i,{size:"large",type:"info"},{default:t(()=>[o(l,{class:"stopcode-a",to:""},{default:t(()=>[e("span",{onClick:n[0]||(n[0]=N=>s.$router.back())},a(s.$t("404.Back to previous page")),1)]),_:1})]),_:1})]),_:1})])])])}const C=_(f,[["render",k],["__scopeId","data-v-b6724a97"]]);export{C as default};

View File

@@ -1 +0,0 @@
import{B as m,b as _,o as v,j as f,D as h,G as e,U as o,V as n,H as c,P as d,I as g,a0 as k,C}from"./vue-DweYBrEc.js";import{_ as $}from"./index-r_E2mS1x.js";const B="/assets/qr-CamScR9_.png",b={class:"page"},w={class:"container"},M={class:"tip"},R={class:"complete"},V={class:"percentage"},I={class:"details"},N={class:"stopcode"},T={class:"stopcode-text"},q={class:"stopcode-text"},y=m({__name:"404",setup(D){const p=k(),a=_(0);var r=null;function u(){a.value+=Math.floor(Math.random()*50),a.value>=100?(a.value=100,p.back()):i()}function i(){r=setTimeout(u,Math.random()*500+500)}return v(()=>{i()}),f(()=>{clearTimeout(r)}),(t,s)=>{const l=g("router-link");return C(),h("div",b,[e("div",w,[s[3]||(s[3]=e("div",{class:"font-h1"},":(",-1)),e("div",M,o(t.$t("404.problems tip")),1),e("div",R,[n(o(t.$t("Complete"))+" ",1),e("span",V,o(a.value),1),s[1]||(s[1]=n("% "))]),e("div",I,[s[2]||(s[2]=e("div",{class:"qr-image"},[e("img",{src:B,alt:"QR Code"})],-1)),e("div",N,[e("div",T,o(t.$t("404.We will automatically return to the previous page when we are finished")),1),e("div",q,[c(l,{class:"stopcode-a",to:""},{default:d(()=>[e("span",{onClick:s[0]||(s[0]=S=>t.$router.back())},o(t.$t("404.Back to previous page")),1)]),_:1}),c(l,{class:"stopcode-a",to:"/"},{default:d(()=>[n(o(t.$t("404.Return to home page")),1)]),_:1})])])])])])}}}),x=$(y,[["__scopeId","data-v-1e5abc9c"]]);export{x as default};

View File

@@ -1 +0,0 @@
import{_ as o}from"./add.vue_vue_type_script_setup_true_lang-A_mrb-TI.js";import"./vue-DweYBrEc.js";import"./index-Ci54HhCS.js";import"./index-_8CH1k-o.js";import"./index-r_E2mS1x.js";import"./index-D0FjV6Ot.js";import"./validate-Dho1JHPZ.js";export{o as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
const a={username:"Username",nickname:"Nickname",group:"Group",avatar:"Avatar",email:"Email",mobile:"Mobile Number","Last login":"Last login",Password:"Password","Please leave blank if not modified":"Please leave blank if you do not modify.","Personal signature":"Personal Signature","Administrator login":"Administrator Login Name"};export{a as default};

View File

@@ -1 +0,0 @@
const a={username:"用户名",nickname:"昵称",group:"角色组",avatar:"头像",email:"电子邮箱",mobile:"手机号","Last login":"最后登录",Password:"密码","Please leave blank if not modified":"不修改请留空","Personal signature":"个性签名","Administrator login":"管理员登录名"};export{a as default};

View File

@@ -1 +0,0 @@
const e={"Last logged in on":"上次登录于","user name":"用户名","User nickname":"用户昵称","Please enter a nickname":"请输入昵称","e-mail address":"邮箱地址","phone number":"手机号码",autograph:"签名","This guy is lazy and doesn write anything":"这家伙很懒,什么也没写","New password":"新密码","Please leave blank if not modified":"不修改请留空","Save changes":"保存修改","Operation log":"操作日志"};export{e as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
const e={"Last logged in on":"Last logged on","user name":"Username","User nickname":"User nickname","Please enter a nickname":"Please enter a nickname","e-mail address":"E-mail address","phone number":"Mobile number",autograph:"Signature","This guy is lazy and doesn write anything":"This guy is lazy and didn't write anything.","New password":"New password","Please leave blank if not modified":"Please leave blank if you do not modify","Save changes":"Save changes","Operation log":"Operation log"};export{e as default};

View File

@@ -1 +0,0 @@
const a={admin_id:"Manage ID",username:"Manage Username",title:"Title",data:"Request Data",url:"URL",ip:"IP",useragent:"UserAgent","Operation administrator":"Operation administrator","Operator IP":"Operator IP","Request data":"Request Data"};export{a as default};

View File

@@ -1 +0,0 @@
const a={admin_id:"管理ID",username:"管理用户名",title:"标题",data:"请求数据",url:"URL",ip:"IP",useragent:"UserAgent","Operation administrator":"操作管理员","Operator IP":"操作人IP","Request data":"请求数据"};export{a as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
const e={"Upload administrator":"Upload administrator","Upload user":"Upload member","Storage mode":"Storage mode","Physical path":"Physical path","image width":"Picture width","Picture height":"Picture height","file size":"file size","mime type":"mime type ","SHA1 code":"SHA1","The file is saved in the directory, and the file will not be automatically transferred if the record is modified":"The file had saved in the directory, and the modification record will not automatically tansfer the file.","File saving path Modifying records will not automatically transfer files":"The file had saved in the path, and the modification record will not automatically tansfer the file.","Width of picture file":"The width of the image file.","Height of picture file":"The height of the image file.","Original file name":"Original name of the file","File size (bytes)":"File size (Bytes)","File MIME type":"File MIME type","Upload (Reference) times of this file":"Upload (Reference) times of this file","When the same file is uploaded multiple times, only one attachment record will be saved and added":"When the same file is uploaded many times, only one attachment record will be saved and added.","SHA1 encoding of file":"The SHA1 encoding of file","Files and records will be deleted at the same time Are you sure?":"Files and records will be deleted at the same time Are you sure?"};export{e as default};

View File

@@ -1 +0,0 @@
const e={"Upload administrator":"上传管理员","Upload user":"上传会员","Storage mode":"存储方式","Physical path":"物理路径","image width":"图片宽度","Picture height":"图片高度","file size":"文件大小","mime type":"mime类型","SHA1 code":"sha1","The file is saved in the directory, and the file will not be automatically transferred if the record is modified":"文件保存目录,修改记录不会自动转移文件","File saving path Modifying records will not automatically transfer files":"文件保存路径,修改记录不会自动转移文件","Width of picture file":"图片文件的宽度","Height of picture file":"图片文件的高度","Original file name":"文件原始名称","File size (bytes)":"文件大小(bytes)","File MIME type":"文件mime类型","Upload (Reference) times of this file":"此文件的上传(引用)次数","When the same file is uploaded multiple times, only one attachment record will be saved and added":"同一文件被多次上传时,只会保存一份和增加一条附件记录","SHA1 encoding of file":"文件的sha1编码","Files and records will be deleted at the same time Are you sure?":"将同时删除文件和记录,确认吗?"};export{e as default};

View File

@@ -1 +0,0 @@
import{B as P,aE as x,a8 as G,a as w,w as S,I as d,X as B,C as m,D as b,H as i,u as a,P as c,_ as y,G as n,U as u,O as A,V as f,a7 as E,aF as N}from"./vue-DweYBrEc.js";import{x as T,u as q,y as K,_ as j}from"./index-r_E2mS1x.js";import{u as H,b as O,c as X}from"./index-HOTJnHq_.js";import{c as J}from"./index-CZ-NjqaB.js";import{F as C}from"./index-Ci54HhCS.js";import{b as v}from"./validate-Dho1JHPZ.js";const Q={key:0,class:"userinfo"},W={class:"user-avatar-box"},Y=["src"],Z={class:"username"},ee={class:"user-info"},ae={class:"userinfo-buttons"},oe={href:"https://uni.buildadmin.com/user",target:"_blank",rel:"noopener noreferrer"},te={key:1,class:"ba-login"},se={class:"ba-title"},ne={target:"_blank",class:"ba-account-register",href:"https://uni.buildadmin.com/user/login?type=register",rel:"noopener noreferrer"},le=P({__name:"baAccount",props:N({loginCallback:{type:Function,default:()=>{}}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(h){const{t:l}=T.useI18n(),t=H(),F=q(),g=x(h,"modelValue"),k=G("baAccountFormRef"),L=h,o=w({loading:!0,submitLoading:!1,user:{tab:"login",username:"",password:"",captchaId:K(),captchaInfo:"",keep:!1}}),I=()=>{var s;(s=k.value)==null||s.validate(e=>{e&&J(o.user.captchaId,_=>U(_),{apiBaseURL:F.apiUrl})})},U=(s="")=>{o.submitLoading=!0,o.user.captchaInfo=s,O(o.user).then(e=>{t.dataFill(e.data.userInfo,!1),L.loginCallback(e)}).finally(()=>{o.submitLoading=!1})},z=w({username:[v({name:"required",title:l("layouts.Username")})],password:[v({name:"required",title:l("layouts.Password")}),v({name:"password"})]});return S(()=>g.value,s=>{s&&t.token&&X().then(e=>{t.dataFill(e.data.userInfo)}).catch(()=>{t.removeToken()}).finally(()=>{o.loading=!1})}),(s,e)=>{const _=d("Icon"),p=d("el-button"),R=d("el-form-item"),$=d("el-form"),D=d("el-dialog"),V=B("blur"),M=B("loading");return m(),b("div",null,[i(D,{modelValue:g.value,"onUpdate:modelValue":e[5]||(e[5]=r=>g.value=r),class:"ba-account-dialog",width:"25%",title:a(l)("layouts.Member information")},{default:c(()=>[a(t).token?y((m(),b("div",Q,[n("div",W,[n("img",{class:"user-avatar",src:a(t).avatar,alt:""},null,8,Y),i(_,{class:"user-avatar-gender",name:a(t).getGenderIcon().name,size:"14",color:a(t).getGenderIcon().color},null,8,["name","color"])]),n("p",Z,u(a(t).nickname),1),n("p",ee,[n("span",null,u(s.$t("Integral")+" "+a(t).score),1),n("span",null,u(s.$t("Balance")+" "+a(t).money),1)]),n("div",ae,[n("a",oe,[y((m(),A(p,{size:"default",type:"primary"},{default:c(()=>[f(u(s.$t("layouts.Member center")),1)]),_:1})),[[V]])]),y((m(),A(p,{onClick:e[0]||(e[0]=r=>a(t).logout()),size:"default",type:"warning"},{default:c(()=>[f(u(s.$t("layouts.Logout")),1)]),_:1})),[[V]])])])),[[M,o.loading]]):(m(),b("div",te,[n("h3",se,u(a(l)("layouts.Login to the buildadmin")),1),i($,{onKeyup:e[4]||(e[4]=E(r=>I(),["enter"])),ref_key:"baAccountFormRef",ref:k,rules:z,class:"ba-account-login-form",model:o.user},{default:c(()=>[i(C,{modelValue:o.user.username,"onUpdate:modelValue":e[1]||(e[1]=r=>o.user.username=r),type:"string",prop:"username",placeholder:a(l)("layouts.Please enter buildadmin account name or email"),"input-attr":{size:"large"}},null,8,["modelValue","placeholder"]),i(C,{modelValue:o.user.password,"onUpdate:modelValue":e[2]||(e[2]=r=>o.user.password=r),type:"password",prop:"password",placeholder:a(l)("layouts.Please enter the buildadmin account password"),"input-attr":{size:"large"}},null,8,["modelValue","placeholder"]),i(R,{class:"form-buttons"},{default:c(()=>[i(p,{onClick:e[3]||(e[3]=r=>I()),loading:o.submitLoading,round:"",type:"primary",size:"large"},{default:c(()=>[f(u(a(l)("layouts.Login")),1)]),_:1},8,["loading"]),n("a",ne,[i(p,{round:"",plain:"",type:"info",size:"large"},{default:c(()=>[f(u(a(l)("layouts.Register")),1)]),_:1})])]),_:1})]),_:1},8,["rules","model"])]))]),_:1},8,["modelValue","title"])])}}}),pe=j(le,[["__scopeId","data-v-3d2b2a16"]]);export{pe as B};

View File

@@ -1 +0,0 @@
const a={"Change time":"Change time","Current balance":"Current balance","Balance after change":"Balance after change","Balance change record":"Balance change record"};export{a as default};

View File

@@ -1 +0,0 @@
const a={"Change time":"变更时间","Current balance":"当前余额","Balance after change":"变更后余额","Balance change record":"余额变更记录"};export{a as default};

View File

@@ -1 +0,0 @@
import{b,a as k,T as z,ad as B,_ as P}from"./index-r_E2mS1x.js";import{B as S,a as $,o as w,I as l,X as D,C as t,D as s,H as g,P as d,_ as L,Z as I,Y as T,G as c,U as n,u as i,O as j}from"./vue-DweYBrEc.js";const F={class:"user-views"},M={class:"card-header"},N={class:"right-title"},U={class:"logs"},V={class:"log-title"},E={key:0,class:"log-change-amount increase"},G={key:1,class:"log-change-amount reduce"},H={class:"log-after"},O={class:"log-change-time"},X={key:0,class:"log-footer"},Y=S({__name:"balance",setup(Z){const u=b(),_=k(),e=$({logs:[],currentPage:1,total:0,pageSize:10,pageLoading:!0}),p=a=>{e.pageSize=a,r()},h=a=>{e.currentPage=a,r()},r=()=>{B(e.currentPage,e.pageSize).then(a=>{e.pageLoading=!1,e.logs=a.data.list,e.total=a.data.total})};return w(()=>{r()}),(a,q)=>{const m=l("el-pagination"),v=l("el-empty"),f=l("el-card"),y=D("loading");return t(),s("div",F,[g(f,{class:"user-views-card",shadow:"hover"},{header:d(()=>[c("div",M,[c("span",null,n(a.$t("user.account.balance.Balance change record")),1),c("span",N,n(a.$t("user.account.balance.Current balance")+" "+i(u).money),1)])]),default:d(()=>[L((t(),s("div",U,[(t(!0),s(I,null,T(e.logs,(o,C)=>(t(),s("div",{class:"log-item",key:C},[c("div",V,n(o.memo),1),o.money>0?(t(),s("div",E,n(a.$t("Balance")+"+"+o.money),1)):(t(),s("div",G,n(a.$t("Balance")+""+o.money),1)),c("div",H,n(a.$t("user.account.balance.Balance after change")+""+o.after),1),c("div",O,n(a.$t("user.account.balance.Change time")+""+i(z)(o.create_time)),1)]))),128))])),[[y,e.pageLoading]]),e.total>0?(t(),s("div",X,[g(m,{currentPage:e.currentPage,"page-size":e.pageSize,"page-sizes":[10,20,50,100],background:"",layout:i(_).state.shrink?"prev, next, jumper":"sizes, ->, prev, pager, next, jumper",total:e.total,onSizeChange:p,onCurrentChange:h},null,8,["currentPage","page-size","layout","total"])])):(t(),j(v,{key:1}))]),_:1})])}}}),J=P(Y,[["__scopeId","data-v-3a90286f"]]);export{J as default};

View File

@@ -1 +0,0 @@
const a={id:"id",weigh:"weigh",bank_name:"bank_name",bank_account:"bank_account",safe_alert:"safe_alert","safe_alert 0":"safe_alert 0","safe_alert 1":"safe_alert 1","safe_alert 2":"safe_alert 2","safe_alert 3":"safe_alert 3","safe_alert 4":"safe_alert 4","safe_alert 5":"safe_alert 5","safe_alert 6":"safe_alert 6",tx_in:"tx_in",tx_out:"tx_out",fund_in:"fund_in",fund_out:"fund_out",label_color:"label_color",status:"status","status 0":"status 0","status 1":"status 1",create_time:"create_time",update_time:"update_time","quick Search Fields":"id"};export{a as default};

View File

@@ -1 +0,0 @@
const e={id:"ID",weigh:"权重",bank_name:"账户名",bank_account:"账户",safe_alert:"安全警报","safe_alert 0":"off","safe_alert 1":"hourly","safe_alert 2":"daily","safe_alert 3":"weekly","safe_alert 4":"monthly","safe_alert 5":"yearly","safe_alert 6":"lifetime",tx_in:"tx in",tx_out:"tx out",fund_in:"fund in",fund_out:"fund out",label_color:"标签颜色",status:"状态","status 0":"禁用","status 1":"启用",create_time:"创建时间",update_time:"修改时间","quick Search Fields":"ID"};export{e as default};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1 +0,0 @@
import{x as B,_ as I}from"./index-r_E2mS1x.js";import{s as o,a as N,c as P,o as _,b as U}from"./index-Dsm4_Q_p.js";import{u as $}from"./index-HOTJnHq_.js";import{B as A,I as f,X as v,C as a,D as r,H as g,u as e,P as u,_ as m,p as D,G as s,U as t,V as d,Z as k,O as y,W as b}from"./vue-DweYBrEc.js";import"./terminal-DwjWtfuz.js";const O={key:0,class:"order-info"},E={class:"order-info-item"},M={class:"order-info-item"},z={class:"order-info-item"},W={class:"order-info-item"},j={key:0,class:"order-price"},F={key:1,class:"order-price"},G={class:"order-footer"},H={class:"order-agreement"},S={href:"https://doc.buildadmin.com/guide/other/appendix/templateAgreement.html",target:"_blank",rel:"noopener noreferrer"},T={class:"order-info-buttons"},X=A({__name:"buy",setup(Z){const{t:l}=B.useI18n(),h=$();return(q,n)=>{const x=f("el-alert"),C=f("el-checkbox"),c=f("el-button"),V=f("el-dialog"),p=v("blur"),w=v("loading");return a(),r("div",null,[g(V,{modelValue:e(o).dialog.buy,"onUpdate:modelValue":n[6]||(n[6]=i=>e(o).dialog.buy=i),class:"buy-dialog",title:e(l)("module.Confirm order info"),top:"20vh",width:"28%"},{default:u(()=>[m((a(),r("div",null,[g(x,{title:e(l)("module.Module installation warning"),type:"error",center:!0,closable:!1},null,8,["title"]),e(D)(e(o).buy.info)?b("",!0):(a(),r("div",O,[s("div",E,t(e(l)("module.Order title"))+""+t(e(o).buy.info.title),1),s("div",M,t(e(l)("module.Order No"))+""+t(e(o).buy.info.sn),1),s("div",z,t(e(l)("module.Purchase user"))+""+t(e(N)(e(h))),1),s("div",W,[d(t(e(l)("module.Order price"))+" ",1),e(o).buy.info.purchased?(a(),r("span",F,t(e(l)("module.Purchased, can be installed directly")),1)):(a(),r("span",j,t(e(P)(e(o).buy.info.amount,e(o).buy.info.pay.money?1:0)),1))]),s("div",G,[s("div",H,[g(C,{modelValue:e(o).buy.agreement,"onUpdate:modelValue":n[0]||(n[0]=i=>e(o).buy.agreement=i),size:"small",label:""},null,8,["modelValue"]),s("span",null,[d(t(e(l)("module.Understand and agree"))+"《 ",1),s("a",S,t(e(l)("module.Module purchase and use agreement")),1),n[7]||(n[7]=d(" 》 "))])]),s("div",T,[e(o).buy.info.purchased?m((a(),y(c,{key:1,loading:e(o).loading.common,onClick:n[5]||(n[5]=i=>e(U)(e(o).buy.info.uid,e(o).buy.info.id,!0)),type:"warning"},{default:u(()=>[d(t(e(l)("module.Install now")),1)]),_:1},8,["loading"])),[[p]]):(a(),r(k,{key:0},[e(o).buy.info.pay.score?m((a(),y(c,{key:0,loading:e(o).loading.common,onClick:n[1]||(n[1]=i=>e(_)("score")),type:"warning"},{default:u(()=>[d(t(e(l)("module.Point payment")),1)]),_:1},8,["loading"])),[[p]]):b("",!0),e(o).buy.info.pay.money?(a(),r(k,{key:1},[m((a(),y(c,{loading:e(o).loading.common,onClick:n[2]||(n[2]=i=>e(_)("balance")),type:"warning"},{default:u(()=>[d(t(e(l)("module.Balance payment")),1)]),_:1},8,["loading"])),[[p]]),m((a(),y(c,{loading:e(o).loading.common,onClick:n[3]||(n[3]=i=>e(_)("wx")),type:"success"},{default:u(()=>[d(t(e(l)("module.Wechat payment")),1)]),_:1},8,["loading"])),[[p]]),m((a(),y(c,{loading:e(o).loading.common,onClick:n[4]||(n[4]=i=>e(_)("zfb")),type:"primary"},{default:u(()=>[d(t(e(l)("module.Alipay payment")),1)]),_:1},8,["loading"])),[[p]])],64)):b("",!0)],64))])])]))])),[[w,e(o).loading.buy]])]),_:1},8,["modelValue","title"])])}}}),Y=I(X,[["__scopeId","data-v-13d418e1"]]);export{Y as default};

View File

@@ -1 +0,0 @@
import{B as b,a8 as v,a as V,I as m,C as y,D as C,H as n,P as l,G as S,a7 as I,u as r,V as f,U as p}from"./vue-DweYBrEc.js";import{x as N,b as R,G as $,ae as x,_ as L}from"./index-r_E2mS1x.js";import{b as u}from"./validate-Dho1JHPZ.js";import{F as i}from"./index-Ci54HhCS.js";import"./index-_8CH1k-o.js";import"./index-D0FjV6Ot.js";const U={class:"user-views"},B={class:"change-password"},k=b({__name:"changePassword",setup(q){const{t:s}=N.useI18n(),P=R(),w=v("formRef"),e=V({formSubmitLoading:!1,form:{oldPassword:"",newPassword:"",confirmPassword:""},rules:{oldPassword:[u({name:"required",title:s("user.account.changePassword.Old password")})],newPassword:[u({name:"required",title:s("user.account.changePassword.New password")}),u({name:"password"})],confirmPassword:[u({name:"required",title:s("user.account.changePassword.Confirm new password")}),u({name:"password"}),{validator:(d,o,a)=>{(e.form.newPassword||e.form.confirmPassword)&&(e.form.newPassword==e.form.confirmPassword?a():a(new Error(s("user.account.changePassword.The duplicate password does not match the new password")))),a()},trigger:"blur"}]}}),c=()=>{var d;(d=w.value)==null||d.validate(o=>{o&&(e.formSubmitLoading=!0,x(e.form).then(a=>{e.formSubmitLoading=!1,a.code==1&&P.logout()}).catch(()=>{e.formSubmitLoading=!1}))})};return(d,o)=>{const a=m("el-button"),g=m("el-form-item"),h=m("el-form"),_=m("el-card");return y(),C("div",U,[n(_,{class:"user-views-card",shadow:"hover",header:r(s)("user.account.changePassword.Change Password")},{default:l(()=>[S("div",B,[n(h,{model:e.form,rules:e.rules,"label-position":"top",ref_key:"formRef",ref:w,onKeyup:o[5]||(o[5]=I(t=>c(),["enter"]))},{default:l(()=>[n(i,{label:r(s)("user.account.changePassword.Old password"),type:"password",modelValue:e.form.oldPassword,"onUpdate:modelValue":o[0]||(o[0]=t=>e.form.oldPassword=t),prop:"oldPassword","input-attr":{showPassword:!0},placeholder:r(s)("user.account.changePassword.Please enter your current password")},null,8,["label","modelValue","placeholder"]),n(i,{label:r(s)("user.account.changePassword.New password"),type:"password",modelValue:e.form.newPassword,"onUpdate:modelValue":o[1]||(o[1]=t=>e.form.newPassword=t),prop:"newPassword","input-attr":{showPassword:!0},placeholder:r(s)("Please input field",{field:r(s)("user.account.changePassword.New password")})},null,8,["label","modelValue","placeholder"]),n(i,{label:r(s)("user.account.changePassword.Confirm new password"),type:"password",modelValue:e.form.confirmPassword,"onUpdate:modelValue":o[2]||(o[2]=t=>e.form.confirmPassword=t),prop:"confirmPassword","input-attr":{showPassword:!0},placeholder:r(s)("Please input field",{field:r(s)("user.account.changePassword.Confirm new password")})},null,8,["label","modelValue","placeholder"]),n(g,{class:"submit-buttons"},{default:l(()=>[n(a,{onClick:o[3]||(o[3]=t=>r($)(r(w)))},{default:l(()=>[f(p(d.$t("Reset")),1)]),_:1}),n(a,{type:"primary",loading:e.formSubmitLoading,onClick:o[4]||(o[4]=t=>c())},{default:l(()=>[f(p(d.$t("Save")),1)]),_:1},8,["loading"])]),_:1})]),_:1},8,["model","rules"])])]),_:1},8,["header"])])}}}),O=L(k,[["__scopeId","data-v-9cc2dcfb"]]);export{O as default};

View File

@@ -1 +0,0 @@
const s={"Change Password":"修改密码","Old password":"旧密码","New password":"新密码","Confirm new password":"确认新密码","Please enter your current password":"请输入现在的密码","The duplicate password does not match the new password":"重复密码与新密码不相符"};export{s as default};

View File

@@ -1 +0,0 @@
const s={"Change Password":"Change Password","Old password":"Old password","New password":"New password","Confirm new password":"Confirm new password","Please enter your current password":"Please enter your current password","The duplicate password does not match the new password":"The duplicate password does not match the new password"};export{s as default};

View File

@@ -1 +0,0 @@
import{s as o}from"./index-Dsm4_Q_p.js";import f from"./commonDone-DrjX2qCl.js";import g from"./commonSelectVersion-COuRwRC1.js";import C from"./confirmFileConflict-CO9LAExD.js";import k from"./installConflict-Bsb8dgSc.js";import y from"./uploadInstall-B4KOvsQ8.js";import{B as v,I as i,X as V,C as t,D as a,H as c,u as e,P as s,_ as D,W as l,O as m}from"./vue-DweYBrEc.js";import{_ as x}from"./index-r_E2mS1x.js";import"./index-HOTJnHq_.js";import"./terminal-DwjWtfuz.js";import"./index-_8CH1k-o.js";import"./index-D0FjV6Ot.js";import"./index-Ci54HhCS.js";const I=["element-loading-text"],b=v({__name:"commonDialog",setup(h){return(r,n)=>{const d=i("el-scrollbar"),p=i("el-dialog"),u=V("loading");return t(),a("div",null,[c(p,{"close-on-press-escape":e(o).common.quickClose,title:e(o).common.dialogTitle,"close-on-click-modal":e(o).common.quickClose,modelValue:e(o).dialog.common,"onUpdate:modelValue":n[0]||(n[0]=_=>e(o).dialog.common=_),class:"common-dialog"},{default:s(()=>[c(d,{height:500},{default:s(()=>[e(o).common.type=="loading"?D((t(),a("div",{"element-loading-text":e(o).common.loadingTitle?r.$t("module.stateTitle "+e(o).common.loadingTitle):"",key:e(o).common.loadingComponentKey,class:"common-loading"},null,8,I)),[[u,!0]]):l("",!0),e(o).common.type=="selectVersion"?(t(),m(g,{key:1})):l("",!0),e(o).common.type=="installConflict"?(t(),m(k,{key:2})):l("",!0),e(o).common.type=="disableConfirmConflict"?(t(),m(C,{key:3})):l("",!0),e(o).common.type=="done"?(t(),m(f,{key:4})):l("",!0),e(o).common.type=="uploadInstall"?(t(),m(y,{key:5})):l("",!0)]),_:1})]),_:1},8,["close-on-press-escape","title","close-on-click-modal","modelValue"])])}}}),W=x(b,[["__scopeId","data-v-deb1af09"]]);export{W as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{x as B,T as b,_ as S}from"./index-r_E2mS1x.js";import{s as a,f as z,g as D,h as F}from"./index-Dsm4_Q_p.js";import{B as M,aH as w,I as _,C as s,D as c,H as i,u as e,P as d,G as u,O as p,U as m,V as h}from"./vue-DweYBrEc.js";import"./index-HOTJnHq_.js";import"./terminal-DwjWtfuz.js";const N={key:0},T={class:"available-system-version"},j={class:"available-system-version-text"},A={key:1},E={key:0},H={key:0,class:"renewal-text"},L={key:1},O={key:2},$={class:"renewal"},G={class:"renewal-text"},P=M({__name:"commonSelectVersion",setup(R){const{t}=B.useI18n(),k=w(o=>(o=o.replace(/^v/,""),o=o.split(".").map(l=>l.padStart(2,"0")).join(""),parseInt(o))),x=o=>{const l=a.installedModule.find(r=>r.uid==a.common.uid);return!!(l&&(o=o.replace(/^v/,""),l.version=l.version.replace(/^v/,""),o==l.version))},v=w(o=>k(a.sysVersion)>parseInt(o)),g=(o,l,r)=>{a.dialog.common=!0,a.common.dialogTitle=t("module.Install"),D("download"),a.dialog.baAccount=!1,a.dialog.buy=!1,a.dialog.goodsInfo=!1,F(o,l,r,a.common.update)};return(o,l)=>{const r=_("el-table-column"),f=_("Icon"),y=_("el-button"),C=_("el-tooltip"),I=_("el-table");return s(),c("div",null,[i(I,{data:e(a).common.versions,class:"w100",stripe:""},{default:d(()=>[i(r,{property:"version",align:"center",label:e(t)("module.Version")},null,8,["label"]),i(r,{property:"short_describe","show-overflow-tooltip":!0,align:"center",label:e(t)("module.Description")},null,8,["label"]),i(r,{property:"available_system_version_text",align:"center",label:e(t)("module.Available system version")},{default:d(n=>[n.row.available_system_version&&e(a).sysVersion?(s(),c("div",N,[u("div",T,[e(v)(n.row.available_system_version)?(s(),p(f,{key:0,name:"el-icon-CircleCheckFilled",color:"var(--el-color-success)",size:"14"})):(s(),p(f,{key:1,name:"el-icon-CircleCloseFilled",size:"14",color:"var(--el-color-danger)"})),u("div",j,m(n.row.available_system_version_text),1)])])):(s(),c("div",A,"-"))]),_:1},8,["label"]),i(r,{property:"createtime_text",align:"center",label:e(t)("Create time")},null,8,["label"]),i(r,{label:e(t)("module.Install"),align:"center","min-width":140},{default:d(n=>[n.row.downloadable?(s(),c("div",E,[x(n.row.version)?(s(),c("div",H,m(e(t)("module.Current installed version")),1)):e(v)(n.row.available_system_version)?(s(),c("div",O,[i(y,{type:"primary",onClick:V=>g(n.row.uid,n.row.order_id,n.row.version)},{default:d(()=>[h(m(e(t)("module.Click to install")),1)]),_:2},1032,["onClick"])])):(s(),c("div",L,m(e(t)("module.Insufficient system version")),1))])):(s(),p(C,{key:1,effect:"dark",content:e(t)("module.Order expiration time",{expiration_time:e(b)(n.row.order_expiration_time),create_time:e(b)(n.row.createtime)}),placement:"top"},{default:d(()=>[u("div",$,[u("div",G,m(e(t)("module.Versions released beyond the authorization period")),1),i(y,{onClick:l[0]||(l[0]=V=>e(z)(!0)),type:"danger"},{default:d(()=>[h(m(e(t)("module.Renewal")),1)]),_:1})])]),_:2},1032,["content"]))]),_:1},8,["label"])]),_:1},8,["data"])])}}}),W=S(P,[["__scopeId","data-v-5678fe15"]]);export{W as default};

View File

@@ -1 +0,0 @@
const e={"Are you sure to delete the configuration item?":"确定删除配置项吗?","Add configuration item":"添加配置项","Quick configuration entry":"快捷配置入口","Variable name":"变量名","Variable group":"变量分组","Variable title":"变量标题","Variable type":"变量类型",number:"数字","Please enter the recipient email address":"请输入接收者邮箱地址","Test mail sending":"测试邮件发送","send out":"发送","Please enter the correct email address":"请输入正确的电子邮箱地址",Sending:"发送中...","Please enter the correct mail configuration":"请输入正确的邮件配置"};export{e as default};

View File

@@ -1 +0,0 @@
const e={"Are you sure to delete the configuration item?":"Are you sure to delete the configuration item?","Add configuration item":"Add configuration item","Quick configuration entry":"Quick configuration entry","Variable name":"Variable name","Variable group":"Variable group","Variable title":"Variable title","Variable type":"Variable type",number:"Number","Please enter the recipient email address":"Please enter the recipient email address","Test mail sending":"Test mail sending","send out":"send","Please enter the correct email address":"Please enter the correct email address",Sending:"Sending","Please enter the correct mail configuration":"Please enter the correct mail configuration"};export{e as default};

View File

@@ -1 +0,0 @@
import{s as t,i as k}from"./index-Dsm4_Q_p.js";import{B,I as i,X as F,C as s,D as m,G as u,u as n,Z as g,U as d,H as l,P as a,W as p,_ as C,O as $,V as h}from"./vue-DweYBrEc.js";import{_ as N}from"./index-r_E2mS1x.js";import"./index-HOTJnHq_.js";import"./terminal-DwjWtfuz.js";const T={class:"confirm-file-conflict"},U={class:"conflict-title"},I={class:"conflict-title"},z={key:0},E={class:"center-buttons"},G=B({__name:"confirmFileConflict",setup(H){const w=()=>{t.dialog.common=!1,t.goodsInfo.enable=!0};return(e,r)=>{const D=i("el-alert"),c=i("el-table-column"),b=i("el-table"),f=i("el-option"),y=i("el-select"),_=i("el-button"),v=F("blur");return s(),m("div",null,[u("div",T,[n(t).common.disableConflictFile.length?(s(),m(g,{key:0},[u("div",U,d(e.$t("module.File conflict")),1),l(D,{closable:!1,center:!0,title:e.$t("module.Update warning"),class:"alert-warning",type:"warning"},null,8,["title"]),l(b,{data:n(t).common.disableConflictFile,stripe:"",border:"",style:{width:"100%",marginBottom:"20px"}},{default:a(()=>[l(c,{prop:"file",label:e.$t("module.Conflict file")},null,8,["label"])]),_:1},8,["data"])],64)):p("",!0),n(t).common.disableDependConflict.length>0?(s(),m(g,{key:1},[u("div",I,d(e.$t("module.The module declares the added dependencies")),1),l(b,{data:n(t).common.disableDependConflict,stripe:"",border:"",style:{width:"100%"}},{default:a(()=>[l(c,{prop:"env",label:e.$t("module.environment")},{default:a(o=>[o.row.env?(s(),m("span",z,d(e.$t("module.env "+o.row.env)),1)):p("",!0)]),_:1},8,["label"]),l(c,{prop:"dependTitle",label:e.$t("module.Dependencies")},null,8,["label"]),l(c,{prop:"solution",width:"200",label:e.$t("module.Treatment scheme"),align:"center"},{default:a(o=>[l(y,{modelValue:o.row.solution,"onUpdate:modelValue":V=>o.row.solution=V},{default:a(()=>[l(f,{label:e.$t("Delete"),value:"delete"},null,8,["label"]),l(f,{label:e.$t("module.retain"),value:"retain"},null,8,["label"])]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:1},8,["label"])]),_:1},8,["data"])],64)):p("",!0)]),u("div",E,[C((s(),$(_,{class:"center-button",loading:n(t).loading.common,disabled:n(t).loading.common,size:"large",type:"primary",onClick:r[0]||(r[0]=o=>n(k)(!0))},{default:a(()=>[h(d(e.$t("module.Confirm to disable the module")),1)]),_:1},8,["loading","disabled"])),[[v]]),C((s(),$(_,{class:"center-button",size:"large",onClick:r[1]||(r[1]=o=>w())},{default:a(()=>[h(d(e.$t("Cancel")),1)]),_:1})),[[v]])])])}}}),Z=N(G,[["__scopeId","data-v-c638e996"]]);export{Z as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{_ as t}from"./index-r_E2mS1x.js";import{I as e,C as a,D as n,G as s,H as c}from"./vue-DweYBrEc.js";const g="/assets/logo-t5WO8pHa.png",i={},r={class:"theme-toggle-content"},_={class:"switch"},l={class:"switch-action"};function d(p,h){const o=e("Icon");return a(),n("div",r,[s("div",_,[s("div",l,[c(o,{name:"local-dark",color:"#f2f2f2",size:"13px",class:"switch-icon dark-icon"}),c(o,{name:"local-light",color:"#303133",size:"13px",class:"switch-icon light-icon"})])])])}const k=t(i,[["render",d],["__scopeId","data-v-62d134a8"]]);export{k as D,g as _};

View File

@@ -1 +0,0 @@
const e={"You have worked today":"You have worked today: ","Continue to work":"Keep working","have a bit of rest":"Take a break","Member registration":"Member registration","Total number of members":"Total number of members","Number of installed plug-ins":"Number of installed plug-ins","Membership growth":"Membership growth","Annex growth":"Annex Growth","New member":"New Member","Joined us":"Joined us","Member source":"Member source","Member last name":"Member last name",Loading:"Loading",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday",Sunday:"Sunday",Visits:"Visits","Registration volume":"The number of registered users",picture:"picture",file:"file",table:"table",other:"other","Compressed package":"Compressed package",Baidu:"Baidu","Direct access":"Direct access","take a plane":"Take a plane","Take the high-speed railway":"Take the high-speed rail","full name":"Full name",hour:"Hour",minute:"Minute",second:"Second",day:"Day","Number of attachments Uploaded":"Number of attachments upload","Available Bank Balance":"Available Bank Balance","Bank Name":"Bank Name","Current Balance":"Current Balance","Transaction Breakdown":"Transaction Breakdown","Safe Alert":"Safe Alert","Fast Calculation":"Fast Calculation","Calculation placeholder":"e.g. +10+50-20","Fast Calculation Support":"Fast Calculation Support",Transfer:"Transfer","No Alert":"No Alert","No bank data":"No bank data","Show less":"Show less","More info":"More info","Customer Summary":"Customer Summary","Create New Transaction":"Create New Transaction","Edit Transaction":"Edit Transaction #{id}","Webhook enabled":"The Transaction Mode you currently set has the Webhook (JDK) feature enabled","Webhook hint":'Hint: If a transaction approved in the JK backend is not automatically recorded here within 10 minutes, click "Create New Transaction" to record it manually.',"Start Date":"Start Date","End Date":"End Date",Today:"Today","Date of data":"Date of data","Date range":"{start} to {end} ({days} {unit})",Day:"Day",Days:"Days","Total Deposit / IN":"Total Deposit / IN","Total Withdraw / OUT":"Total Withdraw / OUT","Deposit Count":"Deposit Count","Withdraw Count":"Withdraw Count","Active Player":"Active Player","First Deposit Player":"First Deposit Player","Unclaimed Amount":"Unclaimed Amount","Unclaimed Receipt":"Unclaimed Receipt","Created by":"Created by","Created Time":"Created Time",Category:"Category",Username:"Username",Remark:"Remark",Bank:"Bank",Type:"Type","Amount (AUD)":"Amount (AUD)",Label:"Label","Game Ticket":"Game Ticket",Action:"Action",History:"History","Date & Time":"Date & Time",Auto:"Auto",Manual:"Manual",Customer:"Customer","Other Adjust":"Other Adjust",Deposit:"Deposit",Withdraw:"Withdraw","Username placeholder":"e.g. PLAYER001",Optional:"(optional)","Optional select":"- (optional) -","First Deposit":"First Deposit",Unclaim:"Unclaim","Game Ticket Auto":"Game Ticket Auto","Auto generate ticket":"Auto generate ticket","Transaction Edit History":"Transaction Edit History","History retention note":"Transaction edit history is only kept for the most recent 12 months.","No Record":"No Record","Tx ID":"Tx ID","Edit By":"Edit By","Edit Time":"Edit Time",Changes:"Changes (Old → New)","Bank change":"Bank:{before}→{after}","Bank Transfer":"Bank Transfer","Transfer (From)":"Transfer (From)","Transfer (To)":"Transfer (To)","Select Bank":"- Select Bank -",Amount:"Amount","Hourly Alert":"Hourly Alert","Daily Alert":"Daily Alert","Weekly Alert":"Weekly Alert","Monthly Alert":"Monthly Alert","Yearly Alert":"Yearly Alert","Lifetime Alert":"Lifetime Alert"};export{e as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
const e={"You have worked today":"您今天已工作了","Continue to work":"继续工作","have a bit of rest":"休息片刻","Member registration":"会员注册量","Total number of members":"会员总数","Number of installed plug-ins":"已装插件数","Membership growth":"会员增长情况","Annex growth":"附件增长情况","New member":"刚刚加入的会员","Joined us":"加入了我们","Member source":"会员来源","Member last name":"会员姓氏",Loading:"加载中...",Monday:"周一",Tuesday:"周二",Wednesday:"周三",Thursday:"周四",Friday:"周五",Saturday:"周六",Sunday:"周日",Visits:"访问量","Registration volume":"注册量",picture:"图片",file:"文档",table:"表格",other:"其它","Compressed package":"压缩包",Baidu:"百度","Direct access":"直接访问","take a plane":"坐飞机","Take the high-speed railway":"坐高铁","full name":"姓名",hour:"小时",minute:"分",second:"秒",day:"天","Number of attachments Uploaded":"附件上传量","Available Bank Balance":"可用银行余额","Bank Name":"银行名称","Current Balance":"当前余额","Transaction Breakdown":"交易明细","Safe Alert":"安全提醒","Fast Calculation":"快速计算","Calculation placeholder":"e.g. +10+50-20","Fast Calculation Support":"Fast Calculation Support",Transfer:"转账","No Alert":"无提醒","No bank data":"暂无银行数据","Show less":"收起","More info":"查看更多","Customer Summary":"客户汇总","Create New Transaction":"新建交易","Edit Transaction":"编辑交易 #{id}","Webhook enabled":"当前设置的交易模式已启用 WebhookJDK功能","Webhook hint":"提示:如果 JK 后台已批准的交易在 10 分钟内没有自动记录,请点击“新建交易”手动记录。","Start Date":"开始日期","End Date":"结束日期",Today:"今天","Date of data":"数据日期","Date range":"{start} 至 {end}{days} {unit}",Day:"天",Days:"天","Total Deposit / IN":"总存款 / 转入","Total Withdraw / OUT":"总提款 / 转出","Deposit Count":"存款笔数","Withdraw Count":"提款笔数","Active Player":"活跃玩家","First Deposit Player":"首存玩家","Unclaimed Amount":"未认领金额","Unclaimed Receipt":"未认领凭证","Created by":"创建者","Created Time":"创建时间",Category:"分类",Username:"用户名",Remark:"备注",Bank:"银行",Type:"类型","Amount (AUD)":"金额AUD",Label:"标签","Game Ticket":"游戏票据",Action:"操作",History:"历史记录","Date & Time":"日期和时间",Auto:"自动",Manual:"手动",Customer:"客户","Other Adjust":"其他调整",Deposit:"存款",Withdraw:"提款","Username placeholder":"例如 PLAYER001",Optional:"(可选)","Optional select":"- 可选 -","First Deposit":"首次存款",Unclaim:"未认领","Game Ticket Auto":"自动游戏票据","Auto generate ticket":"自动生成票据","Transaction Edit History":"交易编辑历史","History retention note":"交易编辑历史仅保留最近 12 个月。","No Record":"暂无记录","Tx ID":"交易 ID","Edit By":"编辑者","Edit Time":"编辑时间",Changes:"变更内容(旧 → 新)","Bank change":"银行:{before}→{after}","Bank Transfer":"银行转账","Transfer (From)":"转出银行","Transfer (To)":"转入银行","Select Bank":"- 选择银行 -",Amount:"金额","Hourly Alert":"每小时提醒","Daily Alert":"每日提醒","Weekly Alert":"每周提醒","Monthly Alert":"每月提醒","Yearly Alert":"每年提醒","Lifetime Alert":"永久提醒"};export{e as default};

View File

@@ -1 +0,0 @@
const e={"Rule name":"Rule name",controller:"Controller","data sheet":"Data table","Data table primary key":"Data table primary key","Deleting monitoring":"Delete monitoring","The rule name helps to identify deleted data later":"Rule names help to identify deleted data subsequently later.","The data collection mechanism will monitor delete operations under this controller":"The data recycle mechanism will monitor the delete operations under this controller.","Corresponding data sheet":"Corresponding data sheet"};export{e as default};

View File

@@ -1 +0,0 @@
const e={"Rule name":"规则名称",controller:"控制器","data sheet":"数据表","Data table primary key":"数据表主键","Deleting monitoring":"删除监控中","The rule name helps to identify deleted data later":"规则名称有助于后续识别被删数据","The data collection mechanism will monitor delete operations under this controller":"数据回收机制将监控此控制器下的删除操作","Corresponding data sheet":"对应数据表"};export{e as default};

View File

@@ -1 +0,0 @@
const e={restore:"Restore","Are you sure to restore the selected records?":"Are you sure to restore the selected records?","Restore the selected record to the original data table":"Restore the selected record to the original data table.","Operation administrator":"Operation administrator","Recycling rule name":"Recycling rule name","Rule name":"Rule name",controller:"Controller","data sheet":"Data table",DeletedData:"Deleted data","Arbitrary fragment fuzzy query":"Arbitrary fragment fuzzy query","Click to expand":"Click to expand","Data table primary key":"Data table primary key","Operator IP":"Operator IP","Deleted data":"Deleted data","Delete time":"Delete time"};export{e as default};

View File

@@ -1 +0,0 @@
const e={restore:"还原","Are you sure to restore the selected records?":"确定还原选中记录?","Restore the selected record to the original data table":"还原选中记录到原数据表","Operation administrator":"操作管理员","Recycling rule name":"回收规则名称","Rule name":"规则名称",controller:"控制器","data sheet":"数据表",DeletedData:"被删数据","Arbitrary fragment fuzzy query":"任意片段模糊查询","Click to expand":"点击展开","Data table primary key":"数据表主键","Operator IP":"操作者IP","Deleted data":"被删除的数据","Delete time":"删除时间"};export{e as default};

File diff suppressed because one or more lines are too long

View File

@@ -1,41 +0,0 @@
import{x as j,_ as F}from"./index-r_E2mS1x.js";import{B as O,a as H,b as u,o as J,_ as W,D as f,G as a,U as i,u as r,H as d,P as p,Z as k,Y as I,O as $,W as G,I as _,X as P,a0 as R,C as c,V as b,ah as h}from"./vue-DweYBrEc.js";import{d as X,s as Y}from"./embed-DhRtM3gu.js";const Z={class:"default-main domain-status-page"},q={class:"setting-grid"},K={class:"panel setting-panel"},Q={class:"panel-title"},ee={class:"panel-body setting-form"},oe={class:"form-row"},te={class:"form-row textarea-row"},ae={class:"form-row template-row"},le={class:"color-grid"},ne={class:"panel embed-panel"},se={class:"panel-title"},ie={class:"panel-body"},re={class:"panel domain-panel"},de={class:"panel-title"},me={class:"domain-list"},w=`{
"hideDomain": [
"domain1.com",
"domain2.com"
]
}`,ce=O({name:"embed/domainStatus",__name:"domainStatus",setup(ue){const{t:n}=j.useI18n(),x=R(),e=H({headerImage:"",customConfig:"",baseColor:"#1c2130",borderColor:"#2a3147",onlineColor:"#48bb78",offlineColor:"#f56565",titleColor:"#006dff",textColor:"#ffffff",labelColor:"#718096"}),V=[{key:"baseColor",label:"embed.domainStatus.baseColor"},{key:"titleColor",label:"embed.domainStatus.titleColor"},{key:"borderColor",label:"embed.domainStatus.borderColor"},{key:"textColor",label:"embed.domainStatus.textColor"},{key:"onlineColor",label:"embed.domainStatus.onlineColor"},{key:"labelColor",label:"embed.domainStatus.labelColor"},{key:"offlineColor",label:"embed.domainStatus.offlineColor"}],g=u(`<div style="position: relative;max-width: 1000px;margin: 0 auto;overflow: hidden;border: none;">
<iframe id="domainstatusIframe" src="https://1xaud.em7bd7.co/embed/domain-status/domain-status.asp" style="width: 100%;overflow: hidden;border: none;"></iframe>
<script>
(() => {
const merchantId = (typeof _ !== "undefined" && typeof _.getVar === "function") ? (_.getVar("merchantId") ?? "") : "";
if (!merchantId) {
console.log("merchantId not found");
return;
}
function init(iframe) {
iframe.addEventListener('load', function() {
iframe.contentWindow.postMessage({ type: 'setIframeData', clientMerchant: merchantId }, '*');
});
window.addEventListener("message", function(event) {
if (event.data && event.data.type === "setDomainStatusIframeHeight") {
iframe.style.height = event.data.height + "px";
}
}, false);
}
var el = document.getElementById('domainstatusIframe');
if (el) { init(el); return; }
var attempts = 0;
var timer = setInterval(function() {
attempts++;
var el = document.getElementById('domainstatusIframe');
if (el) {
clearInterval(timer);
init(el);
} else if (attempts >= 5) {
clearInterval(timer);
alert("iframe not found");
}
}, 1000);
})();
<\/script>
</div>`),C=u(!1),D=async()=>{let o={};try{if(e.customConfig.trim()){const t=JSON.parse(e.customConfig);if(!t||Array.isArray(t)||typeof t!="object")throw new Error;o=t}}catch{h.error(n("embed.domainStatus.invalidConfig"));return}C.value=!0;try{await Y({header_image_url:e.headerImage,custom_config:o,base_color:e.baseColor,border_color:e.borderColor,online_color:e.onlineColor,offline_color:e.offlineColor,title_color:e.titleColor,text_color:e.textColor,tag_color:e.labelColor}),await S()}finally{C.value=!1}},E=async()=>{try{await navigator.clipboard.writeText(g.value),h.success(n("embed.domainStatus.copied"))}catch{h.error(n("embed.domainStatus.copyFailed"))}},y=u([]),v=u(!1),B=o=>o?typeof o=="string"?o:JSON.stringify(o,null,2):"",L=o=>(Array.isArray(o)?o:typeof o=="string"?o.split(/[\n,;]+/):[]).map(s=>String(typeof s=="object"&&s?s.domain??s.name??"":s)).map(s=>s.trim()).filter(Boolean).map((s,m)=>({id:m+1,name:s})),N=o=>{o&&(e.headerImage=o.header_image_url??"",e.customConfig=B(o.custom_config),e.baseColor=o.base_color??"",e.borderColor=o.border_color??"",e.onlineColor=o.online_color??"",e.offlineColor=o.offline_color??"",e.titleColor=o.title_color??"",e.textColor=o.text_color??"",e.labelColor=o.tag_color??"")},S=async()=>{v.value=!0;try{const o=await X(),t=o.data??o;N(t==null?void 0:t.domain),y.value=L(t==null?void 0:t.domain_list)}finally{v.value=!1}},U=()=>{x.push({name:"routine/config"})};return J(S),(o,t)=>{const s=_("el-input"),m=_("el-button"),z=_("el-color-picker"),T=_("el-empty"),A=P("loading");return W((c(),f("div",Z,[a("section",q,[a("div",K,[a("div",Q,i(r(n)("embed.domainStatus.settingTitle")),1),a("div",ee,[a("div",oe,[a("label",null,i(r(n)("embed.domainStatus.headerImage"))+":",1),d(s,{modelValue:e.headerImage,"onUpdate:modelValue":t[0]||(t[0]=l=>e.headerImage=l),placeholder:"e.g. https://image.png"},null,8,["modelValue"])]),a("div",te,[a("label",null,i(r(n)("embed.domainStatus.customConfig"))+":",1),d(s,{modelValue:e.customConfig,"onUpdate:modelValue":t[1]||(t[1]=l=>e.customConfig=l),type:"textarea",rows:7,placeholder:w,resize:"vertical"},null,8,["modelValue"])]),a("div",ae,[t[4]||(t[4]=a("label",null,null,-1)),d(m,{size:"small",onClick:t[2]||(t[2]=l=>e.customConfig=w)},{default:p(()=>[b(i(r(n)("embed.domainStatus.loadTemplate")),1)]),_:1})]),a("div",le,[(c(),f(k,null,I(V,l=>a("div",{key:l.key,class:"color-item"},[a("label",null,i(r(n)(l.label))+":",1),d(z,{modelValue:e[l.key],"onUpdate:modelValue":M=>e[l.key]=M},null,8,["modelValue","onUpdate:modelValue"]),a("span",null,i(e[l.key]),1)])),64))]),d(m,{type:"success",class:"save-button",loading:C.value,onClick:D},{default:p(()=>[b(i(r(n)("embed.domainStatus.save")),1)]),_:1},8,["loading"])])]),a("div",ne,[a("div",se,i(r(n)("embed.domainStatus.embedCode")),1),a("div",ie,[d(s,{modelValue:g.value,"onUpdate:modelValue":t[3]||(t[3]=l=>g.value=l),type:"textarea",rows:17,readonly:"",resize:"none"},null,8,["modelValue"]),d(m,{class:"copy-button",onClick:E},{default:p(()=>[b(i(r(n)("embed.domainStatus.copyCode")),1)]),_:1})])])]),a("section",re,[a("div",de,i(r(n)("embed.domainStatus.domainList")),1),a("div",me,[(c(!0),f(k,null,I(y.value,l=>(c(),f("div",{key:l.id,class:"domain-row"},[t[5]||(t[5]=a("span",{class:"domain-icon","aria-hidden":"true"},null,-1)),a("span",null,i(l.name),1)]))),128)),y.value.length===0?(c(),$(T,{key:0,description:r(n)("embed.domainStatus.empty"),"image-size":60},null,8,["description"])):G("",!0)])]),d(m,{link:"",type:"primary",class:"edit-link",onClick:U},{default:p(()=>[b(i(r(n)("embed.domainStatus.editDomainList")),1)]),_:1})])),[[A,v.value]])}}}),be=F(ce,[["__scopeId","data-v-6c94bd73"]]);export{be as default};

View File

@@ -1 +0,0 @@
const o={settingTitle:"域名状态设置",embedCode:"嵌入代码",headerImage:"顶部图片 URL",customConfig:"自定义配置",loadTemplate:"载入模板",baseColor:"基础颜色",borderColor:"边框颜色",onlineColor:"在线颜色",offlineColor:"离线颜色",titleColor:"标题颜色",textColor:"文字颜色",labelColor:"标签颜色",save:"保存",copyCode:"复制嵌入代码",saved:"域名状态设置已保存",invalidConfig:"自定义配置不是有效的 JSON",copied:"嵌入代码已复制",copyFailed:"无法复制嵌入代码",domainList:"域名列表",online:"在线",offline:"离线",empty:"暂无域名",editDomainList:"点击这里编辑域名列表",editTitle:"编辑域名列表",addDomain:"添加域名",delete:"删除",cancel:"取消",confirm:"确认",duplicateDomain:"域名不能重复",domainsSaved:"域名列表已保存"};export{o as default};

View File

@@ -1 +0,0 @@
const o={settingTitle:"Domain Status Setting",embedCode:"Embed Code",headerImage:"Header Image URL",customConfig:"Custom Config",loadTemplate:"Load Template",baseColor:"Base Color",borderColor:"Border Color",onlineColor:"Online Color",offlineColor:"Offline Color",titleColor:"Title Color",textColor:"Text Color",labelColor:"Label Color",save:"SAVE",copyCode:"Copy Embed Code",saved:"Domain status settings saved",invalidConfig:"Custom Config contains invalid JSON",copied:"Embed code copied",copyFailed:"Unable to copy the embed code",domainList:"Domain List",online:"ONLINE",offline:"OFFLINE",empty:"No domains",editDomainList:"Click here to edit Domain List",editTitle:"Edit Domain List",addDomain:"Add Domain",delete:"Delete",cancel:"Cancel",confirm:"Confirm",duplicateDomain:"Domain names must be unique",domainsSaved:"Domain list saved"};export{o as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,5 @@
import createAxios from '/@/utils/axios'
export const url = '/admin/Embed/'
export interface GameRtpParams {
provider: string
game_name: string
@@ -9,11 +8,9 @@ export interface GameRtpParams {
export function gameRtp(params: GameRtpParams) {
return createAxios({
url: url + 'gameRtp',
url: '/admin/embed.Embed/gameRtp',
method: 'get',
params: {
provider: 'A1',
},
params,
})
}
@@ -28,7 +25,7 @@ export interface AddGamePayload {
export function addGame(data: AddGamePayload) {
return createAxios(
{
url: '/admin/Embed/addGame',
url: '/admin/embed.Embed/addGame',
method: 'post',
data,
},
@@ -45,7 +42,7 @@ export interface EditGamePayload extends AddGamePayload {
export function editGame(data: EditGamePayload) {
return createAxios(
{
url: '/admin/Embed/editGame',
url: '/admin/embed.Embed/editGame',
method: 'post',
data,
},
@@ -58,7 +55,7 @@ export function editGame(data: EditGamePayload) {
export function del(data: { ids: (number | string)[] }) {
return createAxios(
{
url: '/admin/Embed/del',
url: '/admin/embed.Embed/del',
method: 'post',
data,
},
@@ -86,7 +83,7 @@ export interface SaveGameRtpPayload {
export function saveGameRtp(data: SaveGameRtpPayload) {
return createAxios(
{
url: '/admin/Embed/saveGameRtp',
url: '/admin/embed.Embed/saveGameRtp',
method: 'post',
data,
},
@@ -98,7 +95,7 @@ export function saveGameRtp(data: SaveGameRtpPayload) {
export function domainStatus() {
return createAxios({
url: '/admin/Embed/domainStatus',
url: '/admin/embed.Embed/domainStatus',
method: 'get',
})
}
@@ -118,7 +115,7 @@ export interface SaveDomainPayload {
export function saveDomain(data: SaveDomainPayload) {
return createAxios(
{
url: '/admin/Embed/saveDomain',
url: '/admin/embed.Embed/saveDomain',
method: 'post',
data,
},
@@ -130,7 +127,7 @@ export function saveDomain(data: SaveDomainPayload) {
export function partnership() {
return createAxios({
url: '/admin/Embed/partnership',
url: '/admin/embed.Embed/partnership',
method: 'get',
})
}
@@ -150,7 +147,7 @@ export interface SavePartnershipSetPayload {
export function savePartnershipSet(data: SavePartnershipSetPayload) {
return createAxios(
{
url: '/admin/Embed/savePartnershipSet',
url: '/admin/embed.Embed/savePartnershipSet',
method: 'post',
data,
},