@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
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* 回调函数,播放器对象通知接口
|
|
4
|
+
* @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
|
|
5
|
+
*/
|
|
6
|
+
onRef: {
|
|
7
|
+
type: FunctionConstructor;
|
|
8
|
+
default: () => void;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 属性,Boolean类型,true表示自动播放,默认false。
|
|
12
|
+
*/
|
|
13
|
+
autoplay: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 属性,String类型,播放器实例索引,同样的key使用同一个播放器实例。
|
|
19
|
+
*/
|
|
20
|
+
playerKey: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 属性,String类型,播放器窗口模式,默认resizable模式。
|
|
26
|
+
* full:观影模式,全屏方式,不建议修改w/h/l/t,视频清晰度/流畅度最佳;
|
|
27
|
+
* resizable:可变窗口模式,可以随意修改w/h/l/t,支持动画效果,视频清晰度/流畅度表现可能不如full模式;
|
|
28
|
+
* pip:画中画模式,只在支持多路硬解的情况下使用,用户画中画的小窗播放,对清晰度/流畅度要求较差,可能会有反交错问题。
|
|
29
|
+
*/
|
|
30
|
+
windowMode: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv视频播放器;3:jsv音频播放器。默认2。
|
|
36
|
+
*/
|
|
37
|
+
playerType: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* 属性,int类型,播放器解码方式。0:根据硬件能力自动匹配;1:硬解码;2:软解码。默认0(根据芯片能力自动匹配)。
|
|
43
|
+
*/
|
|
44
|
+
decodeType: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* 属性,Boolean类型,层级关系,true表示在界面的下面,false表示在界面上面,默认true。
|
|
50
|
+
*/
|
|
51
|
+
background: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* 属性,Boolean类型,true表示静音,默认false。
|
|
57
|
+
*/
|
|
58
|
+
muted: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* 属性,Boolean类型,true表示循环播放,默认false。
|
|
64
|
+
*/
|
|
65
|
+
loop: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* 属性,String类型,播放地址。
|
|
71
|
+
*/
|
|
72
|
+
src: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* 属性,Double类型,起播时间,0-duration。
|
|
78
|
+
*/
|
|
79
|
+
currentTime: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* 属性,Boolean类型,是否保留最后一帧,true保留,false不保留。
|
|
85
|
+
*/
|
|
86
|
+
keepLastFrame: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* 属性,String类型,视频显示比例,origin原始比例显示,full全屏显示,x:y按照指定比例显示。
|
|
92
|
+
*/
|
|
93
|
+
videoAspectRatio: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* 属性,JSON Object类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
|
|
99
|
+
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
100
|
+
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
101
|
+
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
102
|
+
* edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
|
|
103
|
+
* greenOffset,float类型,红蓝差值,范围0-1.0。
|
|
104
|
+
* 目前只支持扣绿。
|
|
105
|
+
*/
|
|
106
|
+
chromaKey: {
|
|
107
|
+
type: ObjectConstructor;
|
|
108
|
+
default: null;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* 回调函数,播放结束时通过此回调接口通知。
|
|
112
|
+
*/
|
|
113
|
+
onEnded: {
|
|
114
|
+
type: FunctionConstructor;
|
|
115
|
+
default: () => {};
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* 回调函数,播放错误时通过此接口通知。
|
|
119
|
+
* @param {int} 错误类型,当前定义了四种错误。1是异常中断;2是网络错误;3是解码错误;4是格式不支持。
|
|
120
|
+
*/
|
|
121
|
+
onError: {
|
|
122
|
+
type: FunctionConstructor;
|
|
123
|
+
default: () => {};
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* 回调函数,当正常播放时,每0.5秒上报一次,回调接口里会带上当前时间,也可以使用video对象的currentTime属性去获取当前时间。
|
|
127
|
+
* @param {Long} 当前播放时间,单位秒。
|
|
128
|
+
*/
|
|
129
|
+
onTimeUpdate: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
default: () => {};
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* 回调函数,开始加载,设置完播放地址后,上报此事件。
|
|
135
|
+
*/
|
|
136
|
+
onLoadStart: {
|
|
137
|
+
type: FunctionConstructor;
|
|
138
|
+
default: () => {};
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* 回调函数,开始正常播放,同一个播放地址仅触发一次。
|
|
142
|
+
*/
|
|
143
|
+
onCanPlayThrough: {
|
|
144
|
+
type: FunctionConstructor;
|
|
145
|
+
default: () => {};
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* 回调函数,正常下载,duration不变的情况下只触发一次。
|
|
149
|
+
*/
|
|
150
|
+
onProgress: {
|
|
151
|
+
type: FunctionConstructor;
|
|
152
|
+
default: () => {};
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* 回调函数,视频准备好后触发。
|
|
156
|
+
*/
|
|
157
|
+
onLoadedMetaData: {
|
|
158
|
+
type: FunctionConstructor;
|
|
159
|
+
default: () => {};
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* 回调函数,视频准备好后触发,这个时候可以正常seek。
|
|
163
|
+
*/
|
|
164
|
+
onLoad: {
|
|
165
|
+
type: FunctionConstructor;
|
|
166
|
+
default: () => {};
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* 回调函数,视频准备好后触发,这个时候可以获取duration。
|
|
170
|
+
*/
|
|
171
|
+
onDurationChange: {
|
|
172
|
+
type: FunctionConstructor;
|
|
173
|
+
default: () => {};
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* 回调函数,视频准备好后,seek(修改currentTime)会出发此事件。
|
|
177
|
+
*/
|
|
178
|
+
onSeeking: {
|
|
179
|
+
type: FunctionConstructor;
|
|
180
|
+
default: () => {};
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* 回调函数,seek完成后触发此事件。
|
|
184
|
+
*/
|
|
185
|
+
onSeeked: {
|
|
186
|
+
type: FunctionConstructor;
|
|
187
|
+
default: () => {};
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* 回调函数,缓冲时触发。
|
|
191
|
+
*/
|
|
192
|
+
onStalled: {
|
|
193
|
+
type: FunctionConstructor;
|
|
194
|
+
default: () => {};
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* 回调函数,正常播放后触发。
|
|
198
|
+
*/
|
|
199
|
+
onPlaying: {
|
|
200
|
+
type: FunctionConstructor;
|
|
201
|
+
default: () => {};
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* 回调函数,正常显示后触发此事件。
|
|
205
|
+
*/
|
|
206
|
+
onCanPlay: {
|
|
207
|
+
type: FunctionConstructor;
|
|
208
|
+
default: () => {};
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* 回调函数,音频失去焦点后触发此事件,可能会导致pause(点播)或者离开频道(直播)。
|
|
212
|
+
*/
|
|
213
|
+
onAudioFocusLoss: {
|
|
214
|
+
type: FunctionConstructor;
|
|
215
|
+
default: () => {};
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* 回调函数,音频获取焦点后触发此事件,可能会触发resume(点播)或者加入频道(直播)。
|
|
219
|
+
*/
|
|
220
|
+
onAudioFocusGain: {
|
|
221
|
+
type: FunctionConstructor;
|
|
222
|
+
default: () => {};
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* 回调函数,直播进入时移状态时,触发此事件。
|
|
226
|
+
*/
|
|
227
|
+
onTimeShift: {
|
|
228
|
+
type: FunctionConstructor;
|
|
229
|
+
default: () => {};
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* 回调函数,直播进入时移状态时,成功播放触发此事件。
|
|
233
|
+
*/
|
|
234
|
+
onTimeShifted: {
|
|
235
|
+
type: FunctionConstructor;
|
|
236
|
+
default: () => {};
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* 回调函数,时移回到直播状态,触发此事件。
|
|
240
|
+
*/
|
|
241
|
+
onBackLive: {
|
|
242
|
+
type: FunctionConstructor;
|
|
243
|
+
default: () => {};
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* 回调函数,时移回到直播状态时,成功播放触发此事件。
|
|
247
|
+
*/
|
|
248
|
+
onBackLived: {
|
|
249
|
+
type: FunctionConstructor;
|
|
250
|
+
default: () => {};
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* 属性,Object类型,设置窗口属性,同其他组件的style设置。
|
|
254
|
+
*/
|
|
255
|
+
style: {
|
|
256
|
+
type: ObjectConstructor;
|
|
257
|
+
default: () => {};
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* 属性,Boolean类型,活跃状态,当多个JsvPlayer组件指向一个video对象时,只能有一个处于活跃状态。
|
|
261
|
+
* 视频显示在活跃JsvPlayer设置的显示区域内,事件通知也只会送给活跃的JsvPlayer组件注册的回调函数。
|
|
262
|
+
*/
|
|
263
|
+
active: {
|
|
264
|
+
type: BooleanConstructor;
|
|
265
|
+
default: boolean;
|
|
266
|
+
};
|
|
267
|
+
corner: {
|
|
268
|
+
type: NumberConstructor;
|
|
269
|
+
default: number;
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
video: null;
|
|
273
|
+
holeId: string;
|
|
274
|
+
}, {
|
|
275
|
+
holeStyle: {};
|
|
276
|
+
}, {}, {
|
|
277
|
+
getHoleId(id: any): void;
|
|
278
|
+
registerEvent(): void;
|
|
279
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
280
|
+
/**
|
|
281
|
+
* 回调函数,播放器对象通知接口
|
|
282
|
+
* @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
|
|
283
|
+
*/
|
|
284
|
+
onRef: {
|
|
285
|
+
type: FunctionConstructor;
|
|
286
|
+
default: () => void;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* 属性,Boolean类型,true表示自动播放,默认false。
|
|
290
|
+
*/
|
|
291
|
+
autoplay: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* 属性,String类型,播放器实例索引,同样的key使用同一个播放器实例。
|
|
297
|
+
*/
|
|
298
|
+
playerKey: {
|
|
299
|
+
type: StringConstructor;
|
|
300
|
+
default: null;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* 属性,String类型,播放器窗口模式,默认resizable模式。
|
|
304
|
+
* full:观影模式,全屏方式,不建议修改w/h/l/t,视频清晰度/流畅度最佳;
|
|
305
|
+
* resizable:可变窗口模式,可以随意修改w/h/l/t,支持动画效果,视频清晰度/流畅度表现可能不如full模式;
|
|
306
|
+
* pip:画中画模式,只在支持多路硬解的情况下使用,用户画中画的小窗播放,对清晰度/流畅度要求较差,可能会有反交错问题。
|
|
307
|
+
*/
|
|
308
|
+
windowMode: {
|
|
309
|
+
type: StringConstructor;
|
|
310
|
+
default: string;
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv视频播放器;3:jsv音频播放器。默认2。
|
|
314
|
+
*/
|
|
315
|
+
playerType: {
|
|
316
|
+
type: NumberConstructor;
|
|
317
|
+
default: number;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* 属性,int类型,播放器解码方式。0:根据硬件能力自动匹配;1:硬解码;2:软解码。默认0(根据芯片能力自动匹配)。
|
|
321
|
+
*/
|
|
322
|
+
decodeType: {
|
|
323
|
+
type: NumberConstructor;
|
|
324
|
+
default: number;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* 属性,Boolean类型,层级关系,true表示在界面的下面,false表示在界面上面,默认true。
|
|
328
|
+
*/
|
|
329
|
+
background: {
|
|
330
|
+
type: BooleanConstructor;
|
|
331
|
+
default: boolean;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* 属性,Boolean类型,true表示静音,默认false。
|
|
335
|
+
*/
|
|
336
|
+
muted: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* 属性,Boolean类型,true表示循环播放,默认false。
|
|
342
|
+
*/
|
|
343
|
+
loop: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* 属性,String类型,播放地址。
|
|
349
|
+
*/
|
|
350
|
+
src: {
|
|
351
|
+
type: StringConstructor;
|
|
352
|
+
default: string;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* 属性,Double类型,起播时间,0-duration。
|
|
356
|
+
*/
|
|
357
|
+
currentTime: {
|
|
358
|
+
type: NumberConstructor;
|
|
359
|
+
default: number;
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* 属性,Boolean类型,是否保留最后一帧,true保留,false不保留。
|
|
363
|
+
*/
|
|
364
|
+
keepLastFrame: {
|
|
365
|
+
type: BooleanConstructor;
|
|
366
|
+
default: boolean;
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* 属性,String类型,视频显示比例,origin原始比例显示,full全屏显示,x:y按照指定比例显示。
|
|
370
|
+
*/
|
|
371
|
+
videoAspectRatio: {
|
|
372
|
+
type: StringConstructor;
|
|
373
|
+
default: string;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* 属性,JSON Object类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
|
|
377
|
+
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
378
|
+
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
379
|
+
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
380
|
+
* edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
|
|
381
|
+
* greenOffset,float类型,红蓝差值,范围0-1.0。
|
|
382
|
+
* 目前只支持扣绿。
|
|
383
|
+
*/
|
|
384
|
+
chromaKey: {
|
|
385
|
+
type: ObjectConstructor;
|
|
386
|
+
default: null;
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* 回调函数,播放结束时通过此回调接口通知。
|
|
390
|
+
*/
|
|
391
|
+
onEnded: {
|
|
392
|
+
type: FunctionConstructor;
|
|
393
|
+
default: () => {};
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* 回调函数,播放错误时通过此接口通知。
|
|
397
|
+
* @param {int} 错误类型,当前定义了四种错误。1是异常中断;2是网络错误;3是解码错误;4是格式不支持。
|
|
398
|
+
*/
|
|
399
|
+
onError: {
|
|
400
|
+
type: FunctionConstructor;
|
|
401
|
+
default: () => {};
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* 回调函数,当正常播放时,每0.5秒上报一次,回调接口里会带上当前时间,也可以使用video对象的currentTime属性去获取当前时间。
|
|
405
|
+
* @param {Long} 当前播放时间,单位秒。
|
|
406
|
+
*/
|
|
407
|
+
onTimeUpdate: {
|
|
408
|
+
type: FunctionConstructor;
|
|
409
|
+
default: () => {};
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* 回调函数,开始加载,设置完播放地址后,上报此事件。
|
|
413
|
+
*/
|
|
414
|
+
onLoadStart: {
|
|
415
|
+
type: FunctionConstructor;
|
|
416
|
+
default: () => {};
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* 回调函数,开始正常播放,同一个播放地址仅触发一次。
|
|
420
|
+
*/
|
|
421
|
+
onCanPlayThrough: {
|
|
422
|
+
type: FunctionConstructor;
|
|
423
|
+
default: () => {};
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* 回调函数,正常下载,duration不变的情况下只触发一次。
|
|
427
|
+
*/
|
|
428
|
+
onProgress: {
|
|
429
|
+
type: FunctionConstructor;
|
|
430
|
+
default: () => {};
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* 回调函数,视频准备好后触发。
|
|
434
|
+
*/
|
|
435
|
+
onLoadedMetaData: {
|
|
436
|
+
type: FunctionConstructor;
|
|
437
|
+
default: () => {};
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* 回调函数,视频准备好后触发,这个时候可以正常seek。
|
|
441
|
+
*/
|
|
442
|
+
onLoad: {
|
|
443
|
+
type: FunctionConstructor;
|
|
444
|
+
default: () => {};
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* 回调函数,视频准备好后触发,这个时候可以获取duration。
|
|
448
|
+
*/
|
|
449
|
+
onDurationChange: {
|
|
450
|
+
type: FunctionConstructor;
|
|
451
|
+
default: () => {};
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* 回调函数,视频准备好后,seek(修改currentTime)会出发此事件。
|
|
455
|
+
*/
|
|
456
|
+
onSeeking: {
|
|
457
|
+
type: FunctionConstructor;
|
|
458
|
+
default: () => {};
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* 回调函数,seek完成后触发此事件。
|
|
462
|
+
*/
|
|
463
|
+
onSeeked: {
|
|
464
|
+
type: FunctionConstructor;
|
|
465
|
+
default: () => {};
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* 回调函数,缓冲时触发。
|
|
469
|
+
*/
|
|
470
|
+
onStalled: {
|
|
471
|
+
type: FunctionConstructor;
|
|
472
|
+
default: () => {};
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* 回调函数,正常播放后触发。
|
|
476
|
+
*/
|
|
477
|
+
onPlaying: {
|
|
478
|
+
type: FunctionConstructor;
|
|
479
|
+
default: () => {};
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* 回调函数,正常显示后触发此事件。
|
|
483
|
+
*/
|
|
484
|
+
onCanPlay: {
|
|
485
|
+
type: FunctionConstructor;
|
|
486
|
+
default: () => {};
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* 回调函数,音频失去焦点后触发此事件,可能会导致pause(点播)或者离开频道(直播)。
|
|
490
|
+
*/
|
|
491
|
+
onAudioFocusLoss: {
|
|
492
|
+
type: FunctionConstructor;
|
|
493
|
+
default: () => {};
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* 回调函数,音频获取焦点后触发此事件,可能会触发resume(点播)或者加入频道(直播)。
|
|
497
|
+
*/
|
|
498
|
+
onAudioFocusGain: {
|
|
499
|
+
type: FunctionConstructor;
|
|
500
|
+
default: () => {};
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* 回调函数,直播进入时移状态时,触发此事件。
|
|
504
|
+
*/
|
|
505
|
+
onTimeShift: {
|
|
506
|
+
type: FunctionConstructor;
|
|
507
|
+
default: () => {};
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* 回调函数,直播进入时移状态时,成功播放触发此事件。
|
|
511
|
+
*/
|
|
512
|
+
onTimeShifted: {
|
|
513
|
+
type: FunctionConstructor;
|
|
514
|
+
default: () => {};
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* 回调函数,时移回到直播状态,触发此事件。
|
|
518
|
+
*/
|
|
519
|
+
onBackLive: {
|
|
520
|
+
type: FunctionConstructor;
|
|
521
|
+
default: () => {};
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* 回调函数,时移回到直播状态时,成功播放触发此事件。
|
|
525
|
+
*/
|
|
526
|
+
onBackLived: {
|
|
527
|
+
type: FunctionConstructor;
|
|
528
|
+
default: () => {};
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* 属性,Object类型,设置窗口属性,同其他组件的style设置。
|
|
532
|
+
*/
|
|
533
|
+
style: {
|
|
534
|
+
type: ObjectConstructor;
|
|
535
|
+
default: () => {};
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* 属性,Boolean类型,活跃状态,当多个JsvPlayer组件指向一个video对象时,只能有一个处于活跃状态。
|
|
539
|
+
* 视频显示在活跃JsvPlayer设置的显示区域内,事件通知也只会送给活跃的JsvPlayer组件注册的回调函数。
|
|
540
|
+
*/
|
|
541
|
+
active: {
|
|
542
|
+
type: BooleanConstructor;
|
|
543
|
+
default: boolean;
|
|
544
|
+
};
|
|
545
|
+
corner: {
|
|
546
|
+
type: NumberConstructor;
|
|
547
|
+
default: number;
|
|
548
|
+
};
|
|
549
|
+
}>>, {
|
|
550
|
+
style: Record<string, any>;
|
|
551
|
+
onLoad: Function;
|
|
552
|
+
onError: Function;
|
|
553
|
+
onEnded: Function;
|
|
554
|
+
onPlaying: Function;
|
|
555
|
+
onProgress: Function;
|
|
556
|
+
onSeeked: Function;
|
|
557
|
+
onSeeking: Function;
|
|
558
|
+
onStalled: Function;
|
|
559
|
+
background: boolean;
|
|
560
|
+
onLoadStart: Function;
|
|
561
|
+
onAudioFocusGain: Function;
|
|
562
|
+
onAudioFocusLoss: Function;
|
|
563
|
+
src: string;
|
|
564
|
+
autoplay: boolean;
|
|
565
|
+
loop: boolean;
|
|
566
|
+
muted: boolean;
|
|
567
|
+
currentTime: number;
|
|
568
|
+
onRef: Function;
|
|
569
|
+
playerKey: string;
|
|
570
|
+
onLoadedMetaData: Function;
|
|
571
|
+
playerType: number;
|
|
572
|
+
active: boolean;
|
|
573
|
+
keepLastFrame: boolean;
|
|
574
|
+
windowMode: string;
|
|
575
|
+
decodeType: number;
|
|
576
|
+
videoAspectRatio: string;
|
|
577
|
+
chromaKey: Record<string, any>;
|
|
578
|
+
onTimeUpdate: Function;
|
|
579
|
+
onCanPlayThrough: Function;
|
|
580
|
+
onDurationChange: Function;
|
|
581
|
+
onCanPlay: Function;
|
|
582
|
+
onTimeShift: Function;
|
|
583
|
+
onTimeShifted: Function;
|
|
584
|
+
onBackLive: Function;
|
|
585
|
+
onBackLived: Function;
|
|
586
|
+
corner: number;
|
|
587
|
+
}>;
|
|
588
|
+
export default _default;
|