@fluxhub/fluxhub-lib 10.0.274 → 10.0.275

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.
@@ -7615,6 +7615,8 @@ class FHGridComponent {
7615
7615
  this.officeService = officeService;
7616
7616
  this._fileService = _fileService;
7617
7617
  this.clipboard = clipboard;
7618
+ this.width_max = '100%';
7619
+ this.browser = 'nd';
7618
7620
  this.end_point = null;
7619
7621
  this.tbl_name = "";
7620
7622
  this.count_tbl_name = "";
@@ -7979,6 +7981,28 @@ class FHGridComponent {
7979
7981
  this.fix_flt_temp = "";
7980
7982
  if (this.m_appService.getState().grid_obj == null)
7981
7983
  this.m_appService.getState().grid_obj = {};
7984
+ this.browser = this.getBrowserName();
7985
+ if (this.browser == 'ie')
7986
+ this.width_max = '';
7987
+ }
7988
+ getBrowserName() {
7989
+ const agent = window.navigator.userAgent.toLowerCase();
7990
+ switch (true) {
7991
+ case agent.indexOf('edge') > -1:
7992
+ return 'edge';
7993
+ case agent.indexOf('opr') > -1 && !!window.opr:
7994
+ return 'opera';
7995
+ case agent.indexOf('chrome') > -1 && !!window.chrome:
7996
+ return 'chrome';
7997
+ case agent.indexOf('trident') > -1:
7998
+ return 'ie';
7999
+ case agent.indexOf('firefox') > -1:
8000
+ return 'firefox';
8001
+ case agent.indexOf('safari') > -1:
8002
+ return 'safari';
8003
+ default:
8004
+ return 'other';
8005
+ }
7982
8006
  }
7983
8007
  docmd(o) {
7984
8008
  this.command.emit(o);