@shijiu/jsview-vue 2.2.373 → 2.2.426-test.0
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/jsview-vue.mjs +333 -487
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/CheckType.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusBlock.vue.d.ts +0 -34
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusHub.d.ts +0 -4
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +12 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Const.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Dispatcher.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/ListWidget.vue.d.ts +0 -8
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +161 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidgetSetup.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/PageUpdater.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/RenderItem.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Slide.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/SlotComponent.vue.d.ts +0 -4
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +64 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/VisibleInfo.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/WidgetRectInfo.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/RangeModel.d.ts +0 -4
- package/bin/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/CommonMetroTemplate.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/Fence.d.ts +2 -6
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/ListMetroTemplate.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/MetroTemplate.d.ts +3 -7
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/TemplateItemAdder.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/index.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/WidgetCommon.d.ts +0 -4
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/index.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAccount/JsvAccount.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +2 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -8
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/CheckType.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/Events.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudio.vue.d.ts +4 -8
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioBridgeProxy.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioProxy.vue.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +1 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/ScreenLockManager.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/index.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +13 -0
- package/bin/types/{JsViewPlugin/JsvLatex → utils/JsViewPlugin/JsvAudio}/version.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserDomBuilder.d.ts +0 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserJsvLatex.vue.d.ts +4 -8
- package/bin/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +1 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatex.vue.d.ts +4 -28
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +3 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexProxy.vue.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +1 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/index.d.ts +0 -4
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +13 -0
- package/bin/types/{JsViewPlugin/JsvAudio → utils/JsViewPlugin/JsvLatex}/version.d.ts +0 -5
- package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer-0.9.vue.d.ts +45 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue.d.ts +597 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +420 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +57 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +588 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +358 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +358 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/index.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ConstSymbol.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugContentShellJBridge.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugTool.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DefaultKeyMap.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/FeatureActive.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeConstDefine.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeHandles.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDemoTester.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicCssStyle.d.ts +0 -17
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicKeyFrames.d.ts +0 -17
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvFederationTools.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvHashHistory.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvImpactTracer.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPerformance.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPreDownloader.d.ts +0 -21
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRefTaker.d.ts +0 -26
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRuntimeBridge.d.ts +0 -8
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleClass.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleSheetsDeclarer.d.ts +0 -18
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +61 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureDefines.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureLoadTool.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CommandList.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/JsvTextureStore.d.ts +0 -22
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Store.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Texture.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/NinePatchHelper.d.ts +0 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/TextureManagerTools.d.ts +0 -4
- package/bin/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +3 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/index.d.ts +0 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/ActorControlBase.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +64 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMoveControl.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/BrowserApic.vue.d.ts +1 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/JsvApic.vue.d.ts +0 -20
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +1 -5
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +23 -0
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/GifData.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/Viewer.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/WebpData.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvCommonLoopToolBase.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/JsvClipDiv.vue.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +13 -0
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDragBox/JsvDragBox.vue.d.ts +0 -25
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/JsvDriftScope.vue.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +1 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvEnableRenderBreak.vue.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFilterView.vue.d.ts +3 -22
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +75 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFlexCell/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts → utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts} +1 -5
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +1 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorControl.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/CallbackManager.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ForgeTypeDefine.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +9 -34
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +3 -25
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +7 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/NexusNode.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetAction.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetCondition.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetState.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SyncLinkManager.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvGrid.vue.d.ts +0 -73
- package/bin/types/utils/JsViewVueWidget/JsvHole.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/Cursor.vue.d.ts +1 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/EditViewOperator.d.ts +2 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/EditVisibleArea.d.ts +4 -5
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +12 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/SharedDefine.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/SystemTextTools.d.ts +7 -5
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/index.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +12 -0
- package/bin/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvLine/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +12 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMaskClipDiv.vue.d.ts +0 -22
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Constant.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/DataTree.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Geometry.d.ts +2 -6
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/JsvMindMap.vue.d.ts +9 -92
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +1 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/rtree.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNativeSharedDiv.vue.d.ts +0 -18
- package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +21 -0
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +9 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterDiv.vue.d.ts +0 -17
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterImage.vue.d.ts +0 -18
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +25 -0
- package/bin/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +12 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvQrcode/JsvQrcode.vue.d.ts +1 -26
- package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +13 -0
- package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
- package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +84 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/index.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +10 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollBox.vue.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollFollow.vue.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +4 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollSymbol.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/index.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSector.vue.d.ts +0 -18
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSoundPool.d.ts +0 -42
- package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +38 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/FrameBuidler.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +18 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +0 -16
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteTools.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/SpriteController.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/index.d.ts +0 -4
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/JsvSwiper.vue.d.ts +1 -40
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/JsvSwiper.vue.d.ts +3 -27
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextBox.vue.d.ts +0 -26
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/CommonType.d.ts +0 -4
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/JsvTextureAnim.vue.d.ts +2 -7
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTouchModeSwitcher.vue.d.ts +3 -28
- package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +6 -31
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/index.d.ts +6 -10
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/index.d.ts +2 -6
- package/bin/types/{index.d.ts → utils/index.d.ts} +0 -4
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/tools/jsview-vue-build.mjs +3 -2
- package/tsconfig.json +27 -0
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.ts +3 -22
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +19 -33
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -1
- package/utils/JsViewEngineWidget/TemplateParser/Fence.ts +2 -2
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +2 -4
- package/utils/JsViewPlugin/JsvAudio/version.js +1 -1
- package/utils/JsViewPlugin/JsvAudio/version.mjs +1 -1
- package/utils/JsViewVueTools/JsvHashHistory.js +26 -29
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +70 -70
- package/utils/JsViewVueTools/JsvTextTools.ts +63 -130
- package/utils/JsViewVueTools/TypeCheckAndSet.ts +66 -0
- package/utils/JsViewVueTools/index.js +1 -1
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +9 -14
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +4 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/index.js +2 -9
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +47 -14
- package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +43 -10
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +22 -9
- package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +41 -27
- package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +3 -48
- package/utils/JsViewVueWidget/JsvPosterImage.vue +1 -2
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +21 -44
- package/utils/JsViewVueWidget/JsvPreload/index.js +2 -13
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvSoundPool.js +3 -7
- package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +17 -14
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +0 -5
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +70 -75
- package/utils/JsViewVueWidget/JsvTextureAnim/index.js +2 -9
- package/utils/JsViewVueWidget/index.js +2 -2
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +0 -79
- package/bin/browser/BrowserPreload.vue.mjs +0 -139
- package/bin/browser/BrowserQrcode.vue.mjs +0 -176
- package/bin/browser/BrowserSpray.vue.mjs +0 -56
- package/bin/browser/BrowserTextureAnim.vue.mjs +0 -322
- package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +0 -25
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +0 -435
- package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +0 -6
- package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +0 -5
- package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +0 -5
- package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +0 -7
- package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +0 -5
- package/bin/types/JsViewVueTools/JsvTextTools.d.ts +0 -95
- package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +0 -102
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +0 -51
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +0 -34
- package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +0 -106
- package/bin/types/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +0 -106
- package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +0 -60
- package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvHole.d.ts +0 -19
- package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +0 -65
- package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +0 -32
- package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +0 -33
- package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +0 -5
- package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +0 -50
- package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +0 -26
- package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +0 -14
- package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +0 -67
- package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +0 -21
- package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +0 -31
- package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +0 -15
- package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +0 -37
- package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +0 -8
- package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +0 -129
- package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +0 -28
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +0 -8
- package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +0 -29
- package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +0 -78
- package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +0 -70
- package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +0 -6
- package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +0 -155
- package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +0 -18
- package/tools/config/tsconfig.json +0 -16
- package/utils/JsViewVueTools/TypeCheckAndSet.js +0 -27
- package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +0 -75
- package/utils/JsViewVueWidget/JsvPreload/BrowserPreload.vue +0 -144
- package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +0 -189
- package/utils/JsViewVueWidget/JsvQrcode/index.js +0 -18
- package/utils/JsViewVueWidget/JsvSpray/BrowserSpray.vue +0 -55
- package/utils/JsViewVueWidget/JsvSpray/index.js +0 -17
- package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +0 -359
- /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActionRefObject.d.ts +0 -0
- /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorState.d.ts +0 -0
- /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/CommonType.d.ts +0 -0
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @file
|
|
7
|
-
*
|
|
8
|
-
* 【模块 export 内容】
|
|
9
|
-
* JsvSpriteAnim: 描画动态的精灵图(雪碧图)
|
|
10
|
-
* 注意: PC模拟环境中,动画执行完成如果在onAnimEnd立刻进行不显示的话,可能闪一帧残留图像,在盒子不会有这个问题
|
|
11
|
-
* prop说明:
|
|
12
|
-
* spriteInfo {object} (必需)精灵图配置信息
|
|
13
|
-
* { frames: [
|
|
14
|
-
* {
|
|
15
|
-
* source:{x, y, w, h}, // 切片的绘制位置,来源于美术工具导出
|
|
16
|
-
* target:{x, y, w, h}, // 切片在精灵图中的位置,来源于美术工具导出
|
|
17
|
-
* },
|
|
18
|
-
* ...
|
|
19
|
-
* ],
|
|
20
|
-
* meta:{w,h} // 整张精灵图的尺寸,来源于美术工具导出
|
|
21
|
-
* }
|
|
22
|
-
* viewSize {object} (可选){w:xxx, h:xxx},显示尺寸定制, 不设置则从SpriteInfo中提炼的最大子图内容显示尺寸
|
|
23
|
-
* 可以只只设定width或者height,另一边则自适应
|
|
24
|
-
* 因为精灵图的尺寸都是精灵图内容单图偏移+内容尺寸,所以定制区域后,此区域的显示内容是右下对齐的效果
|
|
25
|
-
* spriteFrameSize {object} (可选){w:xxxx, h:xxxx},精灵图美术编译前居中显示的图尺寸,用来纠正viewSize设定后的右下对齐成居中
|
|
26
|
-
* 一般可以通过JsvSpriteTools.guessOriginSize()来推测值,最好还是来源于美术提供资料
|
|
27
|
-
* imageUrl {string} (必需)图片地址,另外,为了减小无效的解析处理,规定只有image的URL变更时才重新解析spriteInfo
|
|
28
|
-
* duration {float} (动图必需)动图的时间
|
|
29
|
-
* onAnimEnd {function} 动图结束回调
|
|
30
|
-
* autostart {string} 启动动图,默认none,
|
|
31
|
-
* 自动启动模式:true/start:精灵图自动启动
|
|
32
|
-
* none:不自动启动
|
|
33
|
-
* loop {string或number} 动图的循环次数 infinite/数字,默认为单次
|
|
34
|
-
* controller {SpriteController} 控制动图start,stop的对象
|
|
35
|
-
*
|
|
36
|
-
* SpriteController/或者本组件的ref: 面向对象类,精灵图动作控制器
|
|
37
|
-
* 功能函数:(参数说明见函数本体)
|
|
38
|
-
* start()
|
|
39
|
-
* 功能: 启动精灵图动画
|
|
40
|
-
* 参数表:
|
|
41
|
-
* indexArray : 帧数组/"all", 展示帧的序列
|
|
42
|
-
* endFrame : 取值"start"/"end", 动画的结束帧内容
|
|
43
|
-
* duration : 单次生效, 临时覆盖prop中设置的duration
|
|
44
|
-
* loopSet : 单次生效, 临时覆盖prop中设置的loop, 次数或者infinite
|
|
45
|
-
* animateEnd : 单次回调, 另外prop的onAnimEnd仍然会触发
|
|
46
|
-
*
|
|
47
|
-
* stop()
|
|
48
|
-
* 功能: 停止精灵图动画,可选择静止在第一帧或最后一帧
|
|
49
|
-
* 参数表:
|
|
50
|
-
* index : 目标帧index/"start"/"end"
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
54
|
-
start: (indexArray: any, endFrame: any, duration: any, loopSet: any, animateEnd: any) => void;
|
|
55
|
-
stop: (index: any) => void;
|
|
56
|
-
blink: (alphas: any, duration: any, ease: any, delay: any, repeat: any) => void;
|
|
57
|
-
$props: {
|
|
58
|
-
readonly duration?: number | undefined;
|
|
59
|
-
readonly loop?: string | number | undefined;
|
|
60
|
-
readonly autostart?: string | boolean | undefined;
|
|
61
|
-
readonly spriteInfo?: Record<string, any> | undefined;
|
|
62
|
-
readonly viewSize?: Record<string, any> | undefined;
|
|
63
|
-
readonly spriteFrameSize?: Record<string, any> | undefined;
|
|
64
|
-
readonly imageUrl?: string | undefined;
|
|
65
|
-
readonly onAnimEnd?: Function | undefined;
|
|
66
|
-
readonly controller?: Record<string, any> | undefined;
|
|
67
|
-
readonly spriteName?: string | undefined;
|
|
68
|
-
};
|
|
69
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
70
|
-
export default _default;
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
declare const _default: import("vue").DefineComponent<{
|
|
6
|
-
src: StringConstructor;
|
|
7
|
-
top: NumberConstructor;
|
|
8
|
-
left: NumberConstructor;
|
|
9
|
-
width: NumberConstructor;
|
|
10
|
-
height: NumberConstructor;
|
|
11
|
-
borderRadius: (StringConstructor | NumberConstructor)[];
|
|
12
|
-
decorate: ObjectConstructor;
|
|
13
|
-
animation: StringConstructor;
|
|
14
|
-
duration: NumberConstructor;
|
|
15
|
-
transform: StringConstructor;
|
|
16
|
-
transformOrigin: StringConstructor;
|
|
17
|
-
repeat: {
|
|
18
|
-
type: NumberConstructor;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
delay: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
easing: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
onAnimationEnd: FunctionConstructor;
|
|
30
|
-
autoStart: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
texCoord: {
|
|
35
|
-
type: ObjectConstructor;
|
|
36
|
-
};
|
|
37
|
-
}, {
|
|
38
|
-
animName: string;
|
|
39
|
-
animDiv: null;
|
|
40
|
-
clipDiv: null;
|
|
41
|
-
imgDiv: null;
|
|
42
|
-
watcherHandlerList: never[];
|
|
43
|
-
}, any, {
|
|
44
|
-
animSet(): string;
|
|
45
|
-
textureLayout(): {
|
|
46
|
-
position: string;
|
|
47
|
-
left: string;
|
|
48
|
-
top: string;
|
|
49
|
-
transition: string;
|
|
50
|
-
width: string;
|
|
51
|
-
height: string;
|
|
52
|
-
} | {
|
|
53
|
-
position: string;
|
|
54
|
-
left: string;
|
|
55
|
-
top: string;
|
|
56
|
-
width: string;
|
|
57
|
-
height: string;
|
|
58
|
-
transition?: undefined;
|
|
59
|
-
};
|
|
60
|
-
maskStyle(): {
|
|
61
|
-
left: string;
|
|
62
|
-
top: string;
|
|
63
|
-
borderRadius: string;
|
|
64
|
-
width: string;
|
|
65
|
-
height: string;
|
|
66
|
-
overflow: string;
|
|
67
|
-
transition?: undefined;
|
|
68
|
-
webkitMaskBoxImageSource?: undefined;
|
|
69
|
-
webkitMaskBoxImageSlice?: undefined;
|
|
70
|
-
webkitMaskBoxImageWidth?: undefined;
|
|
71
|
-
webkitMaskBoxImageOutset?: undefined;
|
|
72
|
-
position?: undefined;
|
|
73
|
-
} | {
|
|
74
|
-
left: string;
|
|
75
|
-
top: string;
|
|
76
|
-
width: string;
|
|
77
|
-
height: string;
|
|
78
|
-
transition: string;
|
|
79
|
-
webkitMaskBoxImageSource: any;
|
|
80
|
-
webkitMaskBoxImageSlice: number;
|
|
81
|
-
webkitMaskBoxImageWidth: string;
|
|
82
|
-
webkitMaskBoxImageOutset: string;
|
|
83
|
-
position: string;
|
|
84
|
-
borderRadius?: undefined;
|
|
85
|
-
overflow?: undefined;
|
|
86
|
-
} | {
|
|
87
|
-
left: string;
|
|
88
|
-
top: string;
|
|
89
|
-
width: string;
|
|
90
|
-
height: string;
|
|
91
|
-
overflow: string;
|
|
92
|
-
borderRadius?: undefined;
|
|
93
|
-
transition?: undefined;
|
|
94
|
-
webkitMaskBoxImageSource?: undefined;
|
|
95
|
-
webkitMaskBoxImageSlice?: undefined;
|
|
96
|
-
webkitMaskBoxImageWidth?: undefined;
|
|
97
|
-
webkitMaskBoxImageOutset?: undefined;
|
|
98
|
-
position?: undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
}, {
|
|
101
|
-
_readRadius(setting: any): {
|
|
102
|
-
type: string;
|
|
103
|
-
topLeft: number;
|
|
104
|
-
topRight: number;
|
|
105
|
-
bottomRight: number;
|
|
106
|
-
bottomLeft: number;
|
|
107
|
-
} | {
|
|
108
|
-
type: string;
|
|
109
|
-
topLeft: string;
|
|
110
|
-
topRight: string;
|
|
111
|
-
bottomRight: string;
|
|
112
|
-
bottomLeft: string;
|
|
113
|
-
} | null;
|
|
114
|
-
start(): void;
|
|
115
|
-
insertKeyframe(animDefine: any): void;
|
|
116
|
-
removeKeyframe(animName: any): void;
|
|
117
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
-
src: StringConstructor;
|
|
119
|
-
top: NumberConstructor;
|
|
120
|
-
left: NumberConstructor;
|
|
121
|
-
width: NumberConstructor;
|
|
122
|
-
height: NumberConstructor;
|
|
123
|
-
borderRadius: (StringConstructor | NumberConstructor)[];
|
|
124
|
-
decorate: ObjectConstructor;
|
|
125
|
-
animation: StringConstructor;
|
|
126
|
-
duration: NumberConstructor;
|
|
127
|
-
transform: StringConstructor;
|
|
128
|
-
transformOrigin: StringConstructor;
|
|
129
|
-
repeat: {
|
|
130
|
-
type: NumberConstructor;
|
|
131
|
-
default: number;
|
|
132
|
-
};
|
|
133
|
-
delay: {
|
|
134
|
-
type: NumberConstructor;
|
|
135
|
-
default: number;
|
|
136
|
-
};
|
|
137
|
-
easing: {
|
|
138
|
-
type: StringConstructor;
|
|
139
|
-
default: string;
|
|
140
|
-
};
|
|
141
|
-
onAnimationEnd: FunctionConstructor;
|
|
142
|
-
autoStart: {
|
|
143
|
-
type: BooleanConstructor;
|
|
144
|
-
default: boolean;
|
|
145
|
-
};
|
|
146
|
-
texCoord: {
|
|
147
|
-
type: ObjectConstructor;
|
|
148
|
-
};
|
|
149
|
-
}>>, {
|
|
150
|
-
repeat: number;
|
|
151
|
-
easing: string;
|
|
152
|
-
delay: number;
|
|
153
|
-
autoStart: boolean;
|
|
154
|
-
}>;
|
|
155
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvTextureAnim/index.js}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export * from "./CommonType";
|
|
6
|
-
export default _JsvTextureAnim;
|
|
7
|
-
declare let _JsvTextureAnim: any;
|
|
8
|
-
export const TexAlignAnchor: {
|
|
9
|
-
LEFT_TOP: number;
|
|
10
|
-
CENTER_TOP: number;
|
|
11
|
-
RIGHT_TOP: number;
|
|
12
|
-
LEFT_MIDDLE: number;
|
|
13
|
-
CENTER: number;
|
|
14
|
-
RIGHT_MIDDLE: number;
|
|
15
|
-
LEFT_BOTTOM: number;
|
|
16
|
-
CENTER_BOTTOM: number;
|
|
17
|
-
RIGHT_BOTTOM: number;
|
|
18
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
// "checkJs": true,
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"declarationDir": "../../bin/types",
|
|
7
|
-
"emitDeclarationOnly": true,
|
|
8
|
-
"module": "es2022",
|
|
9
|
-
"moduleResolution": "node",
|
|
10
|
-
"strict": true,
|
|
11
|
-
"target": "es2022",
|
|
12
|
-
},
|
|
13
|
-
"include": [
|
|
14
|
-
"../../utils/index.js"
|
|
15
|
-
],
|
|
16
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
var number_convert_tmp = new Float32Array(1);
|
|
2
|
-
|
|
3
|
-
function numberCheckSet(number) {
|
|
4
|
-
number_convert_tmp[0] = number; // 强制类型转换, 避免JSON化时类型出错,因为 '123' 123 都能通过Nan检测
|
|
5
|
-
if (!isNaN(number_convert_tmp[0])) {
|
|
6
|
-
return number_convert_tmp[0];
|
|
7
|
-
} else {
|
|
8
|
-
console.warn(`${number} is not type of number, default as 0`);
|
|
9
|
-
return 0;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function urlCheckSet(origin_url) {
|
|
14
|
-
if (origin_url && origin_url.indexOf("http") === 0) {
|
|
15
|
-
return origin_url;
|
|
16
|
-
} else if (window.JsView.Dom.UrlRef) {
|
|
17
|
-
return (new window.JsView.Dom.UrlRef(origin_url)).href;
|
|
18
|
-
} else {
|
|
19
|
-
console.warn(`${origin_url} is not valid url format, default as null`);
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
numberCheckSet,
|
|
26
|
-
urlCheckSet
|
|
27
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { onMounted, onUnmounted } from "vue";
|
|
3
|
-
|
|
4
|
-
const props = defineProps({
|
|
5
|
-
style: {
|
|
6
|
-
type: Object,
|
|
7
|
-
required: true,
|
|
8
|
-
},
|
|
9
|
-
duration: {
|
|
10
|
-
type: Number,
|
|
11
|
-
default: -1,
|
|
12
|
-
},
|
|
13
|
-
autoplay: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: false,
|
|
16
|
-
},
|
|
17
|
-
shaderStr: {
|
|
18
|
-
type: String,
|
|
19
|
-
required: true,
|
|
20
|
-
},
|
|
21
|
-
// [{ name: string, value: number }]
|
|
22
|
-
uniforms: {
|
|
23
|
-
type: Array,
|
|
24
|
-
},
|
|
25
|
-
// [{ name: string, type: number, resource: object/string }]
|
|
26
|
-
textures: {
|
|
27
|
-
type: Array,
|
|
28
|
-
},
|
|
29
|
-
onEnd: {
|
|
30
|
-
type: Function,
|
|
31
|
-
},
|
|
32
|
-
onStart: {
|
|
33
|
-
type: Function,
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
let vMounted = false;
|
|
38
|
-
|
|
39
|
-
onMounted(() => {
|
|
40
|
-
vMounted = true;
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
onUnmounted(() => {
|
|
44
|
-
vMounted = false;
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
defineExpose({
|
|
48
|
-
startAnim: () => {
|
|
49
|
-
props.onStart?.();
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
if (vMounted) {
|
|
52
|
-
props.onEnd?.();
|
|
53
|
-
}
|
|
54
|
-
}, 0);
|
|
55
|
-
},
|
|
56
|
-
stopAnim: () => {},
|
|
57
|
-
});
|
|
58
|
-
</script>
|
|
59
|
-
<template>
|
|
60
|
-
<div
|
|
61
|
-
:style="{
|
|
62
|
-
left: style.left,
|
|
63
|
-
top: style.top,
|
|
64
|
-
width: style.width,
|
|
65
|
-
height: style.height,
|
|
66
|
-
backgroundColor: '#00000077',
|
|
67
|
-
fontSize: 50,
|
|
68
|
-
color: '#ffffff',
|
|
69
|
-
textAlign: 'center',
|
|
70
|
-
lineHeight: style.height,
|
|
71
|
-
}"
|
|
72
|
-
>
|
|
73
|
-
浏览器端未支持JsvFragShaderView
|
|
74
|
-
</div>
|
|
75
|
-
</template>
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { reactive, watchEffect, onBeforeUnmount } from "vue";
|
|
3
|
-
|
|
4
|
-
const props = defineProps({
|
|
5
|
-
preloadList: Array,
|
|
6
|
-
downloadList: Array,
|
|
7
|
-
onPreloadDone: Function, // 预加载完成回调
|
|
8
|
-
onDownloadDone: Function, // 预下载完成回调
|
|
9
|
-
onPreloading: Function,
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
const loadViewList = reactive({
|
|
13
|
-
preloadViewList: [],
|
|
14
|
-
downloadViewList: [],
|
|
15
|
-
});
|
|
16
|
-
// 记录传入的preload为null的数量,由于vue不支持在子组件修改props值,所有在删除值为null时,需要++,这样才能保证与传入数据的length相等从而触发回调
|
|
17
|
-
let preloadIsNullNum = 0;
|
|
18
|
-
let downloadIsNullNum = 0;
|
|
19
|
-
|
|
20
|
-
let preloadResultMap = {};
|
|
21
|
-
let downloadResultMap = {};
|
|
22
|
-
let downloadUrlList = [];
|
|
23
|
-
let unmountStatus = { unmount: false };
|
|
24
|
-
let preloadStateList = null;
|
|
25
|
-
let downloadStateList = null;
|
|
26
|
-
|
|
27
|
-
const getPreloadList = () => {
|
|
28
|
-
preloadStateList = new Array(props.preloadList.length).fill(false);
|
|
29
|
-
let preloadListData = props.preloadList;
|
|
30
|
-
for (let i = 0; i < preloadListData.length; i++) {
|
|
31
|
-
if (!preloadListData[i] || !preloadListData[i].url) {
|
|
32
|
-
preloadListData.splice(i, 1);
|
|
33
|
-
preloadIsNullNum++;
|
|
34
|
-
i--;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
loadViewList.preloadViewList = preloadListData.map((item, index) => {
|
|
38
|
-
if (!item || !item.url) {
|
|
39
|
-
preloadStateList[index] = true;
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
const image = new Image();
|
|
43
|
-
const unmount_track = unmountStatus;
|
|
44
|
-
image.onload = () => {
|
|
45
|
-
if (unmount_track.unmount) {
|
|
46
|
-
// 子组件已经卸载不再回调
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
preloadResultMap[item.url] = {
|
|
51
|
-
width: image.width,
|
|
52
|
-
height: image.height,
|
|
53
|
-
};
|
|
54
|
-
preloadStateList[index] = true;
|
|
55
|
-
let loadedNum = 0;
|
|
56
|
-
preloadStateList.map((item) => {
|
|
57
|
-
loadedNum += item ? 1 : 0;
|
|
58
|
-
});
|
|
59
|
-
props.onPreloading?.(loadedNum / preloadStateList.length);
|
|
60
|
-
if (
|
|
61
|
-
props.onPreloadDone &&
|
|
62
|
-
loadedNum + preloadIsNullNum == preloadStateList.length
|
|
63
|
-
) {
|
|
64
|
-
props.onPreloadDone?.(preloadResultMap);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
image.src = item.url;
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
const getDownloadList = () => {
|
|
72
|
-
downloadStateList = new Array(props.downloadList.length).fill(false);
|
|
73
|
-
downloadUrlList = new Array(downloadStateList.length);
|
|
74
|
-
let downloadListData = props.downloadList;
|
|
75
|
-
for (let i = 0; i < downloadListData.length; i++) {
|
|
76
|
-
if (!downloadListData[i] || !downloadListData[i].url) {
|
|
77
|
-
downloadListData.splice(i, 1);
|
|
78
|
-
downloadUrlList[i] = "invalid";
|
|
79
|
-
downloadIsNullNum++;
|
|
80
|
-
i--;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
loadViewList.downloadViewList = downloadListData.map((item, index) => {
|
|
84
|
-
if (!item || !item.url) {
|
|
85
|
-
downloadStateList[index] = true;
|
|
86
|
-
downloadUrlList[index] = "invalid";
|
|
87
|
-
return null;
|
|
88
|
-
}
|
|
89
|
-
const image = new Image();
|
|
90
|
-
const unmount_track = unmountStatus;
|
|
91
|
-
image.onload = () => {
|
|
92
|
-
if (unmount_track.unmount) {
|
|
93
|
-
// 子组件已经卸载不再回调
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
downloadStateList[index] = true;
|
|
98
|
-
downloadUrlList[index] = item.url;
|
|
99
|
-
downloadResultMap[item.url] = {
|
|
100
|
-
width: image.width,
|
|
101
|
-
height: image.height,
|
|
102
|
-
};
|
|
103
|
-
console.log(`pre download succeed ${item.url}`);
|
|
104
|
-
if (props.onDownloadDone) {
|
|
105
|
-
let downloadNum = 0;
|
|
106
|
-
downloadStateList.map((item) => {
|
|
107
|
-
downloadNum += item ? 1 : 0;
|
|
108
|
-
});
|
|
109
|
-
if (downloadNum + downloadIsNullNum == downloadStateList.length) {
|
|
110
|
-
props.onDownloadDone?.(downloadUrlList, downloadResultMap);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
image.src = item.url;
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
watchEffect(() => {
|
|
119
|
-
if (props.preloadList) {
|
|
120
|
-
console.log("JsvPreload: update preloadList");
|
|
121
|
-
preloadIsNullNum = 0;
|
|
122
|
-
preloadResultMap = {};
|
|
123
|
-
getPreloadList();
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
watchEffect(() => {
|
|
127
|
-
if (props.downloadList) {
|
|
128
|
-
console.log("JsvPreload: update downloadList");
|
|
129
|
-
downloadIsNullNum = 0;
|
|
130
|
-
downloadResultMap = {};
|
|
131
|
-
downloadUrlList = [];
|
|
132
|
-
getDownloadList();
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
onBeforeUnmount(() => {
|
|
137
|
-
unmountStatus.unmount = true;
|
|
138
|
-
});
|
|
139
|
-
</script>
|
|
140
|
-
|
|
141
|
-
<template>
|
|
142
|
-
<!-- 保证该组件不描画任何东西,只是为了触发onload,让网页自行下载图片 -->
|
|
143
|
-
<div v-if="!preloadList"></div>
|
|
144
|
-
</template>
|