@smartbit4all/ng-client 2.1.1 → 2.1.3
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-client/smart-component-api-client.mjs +9 -1
- package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
- package/esm2020/lib/view-context/api/model/view.mjs +1 -1
- package/fesm2015/smartbit4all-ng-client.mjs +10 -2
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +8 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +1 -0
- package/lib/view-context/api/model/componentModel.d.ts +3 -0
- package/lib/view-context/api/model/view.d.ts +7 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-2.1.3.tgz +0 -0
- package/smartbit4all-ng-client-2.1.1.tgz +0 -0
|
@@ -6145,6 +6145,9 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
6145
6145
|
else if (changeKey.startsWith('layouts.') && this.model?.layouts) {
|
|
6146
6146
|
this.handleLayoutChange(changes, changeKey);
|
|
6147
6147
|
}
|
|
6148
|
+
else if (changeKey.startsWith('componentLayouts.') && this.model?.layouts) {
|
|
6149
|
+
this.handleComponentLayoutChange(changes, changeKey);
|
|
6150
|
+
}
|
|
6148
6151
|
else if (changeKey.startsWith('valueSets.') && this.model?.valueSets) {
|
|
6149
6152
|
this.handleValueSetChange(changes, changeKey);
|
|
6150
6153
|
}
|
|
@@ -6220,6 +6223,11 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
6220
6223
|
let layoutKey = changeKey.split('.')[1];
|
|
6221
6224
|
this.model.layouts[layoutKey] = changes[changeKey];
|
|
6222
6225
|
}
|
|
6226
|
+
handleComponentLayoutChange(changes, changeKey) {
|
|
6227
|
+
let layoutKey = changeKey.split('.')[1];
|
|
6228
|
+
let componentLayouts = this.model.componentLayouts;
|
|
6229
|
+
componentLayouts[layoutKey] = changes[changeKey];
|
|
6230
|
+
}
|
|
6223
6231
|
handleValueSetChange(changes, changeKey) {
|
|
6224
6232
|
let valueSetKey = changeKey.split('.')[1];
|
|
6225
6233
|
this.model.valueSets[valueSetKey] = changes[changeKey];
|