1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Admin Portal - Profile

This commit is contained in:
hillelcoren 2024-06-24 12:03:19 +00:00
parent 8f294a82ad
commit bc61d27aa4

View File

@ -553567,7 +553567,7 @@
_this.super$__AccountManagementState_State_SingleTickerProviderStateMixin$dispose();
},
build$1(context) {
var viewModel, state, company, t2, user, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, _null = null, _s6_ = ":count",
var viewModel, state, company, t2, user, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _this = this, _null = null, _s6_ = ":count",
_s11_ = "count_hours",
_s10_ = "count_days",
_s16_ = "referral_program",
@ -553708,27 +553708,32 @@
t2 = J.$index$asx(t2, "require_password_with_social_login");
t2.toString;
t2 = A._setArrayType([A.FormCard$(_null, A._setArrayType([t8, t4, A.BoolDropdownButton$(_null, _null, _null, _null, t2, _null, new A._AccountManagementState_build_closure2(viewModel, company), company.oauthPasswordRequired)], t14), _null, _null, false, _null, true, _null, _null)], t14);
t4 = t5.$index(0, t6);
t4.toString;
t4 = J.$index$asx(t4, _s12_);
if (t4 == null) {
t3 = t5.$index(0, _s2_);
t4 = A._setArrayType([], t14);
t3 = A.StoreProvider_of(context, type$.AppState).__Store__state_A;
t3 === $ && A.throwUnnamedLateFieldNI();
if (t3.get$isHosted()) {
t3 = t5.$index(0, t6);
t3.toString;
t3 = J.$index$asx(t3, _s12_);
t3.toString;
} else
t3 = t4;
t3 = A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null);
t3 = A._setArrayType([A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, _null, _null, new A._AccountManagementState_build_closure3(user, t1), false, _null, _null, _null, A.Text$("https://app.invoicing.co/#/register?rc=" + user.referralCode, _null, 1, B.TextOverflow_2, _null, _null, _null, _null, _null, _null), _null, t3, A.Icon$(B.IconData_57744_MaterialIcons_null_false, _null, _null, _null), _null), new A.SizedBox(_null, 16, _null, _null)], t14);
for (t4 = user.referralMeta, t5 = t4.get$keys(0), t8 = t5._map, t5 = A.LinkedHashMapKeyIterator$(t8, t8._modifications, t5.$ti._precomputed1), t4 = t4._map$_map; t5.moveNext$0();) {
t8 = t5.__js_helper$_current;
t3.push(new A.Padding(B.EdgeInsets_40_10_40_10, A.Row$(A._setArrayType([new A.Spacer(_null), new A.SizedBox(120, _null, new A.Text(t1.lookup$1(t8), _null, A.Theme_of(context).textTheme.headlineSmall, _null, _null, _null, _null, _null, _null, _null, _null), _null), new A.Text(A.S(t4.$index(0, t8)), _null, A.Theme_of(context).textTheme.headlineSmall, _null, _null, _null, _null, _null, _null, _null, _null), new A.Spacer(_null)], t14), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
if (t3 == null) {
t3 = t5.$index(0, _s2_);
t3.toString;
t3 = J.$index$asx(t3, _s12_);
t3.toString;
}
t3 = A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null);
t3 = A._setArrayType([A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, _null, _null, new A._AccountManagementState_build_closure3(user, t1), false, _null, _null, _null, A.Text$("https://app.invoicing.co/#/register?rc=" + user.referralCode, _null, 1, B.TextOverflow_2, _null, _null, _null, _null, _null, _null), _null, t3, A.Icon$(B.IconData_57744_MaterialIcons_null_false, _null, _null, _null), _null), new A.SizedBox(_null, 16, _null, _null)], t14);
for (t5 = user.referralMeta, t8 = t5.get$keys(0), t16 = t8._map, t8 = A.LinkedHashMapKeyIterator$(t16, t16._modifications, t8.$ti._precomputed1), t5 = t5._map$_map; t8.moveNext$0();) {
t16 = t8.__js_helper$_current;
t3.push(new A.Padding(B.EdgeInsets_40_10_40_10, A.Row$(A._setArrayType([new A.Spacer(_null), new A.SizedBox(180, _null, new A.Text(t1.lookup$1(t16), _null, A.Theme_of(context).textTheme.headlineSmall, _null, _null, _null, _null, _null, _null, _null, _null), _null), new A.Text(A.S(t5.$index(0, t16)), _null, A.Theme_of(context).textTheme.headlineSmall, _null, _null, _null, _null, _null, _null, _null, _null), new A.Spacer(_null)], t14), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
}
t3.push(new A.SizedBox(_null, 10, _null, _null));
B.JSArray_methods.addAll$1(t4, t3);
}
t3.push(new A.SizedBox(_null, 10, _null, _null));
t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t6);
t1.toString;
t3.push(new A.AppButton(_null, _null, J.$index$asx(t1, "learn_more").toUpperCase(), new A._AccountManagementState_build_closure4(), _null, _null));
return A.EditScaffold$(_null, t13, new A.AppTabForm(t11, t12, A._setArrayType([new A._AccountOverview(viewModel, _null), new A.ScrollableListView(t9, _null, _null, true, false, _null), new A.ScrollableListView(t15, _null, _null, true, false, _null), new A.ScrollableListView(t2, _null, _null, _null, false, _null), new A.ScrollableListView(A._setArrayType([A.FormCard$(_null, t3, _null, B.CrossAxisAlignment_3, false, _null, true, _null, _null)], t14), _null, _null, _null, false, _null)], t14), t10, _null, _null), _null, _null, _null, false, _null, _null, viewModel.onSavePressed, _null, t7);
t4.push(new A.AppButton(_null, _null, J.$index$asx(t1, "learn_more").toUpperCase(), new A._AccountManagementState_build_closure4(), _null, _null));
return A.EditScaffold$(_null, t13, new A.AppTabForm(t11, t12, A._setArrayType([new A._AccountOverview(viewModel, _null), new A.ScrollableListView(t9, _null, _null, true, false, _null), new A.ScrollableListView(t15, _null, _null, true, false, _null), new A.ScrollableListView(t2, _null, _null, _null, false, _null), new A.ScrollableListView(A._setArrayType([A.FormCard$(_null, t4, _null, B.CrossAxisAlignment_3, false, _null, true, _null, _null)], t14), _null, _null, _null, false, _null)], t14), t10, _null, _null), _null, _null, _null, false, _null, _null, viewModel.onSavePressed, _null, t7);
}
};
A._AccountManagementState_didChangeDependencies_closure.prototype = {