@universis/ngx-tables 0.7.27 → 0.7.28
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 +13 -3
- 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-search-form/advanced-search-form.component.js +9 -4
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +6 -1
- package/esm5/lib/components/advanced-search-form/advanced-search-form.component.js +9 -4
- package/esm5/lib/components/advanced-table/advanced-table.component.js +6 -1
- package/fesm2015/universis-ngx-tables.js +13 -3
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +14 -4
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/lib/components/advanced-search-form/advanced-search-form.component.d.ts +4 -1
- package/lib/components/advanced-table/advanced-table.component.d.ts +3 -0
- package/package.json +1 -1
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -1117,6 +1117,7 @@
|
|
|
1117
1117
|
this.order = new i0.EventEmitter();
|
|
1118
1118
|
this.scroll = new i0.EventEmitter();
|
|
1119
1119
|
this.selectedItems = new i0.EventEmitter();
|
|
1120
|
+
this.loading = new i0.EventEmitter();
|
|
1120
1121
|
this.scrollable = true;
|
|
1121
1122
|
this.serverSide = true;
|
|
1122
1123
|
this.lengthMenu = [50, 100, 200, 500];
|
|
@@ -1536,6 +1537,9 @@
|
|
|
1536
1537
|
this.destroy();
|
|
1537
1538
|
}
|
|
1538
1539
|
if (this.config) {
|
|
1540
|
+
this.loading.emit({
|
|
1541
|
+
target: this
|
|
1542
|
+
});
|
|
1539
1543
|
// parse properties
|
|
1540
1544
|
if (Object.prototype.hasOwnProperty.call(this.config, 'selectable')) {
|
|
1541
1545
|
this.selectable = this.config.selectable;
|
|
@@ -2296,6 +2300,7 @@
|
|
|
2296
2300
|
order: [{ type: i0.Output, args: ['order',] }],
|
|
2297
2301
|
scroll: [{ type: i0.Output, args: ['scroll',] }],
|
|
2298
2302
|
selectedItems: [{ type: i0.Output, args: ['selectedItems',] }],
|
|
2303
|
+
loading: [{ type: i0.Output, args: ['loading',] }],
|
|
2299
2304
|
scrollable: [{ type: i0.Input }],
|
|
2300
2305
|
serverSide: [{ type: i0.Input }],
|
|
2301
2306
|
lengthMenu: [{ type: i0.Input }],
|
|
@@ -2713,8 +2718,9 @@
|
|
|
2713
2718
|
_this._http = _http;
|
|
2714
2719
|
_this.form = {};
|
|
2715
2720
|
_this.refreshForm = new i0.EventEmitter();
|
|
2721
|
+
_this.loading = new i0.EventEmitter();
|
|
2716
2722
|
_this.submission = { data: {} };
|
|
2717
|
-
_this.
|
|
2723
|
+
_this.componentLoading = true;
|
|
2718
2724
|
return _this;
|
|
2719
2725
|
}
|
|
2720
2726
|
AdvancedSearchFormComponent.prototype.ngOnChanges = function (changes) {
|
|
@@ -2760,10 +2766,13 @@
|
|
|
2760
2766
|
this.submission = {
|
|
2761
2767
|
data: this.filter
|
|
2762
2768
|
};
|
|
2769
|
+
this.loading.emit({
|
|
2770
|
+
target: this
|
|
2771
|
+
});
|
|
2763
2772
|
this.refreshForm.emit({
|
|
2764
2773
|
form: this.form
|
|
2765
2774
|
});
|
|
2766
|
-
this.
|
|
2775
|
+
this.componentLoading = false;
|
|
2767
2776
|
this.filterSubscription = this.filterChange.subscribe(function (filter) {
|
|
2768
2777
|
_this.submission.data = filter;
|
|
2769
2778
|
_this.refreshForm.emit({
|
|
@@ -2829,7 +2838,8 @@
|
|
|
2829
2838
|
formComponent: [{ type: i0.ViewChild, args: ['formioComponent',] }],
|
|
2830
2839
|
form: [{ type: i0.Input }],
|
|
2831
2840
|
formSrc: [{ type: i0.Input }],
|
|
2832
|
-
refreshForm: [{ type: i0.Output }]
|
|
2841
|
+
refreshForm: [{ type: i0.Output }],
|
|
2842
|
+
loading: [{ type: i0.Output }]
|
|
2833
2843
|
};
|
|
2834
2844
|
return AdvancedSearchFormComponent;
|
|
2835
2845
|
}(AdvancedTableSearchBaseComponent));
|