@lowcodeunit/applications-flow-common 1.33.25-lets-get-social-ish → 1.33.26-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.
@@ -2645,7 +2645,7 @@
2645
2645
  this.appsFlowSvc = appsFlowSvc;
2646
2646
  this.appsFlowEventsSvc = appsFlowEventsSvc;
2647
2647
  this.EditingApplicationLookup = null;
2648
- this.redirectTooltip = "";
2648
+ this.redirectTooltip = '';
2649
2649
  // this.IsPermanent = false;
2650
2650
  // this.IsPreserve = false;
2651
2651
  }
@@ -3026,21 +3026,23 @@
3026
3026
  var permanentValue = this.PermanentFormControl.value;
3027
3027
  var preserveValue = this.PreserveMethodFormControl.value;
3028
3028
  if (permanentValue === true && preserveValue === false) {
3029
- this.redirectTooltip = "301 – Permanent and Not Preserve";
3029
+ this.redirectTooltip = '301 – Permanent and Not Preserve';
3030
3030
  }
3031
3031
  else if (permanentValue === false && preserveValue === false) {
3032
- this.redirectTooltip = "302 – Not Permanent and Not Preserve";
3032
+ this.redirectTooltip = '302 – Not Permanent and Not Preserve';
3033
3033
  }
3034
3034
  else if (permanentValue === false && preserveValue === true) {
3035
- this.redirectTooltip = "307 – Not Permanent and Preserve";
3035
+ this.redirectTooltip = '307 – Not Permanent and Preserve';
3036
3036
  }
3037
3037
  else if (permanentValue === true && preserveValue === true) {
3038
- this.redirectTooltip = "308 – Permanent and Preserve";
3038
+ this.redirectTooltip = '308 – Permanent and Preserve';
3039
3039
  }
3040
3040
  };
3041
3041
  AppsFlowComponent.prototype.GetProcessorType = function (appLookup) {
3042
- var processorType = "";
3043
- processorType = this.Applications[appLookup].Processor.Type ? this.Applications[appLookup].Processor.Type : "";
3042
+ var processorType = '';
3043
+ processorType = this.Applications[appLookup].Processor.Type
3044
+ ? this.Applications[appLookup].Processor.Type
3045
+ : '';
3044
3046
  // console.log("Ptype = ", processorType);
3045
3047
  return processorType;
3046
3048
  };
@@ -3048,7 +3050,7 @@
3048
3050
  this.CurrentApplicationRoute = appRoute;
3049
3051
  };
3050
3052
  AppsFlowComponent.prototype.SaveApplication = function () {
3051
- var _a, _b;
3053
+ var _a, _b, _c, _d, _e, _f;
3052
3054
  var app = {
3053
3055
  Application: {
3054
3056
  Name: this.NameFormControl.value,
@@ -3063,9 +3065,9 @@
3063
3065
  ? this.IsTriggerSignInFormControl.value
3064
3066
  : false,
3065
3067
  PathRegex: this.RouteFormControl.value + ".*",
3066
- QueryRegex: '',
3067
- HeaderRegex: '',
3068
- AllowedMethods: (_b = (_a = this.MethodsFormControl) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.split(' ').filter(function (v) { return !!v; }),
3068
+ QueryRegex: ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.LookupConfig) === null || _b === void 0 ? void 0 : _b.QueryRegex) || '',
3069
+ HeaderRegex: ((_d = (_c = this.EditingApplication) === null || _c === void 0 ? void 0 : _c.LookupConfig) === null || _d === void 0 ? void 0 : _d.HeaderRegex) || '',
3070
+ AllowedMethods: (_f = (_e = this.MethodsFormControl) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.split(' ').filter(function (v) { return !!v; }),
3069
3071
  },
3070
3072
  Processor: {
3071
3073
  Type: this.ProcessorType,
@@ -3202,7 +3204,7 @@
3202
3204
  AppsFlowComponent.prototype.setupApplicationForm = function () {
3203
3205
  var _a, _b, _c, _d, _e;
3204
3206
  this.ProcessorType = ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Processor) === null || _b === void 0 ? void 0 : _b.Type) || '';
3205
- console.log("ProcessorType = ", this.ProcessorType);
3207
+ console.log('ProcessorType = ', this.ProcessorType);
3206
3208
  if (this.EditingApplication != null) {
3207
3209
  this.ApplicationFormGroup = this.formBldr.group({
3208
3210
  name: [(_c = this.EditingApplication.Application) === null || _c === void 0 ? void 0 : _c.Name, forms.Validators.required],
@@ -3228,10 +3230,8 @@
3228
3230
  };
3229
3231
  AppsFlowComponent.prototype.setupBuildForm = function () {
3230
3232
  var _a, _b;
3231
- this.ApplicationFormGroup.addControl('hasBuild', this.formBldr.control(!!((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SourceControlLookup) ||
3232
- false, [forms.Validators.required]));
3233
- this.ApplicationFormGroup.addControl('sourceControlLookup', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.SourceControlLookup) ||
3234
- '', []));
3233
+ this.ApplicationFormGroup.addControl('hasBuild', this.formBldr.control(!!((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SourceControlLookup) || false, [forms.Validators.required]));
3234
+ this.ApplicationFormGroup.addControl('sourceControlLookup', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.SourceControlLookup) || '', []));
3235
3235
  };
3236
3236
  AppsFlowComponent.prototype.setupDfsForm = function () {
3237
3237
  var _a, _b;