@lowcodeunit/applications-flow-common 1.33.150-lets-get-social-ish → 1.33.153-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 +94 -49
- 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/lcu.api.js +12 -1
- package/esm2015/lib/controls/build-pipeline-form/build-pipeline-form.component.js +8 -11
- package/esm2015/lib/elements/breadcrumb/breadcrumb.component.js +3 -5
- package/esm2015/lib/elements/projects/projects.component.js +1 -8
- package/esm2015/lib/elements/slotted-card/slotted-card.component.js +2 -2
- package/esm2015/lib/models/user-feed.model.js +12 -0
- package/esm2015/lib/services/eac.service.js +6 -1
- package/esm2015/lib/services/project.service.js +23 -1
- package/esm2015/lib/state/applications-flow.state.js +1 -1
- package/esm2015/lowcodeunit-applications-flow-common.js +2 -12
- package/fesm2015/lowcodeunit-applications-flow-common.js +47 -21
- package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
- package/lcu.api.d.ts +11 -0
- package/lcu.api.d.ts.map +1 -1
- package/lib/controls/build-pipeline-form/build-pipeline-form.component.d.ts.map +1 -1
- package/lib/elements/breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/lib/elements/projects/projects.component.d.ts.map +1 -1
- package/lib/models/user-feed.model.d.ts +42 -0
- package/lib/models/user-feed.model.d.ts.map +1 -0
- package/lib/services/eac.service.d.ts +1 -0
- package/lib/services/eac.service.d.ts.map +1 -1
- package/lib/services/project.service.d.ts +2 -0
- package/lib/services/project.service.d.ts.map +1 -1
- package/lib/state/applications-flow.state.d.ts +3 -0
- package/lib/state/applications-flow.state.d.ts.map +1 -1
- package/lowcodeunit-applications-flow-common.d.ts +1 -11
- package/lowcodeunit-applications-flow-common.d.ts.map +1 -1
- package/lowcodeunit-applications-flow-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1030,6 +1030,34 @@
|
|
|
1030
1030
|
});
|
|
1031
1031
|
});
|
|
1032
1032
|
};
|
|
1033
|
+
ProjectService.prototype.UserFeed = function (page, pageSize, state) {
|
|
1034
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1035
|
+
var _this = this;
|
|
1036
|
+
return __generator(this, function (_b) {
|
|
1037
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1038
|
+
state.Loading = true;
|
|
1039
|
+
_this.appsFlowSvc.UserFeed(page, pageSize).subscribe(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
1040
|
+
return __generator(this, function (_b) {
|
|
1041
|
+
state.Loading = false;
|
|
1042
|
+
if (response.Status.Code === 0) {
|
|
1043
|
+
state.Feed = response.Items;
|
|
1044
|
+
resolve(response.Items);
|
|
1045
|
+
}
|
|
1046
|
+
else {
|
|
1047
|
+
reject(response.Status);
|
|
1048
|
+
console.log(response);
|
|
1049
|
+
}
|
|
1050
|
+
return [2 /*return*/];
|
|
1051
|
+
});
|
|
1052
|
+
}); }, function (err) {
|
|
1053
|
+
state.Loading = false;
|
|
1054
|
+
reject(err);
|
|
1055
|
+
console.log(err);
|
|
1056
|
+
});
|
|
1057
|
+
})];
|
|
1058
|
+
});
|
|
1059
|
+
});
|
|
1060
|
+
};
|
|
1033
1061
|
return ProjectService;
|
|
1034
1062
|
}());
|
|
1035
1063
|
ProjectService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProjectService_Factory() { return new ProjectService(i0.ɵɵinject(ApplicationsFlowService)); }, token: ProjectService, providedIn: "root" });
|
|
@@ -1446,6 +1474,18 @@
|
|
|
1446
1474
|
});
|
|
1447
1475
|
});
|
|
1448
1476
|
};
|
|
1477
|
+
EaCService.prototype.UserFeed = function (page, pageSize) {
|
|
1478
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1479
|
+
return __generator(this, function (_c) {
|
|
1480
|
+
switch (_c.label) {
|
|
1481
|
+
case 0: return [4 /*yield*/, this.projectService.UserFeed(page, pageSize, this.State)];
|
|
1482
|
+
case 1:
|
|
1483
|
+
_c.sent();
|
|
1484
|
+
return [2 /*return*/];
|
|
1485
|
+
}
|
|
1486
|
+
});
|
|
1487
|
+
});
|
|
1488
|
+
};
|
|
1449
1489
|
// Helpers
|
|
1450
1490
|
EaCService.prototype.handleSaveApplication = function (req) {
|
|
1451
1491
|
var _a;
|
|
@@ -1687,28 +1727,10 @@
|
|
|
1687
1727
|
};
|
|
1688
1728
|
// Helpers
|
|
1689
1729
|
ApplicationsFlowProjectsElementComponent.prototype.handleStateChange = function () {
|
|
1690
|
-
var _a;
|
|
1691
1730
|
return __awaiter(this, void 0, void 0, function () {
|
|
1692
1731
|
return __generator(this, function (_e) {
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
this.State.Loading = true;
|
|
1696
|
-
return [4 /*yield*/, this.eacSvc.HasValidConnection()];
|
|
1697
|
-
case 1:
|
|
1698
|
-
_e.sent();
|
|
1699
|
-
return [4 /*yield*/, this.eacSvc.EnsureUserEnterprise()];
|
|
1700
|
-
case 2:
|
|
1701
|
-
_e.sent();
|
|
1702
|
-
return [4 /*yield*/, this.eacSvc.ListEnterprises()];
|
|
1703
|
-
case 3:
|
|
1704
|
-
_e.sent();
|
|
1705
|
-
if (!(((_a = this.State.Enterprises) === null || _a === void 0 ? void 0 : _a.length) > 0)) return [3 /*break*/, 5];
|
|
1706
|
-
return [4 /*yield*/, this.eacSvc.GetActiveEnterprise()];
|
|
1707
|
-
case 4:
|
|
1708
|
-
_e.sent();
|
|
1709
|
-
_e.label = 5;
|
|
1710
|
-
case 5: return [2 /*return*/];
|
|
1711
|
-
}
|
|
1732
|
+
this.State.Loading = true;
|
|
1733
|
+
return [2 /*return*/];
|
|
1712
1734
|
});
|
|
1713
1735
|
});
|
|
1714
1736
|
};
|
|
@@ -4737,7 +4759,7 @@
|
|
|
4737
4759
|
SlottedCardComponent.decorators = [
|
|
4738
4760
|
{ type: i0.Component, args: [{
|
|
4739
4761
|
selector: 'lcu-slotted-card',
|
|
4740
|
-
template: "<mat-card class=\"col-info-card\">\n <mat-card-header class=\"slotted-card-header\" fxLayoutAlign=\"start center\">\n
|
|
4762
|
+
template: "<mat-card class=\"col-info-card\">\n <mat-card-header class=\"slotted-card-header\" fxLayoutAlign=\"start center\">\n <!-- How are these two getting switched?? -->\n <mat-icon mat-card-avatar class=\"header-icon\">{{ Icon }}</mat-icon>\n <mat-card-title class=\"card-title\">{{ Title }}</mat-card-title>\n </mat-card-header>\n <lcu-loader [loading]=\"Loading\"></lcu-loader>\n\n <ng-container *ngIf=\"!Loading\">\n <mat-card-content>\n <div class=\"slot-main-container\">\n <div class=\"header-description\">{{ MainSlotDescription }}</div>\n\n <div class=\"slot-main\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <div *ngIf=\"SecondarySlotDescription\" class=\"slot-secondary-container\">\n <div class=\"header-description\">{{ SecondarySlotDescription }}</div>\n\n <div class=\"slot-secondary\">\n <ng-content select=\"[secondary]\"></ng-content>\n </div>\n </div>\n </mat-card-content>\n\n <mat-card-actions *ngIf=\"ActionText\" fxLayoutAlign=\"center\">\n <a\n mat-button\n *ngIf=\"ActionPath\"\n class=\"slotted-card-action-btn\"\n [href]=\"ActionPath\"\n color=\"primary\"\n >{{ ActionText }}\n </a>\n\n <a\n mat-button\n *ngIf=\"!ActionPath\"\n class=\"slotted-card-action-btn\"\n (click)=\"MainActionClickEvent()\"\n color=\"primary\"\n >\n {{ ActionText }}\n </a>\n </mat-card-actions>\n </ng-container>\n</mat-card>\n",
|
|
4741
4763
|
styles: [".col-info-card{margin:20px;padding:0}.slotted-card-header{padding:5px}.header-icon{font-size:30px;height:30px;width:30px}.card-title{font-size:25px;margin-bottom:0!important}.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{width:100%}"]
|
|
4742
4764
|
},] }
|
|
4743
4765
|
];
|
|
@@ -5706,8 +5728,7 @@
|
|
|
5706
5728
|
var artifact = Object.assign(Object.assign({}, this.Artifact), this.SelectedHostingOptionInputControlValues);
|
|
5707
5729
|
if (!this.ArtifactLookup) {
|
|
5708
5730
|
artifactLookup = i2.Guid.CreateRaw();
|
|
5709
|
-
artifact = Object.assign(Object.assign({}, artifact), { Type: this.SelectedHostingOption
|
|
5710
|
-
.ArtifactType, Name: this.SelectedHostingOption.Name, NPMRegistry: 'https://registry.npmjs.org/' });
|
|
5731
|
+
artifact = Object.assign(Object.assign({}, artifact), { Type: this.SelectedHostingOption.ArtifactType, Name: this.SelectedHostingOption.Name, NPMRegistry: 'https://registry.npmjs.org/' });
|
|
5711
5732
|
}
|
|
5712
5733
|
else {
|
|
5713
5734
|
artifactLookup = this.ArtifactLookup;
|
|
@@ -5783,9 +5804,7 @@
|
|
|
5783
5804
|
BuildPipelineFormComponent.prototype.loadProjectHostingDetails = function () {
|
|
5784
5805
|
var _this = this;
|
|
5785
5806
|
this.HostingDetails.Loading = true;
|
|
5786
|
-
this.appsFlowSvc
|
|
5787
|
-
.NewLoadProjectHostingDetails()
|
|
5788
|
-
.subscribe(function (response) {
|
|
5807
|
+
this.appsFlowSvc.NewLoadProjectHostingDetails().subscribe(function (response) {
|
|
5789
5808
|
var _a, _b;
|
|
5790
5809
|
_this.HostingDetails = response.Model;
|
|
5791
5810
|
// console.log("response: ", response);
|
|
@@ -5795,10 +5814,10 @@
|
|
|
5795
5814
|
// console.log("Build Pipeline HERE= ", this.BuildPipeline);
|
|
5796
5815
|
_this.setupControlsForForm();
|
|
5797
5816
|
}, function (err) {
|
|
5798
|
-
console.log(
|
|
5817
|
+
console.log('ERR: ', err);
|
|
5799
5818
|
_this.HostingDetails.Loading = false;
|
|
5800
5819
|
});
|
|
5801
|
-
console.log(
|
|
5820
|
+
console.log('HOSTING DETAILS: ', this.HostingDetails);
|
|
5802
5821
|
};
|
|
5803
5822
|
return BuildPipelineFormComponent;
|
|
5804
5823
|
}());
|
|
@@ -6539,20 +6558,13 @@
|
|
|
6539
6558
|
});
|
|
6540
6559
|
BreadcrumbComponent.prototype.ngOnInit = function () {
|
|
6541
6560
|
this.handleStateChange().then(function (eac) { });
|
|
6542
|
-
console.log(
|
|
6543
|
-
console.log(
|
|
6561
|
+
console.log('Selected project: ', this.SelectedProject.Project);
|
|
6562
|
+
console.log('SelectedRoute:', this.SelectedRoute);
|
|
6544
6563
|
};
|
|
6545
6564
|
BreadcrumbComponent.prototype.handleStateChange = function () {
|
|
6546
6565
|
return __awaiter(this, void 0, void 0, function () {
|
|
6547
6566
|
return __generator(this, function (_c) {
|
|
6548
|
-
|
|
6549
|
-
case 0:
|
|
6550
|
-
this.State.Loading = true;
|
|
6551
|
-
return [4 /*yield*/, this.eacSvc.EnsureUserEnterprise()];
|
|
6552
|
-
case 1:
|
|
6553
|
-
_c.sent();
|
|
6554
|
-
return [2 /*return*/];
|
|
6555
|
-
}
|
|
6567
|
+
return [2 /*return*/];
|
|
6556
6568
|
});
|
|
6557
6569
|
});
|
|
6558
6570
|
};
|
|
@@ -6805,6 +6817,34 @@
|
|
|
6805
6817
|
return ProjectActionsModel;
|
|
6806
6818
|
}());
|
|
6807
6819
|
|
|
6820
|
+
var UserFeedResponse = /** @class */ (function (_super) {
|
|
6821
|
+
__extends(UserFeedResponse, _super);
|
|
6822
|
+
function UserFeedResponse() {
|
|
6823
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6824
|
+
}
|
|
6825
|
+
return UserFeedResponse;
|
|
6826
|
+
}(i2.BaseResponse));
|
|
6827
|
+
var FeedItem = /** @class */ (function () {
|
|
6828
|
+
function FeedItem() {
|
|
6829
|
+
}
|
|
6830
|
+
return FeedItem;
|
|
6831
|
+
}());
|
|
6832
|
+
var FeedItemContributor = /** @class */ (function () {
|
|
6833
|
+
function FeedItemContributor() {
|
|
6834
|
+
}
|
|
6835
|
+
return FeedItemContributor;
|
|
6836
|
+
}());
|
|
6837
|
+
var FeedItemAction = /** @class */ (function () {
|
|
6838
|
+
function FeedItemAction() {
|
|
6839
|
+
}
|
|
6840
|
+
return FeedItemAction;
|
|
6841
|
+
}());
|
|
6842
|
+
var FeedItemTab = /** @class */ (function () {
|
|
6843
|
+
function FeedItemTab() {
|
|
6844
|
+
}
|
|
6845
|
+
return FeedItemTab;
|
|
6846
|
+
}());
|
|
6847
|
+
|
|
6808
6848
|
var ActionsModel = /** @class */ (function () {
|
|
6809
6849
|
function ActionsModel() {
|
|
6810
6850
|
}
|
|
@@ -6849,12 +6889,22 @@
|
|
|
6849
6889
|
exports.ApplicationsFlowState = ApplicationsFlowState;
|
|
6850
6890
|
exports.ApplicationsFlowStateContext = ApplicationsFlowStateContext;
|
|
6851
6891
|
exports.BaseFormConfigModel = BaseFormConfigModel;
|
|
6892
|
+
exports.BuildPipelineDialogComponent = BuildPipelineDialogComponent;
|
|
6893
|
+
exports.BuildPipelineFormComponent = BuildPipelineFormComponent;
|
|
6852
6894
|
exports.CardFormConfigModel = CardFormConfigModel;
|
|
6853
6895
|
exports.CreateProjectWizardComponent = CreateProjectWizardComponent;
|
|
6896
|
+
exports.CustomDomainDialogComponent = CustomDomainDialogComponent;
|
|
6854
6897
|
exports.DevSettingsPresetModel = DevSettingsPresetModel;
|
|
6898
|
+
exports.DevopsSourceControlFormComponent = DevopsSourceControlFormComponent;
|
|
6855
6899
|
exports.DomainModel = DomainModel;
|
|
6856
6900
|
exports.DynamicTabsModel = DynamicTabsModel;
|
|
6857
6901
|
exports.EaCService = EaCService;
|
|
6902
|
+
exports.EditApplicationDialogComponent = EditApplicationDialogComponent;
|
|
6903
|
+
exports.EditApplicationFormComponent = EditApplicationFormComponent;
|
|
6904
|
+
exports.FeedItem = FeedItem;
|
|
6905
|
+
exports.FeedItemAction = FeedItemAction;
|
|
6906
|
+
exports.FeedItemContributor = FeedItemContributor;
|
|
6907
|
+
exports.FeedItemTab = FeedItemTab;
|
|
6858
6908
|
exports.FormActionsModel = FormActionsModel;
|
|
6859
6909
|
exports.FormModel = FormModel;
|
|
6860
6910
|
exports.FormValuesModel = FormValuesModel;
|
|
@@ -6867,6 +6917,7 @@
|
|
|
6867
6917
|
exports.GitHubWorkflowRun = GitHubWorkflowRun;
|
|
6868
6918
|
exports.HostingDetailsFormGroupComponent = HostingDetailsFormGroupComponent;
|
|
6869
6919
|
exports.NPMService = NPMService;
|
|
6920
|
+
exports.ProcessorDetailsFormComponent = ProcessorDetailsFormComponent;
|
|
6870
6921
|
exports.ProjectActionsModel = ProjectActionsModel;
|
|
6871
6922
|
exports.ProjectHostingDetails = ProjectHostingDetails;
|
|
6872
6923
|
exports.ProjectHostingOption = ProjectHostingOption;
|
|
@@ -6879,19 +6930,15 @@
|
|
|
6879
6930
|
exports.SaveDFSModifierEventRequest = SaveDFSModifierEventRequest;
|
|
6880
6931
|
exports.SaveEnvironmentAsCodeEventRequest = SaveEnvironmentAsCodeEventRequest;
|
|
6881
6932
|
exports.SaveProjectAsCodeEventRequest = SaveProjectAsCodeEventRequest;
|
|
6933
|
+
exports.SecurityToggleComponent = SecurityToggleComponent;
|
|
6934
|
+
exports.SourceControlDialogComponent = SourceControlDialogComponent;
|
|
6935
|
+
exports.SourceControlFormComponent = SourceControlFormComponent;
|
|
6882
6936
|
exports.SourceControlFormControlsComponent = SourceControlFormControlsComponent;
|
|
6883
6937
|
exports.ThreeColumnComponent = ThreeColumnComponent;
|
|
6884
6938
|
exports.UnpackLowCodeUnitRequest = UnpackLowCodeUnitRequest;
|
|
6939
|
+
exports.UserFeedResponse = UserFeedResponse;
|
|
6885
6940
|
exports.ɵa = DynamicTabsComponent;
|
|
6886
6941
|
exports.ɵb = HeaderComponent;
|
|
6887
|
-
exports.ɵba = BuildPipelineFormComponent;
|
|
6888
|
-
exports.ɵbb = DevopsSourceControlFormComponent;
|
|
6889
|
-
exports.ɵbc = SourceControlDialogComponent;
|
|
6890
|
-
exports.ɵbd = BuildPipelineDialogComponent;
|
|
6891
|
-
exports.ɵbe = EditApplicationFormComponent;
|
|
6892
|
-
exports.ɵbf = BreadcrumbComponent;
|
|
6893
|
-
exports.ɵbg = CustomDomainDialogComponent;
|
|
6894
|
-
exports.ɵbh = EditApplicationDialogComponent;
|
|
6895
6942
|
exports.ɵc = ProjectTabsComponent;
|
|
6896
6943
|
exports.ɵd = GeneralComponent;
|
|
6897
6944
|
exports.ɵe = DomainsComponent;
|
|
@@ -6913,9 +6960,7 @@
|
|
|
6913
6960
|
exports.ɵu = MainFeedCardComponent;
|
|
6914
6961
|
exports.ɵv = TwoColumnHeaderComponent;
|
|
6915
6962
|
exports.ɵw = CardCarouselComponent;
|
|
6916
|
-
exports.ɵx =
|
|
6917
|
-
exports.ɵy = ProcessorDetailsFormComponent;
|
|
6918
|
-
exports.ɵz = SourceControlFormComponent;
|
|
6963
|
+
exports.ɵx = BreadcrumbComponent;
|
|
6919
6964
|
|
|
6920
6965
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6921
6966
|
|