labellife-design-tool 1.3.6 → 1.3.8
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/lib/lib/index.js
CHANGED
|
@@ -2861,8 +2861,16 @@ var CanvasEditor = forwardRef(({ name, config, store }, ref) => {
|
|
|
2861
2861
|
console.log("Built-in panels:", Object.entries(builtInConfigs).map(([id, config2]) => ({
|
|
2862
2862
|
id,
|
|
2863
2863
|
componentType: typeof config2.component,
|
|
2864
|
-
componentName: config2.component.name || "anonymous"
|
|
2864
|
+
componentName: config2.component.name || "anonymous",
|
|
2865
|
+
componentIsFunction: typeof config2.component === "function",
|
|
2866
|
+
componentDetails: config2.component
|
|
2865
2867
|
})));
|
|
2868
|
+
console.log("ElementPanel details:", {
|
|
2869
|
+
ElementPanel: ElementPanel_default,
|
|
2870
|
+
elementType: typeof ElementPanel_default,
|
|
2871
|
+
elementIsFunction: typeof ElementPanel_default === "function",
|
|
2872
|
+
elementName: ElementPanel_default.name || "anonymous"
|
|
2873
|
+
});
|
|
2866
2874
|
const mergedConfigs = { ...builtInConfigs };
|
|
2867
2875
|
if (config?.panels) {
|
|
2868
2876
|
config.panels.forEach((panelConfig) => {
|
|
@@ -2935,6 +2943,12 @@ var CanvasEditor = forwardRef(({ name, config, store }, ref) => {
|
|
|
2935
2943
|
}, "Invalid panel component");
|
|
2936
2944
|
}
|
|
2937
2945
|
console.log("DynamicPanelRenderer: Rendering panel:", activePanel.id);
|
|
2946
|
+
console.log("About to render with component:", {
|
|
2947
|
+
component: PanelComponent,
|
|
2948
|
+
componentType: typeof PanelComponent,
|
|
2949
|
+
isFunction: typeof PanelComponent === "function",
|
|
2950
|
+
componentName: PanelComponent.name || "anonymous"
|
|
2951
|
+
});
|
|
2938
2952
|
return /* @__PURE__ */ React17.createElement(PanelComponent, {
|
|
2939
2953
|
key: activePanel.id,
|
|
2940
2954
|
...activePanel.props
|
package/dist/lib/wordpress.js
CHANGED
|
@@ -2861,8 +2861,16 @@ var CanvasEditor = forwardRef(({ name, config, store }, ref) => {
|
|
|
2861
2861
|
console.log("Built-in panels:", Object.entries(builtInConfigs).map(([id, config2]) => ({
|
|
2862
2862
|
id,
|
|
2863
2863
|
componentType: typeof config2.component,
|
|
2864
|
-
componentName: config2.component.name || "anonymous"
|
|
2864
|
+
componentName: config2.component.name || "anonymous",
|
|
2865
|
+
componentIsFunction: typeof config2.component === "function",
|
|
2866
|
+
componentDetails: config2.component
|
|
2865
2867
|
})));
|
|
2868
|
+
console.log("ElementPanel details:", {
|
|
2869
|
+
ElementPanel: ElementPanel_default,
|
|
2870
|
+
elementType: typeof ElementPanel_default,
|
|
2871
|
+
elementIsFunction: typeof ElementPanel_default === "function",
|
|
2872
|
+
elementName: ElementPanel_default.name || "anonymous"
|
|
2873
|
+
});
|
|
2866
2874
|
const mergedConfigs = { ...builtInConfigs };
|
|
2867
2875
|
if (config?.panels) {
|
|
2868
2876
|
config.panels.forEach((panelConfig) => {
|
|
@@ -2935,6 +2943,12 @@ var CanvasEditor = forwardRef(({ name, config, store }, ref) => {
|
|
|
2935
2943
|
}, "Invalid panel component");
|
|
2936
2944
|
}
|
|
2937
2945
|
console.log("DynamicPanelRenderer: Rendering panel:", activePanel.id);
|
|
2946
|
+
console.log("About to render with component:", {
|
|
2947
|
+
component: PanelComponent,
|
|
2948
|
+
componentType: typeof PanelComponent,
|
|
2949
|
+
isFunction: typeof PanelComponent === "function",
|
|
2950
|
+
componentName: PanelComponent.name || "anonymous"
|
|
2951
|
+
});
|
|
2938
2952
|
return /* @__PURE__ */ React17.createElement(PanelComponent, {
|
|
2939
2953
|
key: activePanel.id,
|
|
2940
2954
|
...activePanel.props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CanvasEditor.d.ts","sourceRoot":"","sources":["../../src/CanvasEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmF,MAAM,OAAO,CAAC;AA4ExG,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,YAAY;UAAuC,MAAM;aAAW,MAAM;WAAS,iBAAiB;
|
|
1
|
+
{"version":3,"file":"CanvasEditor.d.ts","sourceRoot":"","sources":["../../src/CanvasEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmF,MAAM,OAAO,CAAC;AA4ExG,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,YAAY;UAAuC,MAAM;aAAW,MAAM;WAAS,iBAAiB;yCAujBxG,CAAC;AAIH,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED