@shijiu/jsview-vue 2.3.0 → 2.3.728-alpha.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.vue.mjs +4 -1
- package/bin/browser/BrowserJsvLatex.vue.mjs +9 -90
- package/bin/jsview-vue.mjs +13913 -8048
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +39 -3
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +5 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +25 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +28 -4
- 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 +70 -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 +5 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +12 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
- package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +27 -14
- package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +3 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +29 -2
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +107 -4
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +94 -18
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +24 -23
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +77 -20
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +77 -20
- package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +44 -1
- 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 +5 -3
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +88 -25
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
- 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 +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +11 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +101 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +61 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +58 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +55 -12
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +178 -35
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +119 -17
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +9 -3
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +22 -1
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +5 -2
- package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +39 -1
- package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +26 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +112 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +142 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +15 -3
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +22 -96
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +6 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterDiv.vue.d.ts → TypesDiv/JsvPosterDiv.vue.d.ts} +9 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterImage.vue.d.ts → TypesDiv/JsvPosterImage.vue.d.ts} +15 -3
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +90 -0
- package/bin/types/utils/JsViewVueWidget/index.d.ts +8 -4
- package/dist/types/utils/JsViewEngineWidget/CheckType.d.ts +7 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +106 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +128 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +12 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +16 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +412 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +751 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +82 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +31 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +80 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Slide.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +52 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +69 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +6 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +20 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/RangeModel.d.ts +166 -0
- package/dist/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +74 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +46 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +42 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/Fence.d.ts +62 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +103 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/index.d.ts +8 -0
- package/dist/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +160 -0
- package/dist/types/utils/JsViewEngineWidget/index.d.ts +21 -0
- package/dist/types/utils/JsViewPlugin/JsvAccount/JsvAccount.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +212 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/CheckType.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +12 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/index.d.ts +7 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
- package/{bin/types/utils/JsViewPlugin/JsvLatex → dist/types/utils/JsViewPlugin/JsvAudio}/version.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +18 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/index.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/version.d.mts +40 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +523 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +119 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +664 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-0.9.vue.d.ts +45 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue.d.ts +597 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/dist/types/utils/JsViewPlugin/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/BlobApi.d.ts +42 -0
- package/dist/types/utils/JsViewVueTools/ConstSymbol.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/DebugContentShellJBridge.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/DebugTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +14 -0
- package/dist/types/utils/JsViewVueTools/FeatureActive.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeConstDefine.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeHandles.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicCssStyle.d.ts +33 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicKeyFrames.d.ts +40 -0
- package/dist/types/utils/JsViewVueTools/JsvFederationTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvHashHistory.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvImpactTracer.d.ts +44 -0
- package/dist/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvPerformance.d.ts +9 -0
- package/dist/types/utils/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
- package/dist/types/utils/JsViewVueTools/JsvRefTaker.d.ts +52 -0
- package/dist/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +378 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleClass.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvTextTools.d.ts +66 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureDefines.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +47 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +99 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +58 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +113 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +17 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +170 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +16 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +31 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +53 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/NinePatchHelper.d.ts +25 -0
- package/dist/types/utils/JsViewVueTools/TextureManagerTools.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/index.d.ts +29 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +124 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +148 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +35 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +102 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +77 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +54 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +26 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +34 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +105 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +65 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +62 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +61 -0
- package/dist/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +91 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +100 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +63 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +228 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +107 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +11 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +118 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +244 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +169 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +24 -0
- package/dist/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +241 -0
- package/dist/types/utils/JsViewVueWidget/JsvHole.d.ts +19 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +52 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +98 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +32 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +101 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Constant.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/DataTree.d.ts +75 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +72 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +235 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +93 -0
- package/dist/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +55 -0
- package/dist/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +68 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +31 -0
- package/dist/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +129 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +28 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +278 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +76 -0
- package/dist/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +114 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +58 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +18 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +70 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +21 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/index.d.ts +9 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +141 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +248 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +181 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +38 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +88 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/index.d.ts +53 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist/utils/browser/BrowserAudio.vue.mjs +258 -0
- package/dist/utils/browser/BrowserJsvLatex.vue.mjs +64 -0
- package/dist/utils/export-sfc.mjs +12 -0
- package/dist/utils/index.mjs +29000 -0
- package/dist/utils/jsview-vue-common.mjs +39 -0
- package/package.json +1 -1
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +51 -3
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +347 -145
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1603 -588
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +146 -38
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +39 -26
- 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 +62 -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 +434 -264
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +54 -5
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
- package/utils/JsViewEngineWidget/WidgetCommon.ts +29 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue +4 -0
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue +13 -13
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/Color.ts +104 -39
- package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +71 -17
- package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +14 -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} +61 -11
- 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 +5 -1
- package/utils/JsViewVueTools/ForgeHandles.ts +8 -2
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -8
- package/utils/JsViewVueTools/JsvTextTools.ts +12 -2
- 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 +30 -12
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +157 -51
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +33 -21
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +56 -41
- 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/JsvDashPath.vue +150 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.ts +212 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.ts +146 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.ts +748 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +10 -1
- package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue +3 -1
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +24 -8
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +269 -26
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +2 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.ts +24 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +3 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +5 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.ts +10 -2
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +223 -100
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +245 -64
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +95 -29
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +27 -5
- 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 +22 -12
- package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +34 -31
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +56 -25
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +11 -11
- package/utils/JsViewVueWidget/JsvSector.vue +66 -28
- package/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue +108 -0
- package/utils/JsViewVueWidget/JsvSoundPool.js +75 -12
- package/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue +543 -0
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +3 -3
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue +644 -0
- package/utils/JsViewVueWidget/JsvSwiper/index.js +3 -1
- package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -299
- 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 +9 -3
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +0 -0
- /package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue.d.ts → JsvFreeMoveActor.vue.d.ts} +0 -0
- /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
|
@@ -52,8 +52,8 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
54
|
chromaKey: {
|
|
55
|
-
type:
|
|
56
|
-
default:
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
57
|
};
|
|
58
58
|
onEnded: {
|
|
59
59
|
type: FunctionConstructor;
|
|
@@ -135,6 +135,22 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
135
135
|
type: FunctionConstructor;
|
|
136
136
|
default: () => {};
|
|
137
137
|
};
|
|
138
|
+
onStreamChanged: {
|
|
139
|
+
type: FunctionConstructor;
|
|
140
|
+
default: () => {};
|
|
141
|
+
};
|
|
142
|
+
onChangeUrlComplete: {
|
|
143
|
+
type: FunctionConstructor;
|
|
144
|
+
default: () => {};
|
|
145
|
+
};
|
|
146
|
+
onChangeUrlRenderStart: {
|
|
147
|
+
type: FunctionConstructor;
|
|
148
|
+
default: () => {};
|
|
149
|
+
};
|
|
150
|
+
onSizeChangeError: {
|
|
151
|
+
type: FunctionConstructor;
|
|
152
|
+
default: () => {};
|
|
153
|
+
};
|
|
138
154
|
style: {
|
|
139
155
|
type: ObjectConstructor;
|
|
140
156
|
default: () => {};
|
|
@@ -143,7 +159,11 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
143
159
|
type: BooleanConstructor;
|
|
144
160
|
default: boolean;
|
|
145
161
|
};
|
|
146
|
-
|
|
162
|
+
cornerRadius: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: number;
|
|
165
|
+
};
|
|
166
|
+
oversize: {
|
|
147
167
|
type: NumberConstructor;
|
|
148
168
|
default: number;
|
|
149
169
|
};
|
|
@@ -209,8 +229,8 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
209
229
|
default: string;
|
|
210
230
|
};
|
|
211
231
|
chromaKey: {
|
|
212
|
-
type:
|
|
213
|
-
default:
|
|
232
|
+
type: StringConstructor;
|
|
233
|
+
default: string;
|
|
214
234
|
};
|
|
215
235
|
onEnded: {
|
|
216
236
|
type: FunctionConstructor;
|
|
@@ -292,6 +312,22 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
292
312
|
type: FunctionConstructor;
|
|
293
313
|
default: () => {};
|
|
294
314
|
};
|
|
315
|
+
onStreamChanged: {
|
|
316
|
+
type: FunctionConstructor;
|
|
317
|
+
default: () => {};
|
|
318
|
+
};
|
|
319
|
+
onChangeUrlComplete: {
|
|
320
|
+
type: FunctionConstructor;
|
|
321
|
+
default: () => {};
|
|
322
|
+
};
|
|
323
|
+
onChangeUrlRenderStart: {
|
|
324
|
+
type: FunctionConstructor;
|
|
325
|
+
default: () => {};
|
|
326
|
+
};
|
|
327
|
+
onSizeChangeError: {
|
|
328
|
+
type: FunctionConstructor;
|
|
329
|
+
default: () => {};
|
|
330
|
+
};
|
|
295
331
|
style: {
|
|
296
332
|
type: ObjectConstructor;
|
|
297
333
|
default: () => {};
|
|
@@ -300,7 +336,11 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
300
336
|
type: BooleanConstructor;
|
|
301
337
|
default: boolean;
|
|
302
338
|
};
|
|
303
|
-
|
|
339
|
+
cornerRadius: {
|
|
340
|
+
type: NumberConstructor;
|
|
341
|
+
default: number;
|
|
342
|
+
};
|
|
343
|
+
oversize: {
|
|
304
344
|
type: NumberConstructor;
|
|
305
345
|
default: number;
|
|
306
346
|
};
|
|
@@ -326,22 +366,27 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
326
366
|
onRef: Function;
|
|
327
367
|
playerKey: string;
|
|
328
368
|
onLoadedMetaData: Function;
|
|
329
|
-
|
|
330
|
-
|
|
369
|
+
cornerRadius: number;
|
|
370
|
+
oversize: number;
|
|
331
371
|
keepLastFrame: boolean;
|
|
372
|
+
chromaKey: string;
|
|
373
|
+
onTimeShift: Function;
|
|
374
|
+
onTimeShifted: Function;
|
|
375
|
+
onBackLive: Function;
|
|
376
|
+
onBackLived: Function;
|
|
377
|
+
onStreamChanged: Function;
|
|
378
|
+
onChangeUrlComplete: Function;
|
|
379
|
+
onChangeUrlRenderStart: Function;
|
|
380
|
+
onSizeChangeError: Function;
|
|
381
|
+
active: boolean;
|
|
332
382
|
windowMode: string;
|
|
383
|
+
playerType: number;
|
|
333
384
|
decodeType: number;
|
|
334
385
|
videoAspectRatio: string;
|
|
335
|
-
chromaKey: Record<string, any>;
|
|
336
386
|
onTimeUpdate: Function;
|
|
337
387
|
onCanPlayThrough: Function;
|
|
338
388
|
onDurationChange: Function;
|
|
339
389
|
onCanPlay: Function;
|
|
340
|
-
onTimeShift: Function;
|
|
341
|
-
onTimeShifted: Function;
|
|
342
|
-
onBackLive: Function;
|
|
343
|
-
onBackLived: Function;
|
|
344
|
-
corner: number;
|
|
345
390
|
}>;
|
|
346
391
|
export let globalLoadJsvPlayerPlugin: typeof initPlugin;
|
|
347
392
|
export let globalPreLoadJsvPlayerPlugin: typeof preLoadPlugin;
|
|
@@ -349,10 +394,22 @@ export let getJsvPlayerCapabilitySet: typeof getCapabilitySet;
|
|
|
349
394
|
export let setJsvPlayerDebugMode: typeof setDebugMode;
|
|
350
395
|
export let getJsvPlayerRunningNum: typeof getRunningPlayerNum;
|
|
351
396
|
export let globalLoadSetOperator: typeof setOperator;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
397
|
+
export let globalJsvPlayerProbeMulticastChannelID: typeof setProbeMulticastChannelID;
|
|
398
|
+
export let globalJsvPlayerProbeMulticastUrl: typeof setProbeMulticastUrl;
|
|
399
|
+
export let globalJsvPlayerRegisterStreamChangedListener: typeof registerStreamChangedListener;
|
|
400
|
+
export let setJsvPlayerMobileEventParam: typeof setMobileEventParam;
|
|
401
|
+
export let setJsvPlayerStbID: typeof setStbID;
|
|
402
|
+
export let SetJsvPlayerGlobalEventListener: typeof setGlobalEventListener;
|
|
403
|
+
import { globalLoadJsvPlayerPlugin as initPlugin } from "./JsvMedia";
|
|
404
|
+
import { globalPreLoadJsvPlayerPlugin as preLoadPlugin } from "./JsvMedia";
|
|
405
|
+
import { getJsvPlayerCapabilitySet as getCapabilitySet } from "./JsvMedia";
|
|
406
|
+
import { setJsvPlayerDebugMode as setDebugMode } from "./JsvMedia";
|
|
407
|
+
import { getJsvPlayerRunningNum as getRunningPlayerNum } from "./JsvMedia";
|
|
408
|
+
import { globalLoadSetOperator as setOperator } from "./JsvMedia";
|
|
409
|
+
import { setProbeMulticastChannelID } from "./JsvMedia";
|
|
410
|
+
import { setProbeMulticastUrl } from "./JsvMedia";
|
|
411
|
+
import { registerStreamChangedListener } from "./JsvMedia";
|
|
412
|
+
import { setMobileEventParam } from "./JsvMedia";
|
|
413
|
+
import { setStbID } from "./JsvMedia";
|
|
414
|
+
import { setGlobalEventListener } from "./JsvMedia";
|
|
358
415
|
export { _JsvPlayer as JsvPlayer };
|
|
@@ -52,8 +52,8 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
54
|
chromaKey: {
|
|
55
|
-
type:
|
|
56
|
-
default:
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
57
|
};
|
|
58
58
|
onEnded: {
|
|
59
59
|
type: FunctionConstructor;
|
|
@@ -135,6 +135,22 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
135
135
|
type: FunctionConstructor;
|
|
136
136
|
default: () => {};
|
|
137
137
|
};
|
|
138
|
+
onStreamChanged: {
|
|
139
|
+
type: FunctionConstructor;
|
|
140
|
+
default: () => {};
|
|
141
|
+
};
|
|
142
|
+
onChangeUrlComplete: {
|
|
143
|
+
type: FunctionConstructor;
|
|
144
|
+
default: () => {};
|
|
145
|
+
};
|
|
146
|
+
onChangeUrlRenderStart: {
|
|
147
|
+
type: FunctionConstructor;
|
|
148
|
+
default: () => {};
|
|
149
|
+
};
|
|
150
|
+
onSizeChangeError: {
|
|
151
|
+
type: FunctionConstructor;
|
|
152
|
+
default: () => {};
|
|
153
|
+
};
|
|
138
154
|
style: {
|
|
139
155
|
type: ObjectConstructor;
|
|
140
156
|
default: () => {};
|
|
@@ -143,7 +159,11 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
143
159
|
type: BooleanConstructor;
|
|
144
160
|
default: boolean;
|
|
145
161
|
};
|
|
146
|
-
|
|
162
|
+
cornerRadius: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: number;
|
|
165
|
+
};
|
|
166
|
+
oversize: {
|
|
147
167
|
type: NumberConstructor;
|
|
148
168
|
default: number;
|
|
149
169
|
};
|
|
@@ -209,8 +229,8 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
209
229
|
default: string;
|
|
210
230
|
};
|
|
211
231
|
chromaKey: {
|
|
212
|
-
type:
|
|
213
|
-
default:
|
|
232
|
+
type: StringConstructor;
|
|
233
|
+
default: string;
|
|
214
234
|
};
|
|
215
235
|
onEnded: {
|
|
216
236
|
type: FunctionConstructor;
|
|
@@ -292,6 +312,22 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
292
312
|
type: FunctionConstructor;
|
|
293
313
|
default: () => {};
|
|
294
314
|
};
|
|
315
|
+
onStreamChanged: {
|
|
316
|
+
type: FunctionConstructor;
|
|
317
|
+
default: () => {};
|
|
318
|
+
};
|
|
319
|
+
onChangeUrlComplete: {
|
|
320
|
+
type: FunctionConstructor;
|
|
321
|
+
default: () => {};
|
|
322
|
+
};
|
|
323
|
+
onChangeUrlRenderStart: {
|
|
324
|
+
type: FunctionConstructor;
|
|
325
|
+
default: () => {};
|
|
326
|
+
};
|
|
327
|
+
onSizeChangeError: {
|
|
328
|
+
type: FunctionConstructor;
|
|
329
|
+
default: () => {};
|
|
330
|
+
};
|
|
295
331
|
style: {
|
|
296
332
|
type: ObjectConstructor;
|
|
297
333
|
default: () => {};
|
|
@@ -300,7 +336,11 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
300
336
|
type: BooleanConstructor;
|
|
301
337
|
default: boolean;
|
|
302
338
|
};
|
|
303
|
-
|
|
339
|
+
cornerRadius: {
|
|
340
|
+
type: NumberConstructor;
|
|
341
|
+
default: number;
|
|
342
|
+
};
|
|
343
|
+
oversize: {
|
|
304
344
|
type: NumberConstructor;
|
|
305
345
|
default: number;
|
|
306
346
|
};
|
|
@@ -326,22 +366,27 @@ declare let _JsvPlayer: import("vue").DefineComponent<{
|
|
|
326
366
|
onRef: Function;
|
|
327
367
|
playerKey: string;
|
|
328
368
|
onLoadedMetaData: Function;
|
|
329
|
-
|
|
330
|
-
|
|
369
|
+
cornerRadius: number;
|
|
370
|
+
oversize: number;
|
|
331
371
|
keepLastFrame: boolean;
|
|
372
|
+
chromaKey: string;
|
|
373
|
+
onTimeShift: Function;
|
|
374
|
+
onTimeShifted: Function;
|
|
375
|
+
onBackLive: Function;
|
|
376
|
+
onBackLived: Function;
|
|
377
|
+
onStreamChanged: Function;
|
|
378
|
+
onChangeUrlComplete: Function;
|
|
379
|
+
onChangeUrlRenderStart: Function;
|
|
380
|
+
onSizeChangeError: Function;
|
|
381
|
+
active: boolean;
|
|
332
382
|
windowMode: string;
|
|
383
|
+
playerType: number;
|
|
333
384
|
decodeType: number;
|
|
334
385
|
videoAspectRatio: string;
|
|
335
|
-
chromaKey: Record<string, any>;
|
|
336
386
|
onTimeUpdate: Function;
|
|
337
387
|
onCanPlayThrough: Function;
|
|
338
388
|
onDurationChange: Function;
|
|
339
389
|
onCanPlay: Function;
|
|
340
|
-
onTimeShift: Function;
|
|
341
|
-
onTimeShifted: Function;
|
|
342
|
-
onBackLive: Function;
|
|
343
|
-
onBackLived: Function;
|
|
344
|
-
corner: number;
|
|
345
390
|
}>;
|
|
346
391
|
export let globalLoadJsvPlayerPlugin: typeof initPlugin;
|
|
347
392
|
export let globalPreLoadJsvPlayerPlugin: typeof preLoadPlugin;
|
|
@@ -349,10 +394,22 @@ export let getJsvPlayerCapabilitySet: typeof getCapabilitySet;
|
|
|
349
394
|
export let setJsvPlayerDebugMode: typeof setDebugMode;
|
|
350
395
|
export let getJsvPlayerRunningNum: typeof getRunningPlayerNum;
|
|
351
396
|
export let globalLoadSetOperator: typeof setOperator;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
397
|
+
export let globalJsvPlayerProbeMulticastChannelID: typeof setProbeMulticastChannelID;
|
|
398
|
+
export let globalJsvPlayerProbeMulticastUrl: typeof setProbeMulticastUrl;
|
|
399
|
+
export let globalJsvPlayerRegisterStreamChangedListener: typeof registerStreamChangedListener;
|
|
400
|
+
export let setJsvPlayerMobileEventParam: typeof setMobileEventParam;
|
|
401
|
+
export let setJsvPlayerStbID: typeof setStbID;
|
|
402
|
+
export let SetJsvPlayerGlobalEventListener: typeof setGlobalEventListener;
|
|
403
|
+
import { globalLoadJsvPlayerPlugin as initPlugin } from "./JsvMedia";
|
|
404
|
+
import { globalPreLoadJsvPlayerPlugin as preLoadPlugin } from "./JsvMedia";
|
|
405
|
+
import { getJsvPlayerCapabilitySet as getCapabilitySet } from "./JsvMedia";
|
|
406
|
+
import { setJsvPlayerDebugMode as setDebugMode } from "./JsvMedia";
|
|
407
|
+
import { getJsvPlayerRunningNum as getRunningPlayerNum } from "./JsvMedia";
|
|
408
|
+
import { globalLoadSetOperator as setOperator } from "./JsvMedia";
|
|
409
|
+
import { setProbeMulticastChannelID } from "./JsvMedia";
|
|
410
|
+
import { setProbeMulticastUrl } from "./JsvMedia";
|
|
411
|
+
import { registerStreamChangedListener } from "./JsvMedia";
|
|
412
|
+
import { setMobileEventParam } from "./JsvMedia";
|
|
413
|
+
import { setStbID } from "./JsvMedia";
|
|
414
|
+
import { setGlobalEventListener } from "./JsvMedia";
|
|
358
415
|
export { _JsvPlayer as JsvPlayer };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BlobApi
|
|
3
|
+
*
|
|
4
|
+
* 说明:
|
|
5
|
+
* - 提供与浏览器 URL.createObjectURL / URL.revokeObjectURL 对齐的接口。
|
|
6
|
+
* 使用场景
|
|
7
|
+
* 1. blob内容是图片并且希望在JsView体系的div或者img元素中展示时使用。
|
|
8
|
+
* 2. 希望获得PC模拟环境和android环境同样的Blob展示和上传需求时
|
|
9
|
+
*
|
|
10
|
+
* 特别说明: 在PC模拟环境中, 第三方库仅在PC上进行Blob展示时, 不用改造,
|
|
11
|
+
* 使用原URL.createObjectURL / URL.revokeObjectURL即可
|
|
12
|
+
* 例如m3u8视频转blob播放的第三方库
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* createObjectURL
|
|
17
|
+
* 为 Blob 对象创建临时 URL。
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
declare function createObjectURL(blob: Blob): Promise<string>;
|
|
21
|
+
/**
|
|
22
|
+
* createObjectURLSync
|
|
23
|
+
* 为 Blob 对象创建临时 URL。为在android设备上的同步接口
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
declare function createObjectURLSync(blob: Blob): undefined | string;
|
|
27
|
+
/**
|
|
28
|
+
* revokeObjectURL
|
|
29
|
+
* 释放由 createObjectURL 创建的临时 URL。
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
declare function revokeObjectURL(url: string): void;
|
|
33
|
+
declare let sBlobApi: {
|
|
34
|
+
createObjectURLSync: typeof createObjectURLSync;
|
|
35
|
+
createObjectURL: typeof createObjectURL;
|
|
36
|
+
revokeObjectURL: typeof revokeObjectURL;
|
|
37
|
+
};
|
|
38
|
+
export default sBlobApi;
|
|
@@ -3,6 +3,7 @@ declare namespace FeatureNames {
|
|
|
3
3
|
const FreeMoveDiv: String;
|
|
4
4
|
const CustomFragShader: String;
|
|
5
5
|
const Capture2Texture: String;
|
|
6
|
+
const MouseHover: String;
|
|
6
7
|
}
|
|
7
8
|
declare function JsvActiveFeature(comp_name: String): void;
|
|
8
9
|
declare function JsvUseFeature(from: String, comp_name: String): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const KEY_MODE: 1;
|
|
2
|
+
export const TOUCH_MODE: 2;
|
|
3
|
+
export const JsvInteractionMode: import("vue").Ref<number>;
|
|
4
|
+
export function jsvTouchModeSwitcherCreate(): void;
|
|
5
|
+
export function jsvTouchModeSwitcherDestroy(): void;
|
|
6
|
+
export function hasJsvTouchModeSwitcher(): boolean;
|
|
@@ -6,7 +6,9 @@ declare namespace bridge {
|
|
|
6
6
|
export { getDeviceUUID };
|
|
7
7
|
export { getAndroidId };
|
|
8
8
|
export { openWindow };
|
|
9
|
+
export { openMiniApp };
|
|
9
10
|
export { startUrlInNewTab };
|
|
11
|
+
export { openAppInNewTab };
|
|
10
12
|
export { onWindowResult };
|
|
11
13
|
export { reloadWindow };
|
|
12
14
|
export { closePage };
|
|
@@ -14,10 +16,12 @@ declare namespace bridge {
|
|
|
14
16
|
export { getSystemProperty };
|
|
15
17
|
export { getInstalledApps };
|
|
16
18
|
export { startNativeApp };
|
|
19
|
+
export { openNativeApp };
|
|
17
20
|
export { sendNativeBroadcast };
|
|
18
21
|
export { startService };
|
|
19
22
|
export { getDeviceInfo };
|
|
20
23
|
export { getAppInfo };
|
|
24
|
+
export { notifyVisibleReady };
|
|
21
25
|
export { notifyPageLoadDone };
|
|
22
26
|
export { notifyPageLoaded };
|
|
23
27
|
export { hasFavouriteFunction };
|
|
@@ -85,6 +89,16 @@ declare function getAndroidId(): string;
|
|
|
85
89
|
* @returns {Promise} 可用于监听新的小程序返回的结果
|
|
86
90
|
*/
|
|
87
91
|
declare function openWindow(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): Promise<any>;
|
|
92
|
+
/**
|
|
93
|
+
* 打开另外一个小程序
|
|
94
|
+
* @param {string} url 小程序url
|
|
95
|
+
* @param {string} startup_image 启动图url
|
|
96
|
+
* @param {string} startup_video 启动视频url
|
|
97
|
+
* @param {int} startup_duration 启动图时长,默认0
|
|
98
|
+
* @param {int} add_history 是否添加历史,0不添加,1添加
|
|
99
|
+
* @returns {Promise} 比openWindow返回信息更丰富, 可获取启动者的更多返回信息
|
|
100
|
+
*/
|
|
101
|
+
declare function openMiniApp(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): Promise<any>;
|
|
88
102
|
/**
|
|
89
103
|
* 用新的进程打开另外一个小程序
|
|
90
104
|
* @param {string} url 小程序url
|
|
@@ -95,6 +109,16 @@ declare function openWindow(url: string, startup_image: string, startup_video: s
|
|
|
95
109
|
* @returns {Promise} 可用于监听新的小程序返回的结果
|
|
96
110
|
*/
|
|
97
111
|
declare function startUrlInNewTab(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): Promise<any>;
|
|
112
|
+
/**
|
|
113
|
+
* 用新的进程打开另外一个小程序
|
|
114
|
+
* @param {string} url 小程序url
|
|
115
|
+
* @param {string} startup_image 启动图url
|
|
116
|
+
* @param {string} startup_video 启动视频url
|
|
117
|
+
* @param {int} startup_duration 启动图时长,默认0
|
|
118
|
+
* @param {int} add_history 是否添加历史,0不添加,1添加
|
|
119
|
+
* @returns {Promise}
|
|
120
|
+
*/
|
|
121
|
+
declare function openAppInNewTab(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): Promise<any>;
|
|
98
122
|
/**
|
|
99
123
|
* 用于给上一个小程序返回结果,通常与startUrlInNewTab和openWindow配合使用
|
|
100
124
|
* @param {string} data 返回给上一个小程序的结果
|
|
@@ -142,9 +166,22 @@ declare function getInstalledApps(): string;
|
|
|
142
166
|
* @param {string} uri Uri方式启动
|
|
143
167
|
* @param {Array} flags 数组,用于intent.addFlags
|
|
144
168
|
* @param {Array} param JSON格式数组,数组元素是 object ,object中的内容用于intent.putExtra
|
|
169
|
+
* @param {Array} category string数组,用于intent.addCategory
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
declare function startNativeApp(package_name: string, activity: string, action: string, uri: string, flags: any[], param: any[], category: any[]): void;
|
|
173
|
+
/**
|
|
174
|
+
* 启动安卓APP
|
|
175
|
+
* @param {string} package_name 包名
|
|
176
|
+
* @param {string} activity Activity方式启动
|
|
177
|
+
* @param {string} action Action方式启动
|
|
178
|
+
* @param {string} uri Uri方式启动
|
|
179
|
+
* @param {Array} flags 数组,用于intent.addFlags
|
|
180
|
+
* @param {Array} param JSON格式数组,数组元素是 object ,object中的内容用于intent.putExtra
|
|
181
|
+
* @param {Array} category string数组,用于intent.addCategory
|
|
145
182
|
*
|
|
146
183
|
*/
|
|
147
|
-
declare function
|
|
184
|
+
declare function openNativeApp(package_name: string, activity: string, action: string, uri: string, flags: any[], param: any[], category: any[]): any;
|
|
148
185
|
/**
|
|
149
186
|
* 发送安卓广播
|
|
150
187
|
* @param {string} package_name 包名
|
|
@@ -179,6 +216,12 @@ declare function getDeviceInfo(): string;
|
|
|
179
216
|
* @returns
|
|
180
217
|
*/
|
|
181
218
|
declare function getAppInfo(): any;
|
|
219
|
+
/**
|
|
220
|
+
* 通知JsView页面可见性准备好, 主要用于JsView界面从不可见到可见切换时,
|
|
221
|
+
* 避免JsView的未绘制的黑屏被看见, 一般会在android层用张图来进行遮盖, 然后通过此接口来通知拿掉遮盖
|
|
222
|
+
* @returns
|
|
223
|
+
*/
|
|
224
|
+
declare function notifyVisibleReady(): void;
|
|
182
225
|
/**
|
|
183
226
|
* 页面加载成功后调用去除启动图
|
|
184
227
|
*
|
|
@@ -57,5 +57,6 @@ declare const TextTools: {
|
|
|
57
57
|
getCursorPosition: typeof getCursorPosition;
|
|
58
58
|
getCursorPositionCached: typeof getCursorPositionCached;
|
|
59
59
|
recycleCursorPositionCache: typeof recycleCursorPositionCache;
|
|
60
|
+
breakLines: (text: string, style: FontStyleDefine, width: number) => any;
|
|
60
61
|
};
|
|
61
62
|
export { getTextWidth, TextTools };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const enum BitPaletteCommand {
|
|
2
|
+
Cmd_GetDomainColorSync = 1003,
|
|
3
|
+
Cmd_SubMapBlob = 1004,
|
|
4
|
+
Cmd_SubMapTextureSync = 1005,
|
|
5
|
+
Cmd_ToStoreTmpBufferSync = 1006
|
|
6
|
+
}
|
|
7
|
+
declare class BitPaletteCtrl {
|
|
8
|
+
private _texture;
|
|
9
|
+
private _recycled;
|
|
10
|
+
constructor(texture: any);
|
|
11
|
+
/**
|
|
12
|
+
* 获取图片的主色调(dominant color),返回一个 Promise,可与 async/await 配合使用。<br>
|
|
13
|
+
* 使用方式示例:
|
|
14
|
+
*
|
|
15
|
+
* 异步/Promise方式:
|
|
16
|
+
* let colorStrJson = await bitPalette.Ctrl.getDomainColorSync();
|
|
17
|
+
* if (colorStrJson) {
|
|
18
|
+
* let colorsList = JSON.parse(colorStrJson);
|
|
19
|
+
* // colorsList 是主色调数组
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
getDomainColorSync(): Promise<any>;
|
|
24
|
+
toBlob(): Promise<Blob | null>;
|
|
25
|
+
private doCommand;
|
|
26
|
+
markRecycled(): void;
|
|
27
|
+
}
|
|
28
|
+
export declare class BitPalette {
|
|
29
|
+
private _recycled;
|
|
30
|
+
private _readyReject;
|
|
31
|
+
private _texture;
|
|
32
|
+
Ctrl: BitPaletteCtrl | null;
|
|
33
|
+
Ready: Promise<BitPalette> | null;
|
|
34
|
+
constructor(src: string, callback?: () => void);
|
|
35
|
+
recycle(): void;
|
|
36
|
+
static CommandType: {
|
|
37
|
+
GetDomainColorSync: BitPaletteCommand;
|
|
38
|
+
SubMapBlob: BitPaletteCommand;
|
|
39
|
+
SubMapTextureSync: BitPaletteCommand;
|
|
40
|
+
ToStoreTmpBuffer: BitPaletteCommand;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import CanvasTexture from "./CanvasTexture";
|
|
2
|
+
import { CustomPath } from "./Path";
|
|
3
|
+
type Data = {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class ChartHelper {
|
|
8
|
+
private width;
|
|
9
|
+
private height;
|
|
10
|
+
private xAxis;
|
|
11
|
+
private yAxis;
|
|
12
|
+
private originPosition;
|
|
13
|
+
private canvasTexture;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @param w {number} 画布宽度
|
|
17
|
+
* @param h {number} 画布高度
|
|
18
|
+
* @param xAxis {number[]} x轴范围
|
|
19
|
+
* @param yAxis {number[]} y轴范围
|
|
20
|
+
* @throws {Error} 如果画布宽度或高度小于等于 0,或者 x 或 y 轴范围不是长度为 2 的数组,或者 x 或 y 轴范围不是升序
|
|
21
|
+
*/
|
|
22
|
+
constructor(w: number, h: number, xAxis: number[], yAxis: number[]);
|
|
23
|
+
/**
|
|
24
|
+
* @description 获取画布对象
|
|
25
|
+
* @returns {CanvasTexture} 画布对象
|
|
26
|
+
*/
|
|
27
|
+
getCanvas(): CanvasTexture;
|
|
28
|
+
/**
|
|
29
|
+
* @description 获取原始数据点对应的坐标
|
|
30
|
+
* @returns {Data} 原始数据点对应的坐标
|
|
31
|
+
*/
|
|
32
|
+
getOriginPosition(): Data;
|
|
33
|
+
/**
|
|
34
|
+
* @description 根据数据获取绘制所需的position
|
|
35
|
+
* @param data {Data[]} 数据点数组,每个点包含 x 和 y 坐标
|
|
36
|
+
* @returns {Data[]} 数据点数组,每个点包含 x 和 y 坐标
|
|
37
|
+
*/
|
|
38
|
+
data2Pos(data: Data[]): Data[];
|
|
39
|
+
/**
|
|
40
|
+
* linePath参数说明
|
|
41
|
+
* @param data {Data[]} 数据点数组,每个点包含 x 和 y 坐标
|
|
42
|
+
* @param isBroken {boolean} 是否为折线
|
|
43
|
+
* @param close {number}
|
|
44
|
+
* 0: 不闭合,绘制线段用,
|
|
45
|
+
* 1: 闭合到x轴(自动绘制左右两端垂直于x轴的线段), 需要填充颜色时用
|
|
46
|
+
* 2: 闭合到y轴(自动绘制上下两端垂直于y轴的线段), 需要填充颜色时用
|
|
47
|
+
* @returns {CustomPath, Data[]} 路径对象和数据点数组,每个点包含 x 和 y 坐标
|
|
48
|
+
*/
|
|
49
|
+
linePath(data: Data[], isBroken?: boolean, close?: number): {
|
|
50
|
+
path: CustomPath;
|
|
51
|
+
position: Data[];
|
|
52
|
+
} | undefined;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -38,6 +38,7 @@ declare class DrawingPath {
|
|
|
38
38
|
* @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
|
|
39
39
|
*/
|
|
40
40
|
fill(color: String): void;
|
|
41
|
+
fillWithLinearGradient(fromX: Number, fromY: Number, toX: Number, toY: Number, colorList: Array<String>, positionList: Array<Number>): void;
|
|
41
42
|
protected onFinishDraw(): void;
|
|
42
43
|
}
|
|
43
44
|
export declare class RectPath extends DrawingPath {
|
|
@@ -74,6 +75,18 @@ export declare class CustomPath extends DrawingPath {
|
|
|
74
75
|
* @param {Number} targetY 目标位置y
|
|
75
76
|
*/
|
|
76
77
|
lineTo(targetX: Number, targetY: Number): void;
|
|
78
|
+
/**
|
|
79
|
+
* cubicTo
|
|
80
|
+
* 绘制三次贝塞尔曲线
|
|
81
|
+
*
|
|
82
|
+
* @param {Number} x0 控制点1的x坐标
|
|
83
|
+
* @param {Number} y0 控制点1的y坐标
|
|
84
|
+
* @param {Number} x1 控制点2的x坐标
|
|
85
|
+
* @param {Number} y1 控制点2的y坐标
|
|
86
|
+
* @param {Number} x2 目标点的x坐标
|
|
87
|
+
* @param {Number} y2 目标点的y坐标
|
|
88
|
+
*/
|
|
89
|
+
cubicTo(x0: Number, y0: Number, x1: Number, y1: Number, x2: Number, y2: Number): void;
|
|
77
90
|
/**
|
|
78
91
|
* arcTo
|
|
79
92
|
* 绘制以(left, top, right, bottom)围城的矩形为横轴比的椭圆圆弧
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { TextureBase } from "../Texture";
|
|
2
|
-
export type CapturedCallback = (textureAccessName: string, autoRecycleSet: boolean, width: number, height: number) => void;
|
|
2
|
+
export type CapturedCallback = (textureAccessName: string, autoRecycleSet: boolean, width: number, height: number, isCannceled: boolean) => void;
|
|
3
3
|
export declare class CapturedTexture extends TextureBase {
|
|
4
|
-
private _AutoRecycle;
|
|
5
4
|
private _Callback;
|
|
6
5
|
private _CaptureDiv;
|
|
7
6
|
private _Canceled;
|
|
8
|
-
|
|
7
|
+
private _Done;
|
|
8
|
+
private _PostProcessParams;
|
|
9
|
+
constructor(captureDiv: any, callback: CapturedCallback, autoRecycle: boolean, postProcessParams?: any);
|
|
9
10
|
cancel(): void;
|
|
11
|
+
recycle(): void;
|
|
10
12
|
commit(): String;
|
|
11
13
|
}
|