@shijiu/jsview-vue 2.2.201 → 2.2.426-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 (341) hide show
  1. package/bin/browser/BrowserApic.vue.mjs +2 -13
  2. package/bin/browser/BrowserApic2.vue.mjs +2 -13
  3. package/bin/browser/BrowserApicLib.mjs +24 -24
  4. package/bin/browser/BrowserAudio.vue.mjs +2 -10
  5. package/bin/browser/BrowserJsvLatex.vue.mjs +39 -16
  6. package/bin/export-sfc.mjs +3 -3
  7. package/bin/jsview-vue-common.mjs +3 -3
  8. package/bin/jsview-vue.mjs +3288 -2312
  9. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +72 -0
  10. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/ListWidget.vue.d.ts +6 -3
  11. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidget.vue.d.ts +6 -3
  12. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidgetSetup.d.ts +3 -1
  13. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +64 -0
  14. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
  15. package/bin/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
  16. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/Fence.d.ts +2 -2
  17. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/MetroTemplate.d.ts +3 -3
  18. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/index.d.ts +1 -1
  19. package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +13 -0
  20. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/index.d.ts +1 -0
  21. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +13 -0
  22. package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer-0.9.vue.d.ts +45 -0
  23. package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue.d.ts +597 -0
  24. package/bin/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
  25. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +420 -0
  26. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +57 -0
  27. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +588 -0
  28. package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +358 -0
  29. package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +358 -0
  30. package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
  31. package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +10 -0
  32. package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +6 -0
  33. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicCssStyle.d.ts +3 -1
  34. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicKeyFrames.d.ts +4 -2
  35. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvImpactTracer.d.ts +4 -4
  36. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPreDownloader.d.ts +3 -2
  37. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRefTaker.d.ts +2 -3
  38. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRuntimeBridge.d.ts +42 -0
  39. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleSheetsDeclarer.d.ts +3 -1
  40. package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +61 -0
  41. package/bin/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +63 -0
  42. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/JsvTextureStore.d.ts +8 -4
  43. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/NinePatchHelper.d.ts +1 -1
  44. package/bin/types/utils/JsViewVueTools/TextureManagerTools.d.ts +7 -0
  45. package/bin/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +3 -0
  46. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/index.d.ts +3 -1
  47. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/JsvApic.vue.d.ts +7 -0
  48. package/bin/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +84 -0
  49. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +75 -0
  50. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +2 -0
  51. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
  52. package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +1 -0
  53. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +7 -0
  54. package/bin/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +12 -0
  55. package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +45 -0
  56. package/bin/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +26 -0
  57. package/bin/types/{JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts → utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts} +7 -5
  58. package/bin/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +13 -0
  59. package/bin/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +16 -0
  60. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMaskClipDiv.vue.d.ts +0 -2
  61. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/DataTree.d.ts +3 -1
  62. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Geometry.d.ts +2 -2
  63. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/JsvMindMap.vue.d.ts +16 -9
  64. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNativeSharedDiv.vue.d.ts +6 -0
  65. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNinePatch.vue.d.ts +2 -1
  66. package/bin/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +2 -0
  67. package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
  68. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
  69. package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
  70. package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +75 -0
  71. package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
  72. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/index.d.ts +4 -2
  73. package/index.d.ts +9 -1
  74. package/package.json +1 -1
  75. package/tools/config/toolkit.mjs +81 -0
  76. package/tools/config/vite.config.ts +24 -14
  77. package/tools/jsview-vue-build.mjs +67 -21
  78. package/tsconfig.json +27 -0
  79. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +6 -2
  80. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +3 -1
  81. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +12 -5
  82. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +175 -65
  83. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -1
  84. package/utils/JsViewEngineWidget/TemplateParser/Fence.ts +2 -2
  85. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +15 -9
  86. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +4 -6
  87. package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +13 -3
  88. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +27 -6
  89. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +34 -28
  90. package/utils/JsViewPlugin/JsvLatex/index.js +22 -0
  91. package/utils/JsViewVueTools/FeatureActive.ts +84 -0
  92. package/utils/JsViewVueTools/ForgeHandles.ts +7 -3
  93. package/utils/JsViewVueTools/JsvDynamicCssStyle.js +2 -0
  94. package/utils/JsViewVueTools/JsvDynamicKeyFrames.ts +2 -0
  95. package/utils/JsViewVueTools/JsvHashHistory.js +26 -29
  96. package/utils/JsViewVueTools/JsvImpactTracer.js +2 -0
  97. package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -1
  98. package/utils/JsViewVueTools/JsvRefTaker.js +1 -2
  99. package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -59
  100. package/utils/JsViewVueTools/JsvStyleClass.js +2 -0
  101. package/utils/JsViewVueTools/JsvStyleSheetsDeclarer.js +2 -0
  102. package/utils/JsViewVueTools/JsvTextTools.ts +156 -0
  103. package/utils/JsViewVueTools/JsvTextureLoadTool.ts +233 -0
  104. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +4 -1
  105. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +7 -3
  106. package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +1 -0
  107. package/utils/JsViewVueTools/TextureManagerTools.ts +17 -0
  108. package/utils/JsViewVueTools/TypeCheckAndSet.ts +66 -0
  109. package/utils/JsViewVueTools/index.js +4 -1
  110. package/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue +2 -0
  111. package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +10 -2
  112. package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +12 -1
  113. package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +4 -2
  114. package/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue +2 -0
  115. package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +219 -0
  116. package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +11 -9
  117. package/utils/JsViewVueWidget/JsvFilterView.vue +2 -0
  118. package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +5 -2
  119. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +140 -0
  120. package/utils/JsViewVueWidget/JsvFlexCell/index.js +2 -5
  121. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +214 -63
  122. package/utils/JsViewVueWidget/JsvFragShaderView/index.js +2 -9
  123. package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +9 -0
  124. package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +2 -0
  125. package/utils/JsViewVueWidget/JsvGrid.vue +2 -0
  126. package/utils/JsViewVueWidget/JsvHole.js +2 -0
  127. package/utils/JsViewVueWidget/JsvInput/Cursor.vue +49 -45
  128. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +353 -0
  129. package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +255 -0
  130. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +294 -681
  131. package/utils/JsViewVueWidget/JsvInput/SharedDefine.ts +17 -0
  132. package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +61 -0
  133. package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +2 -0
  134. package/utils/JsViewVueWidget/JsvMarquee.vue +2 -0
  135. package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +5 -48
  136. package/utils/JsViewVueWidget/JsvMindMap/DataTree.ts +14 -1
  137. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +277 -117
  138. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +91 -68
  139. package/utils/JsViewVueWidget/JsvNinePatch.vue +5 -0
  140. package/utils/JsViewVueWidget/JsvPieChart.vue +2 -0
  141. package/utils/JsViewVueWidget/JsvPosterDiv.vue +2 -0
  142. package/utils/JsViewVueWidget/JsvPosterImage.vue +3 -2
  143. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +23 -44
  144. package/utils/JsViewVueWidget/JsvPreload/index.js +2 -13
  145. package/utils/JsViewVueWidget/JsvProgressBar.vue +2 -0
  146. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +12 -12
  147. package/utils/JsViewVueWidget/JsvRadarChart.vue +2 -0
  148. package/utils/JsViewVueWidget/JsvRipple/Constant.js +2 -2
  149. package/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue +3 -1
  150. package/utils/JsViewVueWidget/JsvScaleTextBox.vue +2 -0
  151. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +9 -0
  152. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +9 -0
  153. package/utils/JsViewVueWidget/JsvSector.vue +2 -0
  154. package/utils/JsViewVueWidget/JsvSoundPool.js +5 -7
  155. package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +43 -23
  156. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +2 -5
  157. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue +2 -0
  158. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +2 -0
  159. package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +2 -0
  160. package/utils/JsViewVueWidget/JsvTextBox.vue +2 -4
  161. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +48 -50
  162. package/utils/JsViewVueWidget/JsvTextureAnim/index.js +2 -9
  163. package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +101 -0
  164. package/utils/JsViewVueWidget/JsvVideo.vue +2 -2
  165. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +2 -0
  166. package/utils/JsViewVueWidget/index.js +4 -2
  167. package/bin/browser/BrowserJsvFragShaderView.vue.mjs +0 -63
  168. package/bin/browser/BrowserPreload.vue.mjs +0 -143
  169. package/bin/browser/BrowserQrcode.vue.mjs +0 -180
  170. package/bin/browser/BrowserSpray.vue.mjs +0 -66
  171. package/bin/browser/BrowserTextureAnim.vue.mjs +0 -332
  172. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +0 -102
  173. package/bin/types/JsViewVueTools/ForgeHandles.d.ts +0 -6
  174. package/bin/types/JsViewVueTools/JsvTextTools.d.ts +0 -37
  175. package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +0 -2
  176. package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +0 -2
  177. package/bin/types/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts +0 -13
  178. package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +0 -2
  179. package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +0 -36
  180. package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +0 -210
  181. package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +0 -17
  182. package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +0 -11
  183. package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +0 -2
  184. package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +0 -25
  185. package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +0 -2
  186. package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +0 -151
  187. package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +0 -14
  188. package/tools/config/tsconfig.json +0 -15
  189. package/utils/JsViewVueTools/JsvTextTools.js +0 -89
  190. package/utils/JsViewVueTools/TypeCheckAndSet.js +0 -27
  191. package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +0 -48
  192. package/utils/JsViewVueWidget/JsvPreload/BrowserPreload.vue +0 -144
  193. package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +0 -189
  194. package/utils/JsViewVueWidget/JsvQrcode/index.js +0 -18
  195. package/utils/JsViewVueWidget/JsvSpray/BrowserSpray.vue +0 -55
  196. package/utils/JsViewVueWidget/JsvSpray/index.js +0 -17
  197. package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +0 -359
  198. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/CheckType.d.ts +0 -0
  199. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusHub.d.ts +0 -0
  200. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusManager.d.ts +0 -0
  201. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Const.d.ts +0 -0
  202. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Dispatcher.d.ts +0 -0
  203. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/PageUpdater.d.ts +0 -0
  204. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/RenderItem.d.ts +0 -0
  205. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Slide.d.ts +0 -0
  206. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/SlotComponent.vue.d.ts +0 -0
  207. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/VisibleInfo.d.ts +0 -0
  208. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/WidgetRectInfo.d.ts +0 -0
  209. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/RangeModel.d.ts +0 -0
  210. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/CommonMetroTemplate.d.ts +0 -0
  211. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/ListMetroTemplate.d.ts +0 -0
  212. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/TemplateItemAdder.d.ts +0 -0
  213. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/index.d.ts +0 -0
  214. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/WidgetCommon.d.ts +0 -0
  215. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAccount/JsvAccount.d.ts +0 -0
  216. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/AudioProxy.d.ts +0 -0
  217. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +0 -0
  218. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -4
  219. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/CheckType.d.ts +0 -0
  220. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/Events.d.ts +0 -0
  221. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudio.vue.d.ts +4 -4
  222. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioBridgeProxy.d.ts +0 -0
  223. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioProxy.vue.d.ts +0 -0
  224. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/PluginLoader.d.ts +0 -0
  225. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/ScreenLockManager.d.ts +0 -0
  226. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/index.d.ts +0 -0
  227. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/version.d.ts +0 -0
  228. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserDomBuilder.d.ts +0 -0
  229. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserJsvLatex.vue.d.ts +4 -4
  230. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/Color.d.ts +0 -0
  231. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatex.vue.d.ts +4 -4
  232. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexBridgeProxy.d.ts +0 -0
  233. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexProxy.vue.d.ts +0 -0
  234. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/PluginLoader.d.ts +0 -0
  235. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/version.d.ts +0 -0
  236. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/index.d.ts +0 -0
  237. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ConstSymbol.d.ts +0 -0
  238. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugContentShellJBridge.d.ts +0 -0
  239. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugTool.d.ts +0 -0
  240. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DefaultKeyMap.d.ts +0 -0
  241. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeConstDefine.d.ts +0 -0
  242. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDemoTester.d.ts +0 -0
  243. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvFederationTools.d.ts +0 -0
  244. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvHashHistory.d.ts +0 -0
  245. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPerformance.d.ts +0 -0
  246. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleClass.d.ts +0 -0
  247. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureDefines.d.ts +0 -0
  248. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +0 -0
  249. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CommandList.d.ts +0 -0
  250. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts +0 -0
  251. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +0 -0
  252. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Store.d.ts +0 -0
  253. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Texture.d.ts +0 -0
  254. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/ActorControlBase.d.ts +0 -0
  255. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMove.vue.d.ts +0 -0
  256. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMoveControl.d.ts +0 -0
  257. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/index.d.ts +0 -0
  258. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/BrowserApic.vue.d.ts +1 -1
  259. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/index.d.ts +0 -0
  260. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +1 -1
  261. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/JsvApic2.vue.d.ts +0 -0
  262. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/index.d.ts +0 -0
  263. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +0 -0
  264. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +0 -0
  265. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/GifData.d.ts +0 -0
  266. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +0 -0
  267. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +0 -0
  268. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +0 -0
  269. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/Viewer.d.ts +0 -0
  270. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/WebpData.d.ts +0 -0
  271. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvCommonLoopToolBase.d.ts +0 -0
  272. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/JsvClipDiv.vue.d.ts +0 -0
  273. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/index.d.ts +0 -0
  274. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/ArcLineManager.d.ts +0 -0
  275. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/JsvConnectLine.vue.d.ts +2 -2
  276. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/index.d.ts +0 -0
  277. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/JsvDriftScope.vue.d.ts +0 -0
  278. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/index.d.ts +0 -0
  279. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvEnableRenderBreak.vue.d.ts +0 -0
  280. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFilterView.vue.d.ts +3 -3
  281. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFlexCell/JsvFlexDiv.vue.d.ts +0 -0
  282. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActionRefObject.d.ts +0 -0
  283. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorControl.d.ts +0 -0
  284. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorState.d.ts +0 -0
  285. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/CallbackManager.d.ts +0 -0
  286. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ForgeTypeDefine.d.ts +0 -0
  287. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +9 -9
  288. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +3 -3
  289. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/NexusNode.d.ts +0 -0
  290. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetAction.d.ts +0 -0
  291. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetCondition.d.ts +0 -0
  292. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetState.d.ts +0 -0
  293. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SyncLinkManager.d.ts +0 -0
  294. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/index.d.ts +0 -0
  295. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvGrid.vue.d.ts +0 -0
  296. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvHole.d.ts +0 -0
  297. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/index.d.ts +0 -0
  298. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvLine/JsvLine.vue.d.ts +3 -3
  299. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvLine/LineManager.d.ts +0 -0
  300. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvLine/index.d.ts +0 -0
  301. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMarquee.vue.d.ts +0 -0
  302. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/CommonType.d.ts +0 -0
  303. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Constant.d.ts +0 -0
  304. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/index.d.ts +0 -0
  305. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/rtree.d.ts +0 -0
  306. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPieChart.vue.d.ts +0 -0
  307. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterDiv.vue.d.ts +0 -0
  308. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterImage.vue.d.ts +0 -0
  309. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPreload/JsvPreload.vue.d.ts +0 -0
  310. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvProgressBar.vue.d.ts +1 -1
  311. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
  312. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRadarChart.vue.d.ts +1 -1
  313. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/Constant.d.ts +0 -0
  314. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/JsvRipple.vue.d.ts +3 -3
  315. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/index.d.ts +0 -0
  316. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScaleTextBox.vue.d.ts +0 -0
  317. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollBox.vue.d.ts +0 -0
  318. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollFollow.vue.d.ts +0 -0
  319. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollInnerSymbol.d.ts +0 -0
  320. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollSymbol.d.ts +0 -0
  321. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/index.d.ts +0 -0
  322. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSector.vue.d.ts +0 -0
  323. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSoundPool.d.ts +0 -0
  324. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpray/JsvSpray.vue.d.ts +0 -0
  325. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/FrameBuidler.d.ts +0 -0
  326. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +0 -0
  327. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +0 -0
  328. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteTools.d.ts +0 -0
  329. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/SpriteController.d.ts +0 -0
  330. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/index.d.ts +0 -0
  331. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/sAnimationToken.d.ts +0 -0
  332. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/JsvSwiper.vue.d.ts +1 -1
  333. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/index.d.ts +0 -0
  334. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/JsvSwiper.vue.d.ts +3 -3
  335. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/index.d.ts +0 -0
  336. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextBox.vue.d.ts +0 -0
  337. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/CommonType.d.ts +0 -0
  338. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/JsvTextureAnim.vue.d.ts +0 -0
  339. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +6 -6
  340. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/index.d.ts +6 -6
  341. /package/bin/types/{index.d.ts → utils/index.d.ts} +0 -0
@@ -1,37 +0,0 @@
1
- /*
2
- * 获取文字宽度, 一般用于测量文字宽度
3
- *
4
- * @param {string} text 文字
5
- * @param {object} style 文字的css style
6
- * @return {int} 文字宽度
7
- **/
8
- export function getTextWidth(text: any, style: any): any;
9
- export namespace TextTools {
10
- export { getOneLineTextDrawWidth };
11
- export { getTextWidth };
12
- export { isRtl };
13
- }
14
- /*
15
- * @typedef {object} SliceInfo
16
- * @property {int} start - 文字起始index
17
- * @property {int} end - 文字结束index
18
- * @property {int} width - 文字宽度
19
- */
20
- /*
21
- * @typedef {object} TextInfo
22
- * @property {int} totalWidth - 文字整体宽度
23
- * @property {Array<SliceInfo>} sliceInfo - 每段文字的信息
24
- */
25
- /*
26
- * 单行超长文字会切成多个div拼接, 由于jsview坐标的取整机制, 拼接出的width和文字width会产生误差, 此接口会返回拼接后的width
27
- *
28
- * @param {string} text 文字
29
- * @param {object} style 文字的css style
30
- * @return {TextInfo} 文字信息
31
- **/
32
- declare function getOneLineTextDrawWidth(text: any, style: any): {
33
- totalWidth: any;
34
- sliceInfo: never[];
35
- };
36
- declare function isRtl(str: any): boolean;
37
- export {};
@@ -1,2 +0,0 @@
1
- export function numberCheckSet(number: any): number;
2
- export function urlCheckSet(origin_url: any): any;
@@ -1,2 +0,0 @@
1
- export { JsvFlexDiv };
2
- import JsvFlexDiv from "./JsvFlexDiv.vue";
@@ -1,13 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- startAnim: () => void;
3
- stopAnim: () => void;
4
- $props: {
5
- readonly style?: Record<string, any> | undefined;
6
- readonly duration?: number | undefined;
7
- readonly autoplay?: boolean | undefined;
8
- readonly shaderStr?: string | undefined;
9
- readonly uniforms?: unknown[] | undefined;
10
- readonly textures?: unknown[] | 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;
@@ -1,2 +0,0 @@
1
- export default _JsvFragShaderView;
2
- declare let _JsvFragShaderView: any;
@@ -1,36 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- left: {
3
- type: NumberConstructor;
4
- default: number;
5
- };
6
- top: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- width: NumberConstructor;
11
- height: NumberConstructor;
12
- color: StringConstructor;
13
- }, {
14
- intervalToken: number;
15
- visible: import("vue").Ref<boolean>;
16
- }, any, {}, {
17
- _cleanInterval(): void;
18
- startBlink(): void;
19
- stopBlink(show: any): void;
20
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- left: {
22
- type: NumberConstructor;
23
- default: number;
24
- };
25
- top: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- width: NumberConstructor;
30
- height: NumberConstructor;
31
- color: StringConstructor;
32
- }>>, {
33
- left: number;
34
- top: number;
35
- }>;
36
- export default _default;
@@ -1,210 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- name: {
3
- type: StringConstructor;
4
- };
5
- left: {
6
- type: NumberConstructor;
7
- default: number;
8
- };
9
- top: {
10
- type: NumberConstructor;
11
- default: number;
12
- };
13
- width: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- height: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- type: {
22
- type: NumberConstructor;
23
- default: any;
24
- };
25
- placeholder: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- placeholderColor: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- maxLength: {
34
- type: NumberConstructor;
35
- default: number;
36
- };
37
- readonly: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- value: {
42
- type: StringConstructor;
43
- default: string;
44
- };
45
- fontStyle: {
46
- type: (ObjectConstructor | ArrayConstructor)[];
47
- default(): {
48
- textAlign: string;
49
- fontSize: number;
50
- color: string;
51
- };
52
- };
53
- cursorShow: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- cursorWidth: {
58
- type: NumberConstructor;
59
- default: number;
60
- };
61
- cursorColor: {
62
- type: StringConstructor;
63
- default: string;
64
- };
65
- onTextOverflow: {
66
- type: FunctionConstructor;
67
- };
68
- onTextChange: {
69
- type: FunctionConstructor;
70
- };
71
- onEdge: {
72
- type: FunctionConstructor;
73
- };
74
- }, {
75
- editControlView: null;
76
- editControlViewId: number;
77
- isFocus: boolean;
78
- visibleAreaCurStart: number;
79
- visibleAreaCurPos: number;
80
- visibleAreaCurEnd: number;
81
- cursorPauseTimeoutToken: number;
82
- }, {
83
- fullString: string;
84
- curOffset: number;
85
- textWidth: number;
86
- textLeft: number;
87
- }, {
88
- realText(): string;
89
- placeholderVisible(): boolean;
90
- cursorLeft(): any;
91
- cursorColorInner(): any;
92
- }, {
93
- _updateTextWidth(text: any): void;
94
- _onTextChanged(text: any, cursor_pos: any, moved: any): void;
95
- _onStatusChanged(status: any): void;
96
- _getStringWithFont(str: any): any;
97
- _getFullStringLength(str: any): any;
98
- add(string: any): void;
99
- delete(): void;
100
- clear(): void;
101
- replace(string: any): void;
102
- _calculateCursorPosition(full_str: any, cursor_offset: any): any;
103
- _getLeftWithDelChar(current_cursor_position: any, target_str: any): number;
104
- _getLeftWithMoveRight(): number;
105
- _getLeftWithMoveLeft(): number;
106
- _updateVisibleAreaCursor(offset: any): void;
107
- _getLeftWithAddChar(current_cursor_position: any, end_add: any): number;
108
- _calculateSlide(pre_str: any, target_str: any, cur_index: any, moved: any): number;
109
- onFocus(): void;
110
- onBlur(): void;
111
- clearCursorPauseTimer(): void;
112
- pauseCursorBlink(): void;
113
- onKeyDown(keyEvent: any): boolean;
114
- _GetRealText(src_str: any): any;
115
- _GetShowText(): any;
116
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
117
- name: {
118
- type: StringConstructor;
119
- };
120
- left: {
121
- type: NumberConstructor;
122
- default: number;
123
- };
124
- top: {
125
- type: NumberConstructor;
126
- default: number;
127
- };
128
- width: {
129
- type: NumberConstructor;
130
- default: number;
131
- };
132
- height: {
133
- type: NumberConstructor;
134
- default: number;
135
- };
136
- type: {
137
- type: NumberConstructor;
138
- default: any;
139
- };
140
- placeholder: {
141
- type: StringConstructor;
142
- default: string;
143
- };
144
- placeholderColor: {
145
- type: StringConstructor;
146
- default: string;
147
- };
148
- maxLength: {
149
- type: NumberConstructor;
150
- default: number;
151
- };
152
- readonly: {
153
- type: BooleanConstructor;
154
- default: boolean;
155
- };
156
- value: {
157
- type: StringConstructor;
158
- default: string;
159
- };
160
- fontStyle: {
161
- type: (ObjectConstructor | ArrayConstructor)[];
162
- default(): {
163
- textAlign: string;
164
- fontSize: number;
165
- color: string;
166
- };
167
- };
168
- cursorShow: {
169
- type: BooleanConstructor;
170
- default: boolean;
171
- };
172
- cursorWidth: {
173
- type: NumberConstructor;
174
- default: number;
175
- };
176
- cursorColor: {
177
- type: StringConstructor;
178
- default: string;
179
- };
180
- onTextOverflow: {
181
- type: FunctionConstructor;
182
- };
183
- onTextChange: {
184
- type: FunctionConstructor;
185
- };
186
- onEdge: {
187
- type: FunctionConstructor;
188
- };
189
- }>>, {
190
- type: number;
191
- height: number;
192
- width: number;
193
- left: number;
194
- top: number;
195
- fontStyle: unknown[] | Record<string, any>;
196
- value: string;
197
- readonly: boolean;
198
- placeholder: string;
199
- placeholderColor: string;
200
- maxLength: number;
201
- cursorShow: boolean;
202
- cursorWidth: number;
203
- cursorColor: string;
204
- }>;
205
- export default _default;
206
- export namespace InputType {
207
- const TEXT: any;
208
- const NUMBER: any;
209
- const PASSWORD: any;
210
- }
@@ -1,17 +0,0 @@
1
- export default _JsvPreload;
2
- declare let _JsvPreload: any;
3
- export let buildPreloadInfo: (url: any, width: number | undefined, height: number | undefined, color_type: string | undefined, net_setting: null | undefined, is_poster_img: any) => {
4
- url: any;
5
- width: number;
6
- height: number;
7
- colorType: string;
8
- netSetting: null;
9
- magicToken: string;
10
- isPosterImage: any;
11
- };
12
- export let buildDownloadInfo: (url: any, net_setting: null | undefined, get_image_size: any) => {
13
- url: any;
14
- netSetting: null;
15
- getImageSize: any;
16
- magicToken: string;
17
- };
@@ -1,11 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- $props: {
3
- readonly fgColor?: string | undefined;
4
- readonly bgColor?: string | undefined;
5
- readonly level?: string | undefined;
6
- readonly value?: string | undefined;
7
- readonly size?: number | undefined;
8
- readonly imageSettings?: Record<string, any> | undefined;
9
- };
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
11
- export default _default;
@@ -1,2 +0,0 @@
1
- export default _JsvQrcode;
2
- declare let _JsvQrcode: any;
@@ -1,25 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export default _JsvSpray;
2
- declare let _JsvSpray: any;
@@ -1,151 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- src: StringConstructor;
3
- top: NumberConstructor;
4
- left: NumberConstructor;
5
- width: NumberConstructor;
6
- height: NumberConstructor;
7
- borderRadius: (StringConstructor | NumberConstructor)[];
8
- decorate: ObjectConstructor;
9
- animation: StringConstructor;
10
- duration: NumberConstructor;
11
- transform: StringConstructor;
12
- transformOrigin: StringConstructor;
13
- repeat: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- delay: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- easing: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- onAnimationEnd: FunctionConstructor;
26
- autoStart: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- texCoord: {
31
- type: ObjectConstructor;
32
- };
33
- }, {
34
- animName: string;
35
- animDiv: null;
36
- clipDiv: null;
37
- imgDiv: null;
38
- watcherHandlerList: never[];
39
- }, any, {
40
- animSet(): string;
41
- textureLayout(): {
42
- position: string;
43
- left: string;
44
- top: string;
45
- transition: string;
46
- width: string;
47
- height: string;
48
- } | {
49
- position: string;
50
- left: string;
51
- top: string;
52
- width: string;
53
- height: string;
54
- transition?: undefined;
55
- };
56
- maskStyle(): {
57
- left: string;
58
- top: string;
59
- borderRadius: string;
60
- width: string;
61
- height: string;
62
- overflow: string;
63
- transition?: undefined;
64
- webkitMaskBoxImageSource?: undefined;
65
- webkitMaskBoxImageSlice?: undefined;
66
- webkitMaskBoxImageWidth?: undefined;
67
- webkitMaskBoxImageOutset?: undefined;
68
- position?: undefined;
69
- } | {
70
- left: string;
71
- top: string;
72
- width: string;
73
- height: string;
74
- transition: string;
75
- webkitMaskBoxImageSource: any;
76
- webkitMaskBoxImageSlice: number;
77
- webkitMaskBoxImageWidth: string;
78
- webkitMaskBoxImageOutset: string;
79
- position: string;
80
- borderRadius?: undefined;
81
- overflow?: undefined;
82
- } | {
83
- left: string;
84
- top: string;
85
- width: string;
86
- height: string;
87
- overflow: string;
88
- borderRadius?: undefined;
89
- transition?: undefined;
90
- webkitMaskBoxImageSource?: undefined;
91
- webkitMaskBoxImageSlice?: undefined;
92
- webkitMaskBoxImageWidth?: undefined;
93
- webkitMaskBoxImageOutset?: undefined;
94
- position?: undefined;
95
- } | undefined;
96
- }, {
97
- _readRadius(setting: any): {
98
- type: string;
99
- topLeft: number;
100
- topRight: number;
101
- bottomRight: number;
102
- bottomLeft: number;
103
- } | {
104
- type: string;
105
- topLeft: string;
106
- topRight: string;
107
- bottomRight: string;
108
- bottomLeft: string;
109
- } | null;
110
- start(): void;
111
- insertKeyframe(animDefine: any): void;
112
- removeKeyframe(animName: any): void;
113
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
114
- src: StringConstructor;
115
- top: NumberConstructor;
116
- left: NumberConstructor;
117
- width: NumberConstructor;
118
- height: NumberConstructor;
119
- borderRadius: (StringConstructor | NumberConstructor)[];
120
- decorate: ObjectConstructor;
121
- animation: StringConstructor;
122
- duration: NumberConstructor;
123
- transform: StringConstructor;
124
- transformOrigin: StringConstructor;
125
- repeat: {
126
- type: NumberConstructor;
127
- default: number;
128
- };
129
- delay: {
130
- type: NumberConstructor;
131
- default: number;
132
- };
133
- easing: {
134
- type: StringConstructor;
135
- default: string;
136
- };
137
- onAnimationEnd: FunctionConstructor;
138
- autoStart: {
139
- type: BooleanConstructor;
140
- default: boolean;
141
- };
142
- texCoord: {
143
- type: ObjectConstructor;
144
- };
145
- }>>, {
146
- repeat: number;
147
- easing: string;
148
- delay: number;
149
- autoStart: boolean;
150
- }>;
151
- export default _default;
@@ -1,14 +0,0 @@
1
- export * from "./CommonType";
2
- export default _JsvTextureAnim;
3
- declare let _JsvTextureAnim: any;
4
- export const TexAlignAnchor: {
5
- LEFT_TOP: number;
6
- CENTER_TOP: number;
7
- RIGHT_TOP: number;
8
- LEFT_MIDDLE: number;
9
- CENTER: number;
10
- RIGHT_MIDDLE: number;
11
- LEFT_BOTTOM: number;
12
- CENTER_BOTTOM: number;
13
- RIGHT_BOTTOM: number;
14
- };
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowJs": true,
4
- "declaration": true,
5
- "declarationDir": "../../bin/types",
6
- "emitDeclarationOnly": true,
7
- "module": "es2022",
8
- "moduleResolution": "node",
9
- "strict": true,
10
- "target": "es2022",
11
- },
12
- "include": [
13
- "../../utils/index.js"
14
- ],
15
- }
@@ -1,89 +0,0 @@
1
- /*
2
- * @Author: ChenChanghua
3
- * @Date: 2022-11-29 14:26:20
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2023-02-02 10:20:45
6
- * @Description: file content
7
- */
8
-
9
- /*!
10
- * 获取文字宽度, 一般用于测量文字宽度
11
- *
12
- * @param {string} text 文字
13
- * @param {object} style 文字的css style
14
- * @return {int} 文字宽度
15
- **/
16
- const getTextWidth = (text, style) => {
17
- const textParams = {
18
- str: text ? text : "",
19
- font: style.fontFamily ? style.fontFamily : Forge.TextUtils._sDefaultFont,
20
- size: style.fontSize ? style.fontSize : Forge.TextUtils._sDefaultFontSize,
21
- italic: style.fontStyle === "italic" ? "italic" : "",
22
- bold: style.fontWeight === "bold" ? "bold" : "",
23
- };
24
- return window.PlatformUtils.GetTextWidth(textParams);
25
- };
26
-
27
- /*!
28
- * @typedef {object} SliceInfo
29
- * @property {int} start - 文字起始index
30
- * @property {int} end - 文字结束index
31
- * @property {int} width - 文字宽度
32
- */
33
-
34
- /*!
35
- * @typedef {object} TextInfo
36
- * @property {int} totalWidth - 文字整体宽度
37
- * @property {Array<SliceInfo>} sliceInfo - 每段文字的信息
38
- */
39
-
40
- /*!
41
- * 单行超长文字会切成多个div拼接, 由于jsview坐标的取整机制, 拼接出的width和文字width会产生误差, 此接口会返回拼接后的width
42
- *
43
- * @param {string} text 文字
44
- * @param {object} style 文字的css style
45
- * @return {TextInfo} 文字信息
46
- **/
47
- const getOneLineTextDrawWidth = (text, style) => {
48
- const info = window.PlatformUtils.GetOneLineTextDrawWidth(
49
- text ?? "",
50
- style.fontFamily ?? Forge.TextUtils._sDefaultFont,
51
- style.fontSize ?? Forge.TextUtils._sDefaultFontSize,
52
- style.fontStyle === "italic" ? "italic" : "",
53
- style.fontWeight === "bold" ? "bold" : "");
54
- const result = {
55
- totalWidth: info[0],
56
- sliceInfo: [],
57
- }
58
- for (let i = 1; i < info.length; i += 3) {
59
- result.sliceInfo.push({
60
- start: info[i],
61
- end: info[i + 1],
62
- width: info[2 + 2],
63
- })
64
- }
65
- return result;
66
- }
67
-
68
- const isRtl = (str) => {
69
- //arabic
70
- for (let i = 0; i < str.length; i++) {
71
- let c = str.charCodeAt(i);
72
- if (c != 32) {
73
- if (c >= 0x0600 && c <= 0x06ff) {
74
- return true;
75
- } else {
76
- return false;
77
- }
78
- }
79
- }
80
- return false;
81
- }
82
-
83
- const TextTools = {
84
- getOneLineTextDrawWidth,
85
- getTextWidth,
86
- isRtl,
87
- }
88
-
89
- export { getTextWidth, TextTools };
@@ -1,27 +0,0 @@
1
- var number_convert_tmp = new Float32Array(1);
2
-
3
- function numberCheckSet(number) {
4
- number_convert_tmp[0] = number; // 强制类型转换, 避免JSON化时类型出错,因为 '123' 123 都能通过Nan检测
5
- if (!isNaN(number_convert_tmp[0])) {
6
- return number_convert_tmp[0];
7
- } else {
8
- console.warn(`${number} is not type of number, default as 0`);
9
- return 0;
10
- }
11
- }
12
-
13
- function urlCheckSet(origin_url) {
14
- if (origin_url && origin_url.indexOf("http") === 0) {
15
- return origin_url;
16
- } else if (window.JsView.Dom.UrlRef) {
17
- return (new window.JsView.Dom.UrlRef(origin_url)).href;
18
- } else {
19
- console.warn(`${origin_url} is not valid url format, default as null`);
20
- return null;
21
- }
22
- }
23
-
24
- export {
25
- numberCheckSet,
26
- urlCheckSet
27
- };