@shijiu/jsview-vue 2.1.341-test.0 → 2.1.363-test.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/bin/browser/BrowserApic.vue.mjs +2 -2
- package/bin/browser/BrowserApic2.vue.mjs +2 -2
- package/bin/browser/BrowserApicLib.mjs +2 -2
- package/bin/browser/BrowserAudio.vue.mjs +1 -1
- package/bin/browser/BrowserJsvLatex.vue.mjs +1 -1
- package/bin/browser/BrowserJsvPlayer.vue.mjs +1 -1
- package/bin/browser/BrowserPreload.vue.mjs +1 -12
- package/bin/browser/BrowserQrcode.vue.mjs +1 -1
- package/bin/browser/BrowserSpray.vue.mjs +1 -1
- package/bin/browser/BrowserTextureAnim.vue.mjs +2 -2
- package/bin/jsview-vue.mjs +283 -180
- package/package.json +1 -1
- package/tools/config/rollup.config.mjs +3 -3
- package/tools/jsview-vue-build.mjs +22 -68
- package/utils/JsViewPlugin/JsvAudio/JsvAudio.vue +4 -2
- package/utils/JsViewPlugin/JsvAudio/version.js +3 -3
- package/utils/JsViewPlugin/JsvAudio/version.mjs +3 -3
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.ts +1 -1
- package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.js +1 -1
- package/utils/JsViewVueWidget/JsvPreload/BrowserPreload.vue +18 -26
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +43 -45
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +1 -1
- package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +39 -14
- /package/bin/{jsview-common.mjs → jsview-vue-common.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { shallowRef, onMounted, openBlock,
|
|
1
|
+
import { shallowRef, onMounted, openBlock, createElementBlock, normalizeStyle } from 'vue';
|
|
2
2
|
import { W as WebpData, G as GifData, V as Viewer } from './BrowserApicLib.mjs';
|
|
3
|
-
import { L as LoopType } from '../jsview-common.mjs';
|
|
3
|
+
import { L as LoopType } from '../jsview-vue-common.mjs';
|
|
4
4
|
|
|
5
5
|
//!
|
|
6
6
|
//! utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { shallowRef, onMounted, openBlock,
|
|
1
|
+
import { shallowRef, onMounted, openBlock, createElementBlock, normalizeStyle } from 'vue';
|
|
2
2
|
import { W as WebpData, G as GifData, V as Viewer } from './BrowserApicLib.mjs';
|
|
3
|
-
import { L as LoopType } from '../jsview-common.mjs';
|
|
3
|
+
import { L as LoopType } from '../jsview-vue-common.mjs';
|
|
4
4
|
|
|
5
5
|
//!
|
|
6
6
|
//! utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LoopToolBase, L as LoopType, A as ApicEndState } from '../jsview-common.mjs';
|
|
1
|
+
import { a as LoopToolBase, L as LoopType, A as ApicEndState } from '../jsview-vue-common.mjs';
|
|
2
2
|
|
|
3
3
|
//!
|
|
4
4
|
//! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.js;
|
|
@@ -66,7 +66,7 @@ class PartLoopTool extends LoopToolBase {
|
|
|
66
66
|
this.mTotalFrameNum = frameNum;
|
|
67
67
|
this.mValid = this.updateLoop();
|
|
68
68
|
if (!this.mValid) {
|
|
69
|
-
|
|
69
|
+
console.log("PartLoopTool init loop info error." + this.mLoopInfo.toString());
|
|
70
70
|
} else {
|
|
71
71
|
this.mNextFrameIndex = this.mCurLoopStartFrame;
|
|
72
72
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Forge } from '@shijiu/jsview/dom/jsv-forge-define';
|
|
2
|
-
import { shallowRef, openBlock, normalizeStyle, createElementVNode
|
|
2
|
+
import { shallowRef, openBlock, createElementBlock, normalizeStyle, createElementVNode } from 'vue';
|
|
3
3
|
import { _ as _export_sfc } from '../export-sfc.mjs';
|
|
4
4
|
|
|
5
5
|
//!
|
|
@@ -6,8 +6,6 @@ import { reactive, watchEffect, onBeforeUnmount, openBlock, createElementBlock,
|
|
|
6
6
|
/*!
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
9
|
*/
|
|
12
10
|
const _sfc_main = {
|
|
13
11
|
__name: "BrowserPreload",
|
|
@@ -109,22 +107,13 @@ const _sfc_main = {
|
|
|
109
107
|
downloadNum += item2 ? 1 : 0;
|
|
110
108
|
});
|
|
111
109
|
if (downloadNum + downloadIsNullNum == downloadStateList.length) {
|
|
112
|
-
props.onDownloadDone?.(
|
|
113
|
-
downloadUrlList,
|
|
114
|
-
downloadResultMap
|
|
115
|
-
);
|
|
110
|
+
props.onDownloadDone?.(downloadUrlList, downloadResultMap);
|
|
116
111
|
}
|
|
117
112
|
}
|
|
118
113
|
};
|
|
119
114
|
image.src = item.url;
|
|
120
115
|
});
|
|
121
116
|
};
|
|
122
|
-
if (props.preloadList) {
|
|
123
|
-
getPreloadList();
|
|
124
|
-
}
|
|
125
|
-
if (props.downloadList) {
|
|
126
|
-
getDownloadList();
|
|
127
|
-
}
|
|
128
117
|
watchEffect(() => {
|
|
129
118
|
if (props.preloadList) {
|
|
130
119
|
console.log("JsvPreload: update preloadList");
|