@lowcodeunit/applications-flow-common 1.34.58-krakyn-app → 1.34.59-krakyn-app
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/dfs-modifiers-form/dfs-modifiers-form.component.mjs +91 -49
- package/esm2020/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.mjs +9 -9
- package/esm2020/lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component.mjs +17 -19
- package/esm2020/lib/dialogs/source-control-dialog/source-control-dialog.component.mjs +12 -12
- package/esm2020/lib/elements/feed-card-sm/feed-card-sm.component.mjs +2 -2
- package/esm2020/lib/elements/feed-header/feed-header.component.mjs +2 -2
- package/esm2020/lib/elements/main-feed-card/main-feed-card.component.mjs +6 -5
- package/esm2020/lib/elements/projects/controls/project-items/project-items.component.mjs +2 -4
- package/esm2020/lib/elements/projects/controls/tabs/devops/devops.component.mjs +6 -4
- package/esm2020/lib/elements/projects/controls/tabs/dfs-modifiers/dfs-modifiers.component.mjs +4 -6
- package/esm2020/lib/elements/skeleton-feed-card/skeleton-feed-card.component.mjs +2 -2
- package/esm2020/lib/services/applications-flow.service.mjs +2 -22
- package/esm2020/lib/services/eac.service.mjs +69 -53
- package/esm2020/lib/services/project.service.mjs +1 -81
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +225 -270
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +232 -275
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/lib/controls/dfs-modifiers-form/dfs-modifiers-form.component.d.ts +17 -5
- package/lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component.d.ts +3 -4
- package/lib/dialogs/source-control-dialog/source-control-dialog.component.d.ts +2 -1
- package/lib/elements/main-feed-card/main-feed-card.component.d.ts +1 -1
- package/lib/services/applications-flow.service.d.ts +0 -4
- package/lib/services/eac.service.d.ts +8 -19
- package/lib/services/project.service.d.ts +0 -4
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { EaCDFSModifier, EaCProjectAsCode } from '@semanticjs/common';
|
|
|
5
5
|
import { MatSelectChange } from '@angular/material/select';
|
|
6
6
|
import { EaCService } from '../../services/eac.service';
|
|
7
7
|
import { ApplicationsFlowService } from '../../services/applications-flow.service';
|
|
8
|
+
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class DFSModifiersFormComponent implements OnInit {
|
|
10
11
|
protected formBldr: FormBuilder;
|
|
@@ -12,9 +13,8 @@ export declare class DFSModifiersFormComponent implements OnInit {
|
|
|
12
13
|
protected eacSvc: EaCService;
|
|
13
14
|
CurrentType: string;
|
|
14
15
|
EditingModifierLookup: string;
|
|
15
|
-
Modifiers
|
|
16
|
-
|
|
17
|
-
};
|
|
16
|
+
/**Specific Modifiers for either the project or appliaction */
|
|
17
|
+
ApplicationLookup: string;
|
|
18
18
|
Project: EaCProjectAsCode;
|
|
19
19
|
ProjectLookup: string;
|
|
20
20
|
/**which level is the dfs modifier being edited ent project or app */
|
|
@@ -22,29 +22,41 @@ export declare class DFSModifiersFormComponent implements OnInit {
|
|
|
22
22
|
get DetailsFormControl(): AbstractControl;
|
|
23
23
|
get EditingModifier(): EaCDFSModifier;
|
|
24
24
|
get EnabledFormControl(): AbstractControl;
|
|
25
|
+
get EnterprisesModifierLookups(): Array<string>;
|
|
25
26
|
get LocationFormControl(): AbstractControl;
|
|
26
|
-
|
|
27
|
+
get Modifiers(): {
|
|
28
|
+
[lookup: string]: EaCDFSModifier;
|
|
29
|
+
};
|
|
27
30
|
get ModifierLookups(): Array<string>;
|
|
31
|
+
get MultiSelectFormControl(): AbstractControl;
|
|
28
32
|
get NameFormControl(): AbstractControl;
|
|
29
33
|
get PathFilterFormControl(): AbstractControl;
|
|
30
34
|
get PriorityFormControl(): AbstractControl;
|
|
31
35
|
get ScriptFormControl(): AbstractControl;
|
|
32
36
|
get ScriptIDFormControl(): AbstractControl;
|
|
33
37
|
get StateDataTokenFormControl(): AbstractControl;
|
|
38
|
+
get State(): ApplicationsFlowState;
|
|
34
39
|
get TypeFormControl(): AbstractControl;
|
|
40
|
+
ModifierFormGroup: FormGroup;
|
|
41
|
+
ModifierSelectFormGroup: FormGroup;
|
|
35
42
|
constructor(formBldr: FormBuilder, appsFlowSvc: ApplicationsFlowService, eacSvc: EaCService);
|
|
36
43
|
ngOnInit(): void;
|
|
37
44
|
CreateNewModifier(): void;
|
|
38
45
|
DeleteModifier(modifierLookup: string, modifierName: string): void;
|
|
39
46
|
SaveModifierForAllProjects(projectLookups: Array<string>): void;
|
|
40
47
|
SaveModifierForApplication(applicationLookup: string): void;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* Saves a modifier, saves a modifier to a project
|
|
51
|
+
*/
|
|
41
52
|
SaveModifier(projectLookup?: string): void;
|
|
42
53
|
SetEditingModifier(modifierLookup: string): void;
|
|
43
54
|
SetUseForProject(modifierLookup: string, change: MatSlideToggleChange): void;
|
|
44
55
|
TypeChanged(event: MatSelectChange): void;
|
|
45
56
|
protected getDetails(): any;
|
|
57
|
+
protected setupModifierSelectForm(): void;
|
|
46
58
|
protected setupModifierForm(): void;
|
|
47
59
|
protected setupTypeForm(): void;
|
|
48
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<DFSModifiersFormComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DFSModifiersFormComponent, "lcu-dfs-modifier-form", never, { "EditingModifierLookup": "editing-modifier-lookup"; "
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DFSModifiersFormComponent, "lcu-dfs-modifier-form", never, { "EditingModifierLookup": "editing-modifier-lookup"; "ApplicationLookup": "application-lookup"; "Project": "project"; "ProjectLookup": "project-lookup"; "Level": "level"; }, {}, never, never>;
|
|
50
62
|
}
|
|
@@ -4,7 +4,6 @@ import { FormGroup } from '@angular/forms';
|
|
|
4
4
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
5
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
6
6
|
import { Status } from '@lcu/common';
|
|
7
|
-
import { EaCDFSModifier } from '@semanticjs/common';
|
|
8
7
|
import { DFSModifiersFormComponent } from '../../controls/dfs-modifiers-form/dfs-modifiers-form.component';
|
|
9
8
|
import { EaCService } from '../../services/eac.service';
|
|
10
9
|
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
@@ -12,9 +11,6 @@ import * as i0 from "@angular/core";
|
|
|
12
11
|
export interface DFSModifiersDialogData {
|
|
13
12
|
applicationLookup?: string;
|
|
14
13
|
modifierLookup?: string;
|
|
15
|
-
modifiers: {
|
|
16
|
-
[lookup: string]: EaCDFSModifier;
|
|
17
|
-
};
|
|
18
14
|
level: string;
|
|
19
15
|
projectLookup?: string;
|
|
20
16
|
}
|
|
@@ -28,12 +24,15 @@ export declare class DFSModifiersDialogComponent implements OnInit {
|
|
|
28
24
|
get State(): ApplicationsFlowState;
|
|
29
25
|
get ProjectLookups(): string[];
|
|
30
26
|
get DFSModifersFormGroup(): FormGroup;
|
|
27
|
+
get SelectedModifiersFormGroup(): FormGroup;
|
|
31
28
|
ErrorMessage: string;
|
|
32
29
|
ModifierDialogForm: FormGroup;
|
|
30
|
+
SaveDisabled: boolean;
|
|
33
31
|
constructor(eacSvc: EaCService, formbldr: FormBuilder, dialogRef: MatDialogRef<DFSModifiersDialogComponent>, data: DFSModifiersDialogData, snackBar: MatSnackBar);
|
|
34
32
|
ngOnInit(): void;
|
|
35
33
|
CloseDialog(): void;
|
|
36
34
|
HandleSaveFormEvent(event: Status): void;
|
|
35
|
+
IsDisabled(): boolean;
|
|
37
36
|
SaveDFSModifier(): void;
|
|
38
37
|
protected determineLevel(): void;
|
|
39
38
|
protected setupEntForm(): void;
|
|
@@ -12,6 +12,7 @@ export interface SCDialogData {
|
|
|
12
12
|
environment: EaCEnvironmentAsCode;
|
|
13
13
|
environmentLookup: string;
|
|
14
14
|
scLookup: string;
|
|
15
|
+
scName: string;
|
|
15
16
|
}
|
|
16
17
|
export declare class SourceControlDialogComponent implements OnInit {
|
|
17
18
|
dialogRef: MatDialogRef<SourceControlDialogComponent>;
|
|
@@ -26,7 +27,7 @@ export declare class SourceControlDialogComponent implements OnInit {
|
|
|
26
27
|
constructor(dialogRef: MatDialogRef<SourceControlDialogComponent>, eacSvc: EaCService, data: SCDialogData, snackBar: MatSnackBar);
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
CloseDialog(): void;
|
|
29
|
-
DeleteSourceControl(
|
|
30
|
+
DeleteSourceControl(): void;
|
|
30
31
|
HandleSaveStatusEvent(event: Status): void;
|
|
31
32
|
SaveSourceControl(): void;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SourceControlDialogComponent, never>;
|
|
@@ -21,7 +21,7 @@ export declare class MainFeedCardComponent implements OnInit {
|
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
CalculateTimelapse(timestamp: Date): string;
|
|
23
23
|
HandleAction(action: FeedItemAction): void;
|
|
24
|
-
OpenSourceControlDialog(scLookup: string): void;
|
|
24
|
+
OpenSourceControlDialog(scLookup: string, scName: string): void;
|
|
25
25
|
SafeHtml(html: string): SafeHtml;
|
|
26
26
|
protected handleRefresh(): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainFeedCardComponent, never>;
|
|
@@ -12,10 +12,6 @@ export declare class ApplicationsFlowService {
|
|
|
12
12
|
constructor(http: HttpClient, settings: LCUServiceSettings);
|
|
13
13
|
ConfigureDevOpsAction(actionLookup: string): Observable<object>;
|
|
14
14
|
CreateRepository(organization: string, repoName: string): Observable<object>;
|
|
15
|
-
DeleteApplication(appLookup: string): Observable<object>;
|
|
16
|
-
DeleteDevOpsAction(doaLookup: string): Observable<object>;
|
|
17
|
-
DeleteProject(projectLookup: string): Observable<object>;
|
|
18
|
-
DeleteSourceControl(scLookup: string): Observable<object>;
|
|
19
15
|
EnsureUserEnterprise(): Observable<object>;
|
|
20
16
|
EnterpriseAsCodeRemovals(removals: EnterpriseAsCode): Observable<object>;
|
|
21
17
|
GetActiveEnterprise(): Observable<object>;
|
|
@@ -11,19 +11,10 @@ export declare class SaveApplicationAsCodeEventRequest {
|
|
|
11
11
|
ApplicationLookup?: string;
|
|
12
12
|
ProjectLookup?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare class SaveDFSModifierForApplicationEventRequest {
|
|
15
|
-
Modifier: EaCDFSModifier;
|
|
16
|
-
ModifierLookup: string;
|
|
17
|
-
ApplicationLookup?: string;
|
|
18
|
-
}
|
|
19
14
|
export declare class SaveDFSModifierEventRequest {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
export declare class SaveDFSModifierForAllEventRequest {
|
|
25
|
-
Modifier: EaCDFSModifier;
|
|
26
|
-
ModifierLookup: string;
|
|
15
|
+
ApplicationLookup?: string;
|
|
16
|
+
Modifier?: EaCDFSModifier;
|
|
17
|
+
ModifierLookups?: Array<string>;
|
|
27
18
|
ProjectLookups?: Array<string>;
|
|
28
19
|
}
|
|
29
20
|
export declare class SaveEnvironmentAsCodeEventRequest {
|
|
@@ -45,10 +36,11 @@ export declare class EaCService {
|
|
|
45
36
|
State: ApplicationsFlowState;
|
|
46
37
|
constructor(projectService: ProjectService, http: HttpClient);
|
|
47
38
|
CheckUserFeedItem(feedItem: FeedItem): Observable<object>;
|
|
48
|
-
DeleteApplication(appLookup: string, appName: string): Promise<
|
|
49
|
-
DeleteDevOpsAction(doaLookup: string): Promise<
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
DeleteApplication(appLookup: string, appName: string): Promise<Status>;
|
|
40
|
+
DeleteDevOpsAction(doaLookup: string, doaName: string): Promise<Status>;
|
|
41
|
+
DeleteModifier(modifierLookup: string, modifierName: string): Promise<Status>;
|
|
42
|
+
DeleteProject(projectLookup: string, projectName: string): Promise<Status>;
|
|
43
|
+
DeleteSourceControl(srcLookup: string, srcName: string): Promise<Status>;
|
|
52
44
|
EnsureUserEnterprise(): Promise<void>;
|
|
53
45
|
EnterpriseAsCodeRemovals(eac: EnterpriseAsCode): Promise<Status>;
|
|
54
46
|
GetActiveEnterprise(): Promise<void>;
|
|
@@ -65,7 +57,6 @@ export declare class EaCService {
|
|
|
65
57
|
LoadEnterpriseAsCode(): Promise<void>;
|
|
66
58
|
SaveApplicationAsCode(req: SaveApplicationAsCodeEventRequest): Promise<Status>;
|
|
67
59
|
SaveDFSModifier(req: SaveDFSModifierEventRequest): Promise<void>;
|
|
68
|
-
SaveDFSModifierForAllProjects(req: SaveDFSModifierForAllEventRequest): Promise<void>;
|
|
69
60
|
SaveEnterpriseAsCode(eac: EnterpriseAsCode): Promise<Status>;
|
|
70
61
|
SaveEnvironmentAsCode(req: SaveEnvironmentAsCodeEventRequest): Promise<Status>;
|
|
71
62
|
SaveProjectAsCode(req: SaveProjectAsCodeEventRequest): Promise<void>;
|
|
@@ -75,8 +66,6 @@ export declare class EaCService {
|
|
|
75
66
|
SubmitFeedEntry(entry: FeedEntry): Promise<Status>;
|
|
76
67
|
UnpackLowCodeUnit(req: UnpackLowCodeUnitRequest): Promise<void>;
|
|
77
68
|
protected handleSaveApplication(req: SaveApplicationAsCodeEventRequest): Promise<Status>;
|
|
78
|
-
protected handleSaveDFSModifierForApplication(req: SaveDFSModifierForApplicationEventRequest): Promise<void>;
|
|
79
|
-
protected handleSaveDFSModifierForAllProjects(req: SaveDFSModifierForAllEventRequest): Promise<void>;
|
|
80
69
|
protected handleSaveDFSModifier(req: SaveDFSModifierEventRequest): Promise<void>;
|
|
81
70
|
protected handleSaveEnvironment(req: SaveEnvironmentAsCodeEventRequest): Promise<Status>;
|
|
82
71
|
protected handleSaveProject(projectLookup: string, project: EaCProjectAsCode): Promise<Status>;
|
|
@@ -11,10 +11,6 @@ export declare class ProjectService {
|
|
|
11
11
|
CreatingProject: boolean;
|
|
12
12
|
EditingProjectLookup: string;
|
|
13
13
|
constructor(appsFlowSvc: ApplicationsFlowService, activatedRoute: ActivatedRoute);
|
|
14
|
-
DeleteApplication(state: ApplicationsFlowState, appLookup: string): Promise<EnterpriseAsCode>;
|
|
15
|
-
DeleteDevOpsAction(state: ApplicationsFlowState, doaLookup: string): Promise<EnterpriseAsCode>;
|
|
16
|
-
DeleteProject(state: ApplicationsFlowState, projectLookup: string): Promise<EnterpriseAsCode>;
|
|
17
|
-
DeleteSourceControl(state: ApplicationsFlowState, scLookup: string): Promise<EnterpriseAsCode>;
|
|
18
14
|
EnsureUserEnterprise(state: ApplicationsFlowState): Promise<BaseResponse>;
|
|
19
15
|
EnterpriseAsCodeRemovals(state: ApplicationsFlowState, eac: EnterpriseAsCode): Promise<Status>;
|
|
20
16
|
GenerateRoutedApplications(applications: {
|