Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-11-06 06:01:22 +00:00
parent f8a5eb869b
commit 4b98c6193b

View File

@ -58195,8 +58195,6 @@
},
_$ImportRequest$_(bankAccountId, columnMap, hash, importType, skipHeader) {
var _s13_ = "ImportRequest";
if (bankAccountId == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "bankAccountId"));
if (skipHeader == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "skipHeader"));
if (columnMap == null)
@ -328194,12 +328192,12 @@
return false;
if (other === _this)
return true;
return other instanceof A.ImportRequest && _this.hash === other.hash && _this.importType === other.importType && _this.bankAccountId == other.bankAccountId && _this.skipHeader == other.skipHeader && J.$eq$(_this.columnMap, other.columnMap);
return other instanceof A.ImportRequest && _this.hash === other.hash && _this.importType === other.importType && _this.bankAccountId === other.bankAccountId && _this.skipHeader == other.skipHeader && J.$eq$(_this.columnMap, other.columnMap);
},
get$hashCode(_) {
var _this = this,
t1 = _this._import_model$__hashCode;
return t1 == null ? _this._import_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.hash)), B.JSString_methods.get$hashCode(_this.importType)), J.get$hashCode$(_this.bankAccountId)), J.get$hashCode$(_this.skipHeader)), J.get$hashCode$(_this.columnMap))) : t1;
return t1 == null ? _this._import_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.hash)), B.JSString_methods.get$hashCode(_this.importType)), B.JSString_methods.get$hashCode(_this.bankAccountId)), J.get$hashCode$(_this.skipHeader)), J.get$hashCode$(_this.columnMap))) : t1;
},
toString$0(_) {
var _this = this,
@ -472375,7 +472373,8 @@
t6 = t1._useFirstRowAsHeaders;
t4 = A.BuiltMap_BuiltMap(convertedMapping, t3, t4);
t3 = t1._widget.importType.name;
importRequest = A._$ImportRequest$_(t1._import_export$_bankAccountId, t4, t5, t3, t6);
t7 = t1._import_export$_bankAccountId;
importRequest = A._$ImportRequest$_(t7 == null ? "" : t7, t4, t5, t3, t6);
new A.WebClient().post$3$data(credentials.url + "/import", credentials.token, B.C_JsonCodec.encode$1($.$get$serializers().serializeWith$2($.$get$_$importRequestSerializer(), importRequest))).then$1$1(0, new A.__FileMapperState_build__closure0(t1, this.localization), type$.Null).catchError$1(new A.__FileMapperState_build__closure1(t1, t2));
},
$signature: 1