@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +19 -2
- 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/services/utility.service.js +20 -1
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +2 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +20 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/services/utility.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -633,6 +633,25 @@ class UtilityService {
|
|
|
633
633
|
range.select();
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
+
getBrowserName() {
|
|
637
|
+
const agent = window.navigator.userAgent.toLowerCase();
|
|
638
|
+
switch (true) {
|
|
639
|
+
case agent.indexOf('edge') > -1:
|
|
640
|
+
return 'edge';
|
|
641
|
+
case agent.indexOf('opr') > -1 && !!window.opr:
|
|
642
|
+
return 'opera';
|
|
643
|
+
case agent.indexOf('chrome') > -1 && !!window.chrome:
|
|
644
|
+
return 'chrome';
|
|
645
|
+
case agent.indexOf('trident') > -1:
|
|
646
|
+
return 'ie';
|
|
647
|
+
case agent.indexOf('firefox') > -1:
|
|
648
|
+
return 'firefox';
|
|
649
|
+
case agent.indexOf('safari') > -1:
|
|
650
|
+
return 'safari';
|
|
651
|
+
default:
|
|
652
|
+
return 'other';
|
|
653
|
+
}
|
|
654
|
+
}
|
|
636
655
|
print_param(p) {
|
|
637
656
|
console.log("Tipologie -> " + String(p.types.length));
|
|
638
657
|
console.log("Valori -> " + String(p.values.length));
|
|
@@ -16295,7 +16314,6 @@ class dati_aggiuntivi {
|
|
|
16295
16314
|
}
|
|
16296
16315
|
}
|
|
16297
16316
|
back(edit_button) {
|
|
16298
|
-
console.log('edit_button ', edit_button);
|
|
16299
16317
|
if (!edit_button)
|
|
16300
16318
|
this.m_router.navigate([this.app_info.modulo_swf]);
|
|
16301
16319
|
else {
|
|
@@ -17716,7 +17734,7 @@ class wkf_header_bar {
|
|
|
17716
17734
|
this.sovra_path = '';
|
|
17717
17735
|
this.button_clicked = new EventEmitter();
|
|
17718
17736
|
}
|
|
17719
|
-
back() {
|
|
17737
|
+
back() { this.button_clicked.emit('back'); if (this.dt_agg != null)
|
|
17720
17738
|
this.dt_agg.back(this.edit_button); }
|
|
17721
17739
|
evt_salv() { this.button_clicked.emit('evt_salv'); if (this.dt_agg != null)
|
|
17722
17740
|
this.dt_agg.evt_salv(this.edit_button, this.check_on_save); }
|