ng-inail-common 1.0.387 → 1.0.388
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/ng-inail-common.umd.js +31 -0
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/ux/paged-table/paged-table.component.js +31 -1
- package/esm2015/lib/components/ux/paged-table-renderer/paged-table-renderer.component.js +9 -1
- package/esm5/lib/components/ux/paged-table/paged-table.component.js +35 -1
- package/esm5/lib/components/ux/paged-table-renderer/paged-table-renderer.component.js +13 -1
- package/fesm2015/ng-inail-common.js +28 -0
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/fesm5/ng-inail-common.js +33 -1
- package/fesm5/ng-inail-common.js.map +1 -1
- package/lib/components/ux/paged-table/paged-table.component.d.ts +2 -0
- package/lib/components/ux/paged-table-renderer/paged-table-renderer.component.d.ts +4 -0
- package/ng-inail-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8739,6 +8739,10 @@
|
|
|
8739
8739
|
this.pagedTableRendererComponent.setSortDirection(thLabel, ( /** @type {?} */(this.paginationInfo.sortDirection)));
|
|
8740
8740
|
}
|
|
8741
8741
|
}
|
|
8742
|
+
// In caso di paginazione interna se specificato un ordinamento iniziale
|
|
8743
|
+
if (!this.paginationInfo && this.initialSort) {
|
|
8744
|
+
this.impostaOrdinamentoIniziale();
|
|
8745
|
+
}
|
|
8742
8746
|
};
|
|
8743
8747
|
/**
|
|
8744
8748
|
* @return {?}
|
|
@@ -8788,6 +8792,32 @@
|
|
|
8788
8792
|
this.pagedTableRendererComponent.setSortDirection(thLabel, ( /** @type {?} */(this.paginationInfo.sortDirection)));
|
|
8789
8793
|
}
|
|
8790
8794
|
}
|
|
8795
|
+
// In caso di paginazione interna se specificato un ordinamento iniziale
|
|
8796
|
+
if (!this.paginationInfo && this.initialSort) {
|
|
8797
|
+
this.impostaOrdinamentoIniziale();
|
|
8798
|
+
}
|
|
8799
|
+
};
|
|
8800
|
+
/**
|
|
8801
|
+
* @return {?}
|
|
8802
|
+
*/
|
|
8803
|
+
PagedTableComponent.prototype.impostaOrdinamentoIniziale = /**
|
|
8804
|
+
* @return {?}
|
|
8805
|
+
*/
|
|
8806
|
+
function () {
|
|
8807
|
+
var _this = this;
|
|
8808
|
+
if (this.thLabelComponents) {
|
|
8809
|
+
this.thLabelComponents.forEach(( /**
|
|
8810
|
+
* @param {?} thLabel
|
|
8811
|
+
* @return {?}
|
|
8812
|
+
*/function (thLabel) {
|
|
8813
|
+
if (thLabel.property == _this.initialSort.sortProperty) {
|
|
8814
|
+
_this.pagedTableRendererComponent.setSortDirection(thLabel, ( /** @type {?} */(_this.initialSort.sortDirection)));
|
|
8815
|
+
}
|
|
8816
|
+
else {
|
|
8817
|
+
_this.pagedTableRendererComponent.setSortDirection(thLabel, undefined);
|
|
8818
|
+
}
|
|
8819
|
+
}));
|
|
8820
|
+
}
|
|
8791
8821
|
};
|
|
8792
8822
|
/**
|
|
8793
8823
|
* @param {?} list
|
|
@@ -8829,6 +8859,7 @@
|
|
|
8829
8859
|
elements: [{ type: i0.Input }],
|
|
8830
8860
|
subset: [{ type: i0.Input }],
|
|
8831
8861
|
subsetChange: [{ type: i0.Output }],
|
|
8862
|
+
initialSort: [{ type: i0.Input }],
|
|
8832
8863
|
paginationInfo: [{ type: i0.Input }],
|
|
8833
8864
|
doPagination: [{ type: i0.Input }],
|
|
8834
8865
|
pageSize: [{ type: i0.Input }],
|