@univerjs-pro/boards-ui 1.0.1 → 1.0.3

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 +19 -19
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1082(_0x2140d1,_0x3ab382){_0x2140d1=_0x2140d1-0x1e8;var _0x25ec78=_0x25ec();var _0x1082d4=_0x25ec78[_0x2140d1];return _0x1082d4;}var _0x5969c2=_0x1082;(function(_0x15b444,_0x5a4aeb){var _0x576583=_0x1082,_0x494a3b=_0x15b444();while(!![]){try{var _0x3dcd84=-parseInt(_0x576583(0x1f1))/0x1+parseInt(_0x576583(0x200))/0x2*(parseInt(_0x576583(0x1ea))/0x3)+-parseInt(_0x576583(0x1fe))/0x4+-parseInt(_0x576583(0x1ff))/0x5*(-parseInt(_0x576583(0x201))/0x6)+-parseInt(_0x576583(0x1fc))/0x7*(-parseInt(_0x576583(0x1e9))/0x8)+parseInt(_0x576583(0x1f7))/0x9+parseInt(_0x576583(0x206))/0xa;if(_0x3dcd84===_0x5a4aeb)break;else _0x494a3b['push'](_0x494a3b['shift']());}catch(_0x298ba6){_0x494a3b['push'](_0x494a3b['shift']());}}}(_0x25ec,0x3bfb6));let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/boards/facade'),n=require('@univerjs/core/facade');var r=class extends t[_0x5969c2(0x203)]{[_0x5969c2(0x1fd)](_0x2770b2){var _0x49ce57=_0x5969c2;return this[_0x49ce57(0x1f5)][_0x49ce57(0x1ed)](e[_0x49ce57(0x207)]['id'],{'unitId':this['id'],'subUnitId':this['_boardModel'][_0x49ce57(0x1f6)](),'focusPadding':_0x2770b2});}[_0x5969c2(0x1f4)](_0x4a2a67){var _0x555430=_0x5969c2;return this[_0x555430(0x1f5)][_0x555430(0x1ec)](e['CaptureBoardScreenshotCommand']['id'],{..._0x4a2a67,'unitId':this['id'],'subUnitId':this['_boardModel'][_0x555430(0x1f6)]()});}};t[_0x5969c2(0x203)]['extend'](r);function _0x25ec(){var _0x393091=['GetBoardElementViewportPointOperation','BoardInteractionMode','1937520bYDVcg','AnalyzeBoardRenderedLayoutCommand','SetBoardInteractionModeOperation','getInteractionMode','GetBoardObjectListPanelOpenOperation','16avOWrm','1053933ObHVIY','findElementsByText','executeCommand','syncExecuteCommand','extend','focusElement','getElementViewportPoint','346260xprmgV','SetBoardSettingsOperation','FindBoardElementsByTextOperation','getScreenshot','_commandService','getActivePageId','1016262pXVqNp','setInteractionMode','SetBoardObjectListPanelOpenOperation','GetBoardInteractionModeOperation','getObjectListPanelOpen','47306ftkwcK','analyzeRenderedLayout','484480gxgLfz','5tuMMZh','2oAlDjm','249414iVeVCW','getSettings','FBoard'];_0x25ec=function(){return _0x393091;};return _0x25ec();}var i=class extends n['FEnum']{get[_0x5969c2(0x205)](){var _0x326bf8=_0x5969c2;return e[_0x326bf8(0x205)];}};n['FEnum']['extend'](i);var a=class extends t['FBoard']{[_0x5969c2(0x209)](){var _0x389ee7=_0x5969c2;return this[_0x389ee7(0x1f5)][_0x389ee7(0x1ed)](e[_0x389ee7(0x1fa)]['id'],{'unitId':this['id']});}[_0x5969c2(0x1f8)](_0x52b78c){var _0x2da7b1=_0x5969c2;return this[_0x2da7b1(0x1f5)][_0x2da7b1(0x1ec)](e[_0x2da7b1(0x208)]['id'],{'unitId':this['id'],'mode':_0x52b78c});}[_0x5969c2(0x202)](){var _0x198a39=_0x5969c2;return this[_0x198a39(0x1f5)][_0x198a39(0x1ed)](e['GetBoardSettingsOperation']['id'],{'unitId':this['id']});}['setSettings'](_0x420c10){var _0x1636b4=_0x5969c2;return this[_0x1636b4(0x1f5)]['syncExecuteCommand'](e[_0x1636b4(0x1f2)]['id'],{'unitId':this['id'],'settings':_0x420c10});}[_0x5969c2(0x1fb)](){var _0x4ab69a=_0x5969c2;return this['_commandService'][_0x4ab69a(0x1ed)](e[_0x4ab69a(0x1e8)]['id'],{'unitId':this['id']});}['setObjectListPanelOpen'](_0x449645){var _0xb81691=_0x5969c2;return this[_0xb81691(0x1f5)]['syncExecuteCommand'](e[_0xb81691(0x1f9)]['id'],{'unitId':this['id'],'open':_0x449645});}[_0x5969c2(0x1eb)](_0x47d045){var _0x2afbc2=_0x5969c2;return this[_0x2afbc2(0x1f5)][_0x2afbc2(0x1ed)](e[_0x2afbc2(0x1f3)]['id'],{'unitId':this['id'],'query':_0x47d045});}[_0x5969c2(0x1ef)](_0x582dd5,_0x2f7251){var _0x41cb08=_0x5969c2;return this[_0x41cb08(0x1f5)][_0x41cb08(0x1ed)](e['FocusBoardElementOperation']['id'],{'unitId':this['id'],'elementId':_0x582dd5,'viewportPoint':_0x2f7251});}[_0x5969c2(0x1f0)](_0x22b789){var _0x2cda1c=_0x5969c2;return this[_0x2cda1c(0x1f5)][_0x2cda1c(0x1ed)](e[_0x2cda1c(0x204)]['id'],{'unitId':this['id'],'elementId':_0x22b789});}};t[_0x5969c2(0x203)][_0x5969c2(0x1ee)](a);
1
+ var _0x4214f3=_0x3aba;(function(_0x11f935,_0x332088){var _0x36ff71=_0x3aba,_0x53e294=_0x11f935();while(!![]){try{var _0x49cf53=parseInt(_0x36ff71(0xf7))/0x1*(-parseInt(_0x36ff71(0x103))/0x2)+-parseInt(_0x36ff71(0x101))/0x3*(parseInt(_0x36ff71(0x100))/0x4)+parseInt(_0x36ff71(0xff))/0x5+-parseInt(_0x36ff71(0xfe))/0x6+parseInt(_0x36ff71(0xf0))/0x7+-parseInt(_0x36ff71(0xed))/0x8+-parseInt(_0x36ff71(0xfc))/0x9*(-parseInt(_0x36ff71(0x104))/0xa);if(_0x49cf53===_0x332088)break;else _0x53e294['push'](_0x53e294['shift']());}catch(_0x3352fd){_0x53e294['push'](_0x53e294['shift']());}}}(_0x177a,0x209c2));function _0x177a(){var _0x33ac46=['78523cUvnhm','getInteractionMode','AnalyzeBoardRenderedLayoutCommand','getSettings','GetBoardElementViewportPointOperation','246762VBfpjf','FindBoardElementsByTextOperation','169152AuqgtG','1259210eSgxdZ','68zIifxF','17436JcwtVS','extend','2zntrSr','80rkLwAP','FEnum','BoardInteractionMode','GetBoardSettingsOperation','analyzeRenderedLayout','_commandService','1195560SgmHRN','getActivePageId','_boardModel','121436ZkkBiN','setSettings','FBoard','SetBoardSettingsOperation','getScreenshot','executeCommand','syncExecuteCommand'];_0x177a=function(){return _0x33ac46;};return _0x177a();}let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/boards/facade'),n=require('@univerjs/core/facade');var r=class extends t[_0x4214f3(0xf2)]{[_0x4214f3(0x108)](_0x23f20f){var _0x3640e2=_0x4214f3;return this['_commandService'][_0x3640e2(0xf6)](e[_0x3640e2(0xf9)]['id'],{'unitId':this['id'],'subUnitId':this[_0x3640e2(0xef)][_0x3640e2(0xee)](),'focusPadding':_0x23f20f});}[_0x4214f3(0xf4)](_0x2966e2){var _0x2b4e7d=_0x4214f3;return this['_commandService'][_0x2b4e7d(0xf5)](e['CaptureBoardScreenshotCommand']['id'],{..._0x2966e2,'unitId':this['id'],'subUnitId':this[_0x2b4e7d(0xef)][_0x2b4e7d(0xee)]()});}};t['FBoard']['extend'](r);var i=class extends n[_0x4214f3(0x105)]{get[_0x4214f3(0x106)](){var _0x19413a=_0x4214f3;return e[_0x19413a(0x106)];}};n[_0x4214f3(0x105)][_0x4214f3(0x102)](i);function _0x3aba(_0x432a63,_0x29f321){_0x432a63=_0x432a63-0xed;var _0x177a90=_0x177a();var _0x3aba08=_0x177a90[_0x432a63];return _0x3aba08;}var a=class extends t[_0x4214f3(0xf2)]{[_0x4214f3(0xf8)](){var _0x8d47ea=_0x4214f3;return this['_commandService'][_0x8d47ea(0xf6)](e['GetBoardInteractionModeOperation']['id'],{'unitId':this['id']});}['setInteractionMode'](_0x53b7eb){var _0x31e1e1=_0x4214f3;return this[_0x31e1e1(0x109)][_0x31e1e1(0xf5)](e['SetBoardInteractionModeOperation']['id'],{'unitId':this['id'],'mode':_0x53b7eb});}[_0x4214f3(0xfa)](){var _0x1582a1=_0x4214f3;return this[_0x1582a1(0x109)][_0x1582a1(0xf6)](e[_0x1582a1(0x107)]['id'],{'unitId':this['id']});}[_0x4214f3(0xf1)](_0x397dff){var _0x2c0195=_0x4214f3;return this[_0x2c0195(0x109)][_0x2c0195(0xf6)](e[_0x2c0195(0xf3)]['id'],{'unitId':this['id'],'settings':_0x397dff});}['getObjectListPanelOpen'](){var _0x539e7f=_0x4214f3;return this[_0x539e7f(0x109)]['syncExecuteCommand'](e['GetBoardObjectListPanelOpenOperation']['id'],{'unitId':this['id']});}['setObjectListPanelOpen'](_0x6a7965){var _0x2ac00b=_0x4214f3;return this[_0x2ac00b(0x109)]['syncExecuteCommand'](e['SetBoardObjectListPanelOpenOperation']['id'],{'unitId':this['id'],'open':_0x6a7965});}['findElementsByText'](_0x4a32db){var _0x10fdae=_0x4214f3;return this[_0x10fdae(0x109)][_0x10fdae(0xf6)](e[_0x10fdae(0xfd)]['id'],{'unitId':this['id'],'query':_0x4a32db});}['focusElement'](_0x2566d6,_0x19efed){var _0xeb1a53=_0x4214f3;return this[_0xeb1a53(0x109)][_0xeb1a53(0xf6)](e['FocusBoardElementOperation']['id'],{'unitId':this['id'],'elementId':_0x2566d6,'viewportPoint':_0x19efed});}['getElementViewportPoint'](_0xbbeb55){var _0xe52e73=_0x4214f3;return this[_0xe52e73(0x109)][_0xe52e73(0xf6)](e[_0xe52e73(0xfb)]['id'],{'unitId':this['id'],'elementId':_0xbbeb55});}};t[_0x4214f3(0xf2)][_0x4214f3(0x102)](a);