@pepperi-addons/ngx-lib 0.2.55 → 0.2.56
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/pepperi-addons-ngx-lib-list.umd.js +4 -2
- package/bundles/pepperi-addons-ngx-lib-list.umd.js.map +1 -1
- package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js +1 -1
- package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
- package/esm2015/core/common/services/translate.service.js +1 -1
- package/esm2015/list/list-total.component.js +5 -3
- package/esm2015/top-bar/top-bar.component.js +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-list.js +4 -2
- package/fesm2015/pepperi-addons-ngx-lib-list.js.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.js +1 -1
- package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
- package/list/list-total.component.d.ts +2 -0
- package/list/pepperi-addons-ngx-lib-list.metadata.json +1 -1
- package/package.json +4 -4
- package/pepperi-addons-ngx-lib.metadata.json +1 -1
- package/top-bar/pepperi-addons-ngx-lib-top-bar.metadata.json +1 -1
|
@@ -3026,13 +3026,14 @@
|
|
|
3026
3026
|
this.totalRows = -1;
|
|
3027
3027
|
this.totalAmount = -1;
|
|
3028
3028
|
this.isMapView = false;
|
|
3029
|
+
this.sizeType = 'md';
|
|
3029
3030
|
}
|
|
3030
3031
|
return PepListTotalComponent;
|
|
3031
3032
|
}());
|
|
3032
3033
|
PepListTotalComponent.decorators = [
|
|
3033
3034
|
{ type: core.Component, args: [{
|
|
3034
3035
|
selector: 'pep-list-total',
|
|
3035
|
-
template: "<div class=\"total-items-container\">\n <ng-container *ngIf=\"isMapView; then mapTemplate; else notMapTemplate\"></ng-container>\n\n <ng-template #notMapTemplate>\n <ng-container *ngIf=\"totalRows >= 0\">\n <div class=\"body-
|
|
3036
|
+
template: "<div class=\"total-items-container\">\n <ng-container *ngIf=\"isMapView; then mapTemplate; else notMapTemplate\"></ng-container>\n\n <ng-template #notMapTemplate>\n <ng-container *ngIf=\"totalRows >= 0\">\n <div class=\"body-{{sizeType}} total-items\"\n [innerHtml]=\"(totalRows === 1 ? 'LIST.TOTAL_RESULT' : 'LIST.TOTAL_RESULTS') | translate: { totalRows: totalRows }\">\n </div>\n </ng-container>\n <ng-container *ngIf=\"totalAmount > 0\"> {{ 'LIST.TOTAL_OF' | translate }} {{ totalAmount }} </ng-container>\n </ng-template>\n\n <ng-template #mapTemplate>\n <ng-container *ngIf=\"totalAmount >= 0\">\n </ng-container>\n <ng-container *ngIf=\"totalRows >= 0\">\n <div class=\"body-{{sizeType}} total-items\"\n [innerHtml]=\"(totalRows === 1 ? 'LIST.TOTAL_RESULT_OUT_OF_RESULT' : 'LIST.TOTAL_RESULTS_OUT_OF') | translate: { xRows: totalAmount, totalRows: totalRows }\">\n </div>\n </ng-container>\n </ng-template>\n</div>",
|
|
3036
3037
|
styles: [".total-items-container{height:calc(.5rem + 2.5rem);height:calc(var(--pep-top-bar-spacing-bottom, .5rem) + var(--pep-top-bar-field-height, 2.5rem));display:flex;align-items:center}"]
|
|
3037
3038
|
},] },
|
|
3038
3039
|
{ type: core.Injectable }
|
|
@@ -3040,7 +3041,8 @@
|
|
|
3040
3041
|
PepListTotalComponent.propDecorators = {
|
|
3041
3042
|
totalRows: [{ type: core.Input }],
|
|
3042
3043
|
totalAmount: [{ type: core.Input }],
|
|
3043
|
-
isMapView: [{ type: core.Input }]
|
|
3044
|
+
isMapView: [{ type: core.Input }],
|
|
3045
|
+
sizeType: [{ type: core.Input }]
|
|
3044
3046
|
};
|
|
3045
3047
|
|
|
3046
3048
|
var IPepListView = /** @class */ (function () {
|