@universis/ngx-tables 15.0.3 → 15.0.6

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.
@@ -13,7 +13,7 @@ import { ResponseError, ClientDataQueryable, TextUtils } from '@themost/client';
13
13
  import { BehaviorSubject } from 'rxjs';
14
14
  import * as i5 from '@universis/common';
15
15
  import { TemplatePipe, DIALOG_BUTTONS, SharedModule } from '@universis/common';
16
- import * as jQuery_ from 'jquery';
16
+ import * as _jQuery from 'jquery';
17
17
  import 'datatables.net';
18
18
  import 'datatables.net-scroller';
19
19
  import 'datatables.net-colreorder';
@@ -987,8 +987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
987
987
  type: Injectable
988
988
  }], ctorParameters: function () { return [{ type: i5.ModalService }]; } });
989
989
 
990
- // restore jquery import to avoid Cannot call a namespace ('jquery') error
991
- const jQuery = jQuery_;
990
+ const jQuery = Object.prototype.hasOwnProperty.call(_jQuery, 'default') ? Object.getOwnPropertyDescriptor(_jQuery, 'default').get() : _jQuery;
992
991
  const DataTablesApi = jQuery.fn.dataTable.Api;
993
992
  DataTablesApi.register('processing()', function (show) {
994
993
  return this.iterator('table', (ctx) => {