@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.
@@ -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];