@smartbit4all/ng-client 3.3.86 → 3.3.88
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/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +2 -1
- package/esm2020/lib/smart-form/services/smartform.service.mjs +9 -7
- package/fesm2015/smartbit4all-ng-client.mjs +10 -7
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +9 -6
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.88.tgz +0 -0
- package/smartbit4all-ng-client-3.3.86.tgz +0 -0
|
@@ -4109,13 +4109,15 @@ class SmartFormService {
|
|
|
4109
4109
|
});
|
|
4110
4110
|
}
|
|
4111
4111
|
toSmartForm(group) {
|
|
4112
|
-
var _a
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4112
|
+
var _a;
|
|
4113
|
+
if (this.smartForm) {
|
|
4114
|
+
this.copyValueFromFormToWidgetBeans(this.smartForm.widgets, group);
|
|
4115
|
+
const data = (_a = this.smartForm.componentModel) === null || _a === void 0 ? void 0 : _a.data;
|
|
4116
|
+
if (data) {
|
|
4117
|
+
for (const key of this.getPropertyNamesDeeply(data)) {
|
|
4118
|
+
if (group.controls[key]) {
|
|
4119
|
+
this.setValueDeeply(data, key, group.controls[key].value);
|
|
4120
|
+
}
|
|
4119
4121
|
}
|
|
4120
4122
|
}
|
|
4121
4123
|
}
|
|
@@ -6701,6 +6703,7 @@ class SmartformLayoutDefinitionService {
|
|
|
6701
6703
|
selection: layoutDefinition.selection,
|
|
6702
6704
|
hint: layoutDefinition.hint,
|
|
6703
6705
|
maxLength: layoutDefinition.maxLength,
|
|
6706
|
+
showCharacterLimitSuffix: layoutDefinition.showCharacterLimitSuffix,
|
|
6704
6707
|
};
|
|
6705
6708
|
return widget;
|
|
6706
6709
|
}
|