@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
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x11d0(){var _0x435901=['getScreenshot','SetBoardObjectListPanelOpenOperation','GetBoardElementViewportPointOperation','executeCommand','FindBoardElementsByTextOperation','FBoard','syncExecuteCommand','238300CFQbNu','297940lWGrKI','FEnum','_commandService','FocusBoardElementOperation','setObjectListPanelOpen','SetBoardSettingsOperation','5083EhwUTy','3283552itbjnG','BoardInteractionMode','setSettings','90RORrAF','2535882RFHKjz','18011191SgcIlP','getInteractionMode','13023kQdcGG','GetBoardSettingsOperation','GetBoardObjectListPanelOpenOperation','18CjjsgD','findElementsByText','getObjectListPanelOpen','setInteractionMode','44724QkXHBf','getElementViewportPoint','AnalyzeBoardRenderedLayoutCommand','extend','getActivePageId','7gxOkiO','14bAFZsY','CaptureBoardScreenshotCommand','10JghaDT'];_0x11d0=function(){return _0x435901;};return _0x11d0();}var _0x11d86b=_0x4089;function _0x4089(_0x34b890,_0x2742c1){_0x34b890=_0x34b890-0xfe;var _0x11d0dc=_0x11d0();var _0x4089f5=_0x11d0dc[_0x34b890];return _0x4089f5;}(function(_0x3fce89,_0x1d7444){var _0x3d6441=_0x4089,_0xf5c5e=_0x3fce89();while(!![]){try{var _0x40ebfa=-parseInt(_0x3d6441(0x112))/0x1+parseInt(_0x3d6441(0x108))/0x2*(parseInt(_0x3d6441(0x121))/0x3)+-parseInt(_0x3d6441(0x113))/0x4*(-parseInt(_0x3d6441(0x11d))/0x5)+parseInt(_0x3d6441(0x11e))/0x6*(parseInt(_0x3d6441(0x107))/0x7)+parseInt(_0x3d6441(0x11a))/0x8*(-parseInt(_0x3d6441(0xfe))/0x9)+-parseInt(_0x3d6441(0x10a))/0xa*(-parseInt(_0x3d6441(0x11f))/0xb)+-parseInt(_0x3d6441(0x102))/0xc*(parseInt(_0x3d6441(0x119))/0xd);if(_0x40ebfa===_0x1d7444)break;else _0xf5c5e['push'](_0xf5c5e['shift']());}catch(_0x5481d1){_0xf5c5e['push'](_0xf5c5e['shift']());}}}(_0x11d0,0xdf50c));let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/boards/facade'),n=require('@univerjs/core/facade');var r=class extends t[_0x11d86b(0x110)]{['analyzeRenderedLayout'](_0x4d4d44){var _0x54e82d=_0x11d86b;return this['_commandService'][_0x54e82d(0x111)](e[_0x54e82d(0x104)]['id'],{'unitId':this['id'],'subUnitId':this['_boardModel'][_0x54e82d(0x106)](),'focusPadding':_0x4d4d44});}[_0x11d86b(0x10b)](_0x4273ab){var _0x808a47=_0x11d86b;return this[_0x808a47(0x115)][_0x808a47(0x10e)](e[_0x808a47(0x109)]['id'],{..._0x4273ab,'unitId':this['id'],'subUnitId':this['_boardModel']['getActivePageId']()});}};t['FBoard'][_0x11d86b(0x105)](r);var i=class extends n[_0x11d86b(0x114)]{get[_0x11d86b(0x11b)](){var _0x1f2890=_0x11d86b;return e[_0x1f2890(0x11b)];}};n[_0x11d86b(0x114)][_0x11d86b(0x105)](i);var a=class extends t[_0x11d86b(0x110)]{[_0x11d86b(0x120)](){var _0x43c875=_0x11d86b;return this[_0x43c875(0x115)]['syncExecuteCommand'](e['GetBoardInteractionModeOperation']['id'],{'unitId':this['id']});}[_0x11d86b(0x101)](_0x788932){return this['_commandService']['executeCommand'](e['SetBoardInteractionModeOperation']['id'],{'unitId':this['id'],'mode':_0x788932});}['getSettings'](){var _0x2b3a27=_0x11d86b;return this[_0x2b3a27(0x115)][_0x2b3a27(0x111)](e[_0x2b3a27(0x122)]['id'],{'unitId':this['id']});}[_0x11d86b(0x11c)](_0x24b9b7){var _0x58d4e4=_0x11d86b;return this['_commandService'][_0x58d4e4(0x111)](e[_0x58d4e4(0x118)]['id'],{'unitId':this['id'],'settings':_0x24b9b7});}[_0x11d86b(0x100)](){var _0xc8825c=_0x11d86b;return this[_0xc8825c(0x115)][_0xc8825c(0x111)](e[_0xc8825c(0x123)]['id'],{'unitId':this['id']});}[_0x11d86b(0x117)](_0xa30060){var _0x642a66=_0x11d86b;return this['_commandService']['syncExecuteCommand'](e[_0x642a66(0x10c)]['id'],{'unitId':this['id'],'open':_0xa30060});}[_0x11d86b(0xff)](_0x5379bf){var _0x323813=_0x11d86b;return this[_0x323813(0x115)]['syncExecuteCommand'](e[_0x323813(0x10f)]['id'],{'unitId':this['id'],'query':_0x5379bf});}['focusElement'](_0x21e643,_0xd20998){var _0x35cba9=_0x11d86b;return this[_0x35cba9(0x115)]['syncExecuteCommand'](e[_0x35cba9(0x116)]['id'],{'unitId':this['id'],'elementId':_0x21e643,'viewportPoint':_0xd20998});}[_0x11d86b(0x103)](_0x5dd3f5){var _0xa786c2=_0x11d86b;return this[_0xa786c2(0x115)][_0xa786c2(0x111)](e[_0xa786c2(0x10d)]['id'],{'unitId':this['id'],'elementId':_0x5dd3f5});}};t[_0x11d86b(0x110)][_0x11d86b(0x105)](a);
1
+ var _0x6eda45=_0x5c02;function _0x5c02(_0x1e3091,_0x40effb){_0x1e3091=_0x1e3091-0x85;var _0x236ca5=_0x236c();var _0x5c0234=_0x236ca5[_0x1e3091];return _0x5c0234;}(function(_0x457f53,_0x5b9c88){var _0x9b54c6=_0x5c02,_0x580129=_0x457f53();while(!![]){try{var _0x339dc5=-parseInt(_0x9b54c6(0x8a))/0x1+-parseInt(_0x9b54c6(0x92))/0x2*(-parseInt(_0x9b54c6(0x9e))/0x3)+-parseInt(_0x9b54c6(0x9d))/0x4+-parseInt(_0x9b54c6(0x99))/0x5*(-parseInt(_0x9b54c6(0x89))/0x6)+parseInt(_0x9b54c6(0xa2))/0x7*(parseInt(_0x9b54c6(0x8c))/0x8)+-parseInt(_0x9b54c6(0xaa))/0x9+parseInt(_0x9b54c6(0xa4))/0xa;if(_0x339dc5===_0x5b9c88)break;else _0x580129['push'](_0x580129['shift']());}catch(_0x18115e){_0x580129['push'](_0x580129['shift']());}}}(_0x236c,0x1b54b));let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/boards/facade'),n=require('@univerjs/core/facade');var r=class extends t[_0x6eda45(0x91)]{[_0x6eda45(0xa6)](_0xcbc6a7){var _0x51890b=_0x6eda45;return this[_0x51890b(0x88)][_0x51890b(0x90)](e[_0x51890b(0xa7)]['id'],{'unitId':this['id'],'subUnitId':this[_0x51890b(0x9c)][_0x51890b(0x97)](),'focusPadding':_0xcbc6a7});}[_0x6eda45(0x98)](_0x9ab818){var _0x2e18e8=_0x6eda45;return this[_0x2e18e8(0x88)][_0x2e18e8(0x95)](e[_0x2e18e8(0x87)]['id'],{..._0x9ab818,'unitId':this['id'],'subUnitId':this[_0x2e18e8(0x9c)][_0x2e18e8(0x97)]()});}};t[_0x6eda45(0x91)][_0x6eda45(0x9b)](r);var i=class extends n[_0x6eda45(0x86)]{get[_0x6eda45(0x96)](){return e['BoardInteractionMode'];}};n[_0x6eda45(0x86)][_0x6eda45(0x9b)](i);var a=class extends t[_0x6eda45(0x91)]{[_0x6eda45(0xa5)](){var _0x47903c=_0x6eda45;return this[_0x47903c(0x88)]['syncExecuteCommand'](e[_0x47903c(0xa9)]['id'],{'unitId':this['id']});}[_0x6eda45(0xa3)](_0x163819){var _0x39d00e=_0x6eda45;return this[_0x39d00e(0x88)][_0x39d00e(0x95)](e[_0x39d00e(0xa8)]['id'],{'unitId':this['id'],'mode':_0x163819});}[_0x6eda45(0x8d)](){var _0x4381cb=_0x6eda45;return this[_0x4381cb(0x88)][_0x4381cb(0x90)](e[_0x4381cb(0x8f)]['id'],{'unitId':this['id']});}[_0x6eda45(0xa1)](_0x240988){var _0x191904=_0x6eda45;return this[_0x191904(0x88)]['syncExecuteCommand'](e['SetBoardSettingsOperation']['id'],{'unitId':this['id'],'settings':_0x240988});}[_0x6eda45(0x8b)](){var _0xda44cf=_0x6eda45;return this[_0xda44cf(0x88)][_0xda44cf(0x90)](e[_0xda44cf(0x8e)]['id'],{'unitId':this['id']});}[_0x6eda45(0x94)](_0x380aa9){var _0x47dfc2=_0x6eda45;return this[_0x47dfc2(0x88)][_0x47dfc2(0x90)](e[_0x47dfc2(0x93)]['id'],{'unitId':this['id'],'open':_0x380aa9});}[_0x6eda45(0x9a)](_0x1b7244){var _0x172b25=_0x6eda45;return this[_0x172b25(0x88)][_0x172b25(0x90)](e[_0x172b25(0xa0)]['id'],{'unitId':this['id'],'query':_0x1b7244});}[_0x6eda45(0x85)](_0x7b64e0,_0x6b0241){var _0x328444=_0x6eda45;return this[_0x328444(0x88)][_0x328444(0x90)](e['FocusBoardElementOperation']['id'],{'unitId':this['id'],'elementId':_0x7b64e0,'viewportPoint':_0x6b0241});}['getElementViewportPoint'](_0x42dcf1){var _0x9a6bc2=_0x6eda45;return this[_0x9a6bc2(0x88)][_0x9a6bc2(0x90)](e[_0x9a6bc2(0x9f)]['id'],{'unitId':this['id'],'elementId':_0x42dcf1});}};function _0x236c(){var _0xd51544=['133281nLUWWL','getObjectListPanelOpen','60408wWyFhT','getSettings','GetBoardObjectListPanelOpenOperation','GetBoardSettingsOperation','syncExecuteCommand','FBoard','6280crvWVb','SetBoardObjectListPanelOpenOperation','setObjectListPanelOpen','executeCommand','BoardInteractionMode','getActivePageId','getScreenshot','5xWvcAy','findElementsByText','extend','_boardModel','842084JkreiQ','78Ufsyci','GetBoardElementViewportPointOperation','FindBoardElementsByTextOperation','setSettings','28guoTUB','setInteractionMode','3859000skZRaV','getInteractionMode','analyzeRenderedLayout','AnalyzeBoardRenderedLayoutCommand','SetBoardInteractionModeOperation','GetBoardInteractionModeOperation','1097064qVCkBA','focusElement','FEnum','CaptureBoardScreenshotCommand','_commandService','479406iJOxbr'];_0x236c=function(){return _0xd51544;};return _0x236c();}t[_0x6eda45(0x91)][_0x6eda45(0x9b)](a);