@univerjs-pro/boards-ui 1.0.0-rc.0 → 1.0.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/README.md +7 -0
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/cjs/shape-preset-labels-C4G0G9GI.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/es/shape-preset-labels-092BdVw3.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +180 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/shape-preset-labels-092BdVw3.js +1 -1
- package/lib/types/controllers/board-shape-floating-toolbar.render-controller.d.ts +7 -4
- package/lib/types/controllers/board-ui.controller.d.ts +4 -2
- package/lib/types/controllers/board-viewport-bar.render-controller.d.ts +8 -0
- package/lib/types/controllers/components.controller.d.ts +2 -2
- package/lib/types/controllers/mobile/board-image-mobile.render-controller.d.ts +36 -0
- package/lib/types/controllers/mobile/board-shape-floating-toolbar.render-controller.d.ts +15 -0
- package/lib/types/controllers/mobile/board-ui.controller.d.ts +8 -0
- package/lib/types/controllers/mobile/components.controller.d.ts +7 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/locale/en-US.d.ts +11 -0
- package/lib/types/mobile-plugin.d.ts +37 -0
- package/lib/types/plugin.d.ts +8 -0
- package/lib/types/render-objects/board-adjust-point-object.d.ts +2 -2
- package/lib/types/services/board-canvas-pop-manager.service.d.ts +1 -1
- package/lib/types/services/board-container-rename.service.d.ts +3 -0
- package/lib/types/services/board-swimlane-lane-rename.service.d.ts +3 -0
- package/lib/types/services/mobile/board-container-rename.service.d.ts +13 -0
- package/lib/types/services/mobile/board-swimlane-lane-rename.service.d.ts +13 -0
- package/lib/types/views/BoardConnectorFloatingToolbarControls.d.ts +17 -1
- package/lib/types/views/BoardConnectorQuickShapeMenu.d.ts +1 -0
- package/lib/types/views/BoardFloatingToolPanel.d.ts +1 -1
- package/lib/types/views/BoardPanelSlot.d.ts +5 -0
- package/lib/types/views/BoardRenamePopup.d.ts +9 -0
- package/lib/types/views/BoardShapeTextEditorContainer.d.ts +6 -0
- package/lib/types/views/BoardTableSizePicker.d.ts +2 -0
- package/lib/types/views/mobile/BoardMobileConnectorMenu.d.ts +17 -0
- package/lib/types/views/mobile/BoardMobileConnectorQuickShapeMenu.d.ts +3 -0
- package/lib/types/views/mobile/BoardMobileConnectorToolbar.d.ts +10 -0
- package/lib/types/views/mobile/BoardMobileImageMenu.d.ts +11 -0
- package/lib/types/views/mobile/BoardMobileObjectListPanel.d.ts +8 -0
- package/lib/types/views/mobile/BoardMobilePanelLayer.d.ts +1 -0
- package/lib/types/views/mobile/BoardMobileRenamePopup.d.ts +2 -0
- package/lib/types/views/mobile/BoardMobileShapeMenu.d.ts +14 -0
- package/lib/types/views/mobile/BoardMobileShapeTextEditor.d.ts +1 -0
- package/lib/types/views/mobile/BoardMobileShapeToolbar.d.ts +24 -0
- package/lib/types/views/mobile/BoardMobileToolPanel.d.ts +5 -0
- package/lib/types/views/mobile/BoardMobileWorkbench.d.ts +5 -0
- package/lib/types/views/mobile/BoardMobileWorkbenchHost.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -20
package/README.md
CHANGED
|
@@ -40,6 +40,13 @@ univer.registerPlugin(UniverBoardsUIPlugin);
|
|
|
40
40
|
- Import the package stylesheet once in the application entry before rendering Univer UI.
|
|
41
41
|
- Import locale files only for the languages your application enables.
|
|
42
42
|
|
|
43
|
+
### Viewport bars
|
|
44
|
+
|
|
45
|
+
When enabled, viewport bars remain hidden while the Board is idle. Panning or zooming reveals them until
|
|
46
|
+
one second after the last viewport change. Moving the pointer within 24 pixels of the bottom or right edge
|
|
47
|
+
reveals the corresponding bar; dragging a bar keeps it visible until the gesture ends. Hidden bars do not
|
|
48
|
+
capture pointer input.
|
|
49
|
+
|
|
43
50
|
### Screenshot readiness
|
|
44
51
|
|
|
45
52
|
Board screenshots wait for render resources and measured connector labels, not just successful data insertion.
|
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x30c922=_0xb7ce;function _0x42d1(){var _0x3a4270=['1376382ffYTzJ','getElementViewportPoint','_commandService','executeCommand','AnalyzeBoardRenderedLayoutCommand','4914928NHYAgD','SetBoardObjectListPanelOpenOperation','getSettings','FBoard','getScreenshot','syncExecuteCommand','focusElement','FEnum','BoardInteractionMode','GetBoardObjectListPanelOpenOperation','GetBoardInteractionModeOperation','1061376CWDZOp','276Becykz','FindBoardElementsByTextOperation','extend','findElementsByText','206170PsZEtP','1715694ztnUCB','771778OpZYhO','SetBoardInteractionModeOperation','19660RrBibI','_boardModel','SetBoardSettingsOperation','analyzeRenderedLayout','getActivePageId','setObjectListPanelOpen'];_0x42d1=function(){return _0x3a4270;};return _0x42d1();}(function(_0x479205,_0x34d638){var _0x11c0f2=_0xb7ce,_0x248015=_0x479205();while(!![]){try{var _0x4864ec=parseInt(_0x11c0f2(0x82))/0x1+-parseInt(_0x11c0f2(0x8c))/0x2+parseInt(_0x11c0f2(0x83))/0x3+-parseInt(_0x11c0f2(0x7e))/0x4*(parseInt(_0x11c0f2(0x86))/0x5)+-parseInt(_0x11c0f2(0x7d))/0x6+parseInt(_0x11c0f2(0x84))/0x7+parseInt(_0x11c0f2(0x91))/0x8;if(_0x4864ec===_0x34d638)break;else _0x248015['push'](_0x248015['shift']());}catch(_0x327f9e){_0x248015['push'](_0x248015['shift']());}}}(_0x42d1,0x596d5));let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/boards/facade'),n=require('@univerjs/core/facade');var r=class extends t[_0x30c922(0x94)]{[_0x30c922(0x89)](_0x581ecf){var _0x5d2a33=_0x30c922;return this['_commandService']['syncExecuteCommand'](e[_0x5d2a33(0x90)]['id'],{'unitId':this['id'],'subUnitId':this[_0x5d2a33(0x87)][_0x5d2a33(0x8a)](),'focusPadding':_0x581ecf});}[_0x30c922(0x95)](_0x3ebf15){var _0x1285a6=_0x30c922;return this[_0x1285a6(0x8e)]['executeCommand'](e['CaptureBoardScreenshotCommand']['id'],{..._0x3ebf15,'unitId':this['id'],'subUnitId':this[_0x1285a6(0x87)][_0x1285a6(0x8a)]()});}};t['FBoard']['extend'](r);function _0xb7ce(_0x254e57,_0xcdce7f){_0x254e57=_0x254e57-0x7a;var _0x42d179=_0x42d1();var _0xb7ce9b=_0x42d179[_0x254e57];return _0xb7ce9b;}var i=class extends n[_0x30c922(0x98)]{get[_0x30c922(0x7a)](){var _0x415f22=_0x30c922;return e[_0x415f22(0x7a)];}};n[_0x30c922(0x98)][_0x30c922(0x80)](i);var a=class extends t[_0x30c922(0x94)]{['getInteractionMode'](){var _0x5e1cfa=_0x30c922;return this['_commandService'][_0x5e1cfa(0x96)](e[_0x5e1cfa(0x7c)]['id'],{'unitId':this['id']});}['setInteractionMode'](_0x3c1b17){var _0x86cf28=_0x30c922;return this[_0x86cf28(0x8e)][_0x86cf28(0x8f)](e[_0x86cf28(0x85)]['id'],{'unitId':this['id'],'mode':_0x3c1b17});}[_0x30c922(0x93)](){return this['_commandService']['syncExecuteCommand'](e['GetBoardSettingsOperation']['id'],{'unitId':this['id']});}['setSettings'](_0x43de5b){var _0x455459=_0x30c922;return this['_commandService'][_0x455459(0x96)](e[_0x455459(0x88)]['id'],{'unitId':this['id'],'settings':_0x43de5b});}['getObjectListPanelOpen'](){var _0x3baad1=_0x30c922;return this[_0x3baad1(0x8e)][_0x3baad1(0x96)](e[_0x3baad1(0x7b)]['id'],{'unitId':this['id']});}[_0x30c922(0x8b)](_0x5e6ed9){var _0x864d1f=_0x30c922;return this[_0x864d1f(0x8e)][_0x864d1f(0x96)](e[_0x864d1f(0x92)]['id'],{'unitId':this['id'],'open':_0x5e6ed9});}[_0x30c922(0x81)](_0x5dfd49){var _0x30edf1=_0x30c922;return this[_0x30edf1(0x8e)][_0x30edf1(0x96)](e[_0x30edf1(0x7f)]['id'],{'unitId':this['id'],'query':_0x5dfd49});}[_0x30c922(0x97)](_0x2f717a,_0x424505){var _0x5acba7=_0x30c922;return this[_0x5acba7(0x8e)]['syncExecuteCommand'](e['FocusBoardElementOperation']['id'],{'unitId':this['id'],'elementId':_0x2f717a,'viewportPoint':_0x424505});}[_0x30c922(0x8d)](_0x56103e){var _0x194133=_0x30c922;return this[_0x194133(0x8e)][_0x194133(0x96)](e['GetBoardElementViewportPointOperation']['id'],{'unitId':this['id'],'elementId':_0x56103e});}};t[_0x30c922(0x94)][_0x30c922(0x80)](a);
|