1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-08-17 06:36:20 +00:00
parent 9cd01e5a79
commit f396e228bb

View File

@ -91794,7 +91794,9 @@
_DashboardScreenState_build_closure0: function _DashboardScreenState_build_closure0(t0) {
this.store = t0;
},
_DashboardScreenState_build_closure1: function _DashboardScreenState_build_closure1(t0, t1, t2) {
_DashboardScreenState_build_closure1: function _DashboardScreenState_build_closure1() {
},
_DashboardScreenState_build_closure2: function _DashboardScreenState_build_closure2(t0, t1, t2) {
this.state = t0;
this.store = t1;
this.context = t2;
@ -91808,9 +91810,6 @@
this.store = t0;
this.context = t1;
},
_DashboardScreenState_build_closure2: function _DashboardScreenState_build_closure2(t0) {
this.state = t0;
},
_DashboardScreenState_build_closure3: function _DashboardScreenState_build_closure3(t0, t1, t2) {
this.state = t0;
this.localization = t1;
@ -123638,7 +123637,7 @@
case "Android":
return string$.https_p;
case "iPhone":
return string$.https_a;
return string$.https_as;
case "Windows":
return string$.https_w;
case "macOS":
@ -405303,7 +405302,7 @@
};
A._showAbout____closure4.prototype = {
call$0() {
return A.launchUrl(A.Uri_parse(string$.https_a, 0, null));
return A.launchUrl(A.Uri_parse(string$.https_as, 0, null));
},
$signature: 26
};
@ -417699,7 +417698,7 @@
_this.super$__DashboardScreenState_State_TickerProviderStateMixin$dispose(0);
},
build$1(_, context) {
var company, t6, leading, t7, t8, t9, t10, t11, t12, mainScaffold, _this = this, _null = null,
var company, t6, leading, t7, t8, t9, t10, t11, mainScaffold, _this = this, _null = null,
_s16_ = "enable_react_app",
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
t2 = type$.legacy_AppState,
@ -417737,15 +417736,15 @@
t9.push(A.Expanded$(new A.ListFilter(B.EntityType_dashboard, t4.filter, new A._DashboardScreenState_build_closure0(store), t11, _null, _null, _null, new A.ValueKey("__cleared_at_" + t10 + "__", type$.ValueKey_legacy_String)), 2));
t9 = A.Row$(t9, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null);
t10 = A._setArrayType([], t8);
t1.toString;
t11 = $.$get$LocalizationsProvider__localizedValues();
t12 = J.$index$asx(t11.$index(0, t1.localeCode), _s16_);
t11 = t12 == null ? J.$index$asx(t11.$index(0, "en"), _s16_) : t12;
t10.push(new A.Padding(B.EdgeInsets_0_0_10_0, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_agj, _null, _null), _null, new A._DashboardScreenState_build_closure1(state, store, context), B.EdgeInsets_8_8_8_8, _null, t11, _null), _null));
if (t3[t5].userCompany.isOwner && !state.get$isHosted() && A.cleanApiUrl(state.authState.url) !== "https://demo.invoiceninja.com" && !A._lateReadCheck(A.StoreProvider_of(context, t2).__Store__state, "_state").get$isPaidAccount() && !A.isApple()) {
t2 = state.prefState.enableTooltips ? t1.get$upgrade() : _null;
t10.push(new A.Padding(B.EdgeInsets_0_0_10_0, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57494_MaterialIcons_null_false, _null, _null), _null, new A._DashboardScreenState_build_closure2(state), B.EdgeInsets_8_8_8_8, _null, t2, _null), _null));
t10.push(new A.Padding(B.EdgeInsets_0_0_10_0, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57494_MaterialIcons_null_false, _null, _null), _null, new A._DashboardScreenState_build_closure1(), B.EdgeInsets_8_8_8_8, _null, t2, _null), _null));
}
t1.toString;
t2 = $.$get$LocalizationsProvider__localizedValues();
t3 = J.$index$asx(t2.$index(0, t1.localeCode), _s16_);
t2 = t3 == null ? J.$index$asx(t2.$index(0, "en"), _s16_) : t3;
t10.push(new A.Padding(B.EdgeInsets_0_0_10_0, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_agj, _null, _null), _null, new A._DashboardScreenState_build_closure2(state, store, context), B.EdgeInsets_8_8_8_8, _null, t2, _null), _null));
if (A.getLayout(context) === B.AppLayout_mobile || !state.prefState.isHistoryVisible)
t10.push(new A.Builder(new A._DashboardScreenState_build_closure3(state, t1, store), _null));
if (A.getLayout(context) === B.AppLayout_mobile) {
@ -417820,6 +417819,12 @@
$signature: 9
};
A._DashboardScreenState_build_closure1.prototype = {
call$0() {
return A.launchUrl(A.Uri_parse(string$.https_a_, 0, null));
},
$signature: 26
};
A._DashboardScreenState_build_closure2.prototype = {
call$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.Null),
@ -417875,14 +417880,6 @@
},
$signature: 3
};
A._DashboardScreenState_build_closure2.prototype = {
call$0() {
var t1 = this.state,
t2 = t1.uiState.selectedCompanyIndex;
return A.launchUrl(A.Uri_parse(t1.userCompanyStates._list[t2].userCompany.ninjaPortalUrl, 0, null));
},
$signature: 26
};
A._DashboardScreenState_build_closure3.prototype = {
call$1(context) {
var t2, _null = null,
@ -442880,7 +442877,7 @@
switch ($async$goto) {
case 0:
// Function start
A.launchUrl(A.Uri_parse("https://app.invoiceninja.com/buy_now/?account_key=AsFmBAeLXF0IKf7tmi0eiyZfmWW9hxMT&product_id=3", 0, null));
A.launchUrl(A.Uri_parse(string$.https_a_, 0, null));
// implicit return
return A._asyncReturn(null, $async$completer);
}
@ -495939,7 +495936,8 @@
expectc: "expected-closing-tag-but-got-right-bracket",
expectd: "expected-doctype-name-but-got-right-bracket",
expects: "expected-space-or-right-bracket-in-doctype",
https_a: "https://apps.apple.com/us/app/invoice-ninja-v5/id1503970375",
https_a_: "https://app.invoiceninja.com/buy_now/?account_key=AsFmBAeLXF0IKf7tmi0eiyZfmWW9hxMT&product_id=3",
https_as: "https://apps.apple.com/us/app/invoice-ninja-v5/id1503970375",
https_g: "https://github.com/invoiceninja/invoiceninja/wiki/Release-notes",
https_p: "https://play.google.com/store/apps/details?id=com.invoiceninja.app",
https_w: "https://www.microsoft.com/en-us/p/invoice-ninja/9n3f2bbcfdr6",