@spiffcommerce/core 21.13.2-alpha.0 → 21.14.0-alpha.0
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.ts +9 -1
- package/dist/index.js +456 -458
- package/dist/index.umd.cjs +12 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ declare class LayoutPreviewBridge implements RenderableContext {
|
|
|
306
306
|
hasSetStaticContext: boolean;
|
|
307
307
|
private readonly id;
|
|
308
308
|
private readonly name;
|
|
309
|
+
private readonly panelSize;
|
|
309
310
|
private service;
|
|
310
311
|
private interactiveDirty;
|
|
311
312
|
private textureCtx?;
|
|
@@ -314,9 +315,16 @@ declare class LayoutPreviewBridge implements RenderableContext {
|
|
|
314
315
|
private lastCompletedStaticRender;
|
|
315
316
|
private lastModificationID;
|
|
316
317
|
private renderQueue;
|
|
317
|
-
constructor(id: string, name: string, service: LayoutPreviewService
|
|
318
|
+
constructor(id: string, name: string, service: LayoutPreviewService, panelSize: {
|
|
319
|
+
width: number;
|
|
320
|
+
height: number;
|
|
321
|
+
});
|
|
318
322
|
getID(): string;
|
|
319
323
|
getName(): string;
|
|
324
|
+
getPanelSize(): {
|
|
325
|
+
width: number;
|
|
326
|
+
height: number;
|
|
327
|
+
};
|
|
320
328
|
getStaticContext(): CanvasRenderingContext2D | undefined;
|
|
321
329
|
/**
|
|
322
330
|
* Register canvas to be rendered to.
|