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
adc376e3ec
commit
67eec5c6cf
43
public/main.profile.dart.js
vendored
43
public/main.profile.dart.js
vendored
@ -29864,11 +29864,11 @@
|
||||
var _null = null;
|
||||
return new A.DropdownButton(items, value, hint, _null, onChanged, _null, selectedItemBuilder, 8, style, icon, _null, _null, iconSize, isDense, isExpanded, 48, _null, _null, false, dropdownColor, _null, _null, B.AlignmentDirectional_m1_0, _null, _null, false, false, _null, $T._eval$1("DropdownButton<0>"));
|
||||
},
|
||||
DropdownButtonFormField$(decoration, isDense, isExpanded, items, onChanged, selectedItemBuilder, validator, value, $T) {
|
||||
DropdownButtonFormField$(decoration, iconEnabledColor, isDense, isExpanded, items, onChanged, selectedItemBuilder, validator, value, $T) {
|
||||
var _null = null;
|
||||
if (decoration == null)
|
||||
A.InputDecoration$(_null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
||||
return new A.DropdownButtonFormField(onChanged, _null, validator, new A.DropdownButtonFormField_closure($T, decoration, _null, items, onChanged, _null, _null, selectedItemBuilder, _null, 8, _null, _null, _null, _null, 24, true, isExpanded, _null, _null, false, _null, _null, _null, B.AlignmentDirectional_m1_0, _null), value, true, B.AutovalidateMode_0, _null, _null, $T._eval$1("DropdownButtonFormField<0>"));
|
||||
return new A.DropdownButtonFormField(onChanged, _null, validator, new A.DropdownButtonFormField_closure($T, decoration, _null, items, onChanged, _null, _null, selectedItemBuilder, _null, 8, _null, _null, _null, iconEnabledColor, 24, true, isExpanded, _null, _null, false, _null, _null, _null, B.AlignmentDirectional_m1_0, _null), value, true, B.AutovalidateMode_0, _null, _null, $T._eval$1("DropdownButtonFormField<0>"));
|
||||
},
|
||||
_DropdownMenuPainter: function _DropdownMenuPainter(t0, t1, t2, t3, t4, t5, t6, t7) {
|
||||
var _ = this;
|
||||
@ -91296,7 +91296,9 @@
|
||||
UpdateTransaction: function UpdateTransaction(t0) {
|
||||
this.transaction = t0;
|
||||
},
|
||||
LoadTransactions: function LoadTransactions() {
|
||||
LoadTransactions: function LoadTransactions(t0, t1) {
|
||||
this.completer = t0;
|
||||
this.page = t1;
|
||||
},
|
||||
LoadTransactionRequest: function LoadTransactionRequest() {
|
||||
},
|
||||
@ -220023,7 +220025,9 @@
|
||||
var t1, _this = this,
|
||||
_s80_ = string$.x60null_c;
|
||||
if (_this.get$_enabled()) {
|
||||
_this._widget.toString;
|
||||
t1 = _this._widget.iconEnabledColor;
|
||||
if (t1 != null)
|
||||
return t1;
|
||||
t1 = _this._framework$_element;
|
||||
t1.toString;
|
||||
switch (A.Theme_of(t1).colorScheme.brightness.index) {
|
||||
@ -386226,14 +386230,14 @@
|
||||
});
|
||||
return A._asyncStartSync($async$loadItem$2, $async$completer);
|
||||
},
|
||||
loadList$1(credentials) {
|
||||
return this.loadList$body$TransactionRepository(credentials);
|
||||
loadList$3(credentials, page, createdAt) {
|
||||
return this.loadList$body$TransactionRepository(credentials, page, createdAt);
|
||||
},
|
||||
loadList$body$TransactionRepository(credentials) {
|
||||
loadList$body$TransactionRepository(credentials, page, createdAt) {
|
||||
var $async$goto = 0,
|
||||
$async$completer = A._makeAsyncAwaitCompleter(type$.legacy_BuiltList_legacy_TransactionEntity),
|
||||
$async$returnValue, response;
|
||||
var $async$loadList$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
var $async$loadList$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
if ($async$errorCode === 1)
|
||||
return A._asyncRethrow($async$result, $async$completer);
|
||||
while (true)
|
||||
@ -386241,7 +386245,7 @@
|
||||
case 0:
|
||||
// Function start
|
||||
$async$goto = 3;
|
||||
return A._asyncAwait(B.C_WebClient.$get$2(0, credentials.url + "/bank_transactions?", credentials.token), $async$loadList$1);
|
||||
return A._asyncAwait(B.C_WebClient.$get$2(0, credentials.url + ("/bank_transactions?per_page=5000&page=" + page + "&created_at=" + createdAt), credentials.token), $async$loadList$3);
|
||||
case 3:
|
||||
// returning from await.
|
||||
response = $async$result;
|
||||
@ -386254,7 +386258,7 @@
|
||||
return A._asyncReturn($async$returnValue, $async$completer);
|
||||
}
|
||||
});
|
||||
return A._asyncStartSync($async$loadList$1, $async$completer);
|
||||
return A._asyncStartSync($async$loadList$3, $async$completer);
|
||||
},
|
||||
bulkAction$3(credentials, ids, action) {
|
||||
return this.bulkAction$body$TransactionRepository(credentials, ids, action);
|
||||
@ -424364,7 +424368,7 @@
|
||||
t1 === $ && A.throwUnnamedLateFieldNI();
|
||||
t1[0].call$1(new A.LoadRecurringExpensesSuccess(data));
|
||||
this.action.toString;
|
||||
t1[0].call$1(new A.LoadTransactions());
|
||||
t1[0].call$1(new A.LoadTransactions(null, 1));
|
||||
},
|
||||
$signature: 713
|
||||
};
|
||||
@ -439932,7 +439936,7 @@
|
||||
t2 = store.__Store__dispatchers_F;
|
||||
t2 === $ && A.throwUnnamedLateFieldNI();
|
||||
t2[0].call$1(new A.LoadTransactionsRequest());
|
||||
this.repository.loadList$1(t1.get$credentials(t1)).then$1$1(0, new A._loadTransactions__closure(store, dynamicAction), type$.Null).catchError$1(new A._loadTransactions__closure0(store, dynamicAction));
|
||||
this.repository.loadList$3(t1.get$credentials(t1), dynamicAction.page, t1.get$createdAtLimit()).then$1$1(0, new A._loadTransactions__closure(store, dynamicAction), type$.Null).catchError$1(new A._loadTransactions__closure0(store, dynamicAction));
|
||||
next.call$1(dynamicAction);
|
||||
},
|
||||
"call*": "call$3",
|
||||
@ -439941,11 +439945,15 @@
|
||||
};
|
||||
A._loadTransactions__closure.prototype = {
|
||||
call$1(data) {
|
||||
var t1 = this.store.__Store__dispatchers_F;
|
||||
var t2,
|
||||
t1 = this.store.__Store__dispatchers_F;
|
||||
t1 === $ && A.throwUnnamedLateFieldNI();
|
||||
t1[0].call$1(new A.LoadTransactionsSuccess(data));
|
||||
this.action.toString;
|
||||
t1[0].call$1(new A.PersistData());
|
||||
if (data._list.length === 5000) {
|
||||
t2 = this.action;
|
||||
t1[0].call$1(new A.LoadTransactions(t2.completer, t2.page + 1));
|
||||
} else
|
||||
t1[0].call$1(new A.PersistData());
|
||||
},
|
||||
$signature: 594
|
||||
};
|
||||
@ -439956,7 +439964,6 @@
|
||||
t1 = this.store.__Store__dispatchers_F;
|
||||
t1 === $ && A.throwUnnamedLateFieldNI();
|
||||
t1[0].call$1(new A.LoadTransactionsFailure(error));
|
||||
this.action.toString;
|
||||
},
|
||||
$signature: 3
|
||||
};
|
||||
@ -461699,7 +461706,7 @@
|
||||
t5 = t1._widget.options;
|
||||
t5.toString;
|
||||
t6 = A._arrayInstanceType(t5)._eval$1("MappedListIterable<1,DropdownMenuItem<@>*>");
|
||||
return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_3, A._setArrayType([t2, new A.Align(B.Alignment_m1_0, _null, _null, A.DropdownButtonFormField$(t4, true, false, A.List_List$of(new A.MappedListIterable(t5, new A._DropDownMultiSelectState_build__closure0(t1), t6), true, t6._eval$1("ListIterable.E")), new A._DropDownMultiSelectState_build__closure1(), new A._DropDownMultiSelectState_build__closure2(t1), _null, t3, type$.dynamic), _null)], type$.JSArray_legacy_Widget), _null);
|
||||
return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_3, A._setArrayType([t2, new A.Align(B.Alignment_m1_0, _null, _null, A.DropdownButtonFormField$(t4, B.Color_4294967295, true, false, A.List_List$of(new A.MappedListIterable(t5, new A._DropDownMultiSelectState_build__closure0(t1), t6), true, t6._eval$1("ListIterable.E")), new A._DropDownMultiSelectState_build__closure1(), new A._DropDownMultiSelectState_build__closure2(t1), _null, t3, type$.dynamic), _null)], type$.JSArray_legacy_Widget), _null);
|
||||
},
|
||||
$signature: 2486
|
||||
};
|
||||
@ -510546,7 +510553,7 @@
|
||||
t6 = A._setArrayType([A.DropdownMenuItem$(new A.SizedBox(_null, _null, _null, _null), _null, "", t5)], type$.JSArray_legacy_DropdownMenuItem_legacy_String);
|
||||
t7 = J.map$1$1$ax(sorted._copy_on_write_list$_list, new A._FieldMapper_build_closure0(t1), type$.legacy_DropdownMenuItem_legacy_String);
|
||||
B.JSArray_methods.addAll$1(t6, A.List_List$of(t7, true, t7.$ti._eval$1("ListIterable.E")));
|
||||
return A.Row$(A._setArrayType([t2, t4, A.Expanded$(A.DropdownButtonFormField$(_null, true, true, t6, _this.onMappedToChanged, _null, new A._FieldMapper_build_closure1(_this, t1), t3, t5), 1)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null);
|
||||
return A.Row$(A._setArrayType([t2, t4, A.Expanded$(A.DropdownButtonFormField$(_null, _null, true, true, t6, _this.onMappedToChanged, _null, new A._FieldMapper_build_closure1(_this, t1), t3, t5), 1)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null);
|
||||
}
|
||||
};
|
||||
A._FieldMapper_build_closure.prototype = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user