@fluxhub/fluxhub-lib 10.0.58 → 10.0.61
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 +9 -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/controls/fhcurrencyfield.js +7 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/app_manager/fhrolemanager.d.ts +16 -0
- package/lib/controls/app_manager/fhtablevaluesmanager.d.ts +16 -0
- package/lib/controls/app_manager/win_manage_roles.d.ts +27 -0
- package/lib/controls/app_manager/win_manage_values.d.ts +27 -0
- package/lib/controls/grid_editors/approvabuttons.d.ts +13 -0
- package/lib/controls/grid_editors/checkbox-editor.component.d.ts +11 -0
- package/lib/controls/grid_editors/currency.component.d.ts +6 -0
- package/lib/controls/grid_editors/fhcombobox_filter.d.ts +45 -0
- package/lib/controls/grid_editors/numeric-editor.component.d.ts +20 -0
- package/lib/controls/grid_editors/select-editor.component.d.ts +20 -0
- package/lib/controls/grid_editors/textarea-editor.component.d.ts +17 -0
- package/lib/controls/image-viewer/image-viewer-config.model.d.ts +34 -0
- package/lib/controls/image-viewer/image-viewer.component.d.ts +53 -0
- package/lib/controls/image-viewer/save_pipe.d.ts +7 -0
- package/lib/controls/utils/MomentDateAdapter.d.ts +33 -0
- package/package.json +1 -1
|
@@ -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"];
|