Files
yakpanel-core/YakPanel/static/vite/js/CalcVerify-legacy-BbIFaSDS.js

2 lines
1.3 KiB
JavaScript
Raw Normal View History

2026-04-07 02:04:22 +05:30
System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,a){"use strict";var n,t,l,r,o,i,c,u,s,d,v,p,m;return{setters:[e=>{n=e.m,t=e.c},e=>{l=e.k,r=e.R,o=e.r,i=e.$,c=e.Z,u=e._,s=e.aa,d=e.S,v=e.a0,p=e.X},e=>{m=e._}],execute:function(){var a=document.createElement("style");a.textContent=".calc-verify-box[data-v-366c5492]{margin-left:12px;margin-right:12px;margin-top:24px;height:40px;display:flex;align-items:center;padding-left:48px;font-size:14px;background-color:var(--site-confirm-calc-box-bg)}\n/*$vite$:1*/",document.head.appendChild(a);const x={class:"calc-verify-box"},g={class:"mx-12px"},f={class:"w-80px ml-12px"};e("C",t(l({__name:"CalcVerify",setup(e,{expose:a}){const{t:t}=r(),l=o(0),h=o(0),y=o(null);return l.value=Math.round(9*Math.random()+1),h.value=Math.round(9*Math.random()+1),a({validate:()=>new Promise(((e,a)=>{y.value!==l.value+h.value&&(n.error(t("Component.Confirm.index_5")),a()),e(!0)}))}),(e,a)=>{const n=m;return i(),c("div",x,[u("div",null,s(e.$t("Component.Confirm.index_4")),1),u("div",g,s(d(l))+" + "+s(d(h)),1),a[1]||(a[1]=u("div",null,"=",-1)),u("div",f,[v(n,{value:d(y),"onUpdate:value":a[0]||(a[0]=e=>p(y)?y.value=e:null),"show-button":!1,placeholder:""},null,8,["value"])])])}}}),[["__scopeId","data-v-366c5492"]]))}}}));