index-legacy.DP4Wh1y3.js 5.4 KB

1234
  1. /*!
  2. Build based on gin-vue-admin
  3. Time : 1757946830000 */
  4. !function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t)||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(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(e,o,u,i){var a=o&&o.prototype instanceof l?o:l,f=Object.create(a.prototype);return r(f,"_invoke",function(e,r,o){var u,i,a,l=0,f=o||[],s=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(n,e){return u=n,i=0,a=t,d.n=e,c}};function p(e,r){for(i=e,a=r,n=0;!s&&l&&!o&&n<f.length;n++){var o,u=f[n],p=d.p,m=u[2];e>3?(o=m===r)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=t):u[0]<=p&&((o=e<2&&p<u[1])?(i=0,d.v=r,d.n=u[1]):p<m&&(o=e<3||u[0]>r||r>m)&&(u[4]=e,u[5]=r,d.n=m,i=0))}if(o||e>1)return c;throw s=!0,r}return function(o,f,m){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,m),i=f,a=m;(n=i<2?t:a)||!s;){u||(i?i<3?(i>1&&(d.n=-1),p(i,a)):d.n=a:d.v=a);try{if(l=2,u){if(i||(o="next"),n=u[o]){if(!(n=n.call(u,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,i<2&&(i=0)}else 1===i&&(n=u.return)&&n.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=t}else if((n=(s=d.n<0)?a:e.call(r,d))!==c)break}catch(n){u=t,i=1,a=n}finally{l=1}}return{value:n,done:s}}}(e,u,i),!0),f}var c={};function l(){}function f(){}function s(){}n=Object.getPrototypeOf;var d=[][u]?n(n([][u]())):(r(n={},u,function(){return this}),n),p=s.prototype=l.prototype=Object.create(d);function m(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,r(t,i,"GeneratorFunction")),t.prototype=Object.create(p),t}return f.prototype=s,r(p,"constructor",s),r(s,"constructor",f),f.displayName="GeneratorFunction",r(s,i,"GeneratorFunction"),r(p),r(p,i,"Generator"),r(p,u,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:m}})()}function r(t,n,e,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}r=function(t,n,e,o){function i(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?u?u(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(i("next",0),i("throw",1),i("return",2))},r(t,n,e,o)}function o(t,n,e,r,o,u,i){try{var a=t[u](i),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,o)}function u(t){return function(){var n=this,e=arguments;return new Promise(function(r,u){var i=t.apply(n,e);function a(t){o(i,r,u,a,c,"next",t)}function c(t){o(i,r,u,a,c,"throw",t)}a(void 0)})}}System.register(["./warningBar-legacy.CM-jno-M.js","./index-legacy.C7yqTvSr.js"],function(n,r){"use strict";var o,i,a,c,l,f,s,d,p,m,y,b;return{setters:[function(t){o=t._},function(t){i=t.s,a=t.a,c=t.r,l=t.g,f=t.c,s=t.o,d=t.f,p=t.b,m=t.w,y=t.h,b=t.E}],execute:function(){var r=function(t){return i({url:"/email/emailTest",method:"post",data:t})},v={class:"gva-form-box"};n("default",Object.assign({name:"Email"},{__name:"index",setup:function(n){var i=a(null),h=c({to:"",subject:"",body:""}),g=function(){var t=u(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r();case 1:0===t.v.code&&b.success("发送成功");case 2:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),j=function(){var t=u(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r();case 1:0===t.v.code&&b.success("发送成功,请查收");case 2:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}();return function(n,e){var r=l("el-input"),u=l("el-form-item"),a=l("el-button"),c=l("el-form");return s(),f("div",null,[d(o,{title:"需要提前配置email配置文件,为防止不必要的垃圾邮件,在线体验功能不开放此功能体验。"}),p("div",v,[d(c,{ref_key:"emailForm",ref:i,"label-position":"right","label-width":"80px",model:h},{default:m(function(){return[d(u,{label:"目标邮箱"},{default:m(function(){return[d(r,{modelValue:h.to,"onUpdate:modelValue":e[0]||(e[0]=function(t){return h.to=t})},null,8,["modelValue"])]}),_:1}),d(u,{label:"邮件"},{default:m(function(){return[d(r,{modelValue:h.subject,"onUpdate:modelValue":e[1]||(e[1]=function(t){return h.subject=t})},null,8,["modelValue"])]}),_:1}),d(u,{label:"邮件内容"},{default:m(function(){return[d(r,{modelValue:h.body,"onUpdate:modelValue":e[2]||(e[2]=function(t){return h.body=t}),type:"textarea"},null,8,["modelValue"])]}),_:1}),d(u,null,{default:m(function(){return[d(a,{onClick:g},{default:m(function(){return t(e[3]||(e[3]=[y("发送测试邮件",-1)]))}),_:1}),d(a,{onClick:j},{default:m(function(){return t(e[4]||(e[4]=[y("发送邮件",-1)]))}),_:1})]}),_:1})]}),_:1},8,["model"])])])}}}))}}})}();