@universis/ngx-tables 0.7.15 → 0.7.20
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 +14 -2
- 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/advanced-aggregator.js +2 -0
- package/esm2015/lib/components/add-items/add-items.component.js +3 -3
- package/esm2015/lib/components/advanced-table/advanced-table-search-base.js +7 -2
- package/esm2015/lib/components/advanced-table/advanced-table-settings.component.js +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.formatters.js +2 -2
- package/esm2015/lib/i18n/tables.el.js +4 -1
- package/esm2015/lib/i18n/tables.en.js +4 -1
- package/esm2015/lib/tables.module.js +3 -1
- package/esm5/lib/advanced-aggregator.js +2 -0
- package/esm5/lib/components/add-items/add-items.component.js +3 -3
- package/esm5/lib/components/advanced-table/advanced-table-search-base.js +7 -2
- package/esm5/lib/components/advanced-table/advanced-table-settings.component.js +1 -1
- package/esm5/lib/components/advanced-table/advanced-table.formatters.js +1 -1
- package/esm5/lib/i18n/tables.el.js +4 -1
- package/esm5/lib/i18n/tables.en.js +4 -1
- package/esm5/lib/tables.module.js +3 -1
- package/fesm2015/universis-ngx-tables.js +15 -3
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +14 -2
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/lib/advanced-aggregator.d.ts +55 -61
- package/lib/i18n/tables.el.d.ts +3 -0
- package/lib/i18n/tables.en.d.ts +3 -0
- package/package.json +1 -1
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -135,7 +135,7 @@ class ButtonFormatter extends AdvancedColumnFormatter {
|
|
|
135
135
|
buttonTitle = this.injector.get(TranslateService).instant(formatOptions.buttonTitle);
|
|
136
136
|
}
|
|
137
137
|
if (Array.isArray(this.formatOptions.commands)) {
|
|
138
|
-
|
|
138
|
+
let routerLink = this.createUrlTree(row, this.formatOptions);
|
|
139
139
|
return `<a class="${formatOptions.buttonClass}" title="${buttonTitle}" href="#${routerLink}">${buttonText}</a>`;
|
|
140
140
|
}
|
|
141
141
|
// and return button
|
|
@@ -2015,6 +2015,11 @@ class AdvancedTableSearchBaseComponent {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
|
+
AdvancedTableSearchBaseComponent.decorators = [
|
|
2019
|
+
{ type: Component, args: [{
|
|
2020
|
+
template: ''
|
|
2021
|
+
}] }
|
|
2022
|
+
];
|
|
2018
2023
|
AdvancedTableSearchBaseComponent.propDecorators = {
|
|
2019
2024
|
filterChange: [{ type: Output }],
|
|
2020
2025
|
filter: [{ type: Input }]
|
|
@@ -4104,14 +4109,14 @@ class AddItemsComponent extends RouterModalOkCancel {
|
|
|
4104
4109
|
if (this._modalService.modalRef) {
|
|
4105
4110
|
this._modalService.modalRef.hide();
|
|
4106
4111
|
}
|
|
4107
|
-
return resolve();
|
|
4112
|
+
return resolve(null);
|
|
4108
4113
|
}, (err) => {
|
|
4109
4114
|
this.loading = false;
|
|
4110
4115
|
// ensure that loading is hidden
|
|
4111
4116
|
this._loadingService.hideLoading();
|
|
4112
4117
|
// set last error
|
|
4113
4118
|
this.lastError = err;
|
|
4114
|
-
return resolve();
|
|
4119
|
+
return resolve(null);
|
|
4115
4120
|
});
|
|
4116
4121
|
});
|
|
4117
4122
|
}
|
|
@@ -4309,6 +4314,9 @@ const TABLES_EL = {
|
|
|
4309
4314
|
"No": "Όχι"
|
|
4310
4315
|
}
|
|
4311
4316
|
},
|
|
4317
|
+
"Settings": {
|
|
4318
|
+
"OperationCompleted": "Η διαδικασία ολοκληρώθηκε με επιτυχία."
|
|
4319
|
+
},
|
|
4312
4320
|
"AdvancedSearch": {
|
|
4313
4321
|
"Choose": "<Επιλέξτε μια αναζήτηση>",
|
|
4314
4322
|
"ChooseDate": "Επιλογή ημερομηνίας",
|
|
@@ -4412,6 +4420,9 @@ const TABLES_EN = {
|
|
|
4412
4420
|
"No": "No"
|
|
4413
4421
|
}
|
|
4414
4422
|
},
|
|
4423
|
+
"Settings": {
|
|
4424
|
+
"OperationCompleted": "The operation was completed successfully."
|
|
4425
|
+
},
|
|
4415
4426
|
"AdvancedSearch": {
|
|
4416
4427
|
"Choose": "<Select a saved search>",
|
|
4417
4428
|
"ChooseDate": "Choose date",
|
|
@@ -4742,6 +4753,7 @@ TablesModule.decorators = [
|
|
|
4742
4753
|
],
|
|
4743
4754
|
declarations: [
|
|
4744
4755
|
AdvancedTableComponent,
|
|
4756
|
+
AdvancedTableSearchBaseComponent,
|
|
4745
4757
|
AdvancedTableSearchComponent,
|
|
4746
4758
|
BtnExpDirective,
|
|
4747
4759
|
AdvancedTableSettingsComponent,
|