@lowcodeunit/applications-flow-common 1.33.103-lets-get-social-ish → 1.33.104-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.
- package/bundles/lowcodeunit-applications-flow-common.umd.js +152 -12
- 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/applications-flow.module.js +8 -4
- package/esm2015/lib/controls/edit-application-form/edit-application-form.component.js +60 -0
- package/esm2015/lib/controls/processor-details-form/processor-details-form.component.js +36 -8
- package/esm2015/lib/controls/security-toggle/security-toggle.component.js +11 -4
- package/esm2015/lib/controls/source-control-form/source-control-form.component.js +5 -4
- package/esm2015/lowcodeunit-applications-flow-common.js +2 -1
- package/fesm2015/lowcodeunit-applications-flow-common.js +111 -13
- package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
- package/lib/applications-flow.module.d.ts.map +1 -1
- package/lib/controls/edit-application-form/edit-application-form.component.d.ts +17 -0
- package/lib/controls/edit-application-form/edit-application-form.component.d.ts.map +1 -0
- package/lib/controls/processor-details-form/processor-details-form.component.d.ts +12 -4
- package/lib/controls/processor-details-form/processor-details-form.component.d.ts.map +1 -1
- package/lib/controls/security-toggle/security-toggle.component.d.ts +3 -1
- package/lib/controls/security-toggle/security-toggle.component.d.ts.map +1 -1
- package/lib/controls/source-control-form/source-control-form.component.d.ts +2 -3
- package/lib/controls/source-control-form/source-control-form.component.d.ts.map +1 -1
- package/lowcodeunit-applications-flow-common.d.ts +1 -0
- package/lowcodeunit-applications-flow-common.d.ts.map +1 -1
- package/lowcodeunit-applications-flow-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5047,6 +5047,7 @@
|
|
|
5047
5047
|
var SecurityToggleComponent = /** @class */ (function () {
|
|
5048
5048
|
function SecurityToggleComponent(formBldr) {
|
|
5049
5049
|
this.formBldr = formBldr;
|
|
5050
|
+
this.SaveFormEvent = new i0.EventEmitter;
|
|
5050
5051
|
}
|
|
5051
5052
|
Object.defineProperty(SecurityToggleComponent.prototype, "IsPrivateFormControl", {
|
|
5052
5053
|
get: function () {
|
|
@@ -5056,12 +5057,21 @@
|
|
|
5056
5057
|
enumerable: false,
|
|
5057
5058
|
configurable: true
|
|
5058
5059
|
});
|
|
5060
|
+
Object.defineProperty(SecurityToggleComponent.prototype, "IsTriggerSignInFormControl", {
|
|
5061
|
+
get: function () {
|
|
5062
|
+
var _a;
|
|
5063
|
+
return (_a = this.SecurityFormGroup) === null || _a === void 0 ? void 0 : _a.controls.isTriggerSignIn;
|
|
5064
|
+
},
|
|
5065
|
+
enumerable: false,
|
|
5066
|
+
configurable: true
|
|
5067
|
+
});
|
|
5059
5068
|
SecurityToggleComponent.prototype.ngOnInit = function () {
|
|
5060
5069
|
this.setupSecurityFormGroup();
|
|
5061
5070
|
};
|
|
5062
5071
|
SecurityToggleComponent.prototype.SecuritySubmit = function () {
|
|
5063
5072
|
//save the security settings
|
|
5064
|
-
console.log("submitting values: ", this.SecurityFormGroup.value);
|
|
5073
|
+
console.log("submitting security values: ", this.SecurityFormGroup.value);
|
|
5074
|
+
this.SaveFormEvent.emit(this.SecurityFormGroup.value);
|
|
5065
5075
|
};
|
|
5066
5076
|
SecurityToggleComponent.prototype.setupSecurityFormGroup = function () {
|
|
5067
5077
|
var _a, _b;
|
|
@@ -5087,7 +5097,8 @@
|
|
|
5087
5097
|
{ type: forms.FormBuilder }
|
|
5088
5098
|
]; };
|
|
5089
5099
|
SecurityToggleComponent.propDecorators = {
|
|
5090
|
-
EditingApplication: [{ type: i0.Input, args: ['editing-application',] }]
|
|
5100
|
+
EditingApplication: [{ type: i0.Input, args: ['editing-application',] }],
|
|
5101
|
+
SaveFormEvent: [{ type: i0.Output, args: ['save-form-event',] }]
|
|
5091
5102
|
};
|
|
5092
5103
|
|
|
5093
5104
|
var ProcessorDetailsFormComponent = /** @class */ (function () {
|
|
@@ -5095,7 +5106,16 @@
|
|
|
5095
5106
|
this.formBldr = formBldr;
|
|
5096
5107
|
this.eacSvc = eacSvc;
|
|
5097
5108
|
this.redirectTooltip = '';
|
|
5109
|
+
this.SaveFormEvent = new i0.EventEmitter;
|
|
5098
5110
|
}
|
|
5111
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "APIRootFormControl", {
|
|
5112
|
+
get: function () {
|
|
5113
|
+
var _a;
|
|
5114
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.apiRoot;
|
|
5115
|
+
},
|
|
5116
|
+
enumerable: false,
|
|
5117
|
+
configurable: true
|
|
5118
|
+
});
|
|
5099
5119
|
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "BuildFormControl", {
|
|
5100
5120
|
get: function () {
|
|
5101
5121
|
var _a;
|
|
@@ -5112,6 +5132,14 @@
|
|
|
5112
5132
|
enumerable: false,
|
|
5113
5133
|
configurable: true
|
|
5114
5134
|
});
|
|
5135
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "ClientSecretFormControl", {
|
|
5136
|
+
get: function () {
|
|
5137
|
+
var _a;
|
|
5138
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.clientSecret;
|
|
5139
|
+
},
|
|
5140
|
+
enumerable: false,
|
|
5141
|
+
configurable: true
|
|
5142
|
+
});
|
|
5115
5143
|
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "DefaultFileFormControl", {
|
|
5116
5144
|
get: function () {
|
|
5117
5145
|
var _a;
|
|
@@ -5139,10 +5167,34 @@
|
|
|
5139
5167
|
enumerable: false,
|
|
5140
5168
|
configurable: true
|
|
5141
5169
|
});
|
|
5142
|
-
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "
|
|
5170
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "MethodsFormControl", {
|
|
5143
5171
|
get: function () {
|
|
5144
5172
|
var _a;
|
|
5145
|
-
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.
|
|
5173
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.methods;
|
|
5174
|
+
},
|
|
5175
|
+
enumerable: false,
|
|
5176
|
+
configurable: true
|
|
5177
|
+
});
|
|
5178
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "PackageFormControl", {
|
|
5179
|
+
get: function () {
|
|
5180
|
+
var _a;
|
|
5181
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.package;
|
|
5182
|
+
},
|
|
5183
|
+
enumerable: false,
|
|
5184
|
+
configurable: true
|
|
5185
|
+
});
|
|
5186
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "PermanentFormControl", {
|
|
5187
|
+
get: function () {
|
|
5188
|
+
var _a;
|
|
5189
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.permanent;
|
|
5190
|
+
},
|
|
5191
|
+
enumerable: false,
|
|
5192
|
+
configurable: true
|
|
5193
|
+
});
|
|
5194
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "PreserveMethodFormControl", {
|
|
5195
|
+
get: function () {
|
|
5196
|
+
var _a;
|
|
5197
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.preserveMethod;
|
|
5146
5198
|
},
|
|
5147
5199
|
enumerable: false,
|
|
5148
5200
|
configurable: true
|
|
@@ -5179,18 +5231,26 @@
|
|
|
5179
5231
|
enumerable: false,
|
|
5180
5232
|
configurable: true
|
|
5181
5233
|
});
|
|
5182
|
-
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "
|
|
5234
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "TokenLookupFormControl", {
|
|
5183
5235
|
get: function () {
|
|
5184
5236
|
var _a;
|
|
5185
|
-
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.
|
|
5237
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.tokenLookup;
|
|
5186
5238
|
},
|
|
5187
5239
|
enumerable: false,
|
|
5188
5240
|
configurable: true
|
|
5189
5241
|
});
|
|
5190
|
-
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "
|
|
5242
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "VersionFormControl", {
|
|
5191
5243
|
get: function () {
|
|
5192
5244
|
var _a;
|
|
5193
|
-
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.
|
|
5245
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.version;
|
|
5246
|
+
},
|
|
5247
|
+
enumerable: false,
|
|
5248
|
+
configurable: true
|
|
5249
|
+
});
|
|
5250
|
+
Object.defineProperty(ProcessorDetailsFormComponent.prototype, "ZipFileFormControl", {
|
|
5251
|
+
get: function () {
|
|
5252
|
+
var _a;
|
|
5253
|
+
return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.zipFile;
|
|
5194
5254
|
},
|
|
5195
5255
|
enumerable: false,
|
|
5196
5256
|
configurable: true
|
|
@@ -5228,6 +5288,7 @@
|
|
|
5228
5288
|
};
|
|
5229
5289
|
ProcessorDetailsFormComponent.prototype.SubmitProcessorDetails = function () {
|
|
5230
5290
|
console.log("submitting proc details: ", this.ProcessorDetailsFormGroup.value);
|
|
5291
|
+
this.SaveFormEvent.emit(this.ProcessorDetailsFormGroup.value);
|
|
5231
5292
|
};
|
|
5232
5293
|
ProcessorDetailsFormComponent.prototype.ProcessorTypeChanged = function (event) {
|
|
5233
5294
|
this.ProcessorType = event.value;
|
|
@@ -5411,12 +5472,15 @@
|
|
|
5411
5472
|
ProcessorDetailsFormComponent.propDecorators = {
|
|
5412
5473
|
EditingApplication: [{ type: i0.Input, args: ['editing-application',] }],
|
|
5413
5474
|
EditingApplicationLookup: [{ type: i0.Input, args: ['editing-application-lookup',] }],
|
|
5475
|
+
ProjectLookup: [{ type: i0.Input, args: ['project-lookup',] }],
|
|
5476
|
+
SaveFormEvent: [{ type: i0.Output, args: ['save-form-event',] }],
|
|
5414
5477
|
SourceControlFormControls: [{ type: i0.ViewChild, args: [SourceControlFormControlsComponent,] }]
|
|
5415
5478
|
};
|
|
5416
5479
|
|
|
5417
5480
|
var SourceControlFormComponent = /** @class */ (function () {
|
|
5418
5481
|
function SourceControlFormComponent(formBldr) {
|
|
5419
5482
|
this.formBldr = formBldr;
|
|
5483
|
+
this.SaveFormEvent = new i0.EventEmitter;
|
|
5420
5484
|
}
|
|
5421
5485
|
Object.defineProperty(SourceControlFormComponent.prototype, "HasBuildFormControl", {
|
|
5422
5486
|
get: function () {
|
|
@@ -5457,6 +5521,7 @@
|
|
|
5457
5521
|
};
|
|
5458
5522
|
SourceControlFormComponent.prototype.SubmitSourceControl = function () {
|
|
5459
5523
|
console.log("submitting source control: ", this.SourceControlFormGroup.value);
|
|
5524
|
+
this.SaveFormEvent.emit(this.SourceControlFormGroup.value);
|
|
5460
5525
|
};
|
|
5461
5526
|
//HELPER
|
|
5462
5527
|
SourceControlFormComponent.prototype.setupSourceControlForm = function () {
|
|
@@ -5485,7 +5550,7 @@
|
|
|
5485
5550
|
SourceControlFormComponent.propDecorators = {
|
|
5486
5551
|
EditingApplication: [{ type: i0.Input, args: ['editing-application',] }],
|
|
5487
5552
|
Environment: [{ type: i0.Input, args: ['environment',] }],
|
|
5488
|
-
|
|
5553
|
+
SaveFormEvent: [{ type: i0.Output, args: ['save-form-event',] }]
|
|
5489
5554
|
};
|
|
5490
5555
|
|
|
5491
5556
|
var BuildPipelineFormComponent = /** @class */ (function () {
|
|
@@ -6269,6 +6334,77 @@
|
|
|
6269
6334
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
6270
6335
|
]; };
|
|
6271
6336
|
|
|
6337
|
+
var EditApplicationFormComponent = /** @class */ (function () {
|
|
6338
|
+
function EditApplicationFormComponent(formBldr) {
|
|
6339
|
+
this.formBldr = formBldr;
|
|
6340
|
+
this.SaveFormEvent = new i0.EventEmitter;
|
|
6341
|
+
}
|
|
6342
|
+
Object.defineProperty(EditApplicationFormComponent.prototype, "DescriptionFormControl", {
|
|
6343
|
+
get: function () {
|
|
6344
|
+
var _a;
|
|
6345
|
+
return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.description;
|
|
6346
|
+
},
|
|
6347
|
+
enumerable: false,
|
|
6348
|
+
configurable: true
|
|
6349
|
+
});
|
|
6350
|
+
Object.defineProperty(EditApplicationFormComponent.prototype, "NameFormControl", {
|
|
6351
|
+
get: function () {
|
|
6352
|
+
var _a;
|
|
6353
|
+
return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.name;
|
|
6354
|
+
},
|
|
6355
|
+
enumerable: false,
|
|
6356
|
+
configurable: true
|
|
6357
|
+
});
|
|
6358
|
+
Object.defineProperty(EditApplicationFormComponent.prototype, "RouteFormControl", {
|
|
6359
|
+
get: function () {
|
|
6360
|
+
var _a;
|
|
6361
|
+
return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.route;
|
|
6362
|
+
},
|
|
6363
|
+
enumerable: false,
|
|
6364
|
+
configurable: true
|
|
6365
|
+
});
|
|
6366
|
+
EditApplicationFormComponent.prototype.ngOnInit = function () {
|
|
6367
|
+
this.setupApplicationForm();
|
|
6368
|
+
};
|
|
6369
|
+
EditApplicationFormComponent.prototype.SubmitApplicationControl = function () {
|
|
6370
|
+
console.log("application form: ", this.ApplicationFormGroup.value);
|
|
6371
|
+
this.SaveFormEvent.emit(this.ApplicationFormGroup.value);
|
|
6372
|
+
};
|
|
6373
|
+
//HELPERS
|
|
6374
|
+
EditApplicationFormComponent.prototype.setupApplicationForm = function () {
|
|
6375
|
+
var _a, _b, _c;
|
|
6376
|
+
if (this.EditingApplication != null) {
|
|
6377
|
+
this.ApplicationFormGroup = this.formBldr.group({
|
|
6378
|
+
name: [(_a = this.EditingApplication.Application) === null || _a === void 0 ? void 0 : _a.Name, forms.Validators.required],
|
|
6379
|
+
description: [
|
|
6380
|
+
(_b = this.EditingApplication.Application) === null || _b === void 0 ? void 0 : _b.Description,
|
|
6381
|
+
forms.Validators.required,
|
|
6382
|
+
],
|
|
6383
|
+
route: [
|
|
6384
|
+
((_c = this.EditingApplication.LookupConfig) === null || _c === void 0 ? void 0 : _c.PathRegex.replace('.*', '')) ||
|
|
6385
|
+
'/',
|
|
6386
|
+
forms.Validators.required,
|
|
6387
|
+
],
|
|
6388
|
+
});
|
|
6389
|
+
}
|
|
6390
|
+
};
|
|
6391
|
+
return EditApplicationFormComponent;
|
|
6392
|
+
}());
|
|
6393
|
+
EditApplicationFormComponent.decorators = [
|
|
6394
|
+
{ type: i0.Component, args: [{
|
|
6395
|
+
selector: 'lcu-edit-application-form',
|
|
6396
|
+
template: "<form class=\"form-card\" [formGroup]=\"ApplicationFormGroup\" (ngSubmit)=\"SubmitApplicationControl()\" >\n <mat-card class=\"spread flow-card\">\n <mat-card-header>\n <mat-card-title>\n <ng-container *ngIf=\"EditingApplication?.Application\">\n Edit Application:\n {{ EditingApplication.Application?.Name }}\n </ng-container>\n\n <ng-container *ngIf=\"!EditingApplication?.Application\">\n Create an Application\n </ng-container>\n </mat-card-title>\n </mat-card-header>\n\n <mat-card-content>\n <mat-form-field class=\"mat-full-width\">\n <input\n matInput\n placeholder=\"Name\"\n formControlName=\"name\"\n required\n />\n </mat-form-field>\n\n <mat-form-field class=\"mat-full-width\">\n <textarea\n matInput\n placeholder=\"Description\"\n formControlName=\"description\"\n rows=\"3\"\n required\n ></textarea>\n </mat-form-field>\n\n <mat-form-field class=\"mat-full-width\">\n <input\n matInput\n placeholder=\"Route\"\n formControlName=\"route\"\n required\n />\n </mat-form-field>\n </mat-card-content>\n <mat-card-actions fxLayoutAlign=\"center center\">\n\n <button \n mat-raised-button \n type=\"submit\" \n fxFlex=\"100%\" \n color=\"primary\" \n [disabled]=\"!ApplicationFormGroup.valid || !ApplicationFormGroup.dirty\">\n <mat-icon>save</mat-icon>\n Save Source Control\n </button>\n \n </mat-card-actions>\n </mat-card>\n</form>\n",
|
|
6397
|
+
styles: [""]
|
|
6398
|
+
},] }
|
|
6399
|
+
];
|
|
6400
|
+
EditApplicationFormComponent.ctorParameters = function () { return [
|
|
6401
|
+
{ type: forms.FormBuilder }
|
|
6402
|
+
]; };
|
|
6403
|
+
EditApplicationFormComponent.propDecorators = {
|
|
6404
|
+
EditingApplication: [{ type: i0.Input, args: ['editing-application',] }],
|
|
6405
|
+
SaveFormEvent: [{ type: i0.Output, args: ['save-form-event',] }]
|
|
6406
|
+
};
|
|
6407
|
+
|
|
6272
6408
|
var ApplicationsFlowModule = /** @class */ (function () {
|
|
6273
6409
|
function ApplicationsFlowModule() {
|
|
6274
6410
|
}
|
|
@@ -6328,7 +6464,8 @@
|
|
|
6328
6464
|
BuildPipelineFormComponent,
|
|
6329
6465
|
DevopsSourceControlFormComponent,
|
|
6330
6466
|
SourceControlDialogComponent,
|
|
6331
|
-
BuildPipelineDialogComponent
|
|
6467
|
+
BuildPipelineDialogComponent,
|
|
6468
|
+
EditApplicationFormComponent
|
|
6332
6469
|
],
|
|
6333
6470
|
imports: [
|
|
6334
6471
|
i2.FathymSharedModule,
|
|
@@ -6380,7 +6517,8 @@
|
|
|
6380
6517
|
BuildPipelineFormComponent,
|
|
6381
6518
|
DevopsSourceControlFormComponent,
|
|
6382
6519
|
SourceControlDialogComponent,
|
|
6383
|
-
BuildPipelineDialogComponent
|
|
6520
|
+
BuildPipelineDialogComponent,
|
|
6521
|
+
EditApplicationFormComponent
|
|
6384
6522
|
],
|
|
6385
6523
|
entryComponents: [
|
|
6386
6524
|
ApplicationsFlowProjectsElementComponent,
|
|
@@ -6419,7 +6557,8 @@
|
|
|
6419
6557
|
BuildPipelineFormComponent,
|
|
6420
6558
|
DevopsSourceControlFormComponent,
|
|
6421
6559
|
SourceControlDialogComponent,
|
|
6422
|
-
BuildPipelineDialogComponent
|
|
6560
|
+
BuildPipelineDialogComponent,
|
|
6561
|
+
EditApplicationFormComponent
|
|
6423
6562
|
],
|
|
6424
6563
|
},] }
|
|
6425
6564
|
];
|
|
@@ -6515,6 +6654,7 @@
|
|
|
6515
6654
|
exports.ɵbc = DevopsSourceControlFormComponent;
|
|
6516
6655
|
exports.ɵbd = SourceControlDialogComponent;
|
|
6517
6656
|
exports.ɵbe = BuildPipelineDialogComponent;
|
|
6657
|
+
exports.ɵbf = EditApplicationFormComponent;
|
|
6518
6658
|
exports.ɵc = ProjectTabsComponent;
|
|
6519
6659
|
exports.ɵd = GeneralComponent;
|
|
6520
6660
|
exports.ɵe = DomainsComponent;
|