@univerjs-pro/boards-ui 1.0.2 → 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 +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 _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);