@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +24 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +25 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +3 -0
- package/package.json +1 -1
|
@@ -5052,6 +5052,8 @@
|
|
|
5052
5052
|
this.officeService = officeService;
|
|
5053
5053
|
this._fileService = _fileService;
|
|
5054
5054
|
this.clipboard = clipboard;
|
|
5055
|
+
this.width_max = '100%';
|
|
5056
|
+
this.browser = 'nd';
|
|
5055
5057
|
this.end_point = null;
|
|
5056
5058
|
this.tbl_name = "";
|
|
5057
5059
|
this.count_tbl_name = "";
|
|
@@ -5416,7 +5418,29 @@
|
|
|
5416
5418
|
this.fix_flt_temp = "";
|
|
5417
5419
|
if (this.m_appService.getState().grid_obj == null)
|
|
5418
5420
|
this.m_appService.getState().grid_obj = {};
|
|
5421
|
+
this.browser = this.getBrowserName();
|
|
5422
|
+
if (this.browser == 'ie')
|
|
5423
|
+
this.width_max = '';
|
|
5419
5424
|
}
|
|
5425
|
+
FHGridComponent.prototype.getBrowserName = function () {
|
|
5426
|
+
var agent = window.navigator.userAgent.toLowerCase();
|
|
5427
|
+
switch (true) {
|
|
5428
|
+
case agent.indexOf('edge') > -1:
|
|
5429
|
+
return 'edge';
|
|
5430
|
+
case agent.indexOf('opr') > -1 && !!window.opr:
|
|
5431
|
+
return 'opera';
|
|
5432
|
+
case agent.indexOf('chrome') > -1 && !!window.chrome:
|
|
5433
|
+
return 'chrome';
|
|
5434
|
+
case agent.indexOf('trident') > -1:
|
|
5435
|
+
return 'ie';
|
|
5436
|
+
case agent.indexOf('firefox') > -1:
|
|
5437
|
+
return 'firefox';
|
|
5438
|
+
case agent.indexOf('safari') > -1:
|
|
5439
|
+
return 'safari';
|
|
5440
|
+
default:
|
|
5441
|
+
return 'other';
|
|
5442
|
+
}
|
|
5443
|
+
};
|
|
5420
5444
|
FHGridComponent.prototype.docmd = function (o) {
|
|
5421
5445
|
this.command.emit(o);
|
|
5422
5446
|
};
|