@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
|
@@ -1,84 +1,80 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
new (...args: any[]): {
|
|
3
|
-
$: import("vue").ComponentInternalInstance;
|
|
4
|
-
$data: {};
|
|
5
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
6
|
-
$attrs: {
|
|
7
|
-
[x: string]: unknown;
|
|
8
|
-
};
|
|
9
|
-
$refs: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
$slots: Readonly<{
|
|
13
|
-
[name: string]: import("vue").Slot | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
16
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
17
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
18
|
-
$el: any;
|
|
19
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
20
|
-
$props: {
|
|
21
|
-
readonly top?: number | undefined;
|
|
22
|
-
readonly left?: number | undefined;
|
|
23
|
-
readonly enable?: boolean | undefined;
|
|
24
|
-
readonly width?: number | undefined;
|
|
25
|
-
readonly height?: number | undefined;
|
|
26
|
-
readonly topGID?: number | undefined;
|
|
27
|
-
readonly bottomGID?: number | undefined;
|
|
28
|
-
readonly leftGID?: number | undefined;
|
|
29
|
-
readonly rightGID?: number | undefined;
|
|
30
|
-
};
|
|
31
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
32
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
46
|
-
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;
|
|
47
|
-
};
|
|
48
|
-
$forceUpdate: () => void;
|
|
49
|
-
$nextTick: typeof import("vue").nextTick;
|
|
50
|
-
$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;
|
|
51
|
-
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
52
|
-
$props: {
|
|
53
|
-
readonly top?: number | undefined;
|
|
54
|
-
readonly left?: number | undefined;
|
|
55
|
-
readonly enable?: boolean | undefined;
|
|
56
|
-
readonly width?: number | undefined;
|
|
57
|
-
readonly height?: number | undefined;
|
|
58
|
-
readonly topGID?: number | undefined;
|
|
59
|
-
readonly bottomGID?: number | undefined;
|
|
60
|
-
readonly leftGID?: number | undefined;
|
|
61
|
-
readonly rightGID?: number | undefined;
|
|
62
|
-
};
|
|
63
|
-
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
64
|
-
__isFragment?: undefined;
|
|
65
|
-
__isTeleport?: undefined;
|
|
66
|
-
__isSuspense?: undefined;
|
|
67
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
68
|
-
$props: {
|
|
69
|
-
readonly top?: number | undefined;
|
|
70
|
-
readonly left?: number | undefined;
|
|
71
|
-
readonly enable?: boolean | undefined;
|
|
72
|
-
readonly width?: number | undefined;
|
|
73
|
-
readonly height?: number | undefined;
|
|
74
|
-
readonly topGID?: number | undefined;
|
|
75
|
-
readonly bottomGID?: number | undefined;
|
|
76
|
-
readonly leftGID?: number | undefined;
|
|
77
|
-
readonly rightGID?: number | undefined;
|
|
78
|
-
};
|
|
79
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
80
|
-
$slots: {
|
|
81
|
-
default: (_: {}) => any;
|
|
82
|
-
};
|
|
83
|
-
});
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
84
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
left: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
top: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
require: boolean;
|
|
19
|
+
};
|
|
20
|
+
height: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
require: boolean;
|
|
23
|
+
};
|
|
24
|
+
topGID: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
};
|
|
27
|
+
bottomGID: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
};
|
|
30
|
+
leftGID: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
};
|
|
33
|
+
rightGID: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
};
|
|
36
|
+
enable: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
left: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
top: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
width: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
require: boolean;
|
|
52
|
+
};
|
|
53
|
+
height: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
require: boolean;
|
|
56
|
+
};
|
|
57
|
+
topGID: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
};
|
|
60
|
+
bottomGID: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
};
|
|
63
|
+
leftGID: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
};
|
|
66
|
+
rightGID: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
};
|
|
69
|
+
enable: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
left: number;
|
|
75
|
+
top: number;
|
|
76
|
+
enable: boolean;
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
78
|
+
type __VLS_Slots = {
|
|
79
|
+
default?: ((props: {}) => any) | undefined;
|
|
80
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
style: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default: {};
|
|
11
|
+
};
|
|
12
|
+
sizeMode: {
|
|
13
|
+
default: boolean;
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
top: {
|
|
17
|
+
default: number;
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
};
|
|
20
|
+
left: {
|
|
21
|
+
default: number;
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
};
|
|
24
|
+
width: {
|
|
25
|
+
default: number;
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
};
|
|
28
|
+
height: {
|
|
29
|
+
default: number;
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
};
|
|
32
|
+
}>, {
|
|
33
|
+
control: ActControl;
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
style: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: {};
|
|
38
|
+
};
|
|
39
|
+
sizeMode: {
|
|
40
|
+
default: boolean;
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
top: {
|
|
44
|
+
default: number;
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
};
|
|
47
|
+
left: {
|
|
48
|
+
default: number;
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
};
|
|
51
|
+
width: {
|
|
52
|
+
default: number;
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
};
|
|
55
|
+
height: {
|
|
56
|
+
default: number;
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
|
+
height: number;
|
|
61
|
+
left: number;
|
|
62
|
+
top: number;
|
|
63
|
+
width: number;
|
|
64
|
+
style: Record<string, any>;
|
|
65
|
+
sizeMode: boolean;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
type __VLS_Slots = {
|
|
68
|
+
default?: ((props: {}) => any) | undefined;
|
|
69
|
+
};
|
|
70
|
+
import ActControl from "./ActorControl.ts";
|
|
@@ -40,6 +40,7 @@ declare class ActorPackBuilder {
|
|
|
40
40
|
* @param {double} ySpeed 运行速度,使用时会自动取绝对值,单位(pixel/帧)
|
|
41
41
|
* undefined时,若targetY设置, 则把edge作为运动目标,以另一轴速度反推此速度, 否则不改变该轴速度
|
|
42
42
|
* @param {function} endCallback 参数(x, y) 运动到目标位置后的回调函数, x或者y达到后即回调,以先到为准,回报当前Actor的相对于原始位置的x,y
|
|
43
|
+
* 是通过condition().then([(ActorState)=>{}])实现
|
|
43
44
|
* @return CommandPack(放入run或者then的CmdPackList队列)
|
|
44
45
|
*/
|
|
45
46
|
moveTo(edgeX: number | undefined, edgeY: number | undefined, xSpeed: number | undefined, ySpeed: number | undefined, endCallback?: Function | null): any;
|
|
@@ -47,7 +48,26 @@ declare class ActorPackBuilder {
|
|
|
47
48
|
brakeToPosition(targetX: number | undefined, targetY: number | undefined, finishCallback?: Function | null, rejectedCallback?: Function | null): any;
|
|
48
49
|
setSpeed(spdX: number | undefined, spdY: number | undefined): any;
|
|
49
50
|
setAccel(accelX: number | undefined, accelY: number | undefined, onRevertX?: Function | null, onRevertY?: Function | null): any;
|
|
51
|
+
/**
|
|
52
|
+
* setSpdAndAccel
|
|
53
|
+
* 同时设置速度和加速度,并提供拐点回调(用于抛物线处理)
|
|
54
|
+
*
|
|
55
|
+
* 参数说明:
|
|
56
|
+
* spdX (double) x 速度有效值,可正可负, 每帧的posX移动量, 可以传入undefined来决定此值不设置
|
|
57
|
+
* spdY (double) y 速度有效值,可正可负, 每帧的posY移动量, 可以传入undefined来决定此值不设置
|
|
58
|
+
* accelX (double) 加速度有效值,可正可负,每帧spdX的调整量,可以传入undefined来决定此值不设置
|
|
59
|
+
* accelY (double) 加速度有效值,可正可负,每帧spdY的调整量,可以传入undefined来决定此值不设置
|
|
60
|
+
* onRevertX (function) x速度开始反向运动时,进行js回调(例如抛物到达顶点, 是通过condition().then([(ActorState)=>{}])实现)
|
|
61
|
+
* onRevertY (function) y速度开始反向运动时,进行js回调(例如抛物到达顶点, 是通过condition().then([(ActorState)=>{}])实现)
|
|
62
|
+
*/
|
|
50
63
|
setSpdAndAccel(spdX: number | undefined, spdY: number | undefined, accelX: number | undefined, accelY: number | undefined, onRevertX?: Function | null, onRevertY?: Function | null): any;
|
|
64
|
+
/**
|
|
65
|
+
* stopMoving
|
|
66
|
+
* 停止运动
|
|
67
|
+
* isExact (boolean) 设置为true时,
|
|
68
|
+
* 如果在positionCondition中会按照condition的位置进行精准停止
|
|
69
|
+
* 从而解决在condition.then中停止时,停止的位置因为上帧的drawX/Y + speedX/Y并不是完全和condition不吻合,而希望吻合的问题
|
|
70
|
+
*/
|
|
51
71
|
stopMoving(isExact?: boolean): any;
|
|
52
72
|
/**
|
|
53
73
|
* ackMovementSync
|
|
@@ -21,18 +21,41 @@ declare class ConditionPackBuilder {
|
|
|
21
21
|
*/
|
|
22
22
|
reachPosition(xPosition: number | undefined, yPosition: number | undefined): Object | null;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* 获取
|
|
24
|
+
* wallPosition
|
|
25
|
+
* 获取 wallPosition 的condition
|
|
26
26
|
* x或y已经处于,或者被越过时触发
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* 和reachPosition/acrossPosition的最大区别是,
|
|
29
|
+
* reach/across是有碰撞时才激活,
|
|
30
|
+
* 而wall是初始位置已经超过wall时就会立刻激活
|
|
31
|
+
*
|
|
32
|
+
* @param {string} direction 方向,可以是 "left" | "right" | "top" | "bottom", 标明初始wall位置相对运动物体的方位
|
|
33
|
+
* @param {double} position 位置有效值,direction为left/right时作用于x,direction为top/bottom时作用于y
|
|
34
|
+
*/
|
|
35
|
+
wallPosition(direction: WallDirection, position: UNumber): object | null;
|
|
36
|
+
/**
|
|
37
|
+
* boxPosition
|
|
38
|
+
* 获取 boxPosition 的condition
|
|
39
|
+
* 相当于用4面wallPosition组合起来的box(本物体一般处于box内, 一旦移到box外就激活)
|
|
40
|
+
*
|
|
41
|
+
* @param {double} left 左边界位置有效值,可以传入undefined来表面此面无wallPosition
|
|
42
|
+
* @param {double} top 上边界位置有效值,可以传入undefined来表面此面无wallPosition
|
|
43
|
+
* @param {double} right 右边界位置有效值,可以传入undefined来表面此面无wallPosition
|
|
44
|
+
* @param {double} bottom 下边界位置有效值,可以传入undefined来表面此面无wallPosition
|
|
30
45
|
*/
|
|
31
|
-
wallPosition(direction: WallDirection, xPosition: UNumber, yPosition: UNumber): object | null;
|
|
32
46
|
boxPosition(left: UNumber, top: UNumber, right: UNumber, bottom: UNumber): any;
|
|
33
47
|
offsetPosition(left: UNumber, top: UNumber, right: UNumber, bottom: UNumber): object | null;
|
|
48
|
+
/**
|
|
49
|
+
* startMove
|
|
50
|
+
* 当FreeMove块开始移动时触发, 用于探测方块从静止到移动的过程
|
|
51
|
+
*
|
|
52
|
+
* @param {boolean} xEnable x轴是否启用
|
|
53
|
+
* @param {boolean} yEnable y轴是否启用
|
|
54
|
+
*/
|
|
34
55
|
startMove(xEnable: boolean, yEnable: boolean): any;
|
|
35
56
|
/**
|
|
57
|
+
* 内部API
|
|
58
|
+
*
|
|
36
59
|
* AcrossPosition
|
|
37
60
|
* 获取 AcrossPosition 的condition
|
|
38
61
|
* x或y被越过时触发
|
|
@@ -42,6 +65,8 @@ declare class ConditionPackBuilder {
|
|
|
42
65
|
*/
|
|
43
66
|
acrossPosition(xPosition: number | undefined, yPosition: number | undefined): Object | null;
|
|
44
67
|
/**
|
|
68
|
+
* 内部API
|
|
69
|
+
*
|
|
45
70
|
* OnNexusEvent
|
|
46
71
|
* 响应 actRef 关联的 action 所发出的内部状态信息
|
|
47
72
|
*
|
|
@@ -50,6 +75,8 @@ declare class ConditionPackBuilder {
|
|
|
50
75
|
*/
|
|
51
76
|
onNexusEvent(nexusRecv: NexusNode, detailEventType: number): any;
|
|
52
77
|
/**
|
|
78
|
+
* 内部API
|
|
79
|
+
*
|
|
53
80
|
* OnHitBlock
|
|
54
81
|
* 监听Actor关联的LayoutView与blocker碰撞的状态
|
|
55
82
|
* 碰撞发生后,可以 State.revertWithHitBlock 将LayoutView返回到紧贴到碰撞点的状态
|
|
@@ -65,23 +92,93 @@ declare class ConditionPackBuilder {
|
|
|
65
92
|
*/
|
|
66
93
|
onNextTick(tickGap?: number): any;
|
|
67
94
|
/** 指定的swapcount前才能执行 */
|
|
95
|
+
/**
|
|
96
|
+
* 内部API
|
|
97
|
+
*
|
|
98
|
+
* onSwapCount
|
|
99
|
+
*/
|
|
68
100
|
onSwapCount(): any;
|
|
101
|
+
/**
|
|
102
|
+
* 内部API
|
|
103
|
+
*
|
|
104
|
+
* onDragStart
|
|
105
|
+
* 当拖拽开始时触发
|
|
106
|
+
*/
|
|
69
107
|
onDragStart(): any;
|
|
108
|
+
/**
|
|
109
|
+
* 内部API
|
|
110
|
+
*
|
|
111
|
+
* onDragEnd
|
|
112
|
+
* 当拖拽结束时触发
|
|
113
|
+
*/
|
|
70
114
|
onDragEnd(): any;
|
|
115
|
+
/**
|
|
116
|
+
* 内部API
|
|
117
|
+
*
|
|
118
|
+
* onTouchDown
|
|
119
|
+
* 当触摸开始时触发
|
|
120
|
+
*/
|
|
71
121
|
onTouchDown(): any;
|
|
122
|
+
/**
|
|
123
|
+
* 内部API
|
|
124
|
+
*
|
|
125
|
+
* onTouchRelease
|
|
126
|
+
* 当触摸结束时触发
|
|
127
|
+
*/
|
|
72
128
|
onTouchRelease(): any;
|
|
129
|
+
/**
|
|
130
|
+
* 内部API
|
|
131
|
+
*
|
|
132
|
+
* onFlingStart
|
|
133
|
+
* 当 fling 开始时触发
|
|
134
|
+
*/
|
|
73
135
|
onFlingStart(): any;
|
|
136
|
+
/**
|
|
137
|
+
* 内部API
|
|
138
|
+
*
|
|
139
|
+
* onFlingProgress
|
|
140
|
+
* 当 fling 过程中触发
|
|
141
|
+
*/
|
|
74
142
|
onFlingProgress(): any;
|
|
143
|
+
/**
|
|
144
|
+
* 内部API
|
|
145
|
+
*
|
|
146
|
+
* onFlingEnd
|
|
147
|
+
* 当 fling 结束时触发
|
|
148
|
+
*/
|
|
75
149
|
onFlingEnd(): any;
|
|
150
|
+
/**
|
|
151
|
+
* 内部API
|
|
152
|
+
*
|
|
153
|
+
* onFlingCancel
|
|
154
|
+
* 当 fling 取消时触发
|
|
155
|
+
*/
|
|
76
156
|
onFlingCancel(): any;
|
|
157
|
+
/**
|
|
158
|
+
* 内部API
|
|
159
|
+
*
|
|
160
|
+
* onFlingDrop
|
|
161
|
+
* 当 fling 拖拽结束时触发
|
|
162
|
+
*/
|
|
77
163
|
onFlingDrop(): any;
|
|
78
164
|
/**
|
|
165
|
+
* 内部API
|
|
166
|
+
*
|
|
167
|
+
* onMouseWheelScrollProgress
|
|
168
|
+
* 当鼠标滚轮滚动时触发
|
|
169
|
+
*/
|
|
170
|
+
onMouseWheelScrollProgress(): any;
|
|
171
|
+
/**
|
|
172
|
+
* 内部API
|
|
173
|
+
*
|
|
79
174
|
* touchCount
|
|
80
175
|
* 当touchDown时,Count会++,用于解决多次touchDown引发的时序问题
|
|
81
176
|
* 当native的count计数等于给定的参数设定的count时,触发condition
|
|
82
177
|
*/
|
|
83
178
|
touchCount(count: number): any;
|
|
84
179
|
/**
|
|
180
|
+
* 内部API
|
|
181
|
+
*
|
|
85
182
|
* onMovement
|
|
86
183
|
* 当FreeMove块移动时,移动了给定的距离值后触发条件, 给定的距离值由sensitivity定义
|
|
87
184
|
*
|
|
@@ -90,6 +187,12 @@ declare class ConditionPackBuilder {
|
|
|
90
187
|
* @param {int} xyEnables x,y两轴哪个生效, 0b1 为x, 0b10 为y, 默认为都enable
|
|
91
188
|
*/
|
|
92
189
|
onMovement(xSensitivity: number, ySensitivity?: number | undefined, xyEnables?: number | undefined): any;
|
|
190
|
+
/**
|
|
191
|
+
* 内部API
|
|
192
|
+
*
|
|
193
|
+
* movementSync
|
|
194
|
+
* @param {NexusNode} nexusRef 用于同步运动的nexus节点
|
|
195
|
+
*/
|
|
93
196
|
movementSync(nexusRef: NexusNode): any;
|
|
94
197
|
_CheckCommonInfo(): boolean;
|
|
95
198
|
_BuildPack(conditionSet: Object): any;
|
|
@@ -2,15 +2,35 @@ import { NexusNode } from "./NexusNode";
|
|
|
2
2
|
import ActorControl from "./ActorControl";
|
|
3
3
|
declare class StatePackBuilder {
|
|
4
4
|
constructor();
|
|
5
|
+
/**
|
|
6
|
+
* clearConditions
|
|
7
|
+
* 清理所有已经设置的condition,
|
|
8
|
+
* condition如果不清理则伴随着FreeMoveActor的生命周期一直存在
|
|
9
|
+
*/
|
|
5
10
|
clearAllConditions(): Object;
|
|
11
|
+
/**
|
|
12
|
+
* removeConditionByGroup
|
|
13
|
+
* 清理指定组的condition,
|
|
14
|
+
* group 和 @file://./ActorControl.ts 中condition()函数声明的group对应
|
|
15
|
+
* condition如果不清理则伴随着FreeMoveActor的生命周期一直存在
|
|
16
|
+
*/
|
|
6
17
|
removeConditionByGroup(group: number): Object;
|
|
18
|
+
/**
|
|
19
|
+
* removeConditionByGroup
|
|
20
|
+
* 清理指定名字的condition
|
|
21
|
+
* specName 和 @file://./ActorControl.ts 中condition()函数声明的specName对应
|
|
22
|
+
* condition如果不清理则伴随着FreeMoveActor的生命周期一直存在
|
|
23
|
+
*/
|
|
7
24
|
removeConditionByName(specName: String): any;
|
|
8
25
|
/**
|
|
9
26
|
* activeCondition
|
|
10
|
-
* 重新激活对应
|
|
27
|
+
* 重新激活对应group或者specName的condition
|
|
28
|
+
* group和specName和 @file://./ActorControl.ts 中condition()函数声明的group或specName对应
|
|
29
|
+
*
|
|
11
30
|
* 一个condition处于非激活有两种可能,
|
|
12
31
|
* 1. 允许触发一次的condition已经完成触发
|
|
13
|
-
*
|
|
32
|
+
* 见 @file://./ActorControl.ts 中condition()函数声明的multiTimes == 1的设置即为一次触发
|
|
33
|
+
* 2. 被 deactiveCondition()关闭过的condition
|
|
14
34
|
*
|
|
15
35
|
* @param {int} groupType (可选)对应condition的groupType, 与specName二选一
|
|
16
36
|
* @param {String} specName (可选)对应condition的specName, 与groupId二选一, 当groupId为 undefined 或 -1 时生效
|
|
@@ -18,19 +38,74 @@ declare class StatePackBuilder {
|
|
|
18
38
|
activeCondition(groupType: number | undefined, specName: String | undefined): Object;
|
|
19
39
|
/**
|
|
20
40
|
* deactiveCondition
|
|
21
|
-
* 停止对应
|
|
41
|
+
* 停止对应group或者specName的condition
|
|
22
42
|
*
|
|
23
43
|
* @param {int} groupType (可选)对应condition的groupType, 与specName二选一
|
|
24
44
|
* @param {String} specName (可选)对应condition的specName, 与groupId二选一, 当groupId为 undefined 或 -1 时生效
|
|
25
45
|
*/
|
|
26
46
|
deactiveCondition(groupType: number | undefined, specName: String | undefined): Object;
|
|
47
|
+
/**
|
|
48
|
+
* setStartPos 立刻将actor运动起始点设置到目标位置, 作为下一个Action执行时的位置起点
|
|
49
|
+
* 若没有新的Action执行, 则这个位置改变不会有任何效果
|
|
50
|
+
* 注意1: 只影响当speed/accel不为0时的下一帧的运动起始位置,
|
|
51
|
+
* 当speed/accel为0状态下要移动物体请用 Action.teleportTo
|
|
52
|
+
* 注意2: 此为state设置,下一帧直接以此state开始,所以不会触发任何positionCondition的cross条件
|
|
53
|
+
* 需要condition触发时,请用 Action.teleportTo
|
|
54
|
+
* 参数说明:
|
|
55
|
+
* targetX (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
|
|
56
|
+
* targetY (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
|
|
57
|
+
*/
|
|
27
58
|
setStartPos(targetX: number | undefined, targetY: number | undefined): any;
|
|
59
|
+
/**
|
|
60
|
+
* setStartOffsetPos 立刻将actor移动以当前位置相对位移的位置, 作为下一个Action执行时的位置起点
|
|
61
|
+
* 用offset的方式可以解决触发condition时, drawX或drawY并不是完全和condition的坐标重合, 偏差的坐标可由offset继承
|
|
62
|
+
*
|
|
63
|
+
* 注意1: 只影响当speed/accel不为0时的下一帧的运动起始位置,
|
|
64
|
+
* 当speed/accel为0状态下要移动物体请用 Action.teleportOffset
|
|
65
|
+
* 注意2: 此为state设置,下一帧直接以此state开始,所以不会触发任何positionCondition的cross条件
|
|
66
|
+
* 需要condition触发时,请用 Action.teleportOffset
|
|
67
|
+
* 参数说明:
|
|
68
|
+
* targetX (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
|
|
69
|
+
* targetY (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
|
|
70
|
+
*/
|
|
28
71
|
setStartOffsetPos(offsetX: number | undefined, offsetY: number | undefined): any;
|
|
72
|
+
/**
|
|
73
|
+
* updateBaseOffset
|
|
74
|
+
* 更新本div的基准坐标, 同时立刻调整drawX, drawY, 使其相对于父dom节点的屏幕坐标保持不变
|
|
75
|
+
*
|
|
76
|
+
* @param {number} offsetX 基准坐标x偏移量
|
|
77
|
+
* @param {number} offsetY 基准坐标y偏移量
|
|
78
|
+
*/
|
|
79
|
+
updateBaseOffset(offsetX: number, offsetY: number): void;
|
|
80
|
+
/**
|
|
81
|
+
* 内部API
|
|
82
|
+
*
|
|
83
|
+
* 在BlockerCondition发生时,进行位置回滚处理
|
|
84
|
+
*/
|
|
29
85
|
revertWithHitBlock(): any;
|
|
86
|
+
/**
|
|
87
|
+
* 内部API
|
|
88
|
+
*
|
|
89
|
+
* setHitWallOverflow
|
|
90
|
+
*/
|
|
30
91
|
setHitWallOverflow(): any;
|
|
92
|
+
/**
|
|
93
|
+
* 内部API
|
|
94
|
+
*
|
|
95
|
+
* touchLockSwitch
|
|
96
|
+
*/
|
|
31
97
|
touchLockSwitch(isLock: boolean, direction: number, unlockThreshold?: number): any;
|
|
98
|
+
/**
|
|
99
|
+
* 内部API
|
|
100
|
+
*
|
|
101
|
+
* fireNexusEvent 发出Nexus event
|
|
102
|
+
* @param {NexusNode} nexusRecv 由 FreeMoveFunc.newNexus() 创建, 作为通讯句柄,类似电话号,在onNexusEvent监听
|
|
103
|
+
* @param {number} detailEventType 监听的事件类型, 类比与分机号,和onNexusEvent约定, 自定义内容要求1000以上
|
|
104
|
+
*/
|
|
32
105
|
fireNexusEvent(nexusRecv: NexusNode, detailEventType: number): any;
|
|
33
106
|
/**
|
|
107
|
+
* 内部API
|
|
108
|
+
*
|
|
34
109
|
* setTouchAttractChild
|
|
35
110
|
*
|
|
36
111
|
* 绑定一个子view中的FreeMoveDiv
|
|
@@ -40,6 +115,8 @@ declare class StatePackBuilder {
|
|
|
40
115
|
*/
|
|
41
116
|
setTouchAttractChild(otherFreeMoveControl: ActorControl): any;
|
|
42
117
|
/**
|
|
118
|
+
* 内部API
|
|
119
|
+
*
|
|
43
120
|
* startMovementSync
|
|
44
121
|
*
|
|
45
122
|
* 发出进度同步信号(可以一个FreeMove绑定多个信号发生器,但目前场景估计只需要一个发生器即可)
|
|
@@ -58,6 +135,14 @@ declare class StatePackBuilder {
|
|
|
58
135
|
* @param {int} xyEnable x,y是否都触发, 0b01对应x, 0b10对应y, 可以或运算在一起
|
|
59
136
|
*/
|
|
60
137
|
startMovementSync(nexusRef: NexusNode, horizontalStart: number, horizontalEnd: number, verticalStart: number, verticalEnd: number, xyEnable: number): any;
|
|
138
|
+
/**
|
|
139
|
+
* 内部API
|
|
140
|
+
*
|
|
141
|
+
* stopMovementSync
|
|
142
|
+
*
|
|
143
|
+
* 停止由startMovementSync发起的的同步信号
|
|
144
|
+
* 目前阶段,为关闭所有的信号发起器
|
|
145
|
+
*/
|
|
61
146
|
stopMovementSync(): any;
|
|
62
147
|
}
|
|
63
148
|
export default StatePackBuilder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import JsvFreeMoveActor from "./
|
|
1
|
+
import JsvFreeMoveActor from "./JsvFreeMoveActor.vue";
|
|
2
2
|
import JsvEnvBlocker from "./JsvEnvBlocker.vue";
|
|
3
3
|
export namespace FreeMoveDef {
|
|
4
4
|
export { ActEventDefine };
|
|
@@ -10,5 +10,10 @@ export namespace FreeMoveFunc {
|
|
|
10
10
|
export { GetSyncLinkManager };
|
|
11
11
|
export { SyncLinkSource };
|
|
12
12
|
}
|
|
13
|
+
import { ActEventDefine } from "./ForgeTypeDefine.ts";
|
|
14
|
+
import { default as KeepFlags } from "./KeepFlags.ts";
|
|
13
15
|
import { newNexus } from "./NexusNode";
|
|
16
|
+
import { default as ActControlDebug } from "./ActorControl.ts";
|
|
17
|
+
import { GetSyncLinkManager } from "./SyncLinkManager.ts";
|
|
18
|
+
import { SyncLinkSource } from "./SyncLinkManager.ts";
|
|
14
19
|
export { JsvFreeMoveActor, JsvFreeMoveActor as JsvFreeMoveDiv, JsvEnvBlocker };
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
export class PageType extends UpdateType {
|
|
4
|
+
constructor();
|
|
5
|
+
}
|
|
6
|
+
export class LineType extends UpdateType {
|
|
7
|
+
constructor(start: any, end: any);
|
|
8
|
+
start: any;
|
|
9
|
+
end: any;
|
|
10
|
+
}
|
|
11
|
+
import { FocusMoveType } from "../JsViewEngineWidget";
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
13
|
left: {
|
|
3
14
|
type: NumberConstructor;
|
|
4
15
|
};
|
|
@@ -56,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
67
|
type: NumberConstructor;
|
|
57
68
|
default: number;
|
|
58
69
|
};
|
|
59
|
-
}
|
|
70
|
+
}>, {
|
|
60
71
|
originDataList: never[];
|
|
61
72
|
divInfoList: never[];
|
|
62
73
|
startIndex: number;
|
|
@@ -67,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
78
|
focusDataIndex: number;
|
|
68
79
|
preFocusDataIndex: number;
|
|
69
80
|
focused: boolean;
|
|
70
|
-
},
|
|
81
|
+
}, {}, {}, {
|
|
71
82
|
_getCurrentFocusId(): any;
|
|
72
83
|
_getDivIndex(dataIndex: any): number;
|
|
73
84
|
_initDivInfoList(): void;
|
|
@@ -75,16 +86,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
86
|
_indexConvert(i: any): any;
|
|
76
87
|
_formatData(): void;
|
|
77
88
|
_updateData(startIndex: any): void;
|
|
78
|
-
_getStartIndex(targetIndex: any, direction: any):
|
|
89
|
+
_getStartIndex(targetIndex: any, direction: any): number;
|
|
79
90
|
_sendOnEdge(edgeDirection: any, divIndex: any): void;
|
|
80
91
|
_moveTo(hOffset: any, vOffset: any): void;
|
|
81
92
|
_onFocus(): void;
|
|
82
93
|
_onBlur(): void;
|
|
83
94
|
_onKeyDown(ev: any): boolean;
|
|
84
|
-
getFocusBlockRef():
|
|
95
|
+
getFocusBlockRef(): unknown;
|
|
85
96
|
setFocusId(id: any): void;
|
|
86
97
|
refreshData(): void;
|
|
87
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
98
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
99
|
left: {
|
|
89
100
|
type: NumberConstructor;
|
|
90
101
|
};
|
|
@@ -142,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
153
|
type: NumberConstructor;
|
|
143
154
|
default: number;
|
|
144
155
|
};
|
|
145
|
-
}
|
|
156
|
+
}>> & Readonly<{}>, {
|
|
146
157
|
initFocusId: number;
|
|
147
158
|
focusMoveType: number;
|
|
148
159
|
updateType: UpdateType;
|
|
@@ -150,17 +161,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
161
|
verticalUpdate: boolean;
|
|
151
162
|
columnFirst: boolean;
|
|
152
163
|
loopUpdate: boolean;
|
|
153
|
-
}>;
|
|
154
|
-
export default _default;
|
|
155
|
-
export class PageType extends UpdateType {
|
|
156
|
-
constructor();
|
|
157
|
-
}
|
|
158
|
-
export class LineType extends UpdateType {
|
|
159
|
-
constructor(start: any, end: any);
|
|
160
|
-
start: any;
|
|
161
|
-
end: any;
|
|
162
|
-
}
|
|
163
|
-
import { FocusMoveType } from "../JsViewEngineWidget/WidgetCommon";
|
|
164
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
164
165
|
declare class UpdateType {
|
|
165
166
|
constructor(type: any);
|
|
166
167
|
type: any;
|