@pooder/kit 6.2.1 → 6.2.2
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/.test-dist/src/extensions/dieline/renderBuilder.js +19 -2
- package/.test-dist/src/extensions/image/ImageTool.js +46 -348
- package/.test-dist/src/extensions/image/sessionOverlay.js +148 -0
- package/.test-dist/src/extensions/ruler/RulerTool.js +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +2 -5
- package/dist/index.d.ts +2 -5
- package/dist/index.js +1104 -1252
- package/dist/index.mjs +1103 -1251
- package/package.json +1 -1
- package/src/extensions/dieline/renderBuilder.ts +26 -4
- package/src/extensions/image/ImageTool.ts +57 -412
- package/src/extensions/image/sessionOverlay.ts +206 -0
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -137,6 +137,7 @@ declare class ImageTool implements Extension {
|
|
|
137
137
|
private computeMoveSnapMatches;
|
|
138
138
|
private areSnapMatchesEqual;
|
|
139
139
|
private updateSnapMatchState;
|
|
140
|
+
private clearSnapGuideContext;
|
|
140
141
|
private clearSnapPreview;
|
|
141
142
|
private endMoveSnapInteraction;
|
|
142
143
|
private applyMoveSnapToTarget;
|
|
@@ -187,7 +188,6 @@ declare class ImageTool implements Extension {
|
|
|
187
188
|
private updateConfig;
|
|
188
189
|
private getFrameRect;
|
|
189
190
|
private getFrameRectScreen;
|
|
190
|
-
private toLayoutSceneRect;
|
|
191
191
|
private resolveDefaultFitArea;
|
|
192
192
|
private fitImageToDefaultArea;
|
|
193
193
|
private getImageObjects;
|
|
@@ -201,11 +201,8 @@ declare class ImageTool implements Extension {
|
|
|
201
201
|
private loadImageSize;
|
|
202
202
|
private getCoverScale;
|
|
203
203
|
private getFrameVisualConfig;
|
|
204
|
-
private
|
|
205
|
-
private resolveSceneGeometryForOverlay;
|
|
206
|
-
private resolveCutShapeRadius;
|
|
204
|
+
private resolveSessionOverlayState;
|
|
207
205
|
private getCropShapeHatchPattern;
|
|
208
|
-
private buildCropShapeOverlaySpecs;
|
|
209
206
|
private resolveRenderImageState;
|
|
210
207
|
private computeCanvasProps;
|
|
211
208
|
private toSceneObjectScale;
|
package/dist/index.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ declare class ImageTool implements Extension {
|
|
|
137
137
|
private computeMoveSnapMatches;
|
|
138
138
|
private areSnapMatchesEqual;
|
|
139
139
|
private updateSnapMatchState;
|
|
140
|
+
private clearSnapGuideContext;
|
|
140
141
|
private clearSnapPreview;
|
|
141
142
|
private endMoveSnapInteraction;
|
|
142
143
|
private applyMoveSnapToTarget;
|
|
@@ -187,7 +188,6 @@ declare class ImageTool implements Extension {
|
|
|
187
188
|
private updateConfig;
|
|
188
189
|
private getFrameRect;
|
|
189
190
|
private getFrameRectScreen;
|
|
190
|
-
private toLayoutSceneRect;
|
|
191
191
|
private resolveDefaultFitArea;
|
|
192
192
|
private fitImageToDefaultArea;
|
|
193
193
|
private getImageObjects;
|
|
@@ -201,11 +201,8 @@ declare class ImageTool implements Extension {
|
|
|
201
201
|
private loadImageSize;
|
|
202
202
|
private getCoverScale;
|
|
203
203
|
private getFrameVisualConfig;
|
|
204
|
-
private
|
|
205
|
-
private resolveSceneGeometryForOverlay;
|
|
206
|
-
private resolveCutShapeRadius;
|
|
204
|
+
private resolveSessionOverlayState;
|
|
207
205
|
private getCropShapeHatchPattern;
|
|
208
|
-
private buildCropShapeOverlaySpecs;
|
|
209
206
|
private resolveRenderImageState;
|
|
210
207
|
private computeCanvasProps;
|
|
211
208
|
private toSceneObjectScale;
|