@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
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvFlexDiv: 包装成一个支持flex属性的div
|
|
10
|
+
* props说明:
|
|
11
|
+
* class: 等同于div的class设置(目前未实装,后续支持...)
|
|
12
|
+
* style: 等同于div的style,关于flex的属性支持如下:
|
|
13
|
+
* 作为container:
|
|
14
|
+
* flexDirection: row|row-reverse|column|column-reverse 默认row, 决定主轴为行还是列,正向还是反向
|
|
15
|
+
* flexWrap: nowrap|wrap 默认nowrap, 主轴方向是否换行
|
|
16
|
+
* justifyContent: flex-start|flex-end|center 默认flex-start
|
|
17
|
+
* 主轴对齐方式(与direction相关决定start为左还是右)
|
|
18
|
+
* alignItems: flex-start|flex-end|center|stretch 默认center
|
|
19
|
+
* 副轴方向单行内的对齐方式,例如主轴为行时,项目在每行中竖直方向的对齐
|
|
20
|
+
* alignContent: flex-start|flex-end|center 默认flex-start
|
|
21
|
+
* 副轴方向多行内容总体的对齐方式,例如主轴为行时,项目在每行中竖直方向的对齐
|
|
22
|
+
* 若未设置,当遇到多行场景,行为为flex-start + 剩余空间每行平均瓜分(特别适合单行填充整个副轴空间的需求)
|
|
23
|
+
* 作为item(二级container):
|
|
24
|
+
* alignSelf: auto|flex-start|flex-end|center|stretch 默认auto, 覆盖container的alignItems设置
|
|
25
|
+
* 特别注意: 这些属性会引起位置对齐问题, 所以会自动去掉: "overflow:hidden"
|
|
26
|
+
* askSize: boolean 设置会跟进flex的尺寸变化,设置后可通过getWidth/getHeight拿到尺寸,但会降低性能
|
|
27
|
+
* onSized: Function 比askSize更进一步,可以通过回调知道尺寸变化后的时机,回调参数(width, height)为flex后的尺寸
|
|
28
|
+
*
|
|
29
|
+
* expose说明:
|
|
30
|
+
* getWidth(): 当askSize或者onSize生效时,获取元素的宽度
|
|
31
|
+
* getHeight(): 当askSize或者onSize生效时,获取元素的高度
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
|
|
1
35
|
declare const _default: {
|
|
2
36
|
new (...args: any[]): {
|
|
3
37
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvScreenFlex: 包装成一个支持flex属性的div, 背景图片等同于objectFit:cover的模式
|
|
10
|
+
* props说明:
|
|
11
|
+
* style: 不能设置top/left/height/width, 这些信息自动来自屏幕的宽高
|
|
12
|
+
* 主要用于设置flex的属性,目前支持属性如下:
|
|
13
|
+
* flexDirection: row|row-reverse|column|column-reverse 默认row, 决定主轴为行还是列,正向还是反向
|
|
14
|
+
* flexWrap: nowrap|wrap 默认nowrap, 主轴方向是否换行
|
|
15
|
+
* justifyContent: flex-start|flex-end|center 默认flex-start
|
|
16
|
+
* 主轴对齐方式(与direction相关决定start为左还是右)
|
|
17
|
+
* alignItems: flex-start|flex-end|center|stretch 默认center
|
|
18
|
+
* 副轴方向单行内的对齐方式,例如主轴为行时,项目在每行中竖直方向的对齐
|
|
19
|
+
* alignContent: flex-start|flex-end|center 默认flex-start
|
|
20
|
+
* 副轴方向多行内容总体的对齐方式,例如主轴为行时,项目在每行中竖直方向的对齐
|
|
21
|
+
* 特别注意: 这些属性会引起位置对齐问题, 所以会自动去掉: "overflow:hidden"
|
|
22
|
+
* askSize: boolean 设置会跟进flex的尺寸变化,设置后可通过getWidth/getHeight拿到尺寸,但会降低性能
|
|
23
|
+
* onSized: Function 比askSize更进一步,可以通过回调知道尺寸变化后的时机,回调参数(width, height)为flex后的尺寸
|
|
24
|
+
* background: {string} (选填)背景图案 可选值: 绝对路径url|url(相对路径url)|#FFFFFF|rbga(255,0,0,1.0)
|
|
25
|
+
*
|
|
26
|
+
* expose说明:
|
|
27
|
+
* getWidth(): 当askSize或者onSize生效时,获取元素的宽度
|
|
28
|
+
* getHeight(): 当askSize或者onSize生效时,获取元素的高度
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
declare const _default: {
|
|
33
|
+
new (...args: any[]): {
|
|
34
|
+
$: import("vue").ComponentInternalInstance;
|
|
35
|
+
$data: {};
|
|
36
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
37
|
+
$attrs: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
$refs: {
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
};
|
|
43
|
+
$slots: Readonly<{
|
|
44
|
+
[name: string]: import("vue").Slot | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
47
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
48
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
49
|
+
$el: any;
|
|
50
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
51
|
+
getWidth: () => any;
|
|
52
|
+
getHeight: () => any;
|
|
53
|
+
$props: {
|
|
54
|
+
readonly background?: string | undefined;
|
|
55
|
+
readonly askSize?: boolean | undefined;
|
|
56
|
+
readonly onSized?: Function | undefined;
|
|
57
|
+
readonly style?: Record<string, any> | undefined;
|
|
58
|
+
};
|
|
59
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
60
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
73
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
74
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
75
|
+
};
|
|
76
|
+
$forceUpdate: () => void;
|
|
77
|
+
$nextTick: typeof import("vue").nextTick;
|
|
78
|
+
$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;
|
|
79
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
80
|
+
getWidth: () => any;
|
|
81
|
+
getHeight: () => any;
|
|
82
|
+
$props: {
|
|
83
|
+
readonly background?: string | undefined;
|
|
84
|
+
readonly askSize?: boolean | undefined;
|
|
85
|
+
readonly onSized?: Function | undefined;
|
|
86
|
+
readonly style?: Record<string, any> | undefined;
|
|
87
|
+
};
|
|
88
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
89
|
+
__isFragment?: undefined;
|
|
90
|
+
__isTeleport?: undefined;
|
|
91
|
+
__isSuspense?: undefined;
|
|
92
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
93
|
+
getWidth: () => any;
|
|
94
|
+
getHeight: () => any;
|
|
95
|
+
$props: {
|
|
96
|
+
readonly background?: string | undefined;
|
|
97
|
+
readonly askSize?: boolean | undefined;
|
|
98
|
+
readonly onSized?: Function | undefined;
|
|
99
|
+
readonly style?: Record<string, any> | undefined;
|
|
100
|
+
};
|
|
101
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
102
|
+
$slots: {
|
|
103
|
+
default: (_: {}) => any;
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
export default _default;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFlexCell/index.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export { default as JsvFlexDiv } from "./JsvFlexDiv.vue";
|
|
6
|
+
export { default as JsvScreenFlex } from "./JsvScreenFlex.vue";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
6
|
+
startAnim: () => void;
|
|
7
|
+
stopAnim: () => void;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly style?: Record<string, any> | undefined;
|
|
10
|
+
readonly duration?: number | undefined;
|
|
11
|
+
readonly autoplay?: boolean | undefined;
|
|
12
|
+
readonly shaderStr?: string | undefined;
|
|
13
|
+
readonly onEnd?: Function | undefined;
|
|
14
|
+
readonly onStart?: Function | undefined;
|
|
15
|
+
readonly uniforms?: unknown[] | undefined;
|
|
16
|
+
readonly textures?: unknown[] | undefined;
|
|
17
|
+
};
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* [模块 export 内容]
|
|
9
|
+
* JsvFragShaderView:自定义Fragment shader的组件
|
|
10
|
+
* props说明:
|
|
11
|
+
* @prop {Object} style (必填)left, top, width, height
|
|
12
|
+
* @prop {String} shaderStr (必填)shader的函数体
|
|
13
|
+
* @prop {int} duration 动画时长
|
|
14
|
+
* @prop {boolean} autoplay 自动播放
|
|
15
|
+
* @prop {Array} uniforms uniform参数, [{ name: string, value: number }]
|
|
16
|
+
* @prop {Array} textures texture参数, [{ name: string, resource: string }]
|
|
17
|
+
* @prop {() => void} onStart 动画开始回调
|
|
18
|
+
* @prop {(int,boolean) => void} onEnd
|
|
19
|
+
* 动画结束回调,
|
|
20
|
+
* 返回值1号 int: 回到参数为动画的序列号,和startAnim的返回值匹配
|
|
21
|
+
* 返回值2号 boolean: true: 动画正常结束,false:动画因为cancel而结束
|
|
22
|
+
* methods:
|
|
23
|
+
* @method startAnim
|
|
24
|
+
* @description 开始动画
|
|
25
|
+
* @param {int} duration: 动画时长, 默认为props.duration
|
|
26
|
+
* @param {()=>void} onTimeout: 如果到达duration的时长,动画因为资源问题还没开始动画的时会回调此函数
|
|
27
|
+
* @return {int} 所开动画的序列号,用于和onEnd收到的值匹配
|
|
28
|
+
* @method stopAnim
|
|
29
|
+
* @description 停止动画
|
|
30
|
+
* shader函数体说明:
|
|
31
|
+
* 参考网站: https://www.shadertoy.com
|
|
32
|
+
* 主函数:
|
|
33
|
+
* void mainImage( out vec4 fragColor, in vec2 fragCoord )
|
|
34
|
+
* @params {vec4} fragColor: 输出的片元颜色
|
|
35
|
+
* @params {vec2} fragCoord: 片元坐标, 左下角为原点, 往右为x正, 往上为y正
|
|
36
|
+
* 可用的uniform:
|
|
37
|
+
* iResolution: {vec3} view的大小, vec3(width, height, 0)
|
|
38
|
+
* iTime: {float} 动画时间
|
|
39
|
+
* iDuration: {float} 动画总时间
|
|
40
|
+
* 注意事项:
|
|
41
|
+
* * 盒子端使用OpenGL ES 2.0版本, 而网站 https://www.shadertoy.com 上使用WebGL, glsl支持的函数和操作符有区别.
|
|
42
|
+
* * 由于坐标系的差异, texture()采样函数需要替换为jsvTexture2D()
|
|
43
|
+
* * 盒子端的精度有限, 可能会出现精度导致的计算错误
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
47
|
+
startAnim: (alt_duration: any, on_timeout_func: any) => number;
|
|
48
|
+
stopAnim: () => void;
|
|
49
|
+
$props: {
|
|
50
|
+
readonly style?: Record<string, any> | undefined;
|
|
51
|
+
readonly duration?: number | undefined;
|
|
52
|
+
readonly autoplay?: boolean | undefined;
|
|
53
|
+
readonly shaderStr?: string | undefined;
|
|
54
|
+
readonly onEnd?: Function | undefined;
|
|
55
|
+
readonly onStart?: Function | undefined;
|
|
56
|
+
readonly uniforms?: unknown[] | undefined;
|
|
57
|
+
readonly textures?: unknown[] | undefined;
|
|
58
|
+
};
|
|
59
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
60
|
+
export default _default;
|
|
@@ -1,33 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import ConditionPackBuilder from "./SetCondition";
|
|
2
6
|
import ActionPackBuilder from "./SetAction";
|
|
3
7
|
import StatePackBuilder from "./SetState";
|
|
8
|
+
import CallbackManager from "./CallbackManager";
|
|
4
9
|
import { NexusNode } from "./NexusNode";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private _SelfNexusRecv;
|
|
10
|
-
private _SizeMode;
|
|
10
|
+
interface CmdListCreator {
|
|
11
|
+
(builders: BuilderFactory): Array<Object>;
|
|
12
|
+
}
|
|
13
|
+
declare class BuilderFactory {
|
|
11
14
|
private _SharedQuickConditionPackBuilder;
|
|
12
15
|
private _SharedQuickActionPackBuilder;
|
|
13
16
|
private _StatePackBuilder;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
* run 执行编排好的intent集合
|
|
19
|
-
*
|
|
20
|
-
* @param {Array} cmdPackList 内容来自 Condition(), State(), Action() 这些工厂类创建的Command pack
|
|
21
|
-
*/
|
|
22
|
-
run(cmdPackList: Array<Object>): void;
|
|
23
|
-
_WrappedRun(cmdPackList: Array<Object>): void;
|
|
17
|
+
private _Callbacks;
|
|
18
|
+
private _SelfNexusRecv;
|
|
19
|
+
private _OwnerControl;
|
|
20
|
+
constructor(owner: ActorControl, callbackManager: CallbackManager, selfNexusRecv: NexusNode);
|
|
24
21
|
/**
|
|
25
22
|
* Condition
|
|
26
23
|
* 获取创建 ConditionPack 的工厂对象
|
|
27
24
|
* ConditionPack对应支持 .then(cmdPackList), 可传入同 Run 的处理队列
|
|
28
25
|
* 可用方法见 ./SetCondition.js
|
|
29
26
|
* @param {int} group 可选参数,默认为0, 有效值为0~3, 对应默认组, 1组, 2组, 3组, 便于remove时,按组进行清理
|
|
30
|
-
* @param {boolean} multiTimes 可选参数,默认为false, 是否要多次执行,
|
|
27
|
+
* @param {boolean} multiTimes 可选参数,默认为false, 是否要多次执行,
|
|
28
|
+
* 若为单次, 当group未设定时自动作废,当group设定时,不作废但改为deactive状态
|
|
31
29
|
* @param {string} specName 可选参数,默认null, 命名condition, 用于指定名字进行active/deactive动作的场景
|
|
32
30
|
* @param {boolean} shoudRenderBreak 可选参数,默认false, 关联的回调是否会发起RenderBreak
|
|
33
31
|
* @return {ConditionPackBuilder} ConditionPack 的工厂对象
|
|
@@ -57,8 +55,40 @@ declare class ActorControl {
|
|
|
57
55
|
* @return {StatePackBuilder} StatePack 的工厂对象
|
|
58
56
|
*/
|
|
59
57
|
state(): StatePackBuilder;
|
|
58
|
+
}
|
|
59
|
+
declare class ActorControl {
|
|
60
|
+
private _BindView;
|
|
61
|
+
private _BindAnim;
|
|
62
|
+
private _Callbacks;
|
|
63
|
+
private _SelfNexusRecv;
|
|
64
|
+
private _SizeMode;
|
|
65
|
+
private _CondCycleStartList;
|
|
66
|
+
private _CondCycleEndList;
|
|
67
|
+
private _Builders;
|
|
68
|
+
constructor();
|
|
69
|
+
asSizeMode(): void;
|
|
70
|
+
bindForgeView(bindView: any, instantActive: boolean): void;
|
|
71
|
+
/**
|
|
72
|
+
* run 执行编排好的intent集合
|
|
73
|
+
*
|
|
74
|
+
* @param {CmdListCreator} commandsCreator
|
|
75
|
+
* 命令指令队列创建回调
|
|
76
|
+
* 此回调返回值为一个数组,数组内容内容来自 Condition(), State(), Action()
|
|
77
|
+
* 这些工厂类创建的Command pack
|
|
78
|
+
*/
|
|
79
|
+
run(commandsCreator: CmdListCreator | undefined): void;
|
|
80
|
+
_WrappedRun(cmdPackList: Array<Object>): void;
|
|
60
81
|
getBindedAnim(): any;
|
|
61
82
|
getBindedView(): any;
|
|
83
|
+
/**
|
|
84
|
+
* addCondCycleListener
|
|
85
|
+
* 追加 cond cycle listener,可以根据start和end来进行callback时序排序
|
|
86
|
+
*
|
|
87
|
+
* @param {Function} startCycleCallback 开始执行一帧的js回调(condition的callback)
|
|
88
|
+
* @param {Function} endCycleCallback 执行一帧的js回调完毕
|
|
89
|
+
*/
|
|
90
|
+
addCondCycleListener(startCycleCallback: Function, endCycleCallback: Function): void;
|
|
91
|
+
removeCondCycleListener(startCycleCallback: Function, endCycleCallback: Function): void;
|
|
62
92
|
_OnEchoEvent(retJson: string): void;
|
|
63
93
|
_EnsureAnim(): void;
|
|
64
94
|
}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvFreeMoveActor/JsvFreeMoveDiv:
|
|
10
|
+
* 帧动画控制组件,通过control
|
|
11
|
+
* .action() 单一运动指令,新指令发生时会冲掉旧指令
|
|
12
|
+
* .condition() 条件设置,有时间维度,X/Y维度
|
|
13
|
+
* .state() 状态调整指令
|
|
14
|
+
*
|
|
15
|
+
* props说明:
|
|
16
|
+
* class: String, 等同于div的class设置(目前未实装,后续支持...)
|
|
17
|
+
* style: Object, 等同于div的style设置
|
|
18
|
+
* 特别注意: 在sizeMode模式下,非hidden,控制的是background/image的展示区域,
|
|
19
|
+
* overflow:hidden时,控制的是剪切区域,展示区域保持最初的width/height
|
|
20
|
+
* sizeMode: Boolean, 从控制div左上角坐标的模式改为改为通过div矩形宽高
|
|
21
|
+
* (指令控制右下角坐标,实现对[0,0]->[右下角x,y]的矩形的宽高调整,另外,不支持负坐标)
|
|
22
|
+
* expose说明:
|
|
23
|
+
* control: Object 控制器句柄,具体参考 ActorControl
|
|
24
|
+
*/
|
|
25
|
+
|
|
1
26
|
declare const _default: {
|
|
2
27
|
new (...args: any[]): {
|
|
3
28
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvEnvBlocker: 触发FreeMoveAnimation的 blockerCondition 的全屏碰撞体
|
|
10
|
+
* 与FreeMoveAnimation的 setCondition.onHitBlock 配合使用
|
|
11
|
+
* props说明:
|
|
12
|
+
* top, left, width, height(Number): 关联的div的定位信息
|
|
13
|
+
* topGID(Number): 上边缘响应监听的组id(用于blockerCondition的组参数), 0或者undefined代表不激活这条边的测试
|
|
14
|
+
* bottomGID(Number): 下边缘响应监听的组id
|
|
15
|
+
* leftGID(Number): 左边缘响应监听的组id
|
|
16
|
+
* rightGID(Number): 右边缘响应监听的组id
|
|
17
|
+
*
|
|
18
|
+
* 特别说明 GID 是全局共享的,例如多个EnvBlocker都有GID=2设置的边时,某个FreeMove实例设置setCondition.onHitBlock(2),
|
|
19
|
+
* 意味着此FreeMoveAnimation碰撞任何一个EnvBlocker的GID=2的边都会触发回调
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
declare const _default: {
|
|
2
24
|
new (...args: any[]): {
|
|
3
25
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import CallbackManager from "./CallbackManager";
|
|
2
6
|
import { NexusNode } from "./NexusNode";
|
|
3
7
|
declare class ActorPackBuilder {
|
|
@@ -54,16 +58,16 @@ declare class ActorPackBuilder {
|
|
|
54
58
|
* 只能放在 movementSync 的then中,用于将Sync同步信息按比例转化成
|
|
55
59
|
* (注意): 如果触发链条上有自己发出的信息,则将不再产生动作,规避循环触发
|
|
56
60
|
*
|
|
57
|
-
* @param {int}
|
|
58
|
-
* @param {int}
|
|
59
|
-
* @param {int}
|
|
60
|
-
* @param {int}
|
|
61
|
+
* @param {int} horizontalStart 横向运动识别区域的0%对应位置, 可以为负
|
|
62
|
+
* @param {int} horizontalEnd 横向运动识别区域的100%对应位置, 可以为负,可以小于start
|
|
63
|
+
* @param {int} verticalStart 纵向运动识别区域的0%对应位置, 可以为负
|
|
64
|
+
* @param {int} verticalEnd 纵向运动识别区域的100%对应位置, 可以为负,可以小于end
|
|
61
65
|
* @param {int} xyEnable x,y是否都触发, 0b01对应x, 0b10对应y, 可以或运算在一起
|
|
62
66
|
* @param {int} syncType 换算公式:
|
|
63
67
|
* 1: 正比公式:selfPercent = givenPercent
|
|
64
68
|
* 2: 反比公式:selfPercent = (1 - givenPercent)
|
|
65
69
|
*/
|
|
66
|
-
ackMovementSync(
|
|
70
|
+
ackMovementSync(horizontalStart: number, horizontalEnd: number, verticalStart: number, verticalEnd: number, xyEnable: number, syncType: number): any;
|
|
67
71
|
_BuildAccelOnPole(builderThis: ActorPackBuilder, cmdList: Array<Object>, nexusRecv: NexusNode | null, onRevertX: Function | null, onRevertY: Function | null): void;
|
|
68
72
|
_BasicPreProcess(procName: string): boolean;
|
|
69
73
|
private _TeleportToInner;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import CallbackManager from "./CallbackManager";
|
|
2
6
|
import { NexusNode } from "./NexusNode";
|
|
3
7
|
type UNumber = undefined | number;
|
|
@@ -7,7 +11,8 @@ declare class ConditionPackBuilder {
|
|
|
7
11
|
private _CommonInfo;
|
|
8
12
|
private _CommonInfoValid;
|
|
9
13
|
private _ContorlSlefNexus;
|
|
10
|
-
|
|
14
|
+
private _BuildersFactory;
|
|
15
|
+
constructor(callbackManager: CallbackManager, selfNexus: NexusNode, buildersFactory: any);
|
|
11
16
|
isInUsing(): boolean;
|
|
12
17
|
updateCommandInfo(group: number, multiTimes: boolean, specName: string | null, shoudRenderBreak: boolean): void;
|
|
13
18
|
/**
|
|
@@ -47,7 +52,7 @@ declare class ConditionPackBuilder {
|
|
|
47
52
|
* @param {NexusNode} nexusRecv 由 FreeMoveFunc.newNexus() 创建, 作为通讯句柄,类似电话号,被fireNexusEvent调用
|
|
48
53
|
* @param {number} detailEventType 监听的事件类型, 类比与分机号,和fireNexusEvent发出的id约定, 自定义内容要求1000以上
|
|
49
54
|
*/
|
|
50
|
-
onNexusEvent(nexusRecv: NexusNode, detailEventType: number):
|
|
55
|
+
onNexusEvent(nexusRecv: NexusNode, detailEventType: number): any;
|
|
51
56
|
/**
|
|
52
57
|
* OnHitBlock
|
|
53
58
|
* 监听Actor关联的LayoutView与blocker碰撞的状态
|
|
@@ -59,6 +64,7 @@ declare class ConditionPackBuilder {
|
|
|
59
64
|
/**
|
|
60
65
|
* onNextTick
|
|
61
66
|
* 用于对一些Condition激活进行延迟,例如teleportTo处理后延迟激活 OnHitBlock 动作,规避teleportTo处理直接触发OnHitBlocker
|
|
67
|
+
* 特别场景: onNextTick(0) 可用于充当前帧命令执行完毕的回调,相当于为命令执行完毕做一个callback
|
|
62
68
|
*
|
|
63
69
|
*/
|
|
64
70
|
onNextTick(tickGap?: number): any;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import { NexusNode } from "./NexusNode";
|
|
2
6
|
import ActorControl from "./ActorControl";
|
|
3
7
|
declare class StatePackBuilder {
|
|
@@ -43,20 +47,20 @@ declare class StatePackBuilder {
|
|
|
43
47
|
*
|
|
44
48
|
* 发出进度同步信号(可以一个FreeMove绑定多个信号发生器,但目前场景估计只需要一个发生器即可)
|
|
45
49
|
* 计算当前freeMove的postion和运动识别区域的比值
|
|
46
|
-
* xPercent = (xPos -
|
|
47
|
-
* yPercent = (yPos -
|
|
50
|
+
* xPercent = (xPos - horizontalStart) / (horizontalEnd - horizontalStart)
|
|
51
|
+
* yPercent = (yPos - verticalStart) / (verticalEnd - verticalStart)
|
|
48
52
|
* x和y可以为负数,也可能>100%
|
|
49
53
|
*
|
|
50
54
|
* 当多次调用时,nexusRef相同时,则为更新运动识别区域,nexusRef不同时则为新建信号发起器
|
|
51
55
|
*
|
|
52
56
|
* @param {NexusNode} nexusRef 绑定的nexus句柄,接受者用这个句柄来进行监听
|
|
53
|
-
* @param {int}
|
|
54
|
-
* @param {int}
|
|
55
|
-
* @param {int}
|
|
56
|
-
* @param {int}
|
|
57
|
+
* @param {int} horizontalStart 横向运动识别区域的0%对应位置, 可以为负
|
|
58
|
+
* @param {int} horizontalEnd 横向运动识别区域的100%对应位置, 可以为负,可以小于start
|
|
59
|
+
* @param {int} verticalStart 纵向运动识别区域的0%对应位置, 可以为负
|
|
60
|
+
* @param {int} verticalEnd 纵向运动识别区域的100%对应位置, 可以为负,可以小于end
|
|
57
61
|
* @param {int} xyEnable x,y是否都触发, 0b01对应x, 0b10对应y, 可以或运算在一起
|
|
58
62
|
*/
|
|
59
|
-
startMovementSync(nexusRef: NexusNode,
|
|
63
|
+
startMovementSync(nexusRef: NexusNode, horizontalStart: number, horizontalEnd: number, verticalStart: number, verticalEnd: number, xyEnable: number): any;
|
|
60
64
|
stopMovementSync(): any;
|
|
61
65
|
}
|
|
62
66
|
export default StatePackBuilder;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { NexusNode } from "./NexusNode";
|
|
6
|
+
declare class SyncLinkSource {
|
|
7
|
+
nexusNode: NexusNode;
|
|
8
|
+
linkName: String;
|
|
9
|
+
constructor(name: string, node: NexusNode);
|
|
10
|
+
}
|
|
11
|
+
declare class SyncLinkManager {
|
|
12
|
+
private pendingPromiseList;
|
|
13
|
+
private syncSourceMap;
|
|
14
|
+
constructor();
|
|
15
|
+
SourceOnMounted(syncSource: SyncLinkSource | null): void;
|
|
16
|
+
SourceOnUnmounted(linkName: String): void;
|
|
17
|
+
WaitSourceMounted(name: String): Promise<void>;
|
|
18
|
+
UnListen(waitPromise: Promise<void>): void;
|
|
19
|
+
GetSourceNexusNode(linkName: String): NexusNode | null;
|
|
20
|
+
}
|
|
21
|
+
declare function GetSyncLinkManager(): SyncLinkManager;
|
|
22
|
+
export { GetSyncLinkManager, SyncLinkSource };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/index.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import JsvFreeMoveActor from "./FreeMoveActor.vue";
|
|
2
6
|
import JsvEnvBlocker from "./JsvEnvBlocker.vue";
|
|
3
7
|
export namespace FreeMoveDef {
|
|
@@ -7,6 +11,8 @@ export namespace FreeMoveDef {
|
|
|
7
11
|
export namespace FreeMoveFunc {
|
|
8
12
|
export { newNexus };
|
|
9
13
|
export { ActControlDebug };
|
|
14
|
+
export { GetSyncLinkManager };
|
|
15
|
+
export { SyncLinkSource };
|
|
10
16
|
}
|
|
11
17
|
import { newNexus } from "./NexusNode";
|
|
12
18
|
export { JsvFreeMoveActor, JsvFreeMoveActor as JsvFreeMoveDiv, JsvEnvBlocker };
|
|
@@ -1,3 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvGrid.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【界面概述】
|
|
9
|
+
* 表格式布局控件, 页面滚动时无动画. 一般用于对页面刷新速度有要求的场景
|
|
10
|
+
*
|
|
11
|
+
* 【控件介绍】
|
|
12
|
+
* JsvGrid:
|
|
13
|
+
* props:
|
|
14
|
+
* left {int} 控件的left
|
|
15
|
+
* top {int} 控件的top
|
|
16
|
+
* name {String} (必选)控件的焦点Id
|
|
17
|
+
* provideData {function} (必选)提供数据的接口, 数据中每个item均会包装成reactive对象,出于优化性能考虑, 请简化item中的属性
|
|
18
|
+
* row {int} (必选)布局的行数
|
|
19
|
+
* column {int} (必选)布局的列数
|
|
20
|
+
* itemSize {Object} 格子的大小 {width: 0, height: 0}
|
|
21
|
+
* updateType {UpdateType} 滚动的类型, 目前有两种PageType(整页), LineType(逐行)
|
|
22
|
+
* initFocusId {int} 初始的焦点
|
|
23
|
+
* gapInfo {Object} 格子间隔设置 {row: 行间距, colum: 列间距}
|
|
24
|
+
* verticalUpdate {boolean} 是否纵向滚动
|
|
25
|
+
* columnFirst {boolean} 单页是否列优先排布
|
|
26
|
+
* loopUpdate {boolean} 焦点移动到边界时循环滚动
|
|
27
|
+
* onEdge {function} 焦点移动到边缘时的回调
|
|
28
|
+
* @params {object} edgeInfo {
|
|
29
|
+
"direction": {EdgeDirection}边缘方向,
|
|
30
|
+
"rect": 到达边缘时的区域{x: 0, y: 0, width: 0,height: 0}
|
|
31
|
+
}
|
|
32
|
+
* focusMoveType {int} 焦点移动的模式, 可通过 | 运算进行组合
|
|
33
|
+
NO_ADJUST: 无特殊处理
|
|
34
|
+
COLUMN_LOOP: 到达列首/尾后跳转到上/下一列, 只在水平滚动时生效
|
|
35
|
+
ROW_LOOP: 到达行首/尾后跳转到上/下一行, 只在竖直滚动时生效
|
|
36
|
+
COLUMN_FIND_NEAR: 一列中没有下一个元素时是否跳转到相邻列
|
|
37
|
+
ROW_FIND_NEAR: 一行中没有下一个元素时是否跳转到相邻行
|
|
38
|
+
* methods:
|
|
39
|
+
getFocusBlockRef
|
|
40
|
+
@description 获取focusBlock的引用
|
|
41
|
+
@return {boolean} focusBlock的引用
|
|
42
|
+
setFocusId
|
|
43
|
+
@description 设置焦点id
|
|
44
|
+
@params {int} id 焦点id
|
|
45
|
+
refreshData
|
|
46
|
+
@description 刷新数据
|
|
47
|
+
* 【技巧说明】
|
|
48
|
+
* Q: 插槽props如何使用?
|
|
49
|
+
* A: userData: 通过provideData返回的数据会包装成reactive对象后给插槽内的item
|
|
50
|
+
* widgetData: 控件内部的关于item的属性
|
|
51
|
+
{
|
|
52
|
+
dataIndex: {int} 当前格子数据的index,
|
|
53
|
+
gridIndex: {int} 当前格子的index,
|
|
54
|
+
selected: {boolean} 格子是否选中
|
|
55
|
+
getCurrentFocusId: {function} 获取widget的当前焦点的dataIndex
|
|
56
|
+
gridCoord: {{row: 0, column: 0}} 获取当前格子的行列坐标
|
|
57
|
+
}
|
|
58
|
+
* onAction: 单元格内控件需要通过onAction.register方法注册 item 的回调,回调函数有
|
|
59
|
+
onFocus, onBlur, onClick
|
|
60
|
+
*
|
|
61
|
+
* Q: 单元格的普通状态,焦点状态,失焦状态如何渲染?
|
|
62
|
+
* A: 在单元的空间中通过往onAction注册的onFocus,onBlur控制显示
|
|
63
|
+
*
|
|
64
|
+
* Q: 控件中的导航处理(上下左右,OK键)需要什么响应的开发?
|
|
65
|
+
* A: 上下左右键已经由控件接管,不需要开发者而外处理,上下左右键会触发翻页时间
|
|
66
|
+
*
|
|
67
|
+
* Q: 焦点怎么移出控件?
|
|
68
|
+
* A: 当焦点移动到控件边缘时,会调用onEdge回调。在回调中通过参数传递的值来决定焦点转移的行为
|
|
69
|
+
*
|
|
70
|
+
* Q: item内是可获焦的元素时该如何处理?
|
|
71
|
+
* A: 焦点处理: item内的元素需要在注册的onFocus中管理焦点. 子组件通过onKeyDown处理按键, 未处理的方向键会冒泡给JsvGrid, 从而触发格子间焦点的变换
|
|
72
|
+
*/
|
|
73
|
+
|
|
1
74
|
declare const _default: import("vue").DefineComponent<{
|
|
2
75
|
left: {
|
|
3
76
|
type: NumberConstructor;
|