@shijiu/jsview-vue 2.2.373 → 2.3.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.
- package/bin/jsview-vue-common.mjs +1 -1
- package/bin/jsview-vue.mjs +7678 -7306
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/CheckType.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusBlock.vue.d.ts +0 -34
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusHub.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusManager.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Const.d.ts +0 -4
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +8 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +5 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Dispatcher.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/ListWidget.vue.d.ts +24 -14
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +179 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidgetSetup.d.ts +9 -6
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/PageUpdater.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/RenderItem.d.ts +3 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Slide.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/SlotComponent.vue.d.ts +0 -4
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +64 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/VisibleInfo.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/WidgetRectInfo.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/RangeModel.d.ts +0 -4
- package/bin/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/CommonMetroTemplate.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/Fence.d.ts +2 -6
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/ListMetroTemplate.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/MetroTemplate.d.ts +3 -7
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/TemplateItemAdder.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/index.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/WidgetCommon.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/index.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAccount/JsvAccount.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +2 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -8
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/CheckType.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/Events.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudio.vue.d.ts +4 -8
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioBridgeProxy.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioProxy.vue.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +1 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/ScreenLockManager.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/index.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/version.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserDomBuilder.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserJsvLatex.vue.d.ts +5 -9
- package/bin/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +1 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatex.vue.d.ts +5 -29
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +3 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexProxy.vue.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +1 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/index.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +13 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/version.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer-0.9.vue.d.ts +45 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue.d.ts +596 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +420 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +57 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +588 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +358 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +358 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/index.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ConstSymbol.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugContentShellJBridge.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugTool.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DefaultKeyMap.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/FeatureActive.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeConstDefine.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeHandles.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicCssStyle.d.ts +0 -17
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicKeyFrames.d.ts +0 -17
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvFederationTools.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvHashHistory.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvImpactTracer.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPerformance.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPreDownloader.d.ts +0 -21
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRefTaker.d.ts +0 -26
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRuntimeBridge.d.ts +6 -8
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleClass.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleSheetsDeclarer.d.ts +0 -18
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +61 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureDefines.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureLoadTool.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CommandList.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts +20 -3
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/JsvTextureStore.d.ts +1 -23
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Store.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Texture.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/NinePatchHelper.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/TextureManagerTools.d.ts +0 -4
- package/bin/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +3 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/index.d.ts +0 -6
- package/bin/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +120 -0
- package/bin/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +144 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/ActorControlBase.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +64 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMoveControl.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/BrowserApic.vue.d.ts +1 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/JsvApic.vue.d.ts +0 -20
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +50 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +1 -5
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +23 -0
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +23 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/GifData.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/Viewer.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/WebpData.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvCommonLoopToolBase.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/JsvClipDiv.vue.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +13 -0
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDragBox/JsvDragBox.vue.d.ts +0 -25
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/JsvDriftScope.vue.d.ts +4 -8
- package/bin/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +1 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvEnableRenderBreak.vue.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFilterView.vue.d.ts +6 -25
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +78 -0
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +75 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFlexCell/index.d.ts +1 -4
- package/bin/types/{JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts → utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts} +1 -5
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +1 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorControl.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/CallbackManager.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ForgeTypeDefine.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +12 -37
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +6 -28
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +7 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/NexusNode.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetAction.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetCondition.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetState.d.ts +1 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SyncLinkManager.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvGrid.vue.d.ts +0 -73
- package/bin/types/utils/JsViewVueWidget/JsvHole.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/Cursor.vue.d.ts +2 -6
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/EditViewOperator.d.ts +2 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/EditVisibleArea.d.ts +4 -5
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +12 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/SharedDefine.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/SystemTextTools.d.ts +7 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/index.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +12 -0
- package/bin/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvLine/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +12 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMaskClipDiv.vue.d.ts +0 -22
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Constant.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/DataTree.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Geometry.d.ts +2 -6
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/JsvMindMap.vue.d.ts +12 -95
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +1 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/rtree.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNativeSharedDiv.vue.d.ts +0 -18
- package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +21 -0
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +9 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterDiv.vue.d.ts +3 -17
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterImage.vue.d.ts +3 -18
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +25 -0
- package/bin/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +12 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvQrcode/JsvQrcode.vue.d.ts +1 -26
- package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +13 -0
- package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
- package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +84 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/index.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +10 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollBox.vue.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollFollow.vue.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +4 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollSymbol.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSector.vue.d.ts +0 -18
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSoundPool.d.ts +0 -42
- package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +11 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/FrameBuidler.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +18 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +0 -16
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteTools.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/SpriteController.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/index.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/JsvSwiper.vue.d.ts +0 -39
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/JsvSwiper.vue.d.ts +3 -27
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextBox.vue.d.ts +0 -26
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/CommonType.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/JsvTextureAnim.vue.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTouchModeSwitcher.vue.d.ts +3 -28
- package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +9 -34
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/index.d.ts +9 -13
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/index.d.ts +4 -6
- package/bin/types/{index.d.ts → utils/index.d.ts} +0 -4
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/tools/jsview-vue-build.mjs +3 -2
- package/tsconfig.json +27 -0
- package/utils/JsViewEngineWidget/CheckType.js +3 -3
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +25 -6
- package/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue +22 -0
- package/utils/JsViewEngineWidget/MetroWidget/DebugTools.ts +37 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +42 -7
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +62 -10
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +177 -77
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +30 -0
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -1
- package/utils/JsViewEngineWidget/TemplateParser/Fence.ts +2 -2
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +2 -4
- package/utils/JsViewPlugin/JsvPlayer/AckEventDefine.ts +82 -0
- package/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue +49 -31
- package/utils/JsViewVueTools/JsvHashHistory.js +26 -29
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +82 -73
- package/utils/JsViewVueTools/JsvTextTools.ts +63 -130
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -2
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +1 -1
- package/utils/JsViewVueTools/TypeCheckAndSet.ts +66 -0
- package/utils/JsViewVueTools/index.js +1 -2
- package/utils/JsViewVueWidget/Jsv3dDiv.vue +85 -0
- package/utils/JsViewVueWidget/Jsv3dStage.vue +50 -0
- package/utils/JsViewVueWidget/JsvApic/JsvApic/index.js +1 -8
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/index.js +1 -8
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +1 -1
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue +151 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +11 -16
- package/utils/JsViewVueWidget/JsvFlexCell/index.js +1 -0
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +4 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/index.js +2 -9
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +8 -0
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +48 -15
- package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +43 -10
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +22 -9
- package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +41 -27
- package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +3 -57
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +57 -71
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +15 -8
- package/utils/JsViewVueWidget/JsvPosterImage.vue +12 -3
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +21 -44
- package/utils/JsViewVueWidget/JsvPreload/index.js +2 -13
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +3 -2
- package/utils/JsViewVueWidget/JsvSoundPool.js +3 -7
- package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +116 -75
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +0 -5
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +27 -32
- package/utils/JsViewVueWidget/JsvTextureAnim/index.js +2 -9
- package/utils/JsViewVueWidget/index.js +4 -2
- package/bin/browser/BrowserApic.vue.mjs +0 -114
- package/bin/browser/BrowserApic2.vue.mjs +0 -108
- package/bin/browser/BrowserApicLib.mjs +0 -431
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +0 -79
- package/bin/browser/BrowserPreload.vue.mjs +0 -139
- package/bin/browser/BrowserQrcode.vue.mjs +0 -176
- package/bin/browser/BrowserSpray.vue.mjs +0 -56
- package/bin/browser/BrowserTextureAnim.vue.mjs +0 -322
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +0 -435
- package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +0 -6
- package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +0 -5
- package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +0 -5
- package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +0 -7
- package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +0 -5
- package/bin/types/JsViewVueTools/JsvDemoTester.d.ts +0 -6
- package/bin/types/JsViewVueTools/JsvTextTools.d.ts +0 -95
- package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +0 -102
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +0 -51
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +0 -34
- package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +0 -106
- package/bin/types/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +0 -106
- package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +0 -60
- package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvHole.d.ts +0 -19
- package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +0 -65
- package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +0 -32
- package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +0 -33
- package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +0 -50
- package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +0 -26
- package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +0 -14
- package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +0 -67
- package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +0 -21
- package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +0 -31
- package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +0 -15
- package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +0 -37
- package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +0 -8
- package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +0 -129
- package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +0 -28
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +0 -8
- package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +0 -29
- package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +0 -78
- package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +0 -70
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +0 -155
- package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +0 -18
- package/tools/config/tsconfig.json +0 -16
- package/utils/JsViewVueTools/JsvDemoTester.js +0 -81
- package/utils/JsViewVueTools/TypeCheckAndSet.js +0 -27
- package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +0 -75
- package/utils/JsViewVueWidget/JsvPreload/BrowserPreload.vue +0 -144
- package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +0 -189
- package/utils/JsViewVueWidget/JsvQrcode/index.js +0 -18
- package/utils/JsViewVueWidget/JsvSpray/BrowserSpray.vue +0 -55
- package/utils/JsViewVueWidget/JsvSpray/index.js +0 -17
- package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +0 -359
- /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActionRefObject.d.ts +0 -0
- /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorState.d.ts +0 -0
- /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/CommonType.d.ts +0 -0
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/JsvDynamicCssStyle.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file
|
|
7
|
-
*
|
|
8
|
-
* 【模块 export 内容】
|
|
9
|
-
* CssStyleSheet:面向对象类,CSS rule的操作器,用于添加和删除CssStyle,服务于JsvStyleClass
|
|
10
|
-
* 接口:
|
|
11
|
-
* insertRule {String} 将传入的Css rule对象插入到CSS列表中,
|
|
12
|
-
* 请保证不要和其他css rule重名,重名场合以最后一个为准
|
|
13
|
-
* removeRule {String} 从CSS列表中删除指定名字的css rule
|
|
14
|
-
* removeMultiRules {String[]} 从CSS列表中删除复数个css rule
|
|
15
|
-
* getCssStyleSheet: 函数,获取 _StyleSheet 实例的函数,可接受一个参数anchor_tag,用来定位CSS rule的群组
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
1
|
/**
|
|
19
2
|
* Created by donglin.lu@qcast.cn on 11/13/2020.
|
|
20
3
|
*/
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/JsvDynamicKeyFrames.ts}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file
|
|
7
|
-
*
|
|
8
|
-
* 【模块 export 内容】
|
|
9
|
-
* getKeyFramesGroup: 函数,获取KeyFrame操作类 KeyFrameStyleSheet
|
|
10
|
-
* KeyFrameStyleSheet:面向对象类,KeyFrames CSS rule的操作类,用于添加和删除KeyFrame
|
|
11
|
-
* 功能函数:(参数说明见函数本体)
|
|
12
|
-
* insertRule(key_frame_string) 动态添加keyFrame
|
|
13
|
-
* removeRule(name) 动态删除keyFrame
|
|
14
|
-
* removeMultiRules(names_array) 批量动态删除keyFrame
|
|
15
|
-
* hasRule(name) 查询KeyFrame是否存在
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
1
|
/**
|
|
19
2
|
* Created by donglin.lu@qcast.cn on 11/13/2020.
|
|
20
3
|
*/
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/JsvPreDownloader.ts}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file JsvPreDownloader 通用下载器,可以在不同的环境中进行资源下载操作。
|
|
7
|
-
*
|
|
8
|
-
* JsvPreDownloader.download:实例方法,根据传入参数来下载资源。支持单个url或者url列表,返回Promise对象。
|
|
9
|
-
* 参数:
|
|
10
|
-
* url {string | Array}: (必填)图片url
|
|
11
|
-
* netSetting {string}: 网络设置
|
|
12
|
-
* isImage {boolean} : 是否为图片
|
|
13
|
-
*
|
|
14
|
-
* JsvPreDownloader.buildDownloadItem: 实例方法,创建预下载信息项。
|
|
15
|
-
* 参数:
|
|
16
|
-
* url {string}: (必填)图片url
|
|
17
|
-
* netSetting {string}: 网络设置
|
|
18
|
-
* isImage {boolean} : 是否为图片
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
1
|
/*!
|
|
23
2
|
* @file JsvPreDownloader 通用下载器,可以在不同的环境中进行资源下载操作。
|
|
24
3
|
*
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/JsvRefTaker.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file JsvRefTaker模块
|
|
7
|
-
*
|
|
8
|
-
* 用于解决 script setup 写法,不容易通过 this.$ref.xxxx 拿到子模块的句柄,
|
|
9
|
-
* 但使用ref(null)的方式构筑的深度reactive对象又会严重影响element的内部处理性能的问题
|
|
10
|
-
*
|
|
11
|
-
* 使用方法:
|
|
12
|
-
* <script setup>
|
|
13
|
-
* const element_ref = buildTaker();
|
|
14
|
-
*
|
|
15
|
-
* onMounted(()=>{
|
|
16
|
-
* // onMounted以后,可以用 .current 访问到引用
|
|
17
|
-
* console.log(element.current)
|
|
18
|
-
* })
|
|
19
|
-
* <\/script>
|
|
20
|
-
*
|
|
21
|
-
* <template>
|
|
22
|
-
* <div :ref="element_ref.fnc" />
|
|
23
|
-
* </template>
|
|
24
|
-
*
|
|
25
|
-
********************/
|
|
26
|
-
|
|
27
1
|
export default buildTaker;
|
|
28
2
|
/*!
|
|
29
3
|
* @file JsvRefTaker模块
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/JsvRuntimeBridge.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
@file JsvRuntimeBridge.js
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
1
|
export { bridge as jJsvRuntimeBridge };
|
|
10
2
|
declare namespace bridge {
|
|
11
3
|
export { getMac };
|
|
@@ -51,6 +43,7 @@ declare namespace bridge {
|
|
|
51
43
|
export { providerInsert };
|
|
52
44
|
export { providerDelete };
|
|
53
45
|
export { providerUpdate };
|
|
46
|
+
export { getBootTime };
|
|
54
47
|
}
|
|
55
48
|
/**
|
|
56
49
|
* 获取设备mac地址,优先获取有线mac,无则获取wifi mac
|
|
@@ -327,3 +320,8 @@ declare function providerDelete(uri: string, selection: string, selectionArgs: s
|
|
|
327
320
|
* @returns
|
|
328
321
|
*/
|
|
329
322
|
declare function providerUpdate(uri: string, contentValue: object, selection: string, selectionArgs: string[]): any;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @returns 设备开机时长
|
|
326
|
+
*/
|
|
327
|
+
declare function getBootTime(): any;
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/JsvStyleSheetsDeclarer.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file
|
|
7
|
-
*
|
|
8
|
-
* 【模块 export 内容】
|
|
9
|
-
* JsvStyleSheetsDeclarer: 动态和删除全局的 CssStyle
|
|
10
|
-
* 接口:
|
|
11
|
-
* DeclareClass(className:string, styleProperties:object) 新加全局Class
|
|
12
|
-
* className: 定义的class的名称, 为了规避全局重名,建议用'-'进行区域区分,例如主界面叫 main-xxxx, 详情页用 detail-xxxx
|
|
13
|
-
* styleProperties: 具体的style定义的对象,内部的名字采用驼峰规范
|
|
14
|
-
*
|
|
15
|
-
* UndeclareClass(className:string) 删除全局Class
|
|
16
|
-
* className: 通过 DeclareClass 声明的出来的动态className
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
1
|
/*!
|
|
20
2
|
* @file
|
|
21
3
|
*
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare interface FontStyleDefine {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
fontSize: number;
|
|
4
|
+
fontStyle: string;
|
|
5
|
+
fontWeight: string;
|
|
6
|
+
}
|
|
7
|
+
/*!
|
|
8
|
+
* 获取文字宽度, 一般用于测量文字宽度
|
|
9
|
+
*
|
|
10
|
+
* @param {string} text 文字
|
|
11
|
+
* @param {object} style 文字的css style
|
|
12
|
+
* @return {int} 文字宽度
|
|
13
|
+
**/
|
|
14
|
+
declare const getTextWidth: (text: string, style: FontStyleDefine) => any;
|
|
15
|
+
declare interface CssFontStyle {
|
|
16
|
+
fontFamily: string;
|
|
17
|
+
fontSize: number;
|
|
18
|
+
fontStyle: string;
|
|
19
|
+
fontWeight: string;
|
|
20
|
+
}
|
|
21
|
+
declare interface CssTextLayoutStyle {
|
|
22
|
+
width?: number;
|
|
23
|
+
height?: number;
|
|
24
|
+
textAlign?: String;
|
|
25
|
+
lineHeight?: number;
|
|
26
|
+
whiteSpace?: String;
|
|
27
|
+
wordWrap?: String;
|
|
28
|
+
textOverflow?: String;
|
|
29
|
+
}
|
|
30
|
+
declare interface CursorResult {
|
|
31
|
+
parseSuccess: boolean;
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
cachedId: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 获取光标的位置
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
* @func GetCursorPosition
|
|
41
|
+
* @return {CursorResult} 光标的所在位置{x:0,y:0}
|
|
42
|
+
**/
|
|
43
|
+
declare function getCursorPosition(cursorOffset: number, text: String, fontStyle: CssFontStyle, textLayoutStyle: CssTextLayoutStyle, buildCache: boolean): CursorResult;
|
|
44
|
+
/**
|
|
45
|
+
* 获取光标的位置
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
48
|
+
* @func GetCursorPositionCached
|
|
49
|
+
* @return {CursorResult} 光标的所在位置{x:0,y:0}
|
|
50
|
+
**/
|
|
51
|
+
declare function getCursorPositionCached(cachedId: number, cursorOffset: number): CursorResult;
|
|
52
|
+
declare function recycleCursorPositionCache(cached_id: number): void;
|
|
53
|
+
declare const TextTools: {
|
|
54
|
+
getOneLineTextDrawWidth: (text: string, style: FontStyleDefine) => any;
|
|
55
|
+
getTextWidth: (text: string, style: FontStyleDefine) => any;
|
|
56
|
+
isRtl: (str: string) => boolean;
|
|
57
|
+
getCursorPosition: typeof getCursorPosition;
|
|
58
|
+
getCursorPositionCached: typeof getCursorPositionCached;
|
|
59
|
+
recycleCursorPositionCache: typeof recycleCursorPositionCache;
|
|
60
|
+
};
|
|
61
|
+
export { getTextWidth, TextTools };
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../../utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.ts}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
import { TextureBase } from "../Texture";
|
|
6
2
|
import { RectPath, CirclePath, CustomPath } from "./Path";
|
|
7
3
|
declare class CanvasTexture extends TextureBase {
|
package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts
RENAMED
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* PathStrokeSetting
|
|
3
|
+
* 描边样式设定
|
|
4
|
+
* lineWidth: 描边线宽
|
|
5
|
+
* color: 描边颜色
|
|
6
|
+
* dash: 描边虚线样式,例如[10, 5]表示10px实线,5px虚线,交替出现
|
|
7
|
+
* phase: 描边虚线样式起始位置,例如0表示从虚线开始位置开始绘制
|
|
3
8
|
*/
|
|
4
|
-
|
|
9
|
+
interface PathStrokeSetting {
|
|
10
|
+
lineWidth: Number;
|
|
11
|
+
color: String;
|
|
12
|
+
dash?: Array<Number>;
|
|
13
|
+
phase?: Number;
|
|
14
|
+
}
|
|
5
15
|
declare class DrawingPath {
|
|
6
16
|
protected drawCommandsRefs: Array<Object>;
|
|
7
17
|
protected finishedDraw: boolean;
|
|
@@ -14,6 +24,13 @@ declare class DrawingPath {
|
|
|
14
24
|
* @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
|
|
15
25
|
*/
|
|
16
26
|
stroke(lineWidth: Number, color: String): void;
|
|
27
|
+
/**
|
|
28
|
+
* strokeWithSetting
|
|
29
|
+
* 绘制边框,并设置描边样式
|
|
30
|
+
*
|
|
31
|
+
* @param {PathStrokeSetting} setting 描边样式设定
|
|
32
|
+
*/
|
|
33
|
+
strokeWithSetting(setting: PathStrokeSetting): void;
|
|
17
34
|
/**
|
|
18
35
|
* fill
|
|
19
36
|
* 绘制填充
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../../utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
import { TextureBase } from "../Texture";
|
|
6
2
|
export type CapturedCallback = (textureAccessName: string, autoRecycleSet: boolean, width: number, height: number) => void;
|
|
7
3
|
export declare class CapturedTexture extends TextureBase {
|
package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/JsvTextureStore.d.ts
RENAMED
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file JsvTextureStoreApi
|
|
7
|
-
*
|
|
8
|
-
* canvasTexture:
|
|
9
|
-
* 创建texture(图片纹理)句柄, 通过 CanvasTexture 的API进行绘制, 使用注意以下几点
|
|
10
|
-
* a. commit() 接口调用之前可以任意绘制, commit之后就无法更改, commit之后才能使用, commit后绘制内容会被全局保存
|
|
11
|
-
* b. commit()的返回是其使用名称, 在div.backgroundImage和img.src中可使用, 格式: jsvtexturestore://commit返回名
|
|
12
|
-
* c.【非常重要】CanvasTexture是全局管理, commit()之后 不会自动释放, 需要手动调用 deleteTexture, 其参数是commit的返回值
|
|
13
|
-
* deleteTexture:
|
|
14
|
-
* 删除全局保存的texture(图片纹理)
|
|
15
|
-
*
|
|
16
|
-
* CanvasTexture的接口(见 ./CanvasTexture/CanvasTexture.ts 的函数头):
|
|
17
|
-
* Path类型: 例如 rectPath, circlePath (见 ./CanvasTexture/Path.ts 的函数头)
|
|
18
|
-
* 通过 canvasTexture.xxxPath() 获得一个path操作对象,然后通过其接口进行游标运动形成绘制路径
|
|
19
|
-
* Path.fill() 或者 Path.stroke 调用前可以移动游标进行路径规划, 一旦fill或者stroke后就不能更改了。
|
|
20
|
-
* 非Path接口: 完成单一绘制动作,例如drawLine, drawColor
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
1
|
/*!
|
|
24
2
|
* @file JsvTextureStoreApi
|
|
25
3
|
*
|
|
@@ -56,7 +34,7 @@ declare let sTextureStoreApi: {
|
|
|
56
34
|
* @param {String|null} baseName 可选, 访问名的前缀信息
|
|
57
35
|
* @return {CanvasTexture}
|
|
58
36
|
*/
|
|
59
|
-
canvasTexture: (width: Number, height: Number, baseName
|
|
37
|
+
canvasTexture: (width: Number, height: Number, baseName?: String | null) => CanvasTexture;
|
|
60
38
|
/**
|
|
61
39
|
* capture2Texture
|
|
62
40
|
* 对给定div做截图并生成一个Texture, 在回调函数中返回此Texture的访问名,
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/TextureManagerTools.ts}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
declare function GetColorTexture(manager_ref: any, color_define: string): any;
|
|
6
2
|
declare function GetImage(manager_ref: any, image_url: string): any;
|
|
7
3
|
declare let ForgeTextureApis: {
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueTools/index.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
export * from "./JsvHashHistory";
|
|
6
2
|
export * from "./JsvDynamicCssStyle";
|
|
7
3
|
export * from "./JsvDynamicKeyFrames";
|
|
8
4
|
export * from "./JsvRuntimeBridge";
|
|
9
5
|
export * from "./NinePatchHelper";
|
|
10
|
-
export * from "./TypeCheckAndSet";
|
|
11
6
|
export * from "./JsvRefTaker";
|
|
12
7
|
export * from "./JsvStyleClass";
|
|
13
8
|
export * from "./JsvStyleSheetsDeclarer";
|
|
@@ -16,7 +11,6 @@ export * from "./DebugTool";
|
|
|
16
11
|
export * from "./JsvImpactTracer";
|
|
17
12
|
export * from "./JsvTextTools";
|
|
18
13
|
export * from "./JsvPreDownloader";
|
|
19
|
-
export * from "./JsvDemoTester";
|
|
20
14
|
export * from "./JsvPerformance";
|
|
21
15
|
export * from "./JsvTextureStore/JsvTextureStore";
|
|
22
16
|
export * from "./JsvTextureDefines";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* 【模块 export 内容】
|
|
5
|
+
* JsvPosterDiv:Vue高阶组件,海报描画
|
|
6
|
+
* props说明:
|
|
7
|
+
* @prop {{x:number, y:number, z:number}} position 坐标信息,优先级高于style中的left, top
|
|
8
|
+
* @prop {Object} style {Object} 包含
|
|
9
|
+
* left/top/width/height
|
|
10
|
+
* border-radius
|
|
11
|
+
* backgroundImage/backgroundColor
|
|
12
|
+
* 的style设置
|
|
13
|
+
* @prop {boolean} enableAA 默认开启的。anti-alias(局部)算法,此算法会引起边缘2~3像素虚化
|
|
14
|
+
*/
|
|
15
|
+
declare const _default: {
|
|
16
|
+
new (...args: any[]): {
|
|
17
|
+
$: import("vue").ComponentInternalInstance;
|
|
18
|
+
$data: {};
|
|
19
|
+
$props: Partial<{
|
|
20
|
+
style: Object | null;
|
|
21
|
+
position: any;
|
|
22
|
+
enableAA: boolean;
|
|
23
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
+
style: Object | null;
|
|
25
|
+
position: any;
|
|
26
|
+
enableAA: boolean;
|
|
27
|
+
}>, {
|
|
28
|
+
style: null;
|
|
29
|
+
position: null;
|
|
30
|
+
enableAA: boolean;
|
|
31
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "position" | "enableAA">;
|
|
32
|
+
$attrs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
$refs: {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
$slots: Readonly<{
|
|
39
|
+
[name: string]: import("vue").Slot | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
43
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
44
|
+
$el: any;
|
|
45
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
46
|
+
style: Object | null;
|
|
47
|
+
position: any;
|
|
48
|
+
enableAA: boolean;
|
|
49
|
+
}>, {
|
|
50
|
+
style: null;
|
|
51
|
+
position: null;
|
|
52
|
+
enableAA: boolean;
|
|
53
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
54
|
+
style: Object | null;
|
|
55
|
+
position: any;
|
|
56
|
+
enableAA: boolean;
|
|
57
|
+
}, {}, string> & {
|
|
58
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
71
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
72
|
+
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;
|
|
73
|
+
};
|
|
74
|
+
$forceUpdate: () => void;
|
|
75
|
+
$nextTick: typeof import("vue").nextTick;
|
|
76
|
+
$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;
|
|
77
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
78
|
+
style: Object | null;
|
|
79
|
+
position: any;
|
|
80
|
+
enableAA: boolean;
|
|
81
|
+
}>, {
|
|
82
|
+
style: null;
|
|
83
|
+
position: null;
|
|
84
|
+
enableAA: boolean;
|
|
85
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
86
|
+
__isFragment?: undefined;
|
|
87
|
+
__isTeleport?: undefined;
|
|
88
|
+
__isSuspense?: undefined;
|
|
89
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
90
|
+
style: Object | null;
|
|
91
|
+
position: any;
|
|
92
|
+
enableAA: boolean;
|
|
93
|
+
}>, {
|
|
94
|
+
style: null;
|
|
95
|
+
position: null;
|
|
96
|
+
enableAA: boolean;
|
|
97
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
98
|
+
style: Object | null;
|
|
99
|
+
position: any;
|
|
100
|
+
enableAA: boolean;
|
|
101
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
102
|
+
$slots: {
|
|
103
|
+
default: (_: {}) => any;
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
export default _default;
|
|
107
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
108
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
109
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
110
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
111
|
+
} : {
|
|
112
|
+
type: import('vue').PropType<T[K]>;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
type __VLS_WithDefaults<P, D> = {
|
|
117
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
118
|
+
default: D[K];
|
|
119
|
+
} : P[K];
|
|
120
|
+
};
|