Admin Portal - Profile

This commit is contained in:
hillelcoren 2021-09-18 20:21:26 +00:00
parent 4708207c12
commit ecff62d316

View File

@ -19389,8 +19389,8 @@
var _ = this; var _ = this;
_.action = t0; _.action = t0;
_.uiState = t1; _.uiState = t1;
_.next = t2; _.store = t2;
_.store = t3; _.next = t3;
}, },
_viewSettings___closure: function _viewSettings___closure() { _viewSettings___closure: function _viewSettings___closure() {
}, },
@ -22825,9 +22825,9 @@
_viewReports_closure: function _viewReports_closure() { _viewReports_closure: function _viewReports_closure() {
}, },
_viewReports__closure: function _viewReports__closure(t0, t1, t2) { _viewReports__closure: function _viewReports__closure(t0, t1, t2) {
this.next = t0; this.store = t0;
this.action = t1; this.next = t1;
this.store = t2; this.action = t2;
}, },
_viewReports___closure: function _viewReports___closure() { _viewReports___closure: function _viewReports___closure() {
}, },
@ -309564,8 +309564,8 @@
t4 = t2.uiState.selectedCompanyIndex; t4 = t2.uiState.selectedCompanyIndex;
if (J.$index$asx(t3._list, t4).get$isStale() || t2.staticState.get$isStale()) if (J.$index$asx(t3._list, t4).get$isStale() || t2.staticState.get$isStale())
J.$index$asx(t1.get$_dispatchers(), 0).call$1(new M.RefreshData(null, false, false, false)); J.$index$asx(t1.get$_dispatchers(), 0).call$1(new M.RefreshData(null, false, false, false));
this.next.call$1(this.action);
J.$index$asx(t1.get$_dispatchers(), 0).call$1(new Q.UpdateCurrentRoute(_s10_)); J.$index$asx(t1.get$_dispatchers(), 0).call$1(new Q.UpdateCurrentRoute(_s10_));
this.next.call$1(this.action);
if (t1.get$_store$_state().prefState.appLayout === C.AppLayout_mobile) if (t1.get$_store$_state().prefState.appLayout === C.AppLayout_mobile)
$.$get$navigatorKey().get$currentState().pushNamedAndRemoveUntil$1$2(_s10_, new R._createViewDashboard___closure(), type$.legacy_Object); $.$get$navigatorKey().get$currentState().pushNamedAndRemoveUntil$1$2(_s10_, new R._createViewDashboard___closure(), type$.legacy_Object);
}, },
@ -332029,7 +332029,7 @@
t1.toString; t1.toString;
t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1);
dynamicAction.toString; dynamicAction.toString;
M.checkForChanges(new R._viewReports__closure(next, dynamicAction, store), t1, false, store); M.checkForChanges(new R._viewReports__closure(store, next, dynamicAction), t1, false, store);
}, },
"call*": "call$3", "call*": "call$3",
$requiredArgCount: 3, $requiredArgCount: 3,
@ -332037,11 +332037,10 @@
}; };
R._viewReports__closure.prototype = { R._viewReports__closure.prototype = {
call$0: function() { call$0: function() {
var t1, var _s8_ = "/reports",
_s8_ = "/reports"; t1 = this.store;
this.next.call$1(this.action);
t1 = this.store;
J.$index$asx(t1.get$_dispatchers(), 0).call$1(new Q.UpdateCurrentRoute(_s8_)); J.$index$asx(t1.get$_dispatchers(), 0).call$1(new Q.UpdateCurrentRoute(_s8_));
this.next.call$1(this.action);
if (t1.get$_store$_state().prefState.appLayout === C.AppLayout_mobile) if (t1.get$_store$_state().prefState.appLayout === C.AppLayout_mobile)
$.$get$navigatorKey().get$currentState().pushNamedAndRemoveUntil$1$2(_s8_, new R._viewReports___closure(), type$.legacy_Object); $.$get$navigatorKey().get$currentState().pushNamedAndRemoveUntil$1$2(_s8_, new R._viewReports___closure(), type$.legacy_Object);
}, },
@ -332382,7 +332381,7 @@
uiState = store.get$_store$_state().uiState; uiState = store.get$_store$_state().uiState;
t1 = $.$get$navigatorKey(); t1 = $.$get$navigatorKey();
t1.toString; t1.toString;
M.checkForChanges(new D._viewSettings__closure(dynamicAction, uiState, next, store), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), dynamicAction.force, store); M.checkForChanges(new D._viewSettings__closure(dynamicAction, uiState, store, next), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), dynamicAction.force, store);
}, },
"call*": "call$3", "call*": "call$3",
$requiredArgCount: 3, $requiredArgCount: 3,
@ -332390,7 +332389,7 @@
}; };
D._viewSettings__closure.prototype = { D._viewSettings__closure.prototype = {
call$0: function() { call$0: function() {
var route, t4, t5, _this = this, var route, t4, t5, t6, _this = this,
t1 = _this.action, t1 = _this.action,
t2 = t1.section, t2 = t1.section,
t3 = t2 == null; t3 = t2 == null;
@ -332400,15 +332399,15 @@
t2 = _this.uiState; t2 = _this.uiState;
route = t2.get$mainRoute() === "settings" ? "/settings/company_details" : "/settings" + ("/" + t2.settingsUIState.section); route = t2.get$mainRoute() === "settings" ? "/settings/company_details" : "/settings" + ("/" + t2.settingsUIState.section);
} }
t2 = _this.store;
t4 = t2.get$_store$_state();
t5 = t4.userCompanyStates;
t6 = t4.uiState.selectedCompanyIndex;
if (J.$index$asx(t5._list, t6).get$isStale() || t4.staticState.get$isStale())
J.$index$asx(t2.get$_dispatchers(), 0).call$1(new M.RefreshData(null, false, false, false));
J.$index$asx(t2.get$_dispatchers(), 0).call$1(new Q.UpdateCurrentRoute(route));
_this.next.call$1(t1); _this.next.call$1(t1);
t1 = _this.store; if (t2.get$_store$_state().prefState.appLayout === C.AppLayout_mobile) {
t2 = t1.get$_store$_state();
t4 = t2.userCompanyStates;
t5 = t2.uiState.selectedCompanyIndex;
if (J.$index$asx(t4._list, t5).get$isStale() || t2.staticState.get$isStale())
J.$index$asx(t1.get$_dispatchers(), 0).call$1(new M.RefreshData(null, false, false, false));
J.$index$asx(t1.get$_dispatchers(), 0).call$1(new Q.UpdateCurrentRoute(route));
if (t1.get$_store$_state().prefState.appLayout === C.AppLayout_mobile) {
t1 = type$.legacy_Object; t1 = type$.legacy_Object;
if (t3) if (t3)
$.$get$navigatorKey().get$currentState().pushNamedAndRemoveUntil$1$2("/settings", new D._viewSettings___closure(), t1); $.$get$navigatorKey().get$currentState().pushNamedAndRemoveUntil$1$2("/settings", new D._viewSettings___closure(), t1);