@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260318114514 → 0.8.1-dev.20260318123742
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2978,8 +2978,9 @@ var WidgetNode = (props) => {
|
|
|
2978
2978
|
widgetInputParameters["widgetTitle"] = props.node?.widgetTitle;
|
|
2979
2979
|
return widgetInputParameters;
|
|
2980
2980
|
};
|
|
2981
|
-
const SelectedWidget = props.
|
|
2981
|
+
const SelectedWidget = props.widgetRegistry?.[props.node.widgetCode];
|
|
2982
2982
|
if (!SelectedWidget) {
|
|
2983
|
+
console.warn("Widget not found:", props.node.widgetCode);
|
|
2983
2984
|
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
2984
2985
|
"Widget not found: ",
|
|
2985
2986
|
props.node.widgetCode
|
|
@@ -3317,7 +3318,8 @@ var PageBodyRenderer = (props) => {
|
|
|
3317
3318
|
session: props.session,
|
|
3318
3319
|
host: props.host,
|
|
3319
3320
|
path: props.path,
|
|
3320
|
-
apiBaseUrl: props.apiBaseUrl
|
|
3321
|
+
apiBaseUrl: props.apiBaseUrl,
|
|
3322
|
+
widgetRegistry: props.widgetRegistry
|
|
3321
3323
|
}
|
|
3322
3324
|
) }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react49.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3323
3325
|
SelectedNode,
|
|
@@ -3328,7 +3330,8 @@ var PageBodyRenderer = (props) => {
|
|
|
3328
3330
|
session: props.session,
|
|
3329
3331
|
host: props.host,
|
|
3330
3332
|
path: props.path,
|
|
3331
|
-
apiBaseUrl: props.apiBaseUrl
|
|
3333
|
+
apiBaseUrl: props.apiBaseUrl,
|
|
3334
|
+
widgetRegistry: props.widgetRegistry
|
|
3332
3335
|
}
|
|
3333
3336
|
) }) }) }, index);
|
|
3334
3337
|
}) });
|
package/dist/index.mjs
CHANGED
|
@@ -2945,8 +2945,9 @@ var WidgetNode = (props) => {
|
|
|
2945
2945
|
widgetInputParameters["widgetTitle"] = props.node?.widgetTitle;
|
|
2946
2946
|
return widgetInputParameters;
|
|
2947
2947
|
};
|
|
2948
|
-
const SelectedWidget = props.
|
|
2948
|
+
const SelectedWidget = props.widgetRegistry?.[props.node.widgetCode];
|
|
2949
2949
|
if (!SelectedWidget) {
|
|
2950
|
+
console.warn("Widget not found:", props.node.widgetCode);
|
|
2950
2951
|
return /* @__PURE__ */ jsxs27(Fragment4, { children: [
|
|
2951
2952
|
"Widget not found: ",
|
|
2952
2953
|
props.node.widgetCode
|
|
@@ -3284,7 +3285,8 @@ var PageBodyRenderer = (props) => {
|
|
|
3284
3285
|
session: props.session,
|
|
3285
3286
|
host: props.host,
|
|
3286
3287
|
path: props.path,
|
|
3287
|
-
apiBaseUrl: props.apiBaseUrl
|
|
3288
|
+
apiBaseUrl: props.apiBaseUrl,
|
|
3289
|
+
widgetRegistry: props.widgetRegistry
|
|
3288
3290
|
}
|
|
3289
3291
|
) }) : /* @__PURE__ */ jsx58(React49.Fragment, { children: /* @__PURE__ */ jsx58(
|
|
3290
3292
|
SelectedNode,
|
|
@@ -3295,7 +3297,8 @@ var PageBodyRenderer = (props) => {
|
|
|
3295
3297
|
session: props.session,
|
|
3296
3298
|
host: props.host,
|
|
3297
3299
|
path: props.path,
|
|
3298
|
-
apiBaseUrl: props.apiBaseUrl
|
|
3300
|
+
apiBaseUrl: props.apiBaseUrl,
|
|
3301
|
+
widgetRegistry: props.widgetRegistry
|
|
3299
3302
|
}
|
|
3300
3303
|
) }) }) }, index);
|
|
3301
3304
|
}) });
|
package/package.json
CHANGED