mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin Portal - Profile
This commit is contained in:
parent
db22e0ab6d
commit
3a51b62043
79
public/main.profile.dart.js
vendored
79
public/main.profile.dart.js
vendored
@ -86489,13 +86489,14 @@
|
||||
_.trailing = t3;
|
||||
_.key = t4;
|
||||
},
|
||||
IconText: function IconText(t0, t1, t2, t3, t4) {
|
||||
IconText: function IconText(t0, t1, t2, t3, t4, t5) {
|
||||
var _ = this;
|
||||
_.text = t0;
|
||||
_.icon = t1;
|
||||
_.style = t2;
|
||||
_.alignment = t3;
|
||||
_.key = t4;
|
||||
_.copyToClipboard = t4;
|
||||
_.key = t5;
|
||||
},
|
||||
InvoiceEmailView: function InvoiceEmailView(t0, t1) {
|
||||
this.viewModel = t0;
|
||||
@ -395760,7 +395761,7 @@
|
||||
t1 = A.ElevatedButton_styleFrom(_null, _null, _null, 4, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(14, 14, 14, 14), t1, _null, new A.RoundedRectangleBorder(A.BorderRadius$circular(2), B.BorderSide_0CF), _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null);
|
||||
t2 = _this.iconData;
|
||||
t3 = _this.label;
|
||||
t2 = t2 != null ? new A.IconText(t3, t2, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), B.MainAxisAlignment_2, _null) : new A.SizedBox(_null, 24, A.Text$(t3, _null, _null, B.TextOverflow_2, _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null);
|
||||
t2 = t2 != null ? new A.IconText(t3, t2, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), B.MainAxisAlignment_2, false, _null) : new A.SizedBox(_null, 24, A.Text$(t3, _null, _null, B.TextOverflow_2, _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null);
|
||||
button = A.ElevatedButton$(t2, _this.onPressed, t1);
|
||||
t1 = _this.width;
|
||||
return new A.Padding(B.EdgeInsets_0_20_0_0, t1 == null ? button : new A.SizedBox(t1, _null, button, _null), _null);
|
||||
@ -395796,7 +395797,7 @@
|
||||
t3 = !t2;
|
||||
t2 = t2 ? 0 : 50;
|
||||
t4 = A.Duration$(0, 0, 0, 500, 0, 0);
|
||||
t5 = A.Expanded$(new A.IconText(message, B.IconData_58173_MaterialIcons_null_false, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null), 1);
|
||||
t5 = A.Expanded$(new A.IconText(message, B.IconData_58173_MaterialIcons_null_false, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, false, _null), 1);
|
||||
t6 = t1.get$dismiss();
|
||||
t1 = J.$index$asx($.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode), "change");
|
||||
if (t1 == null)
|
||||
@ -396303,8 +396304,8 @@
|
||||
t8.push(new A._HealthListTile("Invalid File Permissions", false, false, t2, "https://invoiceninja.github.io/docs/self-host-installation/#file-permissions", _null));
|
||||
if (_this._response.queue === "sync")
|
||||
t8.push(new A._HealthListTile("Queue not enabled", true, true, "Enable the queue for improved performance", "https://invoiceninja.github.io/docs/self-host-installation/#final-setup-steps", _null));
|
||||
if (_this._response.phantomEnabled)
|
||||
t8.push(new A._HealthListTile("SnapPDF not enabled", true, true, "Use SnapPDF for faster PDF generation", "https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues", _null));
|
||||
if (_this._response.pdfEngine !== "snappdf")
|
||||
t8.push(new A._HealthListTile("SnapPDF not enabled", true, true, "Use SnapPDF to generate PDF files locally", "https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues", _null));
|
||||
if (_this._response.trailingSlash)
|
||||
t8.push(new A._HealthListTile("APP_URL has trailing slash", true, true, "Remove the slash in the .env file", _null, _null));
|
||||
t2 = A.Column$(t8, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1);
|
||||
@ -396990,7 +396991,7 @@
|
||||
var _null = null,
|
||||
t1 = this.localization,
|
||||
t2 = type$.legacy_String;
|
||||
return A._setArrayType([A.PopupMenuItem$(new A.IconText(t1.get$view(t1), B.IconData_58458_MaterialIcons_null_false, _null, _null, _null), t1.get$view(t1), t2), A.PopupMenuItem$(new A.IconText(t1.get$download(t1), B.IconData_57857_MaterialIcons_null_false, _null, _null, _null), t1.get$download(t1), t2), A.PopupMenuItem$(new A.IconText(t1.get$$delete(t1), B.IconData_57785_MaterialIcons_null_false, _null, _null, _null), t1.get$$delete(t1), t2)], type$.JSArray_legacy_PopupMenuEntry_legacy_String);
|
||||
return A._setArrayType([A.PopupMenuItem$(new A.IconText(t1.get$view(t1), B.IconData_58458_MaterialIcons_null_false, _null, _null, false, _null), t1.get$view(t1), t2), A.PopupMenuItem$(new A.IconText(t1.get$download(t1), B.IconData_57857_MaterialIcons_null_false, _null, _null, false, _null), t1.get$download(t1), t2), A.PopupMenuItem$(new A.IconText(t1.get$$delete(t1), B.IconData_57785_MaterialIcons_null_false, _null, _null, false, _null), t1.get$$delete(t1), t2)], type$.JSArray_legacy_PopupMenuEntry_legacy_String);
|
||||
},
|
||||
$signature: 392
|
||||
};
|
||||
@ -397173,13 +397174,13 @@
|
||||
t11 = A.getEntityActionIcon(B.EntityAction_cancel);
|
||||
t12 = t4.get$cancel(t4);
|
||||
t13 = t9 ? _null : textStyle;
|
||||
t10 = A.OutlinedButton$(new A.ConstrainedBox(new A.BoxConstraints(60, 1 / 0, 0, 1 / 0), new A.IconText(t12, t11, t13, _null, _null), _null), _null, t10, _null);
|
||||
t10 = A.OutlinedButton$(new A.ConstrainedBox(new A.BoxConstraints(60, 1 / 0, 0, 1 / 0), new A.IconText(t12, t11, t13, _null, false, _null), _null), _null, t10, _null);
|
||||
t13 = A.ButtonStyle$(_null, _null, new A._MaterialStatePropertyAll(state.prefState.get$colorThemeModel().colorSuccess, type$._MaterialStatePropertyAll_legacy_Color), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
||||
t11 = t9 ? _null : new A.EditScaffold_build_closure4(_this, context);
|
||||
t12 = A.getEntityActionIcon(B.EntityAction_save);
|
||||
t4 = t4.get$save(t4);
|
||||
t9 = t9 ? _null : textStyle;
|
||||
t8.push(A.Row$(A._setArrayType([t10, new A.SizedBox(8, _null, _null, _null), A.OutlinedButton$(new A.ConstrainedBox(new A.BoxConstraints(60, 1 / 0, 0, 1 / 0), new A.IconText(t4, t12, t9, _null, _null), _null), _null, t11, t13), new A.SizedBox(16, _null, _null, _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null));
|
||||
t8.push(A.Row$(A._setArrayType([t10, new A.SizedBox(8, _null, _null, _null), A.OutlinedButton$(new A.ConstrainedBox(new A.BoxConstraints(60, 1 / 0, 0, 1 / 0), new A.IconText(t4, t12, t9, _null, false, _null), _null), _null, t11, t13), new A.SizedBox(16, _null, _null, _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null));
|
||||
} else {
|
||||
t6 = isEnabled && _this.onSavePressed != null;
|
||||
t4 = t4.get$cancel(t4);
|
||||
@ -397262,7 +397263,7 @@
|
||||
if (A.getLayout(t2) === B.AppLayout_desktop) {
|
||||
t4 = A.getEntityActionIcon(action);
|
||||
t5 = _this.state;
|
||||
t4 = new A.IconText(label, t4, t5.isSaving ? _null : _this.textStyle, _null, _null);
|
||||
t4 = new A.IconText(label, t4, t5.isSaving ? _null : _this.textStyle, _null, false, _null);
|
||||
} else {
|
||||
t4 = _this.state;
|
||||
t5 = A.Text$(label, _null, _null, _null, _null, _null, t4.isSaving ? _null : _this.textStyle, _null, _null, _null);
|
||||
@ -398826,7 +398827,7 @@
|
||||
t2 = _this.state.isSaving,
|
||||
t3 = t2 ? _null : _this.textStyle;
|
||||
t2 = t2 ? _null : new A.EntityTopFilterHeader_build__closure(_this.filterEntity, action);
|
||||
return A.OutlinedButton$(new A.IconText(label, t1, t3, _null, _null), _null, t2, _null);
|
||||
return A.OutlinedButton$(new A.IconText(label, t1, t3, _null, false, _null), _null, t2, _null);
|
||||
},
|
||||
$signature: 397
|
||||
};
|
||||
@ -400282,10 +400283,10 @@
|
||||
if (value === "all") {
|
||||
t1 = _this.hasMultipleUsers;
|
||||
t2 = t1 ? t2.get$allRecords() : t2.get$enabled(t2);
|
||||
t2 = new A.IconText(t2, t1 ? B.IconData_58910_MaterialIcons_null_false : B.IconData_57689_MaterialIcons_null_false, _null, _null, _null);
|
||||
t2 = new A.IconText(t2, t1 ? B.IconData_58910_MaterialIcons_null_false : B.IconData_57689_MaterialIcons_null_false, _null, _null, false, _null);
|
||||
t1 = t2;
|
||||
} else
|
||||
t1 = new A.IconText(t2.get$ownedByUser(), B.IconData_57411_MaterialIcons_null_false, _null, _null, _null);
|
||||
t1 = new A.IconText(t2.get$ownedByUser(), B.IconData_57411_MaterialIcons_null_false, _null, _null, false, _null);
|
||||
else
|
||||
t1 = new A._NotificationSelector(value, new A.NotificationSettings_build__closure(_this.$this, t1, eventType), _this.hasMultipleUsers, false, _null);
|
||||
return A.DataRow$(A._setArrayType([t3, A.DataCell$(t1, _null)], type$.JSArray_legacy_DataCell));
|
||||
@ -400323,15 +400324,15 @@
|
||||
t3 = t2 ? t1.get$allRecords() : t1.get$enabled(t1),
|
||||
t4 = t2 ? B.IconData_58910_MaterialIcons_null_false : B.IconData_57689_MaterialIcons_null_false,
|
||||
t5 = type$.legacy_String;
|
||||
t4 = A._setArrayType([A.DropdownMenuItem$(new A.IconText(t3, t4, _null, _null, _null), _null, "all", t5)], type$.JSArray_legacy_DropdownMenuItem_legacy_String);
|
||||
t4 = A._setArrayType([A.DropdownMenuItem$(new A.IconText(t3, t4, _null, _null, false, _null), _null, "all", t5)], type$.JSArray_legacy_DropdownMenuItem_legacy_String);
|
||||
if (t2)
|
||||
t4.push(A.DropdownMenuItem$(new A.IconText(t1.get$ownedByUser(), B.IconData_57411_MaterialIcons_null_false, _null, _null, _null), _null, "user", t5));
|
||||
t4.push(A.DropdownMenuItem$(new A.IconText(t1.get$ownedByUser(), B.IconData_57411_MaterialIcons_null_false, _null, _null, false, _null), _null, "user", t5));
|
||||
t3 = _this.showNoneAsCustom;
|
||||
if (t3)
|
||||
t1 = t1.get$custom();
|
||||
else
|
||||
t1 = t2 ? t1.get$none() : t1.get$disabled(t1);
|
||||
t4.push(A.DropdownMenuItem$(new A.IconText(t1, t3 ? B.IconData_57497_MaterialIcons_null_false : B.IconData_57835_MaterialIcons_null_false, _null, _null, _null), _null, "none", t5));
|
||||
t4.push(A.DropdownMenuItem$(new A.IconText(t1, t3 ? B.IconData_57497_MaterialIcons_null_false : B.IconData_57835_MaterialIcons_null_false, _null, _null, false, _null), _null, "none", t5));
|
||||
return A.AppDropdownButton$(_null, "", true, t4, _null, _null, new A._NotificationSelector_build_closure(_this), _null, false, _this.value, t5);
|
||||
},
|
||||
get$value(receiver) {
|
||||
@ -401001,7 +401002,11 @@
|
||||
t3 = t2 == null ? _null : t2.color;
|
||||
t3 = A.Icon$(_this.icon, t3, _null);
|
||||
t4 = _this.text;
|
||||
return A.Row$(A._setArrayType([t3, new A.SizedBox(10, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, A.Text$(t4 == null ? "" : t4, _null, _null, B.TextOverflow_2, _null, _null, t2, _null, _null, _null), _null)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, t1, B.MainAxisSize_0, _null);
|
||||
if (_this.copyToClipboard)
|
||||
t2 = new A.CopyToClipboard(A.Text$(t4 == null ? "" : t4, _null, _null, B.TextOverflow_2, _null, _null, t2, _null, _null, _null), t4, false, _null, _null, _null);
|
||||
else
|
||||
t2 = A.Text$(t4 == null ? "" : t4, _null, _null, B.TextOverflow_2, _null, _null, t2, _null, _null, _null);
|
||||
return A.Row$(A._setArrayType([t3, new A.SizedBox(10, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, t2, _null)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, t1, B.MainAxisSize_0, _null);
|
||||
}
|
||||
};
|
||||
A.InvoiceEmailView.prototype = {
|
||||
@ -403284,7 +403289,7 @@
|
||||
if (t11 == null)
|
||||
t11 = "";
|
||||
t12 = A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
|
||||
t8.push(A.Material$(B.Duration_200000, true, _null, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, _null, new A._MenuDrawerState_build_closure7(store, company), false, _null, _null, A.Text$(t3.get$companyDisabledWarning(), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Color_4293880832, new A.Padding(B.EdgeInsets_0_0_0_6, new A.IconText(t11, B.IconData_59083_MaterialIcons_null_false, t12, _null, _null), _null), _null, _null), B.Clip_0, _null, 0, _null, _null, _null, _null, _null, B.MaterialType_0));
|
||||
t8.push(A.Material$(B.Duration_200000, true, _null, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, _null, new A._MenuDrawerState_build_closure7(store, company), false, _null, _null, A.Text$(t3.get$companyDisabledWarning(), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Color_4293880832, new A.Padding(B.EdgeInsets_0_0_0_6, new A.IconText(t11, B.IconData_59083_MaterialIcons_null_false, t12, _null, false, _null), _null), _null, _null), B.Clip_0, _null, 0, _null, _null, _null, _null, _null, B.MaterialType_0));
|
||||
}
|
||||
}
|
||||
if (t9[t10].userCompany.isOwner)
|
||||
@ -406497,7 +406502,7 @@
|
||||
call$1(action) {
|
||||
var _null = null,
|
||||
t1 = A.getEntityActionIcon(action);
|
||||
return A.OutlinedButton$(new A.IconText(this.localization.lookup$1(A.S(action)), t1, _null, _null, _null), _null, new A._EntityListState_build__closure10(this.$this, this.entities, action), _null);
|
||||
return A.OutlinedButton$(new A.IconText(this.localization.lookup$1(A.S(action)), t1, _null, _null, false, _null), _null, new A._EntityListState_build__closure10(this.$this, this.entities, action), _null);
|
||||
},
|
||||
$signature: 397
|
||||
};
|
||||
@ -411304,10 +411309,10 @@
|
||||
t5.push(new A.SizedBox(_null, 4, _null, _null));
|
||||
t7 = t6.phone;
|
||||
if (t7.length !== 0)
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t7, B.IconData_58530_MaterialIcons_null_false, _null, _null, _null), t7, false, _null, _null, _null), _null));
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t7, B.IconData_58530_MaterialIcons_null_false, _null, _null, false, _null), t7, false, _null, _null, _null), _null));
|
||||
t7 = t6.website;
|
||||
if (t7.length !== 0)
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(A.trimUrl(t7), B._MdiIconData_jVE0, _null, _null, _null), t7, false, _null, _null, _null), _null));
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(A.trimUrl(t7), B._MdiIconData_jVE0, _null, _null, false, _null), t7, false, _null, _null, _null), _null));
|
||||
t5.push(new A.SizedBox(_null, 4, _null, _null));
|
||||
t7 = t6.settings;
|
||||
t8 = t7.currencyId;
|
||||
@ -411344,7 +411349,7 @@
|
||||
B.JSArray_methods.addAll$1(t7, A._setArrayType([A.Row$(A._setArrayType([A.Expanded$(new A.CopyToClipboard(A.Row$(A._setArrayType([new A.Flexible(1, B.FlexFit_1, A.Text$(t8, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null)], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), t8, false, _null, _null, _null), 1), new A.SizedBox(8, _null, _null, _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_58312_MaterialIcons_null_false, _null, _null), _null, new A._ClientViewFullwidthState_build__closure0(t8), B.EdgeInsets_8_8_8_8, _null, _null, _null)], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.SizedBox(_null, 8, _null, _null)], t4));
|
||||
t8 = t6.publicNotes;
|
||||
if (t8.length !== 0)
|
||||
t7.push(A.Text$(t8, _null, _null, _null, _null, _null, _null, _null, _null, _null));
|
||||
t7.push(new A.CopyToClipboard(_null, t8, false, _null, _null, _null));
|
||||
t5 = A.Expanded$(A.FormCard$(A.ListView$(t7, t5, _null, B.Axis_1, false), _null, new A.BoxConstraints(0, 1 / 0, minHeight, 1 / 0), B.CrossAxisAlignment_0, false, _null, true, B.EdgeInsets_6_12_6_12), 1);
|
||||
t7 = _this.showStanding;
|
||||
t8 = !t7 ? 1 : 2;
|
||||
@ -411364,7 +411369,7 @@
|
||||
t7 = A._setArrayType([A.EntityHeader$(t6, t2, t3.get$balanceDue(), A.formatNumber(t6.balance, context, t5, _null, B.FormatNumberType_0, true, _null, false), _null, _null, t7)], t4);
|
||||
t2 = t6.privateNotes;
|
||||
if (t2.length !== 0)
|
||||
t7.push(new A.IconText(t2, B.IconData_58286_MaterialIcons_null_false, _null, _null, _null));
|
||||
t7.push(new A.IconText(t2, B.IconData_58286_MaterialIcons_null_false, _null, _null, true, _null));
|
||||
t2 = _this.viewModel;
|
||||
t3 = t2.client.id;
|
||||
t5 = type$.ValueKey_legacy_String;
|
||||
@ -411392,10 +411397,10 @@
|
||||
t1 = A._setArrayType([A.Text$(contact.get$fullName(), _null, _null, _null, _null, _null, A.Theme_of(this.context).textTheme.titleMedium, _null, _null, _null)], type$.JSArray_legacy_Widget),
|
||||
t2 = contact.email;
|
||||
if (t2.length !== 0)
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_57898_MaterialIcons_null_false, _null, _null, _null), t2, false, _null, _null, _null), _null));
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_57898_MaterialIcons_null_false, _null, _null, false, _null), t2, false, _null, _null, _null), _null));
|
||||
t2 = contact.phone;
|
||||
if (t2.length !== 0)
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_58530_MaterialIcons_null_false, _null, _null, _null), t2, false, _null, _null, _null), _null));
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_58530_MaterialIcons_null_false, _null, _null, false, _null), t2, false, _null, _null, _null), _null));
|
||||
t1.push(new A.SizedBox(_null, 8, _null, _null));
|
||||
t2 = contact.link;
|
||||
t1.push(new A.PortalLinks(t2 + "?silent=true", t2, this.client, true, _null));
|
||||
@ -412373,7 +412378,7 @@
|
||||
t4 = t4.toUpperCase();
|
||||
t4 = A._setArrayType([new A.AppButton(_null, _null, t4, state.isSaving ? _null : new A._CompanyGatewayEditState_build_closure1(viewModel, context, companyGateway), _null, _null)], t18);
|
||||
if (t2 === _s32_)
|
||||
t4.push(new A.Padding(B.EdgeInsets_0_20_0_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t1.get$learnMore().toUpperCase(), B._MdiIconData_ujl, _null, _null, _null), _null), _null, new A._CompanyGatewayEditState_build_closure2(), _null), _null));
|
||||
t4.push(new A.Padding(B.EdgeInsets_0_20_0_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t1.get$learnMore().toUpperCase(), B._MdiIconData_ujl, _null, _null, false, _null), _null), _null, new A._CompanyGatewayEditState_build_closure2(), _null), _null));
|
||||
B.JSArray_methods.addAll$1(t3, t4);
|
||||
} else
|
||||
t3.push(new A.GatewayConfigSettings(companyGateway, viewModel, A._setArrayType(["account_id"], t6), new A.ValueKey("__connect_" + t2 + "__", type$.ValueKey_legacy_String)));
|
||||
@ -412713,7 +412718,7 @@
|
||||
return new A.SizedBox(_null, _null, _null, _null);
|
||||
t2 = A._setArrayType([], type$.JSArray_legacy_Widget);
|
||||
if (gateway.siteUrl.length !== 0)
|
||||
t2.push(new A.Padding(B.EdgeInsets_0_16_0_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_0_8_0_8, new A.IconText(t1.get$learnMore().toUpperCase(), B._MdiIconData_ujl, _null, _null, _null), _null), _null, new A.GatewayConfigSettings_build_closure(gateway), _null), _null));
|
||||
t2.push(new A.Padding(B.EdgeInsets_0_16_0_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_0_8_0_8, new A.IconText(t1.get$learnMore().toUpperCase(), B._MdiIconData_ujl, _null, _null, false, _null), _null), _null, new A.GatewayConfigSettings_build_closure(gateway), _null), _null));
|
||||
B.JSArray_methods.addAll$1(t2, J.map$1$1$ax(J.get$keys$x(gateway.get$parsedFields()), new A.GatewayConfigSettings_build_closure0(this, gateway), type$.legacy_GatewayConfigField).toList$0(0));
|
||||
return A.Column$(t2, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1);
|
||||
},
|
||||
@ -417705,7 +417710,7 @@
|
||||
t9 = t8.draftMode;
|
||||
t8 = t8.isLoading ? _null : t8.onDraftModeChanged;
|
||||
B.JSArray_methods.addAll$1(t4, A._setArrayType([new A.SizedBox(_null, 16, _null, _null), A.SwitchListTile$(t2.secondary, _null, t8, _null, t3, t7, t9)], t5));
|
||||
t1 = A._setArrayType([A.FormCard$(_null, t4, _null, _null, false, _null, false, _null), new A.Padding(B.EdgeInsets_16_16_16_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t1.get$viewDocs().toUpperCase(), B._MdiIconData_ujl, _null, _null, _null), _null), _null, new A._DesignSettingsState_build_closure0(), _null), _null)], t5);
|
||||
t1 = A._setArrayType([A.FormCard$(_null, t4, _null, _null, false, _null, false, _null), new A.Padding(B.EdgeInsets_16_16_16_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t1.get$viewDocs().toUpperCase(), B._MdiIconData_ujl, _null, _null, false, _null), _null), _null, new A._DesignSettingsState_build_closure0(), _null), _null)], t5);
|
||||
if (_this._widget.draftMode) {
|
||||
t2 = $.$get$LocalizationsProvider__localizedValues();
|
||||
t6 = J.$index$asx(t2.$index(0, t6), _s20_);
|
||||
@ -425985,7 +425990,7 @@
|
||||
};
|
||||
A._InvoiceEditItemsDesktopState_build__closure.prototype = {
|
||||
call$1(option) {
|
||||
return A.PopupMenuItem$(new A.IconText(option, this.options.$index(0, option), null, null, null), option, type$.legacy_String);
|
||||
return A.PopupMenuItem$(new A.IconText(option, this.options.$index(0, option), null, null, false, null), option, type$.legacy_String);
|
||||
},
|
||||
$signature: 702
|
||||
};
|
||||
@ -441203,7 +441208,7 @@
|
||||
if (t7 == null)
|
||||
t7 = J.$index$asx(t5.$index(0, _s2_), _s11_);
|
||||
}
|
||||
t8.push(new A.Padding(B.EdgeInsets_16_16_16_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t7.toUpperCase(), B._MdiIconData_ujl, _null, _null, _null), _null), _null, new A._AccountOverview_build_closure0(state), _null), _null));
|
||||
t8.push(new A.Padding(B.EdgeInsets_16_16_16_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t7.toUpperCase(), B._MdiIconData_ujl, _null, _null, false, _null), _null), _null, new A._AccountOverview_build_closure0(state), _null), _null));
|
||||
}
|
||||
t7 = company.isDisabled;
|
||||
t10 = J.$index$asx(t5.$index(0, t6), "activate_company");
|
||||
@ -441880,7 +441885,7 @@
|
||||
t13 = true;
|
||||
if (t13)
|
||||
if (t14 && state.get$isHosted())
|
||||
t15.push(A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t1.get$viewDocs().toUpperCase(), B._MdiIconData_ujl, _null, _null, _null), _null), _null, new A._ClientPortalState_build_closure3(), _null));
|
||||
t15.push(A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t1.get$viewDocs().toUpperCase(), B._MdiIconData_ujl, _null, _null, false, _null), _null), _null, new A._ClientPortalState_build_closure3(), _null));
|
||||
else
|
||||
t15.push(new A.SizedBox(_null, _null, _null, _null));
|
||||
else
|
||||
@ -461644,10 +461649,10 @@
|
||||
t5.push(new A.SizedBox(_null, 4, _null, _null));
|
||||
t7 = t6.phone;
|
||||
if (t7.length !== 0)
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t7, B.IconData_58530_MaterialIcons_null_false, _null, _null, _null), t7, false, _null, _null, _null), _null));
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t7, B.IconData_58530_MaterialIcons_null_false, _null, _null, false, _null), t7, false, _null, _null, _null), _null));
|
||||
t7 = t6.website;
|
||||
if (t7.length !== 0)
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(A.trimUrl(t7), B._MdiIconData_jVE0, _null, _null, _null), t7, false, _null, _null, _null), _null));
|
||||
t5.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(A.trimUrl(t7), B._MdiIconData_jVE0, _null, _null, false, _null), t7, false, _null, _null, _null), _null));
|
||||
t5.push(new A.SizedBox(_null, 4, _null, _null));
|
||||
t7 = t6.currencyId;
|
||||
t8 = _this.state;
|
||||
@ -461671,7 +461676,7 @@
|
||||
}
|
||||
t8 = t6.publicNotes;
|
||||
if (t8.length !== 0)
|
||||
t11.push(A.Text$(t8, _null, _null, _null, _null, _null, _null, _null, _null, _null));
|
||||
t11.push(new A.CopyToClipboard(_null, t8, false, _null, _null, _null));
|
||||
t5 = A.Expanded$(A.FormCard$(A.ListView$(t11, t5, _null, B.Axis_1, false), _null, new A.BoxConstraints(0, 1 / 0, minHeight, 1 / 0), B.CrossAxisAlignment_0, false, _null, true, B.EdgeInsets_6_12_6_12), 1);
|
||||
t8 = _this.showStanding;
|
||||
t11 = !t8 ? 1 : 2;
|
||||
@ -461692,7 +461697,7 @@
|
||||
t2 = A._setArrayType([A.EntityHeader$(t6, t3, _null, _null, _null, _null, A.formatNumber(t9, context, _null, t7, B.FormatNumberType_0, true, _null, false))], t4);
|
||||
t3 = t6.privateNotes;
|
||||
if (t3.length !== 0)
|
||||
t2.push(new A.IconText(t3, B.IconData_58286_MaterialIcons_null_false, _null, _null, _null));
|
||||
t2.push(new A.IconText(t3, B.IconData_58286_MaterialIcons_null_false, _null, _null, true, _null));
|
||||
t3 = _this.viewModel;
|
||||
t11.push(A.Expanded$(A.FormCard$(A.DefaultTabController$(new A.SizedBox(_null, minHeight, A.Column$(A._setArrayType([new A.AppTabBar(t1, _null, true, _null, _null), new A.Flexible(1, B.FlexFit_1, A.TabBarView$(A._setArrayType([A.ListView$(t2, _null, _null, B.Axis_1, false), A.RefreshIndicator$(new A.VendorViewDocuments(t3, new A.ValueKey(t3.vendor.id, type$.ValueKey_legacy_String)), new A._VendorViewFullwidthState_build__closure1(t3, context))], t4), _null, _null), _null)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null), 2), _null, new A.BoxConstraints(0, 1 / 0, minHeight, 600), B.CrossAxisAlignment_0, false, _null, true, B.EdgeInsets_6_12_12_12), 2));
|
||||
}
|
||||
@ -461712,10 +461717,10 @@
|
||||
t1 = A._setArrayType([A.Text$(contact.get$fullName(), _null, _null, _null, _null, _null, A.Theme_of(this.context).textTheme.titleMedium, _null, _null, _null)], type$.JSArray_legacy_Widget),
|
||||
t2 = contact.email;
|
||||
if (t2.length !== 0)
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_57898_MaterialIcons_null_false, _null, _null, _null), t2, false, _null, _null, _null), _null));
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_57898_MaterialIcons_null_false, _null, _null, false, _null), t2, false, _null, _null, _null), _null));
|
||||
t2 = contact.phone;
|
||||
if (t2.length !== 0)
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_58530_MaterialIcons_null_false, _null, _null, _null), t2, false, _null, _null, _null), _null));
|
||||
t1.push(new A.Padding(B.EdgeInsets_0_4_0_4, new A.CopyToClipboard(new A.IconText(t2, B.IconData_58530_MaterialIcons_null_false, _null, _null, false, _null), t2, false, _null, _null, _null), _null));
|
||||
t1.push(new A.SizedBox(_null, 16, _null, _null));
|
||||
return A.Column$(t1, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user