@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,359 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Author: ChenChanghua
|
|
3
|
-
* @Date: 2022-02-08 09:29:17
|
|
4
|
-
* @LastEditTime: 2023-02-21 10:51:22
|
|
5
|
-
* @Description: file content
|
|
6
|
-
-->
|
|
7
|
-
<script>
|
|
8
|
-
// Forge共享数据引用,在Browser处理中window引用,规避Browser触发vite循环引用bug
|
|
9
|
-
const forgeTextureManager = window.JsvCode.ForgeHandles.TextureManager;
|
|
10
|
-
const renderDocument = window.JsvCode.Dom.RenderDocument
|
|
11
|
-
? window.JsvCode.Dom.RenderDocument
|
|
12
|
-
: window.JsvCode.Dom.BrowserDocument;
|
|
13
|
-
|
|
14
|
-
const DECORATE_BORDER_RADIUS = "BroderRaidus";
|
|
15
|
-
const DECORATE_NINEPATCH_ALPHA_MIX = "NinePatchAlphaMix";
|
|
16
|
-
const TexAlignAnchor = {
|
|
17
|
-
LEFT_TOP: 1,
|
|
18
|
-
CENTER_TOP: 2,
|
|
19
|
-
RIGHT_TOP: 3,
|
|
20
|
-
LEFT_MIDDLE: 4,
|
|
21
|
-
CENTER: 5,
|
|
22
|
-
RIGHT_MIDDLE: 6,
|
|
23
|
-
LEFT_BOTTOM: 7,
|
|
24
|
-
CENTER_BOTTOM: 8,
|
|
25
|
-
RIGHT_BOTTOM: 9,
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const getOffset = (type, viewW, viewH, texLeft, texTop) => {
|
|
29
|
-
let extraLeft, extraTop;
|
|
30
|
-
switch (type) {
|
|
31
|
-
case TexAlignAnchor.LEFT_TOP:
|
|
32
|
-
extraLeft = 0;
|
|
33
|
-
extraTop = 0;
|
|
34
|
-
break;
|
|
35
|
-
case TexAlignAnchor.CENTER_TOP:
|
|
36
|
-
extraLeft = viewW / 2;
|
|
37
|
-
extraTop = 0;
|
|
38
|
-
break;
|
|
39
|
-
case TexAlignAnchor.RIGHT_TOP:
|
|
40
|
-
extraLeft = viewW;
|
|
41
|
-
extraTop = 0;
|
|
42
|
-
break;
|
|
43
|
-
case TexAlignAnchor.LEFT_MIDDLE:
|
|
44
|
-
extraLeft = 0;
|
|
45
|
-
extraTop = viewH / 2;
|
|
46
|
-
break;
|
|
47
|
-
case TexAlignAnchor.RIGHT_MIDDLE:
|
|
48
|
-
extraLeft = viewW;
|
|
49
|
-
extraTop = viewH / 2;
|
|
50
|
-
break;
|
|
51
|
-
case TexAlignAnchor.LEFT_BOTTOM:
|
|
52
|
-
extraLeft = 0;
|
|
53
|
-
extraTop = viewH;
|
|
54
|
-
break;
|
|
55
|
-
case TexAlignAnchor.CENTER_BOTTOM:
|
|
56
|
-
extraLeft = viewW / 2;
|
|
57
|
-
extraTop = viewH;
|
|
58
|
-
break;
|
|
59
|
-
case TexAlignAnchor.RIGHT_BOTTOM:
|
|
60
|
-
extraLeft = viewW;
|
|
61
|
-
extraTop = viewH;
|
|
62
|
-
break;
|
|
63
|
-
case TexAlignAnchor.CENTER:
|
|
64
|
-
default:
|
|
65
|
-
extraLeft = viewW / 2;
|
|
66
|
-
extraTop = viewH / 2;
|
|
67
|
-
break;
|
|
68
|
-
}
|
|
69
|
-
return [texLeft + extraLeft, texTop + extraTop];
|
|
70
|
-
};
|
|
71
|
-
let TOKEN = 0;
|
|
72
|
-
export default {
|
|
73
|
-
props: {
|
|
74
|
-
src: String,
|
|
75
|
-
top: Number,
|
|
76
|
-
left: Number,
|
|
77
|
-
width: Number,
|
|
78
|
-
height: Number,
|
|
79
|
-
borderRadius: [String, Number],
|
|
80
|
-
decorate: Object,
|
|
81
|
-
animation: String,
|
|
82
|
-
duration: Number,
|
|
83
|
-
transform: String,
|
|
84
|
-
transformOrigin: String,
|
|
85
|
-
repeat: {
|
|
86
|
-
type: Number,
|
|
87
|
-
default: 1,
|
|
88
|
-
},
|
|
89
|
-
delay: {
|
|
90
|
-
type: Number,
|
|
91
|
-
default: 0,
|
|
92
|
-
},
|
|
93
|
-
easing: {
|
|
94
|
-
type: String,
|
|
95
|
-
default: "linear",
|
|
96
|
-
},
|
|
97
|
-
onAnimationEnd: Function,
|
|
98
|
-
autoStart: {
|
|
99
|
-
type: Boolean,
|
|
100
|
-
default: false,
|
|
101
|
-
},
|
|
102
|
-
texCoord: {
|
|
103
|
-
type: Object,
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
setup(props) {
|
|
107
|
-
return {
|
|
108
|
-
animName: "browser-texture-anim-" + TOKEN++,
|
|
109
|
-
animDiv: null,
|
|
110
|
-
clipDiv: null,
|
|
111
|
-
imgDiv: null,
|
|
112
|
-
watcherHandlerList: [],
|
|
113
|
-
};
|
|
114
|
-
},
|
|
115
|
-
computed: {
|
|
116
|
-
animSet() {
|
|
117
|
-
return `${this.animName} ${this.duration / 1000}s ${this.easing} ${
|
|
118
|
-
this.delay / 1000
|
|
119
|
-
}s ${this.repeat === -1 ? "infinite" : this.repeat}`;
|
|
120
|
-
},
|
|
121
|
-
textureLayout() {
|
|
122
|
-
if (!isNaN(this.texCoord?.width) && !isNaN(this.texCoord?.height)) {
|
|
123
|
-
const texLeft = !isNaN(this.texCoord.left)
|
|
124
|
-
? this.texCoord.left
|
|
125
|
-
: -this.texCoord.width / 2;
|
|
126
|
-
const texTop = !isNaN(this.texCoord.top)
|
|
127
|
-
? this.texCoord.top
|
|
128
|
-
: -this.texCoord.height / 2;
|
|
129
|
-
const type = !isNaN(this.texCoord.alignAnchor)
|
|
130
|
-
? this.texCoord.alignAnchor
|
|
131
|
-
: 5;
|
|
132
|
-
const offset = getOffset(
|
|
133
|
-
type,
|
|
134
|
-
this.width,
|
|
135
|
-
this.height,
|
|
136
|
-
texLeft,
|
|
137
|
-
texTop
|
|
138
|
-
);
|
|
139
|
-
const transition = this.decorate?.animTime
|
|
140
|
-
? `left ${this.decorate.animTime}s, top ${this.decorate.animTime}s`
|
|
141
|
-
: "";
|
|
142
|
-
return {
|
|
143
|
-
position: "absolute",
|
|
144
|
-
left: offset[0] + "px",
|
|
145
|
-
top: offset[1] + "px",
|
|
146
|
-
transition,
|
|
147
|
-
width: this.texCoord.width + "px",
|
|
148
|
-
height: this.texCoord.height + "px",
|
|
149
|
-
};
|
|
150
|
-
} else {
|
|
151
|
-
return {
|
|
152
|
-
position: "absolute",
|
|
153
|
-
left: 0 + "px",
|
|
154
|
-
top: 0 + "px",
|
|
155
|
-
width: this.width + "px",
|
|
156
|
-
height: this.height + "px",
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
maskStyle() {
|
|
161
|
-
if (this.borderRadius) {
|
|
162
|
-
const radiusObj = this._readRadius(this.borderRadius);
|
|
163
|
-
return {
|
|
164
|
-
left: this.left + "px",
|
|
165
|
-
top: this.top + "px",
|
|
166
|
-
borderRadius: `${radiusObj.topLeft}px ${radiusObj.topRight}px ${radiusObj.bottomLeft}px ${radiusObj.bottomRight}px`,
|
|
167
|
-
width: this.width + "px",
|
|
168
|
-
height: this.height + "px",
|
|
169
|
-
overflow: "hidden",
|
|
170
|
-
};
|
|
171
|
-
} else if (this.decorate) {
|
|
172
|
-
if (this.decorate.type == DECORATE_NINEPATCH_ALPHA_MIX) {
|
|
173
|
-
const imageDspWidth =
|
|
174
|
-
this.decorate.imageDspWidth > 0
|
|
175
|
-
? this.decorate.imageDspWidth
|
|
176
|
-
: this.decorate.imageWidth;
|
|
177
|
-
const slideWidth =
|
|
178
|
-
(this.decorate.imageWidth - this.decorate.centerWidth) / 2;
|
|
179
|
-
const outset = Math.ceil(
|
|
180
|
-
(this.decorate.borderOutset * imageDspWidth) /
|
|
181
|
-
this.decorate.imageWidth
|
|
182
|
-
);
|
|
183
|
-
console.log("get mask style");
|
|
184
|
-
const transitionTime = this.decorate.animTime;
|
|
185
|
-
|
|
186
|
-
let decorate_url = this.decorate.url;
|
|
187
|
-
// 加入对 jsvtexturestore 模式的支持
|
|
188
|
-
// 特别注意: chromiumn 102版本上,当jsvtexturestore对应内容首次加载时不能显示,此divstyle变化后才能显示
|
|
189
|
-
if (
|
|
190
|
-
this.decorate.url &&
|
|
191
|
-
this.decorate.url.startsWith("jsvtexturestore:")
|
|
192
|
-
) {
|
|
193
|
-
let view_texture = forgeTextureManager.GetImage2(this.decorate.url);
|
|
194
|
-
decorate_url = `url(${view_texture.Source})`;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
return {
|
|
198
|
-
left: this.left + "px",
|
|
199
|
-
top: this.top + "px",
|
|
200
|
-
width: this.width + "px",
|
|
201
|
-
height: this.height + "px",
|
|
202
|
-
transition: `left ${transitionTime}s, top ${transitionTime}s, width ${transitionTime}s, height ${transitionTime}s`,
|
|
203
|
-
webkitMaskBoxImageSource: decorate_url,
|
|
204
|
-
webkitMaskBoxImageSlice: slideWidth,
|
|
205
|
-
webkitMaskBoxImageWidth:
|
|
206
|
-
Math.ceil(
|
|
207
|
-
(slideWidth * imageDspWidth) / this.decorate.imageWidth
|
|
208
|
-
) + "px",
|
|
209
|
-
webkitMaskBoxImageOutset: outset + "px",
|
|
210
|
-
position: "absolute",
|
|
211
|
-
};
|
|
212
|
-
} else if (this.decorate.type == DECORATE_BORDER_RADIUS) {
|
|
213
|
-
return {
|
|
214
|
-
left: this.left + "px",
|
|
215
|
-
top: this.top + "px",
|
|
216
|
-
borderRadius: `${this.decorate.topLeft}px ${this.decorate.topRight}px ${this.decorate.bottomRight}px ${this.decorate.bottomLeft}`,
|
|
217
|
-
width: this.width + "px",
|
|
218
|
-
height: this.height + "px",
|
|
219
|
-
overflow: "hidden",
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
} else {
|
|
223
|
-
return {
|
|
224
|
-
left: this.left + "px",
|
|
225
|
-
top: this.top + "px",
|
|
226
|
-
width: this.width + "px",
|
|
227
|
-
height: this.height + "px",
|
|
228
|
-
overflow: "hidden",
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
methods: {
|
|
234
|
-
_readRadius(setting) {
|
|
235
|
-
if (typeof setting == "number") {
|
|
236
|
-
return {
|
|
237
|
-
type: DECORATE_BORDER_RADIUS,
|
|
238
|
-
topLeft: setting,
|
|
239
|
-
topRight: setting,
|
|
240
|
-
bottomRight: setting,
|
|
241
|
-
bottomLeft: setting,
|
|
242
|
-
};
|
|
243
|
-
} else if (typeof setting == "string" && setting.length > 0) {
|
|
244
|
-
const pattern = /\d+/g;
|
|
245
|
-
let match = setting.match(pattern);
|
|
246
|
-
if (match.length > 0) {
|
|
247
|
-
let top_left = match[0];
|
|
248
|
-
let top_right = match.length > 1 ? match[1] : top_left;
|
|
249
|
-
return {
|
|
250
|
-
type: DECORATE_BORDER_RADIUS,
|
|
251
|
-
topLeft: top_left,
|
|
252
|
-
topRight: top_right,
|
|
253
|
-
bottomRight: match.length > 2 ? match[2] : top_left,
|
|
254
|
-
bottomLeft: match.length > 3 ? match[3] : top_right,
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
return null;
|
|
259
|
-
},
|
|
260
|
-
start() {
|
|
261
|
-
if (this.animDiv && this.animation) {
|
|
262
|
-
this.animDiv.style.animation = this.animSet;
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
|
|
266
|
-
insertKeyframe(animDefine) {
|
|
267
|
-
const index = renderDocument.styleSheets[0].cssRules.length;
|
|
268
|
-
renderDocument.styleSheets[0].insertRule(animDefine, index);
|
|
269
|
-
},
|
|
270
|
-
removeKeyframe(animName) {
|
|
271
|
-
const styleSheetRef = renderDocument.styleSheets[0];
|
|
272
|
-
const cssRulesRef = styleSheetRef.cssRules;
|
|
273
|
-
// 对CssRules进行删除操作,倒序轮询
|
|
274
|
-
for (let i = cssRulesRef.length - 1; i >= 0; i--) {
|
|
275
|
-
if (cssRulesRef[i].name === animName) {
|
|
276
|
-
styleSheetRef.deleteRule(i);
|
|
277
|
-
break;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
},
|
|
282
|
-
mounted() {
|
|
283
|
-
if (this.animation) {
|
|
284
|
-
//此控件直接操作dom因此不走JsvDynamicKeyframes, 直接通过dom添加keyframes
|
|
285
|
-
this.insertKeyframe("@keyframes " + this.animName + " " + this.animation);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
this.$refs.root.jsvGetProxyView().RegisterOnProxyReady(() => {
|
|
289
|
-
const root = this.$refs.root.jsvGetProxyView().HtmlGetElement();
|
|
290
|
-
//绕过 jsview 对document 的 hook
|
|
291
|
-
this.clipDiv = renderDocument.createElement("div");
|
|
292
|
-
Object.assign(this.clipDiv.style, this.maskStyle);
|
|
293
|
-
|
|
294
|
-
const textureLayout = this.textureLayout;
|
|
295
|
-
this.animDiv = renderDocument.createElement("div");
|
|
296
|
-
Object.assign(this.animDiv.style, textureLayout);
|
|
297
|
-
this.animDiv.onanimationend = () => {
|
|
298
|
-
this.animDiv.style.animation = null;
|
|
299
|
-
this.onAnimationEnd?.();
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
this.imgDiv = renderDocument.createElement("div");
|
|
303
|
-
this.imgDiv.style.width = textureLayout.width;
|
|
304
|
-
this.imgDiv.style.height = textureLayout.height;
|
|
305
|
-
this.imgDiv.style.backgroundImage = `url(${this.src})`;
|
|
306
|
-
this.imgDiv.style.transform = this.transform;
|
|
307
|
-
this.imgDiv.style.transformOrigin = this.transformOrigin;
|
|
308
|
-
|
|
309
|
-
this.animDiv.appendChild(this.imgDiv);
|
|
310
|
-
this.clipDiv.appendChild(this.animDiv);
|
|
311
|
-
root.appendChild(this.clipDiv);
|
|
312
|
-
});
|
|
313
|
-
|
|
314
|
-
this.watcherHandlerList.push(
|
|
315
|
-
this.$watch("left", (newValue) => {
|
|
316
|
-
this.clipDiv.style.left = newValue + "px";
|
|
317
|
-
})
|
|
318
|
-
);
|
|
319
|
-
this.watcherHandlerList.push(
|
|
320
|
-
this.$watch("top", (newValue) => {
|
|
321
|
-
this.clipDiv.style.top = newValue + "px";
|
|
322
|
-
})
|
|
323
|
-
);
|
|
324
|
-
this.watcherHandlerList.push(
|
|
325
|
-
this.$watch("width", (newValue) => {
|
|
326
|
-
this.clipDiv.style.width = newValue + "px";
|
|
327
|
-
})
|
|
328
|
-
);
|
|
329
|
-
this.watcherHandlerList.push(
|
|
330
|
-
this.$watch("height", (newValue) => {
|
|
331
|
-
this.clipDiv.style.height = newValue + "px";
|
|
332
|
-
})
|
|
333
|
-
);
|
|
334
|
-
this.watcherHandlerList.push(
|
|
335
|
-
this.$watch("textureLayout", (newValue) => {
|
|
336
|
-
Object.assign(this.animDiv.style, newValue);
|
|
337
|
-
this.imgDiv.style.width = newValue.width;
|
|
338
|
-
this.imgDiv.style.height = newValue.height;
|
|
339
|
-
})
|
|
340
|
-
);
|
|
341
|
-
if (this.autoStart) {
|
|
342
|
-
setTimeout(() => {
|
|
343
|
-
this.start();
|
|
344
|
-
}, 0);
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
beforeUnmount() {
|
|
348
|
-
this.removeKeyframe(this.animName);
|
|
349
|
-
for (let handler of this.watcherHandlerList) {
|
|
350
|
-
handler?.();
|
|
351
|
-
}
|
|
352
|
-
this.watcherHandlerList = [];
|
|
353
|
-
},
|
|
354
|
-
};
|
|
355
|
-
</script>
|
|
356
|
-
|
|
357
|
-
<template>
|
|
358
|
-
<div ref="root"></div>
|
|
359
|
-
</template>
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusManager.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Dispatcher.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/PageUpdater.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/RenderItem.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/SlotComponent.vue.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/VisibleInfo.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/WidgetRectInfo.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts
RENAMED
|
@@ -191,16 +191,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
191
191
|
default: boolean;
|
|
192
192
|
};
|
|
193
193
|
}>>, {
|
|
194
|
-
onError: Function;
|
|
195
194
|
onLoad: Function;
|
|
195
|
+
onError: Function;
|
|
196
196
|
onEnded: Function;
|
|
197
|
+
onLoadStart: Function;
|
|
198
|
+
onAudioFocusGain: Function;
|
|
199
|
+
onAudioFocusLoss: Function;
|
|
197
200
|
src: string;
|
|
198
201
|
autoplay: boolean;
|
|
199
202
|
loop: boolean;
|
|
200
203
|
muted: boolean;
|
|
201
|
-
onLoadStart: Function;
|
|
202
|
-
onAudioFocusGain: Function;
|
|
203
|
-
onAudioFocusLoss: Function;
|
|
204
204
|
onRef: Function;
|
|
205
205
|
onLoadedMetaData: Function;
|
|
206
206
|
preDownload: boolean;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
$props: {
|
|
3
|
-
readonly onError?: Function | undefined;
|
|
4
3
|
readonly onLoad?: Function | undefined;
|
|
4
|
+
readonly onError?: Function | undefined;
|
|
5
5
|
readonly onEnded?: Function | undefined;
|
|
6
|
+
readonly onLoadStart?: Function | undefined;
|
|
7
|
+
readonly onAudioFocusGain?: Function | undefined;
|
|
8
|
+
readonly onAudioFocusLoss?: Function | undefined;
|
|
6
9
|
readonly src?: string | undefined;
|
|
7
10
|
readonly autoplay?: boolean | undefined;
|
|
8
11
|
readonly loop?: boolean | undefined;
|
|
9
12
|
readonly muted?: boolean | undefined;
|
|
10
|
-
readonly onLoadStart?: Function | undefined;
|
|
11
|
-
readonly onAudioFocusGain?: Function | undefined;
|
|
12
|
-
readonly onAudioFocusLoss?: Function | undefined;
|
|
13
13
|
readonly onRef?: Function | undefined;
|
|
14
14
|
readonly playerKey?: string | undefined;
|
|
15
15
|
readonly onLoadedMetaData?: Function | undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
$props: {
|
|
3
|
-
readonly height?: number | undefined;
|
|
4
|
-
readonly width?: number | undefined;
|
|
5
3
|
readonly left?: number | undefined;
|
|
6
4
|
readonly top?: number | undefined;
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
5
|
+
readonly width?: number | undefined;
|
|
6
|
+
readonly height?: number | undefined;
|
|
9
7
|
readonly latexStr?: string | undefined;
|
|
8
|
+
readonly fontSize?: number | undefined;
|
|
10
9
|
readonly lineSpace?: number | undefined;
|
|
10
|
+
readonly color?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
13
13
|
export default _default;
|
|
File without changes
|
|
@@ -4,14 +4,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4
4
|
height: number;
|
|
5
5
|
};
|
|
6
6
|
$props: {
|
|
7
|
-
readonly height?: number | undefined;
|
|
8
|
-
readonly width?: number | undefined;
|
|
9
7
|
readonly left?: number | undefined;
|
|
10
8
|
readonly top?: number | undefined;
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
9
|
+
readonly width?: number | undefined;
|
|
10
|
+
readonly height?: number | undefined;
|
|
13
11
|
readonly latexStr?: string | undefined;
|
|
12
|
+
readonly fontSize?: number | undefined;
|
|
14
13
|
readonly lineSpace?: number | undefined;
|
|
14
|
+
readonly color?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
17
17
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/ActorControlBase.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMove.vue.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMoveControl.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/BrowserApic.vue.d.ts
RENAMED
|
@@ -7,8 +7,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
readonly loopInfo?: unknown[] | undefined;
|
|
8
8
|
readonly style?: Record<string, any> | undefined;
|
|
9
9
|
readonly onLoad?: Function | undefined;
|
|
10
|
-
readonly src?: string | undefined;
|
|
11
10
|
readonly onEnd?: Function | undefined;
|
|
11
|
+
readonly src?: string | undefined;
|
|
12
12
|
readonly onStart?: Function | undefined;
|
|
13
13
|
};
|
|
14
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/BrowserApic2.vue.d.ts
RENAMED
|
@@ -5,8 +5,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
$props: {
|
|
6
6
|
readonly style?: Record<string, any> | undefined;
|
|
7
7
|
readonly onLoad?: Function | undefined;
|
|
8
|
-
readonly src?: string | undefined;
|
|
9
8
|
readonly onEnd?: Function | undefined;
|
|
9
|
+
readonly src?: string | undefined;
|
|
10
10
|
readonly onStart?: Function | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/JsvApic2.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/GifData.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/Viewer.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/WebpData.d.ts
RENAMED
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvCommonLoopToolBase.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvConnectLine/ArcLineManager.d.ts
RENAMED
|
File without changes
|