tuain-ng-forms-lib 14.5.36 → 14.5.37
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/classes/forms/element.mjs +1 -2
- package/esm2020/lib/classes/forms/field.mjs +2 -5
- package/esm2020/lib/components/elements/field.component.mjs +1 -4
- package/fesm2015/tuain-ng-forms-lib.mjs +1 -8
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +1 -8
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -136,7 +136,6 @@ class FieldComponent extends ElementComponent {
|
|
|
136
136
|
if (componentAttr) {
|
|
137
137
|
const value = this.field?.[fieldAttr];
|
|
138
138
|
this.defaultProcessAttributeChange(componentAttr, value);
|
|
139
|
-
console.log(`1. customProcessAttributeChange ${componentAttr} ${value}`);
|
|
140
139
|
this.customProcessAttributeChange(componentAttr, value);
|
|
141
140
|
}
|
|
142
141
|
}
|
|
@@ -148,7 +147,6 @@ class FieldComponent extends ElementComponent {
|
|
|
148
147
|
const fullName = `customAttributes.${customAttribute}`;
|
|
149
148
|
if (value) {
|
|
150
149
|
this.defaultProcessAttributeChange(fullName, value);
|
|
151
|
-
console.log(`2. customProcessAttributeChange ${fullName} ${value}`);
|
|
152
150
|
this.customProcessAttributeChange(fullName, value);
|
|
153
151
|
}
|
|
154
152
|
}
|
|
@@ -157,7 +155,6 @@ class FieldComponent extends ElementComponent {
|
|
|
157
155
|
this.field?.attributeChange.subscribe(event => {
|
|
158
156
|
const { name: componentAttr, value } = event;
|
|
159
157
|
this.defaultProcessAttributeChange(componentAttr, value);
|
|
160
|
-
console.log(`3. customProcessAttributeChange ${componentAttr} ${value}`);
|
|
161
158
|
this.customProcessAttributeChange(componentAttr, value);
|
|
162
159
|
});
|
|
163
160
|
this.start();
|
|
@@ -678,7 +675,6 @@ class FormElement extends FormPiecePropagate {
|
|
|
678
675
|
setAttr(attr, value) {
|
|
679
676
|
const { name: attrName, propagate: name } = attr;
|
|
680
677
|
this[attrName] = value;
|
|
681
|
-
console.log(`Propagamos ${name} con valor ${value}`);
|
|
682
678
|
name && this.propagateAttribute(name, value);
|
|
683
679
|
}
|
|
684
680
|
isField() { return this.elementType === elementTypes.field; }
|
|
@@ -872,10 +868,7 @@ class FieldDescriptor extends FormElement {
|
|
|
872
868
|
set alignment(alignment) { this.setAttr(attrs$1._fieldAlignment, alignment); }
|
|
873
869
|
get backend() { return this._validateOnServer; }
|
|
874
870
|
get captureType() { return this._captureType; }
|
|
875
|
-
set captureType(captureType) {
|
|
876
|
-
console.log(`field: Asignamos captureType de ${this.fieldCode} con ${captureType}`);
|
|
877
|
-
this.setAttr(attrs$1._captureType, captureType);
|
|
878
|
-
}
|
|
871
|
+
set captureType(captureType) { this.setAttr(attrs$1._captureType, captureType); }
|
|
879
872
|
get code() { return this.fieldCode; }
|
|
880
873
|
get defaultValue() { return this._defaultValue; }
|
|
881
874
|
set defaultValue(defaultValue) { this.setAttr(attrs$1._defaultValue, defaultValue); }
|