@shijiu/jsview-vue 2.1.435 → 2.1.476-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.
Files changed (64) hide show
  1. package/bin/browser/BrowserApic.vue.mjs +4 -4
  2. package/bin/browser/BrowserApic2.vue.mjs +4 -4
  3. package/bin/browser/BrowserApicLib.mjs +24 -24
  4. package/bin/browser/BrowserAudio.vue.mjs +8 -8
  5. package/bin/browser/BrowserJsvLatex.vue.mjs +27 -15
  6. package/bin/browser/BrowserPreload.vue.mjs +4 -4
  7. package/bin/browser/BrowserQrcode.vue.mjs +4 -4
  8. package/bin/browser/BrowserSpray.vue.mjs +4 -4
  9. package/bin/browser/BrowserTextureAnim.vue.mjs +4 -4
  10. package/bin/export-sfc.mjs +3 -3
  11. package/bin/jsview-vue-common.mjs +3 -3
  12. package/bin/jsview-vue.mjs +12057 -13884
  13. package/bin/types/browser/BrowserApic.vue.d.mts +33 -0
  14. package/bin/types/browser/BrowserApic2.vue.d.mts +16 -0
  15. package/bin/types/browser/BrowserApicLib.d.mts +56 -0
  16. package/bin/types/browser/BrowserAudio.vue.d.mts +2 -0
  17. package/bin/types/browser/BrowserJsvLatex.vue.d.mts +55 -0
  18. package/bin/types/browser/BrowserPreload.vue.d.mts +14 -0
  19. package/bin/types/browser/BrowserQrcode.vue.d.mts +29 -0
  20. package/bin/types/browser/BrowserSpray.vue.d.mts +2 -0
  21. package/bin/types/browser/BrowserTextureAnim.vue.d.mts +2 -0
  22. package/bin/types/export-sfc.d.mts +2 -0
  23. package/bin/types/jsview-vue-common.d.mts +23 -0
  24. package/bin/types/jsview-vue.d.mts +2511 -0
  25. package/index.d.ts +3 -4
  26. package/package.json +1 -1
  27. package/tools/config/tsconfig.json +7 -10
  28. package/tools/jsview-vue-build.mjs +25 -4
  29. package/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue +0 -1
  30. package/utils/JsViewPlugin/JsvAudio/AudioProxy.js +11 -3
  31. package/utils/JsViewPlugin/JsvAudio/JsvAudio.vue +6 -3
  32. package/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue +20 -0
  33. package/utils/JsViewPlugin/JsvAudio/PluginLoader.js +13 -3
  34. package/utils/JsViewPlugin/JsvAudio/index.js +11 -16
  35. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +22 -5
  36. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +3 -1
  37. package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +20 -0
  38. package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +13 -3
  39. package/utils/JsViewPlugin/JsvLatex/index.js +11 -16
  40. package/utils/JsViewPlugin/index.js +1 -1
  41. package/utils/JsViewVueTools/ForgeHandles.ts +14 -0
  42. package/utils/JsViewVueTools/{JsvDynamicKeyFrames.js → JsvDynamicKeyFrames.ts} +2 -2
  43. package/utils/JsViewVueTools/JsvFederationTools.ts +35 -0
  44. package/utils/JsViewVueTools/JsvPreDownloader.ts +36 -37
  45. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.ts +6 -5
  46. package/utils/JsViewVueTools/index.js +2 -1
  47. package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +4 -0
  48. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +3 -3
  49. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +2 -0
  50. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +1 -1
  51. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  52. package/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.ts +11 -7
  53. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +135 -61
  54. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.ts +26 -0
  55. package/utils/JsViewVueWidget/JsvSpriteAnim/index.js +8 -1
  56. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +6 -0
  57. package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +1 -1
  58. package/bin/browser/BrowserJsvPlayer.vue.mjs +0 -573
  59. package/utils/JsViewEngineWidget/index.d.ts +0 -28
  60. package/utils/JsViewPlugin/JsvLatex/mathjax-tex-svg.txt +0 -1
  61. package/utils/JsViewPlugin/index.d.ts +0 -1
  62. package/utils/JsViewVueTools/ForgeHandles.js +0 -13
  63. package/utils/JsViewVueTools/index.d.ts +0 -13
  64. /package/utils/JsViewVueWidget/JsvSpriteAnim/{sAnimationToken.js → sAnimationToken.ts} +0 -0
@@ -0,0 +1,33 @@
1
+ export { _sfc_main as default };
2
+ declare namespace _sfc_main {
3
+ const __name: string;
4
+ namespace props {
5
+ const src: StringConstructor;
6
+ const style: ObjectConstructor;
7
+ namespace autoPlay {
8
+ export const type: BooleanConstructor;
9
+ const _default: boolean;
10
+ export { _default as default };
11
+ }
12
+ namespace loopType {
13
+ const type_1: NumberConstructor;
14
+ export { type_1 as type };
15
+ const _default_1: number;
16
+ export { _default_1 as default };
17
+ }
18
+ namespace loopInfo {
19
+ const type_2: ArrayConstructor;
20
+ export { type_2 as type };
21
+ function _default_2(): number[][];
22
+ export { _default_2 as default };
23
+ }
24
+ const onStart: FunctionConstructor;
25
+ const onEnd: FunctionConstructor;
26
+ const onLoad: FunctionConstructor;
27
+ }
28
+ function setup(__props: any, { expose }: {
29
+ expose: any;
30
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>;
33
+ }
@@ -0,0 +1,16 @@
1
+ export { _sfc_main as default };
2
+ declare namespace _sfc_main {
3
+ const __name: string;
4
+ namespace props {
5
+ const src: StringConstructor;
6
+ const style: ObjectConstructor;
7
+ const onStart: FunctionConstructor;
8
+ const onEnd: FunctionConstructor;
9
+ const onLoad: FunctionConstructor;
10
+ }
11
+ function setup(__props: any, { expose }: {
12
+ expose: any;
13
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
+ [key: string]: any;
15
+ }>;
16
+ }
@@ -0,0 +1,56 @@
1
+ declare class GifData extends ApicDataBase {
2
+ toImage(frame_index: any, canvas: any, canvas_ctx: any): any;
3
+ }
4
+ declare class Viewer {
5
+ constructor(apic_data: any, canvas: any, listener: any);
6
+ _ApicData: any;
7
+ _Canvas: any;
8
+ _Context: any;
9
+ _Listener: any;
10
+ _TimeoutId: number;
11
+ _EndState: number;
12
+ _createLoopTool(loop_type: any, loop_info: any): void;
13
+ _LoopTool: PartLoopTool | NormalLoopTool | SingleLoopTool | undefined;
14
+ stop(): void;
15
+ play(loopType: any, loopInfo: any, endState?: number): void;
16
+ renderLoop(): void;
17
+ renderFrame(frame_index: any): any;
18
+ }
19
+ declare class WebpData extends ApicDataBase {
20
+ toImage(frame_index: any, canvas: any, canvas_ctx: any): any;
21
+ }
22
+ declare class ApicDataBase {
23
+ constructor(arrayBuffer: any);
24
+ LoopCount: number;
25
+ FrameCount: number;
26
+ Width: number;
27
+ Height: number;
28
+ _Canvas: any;
29
+ _Context: any;
30
+ _DecodedData: any;
31
+ decode(arrayBuffer: any): void;
32
+ toImage(frameIndex: any, canvas: any, canvasCtx: any): void;
33
+ }
34
+ declare class PartLoopTool extends LoopToolBase {
35
+ constructor(info_list: any);
36
+ mLoopPeriod: number;
37
+ mCurLoopStartFrame: number;
38
+ mCurLoopEndFrame: number;
39
+ mCurLoopNum: number;
40
+ mCurLoopCount: number;
41
+ mLoopInfo: any;
42
+ mValid: boolean | undefined;
43
+ updateLoop(): boolean;
44
+ }
45
+ declare class NormalLoopTool extends LoopToolBase {
46
+ constructor(loop_type: any, loop_num: any);
47
+ mLoopType: any;
48
+ mLoopCount: number;
49
+ mValid: boolean | undefined;
50
+ }
51
+ declare class SingleLoopTool extends LoopToolBase {
52
+ constructor(index: any);
53
+ mTargetIndex: any;
54
+ }
55
+ import { a as LoopToolBase } from "../jsview-vue-common.mjs";
56
+ export { GifData as G, Viewer as V, WebpData as W };
@@ -0,0 +1,2 @@
1
+ export { BrowserAudio as default };
2
+ declare const BrowserAudio: any;
@@ -0,0 +1,55 @@
1
+ export { _sfc_main as default };
2
+ declare namespace _sfc_main {
3
+ const __name: string;
4
+ namespace props {
5
+ namespace latexStr {
6
+ const type: StringConstructor;
7
+ const required: boolean;
8
+ }
9
+ namespace width {
10
+ const type_1: NumberConstructor;
11
+ export { type_1 as type };
12
+ const required_1: boolean;
13
+ export { required_1 as required };
14
+ }
15
+ namespace height {
16
+ const type_2: NumberConstructor;
17
+ export { type_2 as type };
18
+ const _default: number;
19
+ export { _default as default };
20
+ }
21
+ namespace fontSize {
22
+ const type_3: NumberConstructor;
23
+ export { type_3 as type };
24
+ const _default_1: number;
25
+ export { _default_1 as default };
26
+ }
27
+ namespace lineSpace {
28
+ const type_4: NumberConstructor;
29
+ export { type_4 as type };
30
+ const _default_2: number;
31
+ export { _default_2 as default };
32
+ }
33
+ namespace color {
34
+ const type_5: StringConstructor;
35
+ export { type_5 as type };
36
+ const _default_3: string;
37
+ export { _default_3 as default };
38
+ }
39
+ namespace left {
40
+ const type_6: NumberConstructor;
41
+ export { type_6 as type };
42
+ const _default_4: number;
43
+ export { _default_4 as default };
44
+ }
45
+ namespace top {
46
+ const type_7: NumberConstructor;
47
+ export { type_7 as type };
48
+ const _default_5: number;
49
+ export { _default_5 as default };
50
+ }
51
+ }
52
+ function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>;
55
+ }
@@ -0,0 +1,14 @@
1
+ export { _sfc_main as default };
2
+ declare namespace _sfc_main {
3
+ const __name: string;
4
+ namespace props {
5
+ const preloadList: ArrayConstructor;
6
+ const downloadList: ArrayConstructor;
7
+ const onPreloadDone: FunctionConstructor;
8
+ const onDownloadDone: FunctionConstructor;
9
+ const onPreloading: FunctionConstructor;
10
+ }
11
+ function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
+ [key: string]: any;
13
+ }>;
14
+ }
@@ -0,0 +1,29 @@
1
+ export { _sfc_main as default };
2
+ declare namespace _sfc_main {
3
+ const __name: string;
4
+ namespace props {
5
+ const value: StringConstructor;
6
+ const size: NumberConstructor;
7
+ namespace fgColor {
8
+ export const type: StringConstructor;
9
+ const _default: string;
10
+ export { _default as default };
11
+ }
12
+ namespace bgColor {
13
+ const type_1: StringConstructor;
14
+ export { type_1 as type };
15
+ const _default_1: string;
16
+ export { _default_1 as default };
17
+ }
18
+ namespace level {
19
+ const type_2: StringConstructor;
20
+ export { type_2 as type };
21
+ const _default_2: string;
22
+ export { _default_2 as default };
23
+ }
24
+ const imageSettings: ObjectConstructor;
25
+ }
26
+ function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
+ [key: string]: any;
28
+ }>;
29
+ }
@@ -0,0 +1,2 @@
1
+ export { BrowserSpray as default };
2
+ declare const BrowserSpray: any;
@@ -0,0 +1,2 @@
1
+ export { BrowserTextureAnim as default };
2
+ declare const BrowserTextureAnim: any;
@@ -0,0 +1,2 @@
1
+ export { _export_sfc as _ };
2
+ declare function _export_sfc(sfc: any, props: any): any;
@@ -0,0 +1,23 @@
1
+ declare namespace ApicEndState {
2
+ const HIDE: number;
3
+ const LAST_FRAME: number;
4
+ }
5
+ declare namespace LoopType {
6
+ const LOOP_DEFAULT: number;
7
+ const LOOP_INFINITE: number;
8
+ const LOOP_FINITE: number;
9
+ const LOOP_PART: number;
10
+ const LOOP_SINGLE: number;
11
+ }
12
+ declare class LoopToolBase {
13
+ mFrameIndex: number;
14
+ mTotalFrameNum: number;
15
+ mNextFrameIndex: number;
16
+ mValide: boolean;
17
+ getNextIndex(curIndex: any): number;
18
+ hasNext(): boolean;
19
+ next(): number;
20
+ setApicInfo(frameNum: any, loopNum: any): void;
21
+ mLoopNum: any;
22
+ }
23
+ export { ApicEndState as A, LoopType as L, LoopToolBase as a };