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
bbffebcdd3
commit
3387534bf3
115
public/main.profile.dart.js
vendored
115
public/main.profile.dart.js
vendored
@ -61471,7 +61471,7 @@
|
|||||||
if (B.JSString_methods.startsWith$1(url, "https://invoicing.co"))
|
if (B.JSString_methods.startsWith$1(url, "https://invoicing.co"))
|
||||||
secret = "";
|
secret = "";
|
||||||
t1 = type$.legacy_String;
|
t1 = type$.legacy_String;
|
||||||
headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.99", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1);
|
headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.100", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1);
|
||||||
if (token.length !== 0)
|
if (token.length !== 0)
|
||||||
headers.$indexSet(0, "X-API-Token", token);
|
headers.$indexSet(0, "X-API-Token", token);
|
||||||
if ((idToken == null ? "" : idToken).length !== 0)
|
if ((idToken == null ? "" : idToken).length !== 0)
|
||||||
@ -61494,9 +61494,9 @@
|
|||||||
else if (serverVersion == null)
|
else if (serverVersion == null)
|
||||||
throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server");
|
throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server");
|
||||||
else {
|
else {
|
||||||
t2 = A.Version__compare(A.Version_parse("5.0.99"), A.Version_parse(minClientVersion));
|
t2 = A.Version__compare(A.Version_parse("5.0.100"), A.Version_parse(minClientVersion));
|
||||||
if (t2 < 0)
|
if (t2 < 0)
|
||||||
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.99 < Minimum v" + A.S(minClientVersion) + "]");
|
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.100 < Minimum v" + A.S(minClientVersion) + "]");
|
||||||
else {
|
else {
|
||||||
t2 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
|
t2 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
|
||||||
if (t2 < 0)
|
if (t2 < 0)
|
||||||
@ -360647,7 +360647,7 @@
|
|||||||
version = "v" + (t1 == null ? "" : t1);
|
version = "v" + (t1 == null ? "" : t1);
|
||||||
if (version.length !== 0)
|
if (version.length !== 0)
|
||||||
version += "-";
|
version += "-";
|
||||||
return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.99".split(".")));
|
return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.100".split(".")));
|
||||||
},
|
},
|
||||||
get$historyList() {
|
get$historyList() {
|
||||||
var _this = this,
|
var _this = this,
|
||||||
@ -442108,10 +442108,19 @@
|
|||||||
if (!t2) {
|
if (!t2) {
|
||||||
t2 = t1.uiState.selectedCompanyIndex;
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
|
} else
|
||||||
|
t2 = true;
|
||||||
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
t1 = t2;
|
t1 = t2;
|
||||||
} else
|
} else
|
||||||
t1 = true;
|
t1 = false;
|
||||||
if (!t1)
|
t1 = !t1;
|
||||||
|
} else
|
||||||
|
t1 = false;
|
||||||
|
if (t1)
|
||||||
return;
|
return;
|
||||||
t1 = $.Debouncer_action;
|
t1 = $.Debouncer_action;
|
||||||
if (t1 != null) {
|
if (t1 != null) {
|
||||||
@ -446005,7 +446014,16 @@
|
|||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
} else
|
} else
|
||||||
t2 = true;
|
t2 = true;
|
||||||
if (!t2)
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
t2 = !t2;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
if (t2)
|
||||||
return;
|
return;
|
||||||
t2 = $.Debouncer_action;
|
t2 = $.Debouncer_action;
|
||||||
if (t2 != null) {
|
if (t2 != null) {
|
||||||
@ -468145,7 +468163,16 @@
|
|||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
} else
|
} else
|
||||||
t2 = true;
|
t2 = true;
|
||||||
if (!t2)
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
t2 = !t2;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
if (t2)
|
||||||
return;
|
return;
|
||||||
t2 = $.Debouncer_action;
|
t2 = $.Debouncer_action;
|
||||||
if (t2 != null) {
|
if (t2 != null) {
|
||||||
@ -469552,10 +469579,19 @@
|
|||||||
if (!t2) {
|
if (!t2) {
|
||||||
t2 = t1.uiState.selectedCompanyIndex;
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
|
} else
|
||||||
|
t2 = true;
|
||||||
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
t1 = t2;
|
t1 = t2;
|
||||||
} else
|
} else
|
||||||
t1 = true;
|
t1 = false;
|
||||||
if (!t1)
|
t1 = !t1;
|
||||||
|
} else
|
||||||
|
t1 = false;
|
||||||
|
if (t1)
|
||||||
return;
|
return;
|
||||||
t1 = $.Debouncer_action;
|
t1 = $.Debouncer_action;
|
||||||
if (t1 != null) {
|
if (t1 != null) {
|
||||||
@ -471103,10 +471139,19 @@
|
|||||||
if (!t2) {
|
if (!t2) {
|
||||||
t2 = t1.uiState.selectedCompanyIndex;
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
|
} else
|
||||||
|
t2 = true;
|
||||||
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
t1 = t2;
|
t1 = t2;
|
||||||
} else
|
} else
|
||||||
t1 = true;
|
t1 = false;
|
||||||
if (!t1)
|
t1 = !t1;
|
||||||
|
} else
|
||||||
|
t1 = false;
|
||||||
|
if (t1)
|
||||||
return;
|
return;
|
||||||
t1 = $.Debouncer_action;
|
t1 = $.Debouncer_action;
|
||||||
if (t1 != null) {
|
if (t1 != null) {
|
||||||
@ -472067,10 +472112,19 @@
|
|||||||
if (!t2) {
|
if (!t2) {
|
||||||
t2 = t1.uiState.selectedCompanyIndex;
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
|
} else
|
||||||
|
t2 = true;
|
||||||
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
t1 = t2;
|
t1 = t2;
|
||||||
} else
|
} else
|
||||||
t1 = true;
|
t1 = false;
|
||||||
if (!t1)
|
t1 = !t1;
|
||||||
|
} else
|
||||||
|
t1 = false;
|
||||||
|
if (t1)
|
||||||
return;
|
return;
|
||||||
t1 = $.Debouncer_action;
|
t1 = $.Debouncer_action;
|
||||||
if (t1 != null) {
|
if (t1 != null) {
|
||||||
@ -473998,7 +474052,16 @@
|
|||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
} else
|
} else
|
||||||
t2 = true;
|
t2 = true;
|
||||||
if (!t2)
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
t2 = !t2;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
if (t2)
|
||||||
return;
|
return;
|
||||||
t2 = $.Debouncer_action;
|
t2 = $.Debouncer_action;
|
||||||
if (t2 != null) {
|
if (t2 != null) {
|
||||||
@ -477645,7 +477708,16 @@
|
|||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
} else
|
} else
|
||||||
t2 = true;
|
t2 = true;
|
||||||
if (!t2)
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
t2 = !t2;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
if (t2)
|
||||||
return;
|
return;
|
||||||
t2 = $.Debouncer_action;
|
t2 = $.Debouncer_action;
|
||||||
if (t2 != null) {
|
if (t2 != null) {
|
||||||
@ -480037,7 +480109,16 @@
|
|||||||
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.plan === "pro";
|
||||||
} else
|
} else
|
||||||
t2 = true;
|
t2 = true;
|
||||||
if (!t2)
|
if (!t2) {
|
||||||
|
if (t1.get$isHosted()) {
|
||||||
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
|
t2 = t1.userCompanyStates._list[t2].userCompany.account.trialDaysLeft > 0;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
t2 = !t2;
|
||||||
|
} else
|
||||||
|
t2 = false;
|
||||||
|
if (t2)
|
||||||
return;
|
return;
|
||||||
t2 = $.Debouncer_action;
|
t2 = $.Debouncer_action;
|
||||||
if (t2 != null) {
|
if (t2 != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user