@universis/ngx-tables 0.7.2 → 0.7.5
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/universis-ngx-tables.umd.js +19 -8
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +6 -2
- package/esm2015/lib/tables.module.js +2 -5
- package/esm2015/public_api.js +2 -1
- package/esm2015/universis-ngx-tables.js +3 -4
- package/esm5/lib/components/advanced-table/advanced-table.component.js +6 -2
- package/esm5/lib/tables.module.js +2 -5
- package/esm5/public_api.js +2 -1
- package/esm5/universis-ngx-tables.js +3 -4
- package/fesm2015/universis-ngx-tables.js +12 -5
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +13 -6
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/package.json +1 -3
- package/public_api.d.ts +1 -0
- package/universis-ngx-tables.d.ts +3 -3
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -1308,6 +1308,7 @@
|
|
|
1308
1308
|
}, 0);
|
|
1309
1309
|
}
|
|
1310
1310
|
});
|
|
1311
|
+
var drawIndex_1 = 1;
|
|
1311
1312
|
tableElement_1.on('order.dt', function (event) {
|
|
1312
1313
|
if (_this.dataTable) {
|
|
1313
1314
|
var order = _this.dataTable.order();
|
|
@@ -1320,8 +1321,11 @@
|
|
|
1320
1321
|
if (_this.dataTable) {
|
|
1321
1322
|
var info = _this.dataTable.page.info();
|
|
1322
1323
|
_this.page.emit(info);
|
|
1324
|
+
if (drawIndex_1 > 1)
|
|
1325
|
+
return;
|
|
1323
1326
|
try {
|
|
1324
|
-
|
|
1327
|
+
drawIndex_1++;
|
|
1328
|
+
setTimeout(function () { _this.dataTable.columns.adjust(); }, 1);
|
|
1325
1329
|
}
|
|
1326
1330
|
catch (err) {
|
|
1327
1331
|
console.error('ERROR', 'An error occurred while adjusting table columns');
|
|
@@ -4888,6 +4892,10 @@
|
|
|
4888
4892
|
}());
|
|
4889
4893
|
|
|
4890
4894
|
var initialState = {};
|
|
4895
|
+
var tableInitialState = {
|
|
4896
|
+
filter: {},
|
|
4897
|
+
order: []
|
|
4898
|
+
};
|
|
4891
4899
|
function tableReducer(state, action) {
|
|
4892
4900
|
if (state === void 0) {
|
|
4893
4901
|
state = initialState;
|
|
@@ -5090,8 +5098,7 @@
|
|
|
5090
5098
|
i2.SharedModule,
|
|
5091
5099
|
modal.ModalModule,
|
|
5092
5100
|
progressbar.ProgressbarModule,
|
|
5093
|
-
ngxPipes.NgPipesModule
|
|
5094
|
-
store.StoreModule.forFeature(featureName, tableReducers)
|
|
5101
|
+
ngxPipes.NgPipesModule
|
|
5095
5102
|
],
|
|
5096
5103
|
providers: [common.DatePipe, i2.TemplatePipe,
|
|
5097
5104
|
{
|
|
@@ -5170,11 +5177,8 @@
|
|
|
5170
5177
|
* Generated bundle index. Do not edit.
|
|
5171
5178
|
*/
|
|
5172
5179
|
|
|
5173
|
-
exports.ɵ
|
|
5174
|
-
exports.ɵ
|
|
5175
|
-
exports.ɵd = featureName;
|
|
5176
|
-
exports.ɵa = tableReducer;
|
|
5177
|
-
exports.ɵc = tableReducers;
|
|
5180
|
+
exports.ɵa = AdvancedSearchState;
|
|
5181
|
+
exports.ɵc = AdvancedTableState;
|
|
5178
5182
|
exports.AdvancedListComponent = AdvancedListComponent;
|
|
5179
5183
|
exports.AdvancedRowActionComponent = AdvancedRowActionComponent;
|
|
5180
5184
|
exports.AdvancedSearchFormComponent = AdvancedSearchFormComponent;
|
|
@@ -5220,6 +5224,13 @@
|
|
|
5220
5224
|
exports.TablesModule = TablesModule;
|
|
5221
5225
|
exports.ɵ0 = ɵ0;
|
|
5222
5226
|
exports.ActivatedTableService = ActivatedTableService;
|
|
5227
|
+
exports.initialState = initialState;
|
|
5228
|
+
exports.tableInitialState = tableInitialState;
|
|
5229
|
+
exports.tableReducer = tableReducer;
|
|
5230
|
+
exports.tableReducers = tableReducers;
|
|
5231
|
+
exports.featureName = featureName;
|
|
5232
|
+
exports.getTablesState = getTablesState;
|
|
5233
|
+
exports.selectTable = selectTable;
|
|
5223
5234
|
|
|
5224
5235
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5225
5236
|
|