@shijiu/jsview-vue 1.9.829 → 1.9.839
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/package.json +1 -1
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +1 -1
- package/utils/JsViewPlugin/JsvPlayer/index.js +1 -1
- package/utils/JsViewVueTools/JsvImpactTracer.js +1 -1
- package/utils/JsViewVueTools/JsvStyleClass.js +1 -1
- package/utils/JsViewVueWidget/BrowserDebugWidget/BrowserSpray.vue +1 -1
- package/utils/JsViewVueWidget/BrowserDebugWidget/WidgetWrapper.js +20 -3
- package/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.js +1 -1
- package/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.js +1 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic.vue +1 -1
- package/utils/JsViewVueWidget/JsvApic/index.js +1 -1
- package/utils/JsViewVueWidget/JsvFilterView.vue +1 -1
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +1 -1
- package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
- package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +1 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +1 -1
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +1 -1
- package/utils/JsViewVueWidget/JsvPreload/index.js +1 -1
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +1 -1
- package/utils/JsViewVueWidget/JsvQrcode/index.js +1 -1
- package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +1 -1
- package/utils/JsViewVueWidget/JsvSpray/index.js +1 -1
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +1 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +1 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/index.js +1 -1
- package/utils/JsViewVueWidget/JsvTouchContainer.vue +1 -1
- package/utils/JsViewVueWidget/JsvTransparentDiv.vue +1 -1
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +1 -1
- package/utils/JsViewEngineWidget/ForgeDefine.js +0 -7
- package/utils/JsViewVueWidget/BrowserDebugWidget/WidgetLoader.js +0 -27
package/package.json
CHANGED
|
@@ -182,6 +182,7 @@
|
|
|
182
182
|
|
|
183
183
|
<script setup>
|
|
184
184
|
/* eslint-disable */
|
|
185
|
+
import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
185
186
|
import {
|
|
186
187
|
ref,
|
|
187
188
|
reactive,
|
|
@@ -192,7 +193,6 @@ import {
|
|
|
192
193
|
toRaw,
|
|
193
194
|
nextTick,
|
|
194
195
|
} from "vue";
|
|
195
|
-
import Forge from "../ForgeDefine";
|
|
196
196
|
import { TemplateParser, TemplateItemAdder } from "../TemplateParser";
|
|
197
197
|
import { PageUpdater } from "./PageUpdater";
|
|
198
198
|
import { SingleRangeModel } from "../RangeModel";
|
|
@@ -5,7 +5,6 @@ import { getJsvPlayerCapabilitySet as getCapabilitySet } from "./JsvMedia.js"
|
|
|
5
5
|
import { setJsvPlayerDebugMode as setDebugMode } from "./JsvMedia.js"
|
|
6
6
|
import { getJsvPlayerRunningNum as getRunningPlayerNum } from "./JsvMedia.js"
|
|
7
7
|
import { globalLoadSetOperator as setOperator } from"./JsvMedia.js"
|
|
8
|
-
import { JsvWidgetWrapperGroup } from '../../JsViewVueWidget/BrowserDebugWidget/WidgetWrapper.js';
|
|
9
8
|
let _JsvPlayer = JsvPlayer;
|
|
10
9
|
|
|
11
10
|
let globalLoadJsvPlayerPlugin = initPlugin;
|
|
@@ -16,6 +15,7 @@ let globalLoadSetOperator = setOperator;
|
|
|
16
15
|
|
|
17
16
|
if (window.jsvIsBrowserDebug) {
|
|
18
17
|
// 浏览器版本
|
|
18
|
+
const { JsvWidgetWrapperGroup } = await import('../../JsViewVueWidget/BrowserDebugWidget/WidgetWrapper.js');
|
|
19
19
|
_JsvPlayer = JsvWidgetWrapperGroup.BrowserJsvPlayer;
|
|
20
20
|
|
|
21
21
|
// 为Browser重新定义初始化处理
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
* 经测试,react中对style属性的解析性能较低,属性大量的时候非常影响性能
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
|
+
import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
35
36
|
import { getCssStyleGroup } from "./JsvDynamicCssStyle";
|
|
36
|
-
import { Forge } from "../../../jsview/dom/jsv-forge-define";
|
|
37
37
|
|
|
38
38
|
let sIdGenerator = 100;
|
|
39
39
|
|
|
@@ -2,9 +2,26 @@
|
|
|
2
2
|
* Created by ludl on 5/13/21.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import BrowserApic from "./JsvApic/BrowserApic.vue";
|
|
6
|
+
import BrowserSpray from "./BrowserSpray.vue";
|
|
7
|
+
import BrowserPreload from "./BrowserPreload.vue";
|
|
8
|
+
import BrowserQrcode from "./BrowserQrcode.vue";
|
|
9
|
+
import BrowserTextureAnim from "./BrowserTextureAnim.vue";
|
|
10
|
+
import BrowserJsvPlayer from "../../JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue";
|
|
11
|
+
|
|
12
|
+
if (!window.jsvIsBrowserDebug) {
|
|
13
|
+
throw new Error('WidgetWrapper Error: Only support import it on Browser.')
|
|
8
14
|
}
|
|
15
|
+
console.log("JsView Utils: Load browser widgets.");
|
|
16
|
+
|
|
17
|
+
const JsvWidgetWrapperGroup = {
|
|
18
|
+
BrowserApic,
|
|
19
|
+
BrowserSpray,
|
|
20
|
+
BrowserPreload,
|
|
21
|
+
BrowserQrcode,
|
|
22
|
+
BrowserTextureAnim,
|
|
23
|
+
|
|
24
|
+
BrowserJsvPlayer,
|
|
25
|
+
};
|
|
9
26
|
|
|
10
27
|
export { JsvWidgetWrapperGroup };
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { Forge } from "
|
|
9
|
+
import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
10
10
|
import ActorControlBase from "./ActorControlBase";
|
|
11
11
|
|
|
12
12
|
const CONST_MOVE_TYPE_ACC = 1; // 抛物变速运动
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
//考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
|
|
9
|
-
import { JsvWidgetWrapperGroup } from "../BrowserDebugWidget/WidgetWrapper";
|
|
10
9
|
import * as JsvApic from "./JsvApic.vue";
|
|
11
10
|
let _JsvApic = JsvApic.default;
|
|
12
11
|
if (window.jsvIsBrowserDebug) {
|
|
12
|
+
const { JsvWidgetWrapperGroup } = await import("../BrowserDebugWidget/WidgetWrapper");
|
|
13
13
|
_JsvApic = JsvWidgetWrapperGroup.BrowserApic;
|
|
14
14
|
}
|
|
15
15
|
let component = _JsvApic;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* "gray-down": 黑白滤镜(公祭日滤镜)
|
|
12
12
|
-->
|
|
13
13
|
<script setup>
|
|
14
|
-
import { Forge, ForgeExtension } from "
|
|
14
|
+
import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
15
15
|
import { onBeforeUnmount, watchEffect } from "vue";
|
|
16
16
|
|
|
17
17
|
const props = defineProps({
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
-->
|
|
8
8
|
<script>
|
|
9
|
+
import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
9
10
|
import { EdgeDirection } from "../../JsViewEngineWidget";
|
|
10
|
-
import { Forge, ForgeExtension } from "../../../../jsview/dom/jsv-forge-define";
|
|
11
11
|
import CursorVue from "./Cursor.vue";
|
|
12
12
|
|
|
13
13
|
const InputType = {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* net_setting {object}: (未实现)网络加载参数,cookie, refer等,默认值 null
|
|
35
35
|
-->
|
|
36
36
|
<script>
|
|
37
|
-
import { Forge, ForgeExtension } from "
|
|
37
|
+
import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
38
38
|
|
|
39
39
|
const CONST_FORMAT_TOKEN = "_JsvP_";
|
|
40
40
|
const buildPreloadInfo = (
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
//考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
|
|
9
|
-
import { JsvWidgetWrapperGroup } from "../BrowserDebugWidget/WidgetWrapper";
|
|
10
9
|
import * as JsvPreload from "./JsvPreload.vue";
|
|
11
10
|
let _JsvPreload = JsvPreload.default;
|
|
12
11
|
if (window.jsvIsBrowserDebug) {
|
|
12
|
+
const { JsvWidgetWrapperGroup } = await import("../BrowserDebugWidget/WidgetWrapper");
|
|
13
13
|
_JsvPreload = JsvWidgetWrapperGroup.BrowserPreload;
|
|
14
14
|
}
|
|
15
15
|
let component = _JsvPreload;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
//考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
|
|
9
|
-
import { JsvWidgetWrapperGroup } from "../BrowserDebugWidget/WidgetWrapper";
|
|
10
9
|
import * as JsvQrcode from "./JsvQrcode.vue";
|
|
11
10
|
let _JsvQrcode = JsvQrcode.default;
|
|
12
11
|
if (window.jsvIsBrowserDebug) {
|
|
12
|
+
const { JsvWidgetWrapperGroup } = await import("../BrowserDebugWidget/WidgetWrapper");
|
|
13
13
|
_JsvQrcode = JsvWidgetWrapperGroup.BrowserQrcode;
|
|
14
14
|
}
|
|
15
15
|
let component = _JsvQrcode;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* enableShrink {boolean} 粒子缩小开关, 默认为false
|
|
34
34
|
-->
|
|
35
35
|
<script>
|
|
36
|
-
import { Forge, ForgeExtension } from "
|
|
36
|
+
import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
37
37
|
|
|
38
38
|
let buildForgeView = (pointRes, sprayStyle, sizeRef, ignoreClip) => {
|
|
39
39
|
if (!pointRes) {
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
//考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
|
|
9
|
-
import { JsvWidgetWrapperGroup } from "../BrowserDebugWidget/WidgetWrapper";
|
|
10
9
|
import * as JsvSpray from "./JsvSpray.vue";
|
|
11
10
|
let _JsvSpray = JsvSpray.default;
|
|
12
11
|
if (window.jsvIsBrowserDebug) {
|
|
12
|
+
const { JsvWidgetWrapperGroup } = await import("../BrowserDebugWidget/WidgetWrapper");
|
|
13
13
|
_JsvSpray = JsvWidgetWrapperGroup.BrowserSpray;
|
|
14
14
|
}
|
|
15
15
|
let component = _JsvSpray;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
//考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
|
|
9
|
-
import { JsvWidgetWrapperGroup } from "../BrowserDebugWidget/WidgetWrapper";
|
|
10
9
|
import * as JsvTextureAnim from "./JsvTextureAnim.vue";
|
|
11
10
|
let _JsvTextureAnim = JsvTextureAnim.default;
|
|
12
11
|
if (window.jsvIsBrowserDebug) {
|
|
12
|
+
const { JsvWidgetWrapperGroup } = await import("../BrowserDebugWidget/WidgetWrapper");
|
|
13
13
|
_JsvTextureAnim = JsvWidgetWrapperGroup.BrowserTextureAnim;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @Description: file content
|
|
7
7
|
-->
|
|
8
8
|
<script>
|
|
9
|
-
import { Forge } from "
|
|
9
|
+
import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
10
10
|
|
|
11
11
|
const DIRECTION_HORIZONTAL = Forge.DragSetting.DIRECTION_HORIZONTAL;
|
|
12
12
|
const DIRECTION_VERTICAL = Forge.DragSetting.DIRECTION_VERTICAL;
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
</template>
|
|
30
30
|
|
|
31
31
|
<script setup>
|
|
32
|
+
import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
|
|
32
33
|
import { reactive, ref, shallowRef, toRaw, watchEffect, onMounted } from 'vue'
|
|
33
|
-
import { Forge } from "../../../../jsview/dom/jsv-forge-define";
|
|
34
34
|
|
|
35
35
|
const props = defineProps({
|
|
36
36
|
// (支持reactive)可视区域设定
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: ChenChanghua
|
|
3
|
-
* @Date: 2021-10-13 15:19:49
|
|
4
|
-
* @LastEditors: ChenChanghua
|
|
5
|
-
* @LastEditTime: 2022-02-08 13:32:54
|
|
6
|
-
* @Description: file content
|
|
7
|
-
*/
|
|
8
|
-
// import { JsvWidgetWrapperGroup } from "./WidgetWrapper";
|
|
9
|
-
//考虑到.vue文件除了import default的component外,还有可能import其他对象,因此使用import * as
|
|
10
|
-
import BrowserApic from "./JsvApic/BrowserApic.vue";
|
|
11
|
-
import BrowserSpray from "./BrowserSpray.vue";
|
|
12
|
-
import BrowserPreload from "./BrowserPreload.vue";
|
|
13
|
-
import BrowserQrcode from "./BrowserQrcode.vue";
|
|
14
|
-
import BrowserTextureAnim from "./BrowserTextureAnim.vue";
|
|
15
|
-
import BrowserJsvPlayer from "../../JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue";
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
BrowserApic,
|
|
19
|
-
BrowserSpray,
|
|
20
|
-
BrowserPreload,
|
|
21
|
-
BrowserQrcode,
|
|
22
|
-
BrowserTextureAnim,
|
|
23
|
-
|
|
24
|
-
BrowserJsvPlayer,
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
console.log("JsView Utils: Load browser widgets.");
|