@lowcodeunit/applications-flow-common 1.33.22-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.
@@ -1821,7 +1821,7 @@ class AppsFlowComponent {
1821
1821
  this.appsFlowSvc = appsFlowSvc;
1822
1822
  this.appsFlowEventsSvc = appsFlowEventsSvc;
1823
1823
  this.EditingApplicationLookup = null;
1824
- this.redirectTooltip = "";
1824
+ this.redirectTooltip = '';
1825
1825
  // this.IsPermanent = false;
1826
1826
  // this.IsPreserve = false;
1827
1827
  }
@@ -2048,21 +2048,23 @@ class AppsFlowComponent {
2048
2048
  let permanentValue = this.PermanentFormControl.value;
2049
2049
  let preserveValue = this.PreserveMethodFormControl.value;
2050
2050
  if (permanentValue === true && preserveValue === false) {
2051
- this.redirectTooltip = "301 – Permanent and Not Preserve";
2051
+ this.redirectTooltip = '301 – Permanent and Not Preserve';
2052
2052
  }
2053
2053
  else if (permanentValue === false && preserveValue === false) {
2054
- this.redirectTooltip = "302 – Not Permanent and Not Preserve";
2054
+ this.redirectTooltip = '302 – Not Permanent and Not Preserve';
2055
2055
  }
2056
2056
  else if (permanentValue === false && preserveValue === true) {
2057
- this.redirectTooltip = "307 – Not Permanent and Preserve";
2057
+ this.redirectTooltip = '307 – Not Permanent and Preserve';
2058
2058
  }
2059
2059
  else if (permanentValue === true && preserveValue === true) {
2060
- this.redirectTooltip = "308 – Permanent and Preserve";
2060
+ this.redirectTooltip = '308 – Permanent and Preserve';
2061
2061
  }
2062
2062
  }
2063
2063
  GetProcessorType(appLookup) {
2064
- let processorType = "";
2065
- processorType = this.Applications[appLookup].Processor.Type ? this.Applications[appLookup].Processor.Type : "";
2064
+ let processorType = '';
2065
+ processorType = this.Applications[appLookup].Processor.Type
2066
+ ? this.Applications[appLookup].Processor.Type
2067
+ : '';
2066
2068
  // console.log("Ptype = ", processorType);
2067
2069
  return processorType;
2068
2070
  }
@@ -2070,7 +2072,7 @@ class AppsFlowComponent {
2070
2072
  this.CurrentApplicationRoute = appRoute;
2071
2073
  }
2072
2074
  SaveApplication() {
2073
- var _a, _b;
2075
+ var _a, _b, _c, _d, _e, _f;
2074
2076
  const app = {
2075
2077
  Application: {
2076
2078
  Name: this.NameFormControl.value,
@@ -2085,9 +2087,9 @@ class AppsFlowComponent {
2085
2087
  ? this.IsTriggerSignInFormControl.value
2086
2088
  : false,
2087
2089
  PathRegex: `${this.RouteFormControl.value}.*`,
2088
- QueryRegex: '',
2089
- HeaderRegex: '',
2090
- AllowedMethods: (_b = (_a = this.MethodsFormControl) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.split(' ').filter((v) => !!v),
2090
+ QueryRegex: ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.LookupConfig) === null || _b === void 0 ? void 0 : _b.QueryRegex) || '',
2091
+ HeaderRegex: ((_d = (_c = this.EditingApplication) === null || _c === void 0 ? void 0 : _c.LookupConfig) === null || _d === void 0 ? void 0 : _d.HeaderRegex) || '',
2092
+ AllowedMethods: (_f = (_e = this.MethodsFormControl) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.split(' ').filter((v) => !!v),
2091
2093
  },
2092
2094
  Processor: {
2093
2095
  Type: this.ProcessorType,
@@ -2224,7 +2226,7 @@ class AppsFlowComponent {
2224
2226
  setupApplicationForm() {
2225
2227
  var _a, _b, _c, _d, _e;
2226
2228
  this.ProcessorType = ((_b = (_a = this.EditingApplication) === null || _a === void 0 ? void 0 : _a.Processor) === null || _b === void 0 ? void 0 : _b.Type) || '';
2227
- console.log("ProcessorType = ", this.ProcessorType);
2229
+ console.log('ProcessorType = ', this.ProcessorType);
2228
2230
  if (this.EditingApplication != null) {
2229
2231
  this.ApplicationFormGroup = this.formBldr.group({
2230
2232
  name: [(_c = this.EditingApplication.Application) === null || _c === void 0 ? void 0 : _c.Name, Validators.required],
@@ -2250,10 +2252,8 @@ class AppsFlowComponent {
2250
2252
  }
2251
2253
  setupBuildForm() {
2252
2254
  var _a, _b;
2253
- this.ApplicationFormGroup.addControl('hasBuild', this.formBldr.control(!!((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SourceControlLookup) ||
2254
- false, [Validators.required]));
2255
- this.ApplicationFormGroup.addControl('sourceControlLookup', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.SourceControlLookup) ||
2256
- '', []));
2255
+ this.ApplicationFormGroup.addControl('hasBuild', this.formBldr.control(!!((_a = this.EditingApplication.LowCodeUnit) === null || _a === void 0 ? void 0 : _a.SourceControlLookup) || false, [Validators.required]));
2256
+ this.ApplicationFormGroup.addControl('sourceControlLookup', this.formBldr.control(((_b = this.EditingApplication.LowCodeUnit) === null || _b === void 0 ? void 0 : _b.SourceControlLookup) || '', []));
2257
2257
  }
2258
2258
  setupDfsForm() {
2259
2259
  var _a, _b;
@@ -3545,8 +3545,8 @@ class SlottedCardComponent {
3545
3545
  SlottedCardComponent.decorators = [
3546
3546
  { type: Component, args: [{
3547
3547
  selector: 'lcu-slotted-card',
3548
- template: "<mat-card class=\"col-info-card\">\n <mat-card-header fxLayoutAlign=\"space-between center\">\n <mat-card-title class=\"card-title\">{{ Title }}</mat-card-title>\n <mat-icon>{{ Icon }}</mat-icon>\n </mat-card-header>\n \n <mat-card-content>\n\n <div class=\"slot-main-container\">\n\n <div class=\"header-description\">{{ MainSlotDescription }}</div>\n\n <div class=\"slot-main\">\n <ng-content></ng-content>\n </div>\n \n </div>\n\n <div *ngIf=\"SecondarySlotDescription\" class=\"slot-secondary-container\">\n\n <div class=\"header-description\">{{ SecondarySlotDescription }}</div>\n\n <div class=\"slot-secondary\">\n <ng-content select=\"[secondary]\"></ng-content>\n </div>\n \n </div>\n \n </mat-card-content>\n\n <mat-card-actions *ngIf=\"ActionText\">\n <button mat-button click=\"MainActionClickEvent()\">{{ ActionText }}</button>\n </mat-card-actions>\n\n </mat-card>\n\n\n",
3549
- styles: [".col-info-card{background-color:#fff;margin:20px;padding:0}.card-title{font-size:20px;margin-bottom:0}.header-description{background-color:#d3d3d3}"]
3548
+ template: "<mat-card class=\"col-info-card\">\n <mat-card-header fxLayoutAlign=\"space-between center\">\n <mat-card-title class=\"card-title\">{{ Title }}</mat-card-title>\n <mat-icon class=\"header-icon\">{{ Icon }}</mat-icon>\n </mat-card-header>\n \n <mat-card-content>\n\n <div class=\"slot-main-container\">\n\n <div class=\"header-description\">{{ MainSlotDescription }}</div>\n\n <div class=\"slot-main\">\n <ng-content></ng-content>\n </div>\n \n </div>\n\n <div *ngIf=\"SecondarySlotDescription\" class=\"slot-secondary-container\">\n\n <div class=\"header-description\">{{ SecondarySlotDescription }}</div>\n\n <div class=\"slot-secondary\">\n <ng-content select=\"[secondary]\"></ng-content>\n </div>\n \n </div>\n \n </mat-card-content>\n\n <mat-card-actions *ngIf=\"ActionText\" fxLayoutAlign=\"center\">\n <button mat-button class=\"slotted-card-action-btn\" click=\"MainActionClickEvent()\">{{ ActionText }}</button>\n </mat-card-actions>\n\n </mat-card>\n\n\n",
3549
+ styles: [".col-info-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:0}.header-icon{margin-right:10px}.card-title{font-size:30px;margin-bottom:0}.header-description{background-color:#d3d3d3;margin-left:-2px;padding:10px}mat-card-actions{margin-bottom:0!important;margin-left:-1px!important;margin-right:0!important}.slotted-card-action-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
3550
3550
  },] }
3551
3551
  ];
3552
3552
  SlottedCardComponent.ctorParameters = () => [];
@@ -3559,6 +3559,23 @@ SlottedCardComponent.propDecorators = {
3559
3559
  MainActionClicked: [{ type: Output, args: ['main-action-clicked',] }]
3560
3560
  };
3561
3561
 
3562
+ class ProjectInfoCardComponent {
3563
+ constructor() { }
3564
+ ngOnInit() {
3565
+ }
3566
+ }
3567
+ ProjectInfoCardComponent.decorators = [
3568
+ { type: Component, args: [{
3569
+ selector: 'lcu-project-info-card',
3570
+ template: "<mat-card class=\"project-info-card\">\n <div class=\"header-img-container\" fxLayout=\"row\" >\n <div class=\"round-project-img\" fxlayoutAlign=\"center center\">\n <mat-icon class=\"temp-icon\">flutter_dash</mat-icon>\n </div>\n </div>\n <mat-card-header class=\"project-card-header\">\n \n <mat-card-title class=\"project-card-name\">{{Project.Project.Name}}</mat-card-title>\n <mat-card-subtitle class=\"project-card-description\" *ngIf=\"Project.Description\">{{Project.Description}}</mat-card-subtitle>\n <mat-card-subtitle class=\"project-card-description\" *ngIf=\"!Project.Description\">This is a test description for formatting purposes</mat-card-subtitle>\n\n <mat-card-subtitle class=\"project-card-host\">\n <a class=\"host-anchor\" [href]=\"Project.Hosts\" target=\"_blank\">{{Project.Hosts}}</a>\n </mat-card-subtitle>\n\n </mat-card-header>\n <mat-card-content >\n\n <div class=\"carousel-container\">\n Carousel will go here\n </div>\n\n <div class=\"promo-container\">\n <div>Access exclusive tools & insights</div>\n <div>Upgrade to premium now</div>\n\n </div>\n </mat-card-content>\n <mat-card-actions>\n <button mat-button class=\"info-card-btn\">\n <mat-icon>settings</mat-icon>\n Project Settings\n </button>\n \n </mat-card-actions>\n </mat-card>\n \n",
3571
+ styles: [".project-info-card{background-color:#fff;border:2px solid #d3d3d3;margin:20px;padding:0}.round-project-img{background-color:#dfeff2;border:2px solid #fff;border-radius:40px;height:75px;margin-top:20px;text-align:center;width:75px}.temp-icon{font-size:50px;height:50px;margin-top:10px;width:50px}.project-card-header{margin-top:50px;text-align:center}.host-anchor{color:#4a918e;text-decoration:none}.header-img-container{background-color:#a4bab3;border-radius:2px 2px 0 0;height:60px;justify-content:center;margin-right:-1px}.project-card-name{font-size:30px;font-weight:600}.carousel-container{border-top:1px solid #d3d3d3;height:75px;text-align:center}.carousel-container,.promo-container{border-bottom:1px solid #d3d3d3}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.info-card-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
3572
+ },] }
3573
+ ];
3574
+ ProjectInfoCardComponent.ctorParameters = () => [];
3575
+ ProjectInfoCardComponent.propDecorators = {
3576
+ Project: [{ type: Input, args: ['project',] }]
3577
+ };
3578
+
3562
3579
  class ApplicationsFlowModule {
3563
3580
  static forRoot() {
3564
3581
  return {
@@ -3601,7 +3618,8 @@ ApplicationsFlowModule.decorators = [
3601
3618
  NpmPackageSelectComponent,
3602
3619
  ThreeColumnComponent,
3603
3620
  ColumnInfoCardComponent,
3604
- SlottedCardComponent
3621
+ SlottedCardComponent,
3622
+ ProjectInfoCardComponent
3605
3623
  ],
3606
3624
  imports: [
3607
3625
  FathymSharedModule,
@@ -3636,7 +3654,8 @@ ApplicationsFlowModule.decorators = [
3636
3654
  NpmPackageSelectComponent,
3637
3655
  ThreeColumnComponent,
3638
3656
  ColumnInfoCardComponent,
3639
- SlottedCardComponent
3657
+ SlottedCardComponent,
3658
+ ProjectInfoCardComponent
3640
3659
  ],
3641
3660
  entryComponents: [
3642
3661
  ApplicationsFlowProjectsElementComponent,
@@ -3661,7 +3680,8 @@ ApplicationsFlowModule.decorators = [
3661
3680
  NpmPackageSelectComponent,
3662
3681
  ThreeColumnComponent,
3663
3682
  ColumnInfoCardComponent,
3664
- SlottedCardComponent
3683
+ SlottedCardComponent,
3684
+ ProjectInfoCardComponent
3665
3685
  ],
3666
3686
  },] }
3667
3687
  ];
@@ -3694,5 +3714,5 @@ class FormModel {
3694
3714
  * Generated bundle index. Do not edit.
3695
3715
  */
3696
3716
 
3697
- export { ActionsModel, ApplicationsFlowModule, ApplicationsFlowProjectsContext, ApplicationsFlowProjectsElementComponent, ApplicationsFlowProjectsElementState, ApplicationsFlowService, ApplicationsFlowState, ApplicationsFlowStateContext, BaseFormConfigModel, CardFormConfigModel, CreateProjectWizardComponent, DevSettingsPresetModel, DomainModel, DynamicTabsModel, FormActionsModel, FormModel, FormValuesModel, FormsService, GitAuthComponent, GitHubBranch, GitHubOrganization, GitHubRepository, GitHubSetupState, GitHubWorkflowRun, HostingDetailsFormGroupComponent, NPMService, ProjectActionsModel, ProjectHostingDetails, ProjectHostingOption, ProjectHostingOptionInput, ProjectNameComponent, ProjectService, RootDirectoryComponent, SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT, SourceControlFormControlsComponent, ThreeColumnComponent, UnpackLowCodeUnitRequest, ApplicationsFlowEventsService as ɵa, DynamicTabsComponent as ɵb, HeaderComponent as ɵc, ProjectTabsComponent as ɵd, GeneralComponent as ɵe, DomainsComponent as ɵf, ProjectItemsComponent as ɵg, BuildsComponent as ɵh, RecentActivitiesComponent as ɵi, FormCardComponent as ɵj, BaseFormComponent as ɵk, BaseFormTestComponent as ɵl, AppsFlowComponent as ɵm, DevOpsComponent as ɵn, DFSModifiersComponent as ɵo, NpmPackageSelectComponent as ɵp, ColumnInfoCardComponent as ɵq, SlottedCardComponent as ɵr };
3717
+ export { ActionsModel, ApplicationsFlowModule, ApplicationsFlowProjectsContext, ApplicationsFlowProjectsElementComponent, ApplicationsFlowProjectsElementState, ApplicationsFlowService, ApplicationsFlowState, ApplicationsFlowStateContext, BaseFormConfigModel, CardFormConfigModel, CreateProjectWizardComponent, DevSettingsPresetModel, DomainModel, DynamicTabsModel, FormActionsModel, FormModel, FormValuesModel, FormsService, GitAuthComponent, GitHubBranch, GitHubOrganization, GitHubRepository, GitHubSetupState, GitHubWorkflowRun, HostingDetailsFormGroupComponent, NPMService, ProjectActionsModel, ProjectHostingDetails, ProjectHostingOption, ProjectHostingOptionInput, ProjectNameComponent, ProjectService, RootDirectoryComponent, SELECTOR_APPLICATIONS_FLOW_PROJECTS_ELEMENT, SourceControlFormControlsComponent, ThreeColumnComponent, UnpackLowCodeUnitRequest, ApplicationsFlowEventsService as ɵa, DynamicTabsComponent as ɵb, HeaderComponent as ɵc, ProjectTabsComponent as ɵd, GeneralComponent as ɵe, DomainsComponent as ɵf, ProjectItemsComponent as ɵg, BuildsComponent as ɵh, RecentActivitiesComponent as ɵi, FormCardComponent as ɵj, BaseFormComponent as ɵk, BaseFormTestComponent as ɵl, AppsFlowComponent as ɵm, DevOpsComponent as ɵn, DFSModifiersComponent as ɵo, NpmPackageSelectComponent as ɵp, ColumnInfoCardComponent as ɵq, SlottedCardComponent as ɵr, ProjectInfoCardComponent as ɵs };
3698
3718
  //# sourceMappingURL=lowcodeunit-applications-flow-common.js.map