@fluxhub/fluxhub-lib 10.0.59 → 10.0.62
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 +10 -3
- 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/fhcurrencyfield.js +7 -2
- package/esm2015/lib/controls/fhupload.js +3 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4243,7 +4243,7 @@ FHUploadComponent.decorators = [
|
|
|
4243
4243
|
<div class="my-drop-zone" style="width:130px" fxLayout="row" [matTooltip]="hasBaseDropZoneOver ? lascia_il_file : trascina_il_file" fxLayoutAlign="center start">
|
|
4244
4244
|
<label for="uploader-input" ng2FileDrop style="font-weight:bold"
|
|
4245
4245
|
[ngClass]="{'over-drop-zone': hasBaseDropZoneOver}" for="file-fh{{ id_component }}"
|
|
4246
|
-
(onFileDrop)="onFileDrop($event)"
|
|
4246
|
+
(onFileDrop)="onFileDrop($event)" (click)="call_up()"
|
|
4247
4247
|
(fileOver)="fileOverBase($event)" [uploader]="uploader">
|
|
4248
4248
|
<div fxLayoutAlign="center center" fxLayout="row">
|
|
4249
4249
|
<mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>
|
|
@@ -4254,7 +4254,7 @@ FHUploadComponent.decorators = [
|
|
|
4254
4254
|
[multiple]="false"
|
|
4255
4255
|
[uploader]="uploader"
|
|
4256
4256
|
name="file-fh{{ id_component }}"
|
|
4257
|
-
id="file-fh{{ id_component }}"
|
|
4257
|
+
id="file-fh{{ id_component }}" (click)="call_up()"
|
|
4258
4258
|
(onFileSelected)="onFileDrop($event)"
|
|
4259
4259
|
id="uploader-input" style="display:none"/>
|
|
4260
4260
|
<div fxLayout="row" fxLayoutAlign="start start">
|
|
@@ -11990,13 +11990,16 @@ class FHCurrencyFieldComponent {
|
|
|
11990
11990
|
else
|
|
11991
11991
|
this.value = parseFloat(this.value.split(".").join("").split(",").join("."));
|
|
11992
11992
|
}
|
|
11993
|
-
|
|
11993
|
+
if (isNaN(this.value))
|
|
11994
|
+
this.value = 0;
|
|
11994
11995
|
this.onChange(this.value);
|
|
11995
11996
|
}, 0);
|
|
11996
11997
|
}
|
|
11997
11998
|
writeValue(value) {
|
|
11998
11999
|
if (value == null)
|
|
11999
12000
|
value = 0;
|
|
12001
|
+
if (isNaN(value))
|
|
12002
|
+
value = 0;
|
|
12000
12003
|
if (value !== this.innerValue) {
|
|
12001
12004
|
if (typeof value == "string") {
|
|
12002
12005
|
if (this.decimal == 0)
|
|
@@ -12004,6 +12007,8 @@ class FHCurrencyFieldComponent {
|
|
|
12004
12007
|
else
|
|
12005
12008
|
value = parseFloat(value.split(".").join("").split(",").join("."));
|
|
12006
12009
|
}
|
|
12010
|
+
if (isNaN(value))
|
|
12011
|
+
value = 0;
|
|
12007
12012
|
this.innerValue = value;
|
|
12008
12013
|
this.value = value;
|
|
12009
12014
|
// console.log('writeValue ini ',this.value);
|
|
@@ -15678,6 +15683,7 @@ class dati_aggiuntivi {
|
|
|
15678
15683
|
// console.log('user_idp: '+ this.user_idp);
|
|
15679
15684
|
}
|
|
15680
15685
|
init_user_i() {
|
|
15686
|
+
console.log('init_user_i() ', this.app_s.user);
|
|
15681
15687
|
this.user_idp = this.app_s.user;
|
|
15682
15688
|
this.user_nome = this.app_s.user_name;
|
|
15683
15689
|
this.user_cognome = this.app_s.user_surname;
|
|
@@ -17314,6 +17320,7 @@ class dati_aggiuntivi {
|
|
|
17314
17320
|
}
|
|
17315
17321
|
onResize(event) { }
|
|
17316
17322
|
init_engine() {
|
|
17323
|
+
console.log(' init_engine()');
|
|
17317
17324
|
if (this.user_idp == null) {
|
|
17318
17325
|
setTimeout(() => {
|
|
17319
17326
|
this.init_user_i();
|
|
@@ -17321,7 +17328,7 @@ class dati_aggiuntivi {
|
|
|
17321
17328
|
}, 100);
|
|
17322
17329
|
return;
|
|
17323
17330
|
}
|
|
17324
|
-
|
|
17331
|
+
console.log('init_engine ini ');
|
|
17325
17332
|
this.m_route.params.subscribe((params) => {
|
|
17326
17333
|
this.onResize();
|
|
17327
17334
|
var id = params["op"];
|