@seniorsistemas/angular-components 17.10.11 → 17.10.13
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/seniorsistemas-angular-components.umd.js +5 -5
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/custom-fields/custom-fields.component.js +5 -5
- package/esm2015/components/dynamic-form/components/fields/boolean/boolean-switch-field.component.js +2 -2
- package/esm5/components/custom-fields/custom-fields.component.js +5 -5
- package/esm5/components/dynamic-form/components/fields/boolean/boolean-switch-field.component.js +2 -2
- package/fesm2015/seniorsistemas-angular-components.js +5 -5
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +5 -5
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -10276,7 +10276,7 @@
|
|
|
10276
10276
|
], BooleanSwitchFieldComponent.prototype, "formControl", void 0);
|
|
10277
10277
|
BooleanSwitchFieldComponent = __decorate([
|
|
10278
10278
|
core.Component({
|
|
10279
|
-
template: "<div class=\"ui-grid ui-grid-responsive ui-grid-pad ui-fluid\">\n <div class=\"ui-grid-row\">\n <div class=\"i-grid-col-1\">\n <s-switch\n [id]=\"(field.id || field.name)\"\n [inputName]=\"field.name\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n (valueChanged)=\"field.onChange ? field.onChange($event) : null\">\n </s-switch>\n </div>\n <div class=\"i-grid-col-1\" *ngIf=\"field.optionsLabel\">\n <ng-container *ngIf=\"formControl.value; else caseFalse\">\n <span>{{ field.optionsLabel.true }}</span>\n </ng-container>\n <ng-template #caseFalse>\n <span>{{ field.optionsLabel.false }}</span>\n </ng-template>\n </div>\n </div>\n</div>"
|
|
10279
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div class=\"ui-grid ui-grid-responsive ui-grid-pad ui-fluid\">\n <div class=\"ui-grid-row\">\n <div class=\"i-grid-col-1\">\n <s-switch\n [id]=\"(field.id || field.name)\"\n [inputName]=\"field.name\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n (valueChanged)=\"field.onChange ? field.onChange($event) : null\">\n </s-switch>\n </div>\n <div class=\"i-grid-col-1\" *ngIf=\"field.optionsLabel\">\n <ng-container *ngIf=\"formControl.value; else caseFalse\">\n <span>{{ field.optionsLabel.true }}</span>\n </ng-container>\n <ng-template #caseFalse>\n <span>{{ field.optionsLabel.false }}</span>\n </ng-template>\n </div>\n </div>\n</div>"
|
|
10280
10280
|
})
|
|
10281
10281
|
], BooleanSwitchFieldComponent);
|
|
10282
10282
|
return BooleanSwitchFieldComponent;
|
|
@@ -12996,12 +12996,12 @@
|
|
|
12996
12996
|
break;
|
|
12997
12997
|
}
|
|
12998
12998
|
}
|
|
12999
|
-
if (
|
|
13000
|
-
parsedValues[name] = value;
|
|
13001
|
-
}
|
|
13002
|
-
else if (_this.isTypeNumberOrEnum(type)) {
|
|
12999
|
+
if (_this.isTypeNumberOrEnum(type)) {
|
|
13003
13000
|
parsedValues[name] = field.multiple ? [] : null;
|
|
13004
13001
|
}
|
|
13002
|
+
else {
|
|
13003
|
+
parsedValues[name] = value;
|
|
13004
|
+
}
|
|
13005
13005
|
});
|
|
13006
13006
|
if (this.hasBlob)
|
|
13007
13007
|
parsedValues["fieldCustomization"] = this.formGroup.get("fieldCustomization").value;
|