@univerjs-pro/boards-ui 1.0.2 → 1.0.4

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 (100) hide show
  1. package/lib/cjs/facade.js +1 -1
  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 -1
  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 -1
  46. package/lib/index.js +1 -1
  47. package/lib/locale/ar-SA.js +1 -1
  48. package/lib/locale/ca-ES.js +1 -1
  49. package/lib/locale/de-DE.js +1 -1
  50. package/lib/locale/en-US.js +1 -1
  51. package/lib/locale/es-ES.js +1 -1
  52. package/lib/locale/fa-IR.js +1 -1
  53. package/lib/locale/fr-FR.js +1 -1
  54. package/lib/locale/id-ID.js +1 -1
  55. package/lib/locale/it-IT.js +1 -1
  56. package/lib/locale/ja-JP.js +1 -1
  57. package/lib/locale/ko-KR.js +1 -1
  58. package/lib/locale/pl-PL.js +1 -1
  59. package/lib/locale/pt-BR.js +1 -1
  60. package/lib/locale/ru-RU.js +1 -1
  61. package/lib/locale/sk-SK.js +1 -1
  62. package/lib/locale/vi-VN.js +1 -1
  63. package/lib/locale/zh-CN.js +1 -1
  64. package/lib/locale/zh-HK.js +1 -1
  65. package/lib/locale/zh-TW.js +1 -1
  66. package/lib/shape-preset-labels-092BdVw3.js +1 -1
  67. package/lib/types/common/settings-actions.d.ts +26 -0
  68. package/lib/types/controllers/board-mermaid-import.controller.d.ts +9 -0
  69. package/lib/types/controllers/board-shape-hyper-link.render-controller.d.ts +10 -0
  70. package/lib/types/render-objects/board-document-text-render.util.d.ts +2 -0
  71. package/lib/types/render-objects/board-shape-object.d.ts +1 -0
  72. package/lib/types/services/board-mermaid-import.service.d.ts +82 -0
  73. package/lib/types/services/board-settings-action.service.d.ts +21 -0
  74. package/lib/types/utils/board-draft-insert-position.util.d.ts +13 -0
  75. package/lib/types/utils/board-mermaid-preview.util.d.ts +4 -0
  76. package/lib/types/views/BoardContainerRenamePopup.d.ts +7 -0
  77. package/lib/types/views/BoardMermaidImportDialog.d.ts +2 -0
  78. package/lib/types/views/BoardSwimlaneLaneRenamePopup.d.ts +7 -0
  79. package/lib/umd/facade.js +1 -1
  80. package/lib/umd/index.js +1 -1
  81. package/lib/umd/locale/ar-SA.js +1 -1
  82. package/lib/umd/locale/ca-ES.js +1 -1
  83. package/lib/umd/locale/de-DE.js +1 -1
  84. package/lib/umd/locale/en-US.js +1 -1
  85. package/lib/umd/locale/es-ES.js +1 -1
  86. package/lib/umd/locale/fa-IR.js +1 -1
  87. package/lib/umd/locale/fr-FR.js +1 -1
  88. package/lib/umd/locale/id-ID.js +1 -1
  89. package/lib/umd/locale/it-IT.js +1 -1
  90. package/lib/umd/locale/ja-JP.js +1 -1
  91. package/lib/umd/locale/ko-KR.js +1 -1
  92. package/lib/umd/locale/pl-PL.js +1 -1
  93. package/lib/umd/locale/pt-BR.js +1 -1
  94. package/lib/umd/locale/ru-RU.js +1 -1
  95. package/lib/umd/locale/sk-SK.js +1 -1
  96. package/lib/umd/locale/vi-VN.js +1 -1
  97. package/lib/umd/locale/zh-CN.js +1 -1
  98. package/lib/umd/locale/zh-HK.js +1 -1
  99. package/lib/umd/locale/zh-TW.js +1 -1
  100. package/package.json +18 -18
@@ -1 +1 @@
1
- const _0x43a7c7=_0x52f1;function _0x20fb(){const _0x434591=['Terminator','Curved\x20right\x20arrow','Cube','Four-way\x20arrow\x20callout','Movie\x20button','Bent-up\x20arrow','Left-up\x20arrow','Single\x20snip\x20corner\x20rectangle','32-point\x20star','Decagon','Document\x20button','Sun','Offline\x20storage','13864cCUTgq','Document','Circular\x20arrow','Arc','Same-side\x20snip\x20corner\x20rectangle','Lightning\x20bolt','Teardrop','4143515BPQqno','Divide','Plaque','Multiply','Rectangular\x20callout','197600EcJGFj','21692700xYJXKN','Up\x20arrow\x20callout','Magnetic\x20tape','Smiley\x20face','Explosion\x202','10-point\x20star','Merge','Bevel','Brace\x20pair','No\x20symbol','Delay','7-point\x20star','Accent\x20callout\x201','24-point\x20star','Magnetic\x20disk','Chart\x20plus','Ellipse\x20ribbon\x202','Ribbon\x202','Frame','Help\x20button','Explosion\x201','Off-page\x20connector','Right\x20arrow\x20callout','Accent\x20callout\x203','Corner','Forward\x20or\x20next\x20button','Internal\x20storage','Extract','Border\x20callout\x202','Up-down\x20arrow','Border\x20callout\x203','Snip\x20and\x20round\x20corner\x20rectangle','Preparation','Process','Multiple\x20documents','Home\x20button','Moon','Pie\x20wedge','Information\x20button','Chart\x20star','Plaque\x20tabs','Left\x20circular\x20arrow','Border\x20callout\x201','Left-right\x20ribbon','Chord','Connector','Gear\x209','Curved\x20up\x20arrow','4-point\x20star','Same-side\x20round\x20corner\x20rectangle','8-point\x20star','Diagonal\x20stripe','Corner\x20tabs','U-turn\x20arrow','329126qFOGAs','Callout\x201','608536dapHBE','Accent\x20border\x20callout\x203','Punched\x20tape','Single\x20round\x20corner\x20rectangle','Ellipse\x20ribbon','Decision','Left\x20bracket','Folded\x20corner','Manual\x20input','Sound\x20button','Funnel','28EeqmhC','Horizontal\x20scroll','Block\x20arc','Left-right\x20circular\x20arrow','Predefined\x20process','Diagonal\x20snip\x20corner\x20rectangle','Left-right\x20arrow\x20callout','Donut','Equal','Bent\x20arrow','Swoosh\x20arrow','End\x20button','Accent\x20callout\x202','Curved\x20down\x20arrow','Down\x20arrow\x20callout','Half\x20frame','Collate','Manual\x20operation','Four-way\x20arrow','Not\x20equal','Curved\x20left\x20arrow','Accent\x20border\x20callout\x201','Accent\x20border\x20callout\x202','6wKwjrW','Minus','Inverse\x20line','549RRjNtQ','Callout\x202','Bracket\x20pair','99387ldkNlV','Dodecagon','Sort','Up\x20arrow','12-point\x20star','Right\x20bracket','Back\x20or\x20previous\x20button','6-point\x20star'];_0x20fb=function(){return _0x434591;};return _0x20fb();}(function(_0x186be7,_0x30e73f){const _0x2646aa=_0x52f1,_0x4928a6=_0x186be7();while(!![]){try{const _0x4df2d5=-parseInt(_0x2646aa(0xa7))/0x1+-parseInt(_0x2646aa(0xf0))/0x2+parseInt(_0x2646aa(0xcf))/0x3*(-parseInt(_0x2646aa(0xb2))/0x4)+-parseInt(_0x2646aa(0xeb))/0x5*(parseInt(_0x2646aa(0xc9))/0x6)+parseInt(_0x2646aa(0xa5))/0x7+-parseInt(_0x2646aa(0xe4))/0x8*(-parseInt(_0x2646aa(0xcc))/0x9)+parseInt(_0x2646aa(0xf1))/0xa;if(_0x4df2d5===_0x30e73f)break;else _0x4928a6['push'](_0x4928a6['shift']());}catch(_0x5aad93){_0x4928a6['push'](_0x4928a6['shift']());}}}(_0x20fb,0x8744b));function _0x52f1(_0x5ceb30,_0x269b3e){_0x5ceb30=_0x5ceb30-0x99;const _0x20fb49=_0x20fb();let _0x52f15b=_0x20fb49[_0x5ceb30];return _0x52f15b;}const e={'snip1Rect':_0x43a7c7(0xde),'snip2SameRect':_0x43a7c7(0xe8),'snip2DiagRect':_0x43a7c7(0xb7),'snipRoundRect':_0x43a7c7(0x110),'round1Rect':_0x43a7c7(0xaa),'round2SameRect':_0x43a7c7(0xa0),'round2DiagRect':'Diagonal\x20round\x20corner\x20rectangle','heptagon':'Heptagon','decagon':_0x43a7c7(0xe0),'dodecagon':_0x43a7c7(0xd0),'pie':'Pie','chord':_0x43a7c7(0x9b),'teardrop':_0x43a7c7(0xea),'frame':_0x43a7c7(0x103),'halfFrame':_0x43a7c7(0xc1),'corner':_0x43a7c7(0x109),'diagStripe':_0x43a7c7(0xa2),'plaque':_0x43a7c7(0xed),'cube':_0x43a7c7(0xd9),'bevel':_0x43a7c7(0xf8),'donut':_0x43a7c7(0xb9),'noSmoking':_0x43a7c7(0xfa),'blockArc':_0x43a7c7(0xb4),'foldedCorner':_0x43a7c7(0xae),'smileyFace':_0x43a7c7(0xf4),'heart':'Heart','lightningBolt':_0x43a7c7(0xe9),'sun':_0x43a7c7(0xe2),'moon':_0x43a7c7(0x115),'arc':_0x43a7c7(0xe7),'bracketPair':_0x43a7c7(0xce),'bracePair':_0x43a7c7(0xf9),'leftBracket':_0x43a7c7(0xad),'rightBracket':_0x43a7c7(0xd4),'upArrow':_0x43a7c7(0xd2),'downArrow':'Down\x20arrow','upDownArrow':_0x43a7c7(0x10e),'quadArrow':_0x43a7c7(0xc4),'leftRightUpArrow':'Left-right-up\x20arrow','bentArrow':_0x43a7c7(0xbb),'uturnArrow':_0x43a7c7(0xa4),'leftUpArrow':_0x43a7c7(0xdd),'bentUpArrow':_0x43a7c7(0xdc),'curvedRightArrow':_0x43a7c7(0xd8),'curvedLeftArrow':_0x43a7c7(0xc6),'curvedUpArrow':_0x43a7c7(0x9e),'curvedDownArrow':_0x43a7c7(0xbf),'stripedRightArrow':'Striped\x20right\x20arrow','notchedRightArrow':'Notched\x20right\x20arrow','rightArrowCallout':_0x43a7c7(0x107),'downArrowCallout':_0x43a7c7(0xc0),'leftArrowCallout':'Left\x20arrow\x20callout','upArrowCallout':_0x43a7c7(0xf2),'leftRightArrowCallout':_0x43a7c7(0xb8),'quadArrowCallout':_0x43a7c7(0xda),'circularArrow':_0x43a7c7(0xe6),'mathMinus':_0x43a7c7(0xca),'mathMultiply':_0x43a7c7(0xee),'mathDivide':_0x43a7c7(0xec),'mathEqual':_0x43a7c7(0xba),'mathNotEqual':_0x43a7c7(0xc5),'flowChartProcess':_0x43a7c7(0x112),'flowChartAlternateProcess':'Alternate\x20process','flowChartDecision':_0x43a7c7(0xac),'flowChartInputOutput':'Input/output','flowChartPredefinedProcess':_0x43a7c7(0xb6),'flowChartInternalStorage':_0x43a7c7(0x10b),'flowChartDocument':_0x43a7c7(0xe5),'flowChartMultidocument':_0x43a7c7(0x113),'flowChartTerminator':_0x43a7c7(0xd7),'flowChartPreparation':_0x43a7c7(0x111),'flowChartManualInput':_0x43a7c7(0xaf),'flowChartManualOperation':_0x43a7c7(0xc3),'flowChartConnector':_0x43a7c7(0x9c),'flowChartOffpageConnector':_0x43a7c7(0x106),'flowChartPunchedCard':'Punched\x20card','flowChartPunchedTape':_0x43a7c7(0xa9),'flowChartSummingJunction':'Summing\x20junction','flowChartOr':'Or','flowChartCollate':_0x43a7c7(0xc2),'flowChartSort':_0x43a7c7(0xd1),'flowChartExtract':_0x43a7c7(0x10c),'flowChartMerge':_0x43a7c7(0xf7),'flowChartOnlineStorage':'Online\x20storage','flowChartDelay':_0x43a7c7(0xfb),'flowChartMagneticTape':_0x43a7c7(0xf3),'flowChartMagneticDisk':_0x43a7c7(0xff),'flowChartMagneticDrum':'Magnetic\x20drum','flowChartDisplay':'Display','irregularSeal1':_0x43a7c7(0x105),'irregularSeal2':_0x43a7c7(0xf5),'star4':_0x43a7c7(0x9f),'star6':_0x43a7c7(0xd6),'star7':_0x43a7c7(0xfc),'star8':_0x43a7c7(0xa1),'star10':_0x43a7c7(0xf6),'star12':_0x43a7c7(0xd3),'star16':'16-point\x20star','star24':_0x43a7c7(0xfe),'star32':_0x43a7c7(0xdf),'ribbon2':_0x43a7c7(0x102),'ribbon':'Ribbon','ellipseRibbon2':_0x43a7c7(0x101),'ellipseRibbon':_0x43a7c7(0xab),'verticalScroll':'Vertical\x20scroll','horizontalScroll':_0x43a7c7(0xb3),'wave':'Wave','doubleWave':'Double\x20wave','wedgeRectCallout':_0x43a7c7(0xef),'cloudCallout':'Cloud\x20callout','borderCallout1':_0x43a7c7(0x99),'borderCallout2':_0x43a7c7(0x10d),'borderCallout3':_0x43a7c7(0x10f),'accentCallout1':_0x43a7c7(0xfd),'accentCallout2':_0x43a7c7(0xbe),'accentCallout3':_0x43a7c7(0x108),'callout1':_0x43a7c7(0xa6),'callout2':_0x43a7c7(0xcd),'callout3':'Callout\x203','accentBorderCallout1':_0x43a7c7(0xc7),'accentBorderCallout2':_0x43a7c7(0xc8),'accentBorderCallout3':_0x43a7c7(0xa8),'leftCircularArrow':_0x43a7c7(0x11a),'leftRightCircularArrow':_0x43a7c7(0xb5),'swooshArrow':_0x43a7c7(0xbc),'leftRightRibbon':_0x43a7c7(0x9a),'pieWedge':_0x43a7c7(0x116),'funnel':_0x43a7c7(0xb1),'gear6':'Gear\x206','gear9':_0x43a7c7(0x9d),'cornerTabs':_0x43a7c7(0xa3),'actionButtonBackPrevious':_0x43a7c7(0xd5),'actionButtonForwardNext':_0x43a7c7(0x10a),'actionButtonBeginning':'Beginning\x20button','actionButtonEnd':_0x43a7c7(0xbd),'actionButtonHome':_0x43a7c7(0x114),'actionButtonInformation':_0x43a7c7(0x117),'actionButtonReturn':'Return\x20button','actionButtonMovie':_0x43a7c7(0xdb),'actionButtonDocument':_0x43a7c7(0xe1),'actionButtonSound':_0x43a7c7(0xb0),'actionButtonHelp':_0x43a7c7(0x104),'actionButtonBlank':'Blank\x20button','chartPlus':_0x43a7c7(0x100),'chartStar':_0x43a7c7(0x118),'chartX':'Chart\x20X','flowChartOfflineStorage':_0x43a7c7(0xe3),'lineInv':_0x43a7c7(0xcb),'plaqueTabs':_0x43a7c7(0x119),'squareTabs':'Square\x20tabs','upDownArrowCallout':'Up-down\x20arrow\x20callout'};export{e as t};
1
+ function _0x2cc5(){const _0x4ea157=['Sound\x20button','Alternate\x20process','Back\x20or\x20previous\x20button','1864048EyIVwn','Bevel','Heptagon','Multiply','Four-way\x20arrow','Funnel','Divide','Border\x20callout\x201','Offline\x20storage','Display','Decagon','Cube','Accent\x20callout\x202','Sort','Accent\x20callout\x203','Ribbon','Curved\x20right\x20arrow','Predefined\x20process','Left-right-up\x20arrow','Minus','Chart\x20X','4-point\x20star','Summing\x20junction','Magnetic\x20drum','Callout\x201','Preparation','32-point\x20star','Half\x20frame','Forward\x20or\x20next\x20button','Curved\x20down\x20arrow','Border\x20callout\x203','Document','Teardrop','40240JhTuJF','Information\x20button','Gear\x206','Four-way\x20arrow\x20callout','Online\x20storage','Punched\x20card','Beginning\x20button','Heart','Left-up\x20arrow','Manual\x20operation','Vertical\x20scroll','Pie','Magnetic\x20tape','Up\x20arrow\x20callout','Accent\x20border\x20callout\x201','Callout\x203','U-turn\x20arrow','Off-page\x20connector','Inverse\x20line','Folded\x20corner','No\x20symbol','Chart\x20plus','Equal','Swoosh\x20arrow','Same-side\x20snip\x20corner\x20rectangle','3tRTRHR','Chord','Manual\x20input','Down\x20arrow','Frame','Snip\x20and\x20round\x20corner\x20rectangle','2871702MSFSjA','822aFcTyt','Pie\x20wedge','Internal\x20storage','Ellipse\x20ribbon','Process','Home\x20button','Right\x20arrow\x20callout','End\x20button','Terminator','Extract','281008tFyJrO','Corner','Explosion\x201','Curved\x20up\x20arrow','Left\x20circular\x20arrow','Donut','Decision','Dodecagon','Blank\x20button','Diagonal\x20stripe','Bracket\x20pair','Up\x20arrow','8-point\x20star','Double\x20wave','Down\x20arrow\x20callout','Corner\x20tabs','Diagonal\x20snip\x20corner\x20rectangle','Left-right\x20circular\x20arrow','Arc','Left\x20arrow\x20callout','Merge','24-point\x20star','6-point\x20star','979794YjxAVK','Brace\x20pair','Wave','7-point\x20star','Ellipse\x20ribbon\x202','11289654nAypfm','12-point\x20star','5257124aBjbGB','Explosion\x202'];_0x2cc5=function(){return _0x4ea157;};return _0x2cc5();}const _0x35ac52=_0x230d;(function(_0x5c76ba,_0x400cc9){const _0x457f91=_0x230d,_0x3b5939=_0x5c76ba();while(!![]){try{const _0x2ebf88=parseInt(_0x457f91(0x18b))/0x1+parseInt(_0x457f91(0x169))/0x2*(parseInt(_0x457f91(0x163))/0x3)+-parseInt(_0x457f91(0x124))/0x4+-parseInt(_0x457f91(0x14a))/0x5*(parseInt(_0x457f91(0x16a))/0x6)+-parseInt(_0x457f91(0x174))/0x7+-parseInt(_0x457f91(0x129))/0x8+parseInt(_0x457f91(0x122))/0x9;if(_0x2ebf88===_0x400cc9)break;else _0x3b5939['push'](_0x3b5939['shift']());}catch(_0x3d81ca){_0x3b5939['push'](_0x3b5939['shift']());}}}(_0x2cc5,0xef44c));const e={'snip1Rect':'Single\x20snip\x20corner\x20rectangle','snip2SameRect':_0x35ac52(0x162),'snip2DiagRect':_0x35ac52(0x184),'snipRoundRect':_0x35ac52(0x168),'round1Rect':'Single\x20round\x20corner\x20rectangle','round2SameRect':'Same-side\x20round\x20corner\x20rectangle','round2DiagRect':'Diagonal\x20round\x20corner\x20rectangle','heptagon':_0x35ac52(0x12b),'decagon':_0x35ac52(0x133),'dodecagon':_0x35ac52(0x17b),'pie':_0x35ac52(0x155),'chord':_0x35ac52(0x164),'teardrop':_0x35ac52(0x149),'frame':_0x35ac52(0x167),'halfFrame':_0x35ac52(0x144),'corner':_0x35ac52(0x175),'diagStripe':_0x35ac52(0x17d),'plaque':'Plaque','cube':_0x35ac52(0x134),'bevel':_0x35ac52(0x12a),'donut':_0x35ac52(0x179),'noSmoking':_0x35ac52(0x15e),'blockArc':'Block\x20arc','foldedCorner':_0x35ac52(0x15d),'smileyFace':'Smiley\x20face','heart':_0x35ac52(0x151),'lightningBolt':'Lightning\x20bolt','sun':'Sun','moon':'Moon','arc':_0x35ac52(0x186),'bracketPair':_0x35ac52(0x17e),'bracePair':_0x35ac52(0x18c),'leftBracket':'Left\x20bracket','rightBracket':'Right\x20bracket','upArrow':_0x35ac52(0x17f),'downArrow':_0x35ac52(0x166),'upDownArrow':'Up-down\x20arrow','quadArrow':_0x35ac52(0x12d),'leftRightUpArrow':_0x35ac52(0x13b),'bentArrow':'Bent\x20arrow','uturnArrow':_0x35ac52(0x15a),'leftUpArrow':_0x35ac52(0x152),'bentUpArrow':'Bent-up\x20arrow','curvedRightArrow':_0x35ac52(0x139),'curvedLeftArrow':'Curved\x20left\x20arrow','curvedUpArrow':_0x35ac52(0x177),'curvedDownArrow':_0x35ac52(0x146),'stripedRightArrow':'Striped\x20right\x20arrow','notchedRightArrow':'Notched\x20right\x20arrow','rightArrowCallout':_0x35ac52(0x170),'downArrowCallout':_0x35ac52(0x182),'leftArrowCallout':_0x35ac52(0x187),'upArrowCallout':_0x35ac52(0x157),'leftRightArrowCallout':'Left-right\x20arrow\x20callout','quadArrowCallout':_0x35ac52(0x14d),'circularArrow':'Circular\x20arrow','mathMinus':_0x35ac52(0x13c),'mathMultiply':_0x35ac52(0x12c),'mathDivide':_0x35ac52(0x12f),'mathEqual':_0x35ac52(0x160),'mathNotEqual':'Not\x20equal','flowChartProcess':_0x35ac52(0x16e),'flowChartAlternateProcess':_0x35ac52(0x127),'flowChartDecision':_0x35ac52(0x17a),'flowChartInputOutput':'Input/output','flowChartPredefinedProcess':_0x35ac52(0x13a),'flowChartInternalStorage':_0x35ac52(0x16c),'flowChartDocument':_0x35ac52(0x148),'flowChartMultidocument':'Multiple\x20documents','flowChartTerminator':_0x35ac52(0x172),'flowChartPreparation':_0x35ac52(0x142),'flowChartManualInput':_0x35ac52(0x165),'flowChartManualOperation':_0x35ac52(0x153),'flowChartConnector':'Connector','flowChartOffpageConnector':_0x35ac52(0x15b),'flowChartPunchedCard':_0x35ac52(0x14f),'flowChartPunchedTape':'Punched\x20tape','flowChartSummingJunction':_0x35ac52(0x13f),'flowChartOr':'Or','flowChartCollate':'Collate','flowChartSort':_0x35ac52(0x136),'flowChartExtract':_0x35ac52(0x173),'flowChartMerge':_0x35ac52(0x188),'flowChartOnlineStorage':_0x35ac52(0x14e),'flowChartDelay':'Delay','flowChartMagneticTape':_0x35ac52(0x156),'flowChartMagneticDisk':'Magnetic\x20disk','flowChartMagneticDrum':_0x35ac52(0x140),'flowChartDisplay':_0x35ac52(0x132),'irregularSeal1':_0x35ac52(0x176),'irregularSeal2':_0x35ac52(0x125),'star4':_0x35ac52(0x13e),'star6':_0x35ac52(0x18a),'star7':_0x35ac52(0x120),'star8':_0x35ac52(0x180),'star10':'10-point\x20star','star12':_0x35ac52(0x123),'star16':'16-point\x20star','star24':_0x35ac52(0x189),'star32':_0x35ac52(0x143),'ribbon2':'Ribbon\x202','ribbon':_0x35ac52(0x138),'ellipseRibbon2':_0x35ac52(0x121),'ellipseRibbon':_0x35ac52(0x16d),'verticalScroll':_0x35ac52(0x154),'horizontalScroll':'Horizontal\x20scroll','wave':_0x35ac52(0x11f),'doubleWave':_0x35ac52(0x181),'wedgeRectCallout':'Rectangular\x20callout','cloudCallout':'Cloud\x20callout','borderCallout1':_0x35ac52(0x130),'borderCallout2':'Border\x20callout\x202','borderCallout3':_0x35ac52(0x147),'accentCallout1':'Accent\x20callout\x201','accentCallout2':_0x35ac52(0x135),'accentCallout3':_0x35ac52(0x137),'callout1':_0x35ac52(0x141),'callout2':'Callout\x202','callout3':_0x35ac52(0x159),'accentBorderCallout1':_0x35ac52(0x158),'accentBorderCallout2':'Accent\x20border\x20callout\x202','accentBorderCallout3':'Accent\x20border\x20callout\x203','leftCircularArrow':_0x35ac52(0x178),'leftRightCircularArrow':_0x35ac52(0x185),'swooshArrow':_0x35ac52(0x161),'leftRightRibbon':'Left-right\x20ribbon','pieWedge':_0x35ac52(0x16b),'funnel':_0x35ac52(0x12e),'gear6':_0x35ac52(0x14c),'gear9':'Gear\x209','cornerTabs':_0x35ac52(0x183),'actionButtonBackPrevious':_0x35ac52(0x128),'actionButtonForwardNext':_0x35ac52(0x145),'actionButtonBeginning':_0x35ac52(0x150),'actionButtonEnd':_0x35ac52(0x171),'actionButtonHome':_0x35ac52(0x16f),'actionButtonInformation':_0x35ac52(0x14b),'actionButtonReturn':'Return\x20button','actionButtonMovie':'Movie\x20button','actionButtonDocument':'Document\x20button','actionButtonSound':_0x35ac52(0x126),'actionButtonHelp':'Help\x20button','actionButtonBlank':_0x35ac52(0x17c),'chartPlus':_0x35ac52(0x15f),'chartStar':'Chart\x20star','chartX':_0x35ac52(0x13d),'flowChartOfflineStorage':_0x35ac52(0x131),'lineInv':_0x35ac52(0x15c),'plaqueTabs':'Plaque\x20tabs','squareTabs':'Square\x20tabs','upDownArrowCallout':'Up-down\x20arrow\x20callout'};function _0x230d(_0x1011e3,_0x3c1ef1){_0x1011e3=_0x1011e3-0x11f;const _0x2cc580=_0x2cc5();let _0x230d06=_0x2cc580[_0x1011e3];return _0x230d06;}export{e as t};
@@ -0,0 +1,26 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { IUniverBoardsUIConfig } from '../config/config';
3
+ import type { LocaleKey } from '../locale/types';
4
+ export declare const BoardSettingsActionType: {
5
+ readonly Translate: "translate";
6
+ readonly Import: "import";
7
+ readonly Export: "export";
8
+ };
9
+ export type BoardSettingsActionType = typeof BoardSettingsActionType[keyof typeof BoardSettingsActionType];
10
+ export type BoardSettingsActionConfig = boolean | {
11
+ enabled?: boolean;
12
+ };
13
+ export interface IBoardSettingsActionDefinition {
14
+ type: BoardSettingsActionType;
15
+ labelKey: LocaleKey;
16
+ icon: ComponentType<{
17
+ className?: string;
18
+ }>;
19
+ iconClassName?: string;
20
+ enabledByDefault: boolean;
21
+ }
22
+ export interface IResolvedBoardSettingsAction extends Omit<IBoardSettingsActionDefinition, 'enabledByDefault'> {
23
+ disabled: boolean;
24
+ }
25
+ export declare const BOARD_SETTINGS_ACTION_DEFINITIONS: IBoardSettingsActionDefinition[];
26
+ export declare function resolveBoardSettingsActions(config?: Pick<IUniverBoardsUIConfig, 'settingsMenu'>): IResolvedBoardSettingsAction[];
@@ -0,0 +1,9 @@
1
+ import { IBoardImportAdapterService } from '@univerjs-pro/boards';
2
+ import { Disposable } from '@univerjs/core';
3
+ import { IBoardMermaidImportService } from '../services/board-mermaid-import.service';
4
+ export declare class BoardMermaidImportController extends Disposable {
5
+ private readonly _importAdapterService;
6
+ private readonly _mermaidImportService;
7
+ constructor(_importAdapterService: IBoardImportAdapterService, _mermaidImportService: IBoardMermaidImportService);
8
+ private _initAdapter;
9
+ }
@@ -0,0 +1,10 @@
1
+ import type { BoardModel } from '@univerjs-pro/boards';
2
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
+ import { ShapeTextHyperLinkHoverController, ShapeTextHyperLinkPopupService } from '@univerjs-pro/shape-editor-ui';
4
+ import { IPermissionService } from '@univerjs/core';
5
+ import { BoardCanvasPopManagerService } from '../services/board-canvas-pop-manager.service';
6
+ import { BoardTextEditingService } from '../services/board-text-editing.service';
7
+ import { IBoardUIStateService } from '../services/board-ui-state.service';
8
+ export declare class BoardShapeHyperLinkRenderController extends ShapeTextHyperLinkHoverController implements IRenderModule {
9
+ constructor(context: IRenderContext<BoardModel>, popupService: ShapeTextHyperLinkPopupService, editingService: BoardTextEditingService, popupManager: BoardCanvasPopManagerService, uiState: IBoardUIStateService, permissionService: IPermissionService);
10
+ }
@@ -1,3 +1,4 @@
1
+ import type { IShapeTextHyperLinkRegion } from '@univerjs-pro/shape-editor-ui';
1
2
  import type { BooleanNumber, HorizontalAlign, IDisposable, IDocumentData, LocaleService } from '@univerjs/core';
2
3
  import type { UniverRenderingContext } from '@univerjs/engine-render';
3
4
  import type { Observable } from 'rxjs';
@@ -52,6 +53,7 @@ export interface IBoardDocumentTextRenderResources {
52
53
  width: number;
53
54
  }
54
55
  export interface IBoardDocumentTextRenderCache {
56
+ hyperLinkRegions?: IShapeTextHyperLinkRegion[];
55
57
  signature?: string;
56
58
  resources?: IBoardDocumentTextRenderResources;
57
59
  }
@@ -56,6 +56,7 @@ export declare class BoardShapeObject extends Shape<IBoardShapeObjectProps> {
56
56
  constructor(key: string, config: IBoardShapeObjectProps);
57
57
  updateElement(element: IBoardShapeElement): void;
58
58
  private _refreshTitleColors;
59
+ resolveHyperLinkAt(coord: Vector2): import("@univerjs-pro/shape-editor-ui/utils/shape-text-hyper-link-hit.js").IShapeTextHyperLinkHit | null;
59
60
  getElement(): IBoardShapeElement;
60
61
  getShapeModel(): ShapeModel;
61
62
  setFormulaPresentation(presentation: IShapeFormulaPresentation | undefined, animate?: boolean): void;
@@ -0,0 +1,82 @@
1
+ import type * as WendellhuRediTypes from "@wendellhu/redi";
2
+ import type { IBoardImportDiagnostic, IBoardImportDraft } from '@univerjs-pro/boards';
3
+ import type { IDisposable } from '@univerjs/core';
4
+ import type { Observable } from 'rxjs';
5
+ import { IBoardElementService } from '@univerjs-pro/boards';
6
+ import { IExchangeService } from '@univerjs-pro/exchange-client';
7
+ import { ICommandService, LocaleService } from '@univerjs/core';
8
+ import { IBoardElementStateService } from './board-element-state.service';
9
+ import { IBoardUIStateService } from './board-ui-state.service';
10
+ export declare const BOARD_MERMAID_IMPORT_SOURCE_TYPE = "mermaid";
11
+ export declare const BoardMermaidImportErrorKey: {
12
+ readonly ExchangeUnavailable: "boards-ui.mermaidImport.errors.exchangeUnavailable";
13
+ readonly EmptyCode: "boards-ui.mermaidImport.errors.emptyCode";
14
+ readonly InvalidDraft: "boards-ui.mermaidImport.errors.invalidDraft";
15
+ readonly InsertFailed: "boards-ui.mermaidImport.errors.insertFailed";
16
+ };
17
+ export type BoardMermaidImportErrorKey = typeof BoardMermaidImportErrorKey[keyof typeof BoardMermaidImportErrorKey];
18
+ export declare const MERMAID_CODE_SAMPLES: Record<string, string>;
19
+ export declare const DEFAULT_MERMAID_CODE: string;
20
+ export interface IBoardMermaidImportContext {
21
+ unitId: string;
22
+ subUnitId: string;
23
+ }
24
+ export interface IBoardMermaidImportState extends IBoardMermaidImportContext {
25
+ open: boolean;
26
+ code: string;
27
+ containerName: string;
28
+ diagramType: string;
29
+ converting: boolean;
30
+ inserting: boolean;
31
+ draft: IBoardImportDraft | null;
32
+ diagnostics: IBoardImportDiagnostic[];
33
+ error: IBoardMermaidImportError | null;
34
+ }
35
+ export interface IBoardMermaidConvertOptions {
36
+ diagramType?: string;
37
+ fileName?: string;
38
+ }
39
+ export interface IBoardMermaidInsertOptions {
40
+ containerName?: string;
41
+ selectAfterInsert?: boolean;
42
+ }
43
+ export interface IBoardMermaidImportError {
44
+ key: BoardMermaidImportErrorKey;
45
+ detail?: string;
46
+ }
47
+ export interface IBoardMermaidImportService {
48
+ readonly state$: Observable<IBoardMermaidImportState>;
49
+ getState(): IBoardMermaidImportState;
50
+ openImport(context: IBoardMermaidImportContext): void;
51
+ close(): void;
52
+ updateCode(code: string): void;
53
+ updateContainerName(containerName: string): void;
54
+ updateDiagramType(diagramType: string): void;
55
+ convertMermaidToBoardDraft(code: string, options?: IBoardMermaidConvertOptions): Promise<IBoardImportDraft>;
56
+ convertCurrentCode(): Promise<IBoardImportDraft | null>;
57
+ insertCurrentDraft(options?: IBoardMermaidInsertOptions): Promise<boolean>;
58
+ }
59
+ export declare const IBoardMermaidImportService: WendellhuRediTypes.IdentifierDecorator<IBoardMermaidImportService>;
60
+ export declare class BoardMermaidImportService implements IBoardMermaidImportService, IDisposable {
61
+ private readonly _boardElementService;
62
+ private readonly _uiStateService;
63
+ private readonly _elementStateService;
64
+ private readonly _localeService;
65
+ private readonly _commandService;
66
+ private readonly _exchangeService?;
67
+ private readonly _state$;
68
+ private _convertRequestId;
69
+ readonly state$: Observable<IBoardMermaidImportState>;
70
+ constructor(_boardElementService: IBoardElementService, _uiStateService: IBoardUIStateService, _elementStateService: IBoardElementStateService, _localeService: LocaleService, _commandService: ICommandService, _exchangeService?: IExchangeService | undefined);
71
+ dispose(): void;
72
+ getState(): IBoardMermaidImportState;
73
+ openImport(context: IBoardMermaidImportContext): void;
74
+ close(): void;
75
+ updateCode(code: string): void;
76
+ updateContainerName(containerName: string): void;
77
+ updateDiagramType(diagramType: string): void;
78
+ convertMermaidToBoardDraft(code: string, options?: IBoardMermaidConvertOptions): Promise<IBoardImportDraft>;
79
+ convertCurrentCode(): Promise<IBoardImportDraft | null>;
80
+ insertCurrentDraft(options?: IBoardMermaidInsertOptions): Promise<boolean>;
81
+ asDisposable(): IDisposable;
82
+ }
@@ -0,0 +1,21 @@
1
+ import type { BoardModel } from '@univerjs-pro/boards';
2
+ import type { IDisposable } from '@univerjs/core';
3
+ import { ICommandService } from '@univerjs/core';
4
+ import { BoardSettingsActionType } from '../common/settings-actions';
5
+ export interface IBoardSettingsActionContext {
6
+ type: BoardSettingsActionType;
7
+ boardModel: BoardModel;
8
+ unitId: string;
9
+ subUnitId: string;
10
+ }
11
+ export interface IBoardSettingsActionAdapter {
12
+ executeAction(context: IBoardSettingsActionContext): boolean | Promise<boolean>;
13
+ }
14
+ export declare class BoardSettingsActionService {
15
+ private readonly _commandService;
16
+ private readonly _adapters;
17
+ constructor(_commandService: ICommandService);
18
+ registerAdapter(adapter: IBoardSettingsActionAdapter): IDisposable;
19
+ executeAction(type: BoardSettingsActionType, boardModel: BoardModel | null | undefined): Promise<boolean>;
20
+ private _executeDefaultAction;
21
+ }
@@ -0,0 +1,13 @@
1
+ export interface IBoardDraftInsertRect {
2
+ left: number;
3
+ top: number;
4
+ width: number;
5
+ height: number;
6
+ }
7
+ export interface IResolveBoardDraftInsertPositionOptions {
8
+ draftBounds?: Partial<IBoardDraftInsertRect> | null;
9
+ existingRects?: IBoardDraftInsertRect[];
10
+ preferredPosition?: Pick<IBoardDraftInsertRect, 'left' | 'top'>;
11
+ gap?: number;
12
+ }
13
+ export declare function resolveBoardDraftInsertPosition(options: IResolveBoardDraftInsertPositionOptions): Pick<IBoardDraftInsertRect, 'left' | 'top'>;
@@ -0,0 +1,4 @@
1
+ import type { IBoardImportDiagnostic, IBoardImportDraft } from '@univerjs-pro/boards';
2
+ export declare const MAX_AUTO_MERMAID_PREVIEW_ELEMENTS = 300;
3
+ export declare function shouldAutoRenderMermaidPreview(draft: IBoardImportDraft | null): boolean;
4
+ export declare function areImportDiagnosticsEqual(left: IBoardImportDiagnostic[], right: IBoardImportDiagnostic[]): boolean;
@@ -0,0 +1,7 @@
1
+ import type * as ReactTypes from "react";
2
+ export interface IBoardContainerRenamePopupProps {
3
+ initialTitle: string;
4
+ onCancel: () => void;
5
+ onSubmit: (title: string) => void | Promise<void>;
6
+ }
7
+ export declare function BoardContainerRenamePopup(props: IBoardContainerRenamePopupProps): ReactTypes.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type * as ReactTypes from "react";
2
+ export declare function BoardMermaidImportDialog(): ReactTypes.JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ import type * as ReactTypes from "react";
2
+ export interface IBoardSwimlaneLaneRenamePopupProps {
3
+ initialTitle: string;
4
+ onCancel: () => void;
5
+ onSubmit: (title: string) => void | Promise<void>;
6
+ }
7
+ export declare function BoardSwimlaneLaneRenamePopup(props: IBoardSwimlaneLaneRenamePopupProps): ReactTypes.JSX.Element;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1d54(){var _0x4c84fa=['CaptureBoardScreenshotCommand','2230WFEqLO','50GLyzJA','_commandService','syncExecuteCommand','getObjectListPanelOpen','GetBoardSettingsOperation','GetBoardInteractionModeOperation','9172yYDVNU','2210otdCPT','915wAxcPt','findElementsByText','FEnum','getActivePageId','FindBoardElementsByTextOperation','getSettings','FBoard','UniverProBoardsFacade','@univerjs-pro/boards/facade','object','16NmyWao','setObjectListPanelOpen','@univerjs-pro/boards-ui','SetBoardInteractionModeOperation','7979790YLIPFD','FocusBoardElementOperation','getInteractionMode','@univerjs/core/facade','6970865TxunFx','SetBoardObjectListPanelOpenOperation','extend','getElementViewportPoint','7045299HmLHtX','GetBoardElementViewportPointOperation','focusElement','setSettings','executeCommand','7060062hZZcMP','UniverCoreFacade','865219seWjzT','BoardInteractionMode','AnalyzeBoardRenderedLayoutCommand','setInteractionMode','function'];_0x1d54=function(){return _0x4c84fa;};return _0x1d54();}function _0xf26b(_0x254bad,_0x5f57d5){_0x254bad=_0x254bad-0x1c8;var _0x1d5443=_0x1d54();var _0xf26b55=_0x1d5443[_0x254bad];return _0xf26b55;}(function(_0x36e631,_0x257ffd){var _0x2d185a=_0xf26b,_0x31b10b=_0x36e631();while(!![]){try{var _0x398c80=parseInt(_0x2d185a(0x1cc))/0x1+parseInt(_0x2d185a(0x1d2))/0x2*(-parseInt(_0x2d185a(0x1db))/0x3)+-parseInt(_0x2d185a(0x1d9))/0x4*(-parseInt(_0x2d185a(0x1da))/0x5)+-parseInt(_0x2d185a(0x1ca))/0x6+-parseInt(_0x2d185a(0x1e9))/0x7+parseInt(_0x2d185a(0x1e5))/0x8*(-parseInt(_0x2d185a(0x1f1))/0x9)+-parseInt(_0x2d185a(0x1d3))/0xa*(-parseInt(_0x2d185a(0x1ed))/0xb);if(_0x398c80===_0x257ffd)break;else _0x31b10b['push'](_0x31b10b['shift']());}catch(_0x3bb4af){_0x31b10b['push'](_0x31b10b['shift']());}}}(_0x1d54,0xc967c),function(_0x4114f0,_0x547690){var _0x20f6ce=_0xf26b;typeof exports==_0x20f6ce(0x1e4)&&typeof module<'u'?_0x547690(require('@univerjs-pro/boards-ui'),require('@univerjs-pro/boards/facade'),require('@univerjs/core/facade')):typeof define==_0x20f6ce(0x1d0)&&define['amd']?define([_0x20f6ce(0x1e7),_0x20f6ce(0x1e3),_0x20f6ce(0x1ec)],_0x547690):(_0x4114f0=typeof globalThis<'u'?globalThis:_0x4114f0||self,_0x547690(_0x4114f0['UniverProBoardsUi'],_0x4114f0[_0x20f6ce(0x1e2)],_0x4114f0[_0x20f6ce(0x1cb)]));}(this,function(_0x242330,_0x453fee,_0x4902e1){var _0x574311=_0xf26b,_0x352d94=class extends _0x453fee[_0x574311(0x1e1)]{['analyzeRenderedLayout'](_0x73edea){var _0x5e6d08=_0x574311;return this[_0x5e6d08(0x1d4)][_0x5e6d08(0x1d5)](_0x242330[_0x5e6d08(0x1ce)]['id'],{'unitId':this['id'],'subUnitId':this['_boardModel'][_0x5e6d08(0x1de)](),'focusPadding':_0x73edea});}['getScreenshot'](_0x5e129e){var _0x66f9c=_0x574311;return this[_0x66f9c(0x1d4)][_0x66f9c(0x1c9)](_0x242330[_0x66f9c(0x1d1)]['id'],{..._0x5e129e,'unitId':this['id'],'subUnitId':this['_boardModel'][_0x66f9c(0x1de)]()});}};_0x453fee[_0x574311(0x1e1)][_0x574311(0x1ef)](_0x352d94);var _0x3fdc59=class extends _0x4902e1[_0x574311(0x1dd)]{get[_0x574311(0x1cd)](){return _0x242330['BoardInteractionMode'];}};_0x4902e1[_0x574311(0x1dd)][_0x574311(0x1ef)](_0x3fdc59);var _0x5b1c64=class extends _0x453fee['FBoard']{[_0x574311(0x1eb)](){var _0x4a2b68=_0x574311;return this[_0x4a2b68(0x1d4)][_0x4a2b68(0x1d5)](_0x242330[_0x4a2b68(0x1d8)]['id'],{'unitId':this['id']});}[_0x574311(0x1cf)](_0x3c4a92){var _0x1853c1=_0x574311;return this[_0x1853c1(0x1d4)]['executeCommand'](_0x242330[_0x1853c1(0x1e8)]['id'],{'unitId':this['id'],'mode':_0x3c4a92});}[_0x574311(0x1e0)](){var _0x553ed4=_0x574311;return this[_0x553ed4(0x1d4)]['syncExecuteCommand'](_0x242330[_0x553ed4(0x1d7)]['id'],{'unitId':this['id']});}[_0x574311(0x1c8)](_0x101061){var _0xdf3d50=_0x574311;return this[_0xdf3d50(0x1d4)][_0xdf3d50(0x1d5)](_0x242330['SetBoardSettingsOperation']['id'],{'unitId':this['id'],'settings':_0x101061});}[_0x574311(0x1d6)](){var _0x13d28a=_0x574311;return this[_0x13d28a(0x1d4)]['syncExecuteCommand'](_0x242330['GetBoardObjectListPanelOpenOperation']['id'],{'unitId':this['id']});}[_0x574311(0x1e6)](_0x55d4ef){var _0x55302f=_0x574311;return this['_commandService'][_0x55302f(0x1d5)](_0x242330[_0x55302f(0x1ee)]['id'],{'unitId':this['id'],'open':_0x55d4ef});}[_0x574311(0x1dc)](_0x164b7b){var _0x5e8606=_0x574311;return this[_0x5e8606(0x1d4)]['syncExecuteCommand'](_0x242330[_0x5e8606(0x1df)]['id'],{'unitId':this['id'],'query':_0x164b7b});}[_0x574311(0x1f3)](_0x3b24f7,_0x2f6508){var _0x45f168=_0x574311;return this[_0x45f168(0x1d4)][_0x45f168(0x1d5)](_0x242330[_0x45f168(0x1ea)]['id'],{'unitId':this['id'],'elementId':_0x3b24f7,'viewportPoint':_0x2f6508});}[_0x574311(0x1f0)](_0x1aaefb){var _0x55fa2f=_0x574311;return this[_0x55fa2f(0x1d4)]['syncExecuteCommand'](_0x242330[_0x55fa2f(0x1f2)]['id'],{'unitId':this['id'],'elementId':_0x1aaefb});}};_0x453fee[_0x574311(0x1e1)][_0x574311(0x1ef)](_0x5b1c64);}));
1
+ function _0x125e(_0x8b9694,_0x51f650){_0x8b9694=_0x8b9694-0x19b;var _0x4f25b6=_0x4f25();var _0x125e4f=_0x4f25b6[_0x8b9694];return _0x125e4f;}(function(_0x2edc7e,_0xe79a21){var _0x1ffbc1=_0x125e,_0x27330d=_0x2edc7e();while(!![]){try{var _0x270f13=-parseInt(_0x1ffbc1(0x1a3))/0x1+parseInt(_0x1ffbc1(0x1a2))/0x2+-parseInt(_0x1ffbc1(0x1ac))/0x3+-parseInt(_0x1ffbc1(0x1a4))/0x4+parseInt(_0x1ffbc1(0x1a1))/0x5*(-parseInt(_0x1ffbc1(0x1b2))/0x6)+-parseInt(_0x1ffbc1(0x1a5))/0x7*(-parseInt(_0x1ffbc1(0x19e))/0x8)+parseInt(_0x1ffbc1(0x1a7))/0x9;if(_0x270f13===_0xe79a21)break;else _0x27330d['push'](_0x27330d['shift']());}catch(_0x949a2f){_0x27330d['push'](_0x27330d['shift']());}}}(_0x4f25,0xb09af),function(_0x2127de,_0x24e098){var _0x2a9074=_0x125e;typeof exports=='object'&&typeof module<'u'?_0x24e098(require('@univerjs-pro/boards-ui'),require('@univerjs-pro/boards/facade'),require('@univerjs/core/facade')):typeof define==_0x2a9074(0x1a0)&&define['amd']?define(['@univerjs-pro/boards-ui',_0x2a9074(0x1ae),'@univerjs/core/facade'],_0x24e098):(_0x2127de=typeof globalThis<'u'?globalThis:_0x2127de||self,_0x24e098(_0x2127de[_0x2a9074(0x1b0)],_0x2127de[_0x2a9074(0x1be)],_0x2127de[_0x2a9074(0x1b5)]));}(this,function(_0x3a1ac7,_0x4a7875,_0x922260){var _0x12b295=_0x125e,_0x1ebe26=class extends _0x4a7875[_0x12b295(0x1bd)]{[_0x12b295(0x1af)](_0x25f58c){var _0x466617=_0x12b295;return this[_0x466617(0x1b1)][_0x466617(0x1aa)](_0x3a1ac7[_0x466617(0x1b9)]['id'],{'unitId':this['id'],'subUnitId':this[_0x466617(0x1b6)][_0x466617(0x1b4)](),'focusPadding':_0x25f58c});}[_0x12b295(0x1b8)](_0x2480d6){var _0x4bda92=_0x12b295;return this['_commandService'][_0x4bda92(0x1ba)](_0x3a1ac7[_0x4bda92(0x1b3)]['id'],{..._0x2480d6,'unitId':this['id'],'subUnitId':this[_0x4bda92(0x1b6)][_0x4bda92(0x1b4)]()});}};_0x4a7875[_0x12b295(0x1bd)]['extend'](_0x1ebe26);var _0x1cdcfb=class extends _0x922260['FEnum']{get[_0x12b295(0x1a8)](){return _0x3a1ac7['BoardInteractionMode'];}};_0x922260['FEnum'][_0x12b295(0x1b7)](_0x1cdcfb);var _0x4f52d9=class extends _0x4a7875['FBoard']{[_0x12b295(0x1c0)](){var _0x3bb668=_0x12b295;return this[_0x3bb668(0x1b1)][_0x3bb668(0x1aa)](_0x3a1ac7[_0x3bb668(0x1ab)]['id'],{'unitId':this['id']});}[_0x12b295(0x1a6)](_0x5c6637){var _0xe0e92b=_0x12b295;return this[_0xe0e92b(0x1b1)][_0xe0e92b(0x1ba)](_0x3a1ac7['SetBoardInteractionModeOperation']['id'],{'unitId':this['id'],'mode':_0x5c6637});}[_0x12b295(0x19c)](){var _0x2991ff=_0x12b295;return this[_0x2991ff(0x1b1)][_0x2991ff(0x1aa)](_0x3a1ac7[_0x2991ff(0x19f)]['id'],{'unitId':this['id']});}['setSettings'](_0x3ab462){var _0x6887a=_0x12b295;return this[_0x6887a(0x1b1)][_0x6887a(0x1aa)](_0x3a1ac7[_0x6887a(0x1bf)]['id'],{'unitId':this['id'],'settings':_0x3ab462});}[_0x12b295(0x1bb)](){var _0x5ca45f=_0x12b295;return this[_0x5ca45f(0x1b1)][_0x5ca45f(0x1aa)](_0x3a1ac7[_0x5ca45f(0x19b)]['id'],{'unitId':this['id']});}['setObjectListPanelOpen'](_0x2489e0){var _0x2924da=_0x12b295;return this[_0x2924da(0x1b1)]['syncExecuteCommand'](_0x3a1ac7[_0x2924da(0x19d)]['id'],{'unitId':this['id'],'open':_0x2489e0});}['findElementsByText'](_0x496ed4){var _0x563034=_0x12b295;return this[_0x563034(0x1b1)][_0x563034(0x1aa)](_0x3a1ac7[_0x563034(0x1ad)]['id'],{'unitId':this['id'],'query':_0x496ed4});}['focusElement'](_0x4d97b6,_0x391d1c){var _0x1dfa84=_0x12b295;return this[_0x1dfa84(0x1b1)][_0x1dfa84(0x1aa)](_0x3a1ac7['FocusBoardElementOperation']['id'],{'unitId':this['id'],'elementId':_0x4d97b6,'viewportPoint':_0x391d1c});}[_0x12b295(0x1a9)](_0x34aac2){var _0xe11282=_0x12b295;return this[_0xe11282(0x1b1)][_0xe11282(0x1aa)](_0x3a1ac7[_0xe11282(0x1bc)]['id'],{'unitId':this['id'],'elementId':_0x34aac2});}};_0x4a7875[_0x12b295(0x1bd)][_0x12b295(0x1b7)](_0x4f52d9);}));function _0x4f25(){var _0x53f840=['getActivePageId','UniverCoreFacade','_boardModel','extend','getScreenshot','AnalyzeBoardRenderedLayoutCommand','executeCommand','getObjectListPanelOpen','GetBoardElementViewportPointOperation','FBoard','UniverProBoardsFacade','SetBoardSettingsOperation','getInteractionMode','GetBoardObjectListPanelOpenOperation','getSettings','SetBoardObjectListPanelOpenOperation','350936roPqFF','GetBoardSettingsOperation','function','3513020yzNzXu','198034NzfnEB','630431XWgqyG','879592IWhfvY','35fEOskK','setInteractionMode','25152966oXsEZl','BoardInteractionMode','getElementViewportPoint','syncExecuteCommand','GetBoardInteractionModeOperation','402642TdeHBj','FindBoardElementsByTextOperation','@univerjs-pro/boards/facade','analyzeRenderedLayout','UniverProBoardsUi','_commandService','12dhNjnW','CaptureBoardScreenshotCommand'];_0x4f25=function(){return _0x53f840;};return _0x4f25();}