@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.
Files changed (30) hide show
  1. package/package.json +1 -1
  2. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +1 -1
  3. package/utils/JsViewPlugin/JsvPlayer/index.js +1 -1
  4. package/utils/JsViewVueTools/JsvImpactTracer.js +1 -1
  5. package/utils/JsViewVueTools/JsvStyleClass.js +1 -1
  6. package/utils/JsViewVueWidget/BrowserDebugWidget/BrowserSpray.vue +1 -1
  7. package/utils/JsViewVueWidget/BrowserDebugWidget/WidgetWrapper.js +20 -3
  8. package/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.js +1 -1
  9. package/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.js +1 -1
  10. package/utils/JsViewVueWidget/JsvApic/JsvApic.vue +1 -1
  11. package/utils/JsViewVueWidget/JsvApic/index.js +1 -1
  12. package/utils/JsViewVueWidget/JsvFilterView.vue +1 -1
  13. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +1 -1
  14. package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
  15. package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +1 -1
  16. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +1 -1
  17. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +1 -1
  18. package/utils/JsViewVueWidget/JsvPreload/index.js +1 -1
  19. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +1 -1
  20. package/utils/JsViewVueWidget/JsvQrcode/index.js +1 -1
  21. package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +1 -1
  22. package/utils/JsViewVueWidget/JsvSpray/index.js +1 -1
  23. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +1 -1
  24. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +1 -1
  25. package/utils/JsViewVueWidget/JsvTextureAnim/index.js +1 -1
  26. package/utils/JsViewVueWidget/JsvTouchContainer.vue +1 -1
  27. package/utils/JsViewVueWidget/JsvTransparentDiv.vue +1 -1
  28. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +1 -1
  29. package/utils/JsViewEngineWidget/ForgeDefine.js +0 -7
  30. package/utils/JsViewVueWidget/BrowserDebugWidget/WidgetLoader.js +0 -27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shijiu/jsview-vue",
3
- "version": "1.9.829",
3
+ "version": "1.9.839",
4
4
  "license": "MIT",
5
5
  "repository": "system/jsview-framework",
6
6
  "author": "mengxk",
@@ -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重新定义初始化处理
@@ -17,7 +17,7 @@
17
17
  * updateImpactAutoFroze: 函数,更新 createImpactAutoFroze 创建的碰撞即停管理对象中管理的运动元素列表
18
18
  */
19
19
 
20
- import { Forge } from "../../../jsview/dom/jsv-forge-define";
20
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
21
21
 
22
22
  /*
23
23
  * createImpactCallback 参数说明:
@@ -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
 
@@ -6,7 +6,7 @@
6
6
  * @Description: file content
7
7
  -->
8
8
  <script>
9
- import { Forge } from "../../../../jsview/dom/jsv-forge-define";
9
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
10
10
 
11
11
  export default {
12
12
  props: {
@@ -2,9 +2,26 @@
2
2
  * Created by ludl on 5/13/21.
3
3
  */
4
4
 
5
- let JsvWidgetWrapperGroup = {};
6
- if (window.jsvIsBrowserDebug) {
7
- JsvWidgetWrapperGroup = await import('./WidgetLoader');
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 };
@@ -5,7 +5,7 @@
5
5
  * @LastEditTime: 2021-10-21 13:17:11
6
6
  * @Description: file content
7
7
  */
8
- import { Forge } from "../../../../jsview/dom/jsv-forge-define";
8
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
9
9
 
10
10
  // JsvSpriteBase comes from JsView React Project
11
11
 
@@ -6,7 +6,7 @@
6
6
  * @Description: file content
7
7
  */
8
8
 
9
- import { Forge } from "../../../../jsview/dom/jsv-forge-define";
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; // 抛物变速运动
@@ -20,7 +20,7 @@
20
20
  * play(): 开始播放
21
21
  -->
22
22
  <script>
23
- import { ForgeExtension } from "../../../../jsview/dom/jsv-forge-define";
23
+ import { ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
24
24
 
25
25
  let LOOP_DEFAULT = 0;
26
26
  let LOOP_INFINITE = 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 "../../../jsview/dom/jsv-forge-define";
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 = {
@@ -9,7 +9,7 @@
9
9
  -->
10
10
 
11
11
  <script setup>
12
- import { Forge } from "../../../jsview/dom/jsv-forge-define";
12
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
13
13
  import { getTextWidth } from "./utils";
14
14
  import {
15
15
  shallowRef,
@@ -12,7 +12,7 @@
12
12
  *
13
13
  -->
14
14
  <script>
15
- import { Forge, ForgeExtension } from "../../../jsview/dom/jsv-forge-define";
15
+ import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
16
16
  export default {
17
17
  props: {
18
18
  class: {
@@ -8,7 +8,7 @@
8
8
  -->
9
9
 
10
10
  <script>
11
- import { Forge, ForgeExtension } from "../../../jsview/dom/jsv-forge-define";
11
+ import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
12
12
 
13
13
  export default {
14
14
  props: {
@@ -34,7 +34,7 @@
34
34
  * net_setting {object}: (未实现)网络加载参数,cookie, refer等,默认值 null
35
35
  -->
36
36
  <script>
37
- import { Forge, ForgeExtension } from "../../../../jsview/dom/jsv-forge-define";
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;
@@ -16,7 +16,7 @@
16
16
  */
17
17
  -->
18
18
  <script>
19
- import { Forge, ForgeExtension } from "../../../../jsview/dom/jsv-forge-define";
19
+ import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
20
20
 
21
21
  export default {
22
22
  props: {
@@ -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 "../../../../jsview/dom/jsv-forge-define";
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;
@@ -30,7 +30,7 @@
30
30
  -->
31
31
 
32
32
  <script>
33
- import { Forge } from "../../../../jsview/dom/jsv-forge-define";
33
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
34
34
  import JsvActorMove, {
35
35
  JsvActorMoveControl,
36
36
  } from "../../JsViewVueWidget/JsvActorMove";
@@ -6,7 +6,7 @@
6
6
  * @Description: file content
7
7
  -->
8
8
  <script>
9
- import { Forge, ForgeExtension } from "../../../../jsview/dom/jsv-forge-define";
9
+ import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
10
10
  import {
11
11
  numberCheckSet,
12
12
  urlCheckSet,
@@ -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 "../../../jsview/dom/jsv-forge-define";
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;
@@ -7,7 +7,7 @@
7
7
  -->
8
8
 
9
9
  <script>
10
- import { Forge, ForgeExtension } from "../../../jsview/dom/jsv-forge-define";
10
+ import { Forge, ForgeExtension } from "@shijiu/jsview/dom/jsv-forge-define";
11
11
 
12
12
  export default {
13
13
  inheritAttrs: false,
@@ -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,7 +0,0 @@
1
- /**
2
- * Created by luocf on 2020/1/17.
3
- */
4
- if (typeof window.Forge === "undefined") window.Forge = {};
5
-
6
- const Forge = window.Forge;
7
- export default Forge;
@@ -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.");