mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Update Flutter client
This commit is contained in:
parent
281f1f7596
commit
50e3dd57e3
2
public/flutter_service_worker.js
vendored
2
public/flutter_service_worker.js
vendored
@ -4,7 +4,7 @@ const TEMP = 'flutter-temp-cache';
|
||||
const CACHE_NAME = 'flutter-app-cache';
|
||||
const RESOURCES = {
|
||||
"favicon.ico": "51636d3a390451561744c42188ccd628",
|
||||
"main.dart.js": "ba725fe50a6daa6c89df6c738496e5c4",
|
||||
"main.dart.js": "0645924ff4aa9a4488463fc727ee11e2",
|
||||
"assets/web/assets/fonts/Roboto-Regular.ttf": "3e1af3ef546b9e6ecef9f3ba197bf7d2",
|
||||
"assets/fonts/MaterialIcons-Regular.ttf": "56d3ffdef7a25659eab6a68a3fbfaf16",
|
||||
"assets/fonts/Roboto-Regular.ttf": "3e1af3ef546b9e6ecef9f3ba197bf7d2",
|
||||
|
22
public/main.dart.js
vendored
22
public/main.dart.js
vendored
@ -40306,10 +40306,10 @@ this.b=b},
|
||||
za:function za(){this.c=this.b=this.a=null},
|
||||
aua:function aua(){},
|
||||
bNQ:function(a){if(!C.d.F(a,"/api/v1"))a="/api/v1"+a
|
||||
if(!C.d.dF(a,"http"))a="https://invoicing.co"+a
|
||||
if(!C.d.dF(a,"http"))a="https://staging.invoicing.co"+a
|
||||
return!C.d.F(a,"?")?a+"?":a},
|
||||
az6:function(a,b,c,d){var t,s
|
||||
if(C.d.dF(a,"https://invoicing.co"))d="password"
|
||||
if(C.d.dF(a,"https://staging.invoicing.co"))d="password"
|
||||
t=u.X
|
||||
s=P.av(["X-API-SECRET",d,"X-Requested-With","XMLHttpRequest","Content-Type","application/json"],t,t)
|
||||
if(b!=null&&b.length!==0)s.B(0,"X-API-Token",b)
|
||||
@ -102867,7 +102867,7 @@ if(s==="switch"||s==="date")return H.a([],u.i)}if(b){r=H.R(t).h("aA<1>")
|
||||
return P.t(new H.aA(t,new A.aH5(),r),!0,r.h("G.E"))}else return t}},
|
||||
a5t:function(a){return this.dV(a,!1)},
|
||||
gDu:function(){var t=this.fx
|
||||
if(t!=null)if(t.length!==0)t=t!=="https://invoicing.co"
|
||||
if(t!=null)if(t.length!==0)t=t!=="https://staging.invoicing.co"
|
||||
else t=!1
|
||||
else t=!1
|
||||
return t},
|
||||
@ -115119,7 +115119,7 @@ Fy:function(a,b,c,d){return this.a7C(a,b,c,d)},
|
||||
a7C:function(a,b,c,d){var t=0,s=P.P(u.eW),r,q=this,p
|
||||
var $async$Fy=P.J(function(e,f){if(e===1)return P.M(f,s)
|
||||
while(true)switch(t){case 0:p=P.av(["email",a,"password",d,"first_name",b,"last_name",c,"terms_of_service",!0,"privacy_policy",!0,"token_name","web"],u.X,u._)
|
||||
r=q.zH(p,null,Y.jz("https://invoicing.co")+"/api/v1/signup")
|
||||
r=q.zH(p,null,Y.jz("https://staging.invoicing.co")+"/api/v1/signup")
|
||||
t=1
|
||||
break
|
||||
case 1:return P.N(r,s)}})
|
||||
@ -115128,7 +115128,7 @@ N7:function(a,b,c){return this.aA4(a,b,c)},
|
||||
aA4:function(a,b,c){var t=0,s=P.P(u.eW),r,q=this,p
|
||||
var $async$N7=P.J(function(d,e){if(d===1)return P.M(e,s)
|
||||
while(true)switch(t){case 0:p=P.av(["terms_of_service",!0,"privacy_policy",!0,"token_name","web","id_token",b,"access_token",a,"server_auth_code",c,"provider","google"],u.X,u._)
|
||||
r=q.zH(p,"password",Y.jz("https://invoicing.co")+"/api/v1/oauth_login?create=true")
|
||||
r=q.zH(p,"password",Y.jz("https://staging.invoicing.co")+"/api/v1/oauth_login?create=true")
|
||||
t=1
|
||||
break
|
||||
case 1:return P.N(r,s)}})
|
||||
@ -117801,9 +117801,10 @@ Z.ed.prototype={
|
||||
guN:function(){var t=this.r
|
||||
if(t===0)return!1
|
||||
return Date.now()-t<6e5},
|
||||
ga0K:function(){var t=Y.jz(this.c)
|
||||
if(t.length===0)return!0
|
||||
if(t==="https://invoicing.co"||t==="https://staging.invoicing.co")return!0
|
||||
ga0K:function(){var t,s=Y.jz(this.c)
|
||||
if(s.length===0)return!0
|
||||
t=s==="https://staging.invoicing.co"
|
||||
if(t||t)return!0
|
||||
return!1}}
|
||||
Z.ao1.prototype={
|
||||
N:function(a,b,c){return H.a(["email",a.l(b.a,C.c),"password",a.l(b.b,C.c),"url",a.l(b.c,C.c),"secret",a.l(b.d,C.c),"isInitialized",a.l(b.e,C.l),"isAuthenticated",a.l(b.f,C.l),"lastEnteredPasswordAt",a.l(b.r,C.m)],u.M)},
|
||||
@ -136246,7 +136247,7 @@ $S:1}
|
||||
V.W5.prototype={
|
||||
E:function(a){var t=O.b2(a,u.V).c,s=this.c,r=s.r,q=r!=null&&r.length!==0,p=this.d
|
||||
if(q){q=t.gfR(t).a
|
||||
if(!(q!=null&&C.d.dF(q,"http")))q="https://invoicing.co"
|
||||
if(!(q!=null&&C.d.dF(q,"http")))q="https://staging.invoicing.co"
|
||||
s=Y.jz(q)+"/api/v1"+("/documents/"+H.f(s.k3))
|
||||
q=u.X
|
||||
r=A.cDq(new V.aNu(),C.AG,p,P.av(["X-API-TOKEN",t.gfR(t).b],q,q),s,new D.aS(r,u.d),new V.aNv(this),1/0)
|
||||
@ -138593,7 +138594,8 @@ s.aI()
|
||||
t=s.a
|
||||
t=!t.c.b.ga0K()
|
||||
s.db=t
|
||||
if(t)s.cy=!0},
|
||||
if(t){s.cy=!0
|
||||
s.dx=!1}},
|
||||
a8:function(){var t=this,s=t.y,r=H.a([t.e,t.f,t.r,t.x,s,t.z],u.l)
|
||||
t.ch=r
|
||||
C.b.M(r,new Y.bAD(t))
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user