@lowcodeunit/applications-flow-common 1.37.92-new-state-setup → 1.37.95-integration
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/build-pipeline-form/build-pipeline-form.component.mjs +8 -3
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +8 -2
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +7 -2
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/lib/controls/build-pipeline-form/build-pipeline-form.component.d.ts +1 -0
- package/package.json +1 -1
@@ -5281,6 +5281,7 @@ class BuildPipelineFormComponent {
|
|
5281
5281
|
//for some reason this value is coming back undefined
|
5282
5282
|
// console.log("build pipeline value: ", this.BuildPipelineFormControl?.value)
|
5283
5283
|
this.BuildPipeline = this.BuildPipelineFormControl?.value;
|
5284
|
+
// this.loadProjectHostingDetails();
|
5284
5285
|
this.setupControlsForForm();
|
5285
5286
|
}
|
5286
5287
|
SubmitBuildPipeline() {
|
@@ -5356,7 +5357,11 @@ class BuildPipelineFormComponent {
|
|
5356
5357
|
});
|
5357
5358
|
}
|
5358
5359
|
// Helpers
|
5360
|
+
getSelectedHostingOption() {
|
5361
|
+
this.SelectedHostingOption = this.HostingDetails?.HostingOptions?.find((ho) => ho.Lookup === this.BuildPipeline);
|
5362
|
+
}
|
5359
5363
|
setupControlsForForm() {
|
5364
|
+
this.getSelectedHostingOption();
|
5360
5365
|
// this.BuildPipeline =
|
5361
5366
|
// this.BuildPipeline || this.HostingDetails?.HostingOptions
|
5362
5367
|
// ? this.HostingDetails?.HostingOptions[0]?.Lookup
|
@@ -5376,7 +5381,7 @@ class BuildPipelineFormComponent {
|
|
5376
5381
|
this.BuildPipelineFormGroup.addControl('devOpsActionName', this.formBuilder.control(this.DevOpsAction?.Name ||
|
5377
5382
|
this.SelectedHostingOption?.Name ||
|
5378
5383
|
'', [Validators.required]));
|
5379
|
-
// console.log("selected hosting options: ", this.SelectedHostingOption
|
5384
|
+
// console.log("selected hosting options: ", this.SelectedHostingOption?.Inputs);
|
5380
5385
|
this.SelectedHostingOption?.Inputs?.forEach((input) => {
|
5381
5386
|
const validators = input.Required ? [Validators.required] : [];
|
5382
5387
|
this.BuildPipelineFormGroup.addControl(input.Lookup, this.formBuilder.control(this.Artifact[input.Lookup] || input.DefaultValue || '', validators));
|
@@ -5409,7 +5414,7 @@ class BuildPipelineFormComponent {
|
|
5409
5414
|
// console.log(' DevOpsAction.Path: ', this.DevOpsAction.Path);
|
5410
5415
|
const hostOption = this.HostingDetails?.HostingOptions?.find((ho) => ho.Path === this.DevOpsAction.Path);
|
5411
5416
|
this.BuildPipeline = hostOption?.Lookup;
|
5412
|
-
this.SelectedHostingOption = hostOption;
|
5417
|
+
// this.SelectedHostingOption = hostOption;
|
5413
5418
|
// console.log("Build Pipeline HERE= ", this.BuildPipeline);
|
5414
5419
|
this.setupControlsForForm();
|
5415
5420
|
}, (err) => {
|