@yibozhang/pro-table 0.1.4 → 0.1.5

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.
@@ -3524,7 +3524,7 @@
3524
3524
  * 自动检测 ant-modal-body 的宽度,并添加 narrow-width 类名
3525
3525
  * 当宽度小于 500px 时添加类名,否则移除
3526
3526
  */
3527
- (function initModalWidthDetector() {
3527
+ function initModalWidthDetector() {
3528
3528
  if (typeof window === 'undefined' || typeof document === 'undefined') {
3529
3529
  return;
3530
3530
  }
@@ -3584,7 +3584,7 @@
3584
3584
  checkElementWidth(element);
3585
3585
  observeResize(element);
3586
3586
  });
3587
- })();
3587
+ }
3588
3588
 
3589
3589
  /*
3590
3590
  * Public API Surface of pro-table
@@ -3607,6 +3607,7 @@
3607
3607
  exports.ProTableModule = ProTableModule;
3608
3608
  exports.TableSearchBarModule = TableSearchBarModule;
3609
3609
  exports.TrimInputModule = TrimInputModule;
3610
+ exports.initModalWidthDetector = initModalWidthDetector;
3610
3611
  exports["ɵ0"] = ɵ0;
3611
3612
  exports["ɵ1"] = ɵ1;
3612
3613
  exports["ɵ2"] = ɵ2;