veo-sdk 0.5.16 → 0.5.17
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-CMSFET5V.mjs +5 -0
- package/dist/{builder-M6QP7H3A.mjs.map → builder-CMSFET5V.mjs.map} +1 -1
- package/dist/builder.cjs +0 -32
- package/dist/builder.cjs.map +1 -1
- package/dist/builder.mjs +4 -4
- package/dist/{chunk-KSQJQ2UU.mjs → chunk-5Q6CFNW4.mjs} +2 -34
- package/dist/chunk-5Q6CFNW4.mjs.map +1 -0
- package/dist/{chunk-GRKV26HT.mjs → chunk-L3KS6G7T.mjs} +3 -3
- package/dist/{chunk-GRKV26HT.mjs.map → chunk-L3KS6G7T.mjs.map} +1 -1
- package/dist/{chunk-362B5ACY.mjs → chunk-Z73XWYE3.mjs} +3 -3
- package/dist/{chunk-362B5ACY.mjs.map → chunk-Z73XWYE3.mjs.map} +1 -1
- package/dist/index.cjs +0 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/veo-builder.js +5 -5
- package/dist/veo-builder.js.map +1 -1
- package/dist/veo-guides.js +4 -4
- package/dist/veo-guides.js.map +1 -1
- package/package.json +1 -1
- package/dist/builder-M6QP7H3A.mjs +0 -5
- package/dist/chunk-KSQJQ2UU.mjs.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { VEO_BLOCK_MIME, attachBlockDropTarget, attachDesignManipulator, createBuilderSession, initBuilderMode, startElementPicker, stopElementPicker } from './chunk-Z73XWYE3.mjs';
|
|
2
|
+
import './chunk-5Q6CFNW4.mjs';
|
|
3
|
+
import './chunk-PTG3BTJE.mjs';
|
|
4
|
+
//# sourceMappingURL=builder-CMSFET5V.mjs.map
|
|
5
|
+
//# sourceMappingURL=builder-CMSFET5V.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"builder-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"builder-CMSFET5V.mjs"}
|
package/dist/builder.cjs
CHANGED
|
@@ -2267,36 +2267,10 @@ var ROW_ALIGN = {
|
|
|
2267
2267
|
right: "flex-end"
|
|
2268
2268
|
};
|
|
2269
2269
|
var CompositeRenderer = class extends BaseRenderer {
|
|
2270
|
-
constructor() {
|
|
2271
|
-
super(...arguments);
|
|
2272
|
-
/** Delegado para pasos `badge` (reusa el BadgeRenderer con un step sintético). */
|
|
2273
|
-
this.badgeDelegate = null;
|
|
2274
|
-
}
|
|
2275
2270
|
async render(context) {
|
|
2276
2271
|
const idx = context.nav?.stepIndex ?? 0;
|
|
2277
2272
|
const step = context.guide.guideSteps[idx];
|
|
2278
2273
|
if (!step) return;
|
|
2279
|
-
if (step.presentation === "badge") {
|
|
2280
|
-
const syntheticStep = {
|
|
2281
|
-
title: "",
|
|
2282
|
-
content: "",
|
|
2283
|
-
selector: step.anchorSelector ?? void 0,
|
|
2284
|
-
blocks: step.blocks ?? [],
|
|
2285
|
-
style: {
|
|
2286
|
-
...step.design ?? {},
|
|
2287
|
-
...step.badge ? { badge: step.badge } : {},
|
|
2288
|
-
...step.badgeTrigger ? { badgeTrigger: step.badgeTrigger } : {}
|
|
2289
|
-
}
|
|
2290
|
-
};
|
|
2291
|
-
const syntheticGuide = {
|
|
2292
|
-
...context.guide,
|
|
2293
|
-
guideSteps: [syntheticStep]
|
|
2294
|
-
};
|
|
2295
|
-
const { nav: _nav, ...rest } = context;
|
|
2296
|
-
this.badgeDelegate = new BadgeRenderer();
|
|
2297
|
-
await this.badgeDelegate.render({ ...rest, guide: syntheticGuide });
|
|
2298
|
-
return;
|
|
2299
|
-
}
|
|
2300
2274
|
const anchorSelector = step.position === "relative-to-element" || step.presentation === "inline" ? step.anchorSelector?.trim() || void 0 : void 0;
|
|
2301
2275
|
let anchor = null;
|
|
2302
2276
|
if (anchorSelector) {
|
|
@@ -2530,12 +2504,6 @@ var CompositeRenderer = class extends BaseRenderer {
|
|
|
2530
2504
|
if (context.nav?.callbacks) context.nav.callbacks.onSkip();
|
|
2531
2505
|
else context.onClose();
|
|
2532
2506
|
}
|
|
2533
|
-
/** Además del host propio, destruye el delegado de badge si lo hubo. */
|
|
2534
|
-
destroy() {
|
|
2535
|
-
this.badgeDelegate?.destroy();
|
|
2536
|
-
this.badgeDelegate = null;
|
|
2537
|
-
super.destroy();
|
|
2538
|
-
}
|
|
2539
2507
|
};
|
|
2540
2508
|
function inlinePosOf(p) {
|
|
2541
2509
|
return p === "before" || p === "prepend" || p === "append" ? p : "after";
|