@shijiu/jsview-vue 2.3.0 → 2.3.728-alpha.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/browser/BrowserAudio.vue.mjs +4 -1
- package/bin/browser/BrowserJsvLatex.vue.mjs +9 -90
- package/bin/jsview-vue.mjs +13913 -8048
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +39 -3
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +5 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +25 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +28 -4
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +70 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +5 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +12 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
- package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +27 -14
- package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +3 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +29 -2
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +107 -4
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +94 -18
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +24 -23
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +77 -20
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +77 -20
- package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +44 -1
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +5 -3
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +88 -25
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +11 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +101 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +61 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +58 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +55 -12
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +178 -35
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +119 -17
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +9 -3
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +22 -1
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +5 -2
- package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +39 -1
- package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +26 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +112 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +142 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +15 -3
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +22 -96
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +6 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterDiv.vue.d.ts → TypesDiv/JsvPosterDiv.vue.d.ts} +9 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterImage.vue.d.ts → TypesDiv/JsvPosterImage.vue.d.ts} +15 -3
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +90 -0
- package/bin/types/utils/JsViewVueWidget/index.d.ts +8 -4
- package/dist/types/utils/JsViewEngineWidget/CheckType.d.ts +7 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +106 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +128 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +12 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +16 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +412 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +751 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +82 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +31 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +80 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Slide.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +52 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +69 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +6 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +20 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/RangeModel.d.ts +166 -0
- package/dist/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +74 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +46 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +42 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/Fence.d.ts +62 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +103 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/index.d.ts +8 -0
- package/dist/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +160 -0
- package/dist/types/utils/JsViewEngineWidget/index.d.ts +21 -0
- package/dist/types/utils/JsViewPlugin/JsvAccount/JsvAccount.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +212 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/CheckType.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +12 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/index.d.ts +7 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
- package/{bin/types/utils/JsViewPlugin/JsvLatex → dist/types/utils/JsViewPlugin/JsvAudio}/version.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +18 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/index.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/version.d.mts +40 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +523 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +119 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +664 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-0.9.vue.d.ts +45 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue.d.ts +597 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/dist/types/utils/JsViewPlugin/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/BlobApi.d.ts +42 -0
- package/dist/types/utils/JsViewVueTools/ConstSymbol.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/DebugContentShellJBridge.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/DebugTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +14 -0
- package/dist/types/utils/JsViewVueTools/FeatureActive.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeConstDefine.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeHandles.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicCssStyle.d.ts +33 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicKeyFrames.d.ts +40 -0
- package/dist/types/utils/JsViewVueTools/JsvFederationTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvHashHistory.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvImpactTracer.d.ts +44 -0
- package/dist/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvPerformance.d.ts +9 -0
- package/dist/types/utils/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
- package/dist/types/utils/JsViewVueTools/JsvRefTaker.d.ts +52 -0
- package/dist/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +378 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleClass.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvTextTools.d.ts +66 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureDefines.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +47 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +99 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +58 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +113 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +17 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +170 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +16 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +31 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +53 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/NinePatchHelper.d.ts +25 -0
- package/dist/types/utils/JsViewVueTools/TextureManagerTools.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/index.d.ts +29 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +124 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +148 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +35 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +102 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +77 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +54 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +26 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +34 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +105 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +65 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +62 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +61 -0
- package/dist/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +91 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +100 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +63 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +228 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +107 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +11 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +118 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +244 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +169 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +24 -0
- package/dist/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +241 -0
- package/dist/types/utils/JsViewVueWidget/JsvHole.d.ts +19 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +52 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +98 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +32 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +101 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Constant.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/DataTree.d.ts +75 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +72 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +235 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +93 -0
- package/dist/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +55 -0
- package/dist/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +68 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +31 -0
- package/dist/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +129 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +28 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +278 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +76 -0
- package/dist/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +114 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +58 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +18 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +70 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +21 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/index.d.ts +9 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +141 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +248 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +181 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +38 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +88 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/index.d.ts +53 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist/utils/browser/BrowserAudio.vue.mjs +258 -0
- package/dist/utils/browser/BrowserJsvLatex.vue.mjs +64 -0
- package/dist/utils/export-sfc.mjs +12 -0
- package/dist/utils/index.mjs +29000 -0
- package/dist/utils/jsview-vue-common.mjs +39 -0
- package/package.json +1 -1
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +51 -3
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +347 -145
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1603 -588
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +146 -38
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +39 -26
- package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
- package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
- package/utils/JsViewEngineWidget/RectUtils.js +1 -1
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +62 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +434 -264
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +54 -5
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
- package/utils/JsViewEngineWidget/WidgetCommon.ts +29 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue +4 -0
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue +13 -13
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/Color.ts +104 -39
- package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +71 -17
- package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +14 -2
- package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
- package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
- package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
- package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
- package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
- package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +61 -11
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
- package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
- package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
- package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
- package/utils/JsViewVueTools/BlobApi.ts +55 -0
- package/utils/JsViewVueTools/FeatureActive.ts +5 -1
- package/utils/JsViewVueTools/ForgeHandles.ts +8 -2
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -8
- package/utils/JsViewVueTools/JsvTextTools.ts +12 -2
- package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +30 -12
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +157 -51
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +33 -21
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +56 -41
- package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
- package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
- package/utils/JsViewVueTools/index.js +3 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
- package/utils/JsViewVueWidget/JsvDashPath.vue +150 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.ts +212 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.ts +146 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.ts +748 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +10 -1
- package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue +3 -1
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +24 -8
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +269 -26
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +2 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.ts +24 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +3 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +5 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.ts +10 -2
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +223 -100
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +245 -64
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +95 -29
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +27 -5
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
- package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
- package/utils/JsViewVueWidget/JsvNinePatch.vue +22 -12
- package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +34 -31
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +56 -25
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +11 -11
- package/utils/JsViewVueWidget/JsvSector.vue +66 -28
- package/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue +108 -0
- package/utils/JsViewVueWidget/JsvSoundPool.js +75 -12
- package/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue +543 -0
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +3 -3
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue +644 -0
- package/utils/JsViewVueWidget/JsvSwiper/index.js +3 -1
- package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -299
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
- package/utils/JsViewVueWidget/index.js +9 -3
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +0 -0
- /package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue.d.ts → JsvFreeMoveActor.vue.d.ts} +0 -0
- /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.js}
|
|
3
|
+
*/
|
|
4
|
+
class LoopToolBase {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.mFrameIndex = -1;
|
|
7
|
+
this.mTotalFrameNum = -1;
|
|
8
|
+
this.mNextFrameIndex = -1;
|
|
9
|
+
this.mValide = false;
|
|
10
|
+
}
|
|
11
|
+
getNextIndex(curIndex) {
|
|
12
|
+
return -1;
|
|
13
|
+
}
|
|
14
|
+
hasNext() {
|
|
15
|
+
return this.mNextFrameIndex != -1;
|
|
16
|
+
}
|
|
17
|
+
next() {
|
|
18
|
+
this.mFrameIndex = this.mNextFrameIndex;
|
|
19
|
+
this.mNextFrameIndex = this.getNextIndex(this.mFrameIndex);
|
|
20
|
+
return this.mFrameIndex;
|
|
21
|
+
}
|
|
22
|
+
setApicInfo(frameNum, loopNum) {
|
|
23
|
+
this.mTotalFrameNum = frameNum;
|
|
24
|
+
this.mLoopNum = loopNum;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
const LoopType = {
|
|
28
|
+
LOOP_DEFAULT: 0,
|
|
29
|
+
LOOP_INFINITE: 1,
|
|
30
|
+
LOOP_FINITE: 2,
|
|
31
|
+
LOOP_PART: 3,
|
|
32
|
+
LOOP_SINGLE: 4
|
|
33
|
+
};
|
|
34
|
+
const ApicEndState = {
|
|
35
|
+
HIDE: 1,
|
|
36
|
+
LAST_FRAME: 2
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { ApicEndState as A, LoopType as L };
|
package/package.json
CHANGED
|
@@ -114,6 +114,21 @@ const returnFocusToParent = (ev) => {
|
|
|
114
114
|
toRaw(fDivRef.value)?.FocusNodeRef.ReturnFocusToParent(ev);
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
+
const rebuildParentRelation = () => {
|
|
118
|
+
let self = toRaw(fDivRef.value);
|
|
119
|
+
let parent = self.parentNode;
|
|
120
|
+
if (!self.FocusNodeRef.GetParentPage()) {
|
|
121
|
+
while (parent) {
|
|
122
|
+
if (parent.tagName !== "FDIV") {
|
|
123
|
+
parent = parent.parentNode;
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
self.FocusNodeRef.setParent(parent.FocusNodeRef);
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
|
|
117
132
|
const exportObject = {
|
|
118
133
|
getFullName,
|
|
119
134
|
requestFocus,
|
|
@@ -159,22 +174,9 @@ const _mountToFocusSystem = () => {
|
|
|
159
174
|
if (actionCallback.onCustomEvent) {
|
|
160
175
|
focusNode.setOnCustomEvent(_onCustomEvent);
|
|
161
176
|
}
|
|
162
|
-
// 建立父子关系链
|
|
163
|
-
let self = toRaw(fDivRef.value);
|
|
164
|
-
let parent = self.parentNode;
|
|
165
|
-
while (parent) {
|
|
166
|
-
if (self.FocusNodeRef.GetParentPage()) {
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
177
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
continue;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
self.FocusNodeRef.setParent(parent.FocusNodeRef);
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
+
// 基于vue是从子到父触发mount/active回调的特性,在此回调时找到其直接父节点来建立父子关系
|
|
179
|
+
rebuildParentRelation();
|
|
178
180
|
};
|
|
179
181
|
|
|
180
182
|
const _onDispatchKeyDown = (ev) => {
|
|
@@ -234,7 +236,13 @@ onActivated(() => {
|
|
|
234
236
|
requestFocus(props.autoFocus !== "exact");
|
|
235
237
|
}
|
|
236
238
|
} else {
|
|
237
|
-
// 首次mounted后会调用onActivated,
|
|
239
|
+
// 首次mounted后会调用onActivated, 考虑避免重复添加, 不会重新做 _mountToFocusSystem
|
|
240
|
+
|
|
241
|
+
// 但对于在deactive状态下挂载新的JsvFocusBlock组件的场景,
|
|
242
|
+
// 在mount时触发了_mountToFocusSystem, 但此时deactive节点并不在root div上,
|
|
243
|
+
// 即使做过 _mountToFocusSystem 后,父子关系仍然不全
|
|
244
|
+
// 所以需要在onActivated中再重新检查父子关系
|
|
245
|
+
rebuildParentRelation();
|
|
238
246
|
}
|
|
239
247
|
});
|
|
240
248
|
|
|
@@ -244,11 +252,19 @@ onDeactivated(() => {
|
|
|
244
252
|
return;
|
|
245
253
|
}
|
|
246
254
|
|
|
255
|
+
const is_focused = focusNodeRef?.["IsFocus"]();
|
|
256
|
+
|
|
247
257
|
focusNodeRef?.onUnMount(true);
|
|
248
258
|
if (focusNodeRef?.jsvVueComponent) {
|
|
249
259
|
focusNodeRef.jsvVueComponent = undefined;
|
|
250
260
|
}
|
|
251
261
|
focusNodeRef = null;
|
|
262
|
+
|
|
263
|
+
if (is_focused) {
|
|
264
|
+
// 根据从deactive从子到父的特性, 再次可以同顺序调用blur
|
|
265
|
+
// 因为deactive节点是仍然存在的节点, 但已经从FocusTree拿掉了, 所以需要进行blur通知
|
|
266
|
+
actionCallback?.onBlur?.(exportObject);
|
|
267
|
+
}
|
|
252
268
|
});
|
|
253
269
|
|
|
254
270
|
defineExpose(exportObject);
|
|
@@ -11,6 +11,18 @@ class JsvFocusHubApi {
|
|
|
11
11
|
return this._FocusHub;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* getFocusCallToken
|
|
16
|
+
*
|
|
17
|
+
* 获取当前焦点切换SetFocus被调用的序列号, 每次setFocus调用时会递增
|
|
18
|
+
* 便于框架中一些自动setFocus行为识别出是否回调中App开发端已经进行了SetFocus操作, 避免重复setFocus
|
|
19
|
+
*
|
|
20
|
+
* @return {number} 当前焦点切换的序列号
|
|
21
|
+
*/
|
|
22
|
+
public getFocusCallToken(): number {
|
|
23
|
+
return this._FocusHub.getFocusCallToken();
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
/**
|
|
15
27
|
* setFocus
|
|
16
28
|
*
|
|
@@ -43,7 +55,8 @@ class JsvFocusHubApi {
|
|
|
43
55
|
* getCurrentFocus
|
|
44
56
|
*
|
|
45
57
|
* 获取当前焦点的的 focusName 信息,用于后续的进行的 setFocus 操作
|
|
46
|
-
* (
|
|
58
|
+
* (注意1: 获取的NameSpace不带NameSpace)
|
|
59
|
+
* (注意2: 如果当前状态所设焦点还没Mounted时,也会返回null)
|
|
47
60
|
*
|
|
48
61
|
* @return {string} 当前焦点的focusName
|
|
49
62
|
*/
|
|
@@ -54,8 +67,7 @@ class JsvFocusHubApi {
|
|
|
54
67
|
/**
|
|
55
68
|
* getLastFocus
|
|
56
69
|
*
|
|
57
|
-
*
|
|
58
|
-
* 注意:如果上一次的焦点已经不在dom树时, 返回null
|
|
70
|
+
* 获得切到到当前焦点前的上一个焦点链中离root最远的节点的焦点的name(注意, 不带NameSpace),
|
|
59
71
|
*
|
|
60
72
|
* @return {string} 焦点的focusName
|
|
61
73
|
*/
|
|
@@ -63,6 +75,17 @@ class JsvFocusHubApi {
|
|
|
63
75
|
return this._FocusHub.getLastFocus();
|
|
64
76
|
}
|
|
65
77
|
|
|
78
|
+
/**
|
|
79
|
+
* getLastFocusNear
|
|
80
|
+
*
|
|
81
|
+
* 获得切到到当前焦点前的上一个焦点链中离root最近的节点的焦点的name(注意, 不带NameSpace),
|
|
82
|
+
*
|
|
83
|
+
* @return {string} 焦点的focusName
|
|
84
|
+
*/
|
|
85
|
+
public getLastFocusNear(): string {
|
|
86
|
+
return this._FocusHub.getLastFocusNear();
|
|
87
|
+
}
|
|
88
|
+
|
|
66
89
|
/**
|
|
67
90
|
* getDeactivedPageFocus
|
|
68
91
|
*
|
|
@@ -117,6 +140,31 @@ class JsvFocusHubApi {
|
|
|
117
140
|
public getCurrentFocusStack(): Array<Object> {
|
|
118
141
|
return this._FocusHub.getCurrentFocusStack();
|
|
119
142
|
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* addFocusChangeListener
|
|
146
|
+
*
|
|
147
|
+
* 添加焦点变化监听器, 主要用来追踪焦点name的变化,例如路由切换的场景
|
|
148
|
+
*
|
|
149
|
+
* @param {Function} listener 焦点变化监听器, 参数为 {focusName: string}
|
|
150
|
+
* @param {boolean} onRequest 监听时机,true: 在focus请求时即回调,无论节点是否存在;
|
|
151
|
+
* false: 在节点真实存在后,确认进行focus时才回调(在正准备Focus()调用前)
|
|
152
|
+
*/
|
|
153
|
+
addFocusChangeListener(listener: Function, onRequest: boolean = false) {
|
|
154
|
+
this._FocusHub.addFocusChangeListener(listener, onRequest);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* removeFocusChangeListener
|
|
159
|
+
*
|
|
160
|
+
* 删除焦点变化监听器
|
|
161
|
+
*
|
|
162
|
+
* @param {Function} listener 由addFocusChangeListener添加的变化监听器
|
|
163
|
+
* @param {boolean} onRequest 和addFocusChangeListener时设置的参数要完全对应
|
|
164
|
+
*/
|
|
165
|
+
removeFocusChangeListener(listener: Function, onRequest: boolean = false) {
|
|
166
|
+
this._FocusHub.delFocusChangeListener(listener, onRequest);
|
|
167
|
+
}
|
|
120
168
|
}
|
|
121
169
|
|
|
122
170
|
const ROOT_HUB_PROVIDE_NAME = "__jsvFocusRootHub__";
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
* @file 只显示单列/行的MetroWidget
|
|
3
3
|
-->
|
|
4
4
|
<script setup>
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
ref,
|
|
7
|
+
shallowRef,
|
|
8
|
+
computed,
|
|
9
|
+
reactive,
|
|
10
|
+
onMounted,
|
|
11
|
+
onBeforeUnmount,
|
|
12
|
+
} from "vue";
|
|
6
13
|
import { setup } from "./MetroWidgetSetup";
|
|
14
|
+
import SlotComponent from "./SlotComponent.vue";
|
|
7
15
|
import {
|
|
8
16
|
VERTICAL,
|
|
9
17
|
HORIZONTAL,
|
|
@@ -14,6 +22,7 @@ import {
|
|
|
14
22
|
import { ForgeConst } from "../../JsViewVueTools/ForgeConstDefine.ts";
|
|
15
23
|
import DebugFrame from "./DebugFrame.vue";
|
|
16
24
|
import { createCanvasText } from "./DebugTools.ts";
|
|
25
|
+
import { KEY_MODE, TOUCH_MODE, JsvInteractionMode } from "../../JsViewVueTools/JsvInteractionMode";
|
|
17
26
|
|
|
18
27
|
const props = defineProps({
|
|
19
28
|
padding: {
|
|
@@ -40,7 +49,7 @@ const props = defineProps({
|
|
|
40
49
|
required: true,
|
|
41
50
|
},
|
|
42
51
|
onEdge: {
|
|
43
|
-
type: Function,
|
|
52
|
+
type: [Function, String],
|
|
44
53
|
default: null,
|
|
45
54
|
},
|
|
46
55
|
onFocus: {
|
|
@@ -51,6 +60,10 @@ const props = defineProps({
|
|
|
51
60
|
type: Function,
|
|
52
61
|
default: null,
|
|
53
62
|
},
|
|
63
|
+
onTouchFocus: {
|
|
64
|
+
type: Function,
|
|
65
|
+
default: null,
|
|
66
|
+
},
|
|
54
67
|
loadAll: {
|
|
55
68
|
type: Boolean,
|
|
56
69
|
default: false,
|
|
@@ -131,6 +144,9 @@ const props = defineProps({
|
|
|
131
144
|
onScroll: {
|
|
132
145
|
type: Function,
|
|
133
146
|
},
|
|
147
|
+
syncOnScroll: {
|
|
148
|
+
type: Function,
|
|
149
|
+
},
|
|
134
150
|
focusMoveType: {
|
|
135
151
|
type: Number,
|
|
136
152
|
default: 0,
|
|
@@ -157,6 +173,30 @@ const props = defineProps({
|
|
|
157
173
|
type: Boolean,
|
|
158
174
|
default: false,
|
|
159
175
|
},
|
|
176
|
+
renderAcc: {
|
|
177
|
+
type: Boolean,
|
|
178
|
+
default: false,
|
|
179
|
+
},
|
|
180
|
+
mouseFlag: {
|
|
181
|
+
type: Number,
|
|
182
|
+
default: 0,
|
|
183
|
+
},
|
|
184
|
+
fullDisplayMode: {
|
|
185
|
+
type: Boolean,
|
|
186
|
+
default: false,
|
|
187
|
+
},
|
|
188
|
+
onSizeChange: {
|
|
189
|
+
type: Function,
|
|
190
|
+
default: null,
|
|
191
|
+
},
|
|
192
|
+
onMouseEnter: {
|
|
193
|
+
type: Function,
|
|
194
|
+
default: null,
|
|
195
|
+
},
|
|
196
|
+
onMouseLeave: {
|
|
197
|
+
type: Function,
|
|
198
|
+
default: null,
|
|
199
|
+
},
|
|
160
200
|
});
|
|
161
201
|
|
|
162
202
|
const renderBreakKey = props.enableItemRenderBreak ? RENDER_ITEM_BREAK_KEY : "";
|
|
@@ -168,6 +208,7 @@ const slideDivLeft = ref(0);
|
|
|
168
208
|
const slideDivTop = ref(0);
|
|
169
209
|
const focusNode = shallowRef(null);
|
|
170
210
|
const pageUpdateToken = ref(0);
|
|
211
|
+
const rootDiv = shallowRef(null);
|
|
171
212
|
|
|
172
213
|
const touchDiv = shallowRef(null);
|
|
173
214
|
const touchDivSize = reactive({
|
|
@@ -176,8 +217,21 @@ const touchDivSize = reactive({
|
|
|
176
217
|
});
|
|
177
218
|
|
|
178
219
|
const normalizedPlaceHolder = computed(() => {
|
|
220
|
+
let logoInfo = null;
|
|
221
|
+
if (
|
|
222
|
+
typeof props.placeHolderSetting.logoUrl == "string" &&
|
|
223
|
+
typeof props.placeHolderSetting.logoWidth == "number" &&
|
|
224
|
+
typeof props.placeHolderSetting.logoHeight == "number"
|
|
225
|
+
) {
|
|
226
|
+
logoInfo = {
|
|
227
|
+
url: props.placeHolderSetting.logoUrl,
|
|
228
|
+
width: props.placeHolderSetting.logoWidth,
|
|
229
|
+
height: props.placeHolderSetting.logoHeight,
|
|
230
|
+
};
|
|
231
|
+
}
|
|
179
232
|
return {
|
|
180
233
|
gap: props.placeHolderSetting.gap ?? 0,
|
|
234
|
+
logoInfo: logoInfo,
|
|
181
235
|
borderRadius: props.placeHolderSetting.borderRadius ?? 0,
|
|
182
236
|
backgroundColor: props.placeHolderSetting.backgroundColor,
|
|
183
237
|
focusBackgroundColor:
|
|
@@ -199,6 +253,8 @@ const {
|
|
|
199
253
|
onTouchRelease,
|
|
200
254
|
currentFocusIndex,
|
|
201
255
|
onDispatchKeyDown,
|
|
256
|
+
isFocus,
|
|
257
|
+
rootNativeViewId,
|
|
202
258
|
} = setup(
|
|
203
259
|
props,
|
|
204
260
|
itemRender,
|
|
@@ -211,6 +267,7 @@ const {
|
|
|
211
267
|
pageUpdateToken,
|
|
212
268
|
touchDiv,
|
|
213
269
|
touchDivSize,
|
|
270
|
+
rootDiv,
|
|
214
271
|
"list"
|
|
215
272
|
);
|
|
216
273
|
|
|
@@ -222,7 +279,6 @@ if (props.enableDebug) {
|
|
|
222
279
|
debugFrameSourceReleaseHandler = sourceInfo.releaseHandler;
|
|
223
280
|
}
|
|
224
281
|
|
|
225
|
-
|
|
226
282
|
onMounted(() => {
|
|
227
283
|
if (onTouchRelease) {
|
|
228
284
|
touchDiv.value.jsvSetTapListener(
|
|
@@ -244,123 +300,171 @@ onBeforeUnmount(() => {
|
|
|
244
300
|
}
|
|
245
301
|
});
|
|
246
302
|
|
|
303
|
+
const innerDisableClip = computed(() => {
|
|
304
|
+
return props.disableClip || props.fullDisplayMode;
|
|
305
|
+
});
|
|
306
|
+
|
|
247
307
|
defineExpose(exportObject);
|
|
248
308
|
</script>
|
|
249
309
|
|
|
250
310
|
<template>
|
|
251
311
|
<div
|
|
312
|
+
ref="rootDiv"
|
|
252
313
|
:style="{
|
|
253
314
|
left: left,
|
|
254
315
|
top: top,
|
|
255
316
|
width: width,
|
|
256
317
|
height: height,
|
|
257
|
-
overflow:
|
|
318
|
+
overflow: innerDisableClip ? null : 'hidden',
|
|
258
319
|
}"
|
|
320
|
+
@mouseenter="props.onMouseEnter"
|
|
321
|
+
@mouseleave="props.onMouseLeave"
|
|
259
322
|
>
|
|
260
323
|
<div
|
|
261
324
|
:style="{
|
|
262
|
-
|
|
263
|
-
|
|
325
|
+
width: width,
|
|
326
|
+
height: height,
|
|
264
327
|
}"
|
|
328
|
+
:data-jsv-vw-innerview="rootNativeViewId"
|
|
265
329
|
>
|
|
266
330
|
<div
|
|
267
|
-
id="slideDiv"
|
|
268
|
-
key="slideDiv"
|
|
269
|
-
ref="slideDiv"
|
|
270
331
|
:style="{
|
|
271
|
-
left:
|
|
272
|
-
top:
|
|
332
|
+
left: widgetRectInfo.padding.left,
|
|
333
|
+
top: widgetRectInfo.padding.top,
|
|
273
334
|
}"
|
|
274
335
|
>
|
|
275
336
|
<div
|
|
276
|
-
|
|
337
|
+
id="slideDiv"
|
|
338
|
+
key="slideDiv"
|
|
339
|
+
ref="slideDiv"
|
|
277
340
|
:style="{
|
|
278
|
-
|
|
279
|
-
|
|
341
|
+
left: slideDivLeft,
|
|
342
|
+
top: slideDivTop,
|
|
280
343
|
}"
|
|
281
344
|
>
|
|
282
|
-
<div
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
item.index +
|
|
304
|
-
'-' +
|
|
305
|
-
item.renderKey.value
|
|
306
|
-
"
|
|
307
|
-
:ref="item.divRef"
|
|
308
|
-
data-jsv-vw-test-rect="1"
|
|
309
|
-
:style="{
|
|
310
|
-
left: item.templateInfo.left,
|
|
311
|
-
top: item.templateInfo.top,
|
|
312
|
-
width: item.templateInfo.width,
|
|
313
|
-
height: item.templateInfo.height,
|
|
314
|
-
zIndex: item.renderStyle.zIndex,
|
|
345
|
+
<div
|
|
346
|
+
ref="touchDiv"
|
|
347
|
+
:style="{
|
|
348
|
+
width: touchDivSize.width,
|
|
349
|
+
height: touchDivSize.height,
|
|
350
|
+
}"
|
|
351
|
+
>
|
|
352
|
+
<div>
|
|
353
|
+
<slot name="background"></slot>
|
|
354
|
+
</div>
|
|
355
|
+
<div ref="locateDiv">
|
|
356
|
+
<jsv-focus-block
|
|
357
|
+
ref="focusNode"
|
|
358
|
+
:name="name"
|
|
359
|
+
:onAction="{
|
|
360
|
+
onFocus: focusBlockOnFocus,
|
|
361
|
+
onBlur: focusBlockOnBlur,
|
|
362
|
+
onKeyDown: focusBlockOnKeyDown,
|
|
363
|
+
onKeyUp: focusBlockOnKeyUp,
|
|
364
|
+
onCustomEvent: focusBlockOnCustomEvent,
|
|
365
|
+
onDispatchKeyDown,
|
|
315
366
|
}"
|
|
316
|
-
@click="item.onTap.value"
|
|
317
367
|
>
|
|
318
|
-
<DebugFrame
|
|
319
|
-
v-if="enableDebug"
|
|
320
|
-
:width="item.templateInfo.width"
|
|
321
|
-
:height="item.templateInfo.height"
|
|
322
|
-
:sourceId="debugFrameSourceId"
|
|
323
|
-
></DebugFrame>
|
|
324
|
-
<div
|
|
325
|
-
v-if="
|
|
326
|
-
!enableItemRenderBreak || item.mounted.value || itemRender
|
|
327
|
-
"
|
|
328
|
-
:key="renderBreakKey"
|
|
329
|
-
:ref="item.slotRef"
|
|
330
|
-
:id="`${name}_${index}`"
|
|
331
|
-
>
|
|
332
|
-
<slot
|
|
333
|
-
name="renderItem"
|
|
334
|
-
:data="item.customerData"
|
|
335
|
-
:onEdge="_onFocusableItemEdge"
|
|
336
|
-
:onAction="item.registerObj"
|
|
337
|
-
:query="item.query"
|
|
338
|
-
:onItemEdge="_onFocusableItemEdge"
|
|
339
|
-
></slot>
|
|
340
|
-
</div>
|
|
341
368
|
<div
|
|
342
|
-
v-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
item.
|
|
369
|
+
v-for="(item, index) in renderData"
|
|
370
|
+
:key="
|
|
371
|
+
pageUpdateToken +
|
|
372
|
+
'_' +
|
|
373
|
+
item.index +
|
|
374
|
+
'-' +
|
|
375
|
+
item.renderKey.value
|
|
347
376
|
"
|
|
377
|
+
:ref="item.divRef"
|
|
378
|
+
data-jsv-vw-test-rect="1"
|
|
348
379
|
:style="{
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
: normalizedPlaceHolder.backgroundColor,
|
|
355
|
-
borderRadius: normalizedPlaceHolder.borderRadius,
|
|
380
|
+
left: item.templateInfo.left,
|
|
381
|
+
top: item.templateInfo.top,
|
|
382
|
+
width: item.templateInfo.width,
|
|
383
|
+
height: item.templateInfo.height,
|
|
384
|
+
zIndex: item.renderStyle.zIndex,
|
|
356
385
|
}"
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
386
|
+
@click="item.onTap.value"
|
|
387
|
+
>
|
|
388
|
+
<DebugFrame
|
|
389
|
+
v-if="enableDebug"
|
|
390
|
+
:width="item.templateInfo.width"
|
|
391
|
+
:height="item.templateInfo.height"
|
|
392
|
+
:sourceId="debugFrameSourceId"
|
|
393
|
+
></DebugFrame>
|
|
394
|
+
<div
|
|
395
|
+
:style="{
|
|
396
|
+
width: item.templateInfo.width,
|
|
397
|
+
height: item.templateInfo.height,
|
|
398
|
+
}"
|
|
399
|
+
:data-jsv-vw-innerview="item.rootNativeViewId"
|
|
400
|
+
>
|
|
401
|
+
<div
|
|
402
|
+
v-if="
|
|
403
|
+
!item.renderBreak.value ||
|
|
404
|
+
item.mounted.value ||
|
|
405
|
+
itemRender
|
|
406
|
+
"
|
|
407
|
+
:key="renderBreakKey"
|
|
408
|
+
:ref="item.slotRef"
|
|
409
|
+
:id="`${name}_${index}`"
|
|
410
|
+
:__metrowidget-index="item.index"
|
|
411
|
+
>
|
|
412
|
+
<slot
|
|
413
|
+
name="renderItem"
|
|
414
|
+
:data="item.customerData"
|
|
415
|
+
:onEdge="_onFocusableItemEdge"
|
|
416
|
+
:onAction="item.registerObj"
|
|
417
|
+
:query="item.query"
|
|
418
|
+
:onItemEdge="_onFocusableItemEdge"
|
|
419
|
+
></slot>
|
|
420
|
+
</div>
|
|
421
|
+
<div
|
|
422
|
+
v-if="
|
|
423
|
+
item.renderBreak.value
|
|
424
|
+
&& placeHolderSetting
|
|
425
|
+
&& !item.mounted.value
|
|
426
|
+
&& item.itemConfig.showSkeleton
|
|
427
|
+
&& item.placeHolderLayout
|
|
428
|
+
"
|
|
429
|
+
:style="{
|
|
430
|
+
left: item.placeHolderLayout.left,
|
|
431
|
+
top: item.placeHolderLayout.top,
|
|
432
|
+
width: item.placeHolderLayout.width,
|
|
433
|
+
height: item.placeHolderLayout.height,
|
|
434
|
+
backgroundColor:
|
|
435
|
+
isFocus &&
|
|
436
|
+
currentFocusIndex == item.index &&
|
|
437
|
+
JsvInteractionMode == KEY_MODE
|
|
438
|
+
? normalizedPlaceHolder.focusBackgroundColor
|
|
439
|
+
: normalizedPlaceHolder.backgroundColor,
|
|
440
|
+
borderRadius: normalizedPlaceHolder.borderRadius,
|
|
441
|
+
}"
|
|
442
|
+
>
|
|
443
|
+
<img
|
|
444
|
+
v-if="normalizedPlaceHolder.logoInfo"
|
|
445
|
+
:src="`url(${normalizedPlaceHolder.logoInfo.url})`"
|
|
446
|
+
:style="{
|
|
447
|
+
left:
|
|
448
|
+
(item.placeHolderLayout.width -
|
|
449
|
+
item.placeHolderLayout.logoWidth) /
|
|
450
|
+
2,
|
|
451
|
+
top:
|
|
452
|
+
(item.placeHolderLayout.height -
|
|
453
|
+
item.placeHolderLayout.logoHeight) /
|
|
454
|
+
2,
|
|
455
|
+
width: item.placeHolderLayout.logoWidth,
|
|
456
|
+
height: item.placeHolderLayout.logoHeight,
|
|
457
|
+
}"
|
|
458
|
+
/>
|
|
459
|
+
</div>
|
|
460
|
+
</div>
|
|
461
|
+
</div>
|
|
462
|
+
</jsv-focus-block>
|
|
463
|
+
</div>
|
|
464
|
+
</div>
|
|
465
|
+
<div>
|
|
466
|
+
<slot name="foreground"></slot>
|
|
360
467
|
</div>
|
|
361
|
-
</div>
|
|
362
|
-
<div>
|
|
363
|
-
<slot name="foreground"></slot>
|
|
364
468
|
</div>
|
|
365
469
|
</div>
|
|
366
470
|
</div>
|