@lowcodeunit/applications-flow-common 1.39.10-integration → 1.39.12-projectHostFixes
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 +6 -5
- package/esm2020/lib/controls/security-toggle/security-toggle.component.mjs +11 -6
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +18 -15
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +15 -9
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/package.json +1 -1
@@ -4737,14 +4737,19 @@ class SecurityToggleComponent {
|
|
4737
4737
|
}
|
4738
4738
|
ngOnInit() { }
|
4739
4739
|
ngOnChanges() {
|
4740
|
-
if (this.IsPrivate === null || this.IsPrivate === undefined)
|
4741
|
-
this.
|
4740
|
+
if ((this.IsPrivate === null || this.IsPrivate === undefined) &&
|
4741
|
+
this.EditingApplication) {
|
4742
|
+
this.IsPrivate = this.EditingApplication?.LookupConfig?.IsPrivate;
|
4743
|
+
// console.log("IS PRIVATE: ", this.IsPrivate);
|
4742
4744
|
this.setupSecurityFormGroup();
|
4743
4745
|
}
|
4744
4746
|
}
|
4745
4747
|
SecuritySubmit() {
|
4746
4748
|
//save the security settings
|
4747
|
-
console.log(
|
4749
|
+
// console.log(
|
4750
|
+
// 'submitting security values: ',
|
4751
|
+
// this.SecurityFormGroup.value
|
4752
|
+
// );
|
4748
4753
|
this.SaveFormEvent.emit(this.SecurityFormGroup.value);
|
4749
4754
|
}
|
4750
4755
|
HandleIsPrivate(event) {
|
@@ -4758,8 +4763,8 @@ class SecurityToggleComponent {
|
|
4758
4763
|
this.setupSecurityForm();
|
4759
4764
|
}
|
4760
4765
|
setupSecurityForm() {
|
4761
|
-
this.SecurityFormGroup.addControl('isPrivate', this.formBldr.control(this.EditingApplication
|
4762
|
-
this.SecurityFormGroup.addControl('isTriggerSignIn', this.formBldr.control(this.EditingApplication
|
4766
|
+
this.SecurityFormGroup.addControl('isPrivate', this.formBldr.control(this.EditingApplication?.LookupConfig?.IsPrivate || false, [Validators.required]));
|
4767
|
+
this.SecurityFormGroup.addControl('isTriggerSignIn', this.formBldr.control(this.EditingApplication?.LookupConfig?.IsTriggerSignIn || false, [Validators.required]));
|
4763
4768
|
this.SecurityFormGroup.addControl('accessRights', this.formBldr.control(this.EditingApplication?.AccessRightLookups));
|
4764
4769
|
this.SecurityFormGroup.addControl('licenseConfigs', this.formBldr.control(this.EditingApplication?.LicenseConfigurationLookups));
|
4765
4770
|
}
|
@@ -5343,11 +5348,12 @@ class BuildPipelineFormComponent {
|
|
5343
5348
|
this.SaveEnvironment();
|
5344
5349
|
}
|
5345
5350
|
SaveEnvironment() {
|
5351
|
+
// console.log("submitting build pipeline: ", this.BuildPipelineFormGroup.value);
|
5346
5352
|
const saveEnvReq = {
|
5347
5353
|
Environment: {
|
5348
5354
|
//...this.Environment,
|
5349
5355
|
Artifacts: this.Environment.Artifacts || {},
|
5350
|
-
|
5356
|
+
DevOpsActions: this.Environment.DevOpsActions || {},
|
5351
5357
|
//Secrets: this.Environment.Secrets || {},
|
5352
5358
|
//Sources: this.Environment.Sources || {},
|
5353
5359
|
},
|
@@ -5356,8 +5362,8 @@ class BuildPipelineFormComponent {
|
|
5356
5362
|
};
|
5357
5363
|
let artifactLookup;
|
5358
5364
|
let artifact = {
|
5359
|
-
|
5360
|
-
|
5365
|
+
...this.Artifact,
|
5366
|
+
...this.SelectedHostingOptionInputControlValues,
|
5361
5367
|
};
|
5362
5368
|
if (!this.ArtifactLookup) {
|
5363
5369
|
artifactLookup = Guid.CreateRaw();
|
@@ -5406,7 +5412,7 @@ class BuildPipelineFormComponent {
|
|
5406
5412
|
};
|
5407
5413
|
saveEnvReq.Environment.DevOpsActions[devOpsActionLookup] = doa;
|
5408
5414
|
}
|
5409
|
-
console.log('env req: ', saveEnvReq);
|
5415
|
+
// console.log('env req: ', saveEnvReq);
|
5410
5416
|
this.eacSvc.SaveEnvironmentAsCode(saveEnvReq).then((res) => {
|
5411
5417
|
this.ResponseEvent.emit(res);
|
5412
5418
|
});
|