@lowcodeunit/applications-flow-common 1.33.203-duplicate-style-errors → 1.33.204-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 (25) hide show
  1. package/esm2020/lib/controls/build-pipeline-form/build-pipeline-form.component.mjs +17 -5
  2. package/esm2020/lib/controls/devops-source-control-form/devops-source-control-form.component.mjs +14 -29
  3. package/esm2020/lib/controls/edit-application-form/edit-application-form.component.mjs +52 -14
  4. package/esm2020/lib/controls/processor-details-form/processor-details-form.component.mjs +111 -19
  5. package/esm2020/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.mjs +6 -3
  6. package/esm2020/lib/dialogs/edit-application-dialog/edit-application-dialog.component.mjs +1 -1
  7. package/esm2020/lib/dialogs/new-application-dialog/new-application-dialog.component.mjs +1 -1
  8. package/esm2020/lib/dialogs/processor-details-dialog/processor-details-dialog.component.mjs +5 -105
  9. package/esm2020/lib/dialogs/source-control-dialog/source-control-dialog.component.mjs +1 -1
  10. package/esm2020/lib/elements/project-info-card/project-info-card.component.mjs +3 -3
  11. package/esm2020/lib/services/eac.service.mjs +7 -6
  12. package/esm2020/lib/services/project.service.mjs +1 -1
  13. package/fesm2015/lowcodeunit-applications-flow-common.mjs +283 -247
  14. package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
  15. package/fesm2020/lowcodeunit-applications-flow-common.mjs +281 -252
  16. package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
  17. package/lib/controls/build-pipeline-form/build-pipeline-form.component.d.ts +5 -3
  18. package/lib/controls/devops-source-control-form/devops-source-control-form.component.d.ts +6 -3
  19. package/lib/controls/edit-application-form/edit-application-form.component.d.ts +9 -2
  20. package/lib/controls/processor-details-form/processor-details-form.component.d.ts +6 -1
  21. package/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.d.ts +1 -0
  22. package/lib/dialogs/processor-details-dialog/processor-details-dialog.component.d.ts +1 -1
  23. package/lib/services/eac.service.d.ts +6 -5
  24. package/lib/services/project.service.d.ts +2 -1
  25. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { EaCArtifact, EaCDevOpsAction, EaCEnvironmentAsCode, EaCSourceControl } from '@semanticjs/common';
4
4
  import { ApplicationsFlowService } from '../../services/applications-flow.service';
5
5
  import { EaCService } from '../../services/eac.service';
6
- import { ProjectHostingDetails, ProjectHostingOption } from '../../state/applications-flow.state';
6
+ import { ApplicationsFlowState, ProjectHostingDetails, ProjectHostingOption } from '../../state/applications-flow.state';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class BuildPipelineFormComponent implements OnInit {
9
9
  protected eacSvc: EaCService;
@@ -15,6 +15,7 @@ export declare class BuildPipelineFormComponent implements OnInit {
15
15
  Environment: EaCEnvironmentAsCode;
16
16
  EnvironmentLookup: string;
17
17
  HostingDetails: ProjectHostingDetails;
18
+ ResponseEvent: EventEmitter<any>;
18
19
  get Artifact(): EaCArtifact;
19
20
  get ArtifactLookup(): string;
20
21
  get BuildPipelineFormControl(): AbstractControl;
@@ -32,6 +33,7 @@ export declare class BuildPipelineFormComponent implements OnInit {
32
33
  get SourceControls(): {
33
34
  [lookup: string]: EaCSourceControl;
34
35
  };
36
+ get State(): ApplicationsFlowState;
35
37
  BuildPipelineFormGroup: FormGroup;
36
38
  constructor(eacSvc: EaCService, formBuilder: FormBuilder, appsFlowSvc: ApplicationsFlowService);
37
39
  ngOnInit(): void;
@@ -41,5 +43,5 @@ export declare class BuildPipelineFormComponent implements OnInit {
41
43
  protected setupControlsForForm(): void;
42
44
  protected loadProjectHostingDetails(): void;
43
45
  static ɵfac: i0.ɵɵFactoryDeclaration<BuildPipelineFormComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<BuildPipelineFormComponent, "lcu-build-pipeline-form", never, { "DevOpsActionLookup": "devops-action-lookup"; "Disabled": "disabled"; "Environment": "environment"; "EnvironmentLookup": "environment-lookup"; "HostingDetails": "hosting-details"; }, {}, never, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<BuildPipelineFormComponent, "lcu-build-pipeline-form", never, { "DevOpsActionLookup": "devops-action-lookup"; "Disabled": "disabled"; "Environment": "environment"; "EnvironmentLookup": "environment-lookup"; "HostingDetails": "hosting-details"; }, { "ResponseEvent": "response-event"; }, never, never>;
45
47
  }
@@ -1,12 +1,13 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
4
  import { MatChipInputEvent } from '@angular/material/chips';
5
5
  import { MatSelectChange } from '@angular/material/select';
6
+ import { Status } from '@lcu/common';
6
7
  import { EaCArtifact, EaCDevOpsAction, EaCEnvironmentAsCode, EaCSourceControl } from '@semanticjs/common';
7
8
  import { ApplicationsFlowService } from '../../services/applications-flow.service';
8
9
  import { EaCService } from '../../services/eac.service';
9
- import { GitHubBranch, GitHubOrganization, GitHubRepository, ProjectHostingDetails } from '../../state/applications-flow.state';
10
+ import { ApplicationsFlowState, GitHubBranch, GitHubOrganization, GitHubRepository, ProjectHostingDetails } from '../../state/applications-flow.state';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class DevopsSourceControlFormComponent implements AfterViewInit, OnDestroy, OnInit {
12
13
  protected appsFlowSvc: ApplicationsFlowService;
@@ -15,6 +16,7 @@ export declare class DevopsSourceControlFormComponent implements AfterViewInit,
15
16
  EditingSourceControlLookup: string;
16
17
  Environment: EaCEnvironmentAsCode;
17
18
  EnvironmentLookup: string;
19
+ SaveStatusEvent: EventEmitter<Status>;
18
20
  BranchesInput: ElementRef<HTMLInputElement>;
19
21
  BuildPath: string;
20
22
  BuildPathDisabled: boolean;
@@ -37,6 +39,7 @@ export declare class DevopsSourceControlFormComponent implements AfterViewInit,
37
39
  get MainBranchFormControl(): AbstractControl;
38
40
  get OrganizationFormControl(): AbstractControl;
39
41
  get RepositoryFormControl(): AbstractControl;
42
+ get State(): ApplicationsFlowState;
40
43
  BranchOptions: GitHubBranch[];
41
44
  BuildPathOptions: string[];
42
45
  CreatingRepository: boolean;
@@ -79,5 +82,5 @@ export declare class DevopsSourceControlFormComponent implements AfterViewInit,
79
82
  protected loadProjectHostingDetails(): void;
80
83
  protected setupFormControls(): void;
81
84
  static ɵfac: i0.ɵɵFactoryDeclaration<DevopsSourceControlFormComponent, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<DevopsSourceControlFormComponent, "lcu-devops-source-control-form", never, { "EditingSourceControlLookup": "editing-source-control-lookup"; "Environment": "environment"; "EnvironmentLookup": "environment-lookup"; }, {}, never, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<DevopsSourceControlFormComponent, "lcu-devops-source-control-form", never, { "EditingSourceControlLookup": "editing-source-control-lookup"; "Environment": "environment"; "EnvironmentLookup": "environment-lookup"; }, { "SaveStatusEvent": "save-status-event"; }, never, never>;
83
86
  }
@@ -1,20 +1,27 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { EaCApplicationAsCode } from '@semanticjs/common';
4
+ import { EaCService } from '../../services/eac.service';
5
+ import { ApplicationsFlowState } from '../../state/applications-flow.state';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class EditApplicationFormComponent implements OnInit {
6
8
  protected formBldr: FormBuilder;
9
+ protected eacSvc: EaCService;
10
+ ApplicationLookup: string;
7
11
  EditingApplication: EaCApplicationAsCode;
8
12
  HasSaveButton: boolean;
13
+ ProjectLookup: string;
9
14
  SaveFormEvent: EventEmitter<{}>;
10
15
  get DescriptionFormControl(): AbstractControl;
11
16
  get NameFormControl(): AbstractControl;
12
17
  get RouteFormControl(): AbstractControl;
18
+ get State(): ApplicationsFlowState;
13
19
  ApplicationFormGroup: FormGroup;
14
- constructor(formBldr: FormBuilder);
20
+ constructor(formBldr: FormBuilder, eacSvc: EaCService);
15
21
  ngOnInit(): void;
16
22
  SubmitApplicationControl(): void;
23
+ SaveApplication(): void;
17
24
  protected setupApplicationForm(): void;
18
25
  static ɵfac: i0.ɵɵFactoryDeclaration<EditApplicationFormComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<EditApplicationFormComponent, "lcu-edit-application-form", never, { "EditingApplication": "editing-application"; "HasSaveButton": "has-save-button"; }, { "SaveFormEvent": "save-form-event"; }, never, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditApplicationFormComponent, "lcu-edit-application-form", never, { "ApplicationLookup": "application-lookup"; "EditingApplication": "editing-application"; "HasSaveButton": "has-save-button"; "ProjectLookup": "project-lookup"; }, { "SaveFormEvent": "save-form-event"; }, never, never>;
20
27
  }
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatSelectChange } from '@angular/material/select';
4
- import { EaCApplicationAsCode, EaCSourceControl } from '@semanticjs/common';
4
+ import { EaCApplicationAsCode, EaCEnvironmentAsCode, EaCSourceControl } from '@semanticjs/common';
5
5
  import { EaCService } from '../../services/eac.service';
6
6
  import { ApplicationsFlowState } from '../../state/applications-flow.state';
7
7
  import * as i0 from "@angular/core";
@@ -15,6 +15,7 @@ export declare class ProcessorDetailsFormComponent implements OnInit {
15
15
  ProjectLookup: string;
16
16
  SaveFormEvent: EventEmitter<{}>;
17
17
  get APIRootFormControl(): AbstractControl;
18
+ get Environment(): EaCEnvironmentAsCode;
18
19
  get BuildFormControl(): AbstractControl;
19
20
  get ClientIDFormControl(): AbstractControl;
20
21
  get ClientSecretFormControl(): AbstractControl;
@@ -30,6 +31,9 @@ export declare class ProcessorDetailsFormComponent implements OnInit {
30
31
  get ScopesFormControl(): AbstractControl;
31
32
  get SecurityFormControl(): AbstractControl;
32
33
  get State(): ApplicationsFlowState;
34
+ get SourceControls(): {
35
+ [lookup: string]: EaCSourceControl;
36
+ };
33
37
  get SourceControlFormControl(): AbstractControl;
34
38
  get SPARootFormControl(): AbstractControl;
35
39
  get TokenLookupFormControl(): AbstractControl;
@@ -45,6 +49,7 @@ export declare class ProcessorDetailsFormComponent implements OnInit {
45
49
  ngOnInit(): void;
46
50
  CreateNewApplication(): void;
47
51
  DetermineTooltipText(): void;
52
+ SaveProcessorDetails(event: any): void;
48
53
  SetEditingApplication(appLookup: string): void;
49
54
  SubmitProcessorDetails(): void;
50
55
  ProcessorTypeChanged(event: MatSelectChange): void;
@@ -13,6 +13,7 @@ export declare class BuildPipelineDialogComponent implements OnInit {
13
13
  constructor(dialogRef: MatDialogRef<BuildPipelineDialogComponent>, data: BPDialogData);
14
14
  ngOnInit(): void;
15
15
  CloseDialog(): void;
16
+ HandleResponseEvent(event: any): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BuildPipelineDialogComponent, never>;
17
18
  static ɵcmp: i0.ɵɵComponentDeclaration<BuildPipelineDialogComponent, "lcu-build-pipeline-dialog", never, {}, {}, never, never>;
18
19
  }
@@ -25,7 +25,7 @@ export declare class ProcessorDetailsDialogComponent implements OnInit {
25
25
  constructor(eacSvc: EaCService, dialogRef: MatDialogRef<ProcessorDetailsDialogComponent>, data: ProcessorDetailsDialogData);
26
26
  ngOnInit(): void;
27
27
  CloseDialog(): void;
28
- SaveProcessorDetails(event: any): void;
28
+ HandleSaveFormEvent(event: any): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ProcessorDetailsDialogComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<ProcessorDetailsDialogComponent, "lcu-processor-details-dialog", never, {}, {}, never, never>;
31
31
  }
@@ -3,6 +3,7 @@ import { ApplicationsFlowState, UnpackLowCodeUnitRequest } from '../state/applic
3
3
  import { EaCApplicationAsCode, EaCDataToken, EaCDFSModifier, EaCEnvironmentAsCode, EaCProjectAsCode, EnterpriseAsCode } from '@semanticjs/common';
4
4
  import { FeedItem } from '../models/user-feed.model';
5
5
  import { HttpClient } from '@angular/common/http';
6
+ import { Status } from '@lcu/common';
6
7
  import { Observable } from 'rxjs';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class SaveApplicationAsCodeEventRequest {
@@ -44,19 +45,19 @@ export declare class EaCService {
44
45
  HasValidConnection(): Promise<void>;
45
46
  ListEnterprises(): Promise<void>;
46
47
  LoadEnterpriseAsCode(): Promise<void>;
47
- SaveApplicationAsCode(req: SaveApplicationAsCodeEventRequest): Promise<void>;
48
+ SaveApplicationAsCode(req: SaveApplicationAsCodeEventRequest): Promise<Status>;
48
49
  SaveDFSModifier(req: SaveDFSModifierEventRequest): Promise<void>;
49
50
  SaveEnterpriseAsCode(eac: EnterpriseAsCode): Promise<void>;
50
- SaveEnvironmentAsCode(req: SaveEnvironmentAsCodeEventRequest): Promise<void>;
51
+ SaveEnvironmentAsCode(req: SaveEnvironmentAsCodeEventRequest): Promise<Status>;
51
52
  SaveProjectAsCode(req: SaveProjectAsCodeEventRequest): Promise<void>;
52
53
  SetActiveEnterprise(entLookup: any): Promise<void>;
53
54
  SetCreatingProject(creatingProject: boolean): Promise<void>;
54
55
  SetEditProjectSettings(projectLookup: string): Promise<void>;
55
56
  UnpackLowCodeUnit(req: UnpackLowCodeUnitRequest): Promise<void>;
56
- protected handleSaveApplication(req: SaveApplicationAsCodeEventRequest): Promise<void>;
57
+ protected handleSaveApplication(req: SaveApplicationAsCodeEventRequest): Promise<Status>;
57
58
  protected handleSaveDFSModifier(req: SaveDFSModifierEventRequest): Promise<void>;
58
- protected handleSaveEnvironment(req: SaveEnvironmentAsCodeEventRequest): Promise<void>;
59
- protected handleSaveProject(projectLookup: string, project: EaCProjectAsCode): Promise<void>;
59
+ protected handleSaveEnvironment(req: SaveEnvironmentAsCodeEventRequest): Promise<Status>;
60
+ protected handleSaveProject(projectLookup: string, project: EaCProjectAsCode): Promise<Status>;
60
61
  static ɵfac: i0.ɵɵFactoryDeclaration<EaCService, never>;
61
62
  static ɵprov: i0.ɵɵInjectableDeclaration<EaCService>;
62
63
  }
@@ -1,3 +1,4 @@
1
+ import { Status } from '@lcu/common';
1
2
  import { EnterpriseAsCode } from '@semanticjs/common';
2
3
  import { ApplicationsFlowState, UnpackLowCodeUnitRequest } from '../state/applications-flow.state';
3
4
  import { ApplicationsFlowService } from './applications-flow.service';
@@ -19,7 +20,7 @@ export declare class ProjectService {
19
20
  ListEnterprises(state: ApplicationsFlowState): Promise<any[]>;
20
21
  LoadEnterpriseAsCode(state: ApplicationsFlowState): Promise<EnterpriseAsCode>;
21
22
  SetActiveEnterprise(state: ApplicationsFlowState, activeEntLookup: string): Promise<EnterpriseAsCode>;
22
- SaveEnterpriseAsCode(state: ApplicationsFlowState, eac: EnterpriseAsCode): Promise<EnterpriseAsCode>;
23
+ SaveEnterpriseAsCode(state: ApplicationsFlowState, eac: EnterpriseAsCode): Promise<Status>;
23
24
  SetCreatingProject(creatingProject: boolean): void;
24
25
  SetEditProjectSettings(state: ApplicationsFlowState, projectLookup: string): Promise<any>;
25
26
  ToggleCreateProject(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowcodeunit/applications-flow-common",
3
- "version": "1.33.203-duplicate-style-errors",
3
+ "version": "1.33.204-lets-get-social-ish",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },