@fluxhub/fluxhub-lib 10.0.486 → 10.0.488
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 +18 -8
- 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/fhnumeric.js +10 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +5 -4
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +5 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +1 -0
- package/package.json +1 -1
|
@@ -13081,6 +13081,7 @@ class FHNumericFieldComponent {
|
|
|
13081
13081
|
this.onTouched = () => { };
|
|
13082
13082
|
this.formattedAmount = "0,00";
|
|
13083
13083
|
this.value = 0.0;
|
|
13084
|
+
this.b_already_f = false;
|
|
13084
13085
|
}
|
|
13085
13086
|
keyDownFunctioncl(event) {
|
|
13086
13087
|
//console.log(event);
|
|
@@ -13160,11 +13161,17 @@ class FHNumericFieldComponent {
|
|
|
13160
13161
|
}
|
|
13161
13162
|
click_select_allf(element) {
|
|
13162
13163
|
setTimeout(() => {
|
|
13163
|
-
this.
|
|
13164
|
+
if (!this.b_already_f)
|
|
13165
|
+
this.el.nativeElement.select();
|
|
13166
|
+
this.b_already_f = true;
|
|
13167
|
+
setTimeout(() => { this.b_already_f = false; }, 1000);
|
|
13164
13168
|
}, 200);
|
|
13165
13169
|
}
|
|
13166
13170
|
select_allf(element) {
|
|
13167
|
-
this.
|
|
13171
|
+
if (!this.b_already_f)
|
|
13172
|
+
this.el.nativeElement.select();
|
|
13173
|
+
this.b_already_f = true;
|
|
13174
|
+
setTimeout(() => { this.b_already_f = false; }, 1000);
|
|
13168
13175
|
}
|
|
13169
13176
|
setFocus() {
|
|
13170
13177
|
this.el.nativeElement.focus();
|
|
@@ -17037,13 +17044,14 @@ class dati_aggiuntivi {
|
|
|
17037
17044
|
if (!(arrd[i].op == 'add' && arrd[i].val == null && arrd[i].oldVal == ''))
|
|
17038
17045
|
if (!(arrd[i].val == arrd[i].oldVal))
|
|
17039
17046
|
if (!(arrd[i].val == '' && arrd[i].oldVal == '0'))
|
|
17040
|
-
if (!(arrd[i].val
|
|
17041
|
-
|
|
17047
|
+
if (!(arrd[i].val == '0' && arrd[i].oldVal == null))
|
|
17048
|
+
if (!(arrd[i].val instanceof Date))
|
|
17049
|
+
flt.push(arrd[i]);
|
|
17042
17050
|
for (let i = 0; i < arrd.length; i++)
|
|
17043
17051
|
if (arrd[i].val instanceof Date)
|
|
17044
17052
|
if (new Date(arrd[i].val).getTime() != new Date(arrd[i].oldVal).getTime())
|
|
17045
17053
|
flt.push(arrd[i]);
|
|
17046
|
-
console.log('arrx ', flt);
|
|
17054
|
+
console.log('arrx ', flt, edit_button, !edit_button || flt.length == 0);
|
|
17047
17055
|
if (!edit_button || flt.length == 0)
|
|
17048
17056
|
this.m_router.navigate([this.app_info.modulo_swf]);
|
|
17049
17057
|
else {
|
|
@@ -24207,13 +24215,14 @@ class dati_aggiuntivi_v2 {
|
|
|
24207
24215
|
if (!(arrd[i].op == 'add' && arrd[i].val == null && arrd[i].oldVal == ''))
|
|
24208
24216
|
if (!(arrd[i].val == arrd[i].oldVal))
|
|
24209
24217
|
if (!(arrd[i].val == '' && arrd[i].oldVal == '0'))
|
|
24210
|
-
if (!(arrd[i].val
|
|
24211
|
-
|
|
24218
|
+
if (!(arrd[i].val == '0' && arrd[i].oldVal == null))
|
|
24219
|
+
if (!(arrd[i].val instanceof Date))
|
|
24220
|
+
flt.push(arrd[i]);
|
|
24212
24221
|
for (let i = 0; i < arrd.length; i++)
|
|
24213
24222
|
if (arrd[i].val instanceof Date)
|
|
24214
24223
|
if (new Date(arrd[i].val).getTime() != new Date(arrd[i].oldVal).getTime())
|
|
24215
24224
|
flt.push(arrd[i]);
|
|
24216
|
-
console.log('arrx ', flt);
|
|
24225
|
+
console.log('arrx ', flt, edit_button, !edit_button || flt.length == 0);
|
|
24217
24226
|
if (!edit_button || flt.length == 0)
|
|
24218
24227
|
this.m_router.navigate([this.app_info.modulo_swf]);
|
|
24219
24228
|
else {
|