@lowcodeunit/applications-flow-common 1.38.3-integration → 1.38.5-projectHostFixes
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/elements/applications-card/applications-card.component.mjs +4 -8
- package/esm2020/lib/elements/project-card/project-card.component.mjs +3 -5
- package/esm2020/lib/elements/route-card/route-card.component.mjs +3 -5
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +14 -22
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +7 -15
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/package.json +1 -1
@@ -8522,26 +8522,24 @@ class ProjectCardComponent {
|
|
8522
8522
|
if (tempRoutes) {
|
8523
8523
|
// let tempProjChildren: Array<TreeNode> = [];
|
8524
8524
|
tempRoutes.forEach((appRoute) => {
|
8525
|
-
var _a
|
8525
|
+
var _a;
|
8526
8526
|
this.AppRoute = appRoute;
|
8527
8527
|
let tempRouteNode = {
|
8528
8528
|
name: this.AppRoute,
|
8529
|
-
url: 'https://' +
|
8530
|
-
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.Hosts[((_c = (_b = this.Project) === null || _b === void 0 ? void 0 : _b.Hosts) === null || _c === void 0 ? void 0 : _c.length) - 1]) +
|
8531
|
-
this.AppRoute,
|
8529
|
+
url: 'https://' + ((_a = this.Project) === null || _a === void 0 ? void 0 : _a.PrimaryHost) + this.AppRoute,
|
8532
8530
|
routerLink: ['/route', this.AppRoute, this.ProjectLookup],
|
8533
8531
|
};
|
8534
8532
|
let tempApps = this.CurrentRouteApplicationLookups;
|
8535
8533
|
if (tempApps) {
|
8536
8534
|
let tempRouteChildren = [];
|
8537
8535
|
tempApps.forEach((appLookup) => {
|
8538
|
-
var _a
|
8536
|
+
var _a;
|
8539
8537
|
let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
|
8540
8538
|
let tempAppNode = {
|
8541
8539
|
lookup: appLookup,
|
8542
8540
|
name: tempApp.Application.Name,
|
8543
8541
|
url: 'https://' +
|
8544
|
-
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.
|
8542
|
+
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.PrimaryHost) +
|
8545
8543
|
this.AppRoute,
|
8546
8544
|
description: tempApp.Application.Description,
|
8547
8545
|
routerLink: [
|
@@ -8680,28 +8678,26 @@ class RouteCardComponent {
|
|
8680
8678
|
if (this.ApplicationRoutes) {
|
8681
8679
|
// let tempProjChildren: Array<TreeNode> = [];
|
8682
8680
|
this.ApplicationRoutes.forEach((appRoute) => {
|
8683
|
-
var _a
|
8681
|
+
var _a;
|
8684
8682
|
this.AppRoute = appRoute;
|
8685
8683
|
// routerLink: ['/route', this.AppRoute, this.ProjectLookup],
|
8686
8684
|
let tempRouteNode = {
|
8687
8685
|
name: this.AppRoute,
|
8688
|
-
url: 'https://' +
|
8689
|
-
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.Hosts[((_c = (_b = this.Project) === null || _b === void 0 ? void 0 : _b.Hosts) === null || _c === void 0 ? void 0 : _c.length) - 1]) +
|
8690
|
-
this.AppRoute,
|
8686
|
+
url: 'https://' + ((_a = this.Project) === null || _a === void 0 ? void 0 : _a.PrimaryHost) + this.AppRoute,
|
8691
8687
|
routerLink: ['/route', this.AppRoute, this.ProjectLookup],
|
8692
8688
|
};
|
8693
8689
|
let tempApps = this.CurrentRouteApplicationLookups;
|
8694
8690
|
if (tempApps) {
|
8695
8691
|
let tempRouteChildren = [];
|
8696
8692
|
tempApps.forEach((appLookup) => {
|
8697
|
-
var _a, _b, _c
|
8693
|
+
var _a, _b, _c;
|
8698
8694
|
let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
|
8699
8695
|
let appPath = (_a = tempApp.LookupConfig) === null || _a === void 0 ? void 0 : _a.PathRegex.substring(0, ((_b = tempApp.LookupConfig) === null || _b === void 0 ? void 0 : _b.PathRegex.length) - 2);
|
8700
8696
|
let tempAppNode = {
|
8701
8697
|
lookup: appLookup,
|
8702
8698
|
name: tempApp.Application.Name,
|
8703
8699
|
url: 'https://' +
|
8704
|
-
((_c = this.Project) === null || _c === void 0 ? void 0 : _c.
|
8700
|
+
((_c = this.Project) === null || _c === void 0 ? void 0 : _c.PrimaryHost) +
|
8705
8701
|
appPath,
|
8706
8702
|
description: tempApp.Application.Description,
|
8707
8703
|
routerLink: [
|
@@ -8859,16 +8855,14 @@ class ApplicationsCardComponent {
|
|
8859
8855
|
if (tempApps) {
|
8860
8856
|
let tempRouteChildren = [];
|
8861
8857
|
tempApps.forEach((appLookup) => {
|
8862
|
-
var _a, _b, _c
|
8858
|
+
var _a, _b, _c;
|
8863
8859
|
let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
|
8864
8860
|
console.log('tempApp: ', tempApp);
|
8865
8861
|
let appPath = (_a = tempApp.LookupConfig) === null || _a === void 0 ? void 0 : _a.PathRegex.substring(0, ((_b = tempApp.LookupConfig) === null || _b === void 0 ? void 0 : _b.PathRegex.length) - 2);
|
8866
8862
|
let tempAppNode = {
|
8867
8863
|
lookup: appLookup,
|
8868
8864
|
name: tempApp.Application.Name,
|
8869
|
-
url: 'https://' +
|
8870
|
-
((_c = this.Project) === null || _c === void 0 ? void 0 : _c.Hosts[((_e = (_d = this.Project) === null || _d === void 0 ? void 0 : _d.Hosts) === null || _e === void 0 ? void 0 : _e.length) - 1]) +
|
8871
|
-
appPath,
|
8865
|
+
url: 'https://' + ((_c = this.Project) === null || _c === void 0 ? void 0 : _c.PrimaryHost) + appPath,
|
8872
8866
|
description: tempApp.Application.Description,
|
8873
8867
|
routerLink: [
|
8874
8868
|
'/application',
|
@@ -8891,26 +8885,24 @@ class ApplicationsCardComponent {
|
|
8891
8885
|
if (tempRoutes) {
|
8892
8886
|
// let tempProjChildren: Array<TreeNode> = [];
|
8893
8887
|
tempRoutes.forEach((appRoute) => {
|
8894
|
-
var _a
|
8888
|
+
var _a;
|
8895
8889
|
this.AppRoute = appRoute;
|
8896
8890
|
let tempRouteNode = {
|
8897
8891
|
name: this.AppRoute,
|
8898
|
-
url: 'https://' +
|
8899
|
-
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.Hosts[((_c = (_b = this.Project) === null || _b === void 0 ? void 0 : _b.Hosts) === null || _c === void 0 ? void 0 : _c.length) - 1]) +
|
8900
|
-
this.AppRoute,
|
8892
|
+
url: 'https://' + ((_a = this.Project) === null || _a === void 0 ? void 0 : _a.PrimaryHost) + this.AppRoute,
|
8901
8893
|
routerLink: ['/route', this.AppRoute, this.ProjectLookup],
|
8902
8894
|
};
|
8903
8895
|
let tempApps = this.CurrentRouteApplicationLookups;
|
8904
8896
|
if (tempApps) {
|
8905
8897
|
let tempRouteChildren = [];
|
8906
8898
|
tempApps.forEach((appLookup) => {
|
8907
|
-
var _a
|
8899
|
+
var _a;
|
8908
8900
|
let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
|
8909
8901
|
let tempAppNode = {
|
8910
8902
|
lookup: appLookup,
|
8911
8903
|
name: tempApp.Application.Name,
|
8912
8904
|
url: 'https://' +
|
8913
|
-
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.
|
8905
|
+
((_a = this.Project) === null || _a === void 0 ? void 0 : _a.PrimaryHost) +
|
8914
8906
|
this.AppRoute,
|
8915
8907
|
description: tempApp.Application.Description,
|
8916
8908
|
routerLink: [
|