@versa_ai/vmml-editor 1.0.35 → 1.0.36
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 +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +8 -3
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.36 build D:\code\work\vmml-player\packages\editor
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
|
@@ -124,12 +124,12 @@ More info and automated migrator: https://sass-lang.com/d/slash-div[0m [1m[35
|
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
[34mDTS[39m Build start
|
|
127
|
-
[
|
|
128
|
-
[
|
|
129
|
-
[
|
|
130
|
-
[
|
|
131
|
-
[
|
|
132
|
-
[
|
|
133
|
-
[32mDTS[39m ⚡️ Build success in
|
|
127
|
+
[32mCJS[39m [1mdist\index.js [22m[32m117.01 KB[39m
|
|
128
|
+
[32mCJS[39m [1mdist\index.js.map [22m[32m223.36 KB[39m
|
|
129
|
+
[32mCJS[39m ⚡️ Build success in 671ms
|
|
130
|
+
[32mESM[39m [1mdist\index.mjs [22m[32m115.40 KB[39m
|
|
131
|
+
[32mESM[39m [1mdist\index.mjs.map [22m[32m223.07 KB[39m
|
|
132
|
+
[32mESM[39m ⚡️ Build success in 672ms
|
|
133
|
+
[32mDTS[39m ⚡️ Build success in 1538ms
|
|
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
|
@@ -2652,6 +2652,15 @@ var EditorFn = ({
|
|
|
2652
2652
|
setIsPlaying(false);
|
|
2653
2653
|
};
|
|
2654
2654
|
const onWaiting = () => {
|
|
2655
|
+
var _a2, _b;
|
|
2656
|
+
console.log("onWaiting>>>>>>>>>>>>>>consol");
|
|
2657
|
+
const { current } = vmmlPlayerRef;
|
|
2658
|
+
const playing = ((_b = (_a2 = current == null ? void 0 : current.playerRef) == null ? void 0 : _a2.isPlaying) == null ? void 0 : _b.call(_a2)) ?? false;
|
|
2659
|
+
if (playing) {
|
|
2660
|
+
setShowCanvas(false);
|
|
2661
|
+
setPreviewState(true);
|
|
2662
|
+
setBuffering(true);
|
|
2663
|
+
}
|
|
2655
2664
|
};
|
|
2656
2665
|
const onResume = () => {
|
|
2657
2666
|
setBuffering(false);
|