mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
848 lines
47 KiB
JavaScript
848 lines
47 KiB
JavaScript
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.4.3.
|
|
((s, d, e) => {
|
|
s[d] = s[d] || {};
|
|
s[d][e] = s[d][e] || [];
|
|
s[d][e].push({p: "main.dart.js_1", e: "beginPart"});
|
|
})(self, "$__dart_deferred_initializers__", "eventLog");
|
|
$__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersList, $) {
|
|
var J, A, C,
|
|
B = {_AutofillScopeTextInputConfiguration: function _AutofillScopeTextInputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
|
|
var _ = this;
|
|
_.allConfigurations = t0;
|
|
_.viewId = t1;
|
|
_.inputType = t2;
|
|
_.readOnly = t3;
|
|
_.obscureText = t4;
|
|
_.autocorrect = t5;
|
|
_.autofillConfiguration = t6;
|
|
_.smartDashesType = t7;
|
|
_.smartQuotesType = t8;
|
|
_.enableSuggestions = t9;
|
|
_.enableInteractiveSelection = t10;
|
|
_.actionLabel = t11;
|
|
_.inputAction = t12;
|
|
_.textCapitalization = t13;
|
|
_.keyboardAppearance = t14;
|
|
_.enableIMEPersonalizedLearning = t15;
|
|
_.allowedMimeTypes = t16;
|
|
_.enableDeltaModel = t17;
|
|
}, _AutofillScopeTextInputConfiguration_toJson_closure: function _AutofillScopeTextInputConfiguration_toJson_closure() {
|
|
}, AutofillScopeMixin: function AutofillScopeMixin() {
|
|
}, AutofillScopeMixin_attach_closure: function AutofillScopeMixin_attach_closure() {
|
|
}, AutofillContextAction: function AutofillContextAction(t0, t1) {
|
|
this.index = t0;
|
|
this._core$_name = t1;
|
|
}, AutofillGroup: function AutofillGroup(t0, t1) {
|
|
this.child = t0;
|
|
this.key = t1;
|
|
}, AutofillGroupState: function AutofillGroupState(t0, t1) {
|
|
var _ = this;
|
|
_._clients = t0;
|
|
_._isTopmostAutofillGroup = false;
|
|
_._widget = null;
|
|
_._debugLifecycleState = t1;
|
|
_._framework$_element = null;
|
|
}, AutofillGroupState_autofillClients_closure: function AutofillGroupState_autofillClients_closure() {
|
|
}, AutofillGroupState_register_closure: function AutofillGroupState_register_closure(t0) {
|
|
this.client = t0;
|
|
}, _AutofillScope: function _AutofillScope(t0, t1, t2) {
|
|
this._scope = t0;
|
|
this.child = t1;
|
|
this.key = t2;
|
|
}, _AutofillGroupState_State_AutofillScopeMixin: function _AutofillGroupState_State_AutofillScopeMixin() {
|
|
}, _WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure: function _WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure(t0) {
|
|
this.node = t0;
|
|
}, WidgetOrderTraversalPolicy: function WidgetOrderTraversalPolicy(t0, t1) {
|
|
this.DirectionalFocusTraversalPolicyMixin__policyData = t0;
|
|
this.requestFocusCallback = t1;
|
|
}, _WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin: function _WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin() {
|
|
}, RecentItemTileWidget: function RecentItemTileWidget(t0, t1, t2, t3) {
|
|
var _ = this;
|
|
_.item = t0;
|
|
_._recent_item_tile_widget$_imagePath = t1;
|
|
_.key = t2;
|
|
_.$ti = t3;
|
|
}, BaseLoginView: function BaseLoginView() {
|
|
}, BaseLoginView_buildLoginButton_closure: function BaseLoginView_buildLoginButton_closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
}, BaseLoginView_buildUserNameInput_closure: function BaseLoginView_buildUserNameInput_closure() {
|
|
}, BaseLoginView_buildUserNameInput_closure0: function BaseLoginView_buildUserNameInput_closure0() {
|
|
}, BaseLoginView_buildPasswordInput_closure: function BaseLoginView_buildPasswordInput_closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView$() {
|
|
return new B.LoginView(null);
|
|
},
|
|
LoginView: function LoginView(t0) {
|
|
this.key = t0;
|
|
},
|
|
LoginView__buildMobileForm_closure: function LoginView__buildMobileForm_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginView__buildMobileForm_closure0: function LoginView__buildMobileForm_closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildWebForm_closure: function LoginView__buildWebForm_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginView__buildWebForm_closure0: function LoginView__buildWebForm_closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildLoadingProgress_closure: function LoginView__buildLoadingProgress_closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildLoadingProgress__closure: function LoginView__buildLoadingProgress__closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildLoadingProgress__closure0: function LoginView__buildLoadingProgress__closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
PrivacyLinkWidget: function PrivacyLinkWidget(t0) {
|
|
this.key = t0;
|
|
},
|
|
PrivacyLinkWidget_build_closure: function PrivacyLinkWidget_build_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginInputDecorationBuilder: function LoginInputDecorationBuilder() {
|
|
var _ = this;
|
|
_.fillColor = _.errorTextStyle = _.errorText = _.errorBorder = _.enabledBorder = _.contentPadding = _.hintStyle = _.hintText = _.labelText = _.prefixText = null;
|
|
},
|
|
LoginMessageWidget$(formType, viewState) {
|
|
return new B.LoginMessageWidget(formType, viewState, A.getBinding(null, type$.ToastManager), null);
|
|
},
|
|
LoginMessageWidget: function LoginMessageWidget(t0, t1, t2, t3) {
|
|
var _ = this;
|
|
_.formType = t0;
|
|
_.viewState = t1;
|
|
_._toastManager = t2;
|
|
_.key = t3;
|
|
},
|
|
LoginMessageWidget_build_closure: function LoginMessageWidget_build_closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginMessageWidget_build_closure0: function LoginMessageWidget_build_closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginMessageWidget_build_closure1: function LoginMessageWidget_build_closure1() {
|
|
},
|
|
LoginMessageWidget_build_closure2: function LoginMessageWidget_build_closure2() {
|
|
},
|
|
LoginTextInputBuilder: function LoginTextInputBuilder(t0, t1, t2, t3, t4, t5, t6, t7) {
|
|
var _ = this;
|
|
_.hintText = t0;
|
|
_.textInputAction = t1;
|
|
_.controller = t2;
|
|
_.focusNode = t3;
|
|
_.autofillHints = t4;
|
|
_.onTextChange = t5;
|
|
_.onSubmitted = t6;
|
|
_.key = t7;
|
|
},
|
|
_LoginTextInputBuilderState: function _LoginTextInputBuilderState(t0, t1) {
|
|
var _ = this;
|
|
_.imagePaths = t0;
|
|
_.___LoginTextInputBuilderState__obscureText_A = _.___LoginTextInputBuilderState__controller_A = $;
|
|
_._widget = null;
|
|
_._debugLifecycleState = t1;
|
|
_._framework$_element = null;
|
|
},
|
|
_LoginTextInputBuilderState_build_closure: function _LoginTextInputBuilderState_build_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
_LoginTextInputBuilderState_build__closure: function _LoginTextInputBuilderState_build__closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
TryAgainButton: function TryAgainButton(t0, t1, t2) {
|
|
this.onRetry = t0;
|
|
this.responsiveUtils = t1;
|
|
this.key = t2;
|
|
},
|
|
TextInput_finishAutofillContext(shouldSave) {
|
|
var t1, t2, t3, t4, t5;
|
|
for (t1 = $.$get$TextInput__instance(), t2 = t1._inputControls, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = type$.void, t4 = t2.$ti._precomputed1; t2.moveNext$0();) {
|
|
t5 = t2._collection$_current;
|
|
if (t5 == null)
|
|
t4._as(t5);
|
|
t5 = t1.__TextInput__channel_A;
|
|
t5 === $ && A.throwUnnamedLateFieldNI();
|
|
t5.invokeMethod$1$2("TextInput.finishAutofillContext", shouldSave, t3);
|
|
}
|
|
}
|
|
},
|
|
D, E, G, F;
|
|
J = holdersList[1];
|
|
A = holdersList[0];
|
|
C = holdersList[2];
|
|
B = hunkHelpers.updateHolder(holdersList[3], B);
|
|
D = holdersList[10];
|
|
E = holdersList[9];
|
|
G = holdersList[12];
|
|
F = holdersList[11];
|
|
B._AutofillScopeTextInputConfiguration.prototype = {
|
|
toJson$0() {
|
|
var result = this.super$TextInputConfiguration$toJson(),
|
|
t1 = this.allConfigurations;
|
|
t1 = A.MappedIterable_MappedIterable(t1, new B._AutofillScopeTextInputConfiguration_toJson_closure(), t1.$ti._eval$1("Iterable.E"), type$.Map_String_dynamic);
|
|
result.$indexSet(0, "fields", A.List_List$of(t1, false, A._instanceType(t1)._eval$1("Iterable.E")));
|
|
return result;
|
|
}
|
|
};
|
|
B.AutofillScopeMixin.prototype = {
|
|
attach$2(trigger, configuration) {
|
|
var t1 = this.get$autofillClients(),
|
|
connection = A.TextInputConnection$_(trigger);
|
|
$.$get$TextInput__instance()._attach$2(connection, new B._AutofillScopeTextInputConfiguration(new A.MappedIterable(t1, new B.AutofillScopeMixin_attach_closure(), t1.$ti._eval$1("MappedIterable<1,TextInputConfiguration>")), configuration.viewId, configuration.inputType, false, configuration.obscureText, configuration.autocorrect, configuration.autofillConfiguration, configuration.smartDashesType, configuration.smartQuotesType, true, true, configuration.actionLabel, configuration.inputAction, configuration.textCapitalization, configuration.keyboardAppearance, true, C.List_empty0, false));
|
|
return connection;
|
|
}
|
|
};
|
|
B.AutofillContextAction.prototype = {
|
|
_enumToString$0() {
|
|
return "AutofillContextAction." + this._core$_name;
|
|
}
|
|
};
|
|
B.AutofillGroup.prototype = {
|
|
createState$0() {
|
|
return new B.AutofillGroupState(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AutofillClient), C._StateLifecycle_0);
|
|
}
|
|
};
|
|
B.AutofillGroupState.prototype = {
|
|
getAutofillClient$1(autofillId) {
|
|
return this._clients.$index(0, autofillId);
|
|
},
|
|
get$autofillClients() {
|
|
var t1 = this._clients.get$values(0);
|
|
return new A.WhereIterable(t1, new B.AutofillGroupState_autofillClients_closure(), A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>"));
|
|
},
|
|
register$1(_, client) {
|
|
this._clients.putIfAbsent$2(0, client.get$autofillId(), new B.AutofillGroupState_register_closure(client));
|
|
},
|
|
unregister$1(_, autofillId) {
|
|
this._clients.remove$1(0, autofillId);
|
|
},
|
|
didChangeDependencies$0() {
|
|
this.super$State$didChangeDependencies();
|
|
var t1 = this._framework$_element;
|
|
t1.toString;
|
|
this._isTopmostAutofillGroup = A.AutofillGroup_maybeOf(t1) == null;
|
|
},
|
|
build$1(context) {
|
|
return new B._AutofillScope(this, this._widget.child, null);
|
|
},
|
|
dispose$0() {
|
|
this.super$State$dispose();
|
|
if (!this._isTopmostAutofillGroup)
|
|
return;
|
|
this._widget.toString;
|
|
switch (0) {
|
|
case 0:
|
|
B.TextInput_finishAutofillContext(true);
|
|
break;
|
|
}
|
|
}
|
|
};
|
|
B._AutofillScope.prototype = {
|
|
updateShouldNotify$1(old) {
|
|
return this._scope !== old._scope;
|
|
}
|
|
};
|
|
B._AutofillGroupState_State_AutofillScopeMixin.prototype = {};
|
|
B.WidgetOrderTraversalPolicy.prototype = {
|
|
sortDescendants$2(descendants, currentNode) {
|
|
return descendants;
|
|
}
|
|
};
|
|
B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin.prototype = {
|
|
invalidateScopeData$1(node) {
|
|
this.super$FocusTraversalPolicy$invalidateScopeData(node);
|
|
this.DirectionalFocusTraversalPolicyMixin__policyData.remove$1(0, node);
|
|
},
|
|
changedScope$2$node$oldScope(node, oldScope) {
|
|
var t1;
|
|
this.super$FocusTraversalPolicy$changedScope(node, oldScope);
|
|
t1 = this.DirectionalFocusTraversalPolicyMixin__policyData.$index(0, oldScope);
|
|
if (t1 != null) {
|
|
t1 = t1.history;
|
|
if (!!t1.fixed$length)
|
|
A.throwExpression(A.UnsupportedError$("removeWhere"));
|
|
C.JSArray_methods._removeWhere$2(t1, new B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure(node), true);
|
|
}
|
|
}
|
|
};
|
|
B.RecentItemTileWidget.prototype = {
|
|
build$1(context) {
|
|
var _null = null;
|
|
return new A.Padding(C.EdgeInsets_12_12_12_12, A.Row$(A._setArrayType([A.SvgPicture$asset("assets/images/ic_clock_sb.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null), C.SizedBox_8_null_null_null, A.Expanded$(A.Text$(this._getTitle$1(this.item), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t1, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
|
|
},
|
|
_getTitle$1(item) {
|
|
return item.username;
|
|
}
|
|
};
|
|
B.BaseLoginView.prototype = {
|
|
buildLoginButton$1(context) {
|
|
var t2, _this = this, _null = null,
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).toString;
|
|
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data;
|
|
t2 = A.ElevatedButton_styleFrom(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, C.Color_4294967295, _null, _null, _null, _null, new A.RoundedRectangleBorder(A.BorderRadius$circular(10), C.BorderSide_UKi0), _null, _null, _null, _null);
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Container$(_null, A.ElevatedButton$(false, A.Text$(A.Intl__message("Sign In", _null, "signIn", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_6nc1, _null, _null, _null, _null, _null), _null, _null, C.IconAlignment_0, D.ValueKey_loginSubmitForm, _null, _null, _null, new B.BaseLoginView_buildLoginButton_closure(_this, context), _null, t2), C.Clip_0, _null, _null, _null, _null, 48, _null, D.EdgeInsetsDirectional_24_0_24_16, _null, _null, _null, t1.size._dx);
|
|
},
|
|
buildInputCredentialForm$1(context) {
|
|
return new B.AutofillGroup(new A.Padding(C.EdgeInsetsDirectional_24_0_24_0, A.FocusTraversalGroup$(A.Column$(A._setArrayType([this.buildUserNameInput$1(context), C.SizedBox_null_24_null_null, this.buildPasswordInput$1(context), D.SizedBox_null_40_null_null], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), new B.WidgetOrderTraversalPolicy(A.LinkedHashMap_LinkedHashMap$_empty(type$.FocusScopeNode, type$._DirectionalPolicyData), A.focus_traversal_FocusTraversalPolicy_defaultTraversalRequestFocusCallback$closure())), null), null);
|
|
},
|
|
buildUserNameInput$1(context) {
|
|
var t2, t3, t4, t5, t6, t7, _this = this, _null = null, _s5_ = "email",
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = t1._jsWeakMap;
|
|
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t3 = t2._as(t1.get(_this)).usernameInputController;
|
|
A.Expando__checkType(_this);
|
|
t4 = t2._as(t1.get(_this)).get$onUsernameChange();
|
|
A.Expando__checkType(_this);
|
|
t5 = t2._as(t1.get(_this)).userNameFocusNode;
|
|
t6 = new B.LoginInputDecorationBuilder();
|
|
t7 = type$.AppLocalizations;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t7).toString;
|
|
t6.labelText = A.Intl__message(_s5_, _null, _s5_, _null, _null);
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t7).toString;
|
|
t6.hintText = A.Intl__message(_s5_, _null, _s5_, _null, _null);
|
|
t6 = t6.build$0();
|
|
A.Expando__checkType(_this);
|
|
t7 = t2._as(t1.get(_this)).get$getAllRecentLoginUsernameAction();
|
|
A.Expando__checkType(_this);
|
|
return A.TypeAheadFormFieldBuilder$(false, D.List_email, t3, C.Duration_300000, t6, t5, true, true, true, new B.BaseLoginView_buildUserNameInput_closure(), D.ValueKey_login_username_input, C.TextInputType_5_null_null, new B.BaseLoginView_buildUserNameInput_closure0(), t2._as(t1.get(_this)).get$selectUsernameFromSuggestion(), t4, t7, C.TextInputAction_6, type$.RecentLoginUsername);
|
|
},
|
|
buildPasswordInput$1(context) {
|
|
var t2, t3, t4, t5, _this = this,
|
|
_s8_ = "password",
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = t1._jsWeakMap;
|
|
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t3 = t2._as(t1.get(_this)).passwordInputController;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
t4 = A.Intl__message(_s8_, null, _s8_, null, null);
|
|
A.Expando__checkType(_this);
|
|
t5 = t2._as(t1.get(_this)).passFocusNode;
|
|
A.Expando__checkType(_this);
|
|
return new B.LoginTextInputBuilder(t4, C.TextInputAction_2, t3, t5, D.List_password, t2._as(t1.get(_this)).get$onPasswordChange(), new B.BaseLoginView_buildPasswordInput_closure(_this, context), D.ValueKey_login_password_input);
|
|
}
|
|
};
|
|
B.LoginView.prototype = {
|
|
build$1(context) {
|
|
var t2, _this = this, _null = null,
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).responsiveUtils;
|
|
t2 = _this._buildMobileForm$1(context);
|
|
return A.Scaffold$(_null, C.Color_4294967295, A.Center$(A.SingleChildScrollView$(A.ResponsiveWidget$(_this._buildWebForm$1(context), _null, _null, t2, t1, _null, _null), _null, _null, _null, _null, _null, C.Axis_1), _null, _null), _null, _null, true, _null, _null, _null);
|
|
},
|
|
_buildMobileForm$1(context) {
|
|
var t2, t3, _this = this, _null = null,
|
|
t1 = E.ApplicationLogoWidthTextWidget$(_null, _null);
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
t2 = type$.JSArray_Widget;
|
|
t1 = A.Column$(A._setArrayType([new A.Padding(D.EdgeInsets_0_67_0_0, t1, _null), new A.Padding(D.EdgeInsets_0_67_0_0, A.Text$(A.Intl__message("Sign In", _null, "signIn", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t30, _null, _null, _null, _null, _null), _null), new A.Obx(new B.LoginView__buildMobileForm_closure(_this), _null), new A.Obx(new B.LoginView__buildMobileForm_closure0(_this, context), _null), _this._buildLoadingProgress$1(context), D.Padding_HfL, F.ApplicationVersionWidget_null_null_null_null], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
|
|
t3 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
A._instanceType(_this)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(_this)).toString;
|
|
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([new A.ConstrainedBox(D.BoxConstraints_oA88, t1, _null), A.Positioned$fill(24, new A.Align(C.Alignment_0_1, _null, _null, A.SvgPicture$asset("assets/images/power_by_linagora.svg", C.Alignment_0_0, _null, C.BoxFit_0, 44, _null, _null, 97), _null))], t2), _null);
|
|
},
|
|
_buildWebForm$1(context) {
|
|
var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, _null = null,
|
|
t1 = type$.AppLocalizations;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t2 = A.Text$(A.Intl__message("JMAP-based\ncollaborative team mail solution", _null, "jmapBasedMailSolution", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t28, _null, _null, _null, _null, _null);
|
|
t3 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t3 = t3._jsWeakMap;
|
|
t4 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t5 = A.SloganBuilder$(true, _null, "assets/images/ic_jmap_standard.svg", _null, _null, C.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("JMAP standard", _null, "jmapStandard", _null, _null), _null, D.TextStyle_69t29);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t6 = A.SloganBuilder$(true, _null, "assets/images/ic_encrypted.svg", _null, _null, C.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("Encrypted mailbox", _null, "encryptedMailbox", _null, _null), _null, D.TextStyle_69t29);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t7 = A.SloganBuilder$(true, _null, "assets/images/ic_team.svg", _null, _null, C.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("Manage email as a team", _null, "manageEmailAsATeam", _null, _null), _null, D.TextStyle_69t29);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t8 = A.SloganBuilder$(true, _null, "assets/images/ic_integration.svg", _null, _null, C.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("Multiple integrations", _null, "multipleIntegrations", _null, _null), _null, D.TextStyle_69t29);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
t9 = type$.JSArray_Widget;
|
|
t8 = A.Column$(A._setArrayType([t2, new A.Padding(C.EdgeInsets_0_24_0_0, t5, _null), new A.Padding(C.EdgeInsets_0_16_0_0, t6, _null), new A.Padding(C.EdgeInsets_0_16_0_0, t7, _null), new A.Padding(C.EdgeInsets_0_16_0_0, t8, _null), new A.Padding(D.EdgeInsets_0_44_0_0, A.SvgPicture$asset("assets/images/ic_login_graphic.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null, _null), _null)], t9), C.CrossAxisAlignment_0, C.MainAxisAlignment_2, C.MainAxisSize_1, C.VerticalDirection_1);
|
|
t7 = E.ApplicationLogoWidthTextWidget$(_null, _null);
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t7 = A.Container$(_null, A.Column$(A._setArrayType([new A.Padding(D.EdgeInsets_0_66_0_0, t7, _null), new A.Padding(D.EdgeInsets_0_67_0_0, A.Text$(A.Intl__message("Sign In", _null, "signIn", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t30, _null, _null, _null, _null, _null), _null), new A.Obx(new B.LoginView__buildWebForm_closure(_this), _null), new A.Obx(new B.LoginView__buildWebForm_closure0(_this, context), _null), _this._buildLoadingProgress$1(context), D.Padding_HfL, F.ApplicationVersionWidget_null_null_null_null], t9), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_OJ5, _null, 684, _null, _null, D.EdgeInsets_31_0_31_0, _null, _null, 458);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
return new A.Padding(D.EdgeInsets_0_60_0_60, A.Row$(A._setArrayType([new A.Padding(D.EdgeInsets_0_0_86_0, t8, _null), A.Column$(A._setArrayType([t7, new A.Padding(D.EdgeInsets_0_44_0_10, A.SvgPicture$asset("assets/images/power_by_linagora.svg", C.Alignment_0_0, _null, C.BoxFit_0, 44, _null, _null, 97), _null)], t9), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1)], t9), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _null);
|
|
},
|
|
_buildLoadingProgress$1(context) {
|
|
return new A.Obx(new B.LoginView__buildLoadingProgress_closure(this, context), null);
|
|
}
|
|
};
|
|
B.PrivacyLinkWidget.prototype = {
|
|
build$1(context) {
|
|
var t2, t3, _null = null,
|
|
t1 = type$.AppLocalizations;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t2 = A.Text$(A.Intl__message("By continuing, you're agreeing to our", _null, "byContinuingYouAreAgreeingToOur", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_8aB3, _null, _null, _null, _null, _null);
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
|
|
t1 = A.Intl__message("Privacy policy", _null, "privacyPolicy", _null, _null);
|
|
t3 = A.TapGestureRecognizer$(_null, _null);
|
|
t3.onTap = new B.PrivacyLinkWidget_build_closure(this);
|
|
return A.Column$(A._setArrayType([t2, A.RichText$(_null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(_null, _null, _null, _null, _null, t3, _null, _null, G.TextStyle_OkG0, t1), C.TextAlign_4, _null, _null, C._LinearTextScaler_1, C.TextWidthBasis_0)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1);
|
|
}
|
|
};
|
|
B.LoginInputDecorationBuilder.prototype = {
|
|
build$0() {
|
|
var t2, t3, t4, t5, t6, _this = this, _null = null,
|
|
t1 = _this.enabledBorder;
|
|
if (t1 == null)
|
|
t1 = D.OutlineInputBorder_AuK;
|
|
t2 = _this.prefixText;
|
|
t3 = _this.labelText;
|
|
t4 = _this.hintText;
|
|
t5 = _this.hintStyle;
|
|
if (t5 == null)
|
|
t5 = D.TextStyle_QBc;
|
|
t6 = _this.contentPadding;
|
|
return A.InputDecoration$(_null, _null, _null, t6 == null ? D.EdgeInsetsDirectional_25_15_25_15 : t6, _null, _null, _null, _null, true, t1, _null, C.OutlineInputBorder_en2, _null, _null, _null, C.Color_4294112245, true, _null, C.FloatingLabelBehavior_0, _null, _null, D.OutlineInputBorder_ieL1, _null, _null, _null, _null, _null, _null, _null, t5, t4, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_2bL0, t3, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null, _null);
|
|
}
|
|
};
|
|
B.LoginMessageWidget.prototype = {
|
|
build$1(context) {
|
|
var _null = null,
|
|
t1 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data.size._dx < 600 ? 280 : 320,
|
|
t2 = this.viewState;
|
|
return new A.Padding(D.EdgeInsetsDirectional_58_11_58_36, new A.SizedBox(t1, _null, A.Text$(t2.fold$2(0, new B.LoginMessageWidget_build_closure(this, context), new B.LoginMessageWidget_build_closure0(this, context)), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t2.fold$2(0, new B.LoginMessageWidget_build_closure1(), new B.LoginMessageWidget_build_closure2()), _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_2, _null, _null, _null, _null), _null), _null);
|
|
}
|
|
};
|
|
B.LoginTextInputBuilder.prototype = {
|
|
createState$0() {
|
|
$.$get$Get();
|
|
var t1 = $.GetInstance__getInstance;
|
|
if (t1 == null)
|
|
t1 = $.GetInstance__getInstance = C.C_GetInstance;
|
|
return new B._LoginTextInputBuilderState(t1.find$1$1$tag(0, null, type$.ImagePaths), C._StateLifecycle_0);
|
|
}
|
|
};
|
|
B._LoginTextInputBuilderState.prototype = {
|
|
initState$0() {
|
|
var t1, _this = this;
|
|
_this.super$State$initState();
|
|
t1 = _this._widget;
|
|
t1.toString;
|
|
_this.___LoginTextInputBuilderState__obscureText_A = true;
|
|
_this.___LoginTextInputBuilderState__controller_A = t1.controller;
|
|
},
|
|
build$1(context) {
|
|
var t5, t6, t7, t8, t9, _this = this, _null = null,
|
|
t1 = _this._widget,
|
|
t2 = t1.onSubmitted,
|
|
t3 = t1.onTextChange,
|
|
t4 = _this.___LoginTextInputBuilderState__obscureText_A;
|
|
t4 === $ && A.throwUnnamedLateFieldNI();
|
|
t5 = t1.textInputAction;
|
|
t6 = t1.autofillHints;
|
|
t7 = _this.___LoginTextInputBuilderState__controller_A;
|
|
t7 === $ && A.throwUnnamedLateFieldNI();
|
|
t8 = t1.focusNode;
|
|
t9 = new B.LoginInputDecorationBuilder();
|
|
t9.hintText = t1.hintText;
|
|
t9.contentPadding = D.EdgeInsetsDirectional_25_15_40_15;
|
|
t9.hintStyle = C.TextStyle_8aB4;
|
|
t9.errorTextStyle = D.TextStyle_8eb5;
|
|
t9.enabledBorder = D.OutlineInputBorder_AuK;
|
|
t9.errorBorder = C.OutlineInputBorder_en2;
|
|
t5 = A._setArrayType([A.TextFormFieldBuilder$(false, t6, t7, t9.build$0(), t8, _null, t4, t3, t2, t5, C.TextStyle_8aB4)], type$.JSArray_Widget);
|
|
_this._widget.toString;
|
|
t1 = _this.___LoginTextInputBuilderState__obscureText_A ? "assets/images/ic_eye.svg" : "assets/images/ic_eye_off.svg";
|
|
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t1, _null, 18, _null, C.EdgeInsetsDirectional_0_0_4_0, 1 / 0, _null, new B._LoginTextInputBuilderState_build_closure(_this), _null, _null));
|
|
return new A.Stack(C.AlignmentDirectional_1_0, _null, C.StackFit_0, C.Clip_1, t5, _null);
|
|
},
|
|
dispose$0() {
|
|
this._widget.toString;
|
|
this.super$State$dispose();
|
|
}
|
|
};
|
|
B.TryAgainButton.prototype = {
|
|
build$1(context) {
|
|
var _null = null;
|
|
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_4278221567, 10, _null, D.EdgeInsetsDirectional_24_0_24_16, 1 / 0, _null, 1 / 0, 0, _null, this.onRetry, C.EdgeInsets_0_12_0_12, A.Intl__message("Try again", _null, "tryAgain", _null, _null), C.TextAlign_2, D.TextStyle_6nc1, _null, A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx);
|
|
}
|
|
};
|
|
var typesOffset = hunkHelpers.updateTypes(["LoginMessageWidget()", "RecentItemTileWidget<RecentLoginUsername>(BuildContext,RecentLoginUsername)"]);
|
|
B._AutofillScopeTextInputConfiguration_toJson_closure.prototype = {
|
|
call$1(configuration) {
|
|
return configuration.toJson$0();
|
|
},
|
|
$signature: 1774
|
|
};
|
|
B.AutofillScopeMixin_attach_closure.prototype = {
|
|
call$1(client) {
|
|
return client.get$textInputConfiguration();
|
|
},
|
|
$signature: 1775
|
|
};
|
|
B.AutofillGroupState_autofillClients_closure.prototype = {
|
|
call$1(client) {
|
|
return client.get$textInputConfiguration().autofillConfiguration.enabled;
|
|
},
|
|
$signature: 1776
|
|
};
|
|
B.AutofillGroupState_register_closure.prototype = {
|
|
call$0() {
|
|
return this.client;
|
|
},
|
|
$signature: 1777
|
|
};
|
|
B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure.prototype = {
|
|
call$1(entry) {
|
|
return entry.node === this.node;
|
|
},
|
|
$signature: 453
|
|
};
|
|
B.BaseLoginView_buildLoginButton_closure.prototype = {
|
|
call$0() {
|
|
var t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleLoginPressed$1(this.context);
|
|
},
|
|
$signature: 0
|
|
};
|
|
B.BaseLoginView_buildUserNameInput_closure.prototype = {
|
|
call$2(_, loginUsername) {
|
|
var t1;
|
|
$.$get$Get();
|
|
t1 = $.GetInstance__getInstance;
|
|
if (t1 == null)
|
|
t1 = $.GetInstance__getInstance = C.C_GetInstance;
|
|
return new B.RecentItemTileWidget(loginUsername, t1.find$1$1$tag(0, null, type$.ImagePaths), null, type$.RecentItemTileWidget_RecentLoginUsername);
|
|
},
|
|
$signature: typesOffset + 1
|
|
};
|
|
B.BaseLoginView_buildUserNameInput_closure0.prototype = {
|
|
call$1(context) {
|
|
return C.SizedBox_null_null_null_null;
|
|
},
|
|
$signature: 488
|
|
};
|
|
B.BaseLoginView_buildPasswordInput_closure.prototype = {
|
|
call$1(_) {
|
|
var t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleLoginPressed$1(this.context);
|
|
},
|
|
$signature: 10
|
|
};
|
|
B.LoginView__buildMobileForm_closure.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t2 = t2._jsWeakMap;
|
|
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
|
|
t4 = t3._as(t2.get(t1)).loginFormType.get$value(0);
|
|
A.Expando__checkType(t1);
|
|
return B.LoginMessageWidget$(t4, t3._as(t2.get(t1)).viewState.get$value(0));
|
|
},
|
|
$signature: typesOffset + 0
|
|
};
|
|
B.LoginView__buildMobileForm_closure0.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t2 = t2._jsWeakMap;
|
|
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
|
|
switch (t3._as(t2.get(t1)).loginFormType.get$value(0)) {
|
|
case C.LoginFormType_3:
|
|
return t1.buildInputCredentialForm$1(this.context);
|
|
case C.LoginFormType_1:
|
|
A.Expando__checkType(t1);
|
|
t4 = t3._as(t2.get(t1)).get$retryCheckOidc();
|
|
A.Expando__checkType(t1);
|
|
return new B.TryAgainButton(t4, t3._as(t2.get(t1)).responsiveUtils, null);
|
|
default:
|
|
return C.SizedBox_0_0_null_null;
|
|
}
|
|
},
|
|
$signature: 3
|
|
};
|
|
B.LoginView__buildWebForm_closure.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t2 = t2._jsWeakMap;
|
|
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
|
|
t4 = t3._as(t2.get(t1)).loginFormType.get$value(0);
|
|
A.Expando__checkType(t1);
|
|
return B.LoginMessageWidget$(t4, t3._as(t2.get(t1)).viewState.get$value(0));
|
|
},
|
|
$signature: typesOffset + 0
|
|
};
|
|
B.LoginView__buildWebForm_closure0.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t2 = t2._jsWeakMap;
|
|
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
|
|
switch (t3._as(t2.get(t1)).loginFormType.get$value(0)) {
|
|
case C.LoginFormType_3:
|
|
return t1.buildInputCredentialForm$1(this.context);
|
|
case C.LoginFormType_1:
|
|
A.Expando__checkType(t1);
|
|
t4 = t3._as(t2.get(t1)).get$retryCheckOidc();
|
|
A.Expando__checkType(t1);
|
|
return new B.TryAgainButton(t4, t3._as(t2.get(t1)).responsiveUtils, null);
|
|
default:
|
|
return C.SizedBox_0_0_null_null;
|
|
}
|
|
},
|
|
$signature: 3
|
|
};
|
|
B.LoginView__buildLoadingProgress_closure.prototype = {
|
|
call$0() {
|
|
var t3,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t3 = this.context;
|
|
return J.fold$2$ax(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), new B.LoginView__buildLoadingProgress__closure(t1, t3), new B.LoginView__buildLoadingProgress__closure0(t1, t3));
|
|
},
|
|
$signature: 3
|
|
};
|
|
B.LoginView__buildLoadingProgress__closure.prototype = {
|
|
call$1(failure) {
|
|
var t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
switch (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loginFormType.get$value(0)) {
|
|
case C.LoginFormType_3:
|
|
return t1.buildLoginButton$1(this.context);
|
|
default:
|
|
return C.SizedBox_0_0_null_null;
|
|
}
|
|
},
|
|
$signature: 109
|
|
};
|
|
B.LoginView__buildLoadingProgress__closure0.prototype = {
|
|
call$1(success) {
|
|
var t1, t2;
|
|
if (success instanceof A.LoadingState)
|
|
return D.SizedBox_gg9;
|
|
else {
|
|
t1 = this.$this;
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
switch (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loginFormType.get$value(0)) {
|
|
case C.LoginFormType_3:
|
|
return t1.buildLoginButton$1(this.context);
|
|
default:
|
|
return C.SizedBox_0_0_null_null;
|
|
}
|
|
}
|
|
},
|
|
$signature: 52
|
|
};
|
|
B.PrivacyLinkWidget_build_closure.prototype = {
|
|
call$0() {
|
|
return A.AppUtils_launchLink("https://www.linagora.com/en/legal/privacy");
|
|
},
|
|
$signature: 0
|
|
};
|
|
B.LoginMessageWidget_build_closure.prototype = {
|
|
call$1(failure) {
|
|
var t1, _this = this, _null = null,
|
|
_s40_ = "Unknown error occurred, please try again",
|
|
_s12_ = "unknownError";
|
|
if (failure instanceof A.GetOIDCConfigurationFailure) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("Can not verify SSO configuration, please check with your system administrator", _null, "canNotVerifySSOConfiguration", _null, _null);
|
|
} else if (failure instanceof A.GetTokenOIDCFailure && failure.exception instanceof A.NoSuitableBrowserForOIDCException) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("No suitable browser for OIDC, please check with your system administrator", _null, "noSuitableBrowserForOIDC", _null, _null);
|
|
} else if (failure instanceof A.FeatureFailure) {
|
|
t1 = _this.$this._toastManager;
|
|
t1 = t1 == null ? _null : t1.getMessageByException$2(_this.context, failure.exception);
|
|
if (t1 == null) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
t1 = A.Intl__message(_s40_, _null, _s12_, _null, _null);
|
|
}
|
|
return t1;
|
|
} else {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message(_s40_, _null, _s12_, _null, _null);
|
|
}
|
|
},
|
|
$signature: 1778
|
|
};
|
|
B.LoginMessageWidget_build_closure0.prototype = {
|
|
call$1(success) {
|
|
var _this = this, _null = null,
|
|
t1 = _this.$this.formType;
|
|
if (t1 === C.LoginFormType_3) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("Enter your credentials to sign in", _null, "loginInputCredentialMessage", _null, _null);
|
|
} else if (t1 === C.LoginFormType_5) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("To login and access your message please enter your email", _null, "dnsLookupLoginMessage", _null, _null);
|
|
} else if (t1 === C.LoginFormType_4) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("Enter your password to sign in", _null, "enterYourPasswordToSignIn", _null, _null);
|
|
} else if (t1 === C.LoginFormType_2) {
|
|
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("To login and access your message please connect to your JMAP server", _null, "loginInputUrlMessage", _null, _null);
|
|
} else
|
|
return "";
|
|
},
|
|
$signature: 1779
|
|
};
|
|
B.LoginMessageWidget_build_closure1.prototype = {
|
|
call$1(failure) {
|
|
return C.Color_4293281350;
|
|
},
|
|
$signature: 1780
|
|
};
|
|
B.LoginMessageWidget_build_closure2.prototype = {
|
|
call$1(success) {
|
|
return C.Color_4278190080;
|
|
},
|
|
$signature: 1781
|
|
};
|
|
B._LoginTextInputBuilderState_build_closure.prototype = {
|
|
call$0() {
|
|
var t1 = this.$this;
|
|
t1.setState$1(new B._LoginTextInputBuilderState_build__closure(t1));
|
|
},
|
|
$signature: 0
|
|
};
|
|
B._LoginTextInputBuilderState_build__closure.prototype = {
|
|
call$0() {
|
|
var t1 = this.$this,
|
|
t2 = t1.___LoginTextInputBuilderState__obscureText_A;
|
|
t2 === $ && A.throwUnnamedLateFieldNI();
|
|
return t1.___LoginTextInputBuilderState__obscureText_A = !t2;
|
|
},
|
|
$signature: 0
|
|
};
|
|
(function inheritance() {
|
|
var _mixin = hunkHelpers.mixin,
|
|
_mixinHard = hunkHelpers.mixinHard,
|
|
_inherit = hunkHelpers.inherit,
|
|
_inheritMany = hunkHelpers.inheritMany;
|
|
_inherit(B._AutofillScopeTextInputConfiguration, A.TextInputConfiguration);
|
|
_inheritMany(A.Closure, [B._AutofillScopeTextInputConfiguration_toJson_closure, B.AutofillScopeMixin_attach_closure, B.AutofillGroupState_autofillClients_closure, B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure, B.BaseLoginView_buildUserNameInput_closure0, B.BaseLoginView_buildPasswordInput_closure, B.LoginView__buildLoadingProgress__closure, B.LoginView__buildLoadingProgress__closure0, B.LoginMessageWidget_build_closure, B.LoginMessageWidget_build_closure0, B.LoginMessageWidget_build_closure1, B.LoginMessageWidget_build_closure2]);
|
|
_inherit(B.AutofillScopeMixin, A.Object);
|
|
_inherit(B.AutofillContextAction, A._Enum);
|
|
_inheritMany(A.StatefulWidget, [B.AutofillGroup, B.LoginTextInputBuilder]);
|
|
_inheritMany(A.State0, [B._AutofillGroupState_State_AutofillScopeMixin, B._LoginTextInputBuilderState]);
|
|
_inherit(B.AutofillGroupState, B._AutofillGroupState_State_AutofillScopeMixin);
|
|
_inheritMany(A.Closure0Args, [B.AutofillGroupState_register_closure, B.BaseLoginView_buildLoginButton_closure, B.LoginView__buildMobileForm_closure, B.LoginView__buildMobileForm_closure0, B.LoginView__buildWebForm_closure, B.LoginView__buildWebForm_closure0, B.LoginView__buildLoadingProgress_closure, B.PrivacyLinkWidget_build_closure, B._LoginTextInputBuilderState_build_closure, B._LoginTextInputBuilderState_build__closure]);
|
|
_inherit(B._AutofillScope, A.InheritedWidget);
|
|
_inherit(B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin, A.FocusTraversalPolicy);
|
|
_inherit(B.WidgetOrderTraversalPolicy, B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin);
|
|
_inheritMany(A.StatelessWidget, [B.RecentItemTileWidget, B.PrivacyLinkWidget, B.LoginMessageWidget, B.TryAgainButton]);
|
|
_inherit(B.BaseLoginView, A.GetWidget);
|
|
_inherit(B.BaseLoginView_buildUserNameInput_closure, A.Closure2Args);
|
|
_inherit(B.LoginView, B.BaseLoginView);
|
|
_inherit(B.LoginInputDecorationBuilder, A.InputDecorationBuilder);
|
|
_mixin(B._AutofillGroupState_State_AutofillScopeMixin, B.AutofillScopeMixin);
|
|
_mixinHard(B._WidgetOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin, A.DirectionalFocusTraversalPolicyMixin);
|
|
})();
|
|
A._Universe_addRules(init.typeUniverse, JSON.parse('{"_AutofillScopeTextInputConfiguration":{"TextInputConfiguration":[]},"AutofillGroup":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"AutofillGroupState":{"State0":["AutofillGroup"]},"_AutofillScope":{"InheritedWidget":[],"ProxyWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecentItemTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BaseLoginView":{"GetWidget":["LoginController"],"Widget":[],"DiagnosticableTree":[]},"LoginView":{"GetWidget":["LoginController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"LoginController"},"PrivacyLinkWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"LoginMessageWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"LoginTextInputBuilder":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_LoginTextInputBuilderState":{"State0":["LoginTextInputBuilder"]},"TryAgainButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]}}'));
|
|
var type$ = (function rtii() {
|
|
var findType = A.findType;
|
|
return {
|
|
AppLocalizations: findType("AppLocalizations"),
|
|
AutofillClient: findType("AutofillClient"),
|
|
FocusScopeNode: findType("FocusScopeNode"),
|
|
ImagePaths: findType("ImagePaths"),
|
|
JSArray_String: findType("JSArray<String>"),
|
|
JSArray_Widget: findType("JSArray<Widget>"),
|
|
Map_String_dynamic: findType("Map<String,@>"),
|
|
MediaQuery: findType("MediaQuery"),
|
|
RecentItemTileWidget_RecentLoginUsername: findType("RecentItemTileWidget<RecentLoginUsername>"),
|
|
RecentLoginUsername: findType("RecentLoginUsername"),
|
|
String: findType("String"),
|
|
ToastManager: findType("ToastManager"),
|
|
ValueKey_String: findType("ValueKey<String>"),
|
|
_DirectionalPolicyData: findType("_DirectionalPolicyData"),
|
|
void: findType("~")
|
|
};
|
|
})();
|
|
(function constants() {
|
|
var makeConstList = hunkHelpers.makeConstList;
|
|
D.AutofillContextAction_0 = new B.AutofillContextAction(0, "commit");
|
|
D.BoxConstraints_oA88 = new A.BoxConstraints(200, 720, 720, 1 / 0);
|
|
D.EdgeInsetsDirectional_24_0_24_16 = new A.EdgeInsetsDirectional(24, 0, 24, 16);
|
|
D.EdgeInsetsDirectional_25_15_25_15 = new A.EdgeInsetsDirectional(25, 15, 25, 15);
|
|
D.EdgeInsetsDirectional_25_15_40_15 = new A.EdgeInsetsDirectional(25, 15, 40, 15);
|
|
D.EdgeInsetsDirectional_58_11_58_36 = new A.EdgeInsetsDirectional(58, 11, 58, 36);
|
|
D.EdgeInsets_0_0_86_0 = new A.EdgeInsets(0, 0, 86, 0);
|
|
D.EdgeInsets_0_44_0_0 = new A.EdgeInsets(0, 44, 0, 0);
|
|
D.EdgeInsets_0_44_0_10 = new A.EdgeInsets(0, 44, 0, 10);
|
|
D.EdgeInsets_0_60_0_60 = new A.EdgeInsets(0, 60, 0, 60);
|
|
D.EdgeInsets_0_66_0_0 = new A.EdgeInsets(0, 66, 0, 0);
|
|
D.EdgeInsets_0_67_0_0 = new A.EdgeInsets(0, 67, 0, 0);
|
|
D.EdgeInsets_31_0_31_0 = new A.EdgeInsets(31, 0, 31, 0);
|
|
D.List_email = A._setArrayType(makeConstList(["email"]), type$.JSArray_String);
|
|
D.List_password = A._setArrayType(makeConstList(["password"]), type$.JSArray_String);
|
|
D.BorderSide_Fkb = new A.BorderSide(C.Color_4294112245, 1, C.BorderStyle_1, -1);
|
|
D.OutlineInputBorder_AuK = new A.OutlineInputBorder(4, C.BorderRadius_ww811, D.BorderSide_Fkb);
|
|
D.BorderSide_UKi2 = new A.BorderSide(C.Color_4278221567, 2, C.BorderStyle_1, -1);
|
|
D.OutlineInputBorder_ieL1 = new A.OutlineInputBorder(4, C.BorderRadius_ww811, D.BorderSide_UKi2);
|
|
D.PrivacyLinkWidget_null = new B.PrivacyLinkWidget(null);
|
|
D.Padding_HfL = new A.Padding(C.EdgeInsets_0_16_0_0, D.PrivacyLinkWidget_null, null);
|
|
D.Color_1035779260 = new A.Color(1035779260);
|
|
D.BoxShadow_c9P = new A.BoxShadow(2, C.BlurStyle_0, D.Color_1035779260, C.Offset_0_2, 40);
|
|
D.List_1WK = A._setArrayType(makeConstList([D.BoxShadow_c9P]), A.findType("JSArray<BoxShadow>"));
|
|
D.ShapeDecoration_OJ5 = new A.ShapeDecoration(C.Color_4294967295, null, null, D.List_1WK, C.RoundedRectangleBorder_NYu13);
|
|
D.ValueKey_login_loading_icon = new A.ValueKey("login_loading_icon", type$.ValueKey_String);
|
|
D.SizedBox_gg9 = new A.SizedBox(40, 40, C.CircularProgressIndicator_86y0, D.ValueKey_login_loading_icon);
|
|
D.SizedBox_null_40_null_null = new A.SizedBox(null, 40, null, null);
|
|
D.TextStyle_2bL0 = new A.TextStyle(true, C.Color_4286482075, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_69t29 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 24, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_69t30 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 32, C.FontWeight_8_900, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_69t28 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 36, C.FontWeight_8_900, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_6nc1 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_8eb5 = new A.TextStyle(true, C.Color_4293281350, null, null, null, null, 13, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_QBc = new A.TextStyle(true, C.Color_4285887861, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.ValueKey_loginSubmitForm = new A.ValueKey("loginSubmitForm", type$.ValueKey_String);
|
|
D.ValueKey_login_password_input = new A.ValueKey("login_password_input", type$.ValueKey_String);
|
|
D.ValueKey_login_username_input = new A.ValueKey("login_username_input", type$.ValueKey_String);
|
|
})();
|
|
};
|
|
;
|
|
((d, h) => {
|
|
d[h] = d.current;
|
|
d.eventLog.push({p: "main.dart.js_1", e: "endPart", h: h});
|
|
})($__dart_deferred_initializers__, "KyQpq6H10AM1a0jTQeA7NkSAFp0=");
|
|
; |