@versa_ai/vmml-editor 1.0.31 → 1.0.32
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/.turbo/turbo-build.log +8 -8
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +1 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @versa_ai/vmml-editor@1.0.
|
|
2
|
+
> @versa_ai/vmml-editor@1.0.32 build D:\code\work\vmml-player\packages\editor
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
|
@@ -123,13 +123,13 @@ More info and automated migrator: https://sass-lang.com/d/slash-div[0m [1m[35
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
126
|
+
[32mCJS[39m [1mdist\index.js [22m[32m115.87 KB[39m
|
|
127
|
+
[32mCJS[39m [1mdist\index.js.map [22m[32m221.07 KB[39m
|
|
128
|
+
[32mCJS[39m ⚡️ Build success in 906ms
|
|
129
|
+
[32mESM[39m [1mdist\index.mjs [22m[32m114.26 KB[39m
|
|
130
|
+
[32mESM[39m [1mdist\index.mjs.map [22m[32m220.78 KB[39m
|
|
131
|
+
[32mESM[39m ⚡️ Build success in 906ms
|
|
126
132
|
[34mDTS[39m Build start
|
|
127
|
-
[
|
|
128
|
-
[32mESM[39m [1mdist\index.mjs.map [22m[32m220.87 KB[39m
|
|
129
|
-
[32mESM[39m ⚡️ Build success in 852ms
|
|
130
|
-
[32mCJS[39m [1mdist\index.js [22m[32m115.92 KB[39m
|
|
131
|
-
[32mCJS[39m [1mdist\index.js.map [22m[32m221.16 KB[39m
|
|
132
|
-
[32mCJS[39m ⚡️ Build success in 853ms
|
|
133
|
-
[32mDTS[39m ⚡️ Build success in 7106ms
|
|
133
|
+
[32mDTS[39m ⚡️ Build success in 1918ms
|
|
134
134
|
[32mDTS[39m [1mdist\index.d.ts [22m[32m158.00 B[39m
|
|
135
135
|
[32mDTS[39m [1mdist\index.d.mts [22m[32m158.00 B[39m
|
package/dist/index.js
CHANGED
|
@@ -2723,10 +2723,8 @@ var EditorFn = ({
|
|
|
2723
2723
|
if (player) {
|
|
2724
2724
|
const parent = player.getContainerNode();
|
|
2725
2725
|
if (!canvasSize.width) {
|
|
2726
|
-
console.log(parent, "parent>>>>");
|
|
2727
2726
|
const playerElement = parent == null ? void 0 : parent.children[0];
|
|
2728
2727
|
const { width, height: height2 } = (playerElement == null ? void 0 : playerElement.getBoundingClientRect()) || {};
|
|
2729
|
-
console.log(height2);
|
|
2730
2728
|
setCanvasSize({ width, height: height2, top: playerElement.offsetTop });
|
|
2731
2729
|
}
|
|
2732
2730
|
player.addEventListener("play", onPlay);
|
|
@@ -2771,6 +2769,7 @@ var EditorFn = ({
|
|
|
2771
2769
|
const isSame = JSON.stringify(v) === JSON.stringify(vmmlState);
|
|
2772
2770
|
console.log(v, vmmlState, isSame, "\u5224\u65ADvmml\u662F\u5426\u76F8\u540C");
|
|
2773
2771
|
needPlay.current = false;
|
|
2772
|
+
once.current = false;
|
|
2774
2773
|
const convertedVmml = vmmlUtils.convertVmmlTextScaleByForbidden(v);
|
|
2775
2774
|
if (!isSame) {
|
|
2776
2775
|
(_b = (_a2 = canvasCurrent == null ? void 0 : canvasCurrent.getCanvasCtx()) == null ? void 0 : _a2.clear) == null ? void 0 : _b.call(_a2);
|