@fluxhub/fluxhub-lib 10.0.309 → 10.0.310

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.
@@ -1101,6 +1101,25 @@
1101
1101
  range.select();
1102
1102
  }
1103
1103
  };
1104
+ UtilityService.prototype.getBrowserName = function () {
1105
+ var agent = window.navigator.userAgent.toLowerCase();
1106
+ switch (true) {
1107
+ case agent.indexOf('edge') > -1:
1108
+ return 'edge';
1109
+ case agent.indexOf('opr') > -1 && !!window.opr:
1110
+ return 'opera';
1111
+ case agent.indexOf('chrome') > -1 && !!window.chrome:
1112
+ return 'chrome';
1113
+ case agent.indexOf('trident') > -1:
1114
+ return 'ie';
1115
+ case agent.indexOf('firefox') > -1:
1116
+ return 'firefox';
1117
+ case agent.indexOf('safari') > -1:
1118
+ return 'safari';
1119
+ default:
1120
+ return 'other';
1121
+ }
1122
+ };
1104
1123
  UtilityService.prototype.print_param = function (p) {
1105
1124
  console.log("Tipologie -> " + String(p.types.length));
1106
1125
  console.log("Valori -> " + String(p.values.length));
@@ -12083,7 +12102,6 @@
12083
12102
  this.button_clicked = new i0.EventEmitter();
12084
12103
  }
12085
12104
  wkf_header_bar.prototype.back = function () {
12086
- console.log('BACK!');
12087
12105
  this.button_clicked.emit('back');
12088
12106
  if (this.dt_agg != null)
12089
12107
  this.dt_agg.back(this.edit_button);
@@ -17167,7 +17185,6 @@
17167
17185
  };
17168
17186
  dati_aggiuntivi.prototype.back = function (edit_button) {
17169
17187
  var _this = this;
17170
- console.log('edit_button ', edit_button);
17171
17188
  if (!edit_button)
17172
17189
  this.m_router.navigate([this.app_info.modulo_swf]);
17173
17190
  else {