mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-24 17:23:54 +01:00
Rebuild assets
This commit is contained in:
parent
e49556d787
commit
767f5f46c2
@ -1 +1 @@
|
||||
import{R as b,u as k,e as i,f as g,k as C,p as r,h as s,t,m as o,n as c,j as e,i as h,U as u}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const B={class:"title has-text-grey-dark"},F={class:"block"},A=s("span",{class:"is-size-5"},"2FAuth",-1),w=s("br",null,null,-1),y=s("img",{class:"about-logo",src:"logo.svg",alt:"2FAuth logo"},null,-1),v=s("p",{class:"block"},[e(" ©Bubka "),s("a",{class:"is-size-7",href:"https://github.com/Bubka/2FAuth/blob/master/LICENSE"},"AGPL-3.0 license")],-1),I={class:"title is-5 has-text-grey-light"},L={class:"buttons"},$={class:"icon is-small"},S=s("span",null,"Github",-1),T={class:"icon is-small"},V=s("span",null,"Docs",-1),z={class:"icon is-small"},N=s("span",null,"Demo",-1),D={class:"icon is-small"},E=s("span",null,"API",-1),R={class:"title is-5 has-text-grey-light"},W={class:"block"},j=s("a",{href:"https://docs.2fauth.app/credits/"},"Laravel, Bulma CSS, Vue.js and more",-1),M=s("a",{href:"https://fontawesome.com/"},"Font Awesome",-1),x=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),G=s("a",{href:"https://2fa.directory/"},"2FA Directory",-1),P=s("a",{class:"is-size-7",href:"https://github.com/2factorauth/twofactorauth/blob/master/LICENSE.md"},"(MIT License)",-1),H={__name:"About",setup(U){const _=b("2fauth"),d=k().options.history.state.back;return(a,Y)=>{const l=i("FontAwesomeIcon"),p=i("ButtonBackCloseCancel"),m=i("VueFooter"),f=i("ResponsiveWidthWrapper");return g(),C(f,null,{default:r(()=>[s("h1",B,t(a.$t("commons.about")),1),s("p",F,[o(h(u),null,{default:r(({mode:n})=>[s("span",{class:c(n=="dark"?"has-text-white":"has-text-black")},[A,e(" v"+t(h(_).version),1)],2)]),_:1}),w,e(" "+t(a.$t("commons.2fauth_teaser")),1)]),y,v,s("h2",I,t(a.$t("commons.resources")),1),s("div",L,[o(h(u),null,{default:r(({mode:n})=>[s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://github.com/Bubka/2FAuth",target:"_blank"},[s("span",$,[o(l,{icon:["fab","github-alt"]})]),S],2),s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://docs.2fauth.app/",target:"_blank"},[s("span",T,[o(l,{icon:["fas","book"]})]),V],2),s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://demo.2fauth.app/",target:"_blank"},[s("span",z,[o(l,{icon:["fas","flask"]})]),N],2),s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://docs.2fauth.app/resources/rapidoc.html",target:"_blank"},[s("span",D,[o(l,{icon:["fas","code"]})]),E],2)]),_:1})]),s("h2",R,t(a.$t("commons.credits")),1),s("p",W,[s("ul",null,[s("li",null,[e(t(a.$t("commons.made_with"))+" ",1),j]),s("li",null,[e(t(a.$t("commons.ui_icons_by"))+" ",1),M,e(" "),x]),s("li",null,[e(t(a.$t("commons.logos_by"))+" ",1),G,e(" "),P])])]),o(m,{showButtons:!0},{default:r(()=>[o(p,{returnTo:{path:h(d)},action:"back"},null,8,["returnTo"])]),_:1})]),_:1})}}};export{H as default};
|
||||
import{R as b,u as k,e as i,f as g,k as C,p as r,h as s,t,m as o,n as c,j as e,i as h,U as u}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const B={class:"title has-text-grey-dark"},F={class:"block"},A=s("span",{class:"is-size-5"},"2FAuth",-1),w=s("br",null,null,-1),y=s("img",{class:"about-logo",src:"logo.svg",alt:"2FAuth logo"},null,-1),v=s("p",{class:"block"},[e(" ©Bubka "),s("a",{class:"is-size-7",href:"https://github.com/Bubka/2FAuth/blob/master/LICENSE"},"AGPL-3.0 license")],-1),I={class:"title is-5 has-text-grey-light"},L={class:"buttons"},$={class:"icon is-small"},S=s("span",null,"Github",-1),T={class:"icon is-small"},V=s("span",null,"Docs",-1),z={class:"icon is-small"},N=s("span",null,"Demo",-1),D={class:"icon is-small"},E=s("span",null,"API",-1),R={class:"title is-5 has-text-grey-light"},W={class:"block"},j=s("a",{href:"https://docs.2fauth.app/credits/"},"Laravel, Bulma CSS, Vue.js and more",-1),M=s("a",{href:"https://fontawesome.com/"},"Font Awesome",-1),x=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),G=s("a",{href:"https://2fa.directory/"},"2FA Directory",-1),P=s("a",{class:"is-size-7",href:"https://github.com/2factorauth/twofactorauth/blob/master/LICENSE.md"},"(MIT License)",-1),H={__name:"About",setup(U){const _=b("2fauth"),d=k().options.history.state.back;return(a,Y)=>{const l=i("FontAwesomeIcon"),p=i("ButtonBackCloseCancel"),m=i("VueFooter"),f=i("ResponsiveWidthWrapper");return g(),C(f,null,{default:r(()=>[s("h1",B,t(a.$t("commons.about")),1),s("p",F,[o(h(u),null,{default:r(({mode:n})=>[s("span",{class:c(n=="dark"?"has-text-white":"has-text-black")},[A,e(" v"+t(h(_).version),1)],2)]),_:1}),w,e(" "+t(a.$t("commons.2fauth_teaser")),1)]),y,v,s("h2",I,t(a.$t("commons.resources")),1),s("div",L,[o(h(u),null,{default:r(({mode:n})=>[s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://github.com/Bubka/2FAuth",target:"_blank"},[s("span",$,[o(l,{icon:["fab","github-alt"]})]),S],2),s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://docs.2fauth.app/",target:"_blank"},[s("span",T,[o(l,{icon:["fas","book"]})]),V],2),s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://demo.2fauth.app/",target:"_blank"},[s("span",z,[o(l,{icon:["fas","flask"]})]),N],2),s("a",{class:c(["button",{"is-dark":n=="dark"}]),href:"https://docs.2fauth.app/resources/rapidoc.html",target:"_blank"},[s("span",D,[o(l,{icon:["fas","code"]})]),E],2)]),_:1})]),s("h2",R,t(a.$t("commons.credits")),1),s("p",W,[s("ul",null,[s("li",null,[e(t(a.$t("commons.made_with"))+" ",1),j]),s("li",null,[e(t(a.$t("commons.ui_icons_by"))+" ",1),M,e(" "),x]),s("li",null,[e(t(a.$t("commons.logos_by"))+" ",1),G,e(" "),P])])]),o(m,{showButtons:!0},{default:r(()=>[o(p,{returnTo:{path:h(d)},action:"back"},null,8,["returnTo"])]),_:1})]),_:1})}}};export{H as default};
|
@ -1 +1 @@
|
||||
import{_}from"./AccessLogViewer-CINYivkh.js";import{u as f,o as h,r as B,I,e as o,f as g,k,p as u,h as c,t as r,i as v,m as t}from"./app-SZK8VCXD.js";import{u as C}from"./bus-B5bab611.js";import"./SearchBox-CVIMp336.js";import"./Spinner-YD_iyg7o.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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();f(),h(async()=>{m()});const e=i,a=B(l.username??"");function m(){I.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(),k(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:v(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-DpsS0paC.js";import{u as f,o as h,r as B,I,e as o,f as g,k,p as u,h as c,t as r,i as v,m as t}from"./app-ClFPZZ4l.js";import{u as C}from"./bus-D9XHlzlA.js";import"./SearchBox-CrVpgv_C.js";import"./Spinner-DbluacL6.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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();f(),h(async()=>{m()});const e=i,a=B(l.username??"");function m(){I.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(),k(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:v(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
@ -1 +1 @@
|
||||
import{r as u,e as t,f as a,g as s,m as n,p as i,h as o,F as _,E as v,i as h,n as f,j as k,t as w}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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,e as t,f as a,g as s,m as n,p as i,h as o,F as _,E as v,i as h,n as f,j as k,t as w}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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
@ -1 +1 @@
|
||||
import{_ as h}from"./AdminTabs-uLrfnlDK.js";import{R as y,b as k,S as D,a2 as E,r as C,a1 as F,o as N,e as n,f as v,g as B,m as i,h as u,p as f,t as g,i as s,a7 as U,H as x}from"./app-SZK8VCXD.js";import{u as a}from"./appSettingsUpdater-B5AoHqQU.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const L={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=y("2fauth"),m=k(),l=D(),R=E(V.prefix+"returnTo","accounts"),d=C({restrictList:null,restrictRule:null});async function p(r,e){if(d.value[r]=null,e=="")U.delete(r,{returnError:!0}).then(o=>{l[r]="",m.success({type:"is-success",text:x("settings.forms.setting_saved")})}).catch(o=>{o.response.status!==404&&m.error(o)});else{const{error:o}=await a(r,e,!0);o&&(d.value[r]=o.response.data.message)}}return F(r=>{r.name.startsWith("admin.")||m.clear()}),N(async()=>{await l.fetch()}),(r,e)=>{const o=n("FormCheckbox"),b=n("FormField"),c=n("FormWrapper"),S=n("ButtonBackCloseCancel"),_=n("VueFooter");return v(),B("div",null,[i(h,{activeTab:"admin.auth"}),u("div",L,[i(c,null,{default:f(()=>[u("form",null,[u("h4",I,g(r.$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(a)("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(a)("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(r.$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(a)("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(a)("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(a)("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(R)},action:"close"},null,8,["returnTo"])]),_:1})])}}};export{W as default};
|
||||
import{_ as h}from"./AdminTabs-DCpBDOWM.js";import{R as y,b as k,S as D,a2 as E,r as C,a1 as F,o as N,e as n,f as v,g as B,m as i,h as u,p as f,t as g,i as s,a7 as U,H as x}from"./app-ClFPZZ4l.js";import{u as a}from"./appSettingsUpdater-B9ur6vaR.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const L={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=y("2fauth"),m=k(),l=D(),R=E(V.prefix+"returnTo","accounts"),d=C({restrictList:null,restrictRule:null});async function p(r,e){if(d.value[r]=null,e=="")U.delete(r,{returnError:!0}).then(o=>{l[r]="",m.success({type:"is-success",text:x("settings.forms.setting_saved")})}).catch(o=>{o.response.status!==404&&m.error(o)});else{const{error:o}=await a(r,e,!0);o&&(d.value[r]=o.response.data.message)}}return F(r=>{r.name.startsWith("admin.")||m.clear()}),N(async()=>{await l.fetch()}),(r,e)=>{const o=n("FormCheckbox"),b=n("FormField"),c=n("FormWrapper"),S=n("ButtonBackCloseCancel"),_=n("VueFooter");return v(),B("div",null,[i(h,{activeTab:"admin.auth"}),u("div",L,[i(c,null,{default:f(()=>[u("form",null,[u("h4",I,g(r.$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(a)("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(a)("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(r.$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(a)("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(a)("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(a)("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(R)},action:"close"},null,8,["returnTo"])]),_:1})])}}};export{W as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{b as r,T as p,e as l,f as m,g as _,m as u,C as b,H as d}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const y=["aria-label","title"],C={__name:"CopyButton",props:{token:String},setup(e){const s=r(),{copy:n}=p({legacy:!0}),c=e;function a(){n(c.token),s.success({text:d("commons.copied_to_clipboard")})}return(o,t)=>{const i=l("FontAwesomeIcon");return m(),_("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]=b(f=>a(),["stop"]))},[u(i,{icon:["fas","copy"]})],8,y)}}};export{C as _};
|
||||
import{b as r,T as p,e as l,f as m,g as _,m as u,C as b,H as d}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const y=["aria-label","title"],C={__name:"CopyButton",props:{token:String},setup(e){const s=r(),{copy:n}=p({legacy:!0}),c=e;function a(){n(c.token),s.success({text:d("commons.copied_to_clipboard")})}return(o,t)=>{const i=l("FontAwesomeIcon");return m(),_("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]=b(f=>a(),["stop"]))},[u(i,{icon:["fas","copy"]})],8,y)}}};export{C as _};
|
@ -1 +1 @@
|
||||
import{b as _,u as F,d as V,e as n,f as b,g,m as r,p as y,h as x,i as o,C as B,H as C}from"./app-SZK8VCXD.js";import{F as h}from"./Form-HwO5i2bJ.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const v={__name:"Create",setup(E){const m=_(),l=F(),e=V(new h({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 b(),g("div",null,[r(c,{title:"admin.new_user"},{default:y(()=>[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",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",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","cancelLandingView"])],32)]),_:1}),r(w)])}}};export{v as default};
|
||||
import{b as _,u as F,d as V,e as n,f as b,g,m as r,p as y,h as x,i as o,C as B,H as C}from"./app-ClFPZZ4l.js";import{F as h}from"./Form-BU_UekyP.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const v={__name:"Create",setup(E){const m=_(),l=F(),e=V(new h({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 b(),g("div",null,[r(c,{title:"admin.new_user"},{default:y(()=>[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",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",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","cancelLandingView"])],32)]),_:1}),r(w)])}}};export{v as default};
|
@ -1 +1 @@
|
||||
import{V as v,u as w,$ as h,x as y,d as N,a0 as V,K as _,e as m,f as C,k as E,p as I,i as t,h as S,m as i,C as $}from"./app-SZK8VCXD.js";import{F as k}from"./Form-HwO5i2bJ.js";import{u as K}from"./bus-B5bab611.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const U={__name:"CreateUpdate",props:{groupId:[Number,String]},setup(c){const p=v(),d=w(),l=h(),s=K(),a=c,r=y(()=>a.groupId!=null),o=N(new k({name:""}));V(()=>{l.name=="editGroup"&&(s.editedGroupName?(o.name=s.editedGroupName,s.editedGroupName=void 0):_.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"),b=m("FormButtons"),G=m("FormWrapper");return C(),E(G,{title:t(r)?e.$t("groups.forms.rename_group"):e.$t("groups.forms.new_group")},{default:I(()=>[S("form",{onSubmit:$(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(b,{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{V as v,u as w,$ as h,x as y,d as N,a0 as V,K as _,e as m,f as C,k as E,p as I,i as t,h as S,m as i,C as $}from"./app-ClFPZZ4l.js";import{F as k}from"./Form-BU_UekyP.js";import{u as K}from"./bus-D9XHlzlA.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const U={__name:"CreateUpdate",props:{groupId:[Number,String]},setup(c){const p=v(),d=w(),l=h(),s=K(),a=c,r=y(()=>a.groupId!=null),o=N(new k({name:""}));V(()=>{l.name=="editGroup"&&(s.editedGroupName?(o.name=s.editedGroupName,s.editedGroupName=void 0):_.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"),b=m("FormButtons"),G=m("FormWrapper");return C(),E(G,{title:t(r)?e.$t("groups.forms.rename_group"):e.$t("groups.forms.new_group")},{default:I(()=>[S("form",{onSubmit:$(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(b,{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};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{u as h,b as _,d as b,H as s,e as a,f as y,k as F,p as v,h as B,m as r,i as t,C as g}from"./app-SZK8VCXD.js";import{F as C}from"./Form-HwO5i2bJ.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const E={__name:"Edit",props:{credentialId:{type:String,default:""}},setup(i){const u=h(),m=_(),e=b(new C({name:s("auth.webauthn.my_device")})),d=i;function c(){e.patch("/webauthn/credentials/"+d.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 y(),F(w,{title:"auth.webauthn.rename_device"},{default:v(()=>[B("form",{onSubmit:g(c,["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{u as h,b as _,d as b,H as s,e as a,f as y,k as F,p as v,h as B,m as r,i as t,C as g}from"./app-ClFPZZ4l.js";import{F as C}from"./Form-BU_UekyP.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const E={__name:"Edit",props:{credentialId:{type:String,default:""}},setup(i){const u=h(),m=_(),e=b(new C({name:s("auth.webauthn.my_device")})),d=i;function c(){e.patch("/webauthn/credentials/"+d.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 y(),F(w,{title:"auth.webauthn.rename_device"},{default:v(()=>[B("form",{onSubmit:g(c,["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};
|
@ -1 +1 @@
|
||||
import{b as y,u as b,$ as k,r as V,x as w,s as v,o as N,H as $,e as x,f as r,g as t,m as B,p as M,i as e,D as q,h as l,t as n,l as c,j as C}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const D={key:0,class:"error-message"},R=l("p",{class:"error-404"},null,-1),E={key:1,class:"error-message"},F=l("p",{class:"error-generic"},null,-1),H={key:0,class:"has-text-grey-lighter"},S={key:1,class:"has-text-grey-lighter"},j={key:2,class:"is-size-7 is-family-code"},z=l("br",null,null,-1),U={__name:"Error",props:{closable:{type:Boolean,default:!0}},setup(m){const s=y(),d=b(),a=k(),u=V(!0),p=w(()=>!1),_=m;v(u,o=>{o==!1&&g()}),N(()=>{a.query.err&&(s.message=$("errors."+a.query.err))});function g(){window.history.length>1&&a.name!=="404"&&a.name!=="notFound"&&!a.query.err?d.go(-1):d.push({name:"accounts"})}return(o,i)=>{const h=x("modal");return r(),t("div",null,[B(h,{modelValue:e(u),"onUpdate:modelValue":i[0]||(i[0]=f=>q(u)?u.value=f:null),closable:_.closable},{default:M(()=>[o.$route.name=="404"||o.$route.name=="notFound"?(r(),t("div",D,[R,l("p",null,n(o.$t("errors.resource_not_found")),1)])):(r(),t("div",E,[F,l("p",null,n(o.$t("errors.error_occured")),1),e(s).message?(r(),t("p",H,n(e(s).message),1)):c("",!0),e(s).originalMessage?(r(),t("p",S,n(e(s).originalMessage),1)):c("",!0),e(p)&&e(s).debug?(r(),t("p",j,[z,C(n(e(s).debug),1)])):c("",!0)]))]),_:1},8,["modelValue","closable"])])}}};export{U as default};
|
||||
import{b as y,u as b,$ as k,r as V,x as w,s as v,o as N,H as $,e as x,f as r,g as t,m as B,p as M,i as e,D as q,h as l,t as n,l as c,j as C}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const D={key:0,class:"error-message"},R=l("p",{class:"error-404"},null,-1),E={key:1,class:"error-message"},F=l("p",{class:"error-generic"},null,-1),H={key:0,class:"has-text-grey-lighter"},S={key:1,class:"has-text-grey-lighter"},j={key:2,class:"is-size-7 is-family-code"},z=l("br",null,null,-1),U={__name:"Error",props:{closable:{type:Boolean,default:!0}},setup(m){const s=y(),d=b(),a=k(),u=V(!0),p=w(()=>!1),_=m;v(u,o=>{o==!1&&g()}),N(()=>{a.query.err&&(s.message=$("errors."+a.query.err))});function g(){window.history.length>1&&a.name!=="404"&&a.name!=="notFound"&&!a.query.err?d.go(-1):d.push({name:"accounts"})}return(o,i)=>{const h=x("modal");return r(),t("div",null,[B(h,{modelValue:e(u),"onUpdate:modelValue":i[0]||(i[0]=f=>q(u)?u.value=f:null),closable:_.closable},{default:M(()=>[o.$route.name=="404"||o.$route.name=="notFound"?(r(),t("div",D,[R,l("p",null,n(o.$t("errors.resource_not_found")),1)])):(r(),t("div",E,[F,l("p",null,n(o.$t("errors.error_occured")),1),e(s).message?(r(),t("p",H,n(e(s).message),1)):c("",!0),e(s).originalMessage?(r(),t("p",S,n(e(s).originalMessage),1)):c("",!0),e(p)&&e(s).debug?(r(),t("p",j,[z,C(n(e(s).debug),1)])):c("",!0)]))]),_:1},8,["modelValue","closable"])])}}};export{U as default};
|
@ -1 +1 @@
|
||||
import{a4 as l}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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{a4 as l}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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};
|
@ -1 +1 @@
|
||||
import{u as C,V as $,r as w,o as z,a1 as b,e as c,f as l,k as F,p as u,h as o,t as a,m as s,j as _,i,g as m,F as G,E as V,n as R,U as E,l as h}from"./app-SZK8VCXD.js";import{u as N}from"./bus-B5bab611.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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},T=["onClick","title"],x={class:"is-family-primary is-size-6 is-size-7-mobile has-text-grey"},M={class:"mt-2 is-size-7 is-pulled-right"},S={key:1,class:"has-text-centered"},U={class:"is-size-4"},J={__name:"Groups",setup(j){C();const t=$(),f=N(),p=w(!1);return z(async()=>{p.value=t.isEmpty,await t.fetch().finally(()=>{p.value=!1})}),b((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=c("FontAwesomeIcon"),d=c("RouterLink"),k=c("ButtonBackCloseCancel"),y=c("VueFooter"),v=c("ResponsiveWidthWrapper");return l(),F(v,null,{default:u(()=>[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:u(()=>[s(n,{icon:["fas","plus-circle"]}),_(" "+a(e.$t("groups.create_group")),1)]),_:1})]),i(t).isEmpty?h("",!0):(l(),m("div",A,[(l(!0),m(G,null,V(i(t).withoutTheAllGroup,r=>(l(),m("div",{key:r.id,class:"group-item is-size-5 is-size-6-mobile"},[_(a(r.name)+" ",1),s(i(E),null,{default:u(({mode:B})=>[o("button",{class:R(["button tag is-pulled-right",B=="dark"?"is-dark":"is-white"]),onClick:q=>i(t).delete(r.id),title:e.$t("commons.delete")},a(e.$t("commons.delete")),11,T)]),_:2},1024),s(d,{to:{name:"editGroup",params:{groupId:r.id}},class:"has-text-grey px-1",title:e.$t("commons.rename")},{default:u(()=>[s(n,{icon:["fas","pen-square"]})]),_:2},1032,["to","title"]),o("span",x,a(e.$t("groups.x_accounts",{count:r.twofaccounts_count})),1)]))),128)),o("div",M,a(e.$t("groups.deleting_group_does_not_delete_accounts")),1)])),i(p)&&i(t).isEmpty?(l(),m("div",S,[o("span",U,[s(n,{icon:["fas","spinner"],spin:""})])])):h("",!0),s(y,{showButtons:!0},{default:u(()=>[s(k,{returnTo:{name:"accounts"},action:"close"})]),_:1})]),_:1})}}};export{J as default};
|
||||
import{u as C,V as $,r as w,o as z,a1 as b,e as c,f as l,k as F,p as u,h as o,t as a,m as s,j as _,i,g as m,F as G,E as V,n as R,U as E,l as h}from"./app-ClFPZZ4l.js";import{u as N}from"./bus-D9XHlzlA.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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},T=["onClick","title"],x={class:"is-family-primary is-size-6 is-size-7-mobile has-text-grey"},M={class:"mt-2 is-size-7 is-pulled-right"},S={key:1,class:"has-text-centered"},U={class:"is-size-4"},J={__name:"Groups",setup(j){C();const t=$(),f=N(),p=w(!1);return z(async()=>{p.value=t.isEmpty,await t.fetch().finally(()=>{p.value=!1})}),b((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=c("FontAwesomeIcon"),d=c("RouterLink"),k=c("ButtonBackCloseCancel"),y=c("VueFooter"),v=c("ResponsiveWidthWrapper");return l(),F(v,null,{default:u(()=>[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:u(()=>[s(n,{icon:["fas","plus-circle"]}),_(" "+a(e.$t("groups.create_group")),1)]),_:1})]),i(t).isEmpty?h("",!0):(l(),m("div",A,[(l(!0),m(G,null,V(i(t).withoutTheAllGroup,r=>(l(),m("div",{key:r.id,class:"group-item is-size-5 is-size-6-mobile"},[_(a(r.name)+" ",1),s(i(E),null,{default:u(({mode:B})=>[o("button",{class:R(["button tag is-pulled-right",B=="dark"?"is-dark":"is-white"]),onClick:q=>i(t).delete(r.id),title:e.$t("commons.delete")},a(e.$t("commons.delete")),11,T)]),_:2},1024),s(d,{to:{name:"editGroup",params:{groupId:r.id}},class:"has-text-grey px-1",title:e.$t("commons.rename")},{default:u(()=>[s(n,{icon:["fas","pen-square"]})]),_:2},1032,["to","title"]),o("span",x,a(e.$t("groups.x_accounts",{count:r.twofaccounts_count})),1)]))),128)),o("div",M,a(e.$t("groups.deleting_group_does_not_delete_accounts")),1)])),i(p)&&i(t).isEmpty?(l(),m("div",S,[o("span",U,[s(n,{icon:["fas","spinner"],spin:""})])])):h("",!0),s(y,{showButtons:!0},{default:u(()=>[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 +1 @@
|
||||
import{R as D,b as R,a as G,a2 as q,T as J,r as v,x as Q,o as X,d as Y,I as x,a1 as Z,e as _,f as a,g as r,m as i,h as o,p as m,i as s,l as d,t as n,w as ee,j as g,F as se,E as te,k as oe,U as ne,n as A,C as z,H as y}from"./app-SZK8VCXD.js";import{F as ae}from"./Form-HwO5i2bJ.js";import{_ as ie}from"./SettingTabs-SwPVkX35.js";import{S as le}from"./Spinner-YD_iyg7o.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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},ve={class:"tags is-pulled-right"},fe=["onClick"],he=["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"},Ce={class:"field is-grouped"},we={class:"control"},Fe={class:"control"},Ae={__name:"OAuth",setup($e){const E=D("2fauth"),p=R(),b=G(),L=q(E.prefix+"returnTo","accounts"),{copy:M}=J({legacy:!0}),c=v([]),T=v(!1),f=v(!1),h=v(null),C=v(null),w=Q(()=>appSettings.enableSso&&appSettings.useSsoOnly||b.authenticated_by_proxy);X(()=>{F()});const u=Y(new ae({name:""}));function F(){T.value=!0,x.getPersonalAccessTokens({returnError:!0}).then(e=>{c.value=[],e.data.forEach(l=>{l.id===C.value?(l.value=h.value,c.value.unshift(l)):c.value.push(l)})}).catch(e=>{e.response.status===405||p.error(e)}).finally(()=>{T.value=!1,C.value=null,h.value=null})}function $(){I(),w.value?p.warn({text:y("errors.unsupported_with_reverseproxy")}):f.value=!0}function N(){u.post("/oauth/personal-access-tokens").then(e=>{h.value=e.data.accessToken,C.value=e.data.token.id,F(),f.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}),h.value=null}function K(e){M(e),p.success({text:y("commons.copied_to_clipboard")})}function U(){f.value=!1,u.reset()}return Z(e=>{e.name.startsWith("settings.")||p.clear()}),(e,l)=>{const k=_("FontAwesomeIcon"),H=_("ButtonBackCloseCancel"),O=_("VueFooter"),V=_("FormWrapper"),W=_("FormField"),B=_("VueButton");return a(),r("div",null,[i(ie,{activeTab:"settings.oauth.tokens"},null,8,["activeTab"]),o("div",re,[i(V,null,{default:m(()=>[s(w)&&s(b).oauth_provider?(a(),r("div",ce,n(e.$t("auth.sso_only_x_settings_are_disabled",{auth_method:"OAuth"})),1)):d("",!0),s(w)&&s(b).authenticated_by_proxy?(a(),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"])},[i(k,{icon:["fas","plus-circle"]}),g(" "+n(e.$t("settings.generate_new_token")),1)],32)]),s(c).length>0?(a(),r("div",pe,[(a(!0),r(se,null,te(s(c),t=>(a(),r("div",{key:t.id,class:"group-item is-size-5 is-size-6-mobile"},[t.value?(a(),oe(k,{key:0,class:"has-text-success",icon:["fas","check"]})):d("",!0),g(" "+n(t.name)+" ",1),o("div",ve,[i(s(ne),null,{default:m(({mode:S})=>[t.value?(a(),r("button",{key:0,class:A(["button tag",{"is-link":S!="dark"}]),onClick:z(j=>K(t.value),["stop"])},n(e.$t("commons.copy")),11,fe)):d("",!0),o("button",{class:A(["button tag",S==="dark"?"is-dark":"is-white"]),onClick:j=>P(t.id),title:e.$t("settings.revoke")},n(e.$t("settings.revoke")),11,he)]),_:2},1024)]),t.value?(a(),r("span",ke,n(e.$t("settings.make_sure_copy_token")),1)):d("",!0),t.value?(a(),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),i(le,{isVisible:s(T)&&s(c).length===0},null,8,["isVisible"]),i(O,{showButtons:!0},{default:m(()=>[i(H,{returnTo:{name:s(L)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})]),s(f)?(a(),r("div",be,[o("main",Te,[i(V,{title:"settings.forms.new_token"},{default:m(()=>[o("form",{onSubmit:z(N,["prevent"]),onKeydown:l[1]||(l[1]=t=>s(u).onKeydown(t))},[i(W,{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",Ce,[o("div",we,[i(B,{id:"btnGenerateToken",isLoading:s(u).isBusy},{default:m(()=>[g(n(e.$t("commons.generate")),1)]),_:1},8,["isLoading"])]),o("div",Fe,[i(B,{onClick:U,nativeType:"button",id:"btnCancel",color:"is-text"},{default:m(()=>[g(n(e.$t("commons.cancel")),1)]),_:1})])])],32)]),_:1})])])):d("",!0)])}}};export{Ae as default};
|
||||
import{R as D,b as R,a as G,a2 as q,T as J,r as v,x as Q,o as X,d as Y,I as x,a1 as Z,e as _,f as a,g as r,m as i,h as o,p as m,i as s,l as d,t as n,w as ee,j as g,F as se,E as te,k as oe,U as ne,n as A,C as z,H as y}from"./app-ClFPZZ4l.js";import{F as ae}from"./Form-BU_UekyP.js";import{_ as ie}from"./SettingTabs-Ihq7-3dC.js";import{S as le}from"./Spinner-DbluacL6.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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},ve={class:"tags is-pulled-right"},fe=["onClick"],he=["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"},Ce={class:"field is-grouped"},we={class:"control"},Fe={class:"control"},Ae={__name:"OAuth",setup($e){const E=D("2fauth"),p=R(),b=G(),L=q(E.prefix+"returnTo","accounts"),{copy:M}=J({legacy:!0}),c=v([]),T=v(!1),f=v(!1),h=v(null),C=v(null),w=Q(()=>appSettings.enableSso&&appSettings.useSsoOnly||b.authenticated_by_proxy);X(()=>{F()});const u=Y(new ae({name:""}));function F(){T.value=!0,x.getPersonalAccessTokens({returnError:!0}).then(e=>{c.value=[],e.data.forEach(l=>{l.id===C.value?(l.value=h.value,c.value.unshift(l)):c.value.push(l)})}).catch(e=>{e.response.status===405||p.error(e)}).finally(()=>{T.value=!1,C.value=null,h.value=null})}function $(){I(),w.value?p.warn({text:y("errors.unsupported_with_reverseproxy")}):f.value=!0}function N(){u.post("/oauth/personal-access-tokens").then(e=>{h.value=e.data.accessToken,C.value=e.data.token.id,F(),f.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}),h.value=null}function K(e){M(e),p.success({text:y("commons.copied_to_clipboard")})}function U(){f.value=!1,u.reset()}return Z(e=>{e.name.startsWith("settings.")||p.clear()}),(e,l)=>{const k=_("FontAwesomeIcon"),H=_("ButtonBackCloseCancel"),O=_("VueFooter"),V=_("FormWrapper"),W=_("FormField"),B=_("VueButton");return a(),r("div",null,[i(ie,{activeTab:"settings.oauth.tokens"},null,8,["activeTab"]),o("div",re,[i(V,null,{default:m(()=>[s(w)&&s(b).oauth_provider?(a(),r("div",ce,n(e.$t("auth.sso_only_x_settings_are_disabled",{auth_method:"OAuth"})),1)):d("",!0),s(w)&&s(b).authenticated_by_proxy?(a(),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"])},[i(k,{icon:["fas","plus-circle"]}),g(" "+n(e.$t("settings.generate_new_token")),1)],32)]),s(c).length>0?(a(),r("div",pe,[(a(!0),r(se,null,te(s(c),t=>(a(),r("div",{key:t.id,class:"group-item is-size-5 is-size-6-mobile"},[t.value?(a(),oe(k,{key:0,class:"has-text-success",icon:["fas","check"]})):d("",!0),g(" "+n(t.name)+" ",1),o("div",ve,[i(s(ne),null,{default:m(({mode:S})=>[t.value?(a(),r("button",{key:0,class:A(["button tag",{"is-link":S!="dark"}]),onClick:z(j=>K(t.value),["stop"])},n(e.$t("commons.copy")),11,fe)):d("",!0),o("button",{class:A(["button tag",S==="dark"?"is-dark":"is-white"]),onClick:j=>P(t.id),title:e.$t("settings.revoke")},n(e.$t("settings.revoke")),11,he)]),_:2},1024)]),t.value?(a(),r("span",ke,n(e.$t("settings.make_sure_copy_token")),1)):d("",!0),t.value?(a(),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),i(le,{isVisible:s(T)&&s(c).length===0},null,8,["isVisible"]),i(O,{showButtons:!0},{default:m(()=>[i(H,{returnTo:{name:s(L)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})]),s(f)?(a(),r("div",be,[o("main",Te,[i(V,{title:"settings.forms.new_token"},{default:m(()=>[o("form",{onSubmit:z(N,["prevent"]),onKeydown:l[1]||(l[1]=t=>s(u).onKeydown(t))},[i(W,{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",Ce,[o("div",we,[i(B,{id:"btnGenerateToken",isLoading:s(u).isBusy},{default:m(()=>[g(n(e.$t("commons.generate")),1)]),_:1},8,["isLoading"])]),o("div",Fe,[i(B,{onClick:U,nativeType:"button",id:"btnCancel",color:"is-text"},{default:m(()=>[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
@ -1 +1 @@
|
||||
import{u as _,$ as m,r as p,a0 as f,J as h,e as c,f as n,g as r,h as a,i as t,l as B,m as s,p as g}from"./app-SZK8VCXD.js";import{S as k}from"./Spinner-YD_iyg7o.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const v={class:"modal modal-otp is-active"},C=a("div",{class:"modal-background"},null,-1),V={class:"modal-content"},w={class:"has-text-centered m-5"},b=["src","alt"],F={__name:"QRcode",setup(y){_();const l=m(),e=p();f(()=>{i()});async function i(){const{data:o}=await h.getQrcode(l.params.twofaccountId);e.value=o.qrcode}return(o,R)=>{const u=c("ButtonBackCloseCancel"),d=c("VueFooter");return n(),r("div",v,[C,a("div",V,[a("p",w,[t(e)?(n(),r("img",{key:0,src:t(e),class:"has-background-light",alt:o.$t("commons.image_of_qrcode_to_scan")},null,8,b)):B("",!0),s(k,{isVisible:!t(e),type:"raw",class:"is-size-1"},null,8,["isVisible"])])]),s(d,{showButtons:!0,internalFooterType:"modal"},{default:g(()=>[s(u,{returnTo:{name:"accounts"},action:"close"})]),_:1})])}}};export{F as default};
|
||||
import{u as _,$ as m,r as p,a0 as f,J as h,e as c,f as n,g as r,h as a,i as t,l as B,m as s,p as g}from"./app-ClFPZZ4l.js";import{S as k}from"./Spinner-DbluacL6.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const v={class:"modal modal-otp is-active"},C=a("div",{class:"modal-background"},null,-1),V={class:"modal-content"},w={class:"has-text-centered m-5"},b=["src","alt"],F={__name:"QRcode",setup(y){_();const l=m(),e=p();f(()=>{i()});async function i(){const{data:o}=await h.getQrcode(l.params.twofaccountId);e.value=o.qrcode}return(o,R)=>{const u=c("ButtonBackCloseCancel"),d=c("VueFooter");return n(),r("div",v,[C,a("div",V,[a("p",w,[t(e)?(n(),r("img",{key:0,src:t(e),class:"has-background-light",alt:o.$t("commons.image_of_qrcode_to_scan")},null,8,b)):B("",!0),s(k,{isVisible:!t(e),type:"raw",class:"is-size-1"},null,8,["isVisible"])])]),s(d,{showButtons:!0,internalFooterType:"modal"},{default:g(()=>[s(u,{returnTo:{name:"accounts"},action:"close"})]),_:1})])}}};export{F as default};
|
@ -1 +1 @@
|
||||
import{T as C,b as _,e as v,f as a,g as r,h as o,t as s,i as f,H as c,C as w,l,m as h,F as y}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const g=o("div",{class:"too-bad"},null,-1),q={class:"block"},$={class:"block mb-6 light-or-darker"},E={key:0,class:"block has-text-link"},B={class:"button is-link is-outlined is-rounded"},F={class:"icon is-small"},N={__name:"QrContentDisplay",props:{qrContent:String},setup(e){const{copy:d}=C({legacy:!0}),u=_();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 k(t){d(t),u.success({text:c("commons.copied_to_clipboard")})}return(t,n)=>{const i=v("FontAwesomeIcon");return a(),r(y,null,[g,o("div",q,s(t.$t("errors.data_of_qrcode_is_not_valid_URI")),1),o("div",$,s(e.qrContent?e.qrContent:"["+("trans"in t?t.trans:f(c))("commons.nothing")+"]"),1),e.qrContent?(a(),r("div",E,[o("button",{class:"button is-link is-outlined is-rounded",onClick:n[0]||(n[0]=w(p=>k(e.qrContent),["stop"]))},s(t.$t("commons.copy_to_clipboard")),1)])):l("",!0),m(e.qrContent)?(a(),r("div",{key:1,class:"block has-text-link",onClick:n[1]||(n[1]=p=>b(e.qrContent))},[o("button",B,[o("span",null,s(t.$t("commons.open_in_browser")),1),o("span",F,[h(i,{icon:["fas","external-link-alt"]})])])])):l("",!0)],64)}}};export{N as _};
|
||||
import{T as C,b as _,e as v,f as a,g as r,h as o,t as s,i as f,H as c,C as w,l,m as h,F as y}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const g=o("div",{class:"too-bad"},null,-1),q={class:"block"},$={class:"block mb-6 light-or-darker"},E={key:0,class:"block has-text-link"},B={class:"button is-link is-outlined is-rounded"},F={class:"icon is-small"},N={__name:"QrContentDisplay",props:{qrContent:String},setup(e){const{copy:d}=C({legacy:!0}),u=_();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 k(t){d(t),u.success({text:c("commons.copied_to_clipboard")})}return(t,n)=>{const i=v("FontAwesomeIcon");return a(),r(y,null,[g,o("div",q,s(t.$t("errors.data_of_qrcode_is_not_valid_URI")),1),o("div",$,s(e.qrContent?e.qrContent:"["+("trans"in t?t.trans:f(c))("commons.nothing")+"]"),1),e.qrContent?(a(),r("div",E,[o("button",{class:"button is-link is-outlined is-rounded",onClick:n[0]||(n[0]=w(p=>k(e.qrContent),["stop"]))},s(t.$t("commons.copy_to_clipboard")),1)])):l("",!0),m(e.qrContent)?(a(),r("div",{key:1,class:"block has-text-link",onClick:n[1]||(n[1]=p=>b(e.qrContent))},[o("button",B,[o("span",null,s(t.$t("commons.open_in_browser")),1),o("span",F,[h(i,{icon:["fas","external-link-alt"]})])])])):l("",!0)],64)}}};export{N as _};
|
@ -1 +1 @@
|
||||
import{R as V,b as B,u as R,$ as g,a2 as $,d as C,a1 as N,e as a,f as q,k as A,p as d,h as u,C as D,i as s,m as l,j as c,t as p,H as L}from"./app-SZK8VCXD.js";import{F as S}from"./Form-HwO5i2bJ.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const W={class:"field"},j={__name:"Recover",setup(x){const m=V("2fauth"),r=B(),f=R(),i=g(),h=$(m.prefix+"showWebauthnForm",!1),o=C(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:L("auth.forms.authentication_failed"),duration:-1}):e.response.status===422?r.alert({text:e.response.data.message,duration:-1}):r.error(e)})}return N(()=>{r.clear()}),(t,e)=>{const w=a("FormCheckbox"),b=a("FormPasswordField"),v=a("RouterLink"),F=a("FormButtons"),k=a("VueFooter"),y=a("FormWrapper");return q(),A(y,{title:t.$t("auth.webauthn.account_recovery"),punchline:t.$t("auth.webauthn.recover_account_instructions")},{default:d(()=>[u("div",null,[u("form",{onSubmit:D(_,["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,["to","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{R as V,b as B,u as R,$ as g,a2 as $,d as C,a1 as N,e as a,f as q,k as A,p as d,h as u,C as D,i as s,m as l,j as c,t as p,H as L}from"./app-ClFPZZ4l.js";import{F as S}from"./Form-BU_UekyP.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const W={class:"field"},j={__name:"Recover",setup(x){const m=V("2fauth"),r=B(),f=R(),i=g(),h=$(m.prefix+"showWebauthnForm",!1),o=C(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:L("auth.forms.authentication_failed"),duration:-1}):e.response.status===422?r.alert({text:e.response.data.message,duration:-1}):r.error(e)})}return N(()=>{r.clear()}),(t,e)=>{const w=a("FormCheckbox"),b=a("FormPasswordField"),v=a("RouterLink"),F=a("FormButtons"),k=a("VueFooter"),y=a("FormWrapper");return q(),A(y,{title:t.$t("auth.webauthn.account_recovery"),punchline:t.$t("auth.webauthn.recover_account_instructions")},{default:d(()=>[u("div",null,[u("form",{onSubmit:D(_,["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,["to","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};
|
@ -1 +1 @@
|
||||
import{a as L,b as T,u as K,r as F,d as k,a1 as U,e as l,f as u,g as _,i as t,k as V,p as c,m as n,h as i,j as p,t as d,C as B,H as I}from"./app-SZK8VCXD.js";import{F as D}from"./Form-HwO5i2bJ.js";import{w as W}from"./webauthnService-BvinF7z1.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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"},H={class:"control"},J={class:"nav-links"},G={__name:"Register",setup(O){const b=L(),m=T(),R=K(),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 U(()=>{m.clear()}),(o,e)=>{const $=l("font-awesome-icon"),h=l("FormField"),g=l("FormButtons"),y=l("RouterLink"),v=l("FormWrapper"),x=l("FormPasswordField"),C=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",H,[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",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",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,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",J,[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(C)])}}};export{G as default};
|
||||
import{a as L,b as T,u as K,r as F,d as k,a1 as U,e as l,f as u,g as _,i as t,k as V,p as c,m as n,h as i,j as p,t as d,C as B,H as I}from"./app-ClFPZZ4l.js";import{F as D}from"./Form-BU_UekyP.js";import{w as W}from"./webauthnService-D3MQflUv.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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"},H={class:"control"},J={class:"nav-links"},G={__name:"Register",setup(O){const b=L(),m=T(),R=K(),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 U(()=>{m.clear()}),(o,e)=>{const $=l("font-awesome-icon"),h=l("FormField"),g=l("FormButtons"),y=l("RouterLink"),v=l("FormWrapper"),x=l("FormPasswordField"),C=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",H,[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",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",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,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",J,[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(C)])}}};export{G as default};
|
@ -1 +1 @@
|
||||
import{b as f,$ as h,d as _,a1 as w,e as r,f as F,k as b,p as y,h as B,m as i,i as s,C as V}from"./app-SZK8VCXD.js";import{F as v}from"./Form-HwO5i2bJ.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const C={__name:"RequestReset",setup(R){const o=f(),n=h().name=="webauthn.lost",t=_(new v({email:""}));function l(a){o.clear(),t.post(n?"/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 w(()=>{o.clear()}),(a,e)=>{const m=r("FormField"),c=r("FormButtons"),d=r("VueFooter"),p=r("FormWrapper");return F(),b(p,{title:a.$t(n?"auth.webauthn.account_recovery":"auth.forms.reset_password"),punchline:a.$t(n?"auth.webauthn.recovery_punchline":"auth.forms.reset_punchline")},{default:y(()=>[B("form",{onSubmit:V(l,["prevent"]),onKeydown:e[1]||(e[1]=u=>s(t).onKeydown(u))},[i(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"]),i(c,{submitId:"btnSendResetPwd",isBusy:s(t).isBusy,caption:a.$t(n?"auth.webauthn.send_recovery_link":"auth.forms.send_password_reset_link"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","caption"])],32),i(d)]),_:1},8,["title","punchline"])}}};export{C as default};
|
||||
import{b as f,$ as h,d as _,a1 as w,e as r,f as F,k as b,p as y,h as B,m as i,i as s,C as V}from"./app-ClFPZZ4l.js";import{F as v}from"./Form-BU_UekyP.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const C={__name:"RequestReset",setup(R){const o=f(),n=h().name=="webauthn.lost",t=_(new v({email:""}));function l(a){o.clear(),t.post(n?"/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 w(()=>{o.clear()}),(a,e)=>{const m=r("FormField"),c=r("FormButtons"),d=r("VueFooter"),p=r("FormWrapper");return F(),b(p,{title:a.$t(n?"auth.webauthn.account_recovery":"auth.forms.reset_password"),punchline:a.$t(n?"auth.webauthn.recovery_punchline":"auth.forms.reset_punchline")},{default:y(()=>[B("form",{onSubmit:V(l,["prevent"]),onKeydown:e[1]||(e[1]=u=>s(t).onKeydown(u))},[i(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"]),i(c,{submitId:"btnSendResetPwd",isBusy:s(t).isBusy,caption:a.$t(n?"auth.webauthn.send_recovery_link":"auth.forms.send_password_reset_link"),showCancelButton:!0,cancelLandingView:"login"},null,8,["isBusy","caption"])],32),i(d)]),_:1},8,["title","punchline"])}}};export{C as default};
|
@ -1 +1 @@
|
||||
import{b as B,u as b,$ as R,r as h,d as E,a1 as N,e as s,f as i,k as l,p as c,h as C,m as d,i as t,l as m,j as v,t as P,C as L}from"./app-SZK8VCXD.js";import{F as $}from"./Form-HwO5i2bJ.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const D={__name:"Reset",setup(x){const a=B();b();const p=R(),u=h(!0),e=E(new $({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 N(()=>{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 i(),l(g,{title:n.$t("auth.forms.new_password")},{default:c(()=>[C("form",{onSubmit:L(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?(i(),l(F,{key:0,error:t(e).errors.get("token"),field:t(e).token},null,8,["error","field"])):m("",!0),t(u)?(i(),l(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):(i(),l(y,{key:2,id:"btnContinue",to:{name:"accounts"},class:"button is-link"},{default:c(()=>[v(P(n.$t("commons.continue")),1)]),_:1}))],32),d(V)]),_:1},8,["title"])}}};export{D as default};
|
||||
import{b as B,u as b,$ as R,r as h,d as E,a1 as N,e as s,f as i,k as l,p as c,h as C,m as d,i as t,l as m,j as v,t as P,C as L}from"./app-ClFPZZ4l.js";import{F as $}from"./Form-BU_UekyP.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const D={__name:"Reset",setup(x){const a=B();b();const p=R(),u=h(!0),e=E(new $({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 N(()=>{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 i(),l(g,{title:n.$t("auth.forms.new_password")},{default:c(()=>[C("form",{onSubmit:L(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?(i(),l(F,{key:0,error:t(e).errors.get("token"),field:t(e).token},null,8,["error","field"])):m("",!0),t(u)?(i(),l(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):(i(),l(y,{key:2,id:"btnContinue",to:{name:"accounts"},class:"button is-link"},{default:c(()=>[v(P(n.$t("commons.continue")),1)]),_:1}))],32),d(V)]),_:1},8,["title"])}}};export{D as default};
|
@ -1 +1 @@
|
||||
import{r as d,o as u,v as h,e as m,f as n,g as c,h as a,n as k,k as p}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const y={role:"search",class:"field"},f={class:"control has-icons-right"},v=["aria-label","title","placeholder","value"],g={class:"icon is-small is-right"},w=["title"],b={__name:"SearchBox",props:{keyword:String,hasNoBackground:{type:Boolean,default:!1},placeholder:String},setup(t){const s=d(null);u(()=>{document.addEventListener("keydown",r)}),h(()=>{document.removeEventListener("keydown",r)});function r(e){var o;e.key==="f"&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),(o=s.value)==null||o.focus())}return(e,o)=>{const i=m("FontAwesomeIcon");return n(),c("div",y,[a("div",f,[a("input",{ref_key:"searchInput",ref:s,id:"txtSearch",type:"search",tabindex:"1","aria-label":e.$t("commons.search"),title:e.$t("commons.search"),placeholder:t.placeholder,class:k(["input is-rounded is-search",{"has-no-background":t.hasNoBackground}]),value:t.keyword,onKeyup:o[0]||(o[0]=l=>e.$emit("update:keyword",l.target.value))},null,42,v),a("span",g,[t.keyword!=""?(n(),c("button",{key:0,id:"btnClearSearch",tabindex:"1",title:e.$t("commons.clear_search"),class:"clear-selection delete",onClick:o[1]||(o[1]=l=>e.$emit("update:keyword",""))},null,8,w)):(n(),p(i,{key:1,icon:["fas","search"]}))])])])}}};export{b as _};
|
||||
import{r as d,o as u,v as h,e as m,f as n,g as c,h as a,n as k,k as p}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const y={role:"search",class:"field"},f={class:"control has-icons-right"},v=["aria-label","title","placeholder","value"],g={class:"icon is-small is-right"},w=["title"],b={__name:"SearchBox",props:{keyword:String,hasNoBackground:{type:Boolean,default:!1},placeholder:String},setup(t){const s=d(null);u(()=>{document.addEventListener("keydown",r)}),h(()=>{document.removeEventListener("keydown",r)});function r(e){var o;e.key==="f"&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),(o=s.value)==null||o.focus())}return(e,o)=>{const i=m("FontAwesomeIcon");return n(),c("div",y,[a("div",f,[a("input",{ref_key:"searchInput",ref:s,id:"txtSearch",type:"search",tabindex:"1","aria-label":e.$t("commons.search"),title:e.$t("commons.search"),placeholder:t.placeholder,class:k(["input is-rounded is-search",{"has-no-background":t.hasNoBackground}]),value:t.keyword,onKeyup:o[0]||(o[0]=l=>e.$emit("update:keyword",l.target.value))},null,42,v),a("span",g,[t.keyword!=""?(n(),c("button",{key:0,id:"btnClearSearch",tabindex:"1",title:e.$t("commons.clear_search"),class:"clear-selection delete",onClick:o[1]||(o[1]=l=>e.$emit("update:keyword",""))},null,8,w)):(n(),p(i,{key:1,icon:["fas","search"]}))])])])}}};export{b as _};
|
@ -1 +1 @@
|
||||
import{r as m,e as n,f as t,g as s,m as a,p as i,h as o,F as v,E as _,i as h,n as g,j as w,t as k}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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(u,T)=>{const d=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(d,{id:e.id,to:{name:e.view}},{default:i(()=>[w(k(u.$t(e.name)),1)]),_:2},1032,["id","to"])],2))),128))])])]),_:1})])}}};export{R as _};
|
||||
import{r as m,e as n,f as t,g as s,m as a,p as i,h as o,F as v,E as _,i as h,n as g,j as w,t as k}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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(u,T)=>{const d=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(d,{id:e.id,to:{name:e.view}},{default:i(()=>[w(k(u.$t(e.name)),1)]),_:2},1032,["id","to"])],2))),128))])])]),_:1})])}}};export{R as _};
|
@ -1 +1 @@
|
||||
import{a6 as p,e as l,f as n,g as t,h as e,m as a,t as c,l as r,k as d}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const _={key:0},m={key:0,class:"spinner-container"},y={class:"spinner-wrapper"},f={id:"icnSpinnerFull",class:"is-size-1 spinner"},u={key:1,class:"spinner-overlay-container"},h={class:"spinner-wrapper"},v={id:"icnSpinnerFull",class:"is-size-1 spinner"},g={key:3,class:"has-text-centered mt-6"},k={id:"icnSpinner",class:"is-size-4"},S={__name:"Spinner",props:{isVisible:Boolean,type:{type:String,default:"inline"},message:{type:String,default:"commons.generating_otp"}},setup(s){return(o,w)=>{const i=l("FontAwesomeIcon");return s.isVisible?(n(),t("div",_,[s.type=="fullscreen"?(n(),t("div",m,[e("div",y,[e("span",f,[a(i,{icon:["fas","spinner"],spin:""})]),e("span",null,c(o.$t(s.message)),1)])])):r("",!0),s.type=="fullscreen-overlay"?(n(),t("div",u,[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(),d(i,{key:2,icon:["fas","spinner"],spin:""})):(n(),t("div",g,[e("span",k,[a(i,{icon:["fas","spinner"],spin:""})])]))])):r("",!0)}}},V=p(S,[["__scopeId","data-v-247a4fa7"]]);export{V as S};
|
||||
import{a6 as p,e as l,f as n,g as t,h as e,m as a,t as c,l as r,k as d}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const _={key:0},m={key:0,class:"spinner-container"},y={class:"spinner-wrapper"},f={id:"icnSpinnerFull",class:"is-size-1 spinner"},u={key:1,class:"spinner-overlay-container"},h={class:"spinner-wrapper"},v={id:"icnSpinnerFull",class:"is-size-1 spinner"},g={key:3,class:"has-text-centered mt-6"},k={id:"icnSpinner",class:"is-size-4"},S={__name:"Spinner",props:{isVisible:Boolean,type:{type:String,default:"inline"},message:{type:String,default:"commons.generating_otp"}},setup(s){return(o,w)=>{const i=l("FontAwesomeIcon");return s.isVisible?(n(),t("div",_,[s.type=="fullscreen"?(n(),t("div",m,[e("div",y,[e("span",f,[a(i,{icon:["fas","spinner"],spin:""})]),e("span",null,c(o.$t(s.message)),1)])])):r("",!0),s.type=="fullscreen-overlay"?(n(),t("div",u,[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(),d(i,{key:2,icon:["fas","spinner"],spin:""})):(n(),t("div",g,[e("span",k,[a(i,{icon:["fas","spinner"],spin:""})])]))])):r("",!0)}}},V=p(S,[["__scopeId","data-v-247a4fa7"]]);export{V as S};
|
@ -1 +1 @@
|
||||
import{u as V,a as x,b as A,c as E,r as w,d as N,o as R,e as l,f as a,g as d,h as t,n as S,i as o,j as r,t as s,w as C,k as B,l as m,m as k,p as _}from"./app-SZK8VCXD.js";import{F as U}from"./Form-HwO5i2bJ.js";import{u as K}from"./bus-B5bab611.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const Q={class:"container has-text-centered"},T={class:"columns quick-uploader"},D=t("br",null,null,-1),M={class:"column is-full quick-uploader-button"},j={class:"quick-uploader-centerer"},z={class:"column is-full"},G={class:"block light-or-darker"},H={key:0,class:"block has-text-link"},J={class:"block has-text-link"},O={class:"block has-text-link"},Z={__name:"Start",setup(P){const f=V(),u=x(),b=K(),g=A(),h=E(),p=w(null),c=w(null),i=N(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 R(()=>{u.preferences.useDirectCapture&&u.preferences.defaultCaptureMode==="upload"&&c.value.click()}),(e,n)=>{const F=l("FieldError"),q=l("RouterLink"),I=l("ButtonBackCloseCancel"),L=l("VueFooter");return a(),d("div",Q,[t("div",T,[t("div",{class:S(["column is-full quick-uploader-header",{"is-invisible":o(h).count!==0}])},[r(s(e.$t("twofaccounts.no_account_here")),1),D,r(" "+s(e.$t("twofaccounts.add_first_account")),1)],2),t("div",M,[t("div",j,[o(u).preferences.useBasicQrcodeReader?(a(),d("label",{key:0,role:"button",tabindex:"0",class:"button is-link is-medium is-rounded is-main",ref_key:"qrcodeInputLabel",ref:c,onKeyup:n[0]||(n[0]=C(y=>o(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),r(" "+s(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)):(a(),d("button",{key:1,class:"button is-link is-medium is-rounded is-main",onClick:n[1]||(n[1]=y=>$())},s(e.$t("twofaccounts.forms.scan_qrcode")),1))]),o(i).errors.hasAny("qrcode")?(a(),B(F,{key:0,error:o(i).errors.get("qrcode"),field:"qrcode"},null,8,["error"])):m("",!0)]),t("div",z,[t("div",G,s(e.$t("twofaccounts.forms.alternative_methods")),1),o(u).preferences.useBasicQrcodeReader?m("",!0):(a(),d("div",H,[t("label",{role:"button",tabindex:"0",class:"button is-link is-outlined is-rounded",ref_key:"qrcodeInputLabel",ref:c,onKeyup:n[2]||(n[2]=C(y=>o(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),r(" "+s(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)])),t("div",J,[k(q,{class:"button is-link is-outlined is-rounded",to:{name:"createAccount"}},{default:_(()=>[r(s(e.$t("twofaccounts.forms.use_advanced_form")),1)]),_:1})]),t("div",O,[k(q,{id:"btnImport",class:"button is-link is-outlined is-rounded",to:{name:"importAccounts"}},{default:_(()=>[r(s(e.$t("twofaccounts.import.import")),1)]),_:1})])])]),k(L,{showButtons:!0},{default:_(()=>[o(h).isEmpty?m("",!0):(a(),B(I,{key:0,returnTo:{name:"accounts"},action:"back"}))]),_:1})])}}};export{Z as default};
|
||||
import{u as V,a as x,b as A,c as E,r as w,d as N,o as R,e as l,f as a,g as d,h as t,n as S,i as o,j as r,t as s,w as C,k as B,l as m,m as k,p as _}from"./app-ClFPZZ4l.js";import{F as U}from"./Form-BU_UekyP.js";import{u as K}from"./bus-D9XHlzlA.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const Q={class:"container has-text-centered"},T={class:"columns quick-uploader"},D=t("br",null,null,-1),M={class:"column is-full quick-uploader-button"},j={class:"quick-uploader-centerer"},z={class:"column is-full"},G={class:"block light-or-darker"},H={key:0,class:"block has-text-link"},J={class:"block has-text-link"},O={class:"block has-text-link"},Z={__name:"Start",setup(P){const f=V(),u=x(),b=K(),g=A(),h=E(),p=w(null),c=w(null),i=N(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 R(()=>{u.preferences.useDirectCapture&&u.preferences.defaultCaptureMode==="upload"&&c.value.click()}),(e,n)=>{const F=l("FieldError"),q=l("RouterLink"),I=l("ButtonBackCloseCancel"),L=l("VueFooter");return a(),d("div",Q,[t("div",T,[t("div",{class:S(["column is-full quick-uploader-header",{"is-invisible":o(h).count!==0}])},[r(s(e.$t("twofaccounts.no_account_here")),1),D,r(" "+s(e.$t("twofaccounts.add_first_account")),1)],2),t("div",M,[t("div",j,[o(u).preferences.useBasicQrcodeReader?(a(),d("label",{key:0,role:"button",tabindex:"0",class:"button is-link is-medium is-rounded is-main",ref_key:"qrcodeInputLabel",ref:c,onKeyup:n[0]||(n[0]=C(y=>o(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),r(" "+s(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)):(a(),d("button",{key:1,class:"button is-link is-medium is-rounded is-main",onClick:n[1]||(n[1]=y=>$())},s(e.$t("twofaccounts.forms.scan_qrcode")),1))]),o(i).errors.hasAny("qrcode")?(a(),B(F,{key:0,error:o(i).errors.get("qrcode"),field:"qrcode"},null,8,["error"])):m("",!0)]),t("div",z,[t("div",G,s(e.$t("twofaccounts.forms.alternative_methods")),1),o(u).preferences.useBasicQrcodeReader?m("",!0):(a(),d("div",H,[t("label",{role:"button",tabindex:"0",class:"button is-link is-outlined is-rounded",ref_key:"qrcodeInputLabel",ref:c,onKeyup:n[2]||(n[2]=C(y=>o(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),r(" "+s(e.$t("twofaccounts.forms.upload_qrcode")),1)],544)])),t("div",J,[k(q,{class:"button is-link is-outlined is-rounded",to:{name:"createAccount"}},{default:_(()=>[r(s(e.$t("twofaccounts.forms.use_advanced_form")),1)]),_:1})]),t("div",O,[k(q,{id:"btnImport",class:"button is-link is-outlined is-rounded",to:{name:"importAccounts"}},{default:_(()=>[r(s(e.$t("twofaccounts.import.import")),1)]),_:1})])])]),k(L,{showButtons:!0},{default:_(()=>[o(h).isEmpty?m("",!0):(a(),B(I,{key:0,returnTo:{name:"accounts"},action:"back"}))]),_:1})])}}};export{Z as default};
|
@ -1 +1 @@
|
||||
import{_ as j}from"./AdminTabs-uLrfnlDK.js";import{R as I,b as N,a2 as S,r as k,x as $,o as T,I as R,a1 as E,e as p,f as u,g as m,m as n,h as t,p as h,t as i,j as B,i as r,D as O,F as W,E as D,U as F,n as y,l as x}from"./app-SZK8VCXD.js";import{S as M}from"./Spinner-YD_iyg7o.js";import{_ as Z}from"./SearchBox-CVIMp336.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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 A=I("2fauth"),w=N(),z=S(A.prefix+"returnTo","accounts"),f=k([]),a=k(""),g=k(!1),C=$(()=>f.value.filter(e=>{let s=e.name.toLowerCase().includes(d.value.keywords)||e.email.toLowerCase().includes(d.value.keywords);return d.value.admin!=null&&(s=s&&e.is_admin==d.value.admin),d.value.oauth!=null&&(s=s&&e.oauth_provider==d.value.oauth),s})),d=$(()=>{const e={admin:void 0,oauth:void 0,keywords:a.value.toLowerCase()},s=a.value.toLowerCase().split(" "),c=/admin:([01])/,_=/oauth:([a-zA-Z0-9])/;return s.forEach(l=>{l.match(c)&&(e.admin=parseInt(l.replace(c,"$1")),e.keywords=e.keywords.replace(l,"").trim()),l.match(_)&&(e.oauth=l.replace(_,"$1"),e.keywords=e.keywords.replace(l,"").trim())}),e});T(()=>{L()});function b(e){const s=/admin:([01])/,c=/oauth:([a-zA-Z0-9]*)/;a.value.match(s)&&e.match(s)?a.value=a.value.replace(s,e):d.value.oauth!=null&&e.match(c)?a.value=a.value.replace(c,e):a.value=a.value?a.value+" "+e:e}function L(){g.value=!0,R.getAll({returnError:!0}).then(e=>{f.value=e.data}).catch(e=>{w.error(e)}).finally(()=>{g.value=!1})}return E(e=>{e.name.startsWith("admin.")||w.clear()}),(e,s)=>{const c=p("FontAwesomeIcon"),_=p("RouterLink"),l=p("ButtonBackCloseCancel"),U=p("VueFooter"),V=p("FormWrapper");return u(),m("div",null,[n(j,{activeTab:"admin.users"}),t("div",q,[n(V,null,{default:h(()=>[t("h4",G,i(e.$t("admin.users")),1),t("div",H,i(e.$t("admin.users_legend")),1),t("div",J,[n(_,{class:"is-link mt-5",to:{name:"admin.createUser"}},{default:h(()=>[n(c,{icon:["fas","plus-circle"]}),B(" "+i(e.$t("admin.create_new_user")),1)]),_:1},8,["to"])]),t("div",K,[t("div",P,[n(Z,{keyword:r(a),"onUpdate:keyword":s[0]||(s[0]=o=>O(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",{class:"button is-small is-ghost p-0",onClick:s[1]||(s[1]=o=>b("admin:1"))},"admin"),t("button",{class:"button is-small is-ghost p-0",onClick:s[2]||(s[2]=o=>b("oauth:github"))},"github"),t("button",{class:"button is-small is-ghost p-0",onClick:s[3]||(s[3]=o=>b("oauth:openid"))},"openId")])])]),r(C).length>0?(u(),m("div",te,[(u(!0),m(W,null,D(r(C),o=>(u(),m("div",{key:o.id,class:"list-item is-size-5 is-size-6-mobile is-flex is-justify-content-space-between"},[t("div",ae,[t("span",null,i(o.name),1),t("span",oe,i(o.email),1),n(r(F),null,{default:h(({mode:v})=>[t("div",ne,[o.is_admin?(u(),m("span",{key:0,class:y(["tag is-rounded has-text-warning-dark",v=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"admin",2)):x("",!0),o.oauth_provider?(u(),m("span",{key:1,class:y(["tag is-rounded has-text-grey",v=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"oauth: "+i(o.oauth_provider),3)):x("",!0)])]),_:2},1024)]),t("div",ie,[n(r(F),null,{default:h(({mode:v})=>[n(_,{to:{name:"admin.manageUser",params:{userId:o.id}},class:y(["button is-small has-normal-radius",{"is-dark":v=="dark"}]),title:e.$t("commons.manage")},{default:h(()=>[B(i(e.$t("commons.manage")),1)]),_:2},1032,["to","class","title"])]),_:2},1024)])]))),128))])):(u(),m("div",le,i(e.$t("commons.no_result")),1)),n(M,{isVisible:r(g)&&r(f).length===0},null,8,["isVisible"]),n(U,{showButtons:!0},{default:h(()=>[n(l,{returnTo:{name:r(z)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{he as default};
|
||||
import{_ as j}from"./AdminTabs-DCpBDOWM.js";import{R as I,b as N,a2 as S,r as k,x as $,o as T,I as R,a1 as E,e as p,f as u,g as m,m as n,h as t,p as h,t as i,j as B,i as r,D as O,F as W,E as D,U as F,n as y,l as x}from"./app-ClFPZZ4l.js";import{S as M}from"./Spinner-DbluacL6.js";import{_ as Z}from"./SearchBox-CrVpgv_C.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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 A=I("2fauth"),w=N(),z=S(A.prefix+"returnTo","accounts"),f=k([]),a=k(""),g=k(!1),C=$(()=>f.value.filter(e=>{let s=e.name.toLowerCase().includes(d.value.keywords)||e.email.toLowerCase().includes(d.value.keywords);return d.value.admin!=null&&(s=s&&e.is_admin==d.value.admin),d.value.oauth!=null&&(s=s&&e.oauth_provider==d.value.oauth),s})),d=$(()=>{const e={admin:void 0,oauth:void 0,keywords:a.value.toLowerCase()},s=a.value.toLowerCase().split(" "),c=/admin:([01])/,_=/oauth:([a-zA-Z0-9])/;return s.forEach(l=>{l.match(c)&&(e.admin=parseInt(l.replace(c,"$1")),e.keywords=e.keywords.replace(l,"").trim()),l.match(_)&&(e.oauth=l.replace(_,"$1"),e.keywords=e.keywords.replace(l,"").trim())}),e});T(()=>{L()});function b(e){const s=/admin:([01])/,c=/oauth:([a-zA-Z0-9]*)/;a.value.match(s)&&e.match(s)?a.value=a.value.replace(s,e):d.value.oauth!=null&&e.match(c)?a.value=a.value.replace(c,e):a.value=a.value?a.value+" "+e:e}function L(){g.value=!0,R.getAll({returnError:!0}).then(e=>{f.value=e.data}).catch(e=>{w.error(e)}).finally(()=>{g.value=!1})}return E(e=>{e.name.startsWith("admin.")||w.clear()}),(e,s)=>{const c=p("FontAwesomeIcon"),_=p("RouterLink"),l=p("ButtonBackCloseCancel"),U=p("VueFooter"),V=p("FormWrapper");return u(),m("div",null,[n(j,{activeTab:"admin.users"}),t("div",q,[n(V,null,{default:h(()=>[t("h4",G,i(e.$t("admin.users")),1),t("div",H,i(e.$t("admin.users_legend")),1),t("div",J,[n(_,{class:"is-link mt-5",to:{name:"admin.createUser"}},{default:h(()=>[n(c,{icon:["fas","plus-circle"]}),B(" "+i(e.$t("admin.create_new_user")),1)]),_:1},8,["to"])]),t("div",K,[t("div",P,[n(Z,{keyword:r(a),"onUpdate:keyword":s[0]||(s[0]=o=>O(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",{class:"button is-small is-ghost p-0",onClick:s[1]||(s[1]=o=>b("admin:1"))},"admin"),t("button",{class:"button is-small is-ghost p-0",onClick:s[2]||(s[2]=o=>b("oauth:github"))},"github"),t("button",{class:"button is-small is-ghost p-0",onClick:s[3]||(s[3]=o=>b("oauth:openid"))},"openId")])])]),r(C).length>0?(u(),m("div",te,[(u(!0),m(W,null,D(r(C),o=>(u(),m("div",{key:o.id,class:"list-item is-size-5 is-size-6-mobile is-flex is-justify-content-space-between"},[t("div",ae,[t("span",null,i(o.name),1),t("span",oe,i(o.email),1),n(r(F),null,{default:h(({mode:v})=>[t("div",ne,[o.is_admin?(u(),m("span",{key:0,class:y(["tag is-rounded has-text-warning-dark",v=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"admin",2)):x("",!0),o.oauth_provider?(u(),m("span",{key:1,class:y(["tag is-rounded has-text-grey",v=="dark"?"has-background-black-bis":"has-background-grey-lighter"])},"oauth: "+i(o.oauth_provider),3)):x("",!0)])]),_:2},1024)]),t("div",ie,[n(r(F),null,{default:h(({mode:v})=>[n(_,{to:{name:"admin.manageUser",params:{userId:o.id}},class:y(["button is-small has-normal-radius",{"is-dark":v=="dark"}]),title:e.$t("commons.manage")},{default:h(()=>[B(i(e.$t("commons.manage")),1)]),_:2},1032,["to","class","title"])]),_:2},1024)])]))),128))])):(u(),m("div",le,i(e.$t("commons.no_result")),1)),n(M,{isVisible:r(g)&&r(f).length===0},null,8,["isVisible"]),n(U,{showButtons:!0},{default:h(()=>[n(l,{returnTo:{name:r(z)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{he as default};
|
@ -1 +1 @@
|
||||
import{R as z,a as A,S as L,b as M,u as U,a2 as E,r as k,x as H,o as I,s as R,I as b,a1 as j,e as _,f as c,g as h,m as r,h as s,p as v,i as t,t as a,l as g,w as K,j as C,F as J,E as P,U as q,n as G,H as u}from"./app-SZK8VCXD.js";import{_ as Q}from"./SettingTabs-SwPVkX35.js";import{w as X}from"./webauthnService-BvinF7z1.js";import{S as Y}from"./Spinner-YD_iyg7o.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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 S=z("2fauth"),o=A(),y=L(),n=M(),x=U(),W=E(S.prefix+"returnTo","accounts"),i=k([]),f=k(!1),p=H(()=>y.enableSso&&y.useSsoOnly||o.authenticated_by_proxy);I(()=>{V()}),R(()=>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=>{x.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"),T=_("VueFooter"),N=_("FormWrapper");return c(),h("div",null,[r(Q,{activeTab:"settings.webauthn.devices"},null,8,["activeTab"]),s("div",Z,[r(N,null,{default:v(()=>[t(p)&&t(o).oauth_provider?(c(),h("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?(c(),h("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?(c(),h("div",oe,[(c(!0),h(J,null,P(t(i),d=>(c(),h("div",{key:d.id,class:"group-item is-size-5 is-size-6-mobile"},[C(a(F(d))+" ",1),r(t(q),null,{default:v(({mode:D})=>[s("button",{class:G(["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(T,{showButtons:!0},{default:v(()=>[r(O,{returnTo:{name:t(W)},action:"close"},null,8,["returnTo"])]),_:1})]),_:1})])])}}};export{me as default};
|
||||
import{R as z,a as A,S as L,b as M,u as U,a2 as E,r as k,x as H,o as I,s as R,I as b,a1 as j,e as _,f as c,g as h,m as r,h as s,p as v,i as t,t as a,l as g,w as K,j as C,F as J,E as P,U as q,n as G,H as u}from"./app-ClFPZZ4l.js";import{_ as Q}from"./SettingTabs-Ihq7-3dC.js";import{w as X}from"./webauthnService-D3MQflUv.js";import{S as Y}from"./Spinner-DbluacL6.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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 S=z("2fauth"),o=A(),y=L(),n=M(),x=U(),W=E(S.prefix+"returnTo","accounts"),i=k([]),f=k(!1),p=H(()=>y.enableSso&&y.useSsoOnly||o.authenticated_by_proxy);I(()=>{V()}),R(()=>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=>{x.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"),T=_("VueFooter"),N=_("FormWrapper");return c(),h("div",null,[r(Q,{activeTab:"settings.webauthn.devices"},null,8,["activeTab"]),s("div",Z,[r(N,null,{default:v(()=>[t(p)&&t(o).oauth_provider?(c(),h("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?(c(),h("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?(c(),h("div",oe,[(c(!0),h(J,null,P(t(i),d=>(c(),h("div",{key:d.id,class:"group-item is-size-5 is-size-6-mobile"},[C(a(F(d))+" ",1),r(t(q),null,{default:v(({mode:D})=>[s("button",{class:G(["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(T,{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
@ -1 +1 @@
|
||||
import{a7 as u,b as a,H as i}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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{a7 as u,b as a,H as i}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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};
|
@ -1 +1 @@
|
||||
import{a5 as e}from"./app-SZK8VCXD.js";/*! 2FAuth version 5.3.1 - Copyright (c) 2024 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{a5 as e}from"./app-ClFPZZ4l.js";/*! 2FAuth version 5.3.2 - Copyright (c) 2024 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
@ -1,58 +1,58 @@
|
||||
{
|
||||
"_AccessLogViewer-CINYivkh.js": {
|
||||
"file": "assets/AccessLogViewer-CINYivkh.js",
|
||||
"_AccessLogViewer-DpsS0paC.js": {
|
||||
"file": "assets/AccessLogViewer-DpsS0paC.js",
|
||||
"name": "AccessLogViewer",
|
||||
"imports": [
|
||||
"_SearchBox-CVIMp336.js",
|
||||
"_SearchBox-CrVpgv_C.js",
|
||||
"resources/js/app.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"_AdminTabs-uLrfnlDK.js": {
|
||||
"file": "assets/AdminTabs-uLrfnlDK.js",
|
||||
"_AdminTabs-DCpBDOWM.js": {
|
||||
"file": "assets/AdminTabs-DCpBDOWM.js",
|
||||
"name": "AdminTabs",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_CopyButton-xy5y_fwK.js": {
|
||||
"file": "assets/CopyButton-xy5y_fwK.js",
|
||||
"_CopyButton-C3nA-8ws.js": {
|
||||
"file": "assets/CopyButton-C3nA-8ws.js",
|
||||
"name": "CopyButton",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_Form-HwO5i2bJ.js": {
|
||||
"file": "assets/Form-HwO5i2bJ.js",
|
||||
"_Form-BU_UekyP.js": {
|
||||
"file": "assets/Form-BU_UekyP.js",
|
||||
"name": "Form",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_OtpDisplay-D0I30jj_.js": {
|
||||
"file": "assets/OtpDisplay-D0I30jj_.js",
|
||||
"_OtpDisplay-BCFmhPMf.js": {
|
||||
"file": "assets/OtpDisplay-BCFmhPMf.js",
|
||||
"name": "OtpDisplay",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"_QrContentDisplay-CTqzFt-X.js": {
|
||||
"file": "assets/QrContentDisplay-CTqzFt-X.js",
|
||||
"_QrContentDisplay-ByKmcBd8.js": {
|
||||
"file": "assets/QrContentDisplay-ByKmcBd8.js",
|
||||
"name": "QrContentDisplay",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_SearchBox-CVIMp336.js": {
|
||||
"file": "assets/SearchBox-CVIMp336.js",
|
||||
"_SearchBox-CrVpgv_C.js": {
|
||||
"file": "assets/SearchBox-CrVpgv_C.js",
|
||||
"name": "SearchBox",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_SettingTabs-SwPVkX35.js": {
|
||||
"file": "assets/SettingTabs-SwPVkX35.js",
|
||||
"_SettingTabs-Ihq7-3dC.js": {
|
||||
"file": "assets/SettingTabs-Ihq7-3dC.js",
|
||||
"name": "SettingTabs",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
@ -62,8 +62,8 @@
|
||||
"file": "assets/Spinner-DQLRB1dd.css",
|
||||
"src": "_Spinner-!~{00N}~.js"
|
||||
},
|
||||
"_Spinner-YD_iyg7o.js": {
|
||||
"file": "assets/Spinner-YD_iyg7o.js",
|
||||
"_Spinner-DbluacL6.js": {
|
||||
"file": "assets/Spinner-DbluacL6.js",
|
||||
"name": "Spinner",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
@ -72,29 +72,29 @@
|
||||
"assets/Spinner-DQLRB1dd.css"
|
||||
]
|
||||
},
|
||||
"_appSettingsUpdater-B5AoHqQU.js": {
|
||||
"file": "assets/appSettingsUpdater-B5AoHqQU.js",
|
||||
"_appSettingsUpdater-B9ur6vaR.js": {
|
||||
"file": "assets/appSettingsUpdater-B9ur6vaR.js",
|
||||
"name": "appSettingsUpdater",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_bus-B5bab611.js": {
|
||||
"file": "assets/bus-B5bab611.js",
|
||||
"_bus-D9XHlzlA.js": {
|
||||
"file": "assets/bus-D9XHlzlA.js",
|
||||
"name": "bus",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_webauthnService-BvinF7z1.js": {
|
||||
"file": "assets/webauthnService-BvinF7z1.js",
|
||||
"_webauthnService-D3MQflUv.js": {
|
||||
"file": "assets/webauthnService-D3MQflUv.js",
|
||||
"name": "webauthnService",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"resources/js/app.js": {
|
||||
"file": "assets/app-SZK8VCXD.js",
|
||||
"file": "assets/app-ClFPZZ4l.js",
|
||||
"name": "app",
|
||||
"src": "resources/js/app.js",
|
||||
"isEntry": true,
|
||||
@ -155,7 +155,7 @@
|
||||
]
|
||||
},
|
||||
"resources/js/views/About.vue": {
|
||||
"file": "assets/About-B1rOC0pB.js",
|
||||
"file": "assets/About-gO-rsbST.js",
|
||||
"name": "About",
|
||||
"src": "resources/js/views/About.vue",
|
||||
"isDynamicEntry": true,
|
||||
@ -164,7 +164,7 @@
|
||||
]
|
||||
},
|
||||
"resources/js/views/Error.vue": {
|
||||
"file": "assets/Error-DHaQ_aPY.js",
|
||||
"file": "assets/Error-CpFeP1L7.js",
|
||||
"name": "Error",
|
||||
"src": "resources/js/views/Error.vue",
|
||||
"isDynamicEntry": true,
|
||||
@ -173,389 +173,389 @@
|
||||
]
|
||||
},
|
||||
"resources/js/views/Start.vue": {
|
||||
"file": "assets/Start-BXt1eMB7.js",
|
||||
"file": "assets/Start-jim6SVbZ.js",
|
||||
"name": "Start",
|
||||
"src": "resources/js/views/Start.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_bus-B5bab611.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_bus-D9XHlzlA.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/admin/AppSetup.vue": {
|
||||
"file": "assets/AppSetup-DWrh9LzE.js",
|
||||
"file": "assets/AppSetup-BIyTut9J.js",
|
||||
"name": "AppSetup",
|
||||
"src": "resources/js/views/admin/AppSetup.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_AdminTabs-uLrfnlDK.js",
|
||||
"_AdminTabs-DCpBDOWM.js",
|
||||
"resources/js/app.js",
|
||||
"_appSettingsUpdater-B5AoHqQU.js",
|
||||
"_CopyButton-xy5y_fwK.js"
|
||||
"_appSettingsUpdater-B9ur6vaR.js",
|
||||
"_CopyButton-C3nA-8ws.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/admin/Auth.vue": {
|
||||
"file": "assets/Auth-B1dxWh7D.js",
|
||||
"file": "assets/Auth-ChOnNImY.js",
|
||||
"name": "Auth",
|
||||
"src": "resources/js/views/admin/Auth.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_AdminTabs-uLrfnlDK.js",
|
||||
"_AdminTabs-DCpBDOWM.js",
|
||||
"resources/js/app.js",
|
||||
"_appSettingsUpdater-B5AoHqQU.js"
|
||||
"_appSettingsUpdater-B9ur6vaR.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/admin/Users.vue": {
|
||||
"file": "assets/Users-iM2Dt55Z.js",
|
||||
"file": "assets/Users-BPe4mt9P.js",
|
||||
"name": "Users",
|
||||
"src": "resources/js/views/admin/Users.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_AdminTabs-uLrfnlDK.js",
|
||||
"_AdminTabs-DCpBDOWM.js",
|
||||
"resources/js/app.js",
|
||||
"_Spinner-YD_iyg7o.js",
|
||||
"_SearchBox-CVIMp336.js"
|
||||
"_Spinner-DbluacL6.js",
|
||||
"_SearchBox-CrVpgv_C.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/admin/logs/Access.vue": {
|
||||
"file": "assets/Access-fxjDWjSe.js",
|
||||
"file": "assets/Access-Ccs1mty_.js",
|
||||
"name": "Access",
|
||||
"src": "resources/js/views/admin/logs/Access.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_AccessLogViewer-CINYivkh.js",
|
||||
"_AccessLogViewer-DpsS0paC.js",
|
||||
"resources/js/app.js",
|
||||
"_bus-B5bab611.js",
|
||||
"_SearchBox-CVIMp336.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_bus-D9XHlzlA.js",
|
||||
"_SearchBox-CrVpgv_C.js",
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/admin/users/Create.vue": {
|
||||
"file": "assets/Create-CkmzH8U5.js",
|
||||
"file": "assets/Create-Ba97X0SL.js",
|
||||
"name": "Create",
|
||||
"src": "resources/js/views/admin/users/Create.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js"
|
||||
"_Form-BU_UekyP.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/admin/users/Manage.vue": {
|
||||
"file": "assets/Manage-DFj3U8y5.js",
|
||||
"file": "assets/Manage-BTMxJeOR.js",
|
||||
"name": "Manage",
|
||||
"src": "resources/js/views/admin/users/Manage.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_CopyButton-xy5y_fwK.js",
|
||||
"_AccessLogViewer-CINYivkh.js",
|
||||
"_CopyButton-C3nA-8ws.js",
|
||||
"_AccessLogViewer-DpsS0paC.js",
|
||||
"resources/js/app.js",
|
||||
"_bus-B5bab611.js",
|
||||
"_SearchBox-CVIMp336.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_bus-D9XHlzlA.js",
|
||||
"_SearchBox-CrVpgv_C.js",
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/auth/Login.vue": {
|
||||
"file": "assets/Login-DdiB9-vA.js",
|
||||
"file": "assets/Login-C9w8ylLW.js",
|
||||
"name": "Login",
|
||||
"src": "resources/js/views/auth/Login.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_webauthnService-BvinF7z1.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_webauthnService-D3MQflUv.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/auth/Register.vue": {
|
||||
"file": "assets/Register-UF_6fIB8.js",
|
||||
"file": "assets/Register-DJ6E_bC3.js",
|
||||
"name": "Register",
|
||||
"src": "resources/js/views/auth/Register.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_webauthnService-BvinF7z1.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_webauthnService-D3MQflUv.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/auth/RequestReset.vue": {
|
||||
"file": "assets/RequestReset-DGlAdQva.js",
|
||||
"file": "assets/RequestReset-NvMdnauD.js",
|
||||
"name": "RequestReset",
|
||||
"src": "resources/js/views/auth/RequestReset.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js"
|
||||
"_Form-BU_UekyP.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/auth/password/Reset.vue": {
|
||||
"file": "assets/Reset-xkBEVRc4.js",
|
||||
"file": "assets/Reset-DjHXRMcy.js",
|
||||
"name": "Reset",
|
||||
"src": "resources/js/views/auth/password/Reset.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js"
|
||||
"_Form-BU_UekyP.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/auth/webauthn/Recover.vue": {
|
||||
"file": "assets/Recover-BqGt4d7x.js",
|
||||
"file": "assets/Recover-DlqOLrlD.js",
|
||||
"name": "Recover",
|
||||
"src": "resources/js/views/auth/webauthn/Recover.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js"
|
||||
"_Form-BU_UekyP.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/groups/CreateUpdate.vue": {
|
||||
"file": "assets/CreateUpdate-CZEwb9BS.js",
|
||||
"file": "assets/CreateUpdate-CRSz4Bk9.js",
|
||||
"name": "CreateUpdate",
|
||||
"src": "resources/js/views/groups/CreateUpdate.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_bus-B5bab611.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_bus-D9XHlzlA.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/groups/Groups.vue": {
|
||||
"file": "assets/Groups-zzrz6O0y.js",
|
||||
"file": "assets/Groups-3ro_a4K3.js",
|
||||
"name": "Groups",
|
||||
"src": "resources/js/views/groups/Groups.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_bus-B5bab611.js"
|
||||
"_bus-D9XHlzlA.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/settings/Account.vue": {
|
||||
"file": "assets/Account-CdpjsuML.js",
|
||||
"file": "assets/Account-gQ_7yo6T.js",
|
||||
"name": "Account",
|
||||
"src": "resources/js/views/settings/Account.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_SettingTabs-SwPVkX35.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_SettingTabs-Ihq7-3dC.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/settings/Credentials/Edit.vue": {
|
||||
"file": "assets/Edit-Dxda5GrM.js",
|
||||
"file": "assets/Edit-DK2v74SA.js",
|
||||
"name": "Edit",
|
||||
"src": "resources/js/views/settings/Credentials/Edit.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js"
|
||||
"_Form-BU_UekyP.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/settings/OAuth.vue": {
|
||||
"file": "assets/OAuth-DfvIWczc.js",
|
||||
"file": "assets/OAuth-DqNwsu-0.js",
|
||||
"name": "OAuth",
|
||||
"src": "resources/js/views/settings/OAuth.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_SettingTabs-SwPVkX35.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_SettingTabs-Ihq7-3dC.js",
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/settings/Options.vue": {
|
||||
"file": "assets/Options-BhiSwquK.js",
|
||||
"file": "assets/Options-BY7Wfrgh.js",
|
||||
"name": "Options",
|
||||
"src": "resources/js/views/settings/Options.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_SettingTabs-SwPVkX35.js",
|
||||
"_SettingTabs-Ihq7-3dC.js",
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/settings/WebAuthn.vue": {
|
||||
"file": "assets/WebAuthn-CdzqvX5d.js",
|
||||
"file": "assets/WebAuthn-B5Cde1bR.js",
|
||||
"name": "WebAuthn",
|
||||
"src": "resources/js/views/settings/WebAuthn.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_SettingTabs-SwPVkX35.js",
|
||||
"_webauthnService-BvinF7z1.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_SettingTabs-Ihq7-3dC.js",
|
||||
"_webauthnService-D3MQflUv.js",
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/twofaccounts/Accounts.vue": {
|
||||
"file": "assets/Accounts-Ma2P5PrK.js",
|
||||
"file": "assets/Accounts-CHG5NuF5.js",
|
||||
"name": "Accounts",
|
||||
"src": "resources/js/views/twofaccounts/Accounts.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_OtpDisplay-D0I30jj_.js",
|
||||
"_SearchBox-CVIMp336.js",
|
||||
"_bus-B5bab611.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_OtpDisplay-BCFmhPMf.js",
|
||||
"_SearchBox-CrVpgv_C.js",
|
||||
"_bus-D9XHlzlA.js",
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/twofaccounts/Capture.vue": {
|
||||
"file": "assets/Capture-EugJ4yw2.js",
|
||||
"file": "assets/Capture-C8A7talI.js",
|
||||
"name": "Capture",
|
||||
"src": "resources/js/views/twofaccounts/Capture.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_Spinner-YD_iyg7o.js",
|
||||
"_QrContentDisplay-CTqzFt-X.js",
|
||||
"_bus-B5bab611.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_Spinner-DbluacL6.js",
|
||||
"_QrContentDisplay-ByKmcBd8.js",
|
||||
"_bus-D9XHlzlA.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/twofaccounts/CreateUpdate.vue": {
|
||||
"file": "assets/CreateUpdate-BNx7d4Uw.js",
|
||||
"file": "assets/CreateUpdate-CdA-dxxn.js",
|
||||
"name": "CreateUpdate",
|
||||
"src": "resources/js/views/twofaccounts/CreateUpdate.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_OtpDisplay-D0I30jj_.js",
|
||||
"_QrContentDisplay-CTqzFt-X.js",
|
||||
"_bus-B5bab611.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_OtpDisplay-BCFmhPMf.js",
|
||||
"_QrContentDisplay-ByKmcBd8.js",
|
||||
"_bus-D9XHlzlA.js",
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/twofaccounts/Import.vue": {
|
||||
"file": "assets/Import-q0fDFy8A.js",
|
||||
"file": "assets/Import-DErNWu9W.js",
|
||||
"name": "Import",
|
||||
"src": "resources/js/views/twofaccounts/Import.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Form-HwO5i2bJ.js",
|
||||
"_OtpDisplay-D0I30jj_.js",
|
||||
"_Spinner-YD_iyg7o.js",
|
||||
"_bus-B5bab611.js"
|
||||
"_Form-BU_UekyP.js",
|
||||
"_OtpDisplay-BCFmhPMf.js",
|
||||
"_Spinner-DbluacL6.js",
|
||||
"_bus-D9XHlzlA.js"
|
||||
]
|
||||
},
|
||||
"resources/js/views/twofaccounts/QRcode.vue": {
|
||||
"file": "assets/QRcode-BX3q-Gl5.js",
|
||||
"file": "assets/QRcode-B2X2U-yu.js",
|
||||
"name": "QRcode",
|
||||
"src": "resources/js/views/twofaccounts/QRcode.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Spinner-YD_iyg7o.js"
|
||||
"_Spinner-DbluacL6.js"
|
||||
]
|
||||
},
|
||||
"resources/lang/php_ar.json": {
|
||||
"file": "assets/php_ar-ClPqeoHJ.js",
|
||||
"file": "assets/php_ar-Bp3USBoM.js",
|
||||
"name": "php_ar",
|
||||
"src": "resources/lang/php_ar.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_bg.json": {
|
||||
"file": "assets/php_bg-DYtcmBFY.js",
|
||||
"file": "assets/php_bg-B8o9lYev.js",
|
||||
"name": "php_bg",
|
||||
"src": "resources/lang/php_bg.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_de.json": {
|
||||
"file": "assets/php_de-BGpekBJf.js",
|
||||
"file": "assets/php_de-QL4Hq_ko.js",
|
||||
"name": "php_de",
|
||||
"src": "resources/lang/php_de.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_en.json": {
|
||||
"file": "assets/php_en-BSGuOi31.js",
|
||||
"file": "assets/php_en-X87AnGoE.js",
|
||||
"name": "php_en",
|
||||
"src": "resources/lang/php_en.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_es.json": {
|
||||
"file": "assets/php_es-BXUb3obh.js",
|
||||
"file": "assets/php_es-D4VPdLns.js",
|
||||
"name": "php_es",
|
||||
"src": "resources/lang/php_es.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_fr.json": {
|
||||
"file": "assets/php_fr-D3M4OlV4.js",
|
||||
"file": "assets/php_fr-lr_JVuGq.js",
|
||||
"name": "php_fr",
|
||||
"src": "resources/lang/php_fr.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_hi.json": {
|
||||
"file": "assets/php_hi-D8G3JATS.js",
|
||||
"file": "assets/php_hi-C3thQjb2.js",
|
||||
"name": "php_hi",
|
||||
"src": "resources/lang/php_hi.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_id.json": {
|
||||
"file": "assets/php_id-CSWxTxbv.js",
|
||||
"file": "assets/php_id-BQFkrwL5.js",
|
||||
"name": "php_id",
|
||||
"src": "resources/lang/php_id.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_it.json": {
|
||||
"file": "assets/php_it-DuTZESP_.js",
|
||||
"file": "assets/php_it-4bYerBrz.js",
|
||||
"name": "php_it",
|
||||
"src": "resources/lang/php_it.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_ja.json": {
|
||||
"file": "assets/php_ja-Dy2-X6f4.js",
|
||||
"file": "assets/php_ja-C5ODWc4w.js",
|
||||
"name": "php_ja",
|
||||
"src": "resources/lang/php_ja.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_ko.json": {
|
||||
"file": "assets/php_ko-CIJoluM2.js",
|
||||
"file": "assets/php_ko-CGO4DpUk.js",
|
||||
"name": "php_ko",
|
||||
"src": "resources/lang/php_ko.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_nl.json": {
|
||||
"file": "assets/php_nl-BkFU-ETT.js",
|
||||
"file": "assets/php_nl-CWTYXaqd.js",
|
||||
"name": "php_nl",
|
||||
"src": "resources/lang/php_nl.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_pl.json": {
|
||||
"file": "assets/php_pl-ClPqeoHJ.js",
|
||||
"file": "assets/php_pl-Bp3USBoM.js",
|
||||
"name": "php_pl",
|
||||
"src": "resources/lang/php_pl.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_pt.json": {
|
||||
"file": "assets/php_pt-DvMN_5-m.js",
|
||||
"file": "assets/php_pt-DC4o1eWs.js",
|
||||
"name": "php_pt",
|
||||
"src": "resources/lang/php_pt.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_ro.json": {
|
||||
"file": "assets/php_ro-CcPlQRT0.js",
|
||||
"file": "assets/php_ro-y63tlBMP.js",
|
||||
"name": "php_ro",
|
||||
"src": "resources/lang/php_ro.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_ru.json": {
|
||||
"file": "assets/php_ru-DVIvYl0D.js",
|
||||
"file": "assets/php_ru-BFjkR0vY.js",
|
||||
"name": "php_ru",
|
||||
"src": "resources/lang/php_ru.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_si.json": {
|
||||
"file": "assets/php_si-CRL94kaT.js",
|
||||
"file": "assets/php_si-C6wAG7b5.js",
|
||||
"name": "php_si",
|
||||
"src": "resources/lang/php_si.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_tr.json": {
|
||||
"file": "assets/php_tr-BEBQQeLp.js",
|
||||
"file": "assets/php_tr-ChzPip8W.js",
|
||||
"name": "php_tr",
|
||||
"src": "resources/lang/php_tr.json",
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"resources/lang/php_zh.json": {
|
||||
"file": "assets/php_zh-CCzPGXSp.js",
|
||||
"file": "assets/php_zh-CK2s_Fjp.js",
|
||||
"name": "php_zh",
|
||||
"src": "resources/lang/php_zh.json",
|
||||
"isDynamicEntry": true
|
||||
|
Loading…
Reference in New Issue
Block a user