@shijiu/jsview-vue 2.3.151-test.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/BrowserJsvLatex.vue.mjs +9 -90
- package/bin/jsview-vue.mjs +5964 -1833
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +18 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/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 +25 -5
- 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 +3 -3
- 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 +17 -7
- 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/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +10 -3
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +76 -26
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/index.d.ts +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/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 +1 -0
- 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/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 +6 -3
- 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 +24 -2
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +325 -155
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1035 -370
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +138 -41
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -0
- package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
- package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
- package/utils/JsViewEngineWidget/RectUtils.js +1 -1
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +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 +329 -230
- 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 +17 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/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} +60 -10
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
- package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
- package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
- package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
- package/utils/JsViewVueTools/BlobApi.ts +55 -0
- package/utils/JsViewVueTools/FeatureActive.ts +3 -0
- package/utils/JsViewVueTools/ForgeHandles.ts +3 -0
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +40 -19
- package/utils/JsViewVueTools/JsvTextTools.ts +9 -1
- package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +16 -1
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +154 -69
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +1 -1
- package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
- package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
- package/utils/JsViewVueTools/index.js +3 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
- package/utils/JsViewVueWidget/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/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +23 -11
- 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 +29 -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 +32 -29
- 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/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -305
- 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 +7 -2
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.d.ts +0 -7
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.ts +0 -36
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/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,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvSoundPool.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export class JsvSoundPool {
|
|
6
|
+
/**
|
|
7
|
+
* @param {int} max max streams
|
|
8
|
+
*/
|
|
9
|
+
constructor(max: int);
|
|
10
|
+
_SoundPool: any;
|
|
11
|
+
_SoundIdMap: {} | undefined;
|
|
12
|
+
_StreamIdMap: Set<any> | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @description: 准备音频资源
|
|
15
|
+
* @param {string} url 音频url
|
|
16
|
+
* @param {string} netSetting http请求配置
|
|
17
|
+
* @param {int} priority 优先级
|
|
18
|
+
* @param {function} callback 资源加载完成回调 function(int state, AudioController controller) {}
|
|
19
|
+
*/
|
|
20
|
+
request(url: string, netSetting: string, priority: int, callback: Function): void;
|
|
21
|
+
/**
|
|
22
|
+
* @description: 准备音频资源
|
|
23
|
+
* @param {string} url 音频url
|
|
24
|
+
* @param {int} fastRepeatGap 最小间隔时间, 如果不为0则启用快速重复播放, 用两路音轨解决快速播放的漏音问题
|
|
25
|
+
* @param {string} netSetting http请求配置
|
|
26
|
+
* @param {int} priority 优先级
|
|
27
|
+
* @param {function} callback 资源加载完成回调 function(int state, AudioController controller) {}
|
|
28
|
+
*/
|
|
29
|
+
requestInRepeatMode(url: string, fastRepeatGap: int, netSetting: string, priority: int, callback: Function): void;
|
|
30
|
+
/**
|
|
31
|
+
* @description: 准备音频资源
|
|
32
|
+
* @param {string} url 音频url
|
|
33
|
+
* @param {int} repeatFastMiniGap 最小间隔时间, 如果不为0则启用快速重复播放, 用两路音轨解决快速播放的漏音问题
|
|
34
|
+
* @param {string} netSetting http请求配置
|
|
35
|
+
* @param {int} priority 优先级
|
|
36
|
+
* @param {function} callback 资源加载完成回调 function(int state, AudioController controller) {}
|
|
37
|
+
*/
|
|
38
|
+
_request(url: string, repeatFastMiniGap: int, netSetting: string, priority: int, callback: Function): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description: 释放音频资源
|
|
41
|
+
* @param {AudioController} controller 控制句柄
|
|
42
|
+
*/
|
|
43
|
+
release(controller: AudioController): void;
|
|
44
|
+
/**
|
|
45
|
+
* @description: 销毁SoundPool
|
|
46
|
+
*/
|
|
47
|
+
destroy(): void;
|
|
48
|
+
/**
|
|
49
|
+
* @description: 全部暂停
|
|
50
|
+
*/
|
|
51
|
+
autoPause(): void;
|
|
52
|
+
/**
|
|
53
|
+
* @description: 全部开始
|
|
54
|
+
*/
|
|
55
|
+
autoResume(): void;
|
|
56
|
+
}
|
|
57
|
+
declare class AudioController {
|
|
58
|
+
constructor(soundPool: any, soundId: any, url: any);
|
|
59
|
+
_SoundPool: any;
|
|
60
|
+
_SoundId: any;
|
|
61
|
+
_Url: any;
|
|
62
|
+
_StreamId: number;
|
|
63
|
+
_StreamStartTime: number;
|
|
64
|
+
_SubStreamId: number;
|
|
65
|
+
_SubStreamStartTime: number;
|
|
66
|
+
_LatestStreamStartTime: number;
|
|
67
|
+
_Rate: number;
|
|
68
|
+
_Loop: number;
|
|
69
|
+
_LeftVolume: number;
|
|
70
|
+
_RightVolume: number;
|
|
71
|
+
_Priority: number;
|
|
72
|
+
_FastRepeatGap: number;
|
|
73
|
+
enableFastRepeat(mini_gap: any): void;
|
|
74
|
+
/**
|
|
75
|
+
* @description: 播放音频
|
|
76
|
+
*/
|
|
77
|
+
play(): void;
|
|
78
|
+
_playMainStream(now: any): void;
|
|
79
|
+
_playSubStream(now: any): void;
|
|
80
|
+
/**
|
|
81
|
+
* @description: 暂停音频(Android4.0不支持)
|
|
82
|
+
*/
|
|
83
|
+
pause(): void;
|
|
84
|
+
/**
|
|
85
|
+
* @description: 恢复播放音频(Android4.0不支持)
|
|
86
|
+
*/
|
|
87
|
+
resume(): void;
|
|
88
|
+
/**
|
|
89
|
+
* @description: 停止音频(Android4.0不支持)
|
|
90
|
+
*/
|
|
91
|
+
stop(): void;
|
|
92
|
+
/**
|
|
93
|
+
* @description: 设置播放速度
|
|
94
|
+
* @param {float} rate 播放的倍率
|
|
95
|
+
*/
|
|
96
|
+
setRate(rate: float): void;
|
|
97
|
+
/**
|
|
98
|
+
* @description: 设置音量
|
|
99
|
+
* @param {float} leftVolume 左声道音量
|
|
100
|
+
* @param {float} rightVolume 右声道音量
|
|
101
|
+
*/
|
|
102
|
+
setVolume(leftVolume: float, rightVolume: float): void;
|
|
103
|
+
/**
|
|
104
|
+
* @description: 设置循环次数, 注意: 循环一次表示总共播两次
|
|
105
|
+
* @param {int} loop 循环次数
|
|
106
|
+
*/
|
|
107
|
+
setLoop(loop: int): void;
|
|
108
|
+
/**
|
|
109
|
+
* @description: 设置优先级
|
|
110
|
+
* @param {int} priority 优先级
|
|
111
|
+
*/
|
|
112
|
+
setPriority(priority: int): void;
|
|
113
|
+
}
|
|
114
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpray/JsvSpray.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvSpray:Vue高阶组件,粒子效果控件
|
|
10
|
+
* prop说明:
|
|
11
|
+
* pointRes {string} (必需)粒子图案 可选值: 绝对路径url|url(相对路径url)|#FFFFFF|rbga(255,0,0,1.0)
|
|
12
|
+
* sprayStyle {object} (必需)粒子效果配置
|
|
13
|
+
* ignoreClip {boolean} 无视clipView描画
|
|
14
|
+
* onStop {() => void} 停止喷射回调
|
|
15
|
+
*
|
|
16
|
+
* prop中的sprayStyle说明:
|
|
17
|
+
* type {int} (必需)喷射类型 0: 一次喷射 1: 持续喷射
|
|
18
|
+
* particleNum {int} (必需)粒子个数
|
|
19
|
+
* deltaAngle {int} (必需)粒子喷射角度范围(角度)。如设30则粒子喷射范围为div上边法向正负30度
|
|
20
|
+
* deltaWidth {int} (必需)粒子喷射位置宽度范围, 会在左右两侧各deltaWidth的范围内随机出现粒子
|
|
21
|
+
* deltaHeight {int} (必需)粒子喷射位置高度范围, 会在上下两侧各deltaHeight的范围内随机出现粒子
|
|
22
|
+
* pointSizeMin {int} (必需)粒子尺寸下限(像素)
|
|
23
|
+
* pointSizeMax {int} (必需)粒子尺寸上限(像素)
|
|
24
|
+
* speedMin {float} (必需)粒子速度下限
|
|
25
|
+
* speedMax {float} (必需)粒子速度上限
|
|
26
|
+
* lifeMin {int} (必需)粒子生命周期下限(ms)
|
|
27
|
+
* lifeMax {int} (必需)粒子生命周期上限(ms)
|
|
28
|
+
* accelerateX {float} (必需)水平方向加速度
|
|
29
|
+
* accelerateY {float} (必需)垂直方向加速度
|
|
30
|
+
* addNumSpeed {float} (废弃)持续喷射时,起始粒子添加速度(个/ms), 默认为0.001
|
|
31
|
+
* particleAddSpeed {float} 持续喷射时,起始粒子添加速度(个/ms), 默认为0.001
|
|
32
|
+
* enableFade {boolean} 粒子淡出开关, 默认为false
|
|
33
|
+
* enableShrink {boolean} 粒子缩小开关, 默认为false
|
|
34
|
+
* angularVelocityMin {float} 角速度最小值(角度/秒), 默认为0
|
|
35
|
+
* angularVelocityMax {float} 角速度最大值(角度/秒), 默认为0
|
|
36
|
+
* alphaMin {float} 透明度最小值, 默认为1
|
|
37
|
+
* alphaMax {float} 透明度最大值, 默认为1
|
|
38
|
+
* angleMin {float} 角度最小值(角度)
|
|
39
|
+
* angleMax {float} 角度最大值(角度)
|
|
40
|
+
* 方法
|
|
41
|
+
* start { () => void }
|
|
42
|
+
* @descripe 开始喷射
|
|
43
|
+
* stop { (immediate: boolean) => void }
|
|
44
|
+
* @descripe 停止喷射
|
|
45
|
+
* @param immediate { boolean } 是否立即消除粒子, false时会停止喷射,等待已有粒子消失
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
49
|
+
start: () => void;
|
|
50
|
+
stop: (immediate: any) => void;
|
|
51
|
+
$props: {
|
|
52
|
+
readonly pointRes?: string | undefined;
|
|
53
|
+
readonly sprayStyle?: Record<string, any> | undefined;
|
|
54
|
+
readonly ignoreClip?: boolean | undefined;
|
|
55
|
+
readonly onStop?: Function | undefined;
|
|
56
|
+
};
|
|
57
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare class SpritePack {
|
|
6
|
+
keyFrameRefName: String | null;
|
|
7
|
+
clipKeyFrameName: String | null;
|
|
8
|
+
transKeyFrameName: String | null;
|
|
9
|
+
clipStyle: any;
|
|
10
|
+
transStyle: any;
|
|
11
|
+
imageStyle: any;
|
|
12
|
+
}
|
|
13
|
+
declare function expireAnimates(runningSprite: SpritePack | null): void;
|
|
14
|
+
declare function newAnimateFrames(image_url: string, frame_info_list: Array<any> | undefined, canvas_width: number, canvas_height: number, source_width: number, source_height: number): SpritePack;
|
|
15
|
+
declare function newFrozeFrame(image_url: String, frame_info_list: Array<any>, // 精灵图队列
|
|
16
|
+
index: number, // 静止帧 stopFrame.value === "start" ? 0 : frame_info_list.length - 1;
|
|
17
|
+
canvas_width: number, canvas_height: number, source_width: number, source_height: number): SpritePack;
|
|
18
|
+
export { expireAnimates, newAnimateFrames, newFrozeFrame };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvSpriteAnim: 描画动态的精灵图(雪碧图)
|
|
10
|
+
* 注意: PC模拟环境中,动画执行完成如果在onAnimEnd立刻进行不显示的话,可能闪一帧残留图像,在盒子不会有这个问题
|
|
11
|
+
* prop说明:
|
|
12
|
+
* spriteInfo {object} (必需)精灵图配置信息
|
|
13
|
+
* { frames: [
|
|
14
|
+
* {
|
|
15
|
+
* source:{x, y, w, h}, // 切片的绘制位置,来源于美术工具导出
|
|
16
|
+
* target:{x, y, w, h}, // 切片在精灵图中的位置,来源于美术工具导出
|
|
17
|
+
* },
|
|
18
|
+
* ...
|
|
19
|
+
* ],
|
|
20
|
+
* meta:{w,h} // 整张精灵图的尺寸,来源于美术工具导出
|
|
21
|
+
* }
|
|
22
|
+
* viewSize {object} (可选){w:xxx, h:xxx},显示尺寸定制, 不设置则从SpriteInfo中提炼的最大子图内容显示尺寸
|
|
23
|
+
* 可以只只设定width或者height,另一边则自适应
|
|
24
|
+
* 因为精灵图的尺寸都是精灵图内容单图偏移+内容尺寸,所以定制区域后,此区域的显示内容是右下对齐的效果
|
|
25
|
+
* spriteFrameSize {object} (可选){w:xxxx, h:xxxx},精灵图美术编译前居中显示的图尺寸,用来纠正viewSize设定后的右下对齐成居中
|
|
26
|
+
* 一般可以通过JsvSpriteTools.guessOriginSize()来推测值,最好还是来源于美术提供资料
|
|
27
|
+
* imageUrl {string} (必需)图片地址,另外,为了减小无效的解析处理,规定只有image的URL变更时才重新解析spriteInfo
|
|
28
|
+
* duration {float} (动图必需)动图的时间
|
|
29
|
+
* onAnimEnd {function} 动图结束回调
|
|
30
|
+
* autostart {string} 启动动图,默认none,
|
|
31
|
+
* 自动启动模式:true/start:精灵图自动启动
|
|
32
|
+
* none:不自动启动
|
|
33
|
+
* loop {string或number} 动图的循环次数 infinite/数字,默认为单次
|
|
34
|
+
* controller {SpriteController} 控制动图start,stop的对象
|
|
35
|
+
*
|
|
36
|
+
* SpriteController/或者本组件的ref: 面向对象类,精灵图动作控制器
|
|
37
|
+
* 功能函数:(参数说明见函数本体)
|
|
38
|
+
* start()
|
|
39
|
+
* 功能: 启动精灵图动画
|
|
40
|
+
* 参数表:
|
|
41
|
+
* indexArray : 帧数组/"all", 展示帧的序列
|
|
42
|
+
* endFrame : 取值"start"/"end", 动画的结束帧内容
|
|
43
|
+
* duration : 单次生效, 临时覆盖prop中设置的duration
|
|
44
|
+
* loopSet : 单次生效, 临时覆盖prop中设置的loop, 次数或者infinite
|
|
45
|
+
* animateEnd : 单次回调, 另外prop的onAnimEnd仍然会触发
|
|
46
|
+
*
|
|
47
|
+
* stop()
|
|
48
|
+
* 功能: 停止精灵图动画,可选择静止在第一帧或最后一帧
|
|
49
|
+
* 参数表:
|
|
50
|
+
* index : 目标帧index/"start"/"end"
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
54
|
+
start: (indexArray: any, endFrame: any, duration: any, loopSet: any, animateEnd: any) => void;
|
|
55
|
+
stop: (index: any) => void;
|
|
56
|
+
blink: (alphas: any, duration: any, ease: any, delay: any, repeat: any) => void;
|
|
57
|
+
$props: {
|
|
58
|
+
readonly duration?: number | undefined;
|
|
59
|
+
readonly loop?: string | number | undefined;
|
|
60
|
+
readonly autostart?: string | boolean | undefined;
|
|
61
|
+
readonly imageUrl?: string | undefined;
|
|
62
|
+
readonly spriteInfo?: Record<string, any> | undefined;
|
|
63
|
+
readonly viewSize?: Record<string, any> | undefined;
|
|
64
|
+
readonly spriteFrameSize?: Record<string, any> | undefined;
|
|
65
|
+
readonly onAnimEnd?: Function | undefined;
|
|
66
|
+
readonly controller?: Record<string, any> | undefined;
|
|
67
|
+
readonly spriteName?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvSpriteLoader: 雪碧图资源加载器
|
|
10
|
+
* prop说明:
|
|
11
|
+
* imageUrl: http打头的远程图片加载器
|
|
12
|
+
* configUrl: http打头的远程configUrl文件
|
|
13
|
+
* onConfigReady: config文件下载完成后的回调(data, PromiseResolve)
|
|
14
|
+
* noNeedResource: 是否需要等待imageUrl和json记载完毕后再激活子内容, 默认为false, 可设置为true
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
declare const _default: {
|
|
18
|
+
new (...args: any[]): {
|
|
19
|
+
$: import("vue").ComponentInternalInstance;
|
|
20
|
+
$data: {};
|
|
21
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
22
|
+
$attrs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$refs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$slots: Readonly<{
|
|
29
|
+
[name: string]: import("vue").Slot | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
32
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
33
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
34
|
+
$el: any;
|
|
35
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
36
|
+
$props: {
|
|
37
|
+
readonly noNeedResource?: boolean | undefined;
|
|
38
|
+
readonly imageUrl?: string | undefined;
|
|
39
|
+
readonly configUrl?: string | undefined;
|
|
40
|
+
readonly onConfigReady?: Function | undefined;
|
|
41
|
+
};
|
|
42
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
43
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
+
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;
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import("vue").nextTick;
|
|
61
|
+
$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;
|
|
62
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
63
|
+
$props: {
|
|
64
|
+
readonly noNeedResource?: boolean | undefined;
|
|
65
|
+
readonly imageUrl?: string | undefined;
|
|
66
|
+
readonly configUrl?: string | undefined;
|
|
67
|
+
readonly onConfigReady?: Function | undefined;
|
|
68
|
+
};
|
|
69
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
70
|
+
__isFragment?: undefined;
|
|
71
|
+
__isTeleport?: undefined;
|
|
72
|
+
__isSuspense?: undefined;
|
|
73
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
74
|
+
$props: {
|
|
75
|
+
readonly noNeedResource?: boolean | undefined;
|
|
76
|
+
readonly imageUrl?: string | undefined;
|
|
77
|
+
readonly configUrl?: string | undefined;
|
|
78
|
+
readonly onConfigReady?: Function | undefined;
|
|
79
|
+
};
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
81
|
+
$slots: {
|
|
82
|
+
default: (_: {}) => any;
|
|
83
|
+
};
|
|
84
|
+
});
|
|
85
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare let JsvSpriteTools: {
|
|
6
|
+
/**
|
|
7
|
+
* guessOriginSize
|
|
8
|
+
* 从spriteInfo中挑出最大的一张,认为其是居中显示来估算精灵图原画布的尺寸,以此可填写imageOriginSize信息
|
|
9
|
+
*
|
|
10
|
+
* @param {object} spriteInfo 此Canvas画布的宽度
|
|
11
|
+
* @return {object} 结构体{w:xxx, h:xxx}, 估算出的宽和高
|
|
12
|
+
*/
|
|
13
|
+
guessOriginSize(spriteInfo: any): object;
|
|
14
|
+
};
|
|
15
|
+
export default JsvSpriteTools;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export class SpriteController {
|
|
6
|
+
_SpriteImage: any;
|
|
7
|
+
Used: boolean;
|
|
8
|
+
_setSpriteImg(sprite: any): void;
|
|
9
|
+
start(end_frame: any, duration: any): void;
|
|
10
|
+
stop(end_frame: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* blink() 对精灵图做闪烁动画(忽隐忽现)
|
|
13
|
+
* 参数说明:
|
|
14
|
+
* alpha {Array} 透明度变化
|
|
15
|
+
* duration {int} 时长(秒)
|
|
16
|
+
* delay {int} 时长(秒)
|
|
17
|
+
* ease {string}
|
|
18
|
+
* repeat {int} 动画完成后是否应该自动重新启动?如果要使其永久运行,请设置为-1
|
|
19
|
+
*/
|
|
20
|
+
blink(alpha: any, duration: any, ease: any, delay: any, repeat: any): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/index.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import JsvSpriteAnim from "./JsvSpriteAnim.vue";
|
|
6
|
+
import JsvSpriteLoader from "./JsvSpriteLoader.vue";
|
|
7
|
+
import { SpriteController } from "./SpriteController.js";
|
|
8
|
+
import JsvSpriteTools from "./JsvSpriteTools";
|
|
9
|
+
export { JsvSpriteAnim as JsvSpriteStatic, JsvSpriteAnim, JsvSpriteLoader, SpriteController, JsvSpriteTools };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
number: NumberConstructor;
|
|
3
|
+
vertical: BooleanConstructor;
|
|
4
|
+
itemSize: NumberConstructor;
|
|
5
|
+
current: NumberConstructor;
|
|
6
|
+
}, any, any, {
|
|
7
|
+
indexList(): number[];
|
|
8
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
number: NumberConstructor;
|
|
10
|
+
vertical: BooleanConstructor;
|
|
11
|
+
itemSize: NumberConstructor;
|
|
12
|
+
current: NumberConstructor;
|
|
13
|
+
}>>, {
|
|
14
|
+
vertical: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvSmoothSwiper:Vue高阶组件,平滑滚动轮播组件
|
|
10
|
+
* props说明:
|
|
11
|
+
* totalFrame {int} (必需)item 的个数
|
|
12
|
+
* firstFrame {int} 初始 item 的 index,默认为0
|
|
13
|
+
* layoutInfo {Object} (必需)组件的大小及位置 {top: 0, left: 0, width: 0, height: 0}
|
|
14
|
+
* onClick {Function} 点击事件 function () {}
|
|
15
|
+
* onChange {Function} 滚动事件 function (index) {}
|
|
16
|
+
* onEdge {Function} 到达边缘事件 ({direction: EdgeDirection}) => Void
|
|
17
|
+
* autoplayInterval {int} 自动滚动的时间(毫秒),等于0时不自动滚动, 默认为5000
|
|
18
|
+
* enableAutoplay {boolean} 是否启用自动滚动,默认为false
|
|
19
|
+
* animation {Object} 滚动动画设置 {duration: 0, easing: "linear"}
|
|
20
|
+
* vertical {boolean} 组件是否为纵向的,默认为 false
|
|
21
|
+
* name {String} 组件获得焦点的 name
|
|
22
|
+
* onFocus {Function} 获得焦点的回调
|
|
23
|
+
* onBlur {Function} 失去焦点的回调
|
|
24
|
+
* reverseSwipe {boolean} 反转滚动方向,默认值为false. 默认滚动方向是正向, 既向index增大的方向, 反转后为反向, 既向index减小的方向
|
|
25
|
+
* itemSize {Object} item的大小 {width: 0, height: 0}
|
|
26
|
+
* itemGap {int} item之间的间隔,默认为0
|
|
27
|
+
* padding {Object} 内边距 {left: 0, top: 0, right: 0, bottom: 0}
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
declare const _default: {
|
|
31
|
+
new (...args: any[]): {
|
|
32
|
+
$: import("vue").ComponentInternalInstance;
|
|
33
|
+
$data: {};
|
|
34
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
35
|
+
$attrs: {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
$refs: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
$slots: Readonly<{
|
|
42
|
+
[name: string]: import("vue").Slot | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
45
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
46
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
47
|
+
$el: any;
|
|
48
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
49
|
+
$props: {
|
|
50
|
+
readonly animation?: Record<string, any> | undefined;
|
|
51
|
+
readonly vertical?: boolean | undefined;
|
|
52
|
+
readonly totalFrame?: number | undefined;
|
|
53
|
+
readonly firstFrame?: number | undefined;
|
|
54
|
+
readonly layoutInfo?: Record<string, any> | undefined;
|
|
55
|
+
readonly autoplayInterval?: number | undefined;
|
|
56
|
+
readonly reverseSwipe?: boolean | undefined;
|
|
57
|
+
readonly itemGap?: number | undefined;
|
|
58
|
+
readonly enableAutoplay?: boolean | undefined;
|
|
59
|
+
readonly name?: string | undefined;
|
|
60
|
+
readonly onFocus?: Function | undefined;
|
|
61
|
+
readonly onBlur?: Function | undefined;
|
|
62
|
+
readonly onChange?: Function | undefined;
|
|
63
|
+
readonly onClick?: Function | undefined;
|
|
64
|
+
readonly padding?: Record<string, any> | undefined;
|
|
65
|
+
readonly onEdge?: Function | undefined;
|
|
66
|
+
readonly itemSize?: Record<string, any> | undefined;
|
|
67
|
+
};
|
|
68
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
69
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
82
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
83
|
+
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;
|
|
84
|
+
};
|
|
85
|
+
$forceUpdate: () => void;
|
|
86
|
+
$nextTick: typeof import("vue").nextTick;
|
|
87
|
+
$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;
|
|
88
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
89
|
+
$props: {
|
|
90
|
+
readonly animation?: Record<string, any> | undefined;
|
|
91
|
+
readonly vertical?: boolean | undefined;
|
|
92
|
+
readonly totalFrame?: number | undefined;
|
|
93
|
+
readonly firstFrame?: number | undefined;
|
|
94
|
+
readonly layoutInfo?: Record<string, any> | undefined;
|
|
95
|
+
readonly autoplayInterval?: number | undefined;
|
|
96
|
+
readonly reverseSwipe?: boolean | undefined;
|
|
97
|
+
readonly itemGap?: number | undefined;
|
|
98
|
+
readonly enableAutoplay?: boolean | undefined;
|
|
99
|
+
readonly name?: string | undefined;
|
|
100
|
+
readonly onFocus?: Function | undefined;
|
|
101
|
+
readonly onBlur?: Function | undefined;
|
|
102
|
+
readonly onChange?: Function | undefined;
|
|
103
|
+
readonly onClick?: Function | undefined;
|
|
104
|
+
readonly padding?: Record<string, any> | undefined;
|
|
105
|
+
readonly onEdge?: Function | undefined;
|
|
106
|
+
readonly itemSize?: Record<string, any> | undefined;
|
|
107
|
+
};
|
|
108
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
109
|
+
__isFragment?: undefined;
|
|
110
|
+
__isTeleport?: undefined;
|
|
111
|
+
__isSuspense?: undefined;
|
|
112
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
113
|
+
$props: {
|
|
114
|
+
readonly animation?: Record<string, any> | undefined;
|
|
115
|
+
readonly vertical?: boolean | undefined;
|
|
116
|
+
readonly totalFrame?: number | undefined;
|
|
117
|
+
readonly firstFrame?: number | undefined;
|
|
118
|
+
readonly layoutInfo?: Record<string, any> | undefined;
|
|
119
|
+
readonly autoplayInterval?: number | undefined;
|
|
120
|
+
readonly reverseSwipe?: boolean | undefined;
|
|
121
|
+
readonly itemGap?: number | undefined;
|
|
122
|
+
readonly enableAutoplay?: boolean | undefined;
|
|
123
|
+
readonly name?: string | undefined;
|
|
124
|
+
readonly onFocus?: Function | undefined;
|
|
125
|
+
readonly onBlur?: Function | undefined;
|
|
126
|
+
readonly onChange?: Function | undefined;
|
|
127
|
+
readonly onClick?: Function | undefined;
|
|
128
|
+
readonly padding?: Record<string, any> | undefined;
|
|
129
|
+
readonly onEdge?: Function | undefined;
|
|
130
|
+
readonly itemSize?: Record<string, any> | undefined;
|
|
131
|
+
};
|
|
132
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
133
|
+
$slots: {
|
|
134
|
+
itemView: (_: {
|
|
135
|
+
currentIndex: number;
|
|
136
|
+
dataIndex: any;
|
|
137
|
+
focused: boolean;
|
|
138
|
+
}) => any;
|
|
139
|
+
};
|
|
140
|
+
});
|
|
141
|
+
export default _default;
|