@lowcodeunit/applications-flow-common 1.33.229-lets-get-social-ish → 1.33.232-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/lib/controls/processor-details-form/processor-details-form.component.mjs +32 -50
- package/esm2020/lib/elements/main-feed-card/main-feed-card.component.mjs +3 -3
- package/esm2020/lib/state/applications-flow.state.mjs +4 -1
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +32 -47
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +34 -49
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -684,6 +684,9 @@ class ApplicationsFlowState {
|
|
|
684
684
|
this.GitHub = {};
|
|
685
685
|
this.HostingDetails = {};
|
|
686
686
|
this.Loading = true;
|
|
687
|
+
this.LoadingActiveEnterprise = true;
|
|
688
|
+
this.LoadingEnterprises = true;
|
|
689
|
+
this.LoadingFeed = true;
|
|
687
690
|
// this.Projects = [];
|
|
688
691
|
}
|
|
689
692
|
}
|
|
@@ -4350,10 +4353,10 @@ class MainFeedCardComponent {
|
|
|
4350
4353
|
}
|
|
4351
4354
|
}
|
|
4352
4355
|
MainFeedCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: MainFeedCardComponent, deps: [{ token: EaCService }, { token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
4353
|
-
MainFeedCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: MainFeedCardComponent, selector: "lcu-main-feed-card", inputs: { FeedItem: ["feed-item", "FeedItem"] }, ngImport: i0, template: "<mat-card class=\"social-card\">\n <mat-card-header>\n <img\n mat-card-avatar\n class=\"example-header-image\"\n [src]=\"FeedItem.Avatar\"\n *ngIf=\"FeedItem.Avatar\"\n />\n\n <mat-card-title *ngIf=\"FeedItem.Title\">{{ FeedItem.Title }}</mat-card-title>\n\n <mat-card-subtitle>\n <div *ngIf=\"FeedItem.Subtitle\">{{ FeedItem.Subtitle }}</div>\n <div *ngIf=\"FeedItem.Status\">\n <mat-icon\n *ngIf=\"Icon\"\n [style.color]=\"IconColor\"\n [class.spin]=\"FeedItem.Status?.Code == 2\"\n >\n {{ Icon }}\n </mat-icon>\n\n <span *ngIf=\"FeedItem.Timestamp\">\n {{ CalculateTimelapse(FeedItem.Timestamp) }}\n </span>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n\n <div *ngIf=\"!FeedItem.IsShortForm\">\n <!-- <div class=\"feed-card-container\">\n <div class=\"feed-card-main-content\">\n The tab content (only 1 'tab' for now)... So really we don't need to worry about tabs until a future iteration\n\n The tabs property will contain a data structure that will vary by the FeedItem.Type... That structure can be used to render the content\n </div>\n </div> -->\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <div fxFlex></div>\n\n <ng-container *ngFor=\"let action of FeedItem.Actions\">\n <button mat-button [color]=\"action.Color\" (click)=\"HandleAction(action)\">\n <mat-icon *ngIf=\"action.Icon\">{{ action.Icon }}</mat-icon>\n\n {{ action.Text }}\n </button>\n </ng-container>\n </mat-card-actions>\n</mat-card>\n", styles: [":host :host ::ng-deep .social-card{margin:20px;padding:15px 5px}:host :host ::ng-deep mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}:host :host ::ng-deep .main-slot-container{padding:10px}:host :host ::ng-deep .slot-header{align-items:center}:host :host ::ng-deep .slot-content{width:100%}:host :host ::ng-deep .slot-name{font-size:13px;font-weight:600}:host :host ::ng-deep .slot-description{font-size:12px;margin-right:10px}:host :host ::ng-deep .slot-action-anchor{font-size:10px;text-decoration:none;color:#000}:host :host ::ng-deep .action-icon{height:25px;width:25px;font-size:25px;cursor:pointer}:host .example-header-image{background-size:cover}:host .mat-icon{display:inline-flex;vertical-align:middle}:host .mat-icon.spin{animation:rotate 1s ease-in-out infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], components: [{ type: i4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i4.MatCardHeader, selector: "mat-card-header" }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { type: i4.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { type: i4.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { type: i4.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { type: i5$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i5$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4356
|
+
MainFeedCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: MainFeedCardComponent, selector: "lcu-main-feed-card", inputs: { FeedItem: ["feed-item", "FeedItem"] }, ngImport: i0, template: "<mat-card class=\"social-card\">\n <mat-card-header>\n <img\n mat-card-avatar\n class=\"example-header-image\"\n [src]=\"FeedItem.Avatar\"\n *ngIf=\"FeedItem.Avatar\"\n />\n\n <mat-card-title *ngIf=\"FeedItem.Title\">{{ FeedItem.Title }}</mat-card-title>\n\n <mat-card-subtitle>\n <div *ngIf=\"FeedItem.Subtitle\">{{ FeedItem.Subtitle }}</div>\n \n <div *ngIf=\"FeedItem.Status\">\n <mat-icon\n *ngIf=\"Icon\"\n [style.color]=\"IconColor\"\n [class.spin]=\"FeedItem.Status?.Code == 2\"\n >\n {{ Icon }}\n </mat-icon>\n\n <span *ngIf=\"FeedItem.Timestamp\">\n {{ CalculateTimelapse(FeedItem.Timestamp) }}\n </span>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n\n <div *ngIf=\"!FeedItem.IsShortForm\">\n <!-- <div class=\"feed-card-container\">\n <div class=\"feed-card-main-content\">\n The tab content (only 1 'tab' for now)... So really we don't need to worry about tabs until a future iteration\n\n The tabs property will contain a data structure that will vary by the FeedItem.Type... That structure can be used to render the content\n </div>\n </div> -->\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <div fxFlex></div>\n\n <ng-container *ngFor=\"let action of FeedItem.Actions\">\n <button mat-button [color]=\"action.Color\" (click)=\"HandleAction(action)\">\n <mat-icon *ngIf=\"action.Icon\">{{ action.Icon }}</mat-icon>\n\n {{ action.Text }}\n </button>\n </ng-container>\n </mat-card-actions>\n</mat-card>\n", styles: [":host :host ::ng-deep .social-card{margin:20px;padding:15px 5px}:host :host ::ng-deep mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}:host :host ::ng-deep .main-slot-container{padding:10px}:host :host ::ng-deep .slot-header{align-items:center}:host :host ::ng-deep .slot-content{width:100%}:host :host ::ng-deep .slot-name{font-size:13px;font-weight:600}:host :host ::ng-deep .slot-description{font-size:12px;margin-right:10px}:host :host ::ng-deep .slot-action-anchor{font-size:10px;text-decoration:none;color:#000}:host :host ::ng-deep .action-icon{height:25px;width:25px;font-size:25px;cursor:pointer}:host .example-header-image{background-size:cover}:host .mat-icon{display:inline-flex;vertical-align:middle}:host .mat-icon.spin{animation:rotate 1s ease-in-out infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], components: [{ type: i4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i4.MatCardHeader, selector: "mat-card-header" }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { type: i4.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { type: i4.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { type: i4.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { type: i5$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i5$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4354
4357
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: MainFeedCardComponent, decorators: [{
|
|
4355
4358
|
type: Component,
|
|
4356
|
-
args: [{ selector: 'lcu-main-feed-card', template: "<mat-card class=\"social-card\">\n <mat-card-header>\n <img\n mat-card-avatar\n class=\"example-header-image\"\n [src]=\"FeedItem.Avatar\"\n *ngIf=\"FeedItem.Avatar\"\n />\n\n <mat-card-title *ngIf=\"FeedItem.Title\">{{ FeedItem.Title }}</mat-card-title>\n\n <mat-card-subtitle>\n <div *ngIf=\"FeedItem.Subtitle\">{{ FeedItem.Subtitle }}</div>\n <div *ngIf=\"FeedItem.Status\">\n <mat-icon\n *ngIf=\"Icon\"\n [style.color]=\"IconColor\"\n [class.spin]=\"FeedItem.Status?.Code == 2\"\n >\n {{ Icon }}\n </mat-icon>\n\n <span *ngIf=\"FeedItem.Timestamp\">\n {{ CalculateTimelapse(FeedItem.Timestamp) }}\n </span>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n\n <div *ngIf=\"!FeedItem.IsShortForm\">\n <!-- <div class=\"feed-card-container\">\n <div class=\"feed-card-main-content\">\n The tab content (only 1 'tab' for now)... So really we don't need to worry about tabs until a future iteration\n\n The tabs property will contain a data structure that will vary by the FeedItem.Type... That structure can be used to render the content\n </div>\n </div> -->\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <div fxFlex></div>\n\n <ng-container *ngFor=\"let action of FeedItem.Actions\">\n <button mat-button [color]=\"action.Color\" (click)=\"HandleAction(action)\">\n <mat-icon *ngIf=\"action.Icon\">{{ action.Icon }}</mat-icon>\n\n {{ action.Text }}\n </button>\n </ng-container>\n </mat-card-actions>\n</mat-card>\n", styles: [":host :host ::ng-deep .social-card{margin:20px;padding:15px 5px}:host :host ::ng-deep mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}:host :host ::ng-deep .main-slot-container{padding:10px}:host :host ::ng-deep .slot-header{align-items:center}:host :host ::ng-deep .slot-content{width:100%}:host :host ::ng-deep .slot-name{font-size:13px;font-weight:600}:host :host ::ng-deep .slot-description{font-size:12px;margin-right:10px}:host :host ::ng-deep .slot-action-anchor{font-size:10px;text-decoration:none;color:#000}:host :host ::ng-deep .action-icon{height:25px;width:25px;font-size:25px;cursor:pointer}:host .example-header-image{background-size:cover}:host .mat-icon{display:inline-flex;vertical-align:middle}:host .mat-icon.spin{animation:rotate 1s ease-in-out infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
4359
|
+
args: [{ selector: 'lcu-main-feed-card', template: "<mat-card class=\"social-card\">\n <mat-card-header>\n <img\n mat-card-avatar\n class=\"example-header-image\"\n [src]=\"FeedItem.Avatar\"\n *ngIf=\"FeedItem.Avatar\"\n />\n\n <mat-card-title *ngIf=\"FeedItem.Title\">{{ FeedItem.Title }}</mat-card-title>\n\n <mat-card-subtitle>\n <div *ngIf=\"FeedItem.Subtitle\">{{ FeedItem.Subtitle }}</div>\n \n <div *ngIf=\"FeedItem.Status\">\n <mat-icon\n *ngIf=\"Icon\"\n [style.color]=\"IconColor\"\n [class.spin]=\"FeedItem.Status?.Code == 2\"\n >\n {{ Icon }}\n </mat-icon>\n\n <span *ngIf=\"FeedItem.Timestamp\">\n {{ CalculateTimelapse(FeedItem.Timestamp) }}\n </span>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n\n <div *ngIf=\"!FeedItem.IsShortForm\">\n <!-- <div class=\"feed-card-container\">\n <div class=\"feed-card-main-content\">\n The tab content (only 1 'tab' for now)... So really we don't need to worry about tabs until a future iteration\n\n The tabs property will contain a data structure that will vary by the FeedItem.Type... That structure can be used to render the content\n </div>\n </div> -->\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <div fxFlex></div>\n\n <ng-container *ngFor=\"let action of FeedItem.Actions\">\n <button mat-button [color]=\"action.Color\" (click)=\"HandleAction(action)\">\n <mat-icon *ngIf=\"action.Icon\">{{ action.Icon }}</mat-icon>\n\n {{ action.Text }}\n </button>\n </ng-container>\n </mat-card-actions>\n</mat-card>\n", styles: [":host :host ::ng-deep .social-card{margin:20px;padding:15px 5px}:host :host ::ng-deep mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}:host :host ::ng-deep .main-slot-container{padding:10px}:host :host ::ng-deep .slot-header{align-items:center}:host :host ::ng-deep .slot-content{width:100%}:host :host ::ng-deep .slot-name{font-size:13px;font-weight:600}:host :host ::ng-deep .slot-description{font-size:12px;margin-right:10px}:host :host ::ng-deep .slot-action-anchor{font-size:10px;text-decoration:none;color:#000}:host :host ::ng-deep .action-icon{height:25px;width:25px;font-size:25px;cursor:pointer}:host .example-header-image{background-size:cover}:host .mat-icon{display:inline-flex;vertical-align:middle}:host .mat-icon.spin{animation:rotate 1s ease-in-out infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
4357
4360
|
}], ctorParameters: function () { return [{ type: EaCService }, { type: i1$4.MatDialog }]; }, propDecorators: { FeedItem: [{
|
|
4358
4361
|
type: Input,
|
|
4359
4362
|
args: ['feed-item']
|
|
@@ -4595,16 +4598,14 @@ class ProcessorDetailsFormComponent {
|
|
|
4595
4598
|
}
|
|
4596
4599
|
SaveProcessorDetails() {
|
|
4597
4600
|
const app = this.EditingApplication;
|
|
4598
|
-
app.LookupConfig.AllowedMethods =
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
.filter((v) => !!v);
|
|
4601
|
+
app.LookupConfig.AllowedMethods = this.MethodsFormControl?.value
|
|
4602
|
+
?.split(' ')
|
|
4603
|
+
.filter((v) => !!v);
|
|
4602
4604
|
app.Processor.Type = this.ProcessorType;
|
|
4603
4605
|
switch (app.Processor.Type) {
|
|
4604
4606
|
case 'DFS':
|
|
4605
4607
|
app.Processor.DefaultFile =
|
|
4606
|
-
this.DefaultFileFormControl.value ||
|
|
4607
|
-
'index.html';
|
|
4608
|
+
this.DefaultFileFormControl.value || 'index.html';
|
|
4608
4609
|
app.LowCodeUnit = {
|
|
4609
4610
|
Type: this.LCUType,
|
|
4610
4611
|
};
|
|
@@ -4614,74 +4615,56 @@ class ProcessorDetailsFormComponent {
|
|
|
4614
4615
|
this.SourceControls[this.SourceControlFormControl.value].Organization;
|
|
4615
4616
|
app.LowCodeUnit.Repository =
|
|
4616
4617
|
this.SourceControls[this.SourceControlFormControl.value].Repository;
|
|
4617
|
-
app.LowCodeUnit.Build =
|
|
4618
|
-
|
|
4619
|
-
app.LowCodeUnit.Path =
|
|
4620
|
-
this.BuildPathFormControl.value;
|
|
4618
|
+
app.LowCodeUnit.Build = this.BuildFormControl.value;
|
|
4619
|
+
app.LowCodeUnit.Path = this.BuildPathFormControl.value;
|
|
4621
4620
|
app.LowCodeUnit.SourceControlLookup =
|
|
4622
4621
|
this.SourceControlFormControl.value;
|
|
4623
4622
|
break;
|
|
4624
4623
|
case 'NPM':
|
|
4625
|
-
app.LowCodeUnit.Package =
|
|
4626
|
-
|
|
4627
|
-
app.LowCodeUnit.Version =
|
|
4628
|
-
this.VersionFormControl.value;
|
|
4624
|
+
app.LowCodeUnit.Package = this.PackageFormControl.value;
|
|
4625
|
+
app.LowCodeUnit.Version = this.VersionFormControl.value;
|
|
4629
4626
|
break;
|
|
4630
4627
|
case 'WordPress':
|
|
4631
|
-
app.LowCodeUnit.APIRoot =
|
|
4632
|
-
this.APIRootFormControl.value;
|
|
4628
|
+
app.LowCodeUnit.APIRoot = this.APIRootFormControl.value;
|
|
4633
4629
|
break;
|
|
4634
4630
|
case 'Zip':
|
|
4635
|
-
app.LowCodeUnit.ZipFile =
|
|
4636
|
-
this.ZipFileFormControl.value;
|
|
4631
|
+
app.LowCodeUnit.ZipFile = this.ZipFileFormControl.value;
|
|
4637
4632
|
break;
|
|
4638
4633
|
}
|
|
4639
4634
|
break;
|
|
4640
4635
|
case 'OAuth':
|
|
4641
|
-
app.Processor.Scopes =
|
|
4642
|
-
|
|
4643
|
-
app.Processor.TokenLookup =
|
|
4644
|
-
this.TokenLookupFormControl.value;
|
|
4636
|
+
app.Processor.Scopes = this.ScopesFormControl.value.split(' ');
|
|
4637
|
+
app.Processor.TokenLookup = this.TokenLookupFormControl.value;
|
|
4645
4638
|
app.LowCodeUnit = {
|
|
4646
4639
|
Type: this.LCUType,
|
|
4647
4640
|
};
|
|
4648
4641
|
switch (app.LowCodeUnit.Type) {
|
|
4649
4642
|
case 'GitHubOAuth':
|
|
4650
|
-
app.LowCodeUnit.ClientID =
|
|
4651
|
-
|
|
4652
|
-
app.LowCodeUnit.ClientSecret =
|
|
4653
|
-
this.ClientSecretFormControl.value;
|
|
4643
|
+
app.LowCodeUnit.ClientID = this.ClientIDFormControl.value;
|
|
4644
|
+
app.LowCodeUnit.ClientSecret = this.ClientSecretFormControl.value;
|
|
4654
4645
|
break;
|
|
4655
4646
|
}
|
|
4656
4647
|
break;
|
|
4657
4648
|
case 'Proxy':
|
|
4658
|
-
app.Processor.InboundPath =
|
|
4659
|
-
this.InboundPathFormControl.value;
|
|
4649
|
+
app.Processor.InboundPath = this.InboundPathFormControl.value;
|
|
4660
4650
|
app.LowCodeUnit = {
|
|
4661
4651
|
Type: this.LCUType,
|
|
4662
4652
|
};
|
|
4663
4653
|
switch (app.LowCodeUnit.Type) {
|
|
4664
4654
|
case 'API':
|
|
4665
|
-
app.LowCodeUnit.APIRoot =
|
|
4666
|
-
|
|
4667
|
-
app.LowCodeUnit.Security =
|
|
4668
|
-
this.SecurityFormControl.value;
|
|
4655
|
+
app.LowCodeUnit.APIRoot = this.APIRootFormControl.value;
|
|
4656
|
+
app.LowCodeUnit.Security = this.SecurityFormControl.value;
|
|
4669
4657
|
break;
|
|
4670
4658
|
case 'SPA':
|
|
4671
|
-
app.LowCodeUnit.SPARoot =
|
|
4672
|
-
this.SPARootFormControl.value;
|
|
4659
|
+
app.LowCodeUnit.SPARoot = this.SPARootFormControl.value;
|
|
4673
4660
|
break;
|
|
4674
4661
|
}
|
|
4675
4662
|
break;
|
|
4676
4663
|
case 'Redirect':
|
|
4677
|
-
app.Processor.IncludeRequest =
|
|
4678
|
-
|
|
4679
|
-
app.Processor.
|
|
4680
|
-
|
|
4681
|
-
app.Processor.PreserveMethod =
|
|
4682
|
-
!!this.PreserveMethodFormControl.value;
|
|
4683
|
-
app.Processor.Redirect =
|
|
4684
|
-
this.RedirectFormControl.value;
|
|
4664
|
+
app.Processor.IncludeRequest = !!this.IncludeRequestFormControl.value;
|
|
4665
|
+
app.Processor.Permanent = !!this.PermanentFormControl.value;
|
|
4666
|
+
app.Processor.PreserveMethod = !!this.PreserveMethodFormControl.value;
|
|
4667
|
+
app.Processor.Redirect = this.RedirectFormControl.value;
|
|
4685
4668
|
break;
|
|
4686
4669
|
}
|
|
4687
4670
|
if (!app.LookupConfig.PathRegex.startsWith('/')) {
|
|
@@ -4692,12 +4675,12 @@ class ProcessorDetailsFormComponent {
|
|
|
4692
4675
|
Application: app,
|
|
4693
4676
|
ApplicationLookup: this.EditingApplicationLookup || Guid.CreateRaw(),
|
|
4694
4677
|
};
|
|
4695
|
-
this.eacSvc.SaveApplicationAsCode(saveAppReq).then(res => {
|
|
4678
|
+
this.eacSvc.SaveApplicationAsCode(saveAppReq).then((res) => {
|
|
4696
4679
|
this.SaveFormEvent.emit(res);
|
|
4697
4680
|
});
|
|
4698
4681
|
}
|
|
4699
4682
|
SetEditingApplication(appLookup) {
|
|
4700
|
-
this.EditingApplication = new EaCApplicationAsCode;
|
|
4683
|
+
this.EditingApplication = new EaCApplicationAsCode();
|
|
4701
4684
|
this.EditingApplicationLookup = appLookup;
|
|
4702
4685
|
this.setupProcessorDetailsForm();
|
|
4703
4686
|
}
|
|
@@ -4793,14 +4776,16 @@ class ProcessorDetailsFormComponent {
|
|
|
4793
4776
|
});
|
|
4794
4777
|
this.setupDfsForm();
|
|
4795
4778
|
this.setupLcuTypeSubForm();
|
|
4796
|
-
this.listBuildPaths();
|
|
4797
4779
|
}
|
|
4798
4780
|
}
|
|
4799
4781
|
setupLCUGitHubForm() {
|
|
4800
|
-
console.log(
|
|
4782
|
+
console.log('EditingApplication: ', this.EditingApplication);
|
|
4801
4783
|
this.ProcessorDetailsFormGroup.addControl('sourceControl', this.formBldr.control(this.EditingApplication.LowCodeUnit?.SourceControlLookup || '', [Validators.required]));
|
|
4802
|
-
this.ProcessorDetailsFormGroup.addControl('buildPath', this.formBldr.control(this.EditingApplication.LowCodeUnit?.Path || '', [
|
|
4784
|
+
this.ProcessorDetailsFormGroup.addControl('buildPath', this.formBldr.control(this.EditingApplication.LowCodeUnit?.Path || '', [
|
|
4785
|
+
Validators.required,
|
|
4786
|
+
]));
|
|
4803
4787
|
this.ProcessorDetailsFormGroup.addControl('build', this.formBldr.control(this.EditingApplication.LowCodeUnit?.Build || 'latest', [Validators.required]));
|
|
4788
|
+
this.listBuildPaths();
|
|
4804
4789
|
}
|
|
4805
4790
|
setupLCUApplicationPointerForm() {
|
|
4806
4791
|
this.ProcessorDetailsFormGroup.addControl('applicationId', this.formBldr.control(this.EditingApplication.LowCodeUnit?.ApplicationID || '', [Validators.required]));
|