@shijiu/jsview-vue 2.2.201 → 2.2.426-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/BrowserApic.vue.mjs +2 -13
- package/bin/browser/BrowserApic2.vue.mjs +2 -13
- package/bin/browser/BrowserApicLib.mjs +24 -24
- package/bin/browser/BrowserAudio.vue.mjs +2 -10
- package/bin/browser/BrowserJsvLatex.vue.mjs +39 -16
- package/bin/export-sfc.mjs +3 -3
- package/bin/jsview-vue-common.mjs +3 -3
- package/bin/jsview-vue.mjs +3288 -2312
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +72 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/ListWidget.vue.d.ts +6 -3
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidget.vue.d.ts +6 -3
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidgetSetup.d.ts +3 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +64 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/bin/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/Fence.d.ts +2 -2
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/MetroTemplate.d.ts +3 -3
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/index.d.ts +1 -1
- package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +13 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/index.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +13 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer-0.9.vue.d.ts +45 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue.d.ts +597 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +420 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +57 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +588 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +358 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +358 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +10 -0
- package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +6 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicCssStyle.d.ts +3 -1
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicKeyFrames.d.ts +4 -2
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvImpactTracer.d.ts +4 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPreDownloader.d.ts +3 -2
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRefTaker.d.ts +2 -3
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRuntimeBridge.d.ts +42 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleSheetsDeclarer.d.ts +3 -1
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +61 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +63 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/JsvTextureStore.d.ts +8 -4
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/NinePatchHelper.d.ts +1 -1
- package/bin/types/utils/JsViewVueTools/TextureManagerTools.d.ts +7 -0
- package/bin/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +3 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/index.d.ts +3 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/JsvApic.vue.d.ts +7 -0
- package/bin/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +84 -0
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +75 -0
- package/bin/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +2 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +7 -0
- package/bin/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +12 -0
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +45 -0
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +26 -0
- package/bin/types/{JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts → utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts} +7 -5
- package/bin/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +13 -0
- package/bin/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +16 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMaskClipDiv.vue.d.ts +0 -2
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/DataTree.d.ts +3 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Geometry.d.ts +2 -2
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/JsvMindMap.vue.d.ts +16 -9
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNativeSharedDiv.vue.d.ts +6 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNinePatch.vue.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +75 -0
- package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/index.d.ts +4 -2
- package/index.d.ts +9 -1
- package/package.json +1 -1
- package/tools/config/toolkit.mjs +81 -0
- package/tools/config/vite.config.ts +24 -14
- package/tools/jsview-vue-build.mjs +67 -21
- package/tsconfig.json +27 -0
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +6 -2
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +3 -1
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +12 -5
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +175 -65
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -1
- package/utils/JsViewEngineWidget/TemplateParser/Fence.ts +2 -2
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +15 -9
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +4 -6
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +13 -3
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +27 -6
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +34 -28
- package/utils/JsViewPlugin/JsvLatex/index.js +22 -0
- package/utils/JsViewVueTools/FeatureActive.ts +84 -0
- package/utils/JsViewVueTools/ForgeHandles.ts +7 -3
- package/utils/JsViewVueTools/JsvDynamicCssStyle.js +2 -0
- package/utils/JsViewVueTools/JsvDynamicKeyFrames.ts +2 -0
- package/utils/JsViewVueTools/JsvHashHistory.js +26 -29
- package/utils/JsViewVueTools/JsvImpactTracer.js +2 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -1
- package/utils/JsViewVueTools/JsvRefTaker.js +1 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -59
- package/utils/JsViewVueTools/JsvStyleClass.js +2 -0
- package/utils/JsViewVueTools/JsvStyleSheetsDeclarer.js +2 -0
- package/utils/JsViewVueTools/JsvTextTools.ts +156 -0
- package/utils/JsViewVueTools/JsvTextureLoadTool.ts +233 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +4 -1
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +7 -3
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +1 -0
- package/utils/JsViewVueTools/TextureManagerTools.ts +17 -0
- package/utils/JsViewVueTools/TypeCheckAndSet.ts +66 -0
- package/utils/JsViewVueTools/index.js +4 -1
- package/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue +2 -0
- package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +10 -2
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +12 -1
- package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +4 -2
- package/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue +2 -0
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +219 -0
- package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +11 -9
- package/utils/JsViewVueWidget/JsvFilterView.vue +2 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +5 -2
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +140 -0
- package/utils/JsViewVueWidget/JsvFlexCell/index.js +2 -5
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +214 -63
- package/utils/JsViewVueWidget/JsvFragShaderView/index.js +2 -9
- package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +9 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +2 -0
- package/utils/JsViewVueWidget/JsvGrid.vue +2 -0
- package/utils/JsViewVueWidget/JsvHole.js +2 -0
- package/utils/JsViewVueWidget/JsvInput/Cursor.vue +49 -45
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +353 -0
- package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +255 -0
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +294 -681
- package/utils/JsViewVueWidget/JsvInput/SharedDefine.ts +17 -0
- package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +61 -0
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +2 -0
- package/utils/JsViewVueWidget/JsvMarquee.vue +2 -0
- package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +5 -48
- package/utils/JsViewVueWidget/JsvMindMap/DataTree.ts +14 -1
- package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +277 -117
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +91 -68
- package/utils/JsViewVueWidget/JsvNinePatch.vue +5 -0
- package/utils/JsViewVueWidget/JsvPieChart.vue +2 -0
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +2 -0
- package/utils/JsViewVueWidget/JsvPosterImage.vue +3 -2
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +23 -44
- package/utils/JsViewVueWidget/JsvPreload/index.js +2 -13
- package/utils/JsViewVueWidget/JsvProgressBar.vue +2 -0
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +12 -12
- package/utils/JsViewVueWidget/JsvRadarChart.vue +2 -0
- package/utils/JsViewVueWidget/JsvRipple/Constant.js +2 -2
- package/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue +3 -1
- package/utils/JsViewVueWidget/JsvScaleTextBox.vue +2 -0
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +9 -0
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +9 -0
- package/utils/JsViewVueWidget/JsvSector.vue +2 -0
- package/utils/JsViewVueWidget/JsvSoundPool.js +5 -7
- package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +43 -23
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +2 -5
- package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue +2 -0
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +2 -0
- package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +2 -0
- package/utils/JsViewVueWidget/JsvTextBox.vue +2 -4
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +48 -50
- package/utils/JsViewVueWidget/JsvTextureAnim/index.js +2 -9
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +101 -0
- package/utils/JsViewVueWidget/JsvVideo.vue +2 -2
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +2 -0
- package/utils/JsViewVueWidget/index.js +4 -2
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +0 -63
- package/bin/browser/BrowserPreload.vue.mjs +0 -143
- package/bin/browser/BrowserQrcode.vue.mjs +0 -180
- package/bin/browser/BrowserSpray.vue.mjs +0 -66
- package/bin/browser/BrowserTextureAnim.vue.mjs +0 -332
- package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +0 -102
- package/bin/types/JsViewVueTools/ForgeHandles.d.ts +0 -6
- package/bin/types/JsViewVueTools/JsvTextTools.d.ts +0 -37
- package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +0 -2
- package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +0 -2
- package/bin/types/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts +0 -13
- package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +0 -2
- package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +0 -36
- package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +0 -210
- package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +0 -17
- package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +0 -11
- package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +0 -2
- package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +0 -25
- package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +0 -2
- package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +0 -151
- package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +0 -14
- package/tools/config/tsconfig.json +0 -15
- package/utils/JsViewVueTools/JsvTextTools.js +0 -89
- package/utils/JsViewVueTools/TypeCheckAndSet.js +0 -27
- package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +0 -48
- package/utils/JsViewVueWidget/JsvPreload/BrowserPreload.vue +0 -144
- package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +0 -189
- package/utils/JsViewVueWidget/JsvQrcode/index.js +0 -18
- package/utils/JsViewVueWidget/JsvSpray/BrowserSpray.vue +0 -55
- package/utils/JsViewVueWidget/JsvSpray/index.js +0 -17
- package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +0 -359
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/CheckType.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusHub.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusManager.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Const.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Dispatcher.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/PageUpdater.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/RenderItem.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Slide.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/SlotComponent.vue.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/VisibleInfo.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/WidgetRectInfo.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/RangeModel.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/CommonMetroTemplate.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/ListMetroTemplate.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/TemplateItemAdder.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/index.d.ts +0 -0
- package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/WidgetCommon.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAccount/JsvAccount.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/AudioProxy.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/CheckType.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/Events.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudio.vue.d.ts +4 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioBridgeProxy.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioProxy.vue.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/PluginLoader.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/ScreenLockManager.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/index.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/version.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserDomBuilder.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserJsvLatex.vue.d.ts +4 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/Color.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatex.vue.d.ts +4 -4
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexBridgeProxy.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexProxy.vue.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/PluginLoader.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/version.d.ts +0 -0
- package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/index.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ConstSymbol.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugContentShellJBridge.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugTool.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DefaultKeyMap.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeConstDefine.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDemoTester.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvFederationTools.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvHashHistory.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPerformance.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleClass.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureDefines.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CommandList.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Store.d.ts +0 -0
- package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Texture.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/ActorControlBase.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMove.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMoveControl.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/BrowserApic.vue.d.ts +1 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +1 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/JsvApic2.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/GifData.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/Viewer.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/WebpData.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvCommonLoopToolBase.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/JsvClipDiv.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/ArcLineManager.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/JsvConnectLine.vue.d.ts +2 -2
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/JsvDriftScope.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvEnableRenderBreak.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFilterView.vue.d.ts +3 -3
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFlexCell/JsvFlexDiv.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActionRefObject.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorControl.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorState.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/CallbackManager.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ForgeTypeDefine.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +9 -9
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +3 -3
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/NexusNode.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetAction.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetCondition.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetState.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SyncLinkManager.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvGrid.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvHole.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvLine/JsvLine.vue.d.ts +3 -3
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvLine/LineManager.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvLine/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMarquee.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/CommonType.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Constant.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/rtree.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPieChart.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterDiv.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterImage.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPreload/JsvPreload.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvProgressBar.vue.d.ts +1 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRadarChart.vue.d.ts +1 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/Constant.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/JsvRipple.vue.d.ts +3 -3
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScaleTextBox.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollBox.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollFollow.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollInnerSymbol.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollSymbol.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSector.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSoundPool.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpray/JsvSpray.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/FrameBuidler.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteTools.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/SpriteController.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/sAnimationToken.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/JsvSwiper.vue.d.ts +1 -1
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/JsvSwiper.vue.d.ts +3 -3
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/index.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextBox.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/CommonType.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/JsvTextureAnim.vue.d.ts +0 -0
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +6 -6
- package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/index.d.ts +6 -6
- /package/bin/types/{index.d.ts → utils/index.d.ts} +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
export { InputType };
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
add: (text: any) => void;
|
|
4
|
+
delete: () => void;
|
|
5
|
+
clear: () => void;
|
|
6
|
+
replace: (text: any) => void;
|
|
2
7
|
$props: {
|
|
3
|
-
|
|
4
|
-
readonly downloadList?: unknown[] | undefined;
|
|
5
|
-
readonly onPreloading?: Function | undefined;
|
|
6
|
-
readonly onPreloadDone?: Function | undefined;
|
|
7
|
-
readonly onDownloadDone?: Function | undefined;
|
|
8
|
+
[x: string]: any;
|
|
8
9
|
};
|
|
9
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
10
11
|
export default _default;
|
|
12
|
+
import { InputType } from "./SharedDefine";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const InputType: {
|
|
2
|
+
TEXT: any;
|
|
3
|
+
NUMBER: any;
|
|
4
|
+
PASSWORD: any;
|
|
5
|
+
};
|
|
6
|
+
export declare interface FontStyleDefine {
|
|
7
|
+
fontSize: number;
|
|
8
|
+
fontFamily: string;
|
|
9
|
+
textAlign: string;
|
|
10
|
+
fontStyle: string;
|
|
11
|
+
fontWeight: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const MAX_WIDTH = 2000;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare interface FontStyleDefine {
|
|
2
|
+
fontSize: number;
|
|
3
|
+
fontFamily: string;
|
|
4
|
+
textAlign: string;
|
|
5
|
+
fontStyle: string;
|
|
6
|
+
fontWeight: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CursorResult {
|
|
9
|
+
x: number;
|
|
10
|
+
cachedId: number;
|
|
11
|
+
}
|
|
12
|
+
export declare function calculateCursorPosition(display_text: string, cursor_offset: number, rect_width: number, rect_height: number, line_height: number, font_style: FontStyleDefine): CursorResult;
|
|
13
|
+
export declare function calculateCursorPositionCached(cursor_offset: number, cached_id: number): number;
|
|
14
|
+
export declare function recycleCursorMeasureCache(cached_id: any): void;
|
|
15
|
+
export declare function getTextDisplayWidth(text: string, font_style: FontStyleDefine): any;
|
|
16
|
+
export {};
|
|
@@ -33,7 +33,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
innerView: null;
|
|
34
34
|
innerViewId: number;
|
|
35
35
|
styleDetail: null;
|
|
36
|
-
html: boolean;
|
|
37
36
|
cache: {
|
|
38
37
|
viewSrc: null;
|
|
39
38
|
maskSrc: null;
|
|
@@ -46,7 +45,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
45
|
}, any, {}, {
|
|
47
46
|
_drawClip(canvas: any, clip_image: any, clip_ready: any, bg_image: any, bg_ready: any): void;
|
|
48
47
|
updateMainTexturePosition(): void;
|
|
49
|
-
_initForHtml(): void;
|
|
50
48
|
_updateInnerView(): void;
|
|
51
49
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
50
|
class: {
|
|
@@ -13,7 +13,7 @@ export declare class DataNode {
|
|
|
13
13
|
moveType: MoveType;
|
|
14
14
|
private lineList;
|
|
15
15
|
private moveInfoCache;
|
|
16
|
-
constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType);
|
|
16
|
+
constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType, enableTap?: boolean);
|
|
17
17
|
get minX(): number;
|
|
18
18
|
get maxX(): number;
|
|
19
19
|
get minY(): number;
|
|
@@ -56,6 +56,8 @@ export declare class DataNode {
|
|
|
56
56
|
private focused;
|
|
57
57
|
private divRef;
|
|
58
58
|
private lineStyle;
|
|
59
|
+
enableTap: boolean;
|
|
60
|
+
onTap: import("vue").ComputedRef<(() => void) | null>;
|
|
59
61
|
setLineStyle(style: any): void;
|
|
60
62
|
getLineStyle(): any;
|
|
61
63
|
onFocus(): void;
|
|
@@ -10,7 +10,7 @@ export declare class Point {
|
|
|
10
10
|
* @param p
|
|
11
11
|
* @returns
|
|
12
12
|
*/
|
|
13
|
-
relativeTo(p: Point): "left" | "right" | "
|
|
13
|
+
relativeTo(p: Point): "left" | "right" | "top" | "bottom";
|
|
14
14
|
clone(): Point;
|
|
15
15
|
}
|
|
16
16
|
export declare class Line {
|
|
@@ -39,7 +39,7 @@ export declare class Rect {
|
|
|
39
39
|
*/
|
|
40
40
|
relativeTo(rect: Rect, eightDirInfo?: {
|
|
41
41
|
value: number;
|
|
42
|
-
} | null): "left" | "right" | "
|
|
42
|
+
} | null): "left" | "right" | "top" | "bottom";
|
|
43
43
|
getEdge(dir: Direction): Line;
|
|
44
44
|
containPoint(point: Point): boolean;
|
|
45
45
|
containRect(rect: Rect): boolean;
|
|
@@ -29,13 +29,15 @@ declare const _default: {
|
|
|
29
29
|
height: number;
|
|
30
30
|
};
|
|
31
31
|
refreshData: () => void;
|
|
32
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
32
33
|
$props: {
|
|
33
|
-
readonly
|
|
34
|
-
readonly width?: number | undefined;
|
|
34
|
+
readonly name?: string | undefined;
|
|
35
35
|
readonly left?: number | undefined;
|
|
36
36
|
readonly top?: number | undefined;
|
|
37
|
-
readonly
|
|
37
|
+
readonly width?: number | undefined;
|
|
38
|
+
readonly height?: number | undefined;
|
|
38
39
|
readonly provideData?: Function | undefined;
|
|
40
|
+
readonly touchFlag?: number | undefined;
|
|
39
41
|
readonly formatNode?: Function | undefined;
|
|
40
42
|
readonly focusRectPadding?: number | undefined;
|
|
41
43
|
readonly renderRectMargin?: number | undefined;
|
|
@@ -75,13 +77,15 @@ declare const _default: {
|
|
|
75
77
|
height: number;
|
|
76
78
|
};
|
|
77
79
|
refreshData: () => void;
|
|
80
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
78
81
|
$props: {
|
|
79
|
-
readonly
|
|
80
|
-
readonly width?: number | undefined;
|
|
82
|
+
readonly name?: string | undefined;
|
|
81
83
|
readonly left?: number | undefined;
|
|
82
84
|
readonly top?: number | undefined;
|
|
83
|
-
readonly
|
|
85
|
+
readonly width?: number | undefined;
|
|
86
|
+
readonly height?: number | undefined;
|
|
84
87
|
readonly provideData?: Function | undefined;
|
|
88
|
+
readonly touchFlag?: number | undefined;
|
|
85
89
|
readonly formatNode?: Function | undefined;
|
|
86
90
|
readonly focusRectPadding?: number | undefined;
|
|
87
91
|
readonly renderRectMargin?: number | undefined;
|
|
@@ -105,13 +109,15 @@ declare const _default: {
|
|
|
105
109
|
height: number;
|
|
106
110
|
};
|
|
107
111
|
refreshData: () => void;
|
|
112
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
108
113
|
$props: {
|
|
109
|
-
readonly
|
|
110
|
-
readonly width?: number | undefined;
|
|
114
|
+
readonly name?: string | undefined;
|
|
111
115
|
readonly left?: number | undefined;
|
|
112
116
|
readonly top?: number | undefined;
|
|
113
|
-
readonly
|
|
117
|
+
readonly width?: number | undefined;
|
|
118
|
+
readonly height?: number | undefined;
|
|
114
119
|
readonly provideData?: Function | undefined;
|
|
120
|
+
readonly touchFlag?: number | undefined;
|
|
115
121
|
readonly formatNode?: Function | undefined;
|
|
116
122
|
readonly focusRectPadding?: number | undefined;
|
|
117
123
|
readonly renderRectMargin?: number | undefined;
|
|
@@ -136,6 +142,7 @@ declare const _default: {
|
|
|
136
142
|
height: number;
|
|
137
143
|
};
|
|
138
144
|
refreshData: () => void;
|
|
145
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
139
146
|
};
|
|
140
147
|
onAction: any;
|
|
141
148
|
}) => any;
|
|
@@ -20,6 +20,8 @@ declare const _default: {
|
|
|
20
20
|
$props: {
|
|
21
21
|
readonly style?: Record<string, any> | undefined;
|
|
22
22
|
readonly corner?: number | undefined;
|
|
23
|
+
readonly oversize?: number | undefined;
|
|
24
|
+
readonly frontLayer?: boolean | undefined;
|
|
23
25
|
readonly getId?: Function | undefined;
|
|
24
26
|
readonly setId?: string | undefined;
|
|
25
27
|
};
|
|
@@ -47,6 +49,8 @@ declare const _default: {
|
|
|
47
49
|
$props: {
|
|
48
50
|
readonly style?: Record<string, any> | undefined;
|
|
49
51
|
readonly corner?: number | undefined;
|
|
52
|
+
readonly oversize?: number | undefined;
|
|
53
|
+
readonly frontLayer?: boolean | undefined;
|
|
50
54
|
readonly getId?: Function | undefined;
|
|
51
55
|
readonly setId?: string | undefined;
|
|
52
56
|
};
|
|
@@ -58,6 +62,8 @@ declare const _default: {
|
|
|
58
62
|
$props: {
|
|
59
63
|
readonly style?: Record<string, any> | undefined;
|
|
60
64
|
readonly corner?: number | undefined;
|
|
65
|
+
readonly oversize?: number | undefined;
|
|
66
|
+
readonly frontLayer?: boolean | undefined;
|
|
61
67
|
readonly getId?: Function | undefined;
|
|
62
68
|
readonly setId?: string | undefined;
|
|
63
69
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
$props: {
|
|
3
|
+
readonly style?: Record<string, any> | undefined;
|
|
3
4
|
readonly left?: number | undefined;
|
|
4
5
|
readonly top?: number | undefined;
|
|
5
|
-
readonly style?: Record<string, any> | undefined;
|
|
6
6
|
readonly imageUrl?: string | undefined;
|
|
7
7
|
readonly waitForInit?: boolean | undefined;
|
|
8
8
|
readonly imageWidth?: number | undefined;
|
|
@@ -14,6 +14,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
14
14
|
readonly imageBlendType?: string | undefined;
|
|
15
15
|
readonly onDivRef?: Function | undefined;
|
|
16
16
|
readonly animation?: string | undefined;
|
|
17
|
+
readonly onAnimationEnd?: Function | undefined;
|
|
17
18
|
readonly onTransitionEnd?: Function | undefined;
|
|
18
19
|
};
|
|
19
20
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -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,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,75 @@
|
|
|
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
|
+
registerCallback: (callback: any) => void;
|
|
21
|
+
unregisterCallback: (callback: any) => void;
|
|
22
|
+
getInteractiveMode: () => number;
|
|
23
|
+
$props: {
|
|
24
|
+
readonly initMode?: number | undefined;
|
|
25
|
+
readonly width?: number | undefined;
|
|
26
|
+
readonly height?: number | undefined;
|
|
27
|
+
};
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
29
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
42
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
43
|
+
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;
|
|
44
|
+
};
|
|
45
|
+
$forceUpdate: () => void;
|
|
46
|
+
$nextTick: typeof import("vue").nextTick;
|
|
47
|
+
$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;
|
|
48
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
49
|
+
registerCallback: (callback: any) => void;
|
|
50
|
+
unregisterCallback: (callback: any) => void;
|
|
51
|
+
getInteractiveMode: () => number;
|
|
52
|
+
$props: {
|
|
53
|
+
readonly initMode?: number | undefined;
|
|
54
|
+
readonly width?: number | undefined;
|
|
55
|
+
readonly height?: number | undefined;
|
|
56
|
+
};
|
|
57
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
58
|
+
__isFragment?: undefined;
|
|
59
|
+
__isTeleport?: undefined;
|
|
60
|
+
__isSuspense?: undefined;
|
|
61
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
62
|
+
registerCallback: (callback: any) => void;
|
|
63
|
+
unregisterCallback: (callback: any) => void;
|
|
64
|
+
getInteractiveMode: () => number;
|
|
65
|
+
$props: {
|
|
66
|
+
readonly initMode?: number | undefined;
|
|
67
|
+
readonly width?: number | undefined;
|
|
68
|
+
readonly height?: number | undefined;
|
|
69
|
+
};
|
|
70
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
71
|
+
$slots: {
|
|
72
|
+
default: (_: {}) => any;
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
onRef: {
|
|
3
|
+
type: FunctionConstructor;
|
|
4
|
+
default: () => void;
|
|
5
|
+
};
|
|
6
|
+
useTexture: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
onRef: {
|
|
12
|
+
type: FunctionConstructor;
|
|
13
|
+
default: () => void;
|
|
14
|
+
};
|
|
15
|
+
useTexture: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
onRef: Function;
|
|
21
|
+
useTexture: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
@@ -6,8 +6,8 @@ export * from "./JsvClipDiv";
|
|
|
6
6
|
export * from "./JsvDriftScope";
|
|
7
7
|
export { default as JsvApic } from "./JsvApic/JsvApic";
|
|
8
8
|
export { default as JsvApic2 } from "./JsvApic/JsvApic2";
|
|
9
|
-
export { default as JsvQrcode } from "./JsvQrcode";
|
|
10
|
-
export { default as JsvSpray } from "./JsvSpray";
|
|
9
|
+
export { default as JsvQrcode } from "./JsvQrcode/JsvQrcode.vue";
|
|
10
|
+
export { default as JsvSpray } from "./JsvSpray/JsvSpray.vue";
|
|
11
11
|
export { default as JsvSwiper } from "./JsvSwiper";
|
|
12
12
|
export { default as JsvSwiper3D } from "./JsvSwiper3D";
|
|
13
13
|
export { default as JsvVisibleSensor } from "./JsvVisibleSensor";
|
|
@@ -30,6 +30,8 @@ export { default as JsvProgressBar } from "./JsvProgressBar.vue";
|
|
|
30
30
|
export { default as JsvEnableRenderBreak } from "./JsvEnableRenderBreak.vue";
|
|
31
31
|
export { JsvMindMap } from "./JsvMindMap";
|
|
32
32
|
export { default as JsvFragShaderView } from "./JsvFragShaderView";
|
|
33
|
+
export { default as JsvTouchModeSwitcher } from "./JsvTouchModeSwitcher.vue";
|
|
34
|
+
export { default as JsvDragBox } from "./JsvDragBox/JsvDragBox.vue";
|
|
33
35
|
import JsvNativeSharedDiv from "./JsvNativeSharedDiv.vue";
|
|
34
36
|
export { JsvNativeSharedDiv as JsvTransparentDiv, JsvNativeSharedDiv };
|
|
35
37
|
export { default as JsvActorMove, JsvActorMoveControl } from "./JsvActorMove";
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @todo 添加jsview-vue/utils组件列表
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
MetroWidget
|
|
7
|
+
} from "./bin/types/utils/index";
|
|
8
|
+
|
|
1
9
|
// 二选一 "./bin" 用于执行打包的js,"./utils" 用于调试
|
|
2
|
-
export * from "./bin/types/index";
|
|
10
|
+
export * from "./bin/types/utils/index";
|
|
3
11
|
// export * from "./utils";
|
package/package.json
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import url from 'node:url';
|
|
3
|
+
|
|
4
|
+
function getFileComments(content, isVue, filePath)
|
|
5
|
+
{
|
|
6
|
+
const keyword = '@file';
|
|
7
|
+
|
|
8
|
+
const contentLines = content.split('\n');
|
|
9
|
+
let fileCommentLines = [];
|
|
10
|
+
for (let idx = 0; idx < contentLines.length; idx++) {
|
|
11
|
+
const line = contentLines[idx];
|
|
12
|
+
const trimLine = line.trim();
|
|
13
|
+
// 空行 和 import, js文件会把import放在注释上面
|
|
14
|
+
if(!trimLine || trimLine.startsWith('import')) {
|
|
15
|
+
continue;
|
|
16
|
+
|
|
17
|
+
// 检查 /* comments */ 和 <!-- comments -->
|
|
18
|
+
} else if (trimLine.startsWith('/*')
|
|
19
|
+
|| trimLine.startsWith('<!--')) {
|
|
20
|
+
const endFlag = trimLine.startsWith('/*') ? '*/' : '-->'
|
|
21
|
+
let multiCommentLines = [];
|
|
22
|
+
for(idx; idx < contentLines.length; idx++) {
|
|
23
|
+
const multiline = contentLines[idx];
|
|
24
|
+
multiCommentLines.push(multiline);
|
|
25
|
+
if(multiline.includes(endFlag)) {
|
|
26
|
+
multiCommentLines.push(''); // 添加一个空行
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if(multiCommentLines.join().includes(keyword)) {
|
|
31
|
+
fileCommentLines.push(...multiCommentLines);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// 检查 //
|
|
35
|
+
} else if (trimLine.startsWith('//')) {
|
|
36
|
+
if(line.includes(keyword)) {
|
|
37
|
+
fileCommentLines.push(line);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 检查 vue 文件的 <script> 中的注释
|
|
41
|
+
} else if (isVue && trimLine.startsWith('<script')) {
|
|
42
|
+
|
|
43
|
+
// 出现代码,退出循环
|
|
44
|
+
} else {
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return fileCommentLines.join('\n').trim();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**************************************************
|
|
53
|
+
* jsview-framework/@shijiu/jsview-vue
|
|
54
|
+
* ├── bin
|
|
55
|
+
* │ └── types
|
|
56
|
+
* ├── tools
|
|
57
|
+
* │ └── config
|
|
58
|
+
* └── utls
|
|
59
|
+
*************************************************/
|
|
60
|
+
function getProjectPaths()
|
|
61
|
+
{
|
|
62
|
+
const currJsFilePath = url.fileURLToPath(import.meta.url)
|
|
63
|
+
const jsviewVueDir = path.resolve(currJsFilePath, '../../../'); // jsview-framework/@shijiu/jsview-vue
|
|
64
|
+
const jsviewVueBinDir = path.resolve(jsviewVueDir, 'bin');
|
|
65
|
+
const jsviewVueBinTypesDir = path.resolve(jsviewVueBinDir, 'types');
|
|
66
|
+
const jsviewVueModulesCacheDir = path.resolve(jsviewVueDir, 'node_modules', '.cache');
|
|
67
|
+
const jsviewVueUtilsDir = path.resolve(jsviewVueDir, 'utils');
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
jsviewVueDir,
|
|
71
|
+
jsviewVueBinDir,
|
|
72
|
+
jsviewVueBinTypesDir,
|
|
73
|
+
jsviewVueModulesCacheDir,
|
|
74
|
+
jsviewVueUtilsDir,
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
getFileComments,
|
|
80
|
+
getProjectPaths,
|
|
81
|
+
}
|
|
@@ -2,14 +2,18 @@ import { defineConfig } from 'vite'
|
|
|
2
2
|
import vue from '@vitejs/plugin-vue'
|
|
3
3
|
import fs from 'node:fs'
|
|
4
4
|
import path from 'node:path'
|
|
5
|
+
import {
|
|
6
|
+
getFileComments,
|
|
7
|
+
getProjectPaths
|
|
8
|
+
} from './toolkit.mjs'
|
|
5
9
|
|
|
6
|
-
const
|
|
10
|
+
const options = getProjectPaths();
|
|
7
11
|
|
|
8
12
|
// https://vitejs.dev/config/
|
|
9
13
|
export default defineConfig({
|
|
10
14
|
build: {
|
|
11
15
|
lib: {
|
|
12
|
-
entry: path.resolve(
|
|
16
|
+
entry: path.resolve(options.jsviewVueUtilsDir, 'index.js'),
|
|
13
17
|
formats: ["es"],
|
|
14
18
|
},
|
|
15
19
|
minify: false,
|
|
@@ -25,11 +29,11 @@ export default defineConfig({
|
|
|
25
29
|
],
|
|
26
30
|
output: {
|
|
27
31
|
banner: (chunkInfo) => getBanner(chunkInfo),
|
|
28
|
-
dir:
|
|
32
|
+
dir: options.jsviewVueModulesCacheDir,
|
|
29
33
|
entryFileNames: '[name].mjs',
|
|
30
34
|
format: 'esm',
|
|
31
35
|
preserveModules: true,
|
|
32
|
-
preserveModulesRoot:
|
|
36
|
+
preserveModulesRoot: options.jsviewVueDir,
|
|
33
37
|
sourcemap: false,
|
|
34
38
|
},
|
|
35
39
|
treeshake: false,
|
|
@@ -41,20 +45,26 @@ export default defineConfig({
|
|
|
41
45
|
})
|
|
42
46
|
|
|
43
47
|
function getBanner(chunkInfo) {
|
|
44
|
-
let filePath = chunkInfo.facadeModuleId
|
|
45
|
-
filePath = filePath.replace(/^\x00/, '') // '\0plugin-vue:export-helper',
|
|
46
|
-
const modulePath = path.relative(
|
|
48
|
+
let filePath = chunkInfo.facadeModuleId;
|
|
49
|
+
filePath = filePath.replace(/^\x00/, ''); // '\0plugin-vue:export-helper',
|
|
50
|
+
const modulePath = path.relative(options.jsviewVueUtilsDir, filePath);
|
|
51
|
+
const moduleDir = path.dirname(modulePath);
|
|
52
|
+
const dtsDir = path.resolve(options.jsviewVueBinTypesDir, moduleDir);
|
|
47
53
|
let banner = `
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
54
|
+
/*!
|
|
55
|
+
+ @file {@link file://./${path.relative(dtsDir, filePath)}}
|
|
56
|
+
*/
|
|
51
57
|
`;
|
|
52
58
|
|
|
53
59
|
if(filePath.endsWith('.vue')) {
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
const content = fs.readFileSync(filePath, 'utf-8');
|
|
61
|
+
|
|
62
|
+
let fileComments = getFileComments(content, true, filePath);
|
|
63
|
+
fileComments = fileComments.replaceAll('/**', '/*!');
|
|
64
|
+
fileComments = fileComments.replaceAll('<!--', '/*!');
|
|
65
|
+
fileComments = fileComments.replaceAll('-->', '*/');
|
|
66
|
+
|
|
67
|
+
banner += fileComments;
|
|
58
68
|
}
|
|
59
69
|
|
|
60
70
|
return banner;
|