@shijiu/jsview-vue 2.2.201 → 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 +2 -13
- package/bin/browser/BrowserApic2.vue.mjs +2 -13
- package/bin/browser/BrowserApicLib.mjs +24 -24
- package/bin/browser/BrowserAudio.vue.mjs +2 -10
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +21 -5
- 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 +3216 -2086
- 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 +15 -2
- package/bin/types/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +14 -3
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +280 -3
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +7 -1
- package/bin/types/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +4 -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 +4 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +4 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +4 -0
- 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 +5 -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 +4 -0
- 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 +4 -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 +4 -0
- package/bin/types/JsViewVueTools/JsvPreDownloader.d.ts +24 -2
- 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 +30 -4
- 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 +7 -0
- 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 +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +27 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +28 -0
- 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 +4 -0
- 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 +4 -0
- package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +4 -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 +4 -0
- package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +4 -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 +6 -0
- package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +48 -1
- package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +4 -0
- 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 +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +4 -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 +30 -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 +4 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +4 -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 +6 -0
- package/bin/types/index.d.ts +4 -0
- package/index.d.ts +8 -0
- package/package.json +1 -1
- 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.ts +22 -3
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +3 -1
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +12 -5
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +208 -84
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +15 -9
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +2 -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/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 +2 -1
- 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 +7 -3
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +1 -0
- package/utils/JsViewVueTools/TextureManagerTools.ts +17 -0
- package/utils/JsViewVueTools/index.js +3 -0
- package/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue +2 -0
- package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +10 -2
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +12 -1
- package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +4 -2
- package/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue +2 -0
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +219 -0
- package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +11 -9
- 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 +39 -12
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +210 -62
- package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +9 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +2 -0
- 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 +5 -0
- 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 +9 -0
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +9 -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 +2 -0
- package/utils/JsViewVueTools/JsvTextTools.js +0 -89
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvConnectLine:Vue高阶组件,由JsvLine组件变化而来,用于连接两个区域的线条。
|
|
10
|
+
* props说明(注意:全部属性非响应式, 需要变更时用 key 来触发重绘):
|
|
11
|
+
* startPos {Object} (必填) 起始位置,属性:x,y
|
|
12
|
+
* endPos {Object} (必填) 结束位置, 属性:x,y
|
|
13
|
+
* lineWidth {Number} (必填) 线条的粗细程度
|
|
14
|
+
* backgroundColor {String} 背景颜色,默认值:白色#FFFFFF
|
|
15
|
+
* radius {Number} 圆角半径,若半径超过起点终点距离的一半,则没有曲线为直线。
|
|
16
|
+
* isVertical {Boolean} (必填) true为y轴拐点,false为x轴拐点
|
|
17
|
+
* percent {Number} (必填) 承接isVertical,百分比拐点。
|
|
18
|
+
* RoundSet {Object} 圆角配置对象,可选开始拐点和结束拐点,false代表不配置,true代表配置。属性值:start,end
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
|
|
1
22
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
23
|
$props: {
|
|
3
24
|
readonly isVertical?: boolean | undefined;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvDragBox:在一定限制区域内拖动的容器
|
|
10
|
+
* props说明:
|
|
11
|
+
* boxRect {Object} (必填) 限制区域 { left?: number, top?: number, width: number, height: number }
|
|
12
|
+
* dragRect {Object} (必填) 拖拽区域 { left?: number, top?: number, width: number, height: number }
|
|
13
|
+
* expose函数说明:
|
|
14
|
+
* 定义: type CBK = ({left: number, top: number}) => void;
|
|
15
|
+
* setSensor {(callback: CBK, sensitivity: number) => void}
|
|
16
|
+
* 设置运动后触发的回调, sensitivity为回调敏感度, 每移动多少像素进行回调,适当放大(推荐10以上)可以极大减小对js回调过多引起的性能降低
|
|
17
|
+
* setTouchCallback { (onDragStart: CBK, onDragRelease: CBK) => void }
|
|
18
|
+
* 设置触控开始和结束回调
|
|
19
|
+
* moveTo { (left: number, top: number) => void },
|
|
20
|
+
* 将拖拽块移动到指定位置
|
|
21
|
+
* getPosition { () => {left: number, top: number} }
|
|
22
|
+
* 获取当前拖拽块的位置
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
declare const _default: {
|
|
27
|
+
new (...args: any[]): {
|
|
28
|
+
$: import("vue").ComponentInternalInstance;
|
|
29
|
+
$data: {};
|
|
30
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
41
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
43
|
+
$el: any;
|
|
44
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
45
|
+
setSensor: (callback: any, sensitivity: any) => void;
|
|
46
|
+
setTouchCallback: (onDragStart: any, onDragEnd: any) => void;
|
|
47
|
+
moveTo: (left: any, top: any) => void;
|
|
48
|
+
getPosition: () => {
|
|
49
|
+
left: number;
|
|
50
|
+
top: number;
|
|
51
|
+
};
|
|
52
|
+
$props: {
|
|
53
|
+
readonly boxRect?: Record<string, any> | undefined;
|
|
54
|
+
readonly dragRect?: Record<string, any> | undefined;
|
|
55
|
+
};
|
|
56
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
57
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
70
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
71
|
+
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;
|
|
72
|
+
};
|
|
73
|
+
$forceUpdate: () => void;
|
|
74
|
+
$nextTick: typeof import("vue").nextTick;
|
|
75
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
76
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
77
|
+
setSensor: (callback: any, sensitivity: any) => void;
|
|
78
|
+
setTouchCallback: (onDragStart: any, onDragEnd: any) => void;
|
|
79
|
+
moveTo: (left: any, top: any) => void;
|
|
80
|
+
getPosition: () => {
|
|
81
|
+
left: number;
|
|
82
|
+
top: number;
|
|
83
|
+
};
|
|
84
|
+
$props: {
|
|
85
|
+
readonly boxRect?: Record<string, any> | undefined;
|
|
86
|
+
readonly dragRect?: 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
|
+
setSensor: (callback: any, sensitivity: any) => void;
|
|
94
|
+
setTouchCallback: (onDragStart: any, onDragEnd: any) => void;
|
|
95
|
+
moveTo: (left: any, top: any) => void;
|
|
96
|
+
getPosition: () => {
|
|
97
|
+
left: number;
|
|
98
|
+
top: number;
|
|
99
|
+
};
|
|
100
|
+
$props: {
|
|
101
|
+
readonly boxRect?: Record<string, any> | undefined;
|
|
102
|
+
readonly dragRect?: Record<string, any> | undefined;
|
|
103
|
+
};
|
|
104
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
105
|
+
$slots: {
|
|
106
|
+
default: (_: {}) => any;
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
export default _default;
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvFilterView.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvFilterView:黑白滤镜组件
|
|
10
|
+
* props说明:
|
|
11
|
+
* width {int} 宽
|
|
12
|
+
* height {int} 高
|
|
13
|
+
* left {int} left位置
|
|
14
|
+
* top {int} top位置
|
|
15
|
+
* filterType {String} 滤镜设置:
|
|
16
|
+
* null: 无滤镜
|
|
17
|
+
* "gray-down": 黑白滤镜(公祭日滤镜)
|
|
18
|
+
*/
|
|
19
|
+
|
|
1
20
|
declare const _default: {
|
|
2
21
|
new (...args: any[]): {
|
|
3
22
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -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";
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
6
|
startAnim: () => void;
|
|
3
7
|
stopAnim: () => void;
|
|
@@ -6,6 +10,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
6
10
|
readonly duration?: number | undefined;
|
|
7
11
|
readonly autoplay?: boolean | undefined;
|
|
8
12
|
readonly shaderStr?: string | undefined;
|
|
13
|
+
readonly onEnd?: Function | undefined;
|
|
14
|
+
readonly onStart?: Function | undefined;
|
|
9
15
|
readonly uniforms?: unknown[] | undefined;
|
|
10
16
|
readonly textures?: unknown[] | undefined;
|
|
11
17
|
};
|
|
@@ -1,11 +1,58 @@
|
|
|
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
|
+
|
|
1
46
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
startAnim: (
|
|
47
|
+
startAnim: (alt_duration: any, on_timeout_func: any) => number;
|
|
3
48
|
stopAnim: () => void;
|
|
4
49
|
$props: {
|
|
5
50
|
readonly style?: Record<string, any> | undefined;
|
|
6
51
|
readonly duration?: number | undefined;
|
|
7
52
|
readonly autoplay?: boolean | undefined;
|
|
8
53
|
readonly shaderStr?: string | undefined;
|
|
54
|
+
readonly onEnd?: Function | undefined;
|
|
55
|
+
readonly onStart?: Function | undefined;
|
|
9
56
|
readonly uniforms?: unknown[] | undefined;
|
|
10
57
|
readonly textures?: unknown[] | undefined;
|
|
11
58
|
};
|
|
@@ -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,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;
|