@smartbit4all/ng-client 3.3.131 → 3.3.133
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 +8 -4
- 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 +17 -7
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +16 -6
- 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.133.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();
|
|
@@ -12950,7 +12956,8 @@ class SmartComponentLayoutComponent {
|
|
|
12950
12956
|
return;
|
|
12951
12957
|
}
|
|
12952
12958
|
// layout changed, render, but save current
|
|
12953
|
-
this.currentLayout = JSON.parse(JSON.stringify(this.smartComponentLayout));
|
|
12959
|
+
// this.currentLayout = JSON.parse(JSON.stringify(this.smartComponentLayout));
|
|
12960
|
+
this.currentLayout = this.smartComponentLayout;
|
|
12954
12961
|
this.uuid = this.parentSmartComponent.uuid;
|
|
12955
12962
|
this.treeService = this.parentSmartComponent.smartTreeService;
|
|
12956
12963
|
this.smartComponentLayout?.direction;
|
|
@@ -12988,8 +12995,11 @@ class SmartComponentLayoutComponent {
|
|
|
12988
12995
|
data.expandable = false;
|
|
12989
12996
|
this.expandableSection = {
|
|
12990
12997
|
title: this.smartComponentLayout?.expandableSectionLabel ?? '',
|
|
12991
|
-
|
|
12992
|
-
|
|
12998
|
+
inputs: new Map([
|
|
12999
|
+
['smartComponentLayout', data],
|
|
13000
|
+
['parentSmartComponent', this.parentSmartComponent],
|
|
13001
|
+
['parentLayoutComponent', this.parentLayoutComponent],
|
|
13002
|
+
]),
|
|
12993
13003
|
customComponent: SmartComponentLayoutComponent,
|
|
12994
13004
|
};
|
|
12995
13005
|
}
|