@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,2 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvHole.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvHole 为video展示区域挖洞
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} (必须)
|
|
12
|
+
* {
|
|
13
|
+
* width {number} 宽度
|
|
14
|
+
* height {number} 高度
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
|
|
1
18
|
export default JsvTransparentDiv;
|
|
2
19
|
import JsvTransparentDiv from "./JsvNativeSharedDiv.vue";
|
|
@@ -1,36 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/Cursor.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
6
|
+
startBlink: () => void;
|
|
7
|
+
stopBlink: (show: any) => void;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly left?: number | undefined;
|
|
10
|
+
readonly top?: number | undefined;
|
|
11
|
+
readonly height?: number | undefined;
|
|
12
|
+
readonly width?: number | undefined;
|
|
13
|
+
readonly color?: string | undefined;
|
|
5
14
|
};
|
|
6
|
-
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
width: NumberConstructor;
|
|
11
|
-
height: NumberConstructor;
|
|
12
|
-
color: StringConstructor;
|
|
13
|
-
}, {
|
|
14
|
-
intervalToken: number;
|
|
15
|
-
visible: import("vue").Ref<boolean>;
|
|
16
|
-
}, any, {}, {
|
|
17
|
-
_cleanInterval(): void;
|
|
18
|
-
startBlink(): void;
|
|
19
|
-
stopBlink(show: any): void;
|
|
20
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
left: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
top: {
|
|
26
|
-
type: NumberConstructor;
|
|
27
|
-
default: number;
|
|
28
|
-
};
|
|
29
|
-
width: NumberConstructor;
|
|
30
|
-
height: NumberConstructor;
|
|
31
|
-
color: StringConstructor;
|
|
32
|
-
}>>, {
|
|
33
|
-
left: number;
|
|
34
|
-
top: number;
|
|
35
|
-
}>;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
36
16
|
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/EditViewOperator.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { FontStyleDefine } from "./SharedDefine";
|
|
6
|
+
export declare const CHAR_CODE_OF_0: number;
|
|
7
|
+
export declare const CHAR_CODE_OF_9: number;
|
|
8
|
+
declare type TextChangedFunc = (final_text: string, dsp_text: string) => void;
|
|
9
|
+
declare type CursorMovedFunc = (new_text_start_index: number, new_cursor_left: number) => void;
|
|
10
|
+
declare type TextOverflowFunc = (origin_text: string, new_text: string) => void;
|
|
11
|
+
export declare class EditViewOperator {
|
|
12
|
+
private _EditViewHandle;
|
|
13
|
+
private _CursorHandle;
|
|
14
|
+
private _EditViewId;
|
|
15
|
+
private _CursorResumeTimeoutToken;
|
|
16
|
+
private _InputType;
|
|
17
|
+
private _FontStyle;
|
|
18
|
+
private _TextLeft;
|
|
19
|
+
private _MaxInputLenth;
|
|
20
|
+
private _TextReadOnly;
|
|
21
|
+
private _CurrentFullText;
|
|
22
|
+
private _CurrentDspText;
|
|
23
|
+
private _CurrentDspWith;
|
|
24
|
+
private _CurrentCursorOffset;
|
|
25
|
+
private _IsFocus;
|
|
26
|
+
private _EditVisibleArea?;
|
|
27
|
+
private _OnTextChangedCallback;
|
|
28
|
+
private _OnCursorMoved;
|
|
29
|
+
private _TextOverflowFunc;
|
|
30
|
+
constructor(text_changed_callback: TextChangedFunc, cursor_moved: CursorMovedFunc, text_overflow?: TextOverflowFunc | undefined);
|
|
31
|
+
updateFocus(is_focus: boolean): void;
|
|
32
|
+
showSoftIme(): void;
|
|
33
|
+
updateInputConfig(box_width: number, box_height: number, cursor_width: number, font_style: FontStyleDefine, input_type: number, max_input_lenth: number, text_read_only: boolean): void;
|
|
34
|
+
generateView(): number;
|
|
35
|
+
setCursorRef(cursor_ref: any): void;
|
|
36
|
+
moveCursorOffset(moved_gap: number): boolean;
|
|
37
|
+
private _UpdateDispay;
|
|
38
|
+
onUnmounted(): void;
|
|
39
|
+
private _PauseCursorBlink;
|
|
40
|
+
private _ClearCursorResumeTimer;
|
|
41
|
+
private _OnTextChanged;
|
|
42
|
+
private _OnStatusChanged;
|
|
43
|
+
addText(text: string): void;
|
|
44
|
+
deleteText(): void;
|
|
45
|
+
clearText(): void;
|
|
46
|
+
replaceText(text: string): void;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { FontStyleDefine } from "./SharedDefine";
|
|
6
|
+
export declare class EditVisibleArea {
|
|
7
|
+
private _AreaWidth;
|
|
8
|
+
private _AreaHeight;
|
|
9
|
+
private _IsRightAlign;
|
|
10
|
+
private _TextLeft;
|
|
11
|
+
private _CursorWidth;
|
|
12
|
+
private _FontStyle;
|
|
13
|
+
private _TextVisibleStartPos;
|
|
14
|
+
private _TextVisibleEndPos;
|
|
15
|
+
private _VisibleAreaCurPos;
|
|
16
|
+
constructor(area_width: number, area_height: number, cursor_width: number, font_style: FontStyleDefine, is_right_align: boolean);
|
|
17
|
+
getTextLeft(): number;
|
|
18
|
+
getCursorPosition(): number;
|
|
19
|
+
calculateSlide(pre_str: string, target_str: string, pre_str_dsp_width: number, target_str_dsp_width: number, // 使用外部缓存,减少本地计算
|
|
20
|
+
cur_index: number, moved: boolean): number;
|
|
21
|
+
private _updateVisibleAreaPos;
|
|
22
|
+
private _caculateTextLeft;
|
|
23
|
+
private _getLeftWithAddChar;
|
|
24
|
+
private _getLeftWithDelChar;
|
|
25
|
+
private _getLeftWithMoveRight;
|
|
26
|
+
private _getLeftWithMoveLeft;
|
|
27
|
+
}
|
|
@@ -1,210 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
onTextOverflow: {
|
|
66
|
-
type: FunctionConstructor;
|
|
67
|
-
};
|
|
68
|
-
onTextChange: {
|
|
69
|
-
type: FunctionConstructor;
|
|
70
|
-
};
|
|
71
|
-
onEdge: {
|
|
72
|
-
type: FunctionConstructor;
|
|
73
|
-
};
|
|
74
|
-
}, {
|
|
75
|
-
editControlView: null;
|
|
76
|
-
editControlViewId: number;
|
|
77
|
-
isFocus: boolean;
|
|
78
|
-
visibleAreaCurStart: number;
|
|
79
|
-
visibleAreaCurPos: number;
|
|
80
|
-
visibleAreaCurEnd: number;
|
|
81
|
-
cursorPauseTimeoutToken: number;
|
|
82
|
-
}, {
|
|
83
|
-
fullString: string;
|
|
84
|
-
curOffset: number;
|
|
85
|
-
textWidth: number;
|
|
86
|
-
textLeft: number;
|
|
87
|
-
}, {
|
|
88
|
-
realText(): string;
|
|
89
|
-
placeholderVisible(): boolean;
|
|
90
|
-
cursorLeft(): any;
|
|
91
|
-
cursorColorInner(): any;
|
|
92
|
-
}, {
|
|
93
|
-
_updateTextWidth(text: any): void;
|
|
94
|
-
_onTextChanged(text: any, cursor_pos: any, moved: any): void;
|
|
95
|
-
_onStatusChanged(status: any): void;
|
|
96
|
-
_getStringWithFont(str: any): any;
|
|
97
|
-
_getFullStringLength(str: any): any;
|
|
98
|
-
add(string: any): void;
|
|
99
|
-
delete(): void;
|
|
100
|
-
clear(): void;
|
|
101
|
-
replace(string: any): void;
|
|
102
|
-
_calculateCursorPosition(full_str: any, cursor_offset: any): any;
|
|
103
|
-
_getLeftWithDelChar(current_cursor_position: any, target_str: any): number;
|
|
104
|
-
_getLeftWithMoveRight(): number;
|
|
105
|
-
_getLeftWithMoveLeft(): number;
|
|
106
|
-
_updateVisibleAreaCursor(offset: any): void;
|
|
107
|
-
_getLeftWithAddChar(current_cursor_position: any, end_add: any): number;
|
|
108
|
-
_calculateSlide(pre_str: any, target_str: any, cur_index: any, moved: any): number;
|
|
109
|
-
onFocus(): void;
|
|
110
|
-
onBlur(): void;
|
|
111
|
-
clearCursorPauseTimer(): void;
|
|
112
|
-
pauseCursorBlink(): void;
|
|
113
|
-
onKeyDown(keyEvent: any): boolean;
|
|
114
|
-
_GetRealText(src_str: any): any;
|
|
115
|
-
_GetShowText(): any;
|
|
116
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
-
name: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
};
|
|
120
|
-
left: {
|
|
121
|
-
type: NumberConstructor;
|
|
122
|
-
default: number;
|
|
123
|
-
};
|
|
124
|
-
top: {
|
|
125
|
-
type: NumberConstructor;
|
|
126
|
-
default: number;
|
|
127
|
-
};
|
|
128
|
-
width: {
|
|
129
|
-
type: NumberConstructor;
|
|
130
|
-
default: number;
|
|
131
|
-
};
|
|
132
|
-
height: {
|
|
133
|
-
type: NumberConstructor;
|
|
134
|
-
default: number;
|
|
135
|
-
};
|
|
136
|
-
type: {
|
|
137
|
-
type: NumberConstructor;
|
|
138
|
-
default: any;
|
|
139
|
-
};
|
|
140
|
-
placeholder: {
|
|
141
|
-
type: StringConstructor;
|
|
142
|
-
default: string;
|
|
143
|
-
};
|
|
144
|
-
placeholderColor: {
|
|
145
|
-
type: StringConstructor;
|
|
146
|
-
default: string;
|
|
147
|
-
};
|
|
148
|
-
maxLength: {
|
|
149
|
-
type: NumberConstructor;
|
|
150
|
-
default: number;
|
|
151
|
-
};
|
|
152
|
-
readonly: {
|
|
153
|
-
type: BooleanConstructor;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
value: {
|
|
157
|
-
type: StringConstructor;
|
|
158
|
-
default: string;
|
|
159
|
-
};
|
|
160
|
-
fontStyle: {
|
|
161
|
-
type: (ObjectConstructor | ArrayConstructor)[];
|
|
162
|
-
default(): {
|
|
163
|
-
textAlign: string;
|
|
164
|
-
fontSize: number;
|
|
165
|
-
color: string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
cursorShow: {
|
|
169
|
-
type: BooleanConstructor;
|
|
170
|
-
default: boolean;
|
|
171
|
-
};
|
|
172
|
-
cursorWidth: {
|
|
173
|
-
type: NumberConstructor;
|
|
174
|
-
default: number;
|
|
175
|
-
};
|
|
176
|
-
cursorColor: {
|
|
177
|
-
type: StringConstructor;
|
|
178
|
-
default: string;
|
|
179
|
-
};
|
|
180
|
-
onTextOverflow: {
|
|
181
|
-
type: FunctionConstructor;
|
|
182
|
-
};
|
|
183
|
-
onTextChange: {
|
|
184
|
-
type: FunctionConstructor;
|
|
185
|
-
};
|
|
186
|
-
onEdge: {
|
|
187
|
-
type: FunctionConstructor;
|
|
188
|
-
};
|
|
189
|
-
}>>, {
|
|
190
|
-
type: number;
|
|
191
|
-
height: number;
|
|
192
|
-
width: number;
|
|
193
|
-
left: number;
|
|
194
|
-
top: number;
|
|
195
|
-
fontStyle: unknown[] | Record<string, any>;
|
|
196
|
-
value: string;
|
|
197
|
-
readonly: boolean;
|
|
198
|
-
placeholder: string;
|
|
199
|
-
placeholderColor: string;
|
|
200
|
-
maxLength: number;
|
|
201
|
-
cursorShow: boolean;
|
|
202
|
-
cursorWidth: number;
|
|
203
|
-
cursorColor: string;
|
|
204
|
-
}>;
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/JsvInput.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
* JsvInput:文字的输入控件
|
|
8
|
+
* @props 说明:
|
|
9
|
+
* left {number} 组件的x
|
|
10
|
+
* top {number} 组件的y
|
|
11
|
+
* width {number} 组件的宽
|
|
12
|
+
* height {number} 组件的高
|
|
13
|
+
* type Input.type.TEXT 若为number类型,则输入时,非number无法输入
|
|
14
|
+
* placeholder {string} 文字颜色值为灰色,默认值为"请输入文字"
|
|
15
|
+
* placeholderColor {string} 默认文字颜色,默认值为灰色
|
|
16
|
+
* maxLength {number} 最大字符长度, 默认100,支持单行最大宽度为1920*2,
|
|
17
|
+
* fontsize为30,则字数大约为1920*2/30 = 100个左右
|
|
18
|
+
* readonly {bool} 属性规定输入字段是只读的, 默认false
|
|
19
|
+
* value {string} 输入的字符串
|
|
20
|
+
* fontStyle {Object} 文字的style
|
|
21
|
+
* cursorShow {bool} 光标是否显示,默认为true,false:光标显示
|
|
22
|
+
* cursorColor {string} 光标颜色 默认为文字颜色
|
|
23
|
+
* cursorWidth {number} 光标宽度 默认为2像素
|
|
24
|
+
* dispatcher {InputDispatcher} 向组件发送增删事件的对象
|
|
25
|
+
* branchName {string} 焦点管理所需的branchName
|
|
26
|
+
* onTextOverflow {function} 文字过长回调
|
|
27
|
+
* onEdge {function} 方向键到达边缘回调
|
|
28
|
+
* @oarams edge_info 边缘信息
|
|
29
|
+
* {
|
|
30
|
+
* direction: EdgeDirection,
|
|
31
|
+
* rect: {x: value,y: value, widht: value,height: value}
|
|
32
|
+
* }
|
|
33
|
+
* onTextChange {function} 文字改动回调
|
|
34
|
+
* @params string 当前文字
|
|
35
|
+
* onBackKey {function} 收到返回键时的决策,根据返回值决定是吞掉还是放过,
|
|
36
|
+
* 返回true时可以规避ime显示后有时会吐出返回键导致整体退出的问题
|
|
37
|
+
* @params isUp {boolean} 是down(false)还是up(true)
|
|
38
|
+
* @return {boolean}
|
|
39
|
+
*
|
|
40
|
+
* InputDispatcher dispatch支持事件:
|
|
41
|
+
* add
|
|
42
|
+
* delete
|
|
43
|
+
* clear
|
|
44
|
+
* public methods:
|
|
45
|
+
* add
|
|
46
|
+
* @description 添加文字
|
|
47
|
+
* @params {String} string 添加文字
|
|
48
|
+
* delete
|
|
49
|
+
* @description 删除文字
|
|
50
|
+
* clear
|
|
51
|
+
* @description 清空文字
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
export { InputType };
|
|
55
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
56
|
+
add: (text: any) => void;
|
|
57
|
+
delete: () => void;
|
|
58
|
+
clear: () => void;
|
|
59
|
+
replace: (text: any) => void;
|
|
60
|
+
$props: {
|
|
61
|
+
[x: string]: any;
|
|
62
|
+
};
|
|
63
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
205
64
|
export default _default;
|
|
206
|
-
|
|
207
|
-
const TEXT: any;
|
|
208
|
-
const NUMBER: any;
|
|
209
|
-
const PASSWORD: any;
|
|
210
|
-
}
|
|
65
|
+
import { InputType } from "./SharedDefine";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/SharedDefine.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export declare const InputType: {
|
|
6
|
+
TEXT: any;
|
|
7
|
+
NUMBER: any;
|
|
8
|
+
PASSWORD: any;
|
|
9
|
+
};
|
|
10
|
+
export declare interface FontStyleDefine {
|
|
11
|
+
fontSize: number;
|
|
12
|
+
fontFamily: string;
|
|
13
|
+
textAlign: string;
|
|
14
|
+
fontStyle: string;
|
|
15
|
+
fontWeight: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const MAX_WIDTH = 2000;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/SystemTextTools.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare interface FontStyleDefine {
|
|
6
|
+
fontSize: number;
|
|
7
|
+
fontFamily: string;
|
|
8
|
+
textAlign: string;
|
|
9
|
+
fontStyle: string;
|
|
10
|
+
fontWeight: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function calculateCursorPosition(display_text: string, cursor_offset: number, rect_width: number, rect_height: number, line_height: number, font_style: FontStyleDefine): number;
|
|
13
|
+
export declare function getTextDisplayWidth(text: string, font_style: FontStyleDefine): any;
|
|
14
|
+
export {};
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvLine/JsvLine.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvLine:Vue高阶组件,用于划线。支持横线、竖线和斜线。
|
|
10
|
+
* props说明:(注意:全部属性非响应式, 需要变更时用 key 来触发重绘)
|
|
11
|
+
* startPos {Object} (必填) 起始位置,属性:x,y
|
|
12
|
+
* endPos {Object} (必填) 结束位置, 属性:x,y
|
|
13
|
+
* lineWidth {Number} (必填) 线条的粗细程度
|
|
14
|
+
* appear {String} 线条的出现方式 fadeIn 淡入 / fadeOut 淡出
|
|
15
|
+
* backgroundImage {String} 背景图片
|
|
16
|
+
* backgroundColor {String} 背景颜色,默认值:白色#FFFFFF
|
|
17
|
+
* borderRadius {Number} 圆角半径
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
|
|
1
21
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
22
|
$props: {
|
|
3
23
|
readonly backgroundColor?: string | undefined;
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvMarquee.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvMarquee:Vue高阶组件,文字跑马灯
|
|
10
|
+
* props说明:
|
|
11
|
+
* text {String} 文字内容
|
|
12
|
+
* style {Object} 样式
|
|
13
|
+
* slideSpeed {int} 滚动速度 px/s, 默认60
|
|
14
|
+
* slideDirection{String} 滚动方向 ste(start to end)/ets(end to start)/ltr/rtl
|
|
15
|
+
* forceSlide {boolean} 短文字是否滚动,默认false
|
|
16
|
+
* timeGap {int} 每次完整移动的时间间隔 单位:ms
|
|
17
|
+
* textGap {int} 两屏之间的文字宽度间隔。
|
|
18
|
+
* 说明
|
|
19
|
+
* JsvMarquee会识别阿拉伯字符自动设置direction
|
|
20
|
+
*/
|
|
21
|
+
|
|
1
22
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
23
|
$props: {
|
|
3
24
|
readonly style?: Record<string, any> | undefined;
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvMaskClipDiv.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* JsvMaskClipDiv:蒙版遮罩处理组件
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 布局样式(必需),样式对象内容为{left:0, top:0, width:xxx, height:xxx},
|
|
12
|
+
* maskSrc {string/URL} 蒙版图片,可为URL字符串,或者通过import进来的图片引用
|
|
13
|
+
* viewSrc {string/URL} 被遮罩的图片,可为URL字符串,或者通过import进来的图片引用
|
|
14
|
+
* maskTop {double} 蒙版相对于被遮罩图片的左上角Y定位,单位为百分比(Y坐标 / 被遮罩图片的高)
|
|
15
|
+
* maskLeft {double} 蒙版相对于被遮罩图片的左上角X定位,单位为百分比(X坐标 / 被遮罩图片的宽)
|
|
16
|
+
* maskWidth {double} 蒙版相对于被遮罩图片宽度的百分比(蒙版的宽度 / 被遮罩图片的宽)
|
|
17
|
+
* maskHeight{double} 蒙版相对于被遮罩图片高度的百分比(蒙版的高度 / 被遮罩图片的宽)
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
|
|
1
21
|
declare const _default: import("vue").DefineComponent<{
|
|
2
22
|
class: {
|
|
3
23
|
type: StringConstructor;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/DataTree.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import { Rect } from "./Geometry";
|
|
2
6
|
import { Direction } from "./CommonType";
|
|
3
7
|
type MoveType = "star" | "layer" | "inherit";
|
|
@@ -13,7 +17,7 @@ export declare class DataNode {
|
|
|
13
17
|
moveType: MoveType;
|
|
14
18
|
private lineList;
|
|
15
19
|
private moveInfoCache;
|
|
16
|
-
constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType);
|
|
20
|
+
constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType, enableTap?: boolean);
|
|
17
21
|
get minX(): number;
|
|
18
22
|
get maxX(): number;
|
|
19
23
|
get minY(): number;
|
|
@@ -56,6 +60,8 @@ export declare class DataNode {
|
|
|
56
60
|
private focused;
|
|
57
61
|
private divRef;
|
|
58
62
|
private lineStyle;
|
|
63
|
+
enableTap: boolean;
|
|
64
|
+
onTap: import("vue").ComputedRef<(() => void) | null>;
|
|
59
65
|
setLineStyle(style: any): void;
|
|
60
66
|
getLineStyle(): any;
|
|
61
67
|
onFocus(): void;
|