Rebuild assets

This commit is contained in:
Bubka 2025-06-18 09:27:22 +02:00
parent 243a44d516
commit 24c0500686
91 changed files with 314 additions and 302 deletions

View File

@ -1 +1 @@
import{u as C,h as B,k as m,p as A,l as u,m as c,j as e,e as s,t as o,n as r,f as p,d as F,i as _,g as n,U as w,L as y}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const L={class:"title has-text-grey-dark"},v={class:"block"},I={key:0},$={class:"title is-5 has-text-grey-light"},S={class:"buttons"},V={class:"icon is-small"},N={class:"icon is-small"},T={class:"icon is-small"},z={class:"icon is-small"},E={class:"title is-5 has-text-grey-light"},M={__name:"About",setup(D){const d=y("2fauth"),h=C(),f=A().options.history.state.back;return(a,t)=>{const i=u("FontAwesomeIcon"),b=u("ButtonBackCloseCancel"),k=u("VueFooter"),g=u("ResponsiveWidthWrapper");return c(),B(g,null,{default:m(()=>[e(p(w),null,{default:m(({mode:l})=>[s("h1",L,o(a.$t("commons.about")),1),s("p",v,[s("span",{class:r(l=="dark"?"has-text-white":"has-text-black")},[t[0]||(t[0]=s("span",{class:"is-size-5"},"2FAuth",-1)),p(h).isAuthenticated?(c(),F("span",I," v"+o(p(d).version),1)):_("",!0)],2),t[1]||(t[1]=s("br",null,null,-1)),n(" "+o(a.$t("commons.2fauth_teaser")),1)]),t[13]||(t[13]=s("img",{class:"about-logo",src:"logo.svg",alt:"2FAuth logo"},null,-1)),t[14]||(t[14]=s("p",{class:"block"},[n(" ©Bubka "),s("a",{class:"is-size-7",href:"https://github.com/Bubka/2FAuth/blob/master/LICENSE"},"AGPL-3.0 license")],-1)),s("h2",$,o(a.$t("commons.resources")),1),s("div",S,[s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://github.com/Bubka/2FAuth",target:"_blank"},[s("span",V,[e(i,{icon:["fab","github-alt"]})]),t[2]||(t[2]=s("span",null,"Github",-1))],2),s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://docs.2fauth.app/",target:"_blank"},[s("span",N,[e(i,{icon:["fas","book"]})]),t[3]||(t[3]=s("span",null,"Docs",-1))],2),s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://demo.2fauth.app/",target:"_blank"},[s("span",T,[e(i,{icon:["fas","flask"]})]),t[4]||(t[4]=s("span",null,"Demo",-1))],2),s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://docs.2fauth.app/resources/rapidoc.html",target:"_blank"},[s("span",z,[e(i,{icon:["fas","code"]})]),t[5]||(t[5]=s("span",null,"API",-1))],2)]),s("h2",E,o(a.$t("commons.credits")),1),s("ul",null,[s("li",null,[n(o(a.$t("commons.made_with"))+" ",1),t[6]||(t[6]=s("a",{href:"https://docs.2fauth.app/credits/"},"Laravel, Bulma CSS, Vue.js and more",-1))]),s("li",null,[n(o(a.$t("commons.ui_icons_by"))+" ",1),t[7]||(t[7]=s("a",{href:"https://fontawesome.com/"},"Font Awesome",-1)),t[8]||(t[8]=n(" ")),t[9]||(t[9]=s("a",{class:"is-size-7",href:"https://fontawesome.com/license/free"},"(CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)",-1))]),s("li",null,[n(o(a.$t("commons.logos_by"))+" ",1),t[10]||(t[10]=s("a",{href:"https://2fa.directory/"},"2FA Directory",-1)),t[11]||(t[11]=n(" ")),t[12]||(t[12]=s("a",{class:"is-size-7",href:"https://github.com/2factorauth/twofactorauth/blob/master/LICENSE.md"},"(MIT License)",-1))])]),e(k,{showButtons:!0},{default:m(()=>[e(b,{returnTo:{path:p(f)},action:"back"},null,8,["returnTo"])]),_:1})]),_:1})]),_:1})}}};export{M as default};
import{u as C,h as B,k as m,p as A,l as u,m as c,j as e,e as s,t as o,n as r,f as p,d as F,i as _,g as n,U as w,L as y}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const L={class:"title has-text-grey-dark"},v={class:"block"},I={key:0},$={class:"title is-5 has-text-grey-light"},S={class:"buttons"},V={class:"icon is-small"},N={class:"icon is-small"},T={class:"icon is-small"},z={class:"icon is-small"},E={class:"title is-5 has-text-grey-light"},M={__name:"About",setup(D){const d=y("2fauth"),h=C(),f=A().options.history.state.back;return(a,t)=>{const i=u("FontAwesomeIcon"),b=u("ButtonBackCloseCancel"),k=u("VueFooter"),g=u("ResponsiveWidthWrapper");return c(),B(g,null,{default:m(()=>[e(p(w),null,{default:m(({mode:l})=>[s("h1",L,o(a.$t("commons.about")),1),s("p",v,[s("span",{class:r(l=="dark"?"has-text-white":"has-text-black")},[t[0]||(t[0]=s("span",{class:"is-size-5"},"2FAuth",-1)),p(h).isAuthenticated?(c(),F("span",I," v"+o(p(d).version),1)):_("",!0)],2),t[1]||(t[1]=s("br",null,null,-1)),n(" "+o(a.$t("commons.2fauth_teaser")),1)]),t[13]||(t[13]=s("img",{class:"about-logo",src:"logo.svg",alt:"2FAuth logo"},null,-1)),t[14]||(t[14]=s("p",{class:"block"},[n(" ©Bubka "),s("a",{class:"is-size-7",href:"https://github.com/Bubka/2FAuth/blob/master/LICENSE"},"AGPL-3.0 license")],-1)),s("h2",$,o(a.$t("commons.resources")),1),s("div",S,[s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://github.com/Bubka/2FAuth",target:"_blank"},[s("span",V,[e(i,{icon:["fab","github-alt"]})]),t[2]||(t[2]=s("span",null,"Github",-1))],2),s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://docs.2fauth.app/",target:"_blank"},[s("span",N,[e(i,{icon:["fas","book"]})]),t[3]||(t[3]=s("span",null,"Docs",-1))],2),s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://demo.2fauth.app/",target:"_blank"},[s("span",T,[e(i,{icon:["fas","flask"]})]),t[4]||(t[4]=s("span",null,"Demo",-1))],2),s("a",{class:r(["button",{"is-dark":l=="dark"}]),href:"https://docs.2fauth.app/resources/rapidoc.html",target:"_blank"},[s("span",z,[e(i,{icon:["fas","code"]})]),t[5]||(t[5]=s("span",null,"API",-1))],2)]),s("h2",E,o(a.$t("commons.credits")),1),s("ul",null,[s("li",null,[n(o(a.$t("commons.made_with"))+" ",1),t[6]||(t[6]=s("a",{href:"https://docs.2fauth.app/credits/"},"Laravel, Bulma CSS, Vue.js and more",-1))]),s("li",null,[n(o(a.$t("commons.ui_icons_by"))+" ",1),t[7]||(t[7]=s("a",{href:"https://fontawesome.com/"},"Font Awesome",-1)),t[8]||(t[8]=n(" ")),t[9]||(t[9]=s("a",{class:"is-size-7",href:"https://fontawesome.com/license/free"},"(CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)",-1))]),s("li",null,[n(o(a.$t("commons.logos_by"))+" ",1),t[10]||(t[10]=s("a",{href:"https://2fa.directory/"},"2FA Directory",-1)),t[11]||(t[11]=n(" ")),t[12]||(t[12]=s("a",{class:"is-size-7",href:"https://github.com/2factorauth/twofactorauth/blob/master/LICENSE.md"},"(MIT License)",-1))])]),e(k,{showButtons:!0},{default:m(()=>[e(b,{returnTo:{path:p(f)},action:"back"},null,8,["returnTo"])]),_:1})]),_:1})]),_:1})}}};export{M as default};

View File

@ -1 +1 @@
import{_}from"./AccessLogViewer-MtGhjv0z.js";import{o as f,r as h,I as B,h as I,k as u,l as o,m as g,e as c,t as r,f as k,j as t,p as v}from"./app-CHfzlEYn.js";import{u as C}from"./bus-CkBASysr.js";import"./SearchBox-DvMvL2WF.js";import"./Spinner-DsqWo4iz.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const b={class:"title has-text-grey-dark"},y={class:"block is-size-7-mobile"},T={__name:"Access",props:{userId:[Number,String]},setup(i){const l=C();v(),f(async()=>{m()});const e=i,a=h(l.username??"");function m(){B.getById(e.userId,{returnError:!0}).then(s=>{a.value=s.data.info.name})}return(s,S)=>{const n=o("ButtonBackCloseCancel"),d=o("VueFooter"),p=o("ResponsiveWidthWrapper");return g(),I(p,null,{default:u(()=>[c("h1",b,r(s.$t("titles.admin.logs.access")),1),c("div",y,r(s.$t("admin.access_log_legend_for_user",{username:k(a)}))+" (#"+r(e.userId)+") ",1),t(_,{userId:e.userId,lastOnly:!1,showSearch:!0,period:1},null,8,["userId"]),t(d,{showButtons:!0},{default:u(()=>[t(n,{returnTo:{name:"admin.manageUser",params:{userId:e.userId}},action:"back"},null,8,["returnTo"]),t(n,{returnTo:{name:"accounts"},action:"close"})]),_:1})]),_:1})}}};export{T as default};
import{_}from"./AccessLogViewer-Cz8X2wgi.js";import{o as f,r as h,I as B,h as I,k as u,l as o,m as g,e as c,t as r,f as k,j as t,p as v}from"./app-C-TXXRMB.js";import{u as C}from"./bus-Dw6NpmB-.js";import"./SearchBox-CVEgsETw.js";import"./Spinner-BT_p7WbT.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const b={class:"title has-text-grey-dark"},y={class:"block is-size-7-mobile"},T={__name:"Access",props:{userId:[Number,String]},setup(i){const l=C();v(),f(async()=>{m()});const e=i,a=h(l.username??"");function m(){B.getById(e.userId,{returnError:!0}).then(s=>{a.value=s.data.info.name})}return(s,S)=>{const n=o("ButtonBackCloseCancel"),d=o("VueFooter"),p=o("ResponsiveWidthWrapper");return g(),I(p,null,{default:u(()=>[c("h1",b,r(s.$t("titles.admin.logs.access")),1),c("div",y,r(s.$t("admin.access_log_legend_for_user",{username:k(a)}))+" (#"+r(e.userId)+") ",1),t(_,{userId:e.userId,lastOnly:!1,showSearch:!0,period:1},null,8,["userId"]),t(d,{showButtons:!0},{default:u(()=>[t(n,{returnTo:{name:"admin.manageUser",params:{userId:e.userId}},action:"back"},null,8,["returnTo"]),t(n,{returnTo:{name:"accounts"},action:"close"})]),_:1})]),_:1})}}};export{T 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

View File

@ -1 +1 @@
import{r as u,l as t,m as a,d as s,j as n,k as i,e as o,F as _,D as v,f as h,n as f,g as k,t as w}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const T={class:"options-header"},b={class:"tabs is-centered is-fullwidth"},W={__name:"AdminTabs",props:{activeTab:{type:String,default:""}},setup(r){const d=u([{name:"admin.app_setup",view:"admin.appSetup",id:"lnkTabApp"},{name:"admin.auth",view:"admin.auth",id:"lnkTabAuth"},{name:"admin.users",view:"admin.users",id:"lnkTabUsers"}]),p=r;return(l,g)=>{const c=t("RouterLink"),m=t("ResponsiveWidthWrapper");return a(),s("div",T,[n(m,null,{default:i(()=>[o("div",b,[o("ul",null,[(a(!0),s(_,null,v(h(d),e=>(a(),s("li",{key:e.view,class:f({"is-active":e.view===p.activeTab})},[n(c,{id:e.id,to:{name:e.view}},{default:i(()=>[k(w(l.$t(e.name)),1)]),_:2},1032,["id","to"])],2))),128))])])]),_:1})])}}};export{W as _};
import{r as u,l as t,m as a,d as s,j as n,k as i,e as o,F as _,D as v,f as h,n as f,g as k,t as w}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const T={class:"options-header"},b={class:"tabs is-centered is-fullwidth"},W={__name:"AdminTabs",props:{activeTab:{type:String,default:""}},setup(r){const d=u([{name:"admin.app_setup",view:"admin.appSetup",id:"lnkTabApp"},{name:"admin.auth",view:"admin.auth",id:"lnkTabAuth"},{name:"admin.users",view:"admin.users",id:"lnkTabUsers"}]),p=r;return(l,g)=>{const c=t("RouterLink"),m=t("ResponsiveWidthWrapper");return a(),s("div",T,[n(m,null,{default:i(()=>[o("div",b,[o("ul",null,[(a(!0),s(_,null,v(h(d),e=>(a(),s("li",{key:e.view,class:f({"is-active":e.view===p.activeTab})},[n(c,{id:e.id,to:{name:e.view}},{default:i(()=>[k(w(l.$t(e.name)),1)]),_:2},1032,["id","to"])],2))),128))])])]),_:1})])}}};export{W as _};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as y}from"./AdminTabs-CkgljzOj.js";import{a as h,a7 as k,a8 as D,r as E,a0 as C,o as F,d as N,j as i,e as u,k as f,L as v,l as n,m as B,t as g,f as s,aa as L,H as U}from"./app-CHfzlEYn.js";import{u as r}from"./appSettingsUpdater-RCNNzfpg.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const x={class:"options-tabs"},I={class:"title is-4 pt-4 has-text-grey-light"},O={class:"title is-4 pt-4 has-text-grey-light"},W={__name:"Auth",setup(T){const V=v("2fauth"),m=h(),l=k(),c=D(V.prefix+"returnTo","accounts"),d=E({restrictList:null,restrictRule:null});async function p(a,e){if(d.value[a]=null,e=="")L.delete(a,{returnError:!0}).then(o=>{l[a]="",m.success({type:"is-success",text:U("settings.forms.setting_saved")})}).catch(o=>{o.response.status!==404&&m.error(o)});else{const{error:o}=await r(a,e,!0);o&&(d.value[a]=o.response.data.message)}}return C(a=>{a.name.startsWith("admin.")||m.clear()}),F(async()=>{await l.fetch()}),(a,e)=>{const o=n("FormCheckbox"),b=n("FormField"),R=n("FormWrapper"),S=n("ButtonBackCloseCancel"),_=n("VueFooter");return B(),N("div",null,[i(y,{activeTab:"admin.auth"}),u("div",x,[i(R,null,{default:f(()=>[u("form",null,[u("h4",I,g(a.$t("admin.single_sign_on")),1),i(o,{modelValue:s(l).enableSso,"onUpdate:modelValue":[e[0]||(e[0]=t=>s(l).enableSso=t),e[1]||(e[1]=t=>s(r)("enableSso",t))],fieldName:"enableSso",label:"admin.forms.enable_sso.label",help:"admin.forms.enable_sso.help"},null,8,["modelValue"]),i(o,{modelValue:s(l).useSsoOnly,"onUpdate:modelValue":[e[2]||(e[2]=t=>s(l).useSsoOnly=t),e[3]||(e[3]=t=>s(r)("useSsoOnly",t))],fieldName:"useSsoOnly",label:"admin.forms.use_sso_only.label",help:"admin.forms.use_sso_only.help",isDisabled:!s(l).enableSso,isIndented:!0},null,8,["modelValue","isDisabled"]),u("h4",O,g(a.$t("admin.registrations")),1),i(o,{modelValue:s(l).restrictRegistration,"onUpdate:modelValue":[e[4]||(e[4]=t=>s(l).restrictRegistration=t),e[5]||(e[5]=t=>s(r)("restrictRegistration",t))],fieldName:"restrictRegistration",isDisabled:s(l).disableRegistration,label:"admin.forms.restrict_registration.label",help:"admin.forms.restrict_registration.help"},null,8,["modelValue","isDisabled"]),i(b,{modelValue:s(l).restrictList,"onUpdate:modelValue":e[6]||(e[6]=t=>s(l).restrictList=t),"onChange:modelValue":e[7]||(e[7]=t=>p("restrictList",t)),fieldError:s(d).restrictList,fieldName:"restrictList",isDisabled:!s(l).restrictRegistration||s(l).disableRegistration,label:"admin.forms.restrict_list.label",help:"admin.forms.restrict_list.help",isIndented:!0},null,8,["modelValue","fieldError","isDisabled"]),i(b,{modelValue:s(l).restrictRule,"onUpdate:modelValue":e[8]||(e[8]=t=>s(l).restrictRule=t),"onChange:modelValue":e[9]||(e[9]=t=>p("restrictRule",t)),fieldError:s(d).restrictRule,fieldName:"restrictRule",isDisabled:!s(l).restrictRegistration||s(l).disableRegistration,label:"admin.forms.restrict_rule.label",help:"admin.forms.restrict_rule.help",isIndented:!0,leftIcon:"slash",rightIcon:"slash"},null,8,["modelValue","fieldError","isDisabled"]),i(o,{modelValue:s(l).disableRegistration,"onUpdate:modelValue":[e[10]||(e[10]=t=>s(l).disableRegistration=t),e[11]||(e[11]=t=>s(r)("disableRegistration",t))],fieldName:"disableRegistration",label:"admin.forms.disable_registration.label",help:"admin.forms.disable_registration.help"},null,8,["modelValue"]),i(o,{modelValue:s(l).keepSsoRegistrationEnabled,"onUpdate:modelValue":[e[12]||(e[12]=t=>s(l).keepSsoRegistrationEnabled=t),e[13]||(e[13]=t=>s(r)("keepSsoRegistrationEnabled",t))],fieldName:"keepSsoRegistrationEnabled",isDisabled:!s(l).enableSso||!s(l).disableRegistration,label:"admin.forms.keep_sso_registration_enabled.label",help:"admin.forms.keep_sso_registration_enabled.help",isIndented:!0},null,8,["modelValue","isDisabled"])])]),_:1})]),i(_,{showButtons:!0},{default:f(()=>[i(S,{returnTo:{name:s(c)},action:"close"},null,8,["returnTo"])]),_:1})])}}};export{W as default};

1
public/build/assets/Auth-CdHBvSiC.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as c}from"./AdminTabs-CC7yX8RP.js";import{a as h,a7 as D,a8 as k,r as E,a6 as N,o as w,d as C,j as a,e as m,k as f,L as F,l as n,m as O,t as g,f as s,aa as v,H as B}from"./app-C-TXXRMB.js";import{u as r}from"./appSettingsUpdater-CWmdsYaU.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const U={class:"options-tabs"},L={class:"title is-4 pt-4 has-text-grey-light"},x={class:"title is-4 pt-4 has-text-grey-light"},$={__name:"Auth",setup(I){const V=F("2fauth"),u=h(),t=D(),S=k(V.prefix+"returnTo","accounts"),d=E({restrictList:null,restrictRule:null});async function p(i,e){if(d.value[i]=null,e=="")v.delete(i,{returnError:!0}).then(o=>{t[i]="",u.success({type:"is-success",text:B("settings.forms.setting_saved")})}).catch(o=>{o.response.status!==404&&u.error(o)});else{const{error:o}=await r(i,e,!0);o&&(d.value[i]=o.response.data.message)}}return N(i=>{i.name.startsWith("admin.")||u.clear()}),w(async()=>{await t.fetch()}),(i,e)=>{const o=n("FormCheckbox"),b=n("FormField"),_=n("FormWrapper"),R=n("ButtonBackCloseCancel"),y=n("VueFooter");return O(),C("div",null,[a(c,{activeTab:"admin.auth"}),m("div",U,[a(_,null,{default:f(()=>[m("form",null,[m("h4",L,g(i.$t("admin.single_sign_on")),1),a(o,{modelValue:s(t).enableSso,"onUpdate:modelValue":[e[0]||(e[0]=l=>s(t).enableSso=l),e[1]||(e[1]=l=>s(r)("enableSso",l))],fieldName:"enableSso",label:"admin.forms.enable_sso.label",help:"admin.forms.enable_sso.help"},null,8,["modelValue"]),a(o,{modelValue:s(t).useSsoOnly,"onUpdate:modelValue":[e[2]||(e[2]=l=>s(t).useSsoOnly=l),e[3]||(e[3]=l=>s(r)("useSsoOnly",l))],fieldName:"useSsoOnly",label:"admin.forms.use_sso_only.label",help:"admin.forms.use_sso_only.help",isDisabled:!s(t).enableSso,isIndented:!0},null,8,["modelValue","isDisabled"]),a(o,{modelValue:s(t).allowPatWhileSsoOnly,"onUpdate:modelValue":[e[4]||(e[4]=l=>s(t).allowPatWhileSsoOnly=l),e[5]||(e[5]=l=>s(r)("allowPatWhileSsoOnly",l))],fieldName:"allowPatWhileSsoOnly",label:"admin.forms.allow_pat_in_sso_only.label",help:"admin.forms.allow_pat_in_sso_only.help",isDisabled:!s(t).useSsoOnly,isIndented:!0},null,8,["modelValue","isDisabled"]),m("h4",x,g(i.$t("admin.registrations")),1),a(o,{modelValue:s(t).restrictRegistration,"onUpdate:modelValue":[e[6]||(e[6]=l=>s(t).restrictRegistration=l),e[7]||(e[7]=l=>s(r)("restrictRegistration",l))],fieldName:"restrictRegistration",isDisabled:s(t).disableRegistration,label:"admin.forms.restrict_registration.label",help:"admin.forms.restrict_registration.help"},null,8,["modelValue","isDisabled"]),a(b,{modelValue:s(t).restrictList,"onUpdate:modelValue":e[8]||(e[8]=l=>s(t).restrictList=l),"onChange:modelValue":e[9]||(e[9]=l=>p("restrictList",l)),fieldError:s(d).restrictList,fieldName:"restrictList",isDisabled:!s(t).restrictRegistration||s(t).disableRegistration,label:"admin.forms.restrict_list.label",help:"admin.forms.restrict_list.help",isIndented:!0},null,8,["modelValue","fieldError","isDisabled"]),a(b,{modelValue:s(t).restrictRule,"onUpdate:modelValue":e[10]||(e[10]=l=>s(t).restrictRule=l),"onChange:modelValue":e[11]||(e[11]=l=>p("restrictRule",l)),fieldError:s(d).restrictRule,fieldName:"restrictRule",isDisabled:!s(t).restrictRegistration||s(t).disableRegistration,label:"admin.forms.restrict_rule.label",help:"admin.forms.restrict_rule.help",isIndented:!0,leftIcon:"slash",rightIcon:"slash"},null,8,["modelValue","fieldError","isDisabled"]),a(o,{modelValue:s(t).disableRegistration,"onUpdate:modelValue":[e[12]||(e[12]=l=>s(t).disableRegistration=l),e[13]||(e[13]=l=>s(r)("disableRegistration",l))],fieldName:"disableRegistration",label:"admin.forms.disable_registration.label",help:"admin.forms.disable_registration.help"},null,8,["modelValue"]),a(o,{modelValue:s(t).keepSsoRegistrationEnabled,"onUpdate:modelValue":[e[14]||(e[14]=l=>s(t).keepSsoRegistrationEnabled=l),e[15]||(e[15]=l=>s(r)("keepSsoRegistrationEnabled",l))],fieldName:"keepSsoRegistrationEnabled",isDisabled:!s(t).enableSso||!s(t).disableRegistration,label:"admin.forms.keep_sso_registration_enabled.label",help:"admin.forms.keep_sso_registration_enabled.help",isIndented:!0},null,8,["modelValue","isDisabled"])])]),_:1})]),a(y,{showButtons:!0},{default:f(()=>[a(R,{returnTo:{name:s(S)},action:"close"},null,8,["returnTo"])]),_:1})])}}};export{$ as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{a as p,R as r,l,m,d as u,j as _,G as d,H as b}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const y=["aria-label","title"],C={__name:"CopyButton",props:{token:String},setup(e){const s=p(),{copy:n}=r({legacy:!0}),c=e;function a(){n(c.token),s.success({text:b("commons.copied_to_clipboard")})}return(o,t)=>{const i=l("FontAwesomeIcon");return m(),u("button",{type:"button","aria-label":o.$t("commons.copy_to_clipboard"),title:o.$t("commons.copy_to_clipboard"),class:"button is-like-text is-pulled-right is-small is-text",onClick:t[0]||(t[0]=d(f=>a(),["stop"]))},[_(i,{icon:["fas","copy"]})],8,y)}}};export{C as _};
import{a as p,R as r,l,m,d as u,j as _,G as d,H as b}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const y=["aria-label","title"],C={__name:"CopyButton",props:{token:String},setup(e){const s=p(),{copy:n}=r({legacy:!0}),c=e;function a(){n(c.token),s.success({text:b("commons.copied_to_clipboard")})}return(o,t)=>{const i=l("FontAwesomeIcon");return m(),u("button",{type:"button","aria-label":o.$t("commons.copy_to_clipboard"),title:o.$t("commons.copy_to_clipboard"),class:"button is-like-text is-pulled-right is-small is-text",onClick:t[0]||(t[0]=d(f=>a(),["stop"]))},[_(i,{icon:["fas","copy"]})],8,y)}}};export{C as _};

View File

@ -1 +1 @@
import{a as _,c as F,d as V,j as r,k as b,l as n,m as y,e as x,f as o,G as B,p as g,H as C}from"./app-CHfzlEYn.js";import{F as E}from"./Form-CHRdNHWn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const k={__name:"Create",setup(N){const m=_(),l=g(),e=F(new E({name:"",email:"",password:"",password_confirmation:"",is_admin:!1}));async function i(d){e.password_confirmation=e.password,e.post("/api/v1/users").then(a=>{const t=a.data;m.success({text:C("admin.user_created")}),l.push({name:"admin.manageUser",params:{userId:t.info.id}})})}return(d,a)=>{const t=n("FormField"),u=n("FormPasswordField"),p=n("FormCheckbox"),f=n("FormButtons"),c=n("FormWrapper"),w=n("VueFooter");return y(),V("div",null,[r(c,{title:"admin.new_user"},{default:b(()=>[x("form",{onSubmit:B(i,["prevent"]),onKeydown:a[4]||(a[4]=s=>o(e).onKeydown(s))},[r(t,{modelValue:o(e).name,"onUpdate:modelValue":a[0]||(a[0]=s=>o(e).name=s),fieldName:"name",fieldError:o(e).errors.get("name"),inputType:"text",label:"auth.forms.name",autocomplete:"username",maxLength:255,autofocus:""},null,8,["modelValue","fieldError"]),r(t,{modelValue:o(e).email,"onUpdate:modelValue":a[1]||(a[1]=s=>o(e).email=s),fieldName:"email",fieldError:o(e).errors.get("email"),inputType:"email",label:"auth.forms.email",autocomplete:"email",maxLength:255},null,8,["modelValue","fieldError"]),r(u,{modelValue:o(e).password,"onUpdate:modelValue":a[2]||(a[2]=s=>o(e).password=s),fieldName:"password",fieldError:o(e).errors.get("password"),showRules:!0,label:"auth.forms.password",autocomplete:"new-password"},null,8,["modelValue","fieldError"]),r(p,{modelValue:o(e).is_admin,"onUpdate:modelValue":a[3]||(a[3]=s=>o(e).is_admin=s),fieldName:"is_admin",label:"admin.forms.is_admin.label",help:"admin.forms.is_admin.help"},null,8,["modelValue"]),r(f,{isBusy:o(e).isBusy,isDisabled:o(e).isDisabled,showCancelButton:!0,cancelLandingView:"admin.users",caption:"commons.create",submitId:"btnCreateUser"},null,8,["isBusy","isDisabled"])],32)]),_:1}),r(w)])}}};export{k as default};
import{a as _,c as F,d as V,j as r,k as b,l as n,m as y,e as x,f as o,G as B,p as g,H as C}from"./app-C-TXXRMB.js";import{F as E}from"./Form-DA3Xo5om.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const k={__name:"Create",setup(N){const m=_(),l=g(),e=F(new E({name:"",email:"",password:"",password_confirmation:"",is_admin:!1}));async function i(d){e.password_confirmation=e.password,e.post("/api/v1/users").then(a=>{const t=a.data;m.success({text:C("admin.user_created")}),l.push({name:"admin.manageUser",params:{userId:t.info.id}})})}return(d,a)=>{const t=n("FormField"),u=n("FormPasswordField"),p=n("FormCheckbox"),f=n("FormButtons"),c=n("FormWrapper"),w=n("VueFooter");return y(),V("div",null,[r(c,{title:"admin.new_user"},{default:b(()=>[x("form",{onSubmit:B(i,["prevent"]),onKeydown:a[4]||(a[4]=s=>o(e).onKeydown(s))},[r(t,{modelValue:o(e).name,"onUpdate:modelValue":a[0]||(a[0]=s=>o(e).name=s),fieldName:"name",fieldError:o(e).errors.get("name"),inputType:"text",label:"auth.forms.name",autocomplete:"username",maxLength:255,autofocus:""},null,8,["modelValue","fieldError"]),r(t,{modelValue:o(e).email,"onUpdate:modelValue":a[1]||(a[1]=s=>o(e).email=s),fieldName:"email",fieldError:o(e).errors.get("email"),inputType:"email",label:"auth.forms.email",autocomplete:"email",maxLength:255},null,8,["modelValue","fieldError"]),r(u,{modelValue:o(e).password,"onUpdate:modelValue":a[2]||(a[2]=s=>o(e).password=s),fieldName:"password",fieldError:o(e).errors.get("password"),showRules:!0,label:"auth.forms.password",autocomplete:"new-password"},null,8,["modelValue","fieldError"]),r(p,{modelValue:o(e).is_admin,"onUpdate:modelValue":a[3]||(a[3]=s=>o(e).is_admin=s),fieldName:"is_admin",label:"admin.forms.is_admin.label",help:"admin.forms.is_admin.help"},null,8,["modelValue"]),r(f,{isBusy:o(e).isBusy,isDisabled:o(e).isDisabled,showCancelButton:!0,cancelLandingView:"admin.users",caption:"commons.create",submitId:"btnCreateUser"},null,8,["isBusy","isDisabled"])],32)]),_:1}),r(w)])}}};export{k 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 +1 @@
import{S as v,x as w,c as _,$ as h,K as y,h as N,k as E,f as t,_ as I,l as m,m as S,e as V,j as i,G as C,p as $}from"./app-CHfzlEYn.js";import{F as k}from"./Form-CHRdNHWn.js";import{u as K}from"./bus-CkBASysr.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const U={__name:"CreateUpdate",props:{groupId:[Number,String]},setup(c){const p=v(),d=$(),l=I(),s=K(),a=c,r=w(()=>a.groupId!=null),o=_(new k({name:""}));h(()=>{l.name=="editGroup"&&(s.editedGroupName?(o.name=s.editedGroupName,s.editedGroupName=void 0):y.get(a.groupId).then(e=>{o.name=e.data.name}))});function f(){r.value?B():g()}async function g(){o.post("/api/v1/groups").then(e=>{p.addOrEdit(e.data),d.push({name:"groups"})})}async function B(){o.put("/api/v1/groups/"+a.groupId).then(e=>{p.addOrEdit(e.data),d.push({name:"groups"})})}return(e,n)=>{const F=m("FormField"),G=m("FormButtons"),b=m("FormWrapper");return S(),N(b,{title:t(r)?e.$t("groups.forms.rename_group"):e.$t("groups.forms.new_group")},{default:E(()=>[V("form",{onSubmit:C(f,["prevent"]),onKeydown:n[1]||(n[1]=u=>t(o).onKeydown(u))},[i(F,{modelValue:t(o).name,"onUpdate:modelValue":n[0]||(n[0]=u=>t(o).name=u),fieldName:"name",fieldError:t(o).errors.get("name"),label:"commons.name",autofocus:""},null,8,["modelValue","fieldError"]),i(G,{submitId:t(r)?"btnEditGroup":"btnCreateGroup",isBusy:t(o).isBusy,caption:t(r)?e.$t("commons.save"):e.$t("commons.create"),showCancelButton:!0,cancelLandingView:"groups"},null,8,["submitId","isBusy","caption"])],32)]),_:1},8,["title"])}}};export{U as default};
import{S as v,x as w,c as _,$ as h,K as y,h as N,k as E,f as t,_ as I,l as m,m as S,e as V,j as i,G as C,p as $}from"./app-C-TXXRMB.js";import{F as k}from"./Form-DA3Xo5om.js";import{u as K}from"./bus-Dw6NpmB-.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const U={__name:"CreateUpdate",props:{groupId:[Number,String]},setup(c){const p=v(),d=$(),l=I(),s=K(),a=c,r=w(()=>a.groupId!=null),o=_(new k({name:""}));h(()=>{l.name=="editGroup"&&(s.editedGroupName?(o.name=s.editedGroupName,s.editedGroupName=void 0):y.get(a.groupId).then(e=>{o.name=e.data.name}))});function f(){r.value?B():g()}async function g(){o.post("/api/v1/groups").then(e=>{p.addOrEdit(e.data),d.push({name:"groups"})})}async function B(){o.put("/api/v1/groups/"+a.groupId).then(e=>{p.addOrEdit(e.data),d.push({name:"groups"})})}return(e,n)=>{const F=m("FormField"),G=m("FormButtons"),b=m("FormWrapper");return S(),N(b,{title:t(r)?e.$t("groups.forms.rename_group"):e.$t("groups.forms.new_group")},{default:E(()=>[V("form",{onSubmit:C(f,["prevent"]),onKeydown:n[1]||(n[1]=u=>t(o).onKeydown(u))},[i(F,{modelValue:t(o).name,"onUpdate:modelValue":n[0]||(n[0]=u=>t(o).name=u),fieldName:"name",fieldError:t(o).errors.get("name"),label:"commons.name",autofocus:""},null,8,["modelValue","fieldError"]),i(G,{submitId:t(r)?"btnEditGroup":"btnCreateGroup",isBusy:t(o).isBusy,caption:t(r)?e.$t("commons.save"):e.$t("commons.create"),showCancelButton:!0,cancelLandingView:"groups"},null,8,["submitId","isBusy","caption"])],32)]),_:1},8,["title"])}}};export{U as default};

View File

@ -1 +1 @@
import{a as h,c as _,H as s,h as y,k as b,l as a,m as F,e as v,j as r,f as t,G as B,p as g}from"./app-CHfzlEYn.js";import{F as V}from"./Form-CHRdNHWn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const E={__name:"Edit",props:{credentialId:{type:String,default:""}},setup(i){const u=g(),m=h(),e=_(new V({name:s("auth.webauthn.my_device")})),c=i;function d(){e.patch("/webauthn/credentials/"+c.credentialId+"/name").then(()=>{m.success({text:s("auth.webauthn.device_successfully_registered")}),u.push({name:"settings.webauthn.devices"})})}return(l,n)=>{const p=a("FormField"),f=a("FormButtons"),w=a("FormWrapper");return F(),y(w,{title:"auth.webauthn.rename_device"},{default:b(()=>[v("form",{onSubmit:B(d,["prevent"]),onKeydown:n[1]||(n[1]=o=>t(e).onKeydown(o))},[r(p,{modelValue:t(e).name,"onUpdate:modelValue":n[0]||(n[0]=o=>t(e).name=o),fieldName:"name",fieldError:t(e).errors.get("name"),inputType:"text",label:"commons.new_name",autofocus:""},null,8,["modelValue","fieldError"]),r(f,{submitId:"btnEditCredential",isBusy:t(e).isBusy,caption:l.$t("commons.save"),showCancelButton:!0,cancelLandingView:"settings.webauthn.devices"},null,8,["isBusy","caption"])],32)]),_:1})}}};export{E as default};
import{a as h,c as _,H as s,h as y,k as b,l as a,m as F,e as v,j as r,f as t,G as B,p as g}from"./app-C-TXXRMB.js";import{F as V}from"./Form-DA3Xo5om.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const E={__name:"Edit",props:{credentialId:{type:String,default:""}},setup(i){const u=g(),m=h(),e=_(new V({name:s("auth.webauthn.my_device")})),c=i;function d(){e.patch("/webauthn/credentials/"+c.credentialId+"/name").then(()=>{m.success({text:s("auth.webauthn.device_successfully_registered")}),u.push({name:"settings.webauthn.devices"})})}return(l,n)=>{const p=a("FormField"),f=a("FormButtons"),w=a("FormWrapper");return F(),y(w,{title:"auth.webauthn.rename_device"},{default:b(()=>[v("form",{onSubmit:B(d,["prevent"]),onKeydown:n[1]||(n[1]=o=>t(e).onKeydown(o))},[r(p,{modelValue:t(e).name,"onUpdate:modelValue":n[0]||(n[0]=o=>t(e).name=o),fieldName:"name",fieldError:t(e).errors.get("name"),inputType:"text",label:"commons.new_name",autofocus:""},null,8,["modelValue","fieldError"]),r(f,{submitId:"btnEditCredential",isBusy:t(e).isBusy,caption:l.$t("commons.save"),showCancelButton:!0,cancelLandingView:"settings.webauthn.devices"},null,8,["isBusy","caption"])],32)]),_:1})}}};export{E as default};

View File

@ -1 +1 @@
import{a as h,r as b,x as k,s as V,o as w,H as v,d as t,j as N,k as x,f as s,C as B,_ as C,l as M,m as a,e as n,t as u,i,g as $,p as q}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const R={key:0,class:"error-message"},D={key:1,class:"error-message"},E={key:0,class:"has-text-grey-lighter"},F={key:1,class:"has-text-grey-lighter"},H={key:2,class:"is-size-7 is-family-code"},j={__name:"Error",props:{closable:{type:Boolean,default:!0}},setup(c){const o=h(),m=q(),l=C(),d=b(!0),p=k(()=>!1),g=c;V(d,r=>{r==!1&&f()}),w(()=>{l.query.err&&(o.message=v("errors."+l.query.err))});function f(){window.history.length>1&&l.name!=="404"&&l.name!=="notFound"&&!l.query.err?m.go(-1):m.push({name:"accounts"})}return(r,e)=>{const y=M("modal");return a(),t("div",null,[N(y,{modelValue:s(d),"onUpdate:modelValue":e[0]||(e[0]=_=>B(d)?d.value=_:null),closable:g.closable},{default:x(()=>[r.$route.name=="404"||r.$route.name=="notFound"?(a(),t("div",R,[e[1]||(e[1]=n("p",{class:"error-404"},null,-1)),n("p",null,u(r.$t("errors.resource_not_found")),1)])):(a(),t("div",D,[e[3]||(e[3]=n("p",{class:"error-generic"},null,-1)),n("p",null,u(r.$t("errors.error_occured")),1),s(o).message?(a(),t("p",E,u(s(o).message),1)):i("",!0),s(o).originalMessage?(a(),t("p",F,u(s(o).originalMessage),1)):i("",!0),s(p)&&s(o).debug?(a(),t("p",H,[e[2]||(e[2]=n("br",null,null,-1)),$(u(s(o).debug),1)])):i("",!0)]))]),_:1},8,["modelValue","closable"])])}}};export{j as default};
import{a as h,r as b,x as k,s as V,o as w,H as v,d as t,j as N,k as x,f as s,C as B,_ as C,l as M,m as a,e as n,t as u,i,g as $,p as q}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const R={key:0,class:"error-message"},D={key:1,class:"error-message"},E={key:0,class:"has-text-grey-lighter"},F={key:1,class:"has-text-grey-lighter"},H={key:2,class:"is-size-7 is-family-code"},j={__name:"Error",props:{closable:{type:Boolean,default:!0}},setup(c){const o=h(),m=q(),l=C(),d=b(!0),p=k(()=>!1),g=c;V(d,r=>{r==!1&&f()}),w(()=>{l.query.err&&(o.message=v("errors."+l.query.err))});function f(){window.history.length>1&&l.name!=="404"&&l.name!=="notFound"&&!l.query.err?m.go(-1):m.push({name:"accounts"})}return(r,e)=>{const y=M("modal");return a(),t("div",null,[N(y,{modelValue:s(d),"onUpdate:modelValue":e[0]||(e[0]=_=>B(d)?d.value=_:null),closable:g.closable},{default:x(()=>[r.$route.name=="404"||r.$route.name=="notFound"?(a(),t("div",R,[e[1]||(e[1]=n("p",{class:"error-404"},null,-1)),n("p",null,u(r.$t("errors.resource_not_found")),1)])):(a(),t("div",D,[e[3]||(e[3]=n("p",{class:"error-generic"},null,-1)),n("p",null,u(r.$t("errors.error_occured")),1),s(o).message?(a(),t("p",E,u(s(o).message),1)):i("",!0),s(o).originalMessage?(a(),t("p",F,u(s(o).originalMessage),1)):i("",!0),s(p)&&s(o).debug?(a(),t("p",H,[e[2]||(e[2]=n("br",null,null,-1)),$(u(s(o).debug),1)])):i("",!0)]))]),_:1},8,["modelValue","closable"])])}}};export{j as default};

View File

@ -1 +1 @@
import{a1 as l}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */class f{constructor(){this.errors={}}set(t,s){typeof t=="object"?this.errors=t:this.set({...this.errors,[t]:c(s)})}all(){return this.errors}has(t){return this.errors.hasOwnProperty(t)}hasAny(...t){return t.some(s=>this.has(s))}any(){return Object.keys(this.errors).length>0}get(t){if(this.has(t))return this.getAll(t)[0]}getAll(t){return c(this.errors[t]||[])}only(...t){const s=[];return t.forEach(r=>{const e=this.get(r);e&&s.push(e)}),s}flatten(){return Object.values(this.errors).reduce((t,s)=>t.concat(s),[])}clear(t){const s={};t&&Object.keys(this.errors).forEach(r=>{r!==t&&(s[r]=this.errors[r])}),this.set(s)}}function c(o){return Array.isArray(o)?o:[o]}class i{constructor(t={}){this.axios=l("web"),this.isBusy=!1,this.isDisabled=!1,this.errors=new f,this.originalData=this.deepCopy(t),Object.assign(this,t)}fill(t){this.keys().forEach(s=>{this[s]=t[s]})}setOriginal(){Object.keys(this).filter(t=>!i.ignore.includes(t)).forEach(t=>{this.originalData[t]=this.deepCopy(this[t])})}hasChanged(){return this.keys().some(t=>this[t]!==this.originalData[t])}fillWithKeyValueObject(t){this.keys().forEach(s=>{const r=t.find(e=>e.key===s.toString());r!=null&&(this[s]=r.value)})}data(){return this.keys().reduce((t,s)=>({...t,[s]:this[s]}),{})}keys(){return Object.keys(this).filter(t=>!i.ignore.includes(t))}startProcessing(){this.errors.clear(),this.isBusy=!0}finishProcessing(){this.isBusy=!1}clear(){this.errors.clear()}reset(){Object.keys(this).filter(t=>!i.ignore.includes(t)).forEach(t=>{this[t]=this.deepCopy(this.originalData[t])})}get(t,s={}){return this.submit("get",t,s)}post(t,s={}){return this.submit("post",t,s)}patch(t,s={}){return this.submit("patch",t,s)}put(t,s={}){return this.submit("put",t,s)}delete(t,s={}){return this.submit("delete",t,s)}submit(t,s,r={}){this.startProcessing();const e=t==="get"?{params:this.data()}:this.data();return new Promise((a,u)=>{this.axios.request({url:this.route(s),method:t,data:e,...r}).then(h=>{this.finishProcessing(),a(h)}).catch(h=>{var n;this.isBusy=!1,h.response&&this.errors.set(this.extractErrors(h.response)),((n=h.response)==null?void 0:n.status)!=422&&u(h)})})}upload(t,s={}){return this.startProcessing(),new Promise((r,e)=>{this.axios.post(this.route(t),this.data(),{headers:{"Content-Type":"multipart/form-data"},...s}).then(a=>{this.finishProcessing(),r(a)}).catch(a=>{this.isBusy=!1,a.response&&this.errors.set(this.extractErrors(a.response)),e(a)})})}extractErrors(t){return!t.data||typeof t.data!="object"?{error:i.errorMessage}:t.data.errors?{...t.data.errors}:t.data.message?{error:t.data.message}:{...t.data}}route(t,s={}){let r=t;return i.routes.hasOwnProperty(t)&&(r=decodeURI(i.routes[t])),typeof s!="object"&&(s={id:s}),Object.keys(s).forEach(e=>{r=r.replace(`{${e}}`,s[e])}),r}onKeydown(t){t.target.name&&this.errors.clear(t.target.name)}deepCopy(t){if(t===null||typeof t!="object")return t;const s=Array.isArray(t)?[]:{};return Object.keys(t).forEach(r=>{s[r]=this.deepCopy(t[r])}),s}}i.routes={};i.errorMessage="Something went wrong. Please try again.";i.ignore=["isBusy","isDisabled","errors","originalData","axios"];export{i as F};
import{a0 as l}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */class f{constructor(){this.errors={}}set(t,s){typeof t=="object"?this.errors=t:this.set({...this.errors,[t]:c(s)})}all(){return this.errors}has(t){return this.errors.hasOwnProperty(t)}hasAny(...t){return t.some(s=>this.has(s))}any(){return Object.keys(this.errors).length>0}get(t){if(this.has(t))return this.getAll(t)[0]}getAll(t){return c(this.errors[t]||[])}only(...t){const s=[];return t.forEach(r=>{const e=this.get(r);e&&s.push(e)}),s}flatten(){return Object.values(this.errors).reduce((t,s)=>t.concat(s),[])}clear(t){const s={};t&&Object.keys(this.errors).forEach(r=>{r!==t&&(s[r]=this.errors[r])}),this.set(s)}}function c(o){return Array.isArray(o)?o:[o]}class i{constructor(t={}){this.axios=l("web"),this.isBusy=!1,this.isDisabled=!1,this.errors=new f,this.originalData=this.deepCopy(t),Object.assign(this,t)}fill(t){this.keys().forEach(s=>{this[s]=t[s]})}setOriginal(){Object.keys(this).filter(t=>!i.ignore.includes(t)).forEach(t=>{this.originalData[t]=this.deepCopy(this[t])})}hasChanged(){return this.keys().some(t=>this[t]!==this.originalData[t])}fillWithKeyValueObject(t){this.keys().forEach(s=>{const r=t.find(e=>e.key===s.toString());r!=null&&(this[s]=r.value)})}data(){return this.keys().reduce((t,s)=>({...t,[s]:this[s]}),{})}keys(){return Object.keys(this).filter(t=>!i.ignore.includes(t))}startProcessing(){this.errors.clear(),this.isBusy=!0}finishProcessing(){this.isBusy=!1}clear(){this.errors.clear()}reset(){Object.keys(this).filter(t=>!i.ignore.includes(t)).forEach(t=>{this[t]=this.deepCopy(this.originalData[t])})}get(t,s={}){return this.submit("get",t,s)}post(t,s={}){return this.submit("post",t,s)}patch(t,s={}){return this.submit("patch",t,s)}put(t,s={}){return this.submit("put",t,s)}delete(t,s={}){return this.submit("delete",t,s)}submit(t,s,r={}){this.startProcessing();const e=t==="get"?{params:this.data()}:this.data();return new Promise((a,u)=>{this.axios.request({url:this.route(s),method:t,data:e,...r}).then(h=>{this.finishProcessing(),a(h)}).catch(h=>{var n;this.isBusy=!1,h.response&&this.errors.set(this.extractErrors(h.response)),((n=h.response)==null?void 0:n.status)!=422&&u(h)})})}upload(t,s={}){return this.startProcessing(),new Promise((r,e)=>{this.axios.post(this.route(t),this.data(),{headers:{"Content-Type":"multipart/form-data"},...s}).then(a=>{this.finishProcessing(),r(a)}).catch(a=>{this.isBusy=!1,a.response&&this.errors.set(this.extractErrors(a.response)),e(a)})})}extractErrors(t){return!t.data||typeof t.data!="object"?{error:i.errorMessage}:t.data.errors?{...t.data.errors}:t.data.message?{error:t.data.message}:{...t.data}}route(t,s={}){let r=t;return i.routes.hasOwnProperty(t)&&(r=decodeURI(i.routes[t])),typeof s!="object"&&(s={id:s}),Object.keys(s).forEach(e=>{r=r.replace(`{${e}}`,s[e])}),r}onKeydown(t){t.target.name&&this.errors.clear(t.target.name)}deepCopy(t){if(t===null||typeof t!="object")return t;const s=Array.isArray(t)?[]:{};return Object.keys(t).forEach(r=>{s[r]=this.deepCopy(t[r])}),s}}i.routes={};i.errorMessage="Something went wrong. Please try again.";i.ignore=["isBusy","isDisabled","errors","originalData","axios"];export{i as F};

View File

@ -1 +1 @@
import{S as C,r as $,o as b,a0 as w,h as z,k as c,l,m as u,e as o,t as a,j as s,g as _,f as i,d as p,F,D as G,n as R,U as V,i as h,p as N}from"./app-CHfzlEYn.js";import{u as E}from"./bus-CkBASysr.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const I={class:"title has-text-grey-dark"},L={class:"is-size-7-mobile"},W={class:"mt-3 mb-6"},A={key:0},S=["onClick","title"],T={class:"is-family-primary is-size-6 is-size-7-mobile has-text-grey"},x={class:"mt-2 is-size-7 is-pulled-right"},D={key:1,class:"has-text-centered"},M={class:"is-size-4"},J={__name:"Groups",setup(U){N();const t=C(),f=E(),m=$(!1);return b(async()=>{m.value=t.isEmpty,await t.fetch().finally(()=>{m.value=!1})}),w((e,g)=>{var n;e.name=="editGroup"&&(f.editedGroupName=(n=t.items.find(d=>d.id==e.params.groupId))==null?void 0:n.name)}),(e,g)=>{const n=l("FontAwesomeIcon"),d=l("RouterLink"),k=l("ButtonBackCloseCancel"),y=l("VueFooter"),v=l("ResponsiveWidthWrapper");return u(),z(v,null,{default:c(()=>[o("h1",I,a(e.$t("groups.groups")),1),o("div",L,a(e.$t("groups.manage_groups_legend")),1),o("div",W,[s(d,{class:"is-link mt-5",to:{name:"createGroup"}},{default:c(()=>[s(n,{icon:["fas","plus-circle"]}),_(" "+a(e.$t("groups.create_group")),1)]),_:1})]),i(t).isEmpty?h("",!0):(u(),p("div",A,[(u(!0),p(F,null,G(i(t).withoutTheAllGroup,r=>(u(),p("div",{key:r.id,class:"group-item is-size-5 is-size-6-mobile"},[_(a(r.name)+" ",1),s(i(V),null,{default:c(({mode:B})=>[o("button",{type:"button",class:R(["button tag is-pulled-right",B=="dark"?"is-dark":"is-white"]),onClick:j=>i(t).delete(r.id),title:e.$t("commons.delete")},a(e.$t("commons.delete")),11,S)]),_:2},1024),s(d,{to:{name:"editGroup",params:{groupId:r.id}},class:"has-text-grey px-1",title:e.$t("commons.rename")},{default:c(()=>[s(n,{icon:["fas","pen-square"]})]),_:2},1032,["to","title"]),o("span",T,a(e.$t("groups.x_accounts",{count:r.twofaccounts_count})),1)]))),128)),o("div",x,a(e.$t("groups.deleting_group_does_not_delete_accounts")),1)])),i(m)&&i(t).isEmpty?(u(),p("div",D,[o("span",M,[s(n,{icon:["fas","spinner"],spin:""})])])):h("",!0),s(y,{showButtons:!0},{default:c(()=>[s(k,{returnTo:{name:"accounts"},action:"close"})]),_:1})]),_:1})}}};export{J as default};
import{S as C,r as $,o as b,a6 as w,h as z,k as c,l,m as u,e as o,t as a,j as s,g as _,f as i,d as p,F,D as G,n as R,U as V,i as h,p as N}from"./app-C-TXXRMB.js";import{u as E}from"./bus-Dw6NpmB-.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const I={class:"title has-text-grey-dark"},L={class:"is-size-7-mobile"},W={class:"mt-3 mb-6"},A={key:0},S=["onClick","title"],T={class:"is-family-primary is-size-6 is-size-7-mobile has-text-grey"},x={class:"mt-2 is-size-7 is-pulled-right"},D={key:1,class:"has-text-centered"},M={class:"is-size-4"},J={__name:"Groups",setup(U){N();const t=C(),f=E(),m=$(!1);return b(async()=>{m.value=t.isEmpty,await t.fetch().finally(()=>{m.value=!1})}),w((e,g)=>{var n;e.name=="editGroup"&&(f.editedGroupName=(n=t.items.find(d=>d.id==e.params.groupId))==null?void 0:n.name)}),(e,g)=>{const n=l("FontAwesomeIcon"),d=l("RouterLink"),k=l("ButtonBackCloseCancel"),y=l("VueFooter"),v=l("ResponsiveWidthWrapper");return u(),z(v,null,{default:c(()=>[o("h1",I,a(e.$t("groups.groups")),1),o("div",L,a(e.$t("groups.manage_groups_legend")),1),o("div",W,[s(d,{class:"is-link mt-5",to:{name:"createGroup"}},{default:c(()=>[s(n,{icon:["fas","plus-circle"]}),_(" "+a(e.$t("groups.create_group")),1)]),_:1})]),i(t).isEmpty?h("",!0):(u(),p("div",A,[(u(!0),p(F,null,G(i(t).withoutTheAllGroup,r=>(u(),p("div",{key:r.id,class:"group-item is-size-5 is-size-6-mobile"},[_(a(r.name)+" ",1),s(i(V),null,{default:c(({mode:B})=>[o("button",{type:"button",class:R(["button tag is-pulled-right",B=="dark"?"is-dark":"is-white"]),onClick:j=>i(t).delete(r.id),title:e.$t("commons.delete")},a(e.$t("commons.delete")),11,S)]),_:2},1024),s(d,{to:{name:"editGroup",params:{groupId:r.id}},class:"has-text-grey px-1",title:e.$t("commons.rename")},{default:c(()=>[s(n,{icon:["fas","pen-square"]})]),_:2},1032,["to","title"]),o("span",T,a(e.$t("groups.x_accounts",{count:r.twofaccounts_count})),1)]))),128)),o("div",x,a(e.$t("groups.deleting_group_does_not_delete_accounts")),1)])),i(m)&&i(t).isEmpty?(u(),p("div",D,[o("span",M,[s(n,{icon:["fas","spinner"],spin:""})])])):h("",!0),s(y,{showButtons:!0},{default:c(()=>[s(k,{returnTo:{name:"accounts"},action:"close"})]),_:1})]),_:1})}}};export{J 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

1
public/build/assets/OAuth-DFyf_y6G.js vendored Normal file
View File

@ -0,0 +1 @@
import{a7 as G,a as R,u as q,a8 as J,R as Q,r as h,x as X,o as Y,c as Z,I as x,a6 as ee,d as r,j as a,e as o,k as _,f as s,i as d,L as se,l as m,m as i,t as n,w as te,g,F as oe,D as ne,h as ae,U as ie,n as z,G as L,H as y}from"./app-C-TXXRMB.js";import{F as le}from"./Form-DA3Xo5om.js";import{_ as re}from"./SettingTabs-BysT6mJ4.js";import{S as ce}from"./Spinner-BT_p7WbT.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const ue={class:"options-tabs"},de={key:0,class:"notification is-warning has-text-centered"},_e=["innerHTML"],me={class:"title is-4 has-text-grey-light"},pe={class:"is-size-7-mobile"},he={class:"mt-3"},fe={key:2},ve={class:"tags is-pulled-right"},ke=["onClick"],ge=["onClick","title"],ye={key:1,class:"is-size-7-mobile is-size-6 my-3"},be={key:2,class:"pat is-family-monospace is-size-6 is-size-7-mobile has-text-success"},Te={class:"mt-2 is-size-7 is-pulled-right"},we={key:0,class:"is-overlay modal-otp modal-background"},Ce={class:"main-section"},Fe={class:"field is-grouped"},$e={class:"control"},Ve={class:"control"},Le={__name:"OAuth",setup(Se){const b=G(),P=se("2fauth"),p=R(),T=q(),E=J(P.prefix+"returnTo","accounts"),{copy:M}=Q({legacy:!0}),c=h([]),w=h(!1),f=h(!1),v=h(null),C=h(null),F=X(()=>b.enableSso&&b.useSsoOnly&&!b.allowPatWhileSsoOnly||T.authenticated_by_proxy);Y(()=>{$()});const u=Z(new le({name:""}));function $(){w.value=!0,x.getPersonalAccessTokens({returnError:!0}).then(e=>{c.value=[],e.data.forEach(l=>{l.id===C.value?(l.value=v.value,c.value.unshift(l)):c.value.push(l)})}).catch(e=>{e.response.status===403||p.error(e)}).finally(()=>{w.value=!1,C.value=null,v.value=null})}function V(){K(),F.value?p.warn({text:y("errors.unsupported_with_reverseproxy")}):f.value=!0}function N(){u.post("/oauth/personal-access-tokens").then(e=>{v.value=e.data.accessToken,C.value=e.data.token.id,$(),f.value=!1,u.reset()})}function I(e){confirm(y("settings.confirm.revoke"))&&x.deletePersonalAccessToken(e).then(l=>{c.value=c.value.filter(k=>k.id!==e),p.success({text:y("settings.token_revoked")})})}function K(){c.value.forEach(e=>{e.value=null}),v.value=null}function O(e){M(e),p.success({text:y("commons.copied_to_clipboard")})}function U(){f.value=!1,u.reset()}return ee(e=>{e.name.startsWith("settings.")||p.clear()}),(e,l)=>{const k=m("FontAwesomeIcon"),W=m("ButtonBackCloseCancel"),D=m("VueFooter"),S=m("FormWrapper"),H=m("FormField"),B=m("VueButton");return i(),r("div",null,[a(re,{activeTab:"settings.oauth.tokens"}),o("div",ue,[a(S,null,{default:_(()=>[s(F)&&s(T).oauth_provider?(i(),r("div",de,n(e.$t("auth.sso_only_x_settings_are_disabled",{auth_method:"OAuth"})),1)):d("",!0),s(F)&&s(T).authenticated_by_proxy?(i(),r("div",{key:1,class:"notification is-warning has-text-centered",innerHTML:e.$t("auth.auth_handled_by_proxy")},null,8,_e)):d("",!0),o("h4",me,n(e.$t("settings.personal_access_tokens")),1),o("div",pe,n(e.$t("settings.token_legend")),1),o("div",he,[o("a",{tabindex:"0",class:"is-link",onClick:V,onKeyup:te(V,["enter"])},[a(k,{icon:["fas","plus-circle"]}),g(" "+n(e.$t("settings.generate_new_token")),1)],32)]),s(c).length>0?(i(),r("div",fe,[(i(!0),r(oe,null,ne(s(c),t=>(i(),r("div",{key:t.id,class:"group-item is-size-5 is-size-6-mobile"},[t.value?(i(),ae(k,{key:0,class:"has-text-success",icon:["fas","check"]})):d("",!0),g(" "+n(t.name)+" ",1),o("div",ve,[a(s(ie),null,{default:_(({mode:A})=>[t.value?(i(),r("button",{key:0,type:"button",class:z(["button tag",{"is-link":A!="dark"}]),onClick:L(j=>O(t.value),["stop"])},n(e.$t("commons.copy")),11,ke)):d("",!0),o("button",{type:"button",class:z(["button tag",A==="dark"?"is-dark":"is-white"]),onClick:j=>I(t.id),title:e.$t("settings.revoke")},n(e.$t("settings.revoke")),11,ge)]),_:2},1024)]),t.value?(i(),r("span",ye,n(e.$t("settings.make_sure_copy_token")),1)):d("",!0),t.value?(i(),r("span",be,n(t.value),1)):d("",!0)]))),128)),o("div",Te,n(e.$t("settings.revoking_a_token_is_permanent")),1)])):d("",!0),a(ce,{isVisible:s(w)&&s(c).length===0},null,8,["isVisible"]),a(D,{showButtons:!0},{default:_(()=>[a(W,{returnTo:{name:s(E)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})]),s(f)?(i(),r("div",we,[o("main",Ce,[a(S,{title:"settings.forms.new_token"},{default:_(()=>[o("form",{onSubmit:L(N,["prevent"]),onKeydown:l[1]||(l[1]=t=>s(u).onKeydown(t))},[a(H,{modelValue:s(u).name,"onUpdate:modelValue":l[0]||(l[0]=t=>s(u).name=t),fieldName:"name",fieldError:s(u).errors.get("name"),inputType:"text",label:"commons.name",autofocus:""},null,8,["modelValue","fieldError"]),o("div",Fe,[o("div",$e,[a(B,{id:"btnGenerateToken",isLoading:s(u).isBusy},{default:_(()=>[g(n(e.$t("commons.generate")),1)]),_:1},8,["isLoading"])]),o("div",Ve,[a(B,{onClick:U,nativeType:"button",id:"btnCancel",color:"is-text"},{default:_(()=>[g(n(e.$t("commons.cancel")),1)]),_:1})])])],32)]),_:1})])])):d("",!0)])}}};export{Le as default};

View File

@ -1 +0,0 @@
import{a as j,u as G,a8 as R,R as q,r as f,x as J,o as Q,c as X,I as x,a0 as Y,d as r,j as a,e as o,k as _,f as s,i as d,L as Z,l as m,m as i,t as n,w as ee,g,F as se,D as te,h as oe,U as ne,n as A,G as z,H as y}from"./app-CHfzlEYn.js";import{F as ae}from"./Form-CHRdNHWn.js";import{_ as ie}from"./SettingTabs-DsTQLjlN.js";import{S as le}from"./Spinner-DsqWo4iz.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const re={class:"options-tabs"},ce={key:0,class:"notification is-warning has-text-centered"},ue=["innerHTML"],de={class:"title is-4 has-text-grey-light"},_e={class:"is-size-7-mobile"},me={class:"mt-3"},pe={key:2},fe={class:"tags is-pulled-right"},he=["onClick"],ve=["onClick","title"],ke={key:1,class:"is-size-7-mobile is-size-6 my-3"},ge={key:2,class:"pat is-family-monospace is-size-6 is-size-7-mobile has-text-success"},ye={class:"mt-2 is-size-7 is-pulled-right"},be={key:0,class:"is-overlay modal-otp modal-background"},Te={class:"main-section"},we={class:"field is-grouped"},Ce={class:"control"},Fe={class:"control"},Ae={__name:"OAuth",setup($e){const L=Z("2fauth"),p=j(),b=G(),E=R(L.prefix+"returnTo","accounts"),{copy:M}=q({legacy:!0}),c=f([]),T=f(!1),h=f(!1),v=f(null),w=f(null),C=J(()=>appSettings.enableSso&&appSettings.useSsoOnly||b.authenticated_by_proxy);Q(()=>{F()});const u=X(new ae({name:""}));function F(){T.value=!0,x.getPersonalAccessTokens({returnError:!0}).then(e=>{c.value=[],e.data.forEach(l=>{l.id===w.value?(l.value=v.value,c.value.unshift(l)):c.value.push(l)})}).catch(e=>{e.response.status===405||p.error(e)}).finally(()=>{T.value=!1,w.value=null,v.value=null})}function $(){I(),C.value?p.warn({text:y("errors.unsupported_with_reverseproxy")}):h.value=!0}function N(){u.post("/oauth/personal-access-tokens").then(e=>{v.value=e.data.accessToken,w.value=e.data.token.id,F(),h.value=!1,u.reset()})}function P(e){confirm(y("settings.confirm.revoke"))&&x.deletePersonalAccessToken(e).then(l=>{c.value=c.value.filter(k=>k.id!==e),p.success({text:y("settings.token_revoked")})})}function I(){c.value.forEach(e=>{e.value=null}),v.value=null}function K(e){M(e),p.success({text:y("commons.copied_to_clipboard")})}function U(){h.value=!1,u.reset()}return Y(e=>{e.name.startsWith("settings.")||p.clear()}),(e,l)=>{const k=m("FontAwesomeIcon"),D=m("ButtonBackCloseCancel"),H=m("VueFooter"),V=m("FormWrapper"),O=m("FormField"),B=m("VueButton");return i(),r("div",null,[a(ie,{activeTab:"settings.oauth.tokens"}),o("div",re,[a(V,null,{default:_(()=>[s(C)&&s(b).oauth_provider?(i(),r("div",ce,n(e.$t("auth.sso_only_x_settings_are_disabled",{auth_method:"OAuth"})),1)):d("",!0),s(C)&&s(b).authenticated_by_proxy?(i(),r("div",{key:1,class:"notification is-warning has-text-centered",innerHTML:e.$t("auth.auth_handled_by_proxy")},null,8,ue)):d("",!0),o("h4",de,n(e.$t("settings.personal_access_tokens")),1),o("div",_e,n(e.$t("settings.token_legend")),1),o("div",me,[o("a",{tabindex:"0",class:"is-link",onClick:$,onKeyup:ee($,["enter"])},[a(k,{icon:["fas","plus-circle"]}),g(" "+n(e.$t("settings.generate_new_token")),1)],32)]),s(c).length>0?(i(),r("div",pe,[(i(!0),r(se,null,te(s(c),t=>(i(),r("div",{key:t.id,class:"group-item is-size-5 is-size-6-mobile"},[t.value?(i(),oe(k,{key:0,class:"has-text-success",icon:["fas","check"]})):d("",!0),g(" "+n(t.name)+" ",1),o("div",fe,[a(s(ne),null,{default:_(({mode:S})=>[t.value?(i(),r("button",{key:0,type:"button",class:A(["button tag",{"is-link":S!="dark"}]),onClick:z(W=>K(t.value),["stop"])},n(e.$t("commons.copy")),11,he)):d("",!0),o("button",{type:"button",class:A(["button tag",S==="dark"?"is-dark":"is-white"]),onClick:W=>P(t.id),title:e.$t("settings.revoke")},n(e.$t("settings.revoke")),11,ve)]),_:2},1024)]),t.value?(i(),r("span",ke,n(e.$t("settings.make_sure_copy_token")),1)):d("",!0),t.value?(i(),r("span",ge,n(t.value),1)):d("",!0)]))),128)),o("div",ye,n(e.$t("settings.revoking_a_token_is_permanent")),1)])):d("",!0),a(le,{isVisible:s(T)&&s(c).length===0},null,8,["isVisible"]),a(H,{showButtons:!0},{default:_(()=>[a(D,{returnTo:{name:s(E)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})]),s(h)?(i(),r("div",be,[o("main",Te,[a(V,{title:"settings.forms.new_token"},{default:_(()=>[o("form",{onSubmit:z(N,["prevent"]),onKeydown:l[1]||(l[1]=t=>s(u).onKeydown(t))},[a(O,{modelValue:s(u).name,"onUpdate:modelValue":l[0]||(l[0]=t=>s(u).name=t),fieldName:"name",fieldError:s(u).errors.get("name"),inputType:"text",label:"commons.name",autofocus:""},null,8,["modelValue","fieldError"]),o("div",we,[o("div",Ce,[a(B,{id:"btnGenerateToken",isLoading:s(u).isBusy},{default:_(()=>[g(n(e.$t("commons.generate")),1)]),_:1},8,["isLoading"])]),o("div",Fe,[a(B,{onClick:U,nativeType:"button",id:"btnCancel",color:"is-text"},{default:_(()=>[g(n(e.$t("commons.cancel")),1)]),_:1})])])],32)]),_:1})])])):d("",!0)])}}};export{Ae 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

View File

@ -1 +1 @@
import{r as _,$ as p,J as f,d as n,e as t,f as s,i as h,j as a,k as B,_ as k,l as r,m as l,p as g}from"./app-CHfzlEYn.js";import{S as v}from"./Spinner-DsqWo4iz.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const w={class:"modal modal-otp is-active"},C={class:"modal-content modal-with-footer"},V={class:"has-text-centered m-5"},b=["src","alt"],x={__name:"QRcode",setup(q){g();const i=k(),o=_();p(()=>{d()});async function d(){const{data:e}=await f.getQrcode(i.params.twofaccountId);o.value=e.qrcode}return(e,c)=>{const u=r("ButtonBackCloseCancel"),m=r("VueFooter");return l(),n("div",w,[c[0]||(c[0]=t("div",{class:"modal-background"},null,-1)),t("div",C,[t("p",V,[s(o)?(l(),n("img",{key:0,src:s(o),class:"qrcode has-background-light",alt:e.$t("commons.image_of_qrcode_to_scan")},null,8,b)):h("",!0),a(v,{isVisible:!s(o),type:"raw",class:"is-size-1"},null,8,["isVisible"])])]),a(m,{showButtons:!0,internalFooterType:"modal"},{default:B(()=>[a(u,{returnTo:{name:"accounts"},action:"close"})]),_:1})])}}};export{x as default};
import{r as _,$ as p,J as f,d as n,e as t,f as s,i as h,j as a,k as B,_ as k,l as r,m as l,p as g}from"./app-C-TXXRMB.js";import{S as v}from"./Spinner-BT_p7WbT.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const w={class:"modal modal-otp is-active"},C={class:"modal-content modal-with-footer"},V={class:"has-text-centered m-5"},b=["src","alt"],x={__name:"QRcode",setup(q){g();const i=k(),o=_();p(()=>{d()});async function d(){const{data:e}=await f.getQrcode(i.params.twofaccountId);o.value=e.qrcode}return(e,c)=>{const u=r("ButtonBackCloseCancel"),m=r("VueFooter");return l(),n("div",w,[c[0]||(c[0]=t("div",{class:"modal-background"},null,-1)),t("div",C,[t("p",V,[s(o)?(l(),n("img",{key:0,src:s(o),class:"qrcode has-background-light",alt:e.$t("commons.image_of_qrcode_to_scan")},null,8,b)):h("",!0),a(v,{isVisible:!s(o),type:"raw",class:"is-size-1"},null,8,["isVisible"])])]),a(m,{showButtons:!0,internalFooterType:"modal"},{default:B(()=>[a(u,{returnTo:{name:"accounts"},action:"close"})]),_:1})])}}};export{x as default};

View File

@ -1 +1 @@
import{R as v,a as C,l as f,m as r,d as a,e as o,t as s,f as w,H as l,G as y,i as c,j as _,F as g}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const h={class:"block"},q={class:"block mb-6 light-or-darker"},$={key:0,class:"block has-text-link"},E={type:"button",class:"button is-link is-outlined is-rounded"},B={class:"icon is-small"},I={__name:"QrContentDisplay",props:{qrContent:String},setup(e){const{copy:d}=v({legacy:!0}),u=C();function m(t){var n=/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/,i=new RegExp(n);return i.test(t)}function b(t){const n=document.createElement("a");n.setAttribute("href",t),n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))}function p(t){d(t),u.success({text:l("commons.copied_to_clipboard")})}return(t,n)=>{const i=f("FontAwesomeIcon");return r(),a(g,null,[n[2]||(n[2]=o("div",{class:"too-bad"},null,-1)),o("div",h,s(t.$t("errors.data_of_qrcode_is_not_valid_URI")),1),o("div",q,s(e.qrContent?e.qrContent:"["+("trans"in t?t.trans:w(l))("commons.nothing")+"]"),1),e.qrContent?(r(),a("div",$,[o("button",{type:"button",class:"button is-link is-outlined is-rounded",onClick:n[0]||(n[0]=y(k=>p(e.qrContent),["stop"]))},s(t.$t("commons.copy_to_clipboard")),1)])):c("",!0),m(e.qrContent)?(r(),a("div",{key:1,class:"block has-text-link",onClick:n[1]||(n[1]=k=>b(e.qrContent))},[o("button",E,[o("span",null,s(t.$t("commons.open_in_browser")),1),o("span",B,[_(i,{icon:["fas","external-link-alt"]})])])])):c("",!0)],64)}}};export{I as _};
import{R as v,a as C,l as f,m as r,d as a,e as o,t as s,f as w,H as l,G as y,i as c,j as _,F as g}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const h={class:"block"},q={class:"block mb-6 light-or-darker"},$={key:0,class:"block has-text-link"},E={type:"button",class:"button is-link is-outlined is-rounded"},B={class:"icon is-small"},I={__name:"QrContentDisplay",props:{qrContent:String},setup(e){const{copy:d}=v({legacy:!0}),u=C();function m(t){var n=/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/,i=new RegExp(n);return i.test(t)}function b(t){const n=document.createElement("a");n.setAttribute("href",t),n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))}function p(t){d(t),u.success({text:l("commons.copied_to_clipboard")})}return(t,n)=>{const i=f("FontAwesomeIcon");return r(),a(g,null,[n[2]||(n[2]=o("div",{class:"too-bad"},null,-1)),o("div",h,s(t.$t("errors.data_of_qrcode_is_not_valid_URI")),1),o("div",q,s(e.qrContent?e.qrContent:"["+("trans"in t?t.trans:w(l))("commons.nothing")+"]"),1),e.qrContent?(r(),a("div",$,[o("button",{type:"button",class:"button is-link is-outlined is-rounded",onClick:n[0]||(n[0]=y(k=>p(e.qrContent),["stop"]))},s(t.$t("commons.copy_to_clipboard")),1)])):c("",!0),m(e.qrContent)?(r(),a("div",{key:1,class:"block has-text-link",onClick:n[1]||(n[1]=k=>b(e.qrContent))},[o("button",E,[o("span",null,s(t.$t("commons.open_in_browser")),1),o("span",B,[_(i,{icon:["fas","external-link-alt"]})])])])):c("",!0)],64)}}};export{I as _};

View File

@ -1 +1 @@
import{a as V,a8 as B,c as g,a0 as R,h as $,k as d,L as N,_ as C,l as a,m as L,e as u,G as q,f as s,j as l,g as c,t as p,p as A,H as D}from"./app-CHfzlEYn.js";import{F as S}from"./Form-CHRdNHWn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const W={class:"field"},j={__name:"Recover",setup(x){const m=N("2fauth"),r=V(),f=A(),i=C(),h=B(m.prefix+"showWebauthnForm",!1),o=g(new S({email:i.query.email,password:"",token:i.query.token,revokeAll:!1}));function _(t){r.clear(),o.post("/webauthn/recover",{returnError:!0}).then(e=>{h.value=!1,f.push({name:"login"})}).catch(e=>{e.response.status===401?r.alert({text:D("auth.forms.authentication_failed"),duration:-1}):e.response.status===422?r.alert({text:e.response.data.message,duration:-1}):r.error(e)})}return R(()=>{r.clear()}),(t,e)=>{const w=a("FormCheckbox"),b=a("FormPasswordField"),v=a("RouterLink"),F=a("FormButtons"),k=a("VueFooter"),y=a("FormWrapper");return L(),$(y,{title:t.$t("auth.webauthn.account_recovery"),punchline:t.$t("auth.webauthn.recover_account_instructions")},{default:d(()=>[u("div",null,[u("form",{onSubmit:q(_,["prevent"]),onKeydown:e[2]||(e[2]=n=>s(o).onKeydown(n))},[l(w,{modelValue:s(o).revokeAll,"onUpdate:modelValue":e[0]||(e[0]=n=>s(o).revokeAll=n),fieldName:"revokeAll",label:"auth.webauthn.disable_all_security_devices",help:"auth.webauthn.disable_all_security_devices_help"},null,8,["modelValue"]),l(b,{modelValue:s(o).password,"onUpdate:modelValue":e[1]||(e[1]=n=>s(o).password=n),fieldName:"password",fieldError:s(o).errors.get("password"),autocomplete:"current-password",showRules:!1,label:"auth.forms.current_password.label",help:"auth.forms.current_password.help"},null,8,["modelValue","fieldError"]),u("div",W,[u("p",null,[c(p(t.$t("auth.forms.forgot_your_password"))+"  ",1),l(v,{id:"lnkResetPwd",to:{name:"password.request"},class:"is-link","aria-label":t.$t("auth.forms.reset_your_password")},{default:d(()=>[c(p(t.$t("auth.forms.request_password_reset")),1)]),_:1},8,["aria-label"])])]),l(F,{submitId:"btnRecover",isBusy:s(o).isBusy,isDisabled:s(o).isDisabled,caption:t.$t("commons.continue"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","isDisabled","caption"])],32)]),l(k)]),_:1},8,["title","punchline"])}}};export{j as default};
import{a as V,a8 as B,c as g,a6 as R,h as $,k as d,L as N,_ as C,l as a,m as L,e as u,G as q,f as s,j as l,g as c,t as p,p as A,H as D}from"./app-C-TXXRMB.js";import{F as S}from"./Form-DA3Xo5om.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const W={class:"field"},j={__name:"Recover",setup(x){const m=N("2fauth"),r=V(),f=A(),i=C(),h=B(m.prefix+"showWebauthnForm",!1),o=g(new S({email:i.query.email,password:"",token:i.query.token,revokeAll:!1}));function _(t){r.clear(),o.post("/webauthn/recover",{returnError:!0}).then(e=>{h.value=!1,f.push({name:"login"})}).catch(e=>{e.response.status===401?r.alert({text:D("auth.forms.authentication_failed"),duration:-1}):e.response.status===422?r.alert({text:e.response.data.message,duration:-1}):r.error(e)})}return R(()=>{r.clear()}),(t,e)=>{const w=a("FormCheckbox"),b=a("FormPasswordField"),v=a("RouterLink"),F=a("FormButtons"),k=a("VueFooter"),y=a("FormWrapper");return L(),$(y,{title:t.$t("auth.webauthn.account_recovery"),punchline:t.$t("auth.webauthn.recover_account_instructions")},{default:d(()=>[u("div",null,[u("form",{onSubmit:q(_,["prevent"]),onKeydown:e[2]||(e[2]=n=>s(o).onKeydown(n))},[l(w,{modelValue:s(o).revokeAll,"onUpdate:modelValue":e[0]||(e[0]=n=>s(o).revokeAll=n),fieldName:"revokeAll",label:"auth.webauthn.disable_all_security_devices",help:"auth.webauthn.disable_all_security_devices_help"},null,8,["modelValue"]),l(b,{modelValue:s(o).password,"onUpdate:modelValue":e[1]||(e[1]=n=>s(o).password=n),fieldName:"password",fieldError:s(o).errors.get("password"),autocomplete:"current-password",showRules:!1,label:"auth.forms.current_password.label",help:"auth.forms.current_password.help"},null,8,["modelValue","fieldError"]),u("div",W,[u("p",null,[c(p(t.$t("auth.forms.forgot_your_password"))+"  ",1),l(v,{id:"lnkResetPwd",to:{name:"password.request"},class:"is-link","aria-label":t.$t("auth.forms.reset_your_password")},{default:d(()=>[c(p(t.$t("auth.forms.request_password_reset")),1)]),_:1},8,["aria-label"])])]),l(F,{submitId:"btnRecover",isBusy:s(o).isBusy,isDisabled:s(o).isDisabled,caption:t.$t("commons.continue"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","isDisabled","caption"])],32)]),l(k)]),_:1},8,["title","punchline"])}}};export{j as default};

View File

@ -1 +1 @@
import{u as T,a as C,r as F,c as k,a0 as K,d as _,f as t,h as V,k as c,j as n,l,m as u,e as i,g as p,t as d,G as B,p as U,H as I}from"./app-CHfzlEYn.js";import{F as D}from"./Form-CHRdNHWn.js";import{w as W}from"./webauthnService-CesnZeMg.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const P={key:0,class:"field"},M={id:"lblDeviceRegistrationSuccess",class:"label mb-5"},j={key:1,class:"field is-grouped"},A={class:"control"},G={class:"control"},H={class:"nav-links"},z={__name:"Register",setup(J){const b=T(),m=C(),R=U(),w=F(!1),f=F(null),s=k(new D({name:"",email:"",password:"",password_confirmation:""})),r=k(new D({name:""}));async function N(o){s.password_confirmation=s.password,s.post("/user").then(e=>{b.$patch({name:e.data.name,email:e.data.email,preferences:e.data.preferences,isAdmin:e.data.is_admin??!1}),b.applyTheme(),w.value=!0})}function E(){W.register().then(o=>{const e=JSON.parse(o.config.data);f.value=e.id}).catch(o=>{o.response.status===422?m.alert({text:o.response.data.message}):m.error(o)})}function S(o){r.patch("/webauthn/credentials/"+f.value+"/name").then(()=>{m.success({text:I("auth.webauthn.device_successfully_registered")}),R.push({name:"accounts"})})}return K(()=>{m.clear()}),(o,e)=>{const $=l("font-awesome-icon"),h=l("FormField"),g=l("FormButtons"),y=l("RouterLink"),v=l("FormWrapper"),x=l("FormPasswordField"),L=l("VueFooter");return u(),_("div",null,[t(w)?(u(),V(v,{key:0,title:"auth.authentication",punchline:"auth.webauthn.enhance_security_using_webauthn"},{default:c(()=>[t(f)?(u(),_("div",P,[i("label",M,[p(d(o.$t("auth.webauthn.device_successfully_registered"))+" ",1),n($,{icon:["fas","check"]})]),i("form",{onSubmit:B(S,["prevent"]),onKeydown:e[1]||(e[1]=a=>t(r).onKeydown(a))},[n(h,{modelValue:t(r).name,"onUpdate:modelValue":e[0]||(e[0]=a=>t(r).name=a),fieldName:"name",fieldError:t(r).errors.get("name"),inputType:"text",placeholder:"iPhone 12, TouchID, Yubikey 5C",label:"auth.forms.name_this_device"},null,8,["modelValue","fieldError"]),n(g,{isBusy:t(r).isBusy,isDisabled:t(r).isDisabled,caption:"commons.continue"},null,8,["isBusy","isDisabled"])],32)])):(u(),_("div",j,[i("div",A,[i("button",{type:"button",id:"btnRegisterNewDevice",onClick:e[2]||(e[2]=a=>E()),class:"button is-link"},d(o.$t("auth.webauthn.register_a_device")),1)]),i("div",G,[n(y,{id:"btnMaybeLater",to:{name:"accounts"},class:"button is-text"},{default:c(()=>[p(d(o.$t("auth.maybe_later")),1)]),_:1})])]))]),_:1})):(u(),V(v,{key:1,title:"auth.register",punchline:"auth.forms.register_punchline"},{default:c(()=>[i("form",{onSubmit:B(N,["prevent"]),onKeydown:e[6]||(e[6]=a=>t(s).onKeydown(a))},[n(h,{modelValue:t(s).name,"onUpdate:modelValue":e[3]||(e[3]=a=>t(s).name=a),fieldName:"name",fieldError:t(s).errors.get("name"),inputType:"text",label:"auth.forms.name",autocomplete:"username",maxLength:255,autofocus:""},null,8,["modelValue","fieldError"]),n(h,{modelValue:t(s).email,"onUpdate:modelValue":e[4]||(e[4]=a=>t(s).email=a),fieldName:"email",fieldError:t(s).errors.get("email"),inputType:"email",label:"auth.forms.email",autocomplete:"email",maxLength:255},null,8,["modelValue","fieldError"]),n(x,{modelValue:t(s).password,"onUpdate:modelValue":e[5]||(e[5]=a=>t(s).password=a),fieldName:"password",fieldError:t(s).errors.get("password"),showRules:!0,autocomplete:"new-password",label:"auth.forms.password"},null,8,["modelValue","fieldError"]),n(g,{isBusy:t(s).isBusy,isDisabled:t(s).isDisabled,caption:"auth.register",submitId:"btnRegister"},null,8,["isBusy","isDisabled"])],32),i("div",H,[i("p",null,[p(d(o.$t("auth.forms.already_register"))+" ",1),n(y,{id:"lnkSignIn",to:{name:"login"},class:"is-link"},{default:c(()=>[p(d(o.$t("auth.sign_in")),1)]),_:1})])])]),_:1})),n(L)])}}};export{z as default};
import{u as T,a as C,r as F,c as k,a6 as K,d as _,f as t,h as V,k as c,j as n,l,m as u,e as i,g as p,t as d,G as B,p as U,H as I}from"./app-C-TXXRMB.js";import{F as D}from"./Form-DA3Xo5om.js";import{w as W}from"./webauthnService-BqpJay0B.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const P={key:0,class:"field"},M={id:"lblDeviceRegistrationSuccess",class:"label mb-5"},j={key:1,class:"field is-grouped"},A={class:"control"},G={class:"control"},H={class:"nav-links"},z={__name:"Register",setup(J){const b=T(),m=C(),R=U(),w=F(!1),f=F(null),s=k(new D({name:"",email:"",password:"",password_confirmation:""})),r=k(new D({name:""}));async function N(o){s.password_confirmation=s.password,s.post("/user").then(e=>{b.$patch({name:e.data.name,email:e.data.email,preferences:e.data.preferences,isAdmin:e.data.is_admin??!1}),b.applyTheme(),w.value=!0})}function E(){W.register().then(o=>{const e=JSON.parse(o.config.data);f.value=e.id}).catch(o=>{o.response.status===422?m.alert({text:o.response.data.message}):m.error(o)})}function S(o){r.patch("/webauthn/credentials/"+f.value+"/name").then(()=>{m.success({text:I("auth.webauthn.device_successfully_registered")}),R.push({name:"accounts"})})}return K(()=>{m.clear()}),(o,e)=>{const $=l("font-awesome-icon"),h=l("FormField"),g=l("FormButtons"),y=l("RouterLink"),v=l("FormWrapper"),x=l("FormPasswordField"),L=l("VueFooter");return u(),_("div",null,[t(w)?(u(),V(v,{key:0,title:"auth.authentication",punchline:"auth.webauthn.enhance_security_using_webauthn"},{default:c(()=>[t(f)?(u(),_("div",P,[i("label",M,[p(d(o.$t("auth.webauthn.device_successfully_registered"))+" ",1),n($,{icon:["fas","check"]})]),i("form",{onSubmit:B(S,["prevent"]),onKeydown:e[1]||(e[1]=a=>t(r).onKeydown(a))},[n(h,{modelValue:t(r).name,"onUpdate:modelValue":e[0]||(e[0]=a=>t(r).name=a),fieldName:"name",fieldError:t(r).errors.get("name"),inputType:"text",placeholder:"iPhone 12, TouchID, Yubikey 5C",label:"auth.forms.name_this_device"},null,8,["modelValue","fieldError"]),n(g,{isBusy:t(r).isBusy,isDisabled:t(r).isDisabled,caption:"commons.continue"},null,8,["isBusy","isDisabled"])],32)])):(u(),_("div",j,[i("div",A,[i("button",{type:"button",id:"btnRegisterNewDevice",onClick:e[2]||(e[2]=a=>E()),class:"button is-link"},d(o.$t("auth.webauthn.register_a_device")),1)]),i("div",G,[n(y,{id:"btnMaybeLater",to:{name:"accounts"},class:"button is-text"},{default:c(()=>[p(d(o.$t("auth.maybe_later")),1)]),_:1})])]))]),_:1})):(u(),V(v,{key:1,title:"auth.register",punchline:"auth.forms.register_punchline"},{default:c(()=>[i("form",{onSubmit:B(N,["prevent"]),onKeydown:e[6]||(e[6]=a=>t(s).onKeydown(a))},[n(h,{modelValue:t(s).name,"onUpdate:modelValue":e[3]||(e[3]=a=>t(s).name=a),fieldName:"name",fieldError:t(s).errors.get("name"),inputType:"text",label:"auth.forms.name",autocomplete:"username",maxLength:255,autofocus:""},null,8,["modelValue","fieldError"]),n(h,{modelValue:t(s).email,"onUpdate:modelValue":e[4]||(e[4]=a=>t(s).email=a),fieldName:"email",fieldError:t(s).errors.get("email"),inputType:"email",label:"auth.forms.email",autocomplete:"email",maxLength:255},null,8,["modelValue","fieldError"]),n(x,{modelValue:t(s).password,"onUpdate:modelValue":e[5]||(e[5]=a=>t(s).password=a),fieldName:"password",fieldError:t(s).errors.get("password"),showRules:!0,autocomplete:"new-password",label:"auth.forms.password"},null,8,["modelValue","fieldError"]),n(g,{isBusy:t(s).isBusy,isDisabled:t(s).isDisabled,caption:"auth.register",submitId:"btnRegister"},null,8,["isBusy","isDisabled"])],32),i("div",H,[i("p",null,[p(d(o.$t("auth.forms.already_register"))+" ",1),n(y,{id:"lnkSignIn",to:{name:"login"},class:"is-link"},{default:c(()=>[p(d(o.$t("auth.sign_in")),1)]),_:1})])])]),_:1})),n(L)])}}};export{z as default};

View File

@ -1 +1 @@
import{a as f,c as h,a0 as _,h as w,k as F,_ as b,l as r,m as y,e as B,j as l,f as s,G as V}from"./app-CHfzlEYn.js";import{F as v}from"./Form-CHRdNHWn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const N={__name:"RequestReset",setup(R){const o=f(),a=b().name=="webauthn.lost",t=h(new v({email:""}));function i(n){o.clear(),t.post(a?"/webauthn/lost":"/user/password/lost",{returnError:!0}).then(e=>{o.success({text:e.data.message,duration:-1})}).catch(e=>{e.response.data.requestFailed?o.alert({text:e.response.data.requestFailed,duration:-1}):e.response.status!==422&&o.error(e)})}return _(()=>{o.clear()}),(n,e)=>{const m=r("FormField"),c=r("FormButtons"),d=r("VueFooter"),p=r("FormWrapper");return y(),w(p,{title:n.$t(a?"auth.webauthn.account_recovery":"auth.forms.reset_password"),punchline:n.$t(a?"auth.webauthn.recovery_punchline":"auth.forms.reset_punchline")},{default:F(()=>[B("form",{onSubmit:V(i,["prevent"]),onKeydown:e[1]||(e[1]=u=>s(t).onKeydown(u))},[l(m,{modelValue:s(t).email,"onUpdate:modelValue":e[0]||(e[0]=u=>s(t).email=u),fieldName:"email",fieldError:s(t).errors.get("email"),label:"auth.forms.email",autofocus:""},null,8,["modelValue","fieldError"]),l(c,{submitId:"btnSendResetPwd",isBusy:s(t).isBusy,caption:n.$t(a?"auth.webauthn.send_recovery_link":"auth.forms.send_password_reset_link"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","caption"])],32),l(d)]),_:1},8,["title","punchline"])}}};export{N as default};
import{a as f,c as h,a6 as _,h as w,k as F,_ as b,l as r,m as y,e as B,j as l,f as s,G as V}from"./app-C-TXXRMB.js";import{F as v}from"./Form-DA3Xo5om.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const N={__name:"RequestReset",setup(R){const o=f(),a=b().name=="webauthn.lost",t=h(new v({email:""}));function i(n){o.clear(),t.post(a?"/webauthn/lost":"/user/password/lost",{returnError:!0}).then(e=>{o.success({text:e.data.message,duration:-1})}).catch(e=>{e.response.data.requestFailed?o.alert({text:e.response.data.requestFailed,duration:-1}):e.response.status!==422&&o.error(e)})}return _(()=>{o.clear()}),(n,e)=>{const m=r("FormField"),c=r("FormButtons"),d=r("VueFooter"),p=r("FormWrapper");return y(),w(p,{title:n.$t(a?"auth.webauthn.account_recovery":"auth.forms.reset_password"),punchline:n.$t(a?"auth.webauthn.recovery_punchline":"auth.forms.reset_punchline")},{default:F(()=>[B("form",{onSubmit:V(i,["prevent"]),onKeydown:e[1]||(e[1]=u=>s(t).onKeydown(u))},[l(m,{modelValue:s(t).email,"onUpdate:modelValue":e[0]||(e[0]=u=>s(t).email=u),fieldName:"email",fieldError:s(t).errors.get("email"),label:"auth.forms.email",autofocus:""},null,8,["modelValue","fieldError"]),l(c,{submitId:"btnSendResetPwd",isBusy:s(t).isBusy,caption:n.$t(a?"auth.webauthn.send_recovery_link":"auth.forms.send_password_reset_link"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","caption"])],32),l(d)]),_:1},8,["title","punchline"])}}};export{N as default};

View File

@ -1 +1 @@
import{a as B,r as b,c as R,a0 as h,h as i,k as c,_ as E,l as s,m as l,e as N,j as d,f as t,i as m,g as v,t as C,G as P,p as L}from"./app-CHfzlEYn.js";import{F as x}from"./Form-CHRdNHWn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const D={__name:"Reset",setup(S){const a=B();L();const p=E(),u=b(!0),e=R(new x({email:p.query.email,password:"",password_confirmation:"",token:p.query.token}));function f(n){e.password_confirmation=e.password,e.post("/user/password/reset",{returnError:!0}).then(o=>{e.password="",e.password_confirmation="",u.value=!1,a.success({text:o.data.message,duration:-1})}).catch(o=>{o.response.data.resetFailed?a.alert({text:o.response.data.resetFailed,duration:-1}):o.response.status!==422&&a.error(o)})}return h(()=>{a.clear()}),(n,o)=>{const w=s("FormField"),_=s("FormPasswordField"),F=s("FieldError"),k=s("FormButtons"),y=s("RouterLink"),V=s("VueFooter"),g=s("FormWrapper");return l(),i(g,{title:n.$t("auth.forms.new_password")},{default:c(()=>[N("form",{onSubmit:P(f,["prevent"]),onKeydown:o[2]||(o[2]=r=>t(e).onKeydown(r))},[d(w,{modelValue:t(e).email,"onUpdate:modelValue":o[0]||(o[0]=r=>t(e).email=r),isDisabled:!0,fieldName:"email",fieldError:t(e).errors.get("email"),label:"auth.forms.email",autofocus:""},null,8,["modelValue","fieldError"]),d(_,{modelValue:t(e).password,"onUpdate:modelValue":o[1]||(o[1]=r=>t(e).password=r),fieldName:"password",fieldError:t(e).errors.get("password"),autocomplete:"new-password",showRules:!0,label:"auth.forms.new_password"},null,8,["modelValue","fieldError"]),t(e).errors.get("token")!=null?(l(),i(F,{key:0,error:t(e).errors.get("token"),field:t(e).token},null,8,["error","field"])):m("",!0),t(u)?(l(),i(k,{key:1,submitId:"btnResetPwd",isBusy:t(e).isBusy,caption:n.$t("auth.forms.change_password"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","caption"])):m("",!0),t(u)?m("",!0):(l(),i(y,{key:2,id:"btnContinue",to:{name:"accounts"},class:"button is-link"},{default:c(()=>[v(C(n.$t("commons.continue")),1)]),_:1}))],32),d(V)]),_:1},8,["title"])}}};export{D as default};
import{a as B,r as b,c as R,a6 as h,h as i,k as c,_ as E,l as s,m as l,e as N,j as d,f as t,i as m,g as v,t as C,G as P,p as L}from"./app-C-TXXRMB.js";import{F as x}from"./Form-DA3Xo5om.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const D={__name:"Reset",setup(S){const a=B();L();const p=E(),u=b(!0),e=R(new x({email:p.query.email,password:"",password_confirmation:"",token:p.query.token}));function f(n){e.password_confirmation=e.password,e.post("/user/password/reset",{returnError:!0}).then(o=>{e.password="",e.password_confirmation="",u.value=!1,a.success({text:o.data.message,duration:-1})}).catch(o=>{o.response.data.resetFailed?a.alert({text:o.response.data.resetFailed,duration:-1}):o.response.status!==422&&a.error(o)})}return h(()=>{a.clear()}),(n,o)=>{const w=s("FormField"),_=s("FormPasswordField"),F=s("FieldError"),k=s("FormButtons"),y=s("RouterLink"),V=s("VueFooter"),g=s("FormWrapper");return l(),i(g,{title:n.$t("auth.forms.new_password")},{default:c(()=>[N("form",{onSubmit:P(f,["prevent"]),onKeydown:o[2]||(o[2]=r=>t(e).onKeydown(r))},[d(w,{modelValue:t(e).email,"onUpdate:modelValue":o[0]||(o[0]=r=>t(e).email=r),isDisabled:!0,fieldName:"email",fieldError:t(e).errors.get("email"),label:"auth.forms.email",autofocus:""},null,8,["modelValue","fieldError"]),d(_,{modelValue:t(e).password,"onUpdate:modelValue":o[1]||(o[1]=r=>t(e).password=r),fieldName:"password",fieldError:t(e).errors.get("password"),autocomplete:"new-password",showRules:!0,label:"auth.forms.new_password"},null,8,["modelValue","fieldError"]),t(e).errors.get("token")!=null?(l(),i(F,{key:0,error:t(e).errors.get("token"),field:t(e).token},null,8,["error","field"])):m("",!0),t(u)?(l(),i(k,{key:1,submitId:"btnResetPwd",isBusy:t(e).isBusy,caption:n.$t("auth.forms.change_password"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","caption"])):m("",!0),t(u)?m("",!0):(l(),i(y,{key:2,id:"btnContinue",to:{name:"accounts"},class:"button is-link"},{default:c(()=>[v(C(n.$t("commons.continue")),1)]),_:1}))],32),d(V)]),_:1},8,["title"])}}};export{D as default};

View File

@ -1 +1 @@
import{a4 as y,a5 as v,r as k,o as f,v as w,l as b,m as l,d as p,e as i,z as g,a6 as B,w as h,G as c,n as E,h as K}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const M={role:"search",class:"field"},S={class:"control has-icons-right"},_=["aria-label","title","placeholder"],x={class:"icon is-small is-right"},C=["title"],L={__name:"SearchBox",props:y({hasNoBackground:{type:Boolean,default:!1},placeholder:String},{keyword:{},keywordModifiers:{}}),emits:["update:keyword"],setup(r){const o=v(r,"keyword"),s=k(null);f(()=>{document.addEventListener("keydown",d),document.addEventListener("keypress",m)}),w(()=>{document.removeEventListener("keydown",d),document.removeEventListener("keypress",m)});function d(t){var e;t.key==="f"&&(t.ctrlKey||t.metaKey)&&(t.preventDefault(),(e=s.value)==null||e.focus())}function u(){o.value=""}function m(t){var e,a;t.key!=="Enter"&&(o.value=t.key,(e=s.value)==null||e.setSelectionRange(1,1),(a=s.value)==null||a.focus(),t.preventDefault())}return(t,e)=>{const a=b("FontAwesomeIcon");return l(),p("div",M,[i("div",S,[g(i("input",{"onUpdate:modelValue":e[0]||(e[0]=n=>o.value=n),onKeyup:[e[1]||(e[1]=h(c(n=>{u(),n.target.blur()},["prevent"]),["esc"])),e[2]||(e[2]=h(c(n=>n.target.blur(),["prevent"]),["enter"]))],onKeypress:e[3]||(e[3]=c(()=>{},["stop"])),ref_key:"searchInput",ref:s,id:"txtSearch",type:"search",tabindex:"1","aria-label":t.$t("commons.search"),title:t.$t("commons.search"),placeholder:r.placeholder,class:E(["input is-rounded is-search",{"has-no-background":r.hasNoBackground}])},null,42,_),[[B,o.value]]),i("span",x,[o.value!=""?(l(),p("button",{key:0,type:"button",id:"btnClearSearch",tabindex:"1",title:t.$t("commons.clear_search"),class:"clear-selection delete",onClick:u},null,8,C)):(l(),K(a,{key:1,icon:["fas","search"]}))])])])}}};export{L as _};
import{a3 as y,a4 as v,r as k,o as f,v as w,l as b,m as l,d as p,e as i,z as g,a5 as B,w as h,G as c,n as E,h as K}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const M={role:"search",class:"field"},S={class:"control has-icons-right"},_=["aria-label","title","placeholder"],x={class:"icon is-small is-right"},C=["title"],L={__name:"SearchBox",props:y({hasNoBackground:{type:Boolean,default:!1},placeholder:String},{keyword:{},keywordModifiers:{}}),emits:["update:keyword"],setup(r){const o=v(r,"keyword"),s=k(null);f(()=>{document.addEventListener("keydown",d),document.addEventListener("keypress",m)}),w(()=>{document.removeEventListener("keydown",d),document.removeEventListener("keypress",m)});function d(t){var e;t.key==="f"&&(t.ctrlKey||t.metaKey)&&(t.preventDefault(),(e=s.value)==null||e.focus())}function u(){o.value=""}function m(t){var e,a;t.key!=="Enter"&&(o.value=t.key,(e=s.value)==null||e.setSelectionRange(1,1),(a=s.value)==null||a.focus(),t.preventDefault())}return(t,e)=>{const a=b("FontAwesomeIcon");return l(),p("div",M,[i("div",S,[g(i("input",{"onUpdate:modelValue":e[0]||(e[0]=n=>o.value=n),onKeyup:[e[1]||(e[1]=h(c(n=>{u(),n.target.blur()},["prevent"]),["esc"])),e[2]||(e[2]=h(c(n=>n.target.blur(),["prevent"]),["enter"]))],onKeypress:e[3]||(e[3]=c(()=>{},["stop"])),ref_key:"searchInput",ref:s,id:"txtSearch",type:"search",tabindex:"1","aria-label":t.$t("commons.search"),title:t.$t("commons.search"),placeholder:r.placeholder,class:E(["input is-rounded is-search",{"has-no-background":r.hasNoBackground}])},null,42,_),[[B,o.value]]),i("span",x,[o.value!=""?(l(),p("button",{key:0,type:"button",id:"btnClearSearch",tabindex:"1",title:t.$t("commons.clear_search"),class:"clear-selection delete",onClick:u},null,8,C)):(l(),K(a,{key:1,icon:["fas","search"]}))])])])}}};export{L as _};

View File

@ -1 +1 @@
import{r as m,l as n,m as t,d as s,j as a,k as i,e as o,F as v,D as _,f as h,n as g,g as k,t as w}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const f={class:"options-header"},b={class:"tabs is-centered is-fullwidth"},R={__name:"SettingTabs",props:{activeTab:{type:String,default:""}},setup(r){const c=m([{name:"settings.options",view:"settings.options",id:"lnkTabOptions"},{name:"settings.account",view:"settings.account",id:"lnkTabAccount"},{name:"settings.oauth",view:"settings.oauth.tokens",id:"lnkTabOAuth"},{name:"settings.webauthn",view:"settings.webauthn.devices",id:"lnkTabWebauthn"}]),l=r;return(d,T)=>{const u=n("RouterLink"),p=n("ResponsiveWidthWrapper");return t(),s("div",f,[a(p,null,{default:i(()=>[o("div",b,[o("ul",null,[(t(!0),s(v,null,_(h(c),e=>(t(),s("li",{key:e.view,class:g({"is-active":e.view===l.activeTab})},[a(u,{id:e.id,to:{name:e.view}},{default:i(()=>[k(w(d.$t(e.name)),1)]),_:2},1032,["id","to"])],2))),128))])])]),_:1})])}}};export{R as _};
import{r as m,l as n,m as t,d as s,j as a,k as i,e as o,F as v,D as _,f as h,n as g,g as k,t as w}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const f={class:"options-header"},b={class:"tabs is-centered is-fullwidth"},R={__name:"SettingTabs",props:{activeTab:{type:String,default:""}},setup(r){const c=m([{name:"settings.options",view:"settings.options",id:"lnkTabOptions"},{name:"settings.account",view:"settings.account",id:"lnkTabAccount"},{name:"settings.oauth",view:"settings.oauth.tokens",id:"lnkTabOAuth"},{name:"settings.webauthn",view:"settings.webauthn.devices",id:"lnkTabWebauthn"}]),l=r;return(d,T)=>{const u=n("RouterLink"),p=n("ResponsiveWidthWrapper");return t(),s("div",f,[a(p,null,{default:i(()=>[o("div",b,[o("ul",null,[(t(!0),s(v,null,_(h(c),e=>(t(),s("li",{key:e.view,class:g({"is-active":e.view===l.activeTab})},[a(u,{id:e.id,to:{name:e.view}},{default:i(()=>[k(w(d.$t(e.name)),1)]),_:2},1032,["id","to"])],2))),128))])])]),_:1})])}}};export{R as _};

View File

@ -0,0 +1 @@
.spinner-container[data-v-247a4fa7],.spinner-overlay-container[data-v-247a4fa7]{text-align:center;z-index:100000;position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.spinner-container[data-v-247a4fa7],.spinner-overlay-container[data-v-247a4fa7]{top:25%;height:50%}.spinner[data-v-247a4fa7]{display:block}

View File

@ -1 +0,0 @@
.spinner-container[data-v-56b21d53],.spinner-overlay-container[data-v-56b21d53]{text-align:center;z-index:100000;position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.spinner-container[data-v-56b21d53],.spinner-overlay-container[data-v-56b21d53]{top:25%;height:50%}.spinner[data-v-56b21d53]{display:block}

View File

@ -1 +1 @@
import{a3 as p,m as n,d as t,e,j as a,t as c,i as r,h as l,l as d}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const _={key:0},m={key:0,class:"spinner-container"},y={class:"spinner-wrapper"},u={id:"icnSpinnerFull",class:"is-size-1 spinner"},h={key:1,class:"spinner-overlay-container"},f={class:"spinner-wrapper"},v={id:"icnSpinnerFull",class:"is-size-1 spinner"},S={key:3,class:"has-text-centered mt-6"},g={id:"icnSpinner",class:"is-size-4"},k={__name:"Spinner",props:{isVisible:Boolean,type:{type:String,default:"inline"},message:{type:String,default:"commons.generating_otp"}},setup(s){return(o,w)=>{const i=d("FontAwesomeIcon");return s.isVisible?(n(),t("div",_,[s.type=="fullscreen"?(n(),t("div",m,[e("div",y,[e("span",u,[a(i,{icon:["fas","spinner"],spin:""})]),e("span",null,c(o.$t(s.message)),1)])])):r("",!0),s.type=="fullscreen-overlay"?(n(),t("div",h,[e("div",f,[e("span",v,[a(i,{icon:["fas","spinner"],spin:""})]),e("span",null,c(o.$t(s.message)),1)])])):s.type=="raw"?(n(),l(i,{key:2,icon:["fas","spinner"],spin:""})):(n(),t("div",S,[e("span",g,[a(i,{icon:["fas","spinner"],spin:""})])]))])):r("",!0)}}},V=p(k,[["__scopeId","data-v-56b21d53"]]);export{V as S};
import{a2 as p,m as n,d as t,e,j as a,t as c,i as r,h as l,l as d}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const _={key:0},m={key:0,class:"spinner-container"},y={class:"spinner-wrapper"},u={id:"icnSpinnerFull",class:"is-size-1 spinner"},f={key:1,class:"spinner-overlay-container"},h={class:"spinner-wrapper"},v={id:"icnSpinnerFull",class:"is-size-1 spinner"},S={key:3,class:"has-text-centered mt-6"},g={id:"icnSpinner",class:"is-size-4"},k={__name:"Spinner",props:{isVisible:Boolean,type:{type:String,default:"inline"},message:{type:String,default:"commons.generating_otp"}},setup(s){return(o,w)=>{const i=d("FontAwesomeIcon");return s.isVisible?(n(),t("div",_,[s.type=="fullscreen"?(n(),t("div",m,[e("div",y,[e("span",u,[a(i,{icon:["fas","spinner"],spin:""})]),e("span",null,c(o.$t(s.message)),1)])])):r("",!0),s.type=="fullscreen-overlay"?(n(),t("div",f,[e("div",h,[e("span",v,[a(i,{icon:["fas","spinner"],spin:""})]),e("span",null,c(o.$t(s.message)),1)])])):s.type=="raw"?(n(),l(i,{key:2,icon:["fas","spinner"],spin:""})):(n(),t("div",S,[e("span",g,[a(i,{icon:["fas","spinner"],spin:""})])]))])):r("",!0)}}},V=p(k,[["__scopeId","data-v-247a4fa7"]]);export{V as S};

View File

@ -1 +1 @@
import{u as V,a as x,b as A,r as w,c as E,o as N,d as l,e as t,n as R,f as s,g as a,t as n,w as C,h as B,i as m,j as k,k as _,l as d,m as r,p as S}from"./app-CHfzlEYn.js";import{F as U}from"./Form-CHRdNHWn.js";import{u as K}from"./bus-CkBASysr.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const Q={class:"container has-text-centered"},T={class:"columns quick-uploader"},D={class:"column is-full quick-uploader-button"},M={class:"quick-uploader-centerer"},j={class:"column is-full"},z={class:"block light-or-darker"},G={key:0,class:"block has-text-link"},H={class:"block has-text-link"},J={class:"block has-text-link"},Y={__name:"Start",setup(O){const f=S(),u=V(),b=K(),g=x(),h=A(),p=w(null),c=w(null),i=E(new U({qrcode:null,inputFormat:"fileUpload"}));function v(){i.clear(),i.qrcode=p.value.files[0],i.upload("/api/v1/qrcode/decode",{returnError:!0}).then(e=>{e.data.data.slice(0,33).toLowerCase()==="otpauth-migration://offline?data="?(b.migrationUri=e.data.data,f.push({name:"importAccounts"})):(b.decodedUri=e.data.data,f.push({name:"createAccount"}))}).catch(e=>{e.response.status!==422&&g.alert({text:e.response.data.message})})}function $(){f.push({name:"capture"})}return N(()=>{u.preferences.useDirectCapture&&u.preferences.defaultCaptureMode==="upload"&&c.value.click()}),(e,o)=>{const F=d("FieldError"),y=d("RouterLink"),I=d("ButtonBackCloseCancel"),L=d("VueFooter");return r(),l("div",Q,[t("div",T,[t("div",{class:R(["column is-full quick-uploader-header",{"is-invisible":s(h).count!==0}])},[a(n(e.$t("twofaccounts.no_account_here")),1),o[3]||(o[3]=t("br",null,null,-1)),a(" "+n(e.$t("twofaccounts.add_first_account")),1)],2),t("div",D,[t("div",M,[s(u).preferences.useBasicQrcodeReader?(r(),l("label",{key:0,role:"button",tabindex:"0",class:"button is-link is-medium is-rounded is-main",ref_key:"qrcodeInputLabel",ref:c,onKeyup:o[0]||(o[0]=C(q=>s(c).click(),["enter"]))},[t("input",{"aria-hidden":"true",tabindex:"-1",class:"file-input",type:"file",accept:"image/*",onChange:v,ref_key:"qrcodeInput",ref:p},null,544),a(" "+n(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)):(r(),l("button",{key:1,type:"button",class:"button is-link is-medium is-rounded is-main",onClick:o[1]||(o[1]=q=>$())},n(e.$t("twofaccounts.forms.scan_qrcode")),1))]),s(i).errors.hasAny("qrcode")?(r(),B(F,{key:0,error:s(i).errors.get("qrcode"),field:"qrcode"},null,8,["error"])):m("",!0)]),t("div",j,[t("div",z,n(e.$t("twofaccounts.forms.alternative_methods")),1),s(u).preferences.useBasicQrcodeReader?m("",!0):(r(),l("div",G,[t("label",{role:"button",tabindex:"0",class:"button is-link is-outlined is-rounded",ref_key:"qrcodeInputLabel",ref:c,onKeyup:o[2]||(o[2]=C(q=>s(c).click(),["enter"]))},[t("input",{"aria-hidden":"true",tabindex:"-1",class:"file-input",type:"file",accept:"image/*",onChange:v,ref_key:"qrcodeInput",ref:p},null,544),a(" "+n(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)])),t("div",H,[k(y,{class:"button is-link is-outlined is-rounded",to:{name:"createAccount"}},{default:_(()=>[a(n(e.$t("twofaccounts.forms.use_advanced_form")),1)]),_:1})]),t("div",J,[k(y,{id:"btnImport",class:"button is-link is-outlined is-rounded",to:{name:"importAccounts"}},{default:_(()=>[a(n(e.$t("twofaccounts.import.import")),1)]),_:1})])])]),k(L,{showButtons:!0},{default:_(()=>[s(h).isEmpty?m("",!0):(r(),B(I,{key:0,returnTo:{name:"accounts"},action:"back"}))]),_:1})])}}};export{Y as default};
import{u as V,a as x,b as A,r as w,c as E,o as N,d as l,e as t,n as R,f as s,g as a,t as n,w as C,h as B,i as m,j as k,k as _,l as d,m as r,p as S}from"./app-C-TXXRMB.js";import{F as U}from"./Form-DA3Xo5om.js";import{u as K}from"./bus-Dw6NpmB-.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const Q={class:"container has-text-centered"},T={class:"columns quick-uploader"},D={class:"column is-full quick-uploader-button"},M={class:"quick-uploader-centerer"},j={class:"column is-full"},z={class:"block light-or-darker"},G={key:0,class:"block has-text-link"},H={class:"block has-text-link"},J={class:"block has-text-link"},Y={__name:"Start",setup(O){const f=S(),u=V(),b=K(),g=x(),h=A(),p=w(null),c=w(null),i=E(new U({qrcode:null,inputFormat:"fileUpload"}));function v(){i.clear(),i.qrcode=p.value.files[0],i.upload("/api/v1/qrcode/decode",{returnError:!0}).then(e=>{e.data.data.slice(0,33).toLowerCase()==="otpauth-migration://offline?data="?(b.migrationUri=e.data.data,f.push({name:"importAccounts"})):(b.decodedUri=e.data.data,f.push({name:"createAccount"}))}).catch(e=>{e.response.status!==422&&g.alert({text:e.response.data.message})})}function $(){f.push({name:"capture"})}return N(()=>{u.preferences.useDirectCapture&&u.preferences.defaultCaptureMode==="upload"&&c.value.click()}),(e,o)=>{const F=d("FieldError"),y=d("RouterLink"),I=d("ButtonBackCloseCancel"),L=d("VueFooter");return r(),l("div",Q,[t("div",T,[t("div",{class:R(["column is-full quick-uploader-header",{"is-invisible":s(h).count!==0}])},[a(n(e.$t("twofaccounts.no_account_here")),1),o[3]||(o[3]=t("br",null,null,-1)),a(" "+n(e.$t("twofaccounts.add_first_account")),1)],2),t("div",D,[t("div",M,[s(u).preferences.useBasicQrcodeReader?(r(),l("label",{key:0,role:"button",tabindex:"0",class:"button is-link is-medium is-rounded is-main",ref_key:"qrcodeInputLabel",ref:c,onKeyup:o[0]||(o[0]=C(q=>s(c).click(),["enter"]))},[t("input",{"aria-hidden":"true",tabindex:"-1",class:"file-input",type:"file",accept:"image/*",onChange:v,ref_key:"qrcodeInput",ref:p},null,544),a(" "+n(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)):(r(),l("button",{key:1,type:"button",class:"button is-link is-medium is-rounded is-main",onClick:o[1]||(o[1]=q=>$())},n(e.$t("twofaccounts.forms.scan_qrcode")),1))]),s(i).errors.hasAny("qrcode")?(r(),B(F,{key:0,error:s(i).errors.get("qrcode"),field:"qrcode"},null,8,["error"])):m("",!0)]),t("div",j,[t("div",z,n(e.$t("twofaccounts.forms.alternative_methods")),1),s(u).preferences.useBasicQrcodeReader?m("",!0):(r(),l("div",G,[t("label",{role:"button",tabindex:"0",class:"button is-link is-outlined is-rounded",ref_key:"qrcodeInputLabel",ref:c,onKeyup:o[2]||(o[2]=C(q=>s(c).click(),["enter"]))},[t("input",{"aria-hidden":"true",tabindex:"-1",class:"file-input",type:"file",accept:"image/*",onChange:v,ref_key:"qrcodeInput",ref:p},null,544),a(" "+n(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)])),t("div",H,[k(y,{class:"button is-link is-outlined is-rounded",to:{name:"createAccount"}},{default:_(()=>[a(n(e.$t("twofaccounts.forms.use_advanced_form")),1)]),_:1})]),t("div",J,[k(y,{id:"btnImport",class:"button is-link is-outlined is-rounded",to:{name:"importAccounts"}},{default:_(()=>[a(n(e.$t("twofaccounts.import.import")),1)]),_:1})])])]),k(L,{showButtons:!0},{default:_(()=>[s(h).isEmpty?m("",!0):(r(),B(I,{key:0,returnTo:{name:"accounts"},action:"back"}))]),_:1})])}}};export{Y as default};

View File

@ -1 +1 @@
import{_ as V}from"./AdminTabs-CkgljzOj.js";import{a as j,a8 as I,r as k,x as $,o as N,I as S,a0 as T,d as c,j as n,e as t,k as p,L as R,l as _,m as u,t as i,g as B,f as m,C as E,F as O,D as W,U as D,n as y,i as F}from"./app-CHfzlEYn.js";import{S as M}from"./Spinner-DsqWo4iz.js";import{_ as Z}from"./SearchBox-DvMvL2WF.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const q={class:"options-tabs"},G={class:"title is-4 has-text-grey-light"},H={class:"is-size-7-mobile"},J={class:"mb-6 mt-3"},K={class:"columns"},P={class:"column pb-0"},Q={class:"level is-mobile mb-0"},X={class:"level-item has-text-centered is-justify-content-end"},Y={class:"subtitle is-7"},ee={class:"level-item has-text-centered is-justify-content-start"},se={class:"buttons"},te={key:0},ae={class:"has-ellipsis"},oe={class:"is-block has-ellipsis is-family-primary is-size-6 is-size-7-mobile has-text-grey"},ne={class:"tags mt-2"},ie={class:"ml-3"},le={key:1,class:"mt-4 pl-3"},he={__name:"Users",setup(re){const x=R("2fauth"),w=j(),A=I(x.prefix+"returnTo","accounts"),v=k([]),a=k(""),f=k(!1),C=$(()=>v.value.filter(e=>{let s=e.name.toLowerCase().includes(r.value.keywords)||e.email.toLowerCase().includes(r.value.keywords);return r.value.admin!=null&&(s=s&&e.is_admin==r.value.admin),r.value.oauth!=null&&(s=s&&e.oauth_provider==r.value.oauth),s})),r=$(()=>{const e={admin:void 0,oauth:void 0,keywords:a.value.toLowerCase()},s=a.value.toLowerCase().split(" "),d=/admin:([01])/,h=/oauth:([a-zA-Z0-9])/;return s.forEach(l=>{l.match(d)&&(e.admin=parseInt(l.replace(d,"$1")),e.keywords=e.keywords.replace(l,"").trim()),l.match(h)&&(e.oauth=l.replace(h,"$1"),e.keywords=e.keywords.replace(l,"").trim())}),e});N(()=>{L()});function b(e){const s=/admin:([01])/,d=/oauth:([a-zA-Z0-9]*)/;a.value.match(s)&&e.match(s)?a.value=a.value.replace(s,e):r.value.oauth!=null&&e.match(d)?a.value=a.value.replace(d,e):a.value=a.value?a.value+" "+e:e}function L(){f.value=!0,S.getAll({returnError:!0}).then(e=>{v.value=e.data}).catch(e=>{w.error(e)}).finally(()=>{f.value=!1})}return T(e=>{e.name.startsWith("admin.")||w.clear()}),(e,s)=>{const d=_("FontAwesomeIcon"),h=_("RouterLink"),l=_("ButtonBackCloseCancel"),z=_("VueFooter"),U=_("FormWrapper");return u(),c("div",null,[n(V,{activeTab:"admin.users"}),t("div",q,[n(U,null,{default:p(()=>[t("h4",G,i(e.$t("admin.users")),1),t("div",H,i(e.$t("admin.users_legend")),1),t("div",J,[n(h,{class:"is-link mt-5",to:{name:"admin.createUser"}},{default:p(()=>[n(d,{icon:["fas","plus-circle"]}),B(" "+i(e.$t("admin.create_new_user")),1)]),_:1})]),t("div",K,[t("div",P,[n(Z,{keyword:m(a),"onUpdate:keyword":s[0]||(s[0]=o=>E(a)?a.value=o:null),hasNoBackground:!0,placeholder:e.$t("admin.search_user_placeholder")},null,8,["keyword","placeholder"])])]),t("div",Q,[t("div",X,[t("p",Y,i(e.$t("admin.quick_filters_colons")),1)]),t("div",ee,[t("div",se,[t("button",{type:"button",class:"button is-small is-ghost p-0",onClick:s[1]||(s[1]=o=>b("admin:1"))},"admin"),t("button",{type:"button",class:"button is-small is-ghost p-0",onClick:s[2]||(s[2]=o=>b("oauth:github"))},"github"),t("button",{type:"button",class:"button is-small is-ghost p-0",onClick:s[3]||(s[3]=o=>b("oauth:openid"))},"openId")])])]),m(C).length>0?(u(),c("div",te,[(u(!0),c(O,null,W(m(C),o=>(u(),c("div",{key:o.id,class:"list-item is-size-5 is-size-6-mobile is-flex is-justify-content-space-between"},[n(m(D),null,{default:p(({mode:g})=>[t("div",ae,[t("span",null,i(o.name),1),t("span",oe,i(o.email),1),t("div",ne,[o.is_admin?(u(),c("span",{key:0,class:y(["tag is-rounded has-text-warning-dark",g=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"admin",2)):F("",!0),o.oauth_provider?(u(),c("span",{key:1,class:y(["tag is-rounded has-text-grey",g=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"oauth: "+i(o.oauth_provider),3)):F("",!0)])]),t("div",ie,[n(h,{to:{name:"admin.manageUser",params:{userId:o.id}},class:y(["button is-small has-normal-radius",{"is-dark":g=="dark"}]),title:e.$t("commons.manage")},{default:p(()=>[B(i(e.$t("commons.manage")),1)]),_:2},1032,["to","class","title"])])]),_:2},1024)]))),128))])):(u(),c("div",le,i(e.$t("commons.no_result")),1)),n(M,{isVisible:m(f)&&m(v).length===0},null,8,["isVisible"]),n(z,{showButtons:!0},{default:p(()=>[n(l,{returnTo:{name:m(A)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{he as default};
import{_ as V}from"./AdminTabs-CC7yX8RP.js";import{a as j,a8 as I,r as k,x as $,o as N,I as S,a6 as T,d as c,j as n,e as t,k as p,L as R,l as _,m as u,t as i,g as B,f as m,C as E,F as O,D as W,U as D,n as y,i as F}from"./app-C-TXXRMB.js";import{S as M}from"./Spinner-BT_p7WbT.js";import{_ as Z}from"./SearchBox-CVEgsETw.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const q={class:"options-tabs"},G={class:"title is-4 has-text-grey-light"},H={class:"is-size-7-mobile"},J={class:"mb-6 mt-3"},K={class:"columns"},P={class:"column pb-0"},Q={class:"level is-mobile mb-0"},X={class:"level-item has-text-centered is-justify-content-end"},Y={class:"subtitle is-7"},ee={class:"level-item has-text-centered is-justify-content-start"},se={class:"buttons"},te={key:0},ae={class:"has-ellipsis"},oe={class:"is-block has-ellipsis is-family-primary is-size-6 is-size-7-mobile has-text-grey"},ne={class:"tags mt-2"},ie={class:"ml-3"},le={key:1,class:"mt-4 pl-3"},he={__name:"Users",setup(re){const x=R("2fauth"),w=j(),A=I(x.prefix+"returnTo","accounts"),v=k([]),a=k(""),f=k(!1),C=$(()=>v.value.filter(e=>{let s=e.name.toLowerCase().includes(r.value.keywords)||e.email.toLowerCase().includes(r.value.keywords);return r.value.admin!=null&&(s=s&&e.is_admin==r.value.admin),r.value.oauth!=null&&(s=s&&e.oauth_provider==r.value.oauth),s})),r=$(()=>{const e={admin:void 0,oauth:void 0,keywords:a.value.toLowerCase()},s=a.value.toLowerCase().split(" "),d=/admin:([01])/,h=/oauth:([a-zA-Z0-9])/;return s.forEach(l=>{l.match(d)&&(e.admin=parseInt(l.replace(d,"$1")),e.keywords=e.keywords.replace(l,"").trim()),l.match(h)&&(e.oauth=l.replace(h,"$1"),e.keywords=e.keywords.replace(l,"").trim())}),e});N(()=>{L()});function b(e){const s=/admin:([01])/,d=/oauth:([a-zA-Z0-9]*)/;a.value.match(s)&&e.match(s)?a.value=a.value.replace(s,e):r.value.oauth!=null&&e.match(d)?a.value=a.value.replace(d,e):a.value=a.value?a.value+" "+e:e}function L(){f.value=!0,S.getAll({returnError:!0}).then(e=>{v.value=e.data}).catch(e=>{w.error(e)}).finally(()=>{f.value=!1})}return T(e=>{e.name.startsWith("admin.")||w.clear()}),(e,s)=>{const d=_("FontAwesomeIcon"),h=_("RouterLink"),l=_("ButtonBackCloseCancel"),z=_("VueFooter"),U=_("FormWrapper");return u(),c("div",null,[n(V,{activeTab:"admin.users"}),t("div",q,[n(U,null,{default:p(()=>[t("h4",G,i(e.$t("admin.users")),1),t("div",H,i(e.$t("admin.users_legend")),1),t("div",J,[n(h,{class:"is-link mt-5",to:{name:"admin.createUser"}},{default:p(()=>[n(d,{icon:["fas","plus-circle"]}),B(" "+i(e.$t("admin.create_new_user")),1)]),_:1})]),t("div",K,[t("div",P,[n(Z,{keyword:m(a),"onUpdate:keyword":s[0]||(s[0]=o=>E(a)?a.value=o:null),hasNoBackground:!0,placeholder:e.$t("admin.search_user_placeholder")},null,8,["keyword","placeholder"])])]),t("div",Q,[t("div",X,[t("p",Y,i(e.$t("admin.quick_filters_colons")),1)]),t("div",ee,[t("div",se,[t("button",{type:"button",class:"button is-small is-ghost p-0",onClick:s[1]||(s[1]=o=>b("admin:1"))},"admin"),t("button",{type:"button",class:"button is-small is-ghost p-0",onClick:s[2]||(s[2]=o=>b("oauth:github"))},"github"),t("button",{type:"button",class:"button is-small is-ghost p-0",onClick:s[3]||(s[3]=o=>b("oauth:openid"))},"openId")])])]),m(C).length>0?(u(),c("div",te,[(u(!0),c(O,null,W(m(C),o=>(u(),c("div",{key:o.id,class:"list-item is-size-5 is-size-6-mobile is-flex is-justify-content-space-between"},[n(m(D),null,{default:p(({mode:g})=>[t("div",ae,[t("span",null,i(o.name),1),t("span",oe,i(o.email),1),t("div",ne,[o.is_admin?(u(),c("span",{key:0,class:y(["tag is-rounded has-text-warning-dark",g=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"admin",2)):F("",!0),o.oauth_provider?(u(),c("span",{key:1,class:y(["tag is-rounded has-text-grey",g=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"oauth: "+i(o.oauth_provider),3)):F("",!0)])]),t("div",ie,[n(h,{to:{name:"admin.manageUser",params:{userId:o.id}},class:y(["button is-small has-normal-radius",{"is-dark":g=="dark"}]),title:e.$t("commons.manage")},{default:p(()=>[B(i(e.$t("commons.manage")),1)]),_:2},1032,["to","class","title"])])]),_:2},1024)]))),128))])):(u(),c("div",le,i(e.$t("commons.no_result")),1)),n(M,{isVisible:m(f)&&m(v).length===0},null,8,["isVisible"]),n(z,{showButtons:!0},{default:p(()=>[n(l,{returnTo:{name:m(A)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{he as default};

View File

@ -1 +1 @@
import{u as z,a7 as A,a as L,a8 as M,r as k,x as U,o as H,s as I,I as b,a0 as j,d as c,j as r,e as s,k as v,L as E,l as _,m as h,f as t,t as a,i as g,w as K,g as C,F as R,D as J,U as P,n as q,p as G,H as u}from"./app-CHfzlEYn.js";import{_ as Q}from"./SettingTabs-DsTQLjlN.js";import{w as X}from"./webauthnService-CesnZeMg.js";import{S as Y}from"./Spinner-DsqWo4iz.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const Z={class:"options-tabs"},ee={key:0,class:"notification is-warning has-text-centered"},te=["innerHTML"],se={class:"title is-4 has-text-grey-light"},ne={class:"is-size-7-mobile"},ae={class:"mt-3"},oe={key:2,class:"field"},ie=["onClick","title"],re={class:"mt-2 is-size-7 is-pulled-right"},ue={class:"title is-4 pt-6 has-text-grey-light"},le={class:"field"},me={__name:"WebAuthn",setup(ce){const x=E("2fauth"),o=z(),y=A(),n=L(),S=G(),W=M(x.prefix+"returnTo","accounts"),i=k([]),f=k(!1),p=U(()=>y.enableSso&&y.useSsoOnly||o.authenticated_by_proxy);H(()=>{V()}),I(()=>o.preferences.useWebauthnOnly,()=>{b.updatePreference("useWebauthnOnly",o.preferences.useWebauthnOnly).then(e=>{n.success({text:u("settings.forms.setting_saved")})})});function w(){if(p.value==!0)return n.warn({text:u("errors.unsupported_with_reverseproxy")}),!1;X.register().then(e=>{S.push({name:"settings.webauthn.editCredential",params:{credentialId:JSON.parse(e.config.data).id}})}).catch(e=>{var l;"webauthn"in e?e.name=="is-warning"?n.warn({text:u(e.message)}):n.alert({text:u(e.message)}):((l=e.response)==null?void 0:l.status)===422?n.alert({text:e.response.data.message}):n.error(e)})}function $(e){confirm(u("auth.confirm.revoke_device"))&&b.revokeWebauthnDevice(e).then(l=>{i.value=i.value.filter(m=>m.id!==e),i.value.length==0&&(o.preferences.useWebauthnOnly=!1),n.success({text:u("auth.webauthn.device_revoked")})})}function F(e){return e.alias?e.alias:u("auth.webauthn.my_device")+" (#"+e.id.substring(0,10)+")"}function V(){f.value=!0,b.getWebauthnDevices({returnError:!0}).then(e=>{i.value=e.data}).catch(e=>{e.response.status===405||n.error(e)}).finally(()=>{f.value=!1})}return j(e=>{e.name.startsWith("settings.")||n.clear()}),(e,l)=>{const m=_("FontAwesomeIcon"),B=_("FormCheckbox"),O=_("ButtonBackCloseCancel"),N=_("VueFooter"),T=_("FormWrapper");return h(),c("div",null,[r(Q,{activeTab:"settings.webauthn.devices"}),s("div",Z,[r(T,null,{default:v(()=>[t(p)&&t(o).oauth_provider?(h(),c("div",ee,a(e.$t("auth.sso_only_x_settings_are_disabled",{auth_method:"WebAuthn"})),1)):g("",!0),t(p)&&t(o).authenticated_by_proxy?(h(),c("div",{key:1,class:"notification is-warning has-text-centered",innerHTML:e.$t("auth.auth_handled_by_proxy")},null,8,te)):g("",!0),s("h4",se,a(e.$t("auth.webauthn.security_devices")),1),s("div",ne,a(e.$t("auth.webauthn.security_devices_legend")),1),s("div",ae,[s("a",{tabindex:"0",onClick:w,onKeyup:K(w,["enter"])},[r(m,{icon:["fas","plus-circle"]}),C(" "+a(e.$t("auth.webauthn.register_a_new_device")),1)],32)]),t(i).length>0?(h(),c("div",oe,[(h(!0),c(R,null,J(t(i),d=>(h(),c("div",{key:d.id,class:"group-item is-size-5 is-size-6-mobile"},[C(a(F(d))+" ",1),r(t(P),null,{default:v(({mode:D})=>[s("button",{type:"button",class:q(["button tag is-pulled-right",D==="dark"?"is-dark":"is-white"]),onClick:he=>$(d.id),title:e.$t("settings.revoke")},a(e.$t("settings.revoke")),11,ie)]),_:2},1024)]))),128)),s("div",re,a(e.$t("auth.webauthn.revoking_a_device_is_permanent")),1)])):g("",!0),r(Y,{isVisible:t(f)&&t(i).length===0},null,8,["isVisible"]),s("h4",ue,a(e.$t("auth.webauthn.options")),1),s("div",le,a(e.$t("auth.webauthn.need_a_security_device_to_enable_options")),1),s("form",null,[r(B,{modelValue:t(o).preferences.useWebauthnOnly,"onUpdate:modelValue":l[0]||(l[0]=d=>t(o).preferences.useWebauthnOnly=d),fieldName:"useWebauthnOnly",label:"auth.webauthn.use_webauthn_only.label",help:"auth.webauthn.use_webauthn_only.help",isDisabled:t(p)||t(i).length===0},null,8,["modelValue","isDisabled"])]),r(N,{showButtons:!0},{default:v(()=>[r(O,{returnTo:{name:t(W)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{me as default};
import{u as z,a7 as A,a as L,a8 as M,r as k,x as U,o as H,s as I,I as b,a6 as j,d as c,j as r,e as s,k as v,L as E,l as _,m as h,f as t,t as a,i as g,w as K,g as C,F as R,D as J,U as P,n as q,p as G,H as u}from"./app-C-TXXRMB.js";import{_ as Q}from"./SettingTabs-BysT6mJ4.js";import{w as X}from"./webauthnService-BqpJay0B.js";import{S as Y}from"./Spinner-BT_p7WbT.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const Z={class:"options-tabs"},ee={key:0,class:"notification is-warning has-text-centered"},te=["innerHTML"],se={class:"title is-4 has-text-grey-light"},ne={class:"is-size-7-mobile"},ae={class:"mt-3"},oe={key:2,class:"field"},ie=["onClick","title"],re={class:"mt-2 is-size-7 is-pulled-right"},ue={class:"title is-4 pt-6 has-text-grey-light"},le={class:"field"},me={__name:"WebAuthn",setup(ce){const x=E("2fauth"),o=z(),y=A(),n=L(),S=G(),W=M(x.prefix+"returnTo","accounts"),i=k([]),f=k(!1),p=U(()=>y.enableSso&&y.useSsoOnly||o.authenticated_by_proxy);H(()=>{V()}),I(()=>o.preferences.useWebauthnOnly,()=>{b.updatePreference("useWebauthnOnly",o.preferences.useWebauthnOnly).then(e=>{n.success({text:u("settings.forms.setting_saved")})})});function w(){if(p.value==!0)return n.warn({text:u("errors.unsupported_with_reverseproxy")}),!1;X.register().then(e=>{S.push({name:"settings.webauthn.editCredential",params:{credentialId:JSON.parse(e.config.data).id}})}).catch(e=>{var l;"webauthn"in e?e.name=="is-warning"?n.warn({text:u(e.message)}):n.alert({text:u(e.message)}):((l=e.response)==null?void 0:l.status)===422?n.alert({text:e.response.data.message}):n.error(e)})}function $(e){confirm(u("auth.confirm.revoke_device"))&&b.revokeWebauthnDevice(e).then(l=>{i.value=i.value.filter(m=>m.id!==e),i.value.length==0&&(o.preferences.useWebauthnOnly=!1),n.success({text:u("auth.webauthn.device_revoked")})})}function F(e){return e.alias?e.alias:u("auth.webauthn.my_device")+" (#"+e.id.substring(0,10)+")"}function V(){f.value=!0,b.getWebauthnDevices({returnError:!0}).then(e=>{i.value=e.data}).catch(e=>{e.response.status===403||n.error(e)}).finally(()=>{f.value=!1})}return j(e=>{e.name.startsWith("settings.")||n.clear()}),(e,l)=>{const m=_("FontAwesomeIcon"),B=_("FormCheckbox"),O=_("ButtonBackCloseCancel"),N=_("VueFooter"),T=_("FormWrapper");return h(),c("div",null,[r(Q,{activeTab:"settings.webauthn.devices"}),s("div",Z,[r(T,null,{default:v(()=>[t(p)&&t(o).oauth_provider?(h(),c("div",ee,a(e.$t("auth.sso_only_x_settings_are_disabled",{auth_method:"WebAuthn"})),1)):g("",!0),t(p)&&t(o).authenticated_by_proxy?(h(),c("div",{key:1,class:"notification is-warning has-text-centered",innerHTML:e.$t("auth.auth_handled_by_proxy")},null,8,te)):g("",!0),s("h4",se,a(e.$t("auth.webauthn.security_devices")),1),s("div",ne,a(e.$t("auth.webauthn.security_devices_legend")),1),s("div",ae,[s("a",{tabindex:"0",onClick:w,onKeyup:K(w,["enter"])},[r(m,{icon:["fas","plus-circle"]}),C(" "+a(e.$t("auth.webauthn.register_a_new_device")),1)],32)]),t(i).length>0?(h(),c("div",oe,[(h(!0),c(R,null,J(t(i),d=>(h(),c("div",{key:d.id,class:"group-item is-size-5 is-size-6-mobile"},[C(a(F(d))+" ",1),r(t(P),null,{default:v(({mode:D})=>[s("button",{type:"button",class:q(["button tag is-pulled-right",D==="dark"?"is-dark":"is-white"]),onClick:he=>$(d.id),title:e.$t("settings.revoke")},a(e.$t("settings.revoke")),11,ie)]),_:2},1024)]))),128)),s("div",re,a(e.$t("auth.webauthn.revoking_a_device_is_permanent")),1)])):g("",!0),r(Y,{isVisible:t(f)&&t(i).length===0},null,8,["isVisible"]),s("h4",ue,a(e.$t("auth.webauthn.options")),1),s("div",le,a(e.$t("auth.webauthn.need_a_security_device_to_enable_options")),1),s("form",null,[r(B,{modelValue:t(o).preferences.useWebauthnOnly,"onUpdate:modelValue":l[0]||(l[0]=d=>t(o).preferences.useWebauthnOnly=d),fieldName:"useWebauthnOnly",label:"auth.webauthn.use_webauthn_only.label",help:"auth.webauthn.use_webauthn_only.help",isDisabled:t(p)||t(i).length===0},null,8,["modelValue","isDisabled"])]),r(N,{showButtons:!0},{default:v(()=>[r(O,{returnTo:{name:t(W)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{me as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{aa as u,a,H as i}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */async function c(n,e,o=!1){let s=null,r=null;return await u.update(n,e,{returnError:!0}).then(t=>{s=e,a().success({type:"is-success",text:i("settings.forms.setting_saved")})}).catch(t=>{o&&t.response.status===422?r=t:a().error(t)}),{data:s,error:r}}export{c as u};
import{aa as u,a,H as i}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */async function c(n,e,o=!1){let s=null,r=null;return await u.update(n,e,{returnError:!0}).then(t=>{s=e,a().success({type:"is-success",text:i("settings.forms.setting_saved")})}).catch(t=>{o&&t.response.status===422?r=t:a().error(t)}),{data:s,error:r}}export{c as u};

View File

@ -1 +1 @@
import{a2 as e}from"./app-CHfzlEYn.js";/*! 2FAuth version 5.5.2 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const r=e({id:"bus",state:()=>({migrationUri:null,decodedUri:null,inManagementMode:!1,editedGroupName:null,username:null}),actions:{}});export{r as u};
import{a1 as e}from"./app-C-TXXRMB.js";/*! 2FAuth version 5.6.0 - Copyright (c) 2025 Bubka - https://github.com/Bubka/2FAuth */const r=e({id:"bus",state:()=>({migrationUri:null,decodedUri:null,inManagementMode:!1,editedGroupName:null,username:null}),actions:{}});export{r as u};

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

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

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

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

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

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

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

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

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

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

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

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,100 +1,100 @@
{
"_AccessLogViewer-MtGhjv0z.js": {
"file": "assets/AccessLogViewer-MtGhjv0z.js",
"_AccessLogViewer-Cz8X2wgi.js": {
"file": "assets/AccessLogViewer-Cz8X2wgi.js",
"name": "AccessLogViewer",
"imports": [
"_SearchBox-DvMvL2WF.js",
"_SearchBox-CVEgsETw.js",
"resources/js/app.js",
"_Spinner-DsqWo4iz.js"
"_Spinner-BT_p7WbT.js"
]
},
"_AdminTabs-CkgljzOj.js": {
"file": "assets/AdminTabs-CkgljzOj.js",
"_AdminTabs-CC7yX8RP.js": {
"file": "assets/AdminTabs-CC7yX8RP.js",
"name": "AdminTabs",
"imports": [
"resources/js/app.js"
]
},
"_CopyButton-CPONgvnd.js": {
"file": "assets/CopyButton-CPONgvnd.js",
"_CopyButton-CrCBtCKV.js": {
"file": "assets/CopyButton-CrCBtCKV.js",
"name": "CopyButton",
"imports": [
"resources/js/app.js"
]
},
"_Form-CHRdNHWn.js": {
"file": "assets/Form-CHRdNHWn.js",
"_Form-DA3Xo5om.js": {
"file": "assets/Form-DA3Xo5om.js",
"name": "Form",
"imports": [
"resources/js/app.js"
]
},
"_OtpDisplay-DDzgDC7G.js": {
"file": "assets/OtpDisplay-DDzgDC7G.js",
"_OtpDisplay-gZC30mYX.js": {
"file": "assets/OtpDisplay-gZC30mYX.js",
"name": "OtpDisplay",
"imports": [
"resources/js/app.js",
"_Spinner-DsqWo4iz.js"
"_Spinner-BT_p7WbT.js"
]
},
"_QrContentDisplay-CjFn1ZlL.js": {
"file": "assets/QrContentDisplay-CjFn1ZlL.js",
"_QrContentDisplay-YX1scEMy.js": {
"file": "assets/QrContentDisplay-YX1scEMy.js",
"name": "QrContentDisplay",
"imports": [
"resources/js/app.js"
]
},
"_SearchBox-DvMvL2WF.js": {
"file": "assets/SearchBox-DvMvL2WF.js",
"_SearchBox-CVEgsETw.js": {
"file": "assets/SearchBox-CVEgsETw.js",
"name": "SearchBox",
"imports": [
"resources/js/app.js"
]
},
"_SettingTabs-DsTQLjlN.js": {
"file": "assets/SettingTabs-DsTQLjlN.js",
"_SettingTabs-BysT6mJ4.js": {
"file": "assets/SettingTabs-BysT6mJ4.js",
"name": "SettingTabs",
"imports": [
"resources/js/app.js"
]
},
"_Spinner-!~{00R}~.js": {
"file": "assets/Spinner-0GbcNnK1.css",
"src": "_Spinner-!~{00R}~.js"
"_Spinner-!~{00S}~.js": {
"file": "assets/Spinner--6H_UWmB.css",
"src": "_Spinner-!~{00S}~.js"
},
"_Spinner-DsqWo4iz.js": {
"file": "assets/Spinner-DsqWo4iz.js",
"_Spinner-BT_p7WbT.js": {
"file": "assets/Spinner-BT_p7WbT.js",
"name": "Spinner",
"imports": [
"resources/js/app.js"
],
"css": [
"assets/Spinner-0GbcNnK1.css"
"assets/Spinner--6H_UWmB.css"
]
},
"_appSettingsUpdater-RCNNzfpg.js": {
"file": "assets/appSettingsUpdater-RCNNzfpg.js",
"_appSettingsUpdater-CWmdsYaU.js": {
"file": "assets/appSettingsUpdater-CWmdsYaU.js",
"name": "appSettingsUpdater",
"imports": [
"resources/js/app.js"
]
},
"_bus-CkBASysr.js": {
"file": "assets/bus-CkBASysr.js",
"_bus-Dw6NpmB-.js": {
"file": "assets/bus-Dw6NpmB-.js",
"name": "bus",
"imports": [
"resources/js/app.js"
]
},
"_webauthnService-CesnZeMg.js": {
"file": "assets/webauthnService-CesnZeMg.js",
"_webauthnService-BqpJay0B.js": {
"file": "assets/webauthnService-BqpJay0B.js",
"name": "webauthnService",
"imports": [
"resources/js/app.js"
]
},
"resources/js/app.js": {
"file": "assets/app-CHfzlEYn.js",
"file": "assets/app-C-TXXRMB.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true,
@ -132,6 +132,7 @@
"resources/js/views/Error.vue",
"resources/lang/php_ar.json",
"resources/lang/php_bg.json",
"resources/lang/php_ca.json",
"resources/lang/php_da.json",
"resources/lang/php_de.json",
"resources/lang/php_en.json",
@ -159,7 +160,7 @@
]
},
"resources/js/views/About.vue": {
"file": "assets/About-Carv2a73.js",
"file": "assets/About-BpPbvhRl.js",
"name": "About",
"src": "resources/js/views/About.vue",
"isDynamicEntry": true,
@ -168,7 +169,7 @@
]
},
"resources/js/views/Error.vue": {
"file": "assets/Error-AN0NqHsG.js",
"file": "assets/Error-BsXv9O1U.js",
"name": "Error",
"src": "resources/js/views/Error.vue",
"isDynamicEntry": true,
@ -177,413 +178,419 @@
]
},
"resources/js/views/Start.vue": {
"file": "assets/Start-Bfm6imYn.js",
"file": "assets/Start-DqAerZfV.js",
"name": "Start",
"src": "resources/js/views/Start.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_bus-CkBASysr.js"
"_Form-DA3Xo5om.js",
"_bus-Dw6NpmB-.js"
]
},
"resources/js/views/admin/AppSetup.vue": {
"file": "assets/AppSetup-CvfomQal.js",
"file": "assets/AppSetup-C2BMjkZN.js",
"name": "AppSetup",
"src": "resources/js/views/admin/AppSetup.vue",
"isDynamicEntry": true,
"imports": [
"_AdminTabs-CkgljzOj.js",
"_AdminTabs-CC7yX8RP.js",
"resources/js/app.js",
"_appSettingsUpdater-RCNNzfpg.js",
"_CopyButton-CPONgvnd.js"
"_appSettingsUpdater-CWmdsYaU.js",
"_CopyButton-CrCBtCKV.js"
]
},
"resources/js/views/admin/Auth.vue": {
"file": "assets/Auth-C1areY2b.js",
"file": "assets/Auth-CdHBvSiC.js",
"name": "Auth",
"src": "resources/js/views/admin/Auth.vue",
"isDynamicEntry": true,
"imports": [
"_AdminTabs-CkgljzOj.js",
"_AdminTabs-CC7yX8RP.js",
"resources/js/app.js",
"_appSettingsUpdater-RCNNzfpg.js"
"_appSettingsUpdater-CWmdsYaU.js"
]
},
"resources/js/views/admin/Users.vue": {
"file": "assets/Users-tCQYftOs.js",
"file": "assets/Users-D57yVRNG.js",
"name": "Users",
"src": "resources/js/views/admin/Users.vue",
"isDynamicEntry": true,
"imports": [
"_AdminTabs-CkgljzOj.js",
"_AdminTabs-CC7yX8RP.js",
"resources/js/app.js",
"_Spinner-DsqWo4iz.js",
"_SearchBox-DvMvL2WF.js"
"_Spinner-BT_p7WbT.js",
"_SearchBox-CVEgsETw.js"
]
},
"resources/js/views/admin/logs/Access.vue": {
"file": "assets/Access-DdRl96PF.js",
"file": "assets/Access-DlpMib9y.js",
"name": "Access",
"src": "resources/js/views/admin/logs/Access.vue",
"isDynamicEntry": true,
"imports": [
"_AccessLogViewer-MtGhjv0z.js",
"_AccessLogViewer-Cz8X2wgi.js",
"resources/js/app.js",
"_bus-CkBASysr.js",
"_SearchBox-DvMvL2WF.js",
"_Spinner-DsqWo4iz.js"
"_bus-Dw6NpmB-.js",
"_SearchBox-CVEgsETw.js",
"_Spinner-BT_p7WbT.js"
]
},
"resources/js/views/admin/users/Create.vue": {
"file": "assets/Create-BKdXP8i7.js",
"file": "assets/Create-BC9X0ZEj.js",
"name": "Create",
"src": "resources/js/views/admin/users/Create.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js"
"_Form-DA3Xo5om.js"
]
},
"resources/js/views/admin/users/Manage.vue": {
"file": "assets/Manage-DNyEC6iA.js",
"file": "assets/Manage-BTMz8qQ3.js",
"name": "Manage",
"src": "resources/js/views/admin/users/Manage.vue",
"isDynamicEntry": true,
"imports": [
"_CopyButton-CPONgvnd.js",
"_AccessLogViewer-MtGhjv0z.js",
"_CopyButton-CrCBtCKV.js",
"_AccessLogViewer-Cz8X2wgi.js",
"resources/js/app.js",
"_bus-CkBASysr.js",
"_SearchBox-DvMvL2WF.js",
"_Spinner-DsqWo4iz.js"
"_bus-Dw6NpmB-.js",
"_SearchBox-CVEgsETw.js",
"_Spinner-BT_p7WbT.js"
]
},
"resources/js/views/auth/Login.vue": {
"file": "assets/Login-DZJ3kOqt.js",
"file": "assets/Login-D3SXCqQw.js",
"name": "Login",
"src": "resources/js/views/auth/Login.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_webauthnService-CesnZeMg.js"
"_Form-DA3Xo5om.js",
"_webauthnService-BqpJay0B.js"
]
},
"resources/js/views/auth/Register.vue": {
"file": "assets/Register-CJTNoWci.js",
"file": "assets/Register-B5uDa2ha.js",
"name": "Register",
"src": "resources/js/views/auth/Register.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_webauthnService-CesnZeMg.js"
"_Form-DA3Xo5om.js",
"_webauthnService-BqpJay0B.js"
]
},
"resources/js/views/auth/RequestReset.vue": {
"file": "assets/RequestReset-Bi0kg2aX.js",
"file": "assets/RequestReset-CDwVs2EJ.js",
"name": "RequestReset",
"src": "resources/js/views/auth/RequestReset.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js"
"_Form-DA3Xo5om.js"
]
},
"resources/js/views/auth/password/Reset.vue": {
"file": "assets/Reset-B3YiajaO.js",
"file": "assets/Reset-BvqEV8kG.js",
"name": "Reset",
"src": "resources/js/views/auth/password/Reset.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js"
"_Form-DA3Xo5om.js"
]
},
"resources/js/views/auth/webauthn/Recover.vue": {
"file": "assets/Recover-uWVvFREE.js",
"file": "assets/Recover-DBmKK1fS.js",
"name": "Recover",
"src": "resources/js/views/auth/webauthn/Recover.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js"
"_Form-DA3Xo5om.js"
]
},
"resources/js/views/groups/CreateUpdate.vue": {
"file": "assets/CreateUpdate-BAKc6f8V.js",
"file": "assets/CreateUpdate-W8jOOJzl.js",
"name": "CreateUpdate",
"src": "resources/js/views/groups/CreateUpdate.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_bus-CkBASysr.js"
"_Form-DA3Xo5om.js",
"_bus-Dw6NpmB-.js"
]
},
"resources/js/views/groups/Groups.vue": {
"file": "assets/Groups-CyhZ5dse.js",
"file": "assets/Groups-BvrxEk_r.js",
"name": "Groups",
"src": "resources/js/views/groups/Groups.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_bus-CkBASysr.js"
"_bus-Dw6NpmB-.js"
]
},
"resources/js/views/settings/Account.vue": {
"file": "assets/Account-CNljNTbq.js",
"file": "assets/Account-ykm635if.js",
"name": "Account",
"src": "resources/js/views/settings/Account.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_SettingTabs-DsTQLjlN.js"
"_Form-DA3Xo5om.js",
"_SettingTabs-BysT6mJ4.js"
]
},
"resources/js/views/settings/Credentials/Edit.vue": {
"file": "assets/Edit-KrdrSkuF.js",
"file": "assets/Edit-CEfRpyDX.js",
"name": "Edit",
"src": "resources/js/views/settings/Credentials/Edit.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js"
"_Form-DA3Xo5om.js"
]
},
"resources/js/views/settings/OAuth.vue": {
"file": "assets/OAuth-Orr33mg1.js",
"file": "assets/OAuth-DFyf_y6G.js",
"name": "OAuth",
"src": "resources/js/views/settings/OAuth.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_SettingTabs-DsTQLjlN.js",
"_Spinner-DsqWo4iz.js"
"_Form-DA3Xo5om.js",
"_SettingTabs-BysT6mJ4.js",
"_Spinner-BT_p7WbT.js"
]
},
"resources/js/views/settings/Options.vue": {
"file": "assets/Options-DNO1GOJu.js",
"file": "assets/Options-CnehQEvA.js",
"name": "Options",
"src": "resources/js/views/settings/Options.vue",
"isDynamicEntry": true,
"imports": [
"_SettingTabs-DsTQLjlN.js",
"_SettingTabs-BysT6mJ4.js",
"resources/js/app.js"
]
},
"resources/js/views/settings/WebAuthn.vue": {
"file": "assets/WebAuthn-CyJwWuAO.js",
"file": "assets/WebAuthn-BFhBaNh0.js",
"name": "WebAuthn",
"src": "resources/js/views/settings/WebAuthn.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_SettingTabs-DsTQLjlN.js",
"_webauthnService-CesnZeMg.js",
"_Spinner-DsqWo4iz.js"
"_SettingTabs-BysT6mJ4.js",
"_webauthnService-BqpJay0B.js",
"_Spinner-BT_p7WbT.js"
]
},
"resources/js/views/twofaccounts/Accounts.vue": {
"file": "assets/Accounts-CRqui7u5.js",
"file": "assets/Accounts-4VZEl-kZ.js",
"name": "Accounts",
"src": "resources/js/views/twofaccounts/Accounts.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_OtpDisplay-DDzgDC7G.js",
"_SearchBox-DvMvL2WF.js",
"_bus-CkBASysr.js",
"_Spinner-DsqWo4iz.js"
"_OtpDisplay-gZC30mYX.js",
"_SearchBox-CVEgsETw.js",
"_bus-Dw6NpmB-.js",
"_Spinner-BT_p7WbT.js"
]
},
"resources/js/views/twofaccounts/Capture.vue": {
"file": "assets/Capture-CaGlW4lM.js",
"file": "assets/Capture-BHMeCqbA.js",
"name": "Capture",
"src": "resources/js/views/twofaccounts/Capture.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_Spinner-DsqWo4iz.js",
"_QrContentDisplay-CjFn1ZlL.js",
"_bus-CkBASysr.js"
"_Form-DA3Xo5om.js",
"_Spinner-BT_p7WbT.js",
"_QrContentDisplay-YX1scEMy.js",
"_bus-Dw6NpmB-.js"
]
},
"resources/js/views/twofaccounts/CreateUpdate.vue": {
"file": "assets/CreateUpdate-CvQXdTW4.js",
"file": "assets/CreateUpdate-Cg-Y71KX.js",
"name": "CreateUpdate",
"src": "resources/js/views/twofaccounts/CreateUpdate.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_OtpDisplay-DDzgDC7G.js",
"_QrContentDisplay-CjFn1ZlL.js",
"_bus-CkBASysr.js",
"_Spinner-DsqWo4iz.js"
"_Form-DA3Xo5om.js",
"_OtpDisplay-gZC30mYX.js",
"_QrContentDisplay-YX1scEMy.js",
"_bus-Dw6NpmB-.js",
"_Spinner-BT_p7WbT.js"
]
},
"resources/js/views/twofaccounts/Import.vue": {
"file": "assets/Import-DyXK9JdS.js",
"file": "assets/Import-DFyG_bkU.js",
"name": "Import",
"src": "resources/js/views/twofaccounts/Import.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Form-CHRdNHWn.js",
"_OtpDisplay-DDzgDC7G.js",
"_Spinner-DsqWo4iz.js",
"_bus-CkBASysr.js"
"_Form-DA3Xo5om.js",
"_OtpDisplay-gZC30mYX.js",
"_Spinner-BT_p7WbT.js",
"_bus-Dw6NpmB-.js"
]
},
"resources/js/views/twofaccounts/QRcode.vue": {
"file": "assets/QRcode-DVBqM2he.js",
"file": "assets/QRcode-J3qkPRso.js",
"name": "QRcode",
"src": "resources/js/views/twofaccounts/QRcode.vue",
"isDynamicEntry": true,
"imports": [
"resources/js/app.js",
"_Spinner-DsqWo4iz.js"
"_Spinner-BT_p7WbT.js"
]
},
"resources/lang/php_ar.json": {
"file": "assets/php_ar-B4gC6El6.js",
"file": "assets/php_ar-CNlC3sGH.js",
"name": "php_ar",
"src": "resources/lang/php_ar.json",
"isDynamicEntry": true
},
"resources/lang/php_bg.json": {
"file": "assets/php_bg-BwoET91B.js",
"file": "assets/php_bg-QLtZ7fBk.js",
"name": "php_bg",
"src": "resources/lang/php_bg.json",
"isDynamicEntry": true
},
"resources/lang/php_ca.json": {
"file": "assets/php_ca-CgdvWozC.js",
"name": "php_ca",
"src": "resources/lang/php_ca.json",
"isDynamicEntry": true
},
"resources/lang/php_da.json": {
"file": "assets/php_da-CBoZFJOI.js",
"file": "assets/php_da-BbwxlYeb.js",
"name": "php_da",
"src": "resources/lang/php_da.json",
"isDynamicEntry": true
},
"resources/lang/php_de.json": {
"file": "assets/php_de-BKBUkbo5.js",
"file": "assets/php_de-_XIhRshH.js",
"name": "php_de",
"src": "resources/lang/php_de.json",
"isDynamicEntry": true
},
"resources/lang/php_en.json": {
"file": "assets/php_en-BRPbMoIL.js",
"file": "assets/php_en-BPbBJZ82.js",
"name": "php_en",
"src": "resources/lang/php_en.json",
"isDynamicEntry": true
},
"resources/lang/php_es-ES.json": {
"file": "assets/php_es-ES-DaxZm5Z3.js",
"file": "assets/php_es-ES-CdFFcNdT.js",
"name": "php_es-ES",
"src": "resources/lang/php_es-ES.json",
"isDynamicEntry": true
},
"resources/lang/php_fr.json": {
"file": "assets/php_fr-HimiguPy.js",
"file": "assets/php_fr-B84-XA6N.js",
"name": "php_fr",
"src": "resources/lang/php_fr.json",
"isDynamicEntry": true
},
"resources/lang/php_hi.json": {
"file": "assets/php_hi-09sOK8W_.js",
"file": "assets/php_hi-CPuHC-MY.js",
"name": "php_hi",
"src": "resources/lang/php_hi.json",
"isDynamicEntry": true
},
"resources/lang/php_id.json": {
"file": "assets/php_id-DQvA2IoN.js",
"file": "assets/php_id-CngXseuQ.js",
"name": "php_id",
"src": "resources/lang/php_id.json",
"isDynamicEntry": true
},
"resources/lang/php_it.json": {
"file": "assets/php_it-BQuhtHjR.js",
"file": "assets/php_it-Cz77HCi3.js",
"name": "php_it",
"src": "resources/lang/php_it.json",
"isDynamicEntry": true
},
"resources/lang/php_ja.json": {
"file": "assets/php_ja-DtNl8jhE.js",
"file": "assets/php_ja-C9D5LMMz.js",
"name": "php_ja",
"src": "resources/lang/php_ja.json",
"isDynamicEntry": true
},
"resources/lang/php_ko.json": {
"file": "assets/php_ko-fa6N_Nts.js",
"file": "assets/php_ko-C-ISo24C.js",
"name": "php_ko",
"src": "resources/lang/php_ko.json",
"isDynamicEntry": true
},
"resources/lang/php_nl.json": {
"file": "assets/php_nl-DXdL-jm2.js",
"file": "assets/php_nl-Bi_cUPrE.js",
"name": "php_nl",
"src": "resources/lang/php_nl.json",
"isDynamicEntry": true
},
"resources/lang/php_pl.json": {
"file": "assets/php_pl-BXOC1HLX.js",
"file": "assets/php_pl-D5ECw2m1.js",
"name": "php_pl",
"src": "resources/lang/php_pl.json",
"isDynamicEntry": true
},
"resources/lang/php_pt-BR.json": {
"file": "assets/php_pt-BR-CgoWeh8r.js",
"file": "assets/php_pt-BR-DZ6AFqRb.js",
"name": "php_pt-BR",
"src": "resources/lang/php_pt-BR.json",
"isDynamicEntry": true
},
"resources/lang/php_pt-PT.json": {
"file": "assets/php_pt-PT-Cm8f3G6k.js",
"file": "assets/php_pt-PT-CTfZWz_6.js",
"name": "php_pt-PT",
"src": "resources/lang/php_pt-PT.json",
"isDynamicEntry": true
},
"resources/lang/php_ro.json": {
"file": "assets/php_ro-DfuRDqV7.js",
"file": "assets/php_ro-B88EpntL.js",
"name": "php_ro",
"src": "resources/lang/php_ro.json",
"isDynamicEntry": true
},
"resources/lang/php_ru.json": {
"file": "assets/php_ru-KclIML-b.js",
"file": "assets/php_ru-d3cA-yyj.js",
"name": "php_ru",
"src": "resources/lang/php_ru.json",
"isDynamicEntry": true
},
"resources/lang/php_si.json": {
"file": "assets/php_si-BZhJ3cJP.js",
"file": "assets/php_si-BNQl0FDN.js",
"name": "php_si",
"src": "resources/lang/php_si.json",
"isDynamicEntry": true
},
"resources/lang/php_tr.json": {
"file": "assets/php_tr-B61bvTuE.js",
"file": "assets/php_tr-Bn1UcZmg.js",
"name": "php_tr",
"src": "resources/lang/php_tr.json",
"isDynamicEntry": true
},
"resources/lang/php_uk.json": {
"file": "assets/php_uk-B_nWLvVW.js",
"file": "assets/php_uk-D0iCXyFh.js",
"name": "php_uk",
"src": "resources/lang/php_uk.json",
"isDynamicEntry": true
},
"resources/lang/php_zh-CN.json": {
"file": "assets/php_zh-CN-8q9JMNYr.js",
"file": "assets/php_zh-CN-B7movxgh.js",
"name": "php_zh-CN",
"src": "resources/lang/php_zh-CN.json",
"isDynamicEntry": true
},
"resources/lang/php_zh-TW.json": {
"file": "assets/php_zh-TW-Y6sXWdJ2.js",
"file": "assets/php_zh-TW-E48_xRbO.js",
"name": "php_zh-TW",
"src": "resources/lang/php_zh-TW.json",
"isDynamicEntry": true