@lowcodeunit/applications-flow-common 1.33.63-lets-get-social-ish → 1.33.67-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 +75 -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/card-carousel/card-carousel.component.js +67 -0
- package/esm2015/lib/elements/three-column/three-column.component.js +2 -2
- package/esm2015/lowcodeunit-applications-flow-common.js +2 -1
- package/fesm2015/lowcodeunit-applications-flow-common.js +74 -5
- package/fesm2015/lowcodeunit-applications-flow-common.js.map +1 -1
- package/lib/applications-flow.module.d.ts.map +1 -1
- package/lib/elements/card-carousel/card-carousel.component.d.ts +14 -0
- package/lib/elements/card-carousel/card-carousel.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
|
@@ -4663,7 +4663,7 @@
|
|
|
4663
4663
|
ThreeColumnComponent.decorators = [
|
|
4664
4664
|
{ type: i0.Component, args: [{
|
|
4665
4665
|
selector: 'lcu-three-column',
|
|
4666
|
-
template: "\n<div class=\"col-container\" fxLayout=\"row\" fxLayout.lt-md=\"column\">\n\n\n <div class=\"col-left\" \n
|
|
4666
|
+
template: "\n<div class=\"col-container\" fxLayout=\"row\" fxLayout.lt-md=\"column\">\n\n\n <div class=\"col-left\" \n fxFlex=\"25%\">\n\n <ng-content select=\"[left]\"></ng-content>\n\n </div>\n\n \n\n\n <div class=\"col-center\" \n fxFlex=\"50%\" \n fxFlexOrder.lt-md=\"3\">\n\n <ng-content></ng-content>\n\n </div>\n\n <div class=\"col-right\" \n fxFlex=\"25%\" \n fxFlexOrder.lt-md=\"2\">\n\n <ng-content select=\"[right]\"></ng-content>\n\n </div>\n \n \n\n</div>\n",
|
|
4667
4667
|
styles: [".col-container,.col-container-sm{background-color:#ebecf0;height:100%}.col-container-sm{display:none}@media only screen and (max-width:850px){.col-container{display:none}.col-container-sm{display:block}}"]
|
|
4668
4668
|
},] }
|
|
4669
4669
|
];
|
|
@@ -4928,6 +4928,73 @@
|
|
|
4928
4928
|
];
|
|
4929
4929
|
TwoColumnHeaderComponent.ctorParameters = function () { return []; };
|
|
4930
4930
|
|
|
4931
|
+
var CardCarouselComponent = /** @class */ (function () {
|
|
4932
|
+
function CardCarouselComponent() {
|
|
4933
|
+
this.carouselIndex = 0;
|
|
4934
|
+
}
|
|
4935
|
+
CardCarouselComponent.prototype.ngOnInit = function () {
|
|
4936
|
+
};
|
|
4937
|
+
CardCarouselComponent.prototype.ngAfterViewInit = function () {
|
|
4938
|
+
this.assignCarouselClass();
|
|
4939
|
+
};
|
|
4940
|
+
CardCarouselComponent.prototype.LeftChevronClicked = function () {
|
|
4941
|
+
this.removeCarouselClasses();
|
|
4942
|
+
if (this.carouselIndex === 0) {
|
|
4943
|
+
this.carouselIndex = this.Stats.length - 1;
|
|
4944
|
+
}
|
|
4945
|
+
else {
|
|
4946
|
+
this.carouselIndex--;
|
|
4947
|
+
}
|
|
4948
|
+
this.assignCarouselClass();
|
|
4949
|
+
};
|
|
4950
|
+
CardCarouselComponent.prototype.MoreDetailsClicked = function () {
|
|
4951
|
+
console.log("More details clicked on carousel item", this.Stats[this.carouselIndex]);
|
|
4952
|
+
};
|
|
4953
|
+
CardCarouselComponent.prototype.RightChevronClicked = function () {
|
|
4954
|
+
this.removeCarouselClasses();
|
|
4955
|
+
if (this.carouselIndex === this.Stats.length - 1) {
|
|
4956
|
+
this.carouselIndex = 0;
|
|
4957
|
+
}
|
|
4958
|
+
else {
|
|
4959
|
+
this.carouselIndex++;
|
|
4960
|
+
}
|
|
4961
|
+
this.assignCarouselClass();
|
|
4962
|
+
};
|
|
4963
|
+
//HELPERS
|
|
4964
|
+
CardCarouselComponent.prototype.removeCarouselClasses = function () {
|
|
4965
|
+
for (var i = 0; i < this.Stats.length; i++) {
|
|
4966
|
+
if (i === this.carouselIndex) {
|
|
4967
|
+
document.getElementById("carousel-" + this.carouselIndex).classList.remove('active');
|
|
4968
|
+
}
|
|
4969
|
+
else {
|
|
4970
|
+
document.getElementById("carousel-" + i).classList.remove('hidden');
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4973
|
+
};
|
|
4974
|
+
CardCarouselComponent.prototype.assignCarouselClass = function () {
|
|
4975
|
+
for (var i = 0; i < this.Stats.length; i++) {
|
|
4976
|
+
if (i === this.carouselIndex) {
|
|
4977
|
+
document.getElementById("carousel-" + this.carouselIndex).classList.add('active');
|
|
4978
|
+
}
|
|
4979
|
+
else {
|
|
4980
|
+
document.getElementById("carousel-" + i).classList.add('hidden');
|
|
4981
|
+
}
|
|
4982
|
+
}
|
|
4983
|
+
};
|
|
4984
|
+
return CardCarouselComponent;
|
|
4985
|
+
}());
|
|
4986
|
+
CardCarouselComponent.decorators = [
|
|
4987
|
+
{ type: i0.Component, args: [{
|
|
4988
|
+
selector: 'lcu-card-carousel',
|
|
4989
|
+
template: "<div stats class=\"carousel-container\">\n <div class=\"chevron-container\" fxLayout=\"row\">\n <button mat-icon-button class=\"chevron-button\" id=\"left-chevron\" (click)=\"LeftChevronClicked()\">\n <mat-icon>chevron_left</mat-icon>\n </button>\n <button mat-icon-button class=\"chevron-button\" id=\"right-chevron\" (click)=\"RightChevronClicked()\">\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n <ng-container *ngFor=\"let stat of Stats; let i = index\">\n <div class=\"carousel-item\" [id]=\"'carousel-'+i\">\n <div class=\"carousel-title\">{{stat.Name}}</div>\n <div class=\"carousel-stat\">{{stat.Stat}}</div>\n </div>\n </ng-container>\n <div (click)=\"MoreDetailsClicked()\">More details</div>\n</div>\n",
|
|
4990
|
+
styles: [".carousel-container{height:75px;padding-top:20px;text-align:center}.carousel-item.hidden{display:none}.carousel-item.active{visibility:visible}.chevron-button{position:absolute}#right-chevron{right:5px}#left-chevron{left:5px}"]
|
|
4991
|
+
},] }
|
|
4992
|
+
];
|
|
4993
|
+
CardCarouselComponent.ctorParameters = function () { return []; };
|
|
4994
|
+
CardCarouselComponent.propDecorators = {
|
|
4995
|
+
Stats: [{ type: i0.Input, args: ['stats',] }]
|
|
4996
|
+
};
|
|
4997
|
+
|
|
4931
4998
|
var ApplicationsFlowModule = /** @class */ (function () {
|
|
4932
4999
|
function ApplicationsFlowModule() {
|
|
4933
5000
|
}
|
|
@@ -4979,7 +5046,8 @@
|
|
|
4979
5046
|
FeedCardSmComponent,
|
|
4980
5047
|
GhControlComponent,
|
|
4981
5048
|
MainFeedCardComponent,
|
|
4982
|
-
TwoColumnHeaderComponent
|
|
5049
|
+
TwoColumnHeaderComponent,
|
|
5050
|
+
CardCarouselComponent
|
|
4983
5051
|
],
|
|
4984
5052
|
imports: [
|
|
4985
5053
|
i2.FathymSharedModule,
|
|
@@ -5020,7 +5088,8 @@
|
|
|
5020
5088
|
FeedCardSmComponent,
|
|
5021
5089
|
GhControlComponent,
|
|
5022
5090
|
MainFeedCardComponent,
|
|
5023
|
-
TwoColumnHeaderComponent
|
|
5091
|
+
TwoColumnHeaderComponent,
|
|
5092
|
+
CardCarouselComponent
|
|
5024
5093
|
],
|
|
5025
5094
|
entryComponents: [
|
|
5026
5095
|
ApplicationsFlowProjectsElementComponent,
|
|
@@ -5051,7 +5120,8 @@
|
|
|
5051
5120
|
FeedCardSmComponent,
|
|
5052
5121
|
GhControlComponent,
|
|
5053
5122
|
MainFeedCardComponent,
|
|
5054
|
-
TwoColumnHeaderComponent
|
|
5123
|
+
TwoColumnHeaderComponent,
|
|
5124
|
+
CardCarouselComponent
|
|
5055
5125
|
],
|
|
5056
5126
|
},] }
|
|
5057
5127
|
];
|
|
@@ -5159,6 +5229,7 @@
|
|
|
5159
5229
|
exports.ɵv = GhControlComponent;
|
|
5160
5230
|
exports.ɵw = MainFeedCardComponent;
|
|
5161
5231
|
exports.ɵx = TwoColumnHeaderComponent;
|
|
5232
|
+
exports.ɵy = CardCarouselComponent;
|
|
5162
5233
|
|
|
5163
5234
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5164
5235
|
|