@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,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* [界面概述]
|
|
9
|
+
* 思维导图控件
|
|
10
|
+
*
|
|
11
|
+
* [控件介绍]
|
|
12
|
+
* JsvMindMap:
|
|
13
|
+
* props:
|
|
14
|
+
* name: {string} 焦点name
|
|
15
|
+
* provideData: {function} 提供数据的函数
|
|
16
|
+
* width: {number} 组件宽
|
|
17
|
+
* height: {number} 组件高
|
|
18
|
+
* formatNode: {function} 接受数据, 返回标准格式节点信息的函数
|
|
19
|
+
* {
|
|
20
|
+
* left: number, left(必需)
|
|
21
|
+
* top: number, top(必需)
|
|
22
|
+
* width: number, width(必需)
|
|
23
|
+
* height: number, height(必需)
|
|
24
|
+
* id: string, 节点的唯一id(必需)
|
|
25
|
+
* childrenList: Array<any>, 子数据列表
|
|
26
|
+
* moveType: "star" | "layer" | "inherit", 节点布局类型(可选)
|
|
27
|
+
* lineStyle: object 此节点线的style
|
|
28
|
+
* {
|
|
29
|
+
* lineWidth: number, 线宽
|
|
30
|
+
* backgroundColor: string, 线的颜色(与backgroundImage互斥)
|
|
31
|
+
* backgroundImage: string, 线的图片(与backgroundColor互斥)
|
|
32
|
+
* borderRadius: string | number, 线的圆角设置
|
|
33
|
+
* }
|
|
34
|
+
* enableTap: boolean, 是否支持点击
|
|
35
|
+
* }
|
|
36
|
+
* left: {number} 组件left
|
|
37
|
+
* top: {number} 组件top
|
|
38
|
+
* slideAnim: {object} 滚动动画设置, { duration: number, easing?: string }, duration为毫秒
|
|
39
|
+
* onEdge: {function} 到达边缘回调
|
|
40
|
+
* focusRectPadding: {number} 焦点区域内边距
|
|
41
|
+
* renderRectMargin: {number} 描画区域外边距
|
|
42
|
+
* methods:
|
|
43
|
+
* getCurFocusNode
|
|
44
|
+
* @description 获取当前焦点的数据
|
|
45
|
+
* @return {object} 当前焦点节点的数据
|
|
46
|
+
* getCurFocusId
|
|
47
|
+
* @description 获取当前焦点的id
|
|
48
|
+
* @return {string} 当前节点的id
|
|
49
|
+
* getCurVisibleRect
|
|
50
|
+
* @description 获取当前的可视区域
|
|
51
|
+
* @return {object} 可视区域{x: number, y: number, width: number, height: number}
|
|
52
|
+
* slideTo
|
|
53
|
+
* @description 滚动到指定位置
|
|
54
|
+
* @params {int} x x坐标
|
|
55
|
+
* @params {int} y y坐标
|
|
56
|
+
* @params {object} animInfo 动画设置, 为null时不做动画. {duration: number, easing: string, onEnd: function}
|
|
57
|
+
* setFocusTo
|
|
58
|
+
* @description 设置焦点
|
|
59
|
+
* @params {string} id 目标节点的id
|
|
60
|
+
* @params {boolean} needSlide 是否需要滚动
|
|
61
|
+
* @params {object} animInfo 滚动动画设置
|
|
62
|
+
* moveInItem
|
|
63
|
+
* @description 把指定节点移入焦点区域
|
|
64
|
+
* @params {string} id 目标节点的id
|
|
65
|
+
* @params {object} animInfo 动画信息
|
|
66
|
+
* moveFocus
|
|
67
|
+
* @description 往指定方向移动焦点
|
|
68
|
+
* @params {string} direction 移动方向 "left" | "top" | "right" | "bottom"
|
|
69
|
+
* getEntireTreeBoundingSize
|
|
70
|
+
* @description 获取整个树的包围框宽高
|
|
71
|
+
* @return {object} 宽高 {width: number, height: number}
|
|
72
|
+
* refreshData
|
|
73
|
+
* @description 刷新数据
|
|
74
|
+
* setSensor {(callback: ({left: number, top: number}) => void, sensitivity: number) => void}
|
|
75
|
+
* 设置运动后触发的回调, sensitivity为回调敏感度, 每移动多少像素进行回调,适当放大(推荐10以上)可以极大减小对js回调过多引起的性能降低
|
|
76
|
+
*
|
|
77
|
+
* [额外说明]
|
|
78
|
+
* 1. 焦点移动逻辑
|
|
79
|
+
* 每个节点首先有个父方向, 若父节点是star模式, 则父方向由父节点相对位置决定, 若父节点是layer模式, 则父方向为父节点子方向的反向
|
|
80
|
+
* layer模式的节点, 有一个子方向, 其子方向是所有子所在的一侧方向(只有上下左右四侧), 若无子, 则父方向的反向为子方向. 确定了父方向和子方向后, 剩余两个方向则寻找该方向最近的兄弟节点, 若无则寻找最近分支上最近的同级或者叶节点
|
|
81
|
+
* star模式的节点, 除了父方向, 剩余三个方向均寻找相应方向的最近子节点, 若未找到则按layer寻找兄弟节点相同的逻辑寻找同级节点
|
|
82
|
+
*/
|
|
83
|
+
|
|
1
84
|
declare const _default: {
|
|
2
85
|
new (...args: any[]): {
|
|
3
86
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -29,6 +112,7 @@ declare const _default: {
|
|
|
29
112
|
height: number;
|
|
30
113
|
};
|
|
31
114
|
refreshData: () => void;
|
|
115
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
32
116
|
$props: {
|
|
33
117
|
readonly height?: number | undefined;
|
|
34
118
|
readonly width?: number | undefined;
|
|
@@ -36,6 +120,7 @@ declare const _default: {
|
|
|
36
120
|
readonly top?: number | undefined;
|
|
37
121
|
readonly name?: string | undefined;
|
|
38
122
|
readonly provideData?: Function | undefined;
|
|
123
|
+
readonly touchFlag?: number | undefined;
|
|
39
124
|
readonly formatNode?: Function | undefined;
|
|
40
125
|
readonly focusRectPadding?: number | undefined;
|
|
41
126
|
readonly renderRectMargin?: number | undefined;
|
|
@@ -75,6 +160,7 @@ declare const _default: {
|
|
|
75
160
|
height: number;
|
|
76
161
|
};
|
|
77
162
|
refreshData: () => void;
|
|
163
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
78
164
|
$props: {
|
|
79
165
|
readonly height?: number | undefined;
|
|
80
166
|
readonly width?: number | undefined;
|
|
@@ -82,6 +168,7 @@ declare const _default: {
|
|
|
82
168
|
readonly top?: number | undefined;
|
|
83
169
|
readonly name?: string | undefined;
|
|
84
170
|
readonly provideData?: Function | undefined;
|
|
171
|
+
readonly touchFlag?: number | undefined;
|
|
85
172
|
readonly formatNode?: Function | undefined;
|
|
86
173
|
readonly focusRectPadding?: number | undefined;
|
|
87
174
|
readonly renderRectMargin?: number | undefined;
|
|
@@ -105,6 +192,7 @@ declare const _default: {
|
|
|
105
192
|
height: number;
|
|
106
193
|
};
|
|
107
194
|
refreshData: () => void;
|
|
195
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
108
196
|
$props: {
|
|
109
197
|
readonly height?: number | undefined;
|
|
110
198
|
readonly width?: number | undefined;
|
|
@@ -112,6 +200,7 @@ declare const _default: {
|
|
|
112
200
|
readonly top?: number | undefined;
|
|
113
201
|
readonly name?: string | undefined;
|
|
114
202
|
readonly provideData?: Function | undefined;
|
|
203
|
+
readonly touchFlag?: number | undefined;
|
|
115
204
|
readonly formatNode?: Function | undefined;
|
|
116
205
|
readonly focusRectPadding?: number | undefined;
|
|
117
206
|
readonly renderRectMargin?: number | undefined;
|
|
@@ -136,6 +225,7 @@ declare const _default: {
|
|
|
136
225
|
height: number;
|
|
137
226
|
};
|
|
138
227
|
refreshData: () => void;
|
|
228
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
139
229
|
};
|
|
140
230
|
onAction: any;
|
|
141
231
|
}) => any;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvNativeSharedDiv.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【控件介绍】
|
|
9
|
+
* JsvNativeSharedDiv:创建一个Native端可以跟进显示位置的div,用于Native端外挂插件的开发
|
|
10
|
+
* @param {Object} style 布局样式(必须),必须包含的信息为{left, top, width, height}
|
|
11
|
+
* @param {function} getId 回调函数,用于接收ID信息,ID信息用于Native端对该view进行跟踪的标识
|
|
12
|
+
* @param {String} setId 给定命名ID,避免同进程不同context重名要和Context相关,
|
|
13
|
+
* 例如`${window.JsView?.getJsContextId()}_${you_name}`
|
|
14
|
+
* @param {number} corner 圆角的尺寸,默认为0
|
|
15
|
+
* @param {number} oversize 为了去除黑边的调整选项,让native video的尺寸信息比扣洞大多少, 默认为0
|
|
16
|
+
* @param {boolean} frontLayer 视图是在JsView界面前方,不是需要扣洞的后方,默认为false
|
|
17
|
+
*/
|
|
18
|
+
|
|
1
19
|
declare const _default: {
|
|
2
20
|
new (...args: any[]): {
|
|
3
21
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -20,6 +38,8 @@ declare const _default: {
|
|
|
20
38
|
$props: {
|
|
21
39
|
readonly style?: Record<string, any> | undefined;
|
|
22
40
|
readonly corner?: number | undefined;
|
|
41
|
+
readonly oversize?: number | undefined;
|
|
42
|
+
readonly frontLayer?: boolean | undefined;
|
|
23
43
|
readonly getId?: Function | undefined;
|
|
24
44
|
readonly setId?: string | undefined;
|
|
25
45
|
};
|
|
@@ -47,6 +67,8 @@ declare const _default: {
|
|
|
47
67
|
$props: {
|
|
48
68
|
readonly style?: Record<string, any> | undefined;
|
|
49
69
|
readonly corner?: number | undefined;
|
|
70
|
+
readonly oversize?: number | undefined;
|
|
71
|
+
readonly frontLayer?: boolean | undefined;
|
|
50
72
|
readonly getId?: Function | undefined;
|
|
51
73
|
readonly setId?: string | undefined;
|
|
52
74
|
};
|
|
@@ -58,6 +80,8 @@ declare const _default: {
|
|
|
58
80
|
$props: {
|
|
59
81
|
readonly style?: Record<string, any> | undefined;
|
|
60
82
|
readonly corner?: number | undefined;
|
|
83
|
+
readonly oversize?: number | undefined;
|
|
84
|
+
readonly frontLayer?: boolean | undefined;
|
|
61
85
|
readonly getId?: Function | undefined;
|
|
62
86
|
readonly setId?: string | undefined;
|
|
63
87
|
};
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvNinePatch.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvNinePatch:Vue高阶组件,.9图展示控件,该控件的原图要求为正方形,延展后可为长方形
|
|
10
|
+
* centerWidth和borderOutset传值比较抽象,若 imageDspWidth 和图片素材的原图尺寸一直,
|
|
11
|
+
* 则可以参考 samples/NinePatchTester 的样例图示
|
|
12
|
+
* props说明:
|
|
13
|
+
* style {Object} 同div的Style,通过width/height来控制.9图片延展后的显示尺寸,另外通过top/left控制坐标
|
|
14
|
+
* imageUrl {String} (必填)显示图片的加载地址
|
|
15
|
+
* imageWidth {int} (必填)原图信息: 原图的宽度(由于正方形,宽高相同)
|
|
16
|
+
* contentWidth {int} (废弃)此值为了兼容,会赋值给centerWidth
|
|
17
|
+
* centerWidth {int} (必填)原图信息: .9图的中心区域宽度(repeat区域)
|
|
18
|
+
* imageDspWidth {int} 原图缩放后的显示宽度,计算方法:
|
|
19
|
+
* 四角为90度圆弧时: imageDspWidth = 显示图形的圆弧半径 / 原图中圆弧的半径 * 原图宽度
|
|
20
|
+
* 原图中圆弧半径 = (原图宽度 - borderOutset * 2) / 2
|
|
21
|
+
* 四角为其他形状时,原图.9图的四角区域,缩放到要和显示图形重合后的宽度。
|
|
22
|
+
* borderOutset {int} (必填)原图信息: 图片边缘到中心内容区域边缘的距离, 快速计算: (原图宽度 - 原图中放内容宽度) / 2
|
|
23
|
+
* animTime {int} (必填)缩放动画的时长(单位秒)
|
|
24
|
+
* waitForInit {boolean} (选填)尺寸为0时是否进行描画(例如: 首次显示不展示动画的场合,设置为true),默认值为true
|
|
25
|
+
* onTransitionEnd { Function } (选填)transition动画结束的回调
|
|
26
|
+
* onAnimationEnd { Function } (选填)animation动画结束的回调
|
|
27
|
+
* imageBlendType {String} (选填) alpha合并模式,默认为普通合成,可设置"alphaOverride", 用于Video挖洞操作
|
|
28
|
+
*/
|
|
29
|
+
|
|
1
30
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
31
|
$props: {
|
|
3
32
|
readonly left?: number | undefined;
|
|
@@ -14,6 +43,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
14
43
|
readonly imageBlendType?: string | undefined;
|
|
15
44
|
readonly onDivRef?: Function | undefined;
|
|
16
45
|
readonly animation?: string | undefined;
|
|
46
|
+
readonly onAnimationEnd?: Function | undefined;
|
|
17
47
|
readonly onTransitionEnd?: Function | undefined;
|
|
18
48
|
};
|
|
19
49
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvPieChart.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvPieChart:Vue高阶组件,饼图。
|
|
10
|
+
* props说明:
|
|
11
|
+
* centerPosition {Object} 圆心坐标,属性:{x,y}
|
|
12
|
+
* radius {Number} 半径
|
|
13
|
+
* animationTime {Number} 动画变化时间,单位 /秒
|
|
14
|
+
* data {Array} 数组对象,包含百分比和颜色。例如:[{color:'#FFFFFF',percent:20}]
|
|
15
|
+
* 说明:传入的数组要为响应式,且保证所有项的percent都是大于0并且相加等于100
|
|
16
|
+
*/
|
|
17
|
+
|
|
1
18
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
19
|
$props: {
|
|
3
20
|
readonly data?: unknown[] | undefined;
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvPosterDiv.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvPosterDiv:Vue高阶组件,海报描画
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 包含
|
|
12
|
+
* left/top/width/height
|
|
13
|
+
* border-radius
|
|
14
|
+
* backgroundImage/backgroundColor
|
|
15
|
+
* 的style设置
|
|
16
|
+
*/
|
|
17
|
+
|
|
1
18
|
declare const _default: {
|
|
2
19
|
new (...args: any[]): {
|
|
3
20
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvPosterImage.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvPosterImage:Vue高阶组件,海报描画,可设置color space 和 texture size
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 包含left/top/width/height/border-radius的style设置
|
|
12
|
+
* colorSpace {String} 颜色空间,调整其他颜色空间可以节省内存,默认RGBA_8888
|
|
13
|
+
* imageCompress {boolean} 是否压缩图片, 默认打开
|
|
14
|
+
* src {string} 图片的加载地址
|
|
15
|
+
* fadeIn: {boolean} 图片加载完成是否有淡入效果,默认为打开
|
|
16
|
+
* isPosterImage: 标识是否用于海报位,对于海报位的内容,可以有下载线程控制等策略来优化整体体验
|
|
17
|
+
*/
|
|
18
|
+
|
|
1
19
|
declare const _default: {
|
|
2
20
|
new (...args: any[]): {
|
|
3
21
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvPreload/JsvPreload.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvPreload:Vue高阶组件,图片预加载的控件
|
|
10
|
+
* preloadList {ObjectArray}: 预加载的信息列表,单个内容通过buildPreloadInfo构建
|
|
11
|
+
* 列表中的图片会被进行下载,解码并将解码结果存储在内存中,内存占用的周期同JsvPreload组件声明周期
|
|
12
|
+
* downloadList {ObjectArray}: 预下载的信息列表,单个内容通过buildDownloadInfo构建
|
|
13
|
+
* 列表的内容可以是图片,音频等任何网络资源,下载后缓存在本地,归入本地缓存管理(LRU清理策略)
|
|
14
|
+
* onPreloading {Function(float percent)}: 预加载中回调,返回预加载进度
|
|
15
|
+
* onPreloadDone {Function(sizeArray)}: 预加载完成回调,sizeArray(格式Object[]),每个的格式为{width, height}
|
|
16
|
+
* onDownloadDone {Function(pathesArray, extra)}: 预下载完成回调,pathesArray(格式为String[])为下载好回调的地址,
|
|
17
|
+
* 其中pathesArray为存储位置的路径列表, extra为额外信息(目前只有下载图片时的尺寸)
|
|
18
|
+
*
|
|
19
|
+
* 注意事项:
|
|
20
|
+
* 指定加载时的尺寸(0为不指定),与img标签中的 jsv_img_scaledown_tex 属性一起使用
|
|
21
|
+
* 指定加载色空间,与div标签中的 jsv_img_color_space 一起使用。
|
|
22
|
+
* 因为,同样url情况下,jsv_img_scaledown_tex 和 jsv_img_color_space 启用后,不同的尺寸不同颜色空间
|
|
23
|
+
* 对应着各自不同的图片内存缓存
|
|
24
|
+
*
|
|
25
|
+
* 静态函数:
|
|
26
|
+
* buildPreloadInfo: 静态函数,创建预加载信息项,用于制作JsvPreload的preloadList属性列表信息
|
|
27
|
+
* 参数:
|
|
28
|
+
* url {string}: (必填)图片url
|
|
29
|
+
* width {int}: 图片内存存储区域宽度,默认为0(同图片源文件宽度)
|
|
30
|
+
* height {int}: 图片内存存储区域宽度,默认为0(同图片源文件宽度)
|
|
31
|
+
* color_type {string}: 图片存储颜色空间,去掉alpha通道可节省内存,例如"RGB_565"等,与img标签jsv_img_color_space配合,默认值"RGBA_8888"
|
|
32
|
+
* net_setting {object}: (未实现)网络加载参数,cookie, refer等,默认值 null
|
|
33
|
+
*
|
|
34
|
+
* buildDownloadInfo: 函数,创建预下载信息项,用于制作JsvPreload的downloadList属性列表信息
|
|
35
|
+
* 参数:
|
|
36
|
+
* url {string}: (必填)图片url
|
|
37
|
+
* width {int}: 图片内存存储区域宽度,默认为0(同图片源文件宽度)
|
|
38
|
+
* height {int}: 图片内存存储区域宽度,默认为0(同图片源文件宽度)
|
|
39
|
+
* color_type {string}: 图片存储颜色空间,去掉alpha通道可节省内存,例如"RGB_565"等,与img标签jsv_img_color_space配合,默认值"RGBA_8888"
|
|
40
|
+
* net_setting {object}: (未实现)网络加载参数,cookie, refer等,默认值 null
|
|
41
|
+
*/
|
|
42
|
+
|
|
1
43
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
44
|
$props: {
|
|
3
45
|
readonly preloadList?: Record<string, any> | undefined;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvPreload/index.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
export default _JsvPreload;
|
|
2
6
|
declare let _JsvPreload: any;
|
|
3
7
|
export let buildPreloadInfo: (url: any, width: number | undefined, height: number | undefined, color_type: string | undefined, net_setting: null | undefined, is_poster_img: any) => {
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvProgressBar.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvProgressBar:Vue高阶组件,进度条组件。
|
|
10
|
+
* props说明:
|
|
11
|
+
* width {Number} (必填) 进度条总宽度
|
|
12
|
+
* height {Number} (必填) 进度条总宽度(也是圆的直径)
|
|
13
|
+
* bgcBefore {String} (必填) 进度条前景颜色
|
|
14
|
+
* bgcBehind {String} (必填) 进度条背景颜色
|
|
15
|
+
* aniTime {Number} (可选) 进度条变化的动画时间,单位:秒。
|
|
16
|
+
* progress {Number} (可选) 进度条的百分比进度。有效值:0-100
|
|
17
|
+
* isCanvas {Boolean} (可选) 进度条的展示样式:①点九 ②clipView 默认为true,即点九样式。
|
|
18
|
+
*/
|
|
19
|
+
|
|
1
20
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
21
|
$props: {
|
|
3
22
|
readonly progress?: number | undefined;
|
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* QRCode:Vue高阶组件,描绘二维码,
|
|
10
|
+
* props说明:
|
|
11
|
+
* value {string} (必须) 二维码代表的字符串
|
|
12
|
+
* size {int} (必须) 二维码展示尺寸,二维码为正方形,所以改值代表宽和高,默认值:128
|
|
13
|
+
* fgColor {string} 二维码前景色,默认值"#000000",黑色
|
|
14
|
+
* bgColor {string} 二维码背景色,默认值"#ffffff",白色
|
|
15
|
+
* level {string} 二维码的容错能力,可选值{'L':低, 'M':中, 'H':高, 'Q':最精细},默认值'L'
|
|
16
|
+
* instant {string} 是否立即加载(auto, sync, async), auto = async
|
|
17
|
+
* 是否当前帧限制(默认为非当前帧显示,不影响按键响应,但是会闪)
|
|
18
|
+
* imageSettings {Object} 设置中心logo图片,默认值为null,设置格式为:
|
|
19
|
+
* {
|
|
20
|
+
* src {string} logo的url地址
|
|
21
|
+
* height {int} logo的宽度
|
|
22
|
+
* height {int} logo的高度
|
|
23
|
+
* }
|
|
24
|
+
*/
|
|
25
|
+
|
|
1
26
|
declare const _default: import("vue").DefineComponent<{
|
|
2
27
|
value: StringConstructor;
|
|
3
28
|
size: NumberConstructor;
|
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvRadarChart.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvRadarChart:Vue高阶组件,多维属性图展示控件,又称雷达图,该控件的原图要求为正方形,按对角线划分,一边为透明,一边为带边框的正三角形,
|
|
10
|
+
* 带上等分线。
|
|
11
|
+
* props说明:
|
|
12
|
+
* style {Object} (必填) 同div的Style,通过top/left控制圆心坐标
|
|
13
|
+
* backgroundUrl {String} (必填) 背景图片的加载地址
|
|
14
|
+
* foregroundUrl {String} (必填) 展示图片的加载地址
|
|
15
|
+
* data {Array} (必填) 响应式数组对象,有title和value两个属性 例: const data=ref([{title:'智力',value:80}])
|
|
16
|
+
* 注:value为0-100的整数
|
|
17
|
+
* fontSize {Number} (必填) 要展示的字体大小
|
|
18
|
+
* fontColor {String} 字体颜色,默认黑色。
|
|
19
|
+
* radius {Number} (必填) 半径宽度
|
|
20
|
+
* extendOffset {Number} (必填) 延展半径宽度(width),用于展示title
|
|
21
|
+
* 补充说明:
|
|
22
|
+
* 该控件以左上角为顶点旋转渲染,所以图片中带边框的正三角形的三个顶点应该为:左上,右上,左下;请调整图的朝向。
|
|
23
|
+
*/
|
|
24
|
+
|
|
1
25
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
26
|
$props: {
|
|
3
27
|
readonly data?: unknown[] | undefined;
|
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvRipple/JsvRipple.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvRipple: 波纹组件
|
|
10
|
+
* 组件说明:
|
|
11
|
+
* 只在盒子端支持, 浏览器端无效果
|
|
12
|
+
* 出于性能考虑, 最多同时有5个波纹
|
|
13
|
+
* 波的函数为 f(x, t) = amplitude * exp(-timeDecay * t) * (1.0 / (1.0 + distanceDecay * x * x))
|
|
14
|
+
* sin(PI_2 * frequency * (x / speed - t))
|
|
15
|
+
* props说明:
|
|
16
|
+
* width {int} 宽
|
|
17
|
+
* height {int} 高
|
|
18
|
+
* left {int} left位置
|
|
19
|
+
* top {int} top位置
|
|
20
|
+
* enable {boolean} 是否启用特效
|
|
21
|
+
* method说明:
|
|
22
|
+
* addSource {(x, y, amplitude, shapeParams, mediumParams) => number}
|
|
23
|
+
* 返回值: token
|
|
24
|
+
* 参数:
|
|
25
|
+
* x {int}: 波纹中心x坐标
|
|
26
|
+
* y {int}: 波纹中心y坐标
|
|
27
|
+
* amplitude {int}: 波幅
|
|
28
|
+
* shapeParams {{type: number, width?: number, height?: number, radius?: number}}:
|
|
29
|
+
* type: 波纹类型, 目前只有两种
|
|
30
|
+
* JsvRippleShape.CIRCLE 圆形波
|
|
31
|
+
* JsvRippleShape.RECTANGLE 圆角矩形波
|
|
32
|
+
* width: JsvRippleShape.RECTANGLE 时设置, 矩形的宽
|
|
33
|
+
* height: JsvRippleShape.RECTANGLE 时设置, 矩形的高
|
|
34
|
+
* radius: JsvRippleShape.RECTANGLE 时设置, 圆角半径
|
|
35
|
+
* mediumParams {{timeDecay: number, distanceDecay: nubmer, speed: number, frequency: number, waveNum: number}}:
|
|
36
|
+
* timeDecay: 时间衰减因子, 在公式中的影响为 exp(-timeDecay * t), 一般认为amplitude * exp(-timeDecay * t) < 1 时波消失, 所以要控制波的时长可以计算 ln(amplitude) / timeDecay
|
|
37
|
+
* distanceDecay: 距离衰减因子, 公式中的影响为 (1.0 / (1.0 + distanceDecay * x * x))
|
|
38
|
+
* speed: 波速 px/s
|
|
39
|
+
* frequency: 频率 次/s
|
|
40
|
+
* waveNum: 波的个数
|
|
41
|
+
* removeSource {(token) => void}
|
|
42
|
+
* 参数:
|
|
43
|
+
* token: 波源的token
|
|
44
|
+
*/
|
|
45
|
+
|
|
1
46
|
declare const _default: {
|
|
2
47
|
new (...args: any[]): {
|
|
3
48
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvScaleTextBox.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【控件介绍】
|
|
9
|
+
* JsvScaleTextBox:
|
|
10
|
+
* 创建一个div,可以控制其内部的文字图层的清晰度,
|
|
11
|
+
* 当文字被放大(例如焦点所在位置放大效果)时发现文字显示模糊的场景,
|
|
12
|
+
* 将这些文字都放入到本控件中,设置scale属性等于文字的缩放大小,即可解决显示清晰问题。
|
|
13
|
+
*
|
|
14
|
+
* prop说明:
|
|
15
|
+
* definitionScale 内部文字被放大的倍数,写法为"1.0x", "1.6x"
|
|
16
|
+
* 其他 同div的其他props,例如style, class等
|
|
17
|
+
*/
|
|
18
|
+
|
|
1
19
|
declare const _default: import("vue").DefineComponent<{
|
|
2
20
|
definitionScale: {
|
|
3
21
|
type: StringConstructor;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvSector.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvSector:Vue高阶组件,扇形图。
|
|
10
|
+
* props说明:
|
|
11
|
+
* centerPosition {Object} 圆心坐标,属性:{x,y}
|
|
12
|
+
* radius {Number} 半径
|
|
13
|
+
* animationTime {Number} 动画变化时间,单位 /秒
|
|
14
|
+
* config {Object} 配置信息对象,包含初始角度,扫过的角度以及颜色。属性:{startAngle,sweepAngle,color}
|
|
15
|
+
* extraTime {Number} 可选配置(饼图用)扇形运动额外时间
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
|
|
1
19
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
20
|
$props: {
|
|
3
21
|
readonly animationTime?: number | undefined;
|