@univerjs-pro/boards-ui 1.0.0-alpha.7 → 1.0.0-beta.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.
Files changed (150) hide show
  1. package/lib/cjs/facade.js +1 -0
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/cjs/shape-preset-labels-C4G0G9GI.js +1 -1
  23. package/lib/es/facade.js +1 -0
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/es/shape-preset-labels-092BdVw3.js +1 -1
  45. package/lib/facade.js +1 -0
  46. package/lib/index.css +57 -83
  47. package/lib/index.js +1 -1
  48. package/lib/locale/ar-SA.js +1 -1
  49. package/lib/locale/ca-ES.js +1 -1
  50. package/lib/locale/de-DE.js +1 -1
  51. package/lib/locale/en-US.js +1 -1
  52. package/lib/locale/es-ES.js +1 -1
  53. package/lib/locale/fa-IR.js +1 -1
  54. package/lib/locale/fr-FR.js +1 -1
  55. package/lib/locale/id-ID.js +1 -1
  56. package/lib/locale/it-IT.js +1 -1
  57. package/lib/locale/ja-JP.js +1 -1
  58. package/lib/locale/ko-KR.js +1 -1
  59. package/lib/locale/pl-PL.js +1 -1
  60. package/lib/locale/pt-BR.js +1 -1
  61. package/lib/locale/ru-RU.js +1 -1
  62. package/lib/locale/sk-SK.js +1 -1
  63. package/lib/locale/vi-VN.js +1 -1
  64. package/lib/locale/zh-CN.js +1 -1
  65. package/lib/locale/zh-HK.js +1 -1
  66. package/lib/locale/zh-TW.js +1 -1
  67. package/lib/shape-preset-labels-092BdVw3.js +1 -1
  68. package/lib/types/commands/commands/analyze-board-rendered-layout.command.d.ts +8 -0
  69. package/lib/types/commands/commands/capture-board-screenshot.command.d.ts +7 -0
  70. package/lib/types/commands/operations/board-selection.operation.d.ts +6 -0
  71. package/lib/types/common/board-shortcuts.d.ts +1 -1
  72. package/lib/types/common/shape-presets.d.ts +4 -0
  73. package/lib/types/config/config.d.ts +0 -4
  74. package/lib/types/controllers/board-connector-interaction.render-controller.d.ts +11 -6
  75. package/lib/types/controllers/board-element-selection.controller.d.ts +11 -3
  76. package/lib/types/controllers/board-element-transform.controller.d.ts +9 -1
  77. package/lib/types/controllers/board-ink-interaction.render-controller.d.ts +0 -2
  78. package/lib/types/controllers/board-render.controller.d.ts +5 -1
  79. package/lib/types/controllers/board-selection-overlay.render-controller.d.ts +1 -0
  80. package/lib/types/controllers/board-shape-adjust.render-controller.d.ts +1 -1
  81. package/lib/types/controllers/board-text-editing.render-controller.d.ts +3 -1
  82. package/lib/types/controllers/board-viewport-input.render-controller.d.ts +8 -1
  83. package/lib/types/facade/f-board-layout.d.ts +51 -0
  84. package/lib/types/facade/index.d.ts +1 -0
  85. package/lib/types/index.d.ts +9 -1
  86. package/lib/types/locale/en-US.d.ts +21 -35
  87. package/lib/types/render-adapters/board-element-render-adapter.d.ts +11 -1
  88. package/lib/types/render-objects/board-connector-object.d.ts +31 -2
  89. package/lib/types/render-objects/board-element-render-layer.d.ts +65 -0
  90. package/lib/types/render-objects/board-selection-marquee-object.d.ts +1 -0
  91. package/lib/types/services/board-element-edit.service.d.ts +5 -2
  92. package/lib/types/services/board-screenshot.service.d.ts +38 -0
  93. package/lib/types/services/board-selection-overlay.service.d.ts +2 -0
  94. package/lib/types/services/board-selection.service.d.ts +6 -1
  95. package/lib/types/services/board-tool.service.d.ts +0 -1
  96. package/lib/types/services/board-viewport.service.d.ts +4 -1
  97. package/lib/types/utils/board-alignment-guides.util.d.ts +2 -0
  98. package/lib/types/utils/board-connector-marker-anchor.util.d.ts +2 -2
  99. package/lib/types/utils/board-connector-quick-connect.util.d.ts +1 -0
  100. package/lib/types/utils/board-connector-router.util.d.ts +1 -0
  101. package/lib/types/utils/board-connector-routing.util.d.ts +34 -2
  102. package/lib/types/utils/board-container-membership-update.util.d.ts +5 -0
  103. package/lib/types/utils/board-container-spatial-index.util.d.ts +2 -0
  104. package/lib/types/utils/board-floating-toolbar-selection.util.d.ts +22 -1
  105. package/lib/types/utils/board-guide-candidates.util.d.ts +13 -0
  106. package/lib/types/utils/board-selection-geometry.util.d.ts +4 -1
  107. package/lib/types/utils/board-selection-hit-test.util.d.ts +2 -0
  108. package/lib/types/utils/board-selection-interaction.util.d.ts +3 -1
  109. package/lib/types/utils/board-selection-move.util.d.ts +1 -2
  110. package/lib/types/utils/board-snap-session.util.d.ts +2 -43
  111. package/lib/types/utils/board-spacing-guides.util.d.ts +2 -0
  112. package/lib/types/utils/board-viewport.util.d.ts +9 -1
  113. package/lib/types/views/BoardCanvasView.d.ts +3 -1
  114. package/lib/types/views/BoardConnectorFloatingToolbar.d.ts +7 -14
  115. package/lib/types/views/BoardConnectorFloatingToolbarControls.d.ts +35 -0
  116. package/lib/types/views/BoardRenamePopup.d.ts +7 -0
  117. package/lib/types/views/BoardSettingsMenu.d.ts +1 -0
  118. package/lib/types/views/BoardWorkbench.d.ts +1 -0
  119. package/lib/types/views/board-shape-floating-toolbar/BoardSwimlaneToolbarMenu.d.ts +12 -0
  120. package/lib/umd/facade.js +1 -0
  121. package/lib/umd/index.js +1 -1
  122. package/lib/umd/locale/ar-SA.js +1 -1
  123. package/lib/umd/locale/ca-ES.js +1 -1
  124. package/lib/umd/locale/de-DE.js +1 -1
  125. package/lib/umd/locale/en-US.js +1 -1
  126. package/lib/umd/locale/es-ES.js +1 -1
  127. package/lib/umd/locale/fa-IR.js +1 -1
  128. package/lib/umd/locale/fr-FR.js +1 -1
  129. package/lib/umd/locale/id-ID.js +1 -1
  130. package/lib/umd/locale/it-IT.js +1 -1
  131. package/lib/umd/locale/ja-JP.js +1 -1
  132. package/lib/umd/locale/ko-KR.js +1 -1
  133. package/lib/umd/locale/pl-PL.js +1 -1
  134. package/lib/umd/locale/pt-BR.js +1 -1
  135. package/lib/umd/locale/ru-RU.js +1 -1
  136. package/lib/umd/locale/sk-SK.js +1 -1
  137. package/lib/umd/locale/vi-VN.js +1 -1
  138. package/lib/umd/locale/zh-CN.js +1 -1
  139. package/lib/umd/locale/zh-HK.js +1 -1
  140. package/lib/umd/locale/zh-TW.js +1 -1
  141. package/package.json +29 -20
  142. package/lib/types/common/settings-actions.d.ts +0 -26
  143. package/lib/types/controllers/board-mermaid-import.controller.d.ts +0 -9
  144. package/lib/types/services/board-mermaid-import.service.d.ts +0 -82
  145. package/lib/types/services/board-settings-action.service.d.ts +0 -21
  146. package/lib/types/utils/board-draft-insert-position.util.d.ts +0 -13
  147. package/lib/types/utils/board-mermaid-preview.util.d.ts +0 -4
  148. package/lib/types/views/BoardContainerRenamePopup.d.ts +0 -6
  149. package/lib/types/views/BoardMermaidImportDialog.d.ts +0 -1
  150. package/lib/types/views/BoardSwimlaneLaneRenamePopup.d.ts +0 -6
@@ -1 +1 @@
1
- const _0x734dfd=_0x1d56;function _0x2fff(){const _0x22c37a=['End\x20button','Four-way\x20arrow','Double\x20wave','Ellipse\x20ribbon','32-point\x20star','Four-way\x20arrow\x20callout','Accent\x20callout\x201','Movie\x20button','Striped\x20right\x20arrow','1680404hhrzja','Down\x20arrow','Up-down\x20arrow\x20callout','Border\x20callout\x201','Callout\x201','186ctyzSs','Pie\x20wedge','Same-side\x20round\x20corner\x20rectangle','Half\x20frame','Plaque\x20tabs','Accent\x20callout\x203','Left-right\x20arrow\x20callout','Circular\x20arrow','Connector','353069JLyHJg','Cube','10-point\x20star','Document\x20button','Multiply','Bracket\x20pair','Decagon','Bent\x20arrow','222770dRugBH','Teardrop','Border\x20callout\x202','Accent\x20border\x20callout\x202','Not\x20equal','Single\x20snip\x20corner\x20rectangle','Single\x20round\x20corner\x20rectangle','Snip\x20and\x20round\x20corner\x20rectangle','Curved\x20up\x20arrow','Sound\x20button','Pie','Input/output','18PBkbzy','Extract','Alternate\x20process','Left-right\x20ribbon','Magnetic\x20drum','Manual\x20input','Curved\x20right\x20arrow','1875534eZUlIw','6-point\x20star','Diagonal\x20stripe','Chart\x20star','Sort','Corner','Forward\x20or\x20next\x20button','7-point\x20star','Document','Left\x20circular\x20arrow','Ribbon','Magnetic\x20disk','Wave','Help\x20button','Heptagon','Diagonal\x20round\x20corner\x20rectangle','Diagonal\x20snip\x20corner\x20rectangle','Curved\x20down\x20arrow','Curved\x20left\x20arrow','Explosion\x201','Left-right\x20circular\x20arrow','Bevel','Down\x20arrow\x20callout','Bent-up\x20arrow','14148vWsqSP','2868170NkbYmA','Collate','Smiley\x20face','Dodecagon','Gear\x206','Up\x20arrow\x20callout','Folded\x20corner','Process','Chart\x20plus','Left-right-up\x20arrow','Decision','Notched\x20right\x20arrow','Divide','Summing\x20junction','16-point\x20star','Chart\x20X','Display','Beginning\x20button','No\x20symbol','Rectangular\x20callout','Horizontal\x20scroll','Moon','Frame','Right\x20bracket','Minus','Heart','Terminator','Lightning\x20bolt','Gear\x209','Preparation','Home\x20button','Merge','Up-down\x20arrow','Multiple\x20documents','2855528bnrPPK','Return\x20button','Punched\x20card','616hGXynx','Left\x20arrow\x20callout','Punched\x20tape','Border\x20callout\x203','Ellipse\x20ribbon\x202','Up\x20arrow','Right\x20arrow\x20callout','Square\x20tabs','Accent\x20border\x20callout\x203','7HRbMMD','Information\x20button','Online\x20storage','Manual\x20operation','Same-side\x20snip\x20corner\x20rectangle','Cloud\x20callout','Plaque','Block\x20arc','Vertical\x20scroll','Magnetic\x20tape'];_0x2fff=function(){return _0x22c37a;};return _0x2fff();}(function(_0x190d31,_0x22a082){const _0x222f7c=_0x1d56,_0x4f071f=_0x190d31();while(!![]){try{const _0x3540de=parseInt(_0x222f7c(0xba))/0x1+parseInt(_0x222f7c(0xac))/0x2+parseInt(_0x222f7c(0xb1))/0x3*(-parseInt(_0x222f7c(0xed))/0x4)+parseInt(_0x222f7c(0xee))/0x5+-parseInt(_0x222f7c(0xd5))/0x6*(parseInt(_0x222f7c(0x11c))/0x7)+parseInt(_0x222f7c(0x110))/0x8*(parseInt(_0x222f7c(0xce))/0x9)+-parseInt(_0x222f7c(0xc2))/0xa*(parseInt(_0x222f7c(0x113))/0xb);if(_0x3540de===_0x22a082)break;else _0x4f071f['push'](_0x4f071f['shift']());}catch(_0xc15827){_0x4f071f['push'](_0x4f071f['shift']());}}}(_0x2fff,0xab3d0));const e={'snip1Rect':_0x734dfd(0xc7),'snip2SameRect':_0x734dfd(0x9d),'snip2DiagRect':_0x734dfd(0xe5),'snipRoundRect':_0x734dfd(0xc9),'round1Rect':_0x734dfd(0xc8),'round2SameRect':_0x734dfd(0xb3),'round2DiagRect':_0x734dfd(0xe4),'heptagon':_0x734dfd(0xe3),'decagon':_0x734dfd(0xc0),'dodecagon':_0x734dfd(0xf1),'pie':_0x734dfd(0xcc),'chord':'Chord','teardrop':_0x734dfd(0xc3),'frame':_0x734dfd(0x104),'halfFrame':_0x734dfd(0xb4),'corner':_0x734dfd(0xda),'diagStripe':_0x734dfd(0xd7),'plaque':_0x734dfd(0x9f),'cube':_0x734dfd(0xbb),'bevel':_0x734dfd(0xea),'donut':'Donut','noSmoking':_0x734dfd(0x100),'blockArc':_0x734dfd(0xa0),'foldedCorner':_0x734dfd(0xf4),'smileyFace':_0x734dfd(0xf0),'heart':_0x734dfd(0x107),'lightningBolt':_0x734dfd(0x109),'sun':'Sun','moon':_0x734dfd(0x103),'arc':'Arc','bracketPair':_0x734dfd(0xbf),'bracePair':'Brace\x20pair','leftBracket':'Left\x20bracket','rightBracket':_0x734dfd(0x105),'upArrow':_0x734dfd(0x118),'downArrow':_0x734dfd(0xad),'upDownArrow':_0x734dfd(0x10e),'quadArrow':_0x734dfd(0xa4),'leftRightUpArrow':_0x734dfd(0xf7),'bentArrow':_0x734dfd(0xc1),'uturnArrow':'U-turn\x20arrow','leftUpArrow':'Left-up\x20arrow','bentUpArrow':_0x734dfd(0xec),'curvedRightArrow':_0x734dfd(0xd4),'curvedLeftArrow':_0x734dfd(0xe7),'curvedUpArrow':_0x734dfd(0xca),'curvedDownArrow':_0x734dfd(0xe6),'stripedRightArrow':_0x734dfd(0xab),'notchedRightArrow':_0x734dfd(0xf9),'rightArrowCallout':_0x734dfd(0x119),'downArrowCallout':_0x734dfd(0xeb),'leftArrowCallout':_0x734dfd(0x114),'upArrowCallout':_0x734dfd(0xf3),'leftRightArrowCallout':_0x734dfd(0xb7),'quadArrowCallout':_0x734dfd(0xa8),'circularArrow':_0x734dfd(0xb8),'mathMinus':_0x734dfd(0x106),'mathMultiply':_0x734dfd(0xbe),'mathDivide':_0x734dfd(0xfa),'mathEqual':'Equal','mathNotEqual':_0x734dfd(0xc6),'flowChartProcess':_0x734dfd(0xf5),'flowChartAlternateProcess':_0x734dfd(0xd0),'flowChartDecision':_0x734dfd(0xf8),'flowChartInputOutput':_0x734dfd(0xcd),'flowChartPredefinedProcess':'Predefined\x20process','flowChartInternalStorage':'Internal\x20storage','flowChartDocument':_0x734dfd(0xdd),'flowChartMultidocument':_0x734dfd(0x10f),'flowChartTerminator':_0x734dfd(0x108),'flowChartPreparation':_0x734dfd(0x10b),'flowChartManualInput':_0x734dfd(0xd3),'flowChartManualOperation':_0x734dfd(0x11f),'flowChartConnector':_0x734dfd(0xb9),'flowChartOffpageConnector':'Off-page\x20connector','flowChartPunchedCard':_0x734dfd(0x112),'flowChartPunchedTape':_0x734dfd(0x115),'flowChartSummingJunction':_0x734dfd(0xfb),'flowChartOr':'Or','flowChartCollate':_0x734dfd(0xef),'flowChartSort':_0x734dfd(0xd9),'flowChartExtract':_0x734dfd(0xcf),'flowChartMerge':_0x734dfd(0x10d),'flowChartOnlineStorage':_0x734dfd(0x11e),'flowChartDelay':'Delay','flowChartMagneticTape':_0x734dfd(0xa2),'flowChartMagneticDisk':_0x734dfd(0xe0),'flowChartMagneticDrum':_0x734dfd(0xd2),'flowChartDisplay':_0x734dfd(0xfe),'irregularSeal1':_0x734dfd(0xe8),'irregularSeal2':'Explosion\x202','star4':'4-point\x20star','star6':_0x734dfd(0xd6),'star7':_0x734dfd(0xdc),'star8':'8-point\x20star','star10':_0x734dfd(0xbc),'star12':'12-point\x20star','star16':_0x734dfd(0xfc),'star24':'24-point\x20star','star32':_0x734dfd(0xa7),'ribbon2':'Ribbon\x202','ribbon':_0x734dfd(0xdf),'ellipseRibbon2':_0x734dfd(0x117),'ellipseRibbon':_0x734dfd(0xa6),'verticalScroll':_0x734dfd(0xa1),'horizontalScroll':_0x734dfd(0x102),'wave':_0x734dfd(0xe1),'doubleWave':_0x734dfd(0xa5),'wedgeRectCallout':_0x734dfd(0x101),'cloudCallout':_0x734dfd(0x9e),'borderCallout1':_0x734dfd(0xaf),'borderCallout2':_0x734dfd(0xc4),'borderCallout3':_0x734dfd(0x116),'accentCallout1':_0x734dfd(0xa9),'accentCallout2':'Accent\x20callout\x202','accentCallout3':_0x734dfd(0xb6),'callout1':_0x734dfd(0xb0),'callout2':'Callout\x202','callout3':'Callout\x203','accentBorderCallout1':'Accent\x20border\x20callout\x201','accentBorderCallout2':_0x734dfd(0xc5),'accentBorderCallout3':_0x734dfd(0x11b),'leftCircularArrow':_0x734dfd(0xde),'leftRightCircularArrow':_0x734dfd(0xe9),'swooshArrow':'Swoosh\x20arrow','leftRightRibbon':_0x734dfd(0xd1),'pieWedge':_0x734dfd(0xb2),'funnel':'Funnel','gear6':_0x734dfd(0xf2),'gear9':_0x734dfd(0x10a),'cornerTabs':'Corner\x20tabs','actionButtonBackPrevious':'Back\x20or\x20previous\x20button','actionButtonForwardNext':_0x734dfd(0xdb),'actionButtonBeginning':_0x734dfd(0xff),'actionButtonEnd':_0x734dfd(0xa3),'actionButtonHome':_0x734dfd(0x10c),'actionButtonInformation':_0x734dfd(0x11d),'actionButtonReturn':_0x734dfd(0x111),'actionButtonMovie':_0x734dfd(0xaa),'actionButtonDocument':_0x734dfd(0xbd),'actionButtonSound':_0x734dfd(0xcb),'actionButtonHelp':_0x734dfd(0xe2),'actionButtonBlank':'Blank\x20button','chartPlus':_0x734dfd(0xf6),'chartStar':_0x734dfd(0xd8),'chartX':_0x734dfd(0xfd),'flowChartOfflineStorage':'Offline\x20storage','lineInv':'Inverse\x20line','plaqueTabs':_0x734dfd(0xb5),'squareTabs':_0x734dfd(0x11a),'upDownArrowCallout':_0x734dfd(0xae)};function _0x1d56(_0x41102f,_0x4769a3){_0x41102f=_0x41102f-0x9d;const _0x2fff38=_0x2fff();let _0x1d5637=_0x2fff38[_0x41102f];return _0x1d5637;}export{e as t};
1
+ function _0x283a(){const _0x321d1f=['Multiply','Plaque','Connector','Magnetic\x20tape','Up\x20arrow\x20callout','Inverse\x20line','Heptagon','Minus','Manual\x20input','Lightning\x20bolt','Callout\x203','Left\x20arrow\x20callout','Four-way\x20arrow\x20callout','Wave','Curved\x20down\x20arrow','Diagonal\x20round\x20corner\x20rectangle','Bracket\x20pair','Back\x20or\x20previous\x20button','24-point\x20star','12-point\x20star','7zNTFWf','2518587Zsscgz','4-point\x20star','Funnel','Sound\x20button','Chart\x20X','Help\x20button','Corner\x20tabs','2038royCOj','Ribbon\x202','143gEbhIv','Accent\x20border\x20callout\x203','Diagonal\x20snip\x20corner\x20rectangle','Rectangular\x20callout','Multiple\x20documents','Sort','Left-right\x20ribbon','Chart\x20plus','Vertical\x20scroll','Bevel','86850EAWoaC','Curved\x20left\x20arrow','1990gTxVDZ','Blank\x20button','Right\x20arrow\x20callout','Square\x20tabs','Equal','Manual\x20operation','648HsovnI','Explosion\x202','Pie\x20wedge','Divide','Return\x20button','Gear\x209','Dodecagon','Horizontal\x20scroll','Same-side\x20round\x20corner\x20rectangle','Sun','Left-up\x20arrow','Predefined\x20process','Punched\x20card','Internal\x20storage','Border\x20callout\x202','Single\x20snip\x20corner\x20rectangle','Forward\x20or\x20next\x20button','6-point\x20star','Gear\x206','1215efArAp','Off-page\x20connector','No\x20symbol','Movie\x20button','Four-way\x20arrow','Terminator','9171981lCwXop','Moon','6374076hSAsBf','Punched\x20tape','Accent\x20border\x20callout\x201','Merge','10-point\x20star','Corner','8035536NIUwNl','Swoosh\x20arrow','Notched\x20right\x20arrow','Half\x20frame','Plaque\x20tabs','Magnetic\x20drum','Alternate\x20process','Circular\x20arrow','Explosion\x201','Ellipse\x20ribbon','Display','Left\x20bracket','Border\x20callout\x203','Input/output','Block\x20arc','Not\x20equal','Summing\x20junction','Smiley\x20face','Delay','Up-down\x20arrow\x20callout','Folded\x20corner','Brace\x20pair','End\x20button','Bent\x20arrow','Ribbon','7-point\x20star','Chart\x20star'];_0x283a=function(){return _0x321d1f;};return _0x283a();}const _0x4a3800=_0x22f5;(function(_0xa88415,_0x47edef){const _0x4554d5=_0x22f5,_0x538ec7=_0xa88415();while(!![]){try{const _0x239687=parseInt(_0x4554d5(0x13b))/0x1*(-parseInt(_0x4554d5(0x114))/0x2)+parseInt(_0x4554d5(0x10d))/0x3+-parseInt(_0x4554d5(0x128))/0x4*(-parseInt(_0x4554d5(0x122))/0x5)+-parseInt(_0x4554d5(0x143))/0x6*(-parseInt(_0x4554d5(0x10c))/0x7)+-parseInt(_0x4554d5(0x149))/0x8+parseInt(_0x4554d5(0x141))/0x9+parseInt(_0x4554d5(0x120))/0xa*(-parseInt(_0x4554d5(0x116))/0xb);if(_0x239687===_0x47edef)break;else _0x538ec7['push'](_0x538ec7['shift']());}catch(_0x21cf95){_0x538ec7['push'](_0x538ec7['shift']());}}}(_0x283a,0x99d0c));function _0x22f5(_0xc24b07,_0xc7fe07){_0xc24b07=_0xc24b07-0xfb;const _0x283ab1=_0x283a();let _0x22f580=_0x283ab1[_0xc24b07];return _0x22f580;}const e={'snip1Rect':_0x4a3800(0x137),'snip2SameRect':'Same-side\x20snip\x20corner\x20rectangle','snip2DiagRect':_0x4a3800(0x118),'snipRoundRect':'Snip\x20and\x20round\x20corner\x20rectangle','round1Rect':'Single\x20round\x20corner\x20rectangle','round2SameRect':_0x4a3800(0x130),'round2DiagRect':_0x4a3800(0x107),'heptagon':_0x4a3800(0xfe),'decagon':'Decagon','dodecagon':_0x4a3800(0x12e),'pie':'Pie','chord':'Chord','teardrop':'Teardrop','frame':'Frame','halfFrame':_0x4a3800(0x14c),'corner':_0x4a3800(0x148),'diagStripe':'Diagonal\x20stripe','plaque':_0x4a3800(0x165),'cube':'Cube','bevel':_0x4a3800(0x11f),'donut':'Donut','noSmoking':_0x4a3800(0x13d),'blockArc':_0x4a3800(0x157),'foldedCorner':_0x4a3800(0x15d),'smileyFace':_0x4a3800(0x15a),'heart':'Heart','lightningBolt':_0x4a3800(0x101),'sun':_0x4a3800(0x131),'moon':_0x4a3800(0x142),'arc':'Arc','bracketPair':_0x4a3800(0x108),'bracePair':_0x4a3800(0x15e),'leftBracket':_0x4a3800(0x154),'rightBracket':'Right\x20bracket','upArrow':'Up\x20arrow','downArrow':'Down\x20arrow','upDownArrow':'Up-down\x20arrow','quadArrow':_0x4a3800(0x13f),'leftRightUpArrow':'Left-right-up\x20arrow','bentArrow':_0x4a3800(0x160),'uturnArrow':'U-turn\x20arrow','leftUpArrow':_0x4a3800(0x132),'bentUpArrow':'Bent-up\x20arrow','curvedRightArrow':'Curved\x20right\x20arrow','curvedLeftArrow':_0x4a3800(0x121),'curvedUpArrow':'Curved\x20up\x20arrow','curvedDownArrow':_0x4a3800(0x106),'stripedRightArrow':'Striped\x20right\x20arrow','notchedRightArrow':_0x4a3800(0x14b),'rightArrowCallout':_0x4a3800(0x124),'downArrowCallout':'Down\x20arrow\x20callout','leftArrowCallout':_0x4a3800(0x103),'upArrowCallout':_0x4a3800(0xfc),'leftRightArrowCallout':'Left-right\x20arrow\x20callout','quadArrowCallout':_0x4a3800(0x104),'circularArrow':_0x4a3800(0x150),'mathMinus':_0x4a3800(0xff),'mathMultiply':_0x4a3800(0x164),'mathDivide':_0x4a3800(0x12b),'mathEqual':_0x4a3800(0x126),'mathNotEqual':_0x4a3800(0x158),'flowChartProcess':'Process','flowChartAlternateProcess':_0x4a3800(0x14f),'flowChartDecision':'Decision','flowChartInputOutput':_0x4a3800(0x156),'flowChartPredefinedProcess':_0x4a3800(0x133),'flowChartInternalStorage':_0x4a3800(0x135),'flowChartDocument':'Document','flowChartMultidocument':_0x4a3800(0x11a),'flowChartTerminator':_0x4a3800(0x140),'flowChartPreparation':'Preparation','flowChartManualInput':_0x4a3800(0x100),'flowChartManualOperation':_0x4a3800(0x127),'flowChartConnector':_0x4a3800(0x166),'flowChartOffpageConnector':_0x4a3800(0x13c),'flowChartPunchedCard':_0x4a3800(0x134),'flowChartPunchedTape':_0x4a3800(0x144),'flowChartSummingJunction':_0x4a3800(0x159),'flowChartOr':'Or','flowChartCollate':'Collate','flowChartSort':_0x4a3800(0x11b),'flowChartExtract':'Extract','flowChartMerge':_0x4a3800(0x146),'flowChartOnlineStorage':'Online\x20storage','flowChartDelay':_0x4a3800(0x15b),'flowChartMagneticTape':_0x4a3800(0xfb),'flowChartMagneticDisk':'Magnetic\x20disk','flowChartMagneticDrum':_0x4a3800(0x14e),'flowChartDisplay':_0x4a3800(0x153),'irregularSeal1':_0x4a3800(0x151),'irregularSeal2':_0x4a3800(0x129),'star4':_0x4a3800(0x10e),'star6':_0x4a3800(0x139),'star7':_0x4a3800(0x162),'star8':'8-point\x20star','star10':_0x4a3800(0x147),'star12':_0x4a3800(0x10b),'star16':'16-point\x20star','star24':_0x4a3800(0x10a),'star32':'32-point\x20star','ribbon2':_0x4a3800(0x115),'ribbon':_0x4a3800(0x161),'ellipseRibbon2':'Ellipse\x20ribbon\x202','ellipseRibbon':_0x4a3800(0x152),'verticalScroll':_0x4a3800(0x11e),'horizontalScroll':_0x4a3800(0x12f),'wave':_0x4a3800(0x105),'doubleWave':'Double\x20wave','wedgeRectCallout':_0x4a3800(0x119),'cloudCallout':'Cloud\x20callout','borderCallout1':'Border\x20callout\x201','borderCallout2':_0x4a3800(0x136),'borderCallout3':_0x4a3800(0x155),'accentCallout1':'Accent\x20callout\x201','accentCallout2':'Accent\x20callout\x202','accentCallout3':'Accent\x20callout\x203','callout1':'Callout\x201','callout2':'Callout\x202','callout3':_0x4a3800(0x102),'accentBorderCallout1':_0x4a3800(0x145),'accentBorderCallout2':'Accent\x20border\x20callout\x202','accentBorderCallout3':_0x4a3800(0x117),'leftCircularArrow':'Left\x20circular\x20arrow','leftRightCircularArrow':'Left-right\x20circular\x20arrow','swooshArrow':_0x4a3800(0x14a),'leftRightRibbon':_0x4a3800(0x11c),'pieWedge':_0x4a3800(0x12a),'funnel':_0x4a3800(0x10f),'gear6':_0x4a3800(0x13a),'gear9':_0x4a3800(0x12d),'cornerTabs':_0x4a3800(0x113),'actionButtonBackPrevious':_0x4a3800(0x109),'actionButtonForwardNext':_0x4a3800(0x138),'actionButtonBeginning':'Beginning\x20button','actionButtonEnd':_0x4a3800(0x15f),'actionButtonHome':'Home\x20button','actionButtonInformation':'Information\x20button','actionButtonReturn':_0x4a3800(0x12c),'actionButtonMovie':_0x4a3800(0x13e),'actionButtonDocument':'Document\x20button','actionButtonSound':_0x4a3800(0x110),'actionButtonHelp':_0x4a3800(0x112),'actionButtonBlank':_0x4a3800(0x123),'chartPlus':_0x4a3800(0x11d),'chartStar':_0x4a3800(0x163),'chartX':_0x4a3800(0x111),'flowChartOfflineStorage':'Offline\x20storage','lineInv':_0x4a3800(0xfd),'plaqueTabs':_0x4a3800(0x14d),'squareTabs':_0x4a3800(0x125),'upDownArrowCallout':_0x4a3800(0x15c)};export{e as t};
@@ -0,0 +1,8 @@
1
+ import type { IBoardLayoutAnalysisResult } from '@univerjs-pro/boards';
2
+ import type { ICommand } from '@univerjs/core';
3
+ export interface IAnalyzeBoardRenderedLayoutCommandParams {
4
+ unitId: string;
5
+ subUnitId: string;
6
+ focusPadding?: number;
7
+ }
8
+ export declare const AnalyzeBoardRenderedLayoutCommand: ICommand<IAnalyzeBoardRenderedLayoutCommandParams, IBoardLayoutAnalysisResult | false>;
@@ -0,0 +1,7 @@
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { IBoardScreenshotOptions, IBoardScreenshotResult } from '../../services/board-screenshot.service';
3
+ export interface ICaptureBoardScreenshotCommandParams extends IBoardScreenshotOptions {
4
+ subUnitId: string;
5
+ unitId: string;
6
+ }
7
+ export declare const CaptureBoardScreenshotCommand: ICommand<ICaptureBoardScreenshotCommandParams, IBoardScreenshotResult | false>;
@@ -1,14 +1,20 @@
1
1
  import type { BoardModel } from '@univerjs-pro/boards';
2
2
  import type { IAccessor, ICommand } from '@univerjs/core';
3
3
  import type { IBoardSelectionContext } from '../../services/board-element-state.service';
4
+ import { Direction } from '@univerjs/core';
4
5
  interface IBoardSelectionOperationContext {
5
6
  boardModel: BoardModel;
6
7
  selectionContext: IBoardSelectionContext;
7
8
  selectedIds: string[];
8
9
  }
10
+ export interface IBoardNudgeSelectionOperationParams {
11
+ direction: Direction;
12
+ distance: number;
13
+ }
9
14
  export declare const BoardCopySelectionOperation: ICommand;
10
15
  export declare const BoardDeleteSelectionOperation: ICommand;
11
16
  export declare const BoardCutSelectionOperation: ICommand;
17
+ export declare const BoardNudgeSelectionOperation: ICommand<IBoardNudgeSelectionOperationParams>;
12
18
  export declare const BOARD_SELECTION_OPERATIONS: ICommand<object, boolean>[];
13
19
  export declare function resolveBoardSelectionOperationContext(accessor: IAccessor): IBoardSelectionOperationContext | null;
14
20
  export {};
@@ -63,7 +63,7 @@ export declare const BOARD_SHORTCUT_BINDINGS: {
63
63
  readonly foldChildNodes: number;
64
64
  readonly collapseAllNodes: number;
65
65
  readonly addDescription: number;
66
- readonly editCurrentNode: KeyCode.SPACE;
66
+ readonly editCurrentNode: KeyCode.F2;
67
67
  readonly alignLeft: number;
68
68
  readonly alignRight: number;
69
69
  readonly alignTop: number;
@@ -36,6 +36,10 @@ export interface IBoardShapePreset {
36
36
  height?: number;
37
37
  icon: BoardShapeIcon;
38
38
  }
39
+ export declare function resolveBoardShapePresetInsertSize(preset: IBoardShapePreset): {
40
+ width?: number;
41
+ height?: number;
42
+ } | undefined;
39
43
  export declare function resolveBoardShapePresetIcon(iconManager: IBoardShapeIconManager, icon: BoardShapeIcon): BoardShapeIconComponent | undefined;
40
44
  export declare const BOARD_BASIC_SHAPE_CATEGORY_KEY: LocaleKey;
41
45
  export declare const BOARD_SHAPE_PRESETS: IBoardShapePreset[];
@@ -1,5 +1,4 @@
1
1
  import type { BoardToolType, IBoardPageSize, IBoardSettings } from '@univerjs-pro/boards';
2
- import type { BoardSettingsActionConfig, BoardSettingsActionType } from '../common/settings-actions';
3
2
  import type { IBoardShapePreset } from '../common/shape-presets';
4
3
  import type { IBoardElementRenderAdapter } from '../render-adapters/board-element-render-adapter';
5
4
  export declare const BOARDS_UI_PLUGIN_CONFIG_KEY = "boards-ui.config";
@@ -71,9 +70,6 @@ export interface IUniverBoardsUIConfig extends IBoardSettings {
71
70
  insert?: IBoardInsertConfig;
72
71
  interaction?: IBoardInteractionConfig;
73
72
  renderAdapters?: readonly IBoardElementRenderAdapter[];
74
- settingsMenu?: {
75
- actions?: Partial<Record<BoardSettingsActionType, BoardSettingsActionConfig>>;
76
- };
77
73
  shape?: IBoardShapeConfig;
78
74
  sticky?: IBoardStickyConfig;
79
75
  toolbar?: {
@@ -1,7 +1,7 @@
1
1
  import type { UnitModel } from '@univerjs/core';
2
2
  import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { IBoardElementService } from '@univerjs-pro/boards';
4
- import { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
4
+ import { ICommandService, IUniverInstanceService, LocaleService, RxDisposable } from '@univerjs/core';
5
5
  import { BoardCanvasPopManagerService } from '../services/board-canvas-pop-manager.service';
6
6
  import { BoardElementEditService } from '../services/board-element-edit.service';
7
7
  import { BoardElementInsertService } from '../services/board-element-insert.service';
@@ -19,8 +19,12 @@ export declare class BoardConnectorInteractionRenderController extends RxDisposa
19
19
  private readonly _insertService;
20
20
  private readonly _boardCanvasPopManagerService;
21
21
  private readonly _boardTextEditingService;
22
+ private readonly _localeService;
23
+ private readonly _runtimeSizedElementIdsByPage;
22
24
  private _attachObjectPointerScheduled;
23
- private _objectPointerDisposables;
25
+ private _attachAllObjectPointerHandlers;
26
+ private _pendingObjectPointerElementIds;
27
+ private _objectPointerDisposablesByElementId;
24
28
  private _affordanceObject;
25
29
  private _endpointObject;
26
30
  private _waypointObject;
@@ -43,10 +47,9 @@ export declare class BoardConnectorInteractionRenderController extends RxDisposa
43
47
  private _draft;
44
48
  private _draftObject;
45
49
  private _quickConnectHoverPreview;
46
- private _quickConnectPointerDownPreview;
47
50
  private _quickConnectPreviewConnectorObject;
48
51
  private _quickConnectPreviewShapeObject;
49
- constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _boardElementService: IBoardElementService, _elementStateService: IBoardElementStateService, _commandService: ICommandService, _stateService: IBoardUIStateService, _editService: BoardElementEditService, _insertService: BoardElementInsertService, _boardCanvasPopManagerService: BoardCanvasPopManagerService, _boardTextEditingService: BoardTextEditingService);
52
+ constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _boardElementService: IBoardElementService, _elementStateService: IBoardElementStateService, _commandService: ICommandService, _stateService: IBoardUIStateService, _editService: BoardElementEditService, _insertService: BoardElementInsertService, _boardCanvasPopManagerService: BoardCanvasPopManagerService, _boardTextEditingService: BoardTextEditingService, _localeService: LocaleService);
50
53
  private _init;
51
54
  private _scheduleAttachObjectPointerHandlers;
52
55
  private _scheduleAttachObjectPointerHandlersWithFollowUp;
@@ -56,11 +59,14 @@ export declare class BoardConnectorInteractionRenderController extends RxDisposa
56
59
  private _isLineToolActive;
57
60
  private _isFreePolylineToolActive;
58
61
  private _getBoardPointFromEvent;
62
+ private _subscribeToCanvasQuickConnectRouting;
59
63
  private _handleKeyDown;
60
64
  private _canHandleBoardKey;
61
65
  private _cancelActiveConnectorDrag;
62
66
  private _syncSceneInputMode;
63
67
  private _getElementData;
68
+ private _getRuntimeSizedElementIds;
69
+ private _syncRuntimeSizedElementIds;
64
70
  private _syncRuntimeElementGeometry;
65
71
  private _isConnectorTextEditing;
66
72
  private _isTextEditing;
@@ -90,16 +96,15 @@ export declare class BoardConnectorInteractionRenderController extends RxDisposa
90
96
  private _finishFreePolylineDraft;
91
97
  private _clearQuickShapePopup;
92
98
  private _insertQuickConnectedShape;
93
- private _insertQuickConnectedConnector;
94
99
  private _resolveQuickConnectSourceShape;
95
100
  private _resolveQuickConnectShapeType;
96
101
  private _resolveQuickConnectSourceSize;
97
- private _resolveQuickConnectHoverTarget;
98
102
  private _createQuickConnectHoverPreview;
99
103
  private _getQuickConnectPreviewElementData;
100
104
  private _syncQuickConnectHoverPreview;
101
105
  private _clearQuickConnectHoverPreview;
102
106
  private _commitQuickConnectPreview;
107
+ private _findConnectorBetweenEndpoints;
103
108
  private _getElementDataWithElement;
104
109
  private _createQuickConnectorTargetUpdate;
105
110
  private _insertQuickConnectedShapeForConnector;
@@ -3,7 +3,7 @@ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { IBoardElementService } from '@univerjs-pro/boards';
4
4
  import { IInkUIStateService } from '@univerjs-pro/ink-ui';
5
5
  import { IUniverInstanceService, RxDisposable } from '@univerjs/core';
6
- import { IContextMenuService } from '@univerjs/ui';
6
+ import { IContextMenuService, IPlatformService } from '@univerjs/ui';
7
7
  import { IBoardElementStateService } from '../services/board-element-state.service';
8
8
  import { IBoardInkEditService } from '../services/board-ink-edit.service';
9
9
  import { BoardSelectionOverlayService } from '../services/board-selection-overlay.service';
@@ -19,19 +19,24 @@ export declare class BoardElementSelectionController extends RxDisposable implem
19
19
  private readonly _selectionOverlayService;
20
20
  private readonly _uiStateService;
21
21
  private readonly _contextMenuService;
22
+ private readonly _platformService;
22
23
  private readonly _inkStateService;
23
24
  private readonly _inkEditService;
24
25
  private readonly _boardTextEditingService;
25
26
  private _attachScheduled;
27
+ private _attachAllObjectTransformers;
26
28
  private _handledElementPointerDownEvent;
27
29
  private _isSyncingTransformer;
28
- private _objectPointerDisposables;
30
+ private _objectPointerDisposablesByElementId;
31
+ private _pendingObjectTransformerElementIds;
29
32
  private _restoreTransformerScheduled;
30
33
  private _selectionDraft;
31
- constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _boardElementService: IBoardElementService, _stateSrv: IBoardElementStateService, _selectionService: BoardSelectionService, _selectionOverlayService: BoardSelectionOverlayService, _uiStateService: IBoardUIStateService, _contextMenuService: IContextMenuService, _inkStateService: IInkUIStateService, _inkEditService: IBoardInkEditService, _boardTextEditingService: BoardTextEditingService);
34
+ constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _boardElementService: IBoardElementService, _stateSrv: IBoardElementStateService, _selectionService: BoardSelectionService, _selectionOverlayService: BoardSelectionOverlayService, _uiStateService: IBoardUIStateService, _contextMenuService: IContextMenuService, _platformService: IPlatformService, _inkStateService: IInkUIStateService, _inkEditService: IBoardInkEditService, _boardTextEditingService: BoardTextEditingService);
32
35
  private _init;
33
36
  private _subscribeToTextEditing;
34
37
  private _wireScenePointerSelection;
38
+ private _startSelectionGesture;
39
+ private _completeSelectionGesture;
35
40
  private _subscribeToWindowSelectionInterruptions;
36
41
  private _clearSelectionDraft;
37
42
  private _clearSelectionDraftIfInkInteractionActive;
@@ -56,9 +61,12 @@ export declare class BoardElementSelectionController extends RxDisposable implem
56
61
  private _isSelectPointerEvent;
57
62
  private _isContextMenuPointerEvent;
58
63
  private _isSelectionToolActive;
64
+ private _isPrimarySelectionModifier;
65
+ private _toggleElementAtPoint;
59
66
  private _isTextEditingActive;
60
67
  private _isInkInteractionActive;
61
68
  private _isHandledElementPointerDown;
62
69
  private _getBoardPointFromEvent;
70
+ private _getViewportPointFromEvent;
63
71
  private _createContextMenuEvent;
64
72
  }
@@ -5,6 +5,7 @@ import { IUniverInstanceService, RxDisposable } from '@univerjs/core';
5
5
  import { BoardDomLayerService } from '../services/board-dom-layer.service';
6
6
  import { BoardElementEditService } from '../services/board-element-edit.service';
7
7
  import { IBoardElementStateService } from '../services/board-element-state.service';
8
+ import { IBoardUIStateService } from '../services/board-ui-state.service';
8
9
  export declare class BoardElementTransformController extends RxDisposable implements IRenderModule {
9
10
  private readonly _renderContext;
10
11
  private readonly _instanceSrv;
@@ -12,15 +13,19 @@ export declare class BoardElementTransformController extends RxDisposable implem
12
13
  private readonly _stateSrv;
13
14
  private readonly _editService;
14
15
  private readonly _domLayerService;
16
+ private readonly _uiStateService?;
15
17
  private _domResizeGuideContext;
16
18
  private _domResizeGuideDisposable;
17
19
  private _domResizeGuideItemId;
20
+ private _alignmentSnapCandidates;
21
+ private _alignmentSnapCorrection;
22
+ private _areAlignmentSnapsDisabled;
18
23
  private _isForceCaptureModifierActive;
19
24
  private _shiftTransformStartRects;
20
25
  private _areTransformerControlsHiddenForTransform;
21
26
  private _xSnapSession;
22
27
  private _ySnapSession;
23
- constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _boardElementService: IBoardElementService, _stateSrv: IBoardElementStateService, _editService: BoardElementEditService, _domLayerService: BoardDomLayerService);
28
+ constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _boardElementService: IBoardElementService, _stateSrv: IBoardElementStateService, _editService: BoardElementEditService, _domLayerService: BoardDomLayerService, _uiStateService?: IBoardUIStateService | undefined);
24
29
  dispose(): void;
25
30
  private _init;
26
31
  private _subscribeToTransformer;
@@ -32,10 +37,13 @@ export declare class BoardElementTransformController extends RxDisposable implem
32
37
  private _restoreTransformerControlsAfterTransform;
33
38
  private _captureShiftTransformStartRects;
34
39
  private _resetAlignmentSnapSessions;
40
+ private _restoreUnsnappedTransform;
41
+ private _getAlignmentSnapZoomRatio;
35
42
  private _applyShiftTransformModifier;
36
43
  private _applyAlignmentSnapModifier;
37
44
  private _resolveAlignmentSnapDelta;
38
45
  private _applySequenceActivationSnapModifier;
46
+ private _applyRealtimeTransformModifiers;
39
47
  private _applyProportionalResize;
40
48
  private _syncRealtimeTransformPreview;
41
49
  private _syncContainerDescendantPreviews;
@@ -58,8 +58,6 @@ export declare class BoardInkInteractionRenderController extends RxDisposable im
58
58
  private _getToolCursorRadius;
59
59
  private _getToolCursorState;
60
60
  private _syncToolCursor;
61
- private _getPenExitButtonLabel;
62
- private _getStageActionButtonLabel;
63
61
  private _getPenExitButtonModel;
64
62
  private _isPenExitButtonHit;
65
63
  private _setPenExitButtonHovered;
@@ -19,6 +19,9 @@ export declare class BoardRenderController extends RxDisposable implements IRend
19
19
  private readonly _shapeFormulaService;
20
20
  private readonly _imageIoService?;
21
21
  private readonly _renderedObjectKeys;
22
+ private _renderedObjectsByKey;
23
+ private readonly _connectorRoutingCache;
24
+ private readonly _connectorLineJumpCache;
22
25
  private _renderedObjectLayerIndexes;
23
26
  private _focusedSwimlaneFocus;
24
27
  private _backgroundRect;
@@ -26,11 +29,12 @@ export declare class BoardRenderController extends RxDisposable implements IRend
26
29
  private _init;
27
30
  private _resolvePageBackgroundFill;
28
31
  private _syncBackgroundRectToViewport;
29
- private _enableStableLayerCaches;
30
32
  private _syncSceneViewport;
31
33
  private _syncFocusedSwimlaneLane;
32
34
  private _clearRenderedBoardObjects;
33
35
  private _renderBoardElements;
36
+ private _resolveAddedElementDirtyIds;
37
+ private _syncRenderedObjectZIndexes;
34
38
  private _getBoardRenderObject;
35
39
  private _resolveExistingBoardElementObjectLayerIndex;
36
40
  private _resolveBoardElementObjectLayerIndex;
@@ -16,6 +16,7 @@ export declare class BoardSelectionOverlayRenderController extends RxDisposable
16
16
  private readonly _configService;
17
17
  private readonly _boardTextEditingService;
18
18
  private _areTransformGuidesDisabled;
19
+ private _transformGuideCandidates;
19
20
  private _marqueeObject;
20
21
  private _dimensionsObject;
21
22
  private _guideObject;
@@ -39,7 +39,7 @@ export declare class BoardShapeAdjustRenderController extends RxDisposable imple
39
39
  private _attachInkHandleEvent;
40
40
  private _updateInkPenModelPoint;
41
41
  private _syncInkHandlePositions;
42
- private _calcAdjustValue;
42
+ private _calcAdjustValues;
43
43
  private _syncHandlePositions;
44
44
  private _previewAdjValueUpdate;
45
45
  private _previewSequenceLifelineHeightUpdate;
@@ -20,9 +20,11 @@ export declare class BoardTextEditingRenderController extends RxDisposable imple
20
20
  private readonly _contextService;
21
21
  private readonly _inkStateService;
22
22
  private _attachScheduled;
23
+ private _attachAllObjectDoubleClicks;
23
24
  private _lastEditingShapeKey;
24
25
  private _ignoreFocusChangesUntil;
25
- private _objectDblclickDisposables;
26
+ private _objectDblclickDisposablesByElementId;
27
+ private _pendingObjectDoubleClickElementIds;
26
28
  constructor(_renderContext: IRenderContext<UnitModel>, _instanceService: IUniverInstanceService, _boardElementService: IBoardElementService, _boardTextEditingService: BoardTextEditingService, _boardContainerRenameService: BoardContainerRenameService, _boardSwimlaneLaneRenameService: BoardSwimlaneLaneRenameService, _elementStateService: IBoardElementStateService, _uiStateService: IBoardUIStateService, _contextService: IContextService, _inkStateService: IInkUIStateService);
27
29
  private _shouldIgnoreFocusChanges;
28
30
  private _init;
@@ -1,19 +1,25 @@
1
1
  import type { UnitModel } from '@univerjs/core';
2
2
  import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { IConfigService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
4
+ import { IPlatformService } from '@univerjs/ui';
4
5
  import { IBoardUIStateService } from '../services/board-ui-state.service';
5
6
  export declare class BoardViewportInputRenderController extends RxDisposable implements IRenderModule {
6
7
  private readonly _renderContext;
7
8
  private readonly _instanceSrv;
8
9
  private readonly _configService;
9
10
  private readonly _stateService;
11
+ private readonly _platformService;
10
12
  private _panDraft;
11
13
  private _ownsPanCursor;
14
+ private _sceneGestureLease;
15
+ private _spacePanReleasePending;
12
16
  private _spacePanRestoreTool;
13
- constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _configService: IConfigService, _stateService: IBoardUIStateService);
17
+ constructor(_renderContext: IRenderContext<UnitModel>, _instanceSrv: IUniverInstanceService, _configService: IConfigService, _stateService: IBoardUIStateService, _platformService: IPlatformService);
14
18
  dispose(): void;
15
19
  private _init;
16
20
  private _subscribeToWindowInputInterruptions;
21
+ private _subscribeToCanvasGestureRouting;
22
+ private _shouldRoutePointerGestureToScene;
17
23
  private _handleKeyDown;
18
24
  private _handleKeyUp;
19
25
  private _restoreSpacePanMode;
@@ -21,6 +27,7 @@ export declare class BoardViewportInputRenderController extends RxDisposable imp
21
27
  private _handlePointerDown;
22
28
  private _handlePointerMove;
23
29
  private _handlePointerEnd;
30
+ private _canStartSpacePan;
24
31
  private _isPanModeActive;
25
32
  private _syncPanCursor;
26
33
  private _setPanCursor;
@@ -0,0 +1,51 @@
1
+ import type { IBoardLayoutAnalysisResult } from '@univerjs-pro/boards';
2
+ import type { IBoardScreenshotOptions, IBoardScreenshotResult } from '@univerjs-pro/boards-ui';
3
+ type AnalyzeBoardRenderedLayoutResult = IBoardLayoutAnalysisResult | false;
4
+ type CaptureBoardScreenshotOptions = IBoardScreenshotOptions;
5
+ type CaptureBoardScreenshotResult = IBoardScreenshotResult | false;
6
+ declare module '@univerjs-pro/boards/facade' {
7
+ interface FBoard {
8
+ /**
9
+ * Detects layout conflicts using connector paths resolved by the current Board renderer.
10
+ * This browser-only API requires the Boards UI plugin and Facade extension to be registered.
11
+ * Use `analyzeModelLayout()` when no renderer is available.
12
+ *
13
+ * @param focusPadding Padding added to each issue's suggested screenshot bounds.
14
+ * @returns Structured rendered layout issues, or `false` when no Board scene is available.
15
+ * @example
16
+ * ```ts
17
+ * const board = univerAPI.getActiveBoard();
18
+ * if (!board) throw new Error('No active board');
19
+ * const analysis = board.analyzeRenderedLayout(48);
20
+ * if (!analysis) throw new Error('The active Board is not rendered');
21
+ * console.log(analysis.issues.map((issue) => ({
22
+ * rule: issue.rule,
23
+ * severity: issue.severity,
24
+ * focusBounds: issue.focusBounds,
25
+ * })));
26
+ * ```
27
+ */
28
+ analyzeRenderedLayout(focusPadding?: number): AnalyzeBoardRenderedLayoutResult;
29
+ /**
30
+ * Captures resolved Board world bounds using the current Board renderer.
31
+ * This browser-only API requires the Boards UI plugin and Facade extension to be registered.
32
+ * Resolve selectors with `resolveCaptureBounds()` before calling this method.
33
+ *
34
+ * @param options Resolved world bounds and an optional world-to-CSS-pixel scale.
35
+ * @returns PNG evidence from the current renderer, or `false` when capture cannot run.
36
+ * @example
37
+ * ```ts
38
+ * const board = univerAPI.getActiveBoard();
39
+ * if (!board) throw new Error('No active board');
40
+ * const target = board.resolveCaptureBounds({ padding: 48 });
41
+ * if (!target) throw new Error('Cannot resolve Board capture bounds');
42
+ * if (!target.ok) throw new Error(`Cannot capture Board: ${target.code}`);
43
+ * const screenshot = await board.getScreenshot({ bounds: target.bounds, scale: 2 });
44
+ * if (!screenshot) throw new Error('Cannot capture the active Board renderer');
45
+ * console.log(screenshot.dataUrl, screenshot.width, screenshot.height);
46
+ * ```
47
+ */
48
+ getScreenshot(options: CaptureBoardScreenshotOptions): Promise<CaptureBoardScreenshotResult>;
49
+ }
50
+ }
51
+ export {};
@@ -0,0 +1 @@
1
+ import './f-board-layout';
@@ -1,9 +1,14 @@
1
1
  import './global.css';
2
+ export { AnalyzeBoardRenderedLayoutCommand } from './commands/commands/analyze-board-rendered-layout.command';
3
+ export type { IAnalyzeBoardRenderedLayoutCommandParams } from './commands/commands/analyze-board-rendered-layout.command';
4
+ export { CaptureBoardScreenshotCommand } from './commands/commands/capture-board-screenshot.command';
5
+ export type { ICaptureBoardScreenshotCommandParams } from './commands/commands/capture-board-screenshot.command';
2
6
  export { BOARD_INSERT_CHART_DIALOG_ID, BOARD_INSERT_CHART_PANEL_COMPONENT, OpenBoardInsertChartDialogOperation, } from './commands/operations/board-chart-dialog.operation';
3
7
  export type { IOpenBoardInsertChartDialogOperationParams } from './commands/operations/board-chart-dialog.operation';
4
8
  export { BoardCopySelectionOperation, BoardCutSelectionOperation, BoardDeleteSelectionOperation, } from './commands/operations/board-selection.operation';
5
9
  export { BOARD_SHORTCUT_BINDINGS } from './common/board-shortcuts';
6
10
  export { BOARDS_UI_PLUGIN_CONFIG_KEY } from './config/config';
11
+ export { resolveBoardRenderAdapters } from './config/config';
7
12
  export type { BoardToolbarToolConfig, IUniverBoardsUIConfig, } from './config/config';
8
13
  export { BOARD_RENDER_LAYER_INDEX, BOARD_RENDER_OBJECT_Z_INDEX, } from './const';
9
14
  export { BOARD_MAIN_VIEWPORT_KEY } from './controllers/board-render.controller';
@@ -26,6 +31,8 @@ export type { IBoardElementStateSnapshot } from './services/board-element-state.
26
31
  export { IBoardEmbedRuntimeFocusCoordinator } from './services/board-embed-integration.service';
27
32
  export { BoardImageInsertService } from './services/board-image-insert.service';
28
33
  export { BoardInteractionSurfaceService } from './services/board-interaction-surface.service';
34
+ export { BOARD_SCREENSHOT_MAX_SCALE, BOARD_SCREENSHOT_MIN_SCALE, } from './services/board-screenshot.service';
35
+ export type { IBoardScreenshotOptions, IBoardScreenshotResult, } from './services/board-screenshot.service';
29
36
  export { BoardSelectionService } from './services/board-selection.service';
30
37
  export { BoardShapeIntrinsicSizeService } from './services/board-shape-intrinsic-size.service';
31
38
  export type { IBoardShapeIntrinsicSizeHostUpdateContext, IBoardShapeIntrinsicSizeProvider, } from './services/board-shape-intrinsic-size.service';
@@ -41,7 +48,8 @@ export { resolveRotatedBoardObjectAnchorBound } from './utils/board-floating-too
41
48
  export { resolveBoardFloatingToolbarSelection } from './utils/board-floating-toolbar-selection.util';
42
49
  export type { BoardFloatingToolbarOwner, IBoardFloatingToolbarSelection, IResolveBoardFloatingToolbarSelectionOptions, } from './utils/board-floating-toolbar-selection.util';
43
50
  export { resolveBoardInteractionConfig } from './utils/board-interaction-config.util';
51
+ export { resolveBoardElementBounds } from './utils/board-selection-geometry.util';
44
52
  export { getBoardPointFromClient } from './utils/board-viewport.util';
45
- export { BOARD_TOP_RIGHT_MENU_LEADING_PART } from './views/BoardSettingsMenu';
53
+ export { BOARD_SETTINGS_MENU_ACTIONS_PART, BOARD_TOP_RIGHT_MENU_LEADING_PART } from './views/BoardSettingsMenu';
46
54
  export { BoardShapeTextEditorContainer } from './views/BoardShapeTextEditorContainer';
47
55
  export { BoardWorkbench } from './views/BoardWorkbench';
@@ -109,8 +109,6 @@ declare const locale: {
109
109
  showDimensions: string;
110
110
  showToolbar: string;
111
111
  translateInto: string;
112
- import: string;
113
- export: string;
114
112
  };
115
113
  objectListPanel: {
116
114
  title: string;
@@ -195,7 +193,6 @@ declare const locale: {
195
193
  mindMap: string;
196
194
  resources: string;
197
195
  image: string;
198
- import: string;
199
196
  wrapInContainer: string;
200
197
  addSwimlaneLane: string;
201
198
  swimlaneMenu: string;
@@ -208,38 +205,6 @@ declare const locale: {
208
205
  sendToBack: string;
209
206
  more: string;
210
207
  };
211
- mermaidImport: {
212
- cancel: string;
213
- containerName: string;
214
- defaultContainerName: string;
215
- converting: string;
216
- emptyPreview: string;
217
- diagnostics: {
218
- emptyDraft: string;
219
- expandedBounds: string;
220
- invalidElement: string;
221
- renderElementFailed: string;
222
- previewPaused: string;
223
- };
224
- errors: {
225
- emptyCode: string;
226
- exchangeUnavailable: string;
227
- insertFailed: string;
228
- invalidDraft: string;
229
- };
230
- help: string;
231
- insert: string;
232
- renderPreview: string;
233
- inserting: string;
234
- types: {
235
- classDiagram: string;
236
- erDiagram: string;
237
- flowchart: string;
238
- mindMap: string;
239
- sequenceDiagram: string;
240
- stateDiagram: string;
241
- };
242
- };
243
208
  shapePresets: {
244
209
  roundedRectangle: string;
245
210
  oval: string;
@@ -499,6 +464,23 @@ declare const locale: {
499
464
  smoothElbow: string;
500
465
  bridge: string;
501
466
  insertText: string;
467
+ textSettings: string;
468
+ alignLeft: string;
469
+ alignCenter: string;
470
+ alignRight: string;
471
+ bold: string;
472
+ italic: string;
473
+ underline: string;
474
+ strikethrough: string;
475
+ textColor: string;
476
+ editText: string;
477
+ labelFill: string;
478
+ labelBorder: string;
479
+ transparent: string;
480
+ breakLineBehindText: string;
481
+ textSection: string;
482
+ labelSection: string;
483
+ deleteText: string;
502
484
  more: string;
503
485
  };
504
486
  routing: {
@@ -550,6 +532,10 @@ declare const locale: {
550
532
  zoom: {
551
533
  dragMode: string;
552
534
  fitContent: string;
535
+ zoomOptions: string;
536
+ zoomTo100: string;
537
+ zoomToFit: string;
538
+ zoomToSelection: string;
553
539
  zoomOut: string;
554
540
  resetZoom: string;
555
541
  zoomIn: string;