@lowcodeunit/applications-flow-common 1.39.22-integration → 1.39.23-hardening-bugs

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