@shijiu/jsview-vue 2.3.151-test.0 → 3.0.0-test.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/browser/BrowserAudio.mjs +200 -0
- package/bin/browser/BrowserJsvLatex.mjs +61 -0
- package/bin/export-sfc.mjs +8 -9
- package/bin/jsview-vue-common.mjs +9 -35
- package/bin/jsview-vue.mjs +22246 -23643
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +9 -71
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +18 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +10 -7
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +19 -178
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +19 -178
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +24 -3
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +25 -5
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +9 -47
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +40 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +6 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
- package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +17 -7
- package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
- package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +140 -7
- package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +12 -11
- package/bin/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +10 -10
- package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +204 -17
- package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -1
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +11 -11
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.ts +11 -11
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +75 -12
- package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +88 -13
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +5 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +39 -12
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +120 -17
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +108 -29
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +8 -7
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +614 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +36 -34
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +89 -30
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +89 -30
- package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +11 -11
- package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
- package/bin/types/utils/JsViewVueTools/DebugTool.d.ts +1 -1
- package/bin/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +7 -7
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +3 -3
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +76 -26
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/index.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +10 -98
- package/bin/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +10 -114
- package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +20 -61
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +44 -13
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +12 -11
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +5 -5
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +16 -10
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +21 -17
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +19 -16
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +7 -7
- package/bin/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +12 -66
- package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +73 -12
- package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +59 -10
- package/bin/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +41 -81
- package/bin/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +17 -100
- package/bin/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +13 -50
- package/bin/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +50 -70
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +32 -68
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +57 -74
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +41 -71
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +83 -14
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +79 -83
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +70 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +20 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +108 -5
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +88 -3
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +6 -1
- package/bin/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +19 -18
- package/bin/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +34 -11
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +193 -6
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +54 -11
- package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +89 -11
- package/bin/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +9 -8
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +2 -2
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +170 -138
- package/bin/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +5 -5
- package/bin/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +48 -72
- package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +139 -20
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +56 -8
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +20 -11
- package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +63 -11
- package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +8 -7
- package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +95 -12
- package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +2 -2
- package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +51 -78
- package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +5 -4
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +84 -193
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +23 -148
- package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +56 -9
- package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +22 -67
- package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +44 -10
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +47 -14
- package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +26 -67
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +7 -6
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +147 -109
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +173 -16
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +216 -139
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +7 -6
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +101 -96
- package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +89 -74
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +21 -20
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +43 -70
- package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +6 -5
- package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +62 -82
- package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +95 -74
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +51 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +105 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +51 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +105 -0
- package/bin/types/utils/JsViewVueWidget/index.d.ts +5 -3
- package/package.json +2 -2
- package/tools/jsview-vue-build.mjs +13 -9
- package/tsconfig.json +2 -2
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +24 -2
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +183 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +269 -122
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +989 -357
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +138 -41
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -0
- package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
- package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
- package/utils/JsViewEngineWidget/RectUtils.js +1 -1
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +50 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +342 -174
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +12 -5
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
- package/utils/JsViewEngineWidget/WidgetCommon.ts +17 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +54 -12
- package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +15 -2
- package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
- package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
- package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
- package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
- package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
- package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +60 -10
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
- package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
- package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
- package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
- package/utils/JsViewVueTools/BlobApi.ts +55 -0
- package/utils/JsViewVueTools/FeatureActive.ts +3 -0
- package/utils/JsViewVueTools/ForgeHandles.ts +3 -0
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +25 -18
- package/utils/JsViewVueTools/JsvTextTools.ts +9 -1
- package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +16 -1
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +154 -69
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +1 -1
- package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
- package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
- package/utils/JsViewVueTools/index.js +3 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
- package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +1 -1
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +11 -2
- package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +1 -1
- package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +23 -11
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +242 -25
- package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +1 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +11 -5
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +118 -6
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +56 -14
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +2 -1
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
- package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
- package/utils/JsViewVueWidget/JsvNinePatch.vue +13 -8
- package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +32 -29
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +25 -3
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +0 -3
- package/utils/JsViewVueWidget/JsvSector.vue +66 -28
- package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
- package/utils/JsViewVueWidget/index.js +6 -2
- package/bin/browser/BrowserAudio.vue.mjs +0 -258
- package/bin/browser/BrowserJsvLatex.vue.mjs +0 -145
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.ts +0 -10
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.d.ts +0 -7
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +0 -78
- package/bin/types/utils/JsViewVueWidget/JsvPosterDiv.vue.d.ts +0 -63
- package/bin/types/utils/JsViewVueWidget/JsvPosterImage.vue.d.ts +0 -78
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.ts +0 -36
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const enum BitPaletteCommand {
|
|
2
|
+
Cmd_GetDomainColorSync = 1003,// 同步,return StringPtr
|
|
3
|
+
Cmd_SubMapBlob = 1004,// 异步,回调 jse::Function
|
|
4
|
+
Cmd_SubMapTextureSync = 1005,// 同步,return StringPtr
|
|
5
|
+
Cmd_ToStoreTmpBufferSync = 1006
|
|
6
|
+
}
|
|
7
|
+
declare class BitPaletteCtrl {
|
|
8
|
+
private _texture;
|
|
9
|
+
private _recycled;
|
|
10
|
+
constructor(texture: any);
|
|
11
|
+
/**
|
|
12
|
+
* 获取图片的主色调(dominant color),返回一个 Promise,可与 async/await 配合使用。<br>
|
|
13
|
+
* 使用方式示例:
|
|
14
|
+
*
|
|
15
|
+
* 异步/Promise方式:
|
|
16
|
+
* let colorStrJson = await bitPalette.Ctrl.getDomainColorSync();
|
|
17
|
+
* if (colorStrJson) {
|
|
18
|
+
* let colorsList = JSON.parse(colorStrJson);
|
|
19
|
+
* // colorsList 是主色调数组
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
getDomainColorSync(): Promise<any>;
|
|
24
|
+
toBlob(): Promise<Blob | null>;
|
|
25
|
+
private doCommand;
|
|
26
|
+
markRecycled(): void;
|
|
27
|
+
}
|
|
28
|
+
export declare class BitPalette {
|
|
29
|
+
private _recycled;
|
|
30
|
+
private _readyReject;
|
|
31
|
+
private _texture;
|
|
32
|
+
Ctrl: BitPaletteCtrl | null;
|
|
33
|
+
Ready: Promise<BitPalette> | null;
|
|
34
|
+
constructor(src: string, callback?: () => void);
|
|
35
|
+
recycle(): void;
|
|
36
|
+
static CommandType: {
|
|
37
|
+
GetDomainColorSync: BitPaletteCommand;
|
|
38
|
+
SubMapBlob: BitPaletteCommand;
|
|
39
|
+
SubMapTextureSync: BitPaletteCommand;
|
|
40
|
+
ToStoreTmpBuffer: BitPaletteCommand;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import CanvasTexture from "./CanvasTexture";
|
|
2
|
+
import { CustomPath } from "./Path";
|
|
3
|
+
type Data = {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class ChartHelper {
|
|
8
|
+
private width;
|
|
9
|
+
private height;
|
|
10
|
+
private xAxis;
|
|
11
|
+
private yAxis;
|
|
12
|
+
private originPosition;
|
|
13
|
+
private canvasTexture;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @param w {number} 画布宽度
|
|
17
|
+
* @param h {number} 画布高度
|
|
18
|
+
* @param xAxis {number[]} x轴范围
|
|
19
|
+
* @param yAxis {number[]} y轴范围
|
|
20
|
+
* @throws {Error} 如果画布宽度或高度小于等于 0,或者 x 或 y 轴范围不是长度为 2 的数组,或者 x 或 y 轴范围不是升序
|
|
21
|
+
*/
|
|
22
|
+
constructor(w: number, h: number, xAxis: number[], yAxis: number[]);
|
|
23
|
+
/**
|
|
24
|
+
* @description 获取画布对象
|
|
25
|
+
* @returns {CanvasTexture} 画布对象
|
|
26
|
+
*/
|
|
27
|
+
getCanvas(): CanvasTexture;
|
|
28
|
+
/**
|
|
29
|
+
* @description 获取原始数据点对应的坐标
|
|
30
|
+
* @returns {Data} 原始数据点对应的坐标
|
|
31
|
+
*/
|
|
32
|
+
getOriginPosition(): Data;
|
|
33
|
+
/**
|
|
34
|
+
* @description 根据数据获取绘制所需的position
|
|
35
|
+
* @param data {Data[]} 数据点数组,每个点包含 x 和 y 坐标
|
|
36
|
+
* @returns {Data[]} 数据点数组,每个点包含 x 和 y 坐标
|
|
37
|
+
*/
|
|
38
|
+
data2Pos(data: Data[]): Data[];
|
|
39
|
+
/**
|
|
40
|
+
* linePath参数说明
|
|
41
|
+
* @param data {Data[]} 数据点数组,每个点包含 x 和 y 坐标
|
|
42
|
+
* @param isBroken {boolean} 是否为折线
|
|
43
|
+
* @param close {number}
|
|
44
|
+
* 0: 不闭合,绘制线段用,
|
|
45
|
+
* 1: 闭合到x轴(自动绘制左右两端垂直于x轴的线段), 需要填充颜色时用
|
|
46
|
+
* 2: 闭合到y轴(自动绘制上下两端垂直于y轴的线段), 需要填充颜色时用
|
|
47
|
+
* @returns {CustomPath, Data[]} 路径对象和数据点数组,每个点包含 x 和 y 坐标
|
|
48
|
+
*/
|
|
49
|
+
linePath(data: Data[], isBroken?: boolean, close?: number): {
|
|
50
|
+
path: CustomPath;
|
|
51
|
+
position: Data[];
|
|
52
|
+
} | undefined;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -38,6 +38,7 @@ declare class DrawingPath {
|
|
|
38
38
|
* @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
|
|
39
39
|
*/
|
|
40
40
|
fill(color: String): void;
|
|
41
|
+
fillWithLinearGradient(fromX: Number, fromY: Number, toX: Number, toY: Number, colorList: Array<String>, positionList: Array<Number>): void;
|
|
41
42
|
protected onFinishDraw(): void;
|
|
42
43
|
}
|
|
43
44
|
export declare class RectPath extends DrawingPath {
|
|
@@ -74,6 +75,18 @@ export declare class CustomPath extends DrawingPath {
|
|
|
74
75
|
* @param {Number} targetY 目标位置y
|
|
75
76
|
*/
|
|
76
77
|
lineTo(targetX: Number, targetY: Number): void;
|
|
78
|
+
/**
|
|
79
|
+
* cubicTo
|
|
80
|
+
* 绘制三次贝塞尔曲线
|
|
81
|
+
*
|
|
82
|
+
* @param {Number} x0 控制点1的x坐标
|
|
83
|
+
* @param {Number} y0 控制点1的y坐标
|
|
84
|
+
* @param {Number} x1 控制点2的x坐标
|
|
85
|
+
* @param {Number} y1 控制点2的y坐标
|
|
86
|
+
* @param {Number} x2 目标点的x坐标
|
|
87
|
+
* @param {Number} y2 目标点的y坐标
|
|
88
|
+
*/
|
|
89
|
+
cubicTo(x0: Number, y0: Number, x1: Number, y1: Number, x2: Number, y2: Number): void;
|
|
77
90
|
/**
|
|
78
91
|
* arcTo
|
|
79
92
|
* 绘制以(left, top, right, bottom)围城的矩形为横轴比的椭圆圆弧
|
|
@@ -4,8 +4,10 @@ export declare class CapturedTexture extends TextureBase {
|
|
|
4
4
|
private _Callback;
|
|
5
5
|
private _CaptureDiv;
|
|
6
6
|
private _Canceled;
|
|
7
|
+
private _Done;
|
|
7
8
|
private _PostProcessParams;
|
|
8
9
|
constructor(captureDiv: any, callback: CapturedCallback, autoRecycle: boolean, postProcessParams?: any);
|
|
9
10
|
cancel(): void;
|
|
11
|
+
recycle(): void;
|
|
10
12
|
commit(): String;
|
|
11
13
|
}
|
|
@@ -6,9 +6,22 @@
|
|
|
6
6
|
* a. commit() 接口调用之前可以任意绘制, commit之后就无法更改, commit之后才能使用, commit后绘制内容会被全局保存
|
|
7
7
|
* b. commit()的返回是其使用名称, 在div.backgroundImage和img.src中可使用, 格式: jsvtexturestore://commit返回名
|
|
8
8
|
* c.【非常重要】CanvasTexture是全局管理, commit()之后 不会自动释放, 需要手动调用 deleteTexture, 其参数是commit的返回值
|
|
9
|
+
*
|
|
9
10
|
* deleteTexture:
|
|
10
11
|
* 删除全局保存的texture(图片纹理)
|
|
11
12
|
*
|
|
13
|
+
* capture2Texture:
|
|
14
|
+
* 对给定div做截图并生成一个Texture, 在回调函数中返回此Texture的访问名,
|
|
15
|
+
* 此访问名可以在 img.src 或者 div.backgroundImage 通过 "texturestore://访问名" 来使用
|
|
16
|
+
*
|
|
17
|
+
* getDominantColor:
|
|
18
|
+
* 获取图片的 dominant color
|
|
19
|
+
* 特殊说明: 此方法产生的内部CanvasTexture资源会自动回收,
|
|
20
|
+
* 虽然建议使用者在unmount时进行cancel, 但不是强制
|
|
21
|
+
*
|
|
22
|
+
* getChartHelper:
|
|
23
|
+
* 获取ChartHelper句柄,用于绘制二维统计图的多点折线(解决数据点之间的平滑衔接问题)
|
|
24
|
+
*
|
|
12
25
|
* CanvasTexture的接口(见 ./CanvasTexture/CanvasTexture.ts 的函数头):
|
|
13
26
|
* Path类型: 例如 rectPath, circlePath (见 ./CanvasTexture/Path.ts 的函数头)
|
|
14
27
|
* 通过 canvasTexture.xxxPath() 获得一个path操作对象,然后通过其接口进行游标运动形成绘制路径
|
|
@@ -17,6 +30,8 @@
|
|
|
17
30
|
*/
|
|
18
31
|
import CanvasTexture from "./CanvasTexture/CanvasTexture";
|
|
19
32
|
import { CapturedTexture, CapturedCallback } from "./CapturedTexture/CapturedTexture";
|
|
33
|
+
import { ChartHelper } from "./CanvasTexture/DrawHelper";
|
|
34
|
+
import { BitPalette } from "./BitPalette/BitPalette";
|
|
20
35
|
declare let sJsvTextureConst: {
|
|
21
36
|
LEFT: number;
|
|
22
37
|
TOP: number;
|
|
@@ -36,31 +51,30 @@ declare let sTextureStoreApi: {
|
|
|
36
51
|
*/
|
|
37
52
|
canvasTexture: (width: Number, height: Number, baseName?: String | null) => CanvasTexture;
|
|
38
53
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
*/
|
|
54
|
+
* capture2Texture
|
|
55
|
+
* 对给定div做截图并生成一个Texture, 在回调函数中返回此Texture的访问名,
|
|
56
|
+
* 此访问名可以在 img.src 或者 div.backgroundImage 通过 "texturestore://访问名" 来使用
|
|
57
|
+
*
|
|
58
|
+
* 关于 autoRecycle: 此api生成的CanvasTexture根据这个标识有自动释放功能
|
|
59
|
+
* true(默认值): 收到callback的访问名后,请立即设置给使用的地方,若此宏任务结束(其触发的所有微任务全完成后)时,
|
|
60
|
+
* 若资源未被div和img使用,则会自动回收,回收后此访问名对应内容为黑屏
|
|
61
|
+
* false: 截图资源永久存在,可被反复使用,直到 JsvTextureStoreApi.deleteTexture(访问名) 进行清理
|
|
62
|
+
*
|
|
63
|
+
* @param {DivVueRef} captureDiv 要截图的div
|
|
64
|
+
* @param {CapturedCallback} callback 完成截屏后的回调, 函数参数:
|
|
65
|
+
* (textureAccessName: string, // 访问名
|
|
66
|
+
* autoRecycleSet: boolean, // 通知是否为自动删除(和入参时一致)
|
|
67
|
+
* width: number, // 截取div的宽
|
|
68
|
+
* height: number) => void // 截取div的高
|
|
69
|
+
* @param {boolean} autoRecycle 可选, 是否当无div/img引用时会自动释放
|
|
70
|
+
* true默认值: 此场景在回调时要立刻赋值给响应式变量控制template的节点立刻使用(并且不是v-if=false的节点),
|
|
71
|
+
否则会自动释放掉, 此时, texture当使用它的template节点从dom树中去掉的时候(v-if=false也算)会自动释放,
|
|
72
|
+
不需要主动调用deleteTexture释放.
|
|
73
|
+
false: 此场景在callback收到资源名后, 需要使用完毕后调用 deleteTexture 手动释放
|
|
74
|
+
在手动释放之前,可以赋给其他div/img来复用
|
|
75
|
+
* @param {any} postProcessParams 可选, 截图处理的参数
|
|
76
|
+
* @return {CapturedTexture} 用于cancel的句柄,当cancel时,会清理对div和Callback的引用
|
|
77
|
+
*/
|
|
64
78
|
capture2Texture: (captureDiv: any, callback: CapturedCallback, autoRecycle?: boolean, postProcessParams?: any) => CapturedTexture;
|
|
65
79
|
/**
|
|
66
80
|
* deleteTexture
|
|
@@ -72,12 +86,48 @@ declare let sTextureStoreApi: {
|
|
|
72
86
|
/**
|
|
73
87
|
* getDominantColor
|
|
74
88
|
* 获取图片的 dominant color
|
|
89
|
+
* 特殊说明: 此方法产生的内部CanvasTexture资源会自动回收,
|
|
90
|
+
* 虽然建议使用者在unmount时进行cancel, 但不是强制
|
|
75
91
|
*
|
|
76
92
|
* @param src 图片的src
|
|
77
93
|
* @param callback 回调函数, 参数: info
|
|
78
|
-
* @return 用于cancel
|
|
94
|
+
* @return 用于cancel的句柄的函数,
|
|
95
|
+
* 例如 let c = JsvTextureStoreApi.getDominantColor(src, callback); c(); 为资源清理
|
|
96
|
+
* 若callback前清理, 则callback不会被调用
|
|
79
97
|
*/
|
|
80
98
|
getDominantColor: (src: string, callback: (info: any) => void) => () => void;
|
|
99
|
+
/**
|
|
100
|
+
* getBitPalette
|
|
101
|
+
* 获取 BitPalette 实例
|
|
102
|
+
*
|
|
103
|
+
* 用法示例:
|
|
104
|
+
*
|
|
105
|
+
* let bp = JsvTextureStoreApi.getBitPalette(src);
|
|
106
|
+
* await bp.Ready;
|
|
107
|
+
* let result = await bp.Ctrl?.doCommand(cmd_id, {...});
|
|
108
|
+
*
|
|
109
|
+
* 说明:
|
|
110
|
+
* - 该方法会立即返回 BitPalette 实例,但 BitPalette 数据初始化可能为异步过程。
|
|
111
|
+
* - 若在await Ready之前直接操作 bitPalette,其状态未必已完成加载。
|
|
112
|
+
*
|
|
113
|
+
* 特别注意: 不再使用时, 请务必调用 bitPalette.recycle() 释放资源, recycle接口不需要等待Ready完成
|
|
114
|
+
*
|
|
115
|
+
* @param {string} src 图片的 src 链接, 可以是 "jsvtexturestore://访问名" 或者 图片的url
|
|
116
|
+
* @return {BitPalette} BitPalette 实例
|
|
117
|
+
*/
|
|
118
|
+
getBitPalette: (src: string, callback: () => void) => BitPalette;
|
|
119
|
+
/**
|
|
120
|
+
* getChartHelper
|
|
121
|
+
* 获取ChartHelper句柄,用于绘制二维统计图
|
|
122
|
+
*
|
|
123
|
+
* @param {number} width 画布宽度
|
|
124
|
+
* @param {number} height 画布高度
|
|
125
|
+
* @param {number[]} xAxis x轴范围(可以为负数到正数的范围)
|
|
126
|
+
* @param {number[]} yAxis y轴范围(可以为负数到正数的范围)
|
|
127
|
+
* @throws {Error} 如果画布宽度或高度小于等于 0,或者 x 或 y 轴范围不是长度为 2 的数组,或者 x 或 y 轴范围不是升序
|
|
128
|
+
* @return {ChartHelper} ChartHelper接口说明见 ./CanvasTexture/DrawHelper.ts 的 ChartHelper 类
|
|
129
|
+
*/
|
|
130
|
+
getChartHelper(width: number, height: number, xAxis: number[], yAxis: number[]): ChartHelper;
|
|
81
131
|
};
|
|
82
132
|
export declare enum CaptureProcessType {
|
|
83
133
|
Blur = 1
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CircleNinePatchTextureOptions
|
|
3
|
+
* 生成圆角九宫格纹理时的输入参数
|
|
4
|
+
*
|
|
5
|
+
* @property {number} targetCornerRadius 目标圆角半径
|
|
6
|
+
* @property {number} circleLineWidth 圆环描边宽度
|
|
7
|
+
* @property {string} [bgColor] 画布背景色,默认值: rgba(255,255,255,0)
|
|
8
|
+
* @property {string} [circleColor] 圆环描边颜色,默认值: #000000FF
|
|
9
|
+
* @property {number} [displayScale] 显示缩放比例,提高此值一提高清晰度,
|
|
10
|
+
* 默认值: jsview.config.js的designMap.displayScale
|
|
11
|
+
*/
|
|
12
|
+
type CircleNinePatchTextureOptions = {
|
|
13
|
+
cornerRadius: number;
|
|
14
|
+
circleLineWidth: number;
|
|
15
|
+
bgColor?: string;
|
|
16
|
+
circleColor?: string;
|
|
17
|
+
displayScale?: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* NinePatchTextureResult
|
|
21
|
+
* 圆角九宫格纹理构建结果
|
|
22
|
+
*
|
|
23
|
+
* @property {number} BorderOutset 九宫格外边距(像素)
|
|
24
|
+
* @property {number} ImageWidth 纹理图片宽度(像素)
|
|
25
|
+
* @property {number} CenterWidth 九宫格中心区域宽度(像素)
|
|
26
|
+
* @property {string} textureUrl 可用于背景图/图片src的纹理访问地址
|
|
27
|
+
*/
|
|
28
|
+
type NinePatchTextureResult = {
|
|
29
|
+
BorderOutset: number;
|
|
30
|
+
ImageWidth: number;
|
|
31
|
+
ImageDspWidth: number;
|
|
32
|
+
CenterWidth: number;
|
|
33
|
+
texAccessName: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* buildCircleNinePatchTexture
|
|
37
|
+
* 生成用于 JsvNinePatch 的圆角九宫格纹理,
|
|
38
|
+
* 并返回可用于样式访问的texture URL与JsvNinePatch的参数
|
|
39
|
+
*
|
|
40
|
+
* 特别注意!!: texAccessName 需要在不使用时使用 JsvTextureStoreApi.deleteTexture 释放资源
|
|
41
|
+
*
|
|
42
|
+
* @param {CircleNinePatchTextureOptions} options 生成圆角九宫格纹理的参数
|
|
43
|
+
* @return {NinePatchTextureResult}
|
|
44
|
+
*/
|
|
45
|
+
declare function buildCircleNinePatchTexture(options: CircleNinePatchTextureOptions): NinePatchTextureResult;
|
|
46
|
+
declare const TextureBuilder: {
|
|
47
|
+
buildCircleNinePatchTexture: typeof buildCircleNinePatchTexture;
|
|
48
|
+
};
|
|
49
|
+
export default TextureBuilder;
|
|
@@ -3,6 +3,7 @@ export * from "./JsvDynamicCssStyle";
|
|
|
3
3
|
export * from "./JsvDynamicKeyFrames";
|
|
4
4
|
export * from "./JsvRuntimeBridge";
|
|
5
5
|
export * from "./NinePatchHelper";
|
|
6
|
+
export * from "./TypeCheckAndSet.ts";
|
|
6
7
|
export * from "./JsvRefTaker";
|
|
7
8
|
export * from "./JsvStyleClass";
|
|
8
9
|
export * from "./JsvStyleSheetsDeclarer";
|
|
@@ -12,7 +13,7 @@ export * from "./JsvImpactTracer";
|
|
|
12
13
|
export * from "./JsvTextTools";
|
|
13
14
|
export * from "./JsvPreDownloader";
|
|
14
15
|
export * from "./JsvPerformance";
|
|
15
|
-
export * from "./JsvTextureStore
|
|
16
|
+
export * from "./JsvTextureStore";
|
|
16
17
|
export * from "./JsvTextureDefines";
|
|
17
18
|
export * from "./JsvFederationTools";
|
|
18
19
|
export * from "./ConstSymbol";
|
|
@@ -20,4 +21,6 @@ export * from "./ForgeConstDefine";
|
|
|
20
21
|
export * from "./TextureManagerTools";
|
|
21
22
|
export * from "./FeatureActive";
|
|
22
23
|
export * from "./JsvTextureLoadTool";
|
|
24
|
+
export * from "./JsvInteractionMode";
|
|
23
25
|
export { default as DefaultKeyCodeMap } from "./DefaultKeyMap";
|
|
26
|
+
export { default as BlobApi } from "./BlobApi";
|
|
@@ -12,109 +12,21 @@
|
|
|
12
12
|
* 的style设置
|
|
13
13
|
* @prop {boolean} enableAA 默认开启的。anti-alias(局部)算法,此算法会引起边缘2~3像素虚化
|
|
14
14
|
*/
|
|
15
|
-
declare const _default:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
$data: {};
|
|
19
|
-
$props: Partial<{
|
|
20
|
-
style: Object | null;
|
|
21
|
-
position: any;
|
|
22
|
-
enableAA: boolean;
|
|
23
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
-
style: Object | null;
|
|
25
|
-
position: any;
|
|
26
|
-
enableAA: boolean;
|
|
27
|
-
}>, {
|
|
28
|
-
style: null;
|
|
29
|
-
position: null;
|
|
30
|
-
enableAA: boolean;
|
|
31
|
-
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "position" | "enableAA">;
|
|
32
|
-
$attrs: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
$refs: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
};
|
|
38
|
-
$slots: Readonly<{
|
|
39
|
-
[name: string]: import("vue").Slot | undefined;
|
|
40
|
-
}>;
|
|
41
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
43
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
44
|
-
$el: any;
|
|
45
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
46
|
-
style: Object | null;
|
|
47
|
-
position: any;
|
|
48
|
-
enableAA: boolean;
|
|
49
|
-
}>, {
|
|
50
|
-
style: null;
|
|
51
|
-
position: null;
|
|
52
|
-
enableAA: boolean;
|
|
53
|
-
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
54
|
-
style: Object | null;
|
|
55
|
-
position: any;
|
|
56
|
-
enableAA: boolean;
|
|
57
|
-
}, {}, string> & {
|
|
58
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
71
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
72
|
-
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;
|
|
73
|
-
};
|
|
74
|
-
$forceUpdate: () => void;
|
|
75
|
-
$nextTick: typeof import("vue").nextTick;
|
|
76
|
-
$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;
|
|
77
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
78
|
-
style: Object | null;
|
|
79
|
-
position: any;
|
|
80
|
-
enableAA: boolean;
|
|
81
|
-
}>, {
|
|
82
|
-
style: null;
|
|
83
|
-
position: null;
|
|
84
|
-
enableAA: boolean;
|
|
85
|
-
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
86
|
-
__isFragment?: undefined;
|
|
87
|
-
__isTeleport?: undefined;
|
|
88
|
-
__isSuspense?: undefined;
|
|
89
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
90
18
|
style: Object | null;
|
|
91
19
|
position: any;
|
|
92
20
|
enableAA: boolean;
|
|
93
|
-
}
|
|
94
|
-
style: null;
|
|
95
|
-
position: null;
|
|
96
|
-
enableAA: boolean;
|
|
97
|
-
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
21
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
98
22
|
style: Object | null;
|
|
99
23
|
position: any;
|
|
100
24
|
enableAA: boolean;
|
|
101
|
-
}, {},
|
|
102
|
-
|
|
103
|
-
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
26
|
+
default?: (props: {}) => any;
|
|
27
|
+
}>;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
104
31
|
};
|
|
105
|
-
});
|
|
106
|
-
export default _default;
|
|
107
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
108
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
109
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
110
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
111
|
-
} : {
|
|
112
|
-
type: import('vue').PropType<T[K]>;
|
|
113
|
-
required: true;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
type __VLS_WithDefaults<P, D> = {
|
|
117
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
118
|
-
default: D[K];
|
|
119
|
-
} : P[K];
|
|
120
32
|
};
|
|
@@ -12,98 +12,9 @@
|
|
|
12
12
|
透视效果非常明显的场景: 300
|
|
13
13
|
透视效果适中的场景: 1000~2000
|
|
14
14
|
*/
|
|
15
|
-
declare const _default:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
$data: {};
|
|
19
|
-
$props: Partial<{
|
|
20
|
-
style: {
|
|
21
|
-
top: number;
|
|
22
|
-
left: number;
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
};
|
|
26
|
-
perspective: number;
|
|
27
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
-
style: {
|
|
29
|
-
top: number;
|
|
30
|
-
left: number;
|
|
31
|
-
width: number;
|
|
32
|
-
height: number;
|
|
33
|
-
};
|
|
34
|
-
perspective: number;
|
|
35
|
-
}>, {
|
|
36
|
-
style: any;
|
|
37
|
-
perspective: number;
|
|
38
|
-
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "perspective">;
|
|
39
|
-
$attrs: {
|
|
40
|
-
[x: string]: unknown;
|
|
41
|
-
};
|
|
42
|
-
$refs: {
|
|
43
|
-
[x: string]: unknown;
|
|
44
|
-
};
|
|
45
|
-
$slots: Readonly<{
|
|
46
|
-
[name: string]: import("vue").Slot | undefined;
|
|
47
|
-
}>;
|
|
48
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
49
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
50
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
51
|
-
$el: any;
|
|
52
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
53
|
-
style: {
|
|
54
|
-
top: number;
|
|
55
|
-
left: number;
|
|
56
|
-
width: number;
|
|
57
|
-
height: number;
|
|
58
|
-
};
|
|
59
|
-
perspective: number;
|
|
60
|
-
}>, {
|
|
61
|
-
style: any;
|
|
62
|
-
perspective: number;
|
|
63
|
-
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
64
|
-
style: {
|
|
65
|
-
top: number;
|
|
66
|
-
left: number;
|
|
67
|
-
width: number;
|
|
68
|
-
height: number;
|
|
69
|
-
};
|
|
70
|
-
perspective: number;
|
|
71
|
-
}, {}, string> & {
|
|
72
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
85
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
86
|
-
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;
|
|
87
|
-
};
|
|
88
|
-
$forceUpdate: () => void;
|
|
89
|
-
$nextTick: typeof import("vue").nextTick;
|
|
90
|
-
$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;
|
|
91
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
92
|
-
style: {
|
|
93
|
-
top: number;
|
|
94
|
-
left: number;
|
|
95
|
-
width: number;
|
|
96
|
-
height: number;
|
|
97
|
-
};
|
|
98
|
-
perspective: number;
|
|
99
|
-
}>, {
|
|
100
|
-
style: any;
|
|
101
|
-
perspective: number;
|
|
102
|
-
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
103
|
-
__isFragment?: undefined;
|
|
104
|
-
__isTeleport?: undefined;
|
|
105
|
-
__isSuspense?: undefined;
|
|
106
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
107
18
|
style: {
|
|
108
19
|
top: number;
|
|
109
20
|
left: number;
|
|
@@ -111,10 +22,7 @@ declare const _default: {
|
|
|
111
22
|
height: number;
|
|
112
23
|
};
|
|
113
24
|
perspective: number;
|
|
114
|
-
}
|
|
115
|
-
style: any;
|
|
116
|
-
perspective: number;
|
|
117
|
-
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
25
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
118
26
|
style: {
|
|
119
27
|
top: number;
|
|
120
28
|
left: number;
|
|
@@ -122,23 +30,11 @@ declare const _default: {
|
|
|
122
30
|
height: number;
|
|
123
31
|
};
|
|
124
32
|
perspective: number;
|
|
125
|
-
}, {},
|
|
126
|
-
|
|
127
|
-
|
|
33
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
34
|
+
default?: (props: {}) => any;
|
|
35
|
+
}>;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
128
39
|
};
|
|
129
|
-
});
|
|
130
|
-
export default _default;
|
|
131
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
132
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
133
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
134
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
135
|
-
} : {
|
|
136
|
-
type: import('vue').PropType<T[K]>;
|
|
137
|
-
required: true;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
type __VLS_WithDefaults<P, D> = {
|
|
141
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
142
|
-
default: D[K];
|
|
143
|
-
} : P[K];
|
|
144
40
|
};
|