@lowcodeunit/applications-flow-common 1.33.93-lets-get-social-ish → 1.33.95-lets-get-social-ish

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.
Files changed (31) hide show
  1. package/bundles/lowcodeunit-applications-flow-common.umd.js +456 -343
  2. package/bundles/lowcodeunit-applications-flow-common.umd.js.map +1 -1
  3. package/bundles/lowcodeunit-applications-flow-common.umd.min.js +1 -1
  4. package/bundles/lowcodeunit-applications-flow-common.umd.min.js.map +1 -1
  5. package/esm2015/lcu.api.js +2 -1
  6. package/esm2015/lib/applications-flow.module.js +14 -4
  7. package/esm2015/lib/controls/build-pipeline-form/build-pipeline-form.component.js +15 -0
  8. package/esm2015/lib/controls/devops-source-control-form/devops-source-control-form.component.js +15 -0
  9. package/esm2015/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.js +8 -10
  10. package/esm2015/lib/elements/projects/projects.component.js +8 -132
  11. package/esm2015/lib/services/eac.service.js +193 -0
  12. package/esm2015/lowcodeunit-applications-flow-common.js +3 -1
  13. package/fesm2015/lowcodeunit-applications-flow-common.js +284 -189
  14. package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
  15. package/lcu.api.d.ts +1 -0
  16. package/lcu.api.d.ts.map +1 -1
  17. package/lib/applications-flow.module.d.ts.map +1 -1
  18. package/lib/controls/build-pipeline-form/build-pipeline-form.component.d.ts +6 -0
  19. package/lib/controls/build-pipeline-form/build-pipeline-form.component.d.ts.map +1 -0
  20. package/lib/controls/devops-source-control-form/devops-source-control-form.component.d.ts +6 -0
  21. package/lib/controls/devops-source-control-form/devops-source-control-form.component.d.ts.map +1 -0
  22. package/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.d.ts +3 -3
  23. package/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.d.ts.map +1 -1
  24. package/lib/elements/projects/projects.component.d.ts +4 -9
  25. package/lib/elements/projects/projects.component.d.ts.map +1 -1
  26. package/lib/services/eac.service.d.ts +30 -0
  27. package/lib/services/eac.service.d.ts.map +1 -0
  28. package/lowcodeunit-applications-flow-common.d.ts +2 -0
  29. package/lowcodeunit-applications-flow-common.d.ts.map +1 -1
  30. package/lowcodeunit-applications-flow-common.metadata.json +1 -1
  31. package/package.json +1 -1
@@ -627,78 +627,6 @@ ApplicationsFlowStateContext.ctorParameters = () => [
627
627
  { type: Injector }
628
628
  ];
629
629
 
630
- class ApplicationsFlowState {
631
- constructor() {
632
- this.GitHub = {};
633
- this.HostingDetails = {};
634
- this.Loading = true;
635
- // this.Projects = [];
636
- }
637
- }
638
- // export class ProjectState {
639
- // public ActionsSet?: { [id: string]: DevOpsAction };
640
- // public Applications?: ApplicationState[];
641
- // public Description?: string;
642
- // public Host?: string;
643
- // public ID?: string;
644
- // public Image?: string;
645
- // public LCUs?: GitHubLowCodeUnit[];
646
- // public Name?: string;
647
- // public PreventInheritedApplications?: boolean;
648
- // public Runs?: GitHubWorkflowRun[];
649
- // }
650
- // export class ApplicationState {
651
- // public IsPrivate?: boolean;
652
- // public Name?: string;
653
- // public Organization?: string;
654
- // public PathRegex?: string;
655
- // public Priority?: number;
656
- // public Repository?: string;
657
- // public Version?: string;
658
- // }
659
- class GitHubSetupState {
660
- }
661
- class GitHubBranch {
662
- }
663
- // export class GitHubLowCodeUnit {
664
- // public Branch?: string;
665
- // public ID?: string;
666
- // public Lookup?: string;
667
- // public Organization?: string;
668
- // public Repository?: string;
669
- // }
670
- class GitHubOrganization {
671
- }
672
- class GitHubRepository {
673
- }
674
- class GitHubWorkflowRun {
675
- }
676
- class UnpackLowCodeUnitRequest {
677
- }
678
- // export class DevOpsAction {
679
- // public Details?: string;
680
- // public ID?: string;
681
- // public Name?: string;
682
- // public Overwrite?: boolean;
683
- // public Path?: string;
684
- // public Template?: string;
685
- // }
686
- class ProjectHostingDetails {
687
- }
688
- class ProjectHostingOption {
689
- }
690
- class ProjectHostingOptionInput {
691
- }
692
- // export class EstablishProjectRequest {
693
- // public Branch?: string;
694
- // public BuildScript?: string;
695
- // public HostingOption?: string;
696
- // public Organization?: string;
697
- // public OutputFolder?: string;
698
- // public ProjectName?: string;
699
- // public Repository?: string;
700
- // }
701
-
702
630
  class SaveApplicationAsCodeEventRequest {
703
631
  }
704
632
  class SaveDFSModifierEventRequest {
@@ -780,86 +708,176 @@ ApplicationsFlowEventsService.decorators = [
780
708
  ];
781
709
  ApplicationsFlowEventsService.ctorParameters = () => [];
782
710
 
783
- class ApplicationsFlowProjectsElementState {
711
+ class ApplicationsFlowState {
712
+ constructor() {
713
+ this.GitHub = {};
714
+ this.HostingDetails = {};
715
+ this.Loading = true;
716
+ // this.Projects = [];
717
+ }
784
718
  }
785
- class ApplicationsFlowProjectsContext extends LCUElementContext {
719
+ // export class ProjectState {
720
+ // public ActionsSet?: { [id: string]: DevOpsAction };
721
+ // public Applications?: ApplicationState[];
722
+ // public Description?: string;
723
+ // public Host?: string;
724
+ // public ID?: string;
725
+ // public Image?: string;
726
+ // public LCUs?: GitHubLowCodeUnit[];
727
+ // public Name?: string;
728
+ // public PreventInheritedApplications?: boolean;
729
+ // public Runs?: GitHubWorkflowRun[];
730
+ // }
731
+ // export class ApplicationState {
732
+ // public IsPrivate?: boolean;
733
+ // public Name?: string;
734
+ // public Organization?: string;
735
+ // public PathRegex?: string;
736
+ // public Priority?: number;
737
+ // public Repository?: string;
738
+ // public Version?: string;
739
+ // }
740
+ class GitHubSetupState {
786
741
  }
787
- const SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT = 'applications-flow-projects-element';
788
- class ApplicationsFlowProjectsElementComponent extends LcuElementComponent {
742
+ class GitHubBranch {
743
+ }
744
+ // export class GitHubLowCodeUnit {
745
+ // public Branch?: string;
746
+ // public ID?: string;
747
+ // public Lookup?: string;
748
+ // public Organization?: string;
749
+ // public Repository?: string;
750
+ // }
751
+ class GitHubOrganization {
752
+ }
753
+ class GitHubRepository {
754
+ }
755
+ class GitHubWorkflowRun {
756
+ }
757
+ class UnpackLowCodeUnitRequest {
758
+ }
759
+ // export class DevOpsAction {
760
+ // public Details?: string;
761
+ // public ID?: string;
762
+ // public Name?: string;
763
+ // public Overwrite?: boolean;
764
+ // public Path?: string;
765
+ // public Template?: string;
766
+ // }
767
+ class ProjectHostingDetails {
768
+ }
769
+ class ProjectHostingOption {
770
+ }
771
+ class ProjectHostingOptionInput {
772
+ }
773
+ // export class EstablishProjectRequest {
774
+ // public Branch?: string;
775
+ // public BuildScript?: string;
776
+ // public HostingOption?: string;
777
+ // public Organization?: string;
778
+ // public OutputFolder?: string;
779
+ // public ProjectName?: string;
780
+ // public Repository?: string;
781
+ // }
782
+
783
+ class EaCService {
789
784
  // Constructors
790
- constructor(injector, appsFlowSvc, projectService, appsFlowEventsSvc) {
791
- super(injector);
792
- this.injector = injector;
793
- this.appsFlowSvc = appsFlowSvc;
794
- this.projectService = projectService;
785
+ constructor(appsFlowEventsSvc, projectService) {
795
786
  this.appsFlowEventsSvc = appsFlowEventsSvc;
787
+ this.projectService = projectService;
796
788
  this.State = new ApplicationsFlowState();
797
789
  this.setServices();
798
790
  }
799
- // Properties
800
- get ActiveEnvironment() {
801
- var _a, _b;
802
- return (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Environments[this.ActiveEnvironmentLookup];
791
+ // API Methods
792
+ DeleteApplication(appLookup, appName) {
793
+ return __awaiter(this, void 0, void 0, function* () {
794
+ if (confirm(`Are you sure you want to delete application '${appName}'?`)) {
795
+ yield this.projectService.DeleteApplication(this.State, appLookup);
796
+ }
797
+ });
803
798
  }
804
- get ActiveEnvironmentLookup() {
805
- var _a, _b;
806
- // TODO: Eventually support multiple environments
807
- const envLookups = Object.keys(((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Environments) || {});
808
- return envLookups[0];
799
+ DeleteDevOpsAction(doaLookup) {
800
+ return __awaiter(this, void 0, void 0, function* () {
801
+ if (confirm(`Are you sure you want to delete DevOps action '${doaLookup}'?`)) {
802
+ yield this.projectService.DeleteDevOpsAction(this.State, doaLookup);
803
+ }
804
+ });
809
805
  }
810
- get CreatingProject() {
811
- return this.projectService.CreatingProject;
806
+ DeleteProject(projectLookup) {
807
+ return __awaiter(this, void 0, void 0, function* () {
808
+ if (confirm(`Are you sure you want to delete Project '${projectLookup}'?`)) {
809
+ yield this.projectService.DeleteProject(this.State, projectLookup);
810
+ }
811
+ });
812
812
  }
813
- get EditingProject() {
814
- var _a, _b, _c, _d;
815
- return ((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects) ? (_d = (_c = this.State) === null || _c === void 0 ? void 0 : _c.EaC) === null || _d === void 0 ? void 0 : _d.Projects[this.EditingProjectLookup] : null;
813
+ DeleteSourceControl(scLookup) {
814
+ return __awaiter(this, void 0, void 0, function* () {
815
+ if (confirm(`Are you sure you want to delete Source Control '${scLookup}'?`)) {
816
+ yield this.projectService.DeleteSourceControl(this.State, scLookup);
817
+ }
818
+ });
816
819
  }
817
- get EditingProjectLookup() {
818
- return this.projectService.EditingProjectLookup;
820
+ // this.appsFlowEventsSvc.EnsureUserEnterpriseEvent.subscribe(async () => {
821
+ // await this.projectService.EnsureUserEnterprise(this.State);
822
+ // });
823
+ EnsureUserEnterprise(appLookup, appName) {
824
+ return __awaiter(this, void 0, void 0, function* () {
825
+ yield this.projectService.EnsureUserEnterprise(this.State);
826
+ });
819
827
  }
820
- get ProjectLookups() {
821
- var _a, _b;
822
- return Object.keys(((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects) || {});
828
+ LoadEnterpriseAsCode() {
829
+ return __awaiter(this, void 0, void 0, function* () {
830
+ yield this.projectService.LoadEnterpriseAsCode(this.State);
831
+ });
823
832
  }
824
- // Life Cycle
825
- ngOnDestroy() { }
826
- ngOnInit() {
827
- super.ngOnInit();
828
- this.handleStateChange().then((eac) => { });
829
- // this.setupProjectMonitor();
833
+ SaveApplicationAsCode(req) {
834
+ return __awaiter(this, void 0, void 0, function* () {
835
+ yield this.handleSaveApplication(req);
836
+ });
830
837
  }
831
- // API Methods
832
- ActiveEnterpriseChanged(event) {
838
+ SaveDFSModifierEvent(req) {
833
839
  return __awaiter(this, void 0, void 0, function* () {
834
- yield this.projectService.SetActiveEnterprise(this.State, event.value);
840
+ yield this.handleSaveDFSModifier(req);
835
841
  });
836
842
  }
837
- ConfigureDevOpsAction(devOpsActionLookup) {
838
- this.State.Loading = true;
839
- this.appsFlowSvc
840
- .ConfigureDevOpsAction(devOpsActionLookup)
841
- .subscribe((response) => {
842
- if (response.Status.Code === 0) {
843
- this.projectService.LoadEnterpriseAsCode(this.State);
844
- }
845
- else {
846
- this.State.Loading = false;
847
- }
843
+ SaveEnterpriseAsCode(eac) {
844
+ return __awaiter(this, void 0, void 0, function* () {
845
+ yield this.projectService.SaveEnterpriseAsCode(this.State, eac);
848
846
  });
849
847
  }
850
- // Helpers
851
- handleStateChange() {
852
- var _a;
848
+ SaveEnvironmentAsCode(req) {
853
849
  return __awaiter(this, void 0, void 0, function* () {
854
- this.State.Loading = true;
855
- yield this.projectService.HasValidConnection(this.State);
856
- yield this.projectService.EnsureUserEnterprise(this.State);
857
- yield this.projectService.ListEnterprises(this.State);
858
- if (((_a = this.State.Enterprises) === null || _a === void 0 ? void 0 : _a.length) > 0) {
859
- yield this.projectService.GetActiveEnterprise(this.State);
850
+ yield this.handleSaveEnvironment(req);
851
+ });
852
+ }
853
+ SaveProjectAsCode(req) {
854
+ return __awaiter(this, void 0, void 0, function* () {
855
+ yield this.handleSaveProject(req.ProjectLookup, req.Project);
856
+ });
857
+ }
858
+ SetCreatingProject(creatingProject) {
859
+ return __awaiter(this, void 0, void 0, function* () {
860
+ this.projectService.SetCreatingProject(creatingProject);
861
+ });
862
+ }
863
+ SetEditProjectSettings(projectLookup) {
864
+ return __awaiter(this, void 0, void 0, function* () {
865
+ yield this.projectService.SetEditProjectSettings(this.State, projectLookup);
866
+ });
867
+ }
868
+ UnpackLowCodeUnit(req) {
869
+ return __awaiter(this, void 0, void 0, function* () {
870
+ if (confirm(`Are you sure you want to unpack application '${req.ApplicationName}' with version '${req.Version}'?`)) {
871
+ yield this.projectService.UnpackLowCodeUnit(this.State, req);
860
872
  }
861
873
  });
862
874
  }
875
+ setServices() {
876
+ // this.appsFlowEventsSvc.ListProjectsEvent.subscribe((withLoading) => {
877
+ // this.projectService.ListProjects(this.State, withLoading);
878
+ // });
879
+ }
880
+ // Helpers
863
881
  handleSaveApplication(req) {
864
882
  var _a;
865
883
  return __awaiter(this, void 0, void 0, function* () {
@@ -920,7 +938,7 @@ class ApplicationsFlowProjectsElementComponent extends LcuElementComponent {
920
938
  var _a;
921
939
  return __awaiter(this, void 0, void 0, function* () {
922
940
  const projHosts = {};
923
- (_a = project === null || project === void 0 ? void 0 : project.Hosts) === null || _a === void 0 ? void 0 : _a.forEach(host => {
941
+ (_a = project === null || project === void 0 ? void 0 : project.Hosts) === null || _a === void 0 ? void 0 : _a.forEach((host) => {
924
942
  projHosts[host] = this.State.EaC.Hosts[host];
925
943
  });
926
944
  const saveEaC = {
@@ -935,54 +953,98 @@ class ApplicationsFlowProjectsElementComponent extends LcuElementComponent {
935
953
  this.appsFlowEventsSvc.SetEditProjectSettings(projectLookup);
936
954
  });
937
955
  }
938
- setServices() {
939
- this.appsFlowEventsSvc.DeleteApplicationEvent.subscribe((appLookup) => __awaiter(this, void 0, void 0, function* () {
940
- yield this.projectService.DeleteApplication(this.State, appLookup);
941
- }));
942
- this.appsFlowEventsSvc.DeleteDevOpsActionEvent.subscribe((doaLookup) => __awaiter(this, void 0, void 0, function* () {
943
- yield this.projectService.DeleteDevOpsAction(this.State, doaLookup);
944
- }));
945
- this.appsFlowEventsSvc.DeleteProjectEvent.subscribe((projectLookup) => __awaiter(this, void 0, void 0, function* () {
946
- yield this.projectService.DeleteProject(this.State, projectLookup);
947
- }));
948
- this.appsFlowEventsSvc.DeleteSourceControlEvent.subscribe((scLookup) => __awaiter(this, void 0, void 0, function* () {
949
- yield this.projectService.DeleteSourceControl(this.State, scLookup);
950
- }));
951
- this.appsFlowEventsSvc.EnsureUserEnterpriseEvent.subscribe(() => __awaiter(this, void 0, void 0, function* () {
952
- yield this.projectService.EnsureUserEnterprise(this.State);
953
- }));
954
- // this.appsFlowEventsSvc.ListProjectsEvent.subscribe((withLoading) => {
955
- // this.projectService.ListProjects(this.State, withLoading);
956
- // });
957
- this.appsFlowEventsSvc.LoadEnterpriseAsCodeEvent.subscribe(() => __awaiter(this, void 0, void 0, function* () {
958
- yield this.projectService.LoadEnterpriseAsCode(this.State);
959
- }));
960
- this.appsFlowEventsSvc.SaveEnterpriseAsCodeEvent.subscribe((eac) => __awaiter(this, void 0, void 0, function* () {
961
- yield this.projectService.SaveEnterpriseAsCode(this.State, eac);
962
- }));
963
- this.appsFlowEventsSvc.SaveApplicationAsCodeEvent.subscribe((req) => __awaiter(this, void 0, void 0, function* () {
964
- yield this.handleSaveApplication(req);
965
- }));
966
- this.appsFlowEventsSvc.SaveDFSModifierEvent.subscribe((req) => __awaiter(this, void 0, void 0, function* () {
967
- yield this.handleSaveDFSModifier(req);
968
- }));
969
- this.appsFlowEventsSvc.SaveEnvironmentAsCodeEvent.subscribe((req) => __awaiter(this, void 0, void 0, function* () {
970
- yield this.handleSaveEnvironment(req);
971
- }));
972
- this.appsFlowEventsSvc.SaveProjectAsCodeEvent.subscribe((req) => __awaiter(this, void 0, void 0, function* () {
973
- yield this.handleSaveProject(req.ProjectLookup, req.Project);
974
- }));
975
- this.appsFlowEventsSvc.SetCreatingProjectEvent.subscribe((creatingProject) => {
976
- this.projectService.SetCreatingProject(creatingProject);
956
+ }
957
+ EaCService.ɵprov = ɵɵdefineInjectable({ factory: function EaCService_Factory() { return new EaCService(ɵɵinject(ApplicationsFlowEventsService), ɵɵinject(ProjectService)); }, token: EaCService, providedIn: "root" });
958
+ EaCService.decorators = [
959
+ { type: Injectable, args: [{
960
+ providedIn: 'root',
961
+ },] }
962
+ ];
963
+ EaCService.ctorParameters = () => [
964
+ { type: ApplicationsFlowEventsService },
965
+ { type: ProjectService }
966
+ ];
967
+
968
+ class ApplicationsFlowProjectsElementState {
969
+ }
970
+ class ApplicationsFlowProjectsContext extends LCUElementContext {
971
+ }
972
+ const SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT = 'applications-flow-projects-element';
973
+ class ApplicationsFlowProjectsElementComponent extends LcuElementComponent {
974
+ // Constructors
975
+ constructor(injector, appsFlowSvc, projectService, eacSvc) {
976
+ super(injector);
977
+ this.injector = injector;
978
+ this.appsFlowSvc = appsFlowSvc;
979
+ this.projectService = projectService;
980
+ this.eacSvc = eacSvc;
981
+ }
982
+ // Properties
983
+ get ActiveEnvironment() {
984
+ var _a, _b;
985
+ return (_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Environments[this.ActiveEnvironmentLookup];
986
+ }
987
+ get ActiveEnvironmentLookup() {
988
+ var _a, _b;
989
+ // TODO: Eventually support multiple environments
990
+ const envLookups = Object.keys(((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Environments) || {});
991
+ return envLookups[0];
992
+ }
993
+ get CreatingProject() {
994
+ return this.projectService.CreatingProject;
995
+ }
996
+ get EditingProject() {
997
+ var _a, _b, _c, _d;
998
+ return ((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects) ? (_d = (_c = this.State) === null || _c === void 0 ? void 0 : _c.EaC) === null || _d === void 0 ? void 0 : _d.Projects[this.EditingProjectLookup] : null;
999
+ }
1000
+ get EditingProjectLookup() {
1001
+ return this.projectService.EditingProjectLookup;
1002
+ }
1003
+ get ProjectLookups() {
1004
+ var _a, _b;
1005
+ return Object.keys(((_b = (_a = this.State) === null || _a === void 0 ? void 0 : _a.EaC) === null || _b === void 0 ? void 0 : _b.Projects) || {});
1006
+ }
1007
+ get State() {
1008
+ return this.eacSvc.State;
1009
+ }
1010
+ // Life Cycle
1011
+ ngOnDestroy() { }
1012
+ ngOnInit() {
1013
+ super.ngOnInit();
1014
+ this.handleStateChange().then((eac) => { });
1015
+ // this.setupProjectMonitor();
1016
+ }
1017
+ // API Methods
1018
+ ActiveEnterpriseChanged(event) {
1019
+ return __awaiter(this, void 0, void 0, function* () {
1020
+ yield this.projectService.SetActiveEnterprise(this.State, event.value);
977
1021
  });
978
- this.appsFlowEventsSvc.SetEditProjectSettingsEvent.subscribe((projectLookup) => __awaiter(this, void 0, void 0, function* () {
979
- yield this.projectService.SetEditProjectSettings(this.State, projectLookup);
980
- }));
981
- this.appsFlowEventsSvc.UnpackLowCodeUnitEvent.subscribe((req) => __awaiter(this, void 0, void 0, function* () {
982
- if (confirm(`Are you sure you want to unpack application '${req.ApplicationName}' with version '${req.Version}'?`)) {
983
- yield this.projectService.UnpackLowCodeUnit(this.State, req);
1022
+ }
1023
+ ConfigureDevOpsAction(devOpsActionLookup) {
1024
+ this.State.Loading = true;
1025
+ this.appsFlowSvc
1026
+ .ConfigureDevOpsAction(devOpsActionLookup)
1027
+ .subscribe((response) => {
1028
+ if (response.Status.Code === 0) {
1029
+ this.projectService.LoadEnterpriseAsCode(this.State);
984
1030
  }
985
- }));
1031
+ else {
1032
+ this.State.Loading = false;
1033
+ }
1034
+ });
1035
+ }
1036
+ // Helpers
1037
+ handleStateChange() {
1038
+ var _a;
1039
+ return __awaiter(this, void 0, void 0, function* () {
1040
+ this.State.Loading = true;
1041
+ yield this.projectService.HasValidConnection(this.State);
1042
+ yield this.projectService.EnsureUserEnterprise(this.State);
1043
+ yield this.projectService.ListEnterprises(this.State);
1044
+ if (((_a = this.State.Enterprises) === null || _a === void 0 ? void 0 : _a.length) > 0) {
1045
+ yield this.projectService.GetActiveEnterprise(this.State);
1046
+ }
1047
+ });
986
1048
  }
987
1049
  }
988
1050
  ApplicationsFlowProjectsElementComponent.decorators = [
@@ -996,7 +1058,7 @@ ApplicationsFlowProjectsElementComponent.ctorParameters = () => [
996
1058
  { type: Injector },
997
1059
  { type: ApplicationsFlowService },
998
1060
  { type: ProjectService },
999
- { type: ApplicationsFlowEventsService }
1061
+ { type: EaCService }
1000
1062
  ];
1001
1063
 
1002
1064
  class HostingDetailsFormGroupComponent {
@@ -1820,10 +1882,10 @@ GeneralComponent.propDecorators = {
1820
1882
 
1821
1883
  class AppsFlowComponent {
1822
1884
  // Constructors
1823
- constructor(formBldr, appsFlowSvc, appsFlowEventsSvc) {
1885
+ constructor(formBldr, appsFlowSvc, eacSvc) {
1824
1886
  this.formBldr = formBldr;
1825
1887
  this.appsFlowSvc = appsFlowSvc;
1826
- this.appsFlowEventsSvc = appsFlowEventsSvc;
1888
+ this.eacSvc = eacSvc;
1827
1889
  this.EditingApplicationLookup = null;
1828
1890
  this.redirectTooltip = '';
1829
1891
  // this.IsPermanent = false;
@@ -2036,9 +2098,7 @@ class AppsFlowComponent {
2036
2098
  this.SetEditingApplication(Guid.CreateRaw());
2037
2099
  }
2038
2100
  DeleteApplication(appLookup, appName) {
2039
- if (confirm(`Are you sure you want to delete application '${appName}'?`)) {
2040
- this.appsFlowEventsSvc.DeleteApplication(appLookup);
2041
- }
2101
+ this.eacSvc.DeleteApplication(appLookup, appName);
2042
2102
  }
2043
2103
  LCUTypeChanged(event) {
2044
2104
  this.LCUType = event.value;
@@ -2177,7 +2237,7 @@ class AppsFlowComponent {
2177
2237
  else if (app) {
2178
2238
  app.SourceControlLookup = null;
2179
2239
  }
2180
- this.appsFlowEventsSvc.SaveApplicationAsCode(saveAppReq);
2240
+ this.eacSvc.SaveApplicationAsCode(saveAppReq);
2181
2241
  }
2182
2242
  SetEditingApplication(appLookup) {
2183
2243
  this.EditingApplicationLookup = appLookup;
@@ -2197,7 +2257,7 @@ class AppsFlowComponent {
2197
2257
  }
2198
2258
  Unpack(appLookup, app) {
2199
2259
  var _a, _b, _c;
2200
- this.appsFlowEventsSvc.UnpackLowCodeUnit({
2260
+ this.eacSvc.UnpackLowCodeUnit({
2201
2261
  ApplicationLookup: appLookup,
2202
2262
  ApplicationName: (_a = app.Application) === null || _a === void 0 ? void 0 : _a.Name,
2203
2263
  Version: ((_b = app.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.Version) || ((_c = app.LowCodeUnit) === null || _c === void 0 ? void 0 : _c.Build),
@@ -2397,7 +2457,7 @@ AppsFlowComponent.decorators = [
2397
2457
  AppsFlowComponent.ctorParameters = () => [
2398
2458
  { type: FormBuilder },
2399
2459
  { type: ApplicationsFlowService },
2400
- { type: ApplicationsFlowEventsService }
2460
+ { type: EaCService }
2401
2461
  ];
2402
2462
  AppsFlowComponent.propDecorators = {
2403
2463
  Data: [{ type: Input, args: ['data',] }],
@@ -4213,6 +4273,34 @@ SourceControlFormComponent.propDecorators = {
4213
4273
  SourceControlFormControls: [{ type: ViewChild, args: [SourceControlFormControlsComponent,] }]
4214
4274
  };
4215
4275
 
4276
+ class BuildPipelineFormComponent {
4277
+ constructor() { }
4278
+ ngOnInit() {
4279
+ }
4280
+ }
4281
+ BuildPipelineFormComponent.decorators = [
4282
+ { type: Component, args: [{
4283
+ selector: 'lcu-build-pipeline-form',
4284
+ template: "<p>build-pipeline-form works!</p>\n",
4285
+ styles: [""]
4286
+ },] }
4287
+ ];
4288
+ BuildPipelineFormComponent.ctorParameters = () => [];
4289
+
4290
+ class DevopsSourceControlFormComponent {
4291
+ constructor() { }
4292
+ ngOnInit() {
4293
+ }
4294
+ }
4295
+ DevopsSourceControlFormComponent.decorators = [
4296
+ { type: Component, args: [{
4297
+ selector: 'lcu-devops-source-control-form',
4298
+ template: "<p>devops-source-control-form works!</p>\n",
4299
+ styles: [""]
4300
+ },] }
4301
+ ];
4302
+ DevopsSourceControlFormComponent.ctorParameters = () => [];
4303
+
4216
4304
  class ApplicationsFlowModule {
4217
4305
  static forRoot() {
4218
4306
  return {
@@ -4224,6 +4312,7 @@ class ApplicationsFlowModule {
4224
4312
  NPMService,
4225
4313
  FormsService,
4226
4314
  ApplicationsFlowEventsService,
4315
+ EaCService
4227
4316
  ],
4228
4317
  };
4229
4318
  }
@@ -4265,7 +4354,9 @@ ApplicationsFlowModule.decorators = [
4265
4354
  CardCarouselComponent,
4266
4355
  SecurityToggleComponent,
4267
4356
  ProcessorDetailsFormComponent,
4268
- SourceControlFormComponent
4357
+ SourceControlFormComponent,
4358
+ BuildPipelineFormComponent,
4359
+ DevopsSourceControlFormComponent
4269
4360
  ],
4270
4361
  imports: [
4271
4362
  FathymSharedModule,
@@ -4313,7 +4404,9 @@ ApplicationsFlowModule.decorators = [
4313
4404
  CardCarouselComponent,
4314
4405
  SecurityToggleComponent,
4315
4406
  ProcessorDetailsFormComponent,
4316
- SourceControlFormComponent
4407
+ SourceControlFormComponent,
4408
+ BuildPipelineFormComponent,
4409
+ DevopsSourceControlFormComponent
4317
4410
  ],
4318
4411
  entryComponents: [
4319
4412
  ApplicationsFlowProjectsElementComponent,
@@ -4348,7 +4441,9 @@ ApplicationsFlowModule.decorators = [
4348
4441
  CardCarouselComponent,
4349
4442
  SecurityToggleComponent,
4350
4443
  ProcessorDetailsFormComponent,
4351
- SourceControlFormComponent
4444
+ SourceControlFormComponent,
4445
+ BuildPipelineFormComponent,
4446
+ DevopsSourceControlFormComponent
4352
4447
  ],
4353
4448
  },] }
4354
4449
  ];
@@ -4381,5 +4476,5 @@ class FormModel {
4381
4476
  * Generated bundle index. Do not edit.
4382
4477
  */
4383
4478
 
4384
- export { ActionsModel, ApplicationsFlowModule, ApplicationsFlowProjectsContext, ApplicationsFlowProjectsElementComponent, ApplicationsFlowProjectsElementState, ApplicationsFlowService, ApplicationsFlowState, ApplicationsFlowStateContext, BaseFormConfigModel, CardFormConfigModel, CreateProjectWizardComponent, DevSettingsPresetModel, DomainModel, DynamicTabsModel, FormActionsModel, FormModel, FormValuesModel, FormsService, GitAuthComponent, GitHubBranch, GitHubOrganization, GitHubRepository, GitHubSetupState, GitHubWorkflowRun, HostingDetailsFormGroupComponent, NPMService, ProjectActionsModel, ProjectHostingDetails, ProjectHostingOption, ProjectHostingOptionInput, ProjectNameComponent, ProjectService, RootDirectoryComponent, SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT, SourceControlFormControlsComponent, ThreeColumnComponent, UnpackLowCodeUnitRequest, ApplicationsFlowEventsService as ɵa, DynamicTabsComponent as ɵb, ProcessorDetailsFormComponent as ɵba, SourceControlFormComponent as ɵbb, HeaderComponent as ɵc, ProjectTabsComponent as ɵd, GeneralComponent as ɵe, DomainsComponent as ɵf, ProjectItemsComponent as ɵg, BuildsComponent as ɵh, RecentActivitiesComponent as ɵi, FormCardComponent as ɵj, BaseFormComponent as ɵk, BaseFormTestComponent as ɵl, AppsFlowComponent as ɵm, DevOpsComponent as ɵn, DFSModifiersComponent as ɵo, NpmPackageSelectComponent as ɵp, ColumnInfoCardComponent as ɵq, SlottedCardComponent as ɵr, ProjectInfoCardComponent as ɵs, AnalyticsCardComponent as ɵt, FeedCardSmComponent as ɵu, GhControlComponent as ɵv, MainFeedCardComponent as ɵw, TwoColumnHeaderComponent as ɵx, CardCarouselComponent as ɵy, SecurityToggleComponent as ɵz };
4479
+ export { ActionsModel, ApplicationsFlowModule, ApplicationsFlowProjectsContext, ApplicationsFlowProjectsElementComponent, ApplicationsFlowProjectsElementState, ApplicationsFlowService, ApplicationsFlowState, ApplicationsFlowStateContext, BaseFormConfigModel, CardFormConfigModel, CreateProjectWizardComponent, DevSettingsPresetModel, DomainModel, DynamicTabsModel, EaCService, FormActionsModel, FormModel, FormValuesModel, FormsService, GitAuthComponent, GitHubBranch, GitHubOrganization, GitHubRepository, GitHubSetupState, GitHubWorkflowRun, HostingDetailsFormGroupComponent, NPMService, ProjectActionsModel, ProjectHostingDetails, ProjectHostingOption, ProjectHostingOptionInput, ProjectNameComponent, ProjectService, RootDirectoryComponent, SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT, SourceControlFormControlsComponent, ThreeColumnComponent, UnpackLowCodeUnitRequest, ApplicationsFlowEventsService as ɵa, DynamicTabsComponent as ɵb, ProcessorDetailsFormComponent as ɵba, SourceControlFormComponent as ɵbb, BuildPipelineFormComponent as ɵbc, DevopsSourceControlFormComponent as ɵbd, HeaderComponent as ɵc, ProjectTabsComponent as ɵd, GeneralComponent as ɵe, DomainsComponent as ɵf, ProjectItemsComponent as ɵg, BuildsComponent as ɵh, RecentActivitiesComponent as ɵi, FormCardComponent as ɵj, BaseFormComponent as ɵk, BaseFormTestComponent as ɵl, AppsFlowComponent as ɵm, DevOpsComponent as ɵn, DFSModifiersComponent as ɵo, NpmPackageSelectComponent as ɵp, ColumnInfoCardComponent as ɵq, SlottedCardComponent as ɵr, ProjectInfoCardComponent as ɵs, AnalyticsCardComponent as ɵt, FeedCardSmComponent as ɵu, GhControlComponent as ɵv, MainFeedCardComponent as ɵw, TwoColumnHeaderComponent as ɵx, CardCarouselComponent as ɵy, SecurityToggleComponent as ɵz };
4385
4480
  //# sourceMappingURL=lowcodeunit-applications-flow-common.js.map