Admin Portal - Profile

This commit is contained in:
hillelcoren 2021-11-05 12:58:21 +00:00
parent d0940dc8df
commit 510ce790cb

View File

@ -359542,7 +359542,7 @@
t6 = _this._multiselect_dialog$_controller; t6 = _this._multiselect_dialog$_controller;
t7 = J.asMap$0$ax(_this.selected); t7 = J.asMap$0$ax(_this.selected);
t8 = type$.JSArray_legacy_Widget; t8 = type$.JSArray_legacy_Widget;
t6 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t3, _null, new E.MultiSelectListState_build_closure3(_this), t4, _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String), t5, T.Expanded$(Z.ReorderableListView$(t7.get$entries(t7).map$1$1(0, new E.MultiSelectListState_build_closure4(_this, state, context), type$.legacy_Padding).toList$0(0), new E.MultiSelectListState_build_closure5(_this), t6), 1)], t8); t6 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t3, _null, new E.MultiSelectListState_build_closure3(_this), t4, false, true, "", _null, _null, type$.AppDropdownButton_legacy_String), t5, T.Expanded$(Z.ReorderableListView$(t7.get$entries(t7).map$1$1(0, new E.MultiSelectListState_build_closure4(_this, state, context), type$.legacy_Padding).toList$0(0), new E.MultiSelectListState_build_closure5(_this), t6), 1)], t8);
if (!_this._widget.isDialog) if (!_this._widget.isDialog)
t6.push(new T.Padding(C.EdgeInsets_0_10_0_0, T.Row$(H.setRuntimeTypeInfo([U.TextButton$(false, L.Text$(t1.get$reset(t1).toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new E.MultiSelectListState_build_closure6(_this), _null)], t8), C.CrossAxisAlignment_2, C.MainAxisAlignment_1, C.MainAxisSize_1, _null), _null)); t6.push(new T.Padding(C.EdgeInsets_0_10_0_0, T.Row$(H.setRuntimeTypeInfo([U.TextButton$(false, L.Text$(t1.get$reset(t1).toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new E.MultiSelectListState_build_closure6(_this), _null)], t8), C.CrossAxisAlignment_2, C.MainAxisAlignment_1, C.MainAxisSize_1, _null), _null));
column = M.Container$(_null, T.Column$(t6, C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2); column = M.Container$(_null, T.Column$(t6, C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2);
@ -361392,11 +361392,8 @@
}; };
Q.AppDropdownButton.prototype = { Q.AppDropdownButton.prototype = {
build$1: function(_, context) { build$1: function(_, context) {
var checkedValue, t1, t2, t3, t4, t5, isEmpty, t6, dropDownButton, _this = this, _null = null, var checkedValue, t1, t2, t3, t4, t5, isEmpty, t6, dropDownButton, _this = this, _null = null;
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state(), O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state();
_showBlank = _this.showBlank;
if (_showBlank == null)
_showBlank = state.uiState.settingsUIState.entityType !== C.EntityType_company;
checkedValue = _this.value; checkedValue = _this.value;
t1 = _this.items; t1 = _this.items;
t2 = H.setRuntimeTypeInfo(t1.slice(0), H._arrayInstanceType(t1)); t2 = H.setRuntimeTypeInfo(t1.slice(0), H._arrayInstanceType(t1));
@ -361410,7 +361407,7 @@
t5 = t2 != null; t5 = t2 != null;
t6 = _this.enabled ? _this.onChanged : _null; t6 = _this.enabled ? _this.onChanged : _null;
t3 = H.setRuntimeTypeInfo([], t3._eval$1("JSArray<DropdownMenuItem<1*>*>")); t3 = H.setRuntimeTypeInfo([], t3._eval$1("JSArray<DropdownMenuItem<1*>*>"));
if (_showBlank || isEmpty) if (_this.showBlank || isEmpty)
t3.push(K.DropdownMenuItem$(T.SizedBox$(_null, _null, _null), _this.blankValue, t4)); t3.push(K.DropdownMenuItem$(T.SizedBox$(_null, _null, _null), _this.blankValue, t4));
C.JSArray_methods.addAll$1(t3, t1); C.JSArray_methods.addAll$1(t3, t1);
dropDownButton = new K.DropdownButtonHideUnderline(K.DropdownButton$(false, _null, _null, 8, _null, _null, _null, _null, _null, _null, 24, t5, true, 48, t3, _null, t6, _null, _this.selectedItemBuilder, _null, checkedValue, t4), _null); dropDownButton = new K.DropdownButtonHideUnderline(K.DropdownButton$(false, _null, _null, 8, _null, _null, _null, _null, _null, _null, 24, t5, true, 48, t3, _null, t6, _null, _this.selectedItemBuilder, _null, checkedValue, t4), _null);
@ -361822,7 +361819,7 @@
t2 = H._arrayInstanceType(fieldOptions)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>"); t2 = H._arrayInstanceType(fieldOptions)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>");
t2 = P.List_List$of(new H.MappedListIterable(fieldOptions, new B._CustomFieldState_build_closure1(), t2), true, t2._eval$1("ListIterable.E")); t2 = P.List_List$of(new H.MappedListIterable(fieldOptions, new B._CustomFieldState_build_closure1(), t2), true, t2._eval$1("ListIterable.E"));
t3 = _this._widget.hideFieldLabel ? _null : fieldLabel; t3 = _this._widget.hideFieldLabel ? _null : fieldLabel;
return new Q.AppDropdownButton(t3, t1, new B._CustomFieldState_build_closure2(_this), t2, _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String); return new Q.AppDropdownButton(t3, t1, new B._CustomFieldState_build_closure2(_this), t2, false, true, "", _null, _null, type$.AppDropdownButton_legacy_String);
default: default:
return T.SizedBox$(_null, _null, _null); return T.SizedBox$(_null, _null, _null);
} }
@ -362316,7 +362313,7 @@
t2 = P.List_List$of(new H.MappedIterable(t3, new A.DesignPicker_build_closure0(designState), t2), true, t2._eval$1("Iterable.E")); t2 = P.List_List$of(new H.MappedIterable(t3, new A.DesignPicker_build_closure0(designState), t2), true, t2._eval$1("Iterable.E"));
t3 = _this.label; t3 = _this.label;
t1 = t3 == null ? t1.get$design() : t3; t1 = t3 == null ? t1.get$design() : t3;
return new Q.AppDropdownButton(t1, _this.initialValue, new A.DesignPicker_build_closure1(_this, designState), t2, null, true, "", null, null, type$.AppDropdownButton_legacy_String); return new Q.AppDropdownButton(t1, _this.initialValue, new A.DesignPicker_build_closure1(_this, designState), t2, false, true, "", null, null, type$.AppDropdownButton_legacy_String);
} }
}; };
A.DesignPicker_build_closure1.prototype = { A.DesignPicker_build_closure1.prototype = {
@ -362797,7 +362794,7 @@
else else
t1 = t2 ? t1.get$none() : t1.get$disabled(t1); t1 = t2 ? t1.get$none() : t1.get$disabled(t1);
t4.push(K.DropdownMenuItem$(new U.IconText(t1, t3 ? C.IconData_57497_MaterialIcons_null_false : C.IconData_57835_MaterialIcons_null_false, _null, _null, _null), "none", t5)); t4.push(K.DropdownMenuItem$(new U.IconText(t1, t3 ? C.IconData_57497_MaterialIcons_null_false : C.IconData_57835_MaterialIcons_null_false, _null, _null, _null), "none", t5));
return new Q.AppDropdownButton(_null, _this.value, new B._NotificationSelector_build_closure(_this), t4, _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String); return new Q.AppDropdownButton(_null, _this.value, new B._NotificationSelector_build_closure(_this), t4, false, true, "", _null, _null, type$.AppDropdownButton_legacy_String);
}, },
get$value: function(receiver) { get$value: function(receiver) {
return this.value; return this.value;
@ -365242,7 +365239,7 @@
if (state.get$canAddCompany()) if (state.get$canAddCompany())
t6.push(K.DropdownMenuItem$(T.Row$(H.setRuntimeTypeInfo([T.SizedBox$(_null, _null, 2), L.Icon$(C.IconData_57423_MaterialIcons_null_false, _null, 32), T.SizedBox$(_null, _null, 20), L.Text$(t2.get$addCompany(), _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_legacy_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), "company", t7)); t6.push(K.DropdownMenuItem$(T.Row$(H.setRuntimeTypeInfo([T.SizedBox$(_null, _null, 2), L.Icon$(C.IconData_57423_MaterialIcons_null_false, _null, 32), T.SizedBox$(_null, _null, 20), L.Text$(t2.get$addCompany(), _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_legacy_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), "company", t7));
t6.push(K.DropdownMenuItem$(T.Row$(H.setRuntimeTypeInfo([T.SizedBox$(_null, _null, 2), L.Icon$(C.IconData_58291_MaterialIcons_null_false, _null, 32), T.SizedBox$(_null, _null, 20), L.Text$(t2.get$logout(), _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_legacy_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), "logout", t7)); t6.push(K.DropdownMenuItem$(T.Row$(H.setRuntimeTypeInfo([T.SizedBox$(_null, _null, 2), L.Icon$(C.IconData_58291_MaterialIcons_null_false, _null, 32), T.SizedBox$(_null, _null, 20), L.Text$(t2.get$logout(), _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_legacy_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), "logout", t7));
_expandedCompanySelector = T.SizedBox$(new Q.AppDropdownButton(_null, t1, new V.MenuDrawer_build_closure2(_this, state, context, t2), t6, _null, true, "", new V.MenuDrawer_build_closure3(state, t4), new D.ValueKey("select_company_dropdown_key", type$.ValueKey_legacy_String), type$.AppDropdownButton_legacy_String), 50, _null); _expandedCompanySelector = T.SizedBox$(new Q.AppDropdownButton(_null, t1, new V.MenuDrawer_build_closure2(_this, state, context, t2), t6, false, true, "", new V.MenuDrawer_build_closure3(state, t4), new D.ValueKey("select_company_dropdown_key", type$.ValueKey_legacy_String), type$.AppDropdownButton_legacy_String), 50, _null);
} }
t1 = state.get$isMenuCollapsed() ? 65 : 270; t1 = state.get$isMenuCollapsed() ? 65 : 270;
if (state.get$credentials(state).token.length === 0) if (state.get$credentials(state).token.length === 0)
@ -373025,7 +373022,7 @@
if (t2 == null) if (t2 == null)
t2 = ""; t2 = "";
t5 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t5 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t4.push(new Q.AppDropdownButton(t2, companyGateway.tokenBilling, new V._CompanyGatewayEditState_build_closure4(viewModel, companyGateway), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["always", "optout", "optin", "disabled"], t7), new V._CompanyGatewayEditState_build_closure5(t1), t5), true, t5._eval$1("ListIterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)); t4.push(new Q.AppDropdownButton(t2, companyGateway.tokenBilling, new V._CompanyGatewayEditState_build_closure4(viewModel, companyGateway), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["always", "optout", "optin", "disabled"], t7), new V._CompanyGatewayEditState_build_closure5(t1), t5), true, t5._eval$1("ListIterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String));
} }
t4.push(T.SizedBox$(_null, 16, _null)); t4.push(T.SizedBox$(_null, 16, _null));
t2 = t8 ? _null : gateway.options; t2 = t8 ? _null : gateway.options;
@ -373082,7 +373079,7 @@
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t14), _s24_); t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t14), _s24_);
t2.push(T.Center$(new U.HelpText(t1 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, "en"), _s24_) : t1, _null), _null, _null)); t2.push(T.Center$(new U.HelpText(t1 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, "en"), _s24_) : t1, _null), _null, _null));
} else { } else {
t1 = H.setRuntimeTypeInfo([Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t1.get$paymentType(), _this._company_gateway_edit$_gatewayTypeId, new V._CompanyGatewayEditState_build_closure16(_this), enabledGatewayIds.map$1$1(0, new V._CompanyGatewayEditState_build_closure17(t1), type$.legacy_DropdownMenuItem_legacy_String).toList$0(0), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t18), _null, 4, false, _null, false, _null)], t18); t1 = H.setRuntimeTypeInfo([Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t1.get$paymentType(), _this._company_gateway_edit$_gatewayTypeId, new V._CompanyGatewayEditState_build_closure16(_this), enabledGatewayIds.map$1$1(0, new V._CompanyGatewayEditState_build_closure17(t1), type$.legacy_DropdownMenuItem_legacy_String).toList$0(0), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t18), _null, 4, false, _null, false, _null)], t18);
if (enabledGatewayIds.contains$1(0, _this._company_gateway_edit$_gatewayTypeId)) { if (enabledGatewayIds.contains$1(0, _this._company_gateway_edit$_gatewayTypeId)) {
t3 = "__limits_" + H.S(_this._company_gateway_edit$_gatewayTypeId) + "__"; t3 = "__limits_" + H.S(_this._company_gateway_edit$_gatewayTypeId) + "__";
t4 = type$.ValueKey_legacy_String; t4 = type$.ValueKey_legacy_String;
@ -373454,7 +373451,7 @@
t2 = t1.value; t2 = t1.value;
value = t2 == null || J.$eq$(t2, t1.defaultValue) ? "" : _this._widget.value; value = t2 == null || J.$eq$(t2, t1.defaultValue) ? "" : _this._widget.value;
t1 = type$.MappedListIterable_of_String_and_legacy_DropdownMenuItem_legacy_String; t1 = type$.MappedListIterable_of_String_and_legacy_DropdownMenuItem_legacy_String;
return new Q.AppDropdownButton(A.toTitleCase(_this._widget.field), value, new V._GatewayConfigFieldState_build_closure(_this), P.List_List$of(new H.MappedListIterable(options, new V._GatewayConfigFieldState_build_closure0(), t1), true, t1._eval$1("ListIterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String); return new Q.AppDropdownButton(A.toTitleCase(_this._widget.field), value, new V._GatewayConfigFieldState_build_closure(_this), P.List_List$of(new H.MappedListIterable(options, new V._GatewayConfigFieldState_build_closure0(), t1), true, t1._eval$1("ListIterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String);
} else { } else {
t1 = _this._widget; t1 = _this._widget;
t2 = t1.field; t2 = t1.field;
@ -378926,7 +378923,7 @@
_list[i] = i; _list[i] = i;
t9 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,DropdownMenuItem<int*>*>"); t9 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,DropdownMenuItem<int*>*>");
C.JSArray_methods.addAll$1(t1, P.List_List$of(new H.MappedListIterable(_list, new M.ExpenseEditDetailsState_build_closure19(), t9), true, t9._eval$1("ListIterable.E"))); C.JSArray_methods.addAll$1(t1, P.List_List$of(new H.MappedListIterable(_list, new M.ExpenseEditDetailsState_build_closure19(), t9), true, t9._eval$1("ListIterable.E")));
t5.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t3, expense.frequencyId, new M.ExpenseEditDetailsState_build_closure20(viewModel, expense), t4, _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String), t6, new Q.AppDropdownButton(t8, expense.remainingCycles, new M.ExpenseEditDetailsState_build_closure21(viewModel, expense), t1, _null, true, _null, _null, _null, type$.AppDropdownButton_legacy_int)], t7), _null, 4, false, _null, false, t2)); t5.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t3, expense.frequencyId, new M.ExpenseEditDetailsState_build_closure20(viewModel, expense), t4, false, true, "", _null, _null, type$.AppDropdownButton_legacy_String), t6, new Q.AppDropdownButton(t8, expense.remainingCycles, new M.ExpenseEditDetailsState_build_closure21(viewModel, expense), t1, false, true, _null, _null, _null, type$.AppDropdownButton_legacy_int)], t7), _null, 4, false, _null, false, t2));
} }
return new X.ScrollableListView(t5, _null, _null, false, _null); return new X.ScrollableListView(t5, _null, _null, false, _null);
} }
@ -382931,7 +382928,7 @@
} }
t20 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>"); t20 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>");
C.JSArray_methods.addAll$1(t24, P.List_List$of(new H.MappedListIterable(_list, new S.InvoiceEditDesktopState_build_closure7(t1), t20), true, t20._eval$1("ListIterable.E"))); C.JSArray_methods.addAll$1(t24, P.List_List$of(new H.MappedListIterable(_list, new S.InvoiceEditDesktopState_build_closure7(t1), t20), true, t20._eval$1("ListIterable.E")));
C.JSArray_methods.addAll$1(t3, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t13, t14, new S.InvoiceEditDesktopState_build_closure8(viewModel, invoice), t15, _null, true, "", _null, _null, t16), t18, new Q.AppDropdownButton(t17, t19, new S.InvoiceEditDesktopState_build_closure9(viewModel, invoice), t21, _null, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), new Q.AppDropdownButton(t22, t23, new S.InvoiceEditDesktopState_build_closure10(viewModel, invoice), t24, _null, true, "", _null, _null, t16)], t12)); C.JSArray_methods.addAll$1(t3, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t13, t14, new S.InvoiceEditDesktopState_build_closure8(viewModel, invoice), t15, false, true, "", _null, _null, t16), t18, new Q.AppDropdownButton(t17, t19, new S.InvoiceEditDesktopState_build_closure9(viewModel, invoice), t21, false, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), new Q.AppDropdownButton(t22, t23, new S.InvoiceEditDesktopState_build_closure10(viewModel, invoice), t24, false, true, "", _null, _null, t16)], t12));
} else { } else {
if (entityType === C.EntityType_credit) if (entityType === C.EntityType_credit)
t13 = t1.get$creditDate(); t13 = t1.get$creditDate();
@ -382959,7 +382956,7 @@
t14 = H.setRuntimeTypeInfo([S.DecoratedFormField$(false, _null, false, false, _this._invoice_edit_desktop$_invoiceNumberController, _null, true, _null, _null, _null, _null, false, false, _null, _null, t14, _null, _null, false, _null, _null, _this._widget.entityViewModel.onSavePressed, true, _null, _null, C.TextAlign_4, new S.InvoiceEditDesktopState_build_closure16(invoice, originalInvoice, context)), S.DecoratedFormField$(false, _null, false, false, _this._invoice_edit_desktop$_poNumberController, _null, true, _null, _null, _null, _null, false, false, _null, _null, t1.get$poNumber(), _null, _null, false, _null, _null, _this._widget.entityViewModel.onSavePressed, true, _null, _null, C.TextAlign_4, _null), new L.DiscountField(_this._invoice_edit_desktop$_discountController, invoice.discount, invoice.isAmountDiscount, new S.InvoiceEditDesktopState_build_closure17(viewModel, invoice), _null, _null)], t12); t14 = H.setRuntimeTypeInfo([S.DecoratedFormField$(false, _null, false, false, _this._invoice_edit_desktop$_invoiceNumberController, _null, true, _null, _null, _null, _null, false, false, _null, _null, t14, _null, _null, false, _null, _null, _this._widget.entityViewModel.onSavePressed, true, _null, _null, C.TextAlign_4, new S.InvoiceEditDesktopState_build_closure16(invoice, originalInvoice, context)), S.DecoratedFormField$(false, _null, false, false, _this._invoice_edit_desktop$_poNumberController, _null, true, _null, _null, _null, _null, false, false, _null, _null, t1.get$poNumber(), _null, _null, false, _null, _null, _this._widget.entityViewModel.onSavePressed, true, _null, _null, C.TextAlign_4, _null), new L.DiscountField(_this._invoice_edit_desktop$_discountController, invoice.discount, invoice.isAmountDiscount, new S.InvoiceEditDesktopState_build_closure17(viewModel, invoice), _null, _null)], t12);
if (t4) { if (t4) {
t15 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t15 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t14.push(new Q.AppDropdownButton(t1.get$autoBill(), invoice.autoBill, new S.InvoiceEditDesktopState_build_closure18(viewModel, invoice), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["always", "optout", "optin", "off"], type$.JSArray_legacy_String), new S.InvoiceEditDesktopState_build_closure19(t1), t15), true, t15._eval$1("ListIterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)); t14.push(new Q.AppDropdownButton(t1.get$autoBill(), invoice.autoBill, new S.InvoiceEditDesktopState_build_closure18(viewModel, invoice), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["always", "optout", "optin", "off"], type$.JSArray_legacy_String), new S.InvoiceEditDesktopState_build_closure19(t1), t15), true, t15._eval$1("ListIterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String));
} }
t15 = invoice.customValue2; t15 = invoice.customValue2;
t14.push(new B.CustomField(_this._invoice_edit_desktop$_custom2Controller, _null, _this._widget.entityViewModel.onSavePressed, "invoice2", t15, false, _null)); t14.push(new B.CustomField(_this._invoice_edit_desktop$_custom2Controller, _null, _this._widget.entityViewModel.onSavePressed, "invoice2", t15, false, _null));
@ -383795,7 +383792,7 @@
} }
t14 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>"); t14 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>");
C.JSArray_methods.addAll$1(t18, P.List_List$of(new H.MappedListIterable(_list, new N.InvoiceEditDetailsState_build_closure6(t1), t14), true, t14._eval$1("ListIterable.E"))); C.JSArray_methods.addAll$1(t18, P.List_List$of(new H.MappedListIterable(_list, new N.InvoiceEditDetailsState_build_closure6(t1), t14), true, t14._eval$1("ListIterable.E")));
C.JSArray_methods.addAll$1(t3, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t6, t8, new N.InvoiceEditDetailsState_build_closure7(viewModel, invoice), t9, _null, true, "", _null, _null, t10), t12, new Q.AppDropdownButton(t11, t13, new N.InvoiceEditDetailsState_build_closure8(viewModel, invoice), t15, _null, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), new Q.AppDropdownButton(t16, t17, new N.InvoiceEditDetailsState_build_closure9(viewModel, invoice), t18, _null, true, "", _null, _null, t10)], t4)); C.JSArray_methods.addAll$1(t3, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t6, t8, new N.InvoiceEditDetailsState_build_closure7(viewModel, invoice), t9, false, true, "", _null, _null, t10), t12, new Q.AppDropdownButton(t11, t13, new N.InvoiceEditDetailsState_build_closure8(viewModel, invoice), t15, false, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), new Q.AppDropdownButton(t16, t17, new N.InvoiceEditDetailsState_build_closure9(viewModel, invoice), t18, false, true, "", _null, _null, t10)], t4));
} else { } else {
t6 = _this._widget.entityType; t6 = _this._widget.entityType;
if (t6 === C.EntityType_credit) if (t6 === C.EntityType_credit)
@ -383814,7 +383811,7 @@
t3.push(new L.DiscountField(_this._invoice_edit_details$_discountController, invoice.discount, invoice.isAmountDiscount, new N.InvoiceEditDetailsState_build_closure15(viewModel, invoice), _null, _null)); t3.push(new L.DiscountField(_this._invoice_edit_details$_discountController, invoice.discount, invoice.isAmountDiscount, new N.InvoiceEditDetailsState_build_closure15(viewModel, invoice), _null, _null));
if (t5) { if (t5) {
t5 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t5 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t3.push(new Q.AppDropdownButton(t1.get$autoBill(), invoice.autoBill, new N.InvoiceEditDetailsState_build_closure16(viewModel, invoice), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["always", "optout", "optin", "off"], type$.JSArray_legacy_String), new N.InvoiceEditDetailsState_build_closure17(t1), t5), true, t5._eval$1("ListIterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)); t3.push(new Q.AppDropdownButton(t1.get$autoBill(), invoice.autoBill, new N.InvoiceEditDetailsState_build_closure16(viewModel, invoice), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["always", "optout", "optin", "off"], type$.JSArray_legacy_String), new N.InvoiceEditDetailsState_build_closure17(t1), t5), true, t5._eval$1("ListIterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String));
} }
t3.push(new B.CustomField(_this._invoice_edit_details$_custom1Controller, _null, _null, "invoice1", invoice.customValue1, false, _null)); t3.push(new B.CustomField(_this._invoice_edit_details$_custom1Controller, _null, _null, "invoice1", invoice.customValue1, false, _null));
t3.push(new B.CustomField(_this._invoice_edit_details$_custom2Controller, _null, _null, "invoice2", invoice.customValue2, false, _null)); t3.push(new B.CustomField(_this._invoice_edit_details$_custom2Controller, _null, _null, "invoice2", invoice.customValue2, false, _null));
@ -396444,7 +396441,7 @@
t10 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t10 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t11 = type$.AppDropdownButton_legacy_String; t11 = type$.AppDropdownButton_legacy_String;
t12 = type$.JSArray_legacy_Widget; t12 = type$.JSArray_legacy_Widget;
t10 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t8, t9, new A.ReportsScreen_build_closure2(_this), P.List_List$of(new H.MappedListIterable(t4, new A.ReportsScreen_build_closure3(t1), t10), true, t10._eval$1("ListIterable.E")), _null, true, "", _null, _null, t11)], t12); t10 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t8, t9, new A.ReportsScreen_build_closure2(_this), P.List_List$of(new H.MappedListIterable(t4, new A.ReportsScreen_build_closure3(t1), t10), true, t10._eval$1("ListIterable.E")), false, true, "", _null, _null, t11)], t12);
if (hasCustomDate) if (hasCustomDate)
C.JSArray_methods.addAll$1(t10, H.setRuntimeTypeInfo([K.DatePicker$(false, _null, _null, t1.get$startDate(), _null, new A.ReportsScreen_build_closure4(_this), reportsState.customStartDate, _null), K.DatePicker$(false, _null, _null, t1.get$endDate(), _null, new A.ReportsScreen_build_closure5(_this), reportsState.customEndDate, _null)], type$.JSArray_legacy_DatePicker)); C.JSArray_methods.addAll$1(t10, H.setRuntimeTypeInfo([K.DatePicker$(false, _null, _null, t1.get$startDate(), _null, new A.ReportsScreen_build_closure4(_this), reportsState.customStartDate, _null), K.DatePicker$(false, _null, _null, t1.get$endDate(), _null, new A.ReportsScreen_build_closure5(_this), reportsState.customEndDate, _null)], type$.JSArray_legacy_DatePicker));
t4 = t1.get$group(); t4 = t1.get$group();
@ -396467,7 +396464,7 @@
t22 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "month"); t22 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "month");
t22 = K.DropdownMenuItem$(L.Text$(t22 == null ? "" : t22, _null, _null, _null, _null, _null, _null, _null, _null, _null), "month", t21); t22 = K.DropdownMenuItem$(L.Text$(t22 == null ? "" : t22, _null, _null, _null, _null, _null, _null, _null, _null, _null), "month", t21);
t23 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "year"); t23 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "year");
t4.push(new Q.AppDropdownButton(t18, t19, new A.ReportsScreen_build_closure9(_this), H.setRuntimeTypeInfo([t20, t22, K.DropdownMenuItem$(L.Text$(t23 == null ? "" : t23, _null, _null, _null, _null, _null, _null, _null, _null, _null), "year", t21)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, true, "", _null, _null, t11)); t4.push(new Q.AppDropdownButton(t18, t19, new A.ReportsScreen_build_closure9(_this), H.setRuntimeTypeInfo([t20, t22, K.DropdownMenuItem$(L.Text$(t23 == null ? "" : t23, _null, _null, _null, _null, _null, _null, _null, _null, _null), "year", t21)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), false, true, "", _null, _null, t11));
} }
t3 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "chart"); t3 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "chart");
if (t3 == null) if (t3 == null)
@ -398059,7 +398056,7 @@
t4 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t4), "require_password_with_social_login"); t4 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t4), "require_password_with_social_login");
if (t4 == null) if (t4 == null)
t4 = ""; t4 = "";
return K.EditScaffold$(_null, t11, new X.AppTabForm(t9, t10, H.setRuntimeTypeInfo([new O._AccountOverview(viewModel, _null), new X.ScrollableListView(t1, _null, _null, false, _null), new X.ScrollableListView(t6, _null, _null, false, _null), new X.ScrollableListView(H.setRuntimeTypeInfo([Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t7, t13, new O._AccountManagementState_build_closure0(viewModel, company), t2, _null, true, "", _null, _null, t14), new Q.AppDropdownButton(t15, t16, new O._AccountManagementState_build_closure1(viewModel, company), t2, _null, true, "", _null, _null, t14), K.BoolDropdownButton$(_null, _null, _null, _null, t4, _null, new O._AccountManagementState_build_closure2(viewModel, company), _null, company.oauthPasswordRequired)], t12), _null, 4, false, _null, false, _null)], t12), _null, _null, false, _null)], t12), t8, _null, _null), _null, _null, _null, false, _null, _null, t5, _null, t3); return K.EditScaffold$(_null, t11, new X.AppTabForm(t9, t10, H.setRuntimeTypeInfo([new O._AccountOverview(viewModel, _null), new X.ScrollableListView(t1, _null, _null, false, _null), new X.ScrollableListView(t6, _null, _null, false, _null), new X.ScrollableListView(H.setRuntimeTypeInfo([Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t7, t13, new O._AccountManagementState_build_closure0(viewModel, company), t2, false, true, "", _null, _null, t14), new Q.AppDropdownButton(t15, t16, new O._AccountManagementState_build_closure1(viewModel, company), t2, false, true, "", _null, _null, t14), K.BoolDropdownButton$(_null, _null, _null, _null, t4, _null, new O._AccountManagementState_build_closure2(viewModel, company), _null, company.oauthPasswordRequired)], t12), _null, 4, false, _null, false, _null)], t12), _null, _null, false, _null)], t12), t8, _null, _null), _null, _null, _null, false, _null, _null, t5, _null, t3);
} }
}; };
O._AccountManagementState_didChangeDependencies_closure.prototype = { O._AccountManagementState_didChangeDependencies_closure.prototype = {
@ -398975,7 +398972,7 @@
t17 = type$.legacy_String; t17 = type$.legacy_String;
t18 = K.DropdownMenuItem$(L.Text$(t1.get$subdomain(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "subdomain", t17); t18 = K.DropdownMenuItem$(L.Text$(t1.get$subdomain(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "subdomain", t17);
t19 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t11), "domain"); t19 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t11), "domain");
t13.push(new Q.AppDropdownButton(t15, t16, new S._ClientPortalState_build_closure(viewModel), H.setRuntimeTypeInfo([t18, K.DropdownMenuItem$(L.Text$(t19 == null ? "" : t19, _null, _null, _null, _null, _null, _null, _null, _null, _null), "domain", t17)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)); t13.push(new Q.AppDropdownButton(t15, t16, new S._ClientPortalState_build_closure(viewModel), H.setRuntimeTypeInfo([t18, K.DropdownMenuItem$(L.Text$(t19 == null ? "" : t19, _null, _null, _null, _null, _null, _null, _null, _null, _null), "domain", t17)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String));
} }
t15 = t14.get$isHosted(); t15 = t14.get$isHosted();
if (t15 && company.portalMode === "subdomain") { if (t15 && company.portalMode === "subdomain") {
@ -399793,7 +399790,7 @@
t14 = type$.AppDropdownButton_legacy_String; t14 = type$.AppDropdownButton_legacy_String;
t18 = settings.defaultPaymentTypeId; t18 = settings.defaultPaymentTypeId;
t19 = "__default_payment_type_" + H.S(t18) + "__"; t19 = "__default_payment_type_" + H.S(t18) + "__";
t22 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t12, t16, new A._CompanyDetailsState_build_closure6(viewModel, settings), t17, _null, true, "", _null, _null, t14), F.EntityDropdown$(true, false, false, t18, $.$get$memoizedPaymentTypeList().call$1(t24.paymentTypeMap), _null, C.EntityType_paymentType, new D.ValueKey(t19, t22), t1.get$paymentType(), _null, new A._CompanyDetailsState_build_closure7(viewModel, settings), _null, _null, _null)], t15); t22 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t12, t16, new A._CompanyDetailsState_build_closure6(viewModel, settings), t17, false, true, "", _null, _null, t14), F.EntityDropdown$(true, false, false, t18, $.$get$memoizedPaymentTypeList().call$1(t24.paymentTypeMap), _null, C.EntityType_paymentType, new D.ValueKey(t19, t22), t1.get$paymentType(), _null, new A._CompanyDetailsState_build_closure7(viewModel, settings), _null, _null, _null)], t15);
if (company.isModuleEnabled$1(C.EntityType_invoice)) { if (company.isModuleEnabled$1(C.EntityType_invoice)) {
t12 = t1.get$invoicePaymentTerms(); t12 = t1.get$invoicePaymentTerms();
t16 = J.map$1$1$ax($.$get$memoizedDropdownPaymentTermList().call$2(t5.$index(t2, t4).paymentTermState.map, t5.$index(t2, t4).paymentTermState.list), new A._CompanyDetailsState_build_closure8(state), type$.legacy_DropdownMenuItem_legacy_String).toList$0(0); t16 = J.map$1$1$ax($.$get$memoizedDropdownPaymentTermList().call$2(t5.$index(t2, t4).paymentTermState.map, t5.$index(t2, t4).paymentTermState.list), new A._CompanyDetailsState_build_closure8(state), type$.legacy_DropdownMenuItem_legacy_String).toList$0(0);
@ -400826,7 +400823,7 @@
t11 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t5), "switch"); t11 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t5), "switch");
t11 = K.DropdownMenuItem$(L.Text$(t11 == null ? "" : t11, _null, _null, _null, _null, _null, _null, _null, _null, _null), "switch", t9); t11 = K.DropdownMenuItem$(L.Text$(t11 == null ? "" : t11, _null, _null, _null, _null, _null, _null, _null, _null, _null), "switch", t9);
t5 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t5), _s8_); t5 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t5), _s8_);
C.JSArray_methods.addAll$1(t3, H.setRuntimeTypeInfo([t4, new T.Flexible(1, C.FlexFit_1, new Q.AppDropdownButton(t6, t7, new S._CustomFormFieldState_build_closure1(_this), H.setRuntimeTypeInfo([t8, t10, t11, K.DropdownMenuItem$(L.Text$(t5 == null ? "" : t5, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s8_, t9), K.DropdownMenuItem$(L.Text$(t1.get$date(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "date", t9)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String), _null)], t2)); C.JSArray_methods.addAll$1(t3, H.setRuntimeTypeInfo([t4, new T.Flexible(1, C.FlexFit_1, new Q.AppDropdownButton(t6, t7, new S._CustomFormFieldState_build_closure1(_this), H.setRuntimeTypeInfo([t8, t10, t11, K.DropdownMenuItem$(L.Text$(t5 == null ? "" : t5, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s8_, t9), K.DropdownMenuItem$(L.Text$(t1.get$date(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "date", t9)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String), _null)], t2));
} }
t2 = H.setRuntimeTypeInfo([T.Row$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t2); t2 = H.setRuntimeTypeInfo([T.Row$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t2);
if (_this._fieldType === "dropdown") { if (_this._fieldType === "dropdown") {
@ -401127,7 +401124,7 @@
t9 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "rows_per_page"); t9 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), "rows_per_page");
t8 = t9 == null ? "" : t9; t8 = t9 == null ? "" : t9;
t9 = type$.MappedListIterable_of_legacy_int_and_legacy_DropdownMenuItem_legacy_int; t9 = type$.MappedListIterable_of_legacy_int_and_legacy_DropdownMenuItem_legacy_int;
t7.push(new Q.AppDropdownButton(t8, prefState.rowsPerPage, new R._DeviceSettingsState_build_closure3(viewModel, context), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo([10, 25, 50], type$.JSArray_legacy_int), new R._DeviceSettingsState_build_closure4(), t9), true, t9._eval$1("ListIterable.E")), _null, true, _null, _null, _null, type$.AppDropdownButton_legacy_int)); t7.push(new Q.AppDropdownButton(t8, prefState.rowsPerPage, new R._DeviceSettingsState_build_closure3(viewModel, context), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo([10, 25, 50], type$.JSArray_legacy_int), new R._DeviceSettingsState_build_closure4(), t9), true, t9._eval$1("ListIterable.E")), false, true, _null, _null, _null, type$.AppDropdownButton_legacy_int));
t7 = Y.FormCard$(_null, t7, _null, 4, false, _null, false, _null); t7 = Y.FormCard$(_null, t7, _null, 4, false, _null, false, _null);
t9 = B.FutureBuilder$(new R._DeviceSettingsState_build_closure5(t1, prefState, viewModel), viewModel.authenticationSupported, type$.legacy_bool); t9 = B.FutureBuilder$(new R._DeviceSettingsState_build_closure5(t1, prefState, viewModel), viewModel.authenticationSupported, type$.legacy_bool);
t8 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s10_); t8 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s10_);
@ -401160,14 +401157,14 @@
t13 = type$.legacy_DropdownMenuItem_legacy_String; t13 = type$.legacy_DropdownMenuItem_legacy_String;
t12 = H.MappedIterable_MappedIterable(t12, new R._DeviceSettingsState_build_closure11(), H._instanceType(t12)._eval$1("Iterable.E"), t13); t12 = H.MappedIterable_MappedIterable(t12, new R._DeviceSettingsState_build_closure11(), H._instanceType(t12)._eval$1("Iterable.E"), t13);
t14 = type$.AppDropdownButton_legacy_String; t14 = type$.AppDropdownButton_legacy_String;
t13 = Y.FormCard$(_null, H.setRuntimeTypeInfo([t9, t8, new Q.AppDropdownButton(t10, t11, new R._DeviceSettingsState_build_closure12(viewModel, context), P.List_List$of(P.List_List$of(t12, true, H._instanceType(t12)._eval$1("Iterable.E")), true, t13), _null, true, "", _null, _null, t14)], t6), _null, 4, false, _null, false, _null); t13 = Y.FormCard$(_null, H.setRuntimeTypeInfo([t9, t8, new Q.AppDropdownButton(t10, t11, new R._DeviceSettingsState_build_closure12(viewModel, context), P.List_List$of(P.List_List$of(t12, true, H._instanceType(t12)._eval$1("Iterable.E")), true, t13), false, true, "", _null, _null, t14)], t6), _null, 4, false, _null, false, _null);
t12 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s16_0); t12 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s16_0);
t8 = t12 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, _s2_), _s16_0) : t12; t8 = t12 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, _s2_), _s16_0) : t12;
t9 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s9_); t9 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s9_);
t10 = type$.legacy_String; t10 = type$.legacy_String;
t9 = K.DropdownMenuItem$(L.Text$(t9 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, _s2_), _s9_) : t9, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s9_, t10); t9 = K.DropdownMenuItem$(L.Text$(t9 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, _s2_), _s9_) : t9, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s9_, t10);
t11 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s8_); t11 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t3), _s8_);
t8 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t8, "", new R._DeviceSettingsState_build_closure13(viewModel, context, prefState, state), H.setRuntimeTypeInfo([t9, K.DropdownMenuItem$(L.Text$(t11 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, _s2_), _s8_) : t11, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s8_, t10)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, true, "", _null, _null, t14)], t6); t8 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t8, "", new R._DeviceSettingsState_build_closure13(viewModel, context, prefState, state), H.setRuntimeTypeInfo([t9, K.DropdownMenuItem$(L.Text$(t11 == null ? J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, _s2_), _s8_) : t11, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s8_, t10)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), false, true, "", _null, _null, t14)], t6);
t9 = type$.MappedListIterable_of_legacy_String_and_legacy_FormColorPicker; t9 = type$.MappedListIterable_of_legacy_String_and_legacy_FormColorPicker;
C.JSArray_methods.addAll$1(t8, P.List_List$of(new H.MappedListIterable(C.List_soA, new R._DeviceSettingsState_build_closure14(t1, prefState, viewModel, context), t9), true, t9._eval$1("ListIterable.E"))); C.JSArray_methods.addAll$1(t8, P.List_List$of(new H.MappedListIterable(C.List_soA, new R._DeviceSettingsState_build_closure14(t1, prefState, viewModel, context), t9), true, t9._eval$1("ListIterable.E")));
t8.push(T.SizedBox$(_null, 20, _null)); t8.push(T.SizedBox$(_null, 20, _null));
@ -401964,7 +401961,7 @@
t3 = settings.emailStyle; t3 = settings.emailStyle;
t4 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t5), "plain"); t4 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t5), "plain");
t12 = type$.legacy_String; t12 = type$.legacy_String;
t12 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t2, t3, new N._EmailSettingsState_build_closure5(viewModel, settings), H.setRuntimeTypeInfo([K.DropdownMenuItem$(L.Text$(t4 == null ? "" : t4, _null, _null, _null, _null, _null, _null, _null, _null, _null), "plain", t12), K.DropdownMenuItem$(L.Text$(t1.get$light(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "light", t12), K.DropdownMenuItem$(L.Text$(t1.get$dark(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "dark", t12), K.DropdownMenuItem$(L.Text$(t1.get$custom(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "custom", t12)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t10); t12 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t2, t3, new N._EmailSettingsState_build_closure5(viewModel, settings), H.setRuntimeTypeInfo([K.DropdownMenuItem$(L.Text$(t4 == null ? "" : t4, _null, _null, _null, _null, _null, _null, _null, _null, _null), "plain", t12), K.DropdownMenuItem$(L.Text$(t1.get$light(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "light", t12), K.DropdownMenuItem$(L.Text$(t1.get$dark(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "dark", t12), K.DropdownMenuItem$(L.Text$(t1.get$custom(), _null, _null, _null, _null, _null, _null, _null, _null, _null), "custom", t12)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t10);
if (t3 === "custom") { if (t3 === "custom") {
t2 = T.SizedBox$(_null, 10, _null); t2 = T.SizedBox$(_null, 10, _null);
t3 = t1.get$custom(); t3 = t1.get$custom();
@ -402519,7 +402516,7 @@
t16 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t4), _s9_); t16 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t4), _s9_);
t17 = type$.JSArray_legacy_DropdownMenuItem_legacy_String; t17 = type$.JSArray_legacy_DropdownMenuItem_legacy_String;
t18 = type$.AppDropdownButton_legacy_String; t18 = type$.AppDropdownButton_legacy_String;
t16 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t9, t10, new F._GeneratedNumbersState_build_closure0(viewModel, settings), t11, _null, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), new Q.AppDropdownButton(t12, t13, new F._GeneratedNumbersState_build_closure1(viewModel, settings), H.setRuntimeTypeInfo([t14, K.DropdownMenuItem$(L.Text$(t16 == null ? "" : t16, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s9_, t15)], t17), _null, true, "", _null, _null, t18)], t6); t16 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t9, t10, new F._GeneratedNumbersState_build_closure0(viewModel, settings), t11, false, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), new Q.AppDropdownButton(t12, t13, new F._GeneratedNumbersState_build_closure1(viewModel, settings), H.setRuntimeTypeInfo([t14, K.DropdownMenuItem$(L.Text$(t16 == null ? "" : t16, _null, _null, _null, _null, _null, _null, _null, _null, _null), _s9_, t15)], t17), false, true, "", _null, _null, t18)], t6);
if (company.isModuleEnabled$1(C.EntityType_recurringInvoice)) if (company.isModuleEnabled$1(C.EntityType_recurringInvoice))
t16.push(S.DecoratedFormField$(false, _null, false, false, _this._recurringPrefixController, _null, true, _null, _null, _null, _null, false, false, _null, _null, t1.get$recurringPrefix(), _null, _null, false, _null, _null, _null, true, _null, _null, C.TextAlign_4, _null)); t16.push(S.DecoratedFormField$(false, _null, false, false, _this._recurringPrefixController, _null, true, _null, _null, _null, _null, false, false, _null, _null, t1.get$recurringPrefix(), _null, _null, false, _null, _null, _null, true, _null, _null, C.TextAlign_4, _null));
if (company.isModuleEnabled$1(C.EntityType_quote)) if (company.isModuleEnabled$1(C.EntityType_quote))
@ -402532,7 +402529,7 @@
t15 = C.Map_tOn4d.map$2$1(0, new F._GeneratedNumbersState_build_closure4(t1), t15, type$.legacy_DropdownMenuItem_legacy_String); t15 = C.Map_tOn4d.map$2$1(0, new F._GeneratedNumbersState_build_closure4(t1), t15, type$.legacy_DropdownMenuItem_legacy_String);
t15 = t15.get$values(t15); t15 = t15.get$values(t15);
C.JSArray_methods.addAll$1(t17, P.List_List$of(t15, true, H._instanceType(t15)._eval$1("Iterable.E"))); C.JSArray_methods.addAll$1(t17, P.List_List$of(t15, true, H._instanceType(t15)._eval$1("Iterable.E")));
t16.push(new Q.AppDropdownButton(t9, t10, new F._GeneratedNumbersState_build_closure5(viewModel, settings), t17, _null, true, "", _null, _null, t18)); t16.push(new Q.AppDropdownButton(t9, t10, new F._GeneratedNumbersState_build_closure5(viewModel, settings), t17, false, true, "", _null, _null, t18));
t1 = H.Primitives_parseInt(t10 == null ? "0" : t10, _null); t1 = H.Primitives_parseInt(t10 == null ? "0" : t10, _null);
if ((t1 == null ? 0 : t1) > 0) { if ((t1 == null ? 0 : t1) > 0) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t4), "next_reset"); t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t4), "next_reset");
@ -403968,13 +403965,13 @@
t4 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t4 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t8 = t4._eval$1("ListIterable.E"); t8 = t4._eval$1("ListIterable.E");
t9 = type$.AppDropdownButton_legacy_String; t9 = type$.AppDropdownButton_legacy_String;
t6.push(new Q.AppDropdownButton(t2, settings.pageLayout, new Z._InvoiceDesignState_build_closure5(viewModel, settings), P.List_List$of(new H.MappedListIterable(C.List_portrait_landscape, new Z._InvoiceDesignState_build_closure6(t1), t4), true, t8), _null, true, "", _null, _null, t9)); t6.push(new Q.AppDropdownButton(t2, settings.pageLayout, new Z._InvoiceDesignState_build_closure5(viewModel, settings), P.List_List$of(new H.MappedListIterable(C.List_portrait_landscape, new Z._InvoiceDesignState_build_closure6(t1), t4), true, t8), false, true, "", _null, _null, t9));
t6.push(new Q.AppDropdownButton(t1.get$pageSize(), settings.pageSize, new Z._InvoiceDesignState_build_closure7(viewModel, settings), P.List_List$of(new H.MappedListIterable(C.List_mRX, new Z._InvoiceDesignState_build_closure8(t1), t4), true, t8), _null, true, "", _null, _null, t9)); t6.push(new Q.AppDropdownButton(t1.get$pageSize(), settings.pageSize, new Z._InvoiceDesignState_build_closure7(viewModel, settings), P.List_List$of(new H.MappedListIterable(C.List_mRX, new Z._InvoiceDesignState_build_closure8(t1), t4), true, t8), false, true, "", _null, _null, t9));
t8 = t1.get$fontSize(t1); t8 = t1.get$fontSize(t1);
t2 = settings.fontSize; t2 = settings.fontSize;
t2 = t2 == null ? "" : H.S(t2); t2 = t2 == null ? "" : H.S(t2);
t4 = type$.MappedListIterable_of_legacy_int_and_legacy_DropdownMenuItem_legacy_String; t4 = type$.MappedListIterable_of_legacy_int_and_legacy_DropdownMenuItem_legacy_String;
t6.push(new Q.AppDropdownButton(t8, t2, new Z._InvoiceDesignState_build_closure9(viewModel, settings), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo([5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], type$.JSArray_legacy_int), new Z._InvoiceDesignState_build_closure10(), t4), true, t4._eval$1("ListIterable.E")), _null, true, "", _null, _null, t9)); t6.push(new Q.AppDropdownButton(t8, t2, new Z._InvoiceDesignState_build_closure9(viewModel, settings), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo([5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], type$.JSArray_legacy_int), new Z._InvoiceDesignState_build_closure10(), t4), true, t4._eval$1("ListIterable.E")), false, true, "", _null, _null, t9));
t6 = Y.FormCard$(_null, t6, _null, 4, false, _null, false, _null); t6 = Y.FormCard$(_null, t6, _null, 4, false, _null, false, _null);
t9 = settings.primaryFont; t9 = settings.primaryFont;
t4 = "__primary_font_" + H.S(t9) + "__"; t4 = "__primary_font_" + H.S(t9) + "__";
@ -404744,7 +404741,7 @@
t11 = company.firstMonthOfYear; t11 = company.firstMonthOfYear;
t13 = C.Map_tOd65.map$2$1(0, new G._LocalizationSettingsState_build_closure8(t1), type$.legacy_String, type$.legacy_DropdownMenuItem_legacy_String); t13 = C.Map_tOd65.map$2$1(0, new G._LocalizationSettingsState_build_closure8(t1), type$.legacy_String, type$.legacy_DropdownMenuItem_legacy_String);
t13 = t13.get$values(t13); t13 = t13.get$values(t13);
t10.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t5, t11, new G._LocalizationSettingsState_build_closure9(viewModel, company), P.List_List$of(t13, true, H._instanceType(t13)._eval$1("Iterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t18), _null, 4, false, _null, true, _null)); t10.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t5, t11, new G._LocalizationSettingsState_build_closure9(viewModel, company), P.List_List$of(t13, true, H._instanceType(t13)._eval$1("Iterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t18), _null, 4, false, _null, true, _null));
} }
t5 = H._arrayInstanceType(customLabels)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>"); t5 = H._arrayInstanceType(customLabels)._eval$1("MappedListIterable<1,DropdownMenuItem<String*>*>");
t5 = P.List_List$of(new H.MappedListIterable(customLabels, new G._LocalizationSettingsState_build_closure10(t1), t5), true, t5._eval$1("ListIterable.E")); t5 = P.List_List$of(new H.MappedListIterable(customLabels, new G._LocalizationSettingsState_build_closure10(t1), t5), true, t5._eval$1("ListIterable.E"));
@ -405178,7 +405175,7 @@
if (t17 == null) if (t17 == null)
t17 = ""; t17 = "";
t18 = type$.JSArray_legacy_Widget; t18 = type$.JSArray_legacy_Widget;
t14 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t7, t8, new V._OnlinePaymentsState_build_closure0(viewModel, settings), t1, _null, true, "", _null, _null, t11), new Q.AppDropdownButton(t12, t13, new V._OnlinePaymentsState_build_closure1(viewModel, settings), t9, _null, true, "", _null, _null, t11), t10, t15, K.BoolDropdownButton$(_null, _null, t17, _null, t14, _null, new V._OnlinePaymentsState_build_closure2(viewModel, settings), _null, t16)], t18); t14 = H.setRuntimeTypeInfo([new Q.AppDropdownButton(t7, t8, new V._OnlinePaymentsState_build_closure0(viewModel, settings), t1, false, true, "", _null, _null, t11), new Q.AppDropdownButton(t12, t13, new V._OnlinePaymentsState_build_closure1(viewModel, settings), t9, false, true, "", _null, _null, t11), t10, t15, K.BoolDropdownButton$(_null, _null, t17, _null, t14, _null, new V._OnlinePaymentsState_build_closure2(viewModel, settings), _null, t16)], t18);
if (t16 === true) { if (t16 === true) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), "minimum_under_payment_amount"); t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), "minimum_under_payment_amount");
if (t1 == null) if (t1 == null)
@ -406408,7 +406405,7 @@
if (t10 == null) if (t10 == null)
t10 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, "en"), _s21_); t10 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, "en"), _s21_);
t11 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t11 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t7.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t10, settings.clientPortalTasks, new L._TaskSettingsState_build_closure5(viewModel, settings), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["invoiced", "uninvoiced", "all"], type$.JSArray_legacy_String), new L._TaskSettingsState_build_closure6(t1), t11), true, t11._eval$1("ListIterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t8), _null, 4, false, _null, false, _null)); t7.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t10, settings.clientPortalTasks, new L._TaskSettingsState_build_closure5(viewModel, settings), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["invoiced", "uninvoiced", "all"], type$.JSArray_legacy_String), new L._TaskSettingsState_build_closure6(t1), t11), true, t11._eval$1("ListIterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t8), _null, 4, false, _null, false, _null));
} }
if (t9) { if (t9) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), "configure_statuses"); t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), "configure_statuses");
@ -406800,7 +406797,7 @@
t6 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1), "two_tax_rates"); t6 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1), "two_tax_rates");
t6 = K.DropdownMenuItem$(L.Text$(t6 == null ? "" : t6, _null, _null, _null, _null, _null, _null, _null, _null, _null), "2", t3); t6 = K.DropdownMenuItem$(L.Text$(t6 == null ? "" : t6, _null, _null, _null, _null, _null, _null, _null, _null, _null), "2", t3);
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1), "three_tax_rates"); t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1), "three_tax_rates");
return new Q.AppDropdownButton(this.label, t2, new N.NumberOfRatesSelector_build_closure(this), H.setRuntimeTypeInfo([t4, t5, t6, K.DropdownMenuItem$(L.Text$(t1 == null ? "" : t1, _null, _null, _null, _null, _null, _null, _null, _null, _null), "3", t3)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String); return new Q.AppDropdownButton(this.label, t2, new N.NumberOfRatesSelector_build_closure(this), H.setRuntimeTypeInfo([t4, t5, t6, K.DropdownMenuItem$(L.Text$(t1 == null ? "" : t1, _null, _null, _null, _null, _null, _null, _null, _null, _null), "3", t3)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String);
} }
}; };
N.NumberOfRatesSelector_build_closure.prototype = { N.NumberOfRatesSelector_build_closure.prototype = {
@ -407022,7 +407019,7 @@
t13 = _null; t13 = _null;
t1 = C.Map_tOn4d.map$2$1(0, new L._TemplatesAndRemindersState_build_closure6(t1), type$.legacy_String, type$.legacy_DropdownMenuItem_legacy_String); t1 = C.Map_tOn4d.map$2$1(0, new L._TemplatesAndRemindersState_build_closure6(t1), type$.legacy_String, type$.legacy_DropdownMenuItem_legacy_String);
t1 = t1.get$values(t1); t1 = t1.get$values(t1);
t14.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([t4, new Q.AppDropdownButton(t12, t13, new L._TemplatesAndRemindersState_build_closure7(viewModel, settings), P.List_List$of(t1, true, H._instanceType(t1)._eval$1("Iterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t6), _null, 4, false, _null, false, _null)); t14.push(Y.FormCard$(_null, H.setRuntimeTypeInfo([t4, new Q.AppDropdownButton(t12, t13, new L._TemplatesAndRemindersState_build_closure7(viewModel, settings), P.List_List$of(t1, true, H._instanceType(t1)._eval$1("Iterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t6), _null, 4, false, _null, false, _null));
} }
t14.push(new K.VariablesHelp(template === C.EmailTemplate_quote, _null)); t14.push(new K.VariablesHelp(template === C.EmailTemplate_quote, _null));
t1 = _this._templates_and_reminders$_isLoading; t1 = _this._templates_and_reminders$_isLoading;
@ -407430,7 +407427,7 @@
if (t2 == null) if (t2 == null)
t2 = ""; t2 = "";
t8 = type$.JSArray_legacy_Widget; t8 = type$.JSArray_legacy_Widget;
return T.Column$(H.setRuntimeTypeInfo([Y.FormCard$(_null, H.setRuntimeTypeInfo([t3, new Q.AppDropdownButton(t5, t4, new L._ReminderSettingsState_build_closure0(_this), t6, _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String), new T.Padding(C.EdgeInsets_0_10_0_10, t1, _null), t7, S.DecoratedFormField$(false, _null, false, false, _this._feePercentController, _null, true, _null, _null, _null, _null, false, true, _null, _null, t2, _null, _null, false, _null, _null, _null, true, _null, _null, C.TextAlign_4, _null)], t8), _null, 4, false, _null, false, _null)], t8), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1); return T.Column$(H.setRuntimeTypeInfo([Y.FormCard$(_null, H.setRuntimeTypeInfo([t3, new Q.AppDropdownButton(t5, t4, new L._ReminderSettingsState_build_closure0(_this), t6, false, true, "", _null, _null, type$.AppDropdownButton_legacy_String), new T.Padding(C.EdgeInsets_0_10_0_10, t1, _null), t7, S.DecoratedFormField$(false, _null, false, false, _this._feePercentController, _null, true, _null, _null, _null, _null, false, true, _null, _null, t2, _null, _null, false, _null, _null, _null, true, _null, _null, C.TextAlign_4, _null)], t8), _null, 4, false, _null, false, _null)], t8), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
} }
}; };
L._ReminderSettingsState_dispose_closure.prototype = { L._ReminderSettingsState_dispose_closure.prototype = {
@ -407716,7 +407713,7 @@
t2 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), _s28_); t2 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), _s28_);
if (t2 == null) if (t2 == null)
t2 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, "en"), _s28_); t2 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, "en"), _s28_);
C.JSArray_methods.addAll$1(t13, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t8, t10, new K._UserDetailsState_build_closure7(_this, user), t1, _null, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), t12, K.BoolDropdownButton$(_null, _null, t2, _null, t15, _null, new K._UserDetailsState_build_closure8(_this, user), _null, t14.includeDeletedClients)], t4)); C.JSArray_methods.addAll$1(t13, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t8, t10, new K._UserDetailsState_build_closure7(_this, user), t1, false, true, _null, _null, _null, type$.AppDropdownButton_legacy_int), t12, K.BoolDropdownButton$(_null, _null, t2, _null, t15, _null, new K._UserDetailsState_build_closure8(_this, user), _null, t14.includeDeletedClients)], t4));
return K.EditScaffold$(_null, t5, new X.AppTabForm(_this._user_details$_focusNode, t6, H.setRuntimeTypeInfo([new X.ScrollableListView(H.setRuntimeTypeInfo([t9, new T.Padding(C.EdgeInsets_18_20_18_10, t11, _null), Y.FormCard$(_null, t13, _null, 4, false, _null, true, _null)], t4), _null, _null, false, _null), new X.ScrollableListView(H.setRuntimeTypeInfo([new B.NotificationSettings(user, new K._UserDetailsState_build_closure9(viewModel, user), _null)], t4), _null, _null, false, _null)], t4), t7, _null, _null), _null, _null, _null, false, _null, _null, new K._UserDetailsState_build_closure10(_this, viewModel), _null, t3); return K.EditScaffold$(_null, t5, new X.AppTabForm(_this._user_details$_focusNode, t6, H.setRuntimeTypeInfo([new X.ScrollableListView(H.setRuntimeTypeInfo([t9, new T.Padding(C.EdgeInsets_18_20_18_10, t11, _null), Y.FormCard$(_null, t13, _null, 4, false, _null, true, _null)], t4), _null, _null, false, _null), new X.ScrollableListView(H.setRuntimeTypeInfo([new B.NotificationSettings(user, new K._UserDetailsState_build_closure9(viewModel, user), _null)], t4), _null, _null, false, _null)], t4), t7, _null, _null), _null, _null, _null, false, _null, _null, new K._UserDetailsState_build_closure10(_this, viewModel), _null, t3);
} }
}; };
@ -408497,7 +408494,7 @@
t11 = Y.FormCard$(_null, H.setRuntimeTypeInfo([t10, K.BoolDropdownButton$(_null, _null, t12, C.IconData_57489_MaterialIcons_null_false, t11, _null, new D._WorkflowSettingsState_build_closure0(viewModel, settings), _null, settings.autoArchiveInvoice)], t6), _null, 4, false, _null, false, _null); t11 = Y.FormCard$(_null, H.setRuntimeTypeInfo([t10, K.BoolDropdownButton$(_null, _null, t12, C.IconData_57489_MaterialIcons_null_false, t11, _null, new D._WorkflowSettingsState_build_closure0(viewModel, settings), _null, settings.autoArchiveInvoice)], t6), _null, 4, false, _null, false, _null);
t12 = settings.lockInvoices; t12 = settings.lockInvoices;
t10 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String; t10 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t10 = H.setRuntimeTypeInfo([t11, Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t1.get$lockInvoices(), t12, new D._WorkflowSettingsState_build_closure1(viewModel, settings), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["off", "when_sent", "when_paid"], type$.JSArray_legacy_String), new D._WorkflowSettingsState_build_closure2(t1), t10), true, t10._eval$1("ListIterable.E")), _null, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t6), _null, 4, false, _null, true, _null)], t6); t10 = H.setRuntimeTypeInfo([t11, Y.FormCard$(_null, H.setRuntimeTypeInfo([new Q.AppDropdownButton(t1.get$lockInvoices(), t12, new D._WorkflowSettingsState_build_closure1(viewModel, settings), P.List_List$of(new H.MappedListIterable(H.setRuntimeTypeInfo(["off", "when_sent", "when_paid"], type$.JSArray_legacy_String), new D._WorkflowSettingsState_build_closure2(t1), t10), true, t10._eval$1("ListIterable.E")), false, true, "", _null, _null, type$.AppDropdownButton_legacy_String)], t6), _null, 4, false, _null, true, _null)], t6);
t12 = t1.get$autoConvertQuote(); t12 = t1.get$autoConvertQuote();
t11 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), "auto_convert_quote_help"); t11 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t2), "auto_convert_quote_help");
if (t11 == null) if (t11 == null)
@ -417398,7 +417395,7 @@
t16 = L.Icon$(C.IconData_57424_MaterialIcons_null_false, _null, _null); t16 = L.Icon$(C.IconData_57424_MaterialIcons_null_false, _null, _null);
t17 = _this.key; t17 = _this.key;
t18 = type$.JSArray_legacy_Widget; t18 = type$.JSArray_legacy_Widget;
t15 = H.setRuntimeTypeInfo([t3, new Q.AppDropdownButton(t4, t5.eventId, new N._WebhookEditState_build__closure3(t6, t5), t7, _null, true, "", _null, _null, t8), new Q.AppDropdownButton(t9, t5.restMethod, new N._WebhookEditState_build__closure4(t6, t5), t10, true, true, "", _null, _null, t8), T.Row$(H.setRuntimeTypeInfo([t12, t13, t11, t14, B.IconButton$(C.Alignment_0_0, _null, _null, true, t16, 24, t17.length === 0 || _this.value.length === 0 ? _null : new N._WebhookEditState_build__closure5(t1, t5, t17, t6, _this.value), C.EdgeInsets_8_8_8_8, t15, _null)], t18), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), T.SizedBox$(_null, 8, _null)], t18); t15 = H.setRuntimeTypeInfo([t3, new Q.AppDropdownButton(t4, t5.eventId, new N._WebhookEditState_build__closure3(t6, t5), t7, false, true, "", _null, _null, t8), new Q.AppDropdownButton(t9, t5.restMethod, new N._WebhookEditState_build__closure4(t6, t5), t10, true, true, "", _null, _null, t8), T.Row$(H.setRuntimeTypeInfo([t12, t13, t11, t14, B.IconButton$(C.Alignment_0_0, _null, _null, true, t16, 24, t17.length === 0 || _this.value.length === 0 ? _null : new N._WebhookEditState_build__closure5(t1, t5, t17, t6, _this.value), C.EdgeInsets_8_8_8_8, t15, _null)], t18), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), T.SizedBox$(_null, 8, _null)], t18);
t1 = t5.headers; t1 = t5.headers;
if (J.get$isEmpty$asx(t1._map$_map)) if (J.get$isEmpty$asx(t1._map$_map))
t15.push(new T.Padding(C.EdgeInsets_0_16_0_8, T.Center$(new U.HelpText(t2.get$noHeaders(), _null), _null, _null), _null)); t15.push(new T.Padding(C.EdgeInsets_0_16_0_8, T.Center$(new U.HelpText(t2.get$noHeaders(), _null), _null, _null), _null));