@smartbit4all/ng-client 3.0.25 → 3.0.26
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/services/smartform.service.mjs +13 -1
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +1 -8
- package/fesm2015/smartbit4all-ng-client.mjs +13 -7
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +12 -7
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.0.26.tgz +0 -0
- package/smartbit4all-ng-client-3.0.25.tgz +0 -0
|
@@ -3097,6 +3097,12 @@ class SmartFormService {
|
|
|
3097
3097
|
value: value[valueSetData.keyProperty],
|
|
3098
3098
|
};
|
|
3099
3099
|
});
|
|
3100
|
+
widget.valueList?.unshift({
|
|
3101
|
+
key: '',
|
|
3102
|
+
label: '',
|
|
3103
|
+
type: SmartFormWidgetType.ITEM,
|
|
3104
|
+
value: undefined,
|
|
3105
|
+
});
|
|
3100
3106
|
}
|
|
3101
3107
|
else if (widget.selection.type === SelectionDefinition.TypeEnum.Object &&
|
|
3102
3108
|
!widget.selection.mapping.length) {
|
|
@@ -3109,6 +3115,12 @@ class SmartFormService {
|
|
|
3109
3115
|
value: value,
|
|
3110
3116
|
};
|
|
3111
3117
|
});
|
|
3118
|
+
widget.valueList?.unshift({
|
|
3119
|
+
key: '',
|
|
3120
|
+
label: '',
|
|
3121
|
+
type: SmartFormWidgetType.ITEM,
|
|
3122
|
+
value: undefined,
|
|
3123
|
+
});
|
|
3112
3124
|
}
|
|
3113
3125
|
}
|
|
3114
3126
|
}
|
|
@@ -4336,13 +4348,6 @@ class SmartformwidgetComponent {
|
|
|
4336
4348
|
}
|
|
4337
4349
|
// calling this.truncateUri didn't work
|
|
4338
4350
|
// TODO: use widget.selection.parameter for ignoreUriVersion / strictUriComparison;
|
|
4339
|
-
if (this.widgetInstance) {
|
|
4340
|
-
if (this.widgetInstance.type == SmartFormWidgetType.SELECT ||
|
|
4341
|
-
this.widgetInstance.type == SmartFormWidgetType.SELECT_MULTIPLE) {
|
|
4342
|
-
if (this.widgetInstance.selection && this.widgetInstance.selection.type == 'PROPERTY') {
|
|
4343
|
-
}
|
|
4344
|
-
}
|
|
4345
|
-
}
|
|
4346
4351
|
let v1 = convert(o1);
|
|
4347
4352
|
let v2 = convert(o2);
|
|
4348
4353
|
return v1 === v2;
|