@shijiu/jsview-vue 2.2.128 → 2.2.373
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/BrowserApic.vue.mjs +4 -15
- package/bin/browser/BrowserApic2.vue.mjs +4 -15
- package/bin/browser/BrowserApicLib.mjs +32 -26
- package/bin/browser/BrowserAudio.vue.mjs +2 -10
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +79 -0
- package/bin/browser/BrowserJsvLatex.vue.mjs +39 -16
- package/bin/browser/BrowserPreload.vue.mjs +1 -5
- package/bin/browser/BrowserQrcode.vue.mjs +1 -5
- package/bin/browser/BrowserSpray.vue.mjs +2 -12
- package/bin/browser/BrowserTextureAnim.vue.mjs +2 -12
- package/bin/export-sfc.mjs +3 -3
- package/bin/jsview-vue-common.mjs +3 -3
- package/bin/jsview-vue.mjs +4636 -2325
- package/bin/types/JsViewEngineWidget/CheckType.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +37 -33
- package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +21 -6
- package/bin/types/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +14 -12
- package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +17 -6
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +283 -6
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +9 -3
- package/bin/types/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +7 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/Slide.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/RangeModel.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/Fence.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +5 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +5 -1
- package/bin/types/JsViewEngineWidget/TemplateParser/index.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/WidgetCommon.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/index.d.ts +14 -1
- package/bin/types/JsViewPlugin/JsvAccount/JsvAccount.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/CheckType.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/Events.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/index.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvAudio/version.d.ts +5 -0
- package/bin/types/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +24 -0
- package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +4 -0
- package/bin/types/JsViewPlugin/JsvLatex/index.d.ts +5 -0
- package/bin/types/JsViewPlugin/JsvLatex/version.d.ts +4 -0
- package/bin/types/JsViewPlugin/index.d.ts +4 -0
- package/bin/types/JsViewVueTools/ConstSymbol.d.ts +6 -2
- package/bin/types/JsViewVueTools/DebugContentShellJBridge.d.ts +4 -0
- package/bin/types/JsViewVueTools/DebugTool.d.ts +4 -0
- package/bin/types/JsViewVueTools/DefaultKeyMap.d.ts +4 -0
- package/bin/types/JsViewVueTools/FeatureActive.d.ts +14 -0
- package/bin/types/JsViewVueTools/ForgeConstDefine.d.ts +4 -0
- package/bin/types/JsViewVueTools/ForgeHandles.d.ts +7 -3
- package/bin/types/JsViewVueTools/JsvDemoTester.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvDynamicCssStyle.d.ts +20 -1
- package/bin/types/JsViewVueTools/JsvDynamicKeyFrames.d.ts +21 -2
- package/bin/types/JsViewVueTools/JsvFederationTools.d.ts +20 -0
- package/bin/types/JsViewVueTools/JsvHashHistory.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvImpactTracer.d.ts +8 -4
- package/bin/types/JsViewVueTools/JsvPerformance.d.ts +9 -0
- package/bin/types/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
- package/bin/types/JsViewVueTools/JsvRefTaker.d.ts +28 -3
- package/bin/types/JsViewVueTools/JsvRuntimeBridge.d.ts +50 -0
- package/bin/types/JsViewVueTools/JsvStyleClass.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +21 -1
- package/bin/types/JsViewVueTools/JsvTextTools.d.ts +85 -27
- package/bin/types/JsViewVueTools/JsvTextureDefines.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +73 -3
- package/bin/types/JsViewVueTools/JsvTextureStore/Store.d.ts +4 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
- package/bin/types/JsViewVueTools/NinePatchHelper.d.ts +5 -1
- package/bin/types/JsViewVueTools/TextureManagerTools.d.ts +11 -0
- package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +4 -0
- package/bin/types/JsViewVueTools/index.d.ts +26 -11
- package/bin/types/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +38 -0
- package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvActorMove/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +5 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +28 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +5 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +29 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +6 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
- package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
- package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +21 -0
- package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
- package/bin/types/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
- package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
- package/bin/types/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFilterView.vue.d.ts +19 -0
- package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +34 -0
- package/bin/types/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +106 -0
- package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +6 -2
- package/bin/types/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts +19 -0
- package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +60 -0
- package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +6 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +47 -17
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +25 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +22 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +9 -5
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +8 -2
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +11 -7
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +6 -0
- package/bin/types/JsViewVueWidget/JsvGrid.vue.d.ts +73 -0
- package/bin/types/JsViewVueWidget/JsvHole.d.ts +17 -0
- package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +14 -34
- package/bin/types/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +48 -0
- package/bin/types/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +27 -0
- package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +64 -209
- package/bin/types/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
- package/bin/types/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +14 -0
- package/bin/types/JsViewVueWidget/JsvInput/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +20 -0
- package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +21 -0
- package/bin/types/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +20 -0
- package/bin/types/JsViewVueWidget/JsvMindMap/Constant.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvMindMap/DataTree.d.ts +7 -1
- package/bin/types/JsViewVueWidget/JsvMindMap/Geometry.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +90 -0
- package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvMindMap/rtree.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +24 -0
- package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +31 -0
- package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +17 -0
- package/bin/types/JsViewVueWidget/JsvPosterDiv.vue.d.ts +17 -0
- package/bin/types/JsViewVueWidget/JsvPosterImage.vue.d.ts +18 -0
- package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +42 -0
- package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +19 -0
- package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +25 -0
- package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +24 -0
- package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +45 -0
- package/bin/types/JsViewVueWidget/JsvRipple/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +18 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +65 -1
- package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +13 -4
- package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +6 -0
- package/bin/types/JsViewVueWidget/JsvSector.vue.d.ts +18 -0
- package/bin/types/JsViewVueWidget/JsvSoundPool.d.ts +42 -0
- package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +40 -0
- package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +52 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +16 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +39 -0
- package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +24 -0
- package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvTextBox.vue.d.ts +26 -0
- package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +7 -2
- package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +100 -0
- package/bin/types/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +25 -0
- package/bin/types/JsViewVueWidget/JsvVisibleSensor/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/index.d.ts +9 -0
- package/bin/types/index.d.ts +4 -0
- package/index.d.ts +8 -0
- package/package.json +1 -1
- package/tools/config/rollup.config.mjs +1 -0
- package/tools/config/toolkit.mjs +81 -0
- package/tools/config/tsconfig.json +1 -0
- package/tools/config/vite.config.ts +24 -14
- package/tools/jsview-vue-build.mjs +66 -21
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +6 -2
- package/utils/JsViewEngineWidget/JsvFocus/{JsvFocusManager.js → JsvFocusManager.ts} +34 -15
- package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.ts +20 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +30 -11
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +54 -15
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +509 -268
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +11 -0
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +8 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +20 -10
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +33 -9
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +2 -2
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +7 -0
- package/utils/JsViewEngineWidget/{index.js → index.ts} +1 -1
- package/utils/JsViewPlugin/JsvAudio/AudioProxy.js +21 -2
- package/utils/JsViewPlugin/JsvAudio/version.js +1 -1
- package/utils/JsViewPlugin/JsvAudio/version.mjs +1 -1
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +13 -3
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +27 -6
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +34 -28
- package/utils/JsViewPlugin/JsvLatex/index.js +22 -0
- package/utils/JsViewVueTools/ConstSymbol.ts +2 -2
- package/utils/JsViewVueTools/FeatureActive.ts +84 -0
- package/utils/JsViewVueTools/ForgeHandles.ts +7 -3
- package/utils/JsViewVueTools/JsvDynamicCssStyle.js +2 -0
- package/utils/JsViewVueTools/JsvDynamicKeyFrames.ts +2 -0
- package/utils/JsViewVueTools/JsvImpactTracer.js +2 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +5 -4
- package/utils/JsViewVueTools/JsvRefTaker.js +1 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +67 -1
- package/utils/JsViewVueTools/JsvStyleClass.js +2 -0
- package/utils/JsViewVueTools/JsvStyleSheetsDeclarer.js +2 -0
- package/utils/JsViewVueTools/JsvTextTools.ts +223 -0
- package/utils/JsViewVueTools/JsvTextureLoadTool.ts +233 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +4 -1
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +8 -4
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +1 -0
- package/utils/JsViewVueTools/TextureManagerTools.ts +17 -0
- package/utils/JsViewVueTools/index.js +22 -19
- package/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue +2 -0
- package/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue +2 -2
- package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +13 -5
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue +2 -2
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +15 -4
- package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.js +8 -3
- package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +44 -0
- package/utils/JsViewVueWidget/JsvClipDiv/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue +7 -1
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +219 -0
- package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +84 -0
- package/utils/JsViewVueWidget/JsvDriftScope/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvFilterView.vue +2 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +5 -2
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +145 -0
- package/utils/JsViewVueWidget/JsvFlexCell/index.js +2 -5
- package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +75 -0
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +293 -0
- package/utils/JsViewVueWidget/JsvFragShaderView/index.js +18 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +142 -63
- package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +9 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +2 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +15 -6
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +19 -7
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +15 -11
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.ts +120 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +5 -1
- package/utils/JsViewVueWidget/JsvGrid.vue +2 -0
- package/utils/JsViewVueWidget/JsvHole.js +2 -0
- package/utils/JsViewVueWidget/JsvInput/Cursor.vue +49 -45
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +320 -0
- package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +222 -0
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +281 -681
- package/utils/JsViewVueWidget/JsvInput/SharedDefine.ts +17 -0
- package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +47 -0
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +2 -0
- package/utils/JsViewVueWidget/JsvMarquee.vue +2 -0
- package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +2 -0
- package/utils/JsViewVueWidget/JsvMindMap/DataTree.ts +14 -1
- package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +277 -117
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +91 -68
- package/utils/JsViewVueWidget/JsvNinePatch.vue +18 -1
- package/utils/JsViewVueWidget/JsvPieChart.vue +2 -0
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +2 -0
- package/utils/JsViewVueWidget/JsvPosterImage.vue +2 -0
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +2 -0
- package/utils/JsViewVueWidget/JsvProgressBar.vue +2 -0
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +10 -11
- package/utils/JsViewVueWidget/JsvRadarChart.vue +2 -0
- package/utils/JsViewVueWidget/JsvRipple/Constant.js +2 -2
- package/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue +3 -1
- package/utils/JsViewVueWidget/JsvScaleTextBox.vue +2 -0
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +266 -48
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +477 -0
- package/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.ts +9 -0
- package/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts +13 -4
- package/utils/JsViewVueWidget/JsvScrollBox/index.ts +3 -0
- package/utils/JsViewVueWidget/JsvSector.vue +2 -0
- package/utils/JsViewVueWidget/JsvSoundPool.js +2 -0
- package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +30 -13
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +2 -0
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue +2 -0
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +2 -0
- package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +2 -0
- package/utils/JsViewVueWidget/JsvTextBox.vue +2 -4
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +44 -41
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +101 -0
- package/utils/JsViewVueWidget/JsvVideo.vue +2 -2
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +2 -0
- package/utils/JsViewVueWidget/index.js +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.js +0 -19
- package/utils/JsViewVueTools/JsvTextTools.js +0 -89
- package/utils/JsViewVueWidget/JsvScrollBox/index.js +0 -2
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
JsvFocusHubApi,
|
|
6
6
|
ROOT_HUB_PROVIDE_NAME,
|
|
7
7
|
HUB_NS_PROVIDE_NAME
|
|
8
|
-
} from "./JsvFocusHub
|
|
8
|
+
} from "./JsvFocusHub";
|
|
9
9
|
import { inject } from "vue";
|
|
10
10
|
|
|
11
|
-
const useFocusHub = (withNameSpace) => {
|
|
11
|
+
const useFocusHub = (withNameSpace: any) => {
|
|
12
12
|
if (withNameSpace) {
|
|
13
|
-
let nameSpace = inject(HUB_NS_PROVIDE_NAME); // nameSpace变更由JsvFocusBlock设置namespace时变更
|
|
13
|
+
let nameSpace: any = inject(HUB_NS_PROVIDE_NAME); // nameSpace变更由JsvFocusBlock设置namespace时变更
|
|
14
14
|
if (nameSpace && nameSpace.length > 0) {
|
|
15
15
|
// 使用带有namespace的hub
|
|
16
|
-
return new JsvFocusHubApi((inject(ROOT_HUB_PROVIDE_NAME)).getOrigin().wrapWithNameSpace(nameSpace));
|
|
16
|
+
return new JsvFocusHubApi((inject(ROOT_HUB_PROVIDE_NAME) as any).getOrigin().wrapWithNameSpace(nameSpace));
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -22,9 +22,16 @@ const useFocusHub = (withNameSpace) => {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export class JsvFocusManager {
|
|
25
|
-
|
|
25
|
+
// #aliasMap = {}
|
|
26
|
+
private $_appMount: any = undefined;
|
|
27
|
+
private $_topFDiv: any = undefined;
|
|
28
|
+
private $_autoSearchFocus: boolean = false;
|
|
29
|
+
|
|
30
|
+
constructor(config: any) {
|
|
31
|
+
this.$_autoSearchFocus = config.autoSearchFocus;
|
|
32
|
+
}
|
|
26
33
|
|
|
27
|
-
install(app, ...options) {
|
|
34
|
+
install(app: any, ...options: any) {
|
|
28
35
|
console.log("JsvFocusManager install");
|
|
29
36
|
if (typeof options[0] !== "string") {
|
|
30
37
|
throw new Error(
|
|
@@ -91,15 +98,16 @@ export class JsvFocusManager {
|
|
|
91
98
|
// focusNode.requestFocus(exact);
|
|
92
99
|
// }
|
|
93
100
|
|
|
94
|
-
$_hookMount(app, rootNodeId) {
|
|
101
|
+
$_hookMount(app: any, rootNodeId: any) {
|
|
95
102
|
rootNodeId = rootNodeId.replace("#", "");
|
|
96
|
-
this.$_topFDiv = document.jsvInitFDivRoot(rootNodeId);
|
|
103
|
+
this.$_topFDiv = (document as any).jsvInitFDivRoot(rootNodeId);
|
|
104
|
+
this.$_topFDiv.enableAutoSearchFocus(this.$_autoSearchFocus);
|
|
97
105
|
this.$_appMount = app.mount.bind(app);
|
|
98
106
|
|
|
99
107
|
return this.$_doAppMount.bind(this);
|
|
100
108
|
}
|
|
101
109
|
|
|
102
|
-
$_doAppMount(rootContainer) {
|
|
110
|
+
$_doAppMount(rootContainer: any) {
|
|
103
111
|
// 调用app原有的mount函数
|
|
104
112
|
const rootComponent = this.$_appMount(rootContainer);
|
|
105
113
|
// console.log('FocusManager: do mount')
|
|
@@ -109,14 +117,25 @@ export class JsvFocusManager {
|
|
|
109
117
|
|
|
110
118
|
return rootComponent;
|
|
111
119
|
}
|
|
112
|
-
|
|
113
|
-
// #aliasMap = {}
|
|
114
|
-
$_appMount = undefined;
|
|
115
|
-
$_topFDiv = undefined;
|
|
116
120
|
}
|
|
117
121
|
|
|
118
|
-
|
|
119
|
-
|
|
122
|
+
/**
|
|
123
|
+
* 创建 JsView 焦点管理器
|
|
124
|
+
*
|
|
125
|
+
* @param {Object} config: 对象设置,子参数有{
|
|
126
|
+
* autoSearchFocus{boolean}: 是否开启自动寻焦,默认为false(兼容旧代码)
|
|
127
|
+
* }
|
|
128
|
+
* @return JsvFocusManager
|
|
129
|
+
*/
|
|
130
|
+
function jsvCreateFocusManager(config: Object | null = null) {
|
|
131
|
+
let defualt_config = {
|
|
132
|
+
autoSearchFocus: false
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
return new JsvFocusManager({
|
|
136
|
+
...defualt_config,
|
|
137
|
+
...config
|
|
138
|
+
});
|
|
120
139
|
}
|
|
121
140
|
|
|
122
141
|
export { jsvCreateFocusManager, useFocusHub };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: ChenChanghua
|
|
3
|
+
* @Date: 2021-09-22 16:50:09
|
|
4
|
+
* @LastEditors: ChenChanghua
|
|
5
|
+
* @LastEditTime: 2022-01-26 10:17:47
|
|
6
|
+
* @Description: file content
|
|
7
|
+
*/
|
|
8
|
+
import { BaseDispatcher } from "../WidgetCommon";
|
|
9
|
+
|
|
10
|
+
class Dispatcher extends BaseDispatcher {
|
|
11
|
+
public static Type = {
|
|
12
|
+
setFocusId: Symbol("setFocusId"),
|
|
13
|
+
updateItem: Symbol("updateItem"),
|
|
14
|
+
slideToItem: Symbol("slideTo"),
|
|
15
|
+
setEnterFocusId: Symbol("setEnterFocusId"),
|
|
16
|
+
setEnterFocusRect: Symbol("setEnterFocusRect"),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export { Dispatcher as SWidgetDispatcher };
|
|
20
|
+
export default Dispatcher;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
2
|
+
* @file 只显示单列/行的MetroWidget
|
|
3
3
|
-->
|
|
4
4
|
<script setup>
|
|
5
|
-
import { ref, shallowRef, computed, reactive } from "vue";
|
|
5
|
+
import { ref, shallowRef, computed, reactive, onMounted } from "vue";
|
|
6
6
|
import { setup } from "./MetroWidgetSetup";
|
|
7
7
|
import {
|
|
8
8
|
VERTICAL,
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
SeamlessSlide,
|
|
12
12
|
RENDER_ITEM_BREAK_KEY,
|
|
13
13
|
} from "../WidgetCommon";
|
|
14
|
+
import { ForgeConst } from "../../JsViewVueTools/ForgeConstDefine.ts";
|
|
14
15
|
|
|
15
16
|
const props = defineProps({
|
|
16
17
|
padding: {
|
|
@@ -186,6 +187,7 @@ const {
|
|
|
186
187
|
onTouchDown,
|
|
187
188
|
onTouchRelease,
|
|
188
189
|
currentFocusIndex,
|
|
190
|
+
onDispatchKeyDown
|
|
189
191
|
} = setup(
|
|
190
192
|
props,
|
|
191
193
|
itemRender,
|
|
@@ -200,10 +202,20 @@ const {
|
|
|
200
202
|
touchDivSize,
|
|
201
203
|
"list"
|
|
202
204
|
);
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
|
|
206
|
+
onMounted(() => {
|
|
207
|
+
if (onTouchRelease) {
|
|
208
|
+
touchDiv.value.jsvSetTapListener(
|
|
209
|
+
{
|
|
210
|
+
onTouchEnd: onTouchRelease,
|
|
211
|
+
},
|
|
212
|
+
ForgeConst.DragFlags.TOUCH_RECV_MOVE_BIT |
|
|
213
|
+
ForgeConst.DragFlags.TOUCH_RECV_FLING_BIT |
|
|
214
|
+
ForgeConst.DragFlags.TOUCH_RECV_LAST_END
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
|
|
207
219
|
defineExpose(exportObject);
|
|
208
220
|
</script>
|
|
209
221
|
|
|
@@ -238,7 +250,6 @@ defineExpose(exportObject);
|
|
|
238
250
|
width: touchDivSize.width,
|
|
239
251
|
height: touchDivSize.height,
|
|
240
252
|
}"
|
|
241
|
-
v-on="touchDivVOn"
|
|
242
253
|
>
|
|
243
254
|
<div>
|
|
244
255
|
<slot name="background"></slot>
|
|
@@ -252,11 +263,18 @@ defineExpose(exportObject);
|
|
|
252
263
|
onBlur: focusBlockOnBlur,
|
|
253
264
|
onKeyDown: focusBlockOnKeyDown,
|
|
254
265
|
onCustomEvent: focusBlockOnCustomEvent,
|
|
266
|
+
onDispatchKeyDown
|
|
255
267
|
}"
|
|
256
268
|
>
|
|
257
269
|
<div
|
|
258
270
|
v-for="(item, index) in renderData"
|
|
259
|
-
:key="
|
|
271
|
+
:key="
|
|
272
|
+
pageUpdateToken +
|
|
273
|
+
'_' +
|
|
274
|
+
item.index +
|
|
275
|
+
'-' +
|
|
276
|
+
item.renderKey.value
|
|
277
|
+
"
|
|
260
278
|
:ref="item.divRef"
|
|
261
279
|
data-jsv-vw-test-rect="1"
|
|
262
280
|
:style="{
|
|
@@ -287,9 +305,10 @@ defineExpose(exportObject);
|
|
|
287
305
|
</div>
|
|
288
306
|
<div
|
|
289
307
|
v-if="
|
|
290
|
-
enableItemRenderBreak
|
|
291
|
-
placeHolderSetting
|
|
292
|
-
!item.mounted.value
|
|
308
|
+
enableItemRenderBreak
|
|
309
|
+
&& placeHolderSetting
|
|
310
|
+
&& !item.mounted.value
|
|
311
|
+
&& item.itemConfig.showSkeleton
|
|
293
312
|
"
|
|
294
313
|
:style="{
|
|
295
314
|
width: item.renderStyle.width - normalizedPlaceHolder.gap,
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
-->
|
|
6
6
|
|
|
7
7
|
<!--
|
|
8
|
+
* @file
|
|
9
|
+
*
|
|
8
10
|
* 【界面概述】
|
|
9
11
|
* 展示MetroWidget控件的用法
|
|
10
12
|
*
|
|
@@ -82,6 +84,7 @@
|
|
|
82
84
|
uid {string}: item的uid, 可以通过uid来设置焦点
|
|
83
85
|
permanent {boolean}: 出去与是否保留
|
|
84
86
|
enableTap {boolean}: 是否接受触控tap
|
|
87
|
+
showSkeleton {boolean}: 打断描画时, 是否显示骨架图
|
|
85
88
|
}
|
|
86
89
|
*
|
|
87
90
|
* onFocus {function} 控件获取焦点的回调
|
|
@@ -92,10 +95,6 @@
|
|
|
92
95
|
"rect": 到达边缘时的区域{x: 0, y: 0, width: 0,height: 0}
|
|
93
96
|
}
|
|
94
97
|
onScroll {function} 滚动时的回调 (visibleStart, visibleRange, totalSize) => {}
|
|
95
|
-
(TBD:
|
|
96
|
-
当前版本暂时不支持触控过程的实时回调,
|
|
97
|
-
由于回调js会严重拖慢性能,所以也不会设计实时回调,
|
|
98
|
-
关于边缘的拖动进度展示,将来会有额外组件支撑)
|
|
99
98
|
visibleStart: 可视区域的起点
|
|
100
99
|
visibleRange: 可视区域大小(不含padding)
|
|
101
100
|
totalSize: 所有item的总长
|
|
@@ -156,7 +155,21 @@
|
|
|
156
155
|
lockChildSlideEvent: {boolean} 设置焦点时忽略子发过来的滚动事件
|
|
157
156
|
}
|
|
158
157
|
refreshData
|
|
159
|
-
@description
|
|
158
|
+
@description 刷新数据, 只有存在provideData时才会生效
|
|
159
|
+
当refresh时,根据下面的数据对比规则找出变化的数据
|
|
160
|
+
refresh时的对比逻辑:
|
|
161
|
+
1. 对比array里的object是否是同一个对象
|
|
162
|
+
2. 对比array里的jsvKey字段, 若一致则认为该数据未改变,即使object不相同
|
|
163
|
+
发现array中存在数据变化时,会如下的场景进行处理
|
|
164
|
+
场景1: array内部的数据变化了,无论末尾有没有增加: 变化的项目会重新触发measure,
|
|
165
|
+
若measure返回尺寸变化则调用所有项目measure重做布局
|
|
166
|
+
若measure返回尺寸未变化,则仅对变化项目的div进行key的调整来触发item的remount
|
|
167
|
+
场景2: array内部未变化,仅array末尾新增内容: 对末尾内容的项目做measure,布局进行追加处理,原布局内容保持(节省性能)
|
|
168
|
+
特别说明: jsvKey的使用方法提示
|
|
169
|
+
1. 用lastModify设置jsvKey,并将所有的item设置成同一个jsvKey,后续局部更新项目的jsvKey代表的lastModify
|
|
170
|
+
2. 后台运营对于素材是只新增不改动的策略时,用素材的id来命名jsvKey,array中间位置素材变化的时候,
|
|
171
|
+
更换jsvKey,以达到局部更新的目的,防止全体更新,从而提高响应的性能
|
|
172
|
+
|
|
160
173
|
@params {boolean} forceUpdate 是否强制刷新
|
|
161
174
|
getVisibleItems
|
|
162
175
|
@description 获取可视item的列表信息
|
|
@@ -179,6 +192,8 @@
|
|
|
179
192
|
3. EdgeDirection
|
|
180
193
|
getCustomerDataSize
|
|
181
194
|
@description 获取用户数据长度
|
|
195
|
+
getCurrentFocusIndex
|
|
196
|
+
@description 获取当前获焦item的index
|
|
182
197
|
setZIndex
|
|
183
198
|
@description 设置item的zIndex
|
|
184
199
|
@params {int} index: item的index
|
|
@@ -195,7 +210,12 @@
|
|
|
195
210
|
setSlideSetting
|
|
196
211
|
@description 设置slideSetting
|
|
197
212
|
@params { SlideSetting | null } setting 滚动设置, 为null时使用props.slideSetting
|
|
198
|
-
|
|
213
|
+
cancelDelayLoad
|
|
214
|
+
@description 取消延迟加载首屏以外内容
|
|
215
|
+
setSensorSensitivity
|
|
216
|
+
@description 触控模式下, 设置运动回调敏感度, 每移动多少像素进行回调,适当放大(推荐10以上)可以极大减小对js回调过多引起的性能降低
|
|
217
|
+
@params {number} sensitivity 敏感度, 等于0时关闭触控的移动监听
|
|
218
|
+
|
|
199
219
|
slots:
|
|
200
220
|
renderItem: 该slot用于描画每个单元格
|
|
201
221
|
background: 该slot描画在item后, 一般用于描画需要跟随MetroWidget滚动的内容
|
|
@@ -265,6 +285,8 @@ import {
|
|
|
265
285
|
SeamlessSlide,
|
|
266
286
|
RENDER_ITEM_BREAK_KEY,
|
|
267
287
|
} from "../WidgetCommon";
|
|
288
|
+
import { ForgeConst } from "../../JsViewVueTools/ForgeConstDefine.ts";
|
|
289
|
+
|
|
268
290
|
const props = defineProps({
|
|
269
291
|
padding: {
|
|
270
292
|
type: Object,
|
|
@@ -440,6 +462,7 @@ const {
|
|
|
440
462
|
onTouchRelease,
|
|
441
463
|
currentFocusIndex,
|
|
442
464
|
modeForExport,
|
|
465
|
+
onDispatchKeyDown
|
|
443
466
|
} = setup(
|
|
444
467
|
props,
|
|
445
468
|
itemRender,
|
|
@@ -454,10 +477,19 @@ const {
|
|
|
454
477
|
touchDivSize,
|
|
455
478
|
"common"
|
|
456
479
|
);
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
480
|
+
|
|
481
|
+
onMounted(() => {
|
|
482
|
+
if (onTouchRelease) {
|
|
483
|
+
touchDiv.value.jsvSetTapListener(
|
|
484
|
+
{
|
|
485
|
+
onTouchEnd: onTouchRelease,
|
|
486
|
+
},
|
|
487
|
+
ForgeConst.DragFlags.TOUCH_RECV_MOVE_BIT |
|
|
488
|
+
ForgeConst.DragFlags.TOUCH_RECV_FLING_BIT |
|
|
489
|
+
ForgeConst.DragFlags.TOUCH_RECV_LAST_END
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
});
|
|
461
493
|
|
|
462
494
|
defineExpose(exportObject);
|
|
463
495
|
</script>
|
|
@@ -493,7 +525,6 @@ defineExpose(exportObject);
|
|
|
493
525
|
width: touchDivSize.width,
|
|
494
526
|
height: touchDivSize.height,
|
|
495
527
|
}"
|
|
496
|
-
v-on="touchDivVOn"
|
|
497
528
|
>
|
|
498
529
|
<div>
|
|
499
530
|
<slot name="background"></slot>
|
|
@@ -507,11 +538,18 @@ defineExpose(exportObject);
|
|
|
507
538
|
onBlur: focusBlockOnBlur,
|
|
508
539
|
onKeyDown: focusBlockOnKeyDown,
|
|
509
540
|
onCustomEvent: focusBlockOnCustomEvent,
|
|
541
|
+
onDispatchKeyDown,
|
|
510
542
|
}"
|
|
511
543
|
>
|
|
512
544
|
<div
|
|
513
545
|
v-for="(item, index) in renderData"
|
|
514
|
-
:key="
|
|
546
|
+
:key="
|
|
547
|
+
pageUpdateToken +
|
|
548
|
+
'_' +
|
|
549
|
+
item.index +
|
|
550
|
+
'-' +
|
|
551
|
+
item.renderKey.value
|
|
552
|
+
"
|
|
515
553
|
:ref="item.divRef"
|
|
516
554
|
data-jsv-vw-test-rect="1"
|
|
517
555
|
:style="{
|
|
@@ -544,9 +582,10 @@ defineExpose(exportObject);
|
|
|
544
582
|
</div>
|
|
545
583
|
<div
|
|
546
584
|
v-if="
|
|
547
|
-
enableItemRenderBreak
|
|
548
|
-
placeHolderSetting
|
|
549
|
-
!item.mounted.value
|
|
585
|
+
enableItemRenderBreak
|
|
586
|
+
&& placeHolderSetting
|
|
587
|
+
&& !item.mounted.value
|
|
588
|
+
&& item.itemConfig.showSkeleton
|
|
550
589
|
"
|
|
551
590
|
:style="{
|
|
552
591
|
width: item.renderStyle.width - normalizedPlaceHolder.gap,
|