veo-sdk 0.5.24 → 0.5.25
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/builder-HDTWSDJR.mjs +5 -0
- package/dist/{builder-JSL3OZPL.mjs.map → builder-HDTWSDJR.mjs.map} +1 -1
- package/dist/builder.cjs +8 -2
- package/dist/builder.cjs.map +1 -1
- package/dist/builder.mjs +4 -4
- package/dist/{chunk-E7CL4HPS.mjs → chunk-5F3DX5VP.mjs} +3 -3
- package/dist/{chunk-E7CL4HPS.mjs.map → chunk-5F3DX5VP.mjs.map} +1 -1
- package/dist/{chunk-GEGPKAAU.mjs → chunk-RDV5GIU7.mjs} +3 -3
- package/dist/{chunk-GEGPKAAU.mjs.map → chunk-RDV5GIU7.mjs.map} +1 -1
- package/dist/{chunk-Y3OWX2KW.mjs → chunk-ZK4HWKL3.mjs} +10 -4
- package/dist/chunk-ZK4HWKL3.mjs.map +1 -0
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/veo-builder.js +1 -1
- package/dist/veo-builder.js.map +1 -1
- package/dist/veo-guides.js +1 -1
- package/dist/veo-guides.js.map +1 -1
- package/package.json +1 -1
- package/dist/builder-JSL3OZPL.mjs +0 -5
- package/dist/chunk-Y3OWX2KW.mjs.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { VEO_BLOCK_MIME, attachBlockDropTarget, attachDesignManipulator, createBuilderSession, initBuilderMode, startElementPicker, stopElementPicker } from './chunk-5F3DX5VP.mjs';
|
|
2
|
+
import './chunk-ZK4HWKL3.mjs';
|
|
3
|
+
import './chunk-PTG3BTJE.mjs';
|
|
4
|
+
//# sourceMappingURL=builder-HDTWSDJR.mjs.map
|
|
5
|
+
//# sourceMappingURL=builder-HDTWSDJR.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"builder-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"builder-HDTWSDJR.mjs"}
|
package/dist/builder.cjs
CHANGED
|
@@ -1968,11 +1968,17 @@ function mountCodeBlock(block, doc, context) {
|
|
|
1968
1968
|
if (typeof block.html === "string" && block.html.trim()) {
|
|
1969
1969
|
node = doc.createElement("div");
|
|
1970
1970
|
node.className = "veo-code-html";
|
|
1971
|
-
node.
|
|
1972
|
-
for (const
|
|
1971
|
+
const inner = node.attachShadow({ mode: "open" });
|
|
1972
|
+
for (const sheet of Array.from(hostDoc.querySelectorAll('link[rel="stylesheet"], style'))) {
|
|
1973
|
+
inner.appendChild(sheet.cloneNode(true));
|
|
1974
|
+
}
|
|
1975
|
+
const holder = doc.createElement("div");
|
|
1976
|
+
holder.innerHTML = block.html;
|
|
1977
|
+
for (const old of Array.from(holder.querySelectorAll("script"))) {
|
|
1973
1978
|
injected.push(runScript(old, hostDoc));
|
|
1974
1979
|
old.remove();
|
|
1975
1980
|
}
|
|
1981
|
+
inner.appendChild(holder);
|
|
1976
1982
|
}
|
|
1977
1983
|
if (typeof block.js === "string" && block.js.trim()) {
|
|
1978
1984
|
const s = hostDoc.createElement("script");
|