@smartbit4all/ng-client 3.3.131 → 3.3.132

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.
@@ -9819,12 +9819,18 @@ class ExpandableSectionComponent {
9819
9819
  ['sectionIndex', this.index],
9820
9820
  ]));
9821
9821
  }
9822
- this.componentRef = this.cfService.createComponent(this.vcRef, this.data.customComponent, new Map([
9823
- [this.data.inputName ?? '', this.data.data],
9822
+ let inputs = new Map([
9824
9823
  ['stateChange', this.stateChange],
9825
9824
  ['index', this.data.index],
9826
9825
  ['sectionIndex', this.index],
9827
- ]));
9826
+ ]);
9827
+ if (this.data.inputName) {
9828
+ inputs.set(this.data.inputName, this.data.data);
9829
+ }
9830
+ if (this.data.inputs) {
9831
+ this.data.inputs.forEach((v, k) => inputs.set(k, v));
9832
+ }
9833
+ this.componentRef = this.cfService.createComponent(this.vcRef, this.data.customComponent, inputs);
9828
9834
  }
9829
9835
  action(button, event) {
9830
9836
  event.stopPropagation();
@@ -12988,8 +12994,11 @@ class SmartComponentLayoutComponent {
12988
12994
  data.expandable = false;
12989
12995
  this.expandableSection = {
12990
12996
  title: this.smartComponentLayout?.expandableSectionLabel ?? '',
12991
- data,
12992
- inputName: 'smartComponentLayout',
12997
+ inputs: new Map([
12998
+ ['smartComponentLayout', data],
12999
+ ['parentSmartComponent', this.parentSmartComponent],
13000
+ ['parentLayoutComponent', this.parentLayoutComponent],
13001
+ ]),
12993
13002
  customComponent: SmartComponentLayoutComponent,
12994
13003
  };
12995
13004
  }