@eqproject/eqp-dynamic-module 2.7.12 → 2.7.14
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/esm2020/lib/components/private/dbgetter/dbgetter.component.mjs +11 -3
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +1 -2
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +10 -3
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +10 -3
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4512,27 +4512,35 @@ class DbgetterComponent {
|
|
|
4512
4512
|
selectValueNotForced(value) {
|
|
4513
4513
|
if (value == null) {
|
|
4514
4514
|
value = "";
|
|
4515
|
+
this.showButtonReply = false;
|
|
4516
|
+
}
|
|
4517
|
+
else {
|
|
4518
|
+
this.showButtonReply = true;
|
|
4515
4519
|
}
|
|
4516
4520
|
this.record[this.field.Name] = value;
|
|
4517
4521
|
this.showTable = false;
|
|
4518
4522
|
this.showQE = false;
|
|
4519
|
-
this.showButtonReply = true;
|
|
4520
4523
|
this.selectedValue.emit([value, false]);
|
|
4521
4524
|
}
|
|
4522
4525
|
selectValueForced(row) {
|
|
4523
4526
|
var valueToBeSet = row[this.field.DataGetter.DataGetterColumnForce.key];
|
|
4524
4527
|
if (valueToBeSet == null) {
|
|
4525
4528
|
valueToBeSet = "";
|
|
4529
|
+
this.showButtonReply = false;
|
|
4530
|
+
}
|
|
4531
|
+
else {
|
|
4532
|
+
this.showButtonReply = true;
|
|
4526
4533
|
}
|
|
4527
4534
|
this.record[this.field.Name] = valueToBeSet;
|
|
4528
4535
|
this.showTable = false;
|
|
4529
4536
|
this.showQE = false;
|
|
4530
|
-
|
|
4537
|
+
//EqpDynamicModuleDialogService.Success("Un solo risultato trovato, è stato inserito in automatico");
|
|
4531
4538
|
this.selectedValue.emit([valueToBeSet, false]);
|
|
4532
4539
|
}
|
|
4533
4540
|
close() {
|
|
4534
4541
|
this.selectedValue.emit(["****CLOSE****", true]);
|
|
4535
4542
|
this.showTable = false;
|
|
4543
|
+
this.showButtonReply = false;
|
|
4536
4544
|
}
|
|
4537
4545
|
delete() {
|
|
4538
4546
|
this.selectedValue.emit([null, true]);
|
|
@@ -4595,7 +4603,6 @@ class DynamicModuleFieldFixComponent {
|
|
|
4595
4603
|
if (this.fieldTemplate && this.fieldTemplate.length > 0) {
|
|
4596
4604
|
this.fieldTemplate.forEach(f => f.updateField());
|
|
4597
4605
|
}
|
|
4598
|
-
document.querySelector;
|
|
4599
4606
|
}
|
|
4600
4607
|
ngOnInit() {
|
|
4601
4608
|
console.log("dynamic-module-field", this.field);
|