@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260429112313 → 0.8.1-dev.20260430100756
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/dist/index.js +7 -0
- package/dist/index.mjs +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3965,6 +3965,13 @@ var WidgetNode = (props) => {
|
|
|
3965
3965
|
widgetParameters = rawWidgetParams;
|
|
3966
3966
|
}
|
|
3967
3967
|
}
|
|
3968
|
+
if (props.dataitem && typeof props.dataitem === "object") {
|
|
3969
|
+
Object.keys(widgetParameters).forEach((key) => {
|
|
3970
|
+
if (props.dataitem[key] !== void 0 && props.dataitem[key] !== null) {
|
|
3971
|
+
widgetParameters[key] = props.dataitem[key];
|
|
3972
|
+
}
|
|
3973
|
+
});
|
|
3974
|
+
}
|
|
3968
3975
|
const resolveValue = (val) => {
|
|
3969
3976
|
if (typeof val === "string") {
|
|
3970
3977
|
const m = /^\{(.+)\}$/.exec(val);
|
package/dist/index.mjs
CHANGED
|
@@ -2592,6 +2592,13 @@ var WidgetNode = (props) => {
|
|
|
2592
2592
|
widgetParameters = rawWidgetParams;
|
|
2593
2593
|
}
|
|
2594
2594
|
}
|
|
2595
|
+
if (props.dataitem && typeof props.dataitem === "object") {
|
|
2596
|
+
Object.keys(widgetParameters).forEach((key) => {
|
|
2597
|
+
if (props.dataitem[key] !== void 0 && props.dataitem[key] !== null) {
|
|
2598
|
+
widgetParameters[key] = props.dataitem[key];
|
|
2599
|
+
}
|
|
2600
|
+
});
|
|
2601
|
+
}
|
|
2595
2602
|
const resolveValue = (val) => {
|
|
2596
2603
|
if (typeof val === "string") {
|
|
2597
2604
|
const m = /^\{(.+)\}$/.exec(val);
|
package/package.json
CHANGED