@lowcodeunit/applications-flow-common 1.36.196-social-ui-performance-issues → 1.36.199-social-ui-cards-rework
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/controls/build-pipeline-form/build-pipeline-form.component.mjs +4 -4
- package/esm2020/lib/controls/connected-source/connected-source.component.mjs +4 -4
- package/esm2020/lib/controls/devops-source-control-form/devops-source-control-form.component.mjs +4 -4
- package/esm2020/lib/controls/dfs-modifiers-form/dfs-modifiers-form.component.mjs +4 -7
- package/esm2020/lib/controls/edit-application-form/edit-application-form.component.mjs +4 -4
- package/esm2020/lib/controls/edit-project-form/edit-project-form.component.mjs +4 -4
- package/esm2020/lib/controls/emulated-devices-toggle/emulated-devices-toggle.component.mjs +4 -4
- package/esm2020/lib/controls/processor-details-form/processor-details-form.component.mjs +4 -7
- package/esm2020/lib/controls/security-toggle/security-toggle.component.mjs +4 -4
- package/esm2020/lib/controls/state-config-form/state-config-form.component.mjs +4 -7
- package/esm2020/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.mjs +4 -5
- package/esm2020/lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component.mjs +4 -7
- package/esm2020/lib/dialogs/edit-application-dialog/edit-application-dialog.component.mjs +4 -1
- package/esm2020/lib/dialogs/edit-project-dialog/edit-project-dialog.component.mjs +4 -5
- package/esm2020/lib/dialogs/feed-header-dialog/feed-header-dialog.component.mjs +4 -7
- package/esm2020/lib/dialogs/new-application-dialog/new-application-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/processor-details-dialog/processor-details-dialog.component.mjs +5 -9
- package/esm2020/lib/dialogs/source-control-dialog/source-control-dialog.component.mjs +4 -5
- package/esm2020/lib/dialogs/state-config-dialog/state-config-dialog.component.mjs +5 -9
- package/esm2020/lib/elements/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2020/lib/elements/feed-header/feed-header.component.mjs +4 -5
- package/esm2020/lib/elements/main-feed-card/main-feed-card.component.mjs +4 -7
- package/esm2020/lib/elements/project-info-card/project-info-card.component.mjs +4 -4
- package/esm2020/lib/elements/projects/projects.component.mjs +4 -7
- package/esm2020/lib/elements/slotted-card/slotted-card.component.mjs +4 -5
- package/esm2020/lib/services/eac.service.mjs +45 -46
- package/esm2020/lib/services/project.service.mjs +2 -3
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +123 -157
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +123 -155
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/lib/controls/build-pipeline-form/build-pipeline-form.component.d.ts +1 -1
- package/lib/controls/connected-source/connected-source.component.d.ts +1 -1
- package/lib/controls/devops-source-control-form/devops-source-control-form.component.d.ts +1 -1
- package/lib/controls/dfs-modifiers-form/dfs-modifiers-form.component.d.ts +1 -1
- package/lib/controls/edit-application-form/edit-application-form.component.d.ts +1 -1
- package/lib/controls/edit-project-form/edit-project-form.component.d.ts +1 -1
- package/lib/controls/emulated-devices-toggle/emulated-devices-toggle.component.d.ts +1 -1
- package/lib/controls/processor-details-form/processor-details-form.component.d.ts +1 -1
- package/lib/controls/security-toggle/security-toggle.component.d.ts +1 -1
- package/lib/controls/state-config-form/state-config-form.component.d.ts +1 -1
- package/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.d.ts +1 -1
- package/lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component.d.ts +1 -1
- package/lib/dialogs/edit-application-dialog/edit-application-dialog.component.d.ts +1 -1
- package/lib/dialogs/edit-project-dialog/edit-project-dialog.component.d.ts +1 -1
- package/lib/dialogs/feed-header-dialog/feed-header-dialog.component.d.ts +1 -1
- package/lib/dialogs/new-application-dialog/new-application-dialog.component.d.ts +1 -1
- package/lib/dialogs/processor-details-dialog/processor-details-dialog.component.d.ts +1 -1
- package/lib/dialogs/source-control-dialog/source-control-dialog.component.d.ts +1 -1
- package/lib/dialogs/state-config-dialog/state-config-dialog.component.d.ts +1 -1
- package/lib/elements/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/elements/feed-header/feed-header.component.d.ts +1 -1
- package/lib/elements/main-feed-card/main-feed-card.component.d.ts +1 -1
- package/lib/elements/project-info-card/project-info-card.component.d.ts +1 -1
- package/lib/elements/projects/projects.component.d.ts +1 -1
- package/lib/elements/slotted-card/slotted-card.component.d.ts +1 -1
- package/lib/services/eac.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Component, Input, EventEmitter, Output, ViewChild, ViewContainerRef, Inject, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
|
-
import { Subject,
|
|
3
|
+
import { Subject, Observable } from 'rxjs';
|
|
4
4
|
import { __awaiter } from 'tslib';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -461,11 +461,9 @@ class ProjectService {
|
|
|
461
461
|
}
|
|
462
462
|
HasValidConnection(state, forceEnsureUser = false) {
|
|
463
463
|
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
464
|
-
console.log('State has valid conn: ', state);
|
|
465
464
|
state.Loading = true;
|
|
466
465
|
this.appsFlowSvc.HasValidConnection().subscribe((response) => __awaiter(this, void 0, void 0, function* () {
|
|
467
|
-
|
|
468
|
-
state.GitHub.HasConnection = ((_a = response === null || response === void 0 ? void 0 : response.Status) === null || _a === void 0 ? void 0 : _a.Code) === 0;
|
|
466
|
+
state.GitHub.HasConnection = response.Status.Code === 0;
|
|
469
467
|
if (state.GitHub.HasConnection || forceEnsureUser) {
|
|
470
468
|
}
|
|
471
469
|
else {
|
|
@@ -868,7 +866,7 @@ class EaCService {
|
|
|
868
866
|
constructor(projectService, http) {
|
|
869
867
|
this.projectService = projectService;
|
|
870
868
|
this.http = http;
|
|
871
|
-
this.State = new
|
|
869
|
+
this.State = new ApplicationsFlowState();
|
|
872
870
|
}
|
|
873
871
|
// Properties
|
|
874
872
|
get EditingProjectLookup() {
|
|
@@ -882,17 +880,16 @@ class EaCService {
|
|
|
882
880
|
return this.http.get(feedItem.RefreshLink);
|
|
883
881
|
}
|
|
884
882
|
DeleteApplication(appLookup, appName) {
|
|
885
|
-
var _a, _b, _c;
|
|
886
883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
887
884
|
if (confirm(`Are you sure you want to delete application '${appName}'?`)) {
|
|
888
885
|
const eac = {
|
|
889
|
-
EnterpriseLookup:
|
|
886
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
890
887
|
Applications: {},
|
|
891
888
|
};
|
|
892
889
|
eac.Applications[appLookup] = {
|
|
893
890
|
Application: {},
|
|
894
891
|
};
|
|
895
|
-
return yield this.projectService.EnterpriseAsCodeRemovals(this.State
|
|
892
|
+
return yield this.projectService.EnterpriseAsCodeRemovals(this.State, eac);
|
|
896
893
|
}
|
|
897
894
|
});
|
|
898
895
|
}
|
|
@@ -900,14 +897,14 @@ class EaCService {
|
|
|
900
897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
901
898
|
if (confirm(`Are you sure you want to delete Build Pipeline '${doaName}'?`)) {
|
|
902
899
|
const eac = {
|
|
903
|
-
EnterpriseLookup: this.State.
|
|
900
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
904
901
|
Environments: {},
|
|
905
902
|
};
|
|
906
|
-
eac.Environments[this.State.
|
|
903
|
+
eac.Environments[this.State.EaC.Enterprise.PrimaryEnvironment] = {
|
|
907
904
|
DevOpsActions: {},
|
|
908
905
|
};
|
|
909
|
-
eac.Environments[this.State.
|
|
910
|
-
return yield this.projectService.EnterpriseAsCodeRemovals(this.State
|
|
906
|
+
eac.Environments[this.State.EaC.Enterprise.PrimaryEnvironment].DevOpsActions[doaLookup] = {};
|
|
907
|
+
return yield this.projectService.EnterpriseAsCodeRemovals(this.State, eac);
|
|
911
908
|
}
|
|
912
909
|
});
|
|
913
910
|
}
|
|
@@ -915,11 +912,11 @@ class EaCService {
|
|
|
915
912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
916
913
|
if (confirm(`Are you sure you want to delete Modifier '${modifierName}'?`)) {
|
|
917
914
|
const eac = {
|
|
918
|
-
EnterpriseLookup: this.State.
|
|
915
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
919
916
|
Modifiers: {},
|
|
920
917
|
};
|
|
921
918
|
eac.Modifiers[modifierLookup] = {};
|
|
922
|
-
return yield this.projectService.EnterpriseAsCodeRemovals(this.State
|
|
919
|
+
return yield this.projectService.EnterpriseAsCodeRemovals(this.State, eac);
|
|
923
920
|
}
|
|
924
921
|
});
|
|
925
922
|
}
|
|
@@ -927,13 +924,13 @@ class EaCService {
|
|
|
927
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
928
925
|
if (confirm(`Are you sure you want to delete Project '${projectName}'?`)) {
|
|
929
926
|
const eac = {
|
|
930
|
-
EnterpriseLookup: this.State.
|
|
927
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
931
928
|
Projects: {},
|
|
932
929
|
};
|
|
933
930
|
eac.Projects[projectLookup] = {
|
|
934
931
|
Project: {},
|
|
935
932
|
};
|
|
936
|
-
return yield this.projectService.EnterpriseAsCodeRemovals(this.State
|
|
933
|
+
return yield this.projectService.EnterpriseAsCodeRemovals(this.State, eac);
|
|
937
934
|
}
|
|
938
935
|
});
|
|
939
936
|
}
|
|
@@ -941,14 +938,14 @@ class EaCService {
|
|
|
941
938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
942
939
|
if (confirm(`Are you sure you want to delete Source Control '${srcName}'?`)) {
|
|
943
940
|
const eac = {
|
|
944
|
-
EnterpriseLookup: this.State.
|
|
941
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
945
942
|
Environments: {},
|
|
946
943
|
};
|
|
947
|
-
eac.Environments[this.State.
|
|
944
|
+
eac.Environments[this.State.EaC.Enterprise.PrimaryEnvironment] = {
|
|
948
945
|
Sources: {},
|
|
949
946
|
};
|
|
950
|
-
eac.Environments[this.State.
|
|
951
|
-
return yield this.projectService.EnterpriseAsCodeRemovals(this.State
|
|
947
|
+
eac.Environments[this.State.EaC.Enterprise.PrimaryEnvironment].Sources[srcLookup] = {};
|
|
948
|
+
return yield this.projectService.EnterpriseAsCodeRemovals(this.State, eac);
|
|
952
949
|
}
|
|
953
950
|
});
|
|
954
951
|
}
|
|
@@ -957,50 +954,50 @@ class EaCService {
|
|
|
957
954
|
// });
|
|
958
955
|
EnsureUserEnterprise() {
|
|
959
956
|
return __awaiter(this, void 0, void 0, function* () {
|
|
960
|
-
yield this.projectService.EnsureUserEnterprise(this.State
|
|
957
|
+
yield this.projectService.EnsureUserEnterprise(this.State);
|
|
961
958
|
});
|
|
962
959
|
}
|
|
963
960
|
EnterpriseAsCodeRemovals(eac) {
|
|
964
961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
965
|
-
return this.projectService.EnterpriseAsCodeRemovals(this.State
|
|
962
|
+
return this.projectService.EnterpriseAsCodeRemovals(this.State, eac);
|
|
966
963
|
});
|
|
967
964
|
}
|
|
968
965
|
GetActiveEnterprise() {
|
|
969
966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
970
|
-
yield this.projectService.GetActiveEnterprise(this.State
|
|
967
|
+
yield this.projectService.GetActiveEnterprise(this.State);
|
|
971
968
|
});
|
|
972
969
|
}
|
|
973
970
|
LoadUserFeed(page, pageSize, forCheck = false) {
|
|
974
971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
975
|
-
yield this.projectService.LoadUserFeed(page, pageSize, forCheck, this.State
|
|
972
|
+
yield this.projectService.LoadUserFeed(page, pageSize, forCheck, this.State);
|
|
976
973
|
});
|
|
977
974
|
}
|
|
978
975
|
GenerateRoutedApplications(applications) {
|
|
979
|
-
return this.projectService.GenerateRoutedApplications(applications, this.State
|
|
976
|
+
return this.projectService.GenerateRoutedApplications(applications, this.State);
|
|
980
977
|
}
|
|
981
978
|
HasValidConnection() {
|
|
982
979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
983
|
-
yield this.projectService.HasValidConnection(this.State
|
|
980
|
+
yield this.projectService.HasValidConnection(this.State);
|
|
984
981
|
});
|
|
985
982
|
}
|
|
986
983
|
ListEnterprises() {
|
|
987
984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
988
|
-
yield this.projectService.ListEnterprises(this.State
|
|
985
|
+
yield this.projectService.ListEnterprises(this.State);
|
|
989
986
|
});
|
|
990
987
|
}
|
|
991
988
|
LoadEnterpriseAsCode() {
|
|
992
989
|
return __awaiter(this, void 0, void 0, function* () {
|
|
993
|
-
yield this.projectService.LoadEnterpriseAsCode(this.State
|
|
990
|
+
yield this.projectService.LoadEnterpriseAsCode(this.State);
|
|
994
991
|
});
|
|
995
992
|
}
|
|
996
993
|
ReloadFeed() {
|
|
997
|
-
if (this.State.
|
|
998
|
-
this.State.
|
|
999
|
-
this.State.
|
|
1000
|
-
this.State.
|
|
1001
|
-
this.State.
|
|
994
|
+
if (this.State.FeedCheck) {
|
|
995
|
+
this.State.Feed = this.State.FeedCheck.Items;
|
|
996
|
+
this.State.FeedActions = this.State.FeedCheck.Actions;
|
|
997
|
+
this.State.FeedSourceControlLookups =
|
|
998
|
+
this.State.FeedCheck.SourceControlLookups;
|
|
1002
999
|
}
|
|
1003
|
-
this.State.
|
|
1000
|
+
this.State.FeedCheck = null;
|
|
1004
1001
|
}
|
|
1005
1002
|
SaveApplicationAsCode(req) {
|
|
1006
1003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1014,7 +1011,7 @@ class EaCService {
|
|
|
1014
1011
|
}
|
|
1015
1012
|
SaveEnterpriseAsCode(eac) {
|
|
1016
1013
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1017
|
-
return yield this.projectService.SaveEnterpriseAsCode(this.State
|
|
1014
|
+
return yield this.projectService.SaveEnterpriseAsCode(this.State, eac);
|
|
1018
1015
|
});
|
|
1019
1016
|
}
|
|
1020
1017
|
SaveEnvironmentAsCode(req) {
|
|
@@ -1029,7 +1026,7 @@ class EaCService {
|
|
|
1029
1026
|
}
|
|
1030
1027
|
SetActiveEnterprise(entLookup) {
|
|
1031
1028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1032
|
-
this.projectService.SetActiveEnterprise(this.State
|
|
1029
|
+
this.projectService.SetActiveEnterprise(this.State, entLookup);
|
|
1033
1030
|
});
|
|
1034
1031
|
}
|
|
1035
1032
|
SetCreatingProject(creatingProject) {
|
|
@@ -1039,18 +1036,18 @@ class EaCService {
|
|
|
1039
1036
|
}
|
|
1040
1037
|
SetEditProjectSettings(projectLookup) {
|
|
1041
1038
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1042
|
-
yield this.projectService.SetEditProjectSettings(this.State
|
|
1039
|
+
yield this.projectService.SetEditProjectSettings(this.State, projectLookup);
|
|
1043
1040
|
});
|
|
1044
1041
|
}
|
|
1045
1042
|
SubmitFeedEntry(entry) {
|
|
1046
1043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1047
|
-
return yield this.projectService.SubmitFeedEntry(this.State
|
|
1044
|
+
return yield this.projectService.SubmitFeedEntry(this.State, entry);
|
|
1048
1045
|
});
|
|
1049
1046
|
}
|
|
1050
1047
|
UnpackLowCodeUnit(req) {
|
|
1051
1048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1052
1049
|
if (confirm(`Are you sure you want to unpack application '${req.ApplicationName}' with version '${req.Version}'?`)) {
|
|
1053
|
-
yield this.projectService.UnpackLowCodeUnit(this.State
|
|
1050
|
+
yield this.projectService.UnpackLowCodeUnit(this.State, req);
|
|
1054
1051
|
}
|
|
1055
1052
|
});
|
|
1056
1053
|
}
|
|
@@ -1058,7 +1055,7 @@ class EaCService {
|
|
|
1058
1055
|
handleSaveApplication(req) {
|
|
1059
1056
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1060
1057
|
const saveEaC = {
|
|
1061
|
-
EnterpriseLookup: this.State.
|
|
1058
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
1062
1059
|
Applications: {},
|
|
1063
1060
|
Projects: {},
|
|
1064
1061
|
};
|
|
@@ -1073,13 +1070,13 @@ class EaCService {
|
|
|
1073
1070
|
if (req.Application) {
|
|
1074
1071
|
saveEaC.Applications[req.ApplicationLookup] = req.Application;
|
|
1075
1072
|
}
|
|
1076
|
-
return yield this.projectService.SaveEnterpriseAsCode(this.State
|
|
1073
|
+
return yield this.projectService.SaveEnterpriseAsCode(this.State, saveEaC);
|
|
1077
1074
|
});
|
|
1078
1075
|
}
|
|
1079
1076
|
handleSaveDFSModifier(req) {
|
|
1080
1077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1081
1078
|
const saveEaC = {
|
|
1082
|
-
EnterpriseLookup: this.State.
|
|
1079
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
1083
1080
|
Modifiers: {},
|
|
1084
1081
|
Projects: {},
|
|
1085
1082
|
Applications: {},
|
|
@@ -1101,14 +1098,14 @@ class EaCService {
|
|
|
1101
1098
|
ModifierLookups: req.ModifierLookups,
|
|
1102
1099
|
};
|
|
1103
1100
|
}
|
|
1104
|
-
yield this.projectService.SaveEnterpriseAsCode(this.State
|
|
1101
|
+
yield this.projectService.SaveEnterpriseAsCode(this.State, saveEaC);
|
|
1105
1102
|
});
|
|
1106
1103
|
}
|
|
1107
1104
|
handleSaveEnvironment(req) {
|
|
1108
1105
|
var _a, _b;
|
|
1109
1106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1110
1107
|
const saveEaC = {
|
|
1111
|
-
EnterpriseLookup: (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.
|
|
1108
|
+
EnterpriseLookup: (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.EnterpriseLookup,
|
|
1112
1109
|
DataTokens: {},
|
|
1113
1110
|
Environments: {},
|
|
1114
1111
|
};
|
|
@@ -1118,7 +1115,7 @@ class EaCService {
|
|
|
1118
1115
|
if (req.EnterpriseDataTokens) {
|
|
1119
1116
|
saveEaC.DataTokens = req.EnterpriseDataTokens;
|
|
1120
1117
|
}
|
|
1121
|
-
return yield this.projectService.SaveEnterpriseAsCode(this.State
|
|
1118
|
+
return yield this.projectService.SaveEnterpriseAsCode(this.State, saveEaC);
|
|
1122
1119
|
});
|
|
1123
1120
|
}
|
|
1124
1121
|
handleSaveProject(projectLookup, project) {
|
|
@@ -1126,17 +1123,17 @@ class EaCService {
|
|
|
1126
1123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1127
1124
|
const projHosts = {};
|
|
1128
1125
|
(_a = project === null || project === void 0 ? void 0 : project.Hosts) === null || _a === void 0 ? void 0 : _a.forEach((host) => {
|
|
1129
|
-
projHosts[host] = this.State.
|
|
1126
|
+
projHosts[host] = this.State.EaC.Hosts[host];
|
|
1130
1127
|
});
|
|
1131
1128
|
const saveEaC = {
|
|
1132
|
-
EnterpriseLookup: this.State.
|
|
1133
|
-
Enterprise: Object.assign(Object.assign({}, this.State.
|
|
1129
|
+
EnterpriseLookup: this.State.EaC.EnterpriseLookup,
|
|
1130
|
+
Enterprise: Object.assign(Object.assign({}, this.State.EaC.Enterprise), { PrimaryHost: project.Hosts[0] }),
|
|
1134
1131
|
Hosts: projHosts,
|
|
1135
1132
|
// Providers: this.State.EaC.Providers, // TODO: Remove after all providers ADB2C's have been upgraded
|
|
1136
1133
|
Projects: {},
|
|
1137
1134
|
};
|
|
1138
1135
|
saveEaC.Projects[projectLookup] = project;
|
|
1139
|
-
let status = yield this.projectService.SaveEnterpriseAsCode(this.State
|
|
1136
|
+
let status = yield this.projectService.SaveEnterpriseAsCode(this.State, saveEaC);
|
|
1140
1137
|
this.SetEditProjectSettings(projectLookup);
|
|
1141
1138
|
return status;
|
|
1142
1139
|
});
|
|
@@ -3114,9 +3111,6 @@ class ApplicationsFlowProjectsContext extends LCUElementContext {
|
|
|
3114
3111
|
}
|
|
3115
3112
|
const SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT = 'applications-flow-projects-element';
|
|
3116
3113
|
class ApplicationsFlowProjectsElementComponent extends LcuElementComponent {
|
|
3117
|
-
// public get State(): ApplicationsFlowState {
|
|
3118
|
-
// return this.eacSvc.State;
|
|
3119
|
-
// }
|
|
3120
3114
|
// Constructors
|
|
3121
3115
|
constructor(injector, appsFlowSvc, eacSvc) {
|
|
3122
3116
|
super(injector);
|
|
@@ -3151,13 +3145,13 @@ class ApplicationsFlowProjectsElementComponent extends LcuElementComponent {
|
|
|
3151
3145
|
var _a, _b;
|
|
3152
3146
|
return Object.keys(((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects) || {});
|
|
3153
3147
|
}
|
|
3148
|
+
get State() {
|
|
3149
|
+
return this.eacSvc.State;
|
|
3150
|
+
}
|
|
3154
3151
|
// Life Cycle
|
|
3155
3152
|
ngOnDestroy() { }
|
|
3156
3153
|
ngOnInit() {
|
|
3157
3154
|
super.ngOnInit();
|
|
3158
|
-
this.eacSvc.State.subscribe((state) => {
|
|
3159
|
-
this.State = state;
|
|
3160
|
-
});
|
|
3161
3155
|
this.handleStateChange().then((eac) => { });
|
|
3162
3156
|
// this.setupProjectMonitor();
|
|
3163
3157
|
}
|
|
@@ -3786,11 +3780,10 @@ class SlottedCardComponent {
|
|
|
3786
3780
|
this.MainIcon = 'add';
|
|
3787
3781
|
this.ShowMainIcon = true;
|
|
3788
3782
|
}
|
|
3789
|
-
|
|
3790
|
-
this.eacSvc.State
|
|
3791
|
-
this.State = state;
|
|
3792
|
-
});
|
|
3783
|
+
get State() {
|
|
3784
|
+
return this.eacSvc.State;
|
|
3793
3785
|
}
|
|
3786
|
+
ngOnInit() { }
|
|
3794
3787
|
MainActionClickEvent() {
|
|
3795
3788
|
this.MainActionClicked.emit({});
|
|
3796
3789
|
}
|
|
@@ -3837,13 +3830,13 @@ class ProjectInfoCardComponent {
|
|
|
3837
3830
|
this.RightClickEvent = new EventEmitter();
|
|
3838
3831
|
this.SkeletonEffect = 'wave';
|
|
3839
3832
|
}
|
|
3833
|
+
get State() {
|
|
3834
|
+
return this.eacSvc.State;
|
|
3835
|
+
}
|
|
3840
3836
|
ngOnInit() {
|
|
3841
3837
|
// console.log("loading = ", this.Loading)
|
|
3842
3838
|
// console.log("is shareable: ", this.IsShareable);
|
|
3843
3839
|
// console.log("is editable: ", this.IsEditable);
|
|
3844
|
-
this.eacSvc.State.subscribe((state) => {
|
|
3845
|
-
this.State = state;
|
|
3846
|
-
});
|
|
3847
3840
|
}
|
|
3848
3841
|
LeftIconClicked() {
|
|
3849
3842
|
this.LeftClickEvent.emit({});
|
|
@@ -4029,15 +4022,15 @@ class DevopsSourceControlFormComponent {
|
|
|
4029
4022
|
get RepositoryFormControl() {
|
|
4030
4023
|
return this.DevOpsSourceControlFormGroup.get(this.SourceControlRoot + 'repository');
|
|
4031
4024
|
}
|
|
4025
|
+
get State() {
|
|
4026
|
+
return this.eacSvc.State;
|
|
4027
|
+
}
|
|
4032
4028
|
// Life Cycle
|
|
4033
4029
|
ngAfterViewInit() { }
|
|
4034
4030
|
ngOnDestroy() {
|
|
4035
4031
|
this.destroyFormControls();
|
|
4036
4032
|
}
|
|
4037
4033
|
ngOnInit() {
|
|
4038
|
-
this.eacSvc.State.subscribe((state) => {
|
|
4039
|
-
this.State = state;
|
|
4040
|
-
});
|
|
4041
4034
|
console.log('source control lookup', this.EditingSourceControlLookup);
|
|
4042
4035
|
if (this.EditingSourceControlLookup === null) {
|
|
4043
4036
|
this.CreateNewSourceControl();
|
|
@@ -4335,11 +4328,10 @@ class SourceControlDialogComponent {
|
|
|
4335
4328
|
get HasConnection() {
|
|
4336
4329
|
return this.State.GitHub.HasConnection;
|
|
4337
4330
|
}
|
|
4338
|
-
|
|
4339
|
-
this.eacSvc.State
|
|
4340
|
-
this.State = state;
|
|
4341
|
-
});
|
|
4331
|
+
get State() {
|
|
4332
|
+
return this.eacSvc.State;
|
|
4342
4333
|
}
|
|
4334
|
+
ngOnInit() { }
|
|
4343
4335
|
CloseDialog() {
|
|
4344
4336
|
this.dialogRef.close();
|
|
4345
4337
|
}
|
|
@@ -4481,9 +4473,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
4481
4473
|
}] } });
|
|
4482
4474
|
|
|
4483
4475
|
class MainFeedCardComponent {
|
|
4484
|
-
// public get State(): ApplicationsFlowState {
|
|
4485
|
-
// return this.eacSvc.State;
|
|
4486
|
-
// }
|
|
4487
4476
|
constructor(eacSvc, dialog, sanitizer, formBuilder) {
|
|
4488
4477
|
this.eacSvc = eacSvc;
|
|
4489
4478
|
this.dialog = dialog;
|
|
@@ -4537,6 +4526,9 @@ class MainFeedCardComponent {
|
|
|
4537
4526
|
return 'gray';
|
|
4538
4527
|
}
|
|
4539
4528
|
}
|
|
4529
|
+
get State() {
|
|
4530
|
+
return this.eacSvc.State;
|
|
4531
|
+
}
|
|
4540
4532
|
// Life Cycle
|
|
4541
4533
|
ngOnDestroy() {
|
|
4542
4534
|
if (this.checkTimeout) {
|
|
@@ -4544,9 +4536,6 @@ class MainFeedCardComponent {
|
|
|
4544
4536
|
}
|
|
4545
4537
|
}
|
|
4546
4538
|
ngOnInit() {
|
|
4547
|
-
this.eacSvc.State.subscribe((state) => {
|
|
4548
|
-
this.State = state;
|
|
4549
|
-
});
|
|
4550
4539
|
this.handleRefresh();
|
|
4551
4540
|
this.SanitizeVideos();
|
|
4552
4541
|
}
|
|
@@ -4726,10 +4715,10 @@ class SecurityToggleComponent {
|
|
|
4726
4715
|
var _a;
|
|
4727
4716
|
return (_a = this.SecurityFormGroup) === null || _a === void 0 ? void 0 : _a.controls.isTriggerSignIn;
|
|
4728
4717
|
}
|
|
4718
|
+
get State() {
|
|
4719
|
+
return this.eacSvc.State;
|
|
4720
|
+
}
|
|
4729
4721
|
ngOnInit() {
|
|
4730
|
-
this.eacSvc.State.subscribe((state) => {
|
|
4731
|
-
this.State = state;
|
|
4732
|
-
});
|
|
4733
4722
|
this.setupSecurityFormGroup();
|
|
4734
4723
|
}
|
|
4735
4724
|
SecuritySubmit() {
|
|
@@ -4842,9 +4831,9 @@ class ProcessorDetailsFormComponent {
|
|
|
4842
4831
|
var _a;
|
|
4843
4832
|
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.security;
|
|
4844
4833
|
}
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4834
|
+
get State() {
|
|
4835
|
+
return this.eacSvc.State;
|
|
4836
|
+
}
|
|
4848
4837
|
get SourceControls() {
|
|
4849
4838
|
var _a;
|
|
4850
4839
|
return ((_a = this.Environment) === null || _a === void 0 ? void 0 : _a.Sources) || {};
|
|
@@ -4881,9 +4870,6 @@ class ProcessorDetailsFormComponent {
|
|
|
4881
4870
|
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.zipFile;
|
|
4882
4871
|
}
|
|
4883
4872
|
ngOnInit() {
|
|
4884
|
-
this.eacSvc.State.subscribe((state) => {
|
|
4885
|
-
this.State = state;
|
|
4886
|
-
});
|
|
4887
4873
|
if (!this.EditingApplication) {
|
|
4888
4874
|
this.CreateNewApplication();
|
|
4889
4875
|
}
|
|
@@ -5330,10 +5316,10 @@ class BuildPipelineFormComponent {
|
|
|
5330
5316
|
get SourceControls() {
|
|
5331
5317
|
return this.Environment.Sources || {};
|
|
5332
5318
|
}
|
|
5319
|
+
get State() {
|
|
5320
|
+
return this.eacSvc.State;
|
|
5321
|
+
}
|
|
5333
5322
|
ngOnInit() {
|
|
5334
|
-
this.eacSvc.State.subscribe((state) => {
|
|
5335
|
-
this.State = state;
|
|
5336
|
-
});
|
|
5337
5323
|
// console.log('BuildPipeline = ', this.BuildPipeline)
|
|
5338
5324
|
// this.BuildPipelineFormGroup = this.formBuilder.group({});
|
|
5339
5325
|
// if (this.BuildPipelineFormGroup != null) {
|
|
@@ -5509,11 +5495,10 @@ class BuildPipelineDialogComponent {
|
|
|
5509
5495
|
get HasConnection() {
|
|
5510
5496
|
return this.State.GitHub.HasConnection;
|
|
5511
5497
|
}
|
|
5512
|
-
|
|
5513
|
-
this.eacSvc.State
|
|
5514
|
-
this.State = state;
|
|
5515
|
-
});
|
|
5498
|
+
get State() {
|
|
5499
|
+
return this.eacSvc.State;
|
|
5516
5500
|
}
|
|
5501
|
+
ngOnInit() { }
|
|
5517
5502
|
CloseDialog() {
|
|
5518
5503
|
this.dialogRef.close();
|
|
5519
5504
|
}
|
|
@@ -5574,10 +5559,10 @@ class EditApplicationFormComponent {
|
|
|
5574
5559
|
var _a;
|
|
5575
5560
|
return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.route;
|
|
5576
5561
|
}
|
|
5562
|
+
get State() {
|
|
5563
|
+
return this.eacSvc.State;
|
|
5564
|
+
}
|
|
5577
5565
|
ngOnInit() {
|
|
5578
|
-
this.eacSvc.State.subscribe((state) => {
|
|
5579
|
-
this.State = state;
|
|
5580
|
-
});
|
|
5581
5566
|
this.setupApplicationForm();
|
|
5582
5567
|
}
|
|
5583
5568
|
SubmitApplicationControl() {
|
|
@@ -5755,10 +5740,10 @@ class BreadcrumbComponent {
|
|
|
5755
5740
|
var _a, _b;
|
|
5756
5741
|
return ((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects[this.ProjectLookup]) || {};
|
|
5757
5742
|
}
|
|
5743
|
+
get State() {
|
|
5744
|
+
return this.eacSvc.State;
|
|
5745
|
+
}
|
|
5758
5746
|
ngOnInit() {
|
|
5759
|
-
this.eacSvc.State.subscribe((state) => {
|
|
5760
|
-
this.State = state;
|
|
5761
|
-
});
|
|
5762
5747
|
this.handleStateChange().then((eac) => { });
|
|
5763
5748
|
// console.log("state: ", this.State)
|
|
5764
5749
|
// console.log('selected enterprise: ', this.Enterprise);
|
|
@@ -5827,6 +5812,9 @@ class EditApplicationDialogComponent {
|
|
|
5827
5812
|
var _a;
|
|
5828
5813
|
return (_a = this.EditApplicationControl) === null || _a === void 0 ? void 0 : _a.ApplicationFormGroup;
|
|
5829
5814
|
}
|
|
5815
|
+
get State() {
|
|
5816
|
+
return this.eacSvc.State;
|
|
5817
|
+
}
|
|
5830
5818
|
ngOnInit() { }
|
|
5831
5819
|
CloseDialog() {
|
|
5832
5820
|
this.dialogRef.close();
|
|
@@ -5881,10 +5869,10 @@ class NewApplicationDialogComponent {
|
|
|
5881
5869
|
get SourceControlLookups() {
|
|
5882
5870
|
return Object.keys(this.Environment.Sources || {});
|
|
5883
5871
|
}
|
|
5872
|
+
get State() {
|
|
5873
|
+
return this.eacSvc.State;
|
|
5874
|
+
}
|
|
5884
5875
|
ngOnInit() {
|
|
5885
|
-
this.eacSvc.State.subscribe((state) => {
|
|
5886
|
-
this.State = state;
|
|
5887
|
-
});
|
|
5888
5876
|
this.SetupApplication(Guid.CreateRaw());
|
|
5889
5877
|
}
|
|
5890
5878
|
CloseDialog() {
|
|
@@ -6076,18 +6064,14 @@ class ProcessorDetailsDialogComponent {
|
|
|
6076
6064
|
var _a;
|
|
6077
6065
|
return Object.keys(((_a = this.Environment) === null || _a === void 0 ? void 0 : _a.Sources) || {});
|
|
6078
6066
|
}
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6067
|
+
get State() {
|
|
6068
|
+
return this.eacSvc.State;
|
|
6069
|
+
}
|
|
6082
6070
|
get ProcessorDetailsFormGroup() {
|
|
6083
6071
|
var _a;
|
|
6084
6072
|
return (_a = this.ProcessorDetailsFormControls) === null || _a === void 0 ? void 0 : _a.ProcessorDetailsFormGroup;
|
|
6085
6073
|
}
|
|
6086
|
-
ngOnInit() {
|
|
6087
|
-
this.eacSvc.State.subscribe((state) => {
|
|
6088
|
-
this.State = state;
|
|
6089
|
-
});
|
|
6090
|
-
}
|
|
6074
|
+
ngOnInit() { }
|
|
6091
6075
|
CloseDialog() {
|
|
6092
6076
|
this.dialogRef.close();
|
|
6093
6077
|
}
|
|
@@ -6166,10 +6150,10 @@ class EmulatedDevicesToggleComponent {
|
|
|
6166
6150
|
var _a;
|
|
6167
6151
|
return (_a = this.EmulatedDevicesFormGroup) === null || _a === void 0 ? void 0 : _a.controls.isTriggerSignIn;
|
|
6168
6152
|
}
|
|
6153
|
+
get State() {
|
|
6154
|
+
return this.eacSvc.State;
|
|
6155
|
+
}
|
|
6169
6156
|
ngOnInit() {
|
|
6170
|
-
this.eacSvc.State.subscribe((state) => {
|
|
6171
|
-
this.State = state;
|
|
6172
|
-
});
|
|
6173
6157
|
this.setupEmulatedDevicesFormGroup();
|
|
6174
6158
|
}
|
|
6175
6159
|
EmulatedDevicesSubmit() {
|
|
@@ -6378,17 +6362,14 @@ class FeedHeaderDialogComponent {
|
|
|
6378
6362
|
get SubtitleFormControl() {
|
|
6379
6363
|
return this.FeedHeaderFormGroup.controls.subtitle;
|
|
6380
6364
|
}
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6365
|
+
get State() {
|
|
6366
|
+
return this.eacSvc.State;
|
|
6367
|
+
}
|
|
6384
6368
|
get TitleFormControl() {
|
|
6385
6369
|
var _a;
|
|
6386
6370
|
return (_a = this.FeedHeaderFormGroup) === null || _a === void 0 ? void 0 : _a.controls.title;
|
|
6387
6371
|
}
|
|
6388
6372
|
ngOnInit() {
|
|
6389
|
-
this.eacSvc.State.subscribe((state) => {
|
|
6390
|
-
this.State = state;
|
|
6391
|
-
});
|
|
6392
6373
|
this.setupFeedHeaderForm();
|
|
6393
6374
|
}
|
|
6394
6375
|
CloseDialog() {
|
|
@@ -6620,11 +6601,10 @@ class FeedHeaderComponent {
|
|
|
6620
6601
|
var _a, _b;
|
|
6621
6602
|
return (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.GitHub) === null || _b === void 0 ? void 0 : _b.HasConnection;
|
|
6622
6603
|
}
|
|
6623
|
-
|
|
6624
|
-
this.eacSvc.State
|
|
6625
|
-
this.State = state;
|
|
6626
|
-
});
|
|
6604
|
+
get State() {
|
|
6605
|
+
return this.eacSvc.State;
|
|
6627
6606
|
}
|
|
6607
|
+
ngOnInit() { }
|
|
6628
6608
|
ngAfterViewInit() {
|
|
6629
6609
|
this.addSelectBtn();
|
|
6630
6610
|
}
|
|
@@ -6830,18 +6810,15 @@ class DFSModifiersFormComponent {
|
|
|
6830
6810
|
var _a;
|
|
6831
6811
|
return (_a = this.ModifierFormGroup) === null || _a === void 0 ? void 0 : _a.controls.stateDataToken;
|
|
6832
6812
|
}
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6813
|
+
get State() {
|
|
6814
|
+
return this.eacSvc.State;
|
|
6815
|
+
}
|
|
6836
6816
|
get TypeFormControl() {
|
|
6837
6817
|
var _a;
|
|
6838
6818
|
return (_a = this.ModifierFormGroup) === null || _a === void 0 ? void 0 : _a.controls.type;
|
|
6839
6819
|
}
|
|
6840
6820
|
// Life Cycle
|
|
6841
6821
|
ngOnInit() {
|
|
6842
|
-
this.eacSvc.State.subscribe((state) => {
|
|
6843
|
-
this.State = state;
|
|
6844
|
-
});
|
|
6845
6822
|
if (this.Level === 'enterprise' && !this.EditingModifierLookup) {
|
|
6846
6823
|
this.CreateNewModifier();
|
|
6847
6824
|
}
|
|
@@ -7031,9 +7008,9 @@ class DFSModifiersDialogComponent {
|
|
|
7031
7008
|
this.snackBar = snackBar;
|
|
7032
7009
|
this.ModifierDialogForm = this.formbldr.group({});
|
|
7033
7010
|
}
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7011
|
+
get State() {
|
|
7012
|
+
return this.eacSvc.State;
|
|
7013
|
+
}
|
|
7037
7014
|
get ProjectLookups() {
|
|
7038
7015
|
var _a, _b;
|
|
7039
7016
|
return Object.keys(((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects) || {});
|
|
@@ -7047,9 +7024,6 @@ class DFSModifiersDialogComponent {
|
|
|
7047
7024
|
return (_a = this.DFSModifersFormControls) === null || _a === void 0 ? void 0 : _a.ModifierSelectFormGroup;
|
|
7048
7025
|
}
|
|
7049
7026
|
ngOnInit() {
|
|
7050
|
-
this.eacSvc.State.subscribe((state) => {
|
|
7051
|
-
this.State = state;
|
|
7052
|
-
});
|
|
7053
7027
|
this.determineLevel();
|
|
7054
7028
|
}
|
|
7055
7029
|
CloseDialog() {
|
|
@@ -7159,9 +7133,9 @@ class StateConfigFormComponent {
|
|
|
7159
7133
|
var _a, _b;
|
|
7160
7134
|
return (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Applications[this.AppLookup];
|
|
7161
7135
|
}
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7136
|
+
get State() {
|
|
7137
|
+
return this.eacSvc.State;
|
|
7138
|
+
}
|
|
7165
7139
|
get StateConfigNameFormControl() {
|
|
7166
7140
|
var _a;
|
|
7167
7141
|
return (_a = this.StateConfigForm) === null || _a === void 0 ? void 0 : _a.controls.name;
|
|
@@ -7175,9 +7149,6 @@ class StateConfigFormComponent {
|
|
|
7175
7149
|
return (_a = this.StateConfigForm) === null || _a === void 0 ? void 0 : _a.controls.value;
|
|
7176
7150
|
}
|
|
7177
7151
|
ngOnInit() {
|
|
7178
|
-
this.eacSvc.State.subscribe((state) => {
|
|
7179
|
-
this.State = state;
|
|
7180
|
-
});
|
|
7181
7152
|
this.buildForm();
|
|
7182
7153
|
}
|
|
7183
7154
|
SaveStateConfig() {
|
|
@@ -7234,18 +7205,14 @@ class StateConfigDialogComponent {
|
|
|
7234
7205
|
var _a, _b;
|
|
7235
7206
|
return (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Applications[this.data.appLookup];
|
|
7236
7207
|
}
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7208
|
+
get State() {
|
|
7209
|
+
return this.eacSvc.State;
|
|
7210
|
+
}
|
|
7240
7211
|
get StateConfigFormControl() {
|
|
7241
7212
|
var _a;
|
|
7242
7213
|
return (_a = this.StateConfigForm) === null || _a === void 0 ? void 0 : _a.StateConfigForm;
|
|
7243
7214
|
}
|
|
7244
|
-
ngOnInit() {
|
|
7245
|
-
this.eacSvc.State.subscribe((state) => {
|
|
7246
|
-
this.State = state;
|
|
7247
|
-
});
|
|
7248
|
-
}
|
|
7215
|
+
ngOnInit() { }
|
|
7249
7216
|
CloseDialog() {
|
|
7250
7217
|
this.dialogRef.close();
|
|
7251
7218
|
}
|
|
@@ -7296,10 +7263,10 @@ class EditProjectFormComponent {
|
|
|
7296
7263
|
get NameFormControl() {
|
|
7297
7264
|
return this.ProjectFormGroup.controls.name;
|
|
7298
7265
|
}
|
|
7266
|
+
get State() {
|
|
7267
|
+
return this.eacSvc.State;
|
|
7268
|
+
}
|
|
7299
7269
|
ngOnInit() {
|
|
7300
|
-
this.eacSvc.State.subscribe((state) => {
|
|
7301
|
-
this.State = state;
|
|
7302
|
-
});
|
|
7303
7270
|
this.setupProjectForm();
|
|
7304
7271
|
}
|
|
7305
7272
|
SaveProject() {
|
|
@@ -7362,11 +7329,10 @@ class EditProjectDialogComponent {
|
|
|
7362
7329
|
var _a;
|
|
7363
7330
|
return (_a = this.EditProjectControl) === null || _a === void 0 ? void 0 : _a.ProjectFormGroup;
|
|
7364
7331
|
}
|
|
7365
|
-
|
|
7366
|
-
this.eacSvc.State
|
|
7367
|
-
this.State = state;
|
|
7368
|
-
});
|
|
7332
|
+
get State() {
|
|
7333
|
+
return this.eacSvc.State;
|
|
7369
7334
|
}
|
|
7335
|
+
ngOnInit() { }
|
|
7370
7336
|
CloseDialog() {
|
|
7371
7337
|
this.dialogRef.close();
|
|
7372
7338
|
}
|
|
@@ -7448,10 +7414,10 @@ class ConnectedSourceComponent {
|
|
|
7448
7414
|
var _a;
|
|
7449
7415
|
return (_a = this.SourceFormGroup) === null || _a === void 0 ? void 0 : _a.controls.source;
|
|
7450
7416
|
}
|
|
7417
|
+
get State() {
|
|
7418
|
+
return this.eacSvc.State;
|
|
7419
|
+
}
|
|
7451
7420
|
ngOnInit() {
|
|
7452
|
-
this.eacSvc.State.subscribe((state) => {
|
|
7453
|
-
this.State = state;
|
|
7454
|
-
});
|
|
7455
7421
|
this.setupSourceFormGroup();
|
|
7456
7422
|
}
|
|
7457
7423
|
SourceSubmit() {
|