@eqproject/eqp-dynamic-module 2.10.49 → 2.10.51
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/field-templates/label-field-template/label-field-template.component.mjs +4 -3
- package/esm2020/lib/models/fields/dateField.model.mjs +4 -4
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +6 -5
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +6 -5
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/models/fields/dateField.model.d.ts +3 -3
- package/package.json +10 -3
|
@@ -1512,9 +1512,9 @@ class DateField extends BaseField {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
var DateTimeTypeEnum;
|
|
1514
1514
|
(function (DateTimeTypeEnum) {
|
|
1515
|
-
DateTimeTypeEnum[DateTimeTypeEnum["Solo data"] =
|
|
1516
|
-
DateTimeTypeEnum[DateTimeTypeEnum["Solo orario"] =
|
|
1517
|
-
DateTimeTypeEnum[DateTimeTypeEnum["Data e ora"] =
|
|
1515
|
+
DateTimeTypeEnum[DateTimeTypeEnum["Solo data"] = 0] = "Solo data";
|
|
1516
|
+
DateTimeTypeEnum[DateTimeTypeEnum["Solo orario"] = 1] = "Solo orario";
|
|
1517
|
+
DateTimeTypeEnum[DateTimeTypeEnum["Data e ora"] = 2] = "Data e ora";
|
|
1518
1518
|
})(DateTimeTypeEnum || (DateTimeTypeEnum = {}));
|
|
1519
1519
|
|
|
1520
1520
|
class ListFormRecordComponent {
|
|
@@ -4956,6 +4956,7 @@ class LabelFieldTemplateComponent {
|
|
|
4956
4956
|
* Metodo per aggiornare il valore del campo quando questo è rappresentato da una formula.
|
|
4957
4957
|
*/
|
|
4958
4958
|
updateField() {
|
|
4959
|
+
this.record[this.field.Name] = this.field.Etichetta;
|
|
4959
4960
|
if ((this.field.DataGetter.DataGetterType == DataGetterTypeEnum.Manuale || this.field.DataGetter.DataGetterType == DataGetterTypeEnum.Formula) && this.field.Formula) {
|
|
4960
4961
|
this.record[this.field.Name] = UtilityHelperService.EvaluateFieldFormula(this.field.Formula, this.record, this.formulaObject);
|
|
4961
4962
|
}
|
|
@@ -4979,10 +4980,10 @@ class LabelFieldTemplateComponent {
|
|
|
4979
4980
|
}
|
|
4980
4981
|
}
|
|
4981
4982
|
LabelFieldTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelFieldTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4982
|
-
LabelFieldTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LabelFieldTemplateComponent, selector: "label-field-template", inputs: { field: "field", record: "record", formulaObject: "formulaObject", inConfig: "inConfig" }, outputs: { recordChange: "recordChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"dm-etichetta\" [ngStyle]=\"LabelstyleObj\" [innerHTML]=\"field.
|
|
4983
|
+
LabelFieldTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LabelFieldTemplateComponent, selector: "label-field-template", inputs: { field: "field", record: "record", formulaObject: "formulaObject", inConfig: "inConfig" }, outputs: { recordChange: "recordChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"dm-etichetta\" [ngStyle]=\"LabelstyleObj\" [innerHTML]=\"record[field.Name]\"></div>", styles: ["::ng-deep .mat-form-field-label{font-size:x-large}.dm-etichetta{margin-top:18px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4983
4984
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelFieldTemplateComponent, decorators: [{
|
|
4984
4985
|
type: Component,
|
|
4985
|
-
args: [{ selector: 'label-field-template', template: "<div class=\"dm-etichetta\" [ngStyle]=\"LabelstyleObj\" [innerHTML]=\"field.
|
|
4986
|
+
args: [{ selector: 'label-field-template', template: "<div class=\"dm-etichetta\" [ngStyle]=\"LabelstyleObj\" [innerHTML]=\"record[field.Name]\"></div>", styles: ["::ng-deep .mat-form-field-label{font-size:x-large}.dm-etichetta{margin-top:18px}\n"] }]
|
|
4986
4987
|
}], ctorParameters: function () { return []; }, propDecorators: { field: [{
|
|
4987
4988
|
type: Input
|
|
4988
4989
|
}], record: [{
|