@shijiu/jsview-vue 2.1.476-test.0 → 2.2.35

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 (194) hide show
  1. package/bin/browser/BrowserTextureAnim.vue.mjs +8 -1
  2. package/bin/jsview-vue.mjs +340 -127
  3. package/bin/types/JsViewEngineWidget/CheckType.d.ts +3 -0
  4. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +102 -0
  5. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +88 -0
  6. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +10 -0
  7. package/bin/types/JsViewEngineWidget/MetroWidget/Const.d.ts +16 -0
  8. package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +14 -0
  9. package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +158 -0
  10. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +158 -0
  11. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +46 -0
  12. package/bin/types/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +21 -0
  13. package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +46 -0
  14. package/bin/types/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +48 -0
  15. package/bin/types/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +16 -0
  16. package/bin/types/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +17 -0
  17. package/bin/types/JsViewEngineWidget/RangeModel.d.ts +162 -0
  18. package/bin/types/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +37 -0
  19. package/bin/types/JsViewEngineWidget/TemplateParser/Fence.d.ts +58 -0
  20. package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +15 -0
  21. package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +97 -0
  22. package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +22 -0
  23. package/bin/types/JsViewEngineWidget/TemplateParser/index.d.ts +4 -0
  24. package/bin/types/JsViewEngineWidget/WidgetCommon.d.ts +137 -0
  25. package/bin/types/JsViewEngineWidget/index.d.ts +6 -0
  26. package/bin/types/JsViewPlugin/JsvAccount/JsvAccount.d.ts +42 -0
  27. package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +2 -0
  28. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +18 -0
  29. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +208 -0
  30. package/bin/types/JsViewPlugin/JsvAudio/CheckType.d.ts +2 -0
  31. package/bin/types/JsViewPlugin/JsvAudio/Events.d.ts +13 -0
  32. package/bin/types/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +18 -0
  33. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +8 -0
  34. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -0
  35. package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +1 -0
  36. package/bin/types/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +5 -0
  37. package/bin/types/JsViewPlugin/JsvAudio/index.d.ts +3 -0
  38. package/bin/types/JsViewPlugin/JsvAudio/version.d.ts +10 -0
  39. package/bin/types/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +1 -0
  40. package/bin/types/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +13 -0
  41. package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +1 -0
  42. package/bin/types/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +17 -0
  43. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +3 -0
  44. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +2 -0
  45. package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +1 -0
  46. package/bin/types/JsViewPlugin/JsvLatex/index.d.ts +3 -0
  47. package/bin/types/JsViewPlugin/JsvLatex/version.d.ts +10 -0
  48. package/bin/types/JsViewPlugin/index.d.ts +3 -0
  49. package/bin/types/JsViewVueTools/DebugContentShellJBridge.d.ts +6 -0
  50. package/bin/types/JsViewVueTools/DebugTool.d.ts +8 -0
  51. package/bin/types/JsViewVueTools/DefaultKeyMap.d.ts +10 -0
  52. package/bin/types/JsViewVueTools/ForgeHandles.d.ts +6 -0
  53. package/bin/types/JsViewVueTools/JsvDemoTester.d.ts +2 -0
  54. package/bin/types/JsViewVueTools/JsvDynamicCssStyle.d.ts +14 -0
  55. package/bin/types/JsViewVueTools/JsvDynamicKeyFrames.d.ts +21 -0
  56. package/bin/types/JsViewVueTools/JsvHashHistory.d.ts +16 -0
  57. package/bin/types/JsViewVueTools/JsvImpactTracer.d.ts +40 -0
  58. package/bin/types/JsViewVueTools/JsvRefTaker.d.ts +27 -0
  59. package/bin/types/JsViewVueTools/JsvRuntimeBridge.d.ts +223 -0
  60. package/bin/types/JsViewVueTools/JsvStyleClass.d.ts +31 -0
  61. package/bin/types/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +15 -0
  62. package/bin/types/JsViewVueTools/JsvTextTools.d.ts +37 -0
  63. package/bin/types/JsViewVueTools/JsvTextureDefines.d.ts +6 -0
  64. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +95 -0
  65. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +15 -0
  66. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +75 -0
  67. package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +24 -0
  68. package/bin/types/JsViewVueTools/JsvTextureStore/Store.d.ts +10 -0
  69. package/bin/types/JsViewVueTools/JsvTextureStore/Texture.d.ts +15 -0
  70. package/bin/types/JsViewVueTools/NinePatchHelper.d.ts +21 -0
  71. package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +2 -0
  72. package/bin/types/JsViewVueTools/index.d.ts +14 -0
  73. package/bin/types/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +31 -0
  74. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +64 -0
  75. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +33 -0
  76. package/bin/types/JsViewVueWidget/JsvActorMove/index.d.ts +4 -0
  77. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
  78. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +50 -0
  79. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +2 -0
  80. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
  81. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +23 -0
  82. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +2 -0
  83. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
  84. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
  85. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
  86. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
  87. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
  88. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
  89. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +19 -0
  90. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
  91. package/bin/types/{jsview-vue-common.d.mts → JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts} +12 -13
  92. package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +1 -0
  93. package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +13 -0
  94. package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +2 -0
  95. package/bin/types/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +51 -0
  96. package/bin/types/JsViewVueWidget/JsvFilterView.vue.d.ts +72 -0
  97. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +72 -0
  98. package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +2 -0
  99. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +72 -0
  100. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +84 -0
  101. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +6 -0
  102. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +11 -0
  103. package/bin/types/JsViewVueWidget/JsvGrid.vue.d.ts +168 -0
  104. package/bin/types/JsViewVueWidget/JsvHole.d.ts +2 -0
  105. package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +36 -0
  106. package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +210 -0
  107. package/bin/types/JsViewVueWidget/JsvInput/index.d.ts +4 -0
  108. package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +12 -0
  109. package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +1 -0
  110. package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +2 -0
  111. package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +12 -0
  112. package/bin/types/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +83 -0
  113. package/bin/types/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
  114. package/bin/types/JsViewVueWidget/JsvMindMap/Constant.d.ts +9 -0
  115. package/bin/types/JsViewVueWidget/JsvMindMap/DataTree.d.ts +69 -0
  116. package/bin/types/JsViewVueWidget/JsvMindMap/Geometry.d.ts +68 -0
  117. package/bin/types/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +145 -0
  118. package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +1 -0
  119. package/bin/types/JsViewVueWidget/JsvMindMap/rtree.d.ts +40 -0
  120. package/bin/types/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +31 -0
  121. package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +18 -0
  122. package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +9 -0
  123. package/bin/types/JsViewVueWidget/JsvPosterDiv.vue.d.ts +60 -0
  124. package/bin/types/JsViewVueWidget/JsvPosterImage.vue.d.ts +75 -0
  125. package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +10 -0
  126. package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +25 -0
  127. package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +17 -0
  128. package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +12 -0
  129. package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +11 -0
  130. package/bin/types/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +60 -0
  131. package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +2 -0
  132. package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +13 -0
  133. package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
  134. package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +84 -0
  135. package/bin/types/JsViewVueWidget/JsvRipple/index.d.ts +3 -0
  136. package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +10 -0
  137. package/bin/types/JsViewVueWidget/JsvSector.vue.d.ts +10 -0
  138. package/bin/types/JsViewVueWidget/JsvSoundPool.d.ts +84 -0
  139. package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +25 -0
  140. package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +38 -0
  141. package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +2 -0
  142. package/bin/types/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +14 -0
  143. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +18 -0
  144. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +69 -0
  145. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +11 -0
  146. package/bin/types/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +17 -0
  147. package/bin/types/JsViewVueWidget/JsvSpriteAnim/index.d.ts +5 -0
  148. package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +2 -0
  149. package/bin/types/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +209 -0
  150. package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +2 -0
  151. package/bin/types/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +97 -0
  152. package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +2 -0
  153. package/bin/types/JsViewVueWidget/JsvTextBox.vue.d.ts +75 -0
  154. package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +151 -0
  155. package/bin/types/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +2 -0
  156. package/bin/types/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +107 -0
  157. package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +14 -0
  158. package/bin/types/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +84 -0
  159. package/bin/types/JsViewVueWidget/JsvVisibleSensor/index.d.ts +84 -0
  160. package/bin/types/JsViewVueWidget/index.d.ts +37 -0
  161. package/bin/types/index.d.ts +4 -0
  162. package/index.d.ts +1 -1
  163. package/package.json +1 -1
  164. package/tools/config/tsconfig.json +6 -6
  165. package/tools/jsview-vue-build.mjs +13 -4
  166. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +8 -4
  167. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +19 -5
  168. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +317 -151
  169. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +3 -3
  170. package/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.ts +1 -1
  171. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +21 -21
  172. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +4 -4
  173. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +10 -10
  174. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +6 -6
  175. package/utils/JsViewEngineWidget/WidgetCommon.ts +18 -2
  176. package/utils/JsViewVueTools/JsvRuntimeBridge.js +2 -6
  177. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +7 -3
  178. package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +4 -2
  179. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +26 -0
  180. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +1 -1
  181. package/utils/JsViewVueWidget/JsvMindMap/rtree.js +1 -1
  182. package/utils/JsViewVueWidget/JsvTextBox.vue +14 -2
  183. package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +18 -3
  184. package/bin/types/browser/BrowserApic.vue.d.mts +0 -33
  185. package/bin/types/browser/BrowserApic2.vue.d.mts +0 -16
  186. package/bin/types/browser/BrowserApicLib.d.mts +0 -56
  187. package/bin/types/browser/BrowserAudio.vue.d.mts +0 -2
  188. package/bin/types/browser/BrowserJsvLatex.vue.d.mts +0 -55
  189. package/bin/types/browser/BrowserPreload.vue.d.mts +0 -14
  190. package/bin/types/browser/BrowserQrcode.vue.d.mts +0 -29
  191. package/bin/types/browser/BrowserSpray.vue.d.mts +0 -2
  192. package/bin/types/browser/BrowserTextureAnim.vue.d.mts +0 -2
  193. package/bin/types/export-sfc.d.mts +0 -2
  194. package/bin/types/jsview-vue.d.mts +0 -2511
@@ -0,0 +1,60 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: StringConstructor;
3
+ size: NumberConstructor;
4
+ fgColor: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ bgColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ level: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ sync: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ imageSettings: ObjectConstructor;
21
+ }, any, {
22
+ oldProps: null;
23
+ innerViewId: number;
24
+ jsvBaseView: null;
25
+ qrCodeView: null;
26
+ }, {}, {
27
+ getImageSettings(): {
28
+ x: any;
29
+ y: any;
30
+ h: any;
31
+ w: any;
32
+ } | null;
33
+ renderJsvQRCode(): void;
34
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ value: StringConstructor;
36
+ size: NumberConstructor;
37
+ fgColor: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ bgColor: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ level: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ sync: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ imageSettings: ObjectConstructor;
54
+ }>>, {
55
+ sync: string;
56
+ fgColor: string;
57
+ bgColor: string;
58
+ level: string;
59
+ }>;
60
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export default _JsvQrcode;
2
+ declare let _JsvQrcode: any;
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly data?: unknown[] | undefined;
4
+ readonly fontSize?: number | undefined;
5
+ readonly style?: Record<string, any> | undefined;
6
+ readonly radius?: number | undefined;
7
+ readonly backgroundUrl?: string | undefined;
8
+ readonly foregroundUrl?: string | undefined;
9
+ readonly fontColor?: string | undefined;
10
+ readonly extendOffset?: number | undefined;
11
+ };
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
13
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export namespace JsvRippleShape {
2
+ const CIRCLE: any;
3
+ const RECTANGLE: any;
4
+ }
@@ -0,0 +1,84 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
20
+ addSource: (x: any, y: any, amplitude: any, shapeParams?: {
21
+ type: any;
22
+ }, mediumParams?: {}) => any;
23
+ removeSource: (id: any) => void;
24
+ $props: {
25
+ readonly left?: number | undefined;
26
+ readonly top?: number | undefined;
27
+ readonly enable?: boolean | undefined;
28
+ readonly height?: number | undefined;
29
+ readonly width?: number | undefined;
30
+ };
31
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
32
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
33
+ created?: ((() => void) | (() => void)[]) | undefined;
34
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
35
+ mounted?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
37
+ updated?: ((() => void) | (() => void)[]) | undefined;
38
+ activated?: ((() => void) | (() => void)[]) | undefined;
39
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
41
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
42
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
43
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
44
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
47
+ };
48
+ $forceUpdate: () => void;
49
+ $nextTick: typeof import("vue").nextTick;
50
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
51
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
52
+ addSource: (x: any, y: any, amplitude: any, shapeParams?: {
53
+ type: any;
54
+ }, mediumParams?: {}) => any;
55
+ removeSource: (id: any) => void;
56
+ $props: {
57
+ readonly left?: number | undefined;
58
+ readonly top?: number | undefined;
59
+ readonly enable?: boolean | undefined;
60
+ readonly height?: number | undefined;
61
+ readonly width?: number | undefined;
62
+ };
63
+ }> & {} & import("vue").ComponentCustomProperties & {};
64
+ __isFragment?: undefined;
65
+ __isTeleport?: undefined;
66
+ __isSuspense?: undefined;
67
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
68
+ addSource: (x: any, y: any, amplitude: any, shapeParams?: {
69
+ type: any;
70
+ }, mediumParams?: {}) => any;
71
+ removeSource: (id: any) => void;
72
+ $props: {
73
+ readonly left?: number | undefined;
74
+ readonly top?: number | undefined;
75
+ readonly enable?: boolean | undefined;
76
+ readonly height?: number | undefined;
77
+ readonly width?: number | undefined;
78
+ };
79
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
80
+ $slots: {
81
+ default: (_: {}) => any;
82
+ };
83
+ });
84
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import JsvRipple from "./JsvRipple.vue";
2
+ import { JsvRippleShape } from "./Constant";
3
+ export { JsvRipple as default, JsvRippleShape };
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ definitionScale: {
3
+ type: StringConstructor;
4
+ };
5
+ }, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ definitionScale: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}>;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly animationTime?: number | undefined;
4
+ readonly extraTime?: number | undefined;
5
+ readonly config?: Record<string, any> | undefined;
6
+ readonly radius?: number | undefined;
7
+ readonly centerPosition?: Record<string, any> | undefined;
8
+ };
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
10
+ export default _default;
@@ -0,0 +1,84 @@
1
+ export class JsvSoundPool {
2
+ /**
3
+ * @param {int} max max streams
4
+ */
5
+ constructor(max: int);
6
+ _SoundPool: any;
7
+ _SoundIdMap: {} | undefined;
8
+ _StreamIdMap: Set<any> | undefined;
9
+ /**
10
+ * @description: 准备音频资源
11
+ * @param {string} url 音频url
12
+ * @param {string} netSetting http请求配置
13
+ * @param {int} priority 优先级
14
+ * @param {function} callback 资源加载完成回调 function(int state, AudioController controller) {}
15
+ */
16
+ request(url: string, netSetting: string, priority: int, callback: Function): void;
17
+ /**
18
+ * @description: 释放音频资源
19
+ * @param {AudioController} controller 控制句柄
20
+ */
21
+ release(controller: AudioController): void;
22
+ /**
23
+ * @description: 销毁SoundPool
24
+ */
25
+ destroy(): void;
26
+ /**
27
+ * @description: 全部暂停
28
+ */
29
+ autoPause(): void;
30
+ /**
31
+ * @description: 全部开始
32
+ */
33
+ autoResume(): void;
34
+ }
35
+ declare class AudioController {
36
+ constructor(soundPool: any, soundId: any, url: any);
37
+ _SoundPool: any;
38
+ _SoundId: any;
39
+ _Url: any;
40
+ _StreamId: number;
41
+ _Rate: number;
42
+ _Loop: number;
43
+ _LeftVolume: number;
44
+ _RightVolume: number;
45
+ _Priority: number;
46
+ /**
47
+ * @description: 播放音频
48
+ */
49
+ play(): void;
50
+ /**
51
+ * @description: 暂停音频(Android4.0不支持)
52
+ */
53
+ pause(): void;
54
+ /**
55
+ * @description: 恢复播放音频(Android4.0不支持)
56
+ */
57
+ resume(): void;
58
+ /**
59
+ * @description: 停止音频(Android4.0不支持)
60
+ */
61
+ stop(): void;
62
+ /**
63
+ * @description: 设置播放速度
64
+ * @param {float} rate 播放的倍率
65
+ */
66
+ setRate(rate: float): void;
67
+ /**
68
+ * @description: 设置音量
69
+ * @param {float} leftVolume 左声道音量
70
+ * @param {float} rightVolume 右声道音量
71
+ */
72
+ setVolume(leftVolume: float, rightVolume: float): void;
73
+ /**
74
+ * @description: 设置循环次数, 注意: 循环一次表示总共播两次
75
+ * @param {int} loop 循环次数
76
+ */
77
+ setLoop(loop: int): void;
78
+ /**
79
+ * @description: 设置优先级
80
+ * @param {int} priority 优先级
81
+ */
82
+ setPriority(priority: int): void;
83
+ }
84
+ export {};
@@ -0,0 +1,25 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ pointRes: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ sprayStyle: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ }, any, {
11
+ viewId: number;
12
+ }, {
13
+ viewWidth(): number;
14
+ viewHeight(): number;
15
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ pointRes: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ sprayStyle: {
21
+ type: ObjectConstructor;
22
+ required: true;
23
+ };
24
+ }>>, {}>;
25
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ pointRes: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ sprayStyle: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ ignoreClip: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }, any, {
15
+ size: {
16
+ width: number;
17
+ height: number;
18
+ };
19
+ viewId: number;
20
+ }, {}, {
21
+ unloadView(): void;
22
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ pointRes: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ sprayStyle: {
28
+ type: ObjectConstructor;
29
+ required: true;
30
+ };
31
+ ignoreClip: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ }>>, {
36
+ ignoreClip: boolean;
37
+ }>;
38
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export default _JsvSpray;
2
+ declare let _JsvSpray: any;
@@ -0,0 +1,14 @@
1
+ declare class SpritePack {
2
+ keyFrameRefName: String | null;
3
+ clipKeyFrameName: String | null;
4
+ transKeyFrameName: String | null;
5
+ clipStyle: any;
6
+ transStyle: any;
7
+ imageStyle: any;
8
+ }
9
+ declare function expireAnimates(runningSprite: SpritePack | null): void;
10
+ declare function newAnimateFrames(image_url: string, frame_info_list: Array<any> | undefined, canvas_width: number, canvas_height: number, source_width: number, source_height: number): SpritePack;
11
+ declare function newFrozeFrame(image_url: String, frame_info_list: Array<any>, // 精灵图队列
12
+ index: number, // 静止帧 stopFrame.value === "start" ? 0 : frame_info_list.length - 1;
13
+ canvas_width: number, canvas_height: number, source_width: number, source_height: number): SpritePack;
14
+ export { expireAnimates, newAnimateFrames, newFrozeFrame };
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ start: (indexArray: any, endFrame: any, duration: any, loopSet: any, animateEnd: any) => void;
3
+ stop: (index: any) => void;
4
+ blink: (alphas: any, duration: any, ease: any, delay: any, repeat: any) => void;
5
+ $props: {
6
+ readonly duration?: number | undefined;
7
+ readonly loop?: string | number | undefined;
8
+ readonly autostart?: string | boolean | undefined;
9
+ readonly spriteInfo?: Record<string, any> | undefined;
10
+ readonly viewSize?: Record<string, any> | undefined;
11
+ readonly spriteFrameSize?: Record<string, any> | undefined;
12
+ readonly imageUrl?: string | undefined;
13
+ readonly onAnimEnd?: Function | undefined;
14
+ readonly controller?: Record<string, any> | undefined;
15
+ readonly spriteName?: string | undefined;
16
+ };
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
18
+ export default _default;
@@ -0,0 +1,69 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
20
+ $props: {
21
+ readonly noNeedResource?: boolean | undefined;
22
+ readonly imageUrl?: string | undefined;
23
+ readonly configUrl?: string | undefined;
24
+ readonly onConfigReady?: Function | undefined;
25
+ };
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
27
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
28
+ created?: ((() => void) | (() => void)[]) | undefined;
29
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
30
+ mounted?: ((() => void) | (() => void)[]) | undefined;
31
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
32
+ updated?: ((() => void) | (() => void)[]) | undefined;
33
+ activated?: ((() => void) | (() => void)[]) | undefined;
34
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
35
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
37
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
38
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
39
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
40
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
41
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
42
+ };
43
+ $forceUpdate: () => void;
44
+ $nextTick: typeof import("vue").nextTick;
45
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
46
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
47
+ $props: {
48
+ readonly noNeedResource?: boolean | undefined;
49
+ readonly imageUrl?: string | undefined;
50
+ readonly configUrl?: string | undefined;
51
+ readonly onConfigReady?: Function | undefined;
52
+ };
53
+ }> & {} & import("vue").ComponentCustomProperties & {};
54
+ __isFragment?: undefined;
55
+ __isTeleport?: undefined;
56
+ __isSuspense?: undefined;
57
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
58
+ $props: {
59
+ readonly noNeedResource?: boolean | undefined;
60
+ readonly imageUrl?: string | undefined;
61
+ readonly configUrl?: string | undefined;
62
+ readonly onConfigReady?: Function | undefined;
63
+ };
64
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
65
+ $slots: {
66
+ default: (_: {}) => any;
67
+ };
68
+ });
69
+ export default _default;
@@ -0,0 +1,11 @@
1
+ declare let JsvSpriteTools: {
2
+ /**
3
+ * guessOriginSize
4
+ * 从spriteInfo中挑出最大的一张,认为其是居中显示来估算精灵图原画布的尺寸,以此可填写imageOriginSize信息
5
+ *
6
+ * @param {object} spriteInfo 此Canvas画布的宽度
7
+ * @return {object} 结构体{w:xxx, h:xxx}, 估算出的宽和高
8
+ */
9
+ guessOriginSize(spriteInfo: any): object;
10
+ };
11
+ export default JsvSpriteTools;
@@ -0,0 +1,17 @@
1
+ export class SpriteController {
2
+ _SpriteImage: any;
3
+ Used: boolean;
4
+ _setSpriteImg(sprite: any): void;
5
+ start(end_frame: any, duration: any): void;
6
+ stop(end_frame: any): void;
7
+ /**
8
+ * blink() 对精灵图做闪烁动画(忽隐忽现)
9
+ * 参数说明:
10
+ * alpha {Array} 透明度变化
11
+ * duration {int} 时长(秒)
12
+ * delay {int} 时长(秒)
13
+ * ease {string}
14
+ * repeat {int} 动画完成后是否应该自动重新启动?如果要使其永久运行,请设置为-1
15
+ */
16
+ blink(alpha: any, duration: any, ease: any, delay: any, repeat: any): void;
17
+ }
@@ -0,0 +1,5 @@
1
+ import JsvSpriteAnim from "./JsvSpriteAnim.vue";
2
+ import JsvSpriteLoader from "./JsvSpriteLoader.vue";
3
+ import { SpriteController } from "./SpriteController.js";
4
+ import JsvSpriteTools from "./JsvSpriteTools";
5
+ export { JsvSpriteAnim as JsvSpriteStatic, JsvSpriteAnim, JsvSpriteLoader, SpriteController, JsvSpriteTools };
@@ -0,0 +1,2 @@
1
+ declare const getsAnimationToken: () => number;
2
+ export { getsAnimationToken };