@bluepic/embed 0.7.0-layouts.2 → 0.7.0-layouts.4

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.
@@ -1,5 +1,5 @@
1
1
  import { BillingV3, FieldsBridge, Render, Studio, Template } from '@bluepic/types';
2
- import { Ref } from 'vue';
2
+ import { Ref, type VNode } from 'vue';
3
3
  import { z } from '@hono/zod-openapi';
4
4
  import BxLiveTemplate from '../components/TemplateEditor/BxLiveTemplate.vue';
5
5
  import { type ExportAnalyticsSink, type RenderLocation } from './analytics';
@@ -139,6 +139,16 @@ siblings?: Ref<CanvasSiblingsApi | undefined>,
139
139
  pendingFields?: {
140
140
  pendingCount: Ref<number>;
141
141
  review: () => void;
142
+ },
143
+ /**
144
+ * Inline presentation (a host step such as bx-template's guided Share step):
145
+ * every export ends in the export view, handed to the host to render in its
146
+ * own page instead of a popup. Never bypassed, also for download-only pages.
147
+ */
148
+ inline?: {
149
+ enabled: Ref<boolean>;
150
+ present: (render: () => VNode) => void;
151
+ reviewFields: () => void;
142
152
  }): {
143
153
  triggerExport: () => Promise<void>;
144
154
  consumeOutputFor: (rowData: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluepic/embed",
3
- "version": "0.7.0-layouts.2",
3
+ "version": "0.7.0-layouts.4",
4
4
  "description": "Bluepic embed sdk",
5
5
  "type": "module",
6
6
  "sideEffects": false,