@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,28 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file
|
|
7
|
-
*
|
|
8
|
-
* 【模块 export 内容】
|
|
9
|
-
* JsvVisibleSensor: 可视区域监控器
|
|
10
|
-
* props说明:
|
|
11
|
-
* horizonShown {number} (可选, 可响应式, 默认1.0完全露出)横轴百分比区域完全显示时(左边或右边完全露出,仅中间段判断会失效),
|
|
12
|
-
* 横轴切换到显示状态,否则为不可视状态
|
|
13
|
-
* verticalShown {number} (可选, 可响应式)纵轴百分比区域完全显示时(上边或下边完全露出,仅中间段判断会失效),
|
|
14
|
-
* 纵轴切换到显示状态,否则为不可视状态
|
|
15
|
-
* left {number} (可选, 可响应式)可视检测区域的left
|
|
16
|
-
* top {number} (可选, 可响应式)可视检测区域的top
|
|
17
|
-
* width {number} (可选, 可响应式)可视检测区域的width
|
|
18
|
-
* height {number} (可选, 可响应式)可视检测区域的height
|
|
19
|
-
*
|
|
20
|
-
* container {div reference} (可选, 可响应式)子区域参照,若为null,则认为检测可视区域为全屏幕
|
|
21
|
-
*
|
|
22
|
-
* callback {function} (必须, 可响应式)可视变化时的回调处理, 参数
|
|
23
|
-
* (old_horizantal_visible, new_horizantal_visible, old_vertical_visible, new_vertical_visible)
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
1
|
declare const _default: {
|
|
27
2
|
new (...args: any[]): {
|
|
28
3
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -43,14 +18,14 @@ declare const _default: {
|
|
|
43
18
|
$el: any;
|
|
44
19
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
45
20
|
$props: {
|
|
46
|
-
readonly left?: number | undefined;
|
|
47
21
|
readonly top?: number | undefined;
|
|
22
|
+
readonly left?: number | undefined;
|
|
48
23
|
readonly enable?: boolean | undefined;
|
|
49
|
-
readonly height?: number | undefined;
|
|
50
24
|
readonly width?: number | undefined;
|
|
51
|
-
readonly
|
|
25
|
+
readonly height?: number | undefined;
|
|
52
26
|
readonly horizonShown?: number | undefined;
|
|
53
27
|
readonly verticalShown?: number | undefined;
|
|
28
|
+
readonly container?: Record<string, any> | undefined;
|
|
54
29
|
readonly callback?: Function | undefined;
|
|
55
30
|
};
|
|
56
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
@@ -75,14 +50,14 @@ declare const _default: {
|
|
|
75
50
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
76
51
|
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
77
52
|
$props: {
|
|
78
|
-
readonly left?: number | undefined;
|
|
79
53
|
readonly top?: number | undefined;
|
|
54
|
+
readonly left?: number | undefined;
|
|
80
55
|
readonly enable?: boolean | undefined;
|
|
81
|
-
readonly height?: number | undefined;
|
|
82
56
|
readonly width?: number | undefined;
|
|
83
|
-
readonly
|
|
57
|
+
readonly height?: number | undefined;
|
|
84
58
|
readonly horizonShown?: number | undefined;
|
|
85
59
|
readonly verticalShown?: number | undefined;
|
|
60
|
+
readonly container?: Record<string, any> | undefined;
|
|
86
61
|
readonly callback?: Function | undefined;
|
|
87
62
|
};
|
|
88
63
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -91,14 +66,14 @@ declare const _default: {
|
|
|
91
66
|
__isSuspense?: undefined;
|
|
92
67
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
93
68
|
$props: {
|
|
94
|
-
readonly left?: number | undefined;
|
|
95
69
|
readonly top?: number | undefined;
|
|
70
|
+
readonly left?: number | undefined;
|
|
96
71
|
readonly enable?: boolean | undefined;
|
|
97
|
-
readonly height?: number | undefined;
|
|
98
72
|
readonly width?: number | undefined;
|
|
99
|
-
readonly
|
|
73
|
+
readonly height?: number | undefined;
|
|
100
74
|
readonly horizonShown?: number | undefined;
|
|
101
75
|
readonly verticalShown?: number | undefined;
|
|
76
|
+
readonly container?: Record<string, any> | undefined;
|
|
102
77
|
readonly callback?: Function | undefined;
|
|
103
78
|
};
|
|
104
79
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvVisibleSensor/index.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
declare const _default: {
|
|
6
2
|
new (...args: any[]): {
|
|
7
3
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -22,14 +18,14 @@ declare const _default: {
|
|
|
22
18
|
$el: any;
|
|
23
19
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
24
20
|
$props: {
|
|
25
|
-
readonly left?: number | undefined;
|
|
26
21
|
readonly top?: number | undefined;
|
|
22
|
+
readonly left?: number | undefined;
|
|
27
23
|
readonly enable?: boolean | undefined;
|
|
28
|
-
readonly height?: number | undefined;
|
|
29
24
|
readonly width?: number | undefined;
|
|
30
|
-
readonly
|
|
25
|
+
readonly height?: number | undefined;
|
|
31
26
|
readonly horizonShown?: number | undefined;
|
|
32
27
|
readonly verticalShown?: number | undefined;
|
|
28
|
+
readonly container?: Record<string, any> | undefined;
|
|
33
29
|
readonly callback?: Function | undefined;
|
|
34
30
|
};
|
|
35
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
@@ -54,14 +50,14 @@ declare const _default: {
|
|
|
54
50
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
55
51
|
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
56
52
|
$props: {
|
|
57
|
-
readonly left?: number | undefined;
|
|
58
53
|
readonly top?: number | undefined;
|
|
54
|
+
readonly left?: number | undefined;
|
|
59
55
|
readonly enable?: boolean | undefined;
|
|
60
|
-
readonly height?: number | undefined;
|
|
61
56
|
readonly width?: number | undefined;
|
|
62
|
-
readonly
|
|
57
|
+
readonly height?: number | undefined;
|
|
63
58
|
readonly horizonShown?: number | undefined;
|
|
64
59
|
readonly verticalShown?: number | undefined;
|
|
60
|
+
readonly container?: Record<string, any> | undefined;
|
|
65
61
|
readonly callback?: Function | undefined;
|
|
66
62
|
};
|
|
67
63
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -70,14 +66,14 @@ declare const _default: {
|
|
|
70
66
|
__isSuspense?: undefined;
|
|
71
67
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
72
68
|
$props: {
|
|
73
|
-
readonly left?: number | undefined;
|
|
74
69
|
readonly top?: number | undefined;
|
|
70
|
+
readonly left?: number | undefined;
|
|
75
71
|
readonly enable?: boolean | undefined;
|
|
76
|
-
readonly height?: number | undefined;
|
|
77
72
|
readonly width?: number | undefined;
|
|
78
|
-
readonly
|
|
73
|
+
readonly height?: number | undefined;
|
|
79
74
|
readonly horizonShown?: number | undefined;
|
|
80
75
|
readonly verticalShown?: number | undefined;
|
|
76
|
+
readonly container?: Record<string, any> | undefined;
|
|
81
77
|
readonly callback?: Function | undefined;
|
|
82
78
|
};
|
|
83
79
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../utils/JsViewVueWidget/index.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
export * from "./JsvFreeMoveActor";
|
|
6
2
|
export * from "./JsvFlexCell";
|
|
7
3
|
export * from "./JsvSpriteAnim";
|
|
@@ -10,8 +6,8 @@ export * from "./JsvClipDiv";
|
|
|
10
6
|
export * from "./JsvDriftScope";
|
|
11
7
|
export { default as JsvApic } from "./JsvApic/JsvApic";
|
|
12
8
|
export { default as JsvApic2 } from "./JsvApic/JsvApic2";
|
|
13
|
-
export { default as JsvQrcode } from "./JsvQrcode";
|
|
14
|
-
export { default as JsvSpray } from "./JsvSpray";
|
|
9
|
+
export { default as JsvQrcode } from "./JsvQrcode/JsvQrcode.vue";
|
|
10
|
+
export { default as JsvSpray } from "./JsvSpray/JsvSpray.vue";
|
|
15
11
|
export { default as JsvSwiper } from "./JsvSwiper";
|
|
16
12
|
export { default as JsvSwiper3D } from "./JsvSwiper3D";
|
|
17
13
|
export { default as JsvVisibleSensor } from "./JsvVisibleSensor";
|
|
@@ -36,6 +32,8 @@ export { JsvMindMap } from "./JsvMindMap";
|
|
|
36
32
|
export { default as JsvFragShaderView } from "./JsvFragShaderView";
|
|
37
33
|
export { default as JsvTouchModeSwitcher } from "./JsvTouchModeSwitcher.vue";
|
|
38
34
|
export { default as JsvDragBox } from "./JsvDragBox/JsvDragBox.vue";
|
|
35
|
+
export { default as Jsv3dDiv } from "./Jsv3dDiv.vue";
|
|
36
|
+
export { default as Jsv3dStage } from "./Jsv3dStage.vue";
|
|
39
37
|
import JsvNativeSharedDiv from "./JsvNativeSharedDiv.vue";
|
|
40
38
|
export { JsvNativeSharedDiv as JsvTransparentDiv, JsvNativeSharedDiv };
|
|
41
39
|
export { default as JsvActorMove, JsvActorMoveControl } from "./JsvActorMove";
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -99,11 +99,12 @@ async function main(argv)
|
|
|
99
99
|
|
|
100
100
|
if(!argv.withoutNpmInstall || fs.existsSync(npmInstalledFlag) == false) {
|
|
101
101
|
const registry = getNpmRegistry();
|
|
102
|
+
const jsviewPostInstall = `${options.jsviewVueDir}/node_modules/@shijiu/jsview/tools/jsview-post-install.mjs`;
|
|
102
103
|
fs.rmSync(`${options.jsviewVueDir}/node_modules`, { recursive: true, force: true });
|
|
103
104
|
batchCommand = [
|
|
104
105
|
`npm install --registry=${registry}`,
|
|
105
106
|
`npm install --registry=${registry} --force --no-save ${noSavePackages}`,
|
|
106
|
-
`node ${
|
|
107
|
+
`node ${jsviewPostInstall} --framework=vue --skip-check-npmcmd`,
|
|
107
108
|
];
|
|
108
109
|
}
|
|
109
110
|
batchCommand = [
|
|
@@ -122,7 +123,7 @@ async function main(argv)
|
|
|
122
123
|
|
|
123
124
|
if(!argv.withoutTsDeclare) {
|
|
124
125
|
batchCommand = [
|
|
125
|
-
`${options.jsviewVueDir}/node_modules/.bin/vue-tsc --project ${options.jsviewVueDir}/
|
|
126
|
+
`${options.jsviewVueDir}/node_modules/.bin/vue-tsc --project ${options.jsviewVueDir}/tsconfig.json`,
|
|
126
127
|
];
|
|
127
128
|
fs.rmSync(options.jsviewVueBinTypesDir, { recursive: true, force: true });
|
|
128
129
|
for(const command of batchCommand) {
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
// "checkJs": true,
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"declarationDir": "bin/types",
|
|
7
|
+
"emitDeclarationOnly": true,
|
|
8
|
+
"module": "es2022",
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"strict": true,
|
|
11
|
+
"target": "es2022",
|
|
12
|
+
"composite": true,
|
|
13
|
+
"useDefineForClassFields": true,
|
|
14
|
+
"jsx": "preserve",
|
|
15
|
+
"resolveJsonModule": true,
|
|
16
|
+
"isolatedModules": true,
|
|
17
|
+
"esModuleInterop": true,
|
|
18
|
+
"lib": ["esnext", "dom"],
|
|
19
|
+
"skipLibCheck": true,
|
|
20
|
+
"experimentalDecorators": true,
|
|
21
|
+
"tsBuildInfoFile": "node_modules/.cache/tsconfig.tsbuildinfo"
|
|
22
|
+
},
|
|
23
|
+
"include": [
|
|
24
|
+
"utils",
|
|
25
|
+
"utils/index.js"
|
|
26
|
+
],
|
|
27
|
+
}
|
|
@@ -44,10 +44,10 @@ function checkType(value, type) {
|
|
|
44
44
|
let valid;
|
|
45
45
|
const expectedType = getTypeName(t);
|
|
46
46
|
if (isSimpleType(expectedType)) {
|
|
47
|
-
const
|
|
48
|
-
valid =
|
|
47
|
+
const valueType = typeof v;
|
|
48
|
+
valid = valueType === expectedType.toLowerCase();
|
|
49
49
|
// for primitive wrapper objects
|
|
50
|
-
if (!valid &&
|
|
50
|
+
if (!valid && valueType === 'object') {
|
|
51
51
|
valid = v instanceof t;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -221,16 +221,29 @@ onUnmounted(() => {
|
|
|
221
221
|
});
|
|
222
222
|
|
|
223
223
|
onActivated(() => {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
224
|
+
if (fDivRef.value == null) {
|
|
225
|
+
console.log("FocusBlock onActivated but not mounted name=" + props.name);
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
227
228
|
|
|
228
|
-
if (
|
|
229
|
-
|
|
229
|
+
if (focusNodeRef == null) {
|
|
230
|
+
focusNodeRef = toRaw(fDivRef.value)?.FocusNodeRef;
|
|
231
|
+
_mountToFocusSystem();
|
|
232
|
+
|
|
233
|
+
if (!!props.autoFocus || props.autoFocus === "") {
|
|
234
|
+
requestFocus(props.autoFocus !== "exact");
|
|
235
|
+
}
|
|
236
|
+
} else {
|
|
237
|
+
// 首次mounted后会调用onActivated, 考虑避免重复添加
|
|
230
238
|
}
|
|
231
239
|
});
|
|
232
240
|
|
|
233
241
|
onDeactivated(() => {
|
|
242
|
+
if (fDivRef.value == null) {
|
|
243
|
+
console.log("FocusBlock onDeactivated but not mounted name=" + props.name);
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
|
|
234
247
|
focusNodeRef?.onUnMount(true);
|
|
235
248
|
if (focusNodeRef?.jsvVueComponent) {
|
|
236
249
|
focusNodeRef.jsvVueComponent = undefined;
|
|
@@ -242,7 +255,13 @@ defineExpose(exportObject);
|
|
|
242
255
|
</script>
|
|
243
256
|
|
|
244
257
|
<template>
|
|
245
|
-
<fdiv
|
|
258
|
+
<fdiv
|
|
259
|
+
ref="fDivRef"
|
|
260
|
+
:fname="name"
|
|
261
|
+
:new-namespace="namespace"
|
|
262
|
+
:style="style"
|
|
263
|
+
:data-jsv-focusable="focusable ?? !namespace"
|
|
264
|
+
>
|
|
246
265
|
<slot></slot>
|
|
247
266
|
</fdiv>
|
|
248
267
|
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import JsvNinePatch from "../../JsViewVueWidget/JsvNinePatch.vue";
|
|
3
|
+
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
width: Number,
|
|
6
|
+
height: Number,
|
|
7
|
+
sourceId: String,
|
|
8
|
+
})
|
|
9
|
+
</script>
|
|
10
|
+
<template>
|
|
11
|
+
<JsvNinePatch
|
|
12
|
+
:style="{
|
|
13
|
+
width: width,
|
|
14
|
+
height: height,
|
|
15
|
+
}"
|
|
16
|
+
:imageUrl="`jsvtexturestore://${sourceId}`"
|
|
17
|
+
:imageWidth="20"
|
|
18
|
+
:centerWidth="1"
|
|
19
|
+
:imageDspWidth="20"
|
|
20
|
+
:borderOutset="2"
|
|
21
|
+
/>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { JsvTextureStoreApi } from "../../JsViewVueTools"
|
|
2
|
+
|
|
3
|
+
export const randomColor = () => {
|
|
4
|
+
let randomColor = Math.round(Math.random() * 2 ** 24).toString(16);
|
|
5
|
+
return (
|
|
6
|
+
"#" + new Array(6 - randomColor.length).fill("0").join("") + randomColor + "99"
|
|
7
|
+
);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const RandomColorPool = [
|
|
11
|
+
"#FF0000",
|
|
12
|
+
"#00FF00",
|
|
13
|
+
"#0000FF",
|
|
14
|
+
"#FFFF00",
|
|
15
|
+
"#00FFFF",
|
|
16
|
+
"#FF00FF",
|
|
17
|
+
]
|
|
18
|
+
export function createCanvasText(width: number) {
|
|
19
|
+
|
|
20
|
+
let canvasRef = JsvTextureStoreApi.canvasTexture(
|
|
21
|
+
width,
|
|
22
|
+
width
|
|
23
|
+
); // 创建画布
|
|
24
|
+
|
|
25
|
+
let customPath = canvasRef.rectPath(0, 0, width, width);
|
|
26
|
+
if (customPath) {
|
|
27
|
+
customPath.stroke(5, RandomColorPool[Math.floor(Math.random() * RandomColorPool.length)]); // 以给定线宽绘制圆环
|
|
28
|
+
}
|
|
29
|
+
let sourceId = canvasRef.commit(); // texture和div的textureStore绑定
|
|
30
|
+
const releaseHandler = () => {
|
|
31
|
+
JsvTextureStoreApi.deleteTexture(sourceId); // 释放texture资源
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
sourceId,
|
|
35
|
+
releaseHandler,
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @file 只显示单列/行的MetroWidget
|
|
3
3
|
-->
|
|
4
4
|
<script setup>
|
|
5
|
-
import { ref, shallowRef, computed, reactive, onMounted } from "vue";
|
|
5
|
+
import { ref, shallowRef, computed, reactive, onMounted, onBeforeUnmount } from "vue";
|
|
6
6
|
import { setup } from "./MetroWidgetSetup";
|
|
7
7
|
import {
|
|
8
8
|
VERTICAL,
|
|
@@ -12,6 +12,8 @@ import {
|
|
|
12
12
|
RENDER_ITEM_BREAK_KEY,
|
|
13
13
|
} from "../WidgetCommon";
|
|
14
14
|
import { ForgeConst } from "../../JsViewVueTools/ForgeConstDefine.ts";
|
|
15
|
+
import DebugFrame from "./DebugFrame.vue";
|
|
16
|
+
import { createCanvasText } from "./DebugTools.ts";
|
|
15
17
|
|
|
16
18
|
const props = defineProps({
|
|
17
19
|
padding: {
|
|
@@ -147,6 +149,14 @@ const props = defineProps({
|
|
|
147
149
|
type: Number,
|
|
148
150
|
default: 0,
|
|
149
151
|
},
|
|
152
|
+
enableLongPress: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
default: false,
|
|
155
|
+
},
|
|
156
|
+
enableDebug: {
|
|
157
|
+
type: Boolean,
|
|
158
|
+
default: false,
|
|
159
|
+
},
|
|
150
160
|
});
|
|
151
161
|
|
|
152
162
|
const renderBreakKey = props.enableItemRenderBreak ? RENDER_ITEM_BREAK_KEY : "";
|
|
@@ -181,13 +191,14 @@ const {
|
|
|
181
191
|
focusBlockOnFocus,
|
|
182
192
|
focusBlockOnBlur,
|
|
183
193
|
focusBlockOnKeyDown,
|
|
194
|
+
focusBlockOnKeyUp,
|
|
184
195
|
focusBlockOnCustomEvent,
|
|
185
196
|
_onFocusableItemEdge,
|
|
186
197
|
exportObject,
|
|
187
198
|
onTouchDown,
|
|
188
199
|
onTouchRelease,
|
|
189
200
|
currentFocusIndex,
|
|
190
|
-
onDispatchKeyDown
|
|
201
|
+
onDispatchKeyDown,
|
|
191
202
|
} = setup(
|
|
192
203
|
props,
|
|
193
204
|
itemRender,
|
|
@@ -203,6 +214,15 @@ const {
|
|
|
203
214
|
"list"
|
|
204
215
|
);
|
|
205
216
|
|
|
217
|
+
let debugFrameSourceId = "";
|
|
218
|
+
let debugFrameSourceReleaseHandler = null;
|
|
219
|
+
if (props.enableDebug) {
|
|
220
|
+
const sourceInfo = createCanvasText(20);
|
|
221
|
+
debugFrameSourceId = sourceInfo.sourceId;
|
|
222
|
+
debugFrameSourceReleaseHandler = sourceInfo.releaseHandler;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
206
226
|
onMounted(() => {
|
|
207
227
|
if (onTouchRelease) {
|
|
208
228
|
touchDiv.value.jsvSetTapListener(
|
|
@@ -216,6 +236,14 @@ onMounted(() => {
|
|
|
216
236
|
}
|
|
217
237
|
});
|
|
218
238
|
|
|
239
|
+
onBeforeUnmount(() => {
|
|
240
|
+
if (props.enableDebug) {
|
|
241
|
+
debugFrameSourceReleaseHandler?.();
|
|
242
|
+
debugFrameSourceReleaseHandler = null;
|
|
243
|
+
debugFrameSourceId = "";
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
|
|
219
247
|
defineExpose(exportObject);
|
|
220
248
|
</script>
|
|
221
249
|
|
|
@@ -262,8 +290,9 @@ defineExpose(exportObject);
|
|
|
262
290
|
onFocus: focusBlockOnFocus,
|
|
263
291
|
onBlur: focusBlockOnBlur,
|
|
264
292
|
onKeyDown: focusBlockOnKeyDown,
|
|
293
|
+
onKeyUp: focusBlockOnKeyUp,
|
|
265
294
|
onCustomEvent: focusBlockOnCustomEvent,
|
|
266
|
-
onDispatchKeyDown
|
|
295
|
+
onDispatchKeyDown,
|
|
267
296
|
}"
|
|
268
297
|
>
|
|
269
298
|
<div
|
|
@@ -286,6 +315,12 @@ defineExpose(exportObject);
|
|
|
286
315
|
}"
|
|
287
316
|
@click="item.onTap.value"
|
|
288
317
|
>
|
|
318
|
+
<DebugFrame
|
|
319
|
+
v-if="enableDebug"
|
|
320
|
+
:width="item.templateInfo.width"
|
|
321
|
+
:height="item.templateInfo.height"
|
|
322
|
+
:sourceId="debugFrameSourceId"
|
|
323
|
+
></DebugFrame>
|
|
289
324
|
<div
|
|
290
325
|
v-if="
|
|
291
326
|
!enableItemRenderBreak || item.mounted.value || itemRender
|
|
@@ -305,10 +340,10 @@ defineExpose(exportObject);
|
|
|
305
340
|
</div>
|
|
306
341
|
<div
|
|
307
342
|
v-if="
|
|
308
|
-
enableItemRenderBreak
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
343
|
+
enableItemRenderBreak &&
|
|
344
|
+
placeHolderSetting &&
|
|
345
|
+
!item.mounted.value &&
|
|
346
|
+
item.itemConfig.showSkeleton
|
|
312
347
|
"
|
|
313
348
|
:style="{
|
|
314
349
|
width: item.renderStyle.width - normalizedPlaceHolder.gap,
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* name {string} 用于设置焦点的名称
|
|
24
24
|
* padding {object} 控件内边距, 默认为{left: 0, right: 0, top: 0, bottom: 0}
|
|
25
25
|
* direction {enum} (必选)控件方向 HORIZONTAL/VERTICAL
|
|
26
|
-
* focusMoveType {int} 焦点移动的模式, 可通过 |
|
|
26
|
+
* focusMoveType {int} 焦点移动的模式, 可通过 | 运算进行组合. 这些常量在FocusMoveType对象中, 需要import { FocusMoveType } from 'jsview'
|
|
27
27
|
NO_ADJUST: 无特殊处理
|
|
28
28
|
COLUMN_LOOP: 到达列首/尾后跳转到上/下一列, 只在水平滚动时生效
|
|
29
29
|
ROW_LOOP: 到达行首/尾后跳转到上/下一行, 只在竖直滚动时生效
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
uid {string}: item的uid, 可以通过uid来设置焦点
|
|
85
85
|
permanent {boolean}: 出去与是否保留
|
|
86
86
|
enableTap {boolean}: 是否接受触控tap
|
|
87
|
-
showSkeleton {boolean}: 打断描画时,
|
|
87
|
+
showSkeleton {boolean}: 打断描画时, 是否显示骨架图, 默认为true
|
|
88
88
|
}
|
|
89
89
|
*
|
|
90
90
|
* onFocus {function} 控件获取焦点的回调
|
|
@@ -105,6 +105,8 @@
|
|
|
105
105
|
* flingPageEdge {}
|
|
106
106
|
* disableClip {boolean} 取消显示范围的clipView
|
|
107
107
|
* touchFlag {int} 触控的开关, 0:关闭, 1:打开. 打开后支持drag, fling; item的tap则由measuresObject的enableTap控制
|
|
108
|
+
* enableLongPress {boolean} 支持长按, 长按模式下, onkeyup时触发onclick, 长按触发后, onclik不触发
|
|
109
|
+
* enableDebug {boolean} 显示debug用的item框
|
|
108
110
|
|
|
109
111
|
* methods:
|
|
110
112
|
getFocusBlockRef 获取此MetroWidget的 jsv-focus-block句柄,可以使用requestFocus完成获焦
|
|
@@ -215,7 +217,10 @@
|
|
|
215
217
|
setSensorSensitivity
|
|
216
218
|
@description 触控模式下, 设置运动回调敏感度, 每移动多少像素进行回调,适当放大(推荐10以上)可以极大减小对js回调过多引起的性能降低
|
|
217
219
|
@params {number} sensitivity 敏感度, 等于0时关闭触控的移动监听
|
|
218
|
-
|
|
220
|
+
getItemLayoutInfo
|
|
221
|
+
@description 获取 item 的布局位置信息, index对应的item不存在时, 返回null
|
|
222
|
+
@params {number} index item 的 index
|
|
223
|
+
@return {object} {left: number, top: number, width: number, height: number} | null
|
|
219
224
|
slots:
|
|
220
225
|
renderItem: 该slot用于描画每个单元格
|
|
221
226
|
background: 该slot描画在item后, 一般用于描画需要跟随MetroWidget滚动的内容
|
|
@@ -246,7 +251,13 @@
|
|
|
246
251
|
}
|
|
247
252
|
* onItemEdge: 若单元格内另有可接管按键的控件(如MetroWidget),该控件到达边缘需要通知MetroWidget时的回调
|
|
248
253
|
* onAction: 单元格内控件需要通过onAction.register方法向MetroWidget注册 item 的回调,回调函数有
|
|
249
|
-
onFocus
|
|
254
|
+
onFocus: widget获焦状态下, item获焦的回调
|
|
255
|
+
onBlur: widget获焦状态下, item失焦的回调
|
|
256
|
+
onGaze: item获焦的回调, 无论widget是否为获焦状态
|
|
257
|
+
onIgnore: itemh失焦的回调, 无论widget是否为获焦状态
|
|
258
|
+
onClick: item点击的回调
|
|
259
|
+
onWidgetEdge: 到达边缘的回调
|
|
260
|
+
onLongPress: item长按的回调
|
|
250
261
|
*
|
|
251
262
|
* Q: 如何进行布局,定制每个格的尺寸?
|
|
252
263
|
* A: 首先选定一个布局的方式,一列列地横向布局(HROIZONTAL)还是一行行地纵向(VERTICAL)布局,设置给属性direction
|
|
@@ -275,7 +286,14 @@
|
|
|
275
286
|
-->
|
|
276
287
|
|
|
277
288
|
<script setup>
|
|
278
|
-
import {
|
|
289
|
+
import {
|
|
290
|
+
ref,
|
|
291
|
+
shallowRef,
|
|
292
|
+
computed,
|
|
293
|
+
reactive,
|
|
294
|
+
onMounted,
|
|
295
|
+
onBeforeUnmount,
|
|
296
|
+
} from "vue";
|
|
279
297
|
import { setup } from "./MetroWidgetSetup";
|
|
280
298
|
import SlotComponent from "./SlotComponent.vue";
|
|
281
299
|
import {
|
|
@@ -286,6 +304,8 @@ import {
|
|
|
286
304
|
RENDER_ITEM_BREAK_KEY,
|
|
287
305
|
} from "../WidgetCommon";
|
|
288
306
|
import { ForgeConst } from "../../JsViewVueTools/ForgeConstDefine.ts";
|
|
307
|
+
import DebugFrame from "./DebugFrame.vue";
|
|
308
|
+
import { createCanvasText } from "./DebugTools.ts";
|
|
289
309
|
|
|
290
310
|
const props = defineProps({
|
|
291
311
|
padding: {
|
|
@@ -421,6 +441,14 @@ const props = defineProps({
|
|
|
421
441
|
type: Number,
|
|
422
442
|
default: 0,
|
|
423
443
|
},
|
|
444
|
+
enableLongPress: {
|
|
445
|
+
type: Boolean,
|
|
446
|
+
default: false,
|
|
447
|
+
},
|
|
448
|
+
enableDebug: {
|
|
449
|
+
type: Boolean,
|
|
450
|
+
default: false,
|
|
451
|
+
},
|
|
424
452
|
});
|
|
425
453
|
|
|
426
454
|
const renderBreakKey = props.enableItemRenderBreak ? RENDER_ITEM_BREAK_KEY : "";
|
|
@@ -455,6 +483,7 @@ const {
|
|
|
455
483
|
focusBlockOnFocus,
|
|
456
484
|
focusBlockOnBlur,
|
|
457
485
|
focusBlockOnKeyDown,
|
|
486
|
+
focusBlockOnKeyUp,
|
|
458
487
|
focusBlockOnCustomEvent,
|
|
459
488
|
_onFocusableItemEdge,
|
|
460
489
|
exportObject,
|
|
@@ -462,7 +491,7 @@ const {
|
|
|
462
491
|
onTouchRelease,
|
|
463
492
|
currentFocusIndex,
|
|
464
493
|
modeForExport,
|
|
465
|
-
onDispatchKeyDown
|
|
494
|
+
onDispatchKeyDown,
|
|
466
495
|
} = setup(
|
|
467
496
|
props,
|
|
468
497
|
itemRender,
|
|
@@ -478,6 +507,14 @@ const {
|
|
|
478
507
|
"common"
|
|
479
508
|
);
|
|
480
509
|
|
|
510
|
+
let debugFrameSourceId = "";
|
|
511
|
+
let debugFrameSourceReleaseHandler = null;
|
|
512
|
+
if (props.enableDebug) {
|
|
513
|
+
const sourceInfo = createCanvasText(20);
|
|
514
|
+
debugFrameSourceId = sourceInfo.sourceId;
|
|
515
|
+
debugFrameSourceReleaseHandler = sourceInfo.releaseHandler;
|
|
516
|
+
}
|
|
517
|
+
|
|
481
518
|
onMounted(() => {
|
|
482
519
|
if (onTouchRelease) {
|
|
483
520
|
touchDiv.value.jsvSetTapListener(
|
|
@@ -491,6 +528,14 @@ onMounted(() => {
|
|
|
491
528
|
}
|
|
492
529
|
});
|
|
493
530
|
|
|
531
|
+
onBeforeUnmount(() => {
|
|
532
|
+
if (props.enableDebug) {
|
|
533
|
+
debugFrameSourceReleaseHandler?.();
|
|
534
|
+
debugFrameSourceReleaseHandler = null;
|
|
535
|
+
debugFrameSourceId = "";
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
|
|
494
539
|
defineExpose(exportObject);
|
|
495
540
|
</script>
|
|
496
541
|
|
|
@@ -537,6 +582,7 @@ defineExpose(exportObject);
|
|
|
537
582
|
onFocus: focusBlockOnFocus,
|
|
538
583
|
onBlur: focusBlockOnBlur,
|
|
539
584
|
onKeyDown: focusBlockOnKeyDown,
|
|
585
|
+
onKeyUp: focusBlockOnKeyUp,
|
|
540
586
|
onCustomEvent: focusBlockOnCustomEvent,
|
|
541
587
|
onDispatchKeyDown,
|
|
542
588
|
}"
|
|
@@ -561,6 +607,12 @@ defineExpose(exportObject);
|
|
|
561
607
|
}"
|
|
562
608
|
@click="item.onTap.value"
|
|
563
609
|
>
|
|
610
|
+
<DebugFrame
|
|
611
|
+
v-if="enableDebug"
|
|
612
|
+
:width="item.templateInfo.width"
|
|
613
|
+
:height="item.templateInfo.height"
|
|
614
|
+
:sourceId="debugFrameSourceId"
|
|
615
|
+
></DebugFrame>
|
|
564
616
|
<div
|
|
565
617
|
v-if="
|
|
566
618
|
!enableItemRenderBreak || item.mounted.value || itemRender
|
|
@@ -582,10 +634,10 @@ defineExpose(exportObject);
|
|
|
582
634
|
</div>
|
|
583
635
|
<div
|
|
584
636
|
v-if="
|
|
585
|
-
enableItemRenderBreak
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
637
|
+
enableItemRenderBreak &&
|
|
638
|
+
placeHolderSetting &&
|
|
639
|
+
!item.mounted.value &&
|
|
640
|
+
item.itemConfig.showSkeleton
|
|
589
641
|
"
|
|
590
642
|
:style="{
|
|
591
643
|
width: item.renderStyle.width - normalizedPlaceHolder.gap,
|