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