@lowcodeunit/applications-flow-common 1.33.92-lets-get-social-ish → 1.33.93-lets-get-social-ish

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/bundles/lowcodeunit-applications-flow-common.umd.js +161 -80
  2. package/bundles/lowcodeunit-applications-flow-common.umd.js.map +1 -1
  3. package/bundles/lowcodeunit-applications-flow-common.umd.min.js +1 -1
  4. package/bundles/lowcodeunit-applications-flow-common.umd.min.js.map +1 -1
  5. package/esm2015/lib/applications-flow.module.js +8 -4
  6. package/esm2015/lib/controls/processor-details-form/processor-details-form.component.js +56 -53
  7. package/esm2015/lib/controls/security-toggle/security-toggle.component.js +19 -19
  8. package/esm2015/lib/controls/source-control-form/source-control-form.component.js +59 -0
  9. package/esm2015/lib/elements/analytics-card/analytics-card.component.js +1 -1
  10. package/esm2015/lib/elements/feed-card-sm/feed-card-sm.component.js +1 -1
  11. package/esm2015/lib/elements/gh-control/gh-control.component.js +1 -1
  12. package/esm2015/lib/elements/main-feed-card/main-feed-card.component.js +1 -1
  13. package/esm2015/lib/elements/project-info-card/project-info-card.component.js +1 -1
  14. package/esm2015/lib/elements/slotted-card/slotted-card.component.js +4 -3
  15. package/esm2015/lowcodeunit-applications-flow-common.js +2 -1
  16. package/fesm2015/lowcodeunit-applications-flow-common.js +144 -81
  17. package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
  18. package/lib/applications-flow.module.d.ts.map +1 -1
  19. package/lib/controls/processor-details-form/processor-details-form.component.d.ts +3 -2
  20. package/lib/controls/processor-details-form/processor-details-form.component.d.ts.map +1 -1
  21. package/lib/controls/source-control-form/source-control-form.component.d.ts +26 -0
  22. package/lib/controls/source-control-form/source-control-form.component.d.ts.map +1 -0
  23. package/lib/elements/slotted-card/slotted-card.component.d.ts +1 -0
  24. package/lib/elements/slotted-card/slotted-card.component.d.ts.map +1 -1
  25. package/lowcodeunit-applications-flow-common.d.ts +1 -0
  26. package/lowcodeunit-applications-flow-common.d.ts.map +1 -1
  27. package/lowcodeunit-applications-flow-common.metadata.json +1 -1
  28. package/package.json +1 -1
@@ -4717,8 +4717,8 @@
4717
4717
  SlottedCardComponent.decorators = [
4718
4718
  { type: i0.Component, args: [{
4719
4719
  selector: 'lcu-slotted-card',
4720
- template: "<mat-card class=\"col-info-card\">\n <mat-card-header fxLayoutAlign=\"space-between center\">\n <mat-card-title class=\"card-title\">{{ Title }}</mat-card-title>\n <mat-icon class=\"header-icon\">{{ Icon }}</mat-icon>\n </mat-card-header>\n \n <mat-card-content>\n\n <div class=\"slot-main-container\">\n\n <div class=\"header-description\">{{ MainSlotDescription }}</div>\n\n <div class=\"slot-main\">\n <ng-content></ng-content>\n </div>\n \n </div>\n\n <div *ngIf=\"SecondarySlotDescription\" class=\"slot-secondary-container\">\n\n <div class=\"header-description\">{{ SecondarySlotDescription }}</div>\n\n <div class=\"slot-secondary\">\n <ng-content select=\"[secondary]\"></ng-content>\n </div>\n \n </div>\n \n </mat-card-content>\n\n <mat-card-actions *ngIf=\"ActionText\" fxLayoutAlign=\"center\">\n <button mat-button class=\"slotted-card-action-btn\" click=\"MainActionClickEvent()\">{{ ActionText }}</button>\n </mat-card-actions>\n\n </mat-card>\n\n\n",
4721
- styles: [".col-info-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:0}.header-icon{margin-right:10px}.card-title{font-size:30px;margin-bottom:0}.header-description{background-color:#d3d3d3;margin-left:-2px;padding:10px}mat-card-actions{margin-bottom:0!important;margin-left:-1px!important;margin-right:0!important}.slotted-card-action-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
4720
+ template: "<mat-card class=\"col-info-card\">\n <mat-card-header fxLayoutAlign=\"space-between center\">\n <mat-card-title class=\"card-title\">{{ Title }}</mat-card-title>\n <mat-icon class=\"header-icon\">{{ Icon }}</mat-icon>\n </mat-card-header>\n \n <mat-card-content>\n\n <div class=\"slot-main-container\">\n\n <div class=\"header-description\">{{ MainSlotDescription }}</div>\n\n <div class=\"slot-main\">\n <ng-content></ng-content>\n </div>\n \n </div>\n\n <div *ngIf=\"SecondarySlotDescription\" class=\"slot-secondary-container\">\n\n <div class=\"header-description\">{{ SecondarySlotDescription }}</div>\n\n <div class=\"slot-secondary\">\n <ng-content select=\"[secondary]\"></ng-content>\n </div>\n \n </div>\n \n </mat-card-content>\n\n <mat-card-actions *ngIf=\"ActionText\" fxLayoutAlign=\"center\">\n <a mat-button class=\"slotted-card-action-btn\" [href]=\"ActionPath\">{{ ActionText }}</a>\n </mat-card-actions>\n\n </mat-card>\n\n\n",
4721
+ styles: [".col-info-card{border:2px solid #d3d3d3;margin:20px;padding:0}.header-icon{margin-right:10px}.card-title{font-size:30px;margin-bottom:0}.header-description{background-color:#d3d3d3;margin-left:-2px;padding:10px}mat-card-actions{margin-bottom:0!important;margin-left:-1px!important;margin-right:0!important}.slotted-card-action-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
4722
4722
  },] }
4723
4723
  ];
4724
4724
  SlottedCardComponent.ctorParameters = function () { return []; };
@@ -4728,6 +4728,7 @@
4728
4728
  MainSlotDescription: [{ type: i0.Input, args: ['main-slot-description',] }],
4729
4729
  SecondarySlotDescription: [{ type: i0.Input, args: ['secondary-slot-description',] }],
4730
4730
  ActionText: [{ type: i0.Input, args: ['action-text',] }],
4731
+ ActionPath: [{ type: i0.Input, args: ['action-path',] }],
4731
4732
  MainActionClicked: [{ type: i0.Output, args: ['main-action-clicked',] }]
4732
4733
  };
4733
4734
 
@@ -4750,7 +4751,7 @@
4750
4751
  { type: i0.Component, args: [{
4751
4752
  selector: 'lcu-project-info-card',
4752
4753
  template: "<mat-card class=\"project-info-card\">\n\n <div class=\"header-img-container\" fxLayout=\"row\" >\n <div class=\"round-project-img\" fxLayoutAlign=\"center center\">\n <mat-icon class=\"temp-icon\">flutter_dash</mat-icon>\n </div>\n </div>\n\n <div class=\"icon-btn-container\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" >\n <button mat-icon-button id=\"left-icon\" (click)=\"LeftIconClicked()\">\n <mat-icon>settings</mat-icon>\n </button>\n <button mat-icon-button id=\"right-icon\" (click)=\"RightIconClicked()\">\n <mat-icon>share</mat-icon>\n </button>\n </div>\n\n <mat-card-header class=\"project-card-header\" fxLayoutAlign=\"center center\">\n\n <mat-card-title class=\"project-card-name\" *ngIf=\"Name\">{{Name}}</mat-card-title>\n\n <mat-card-subtitle class=\"project-card-description\" *ngIf=\"Description\">{{Description}}</mat-card-subtitle>\n\n <mat-card-subtitle class=\"project-card-host\">\n <a class=\"host-anchor\" *ngIf=\"Subtext\" [href]=\"Subtext\" target=\"_blank\">{{Subtext}}</a>\n </mat-card-subtitle>\n\n </mat-card-header>\n <mat-card-content class=\"card-content-container\">\n <div class=\"stats-container\">\n <ng-content select=\"[stats]\"></ng-content>\n </div>\n\n <div class=\"promo-container\">\n <ng-content select=\"[promo]\"></ng-content>\n </div>\n\n </mat-card-content>\n <mat-card-actions class=\"actions-container\">\n <ng-content select=\"[action]\"></ng-content>\n \n </mat-card-actions>\n </mat-card>\n \n",
4753
- styles: [".project-info-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:0}.round-project-img{background-color:#dfeff2;border:2px solid #fff;border-radius:40px;height:75px;margin-top:20px;text-align:center;width:75px}.temp-icon{font-size:50px;height:50px;width:50px}.icon-btn-container{margin:5px}.project-card-header{margin-top:50px;text-align:center}.host-anchor{color:#4a918e;text-decoration:none}.header-img-container{background-color:#a4bab3;border-radius:2px 2px 0 0;height:60px;justify-content:center;margin-right:-.5px;margin-top:-.5px!important}.project-card-name{font-size:30px;font-weight:600}.card-content-container{margin-bottom:0!important}.stats-container{border-bottom:1px solid #d3d3d3;border-top:1px solid #d3d3d3}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.actions-container{padding:0!important}.info-card-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
4754
+ styles: [".project-info-card{border:2px solid #d3d3d3;margin:20px;padding:0}.round-project-img{background-color:#dfeff2;border:2px solid #fff;border-radius:40px;height:75px;margin-top:20px;text-align:center;width:75px}.temp-icon{font-size:50px;height:50px;width:50px}.icon-btn-container{margin:5px}.project-card-header{margin-top:50px;text-align:center}.host-anchor{color:#4a918e;text-decoration:none}.header-img-container{background-color:#a4bab3;border-radius:2px 2px 0 0;height:60px;justify-content:center;margin-right:-.5px;margin-top:-.5px!important}.project-card-name{font-size:30px;font-weight:600}.card-content-container{margin-bottom:0!important}.stats-container{border-bottom:1px solid #d3d3d3;border-top:1px solid #d3d3d3}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.actions-container{padding:0!important}.info-card-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
4754
4755
  },] }
4755
4756
  ];
4756
4757
  ProjectInfoCardComponent.ctorParameters = function () { return []; };
@@ -4774,7 +4775,7 @@
4774
4775
  { type: i0.Component, args: [{
4775
4776
  selector: 'lcu-analytics-card',
4776
4777
  template: "<mat-card class=\"analytics-card\">\n <mat-card-header>\n <mat-card-title *ngIf=\"Title\">{{Title}}</mat-card-title>\n <mat-card-subtitle *ngIf=\"Subtext\">{{Subtext}}</mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <!-- <ng-container *ngFor=\"let atics of analytics \"> -->\n \n <div class=\"analytic-container\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\n <div fxLayout=\"column\">\n <div class=\"analytic-number\">57</div>\n <div class=\"analytic-name\">Unique Visitors</div>\n </div>\n\n <div class=\"percent-change increase\" fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <mat-icon>arrow_drop_up</mat-icon>\n <div>{{ .16 | percent}}</div>\n </div>\n\n <!-- <div class=\"percent-change decrease\" fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <mat-icon>arrow_drop_down</mat-icon>\n <div>16</div>\n </div> -->\n </div>\n\n <!-- </ng-container> -->\n </mat-card-content>\n <!-- <mat-card-actions>\n <button mat-button>LIKE</button>\n <button mat-button>SHARE</button>\n </mat-card-actions> -->\n </mat-card>\n",
4777
- styles: [".analytics-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:10px}.increase{color:green}.decrease{color:red}"]
4778
+ styles: [".analytics-card{border:2px solid #d3d3d3;margin:20px;padding:10px}.increase{color:green}.decrease{color:red}"]
4778
4779
  },] }
4779
4780
  ];
4780
4781
  AnalyticsCardComponent.ctorParameters = function () { return []; };
@@ -4805,7 +4806,7 @@
4805
4806
  { type: i0.Component, args: [{
4806
4807
  selector: 'lcu-feed-card-sm',
4807
4808
  template: "<mat-card class=\"social-card\">\n <div class=\"feed-card-container\" fxLayout=\"row\">\n <mat-icon *ngIf=\"Icon\" [style.color]=\"IconColor\">{{Icon}}</mat-icon>\n <div class=\"feed-card-main-content\">\n <mat-card-title *ngIf=\"Title\">{{Title}}</mat-card-title>\n <div *ngIf=\"Subtext\">{{Subtext}}</div>\n <div *ngIf=\"Description\">{{Description}}</div>\n <ng-content select=\"[more-details]\"></ng-content>\n </div>\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"end\">\n <ng-content select=\"[actions]\"></ng-content>\n </mat-card-actions>\n </mat-card>\n",
4808
- styles: [".social-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:15px 5px}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.main-slot-container{padding:10px}.slot-header{align-items:center}.slot-content{width:100%}.slot-name{font-size:22px;font-weight:600;padding-left:5px}.slot-description{font-size:12px;margin-right:10px}.slot-action-anchor{color:#000;font-size:10px;text-decoration:none}.action-icon{font-size:25px;height:25px;width:25px}.gold-icon{color:#d4af37}.upgrade-text{cursor:pointer;font-weight:700;margin-left:10px}"]
4809
+ styles: [".social-card{border:2px solid #d3d3d3;margin:20px;padding:15px 5px}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.main-slot-container{padding:10px}.slot-header{align-items:center}.slot-content{width:100%}.slot-name{font-size:22px;font-weight:600;padding-left:5px}.slot-description{font-size:12px;margin-right:10px}.slot-action-anchor{color:#000;font-size:10px;text-decoration:none}.action-icon{font-size:25px;height:25px;width:25px}.gold-icon{color:#d4af37}.upgrade-text{cursor:pointer;font-weight:700;margin-left:10px}"]
4809
4810
  },] }
4810
4811
  ];
4811
4812
  FeedCardSmComponent.ctorParameters = function () { return []; };
@@ -4883,7 +4884,7 @@
4883
4884
  { type: i0.Component, args: [{
4884
4885
  selector: 'lcu-gh-control',
4885
4886
  template: "<mat-card class=\"social-card\">\n <div class=\"gh-card-container\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <mat-icon fxFlex=\"15%\" class=\"gh-icon\">error_outline</mat-icon>\n <div fxFlex=\"70%\"class=\"gh-card-main-content\">\n <mat-form-field appearance=\"fill\" class=\"gh-input\">\n <mat-label>{{InputLabel}}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"value\">\n <!-- <button *ngIf=\"value\" matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"value=''\">\n <mat-icon>close</mat-icon>\n </button> -->\n </mat-form-field>\n </div>\n <button fxFlex=\"15%\" mat-button (click)=\"Submit()\" id=\"submit-btn\">Submit</button>\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <button mat-button (click)=\"CreatePullRequest()\" id=\"pr-btn\">Pull Request</button>\n <button mat-button (click)=\"OpenIssue()\" id=\"oi-btn\">Open Issue</button>\n <button mat-button (click)=\"CreateFeatureBranch()\" id=\"fb-btn\">Feature Branch</button>\n <button mat-icon-button (click)=\"OpenMoreInfo()\">\n <mat-icon>more_horiz</mat-icon>\n </button>\n </mat-card-actions>\n </mat-card>",
4886
- styles: [".social-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:15px 5px}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.main-slot-container{padding:10px}.slot-header{align-items:center}.slot-content{width:100%}.slot-name{font-size:22px;font-weight:600;padding-left:5px}.slot-description{font-size:12px;margin-right:10px}.slot-action-anchor{color:#000;font-size:10px;text-decoration:none}.action-icon{font-size:25px;height:25px;width:25px}.gold-icon{color:#d4af37}.upgrade-text{cursor:pointer;font-weight:700;margin-left:10px}.gh-icon{font-size:60px;height:60px;text-align:center;width:60px}.gh-input{width:90%}.selected{border:1px solid green}::ng-deep .mat-form-field-flex{border:1px solid;border-radius:30px!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0!important}"]
4887
+ styles: [".social-card{border:2px solid #d3d3d3;margin:20px;padding:15px 5px}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.main-slot-container{padding:10px}.slot-header{align-items:center}.slot-content{width:100%}.slot-name{font-size:22px;font-weight:600;padding-left:5px}.slot-description{font-size:12px;margin-right:10px}.slot-action-anchor{color:#000;font-size:10px;text-decoration:none}.action-icon{font-size:25px;height:25px;width:25px}.gold-icon{color:#d4af37}.upgrade-text{cursor:pointer;font-weight:700;margin-left:10px}.gh-icon{font-size:60px;height:60px;text-align:center;width:60px}.gh-input{width:90%}.selected{border:1px solid green}::ng-deep .mat-form-field-flex{border:1px solid;border-radius:30px!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0!important}"]
4887
4888
  },] }
4888
4889
  ];
4889
4890
  GhControlComponent.ctorParameters = function () { return []; };
@@ -4902,7 +4903,7 @@
4902
4903
  { type: i0.Component, args: [{
4903
4904
  selector: 'lcu-main-feed-card',
4904
4905
  template: "<mat-card class=\"social-card\">\n <mat-card-header fxLayout=\"row\">\n <div *ngIf=\"Avatar\" mat-card-avatar class=\"example-header-image\" [style.backgroundImage]=\"Avatar\" fxFlex=\"10%\"></div>\n <div class=\"header-main-content-container\" fxFlex=\"80%\">\n <mat-card-title *ngIf=\"Title\">{{Title}}</mat-card-title>\n <div *ngIf=\"Subtext\">{{Subtext}}</div>\n <div *ngIf=\"TimeAgo\">{{TimeAgo}}</div>\n </div>\n <div fxFlex=\"10%\">\n <button mat-icon-button (click)=\"MoreClicked()\" >\n <mat-icon>more_horiz</mat-icon>\n </button>\n </div>\n\n </mat-card-header>\n \n <div class=\"feed-card-container\" fxLayout=\"row\">\n <div class=\"feed-card-main-content\">\n <ng-content select=\"[tabs]\"></ng-content>\n </div>\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <ng-content select=\"[actions]\"></ng-content>\n \n\n </mat-card-actions>\n </mat-card>\n",
4905
- styles: [".social-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:15px 5px}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.main-slot-container{padding:10px}.slot-header{align-items:center}.slot-content{width:100%}.slot-name{font-size:22px;font-weight:600;padding-left:5px}.slot-description{font-size:12px;margin-right:10px}.slot-action-anchor{color:#000;font-size:10px;text-decoration:none}.action-icon{font-size:25px;height:25px;width:25px}.gold-icon{color:#d4af37}.upgrade-text{cursor:pointer;font-weight:700;margin-left:10px}.example-header-image{background-size:cover}"]
4906
+ styles: [".social-card{border:2px solid #d3d3d3;margin:20px;padding:15px 5px}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.main-slot-container{padding:10px}.slot-header{align-items:center}.slot-content{width:100%}.slot-name{font-size:22px;font-weight:600;padding-left:5px}.slot-description{font-size:12px;margin-right:10px}.slot-action-anchor{color:#000;font-size:10px;text-decoration:none}.action-icon{font-size:25px;height:25px;width:25px}.gold-icon{color:#d4af37}.upgrade-text{cursor:pointer;font-weight:700;margin-left:10px}.example-header-image{background-size:cover}"]
4906
4907
  },] }
4907
4908
  ];
4908
4909
  MainFeedCardComponent.ctorParameters = function () { return []; };
@@ -5015,26 +5016,26 @@
5015
5016
  console.log("submitting values");
5016
5017
  };
5017
5018
  SecurityToggleComponent.prototype.setupSecurityFormGroup = function () {
5018
- var _a, _b, _c, _d, _e;
5019
+ var _a, _b;
5019
5020
  this.ProcessorType = ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Processor) === null || _b === void 0 ? void 0 : _b.Type) || '';
5020
5021
  if (this.EditingApplication != null) {
5021
- this.SecurityFormGroup = this.formBldr.group({
5022
- name: [(_c = this.EditingApplication.Application) === null || _c === void 0 ? void 0 : _c.Name, forms.Validators.required],
5023
- description: [
5024
- (_d = this.EditingApplication.Application) === null || _d === void 0 ? void 0 : _d.Description,
5025
- forms.Validators.required,
5026
- ],
5027
- route: [
5028
- ((_e = this.EditingApplication.LookupConfig) === null || _e === void 0 ? void 0 : _e.PathRegex.replace('.*', '')) ||
5029
- '/',
5030
- forms.Validators.required,
5031
- ],
5032
- // priority: [
5033
- // this.EditingApplication.Application?.Priority || 10000,
5034
- // Validators.required,
5035
- // ],
5036
- procType: [this.ProcessorType, [forms.Validators.required]],
5037
- });
5022
+ // this.SecurityFormGroup = this.formBldr.group({
5023
+ // name: [this.EditingApplication.Application?.Name, Validators.required],
5024
+ // description: [
5025
+ // this.EditingApplication.Application?.Description,
5026
+ // Validators.required,
5027
+ // ],
5028
+ // route: [
5029
+ // this.EditingApplication.LookupConfig?.PathRegex.replace('.*', '') ||
5030
+ // '/',
5031
+ // Validators.required,
5032
+ // ],
5033
+ // // priority: [
5034
+ // // this.EditingApplication.Application?.Priority || 10000,
5035
+ // // Validators.required,
5036
+ // // ],
5037
+ // procType: [this.ProcessorType, [Validators.required]],
5038
+ // });
5038
5039
  }
5039
5040
  this.setupSecurityForm();
5040
5041
  };
@@ -5068,7 +5069,7 @@
5068
5069
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "BuildFormControl", {
5069
5070
  get: function () {
5070
5071
  var _a;
5071
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.build;
5072
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.build;
5072
5073
  },
5073
5074
  enumerable: false,
5074
5075
  configurable: true
@@ -5076,7 +5077,7 @@
5076
5077
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "ClientIDFormControl", {
5077
5078
  get: function () {
5078
5079
  var _a;
5079
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.clientId;
5080
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.clientId;
5080
5081
  },
5081
5082
  enumerable: false,
5082
5083
  configurable: true
@@ -5084,7 +5085,7 @@
5084
5085
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "DefaultFileFormControl", {
5085
5086
  get: function () {
5086
5087
  var _a;
5087
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.defaultFile;
5088
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.defaultFile;
5088
5089
  },
5089
5090
  enumerable: false,
5090
5091
  configurable: true
@@ -5092,7 +5093,7 @@
5092
5093
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "InboundPathFormControl", {
5093
5094
  get: function () {
5094
5095
  var _a;
5095
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.inboundPath;
5096
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.inboundPath;
5096
5097
  },
5097
5098
  enumerable: false,
5098
5099
  configurable: true
@@ -5100,7 +5101,7 @@
5100
5101
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "TokenLookupFormControl", {
5101
5102
  get: function () {
5102
5103
  var _a;
5103
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.tokenLookup;
5104
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.tokenLookup;
5104
5105
  },
5105
5106
  enumerable: false,
5106
5107
  configurable: true
@@ -5108,7 +5109,7 @@
5108
5109
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "RedirectFormControl", {
5109
5110
  get: function () {
5110
5111
  var _a;
5111
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.redirect;
5112
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.redirect;
5112
5113
  },
5113
5114
  enumerable: false,
5114
5115
  configurable: true
@@ -5116,7 +5117,7 @@
5116
5117
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "ScopesFormControl", {
5117
5118
  get: function () {
5118
5119
  var _a;
5119
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.scopes;
5120
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.scopes;
5120
5121
  },
5121
5122
  enumerable: false,
5122
5123
  configurable: true
@@ -5124,7 +5125,7 @@
5124
5125
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "SecurityFormControl", {
5125
5126
  get: function () {
5126
5127
  var _a;
5127
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.security;
5128
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.security;
5128
5129
  },
5129
5130
  enumerable: false,
5130
5131
  configurable: true
@@ -5132,7 +5133,7 @@
5132
5133
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "SPARootFormControl", {
5133
5134
  get: function () {
5134
5135
  var _a;
5135
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.spaRoot;
5136
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.spaRoot;
5136
5137
  },
5137
5138
  enumerable: false,
5138
5139
  configurable: true
@@ -5140,7 +5141,7 @@
5140
5141
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "PermanentFormControl", {
5141
5142
  get: function () {
5142
5143
  var _a;
5143
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.permanent;
5144
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.permanent;
5144
5145
  },
5145
5146
  enumerable: false,
5146
5147
  configurable: true
@@ -5148,12 +5149,13 @@
5148
5149
  Object.defineProperty(ProcessorDetailsFormComponent.prototype, "PreserveMethodFormControl", {
5149
5150
  get: function () {
5150
5151
  var _a;
5151
- return (_a = this.ProsessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.preserveMethod;
5152
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.preserveMethod;
5152
5153
  },
5153
5154
  enumerable: false,
5154
5155
  configurable: true
5155
5156
  });
5156
5157
  ProcessorDetailsFormComponent.prototype.ngOnInit = function () {
5158
+ this.setupProcessorDetailsForm();
5157
5159
  };
5158
5160
  ProcessorDetailsFormComponent.prototype.DetermineTooltipText = function () {
5159
5161
  var permanentValue = this.PermanentFormControl.value;
@@ -5171,6 +5173,8 @@
5171
5173
  this.redirectTooltip = '308 – Permanent and Preserve';
5172
5174
  }
5173
5175
  };
5176
+ ProcessorDetailsFormComponent.prototype.SubmitProcessorDetails = function () {
5177
+ };
5174
5178
  ProcessorDetailsFormComponent.prototype.ProcessorTypeChanged = function (event) {
5175
5179
  this.ProcessorType = event.value;
5176
5180
  this.setupProcessorTypeSubForm();
@@ -5181,27 +5185,27 @@
5181
5185
  };
5182
5186
  //HELPERS
5183
5187
  ProcessorDetailsFormComponent.prototype.cleanupLcuTypeSubForm = function () {
5184
- this.ProsessorDetailsFormGroup.removeControl('methods');
5185
- this.ProsessorDetailsFormGroup.removeControl('apiRoot');
5186
- this.ProsessorDetailsFormGroup.removeControl('security');
5187
- this.ProsessorDetailsFormGroup.removeControl('spaRoot');
5188
- this.ProsessorDetailsFormGroup.removeControl('applicationId');
5189
- this.ProsessorDetailsFormGroup.removeControl('build');
5190
- this.ProsessorDetailsFormGroup.removeControl('clientId');
5191
- this.ProsessorDetailsFormGroup.removeControl('clientSecret');
5192
- this.ProsessorDetailsFormGroup.removeControl('zipFile');
5188
+ this.ProcessorDetailsFormGroup.removeControl('methods');
5189
+ this.ProcessorDetailsFormGroup.removeControl('apiRoot');
5190
+ this.ProcessorDetailsFormGroup.removeControl('security');
5191
+ this.ProcessorDetailsFormGroup.removeControl('spaRoot');
5192
+ this.ProcessorDetailsFormGroup.removeControl('applicationId');
5193
+ this.ProcessorDetailsFormGroup.removeControl('build');
5194
+ this.ProcessorDetailsFormGroup.removeControl('clientId');
5195
+ this.ProcessorDetailsFormGroup.removeControl('clientSecret');
5196
+ this.ProcessorDetailsFormGroup.removeControl('zipFile');
5193
5197
  };
5194
5198
  ProcessorDetailsFormComponent.prototype.cleanupProcessorTypeSubForm = function () {
5195
- this.ProsessorDetailsFormGroup.removeControl('defaultFile');
5199
+ this.ProcessorDetailsFormGroup.removeControl('defaultFile');
5196
5200
  // this.ApplicationFormGroup.removeControl('dfsLcuType');
5197
5201
  // this.ApplicationFormGroup.removeControl('oauthLcuType');
5198
- this.ProsessorDetailsFormGroup.removeControl('scopes');
5199
- this.ProsessorDetailsFormGroup.removeControl('tokenLookup');
5200
- this.ProsessorDetailsFormGroup.removeControl('inboundPath');
5201
- this.ProsessorDetailsFormGroup.removeControl('proxyLcuType');
5202
- this.ProsessorDetailsFormGroup.removeControl('redirect');
5203
- this.ProsessorDetailsFormGroup.removeControl('permanent');
5204
- this.ProsessorDetailsFormGroup.removeControl('preserveMethod');
5202
+ this.ProcessorDetailsFormGroup.removeControl('scopes');
5203
+ this.ProcessorDetailsFormGroup.removeControl('tokenLookup');
5204
+ this.ProcessorDetailsFormGroup.removeControl('inboundPath');
5205
+ this.ProcessorDetailsFormGroup.removeControl('proxyLcuType');
5206
+ this.ProcessorDetailsFormGroup.removeControl('redirect');
5207
+ this.ProcessorDetailsFormGroup.removeControl('permanent');
5208
+ this.ProcessorDetailsFormGroup.removeControl('preserveMethod');
5205
5209
  this.cleanupLcuTypeSubForm();
5206
5210
  };
5207
5211
  ProcessorDetailsFormComponent.prototype.setupLcuTypeSubForm = function () {
@@ -5222,9 +5226,9 @@
5222
5226
  case 'GitHubOAuth':
5223
5227
  this.setupLCUGitHubOAuthForm();
5224
5228
  break;
5225
- case 'NPM':
5226
- this.setupLCUNPMForm();
5227
- break;
5229
+ // case 'NPM':
5230
+ // this.setupLCUNPMForm();
5231
+ // break;
5228
5232
  case 'SPA':
5229
5233
  this.setupLCUSPAForm();
5230
5234
  break;
@@ -5234,11 +5238,11 @@
5234
5238
  }
5235
5239
  }
5236
5240
  };
5237
- ProcessorDetailsFormComponent.prototype.setupApplicationForm = function () {
5241
+ ProcessorDetailsFormComponent.prototype.setupProcessorDetailsForm = function () {
5238
5242
  var _a, _b, _c, _d, _e;
5239
5243
  this.ProcessorType = ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Processor) === null || _b === void 0 ? void 0 : _b.Type) || '';
5240
5244
  if (this.EditingApplication != null) {
5241
- this.ProsessorDetailsFormGroup = this.formBldr.group({
5245
+ this.ProcessorDetailsFormGroup = this.formBldr.group({
5242
5246
  name: [(_c = this.EditingApplication.Application) === null || _c === void 0 ? void 0 : _c.Name, forms.Validators.required],
5243
5247
  description: [
5244
5248
  (_d = this.EditingApplication.Application) === null || _d === void 0 ? void 0 : _d.Description,
@@ -5259,11 +5263,11 @@
5259
5263
  };
5260
5264
  ProcessorDetailsFormComponent.prototype.setupLCUGitHubForm = function () {
5261
5265
  var _a;
5262
- this.ProsessorDetailsFormGroup.addControl('build', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Build) || 'latest', [forms.Validators.required]));
5266
+ this.ProcessorDetailsFormGroup.addControl('build', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Build) || 'latest', [forms.Validators.required]));
5263
5267
  };
5264
5268
  ProcessorDetailsFormComponent.prototype.setupLCUApplicationPointerForm = function () {
5265
5269
  var _a;
5266
- this.ProsessorDetailsFormGroup.addControl('applicationId', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.ApplicationID) || '', [forms.Validators.required]));
5270
+ this.ProcessorDetailsFormGroup.addControl('applicationId', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.ApplicationID) || '', [forms.Validators.required]));
5267
5271
  };
5268
5272
  ProcessorDetailsFormComponent.prototype.setupLCUNPMForm = function () {
5269
5273
  // this.ApplicationFormGroup.addControl(
@@ -5283,50 +5287,50 @@
5283
5287
  };
5284
5288
  ProcessorDetailsFormComponent.prototype.setupLCUSPAForm = function () {
5285
5289
  var _a;
5286
- this.ProsessorDetailsFormGroup.addControl('spaRoot', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SPARoot) || '', [forms.Validators.required]));
5290
+ this.ProcessorDetailsFormGroup.addControl('spaRoot', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SPARoot) || '', [forms.Validators.required]));
5287
5291
  };
5288
5292
  ProcessorDetailsFormComponent.prototype.setupLCUAPIForm = function () {
5289
5293
  var _a, _b, _c, _d;
5290
- this.ProsessorDetailsFormGroup.addControl('methods', this.formBldr.control(((_b = (_a = this.EditingApplication.LookupConfig) === null || _a === void 0 ? void 0 : _a.AllowedMethods) === null || _b === void 0 ? void 0 : _b.join(' ')) || '', []));
5291
- this.ProsessorDetailsFormGroup.addControl('apiRoot', this.formBldr.control(((_c = this.EditingApplication.LowCodeUnit) === null || _c === void 0 ? void 0 : _c.APIRoot) || '', [forms.Validators.required]));
5292
- this.ProsessorDetailsFormGroup.addControl('security', this.formBldr.control(((_d = this.EditingApplication.LowCodeUnit) === null || _d === void 0 ? void 0 : _d.Security) || '', [forms.Validators.required]));
5294
+ this.ProcessorDetailsFormGroup.addControl('methods', this.formBldr.control(((_b = (_a = this.EditingApplication.LookupConfig) === null || _a === void 0 ? void 0 : _a.AllowedMethods) === null || _b === void 0 ? void 0 : _b.join(' ')) || '', []));
5295
+ this.ProcessorDetailsFormGroup.addControl('apiRoot', this.formBldr.control(((_c = this.EditingApplication.LowCodeUnit) === null || _c === void 0 ? void 0 : _c.APIRoot) || '', [forms.Validators.required]));
5296
+ this.ProcessorDetailsFormGroup.addControl('security', this.formBldr.control(((_d = this.EditingApplication.LowCodeUnit) === null || _d === void 0 ? void 0 : _d.Security) || '', [forms.Validators.required]));
5293
5297
  };
5294
5298
  ProcessorDetailsFormComponent.prototype.setupLCUGitHubOAuthForm = function () {
5295
5299
  var _a, _b;
5296
- this.ProsessorDetailsFormGroup.addControl('clientId', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.ClientID) || '', [forms.Validators.required]));
5297
- this.ProsessorDetailsFormGroup.addControl('clientSecret', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.ClientSecret) || '', [forms.Validators.required]));
5300
+ this.ProcessorDetailsFormGroup.addControl('clientId', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.ClientID) || '', [forms.Validators.required]));
5301
+ this.ProcessorDetailsFormGroup.addControl('clientSecret', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.ClientSecret) || '', [forms.Validators.required]));
5298
5302
  };
5299
5303
  ProcessorDetailsFormComponent.prototype.setupProxyForm = function () {
5300
5304
  var _a, _b;
5301
5305
  this.LCUType = ((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Type) || '';
5302
- this.ProsessorDetailsFormGroup.addControl('inboundPath', this.formBldr.control(((_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.InboundPath) || '', [forms.Validators.required]));
5303
- this.ProsessorDetailsFormGroup.addControl('lcuType', this.formBldr.control(this.LCUType, [forms.Validators.required]));
5306
+ this.ProcessorDetailsFormGroup.addControl('inboundPath', this.formBldr.control(((_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.InboundPath) || '', [forms.Validators.required]));
5307
+ this.ProcessorDetailsFormGroup.addControl('lcuType', this.formBldr.control(this.LCUType, [forms.Validators.required]));
5304
5308
  };
5305
5309
  ProcessorDetailsFormComponent.prototype.setupRedirectForm = function () {
5306
5310
  var _a, _b, _c;
5307
- this.ProsessorDetailsFormGroup.addControl('redirect', this.formBldr.control(((_a = this.EditingApplication.Processor) === null || _a === void 0 ? void 0 : _a.Redirect) || '', [
5311
+ this.ProcessorDetailsFormGroup.addControl('redirect', this.formBldr.control(((_a = this.EditingApplication.Processor) === null || _a === void 0 ? void 0 : _a.Redirect) || '', [
5308
5312
  forms.Validators.required,
5309
5313
  ]));
5310
- this.ProsessorDetailsFormGroup.addControl('permanent', this.formBldr.control(((_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.Permanent) || false, []));
5311
- this.ProsessorDetailsFormGroup.addControl('preserveMethod', this.formBldr.control(((_c = this.EditingApplication.Processor) === null || _c === void 0 ? void 0 : _c.PreserveMethod) || false, []));
5314
+ this.ProcessorDetailsFormGroup.addControl('permanent', this.formBldr.control(((_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.Permanent) || false, []));
5315
+ this.ProcessorDetailsFormGroup.addControl('preserveMethod', this.formBldr.control(((_c = this.EditingApplication.Processor) === null || _c === void 0 ? void 0 : _c.PreserveMethod) || false, []));
5312
5316
  this.DetermineTooltipText();
5313
5317
  };
5314
5318
  ProcessorDetailsFormComponent.prototype.setupOAuthForm = function () {
5315
5319
  var _a, _b, _c, _d;
5316
5320
  this.LCUType = ((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Type) || '';
5317
- this.ProsessorDetailsFormGroup.addControl('scopes', this.formBldr.control(((_c = (_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.Scopes) === null || _c === void 0 ? void 0 : _c.Join(' ')) || '', [forms.Validators.required]));
5318
- this.ProsessorDetailsFormGroup.addControl('tokenLookup', this.formBldr.control(((_d = this.EditingApplication.Processor) === null || _d === void 0 ? void 0 : _d.TokenLookup) || '', [forms.Validators.required]));
5319
- this.ProsessorDetailsFormGroup.addControl('lcuType', this.formBldr.control(this.LCUType, [forms.Validators.required]));
5321
+ this.ProcessorDetailsFormGroup.addControl('scopes', this.formBldr.control(((_c = (_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.Scopes) === null || _c === void 0 ? void 0 : _c.Join(' ')) || '', [forms.Validators.required]));
5322
+ this.ProcessorDetailsFormGroup.addControl('tokenLookup', this.formBldr.control(((_d = this.EditingApplication.Processor) === null || _d === void 0 ? void 0 : _d.TokenLookup) || '', [forms.Validators.required]));
5323
+ this.ProcessorDetailsFormGroup.addControl('lcuType', this.formBldr.control(this.LCUType, [forms.Validators.required]));
5320
5324
  };
5321
5325
  ProcessorDetailsFormComponent.prototype.setupLCUZipForm = function () {
5322
5326
  var _a;
5323
- this.ProsessorDetailsFormGroup.addControl('zipFile', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.ZipFile) || '', [forms.Validators.required]));
5327
+ this.ProcessorDetailsFormGroup.addControl('zipFile', this.formBldr.control(((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.ZipFile) || '', [forms.Validators.required]));
5324
5328
  };
5325
5329
  ProcessorDetailsFormComponent.prototype.setupDfsForm = function () {
5326
5330
  var _a, _b;
5327
5331
  this.LCUType = ((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.Type) || '';
5328
- this.ProsessorDetailsFormGroup.addControl('defaultFile', this.formBldr.control(((_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.DefaultFile) || 'index.html', [forms.Validators.required]));
5329
- this.ProsessorDetailsFormGroup.addControl('lcuType', this.formBldr.control(this.LCUType, [forms.Validators.required]));
5332
+ this.ProcessorDetailsFormGroup.addControl('defaultFile', this.formBldr.control(((_b = this.EditingApplication.Processor) === null || _b === void 0 ? void 0 : _b.DefaultFile) || 'index.html', [forms.Validators.required]));
5333
+ this.ProcessorDetailsFormGroup.addControl('lcuType', this.formBldr.control(this.LCUType, [forms.Validators.required]));
5330
5334
  };
5331
5335
  ProcessorDetailsFormComponent.prototype.setupProcessorTypeSubForm = function () {
5332
5336
  this.cleanupProcessorTypeSubForm();
@@ -5364,6 +5368,79 @@
5364
5368
  EditingApplication: [{ type: i0.Input, args: ['editing-application',] }]
5365
5369
  };
5366
5370
 
5371
+ var SourceControlFormComponent = /** @class */ (function () {
5372
+ function SourceControlFormComponent(formBldr) {
5373
+ this.formBldr = formBldr;
5374
+ }
5375
+ Object.defineProperty(SourceControlFormComponent.prototype, "HasBuildFormControl", {
5376
+ get: function () {
5377
+ var _a;
5378
+ return (_a = this.SourceControlFormGroup) === null || _a === void 0 ? void 0 : _a.controls.hasBuild;
5379
+ },
5380
+ enumerable: false,
5381
+ configurable: true
5382
+ });
5383
+ Object.defineProperty(SourceControlFormComponent.prototype, "SourceControlLookupFormControl", {
5384
+ get: function () {
5385
+ var _a;
5386
+ return (_a = this.SourceControlFormGroup) === null || _a === void 0 ? void 0 : _a.controls.sourceControlLookup;
5387
+ },
5388
+ enumerable: false,
5389
+ configurable: true
5390
+ });
5391
+ Object.defineProperty(SourceControlFormComponent.prototype, "SourceControlLookups", {
5392
+ get: function () {
5393
+ return Object.keys(this.SourceControls || {});
5394
+ },
5395
+ enumerable: false,
5396
+ configurable: true
5397
+ });
5398
+ Object.defineProperty(SourceControlFormComponent.prototype, "SourceControls", {
5399
+ get: function () {
5400
+ console.log("Environment: ", this.Environment);
5401
+ return this.Environment.Sources || {};
5402
+ },
5403
+ enumerable: false,
5404
+ configurable: true
5405
+ });
5406
+ SourceControlFormComponent.prototype.ngOnInit = function () {
5407
+ this.setupSourceControlForm();
5408
+ };
5409
+ SourceControlFormComponent.prototype.SourceControlLookupChanged = function (event) {
5410
+ // TODO: Anything to do here on change?
5411
+ console.log("sourceControlLookupChanged: ", event);
5412
+ };
5413
+ SourceControlFormComponent.prototype.SubmitSourceControl = function () {
5414
+ };
5415
+ //HELPER
5416
+ SourceControlFormComponent.prototype.setupSourceControlForm = function () {
5417
+ var _a, _b;
5418
+ this.ProcessorType = ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Processor) === null || _b === void 0 ? void 0 : _b.Type) || '';
5419
+ this.setupBuildForm();
5420
+ };
5421
+ SourceControlFormComponent.prototype.setupBuildForm = function () {
5422
+ var _a, _b;
5423
+ this.SourceControlFormGroup.addControl('hasBuild', this.formBldr.control(!!((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SourceControlLookup) || false, [forms.Validators.required]));
5424
+ this.SourceControlFormGroup.addControl('sourceControlLookup', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.SourceControlLookup) || '', []));
5425
+ };
5426
+ return SourceControlFormComponent;
5427
+ }());
5428
+ SourceControlFormComponent.decorators = [
5429
+ { type: i0.Component, args: [{
5430
+ selector: 'lcu-source-control-form',
5431
+ template: "<form class=\"source-control-form\" [formGroup]=\"SourceControlFormGroup\" (ngSubmit)=\"SubmitSourceControl()\">\n\n<mat-card class=\"spread flow-card\" *ngIf=\"ProcessorType != 'Redirect'\">\n <mat-card-header>\n <mat-card-title *ngIf=\"!HasBuildFormControl.value\">\n Build & Source\n </mat-card-title>\n\n <mat-card-title *ngIf=\"HasBuildFormControl.value\">\n Source Control\n </mat-card-title>\n\n <div fxFlex></div>\n\n <mat-slide-toggle\n formControlName=\"hasBuild\"\n matTooltip=\"Has Build?\"\n >\n </mat-slide-toggle>\n\n <mat-icon\n matSuffix\n matTooltip=\"Configure source control, DevOps CI/CD, and artifacts.\"\n >\n info_outline\n </mat-icon>\n </mat-card-header>\n\n <mat-card-content>\n <mat-form-field\n class=\"mat-full-width\"\n *ngIf=\"\n HasBuildFormControl.value && SourceControlLookups?.length > 0\n \"\n >\n <mat-select\n formControlName=\"sourceControlLookup\"\n placeholder=\"Source Control\"\n (selectionChange)=\"SourceControlLookupChanged($event)\"\n [disabled]=\"\n SourceControlFormControls?.Loading || HostingDetails?.Loading\n \"\n >\n <ng-container\n *ngFor=\"let srcCtrlLookup of SourceControlLookups\"\n >\n <mat-option\n [value]=\"srcCtrlLookup\"\n *ngIf=\"SourceControls[srcCtrlLookup]; let srcCtrl\"\n >\n {{ srcCtrl.Name }}\n </mat-option>\n </ng-container>\n </mat-select>\n\n <div *ngIf=\"HasBuildFormControl?.value\">\n <h3>\n @{{\n SourceControlFormControls?.OrganizationFormControl?.value ||\n SourceControl?.Organization\n }}/{{\n SourceControlFormControls?.RepositoryFormControl?.value ||\n SourceControl?.Repository\n }}\n </h3>\n\n <p>Organization and Repository pulled from build settings</p>\n\n <mat-hint>\n CurrentBuild:\n {{ EditingApplication?.LowCodeUnit?.CurrentBuild }}\n </mat-hint>\n </div>\n </mat-form-field>\n\n <div *ngIf=\"SourceControlLookups?.length < 0\">\n <h3>\n Create source control locations under the DevOps tab above.\n </h3>\n </div>\n </mat-card-content>\n <mat-card-actions>\n <!-- [disabled]=\"!SourceControlFormGroup.valid || !SourceControlFormGroup.dirty\" -->\n <button mat-raised-button type=\"submit\" >Save</button>\n </mat-card-actions>\n </mat-card>\n</form>\n",
5432
+ styles: [""]
5433
+ },] }
5434
+ ];
5435
+ SourceControlFormComponent.ctorParameters = function () { return [
5436
+ { type: forms.FormBuilder }
5437
+ ]; };
5438
+ SourceControlFormComponent.propDecorators = {
5439
+ EditingApplication: [{ type: i0.Input, args: ['editing-application',] }],
5440
+ Environment: [{ type: i0.Input, args: ['environment',] }],
5441
+ SourceControlFormControls: [{ type: i0.ViewChild, args: [SourceControlFormControlsComponent,] }]
5442
+ };
5443
+
5367
5444
  var ApplicationsFlowModule = /** @class */ (function () {
5368
5445
  function ApplicationsFlowModule() {
5369
5446
  }
@@ -5418,7 +5495,8 @@
5418
5495
  TwoColumnHeaderComponent,
5419
5496
  CardCarouselComponent,
5420
5497
  SecurityToggleComponent,
5421
- ProcessorDetailsFormComponent
5498
+ ProcessorDetailsFormComponent,
5499
+ SourceControlFormComponent
5422
5500
  ],
5423
5501
  imports: [
5424
5502
  i2.FathymSharedModule,
@@ -5465,7 +5543,8 @@
5465
5543
  TwoColumnHeaderComponent,
5466
5544
  CardCarouselComponent,
5467
5545
  SecurityToggleComponent,
5468
- ProcessorDetailsFormComponent
5546
+ ProcessorDetailsFormComponent,
5547
+ SourceControlFormComponent
5469
5548
  ],
5470
5549
  entryComponents: [
5471
5550
  ApplicationsFlowProjectsElementComponent,
@@ -5499,7 +5578,8 @@
5499
5578
  TwoColumnHeaderComponent,
5500
5579
  CardCarouselComponent,
5501
5580
  SecurityToggleComponent,
5502
- ProcessorDetailsFormComponent
5581
+ ProcessorDetailsFormComponent,
5582
+ SourceControlFormComponent
5503
5583
  ],
5504
5584
  },] }
5505
5585
  ];
@@ -5586,6 +5666,7 @@
5586
5666
  exports.ɵa = ApplicationsFlowEventsService;
5587
5667
  exports.ɵb = DynamicTabsComponent;
5588
5668
  exports.ɵba = ProcessorDetailsFormComponent;
5669
+ exports.ɵbb = SourceControlFormComponent;
5589
5670
  exports.ɵc = HeaderComponent;
5590
5671
  exports.ɵd = ProjectTabsComponent;
5591
5672
  exports.ɵe = GeneralComponent;