@lowcodeunit/applications-flow-common 1.39.25-stateApiRefactor → 1.39.27-merge
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
@@ -4745,14 +4745,19 @@ class SecurityToggleComponent {
|
|
4745
4745
|
}
|
4746
4746
|
ngOnInit() { }
|
4747
4747
|
ngOnChanges() {
|
4748
|
-
if (this.IsPrivate === null || this.IsPrivate === undefined)
|
4749
|
-
this.
|
4748
|
+
if ((this.IsPrivate === null || this.IsPrivate === undefined) &&
|
4749
|
+
this.EditingApplication) {
|
4750
|
+
this.IsPrivate = this.EditingApplication?.LookupConfig?.IsPrivate;
|
4751
|
+
// console.log("IS PRIVATE: ", this.IsPrivate);
|
4750
4752
|
this.setupSecurityFormGroup();
|
4751
4753
|
}
|
4752
4754
|
}
|
4753
4755
|
SecuritySubmit() {
|
4754
4756
|
//save the security settings
|
4755
|
-
console.log(
|
4757
|
+
// console.log(
|
4758
|
+
// 'submitting security values: ',
|
4759
|
+
// this.SecurityFormGroup.value
|
4760
|
+
// );
|
4756
4761
|
this.SaveFormEvent.emit(this.SecurityFormGroup.value);
|
4757
4762
|
}
|
4758
4763
|
HandleIsPrivate(event) {
|
@@ -4766,8 +4771,8 @@ class SecurityToggleComponent {
|
|
4766
4771
|
this.setupSecurityForm();
|
4767
4772
|
}
|
4768
4773
|
setupSecurityForm() {
|
4769
|
-
this.SecurityFormGroup.addControl('isPrivate', this.formBldr.control(this.EditingApplication
|
4770
|
-
this.SecurityFormGroup.addControl('isTriggerSignIn', this.formBldr.control(this.EditingApplication
|
4774
|
+
this.SecurityFormGroup.addControl('isPrivate', this.formBldr.control(this.EditingApplication?.LookupConfig?.IsPrivate || false, [Validators.required]));
|
4775
|
+
this.SecurityFormGroup.addControl('isTriggerSignIn', this.formBldr.control(this.EditingApplication?.LookupConfig?.IsTriggerSignIn || false, [Validators.required]));
|
4771
4776
|
this.SecurityFormGroup.addControl('accessRights', this.formBldr.control(this.EditingApplication?.AccessRightLookups));
|
4772
4777
|
this.SecurityFormGroup.addControl('licenseConfigs', this.formBldr.control(this.EditingApplication?.LicenseConfigurationLookups));
|
4773
4778
|
}
|
@@ -5358,11 +5363,12 @@ class BuildPipelineFormComponent {
|
|
5358
5363
|
this.SaveEnvironment();
|
5359
5364
|
}
|
5360
5365
|
SaveEnvironment() {
|
5366
|
+
// console.log("submitting build pipeline: ", this.BuildPipelineFormGroup.value);
|
5361
5367
|
const saveEnvReq = {
|
5362
5368
|
Environment: {
|
5363
5369
|
//...this.Environment,
|
5364
5370
|
Artifacts: this.Environment.Artifacts || {},
|
5365
|
-
|
5371
|
+
DevOpsActions: this.Environment.DevOpsActions || {},
|
5366
5372
|
//Secrets: this.Environment.Secrets || {},
|
5367
5373
|
//Sources: this.Environment.Sources || {},
|
5368
5374
|
},
|
@@ -5371,8 +5377,8 @@ class BuildPipelineFormComponent {
|
|
5371
5377
|
};
|
5372
5378
|
let artifactLookup;
|
5373
5379
|
let artifact = {
|
5374
|
-
|
5375
|
-
|
5380
|
+
...this.Artifact,
|
5381
|
+
...this.SelectedHostingOptionInputControlValues,
|
5376
5382
|
};
|
5377
5383
|
if (!this.ArtifactLookup) {
|
5378
5384
|
artifactLookup = Guid.CreateRaw();
|
@@ -5421,7 +5427,7 @@ class BuildPipelineFormComponent {
|
|
5421
5427
|
};
|
5422
5428
|
saveEnvReq.Environment.DevOpsActions[devOpsActionLookup] = doa;
|
5423
5429
|
}
|
5424
|
-
console.log('env req: ', saveEnvReq);
|
5430
|
+
// console.log('env req: ', saveEnvReq);
|
5425
5431
|
this.eacSvc.SaveEnvironmentAsCode(saveEnvReq).then((res) => {
|
5426
5432
|
this.ResponseEvent.emit(res);
|
5427
5433
|
});
|