@lowcodeunit/applications-flow-common 1.33.41-lets-get-social-ish → 1.33.42-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 +53 -4
- 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/feed-card-sm/feed-card-sm.component.js +1 -1
- package/esm2015/lib/elements/gh-control/gh-control.component.js +45 -0
- package/esm2015/lowcodeunit-applications-flow-common.js +2 -1
- package/fesm2015/lowcodeunit-applications-flow-common.js +52 -5
- package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
- package/lib/applications-flow.module.d.ts.map +1 -1
- package/lib/elements/gh-control/gh-control.component.d.ts +15 -0
- package/lib/elements/gh-control/gh-control.component.d.ts.map +1 -0
- 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
|
@@ -4788,7 +4788,7 @@
|
|
|
4788
4788
|
{ type: i0.Component, args: [{
|
|
4789
4789
|
selector: 'lcu-feed-card-sm',
|
|
4790
4790
|
template: "<mat-card class=\"social-card\">\n <div class=\"feed-card-container\" fxLayout=\"row\">\n <mat-icon *ngIf=\"Icon\" [style.color]=\"IconColor\">{{Icon}}</mat-icon>\n <div class=\"feed-card-main-content\">\n <mat-card-title *ngIf=\"Title\">{{Title}}</mat-card-title>\n <div *ngIf=\"Subtext\">{{Subtext}}</div>\n <div *ngIf=\"Description\">{{Description}}</div>\n </div>\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"end\">\n <ng-content select=\"[actions]\"></ng-content>\n </mat-card-actions>\n </mat-card>\n",
|
|
4791
|
-
styles: ["@import url(../../../assets/styles/social-card.scss)
|
|
4791
|
+
styles: ["@import url(../../../assets/styles/social-card.scss);"]
|
|
4792
4792
|
},] }
|
|
4793
4793
|
];
|
|
4794
4794
|
FeedCardSmComponent.ctorParameters = function () { return []; };
|
|
@@ -4799,6 +4799,51 @@
|
|
|
4799
4799
|
Description: [{ type: i0.Input, args: ["description",] }]
|
|
4800
4800
|
};
|
|
4801
4801
|
|
|
4802
|
+
var GhControlComponent = /** @class */ (function () {
|
|
4803
|
+
function GhControlComponent() {
|
|
4804
|
+
this.InputLabel = "Create Pull Request";
|
|
4805
|
+
this.selectedBtn = "pr-btn";
|
|
4806
|
+
}
|
|
4807
|
+
GhControlComponent.prototype.ngOnInit = function () {
|
|
4808
|
+
};
|
|
4809
|
+
GhControlComponent.prototype.ngAfterViewInit = function () {
|
|
4810
|
+
this.addSelectBtn();
|
|
4811
|
+
};
|
|
4812
|
+
GhControlComponent.prototype.CreateFeatureBranch = function () {
|
|
4813
|
+
this.removeSelectedBtn();
|
|
4814
|
+
this.InputLabel = "Create Feature Branch";
|
|
4815
|
+
this.selectedBtn = "fb-btn";
|
|
4816
|
+
this.addSelectBtn();
|
|
4817
|
+
};
|
|
4818
|
+
GhControlComponent.prototype.OpenIssue = function () {
|
|
4819
|
+
this.removeSelectedBtn();
|
|
4820
|
+
this.InputLabel = "Open Issue";
|
|
4821
|
+
this.selectedBtn = "oi-btn";
|
|
4822
|
+
this.addSelectBtn();
|
|
4823
|
+
};
|
|
4824
|
+
GhControlComponent.prototype.CreatePullRequest = function () {
|
|
4825
|
+
this.removeSelectedBtn();
|
|
4826
|
+
this.InputLabel = "Create Pull Request";
|
|
4827
|
+
this.selectedBtn = "pr-btn";
|
|
4828
|
+
this.addSelectBtn();
|
|
4829
|
+
};
|
|
4830
|
+
GhControlComponent.prototype.addSelectBtn = function () {
|
|
4831
|
+
document.getElementById(this.selectedBtn).classList.add('selected');
|
|
4832
|
+
};
|
|
4833
|
+
GhControlComponent.prototype.removeSelectedBtn = function () {
|
|
4834
|
+
document.getElementById(this.selectedBtn).classList.remove('selected');
|
|
4835
|
+
};
|
|
4836
|
+
return GhControlComponent;
|
|
4837
|
+
}());
|
|
4838
|
+
GhControlComponent.decorators = [
|
|
4839
|
+
{ type: i0.Component, args: [{
|
|
4840
|
+
selector: 'lcu-gh-control',
|
|
4841
|
+
template: "<mat-card class=\"social-card\">\n <div class=\"gh-card-container\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <mat-icon fxFlex=\"20%\" class=\"gh-icon\">error_outline</mat-icon>\n <div fxFlex=\"80%\"class=\"gh-card-main-content\">\n <mat-form-field appearance=\"fill\" class=\"gh-input\">\n <mat-label>{{InputLabel}}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"value\">\n <!-- <button *ngIf=\"value\" matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"value=''\">\n <mat-icon>close</mat-icon>\n </button> -->\n </mat-form-field>\n </div>\n </div>\n\n <mat-card-actions fxLayout=\"row\" fxLayoutAlign=\"space-around center\">\n <button mat-button (click)=\"CreatePullRequest()\" id=\"pr-btn\">Pull Request</button>\n <button mat-button (click)=\"OpenIssue()\" id=\"oi-btn\">Open Issue</button>\n <button mat-button (click)=\"CreateFeatureBranch()\" id=\"fb-btn\">Feature Branch</button>\n <button mat-icon-button>\n <mat-icon>more_horiz</mat-icon>\n </button>\n </mat-card-actions>\n </mat-card>",
|
|
4842
|
+
styles: ["@import url(../../../assets/styles/social-card.scss);.gh-icon{font-size:60px;height:60px;text-align:center;width:60px}.gh-input{width:90%}.selected{border:1px solid green}::ng-deep .mat-form-field-flex{border:1px solid;border-radius:30px!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0!important}"]
|
|
4843
|
+
},] }
|
|
4844
|
+
];
|
|
4845
|
+
GhControlComponent.ctorParameters = function () { return []; };
|
|
4846
|
+
|
|
4802
4847
|
var ApplicationsFlowModule = /** @class */ (function () {
|
|
4803
4848
|
function ApplicationsFlowModule() {
|
|
4804
4849
|
}
|
|
@@ -4847,7 +4892,8 @@
|
|
|
4847
4892
|
SlottedCardComponent,
|
|
4848
4893
|
ProjectInfoCardComponent,
|
|
4849
4894
|
AnalyticsCardComponent,
|
|
4850
|
-
FeedCardSmComponent
|
|
4895
|
+
FeedCardSmComponent,
|
|
4896
|
+
GhControlComponent
|
|
4851
4897
|
],
|
|
4852
4898
|
imports: [
|
|
4853
4899
|
i2.FathymSharedModule,
|
|
@@ -4885,7 +4931,8 @@
|
|
|
4885
4931
|
SlottedCardComponent,
|
|
4886
4932
|
ProjectInfoCardComponent,
|
|
4887
4933
|
AnalyticsCardComponent,
|
|
4888
|
-
FeedCardSmComponent
|
|
4934
|
+
FeedCardSmComponent,
|
|
4935
|
+
GhControlComponent
|
|
4889
4936
|
],
|
|
4890
4937
|
entryComponents: [
|
|
4891
4938
|
ApplicationsFlowProjectsElementComponent,
|
|
@@ -4913,7 +4960,8 @@
|
|
|
4913
4960
|
SlottedCardComponent,
|
|
4914
4961
|
ProjectInfoCardComponent,
|
|
4915
4962
|
AnalyticsCardComponent,
|
|
4916
|
-
FeedCardSmComponent
|
|
4963
|
+
FeedCardSmComponent,
|
|
4964
|
+
GhControlComponent
|
|
4917
4965
|
],
|
|
4918
4966
|
},] }
|
|
4919
4967
|
];
|
|
@@ -5018,6 +5066,7 @@
|
|
|
5018
5066
|
exports.ɵs = ProjectInfoCardComponent;
|
|
5019
5067
|
exports.ɵt = AnalyticsCardComponent;
|
|
5020
5068
|
exports.ɵu = FeedCardSmComponent;
|
|
5069
|
+
exports.ɵv = GhControlComponent;
|
|
5021
5070
|
|
|
5022
5071
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5023
5072
|
|