mce 0.29.5 → 0.29.7
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.js +2849 -2807
- package/dist/utils/canvas.d.ts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/png.d.ts +1 -4
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getMaxCanvasSide(): number;
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/png.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
export declare const MAX_CANVAS_SIDE = 16384;
|
|
3
|
-
export declare const MAX_CANVAS_AREA: number;
|
|
4
|
-
/** 当前环境是否支持绕过 canvas 的大图 PNG 编码(CompressionStream:Chrome80+/Safari16.4+/FF113+)。 */
|
|
1
|
+
/** 当前环境是否支持绕过 canvas 的 PNG 直编码(CompressionStream:Chrome80+/Safari16.4+/FF113+)。 */
|
|
5
2
|
export declare function supportsPngStream(): boolean;
|
|
6
3
|
/**
|
|
7
4
|
* 把 width×height 的 RGBA 像素编码为 PNG Blob(8 位、color type 6)。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.7",
|
|
5
5
|
"description": "A headless infinite canvas editor framework built on WebGL rendering, supports exporting to image, video, and PPT. Only the ESM.",
|
|
6
6
|
"author": "wxm",
|
|
7
7
|
"license": "MIT",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@vueuse/core": "^14.3.0",
|
|
61
61
|
"diff": "^9.0.0",
|
|
62
62
|
"lodash-es": "^4.18.1",
|
|
63
|
-
"modern-canvas": "^0.24.
|
|
63
|
+
"modern-canvas": "^0.24.11",
|
|
64
64
|
"modern-font": "^0.6.1",
|
|
65
65
|
"modern-idoc": "^0.12.1",
|
|
66
66
|
"modern-text": "^2.0.9",
|