@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.
Files changed (25) hide show
  1. package/bundles/lowcodeunit-applications-flow-common.umd.js +152 -12
  2. package/bundles/lowcodeunit-applications-flow-common.umd.js.map +1 -1
  3. package/bundles/lowcodeunit-applications-flow-common.umd.min.js +1 -1
  4. package/bundles/lowcodeunit-applications-flow-common.umd.min.js.map +1 -1
  5. package/esm2015/lib/applications-flow.module.js +8 -4
  6. package/esm2015/lib/controls/edit-application-form/edit-application-form.component.js +60 -0
  7. package/esm2015/lib/controls/processor-details-form/processor-details-form.component.js +36 -8
  8. package/esm2015/lib/controls/security-toggle/security-toggle.component.js +11 -4
  9. package/esm2015/lib/controls/source-control-form/source-control-form.component.js +5 -4
  10. package/esm2015/lowcodeunit-applications-flow-common.js +2 -1
  11. package/fesm2015/lowcodeunit-applications-flow-common.js +111 -13
  12. package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
  13. package/lib/applications-flow.module.d.ts.map +1 -1
  14. package/lib/controls/edit-application-form/edit-application-form.component.d.ts +17 -0
  15. package/lib/controls/edit-application-form/edit-application-form.component.d.ts.map +1 -0
  16. package/lib/controls/processor-details-form/processor-details-form.component.d.ts +12 -4
  17. package/lib/controls/processor-details-form/processor-details-form.component.d.ts.map +1 -1
  18. package/lib/controls/security-toggle/security-toggle.component.d.ts +3 -1
  19. package/lib/controls/security-toggle/security-toggle.component.d.ts.map +1 -1
  20. package/lib/controls/source-control-form/source-control-form.component.d.ts +2 -3
  21. package/lib/controls/source-control-form/source-control-form.component.d.ts.map +1 -1
  22. package/lowcodeunit-applications-flow-common.d.ts +1 -0
  23. package/lowcodeunit-applications-flow-common.d.ts.map +1 -1
  24. package/lowcodeunit-applications-flow-common.metadata.json +1 -1
  25. package/package.json +1 -1
@@ -3845,17 +3845,23 @@ CardCarouselComponent.propDecorators = {
3845
3845
  class SecurityToggleComponent {
3846
3846
  constructor(formBldr) {
3847
3847
  this.formBldr = formBldr;
3848
+ this.SaveFormEvent = new EventEmitter;
3848
3849
  }
3849
3850
  get IsPrivateFormControl() {
3850
3851
  var _a;
3851
3852
  return (_a = this.SecurityFormGroup) === null || _a === void 0 ? void 0 : _a.controls.isPrivate;
3852
3853
  }
3854
+ get IsTriggerSignInFormControl() {
3855
+ var _a;
3856
+ return (_a = this.SecurityFormGroup) === null || _a === void 0 ? void 0 : _a.controls.isTriggerSignIn;
3857
+ }
3853
3858
  ngOnInit() {
3854
3859
  this.setupSecurityFormGroup();
3855
3860
  }
3856
3861
  SecuritySubmit() {
3857
3862
  //save the security settings
3858
- console.log("submitting values: ", this.SecurityFormGroup.value);
3863
+ console.log("submitting security values: ", this.SecurityFormGroup.value);
3864
+ this.SaveFormEvent.emit(this.SecurityFormGroup.value);
3859
3865
  }
3860
3866
  setupSecurityFormGroup() {
3861
3867
  var _a, _b;
@@ -3880,7 +3886,8 @@ SecurityToggleComponent.ctorParameters = () => [
3880
3886
  { type: FormBuilder }
3881
3887
  ];
3882
3888
  SecurityToggleComponent.propDecorators = {
3883
- EditingApplication: [{ type: Input, args: ['editing-application',] }]
3889
+ EditingApplication: [{ type: Input, args: ['editing-application',] }],
3890
+ SaveFormEvent: [{ type: Output, args: ['save-form-event',] }]
3884
3891
  };
3885
3892
 
3886
3893
  class ProcessorDetailsFormComponent {
@@ -3888,6 +3895,11 @@ class ProcessorDetailsFormComponent {
3888
3895
  this.formBldr = formBldr;
3889
3896
  this.eacSvc = eacSvc;
3890
3897
  this.redirectTooltip = '';
3898
+ this.SaveFormEvent = new EventEmitter;
3899
+ }
3900
+ get APIRootFormControl() {
3901
+ var _a;
3902
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.apiRoot;
3891
3903
  }
3892
3904
  get BuildFormControl() {
3893
3905
  var _a;
@@ -3897,6 +3909,10 @@ class ProcessorDetailsFormComponent {
3897
3909
  var _a;
3898
3910
  return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.clientId;
3899
3911
  }
3912
+ get ClientSecretFormControl() {
3913
+ var _a;
3914
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.clientSecret;
3915
+ }
3900
3916
  get DefaultFileFormControl() {
3901
3917
  var _a;
3902
3918
  return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.defaultFile;
@@ -3912,9 +3928,21 @@ class ProcessorDetailsFormComponent {
3912
3928
  var _a;
3913
3929
  return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.inboundPath;
3914
3930
  }
3915
- get TokenLookupFormControl() {
3931
+ get MethodsFormControl() {
3916
3932
  var _a;
3917
- return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.tokenLookup;
3933
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.methods;
3934
+ }
3935
+ get PackageFormControl() {
3936
+ var _a;
3937
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.package;
3938
+ }
3939
+ get PermanentFormControl() {
3940
+ var _a;
3941
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.permanent;
3942
+ }
3943
+ get PreserveMethodFormControl() {
3944
+ var _a;
3945
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.preserveMethod;
3918
3946
  }
3919
3947
  get RedirectFormControl() {
3920
3948
  var _a;
@@ -3932,13 +3960,17 @@ class ProcessorDetailsFormComponent {
3932
3960
  var _a;
3933
3961
  return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.spaRoot;
3934
3962
  }
3935
- get PermanentFormControl() {
3963
+ get TokenLookupFormControl() {
3936
3964
  var _a;
3937
- return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.permanent;
3965
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.tokenLookup;
3938
3966
  }
3939
- get PreserveMethodFormControl() {
3967
+ get VersionFormControl() {
3940
3968
  var _a;
3941
- return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.preserveMethod;
3969
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.version;
3970
+ }
3971
+ get ZipFileFormControl() {
3972
+ var _a;
3973
+ return (_a = this.ProcessorDetailsFormGroup) === null || _a === void 0 ? void 0 : _a.controls.zipFile;
3942
3974
  }
3943
3975
  ngOnInit() {
3944
3976
  if (!this.EditingApplication) {
@@ -3973,6 +4005,7 @@ class ProcessorDetailsFormComponent {
3973
4005
  }
3974
4006
  SubmitProcessorDetails() {
3975
4007
  console.log("submitting proc details: ", this.ProcessorDetailsFormGroup.value);
4008
+ this.SaveFormEvent.emit(this.ProcessorDetailsFormGroup.value);
3976
4009
  }
3977
4010
  ProcessorTypeChanged(event) {
3978
4011
  this.ProcessorType = event.value;
@@ -4155,12 +4188,15 @@ ProcessorDetailsFormComponent.ctorParameters = () => [
4155
4188
  ProcessorDetailsFormComponent.propDecorators = {
4156
4189
  EditingApplication: [{ type: Input, args: ['editing-application',] }],
4157
4190
  EditingApplicationLookup: [{ type: Input, args: ['editing-application-lookup',] }],
4191
+ ProjectLookup: [{ type: Input, args: ['project-lookup',] }],
4192
+ SaveFormEvent: [{ type: Output, args: ['save-form-event',] }],
4158
4193
  SourceControlFormControls: [{ type: ViewChild, args: [SourceControlFormControlsComponent,] }]
4159
4194
  };
4160
4195
 
4161
4196
  class SourceControlFormComponent {
4162
4197
  constructor(formBldr) {
4163
4198
  this.formBldr = formBldr;
4199
+ this.SaveFormEvent = new EventEmitter;
4164
4200
  }
4165
4201
  get HasBuildFormControl() {
4166
4202
  var _a;
@@ -4185,6 +4221,7 @@ class SourceControlFormComponent {
4185
4221
  }
4186
4222
  SubmitSourceControl() {
4187
4223
  console.log("submitting source control: ", this.SourceControlFormGroup.value);
4224
+ this.SaveFormEvent.emit(this.SourceControlFormGroup.value);
4188
4225
  }
4189
4226
  //HELPER
4190
4227
  setupSourceControlForm() {
@@ -4212,7 +4249,7 @@ SourceControlFormComponent.ctorParameters = () => [
4212
4249
  SourceControlFormComponent.propDecorators = {
4213
4250
  EditingApplication: [{ type: Input, args: ['editing-application',] }],
4214
4251
  Environment: [{ type: Input, args: ['environment',] }],
4215
- SourceControlFormControls: [{ type: ViewChild, args: [SourceControlFormControlsComponent,] }]
4252
+ SaveFormEvent: [{ type: Output, args: ['save-form-event',] }]
4216
4253
  };
4217
4254
 
4218
4255
  class BuildPipelineFormComponent {
@@ -4892,6 +4929,64 @@ BuildPipelineDialogComponent.ctorParameters = () => [
4892
4929
  { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
4893
4930
  ];
4894
4931
 
4932
+ class EditApplicationFormComponent {
4933
+ constructor(formBldr) {
4934
+ this.formBldr = formBldr;
4935
+ this.SaveFormEvent = new EventEmitter;
4936
+ }
4937
+ get DescriptionFormControl() {
4938
+ var _a;
4939
+ return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.description;
4940
+ }
4941
+ get NameFormControl() {
4942
+ var _a;
4943
+ return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.name;
4944
+ }
4945
+ get RouteFormControl() {
4946
+ var _a;
4947
+ return (_a = this.ApplicationFormGroup) === null || _a === void 0 ? void 0 : _a.controls.route;
4948
+ }
4949
+ ngOnInit() {
4950
+ this.setupApplicationForm();
4951
+ }
4952
+ SubmitApplicationControl() {
4953
+ console.log("application form: ", this.ApplicationFormGroup.value);
4954
+ this.SaveFormEvent.emit(this.ApplicationFormGroup.value);
4955
+ }
4956
+ //HELPERS
4957
+ setupApplicationForm() {
4958
+ var _a, _b, _c;
4959
+ if (this.EditingApplication != null) {
4960
+ this.ApplicationFormGroup = this.formBldr.group({
4961
+ name: [(_a = this.EditingApplication.Application) === null || _a === void 0 ? void 0 : _a.Name, Validators.required],
4962
+ description: [
4963
+ (_b = this.EditingApplication.Application) === null || _b === void 0 ? void 0 : _b.Description,
4964
+ Validators.required,
4965
+ ],
4966
+ route: [
4967
+ ((_c = this.EditingApplication.LookupConfig) === null || _c === void 0 ? void 0 : _c.PathRegex.replace('.*', '')) ||
4968
+ '/',
4969
+ Validators.required,
4970
+ ],
4971
+ });
4972
+ }
4973
+ }
4974
+ }
4975
+ EditApplicationFormComponent.decorators = [
4976
+ { type: Component, args: [{
4977
+ selector: 'lcu-edit-application-form',
4978
+ 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",
4979
+ styles: [""]
4980
+ },] }
4981
+ ];
4982
+ EditApplicationFormComponent.ctorParameters = () => [
4983
+ { type: FormBuilder }
4984
+ ];
4985
+ EditApplicationFormComponent.propDecorators = {
4986
+ EditingApplication: [{ type: Input, args: ['editing-application',] }],
4987
+ SaveFormEvent: [{ type: Output, args: ['save-form-event',] }]
4988
+ };
4989
+
4895
4990
  class ApplicationsFlowModule {
4896
4991
  static forRoot() {
4897
4992
  return {
@@ -4948,7 +5043,8 @@ ApplicationsFlowModule.decorators = [
4948
5043
  BuildPipelineFormComponent,
4949
5044
  DevopsSourceControlFormComponent,
4950
5045
  SourceControlDialogComponent,
4951
- BuildPipelineDialogComponent
5046
+ BuildPipelineDialogComponent,
5047
+ EditApplicationFormComponent
4952
5048
  ],
4953
5049
  imports: [
4954
5050
  FathymSharedModule,
@@ -5000,7 +5096,8 @@ ApplicationsFlowModule.decorators = [
5000
5096
  BuildPipelineFormComponent,
5001
5097
  DevopsSourceControlFormComponent,
5002
5098
  SourceControlDialogComponent,
5003
- BuildPipelineDialogComponent
5099
+ BuildPipelineDialogComponent,
5100
+ EditApplicationFormComponent
5004
5101
  ],
5005
5102
  entryComponents: [
5006
5103
  ApplicationsFlowProjectsElementComponent,
@@ -5039,7 +5136,8 @@ ApplicationsFlowModule.decorators = [
5039
5136
  BuildPipelineFormComponent,
5040
5137
  DevopsSourceControlFormComponent,
5041
5138
  SourceControlDialogComponent,
5042
- BuildPipelineDialogComponent
5139
+ BuildPipelineDialogComponent,
5140
+ EditApplicationFormComponent
5043
5141
  ],
5044
5142
  },] }
5045
5143
  ];
@@ -5072,5 +5170,5 @@ class FormModel {
5072
5170
  * Generated bundle index. Do not edit.
5073
5171
  */
5074
5172
 
5075
- export { ActionsModel, ApplicationsFlowModule, ApplicationsFlowProjectsContext, ApplicationsFlowProjectsElementComponent, ApplicationsFlowProjectsElementState, ApplicationsFlowService, ApplicationsFlowState, ApplicationsFlowStateContext, BaseFormConfigModel, CardFormConfigModel, CreateProjectWizardComponent, DevSettingsPresetModel, DomainModel, DynamicTabsModel, EaCService, FormActionsModel, FormModel, FormValuesModel, FormsService, GitAuthComponent, GitHubBranch, GitHubOrganization, GitHubRepository, GitHubSetupState, GitHubWorkflowRun, HostingDetailsFormGroupComponent, NPMService, ProjectActionsModel, ProjectHostingDetails, ProjectHostingOption, ProjectHostingOptionInput, ProjectNameComponent, ProjectService, RootDirectoryComponent, SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT, SaveApplicationAsCodeEventRequest, SaveDFSModifierEventRequest, SaveEnvironmentAsCodeEventRequest, SaveProjectAsCodeEventRequest, SourceControlFormControlsComponent, ThreeColumnComponent, UnpackLowCodeUnitRequest, DynamicTabsComponent as ɵa, HeaderComponent as ɵb, SourceControlFormComponent as ɵba, BuildPipelineFormComponent as ɵbb, DevopsSourceControlFormComponent as ɵbc, SourceControlDialogComponent as ɵbd, BuildPipelineDialogComponent as ɵbe, ProjectTabsComponent as ɵc, GeneralComponent as ɵd, DomainsComponent as ɵe, ProjectItemsComponent as ɵf, BuildsComponent as ɵg, RecentActivitiesComponent as ɵh, FormCardComponent as ɵi, BaseFormComponent as ɵj, BaseFormTestComponent as ɵk, AppsFlowComponent as ɵl, DevOpsComponent as ɵm, DFSModifiersComponent as ɵn, NpmPackageSelectComponent as ɵo, ColumnInfoCardComponent as ɵp, SlottedCardComponent as ɵq, ProjectInfoCardComponent as ɵr, AnalyticsCardComponent as ɵs, FeedCardSmComponent as ɵt, GhControlComponent as ɵu, MainFeedCardComponent as ɵv, TwoColumnHeaderComponent as ɵw, CardCarouselComponent as ɵx, SecurityToggleComponent as ɵy, ProcessorDetailsFormComponent as ɵz };
5173
+ export { ActionsModel, ApplicationsFlowModule, ApplicationsFlowProjectsContext, ApplicationsFlowProjectsElementComponent, ApplicationsFlowProjectsElementState, ApplicationsFlowService, ApplicationsFlowState, ApplicationsFlowStateContext, BaseFormConfigModel, CardFormConfigModel, CreateProjectWizardComponent, DevSettingsPresetModel, DomainModel, DynamicTabsModel, EaCService, FormActionsModel, FormModel, FormValuesModel, FormsService, GitAuthComponent, GitHubBranch, GitHubOrganization, GitHubRepository, GitHubSetupState, GitHubWorkflowRun, HostingDetailsFormGroupComponent, NPMService, ProjectActionsModel, ProjectHostingDetails, ProjectHostingOption, ProjectHostingOptionInput, ProjectNameComponent, ProjectService, RootDirectoryComponent, SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT, SaveApplicationAsCodeEventRequest, SaveDFSModifierEventRequest, SaveEnvironmentAsCodeEventRequest, SaveProjectAsCodeEventRequest, SourceControlFormControlsComponent, ThreeColumnComponent, UnpackLowCodeUnitRequest, DynamicTabsComponent as ɵa, HeaderComponent as ɵb, SourceControlFormComponent as ɵba, BuildPipelineFormComponent as ɵbb, DevopsSourceControlFormComponent as ɵbc, SourceControlDialogComponent as ɵbd, BuildPipelineDialogComponent as ɵbe, EditApplicationFormComponent as ɵbf, ProjectTabsComponent as ɵc, GeneralComponent as ɵd, DomainsComponent as ɵe, ProjectItemsComponent as ɵf, BuildsComponent as ɵg, RecentActivitiesComponent as ɵh, FormCardComponent as ɵi, BaseFormComponent as ɵj, BaseFormTestComponent as ɵk, AppsFlowComponent as ɵl, DevOpsComponent as ɵm, DFSModifiersComponent as ɵn, NpmPackageSelectComponent as ɵo, ColumnInfoCardComponent as ɵp, SlottedCardComponent as ɵq, ProjectInfoCardComponent as ɵr, AnalyticsCardComponent as ɵs, FeedCardSmComponent as ɵt, GhControlComponent as ɵu, MainFeedCardComponent as ɵv, TwoColumnHeaderComponent as ɵw, CardCarouselComponent as ɵx, SecurityToggleComponent as ɵy, ProcessorDetailsFormComponent as ɵz };
5076
5174
  //# sourceMappingURL=lowcodeunit-applications-flow-common.js.map