@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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/cjs/shape-preset-labels-C4G0G9GI.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/es/shape-preset-labels-092BdVw3.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/shape-preset-labels-092BdVw3.js +1 -1
- package/lib/types/common/settings-actions.d.ts +26 -0
- package/lib/types/controllers/board-mermaid-import.controller.d.ts +9 -0
- package/lib/types/controllers/board-shape-hyper-link.render-controller.d.ts +10 -0
- package/lib/types/render-objects/board-document-text-render.util.d.ts +2 -0
- package/lib/types/render-objects/board-shape-object.d.ts +1 -0
- package/lib/types/services/board-mermaid-import.service.d.ts +82 -0
- package/lib/types/services/board-settings-action.service.d.ts +21 -0
- package/lib/types/utils/board-draft-insert-position.util.d.ts +13 -0
- package/lib/types/utils/board-mermaid-preview.util.d.ts +4 -0
- package/lib/types/views/BoardContainerRenamePopup.d.ts +7 -0
- package/lib/types/views/BoardMermaidImportDialog.d.ts +2 -0
- package/lib/types/views/BoardSwimlaneLaneRenamePopup.d.ts +7 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x104567=_0x3455;(function(_0x40f93d,_0xdc2c6f){var _0x3e71dc=_0x3455,_0x250b84=_0x40f93d();while(!![]){try{var _0x1cef66=-parseInt(_0x3e71dc(0x1be))/0x1+parseInt(_0x3e71dc(0x1ba))/0x2*(parseInt(_0x3e71dc(0x1b9))/0x3)+-parseInt(_0x3e71dc(0x1c0))/0x4*(-parseInt(_0x3e71dc(0x1b6))/0x5)+parseInt(_0x3e71dc(0x1b7))/0x6*(parseInt(_0x3e71dc(0x1ae))/0x7)+parseInt(_0x3e71dc(0x1bb))/0x8+-parseInt(_0x3e71dc(0x1bc))/0x9+-parseInt(_0x3e71dc(0x1bd))/0xa*(parseInt(_0x3e71dc(0x1c4))/0xb);if(_0x1cef66===_0xdc2c6f)break;else _0x250b84['push'](_0x250b84['shift']());}catch(_0x4f8923){_0x250b84['push'](_0x250b84['shift']());}}}(_0x5029,0x81402));import{AnalyzeBoardRenderedLayoutCommand as _0x384cff,BoardInteractionMode as _0x14459b,CaptureBoardScreenshotCommand as _0x150059,FindBoardElementsByTextOperation as _0x127a9d,FocusBoardElementOperation as _0x5f33d4,GetBoardElementViewportPointOperation as _0x106f49,GetBoardInteractionModeOperation as _0x3f4c4f,GetBoardObjectListPanelOpenOperation as _0x48eaa1,GetBoardSettingsOperation as _0x5ebf46,SetBoardInteractionModeOperation as _0x565916,SetBoardObjectListPanelOpenOperation as _0x1fe773,SetBoardSettingsOperation as _0x170ba7}from'@univerjs-pro/boards-ui';import{FBoard as _0x485c3f}from'@univerjs-pro/boards/facade';import{FEnum as _0x2f4769}from'@univerjs/core/facade';var m=class extends _0x485c3f{[_0x104567(0x1c3)](_0x1f7cfa){var _0x3babc4=_0x104567;return this[_0x3babc4(0x1b1)][_0x3babc4(0x1b2)](_0x384cff['id'],{'unitId':this['id'],'subUnitId':this['_boardModel']['getActivePageId'](),'focusPadding':_0x1f7cfa});}[_0x104567(0x1b3)](_0x3dfc87){var _0x469cd0=_0x104567;return this['_commandService'][_0x469cd0(0x1b4)](_0x150059['id'],{..._0x3dfc87,'unitId':this['id'],'subUnitId':this['_boardModel'][_0x469cd0(0x1ad)]()});}};_0x485c3f['extend'](m);var h=class extends _0x2f4769{get[_0x104567(0x1c5)](){return _0x14459b;}};_0x2f4769['extend'](h);var g=class extends _0x485c3f{['getInteractionMode'](){var _0x23ba26=_0x104567;return this[_0x23ba26(0x1b1)][_0x23ba26(0x1b2)](_0x3f4c4f['id'],{'unitId':this['id']});}[_0x104567(0x1af)](_0x4716d3){var _0xd7e7b1=_0x104567;return this[_0xd7e7b1(0x1b1)][_0xd7e7b1(0x1b4)](_0x565916['id'],{'unitId':this['id'],'mode':_0x4716d3});}[_0x104567(0x1c1)](){var _0x2b89ee=_0x104567;return this[_0x2b89ee(0x1b1)]['syncExecuteCommand'](_0x5ebf46['id'],{'unitId':this['id']});}['setSettings'](_0xbcb0f5){var _0x1656fe=_0x104567;return this['_commandService'][_0x1656fe(0x1b2)](_0x170ba7['id'],{'unitId':this['id'],'settings':_0xbcb0f5});}[_0x104567(0x1b5)](){var _0x36d7c3=_0x104567;return this[_0x36d7c3(0x1b1)]['syncExecuteCommand'](_0x48eaa1['id'],{'unitId':this['id']});}[_0x104567(0x1bf)](_0x119e87){var _0x4e3253=_0x104567;return this['_commandService'][_0x4e3253(0x1b2)](_0x1fe773['id'],{'unitId':this['id'],'open':_0x119e87});}[_0x104567(0x1c6)](_0x5a3f84){var _0xc9d243=_0x104567;return this[_0xc9d243(0x1b1)][_0xc9d243(0x1b2)](_0x127a9d['id'],{'unitId':this['id'],'query':_0x5a3f84});}[_0x104567(0x1b0)](_0x4ba3e7,_0x3f5fe1){var _0x4676e2=_0x104567;return this[_0x4676e2(0x1b1)][_0x4676e2(0x1b2)](_0x5f33d4['id'],{'unitId':this['id'],'elementId':_0x4ba3e7,'viewportPoint':_0x3f5fe1});}[_0x104567(0x1c2)](_0x394924){var _0x38ed6f=_0x104567;return this[_0x38ed6f(0x1b1)][_0x38ed6f(0x1b2)](_0x106f49['id'],{'unitId':this['id'],'elementId':_0x394924});}};function _0x3455(_0x456dc0,_0xd35311){_0x456dc0=_0x456dc0-0x1ad;var _0x502979=_0x5029();var _0x34557e=_0x502979[_0x456dc0];return _0x34557e;}_0x485c3f[_0x104567(0x1b8)](g);function _0x5029(){var _0x4ccef3=['745350chyHDy','setObjectListPanelOpen','4lbahzf','getSettings','getElementViewportPoint','analyzeRenderedLayout','33gsSDbk','BoardInteractionMode','findElementsByText','getActivePageId','6652562yzbKaV','setInteractionMode','focusElement','_commandService','syncExecuteCommand','getScreenshot','executeCommand','getObjectListPanelOpen','5221300wSUNZu','6zSTcVR','extend','9uhXaiy','598330xVkUOF','6034832udyeda','2997774rpfMrg','6795430uIwkEr'];_0x5029=function(){return _0x4ccef3;};return _0x5029();}export{};
|