@lowcodeunit/applications-flow-common 1.33.321-lets-get-social-ish → 1.34.0

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 (42) hide show
  1. package/esm2020/lcu.api.mjs +3 -3
  2. package/esm2020/lib/applications-flow.module.mjs +11 -22
  3. package/esm2020/lib/controls/devops-source-control-form/devops-source-control-form.component.mjs +3 -3
  4. package/esm2020/lib/elements/dynamic-tabs/dynamic-tabs.component.mjs +2 -2
  5. package/esm2020/lib/elements/form-card/form-card.component.mjs +2 -2
  6. package/esm2020/lib/elements/gh-control/gh-control.component.mjs +107 -0
  7. package/esm2020/lib/elements/projects/controls/builds/builds.component.mjs +2 -2
  8. package/esm2020/lib/elements/projects/controls/create-project-wizard/create-project-wizard.component.mjs +2 -2
  9. package/esm2020/lib/elements/projects/controls/forms/source-control/source-control.component.mjs +2 -2
  10. package/esm2020/lib/elements/projects/controls/git-auth/git-auth.component.mjs +4 -6
  11. package/esm2020/lib/elements/projects/controls/header/header.component.mjs +2 -2
  12. package/esm2020/lib/elements/projects/controls/hosting-details-form-group/hosting-details-form-group.component.mjs +2 -2
  13. package/esm2020/lib/elements/projects/controls/project-items/project-items.component.mjs +2 -2
  14. package/esm2020/lib/elements/projects/controls/project-tabs/project-tabs.component.mjs +2 -2
  15. package/esm2020/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.mjs +2 -2
  16. package/esm2020/lib/elements/projects/controls/tabs/apps-flow/npm-package-select/npm-package-select.component.mjs +2 -2
  17. package/esm2020/lib/elements/projects/controls/tabs/devops/devops.component.mjs +2 -2
  18. package/esm2020/lib/elements/projects/controls/tabs/dfs-modifiers/dfs-modifiers.component.mjs +2 -2
  19. package/esm2020/lib/elements/projects/controls/tabs/domains/domains.component.mjs +2 -2
  20. package/esm2020/lib/elements/projects/controls/tabs/general/forms/project-details/project-details.component.mjs +2 -2
  21. package/esm2020/lib/elements/projects/controls/tabs/general/forms/root-directory/root-directory.component.mjs +2 -2
  22. package/esm2020/lib/elements/projects/controls/tabs/general/general.component.mjs +2 -2
  23. package/esm2020/lib/elements/projects/projects.component.mjs +2 -2
  24. package/esm2020/lib/models/user-feed.model.mjs +1 -3
  25. package/esm2020/lib/services/applications-flow.service.mjs +1 -8
  26. package/esm2020/lib/services/eac.service.mjs +1 -4
  27. package/esm2020/lib/services/project.service.mjs +1 -24
  28. package/fesm2015/lowcodeunit-applications-flow-common.mjs +1405 -1765
  29. package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
  30. package/fesm2020/lowcodeunit-applications-flow-common.mjs +1395 -1736
  31. package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
  32. package/lcu.api.d.ts +2 -2
  33. package/lib/applications-flow.module.d.ts +10 -12
  34. package/lib/elements/{feed-header/feed-header.component.d.ts → gh-control/gh-control.component.d.ts} +4 -7
  35. package/lib/models/user-feed.model.d.ts +0 -16
  36. package/lib/services/applications-flow.service.d.ts +0 -2
  37. package/lib/services/eac.service.d.ts +1 -2
  38. package/lib/services/project.service.d.ts +1 -2
  39. package/package.json +1 -1
  40. package/esm2020/lib/dialogs/feed-header-dialog/feed-header-dialog.component.mjs +0 -287
  41. package/esm2020/lib/elements/feed-header/feed-header.component.mjs +0 -128
  42. package/lib/dialogs/feed-header-dialog/feed-header-dialog.component.d.ts +0 -71
package/lcu.api.d.ts CHANGED
@@ -62,7 +62,8 @@ 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/feed-header/feed-header.component';
65
+ export * from './lib/elements/gh-control/gh-control.component';
66
+ export * from './lib/elements/gh-control/gh-control.component';
66
67
  export * from './lib/elements/main-feed-card/main-feed-card.component';
67
68
  export * from './lib/elements/project-info-card/project-info-card.component';
68
69
  export * from './lib/elements/two-column-header/two-column-header.component';
@@ -76,6 +77,5 @@ export * from './lib/controls/build-pipeline-form/build-pipeline-form.component'
76
77
  export * from './lib/controls/devops-source-control-form/devops-source-control-form.component';
77
78
  export * from './lib/dialogs/source-control-dialog/source-control-dialog.component';
78
79
  export * from './lib/dialogs/build-pipeline-dialog/build-pipeline-dialog.component';
79
- export * from './lib/dialogs/feed-header-dialog/feed-header-dialog.component';
80
80
  export * from './lib/controls/edit-application-form/edit-application-form.component';
81
81
  export * from './lib/elements/breadcrumb/breadcrumb.component';
@@ -27,7 +27,7 @@ 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/feed-header/feed-header.component";
30
+ import * as i28 from "./elements/gh-control/gh-control.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";
@@ -47,19 +47,17 @@ import * as i44 from "./dialogs/processor-details-dialog/processor-details-dialo
47
47
  import * as i45 from "./elements/skeleton-feed-card/skeleton-feed-card.component";
48
48
  import * as i46 from "./dialogs/upgrade-dialog/upgrade-dialog.component";
49
49
  import * as i47 from "./controls/emulated-devices-toggle/emulated-devices-toggle.component";
50
- import * as i48 from "./dialogs/feed-header-dialog/feed-header-dialog.component";
51
- import * as i49 from "@kolkov/angular-editor";
52
- import * as i50 from "@angular/cdk/clipboard";
53
- import * as i51 from "@lcu/common";
54
- import * as i52 from "@angular/forms";
55
- import * as i53 from "@angular/flex-layout";
56
- import * as i54 from "@lowcodeunit/app-host-common";
57
- import * as i55 from "@angular/material/tooltip";
58
- import * as i56 from "@angular/material/slide-toggle";
59
- import * as i57 from "skeleton-elements/angular";
50
+ import * as i48 from "@angular/cdk/clipboard";
51
+ import * as i49 from "@lcu/common";
52
+ import * as i50 from "@angular/forms";
53
+ import * as i51 from "@angular/flex-layout";
54
+ import * as i52 from "@lowcodeunit/app-host-common";
55
+ import * as i53 from "@angular/material/tooltip";
56
+ import * as i54 from "@angular/material/slide-toggle";
57
+ import * as i55 from "skeleton-elements/angular";
60
58
  export declare class ApplicationsFlowModule {
61
59
  static forRoot(): ModuleWithProviders<ApplicationsFlowModule>;
62
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationsFlowModule, never>;
63
- 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.FlowToolComponent, 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.CustomDomainDialogComponent, typeof i42.EditApplicationDialogComponent, typeof i43.NewApplicationDialogComponent, typeof i44.ProcessorDetailsDialogComponent, typeof i45.SkeletonFeedCardComponent, typeof i46.UpgradeDialogComponent, typeof i47.EmulatedDevicesToggleComponent, typeof i48.FeedHeaderDialogComponent], [typeof i49.AngularEditorModule, typeof i50.ClipboardModule, typeof i51.FathymSharedModule, typeof i52.FormsModule, typeof i52.ReactiveFormsModule, typeof i53.FlexLayoutModule, typeof i51.MaterialModule, typeof i54.AppHostModule, typeof i55.MatTooltipModule, typeof i56.MatSlideToggleModule, typeof i57.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 i22.FlowToolComponent, typeof i23.ThreeColumnComponent, typeof i24.SlottedCardComponent, typeof i25.ProjectInfoCardComponent, typeof i26.AnalyticsCardComponent, typeof i27.FeedCardSmComponent, typeof i28.FeedHeaderComponent, typeof i48.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 i41.CustomDomainDialogComponent, typeof i42.EditApplicationDialogComponent, typeof i43.NewApplicationDialogComponent, typeof i44.ProcessorDetailsDialogComponent, typeof i45.SkeletonFeedCardComponent, typeof i46.UpgradeDialogComponent, typeof i47.EmulatedDevicesToggleComponent, typeof i48.FeedHeaderDialogComponent]>;
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.FlowToolComponent, typeof i23.ThreeColumnComponent, typeof i24.SlottedCardComponent, typeof i25.ProjectInfoCardComponent, typeof i26.AnalyticsCardComponent, typeof i27.FeedCardSmComponent, typeof i28.GhControlComponent, 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.CustomDomainDialogComponent, typeof i42.EditApplicationDialogComponent, typeof i43.NewApplicationDialogComponent, typeof i44.ProcessorDetailsDialogComponent, typeof i45.SkeletonFeedCardComponent, typeof i46.UpgradeDialogComponent, typeof i47.EmulatedDevicesToggleComponent], [typeof i48.ClipboardModule, typeof i49.FathymSharedModule, typeof i50.FormsModule, typeof i50.ReactiveFormsModule, typeof i51.FlexLayoutModule, typeof i49.MaterialModule, typeof i52.AppHostModule, typeof i53.MatTooltipModule, typeof i54.MatSlideToggleModule, typeof i55.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 i22.FlowToolComponent, typeof i23.ThreeColumnComponent, typeof i24.SlottedCardComponent, typeof i25.ProjectInfoCardComponent, typeof i26.AnalyticsCardComponent, typeof i27.FeedCardSmComponent, typeof i28.GhControlComponent, 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.CustomDomainDialogComponent, typeof i42.EditApplicationDialogComponent, typeof i43.NewApplicationDialogComponent, typeof i44.ProcessorDetailsDialogComponent, typeof i45.SkeletonFeedCardComponent, typeof i46.UpgradeDialogComponent, typeof i47.EmulatedDevicesToggleComponent]>;
64
62
  static ɵinj: i0.ɵɵInjectorDeclaration<ApplicationsFlowModule>;
65
63
  }
@@ -3,29 +3,26 @@ import { MatDialog } from '@angular/material/dialog';
3
3
  import { EaCService } from '../../services/eac.service';
4
4
  import { ApplicationsFlowState } from '../../state/applications-flow.state';
5
5
  import * as i0 from "@angular/core";
6
- export declare class FeedHeaderComponent implements OnInit {
6
+ export declare class GhControlComponent implements OnInit {
7
7
  protected eacSvc: EaCService;
8
8
  protected dialog: MatDialog;
9
- SourceControlLookup: string;
10
9
  get ActiveEnvironmentLookup(): string;
11
10
  get State(): ApplicationsFlowState;
12
- ModalHeader: string;
11
+ InputLabel: string;
13
12
  SkeletonEffect: string;
14
13
  protected selectedBtn: string;
15
14
  value: string;
16
15
  constructor(eacSvc: EaCService, dialog: MatDialog);
17
16
  ngOnInit(): void;
18
17
  ngAfterViewInit(): void;
19
- CreateAnnouncement(): void;
20
18
  CreateFeatureBranch(): void;
21
19
  OpenIssue(): void;
22
20
  CreatePullRequest(): void;
23
21
  CreateNewApp(): void;
24
- OpenFHDialog(modalType: string): void;
25
22
  RouteToPath(path: string): void;
26
23
  Submit(): void;
27
24
  protected addSelectBtn(): void;
28
25
  protected removeSelectedBtn(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<FeedHeaderComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<FeedHeaderComponent, "lcu-feed-header", never, { "SourceControlLookup": "source-control-lookup"; }, {}, never, never>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<GhControlComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<GhControlComponent, "lcu-gh-control", never, {}, {}, never, never>;
31
28
  }
@@ -42,19 +42,3 @@ export declare class FeedItemTab {
42
42
  };
43
43
  Title: string;
44
44
  }
45
- export declare class FeedEntry {
46
- ActionIcon: string;
47
- ActionLink: string;
48
- ActionText: string;
49
- Avatar: string;
50
- Content: string;
51
- ExpiresAt: Date;
52
- Organization: string;
53
- Repositroy: string;
54
- SourceBranch: string;
55
- SourceControlLookup: string;
56
- Subtitle: string;
57
- TargetBranch: string;
58
- Title: string;
59
- Type: string;
60
- }
@@ -3,7 +3,6 @@ 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';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class ApplicationsFlowService {
9
8
  protected http: HttpClient;
@@ -29,7 +28,6 @@ export declare class ApplicationsFlowService {
29
28
  LoadProjectHostingDetails(): Observable<object>;
30
29
  SaveEnterpriseAsCode(eac: EnterpriseAsCode): Observable<object>;
31
30
  SetActiveEnterprise(activeEntLookup: string): Observable<object>;
32
- SubmitFeedEntry(entry: FeedEntry): Observable<object>;
33
31
  UnpackLowCodeUnit(req: UnpackLowCodeUnitRequest): Observable<object>;
34
32
  LoadUserFeed(page: number, pageSize: number, project: string, applications: string[]): Observable<object>;
35
33
  protected loadHeaders(): {
@@ -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 { FeedEntry, FeedItem } from '../models/user-feed.model';
4
+ import { 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';
@@ -60,7 +60,6 @@ export declare class EaCService {
60
60
  SetActiveEnterprise(entLookup: any): Promise<void>;
61
61
  SetCreatingProject(creatingProject: boolean): Promise<void>;
62
62
  SetEditProjectSettings(projectLookup: string): Promise<void>;
63
- SubmitFeedEntry(entry: FeedEntry): Promise<Status>;
64
63
  UnpackLowCodeUnit(req: UnpackLowCodeUnitRequest): Promise<void>;
65
64
  protected handleSaveApplication(req: SaveApplicationAsCodeEventRequest): Promise<Status>;
66
65
  protected handleSaveDFSModifier(req: SaveDFSModifierEventRequest): Promise<void>;
@@ -2,7 +2,7 @@ import { 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 { FeedEntry, FeedItem } from '../models/user-feed.model';
5
+ import { 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 {
@@ -32,7 +32,6 @@ export declare class ProjectService {
32
32
  SaveEnterpriseAsCode(state: ApplicationsFlowState, eac: EnterpriseAsCode): Promise<Status>;
33
33
  SetCreatingProject(creatingProject: boolean): void;
34
34
  SetEditProjectSettings(state: ApplicationsFlowState, projectLookup: string): Promise<any>;
35
- SubmitFeedEntry(state: ApplicationsFlowState, entry: FeedEntry): Promise<Status>;
36
35
  ToggleCreateProject(): void;
37
36
  UnpackLowCodeUnit(state: ApplicationsFlowState, req: UnpackLowCodeUnitRequest): Promise<EnterpriseAsCode>;
38
37
  protected loadApplicationsForFeed(state: ApplicationsFlowState, paramMap: any): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowcodeunit/applications-flow-common",
3
- "version": "1.33.321-lets-get-social-ish",
3
+ "version": "1.34.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },