芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/cloud.pulsehost.co.uk/adminpanel/js/6160.299bc0d8.js
"use strict";(globalThis["webpackChunkadmin_panel_vue_webclient"]=globalThis["webpackChunkadmin_panel_vue_webclient"]||[]).push([[6160],{9985:(i,t,o)=>{o.d(t,{Z:()=>n});const n={SMTPSecure:{noSecure:"",ssl:"ssl",tls:"tls"}}},6160:(i,t,o)=>{o.r(t),o.d(t,{default:()=>e});var n=o(2934);const e={moduleName:"StandardResetPassword",requiredModules:[],init(i){n.Z.init(i)},getAdminSystemTabs(){return[{tabName:"reset-password",tabTitle:"STANDARDRESETPASSWORD.LABEL_SETTINGS_TAB",tabRouteChildren:[{path:"reset-password",component:()=>Promise.all([o.e(4736),o.e(2447)]).then(o.bind(o,2447))}]}]}}},2934:(i,t,o)=>{o.d(t,{Z:()=>f});var n=o(4409),e=o.n(n),a=o(4089),s=o(9985);class c{constructor(i){const t=a.Z.pObject(i.StandardResetPassword);e().isEmpty(t)||(this.recoveryLinkLifetimeMinutes=a.Z.pInt(t.RecoveryLinkLifetimeMinutes),this.notificationEmail=a.Z.pString(t.NotificationEmail),this.notificationType=a.Z.pString(t.NotificationType),this.notificationHost=a.Z.pString(t.NotificationHost),this.notificationPort=a.Z.pInt(t.NotificationPort),this.notificationSMTPSecure=a.Z.pEnum(t.NotificationSMTPSecure,s.Z.SMTPSecure,s.Z.SMTPSecure.noSecure),this.notificationUseAuth=a.Z.pBool(t.NotificationUseAuth),this.notificationLogin=a.Z.pString(t.NotificationLogin),this.hasNotificationPassword=a.Z.pBool(t.HasNotificationPassword))}saveStandardResetPasswordSettings({notificationEmail:i,notificationType:t,notificationHost:o,notificationPort:n,notificationSMTPSecure:e,notificationUseAuth:a,notificationLogin:s,hasNotificationPassword:c,recoveryLinkLifetimeMinutes:r}){this.recoveryLinkLifetimeMinutes=r,this.notificationEmail=i,this.notificationType=t,"smtp"===t&&(this.notificationHost=o,this.notificationPort=n,this.notificationSMTPSecure=e,this.notificationUseAuth=a,this.notificationLogin=s,this.hasNotificationPassword=c)}}let r=null;const f={init(i){r=new c(i)},getStandardResetPasswordSettings(){return{notificationEmail:r.notificationEmail,notificationType:r.notificationType,notificationHost:r.notificationHost,notificationPort:r.notificationPort,notificationSMTPSecure:r.notificationSMTPSecure,notificationUseAuth:r.notificationUseAuth,notificationLogin:r.notificationLogin,hasNotificationPassword:r.hasNotificationPassword,recoveryLinkLifetimeMinutes:r.recoveryLinkLifetimeMinutes}},saveStandardResetPasswordSettings(i){r.saveStandardResetPasswordSettings(i)}}}}]);