@univerjs-pro/boards-ui 1.0.0-rc.0 → 1.0.1
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 +23 -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
|
+
function _0x1082(_0x2140d1,_0x3ab382){_0x2140d1=_0x2140d1-0x1e8;var _0x25ec78=_0x25ec();var _0x1082d4=_0x25ec78[_0x2140d1];return _0x1082d4;}var _0x5969c2=_0x1082;(function(_0x15b444,_0x5a4aeb){var _0x576583=_0x1082,_0x494a3b=_0x15b444();while(!![]){try{var _0x3dcd84=-parseInt(_0x576583(0x1f1))/0x1+parseInt(_0x576583(0x200))/0x2*(parseInt(_0x576583(0x1ea))/0x3)+-parseInt(_0x576583(0x1fe))/0x4+-parseInt(_0x576583(0x1ff))/0x5*(-parseInt(_0x576583(0x201))/0x6)+-parseInt(_0x576583(0x1fc))/0x7*(-parseInt(_0x576583(0x1e9))/0x8)+parseInt(_0x576583(0x1f7))/0x9+parseInt(_0x576583(0x206))/0xa;if(_0x3dcd84===_0x5a4aeb)break;else _0x494a3b['push'](_0x494a3b['shift']());}catch(_0x298ba6){_0x494a3b['push'](_0x494a3b['shift']());}}}(_0x25ec,0x3bfb6));let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/boards/facade'),n=require('@univerjs/core/facade');var r=class extends t[_0x5969c2(0x203)]{[_0x5969c2(0x1fd)](_0x2770b2){var _0x49ce57=_0x5969c2;return this[_0x49ce57(0x1f5)][_0x49ce57(0x1ed)](e[_0x49ce57(0x207)]['id'],{'unitId':this['id'],'subUnitId':this['_boardModel'][_0x49ce57(0x1f6)](),'focusPadding':_0x2770b2});}[_0x5969c2(0x1f4)](_0x4a2a67){var _0x555430=_0x5969c2;return this[_0x555430(0x1f5)][_0x555430(0x1ec)](e['CaptureBoardScreenshotCommand']['id'],{..._0x4a2a67,'unitId':this['id'],'subUnitId':this['_boardModel'][_0x555430(0x1f6)]()});}};t[_0x5969c2(0x203)]['extend'](r);function _0x25ec(){var _0x393091=['GetBoardElementViewportPointOperation','BoardInteractionMode','1937520bYDVcg','AnalyzeBoardRenderedLayoutCommand','SetBoardInteractionModeOperation','getInteractionMode','GetBoardObjectListPanelOpenOperation','16avOWrm','1053933ObHVIY','findElementsByText','executeCommand','syncExecuteCommand','extend','focusElement','getElementViewportPoint','346260xprmgV','SetBoardSettingsOperation','FindBoardElementsByTextOperation','getScreenshot','_commandService','getActivePageId','1016262pXVqNp','setInteractionMode','SetBoardObjectListPanelOpenOperation','GetBoardInteractionModeOperation','getObjectListPanelOpen','47306ftkwcK','analyzeRenderedLayout','484480gxgLfz','5tuMMZh','2oAlDjm','249414iVeVCW','getSettings','FBoard'];_0x25ec=function(){return _0x393091;};return _0x25ec();}var i=class extends n['FEnum']{get[_0x5969c2(0x205)](){var _0x326bf8=_0x5969c2;return e[_0x326bf8(0x205)];}};n['FEnum']['extend'](i);var a=class extends t['FBoard']{[_0x5969c2(0x209)](){var _0x389ee7=_0x5969c2;return this[_0x389ee7(0x1f5)][_0x389ee7(0x1ed)](e[_0x389ee7(0x1fa)]['id'],{'unitId':this['id']});}[_0x5969c2(0x1f8)](_0x52b78c){var _0x2da7b1=_0x5969c2;return this[_0x2da7b1(0x1f5)][_0x2da7b1(0x1ec)](e[_0x2da7b1(0x208)]['id'],{'unitId':this['id'],'mode':_0x52b78c});}[_0x5969c2(0x202)](){var _0x198a39=_0x5969c2;return this[_0x198a39(0x1f5)][_0x198a39(0x1ed)](e['GetBoardSettingsOperation']['id'],{'unitId':this['id']});}['setSettings'](_0x420c10){var _0x1636b4=_0x5969c2;return this[_0x1636b4(0x1f5)]['syncExecuteCommand'](e[_0x1636b4(0x1f2)]['id'],{'unitId':this['id'],'settings':_0x420c10});}[_0x5969c2(0x1fb)](){var _0x4ab69a=_0x5969c2;return this['_commandService'][_0x4ab69a(0x1ed)](e[_0x4ab69a(0x1e8)]['id'],{'unitId':this['id']});}['setObjectListPanelOpen'](_0x449645){var _0xb81691=_0x5969c2;return this[_0xb81691(0x1f5)]['syncExecuteCommand'](e[_0xb81691(0x1f9)]['id'],{'unitId':this['id'],'open':_0x449645});}[_0x5969c2(0x1eb)](_0x47d045){var _0x2afbc2=_0x5969c2;return this[_0x2afbc2(0x1f5)][_0x2afbc2(0x1ed)](e[_0x2afbc2(0x1f3)]['id'],{'unitId':this['id'],'query':_0x47d045});}[_0x5969c2(0x1ef)](_0x582dd5,_0x2f7251){var _0x41cb08=_0x5969c2;return this[_0x41cb08(0x1f5)][_0x41cb08(0x1ed)](e['FocusBoardElementOperation']['id'],{'unitId':this['id'],'elementId':_0x582dd5,'viewportPoint':_0x2f7251});}[_0x5969c2(0x1f0)](_0x22b789){var _0x2cda1c=_0x5969c2;return this[_0x2cda1c(0x1f5)][_0x2cda1c(0x1ed)](e[_0x2cda1c(0x204)]['id'],{'unitId':this['id'],'elementId':_0x22b789});}};t[_0x5969c2(0x203)][_0x5969c2(0x1ee)](a);
|