@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.
- package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +6 -3
- package/esm2020/lib/smart-expandable-section/expandable-section.component.mjs +10 -4
- package/esm2020/lib/smart-expandable-section/expandable-section.model.mjs +1 -1
- package/fesm2015/smartbit4all-ng-client.mjs +15 -6
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +14 -5
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-expandable-section/expandable-section.model.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.132.tgz +0 -0
- package/smartbit4all-ng-client-3.3.131.tgz +0 -0
|
@@ -9819,12 +9819,18 @@ class ExpandableSectionComponent {
|
|
|
9819
9819
|
['sectionIndex', this.index],
|
|
9820
9820
|
]));
|
|
9821
9821
|
}
|
|
9822
|
-
|
|
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
|
-
|
|
12992
|
-
|
|
12997
|
+
inputs: new Map([
|
|
12998
|
+
['smartComponentLayout', data],
|
|
12999
|
+
['parentSmartComponent', this.parentSmartComponent],
|
|
13000
|
+
['parentLayoutComponent', this.parentLayoutComponent],
|
|
13001
|
+
]),
|
|
12993
13002
|
customComponent: SmartComponentLayoutComponent,
|
|
12994
13003
|
};
|
|
12995
13004
|
}
|