1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Update Flutter client

This commit is contained in:
hillelcoren 2020-03-22 13:56:58 +00:00
parent 57f893f3e2
commit 54f3701cd5
3 changed files with 75 additions and 79 deletions

View File

@ -1,7 +1,7 @@
'use strict';
const CACHE_NAME = 'flutter-app-cache';
const RESOURCES = {
"/main.dart.js": "33d023ee3f97dc1e1674e2e652629ffb",
"/main.dart.js": "3b5d48a6418a26dcd6b416a18dde47c8",
"/favicon.ico": "51636d3a390451561744c42188ccd628",
"/index.html": "02f52d8ed33971b0d7a938e631e89401",
"/assets/fonts/MaterialIcons-Regular.ttf": "56d3ffdef7a25659eab6a68a3fbfaf16",

148
public/main.dart.js vendored
View File

@ -21874,9 +21874,8 @@ _.z=g
_.Q=h
_.ch=null
_.cx=""
_.dx=_.db=_.cy=!1
_.dy=!0
_.fy=_.fx=_.fr=!1
_.db=_.cy=!0
_.fy=_.fx=_.fr=_.dy=_.dx=!1
_.go=!0
_.id=!1
_.a=null
@ -134763,7 +134762,7 @@ t=o.r.a.a.length!==0
s=o.x.a.a.length!==0
r=o.y.a.a.length
q=o.z.a.a.length!==0
if(o.dy)p=t&&s&&r!==0&&q
if(o.db)p=t&&s&&r!==0&&q
else p=t&&s
if(p)o.a3(new Y.bxz(o))},
alG:function(){var t,s,r,q,p,o,n,m,l,k=this,j=k.d.gcB()
@ -134773,7 +134772,7 @@ j=L.F(k.c,C.k,u.F)
s=k.a.c
k.a3(new Y.bxJ(k,t))
if(!t)return
if(k.db)r=!k.fx||!k.fy
if(k.dx)r=!k.fx||!k.fy
else r=!1
if(r){E.cS(!0,new Y.bxK(k,j),k.c,null,!0,u.sB)
return}j=new P.ao($.ap,u.Z)
@ -134797,85 +134796,82 @@ if(!t)return
k=new P.ao($.ap,u.Z)
r=new P.aU(k,u.M)
k.T(0,new Y.bxE(l),u.P).aj(new Y.bxF(l))
if(l.cy){k=l.dx
if(l.cy){k=l.dy
q=l.c
p=l.r.a
if(k){k=l.dy
if(k){k=l.db
o=k?l.y.a.a:""
k=k?l.z.a.a:""
s.d.$5$email$secret$url(q,r,p.a,k,o)}else{k=l.x.a
o=l.dy
o=l.db
n=o?l.y.a.a:""
o=o?l.z.a.a:""
m=l.Q.a
s.c.$7$email$oneTimePassword$password$secret$url(q,r,p.a,m.a,k.a,o,n)}}else{k=l.c
q=l.dy
q=l.db
p=q?l.y.a.a:""
q=q?l.z.a.a:""
o=l.Q.a
s.f.$5$oneTimePassword$secret$url(k,r,o.a,q,p)}},
D:function(a6){var t,s,r,q,p,o,n,m,l,k,j,i,h,g=this,f=null,e="OTP_REQUIRED",d="#0091EA",c="password",b="i_agree_to_the",a="https://www.invoiceninja.com/terms",a0="create_account",a1=L.F(a6,C.k,u.F),a2=g.a.c,a3=J.kS(g.cx,e)||g.Q.a.a.length!==0,a4=K.W(a6,!1).a_.z,a5=a4.eS(E.a6G(d))
a2.toString
t=K.W(a6,!1).k2
s=K.W(a6,!1).k2
s.toString
s=s.a
s=M.aw(f,f,f,f,S.iQ(f,f,f,f,T.aZ4(C.zS,H.a([t,P.bX(C.H.aM(178.5),(16711680&s)>>>16,(65280&s)>>>8,(255&s)>>>0)],u.Ai),C.db,f,C.iW,f),f,C.aS),f,f,f,f)
t=U.aSW("assets/images/logo.png",100,100)
r=P.c_(0,0,0,500,0,0)
q=a2.b.f?0:1
p=D.chy(a6)
o=u.p
n=H.a([],o)
if(a3)n.push(S.aH(!1,!1,!1,g.Q,!0,f,f,f,J.b($.e.h(0,a1.a),"one_time_password"),f,!1,f,f,f,f))
else{m=H.a([],o)
m.push(new T.au(f,10,f,f))
if(g.db&&g.cy)m.push(S.aH(!1,!1,!1,g.e,!0,f,f,f,J.b($.e.h(0,a1.a),"first_name"),f,!1,f,f,f,new Y.bxU(a1)))
if(g.db&&g.cy)m.push(S.aH(!1,!1,!1,g.f,!0,f,f,f,J.b($.e.h(0,a1.a),"last_name"),f,!1,f,f,f,new Y.bxV(a1)))
if(g.cy){l=g.id&&!g.db?C.h5:C.c7
k=J.b($.e.h(0,a1.a),"email")
m.push(S.aH(!1,!1,g.fr,g.r,!0,f,f,C.iT,k,f,!1,f,new Y.bxW(a6),l,new Y.by4(a1)))}if(g.cy&&!g.dx){l=a1.a
k=J.b($.e.h(0,l),c)
j=g.id&&!g.db?C.h5:C.c7
i=g.fr
l=J.b($.e.h(0,l),c)
h=g.go
m.push(E.kH(!1,!1,i,g.x,L.hm(f,f,f,f,f,f,f,!0,f,f,f,f,f,f,f,C.bl,f,f,f,!0,f,f,f,f,f,f,f,f,f,f,l,f,f,f,f,f,f,f,B.cF(f,L.aG(h?C.El:C.Em,f,f),new Y.by5(g),C.Y,f),f,f,f),!0,!1,f,f,new D.ax(k,u.O),f,1,f,h,f,new Y.by6(a6),!1,C.aj,j,new Y.by7(g,a1)))}if(g.dy){l=a1.a
k=J.b($.e.h(0,l),"url")
j=g.fr
i=g.id?C.h5:C.c7
m.push(E.kH(!1,!1,j,g.y,L.hm(f,f,f,f,f,f,f,!0,f,f,f,f,f,f,f,C.bl,f,f,f,!0,f,f,f,f,f,f,f,f,f,f,J.b($.e.h(0,l),"url"),f,f,f,f,f,f,f,f,f,f,f),!0,!1,f,f,new D.ax(k,u.O),C.mB,1,f,!1,f,new Y.by8(a6),!1,C.aj,i,new Y.by9(a1)))}if(g.dy){l=a1.a
k=J.b($.e.h(0,l),"secret")
m.push(E.kH(!1,!1,!1,g.z,L.hm(f,f,f,f,f,f,f,!0,f,f,f,f,f,f,f,C.bl,f,f,f,!0,f,f,f,f,f,f,f,f,f,f,H.h(J.b($.e.h(0,l),"secret"))+" ("+H.h(J.b($.e.h(0,l),"optional"))+")",f,f,f,f,f,f,f,f,f,f,f),!0,!1,f,f,new D.ax(k,u.O),f,1,f,!0,f,new Y.bya(a6),!1,C.aj,C.h5,f))}if(g.db){l=E.a6G(d)
k=g.fx
j=a1.a
i=u.Ne
k=D.t6(l,C.cL,f,f,new Y.byb(g),T.ajN(f,f,C.bs,!0,f,Q.jf(H.a([Q.jf(f,f,a4,J.bk(J.b($.e.h(0,j),b)," ")),Z.clI(a5,J.b($.e.h(0,j),"terms_of_service_link"),a)],i),f,f,f),C.aj,f,f,1,C.aU),k)
l=E.a6G(d)
h=g.fy
m.push(new T.b1(new V.b6(0,22,0,0),T.br(H.a([k,D.t6(l,C.cL,f,f,new Y.bxX(g),T.ajN(f,f,C.bs,!0,f,Q.jf(H.a([Q.jf(f,f,a4,J.bk(J.b($.e.h(0,j),b)," ")),Z.clI(a5,J.b($.e.h(0,j),"privacy_policy_link"),a)],i),f,f,f),C.aj,f,f,1,C.aU),h)],o),C.y,C.u,C.x),f))}n.push(T.br(m,C.y,C.u,C.x))}m=g.cx
if(m.length!==0&&!C.d.E(m,e))n.push(M.aw(f,new T.fl(C.aa,f,f,L.B(m,f,f,f,f,A.dd(f,f,C.bL,f,f,f,f,f,f,f,f,f,f,C.cF,f,f,!0,f,f,f,f,f,f),f,f),f),f,f,f,f,f,new V.b6(0,20,0,0),f))
m=a2.a
if(m)l=new V.nb(48,!1,f)
else if(g.db){l=g.cy?J.b($.e.h(0,a1.a),"sign_up"):J.b($.e.h(0,a1.a),"sign_up_with_google")
l=new D.ez(f,f,l.toUpperCase(),new Y.bxY(g),280,f)}else{if(g.cy)l=g.dx?J.b($.e.h(0,a1.a),"submit"):J.b($.e.h(0,a1.a),"login")
else l=J.b($.e.h(0,a1.a),"google_login")
l=new D.ez(f,f,l.toUpperCase(),new Y.bxZ(g),280,f)}n.push(new T.b1(new V.b6(0,30,0,10),l,f))
n.push(new T.au(f,6,f,f))
if(!a3){l=H.a([],o)
if(!g.dx){k=L.aG(C.E3,f,16)
if(g.db)j=N.ef(L.B(J.b($.e.h(0,a1.a),"account_login"),f,f,f,f,f,f,f),f,new Y.by_(g),f)
else{j=a1.a
i=J.b($.e.h(0,j),a0)
i=N.ef(L.B(J.b($.e.h(0,j),a0),f,f,f,f,f,f,f),new D.ax(i,u.O),new Y.by0(g),f)
j=i}l.push(new T.b1(C.nv,T.bz(H.a([k,j],o),C.y,C.cN,C.x,f),f))}k=!g.db
k
if(k&&g.cy){k=H.a([],o)
if(!g.dx)k.push(L.aG(C.vx,f,16))
k.push(N.ef(L.B(g.dx?J.b($.e.h(0,a1.a),"cancel"):J.b($.e.h(0,a1.a),"recover_password"),f,f,f,f,f,f,f),f,new Y.by1(g),f))
l.push(new T.b1(C.nv,T.bz(k,C.y,C.cN,C.x,f),f))}if(g.db)l.push(new T.b1(C.nv,T.bz(H.a([L.aG(C.ZV,f,16),N.ef(L.B(J.b($.e.h(0,a1.a),"view_website"),f,f,f,f,f,f,f),f,new Y.by2(),f)],o),C.y,C.cN,C.x,f),f))
n.push(T.br(l,C.y,C.cN,C.x))}if(a3&&!m)n.push(new T.b1(new V.b6(0,12,0,12),new D.ez(C.br,f,J.b($.e.h(0,a1.a),"cancel").toUpperCase(),new Y.by3(g),f,f),f))
return T.hS(C.c9,H.a([new T.au(f,250,new T.UG(new Y.ayp(f),C.ja,s,f),f),B.bx(H.a([new T.b1(new V.b6(0,20,0,20),t,f),G.aya(!1,A.k3(Y.bl(f,n,f,p!==C.z,f),g.d),C.az,r,q)],o),f,f,f,f,!1,C.t,!0)],o),C.bn,f,C.bf,f)}}
D:function(a6){var t,s,r,q,p,o,n,m,l,k,j,i=this,h=null,g="OTP_REQUIRED",f="#0091EA",e="password",d="i_agree_to_the",c="https://www.invoiceninja.com/terms",b="create_account",a=L.F(a6,C.k,u.F),a0=i.a.c,a1=J.kS(i.cx,g)||i.Q.a.a.length!==0,a2=K.W(a6,!1).a_.z,a3=a2.eS(E.a6G(f)),a4=K.W(a6,!1).k2,a5=K.W(a6,!1).k2
a5.toString
a5=a5.a
a5=M.aw(h,h,h,h,S.iQ(h,h,h,h,T.aZ4(C.zS,H.a([a4,P.bX(C.H.aM(178.5),(16711680&a5)>>>16,(65280&a5)>>>8,(255&a5)>>>0)],u.Ai),C.db,h,C.iW,h),h,C.aS),h,h,h,h)
a4=U.aSW("assets/images/logo.png",100,100)
t=P.c_(0,0,0,500,0,0)
s=a0.b.f?0:1
r=D.chy(a6)
q=u.p
p=H.a([],q)
if(a1)p.push(S.aH(!1,!1,!1,i.Q,!0,h,h,h,J.b($.e.h(0,a.a),"one_time_password"),h,!1,h,h,h,h))
else{o=H.a([],q)
o.push(new T.au(h,10,h,h))
if(i.dx&&i.cy)o.push(S.aH(!1,!1,!1,i.e,!0,h,h,h,J.b($.e.h(0,a.a),"first_name"),h,!1,h,h,h,new Y.bxU(a)))
if(i.dx&&i.cy)o.push(S.aH(!1,!1,!1,i.f,!0,h,h,h,J.b($.e.h(0,a.a),"last_name"),h,!1,h,h,h,new Y.bxV(a)))
if(i.cy){n=i.id&&!i.dx?C.h5:C.c7
m=J.b($.e.h(0,a.a),"email")
o.push(S.aH(!1,!1,i.fr,i.r,!0,h,h,C.iT,m,h,!1,h,new Y.bxW(a6),n,new Y.by4(a)))}if(i.cy&&!i.dy){n=a.a
m=J.b($.e.h(0,n),e)
l=i.id&&!i.dx?C.h5:C.c7
k=i.fr
n=J.b($.e.h(0,n),e)
j=i.go
o.push(E.kH(!1,!1,k,i.x,L.hm(h,h,h,h,h,h,h,!0,h,h,h,h,h,h,h,C.bl,h,h,h,!0,h,h,h,h,h,h,h,h,h,h,n,h,h,h,h,h,h,h,B.cF(h,L.aG(j?C.El:C.Em,h,h),new Y.by5(i),C.Y,h),h,h,h),!0,!1,h,h,new D.ax(m,u.O),h,1,h,j,h,new Y.by6(a6),!1,C.aj,l,new Y.by7(i,a)))}if(i.db){n=a.a
m=J.b($.e.h(0,n),"url")
l=i.fr
k=i.id?C.h5:C.c7
o.push(E.kH(!1,!1,l,i.y,L.hm(h,h,h,h,h,h,h,!0,h,h,h,h,h,h,h,C.bl,h,h,h,!0,h,h,h,h,h,h,h,h,h,h,J.b($.e.h(0,n),"url"),h,h,h,h,h,h,h,h,h,h,h),!0,!1,h,h,new D.ax(m,u.O),C.mB,1,h,!1,h,new Y.by8(a6),!1,C.aj,k,new Y.by9(a)))}if(i.db){n=a.a
m=J.b($.e.h(0,n),"secret")
o.push(E.kH(!1,!1,!1,i.z,L.hm(h,h,h,h,h,h,h,!0,h,h,h,h,h,h,h,C.bl,h,h,h,!0,h,h,h,h,h,h,h,h,h,h,H.h(J.b($.e.h(0,n),"secret"))+" ("+H.h(J.b($.e.h(0,n),"optional"))+")",h,h,h,h,h,h,h,h,h,h,h),!0,!1,h,h,new D.ax(m,u.O),h,1,h,!0,h,new Y.bya(a6),!1,C.aj,C.h5,h))}if(i.dx){n=E.a6G(f)
m=i.fx
l=a.a
k=u.Ne
m=D.t6(n,C.cL,h,h,new Y.byb(i),T.ajN(h,h,C.bs,!0,h,Q.jf(H.a([Q.jf(h,h,a2,J.bk(J.b($.e.h(0,l),d)," ")),Z.clI(a3,J.b($.e.h(0,l),"terms_of_service_link"),c)],k),h,h,h),C.aj,h,h,1,C.aU),m)
n=E.a6G(f)
j=i.fy
o.push(new T.b1(new V.b6(0,22,0,0),T.br(H.a([m,D.t6(n,C.cL,h,h,new Y.bxX(i),T.ajN(h,h,C.bs,!0,h,Q.jf(H.a([Q.jf(h,h,a2,J.bk(J.b($.e.h(0,l),d)," ")),Z.clI(a3,J.b($.e.h(0,l),"privacy_policy_link"),c)],k),h,h,h),C.aj,h,h,1,C.aU),j)],q),C.y,C.u,C.x),h))}p.push(T.br(o,C.y,C.u,C.x))}o=i.cx
if(o.length!==0&&!C.d.E(o,g))p.push(M.aw(h,new T.fl(C.aa,h,h,L.B(o,h,h,h,h,A.dd(h,h,C.bL,h,h,h,h,h,h,h,h,h,h,C.cF,h,h,!0,h,h,h,h,h,h),h,h),h),h,h,h,h,h,new V.b6(0,20,0,0),h))
o=a0.a
if(o)n=new V.nb(48,!1,h)
else if(i.dx){n=i.cy?J.b($.e.h(0,a.a),"sign_up"):J.b($.e.h(0,a.a),"sign_up_with_google")
n=new D.ez(h,h,n.toUpperCase(),new Y.bxY(i),280,h)}else{if(i.cy)n=i.dy?J.b($.e.h(0,a.a),"submit"):J.b($.e.h(0,a.a),"login")
else n=J.b($.e.h(0,a.a),"google_login")
n=new D.ez(h,h,n.toUpperCase(),new Y.bxZ(i),280,h)}p.push(new T.b1(new V.b6(0,30,0,10),n,h))
p.push(new T.au(h,6,h,h))
if(!a1){n=H.a([],q)
if(!i.dy&&!i.db){m=L.aG(C.E3,h,16)
if(i.dx)l=N.ef(L.B(J.b($.e.h(0,a.a),"account_login"),h,h,h,h,h,h,h),h,new Y.by_(i),h)
else{l=a.a
k=J.b($.e.h(0,l),b)
k=N.ef(L.B(J.b($.e.h(0,l),b),h,h,h,h,h,h,h),new D.ax(k,u.O),new Y.by0(i),h)
l=k}n.push(new T.b1(C.nv,T.bz(H.a([m,l],q),C.y,C.cN,C.x,h),h))}m=!i.dx
m
if(m&&i.cy){m=H.a([],q)
if(!i.dy)m.push(L.aG(C.vx,h,16))
m.push(N.ef(L.B(i.dy?J.b($.e.h(0,a.a),"cancel"):J.b($.e.h(0,a.a),"recover_password"),h,h,h,h,h,h,h),h,new Y.by1(i),h))
n.push(new T.b1(C.nv,T.bz(m,C.y,C.cN,C.x,h),h))}if(i.dx)n.push(new T.b1(C.nv,T.bz(H.a([L.aG(C.ZV,h,16),N.ef(L.B(J.b($.e.h(0,a.a),"view_website"),h,h,h,h,h,h,h),h,new Y.by2(),h)],q),C.y,C.cN,C.x,h),h))
p.push(T.br(n,C.y,C.cN,C.x))}if(a1&&!o)p.push(new T.b1(new V.b6(0,12,0,12),new D.ez(C.br,h,J.b($.e.h(0,a.a),"cancel").toUpperCase(),new Y.by3(i),h,h),h))
return T.hS(C.c9,H.a([new T.au(h,250,new T.UG(new Y.ayp(h),C.ja,a5,h),h),B.bx(H.a([new T.b1(new V.b6(0,20,0,20),a4,h),G.aya(!1,A.k3(Y.bl(h,p,h,r!==C.z,h),i.d),C.az,t,s)],q),h,h,h,h,!1,C.t,!0)],q),C.bn,h,C.bf,h)}}
Y.byc.prototype={
$1:function(a){return J.e6(a,this.a.gahB())},
$S:8}
@ -134933,7 +134929,7 @@ $S:4}
Y.bxC.prototype={
$0:function(){var t=this.a
t.cx=""
if(t.dx){t.dx=!1
if(t.dy){t.dy=!1
E.cS(!0,new Y.bxA(),t.c,null,!0,u.lu)}},
$S:0}
Y.bxA.prototype={
@ -134972,7 +134968,7 @@ $S:0}
Y.by7.prototype={
$1:function(a){var t,s=this,r=a.length
if(r===0||C.d.eF(a).length===0)return J.b($.e.h(0,s.b.a),"please_enter_your_password")
if(s.a.db){if(r<8)return J.b($.e.h(0,s.b.a),"password_is_too_short")
if(s.a.dx){if(r<8)return J.b($.e.h(0,s.b.a),"password_is_too_short")
t=P.cq("^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9]).{8,}$",!0,!1)
if(!t.b.test(a))return J.b($.e.h(0,s.b.a),"password_is_too_easy")}return null},
$S:17}
@ -135021,7 +135017,7 @@ return t.a3(new Y.bxQ(t))},
$S:1}
Y.bxQ.prototype={
$0:function(){var t=this.a
t.db=!1
t.dx=!1
t.cx=""},
$S:0}
Y.by0.prototype={
@ -135030,7 +135026,7 @@ return t.a3(new Y.bxP(t))},
$S:1}
Y.bxP.prototype={
$0:function(){var t=this.a
t.db=!0
t.dx=!0
t.cx=""},
$S:0}
Y.by1.prototype={
@ -135039,7 +135035,7 @@ t.a3(new Y.bxO(t))},
$S:0}
Y.bxO.prototype={
$0:function(){var t=this.a
t.dx=!t.dx},
t.dy=!t.dy},
$S:0}
Y.by2.prototype={
$0:function(){var t=0,s=P.K(u.P)

File diff suppressed because one or more lines are too long