@lowcodeunit/applications-flow-common 1.33.24-lets-get-social-ish → 1.33.28-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;
@@ -4715,21 +4715,34 @@
4715
4715
 
4716
4716
  var ProjectInfoCardComponent = /** @class */ (function () {
4717
4717
  function ProjectInfoCardComponent() {
4718
+ this.LeftClickEvent = new i0.EventEmitter();
4719
+ this.RightClickEvent = new i0.EventEmitter();
4718
4720
  }
4719
4721
  ProjectInfoCardComponent.prototype.ngOnInit = function () {
4720
4722
  };
4723
+ ProjectInfoCardComponent.prototype.LeftIconClicked = function () {
4724
+ this.LeftClickEvent.emit({});
4725
+ };
4726
+ ProjectInfoCardComponent.prototype.RightIconClicked = function () {
4727
+ this.RightClickEvent.emit({});
4728
+ };
4721
4729
  return ProjectInfoCardComponent;
4722
4730
  }());
4723
4731
  ProjectInfoCardComponent.decorators = [
4724
4732
  { type: i0.Component, args: [{
4725
4733
  selector: 'lcu-project-info-card',
4726
- 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",
4727
- 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%}"]
4734
+ template: "<mat-card class=\"project-info-card\">\n\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\n <div class=\"icon-btn-container\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" >\n <button mat-icon-button id=\"left-icon\" (click)=\"LeftIconClicked()\">\n <mat-icon>settings</mat-icon>\n </button>\n <button mat-icon-button id=\"right-icon\" (click)=\"RightIconClicked()\">\n <mat-icon>share</mat-icon>\n </button>\n </div>\n\n <mat-card-header class=\"project-card-header\">\n\n <mat-card-title class=\"project-card-name\" *ngIf=\"Name\">{{Name}}</mat-card-title>\n\n <mat-card-subtitle class=\"project-card-description\" *ngIf=\"Description\">{{Description}}</mat-card-subtitle>\n\n <mat-card-subtitle class=\"project-card-host\">\n <a class=\"host-anchor\" *ngIf=\"Subtext\" [href]=\"Subtext\" target=\"_blank\">{{Subtext}}</a>\n </mat-card-subtitle>\n\n </mat-card-header>\n <mat-card-content class=\"card-content-container\">\n <div class=\"stats-container\">\n <ng-content select=\"[stats]\"></ng-content>\n </div>\n\n <div class=\"promo-container\">\n <ng-content select=\"[promo]\"></ng-content>\n </div>\n\n </mat-card-content>\n <mat-card-actions class=\"actions-container\">\n <ng-content select=\"[action]\"></ng-content>\n \n </mat-card-actions>\n </mat-card>\n \n",
4735
+ 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;width:50px}.icon-btn-container{margin:5px}.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:0;margin-top:-.5px!important}.project-card-name{font-size:30px;font-weight:600}.card-content-container{margin-bottom:0!important}.stats-container{border-bottom:1px solid #d3d3d3;border-top:1px solid #d3d3d3}mat-card-actions{margin-bottom:-1px!important;margin-left:0!important;margin-right:-.5px!important}.actions-container{padding:0!important}.info-card-btn{border-radius:0 0 2px 2px;border-top:1px solid #d3d3d3;width:100%}"]
4728
4736
  },] }
4729
4737
  ];
4730
4738
  ProjectInfoCardComponent.ctorParameters = function () { return []; };
4731
4739
  ProjectInfoCardComponent.propDecorators = {
4732
- Project: [{ type: i0.Input, args: ['project',] }]
4740
+ Description: [{ type: i0.Input, args: ['description',] }],
4741
+ Image: [{ type: i0.Input, args: ['image',] }],
4742
+ Name: [{ type: i0.Input, args: ['name',] }],
4743
+ Subtext: [{ type: i0.Input, args: ['subtext',] }],
4744
+ LeftClickEvent: [{ type: i0.Output, args: ['left-click-event',] }],
4745
+ RightClickEvent: [{ type: i0.Output, args: ['right-click-event',] }]
4733
4746
  };
4734
4747
 
4735
4748
  var ApplicationsFlowModule = /** @class */ (function () {