@lowcodeunit/applications-flow-common 1.34.60-social-ui-bug-fixes → 1.34.61-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.
- package/esm2020/lcu.api.mjs +5 -4
- package/esm2020/lib/applications-flow.module.mjs +42 -26
- package/esm2020/lib/controls/devops-source-control-form/devops-source-control-form.component.mjs +3 -3
- package/esm2020/lib/controls/dfs-modifiers-form/dfs-modifiers-form.component.mjs +277 -0
- package/esm2020/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.mjs +10 -3
- package/esm2020/lib/dialogs/custom-domain-dialog/custom-domain-dialog.component.mjs +3 -3
- package/esm2020/lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component.mjs +109 -0
- package/esm2020/lib/dialogs/feed-header-dialog/feed-header-dialog.component.mjs +280 -0
- package/esm2020/lib/dialogs/source-control-dialog/source-control-dialog.component.mjs +10 -3
- package/esm2020/lib/elements/feed-card-sm/feed-card-sm.component.mjs +2 -2
- package/esm2020/lib/elements/feed-header/feed-header.component.mjs +131 -0
- package/esm2020/lib/elements/main-feed-card/main-feed-card.component.mjs +2 -2
- package/esm2020/lib/elements/projects/controls/git-auth/git-auth.component.mjs +3 -2
- package/esm2020/lib/elements/projects/controls/tabs/dfs-modifiers/dfs-modifiers.component.mjs +3 -3
- package/esm2020/lib/elements/projects/controls/tabs/domains/domains.component.mjs +2 -2
- package/esm2020/lib/elements/skeleton-feed-card/skeleton-feed-card.component.mjs +2 -2
- package/esm2020/lib/models/user-feed.model.mjs +3 -1
- package/esm2020/lib/services/applications-flow.service.mjs +16 -6
- package/esm2020/lib/services/eac.service.mjs +28 -5
- package/esm2020/lib/services/project.service.mjs +50 -3
- package/esm2020/lib/state/applications-flow.state.mjs +1 -1
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +2405 -1698
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +2415 -1729
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/lcu.api.d.ts +4 -3
- package/lib/applications-flow.module.d.ts +21 -18
- package/lib/controls/dfs-modifiers-form/dfs-modifiers-form.component.d.ts +62 -0
- package/lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component.d.ts +2 -0
- package/lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component.d.ts +41 -0
- package/lib/dialogs/feed-header-dialog/feed-header-dialog.component.d.ts +71 -0
- package/lib/dialogs/source-control-dialog/source-control-dialog.component.d.ts +1 -0
- package/lib/elements/{gh-control/gh-control.component.d.ts → feed-header/feed-header.component.d.ts} +9 -7
- package/lib/models/user-feed.model.d.ts +17 -0
- package/lib/services/applications-flow.service.d.ts +4 -1
- package/lib/services/eac.service.d.ts +7 -4
- package/lib/services/project.service.d.ts +5 -3
- package/lib/state/applications-flow.state.d.ts +2 -1
- package/package.json +1 -1
- package/esm2020/lib/elements/flow-tool/flow-tool.component.mjs +0 -75
- package/esm2020/lib/elements/gh-control/gh-control.component.mjs +0 -107
- package/lib/elements/flow-tool/flow-tool.component.d.ts +0 -28
package/lcu.api.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './lib/models/project-actions.model';
|
|
|
10
10
|
export * from './lib/models/user-feed.model';
|
|
11
11
|
export * from './lib/controls/build-pipeline-form/build-pipeline-form.component';
|
|
12
12
|
export * from './lib/controls/devops-source-control-form/devops-source-control-form.component';
|
|
13
|
+
export * from './lib/controls/dfs-modifiers-form/dfs-modifiers-form.component';
|
|
13
14
|
export * from './lib/controls/edit-application-form/edit-application-form.component';
|
|
14
15
|
export * from './lib/controls/processor-details-form/processor-details-form.component';
|
|
15
16
|
export * from './lib/controls/security-toggle/security-toggle.component';
|
|
@@ -57,13 +58,11 @@ export * from './lib/elements/form-card/form-card.component';
|
|
|
57
58
|
export * from './lib/elements/base-form/base-form.component';
|
|
58
59
|
export * from './lib/elements/projects/controls/recent-activities/recent-activities.component';
|
|
59
60
|
export * from './lib/elements/projects/projects.component';
|
|
60
|
-
export * from './lib/elements/flow-tool/flow-tool.component';
|
|
61
61
|
export * from './lib/elements/slotted-card/slotted-card.component';
|
|
62
62
|
export * from './lib/elements/analytics-card/analytics-card.component';
|
|
63
63
|
export * from './lib/elements/feed-card-sm/feed-card-sm.component';
|
|
64
64
|
export * from './lib/elements/three-column/three-column.component';
|
|
65
|
-
export * from './lib/elements/
|
|
66
|
-
export * from './lib/elements/gh-control/gh-control.component';
|
|
65
|
+
export * from './lib/elements/feed-header/feed-header.component';
|
|
67
66
|
export * from './lib/elements/main-feed-card/main-feed-card.component';
|
|
68
67
|
export * from './lib/elements/project-info-card/project-info-card.component';
|
|
69
68
|
export * from './lib/elements/two-column-header/two-column-header.component';
|
|
@@ -75,7 +74,9 @@ export * from './lib/controls/processor-details-form/processor-details-form.comp
|
|
|
75
74
|
export * from './lib/controls/source-control-form/source-control-form.component';
|
|
76
75
|
export * from './lib/controls/build-pipeline-form/build-pipeline-form.component';
|
|
77
76
|
export * from './lib/controls/devops-source-control-form/devops-source-control-form.component';
|
|
77
|
+
export * from './lib/dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component';
|
|
78
78
|
export * from './lib/dialogs/source-control-dialog/source-control-dialog.component';
|
|
79
79
|
export * from './lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component';
|
|
80
|
+
export * from './lib/dialogs/feed-header-dialog/feed-header-dialog.component';
|
|
80
81
|
export * from './lib/controls/edit-application-form/edit-application-form.component';
|
|
81
82
|
export * from './lib/elements/breadcrumb/breadcrumb.component';
|
|
@@ -21,13 +21,13 @@ import * as i18 from "./elements/projects/controls/tabs/apps-flow/apps-flow.comp
|
|
|
21
21
|
import * as i19 from "./elements/projects/controls/tabs/devops/devops.component";
|
|
22
22
|
import * as i20 from "./elements/projects/controls/tabs/dfs-modifiers/dfs-modifiers.component";
|
|
23
23
|
import * as i21 from "./elements/projects/controls/tabs/apps-flow/npm-package-select/npm-package-select.component";
|
|
24
|
-
import * as i22 from "./
|
|
24
|
+
import * as i22 from "./controls/dfs-modifiers-form/dfs-modifiers-form.component";
|
|
25
25
|
import * as i23 from "./elements/three-column/three-column.component";
|
|
26
26
|
import * as i24 from "./elements/slotted-card/slotted-card.component";
|
|
27
27
|
import * as i25 from "./elements/project-info-card/project-info-card.component";
|
|
28
28
|
import * as i26 from "./elements/analytics-card/analytics-card.component";
|
|
29
29
|
import * as i27 from "./elements/feed-card-sm/feed-card-sm.component";
|
|
30
|
-
import * as i28 from "./elements/
|
|
30
|
+
import * as i28 from "./elements/feed-header/feed-header.component";
|
|
31
31
|
import * as i29 from "./elements/main-feed-card/main-feed-card.component";
|
|
32
32
|
import * as i30 from "./elements/two-column-header/two-column-header.component";
|
|
33
33
|
import * as i31 from "./elements/card-carousel/card-carousel.component";
|
|
@@ -40,24 +40,27 @@ import * as i37 from "./dialogs/source-control-dialog/source-control-dialog.comp
|
|
|
40
40
|
import * as i38 from "./dialogs/build-pipeline-dialog/build-pipeline-dialog.component";
|
|
41
41
|
import * as i39 from "./controls/edit-application-form/edit-application-form.component";
|
|
42
42
|
import * as i40 from "./elements/breadcrumb/breadcrumb.component";
|
|
43
|
-
import * as i41 from "./dialogs/
|
|
44
|
-
import * as i42 from "./dialogs/
|
|
45
|
-
import * as i43 from "./dialogs/
|
|
46
|
-
import * as i44 from "./dialogs/
|
|
47
|
-
import * as i45 from "./
|
|
48
|
-
import * as i46 from "./
|
|
49
|
-
import * as i47 from "./
|
|
50
|
-
import * as i48 from "
|
|
51
|
-
import * as i49 from "
|
|
52
|
-
import * as i50 from "@angular
|
|
53
|
-
import * as i51 from "@angular/
|
|
54
|
-
import * as i52 from "@
|
|
55
|
-
import * as i53 from "@angular/
|
|
56
|
-
import * as i54 from "@angular/
|
|
57
|
-
import * as i55 from "
|
|
43
|
+
import * as i41 from "./dialogs/dfs-modifiers-dialog/dfs-modifiers-dialog.component";
|
|
44
|
+
import * as i42 from "./dialogs/custom-domain-dialog/custom-domain-dialog.component";
|
|
45
|
+
import * as i43 from "./dialogs/edit-application-dialog/edit-application-dialog.component";
|
|
46
|
+
import * as i44 from "./dialogs/new-application-dialog/new-application-dialog.component";
|
|
47
|
+
import * as i45 from "./dialogs/processor-details-dialog/processor-details-dialog.component";
|
|
48
|
+
import * as i46 from "./elements/skeleton-feed-card/skeleton-feed-card.component";
|
|
49
|
+
import * as i47 from "./dialogs/upgrade-dialog/upgrade-dialog.component";
|
|
50
|
+
import * as i48 from "./controls/emulated-devices-toggle/emulated-devices-toggle.component";
|
|
51
|
+
import * as i49 from "./dialogs/feed-header-dialog/feed-header-dialog.component";
|
|
52
|
+
import * as i50 from "@kolkov/angular-editor";
|
|
53
|
+
import * as i51 from "@angular/cdk/clipboard";
|
|
54
|
+
import * as i52 from "@lcu/common";
|
|
55
|
+
import * as i53 from "@angular/forms";
|
|
56
|
+
import * as i54 from "@angular/flex-layout";
|
|
57
|
+
import * as i55 from "@lowcodeunit/app-host-common";
|
|
58
|
+
import * as i56 from "@angular/material/tooltip";
|
|
59
|
+
import * as i57 from "@angular/material/slide-toggle";
|
|
60
|
+
import * as i58 from "skeleton-elements/angular";
|
|
58
61
|
export declare class ApplicationsFlowModule {
|
|
59
62
|
static forRoot(): ModuleWithProviders<ApplicationsFlowModule>;
|
|
60
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationsFlowModule, never>;
|
|
61
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ApplicationsFlowModule, [typeof i1.ApplicationsFlowProjectsElementComponent, typeof i2.HostingDetailsFormGroupComponent, typeof i3.CreateProjectWizardComponent, typeof i4.DynamicTabsComponent, typeof i5.HeaderComponent, typeof i6.ProjectTabsComponent, typeof i7.DomainsComponent, typeof i8.ProjectItemsComponent, typeof i9.BuildsComponent, typeof i10.RecentActivitiesComponent, typeof i11.FormCardComponent, typeof i12.ProjectNameComponent, typeof i13.RootDirectoryComponent, typeof i14.BaseFormComponent, typeof i15.BaseFormTestComponent, typeof i16.GitAuthComponent, typeof i17.SourceControlFormControlsComponent, typeof i18.AppsFlowComponent, typeof i19.DevOpsComponent, typeof i20.DFSModifiersComponent, typeof i21.NpmPackageSelectComponent, typeof i22.
|
|
64
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ApplicationsFlowModule, [typeof i1.ApplicationsFlowProjectsElementComponent, typeof i2.HostingDetailsFormGroupComponent, typeof i3.CreateProjectWizardComponent, typeof i4.DynamicTabsComponent, typeof i5.HeaderComponent, typeof i6.ProjectTabsComponent, typeof i7.DomainsComponent, typeof i8.ProjectItemsComponent, typeof i9.BuildsComponent, typeof i10.RecentActivitiesComponent, typeof i11.FormCardComponent, typeof i12.ProjectNameComponent, typeof i13.RootDirectoryComponent, typeof i14.BaseFormComponent, typeof i15.BaseFormTestComponent, typeof i16.GitAuthComponent, typeof i17.SourceControlFormControlsComponent, typeof i18.AppsFlowComponent, typeof i19.DevOpsComponent, typeof i20.DFSModifiersComponent, typeof i21.NpmPackageSelectComponent, typeof i22.DFSModifiersFormComponent, typeof i23.ThreeColumnComponent, typeof i24.SlottedCardComponent, typeof i25.ProjectInfoCardComponent, typeof i26.AnalyticsCardComponent, typeof i27.FeedCardSmComponent, typeof i28.FeedHeaderComponent, typeof i29.MainFeedCardComponent, typeof i30.TwoColumnHeaderComponent, typeof i31.CardCarouselComponent, typeof i32.SecurityToggleComponent, typeof i33.ProcessorDetailsFormComponent, typeof i34.SourceControlFormComponent, typeof i35.BuildPipelineFormComponent, typeof i36.DevopsSourceControlFormComponent, typeof i37.SourceControlDialogComponent, typeof i38.BuildPipelineDialogComponent, typeof i39.EditApplicationFormComponent, typeof i40.BreadcrumbComponent, typeof i41.DFSModifiersDialogComponent, typeof i42.CustomDomainDialogComponent, typeof i43.EditApplicationDialogComponent, typeof i44.NewApplicationDialogComponent, typeof i45.ProcessorDetailsDialogComponent, typeof i46.SkeletonFeedCardComponent, typeof i47.UpgradeDialogComponent, typeof i48.EmulatedDevicesToggleComponent, typeof i49.FeedHeaderDialogComponent], [typeof i50.AngularEditorModule, typeof i51.ClipboardModule, typeof i52.FathymSharedModule, typeof i53.FormsModule, typeof i53.ReactiveFormsModule, typeof i54.FlexLayoutModule, typeof i52.MaterialModule, typeof i55.AppHostModule, typeof i56.MatTooltipModule, typeof i57.MatSlideToggleModule, typeof i58.SkeletonElementsModule], [typeof i1.ApplicationsFlowProjectsElementComponent, typeof i2.HostingDetailsFormGroupComponent, typeof i3.CreateProjectWizardComponent, typeof i4.DynamicTabsComponent, typeof i5.HeaderComponent, typeof i6.ProjectTabsComponent, typeof i7.DomainsComponent, typeof i8.ProjectItemsComponent, typeof i9.BuildsComponent, typeof i10.RecentActivitiesComponent, typeof i11.FormCardComponent, typeof i12.ProjectNameComponent, typeof i13.RootDirectoryComponent, typeof i14.BaseFormComponent, typeof i15.BaseFormTestComponent, typeof i16.GitAuthComponent, typeof i17.SourceControlFormControlsComponent, typeof i18.AppsFlowComponent, typeof i19.DevOpsComponent, typeof i20.DFSModifiersComponent, typeof i21.NpmPackageSelectComponent, typeof i23.ThreeColumnComponent, typeof i24.SlottedCardComponent, typeof i25.ProjectInfoCardComponent, typeof i26.AnalyticsCardComponent, typeof i27.FeedCardSmComponent, typeof i28.FeedHeaderComponent, typeof i49.FeedHeaderDialogComponent, typeof i29.MainFeedCardComponent, typeof i30.TwoColumnHeaderComponent, typeof i31.CardCarouselComponent, typeof i32.SecurityToggleComponent, typeof i33.ProcessorDetailsFormComponent, typeof i34.SourceControlFormComponent, typeof i35.BuildPipelineFormComponent, typeof i36.DevopsSourceControlFormComponent, typeof i37.SourceControlDialogComponent, typeof i38.BuildPipelineDialogComponent, typeof i39.EditApplicationFormComponent, typeof i40.BreadcrumbComponent, typeof i42.CustomDomainDialogComponent, typeof i43.EditApplicationDialogComponent, typeof i44.NewApplicationDialogComponent, typeof i45.ProcessorDetailsDialogComponent, typeof i46.SkeletonFeedCardComponent, typeof i47.UpgradeDialogComponent, typeof i48.EmulatedDevicesToggleComponent, typeof i49.FeedHeaderDialogComponent, typeof i41.DFSModifiersDialogComponent, typeof i22.DFSModifiersFormComponent]>;
|
|
62
65
|
static ɵinj: i0.ɵɵInjectorDeclaration<ApplicationsFlowModule>;
|
|
63
66
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
4
|
+
import { EaCDFSModifier, EaCProjectAsCode } from '@semanticjs/common';
|
|
5
|
+
import { MatSelectChange } from '@angular/material/select';
|
|
6
|
+
import { EaCService } from '../../services/eac.service';
|
|
7
|
+
import { ApplicationsFlowService } from '../../services/applications-flow.service';
|
|
8
|
+
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class DFSModifiersFormComponent implements OnInit {
|
|
11
|
+
protected formBldr: FormBuilder;
|
|
12
|
+
protected appsFlowSvc: ApplicationsFlowService;
|
|
13
|
+
protected eacSvc: EaCService;
|
|
14
|
+
CurrentType: string;
|
|
15
|
+
EditingModifierLookup: string;
|
|
16
|
+
/**Specific Modifiers for either the project or appliaction */
|
|
17
|
+
ApplicationLookup: string;
|
|
18
|
+
Project: EaCProjectAsCode;
|
|
19
|
+
ProjectLookup: string;
|
|
20
|
+
/**which level is the dfs modifier being edited ent project or app */
|
|
21
|
+
Level: string;
|
|
22
|
+
get DetailsFormControl(): AbstractControl;
|
|
23
|
+
get EditingModifier(): EaCDFSModifier;
|
|
24
|
+
get EnabledFormControl(): AbstractControl;
|
|
25
|
+
get EnterprisesModifierLookups(): Array<string>;
|
|
26
|
+
get LocationFormControl(): AbstractControl;
|
|
27
|
+
get Modifiers(): {
|
|
28
|
+
[lookup: string]: EaCDFSModifier;
|
|
29
|
+
};
|
|
30
|
+
get ModifierLookups(): Array<string>;
|
|
31
|
+
get MultiSelectFormControl(): AbstractControl;
|
|
32
|
+
get NameFormControl(): AbstractControl;
|
|
33
|
+
get PathFilterFormControl(): AbstractControl;
|
|
34
|
+
get PriorityFormControl(): AbstractControl;
|
|
35
|
+
get ScriptFormControl(): AbstractControl;
|
|
36
|
+
get ScriptIDFormControl(): AbstractControl;
|
|
37
|
+
get StateDataTokenFormControl(): AbstractControl;
|
|
38
|
+
get State(): ApplicationsFlowState;
|
|
39
|
+
get TypeFormControl(): AbstractControl;
|
|
40
|
+
ModifierFormGroup: FormGroup;
|
|
41
|
+
ModifierSelectFormGroup: FormGroup;
|
|
42
|
+
constructor(formBldr: FormBuilder, appsFlowSvc: ApplicationsFlowService, eacSvc: EaCService);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
CreateNewModifier(): void;
|
|
45
|
+
DeleteModifier(modifierLookup: string, modifierName: string): void;
|
|
46
|
+
SaveModifierForAllProjects(projectLookups: Array<string>): void;
|
|
47
|
+
SaveModifierForApplication(applicationLookup: string): void;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* Saves a modifier, saves a modifier to a project
|
|
51
|
+
*/
|
|
52
|
+
SaveModifier(projectLookup?: string): void;
|
|
53
|
+
SetEditingModifier(modifierLookup: string): void;
|
|
54
|
+
SetUseForProject(modifierLookup: string, change: MatSlideToggleChange): void;
|
|
55
|
+
TypeChanged(event: MatSelectChange): void;
|
|
56
|
+
protected getDetails(): any;
|
|
57
|
+
protected setupModifierSelectForm(): void;
|
|
58
|
+
protected setupModifierForm(): void;
|
|
59
|
+
protected setupTypeForm(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DFSModifiersFormComponent, never>;
|
|
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>;
|
|
62
|
+
}
|
|
@@ -10,6 +10,7 @@ import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export interface BPDialogData {
|
|
12
12
|
devopsActionLookup: string;
|
|
13
|
+
doaName: string;
|
|
13
14
|
environment: EaCEnvironmentAsCode;
|
|
14
15
|
environmentLookup: string;
|
|
15
16
|
}
|
|
@@ -26,6 +27,7 @@ export declare class BuildPipelineDialogComponent implements OnInit {
|
|
|
26
27
|
constructor(dialogRef: MatDialogRef<BuildPipelineDialogComponent>, eacSvc: EaCService, data: BPDialogData, snackBar: MatSnackBar);
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
CloseDialog(): void;
|
|
30
|
+
DeleteDevOpsAction(): void;
|
|
29
31
|
HandleResponseEvent(event: Status): void;
|
|
30
32
|
SaveBuildPipeline(): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuildPipelineDialogComponent, never>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
6
|
+
import { Status } from '@lcu/common';
|
|
7
|
+
import { DFSModifiersFormComponent } from '../../controls/dfs-modifiers-form/dfs-modifiers-form.component';
|
|
8
|
+
import { EaCService } from '../../services/eac.service';
|
|
9
|
+
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export interface DFSModifiersDialogData {
|
|
12
|
+
applicationLookup?: string;
|
|
13
|
+
modifierLookup?: string;
|
|
14
|
+
level: string;
|
|
15
|
+
projectLookup?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class DFSModifiersDialogComponent implements OnInit {
|
|
18
|
+
protected eacSvc: EaCService;
|
|
19
|
+
formbldr: FormBuilder;
|
|
20
|
+
dialogRef: MatDialogRef<DFSModifiersDialogComponent>;
|
|
21
|
+
data: DFSModifiersDialogData;
|
|
22
|
+
protected snackBar: MatSnackBar;
|
|
23
|
+
DFSModifersFormControls: DFSModifiersFormComponent;
|
|
24
|
+
get State(): ApplicationsFlowState;
|
|
25
|
+
get ProjectLookups(): string[];
|
|
26
|
+
get DFSModifersFormGroup(): FormGroup;
|
|
27
|
+
get SelectedModifiersFormGroup(): FormGroup;
|
|
28
|
+
ErrorMessage: string;
|
|
29
|
+
ModifierDialogForm: FormGroup;
|
|
30
|
+
SaveDisabled: boolean;
|
|
31
|
+
constructor(eacSvc: EaCService, formbldr: FormBuilder, dialogRef: MatDialogRef<DFSModifiersDialogComponent>, data: DFSModifiersDialogData, snackBar: MatSnackBar);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
CloseDialog(): void;
|
|
34
|
+
HandleSaveFormEvent(event: Status): void;
|
|
35
|
+
IsDisabled(): boolean;
|
|
36
|
+
SaveDFSModifier(): void;
|
|
37
|
+
protected determineLevel(): void;
|
|
38
|
+
protected setupEntForm(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DFSModifiersDialogComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DFSModifiersDialogComponent, "lcu-dfs-modifiers-dialog", never, {}, {}, never, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { MatSelectChange } from '@angular/material/select';
|
|
5
|
+
import { AngularEditorConfig } from '@kolkov/angular-editor';
|
|
6
|
+
import { EaCEnvironmentAsCode, EaCSourceControl } from '@semanticjs/common';
|
|
7
|
+
import { ApplicationsFlowService } from '../../services/applications-flow.service';
|
|
8
|
+
import { EaCService } from '../../services/eac.service';
|
|
9
|
+
import { ApplicationsFlowState, GitHubBranch, GitHubOrganization, GitHubRepository } from '../../state/applications-flow.state';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export interface FeedHeaderDialogData {
|
|
12
|
+
dialogTitle: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}
|
|
15
|
+
export declare class FeedHeaderDialogComponent implements OnInit {
|
|
16
|
+
protected appsFlowSvc: ApplicationsFlowService;
|
|
17
|
+
protected eacSvc: EaCService;
|
|
18
|
+
protected formBldr: FormBuilder;
|
|
19
|
+
dialogRef: MatDialogRef<FeedHeaderDialogComponent>;
|
|
20
|
+
data: FeedHeaderDialogData;
|
|
21
|
+
get ActionIconControl(): AbstractControl;
|
|
22
|
+
get ActionLinkControl(): AbstractControl;
|
|
23
|
+
get ActionTextControl(): AbstractControl;
|
|
24
|
+
get EditorControl(): AbstractControl;
|
|
25
|
+
get Environment(): EaCEnvironmentAsCode;
|
|
26
|
+
get TargetBranchFormControl(): AbstractControl;
|
|
27
|
+
get OrganizationFormControl(): AbstractControl;
|
|
28
|
+
get SourceBranchFormControl(): AbstractControl;
|
|
29
|
+
get RepositoryFormControl(): AbstractControl;
|
|
30
|
+
get SourceControlFormControl(): AbstractControl;
|
|
31
|
+
get SourceControlLookups(): Array<string>;
|
|
32
|
+
get SourceControls(): {
|
|
33
|
+
[lookup: string]: EaCSourceControl;
|
|
34
|
+
};
|
|
35
|
+
get SubtitleFormControl(): AbstractControl;
|
|
36
|
+
get State(): ApplicationsFlowState;
|
|
37
|
+
get TitleFormControl(): AbstractControl;
|
|
38
|
+
BranchOptions: GitHubBranch[];
|
|
39
|
+
EditorConfig: AngularEditorConfig;
|
|
40
|
+
FeedHeaderFormGroup: FormGroup;
|
|
41
|
+
OrganizationOptions: GitHubOrganization[];
|
|
42
|
+
RepositoryOptions: GitHubRepository[];
|
|
43
|
+
SourceControl: EaCSourceControl;
|
|
44
|
+
Slices: {
|
|
45
|
+
[key: string]: number;
|
|
46
|
+
};
|
|
47
|
+
SlicesCount: number;
|
|
48
|
+
constructor(appsFlowSvc: ApplicationsFlowService, eacSvc: EaCService, formBldr: FormBuilder, dialogRef: MatDialogRef<FeedHeaderDialogComponent>, data: FeedHeaderDialogData);
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
CloseDialog(): void;
|
|
51
|
+
HandleAction(): void;
|
|
52
|
+
PullRequestSourceControlChanged(event: MatSelectChange): void;
|
|
53
|
+
FeatureBranchSourceControlChanged(event: MatSelectChange): void;
|
|
54
|
+
IssueSourceControlChanged(event: MatSelectChange): void;
|
|
55
|
+
Submit(): void;
|
|
56
|
+
OrganizationChanged(event: MatSelectChange): void;
|
|
57
|
+
RepositoryChanged(event: MatSelectChange): void;
|
|
58
|
+
protected listBranches(): void;
|
|
59
|
+
protected listOrganizations(): void;
|
|
60
|
+
protected listRepositories(activeRepo?: string): void;
|
|
61
|
+
protected setupFeedHeaderForm(): void;
|
|
62
|
+
protected setupAnnouncementForm(): void;
|
|
63
|
+
protected setupPRForm(): void;
|
|
64
|
+
protected setupBasicForm(): void;
|
|
65
|
+
protected setupIssueForm(): void;
|
|
66
|
+
protected setupFeatureBranchForm(): void;
|
|
67
|
+
protected setupSourceControlForm(): void;
|
|
68
|
+
protected setupBranchesForm(): void;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedHeaderDialogComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeedHeaderDialogComponent, "lcu-feed-header-dialog", never, {}, {}, never, never>;
|
|
71
|
+
}
|
|
@@ -26,6 +26,7 @@ export declare class SourceControlDialogComponent implements OnInit {
|
|
|
26
26
|
constructor(dialogRef: MatDialogRef<SourceControlDialogComponent>, eacSvc: EaCService, data: SCDialogData, snackBar: MatSnackBar);
|
|
27
27
|
ngOnInit(): void;
|
|
28
28
|
CloseDialog(): void;
|
|
29
|
+
DeleteSourceControl(scLookup: string): void;
|
|
29
30
|
HandleSaveStatusEvent(event: Status): void;
|
|
30
31
|
SaveSourceControl(): void;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SourceControlDialogComponent, never>;
|
package/lib/elements/{gh-control/gh-control.component.d.ts → feed-header/feed-header.component.d.ts}
RENAMED
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { FeedItemAction } from '../../models/user-feed.model';
|
|
3
4
|
import { EaCService } from '../../services/eac.service';
|
|
4
5
|
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
7
|
+
export declare class FeedHeaderComponent implements OnInit {
|
|
7
8
|
protected eacSvc: EaCService;
|
|
8
9
|
protected dialog: MatDialog;
|
|
10
|
+
SourceControlLookup: string;
|
|
9
11
|
get ActiveEnvironmentLookup(): string;
|
|
12
|
+
get FeedHeaderActions(): Array<FeedItemAction>;
|
|
10
13
|
get State(): ApplicationsFlowState;
|
|
11
|
-
|
|
14
|
+
ModalHeader: string;
|
|
12
15
|
SkeletonEffect: string;
|
|
13
16
|
protected selectedBtn: string;
|
|
14
17
|
value: string;
|
|
15
18
|
constructor(eacSvc: EaCService, dialog: MatDialog);
|
|
16
19
|
ngOnInit(): void;
|
|
17
20
|
ngAfterViewInit(): void;
|
|
18
|
-
|
|
19
|
-
OpenIssue(): void;
|
|
20
|
-
CreatePullRequest(): void;
|
|
21
|
+
CreateAnnouncement(): void;
|
|
21
22
|
CreateNewApp(): void;
|
|
23
|
+
OpenFHDialog(modalType: string, modalHeader: string): void;
|
|
22
24
|
RouteToPath(path: string): void;
|
|
23
25
|
Submit(): void;
|
|
24
26
|
protected addSelectBtn(): void;
|
|
25
27
|
protected removeSelectedBtn(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedHeaderComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeedHeaderComponent, "lcu-feed-header", never, { "SourceControlLookup": "source-control-lookup"; }, {}, never, never>;
|
|
28
30
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, Status } from '@lcu/common';
|
|
2
2
|
export declare class UserFeedResponse extends BaseResponse {
|
|
3
|
+
Actions: Array<FeedItemAction>;
|
|
3
4
|
Items: Array<FeedItem>;
|
|
4
5
|
SourceControlLookups: Array<string>;
|
|
5
6
|
}
|
|
@@ -42,3 +43,19 @@ export declare class FeedItemTab {
|
|
|
42
43
|
};
|
|
43
44
|
Title: string;
|
|
44
45
|
}
|
|
46
|
+
export declare class FeedEntry {
|
|
47
|
+
ActionIcon: string;
|
|
48
|
+
ActionLink: string;
|
|
49
|
+
ActionText: string;
|
|
50
|
+
Avatar: string;
|
|
51
|
+
Content: string;
|
|
52
|
+
ExpiresAt: Date;
|
|
53
|
+
Organization: string;
|
|
54
|
+
Repositroy: string;
|
|
55
|
+
SourceBranch: string;
|
|
56
|
+
SourceControlLookup: string;
|
|
57
|
+
Subtitle: string;
|
|
58
|
+
TargetBranch: string;
|
|
59
|
+
Title: string;
|
|
60
|
+
Type: string;
|
|
61
|
+
}
|
|
@@ -3,6 +3,7 @@ import { LCUServiceSettings } from '@lcu/common';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { EnterpriseAsCode } from '@semanticjs/common';
|
|
5
5
|
import { UnpackLowCodeUnitRequest } from '../state/applications-flow.state';
|
|
6
|
+
import { FeedEntry } from '../models/user-feed.model';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ApplicationsFlowService {
|
|
8
9
|
protected http: HttpClient;
|
|
@@ -16,6 +17,7 @@ export declare class ApplicationsFlowService {
|
|
|
16
17
|
DeleteProject(projectLookup: string): Observable<object>;
|
|
17
18
|
DeleteSourceControl(scLookup: string): Observable<object>;
|
|
18
19
|
EnsureUserEnterprise(): Observable<object>;
|
|
20
|
+
EnterpriseAsCodeRemovals(removals: EnterpriseAsCode): Observable<object>;
|
|
19
21
|
GetActiveEnterprise(): Observable<object>;
|
|
20
22
|
HasValidConnection(): Observable<object>;
|
|
21
23
|
ListProjects(): Observable<object>;
|
|
@@ -26,10 +28,11 @@ export declare class ApplicationsFlowService {
|
|
|
26
28
|
ListRepositories(organization: string): Observable<object>;
|
|
27
29
|
LoadEnterpriseAsCode(): Observable<object>;
|
|
28
30
|
LoadProjectHostingDetails(): Observable<object>;
|
|
31
|
+
LoadUserFeed(page: number, pageSize: number, project: string, applications: string[]): Observable<object>;
|
|
29
32
|
SaveEnterpriseAsCode(eac: EnterpriseAsCode): Observable<object>;
|
|
30
33
|
SetActiveEnterprise(activeEntLookup: string): Observable<object>;
|
|
34
|
+
SubmitFeedEntry(entry: FeedEntry): Observable<object>;
|
|
31
35
|
UnpackLowCodeUnit(req: UnpackLowCodeUnitRequest): Observable<object>;
|
|
32
|
-
LoadUserFeed(page: number, pageSize: number, project: string, applications: string[]): Observable<object>;
|
|
33
36
|
protected loadHeaders(): {
|
|
34
37
|
[header: string]: string | string[];
|
|
35
38
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProjectService } from './project.service';
|
|
2
2
|
import { ApplicationsFlowState, UnpackLowCodeUnitRequest } from '../state/applications-flow.state';
|
|
3
3
|
import { EaCApplicationAsCode, EaCDataToken, EaCDFSModifier, EaCEnvironmentAsCode, EaCProjectAsCode, EnterpriseAsCode } from '@semanticjs/common';
|
|
4
|
-
import { FeedItem } from '../models/user-feed.model';
|
|
4
|
+
import { FeedEntry, FeedItem } from '../models/user-feed.model';
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
6
6
|
import { Status } from '@lcu/common';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
@@ -12,9 +12,10 @@ export declare class SaveApplicationAsCodeEventRequest {
|
|
|
12
12
|
ProjectLookup?: string;
|
|
13
13
|
}
|
|
14
14
|
export declare class SaveDFSModifierEventRequest {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
ApplicationLookup?: string;
|
|
16
|
+
Modifier?: EaCDFSModifier;
|
|
17
|
+
ModifierLookups?: Array<string>;
|
|
18
|
+
ProjectLookups?: Array<string>;
|
|
18
19
|
}
|
|
19
20
|
export declare class SaveEnvironmentAsCodeEventRequest {
|
|
20
21
|
EnterpriseDataTokens?: {
|
|
@@ -40,6 +41,7 @@ export declare class EaCService {
|
|
|
40
41
|
DeleteProject(projectLookup: string): Promise<void>;
|
|
41
42
|
DeleteSourceControl(scLookup: string): Promise<void>;
|
|
42
43
|
EnsureUserEnterprise(): Promise<void>;
|
|
44
|
+
EnterpriseAsCodeRemovals(eac: EnterpriseAsCode): Promise<Status>;
|
|
43
45
|
GetActiveEnterprise(): Promise<void>;
|
|
44
46
|
LoadUserFeed(page: number, pageSize: number): Promise<void>;
|
|
45
47
|
GenerateRoutedApplications(applications: {
|
|
@@ -60,6 +62,7 @@ export declare class EaCService {
|
|
|
60
62
|
SetActiveEnterprise(entLookup: any): Promise<void>;
|
|
61
63
|
SetCreatingProject(creatingProject: boolean): Promise<void>;
|
|
62
64
|
SetEditProjectSettings(projectLookup: string): Promise<void>;
|
|
65
|
+
SubmitFeedEntry(entry: FeedEntry): Promise<Status>;
|
|
63
66
|
UnpackLowCodeUnit(req: UnpackLowCodeUnitRequest): Promise<void>;
|
|
64
67
|
protected handleSaveApplication(req: SaveApplicationAsCodeEventRequest): Promise<Status>;
|
|
65
68
|
protected handleSaveDFSModifier(req: SaveDFSModifierEventRequest): Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Status } from '@lcu/common';
|
|
1
|
+
import { BaseResponse, Status } from '@lcu/common';
|
|
2
2
|
import { EaCApplicationAsCode, EnterpriseAsCode } from '@semanticjs/common';
|
|
3
3
|
import { ApplicationsFlowState, UnpackLowCodeUnitRequest } from '../state/applications-flow.state';
|
|
4
4
|
import { ApplicationsFlowService } from './applications-flow.service';
|
|
5
|
-
import { FeedItem } from '../models/user-feed.model';
|
|
5
|
+
import { FeedEntry, FeedItem } from '../models/user-feed.model';
|
|
6
6
|
import { ActivatedRoute } from '@angular/router';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ProjectService {
|
|
@@ -15,7 +15,8 @@ export declare class ProjectService {
|
|
|
15
15
|
DeleteDevOpsAction(state: ApplicationsFlowState, doaLookup: string): Promise<EnterpriseAsCode>;
|
|
16
16
|
DeleteProject(state: ApplicationsFlowState, projectLookup: string): Promise<EnterpriseAsCode>;
|
|
17
17
|
DeleteSourceControl(state: ApplicationsFlowState, scLookup: string): Promise<EnterpriseAsCode>;
|
|
18
|
-
EnsureUserEnterprise(state: ApplicationsFlowState): Promise<
|
|
18
|
+
EnsureUserEnterprise(state: ApplicationsFlowState): Promise<BaseResponse>;
|
|
19
|
+
EnterpriseAsCodeRemovals(state: ApplicationsFlowState, eac: EnterpriseAsCode): Promise<Status>;
|
|
19
20
|
GenerateRoutedApplications(applications: {
|
|
20
21
|
[lookup: string]: EaCApplicationAsCode;
|
|
21
22
|
}, state: ApplicationsFlowState): {
|
|
@@ -32,6 +33,7 @@ export declare class ProjectService {
|
|
|
32
33
|
SaveEnterpriseAsCode(state: ApplicationsFlowState, eac: EnterpriseAsCode): Promise<Status>;
|
|
33
34
|
SetCreatingProject(creatingProject: boolean): void;
|
|
34
35
|
SetEditProjectSettings(state: ApplicationsFlowState, projectLookup: string): Promise<any>;
|
|
36
|
+
SubmitFeedEntry(state: ApplicationsFlowState, entry: FeedEntry): Promise<Status>;
|
|
35
37
|
ToggleCreateProject(): void;
|
|
36
38
|
UnpackLowCodeUnit(state: ApplicationsFlowState, req: UnpackLowCodeUnitRequest): Promise<EnterpriseAsCode>;
|
|
37
39
|
protected loadApplicationsForFeed(state: ApplicationsFlowState, paramMap: any): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnterpriseAsCode } from '@semanticjs/common';
|
|
2
|
-
import { FeedItem } from '../models/user-feed.model';
|
|
2
|
+
import { FeedItem, FeedItemAction } from '../models/user-feed.model';
|
|
3
3
|
export declare class ApplicationsFlowState {
|
|
4
4
|
ActiveEnterpriseLookup?: string;
|
|
5
5
|
EaC?: EnterpriseAsCode;
|
|
@@ -8,6 +8,7 @@ export declare class ApplicationsFlowState {
|
|
|
8
8
|
Lookup: string;
|
|
9
9
|
}>;
|
|
10
10
|
Feed?: Array<FeedItem>;
|
|
11
|
+
FeedActions?: Array<FeedItemAction>;
|
|
11
12
|
FeedSourceControlLookups?: Array<string>;
|
|
12
13
|
GitHub?: GitHubSetupState;
|
|
13
14
|
HostingDetails?: ProjectHostingDetails;
|
package/package.json
CHANGED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { EaCNapkinIDEFlowImporter } from '@semanticjs/napkin-ide';
|
|
3
|
-
// import '@semanticjs/krakyn';
|
|
4
|
-
import { ConstantUtils, DragDropUtils, DragItemsTemplates, VariablesUtils } from '@semanticjs/krakyn';
|
|
5
|
-
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../services/applications-flow.service";
|
|
8
|
-
import * as i2 from "../../services/project.service";
|
|
9
|
-
export class FlowToolComponent {
|
|
10
|
-
constructor(injector, appsFlowSvc, projectService) {
|
|
11
|
-
// super(injector);
|
|
12
|
-
this.injector = injector;
|
|
13
|
-
this.appsFlowSvc = appsFlowSvc;
|
|
14
|
-
this.projectService = projectService;
|
|
15
|
-
console.log('CONSTRUCTOR');
|
|
16
|
-
this.State = new ApplicationsFlowState();
|
|
17
|
-
// VariablesUtils.DataFlowModuleData =
|
|
18
|
-
// [
|
|
19
|
-
// ConstantUtils.NAPKIN_IDE_MODULE_DATA,
|
|
20
|
-
// ConstantUtils.HOME_MODULE_DATA
|
|
21
|
-
// ];
|
|
22
|
-
this.Title = 'The Krakyn Tool';
|
|
23
|
-
this.SideMenuItems = DragItemsTemplates.FLOW_DRAG_ITEMS(DragDropUtils.Drag);
|
|
24
|
-
this.TabMenuItems = [
|
|
25
|
-
{ Label: 'External Data Test', Target: 'ExternalData', Class: 'selected' },
|
|
26
|
-
{ Label: 'Original Data', Target: 'OriginalData', Class: '' }
|
|
27
|
-
// { Label: 'Home', Target: 'Home' }
|
|
28
|
-
];
|
|
29
|
-
// this.Data = VariablesUtils.DataFlowModuleData[0];
|
|
30
|
-
// console.log('Krakyn Tool Test Data: ', this.Data.Data);
|
|
31
|
-
}
|
|
32
|
-
// Lifecycle hooks
|
|
33
|
-
ngOnInit() {
|
|
34
|
-
this.handleStateChange()
|
|
35
|
-
.then((eac) => { });
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Import tool data
|
|
39
|
-
*/
|
|
40
|
-
importData() {
|
|
41
|
-
const eaCNapkinIDEFlowImporter = new EaCNapkinIDEFlowImporter();
|
|
42
|
-
this.Title = 'Imported data for Krakyn';
|
|
43
|
-
const externalData = {
|
|
44
|
-
Module: 'ExternalData',
|
|
45
|
-
Data: eaCNapkinIDEFlowImporter.Import(this.State.EaC)
|
|
46
|
-
};
|
|
47
|
-
const dataIndex = 0;
|
|
48
|
-
VariablesUtils.DataFlowModuleData = [
|
|
49
|
-
ConstantUtils.MapData('ExternalData', externalData.Data),
|
|
50
|
-
ConstantUtils.MapData('OriginalData', ConstantUtils.ORIGINAL_TEST_DATA)
|
|
51
|
-
];
|
|
52
|
-
VariablesUtils.ActiveModule = VariablesUtils.DataFlowModuleData[dataIndex].Module;
|
|
53
|
-
this.KrakynData = VariablesUtils.DataFlowModuleData[dataIndex];
|
|
54
|
-
console.log('KRAKYN - DATA SET!!!!!!!', this.KrakynData);
|
|
55
|
-
}
|
|
56
|
-
async handleStateChange() {
|
|
57
|
-
console.log('HANDLE STATE CHANGE');
|
|
58
|
-
this.State.Loading = true;
|
|
59
|
-
await this.projectService.HasValidConnection(this.State);
|
|
60
|
-
await this.projectService.EnsureUserEnterprise(this.State);
|
|
61
|
-
await this.projectService.ListEnterprises(this.State);
|
|
62
|
-
if (this.State.Enterprises?.length > 0) {
|
|
63
|
-
this.State.Loading = false;
|
|
64
|
-
this.importData();
|
|
65
|
-
await this.projectService.GetActiveEnterprise(this.State);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
FlowToolComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: FlowToolComponent, deps: [{ token: i0.Injector }, { token: i1.ApplicationsFlowService }, { token: i2.ProjectService }], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
-
FlowToolComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: FlowToolComponent, selector: "lcu-flow-tool", ngImport: i0, template: "<krakyn-flow-tool\n [HeaderTitle] = 'Title'\n [FlowData] = 'KrakynData'\n [SideMenuItems] = 'SideMenuItems'\n [TabMenuItems] = 'TabMenuItems'>\n</krakyn-flow-tool>", styles: [""] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: FlowToolComponent, decorators: [{
|
|
72
|
-
type: Component,
|
|
73
|
-
args: [{ selector: 'lcu-flow-tool', template: "<krakyn-flow-tool\n [HeaderTitle] = 'Title'\n [FlowData] = 'KrakynData'\n [SideMenuItems] = 'SideMenuItems'\n [TabMenuItems] = 'TabMenuItems'>\n</krakyn-flow-tool>", styles: [""] }]
|
|
74
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.ApplicationsFlowService }, { type: i2.ProjectService }]; } });
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvdy10b29sLmNvbXBvbmVudC5qcyIsInNvdXJjZVJ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