cat-qw-lib 2.1.55 → 2.1.57
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -5787,18 +5787,22 @@ class WidgetContainerComponent {
|
|
|
5787
5787
|
.pipe(takeUntil(this.destroy$))
|
|
5788
5788
|
.subscribe((data) => {
|
|
5789
5789
|
if (data) {
|
|
5790
|
+
console.log(data, 'fara1');
|
|
5790
5791
|
this.updateWidgetStyles(data[0]);
|
|
5791
5792
|
this.onUpdatedWidgetList.emit(data);
|
|
5792
5793
|
}
|
|
5793
5794
|
});
|
|
5794
5795
|
}
|
|
5795
5796
|
updateWidgetStyles(widget) {
|
|
5797
|
+
console.log(widget, 'widget');
|
|
5796
5798
|
if (widget.style) {
|
|
5797
5799
|
const parsedItemStyle = this.styleBulderService.parseStyleObject(widget.style.widgetCardStyle);
|
|
5798
5800
|
const styleExpression = this.styleBulderService.parseStyleObject(widget.style.widgetCardStyleExpression);
|
|
5799
5801
|
this.widgetCardStyle = this.styleBulderService.getItemStyle(parsedItemStyle);
|
|
5802
|
+
console.log(this.widgetCardStyle, 'testing3999');
|
|
5800
5803
|
this.widgetCardStyleExpression = widget.style.widgetCardStyleExpression ? this.styleBulderService.getItemStyle(styleExpression) : {};
|
|
5801
5804
|
this.widgetCombinedStyle = { ...this.widgetCardStyle, ...this.widgetCardStyleExpression };
|
|
5805
|
+
console.log(this.widgetCombinedStyle, 'test778');
|
|
5802
5806
|
}
|
|
5803
5807
|
}
|
|
5804
5808
|
ngOnChanges(changes) {
|