@lowcodeunit/applications-flow-common 1.33.27-integration → 1.33.38-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/bundles/lowcodeunit-applications-flow-common.umd.js +17 -16
- package/bundles/lowcodeunit-applications-flow-common.umd.js.map +1 -1
- package/bundles/lowcodeunit-applications-flow-common.umd.min.js +1 -1
- package/bundles/lowcodeunit-applications-flow-common.umd.min.js.map +1 -1
- package/esm2015/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.js +18 -17
- package/fesm2015/lowcodeunit-applications-flow-common.js +17 -16
- package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
- package/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.d.ts.map +1 -1
- package/lowcodeunit-applications-flow-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2644,7 +2644,7 @@
|
|
|
2644
2644
|
this.appsFlowSvc = appsFlowSvc;
|
|
2645
2645
|
this.appsFlowEventsSvc = appsFlowEventsSvc;
|
|
2646
2646
|
this.EditingApplicationLookup = null;
|
|
2647
|
-
this.redirectTooltip =
|
|
2647
|
+
this.redirectTooltip = '';
|
|
2648
2648
|
// this.IsPermanent = false;
|
|
2649
2649
|
// this.IsPreserve = false;
|
|
2650
2650
|
}
|
|
@@ -3025,21 +3025,23 @@
|
|
|
3025
3025
|
var permanentValue = this.PermanentFormControl.value;
|
|
3026
3026
|
var preserveValue = this.PreserveMethodFormControl.value;
|
|
3027
3027
|
if (permanentValue === true && preserveValue === false) {
|
|
3028
|
-
this.redirectTooltip =
|
|
3028
|
+
this.redirectTooltip = '301 – Permanent and Not Preserve';
|
|
3029
3029
|
}
|
|
3030
3030
|
else if (permanentValue === false && preserveValue === false) {
|
|
3031
|
-
this.redirectTooltip =
|
|
3031
|
+
this.redirectTooltip = '302 – Not Permanent and Not Preserve';
|
|
3032
3032
|
}
|
|
3033
3033
|
else if (permanentValue === false && preserveValue === true) {
|
|
3034
|
-
this.redirectTooltip =
|
|
3034
|
+
this.redirectTooltip = '307 – Not Permanent and Preserve';
|
|
3035
3035
|
}
|
|
3036
3036
|
else if (permanentValue === true && preserveValue === true) {
|
|
3037
|
-
this.redirectTooltip =
|
|
3037
|
+
this.redirectTooltip = '308 – Permanent and Preserve';
|
|
3038
3038
|
}
|
|
3039
3039
|
};
|
|
3040
3040
|
AppsFlowComponent.prototype.GetProcessorType = function (appLookup) {
|
|
3041
|
-
var processorType =
|
|
3042
|
-
processorType = this.Applications[appLookup].Processor.Type
|
|
3041
|
+
var processorType = '';
|
|
3042
|
+
processorType = this.Applications[appLookup].Processor.Type
|
|
3043
|
+
? this.Applications[appLookup].Processor.Type
|
|
3044
|
+
: '';
|
|
3043
3045
|
// console.log("Ptype = ", processorType);
|
|
3044
3046
|
return processorType;
|
|
3045
3047
|
};
|
|
@@ -3047,11 +3049,12 @@
|
|
|
3047
3049
|
this.CurrentApplicationRoute = appRoute;
|
|
3048
3050
|
};
|
|
3049
3051
|
AppsFlowComponent.prototype.SaveApplication = function () {
|
|
3050
|
-
var _a, _b, _c, _d, _e, _f;
|
|
3052
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3051
3053
|
var app = {
|
|
3052
3054
|
Application: {
|
|
3053
3055
|
Name: this.NameFormControl.value,
|
|
3054
3056
|
Description: this.DescriptionFormControl.value,
|
|
3057
|
+
PriorityShift: ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Application) === null || _b === void 0 ? void 0 : _b.PriorityShift) || 0,
|
|
3055
3058
|
},
|
|
3056
3059
|
AccessRightLookups: [],
|
|
3057
3060
|
DataTokens: {},
|
|
@@ -3062,9 +3065,9 @@
|
|
|
3062
3065
|
? this.IsTriggerSignInFormControl.value
|
|
3063
3066
|
: false,
|
|
3064
3067
|
PathRegex: this.RouteFormControl.value + ".*",
|
|
3065
|
-
QueryRegex: ((
|
|
3066
|
-
HeaderRegex: ((
|
|
3067
|
-
AllowedMethods: (
|
|
3068
|
+
QueryRegex: ((_d = (_c = this.EditingApplication) === null || _c === void 0 ? void 0 : _c.LookupConfig) === null || _d === void 0 ? void 0 : _d.QueryRegex) || '',
|
|
3069
|
+
HeaderRegex: ((_f = (_e = this.EditingApplication) === null || _e === void 0 ? void 0 : _e.LookupConfig) === null || _f === void 0 ? void 0 : _f.HeaderRegex) || '',
|
|
3070
|
+
AllowedMethods: (_h = (_g = this.MethodsFormControl) === null || _g === void 0 ? void 0 : _g.value) === null || _h === void 0 ? void 0 : _h.split(' ').filter(function (v) { return !!v; }),
|
|
3068
3071
|
},
|
|
3069
3072
|
Processor: {
|
|
3070
3073
|
Type: this.ProcessorType,
|
|
@@ -3201,7 +3204,7 @@
|
|
|
3201
3204
|
AppsFlowComponent.prototype.setupApplicationForm = function () {
|
|
3202
3205
|
var _a, _b, _c, _d, _e;
|
|
3203
3206
|
this.ProcessorType = ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Processor) === null || _b === void 0 ? void 0 : _b.Type) || '';
|
|
3204
|
-
console.log(
|
|
3207
|
+
console.log('ProcessorType = ', this.ProcessorType);
|
|
3205
3208
|
if (this.EditingApplication != null) {
|
|
3206
3209
|
this.ApplicationFormGroup = this.formBldr.group({
|
|
3207
3210
|
name: [(_c = this.EditingApplication.Application) === null || _c === void 0 ? void 0 : _c.Name, forms.Validators.required],
|
|
@@ -3227,10 +3230,8 @@
|
|
|
3227
3230
|
};
|
|
3228
3231
|
AppsFlowComponent.prototype.setupBuildForm = function () {
|
|
3229
3232
|
var _a, _b;
|
|
3230
|
-
this.ApplicationFormGroup.addControl('hasBuild', this.formBldr.control(!!((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SourceControlLookup) ||
|
|
3231
|
-
|
|
3232
|
-
this.ApplicationFormGroup.addControl('sourceControlLookup', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.SourceControlLookup) ||
|
|
3233
|
-
'', []));
|
|
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) || '', []));
|
|
3234
3235
|
};
|
|
3235
3236
|
AppsFlowComponent.prototype.setupDfsForm = function () {
|
|
3236
3237
|
var _a, _b;
|