@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.
- package/bundles/lowcodeunit-applications-flow-common.umd.js +44 -21
- 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/elements/project-info-card/project-info-card.component.js +18 -0
- package/esm2015/lib/elements/projects/controls/tabs/apps-flow/apps-flow.component.js +17 -17
- package/esm2015/lib/elements/slotted-card/slotted-card.component.js +3 -3
- package/esm2015/lowcodeunit-applications-flow-common.js +2 -1
- package/fesm2015/lowcodeunit-applications-flow-common.js +42 -22
- package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
- package/lib/applications-flow.module.d.ts.map +1 -1
- package/lib/elements/project-info-card/project-info-card.component.d.ts +7 -0
- package/lib/elements/project-info-card/project-info-card.component.d.ts.map +1 -0
- package/lib/elements/projects/controls/tabs/apps-flow/apps-flow.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
|
@@ -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 =
|
|
3029
|
+
this.redirectTooltip = '301 – Permanent and Not Preserve';
|
|
3030
3030
|
}
|
|
3031
3031
|
else if (permanentValue === false && preserveValue === false) {
|
|
3032
|
-
this.redirectTooltip =
|
|
3032
|
+
this.redirectTooltip = '302 – Not Permanent and Not Preserve';
|
|
3033
3033
|
}
|
|
3034
3034
|
else if (permanentValue === false && preserveValue === true) {
|
|
3035
|
-
this.redirectTooltip =
|
|
3035
|
+
this.redirectTooltip = '307 – Not Permanent and Preserve';
|
|
3036
3036
|
}
|
|
3037
3037
|
else if (permanentValue === true && preserveValue === true) {
|
|
3038
|
-
this.redirectTooltip =
|
|
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
|
|
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: (
|
|
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(
|
|
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
|
-
|
|
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;
|
|
@@ -4699,8 +4699,8 @@
|
|
|
4699
4699
|
SlottedCardComponent.decorators = [
|
|
4700
4700
|
{ type: i0.Component, args: [{
|
|
4701
4701
|
selector: 'lcu-slotted-card',
|
|
4702
|
-
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",
|
|
4703
|
-
styles: [".col-info-card{background-color:#fff;margin:20px;padding:0}.card-title{font-size:
|
|
4702
|
+
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",
|
|
4703
|
+
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%}"]
|
|
4704
4704
|
},] }
|
|
4705
4705
|
];
|
|
4706
4706
|
SlottedCardComponent.ctorParameters = function () { return []; };
|
|
@@ -4713,6 +4713,25 @@
|
|
|
4713
4713
|
MainActionClicked: [{ type: i0.Output, args: ['main-action-clicked',] }]
|
|
4714
4714
|
};
|
|
4715
4715
|
|
|
4716
|
+
var ProjectInfoCardComponent = /** @class */ (function () {
|
|
4717
|
+
function ProjectInfoCardComponent() {
|
|
4718
|
+
}
|
|
4719
|
+
ProjectInfoCardComponent.prototype.ngOnInit = function () {
|
|
4720
|
+
};
|
|
4721
|
+
return ProjectInfoCardComponent;
|
|
4722
|
+
}());
|
|
4723
|
+
ProjectInfoCardComponent.decorators = [
|
|
4724
|
+
{ type: i0.Component, args: [{
|
|
4725
|
+
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%}"]
|
|
4728
|
+
},] }
|
|
4729
|
+
];
|
|
4730
|
+
ProjectInfoCardComponent.ctorParameters = function () { return []; };
|
|
4731
|
+
ProjectInfoCardComponent.propDecorators = {
|
|
4732
|
+
Project: [{ type: i0.Input, args: ['project',] }]
|
|
4733
|
+
};
|
|
4734
|
+
|
|
4716
4735
|
var ApplicationsFlowModule = /** @class */ (function () {
|
|
4717
4736
|
function ApplicationsFlowModule() {
|
|
4718
4737
|
}
|
|
@@ -4758,7 +4777,8 @@
|
|
|
4758
4777
|
NpmPackageSelectComponent,
|
|
4759
4778
|
ThreeColumnComponent,
|
|
4760
4779
|
ColumnInfoCardComponent,
|
|
4761
|
-
SlottedCardComponent
|
|
4780
|
+
SlottedCardComponent,
|
|
4781
|
+
ProjectInfoCardComponent
|
|
4762
4782
|
],
|
|
4763
4783
|
imports: [
|
|
4764
4784
|
i2.FathymSharedModule,
|
|
@@ -4793,7 +4813,8 @@
|
|
|
4793
4813
|
NpmPackageSelectComponent,
|
|
4794
4814
|
ThreeColumnComponent,
|
|
4795
4815
|
ColumnInfoCardComponent,
|
|
4796
|
-
SlottedCardComponent
|
|
4816
|
+
SlottedCardComponent,
|
|
4817
|
+
ProjectInfoCardComponent
|
|
4797
4818
|
],
|
|
4798
4819
|
entryComponents: [
|
|
4799
4820
|
ApplicationsFlowProjectsElementComponent,
|
|
@@ -4818,7 +4839,8 @@
|
|
|
4818
4839
|
NpmPackageSelectComponent,
|
|
4819
4840
|
ThreeColumnComponent,
|
|
4820
4841
|
ColumnInfoCardComponent,
|
|
4821
|
-
SlottedCardComponent
|
|
4842
|
+
SlottedCardComponent,
|
|
4843
|
+
ProjectInfoCardComponent
|
|
4822
4844
|
],
|
|
4823
4845
|
},] }
|
|
4824
4846
|
];
|
|
@@ -4920,6 +4942,7 @@
|
|
|
4920
4942
|
exports.ɵp = NpmPackageSelectComponent;
|
|
4921
4943
|
exports.ɵq = ColumnInfoCardComponent;
|
|
4922
4944
|
exports.ɵr = SlottedCardComponent;
|
|
4945
|
+
exports.ɵs = ProjectInfoCardComponent;
|
|
4923
4946
|
|
|
4924
4947
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4925
4948
|
|