@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
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvPosterImage:Vue高阶组件,可配置默认背景图(通过slot), 支持AB图片切换, 可设置color space 和 texture size
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 包含left/top/width/height/border-radius的style设置
|
|
12
|
+
* colorSpace {String} 颜色空间,调整其他颜色空间可以节省内存,默认RGBA_8888
|
|
13
|
+
* imageCompress {boolean} 是否压缩图片, 默认打开(和JsvSmartImage不同)
|
|
14
|
+
* src {string} 图片的加载地址
|
|
15
|
+
* fadeIn: {boolean} 图片加载完成是否有淡入效果,默认为打开(和JsvSmartImage不同)
|
|
16
|
+
* enableAA: {boolean} 启用非全局的抗锯齿处理,不过这个处理会使绘制的矩形比原尺寸每边少2~3像素点
|
|
17
|
+
* syncDraw: {boolean} 是否同步绘制,默认false,表示异步绘制,如果设置为true,则表示将尝试同步绘制
|
|
18
|
+
* (与JsvDownloader完成预下载的图片会进行同步绘制,以确保图片的完整性)
|
|
19
|
+
* altImages: {Array<string>} AB图片地址组, 当非null时, style中的backgroundImage/backgroundColor将被忽略,
|
|
20
|
+
* altIndex: {number} AB图片索引, 当altImages不为null时, 有效, 默认为0
|
|
21
|
+
* altSync: {boolean} AB图片是否为同时加载模式,默认false
|
|
22
|
+
false:异步模式: b图加载完成后再进行自动切换, 建议大尺寸海报使用此模式
|
|
23
|
+
true:同步模式: 同时加载a图和b图(但b图不可见), 同时加载更耗内存, 建议小尺寸的button使用
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
declare const _default: {
|
|
27
|
+
new (...args: any[]): {
|
|
28
|
+
$: import("vue").ComponentInternalInstance;
|
|
29
|
+
$data: {};
|
|
30
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
41
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
43
|
+
$el: any;
|
|
44
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
45
|
+
$props: {
|
|
46
|
+
readonly src?: string | undefined;
|
|
47
|
+
readonly fadeIn?: boolean | undefined;
|
|
48
|
+
readonly enableAA?: boolean | undefined;
|
|
49
|
+
readonly altImages?: unknown[] | undefined;
|
|
50
|
+
readonly altIndex?: number | undefined;
|
|
51
|
+
readonly colorSpace?: string | undefined;
|
|
52
|
+
readonly imageCompress?: boolean | undefined;
|
|
53
|
+
readonly isPosterImage?: boolean | undefined;
|
|
54
|
+
readonly syncDraw?: boolean | undefined;
|
|
55
|
+
readonly altSync?: boolean | undefined;
|
|
56
|
+
readonly style?: Record<string, any> | undefined;
|
|
57
|
+
};
|
|
58
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
59
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
72
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
73
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
74
|
+
};
|
|
75
|
+
$forceUpdate: () => void;
|
|
76
|
+
$nextTick: typeof import("vue").nextTick;
|
|
77
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
78
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
79
|
+
$props: {
|
|
80
|
+
readonly src?: string | undefined;
|
|
81
|
+
readonly fadeIn?: boolean | undefined;
|
|
82
|
+
readonly enableAA?: boolean | undefined;
|
|
83
|
+
readonly altImages?: unknown[] | undefined;
|
|
84
|
+
readonly altIndex?: number | undefined;
|
|
85
|
+
readonly colorSpace?: string | undefined;
|
|
86
|
+
readonly imageCompress?: boolean | undefined;
|
|
87
|
+
readonly isPosterImage?: boolean | undefined;
|
|
88
|
+
readonly syncDraw?: boolean | undefined;
|
|
89
|
+
readonly altSync?: boolean | undefined;
|
|
90
|
+
readonly style?: Record<string, any> | undefined;
|
|
91
|
+
};
|
|
92
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
93
|
+
__isFragment?: undefined;
|
|
94
|
+
__isTeleport?: undefined;
|
|
95
|
+
__isSuspense?: undefined;
|
|
96
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
97
|
+
$props: {
|
|
98
|
+
readonly src?: string | undefined;
|
|
99
|
+
readonly fadeIn?: boolean | undefined;
|
|
100
|
+
readonly enableAA?: boolean | undefined;
|
|
101
|
+
readonly altImages?: unknown[] | undefined;
|
|
102
|
+
readonly altIndex?: number | undefined;
|
|
103
|
+
readonly colorSpace?: string | undefined;
|
|
104
|
+
readonly imageCompress?: boolean | undefined;
|
|
105
|
+
readonly isPosterImage?: boolean | undefined;
|
|
106
|
+
readonly syncDraw?: boolean | undefined;
|
|
107
|
+
readonly altSync?: boolean | undefined;
|
|
108
|
+
readonly style?: Record<string, any> | undefined;
|
|
109
|
+
};
|
|
110
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
111
|
+
$slots: {
|
|
112
|
+
default: (_: {}) => any;
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
export default _default;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvPosterDiv:Vue高阶组件,海报描画, 其字内容为占位图
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 包含
|
|
12
|
+
* left/top/width/height
|
|
13
|
+
* border-radius
|
|
14
|
+
* backgroundImage/backgroundColor
|
|
15
|
+
* 的style设置
|
|
16
|
+
* fadeIn: {boolean} 图片加载完成是否有淡入效果,默认为关闭
|
|
17
|
+
* enableAA: {boolean} 启用非全局的抗锯齿处理,不过这个处理会使绘制的矩形比原尺寸每边少2~3像素点, 默认为关闭
|
|
18
|
+
* altImages: {Array<string>} AB图片地址组, 当非null时, style中的backgroundImage/backgroundColor将被忽略,
|
|
19
|
+
* string内容必须是url(), 或者直接import, 或者rgba(x,x,x,x)格式, 或者#RRGGBBAA格式
|
|
20
|
+
* altIndex: {number} AB图片索引, 当altImages不为null时, 有效, 默认为0
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
declare const _default: {
|
|
24
|
+
new (...args: any[]): {
|
|
25
|
+
$: import("vue").ComponentInternalInstance;
|
|
26
|
+
$data: {};
|
|
27
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
28
|
+
$attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
$refs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$slots: Readonly<{
|
|
35
|
+
[name: string]: import("vue").Slot | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
38
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
39
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
40
|
+
$el: any;
|
|
41
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
42
|
+
$props: {
|
|
43
|
+
readonly fadeIn?: boolean | undefined;
|
|
44
|
+
readonly enableAA?: boolean | undefined;
|
|
45
|
+
readonly altImages?: unknown[] | undefined;
|
|
46
|
+
readonly altIndex?: number | undefined;
|
|
47
|
+
readonly style?: Record<string, any> | undefined;
|
|
48
|
+
};
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
50
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
63
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
64
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
65
|
+
};
|
|
66
|
+
$forceUpdate: () => void;
|
|
67
|
+
$nextTick: typeof import("vue").nextTick;
|
|
68
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
69
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
70
|
+
$props: {
|
|
71
|
+
readonly fadeIn?: boolean | undefined;
|
|
72
|
+
readonly enableAA?: boolean | undefined;
|
|
73
|
+
readonly altImages?: unknown[] | undefined;
|
|
74
|
+
readonly altIndex?: number | undefined;
|
|
75
|
+
readonly style?: Record<string, any> | undefined;
|
|
76
|
+
};
|
|
77
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
78
|
+
__isFragment?: undefined;
|
|
79
|
+
__isTeleport?: undefined;
|
|
80
|
+
__isSuspense?: undefined;
|
|
81
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
82
|
+
$props: {
|
|
83
|
+
readonly fadeIn?: boolean | undefined;
|
|
84
|
+
readonly enableAA?: boolean | undefined;
|
|
85
|
+
readonly altImages?: unknown[] | undefined;
|
|
86
|
+
readonly altIndex?: number | undefined;
|
|
87
|
+
readonly style?: Record<string, any> | undefined;
|
|
88
|
+
};
|
|
89
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
90
|
+
$slots: {
|
|
91
|
+
default: (_: {}) => any;
|
|
92
|
+
};
|
|
93
|
+
});
|
|
94
|
+
export default _default;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvSmartImage:Vue高阶组件,可配置默认背景图(通过slot), 支持AB图片切换, 并设置color space 和 texture size
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 包含left/top/width/height/border-radius的style设置
|
|
12
|
+
* colorSpace {String} 颜色空间,调整其他颜色空间可以节省内存,默认RGBA_8888
|
|
13
|
+
* imageCompress {boolean} 是否压缩图片, 默认关闭
|
|
14
|
+
* src {string} 图片的加载地址
|
|
15
|
+
* fadeIn: {boolean} 图片加载完成是否有淡入效果,默认为关闭
|
|
16
|
+
* enableAA: {boolean} 启用非全局的抗锯齿处理,不过这个处理会使绘制的矩形比原尺寸每边少2~3像素点, 默认为关闭
|
|
17
|
+
* syncDraw: {boolean} 是否同步绘制,默认false,表示异步绘制,如果设置为true,则表示将尝试同步绘制
|
|
18
|
+
* (与JsvDownloader完成预下载的图片会进行同步绘制,以确保图片的完整性)
|
|
19
|
+
* altImages: {Array<string>} AB图片地址组, 当非null时, style中的backgroundImage/backgroundColor将被忽略,
|
|
20
|
+
* altIndex: {number} AB图片索引, 当altImages不为null时, 有效, 默认为0
|
|
21
|
+
* altSync: {boolean} AB图片是否同步绘制,默认false
|
|
22
|
+
false:异步模式: b图加载完成后再进行自动切换, 建议大尺寸海报使用此模式
|
|
23
|
+
true:同步模式: 同时加载a图和b图(但b图不可见), 同时加载更耗内存, 建议小尺寸的button使用
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
declare const _default: {
|
|
27
|
+
new (...args: any[]): {
|
|
28
|
+
$: import("vue").ComponentInternalInstance;
|
|
29
|
+
$data: {};
|
|
30
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
41
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
43
|
+
$el: any;
|
|
44
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
45
|
+
$props: {
|
|
46
|
+
readonly src?: string | undefined;
|
|
47
|
+
readonly fadeIn?: boolean | undefined;
|
|
48
|
+
readonly enableAA?: boolean | undefined;
|
|
49
|
+
readonly altImages?: unknown[] | undefined;
|
|
50
|
+
readonly altIndex?: number | undefined;
|
|
51
|
+
readonly colorSpace?: string | undefined;
|
|
52
|
+
readonly imageCompress?: boolean | undefined;
|
|
53
|
+
readonly isPosterImage?: boolean | undefined;
|
|
54
|
+
readonly syncDraw?: boolean | undefined;
|
|
55
|
+
readonly altSync?: boolean | undefined;
|
|
56
|
+
readonly style?: Record<string, any> | undefined;
|
|
57
|
+
};
|
|
58
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
59
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
72
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
73
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
74
|
+
};
|
|
75
|
+
$forceUpdate: () => void;
|
|
76
|
+
$nextTick: typeof import("vue").nextTick;
|
|
77
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
78
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
79
|
+
$props: {
|
|
80
|
+
readonly src?: string | undefined;
|
|
81
|
+
readonly fadeIn?: boolean | undefined;
|
|
82
|
+
readonly enableAA?: boolean | undefined;
|
|
83
|
+
readonly altImages?: unknown[] | undefined;
|
|
84
|
+
readonly altIndex?: number | undefined;
|
|
85
|
+
readonly colorSpace?: string | undefined;
|
|
86
|
+
readonly imageCompress?: boolean | undefined;
|
|
87
|
+
readonly isPosterImage?: boolean | undefined;
|
|
88
|
+
readonly syncDraw?: boolean | undefined;
|
|
89
|
+
readonly altSync?: boolean | undefined;
|
|
90
|
+
readonly style?: Record<string, any> | undefined;
|
|
91
|
+
};
|
|
92
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
93
|
+
__isFragment?: undefined;
|
|
94
|
+
__isTeleport?: undefined;
|
|
95
|
+
__isSuspense?: undefined;
|
|
96
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
97
|
+
$props: {
|
|
98
|
+
readonly src?: string | undefined;
|
|
99
|
+
readonly fadeIn?: boolean | undefined;
|
|
100
|
+
readonly enableAA?: boolean | undefined;
|
|
101
|
+
readonly altImages?: unknown[] | undefined;
|
|
102
|
+
readonly altIndex?: number | undefined;
|
|
103
|
+
readonly colorSpace?: string | undefined;
|
|
104
|
+
readonly imageCompress?: boolean | undefined;
|
|
105
|
+
readonly isPosterImage?: boolean | undefined;
|
|
106
|
+
readonly syncDraw?: boolean | undefined;
|
|
107
|
+
readonly altSync?: boolean | undefined;
|
|
108
|
+
readonly style?: Record<string, any> | undefined;
|
|
109
|
+
};
|
|
110
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
111
|
+
$slots: {
|
|
112
|
+
default: (_: {}) => any;
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/index.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from "./JsvFreeMoveActor";
|
|
6
|
+
export * from "./JsvFlexCell";
|
|
7
|
+
export * from "./JsvSpriteAnim";
|
|
8
|
+
export * from "./JsvScrollBox";
|
|
9
|
+
export * from "./JsvClipDiv";
|
|
10
|
+
export * from "./JsvDriftScope";
|
|
11
|
+
export * from "./JsvDomRenderer";
|
|
12
|
+
export { default as JsvApic } from "./JsvApic/JsvApic";
|
|
13
|
+
export { default as JsvApic2 } from "./JsvApic/JsvApic2";
|
|
14
|
+
export { default as JsvQrcode } from "./JsvQrcode/JsvQrcode.vue";
|
|
15
|
+
export { default as JsvSpray } from "./JsvSpray/JsvSpray.vue";
|
|
16
|
+
export { default as JsvSwiper3D } from "./JsvSwiper3D";
|
|
17
|
+
export { default as JsvVisibleSensor } from "./JsvVisibleSensor";
|
|
18
|
+
export { default as JsvFilterView } from "./JsvFilterView.vue";
|
|
19
|
+
export { default as JsvHole } from "./JsvHole.js";
|
|
20
|
+
export { default as JsvMarquee } from "./JsvMarquee.vue";
|
|
21
|
+
export { default as JsvMaskClipDiv } from "./JsvMaskClipDiv.vue";
|
|
22
|
+
export { default as JsvNinePatch } from "./JsvNinePatch.vue";
|
|
23
|
+
export { default as JsvPosterDiv } from "./TypesDiv/JsvPosterDiv.vue";
|
|
24
|
+
export { default as JsvPosterImage } from "./TypesDiv/JsvPosterImage.vue";
|
|
25
|
+
export { default as JsvSmartDiv } from "./TypesDiv/JsvSmartDiv.vue";
|
|
26
|
+
export { default as JsvSmartImage } from "./TypesDiv/JsvSmartImage.vue";
|
|
27
|
+
export { default as JsvScaleTextBox } from "./JsvScaleTextBox.vue";
|
|
28
|
+
export { JsvSoundPool } from "./JsvSoundPool.js";
|
|
29
|
+
export { default as JsvTextBox } from "./JsvTextBox.vue";
|
|
30
|
+
export { default as JsvRadarChart } from "./JsvRadarChart.vue";
|
|
31
|
+
export { default as JsvLine } from "./JsvLine";
|
|
32
|
+
export { default as JsvPieChart } from "./JsvPieChart.vue";
|
|
33
|
+
export { default as JsvSector } from "./JsvSector.vue";
|
|
34
|
+
export { default as JsvConnectLine } from "./JsvConnectLine";
|
|
35
|
+
export { default as JsvProgressBar } from "./JsvProgressBar.vue";
|
|
36
|
+
export { default as JsvEnableRenderBreak } from "./JsvEnableRenderBreak.vue";
|
|
37
|
+
export { JsvMindMap } from "./JsvMindMap";
|
|
38
|
+
export { default as JsvFragShaderView } from "./JsvFragShaderView";
|
|
39
|
+
export { default as JsvTouchModeSwitcher } from "./JsvTouchModeSwitcher.vue";
|
|
40
|
+
export { default as JsvDragBox } from "./JsvDragBox/JsvDragBox.vue";
|
|
41
|
+
export { default as Jsv3dDiv } from "./Jsv3dDiv.vue";
|
|
42
|
+
export { default as Jsv3dStage } from "./Jsv3dStage.vue";
|
|
43
|
+
export { default as JsvDashPath } from "./JsvDashPath.vue";
|
|
44
|
+
import JsvNativeSharedDiv from "./JsvNativeSharedDiv.vue";
|
|
45
|
+
export { JsvNativeSharedDiv as JsvTransparentDiv, JsvNativeSharedDiv };
|
|
46
|
+
export { default as JsvActorMove, JsvActorMoveControl } from "./JsvActorMove";
|
|
47
|
+
export { LoopType, ApicEndState } from "./JsvApic/JsvCommonLoopToolBase.js";
|
|
48
|
+
export { default as JsvInput, InputType } from "./JsvInput";
|
|
49
|
+
export { default as JsvPreload, default as JsvPicKeepAlive, buildPreloadInfo, buildLoadInfo, buildDownloadInfo } from "./JsvPreload";
|
|
50
|
+
export { JsvSwiper, JsvSwiper2, JsvSmoothSwiper } from "./JsvSwiper";
|
|
51
|
+
export { default as JsvTextureAnim, TexAlignAnchor, DECORATE_NINEPATCH_ALPHA_MIX, DECORATE_BORDER_RADIUS } from "./JsvTextureAnim";
|
|
52
|
+
export { default as JsvGrid, PageType, LineType, FocusMoveType } from "./JsvGrid.vue";
|
|
53
|
+
export { default as JsvRipple, JsvRippleShape } from "./JsvRipple";
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, resolveComponent, createBlock, mergeProps } from 'vue';
|
|
2
|
+
import { _ as _export_sfc } from '../export-sfc.mjs';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
+ @file {@link file://./../../../../../utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue}
|
|
6
|
+
*/
|
|
7
|
+
const _sfc_main$1 = {
|
|
8
|
+
props: {
|
|
9
|
+
/**
|
|
10
|
+
* 回调函数,播放器对象通知接口
|
|
11
|
+
* @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
|
|
12
|
+
*/
|
|
13
|
+
onRef: { type: Function, default: () => {
|
|
14
|
+
} },
|
|
15
|
+
/**
|
|
16
|
+
* 属性,Boolean类型,true表示自动播放,默认false。
|
|
17
|
+
*/
|
|
18
|
+
autoplay: { type: Boolean, default: false },
|
|
19
|
+
/**
|
|
20
|
+
* 属性,Boolean类型,true表示静音,默认false。
|
|
21
|
+
*/
|
|
22
|
+
muted: { type: Boolean, default: false },
|
|
23
|
+
/**
|
|
24
|
+
* 属性,Boolean类型,true表示循环播放,默认false。
|
|
25
|
+
*/
|
|
26
|
+
loop: { type: Boolean, default: false },
|
|
27
|
+
/**
|
|
28
|
+
* 属性,String类型,播放地址。
|
|
29
|
+
*/
|
|
30
|
+
src: { type: String, default: "" },
|
|
31
|
+
/**
|
|
32
|
+
* 回调函数,播放结束时通过此回调接口通知。
|
|
33
|
+
*/
|
|
34
|
+
onEnded: {
|
|
35
|
+
type: Function,
|
|
36
|
+
default: () => {
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* 回调函数,播放错误时通过此接口通知。
|
|
42
|
+
* @param {int} 错误类型,当前定义了四种错误。1是异常中断;2是网络错误;3是解码错误;4是格式不支持。
|
|
43
|
+
*/
|
|
44
|
+
onError: {
|
|
45
|
+
type: Function,
|
|
46
|
+
default: () => {
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* 回调函数,开始加载,设置完播放地址后,上报此事件。
|
|
52
|
+
*/
|
|
53
|
+
onLoadStart: {
|
|
54
|
+
type: Function,
|
|
55
|
+
default: () => {
|
|
56
|
+
return {};
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* 回调函数,视频准备好后触发。
|
|
61
|
+
*/
|
|
62
|
+
onLoadedMetaData: {
|
|
63
|
+
type: Function,
|
|
64
|
+
default: () => {
|
|
65
|
+
return {};
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* 回调函数,视频准备好后触发,这个时候可以正常seek。
|
|
70
|
+
*/
|
|
71
|
+
onLoad: {
|
|
72
|
+
type: Function,
|
|
73
|
+
default: () => {
|
|
74
|
+
return {};
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* 回调函数,音频失去焦点后触发此事件,可能会导致pause(点播)或者离开频道(直播)。
|
|
79
|
+
*/
|
|
80
|
+
onAudioFocusLoss: {
|
|
81
|
+
type: Function,
|
|
82
|
+
default: () => {
|
|
83
|
+
return {};
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
* 回调函数,音频获取焦点后触发此事件,可能会触发resume(点播)或者加入频道(直播)。
|
|
88
|
+
*/
|
|
89
|
+
onAudioFocusGain: {
|
|
90
|
+
type: Function,
|
|
91
|
+
default: () => {
|
|
92
|
+
return {};
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
/*
|
|
96
|
+
*预下载音频
|
|
97
|
+
*/
|
|
98
|
+
preDownload: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: false
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
setup() {
|
|
104
|
+
return {
|
|
105
|
+
audio: null
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
mounted() {
|
|
109
|
+
this.Jsvinit();
|
|
110
|
+
},
|
|
111
|
+
beforeUnmount() {
|
|
112
|
+
if (this.audio != null) {
|
|
113
|
+
this.audio.unload?.();
|
|
114
|
+
this.audio.releaseResource?.();
|
|
115
|
+
this.audio.onPlatformDestroy?.();
|
|
116
|
+
this.onRef?.(null);
|
|
117
|
+
this.unregisterOnVisibilityChange();
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
methods: {
|
|
121
|
+
registerEvent() {
|
|
122
|
+
if (this.audio) {
|
|
123
|
+
this.audio.addEventListener("ended", this.onEnded);
|
|
124
|
+
this.audio.addEventListener("error", this.onError);
|
|
125
|
+
this.audio.addEventListener("loadstart", this.onLoadStart);
|
|
126
|
+
this.audio.addEventListener("loadedmetadata", this.onLoadedMetaData);
|
|
127
|
+
this.audio.addEventListener("loadeddata", this.onLoad);
|
|
128
|
+
this.audio.addEventListener("audiofocusloss", this.onAudioFocusLoss);
|
|
129
|
+
this.audio.addEventListener("audiofocusgain", this.onAudioFocusGain);
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
onVisibilityChange(status) {
|
|
133
|
+
if (status.status === "show") {
|
|
134
|
+
this.onJsViewShow();
|
|
135
|
+
} else if (status.status === "hide") {
|
|
136
|
+
this.onJsViewHide();
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
registerOnVisibilityChange() {
|
|
140
|
+
if (window.JsView) {
|
|
141
|
+
window.JsView.onVisibilityChange(this.onVisibilityChange);
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
unregisterOnVisibilityChange() {
|
|
145
|
+
if (window.JsView) {
|
|
146
|
+
window.JsView.removeEventCallback(this.onVisibilityChange);
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
onJsViewHide() {
|
|
150
|
+
if (this.audio) {
|
|
151
|
+
if (!this.audio.paused) {
|
|
152
|
+
this.stopByOnHide = true;
|
|
153
|
+
}
|
|
154
|
+
this.audio.unload();
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
onJsViewShow() {
|
|
158
|
+
if (!this.audio) {
|
|
159
|
+
this.Jsvinit();
|
|
160
|
+
}
|
|
161
|
+
if (this.stopByOnHide) {
|
|
162
|
+
this.stopByOnHide = false;
|
|
163
|
+
this.Jsvinit();
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
Jsvinit() {
|
|
167
|
+
this.audio = new Audio();
|
|
168
|
+
this.registerEvent();
|
|
169
|
+
if (this.src && this.src !== "") {
|
|
170
|
+
let realUrl;
|
|
171
|
+
if (window.JsView) {
|
|
172
|
+
realUrl = new window.JsView.Dom.UrlRef(this.src).href;
|
|
173
|
+
} else {
|
|
174
|
+
realUrl = this.src;
|
|
175
|
+
}
|
|
176
|
+
this.audio.src = realUrl;
|
|
177
|
+
}
|
|
178
|
+
if (this.autoplay) {
|
|
179
|
+
this.audio.autoplay = this.autoplay;
|
|
180
|
+
}
|
|
181
|
+
if (this.muted) {
|
|
182
|
+
this.audio.muted = this.muted;
|
|
183
|
+
}
|
|
184
|
+
if (this.loop) {
|
|
185
|
+
this.audio.loop = this.loop;
|
|
186
|
+
}
|
|
187
|
+
if (this.preDownload) {
|
|
188
|
+
this.audio.predownload = this.preDownload;
|
|
189
|
+
}
|
|
190
|
+
this.onRef?.(this.audio);
|
|
191
|
+
Promise.resolve().then(() => {
|
|
192
|
+
if (this.audio) {
|
|
193
|
+
this.audio.confirmInitSetup?.();
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
this.registerOnVisibilityChange();
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
201
|
+
return openBlock(), createElementBlock("div", {
|
|
202
|
+
style: { width: 1, height: 1 },
|
|
203
|
+
backgroundColor: "rgba(0,0,0,1)"
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
const JsvSystemAudio = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
207
|
+
|
|
208
|
+
/*
|
|
209
|
+
+ @file {@link file://./../../../../../utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue}
|
|
210
|
+
*/
|
|
211
|
+
const _sfc_main = {
|
|
212
|
+
components: {
|
|
213
|
+
JsvSystemAudio
|
|
214
|
+
},
|
|
215
|
+
props: {
|
|
216
|
+
onRef: { type: Function, default: () => {
|
|
217
|
+
} }
|
|
218
|
+
},
|
|
219
|
+
setup() {
|
|
220
|
+
return {
|
|
221
|
+
audioRef: null
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
methods: {
|
|
225
|
+
onRefProxy(audio_ref) {
|
|
226
|
+
if (audio_ref != null) {
|
|
227
|
+
audio_ref.closeScreenSaver = () => {
|
|
228
|
+
};
|
|
229
|
+
audio_ref.openScreenSaver = () => {
|
|
230
|
+
};
|
|
231
|
+
audio_ref.unload = () => {
|
|
232
|
+
audio_ref.src = "";
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
this.audioRef = audio_ref;
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
mounted() {
|
|
239
|
+
if (this.audioRef && this.onRef) {
|
|
240
|
+
let audio_ref = this.audioRef;
|
|
241
|
+
this.audioRef = null;
|
|
242
|
+
this.onRef(audio_ref);
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
beforeUnmount() {
|
|
246
|
+
this.audioRef?.closeScreenSaver();
|
|
247
|
+
if (this.onRef) {
|
|
248
|
+
this.onRef(null);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
253
|
+
const _component_jsv_system_audio = resolveComponent("jsv-system-audio");
|
|
254
|
+
return openBlock(), createBlock(_component_jsv_system_audio, mergeProps({ onRef: $options.onRefProxy }, _ctx.$attrs), null, 16, ["onRef"]);
|
|
255
|
+
}
|
|
256
|
+
const BrowserAudio = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
257
|
+
|
|
258
|
+
export { BrowserAudio as default };
|