@universis/ngx-tables 0.7.26 → 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.
@@ -242,7 +242,12 @@
242
242
  if (options.navigationExtras && typeof options.navigationExtras.skipLocationChange !== 'undefined') {
243
243
  skipLocationChange = options.navigationExtras.skipLocationChange;
244
244
  }
245
+ var fragment = void 0;
246
+ if (options.navigationExtras && typeof options.navigationExtras.fragment !== 'undefined') {
247
+ fragment = options.navigationExtras.fragment;
248
+ }
245
249
  return router.createUrlTree(commands, {
250
+ fragment: fragment,
246
251
  relativeTo: activatedRoute,
247
252
  queryParams: queryParams_1,
248
253
  replaceUrl: replaceUrl,
@@ -1112,6 +1117,7 @@
1112
1117
  this.order = new i0.EventEmitter();
1113
1118
  this.scroll = new i0.EventEmitter();
1114
1119
  this.selectedItems = new i0.EventEmitter();
1120
+ this.loading = new i0.EventEmitter();
1115
1121
  this.scrollable = true;
1116
1122
  this.serverSide = true;
1117
1123
  this.lengthMenu = [50, 100, 200, 500];
@@ -1531,6 +1537,9 @@
1531
1537
  this.destroy();
1532
1538
  }
1533
1539
  if (this.config) {
1540
+ this.loading.emit({
1541
+ target: this
1542
+ });
1534
1543
  // parse properties
1535
1544
  if (Object.prototype.hasOwnProperty.call(this.config, 'selectable')) {
1536
1545
  this.selectable = this.config.selectable;
@@ -2291,6 +2300,7 @@
2291
2300
  order: [{ type: i0.Output, args: ['order',] }],
2292
2301
  scroll: [{ type: i0.Output, args: ['scroll',] }],
2293
2302
  selectedItems: [{ type: i0.Output, args: ['selectedItems',] }],
2303
+ loading: [{ type: i0.Output, args: ['loading',] }],
2294
2304
  scrollable: [{ type: i0.Input }],
2295
2305
  serverSide: [{ type: i0.Input }],
2296
2306
  lengthMenu: [{ type: i0.Input }],
@@ -2708,8 +2718,9 @@
2708
2718
  _this._http = _http;
2709
2719
  _this.form = {};
2710
2720
  _this.refreshForm = new i0.EventEmitter();
2721
+ _this.loading = new i0.EventEmitter();
2711
2722
  _this.submission = { data: {} };
2712
- _this.loading = true;
2723
+ _this.componentLoading = true;
2713
2724
  return _this;
2714
2725
  }
2715
2726
  AdvancedSearchFormComponent.prototype.ngOnChanges = function (changes) {
@@ -2755,10 +2766,13 @@
2755
2766
  this.submission = {
2756
2767
  data: this.filter
2757
2768
  };
2769
+ this.loading.emit({
2770
+ target: this
2771
+ });
2758
2772
  this.refreshForm.emit({
2759
2773
  form: this.form
2760
2774
  });
2761
- this.loading = false;
2775
+ this.componentLoading = false;
2762
2776
  this.filterSubscription = this.filterChange.subscribe(function (filter) {
2763
2777
  _this.submission.data = filter;
2764
2778
  _this.refreshForm.emit({
@@ -2824,7 +2838,8 @@
2824
2838
  formComponent: [{ type: i0.ViewChild, args: ['formioComponent',] }],
2825
2839
  form: [{ type: i0.Input }],
2826
2840
  formSrc: [{ type: i0.Input }],
2827
- refreshForm: [{ type: i0.Output }]
2841
+ refreshForm: [{ type: i0.Output }],
2842
+ loading: [{ type: i0.Output }]
2828
2843
  };
2829
2844
  return AdvancedSearchFormComponent;
2830
2845
  }(AdvancedTableSearchBaseComponent));