@shijiu/jsview-vue 2.3.151-test.0 → 3.0.0-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/browser/BrowserAudio.mjs +200 -0
- package/bin/browser/BrowserJsvLatex.mjs +61 -0
- package/bin/export-sfc.mjs +8 -9
- package/bin/jsview-vue-common.mjs +9 -35
- package/bin/jsview-vue.mjs +22246 -23643
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +9 -71
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +18 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +10 -7
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +19 -178
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +19 -178
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +24 -3
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +25 -5
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +9 -47
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +40 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +6 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
- package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +17 -7
- package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
- package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +140 -7
- package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +12 -11
- package/bin/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +10 -10
- package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +204 -17
- package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -1
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +11 -11
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.ts +11 -11
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +75 -12
- package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +88 -13
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +5 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +39 -12
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +120 -17
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +108 -29
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +8 -7
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +614 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +36 -34
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +89 -30
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +89 -30
- package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +11 -11
- package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
- package/bin/types/utils/JsViewVueTools/DebugTool.d.ts +1 -1
- package/bin/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +7 -7
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +3 -3
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +76 -26
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/index.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +10 -98
- package/bin/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +10 -114
- package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +20 -61
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +44 -13
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +12 -11
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +5 -5
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +16 -10
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +21 -17
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +19 -16
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +7 -7
- package/bin/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +12 -66
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +73 -12
- package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +59 -10
- package/bin/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +41 -81
- package/bin/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +17 -100
- package/bin/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +13 -50
- package/bin/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +50 -70
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +32 -68
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +57 -74
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +41 -71
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +83 -14
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +79 -83
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +70 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +20 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +108 -5
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +88 -3
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +6 -1
- package/bin/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +19 -18
- package/bin/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +34 -11
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +193 -6
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +54 -11
- package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +89 -11
- package/bin/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +9 -8
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +2 -2
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +170 -138
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +5 -5
- package/bin/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +48 -72
- package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +139 -20
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +56 -8
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +20 -11
- package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +63 -11
- package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +8 -7
- package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +95 -12
- package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +2 -2
- package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +51 -78
- package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +5 -4
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +84 -193
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +23 -148
- package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +56 -9
- package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +22 -67
- package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +44 -10
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +47 -14
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +26 -67
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +7 -6
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +147 -109
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +173 -16
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +216 -139
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +7 -6
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +101 -96
- package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +89 -74
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +21 -20
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +43 -70
- package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +6 -5
- package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +62 -82
- package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +95 -74
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +51 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +105 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +51 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +105 -0
- package/bin/types/utils/JsViewVueWidget/index.d.ts +5 -3
- package/package.json +2 -2
- package/tools/jsview-vue-build.mjs +13 -9
- package/tsconfig.json +2 -2
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +24 -2
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +183 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +269 -122
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +989 -357
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +138 -41
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -0
- package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
- package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
- package/utils/JsViewEngineWidget/RectUtils.js +1 -1
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +50 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +342 -174
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +12 -5
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
- package/utils/JsViewEngineWidget/WidgetCommon.ts +17 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +54 -12
- package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +15 -2
- package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
- package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
- package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
- package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
- package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
- package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +60 -10
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
- package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
- package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
- package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
- package/utils/JsViewVueTools/BlobApi.ts +55 -0
- package/utils/JsViewVueTools/FeatureActive.ts +3 -0
- package/utils/JsViewVueTools/ForgeHandles.ts +3 -0
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +25 -18
- package/utils/JsViewVueTools/JsvTextTools.ts +9 -1
- package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +16 -1
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +154 -69
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +1 -1
- package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
- package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
- package/utils/JsViewVueTools/index.js +3 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
- package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +1 -1
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +11 -2
- package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +1 -1
- package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +23 -11
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +242 -25
- package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +1 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +11 -5
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +118 -6
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +56 -14
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +2 -1
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
- package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
- package/utils/JsViewVueWidget/JsvNinePatch.vue +13 -8
- package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +32 -29
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +25 -3
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +0 -3
- package/utils/JsViewVueWidget/JsvSector.vue +66 -28
- package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
- package/utils/JsViewVueWidget/index.js +6 -2
- package/bin/browser/BrowserAudio.vue.mjs +0 -258
- package/bin/browser/BrowserJsvLatex.vue.mjs +0 -145
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.ts +0 -10
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.d.ts +0 -7
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +0 -78
- package/bin/types/utils/JsViewVueWidget/JsvPosterDiv.vue.d.ts +0 -63
- package/bin/types/utils/JsViewVueWidget/JsvPosterImage.vue.d.ts +0 -78
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.ts +0 -36
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
|
@@ -3,8 +3,8 @@ export class JsvMediaVideo extends JsvMedia {
|
|
|
3
3
|
/**
|
|
4
4
|
* 属性,string类型,设置海报地址,未实现。
|
|
5
5
|
*/
|
|
6
|
-
set poster(
|
|
7
|
-
set videoAspectRatio(
|
|
6
|
+
set poster(value: any);
|
|
7
|
+
set videoAspectRatio(value: any);
|
|
8
8
|
/**
|
|
9
9
|
* 属性,string类型,设置和读取显示模式。
|
|
10
10
|
* full(fill模式)表示拉升至充满显示区域;origin(contain模式)表示原始比例缩放至宽或高和显示区域相等(不超过显示区域);x:y表示按照指定比例显示。
|
|
@@ -123,7 +123,44 @@ export function logDebug(message: any): void;
|
|
|
123
123
|
export function logTrace(message: any): void;
|
|
124
124
|
export function setJsvPlayerDebugMode(mode: any): void;
|
|
125
125
|
export function getJsvPlayerRunningNum(): any;
|
|
126
|
-
|
|
126
|
+
/**
|
|
127
|
+
* 设置运营商信息,主要用于不同运营商特殊的配置
|
|
128
|
+
* @param {*} operator 运营商信息。
|
|
129
|
+
*/
|
|
130
|
+
export function setOperator(operator: any): void;
|
|
131
|
+
/**
|
|
132
|
+
* 设置组播网络连通性探测频道
|
|
133
|
+
* @param {Number} mixNo 探测的频道ID
|
|
134
|
+
*/
|
|
135
|
+
export function setProbeMulticastChannelID(mixNo: number): void;
|
|
136
|
+
/**
|
|
137
|
+
* 设置组播网络连通性探测地址
|
|
138
|
+
* @param {String} url 探测的组播地址,需是igmp协议格式,如igmp://224.0.0.1:xxxx
|
|
139
|
+
*/
|
|
140
|
+
export function setProbeMulticastUrl(url: string): void;
|
|
141
|
+
/**
|
|
142
|
+
* 注册视频流重试时的监听接口,用于上报log使用。当listener = null时,相当于注销监听。同时只能有一个全局监听接口,后注册的会覆盖之前注册的。
|
|
143
|
+
* 如果通过组件注册了播放器此事件的监听,不会通过此接口通知。
|
|
144
|
+
* @param {function name(data) {
|
|
145
|
+
let obj = JSON.parse(data);
|
|
146
|
+
let old_src = obj["oldSrc"]; //String类型,报错的url
|
|
147
|
+
let new_src = obj["newSrc"]; //String类型,重新尝试的URL,如果oldSrc正常播放了,会继续使用oldSrc,否则看是否有备份URL,对于直播,会使用时移地址作为备份URL。
|
|
148
|
+
let same_src = obj["sameSrc"]; //boolean类型,old_src是否和new_src相等。
|
|
149
|
+
let video_type = obj["videoType"]; //播放场景。1是点播场景;2是直播场景,3是直播时移场景;4是直播回看场景。
|
|
150
|
+
}}
|
|
151
|
+
*/
|
|
152
|
+
export function registerStreamChangedListener(listener: any): void;
|
|
153
|
+
/**
|
|
154
|
+
* 设置移动卡花事件上报相关参数
|
|
155
|
+
* @param {string} param json格式
|
|
156
|
+
*/
|
|
157
|
+
export function setMobileEventParam(param: string): void;
|
|
158
|
+
/**
|
|
159
|
+
* 设置stbid
|
|
160
|
+
* @param {string} stbid 机顶盒stbid
|
|
161
|
+
*/
|
|
162
|
+
export function setStbID(stbid: string): void;
|
|
163
|
+
export function setGlobalEventListener(listener: any): void;
|
|
127
164
|
declare class JsvMedia extends JsvBaseMedia {
|
|
128
165
|
}
|
|
129
166
|
declare class JsvBaseMedia {
|
|
@@ -140,9 +177,10 @@ declare class JsvBaseMedia {
|
|
|
140
177
|
keepLastFrame: boolean;
|
|
141
178
|
timeUpdateLess: boolean;
|
|
142
179
|
rate: number;
|
|
143
|
-
volume:
|
|
180
|
+
volume: null;
|
|
144
181
|
chromaKey: null;
|
|
145
182
|
audioTrack: number;
|
|
183
|
+
videoDeltaTime: number;
|
|
146
184
|
};
|
|
147
185
|
local: {
|
|
148
186
|
currentTime: number;
|
|
@@ -169,6 +207,7 @@ declare class JsvBaseMedia {
|
|
|
169
207
|
frameRateLimit: boolean;
|
|
170
208
|
_onEvent: (event_str: any) => void;
|
|
171
209
|
_onVisibilityChangeCallBack: () => void;
|
|
210
|
+
srcList: any[];
|
|
172
211
|
/**
|
|
173
212
|
* 私有接口,外部不需要调用此接口。
|
|
174
213
|
*/
|
|
@@ -206,8 +245,8 @@ declare class JsvBaseMedia {
|
|
|
206
245
|
/**
|
|
207
246
|
* 属性,boolean类型,不支持读取,true表示自动播放。
|
|
208
247
|
*/
|
|
209
|
-
set autoplay(
|
|
210
|
-
set currentTime(
|
|
248
|
+
set autoplay(value: any);
|
|
249
|
+
set currentTime(value: any);
|
|
211
250
|
/**
|
|
212
251
|
* 属性,double类型,当前时间,单位秒,set用于seek操作(起播后)或者设置起播时间(起播前),get用于读取当前时间。
|
|
213
252
|
*/
|
|
@@ -219,8 +258,8 @@ declare class JsvBaseMedia {
|
|
|
219
258
|
/**
|
|
220
259
|
* 属性,boolean类型,不支持读取,true表示循环播放。
|
|
221
260
|
*/
|
|
222
|
-
set loop(
|
|
223
|
-
set muted(
|
|
261
|
+
set loop(value: any);
|
|
262
|
+
set muted(value: any);
|
|
224
263
|
/**
|
|
225
264
|
* 属性,boolean类型,设置和获取静音状态。
|
|
226
265
|
*/
|
|
@@ -229,12 +268,12 @@ declare class JsvBaseMedia {
|
|
|
229
268
|
* 属性,boolean类型,当前pause状态,只支持读取。
|
|
230
269
|
*/
|
|
231
270
|
get paused(): any;
|
|
232
|
-
set playbackRate(
|
|
271
|
+
set playbackRate(value: any);
|
|
233
272
|
/**
|
|
234
273
|
* 属性,float类型,设置或者读取倍速播放,通常的值是0.5、0.75、1.0、1.25、1.5、2.0、3.0。
|
|
235
274
|
*/
|
|
236
275
|
get playbackRate(): any;
|
|
237
|
-
set preload(
|
|
276
|
+
set preload(value: "none" | "auto");
|
|
238
277
|
/**
|
|
239
278
|
* 已废弃。
|
|
240
279
|
*/
|
|
@@ -242,13 +281,21 @@ declare class JsvBaseMedia {
|
|
|
242
281
|
/**
|
|
243
282
|
* 属性,string类型,播放地址,不支持读取。
|
|
244
283
|
*/
|
|
245
|
-
set src(
|
|
246
|
-
set volume(
|
|
284
|
+
set src(value: any);
|
|
285
|
+
set volume(value: any);
|
|
247
286
|
/**
|
|
248
287
|
* 属性,float类型,播放器音量,0-1.0,只影响当前播放器实例。
|
|
249
288
|
*/
|
|
250
289
|
get volume(): any;
|
|
251
|
-
|
|
290
|
+
/**
|
|
291
|
+
* 属性,float类型,播放器左声道音量,0-1.0。
|
|
292
|
+
*/
|
|
293
|
+
get leftVolume(): any;
|
|
294
|
+
/**
|
|
295
|
+
* 属性,float类型,播放器右声道音量,0-1.0。
|
|
296
|
+
*/
|
|
297
|
+
get rightVolume(): any;
|
|
298
|
+
set startTime(value: any);
|
|
252
299
|
/**
|
|
253
300
|
* 属性,double类型,起播时间,单位秒,可使用currentTime代替。
|
|
254
301
|
*/
|
|
@@ -260,11 +307,11 @@ declare class JsvBaseMedia {
|
|
|
260
307
|
/**
|
|
261
308
|
* 属性,boolean类型,true表示关闭timeupdate事件上报。
|
|
262
309
|
*/
|
|
263
|
-
set timeupdateless(
|
|
310
|
+
set timeupdateless(value: any);
|
|
264
311
|
/**
|
|
265
312
|
* 属性,boolean类型,true表示保留最后一帧,false表示不保留。
|
|
266
313
|
*/
|
|
267
|
-
set keepLastFrame(
|
|
314
|
+
set keepLastFrame(value: any);
|
|
268
315
|
/**
|
|
269
316
|
* 设置播放地址。
|
|
270
317
|
* @param {string} url 播放地址。
|
|
@@ -280,6 +327,19 @@ declare class JsvBaseMedia {
|
|
|
280
327
|
* @param {int} 用户频道号,只在直播回看状态下需要设置
|
|
281
328
|
*/
|
|
282
329
|
setSrc(url: string, windowMode: string, head: string, type: int, timeShift: double, resolution: any, mixNo: any): void;
|
|
330
|
+
/**
|
|
331
|
+
* 添加短视频播放地址列表,数组格式。
|
|
332
|
+
* @param {array} url_list 播放地址列表,数组格式,[url1, url2, ...]。
|
|
333
|
+
*/
|
|
334
|
+
addSrcList(url_list: array): void;
|
|
335
|
+
removeSrcList(url_list: any): void;
|
|
336
|
+
changeUrl(url: any): void;
|
|
337
|
+
/**
|
|
338
|
+
* 设置音量,可以分别设置左声道和右声道,如果只用左声道,把rightVolume设置为0,如果只使用右声道,把leftVolume设置为0。
|
|
339
|
+
* @param {float} leftVolume 左声道音量,0-1.0
|
|
340
|
+
* @param {float} rightVolume 右声道音量,0-1.0
|
|
341
|
+
*/
|
|
342
|
+
setVolume(leftVolume: float, rightVolume: float): void;
|
|
283
343
|
/**
|
|
284
344
|
* 添加监听事件。
|
|
285
345
|
* @param {string} type 事件类型。
|
|
@@ -318,6 +378,13 @@ declare class JsvBaseMedia {
|
|
|
318
378
|
*/
|
|
319
379
|
unload(): void;
|
|
320
380
|
unloadPrivate(): void;
|
|
381
|
+
/**
|
|
382
|
+
* 视频和音频同步时间的差值,当视频比音频快时,设置大于0的时间差值,当视频比音频慢,设置小于0的时间差值,单位为毫秒。播放器会使用视频时间戳+差值去和音频做同步。
|
|
383
|
+
* 只有jsv视频播放器(playerType=2)时支持。
|
|
384
|
+
* @param {int} time 时间差值,单位ms。
|
|
385
|
+
* @returns {int} 0,表示成功;-1,表示失败
|
|
386
|
+
*/
|
|
387
|
+
videoSynTime(time: int): int;
|
|
321
388
|
/**
|
|
322
389
|
* 要求终端访问指定的频道,并立即返回。对由本地设置为跳过的频道,也返回-1。
|
|
323
390
|
* 频道地址为通过 CTCSetConfig 设置的频道列表中的地址:
|
|
@@ -391,19 +458,55 @@ declare class JsvBaseMedia {
|
|
|
391
458
|
/**
|
|
392
459
|
* 设置色度抠像参数,只支持扣绿。
|
|
393
460
|
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
394
|
-
* @param {
|
|
461
|
+
* @param {string} chromaKey,抠像参数,JSON Object结构,包含的参数如下:
|
|
395
462
|
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
396
463
|
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
397
464
|
* edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
|
|
398
465
|
* greenOffset,float类型,红蓝差值,范围0-1.0。
|
|
399
466
|
*/
|
|
400
|
-
setChromaKey(chromaKey:
|
|
467
|
+
setChromaKey(chromaKey: string): void;
|
|
401
468
|
setDebugMode(mode: any): any;
|
|
402
469
|
/**
|
|
403
470
|
* 获取是否支持倍速设置,在onCanPlay事件发送以后,通过此接口查询。
|
|
404
471
|
* @returns {boolean} true:支持播放倍速设置;false:不支持播放倍速设置。
|
|
405
472
|
* */
|
|
406
473
|
supportPlaybackRateSet(): boolean;
|
|
474
|
+
/**
|
|
475
|
+
* 获取视频信息,包括配置参数,视频状态,视频格式参数等。
|
|
476
|
+
* @returns {string} 视频信息字符串,为json string,包括config、status、info三个字端,每个字段也是一个json string格式。
|
|
477
|
+
* 1、对于config字段,包含的字段定义如下:
|
|
478
|
+
* 1)如果ConfigType字段值为1,表示是IPTV格式,包括:
|
|
479
|
+
* ChannelURL:频道直播地址;
|
|
480
|
+
* TimeShiftURL:频道时移地址;
|
|
481
|
+
* ChannelID:频道编码,字符串格式;
|
|
482
|
+
* UserChannelID:频道编号,频道名称前的编号;
|
|
483
|
+
* ChannelName:频道名称。
|
|
484
|
+
* 2)如果ConfigType字段值为2,表示JsvPlayer格式,包括:
|
|
485
|
+
* URL:播放地址;
|
|
486
|
+
* Type:视频类型:1表示点播,2表示直播,3表示时移,4表示回看;
|
|
487
|
+
* Head:视频网络请求head;
|
|
488
|
+
* ShiftTime:时移时间,Type==3有效。
|
|
489
|
+
* 3)如果ConfigType字段值为3,表示ctc media格式,包括:
|
|
490
|
+
* MediaURL:媒体播放地址;
|
|
491
|
+
* MediaCode:媒体code;
|
|
492
|
+
* MediaType:媒体类型;
|
|
493
|
+
* TimeShiftUrl:时移地址。
|
|
494
|
+
* 4)ConfigType等于其它值无效。
|
|
495
|
+
* 2、对于status字段,包含的字段定义如下:
|
|
496
|
+
* URL:实际播放地址;
|
|
497
|
+
* VideoType:视频类型:1表示点播,2表示直播,3表示时移,4表示回看;
|
|
498
|
+
* Duration:视频总时长,单位秒,直播/时移状态时为-1;
|
|
499
|
+
* CurrentTime:当前播放时间,直播/时移为时间戳,单位秒;
|
|
500
|
+
* StartPlayTime:开始播放系统时间,单位秒。
|
|
501
|
+
* 3、对于info字段,包含的字段定义如下:
|
|
502
|
+
* VideoWidth:视频宽度,视频起播后有效;
|
|
503
|
+
* VideoHeight:视频高度,视频起播后有效;
|
|
504
|
+
* AudioTrackNum:音轨个数;
|
|
505
|
+
* Fps:帧率。
|
|
506
|
+
*
|
|
507
|
+
*
|
|
508
|
+
*/
|
|
509
|
+
getVideoInfo(): string;
|
|
407
510
|
/**
|
|
408
511
|
* 私有接口,外部不需要调用此接口。
|
|
409
512
|
*/
|
|
@@ -39,6 +39,17 @@ declare namespace methods {
|
|
|
39
39
|
* @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。
|
|
40
40
|
* */
|
|
41
41
|
function adjustGlobalVolume(direction: int, flags: int): void;
|
|
42
|
+
/**
|
|
43
|
+
* 设置系统静音状态。
|
|
44
|
+
* @param {boolean} status true表示静音,false表示取消静音。
|
|
45
|
+
* @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。android 6.0(包含)以上有效。
|
|
46
|
+
* */
|
|
47
|
+
function setGlobalMuted(status: boolean, flags: int): void;
|
|
48
|
+
/**
|
|
49
|
+
* 获取系统静音状态。
|
|
50
|
+
* @return {boolean} true表示静音,false表示非静音。
|
|
51
|
+
* */
|
|
52
|
+
function getGlobalMutedStatus(): boolean;
|
|
42
53
|
/**
|
|
43
54
|
* 回到视频的开头。
|
|
44
55
|
*/
|
|
@@ -47,6 +58,16 @@ declare namespace methods {
|
|
|
47
58
|
* 到达视频的末尾。
|
|
48
59
|
*/
|
|
49
60
|
function gotoEnd(): void;
|
|
61
|
+
/**
|
|
62
|
+
* 获取timeShift状态,包含是否支持时移以及最大时移时间。
|
|
63
|
+
* @returns {JsonObject} 包含两个字段:1、timeShift,boolean类型,true表示支持时移;2、timeShiftLength,int类型,最大时移时长。
|
|
64
|
+
*/
|
|
65
|
+
function getTimeShiftInfo(): JsonObject;
|
|
66
|
+
/**
|
|
67
|
+
* 设置时移时间。
|
|
68
|
+
* @param {double} time,值为从当前时间计算向前移动了多长时间,单位秒。
|
|
69
|
+
*/
|
|
70
|
+
function setTimeShift(time: double): void;
|
|
50
71
|
/**
|
|
51
72
|
* 设置播放地址。
|
|
52
73
|
* @param {string} url 播放地址。
|
|
@@ -54,4 +75,45 @@ declare namespace methods {
|
|
|
54
75
|
* @param {int} type 类型,1表示点播,2表示直播,3表示时移,默认1。
|
|
55
76
|
*/
|
|
56
77
|
function setSrc(url: string, head: string, type: int): void;
|
|
78
|
+
function setHoleID(hole_id: any): void;
|
|
79
|
+
/**
|
|
80
|
+
* 停止视频流。
|
|
81
|
+
*/
|
|
82
|
+
function unload(): void;
|
|
83
|
+
/**
|
|
84
|
+
* 获取当前使用的audio track
|
|
85
|
+
* @returns the current playing track,-1 is invalid
|
|
86
|
+
*/
|
|
87
|
+
function getSelectedAudioTrack(): number;
|
|
88
|
+
/**
|
|
89
|
+
* 选择audio track
|
|
90
|
+
* @param {*} track audio track index
|
|
91
|
+
*/
|
|
92
|
+
function selectAudioTrack(track: any): void;
|
|
93
|
+
/**
|
|
94
|
+
* 当流停止后,不需要显示最后一帧,调用此接口清除。
|
|
95
|
+
*/
|
|
96
|
+
function clearLastFrame(): void;
|
|
97
|
+
/**
|
|
98
|
+
* 设置色度抠像参数,只支持扣绿。
|
|
99
|
+
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
100
|
+
* @param {JSON object} chromaKey,抠像参数,JSON Object包含的参数如下:
|
|
101
|
+
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
102
|
+
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
103
|
+
* edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
|
|
104
|
+
* greenOffset,float类型,红蓝差值,范围0-1.0。
|
|
105
|
+
*/
|
|
106
|
+
function setChromaKey(chromaKey: any): void;
|
|
107
|
+
/**
|
|
108
|
+
* 获取是否支持倍速设置,在onCanPlay事件发送以后,通过此接口查询。
|
|
109
|
+
* @returns {boolean} true:支持播放倍速设置;false:不支持播放倍速设置。
|
|
110
|
+
* */
|
|
111
|
+
function supportPlaybackRateSet(): boolean;
|
|
112
|
+
/**
|
|
113
|
+
* 视频和音频同步时间的差值,当视频比音频快时,设置大于0的时间差值,当视频比音频慢,设置小于0的时间差值,单位为毫秒。播放器会使用视频时间戳+差值去和音频做同步。
|
|
114
|
+
* 只有jsv视频播放器(playerType=2)时支持。
|
|
115
|
+
* @param {int} time 时间差值,单位ms。
|
|
116
|
+
* @returns {int} 0,表示成功;-1,表示失败
|
|
117
|
+
*/
|
|
118
|
+
function videoSynTime(time: int): int;
|
|
57
119
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
export * from "./JsvMedia.js";
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
5
|
/**
|
|
3
6
|
* 回调函数,播放器对象通知接口
|
|
4
7
|
* @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
|
|
@@ -32,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
35
|
default: string;
|
|
33
36
|
};
|
|
34
37
|
/**
|
|
35
|
-
* 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv视频播放器;3:jsv
|
|
38
|
+
* 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv视频播放器;3:jsv音频播放器;4:jsv短视频播放器。默认2。
|
|
36
39
|
*/
|
|
37
40
|
playerType: {
|
|
38
41
|
type: NumberConstructor;
|
|
@@ -95,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
98
|
default: string;
|
|
96
99
|
};
|
|
97
100
|
/**
|
|
98
|
-
* 属性,
|
|
101
|
+
* 属性,String类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
|
|
99
102
|
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
100
103
|
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
101
104
|
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
@@ -104,8 +107,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
107
|
* 目前只支持扣绿。
|
|
105
108
|
*/
|
|
106
109
|
chromaKey: {
|
|
107
|
-
type:
|
|
108
|
-
default:
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
109
112
|
};
|
|
110
113
|
/**
|
|
111
114
|
* 回调函数,播放结束时通过此回调接口通知。
|
|
@@ -249,6 +252,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
252
|
type: FunctionConstructor;
|
|
250
253
|
default: () => {};
|
|
251
254
|
};
|
|
255
|
+
/**
|
|
256
|
+
* 回调函数,当流播放错误时,重试的时候发送此事件,用于上报log使用。
|
|
257
|
+
*/
|
|
258
|
+
onStreamChanged: {
|
|
259
|
+
type: FunctionConstructor;
|
|
260
|
+
default: () => {};
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* 回调函数,当短视频修改播放地址,真正执行修改动作时,触发此事件。
|
|
264
|
+
*/
|
|
265
|
+
onChangeUrlComplete: {
|
|
266
|
+
type: FunctionConstructor;
|
|
267
|
+
default: () => {};
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* 回调函数,当短视频修改播放地址,开始起播时,触发此事件。
|
|
271
|
+
*/
|
|
272
|
+
onChangeUrlRenderStart: {
|
|
273
|
+
type: FunctionConstructor;
|
|
274
|
+
default: () => {};
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* 回调函数,当短视频修改播放地址,开始起播时,触发此事件。
|
|
278
|
+
*/
|
|
279
|
+
onSizeChangeError: {
|
|
280
|
+
type: FunctionConstructor;
|
|
281
|
+
default: () => {};
|
|
282
|
+
};
|
|
252
283
|
/**
|
|
253
284
|
* 属性,Object类型,设置窗口属性,同其他组件的style设置。
|
|
254
285
|
*/
|
|
@@ -264,11 +295,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
264
295
|
type: BooleanConstructor;
|
|
265
296
|
default: boolean;
|
|
266
297
|
};
|
|
267
|
-
|
|
298
|
+
/**
|
|
299
|
+
* 属性,int类型,设置圆角属性。
|
|
300
|
+
*/
|
|
301
|
+
cornerRadius: {
|
|
268
302
|
type: NumberConstructor;
|
|
269
303
|
default: number;
|
|
270
304
|
};
|
|
271
|
-
|
|
305
|
+
oversize: {
|
|
306
|
+
type: NumberConstructor;
|
|
307
|
+
default: number;
|
|
308
|
+
};
|
|
309
|
+
}>, {
|
|
272
310
|
video: null;
|
|
273
311
|
holeId: string;
|
|
274
312
|
}, {
|
|
@@ -276,7 +314,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
276
314
|
}, {}, {
|
|
277
315
|
getHoleId(id: any): void;
|
|
278
316
|
registerEvent(): void;
|
|
279
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
317
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
280
318
|
/**
|
|
281
319
|
* 回调函数,播放器对象通知接口
|
|
282
320
|
* @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
|
|
@@ -310,7 +348,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
348
|
default: string;
|
|
311
349
|
};
|
|
312
350
|
/**
|
|
313
|
-
* 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv视频播放器;3:jsv
|
|
351
|
+
* 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv视频播放器;3:jsv音频播放器;4:jsv短视频播放器。默认2。
|
|
314
352
|
*/
|
|
315
353
|
playerType: {
|
|
316
354
|
type: NumberConstructor;
|
|
@@ -373,7 +411,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
373
411
|
default: string;
|
|
374
412
|
};
|
|
375
413
|
/**
|
|
376
|
-
* 属性,
|
|
414
|
+
* 属性,String类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
|
|
377
415
|
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
378
416
|
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
379
417
|
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
@@ -382,8 +420,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
382
420
|
* 目前只支持扣绿。
|
|
383
421
|
*/
|
|
384
422
|
chromaKey: {
|
|
385
|
-
type:
|
|
386
|
-
default:
|
|
423
|
+
type: StringConstructor;
|
|
424
|
+
default: string;
|
|
387
425
|
};
|
|
388
426
|
/**
|
|
389
427
|
* 回调函数,播放结束时通过此回调接口通知。
|
|
@@ -527,6 +565,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
527
565
|
type: FunctionConstructor;
|
|
528
566
|
default: () => {};
|
|
529
567
|
};
|
|
568
|
+
/**
|
|
569
|
+
* 回调函数,当流播放错误时,重试的时候发送此事件,用于上报log使用。
|
|
570
|
+
*/
|
|
571
|
+
onStreamChanged: {
|
|
572
|
+
type: FunctionConstructor;
|
|
573
|
+
default: () => {};
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* 回调函数,当短视频修改播放地址,真正执行修改动作时,触发此事件。
|
|
577
|
+
*/
|
|
578
|
+
onChangeUrlComplete: {
|
|
579
|
+
type: FunctionConstructor;
|
|
580
|
+
default: () => {};
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* 回调函数,当短视频修改播放地址,开始起播时,触发此事件。
|
|
584
|
+
*/
|
|
585
|
+
onChangeUrlRenderStart: {
|
|
586
|
+
type: FunctionConstructor;
|
|
587
|
+
default: () => {};
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* 回调函数,当短视频修改播放地址,开始起播时,触发此事件。
|
|
591
|
+
*/
|
|
592
|
+
onSizeChangeError: {
|
|
593
|
+
type: FunctionConstructor;
|
|
594
|
+
default: () => {};
|
|
595
|
+
};
|
|
530
596
|
/**
|
|
531
597
|
* 属性,Object类型,设置窗口属性,同其他组件的style设置。
|
|
532
598
|
*/
|
|
@@ -542,12 +608,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
542
608
|
type: BooleanConstructor;
|
|
543
609
|
default: boolean;
|
|
544
610
|
};
|
|
545
|
-
|
|
611
|
+
/**
|
|
612
|
+
* 属性,int类型,设置圆角属性。
|
|
613
|
+
*/
|
|
614
|
+
cornerRadius: {
|
|
615
|
+
type: NumberConstructor;
|
|
616
|
+
default: number;
|
|
617
|
+
};
|
|
618
|
+
oversize: {
|
|
546
619
|
type: NumberConstructor;
|
|
547
620
|
default: number;
|
|
548
621
|
};
|
|
549
|
-
}
|
|
622
|
+
}>> & Readonly<{}>, {
|
|
623
|
+
background: boolean;
|
|
624
|
+
src: string;
|
|
550
625
|
style: Record<string, any>;
|
|
626
|
+
autoplay: boolean;
|
|
627
|
+
currentTime: number;
|
|
628
|
+
loop: boolean;
|
|
629
|
+
muted: boolean;
|
|
630
|
+
cornerRadius: number;
|
|
551
631
|
onLoad: Function;
|
|
552
632
|
onError: Function;
|
|
553
633
|
onEnded: Function;
|
|
@@ -556,33 +636,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
556
636
|
onSeeked: Function;
|
|
557
637
|
onSeeking: Function;
|
|
558
638
|
onStalled: Function;
|
|
559
|
-
background: boolean;
|
|
560
639
|
onLoadStart: Function;
|
|
561
640
|
onAudioFocusGain: Function;
|
|
562
641
|
onAudioFocusLoss: Function;
|
|
563
|
-
src: string;
|
|
564
|
-
autoplay: boolean;
|
|
565
|
-
loop: boolean;
|
|
566
|
-
muted: boolean;
|
|
567
|
-
currentTime: number;
|
|
568
642
|
onRef: Function;
|
|
569
643
|
playerKey: string;
|
|
570
644
|
onLoadedMetaData: Function;
|
|
571
|
-
|
|
645
|
+
oversize: number;
|
|
572
646
|
active: boolean;
|
|
573
647
|
keepLastFrame: boolean;
|
|
648
|
+
chromaKey: string;
|
|
649
|
+
onTimeShift: Function;
|
|
650
|
+
onTimeShifted: Function;
|
|
651
|
+
onBackLive: Function;
|
|
652
|
+
onBackLived: Function;
|
|
653
|
+
onStreamChanged: Function;
|
|
654
|
+
onChangeUrlComplete: Function;
|
|
655
|
+
onChangeUrlRenderStart: Function;
|
|
656
|
+
onSizeChangeError: Function;
|
|
574
657
|
windowMode: string;
|
|
658
|
+
playerType: number;
|
|
575
659
|
decodeType: number;
|
|
576
660
|
videoAspectRatio: string;
|
|
577
|
-
chromaKey: Record<string, any>;
|
|
578
661
|
onTimeUpdate: Function;
|
|
579
662
|
onCanPlayThrough: Function;
|
|
580
663
|
onDurationChange: Function;
|
|
581
664
|
onCanPlay: Function;
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
onBackLived: Function;
|
|
586
|
-
corner: number;
|
|
587
|
-
}>;
|
|
588
|
-
export default _default;
|
|
665
|
+
}, {}, {
|
|
666
|
+
JsvNativeSharedDiv: any;
|
|
667
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
4
|
onRef: {
|
|
3
5
|
type: FunctionConstructor;
|
|
4
6
|
default: () => void;
|
|
@@ -15,11 +17,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
17
|
type: BooleanConstructor;
|
|
16
18
|
default: boolean;
|
|
17
19
|
};
|
|
18
|
-
}
|
|
20
|
+
}>, {
|
|
19
21
|
VideoRef: null;
|
|
20
|
-
},
|
|
22
|
+
}, {}, {}, {
|
|
21
23
|
onRefProxy(video_ref: any): void;
|
|
22
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
24
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
25
|
onRef: {
|
|
24
26
|
type: FunctionConstructor;
|
|
25
27
|
default: () => void;
|
|
@@ -36,10 +38,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
38
|
type: BooleanConstructor;
|
|
37
39
|
default: boolean;
|
|
38
40
|
};
|
|
39
|
-
}
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
40
42
|
background: boolean;
|
|
41
43
|
onRef: Function;
|
|
42
44
|
playerKey: string;
|
|
43
45
|
playerType: number;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|