@univerjs-pro/boards-ui 1.0.0-rc.0 → 1.0.1
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/README.md +7 -0
- 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.css +180 -0
- 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/controllers/board-shape-floating-toolbar.render-controller.d.ts +7 -4
- package/lib/types/controllers/board-ui.controller.d.ts +4 -2
- package/lib/types/controllers/board-viewport-bar.render-controller.d.ts +8 -0
- package/lib/types/controllers/components.controller.d.ts +2 -2
- package/lib/types/controllers/mobile/board-image-mobile.render-controller.d.ts +36 -0
- package/lib/types/controllers/mobile/board-shape-floating-toolbar.render-controller.d.ts +15 -0
- package/lib/types/controllers/mobile/board-ui.controller.d.ts +8 -0
- package/lib/types/controllers/mobile/components.controller.d.ts +7 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/locale/en-US.d.ts +11 -0
- package/lib/types/mobile-plugin.d.ts +37 -0
- package/lib/types/plugin.d.ts +8 -0
- package/lib/types/render-objects/board-adjust-point-object.d.ts +2 -2
- package/lib/types/services/board-canvas-pop-manager.service.d.ts +1 -1
- package/lib/types/services/board-container-rename.service.d.ts +3 -0
- package/lib/types/services/board-swimlane-lane-rename.service.d.ts +3 -0
- package/lib/types/services/mobile/board-container-rename.service.d.ts +13 -0
- package/lib/types/services/mobile/board-swimlane-lane-rename.service.d.ts +13 -0
- package/lib/types/views/BoardConnectorFloatingToolbarControls.d.ts +17 -1
- package/lib/types/views/BoardConnectorQuickShapeMenu.d.ts +1 -0
- package/lib/types/views/BoardFloatingToolPanel.d.ts +1 -1
- package/lib/types/views/BoardPanelSlot.d.ts +5 -0
- package/lib/types/views/BoardRenamePopup.d.ts +9 -0
- package/lib/types/views/BoardShapeTextEditorContainer.d.ts +6 -0
- package/lib/types/views/BoardTableSizePicker.d.ts +2 -0
- package/lib/types/views/mobile/BoardMobileConnectorMenu.d.ts +17 -0
- package/lib/types/views/mobile/BoardMobileConnectorQuickShapeMenu.d.ts +3 -0
- package/lib/types/views/mobile/BoardMobileConnectorToolbar.d.ts +10 -0
- package/lib/types/views/mobile/BoardMobileImageMenu.d.ts +11 -0
- package/lib/types/views/mobile/BoardMobileObjectListPanel.d.ts +8 -0
- package/lib/types/views/mobile/BoardMobilePanelLayer.d.ts +1 -0
- package/lib/types/views/mobile/BoardMobileRenamePopup.d.ts +2 -0
- package/lib/types/views/mobile/BoardMobileShapeMenu.d.ts +14 -0
- package/lib/types/views/mobile/BoardMobileShapeTextEditor.d.ts +1 -0
- package/lib/types/views/mobile/BoardMobileShapeToolbar.d.ts +24 -0
- package/lib/types/views/mobile/BoardMobileToolPanel.d.ts +5 -0
- package/lib/types/views/mobile/BoardMobileWorkbench.d.ts +5 -0
- package/lib/types/views/mobile/BoardMobileWorkbenchHost.d.ts +1 -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 +23 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3237(_0x30c057,_0x212a60){_0x30c057=_0x30c057-0x10f;const _0x77d119=_0x77d1();let _0x3237ad=_0x77d119[_0x30c057];return _0x3237ad;}const _0xa6679e=_0x3237;function _0x77d1(){const _0x2d7339=['Down\x20arrow\x20callout','Swoosh\x20arrow','Left\x20arrow\x20callout','Bevel','Arc','Notched\x20right\x20arrow','Offline\x20storage','Accent\x20callout\x203','Smiley\x20face','Horizontal\x20scroll','Decision','Border\x20callout\x201','Terminator','Magnetic\x20drum','Border\x20callout\x203','Chord','10-point\x20star','670728nFDcSE','Left-up\x20arrow','Accent\x20border\x20callout\x202','Process','4-point\x20star','Four-way\x20arrow','Divide','Pie\x20wedge','Right\x20arrow\x20callout','16-point\x20star','Square\x20tabs','Diagonal\x20snip\x20corner\x20rectangle','1969400cdzVKd','Explosion\x201','Magnetic\x20tape','Curved\x20up\x20arrow','Heptagon','Left-right\x20arrow\x20callout','Down\x20arrow','Help\x20button','Ellipse\x20ribbon','Striped\x20right\x20arrow','Movie\x20button','Manual\x20input','Border\x20callout\x202','Four-way\x20arrow\x20callout','Ribbon\x202','54hCqwQh','Punched\x20card','Up-down\x20arrow','Sun','Forward\x20or\x20next\x20button','Return\x20button','Gear\x206','Explosion\x202','Extract','Callout\x202','Rectangular\x20callout','23518ycPvNu','Teardrop','Inverse\x20line','Diagonal\x20stripe','Chart\x20star','Decagon','Ribbon','438170dtICod','Display','Accent\x20border\x20callout\x203','Multiply','Chart\x20plus','Predefined\x20process','Double\x20wave','Connector','12-point\x20star','Summing\x20junction','Accent\x20border\x20callout\x201','Preparation','Internal\x20storage','Donut','Single\x20round\x20corner\x20rectangle','Cloud\x20callout','Lightning\x20bolt','32-point\x20star','Back\x20or\x20previous\x20button','Funnel','2065386nBbqfU','Curved\x20left\x20arrow','Folded\x20corner','Left-right\x20ribbon','Beginning\x20button','Snip\x20and\x20round\x20corner\x20rectangle','Document','Accent\x20callout\x202','21UhNWwu','357VvZVfB','Blank\x20button','Corner','Bent-up\x20arrow','Curved\x20right\x20arrow','Punched\x20tape','Circular\x20arrow','Up-down\x20arrow\x20callout','Diagonal\x20round\x20corner\x20rectangle','Right\x20bracket','Magnetic\x20disk','24-point\x20star','Ellipse\x20ribbon\x202','Bent\x20arrow','Equal','1018uEFHmM','Online\x20storage','No\x20symbol','Manual\x20operation','Collate','Home\x20button','42200EuvgtU','Alternate\x20process','Bracket\x20pair','852NBQVzz','Gear\x209','Callout\x203','Vertical\x20scroll','Wave','Sort','Accent\x20callout\x201','Frame','Curved\x20down\x20arrow','8-point\x20star','Not\x20equal','30cqaXtP','Input/output','Heart'];_0x77d1=function(){return _0x2d7339;};return _0x77d1();}(function(_0x43bcb3,_0x477602){const _0x1fb5e4=_0x3237,_0x50683b=_0x43bcb3();while(!![]){try{const _0x186dd6=parseInt(_0x1fb5e4(0x187))/0x1*(parseInt(_0x1fb5e4(0x115))/0x2)+parseInt(_0x1fb5e4(0x129))/0x3*(-parseInt(_0x1fb5e4(0x11b))/0x4)+parseInt(_0x1fb5e4(0x149))/0x5+-parseInt(_0x1fb5e4(0x17e))/0x6+parseInt(_0x1fb5e4(0x186))/0x7*(-parseInt(_0x1fb5e4(0x13d))/0x8)+-parseInt(_0x1fb5e4(0x158))/0x9*(-parseInt(_0x1fb5e4(0x16a))/0xa)+parseInt(_0x1fb5e4(0x163))/0xb*(parseInt(_0x1fb5e4(0x11e))/0xc);if(_0x186dd6===_0x477602)break;else _0x50683b['push'](_0x50683b['shift']());}catch(_0xf06b6b){_0x50683b['push'](_0x50683b['shift']());}}}(_0x77d1,0x4690f));const e={'snip1Rect':'Single\x20snip\x20corner\x20rectangle','snip2SameRect':'Same-side\x20snip\x20corner\x20rectangle','snip2DiagRect':_0xa6679e(0x148),'snipRoundRect':_0xa6679e(0x183),'round1Rect':_0xa6679e(0x178),'round2SameRect':'Same-side\x20round\x20corner\x20rectangle','round2DiagRect':_0xa6679e(0x18f),'heptagon':_0xa6679e(0x14d),'decagon':_0xa6679e(0x168),'dodecagon':'Dodecagon','pie':'Pie','chord':_0xa6679e(0x13b),'teardrop':_0xa6679e(0x164),'frame':_0xa6679e(0x125),'halfFrame':'Half\x20frame','corner':_0xa6679e(0x189),'diagStripe':_0xa6679e(0x166),'plaque':'Plaque','cube':'Cube','bevel':_0xa6679e(0x12f),'donut':_0xa6679e(0x177),'noSmoking':_0xa6679e(0x117),'blockArc':'Block\x20arc','foldedCorner':_0xa6679e(0x180),'smileyFace':_0xa6679e(0x134),'heart':_0xa6679e(0x12b),'lightningBolt':_0xa6679e(0x17a),'sun':_0xa6679e(0x15b),'moon':'Moon','arc':_0xa6679e(0x130),'bracketPair':_0xa6679e(0x11d),'bracePair':'Brace\x20pair','leftBracket':'Left\x20bracket','rightBracket':_0xa6679e(0x10f),'upArrow':'Up\x20arrow','downArrow':_0xa6679e(0x14f),'upDownArrow':_0xa6679e(0x15a),'quadArrow':_0xa6679e(0x142),'leftRightUpArrow':'Left-right-up\x20arrow','bentArrow':_0xa6679e(0x113),'uturnArrow':'U-turn\x20arrow','leftUpArrow':_0xa6679e(0x13e),'bentUpArrow':_0xa6679e(0x18a),'curvedRightArrow':_0xa6679e(0x18b),'curvedLeftArrow':_0xa6679e(0x17f),'curvedUpArrow':_0xa6679e(0x14c),'curvedDownArrow':_0xa6679e(0x126),'stripedRightArrow':_0xa6679e(0x152),'notchedRightArrow':_0xa6679e(0x131),'rightArrowCallout':_0xa6679e(0x145),'downArrowCallout':_0xa6679e(0x12c),'leftArrowCallout':_0xa6679e(0x12e),'upArrowCallout':'Up\x20arrow\x20callout','leftRightArrowCallout':_0xa6679e(0x14e),'quadArrowCallout':_0xa6679e(0x156),'circularArrow':_0xa6679e(0x18d),'mathMinus':'Minus','mathMultiply':_0xa6679e(0x16d),'mathDivide':_0xa6679e(0x143),'mathEqual':_0xa6679e(0x114),'mathNotEqual':_0xa6679e(0x128),'flowChartProcess':_0xa6679e(0x140),'flowChartAlternateProcess':_0xa6679e(0x11c),'flowChartDecision':_0xa6679e(0x136),'flowChartInputOutput':_0xa6679e(0x12a),'flowChartPredefinedProcess':_0xa6679e(0x16f),'flowChartInternalStorage':_0xa6679e(0x176),'flowChartDocument':_0xa6679e(0x184),'flowChartMultidocument':'Multiple\x20documents','flowChartTerminator':_0xa6679e(0x138),'flowChartPreparation':_0xa6679e(0x175),'flowChartManualInput':_0xa6679e(0x154),'flowChartManualOperation':_0xa6679e(0x118),'flowChartConnector':_0xa6679e(0x171),'flowChartOffpageConnector':'Off-page\x20connector','flowChartPunchedCard':_0xa6679e(0x159),'flowChartPunchedTape':_0xa6679e(0x18c),'flowChartSummingJunction':_0xa6679e(0x173),'flowChartOr':'Or','flowChartCollate':_0xa6679e(0x119),'flowChartSort':_0xa6679e(0x123),'flowChartExtract':_0xa6679e(0x160),'flowChartMerge':'Merge','flowChartOnlineStorage':_0xa6679e(0x116),'flowChartDelay':'Delay','flowChartMagneticTape':_0xa6679e(0x14b),'flowChartMagneticDisk':_0xa6679e(0x110),'flowChartMagneticDrum':_0xa6679e(0x139),'flowChartDisplay':_0xa6679e(0x16b),'irregularSeal1':_0xa6679e(0x14a),'irregularSeal2':_0xa6679e(0x15f),'star4':_0xa6679e(0x141),'star6':'6-point\x20star','star7':'7-point\x20star','star8':_0xa6679e(0x127),'star10':_0xa6679e(0x13c),'star12':_0xa6679e(0x172),'star16':_0xa6679e(0x146),'star24':_0xa6679e(0x111),'star32':_0xa6679e(0x17b),'ribbon2':_0xa6679e(0x157),'ribbon':_0xa6679e(0x169),'ellipseRibbon2':_0xa6679e(0x112),'ellipseRibbon':_0xa6679e(0x151),'verticalScroll':_0xa6679e(0x121),'horizontalScroll':_0xa6679e(0x135),'wave':_0xa6679e(0x122),'doubleWave':_0xa6679e(0x170),'wedgeRectCallout':_0xa6679e(0x162),'cloudCallout':_0xa6679e(0x179),'borderCallout1':_0xa6679e(0x137),'borderCallout2':_0xa6679e(0x155),'borderCallout3':_0xa6679e(0x13a),'accentCallout1':_0xa6679e(0x124),'accentCallout2':_0xa6679e(0x185),'accentCallout3':_0xa6679e(0x133),'callout1':'Callout\x201','callout2':_0xa6679e(0x161),'callout3':_0xa6679e(0x120),'accentBorderCallout1':_0xa6679e(0x174),'accentBorderCallout2':_0xa6679e(0x13f),'accentBorderCallout3':_0xa6679e(0x16c),'leftCircularArrow':'Left\x20circular\x20arrow','leftRightCircularArrow':'Left-right\x20circular\x20arrow','swooshArrow':_0xa6679e(0x12d),'leftRightRibbon':_0xa6679e(0x181),'pieWedge':_0xa6679e(0x144),'funnel':_0xa6679e(0x17d),'gear6':_0xa6679e(0x15e),'gear9':_0xa6679e(0x11f),'cornerTabs':'Corner\x20tabs','actionButtonBackPrevious':_0xa6679e(0x17c),'actionButtonForwardNext':_0xa6679e(0x15c),'actionButtonBeginning':_0xa6679e(0x182),'actionButtonEnd':'End\x20button','actionButtonHome':_0xa6679e(0x11a),'actionButtonInformation':'Information\x20button','actionButtonReturn':_0xa6679e(0x15d),'actionButtonMovie':_0xa6679e(0x153),'actionButtonDocument':'Document\x20button','actionButtonSound':'Sound\x20button','actionButtonHelp':_0xa6679e(0x150),'actionButtonBlank':_0xa6679e(0x188),'chartPlus':_0xa6679e(0x16e),'chartStar':_0xa6679e(0x167),'chartX':'Chart\x20X','flowChartOfflineStorage':_0xa6679e(0x132),'lineInv':_0xa6679e(0x165),'plaqueTabs':'Plaque\x20tabs','squareTabs':_0xa6679e(0x147),'upDownArrowCallout':_0xa6679e(0x18e)};export{e as t};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x497046=_0x3f94;(function(_0x203ccd,_0x2fd4bc){var _0x8af366=_0x3f94,_0x3c100c=_0x203ccd();while(!![]){try{var _0x3e4952=parseInt(_0x8af366(0x125))/0x1*(-parseInt(_0x8af366(0x130))/0x2)+parseInt(_0x8af366(0x129))/0x3+parseInt(_0x8af366(0x128))/0x4+-parseInt(_0x8af366(0x135))/0x5+parseInt(_0x8af366(0x12f))/0x6*(-parseInt(_0x8af366(0x138))/0x7)+parseInt(_0x8af366(0x12c))/0x8+parseInt(_0x8af366(0x13b))/0x9;if(_0x3e4952===_0x2fd4bc)break;else _0x3c100c['push'](_0x3c100c['shift']());}catch(_0x4fb93a){_0x3c100c['push'](_0x3c100c['shift']());}}}(_0x2125,0xe537c));import{AnalyzeBoardRenderedLayoutCommand as _0x46f926,BoardInteractionMode as _0x36b2f8,CaptureBoardScreenshotCommand as _0x24e440,FindBoardElementsByTextOperation as _0x328b92,FocusBoardElementOperation as _0x1def32,GetBoardElementViewportPointOperation as _0x44a520,GetBoardInteractionModeOperation as _0x46a118,GetBoardObjectListPanelOpenOperation as _0x145ab2,GetBoardSettingsOperation as _0x2cad90,SetBoardInteractionModeOperation as _0x52ff3b,SetBoardObjectListPanelOpenOperation as _0x1ee686,SetBoardSettingsOperation as _0xf51e9d}from'@univerjs-pro/boards-ui';import{FBoard as _0x51cb40}from'@univerjs-pro/boards/facade';import{FEnum as _0x2dd80b}from'@univerjs/core/facade';var m=class extends _0x51cb40{[_0x497046(0x12d)](_0x5ade38){var _0x5347c9=_0x497046;return this['_commandService'][_0x5347c9(0x134)](_0x46f926['id'],{'unitId':this['id'],'subUnitId':this['_boardModel'][_0x5347c9(0x126)](),'focusPadding':_0x5ade38});}[_0x497046(0x13c)](_0x513ff2){var _0xea78b7=_0x497046;return this['_commandService'][_0xea78b7(0x13a)](_0x24e440['id'],{..._0x513ff2,'unitId':this['id'],'subUnitId':this['_boardModel'][_0xea78b7(0x126)]()});}};_0x51cb40[_0x497046(0x12a)](m);var h=class extends _0x2dd80b{get[_0x497046(0x139)](){return _0x36b2f8;}};_0x2dd80b['extend'](h);function _0x3f94(_0x595059,_0x31793f){_0x595059=_0x595059-0x125;var _0x2125ec=_0x2125();var _0x3f9417=_0x2125ec[_0x595059];return _0x3f9417;}function _0x2125(){var _0x1b8cad=['focusElement','94381uuyFOj','BoardInteractionMode','executeCommand','17838342UrEMcI','getScreenshot','5235TTUMyw','getActivePageId','getSettings','6417192uAktSl','1035606pCLlhs','extend','_commandService','3180328rlhPyG','analyzeRenderedLayout','findElementsByText','246vbAfxv','674diUlmR','getElementViewportPoint','getInteractionMode','setInteractionMode','syncExecuteCommand','5366025XwdImP','setObjectListPanelOpen'];_0x2125=function(){return _0x1b8cad;};return _0x2125();}var g=class extends _0x51cb40{[_0x497046(0x132)](){var _0x137302=_0x497046;return this['_commandService'][_0x137302(0x134)](_0x46a118['id'],{'unitId':this['id']});}[_0x497046(0x133)](_0x3bc363){var _0x6204c5=_0x497046;return this[_0x6204c5(0x12b)][_0x6204c5(0x13a)](_0x52ff3b['id'],{'unitId':this['id'],'mode':_0x3bc363});}[_0x497046(0x127)](){var _0x444629=_0x497046;return this['_commandService'][_0x444629(0x134)](_0x2cad90['id'],{'unitId':this['id']});}['setSettings'](_0x3a4338){var _0x22bb15=_0x497046;return this[_0x22bb15(0x12b)][_0x22bb15(0x134)](_0xf51e9d['id'],{'unitId':this['id'],'settings':_0x3a4338});}['getObjectListPanelOpen'](){var _0x440a34=_0x497046;return this[_0x440a34(0x12b)][_0x440a34(0x134)](_0x145ab2['id'],{'unitId':this['id']});}[_0x497046(0x136)](_0x26125b){var _0x3fe0b7=_0x497046;return this[_0x3fe0b7(0x12b)][_0x3fe0b7(0x134)](_0x1ee686['id'],{'unitId':this['id'],'open':_0x26125b});}[_0x497046(0x12e)](_0x37152f){return this['_commandService']['syncExecuteCommand'](_0x328b92['id'],{'unitId':this['id'],'query':_0x37152f});}[_0x497046(0x137)](_0x5c3188,_0x2ab0a3){var _0x445292=_0x497046;return this['_commandService'][_0x445292(0x134)](_0x1def32['id'],{'unitId':this['id'],'elementId':_0x5c3188,'viewportPoint':_0x2ab0a3});}[_0x497046(0x131)](_0x4a9dcb){var _0x55d9ce=_0x497046;return this[_0x55d9ce(0x12b)][_0x55d9ce(0x134)](_0x44a520['id'],{'unitId':this['id'],'elementId':_0x4a9dcb});}};_0x51cb40[_0x497046(0x12a)](g);export{};
|
package/lib/index.css
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
.univer-sr-only {
|
|
2
|
+
clip: rect(0, 0, 0, 0);
|
|
3
|
+
white-space: nowrap;
|
|
4
|
+
border-width: 0;
|
|
5
|
+
width: 1px;
|
|
6
|
+
height: 1px;
|
|
7
|
+
margin: -1px;
|
|
8
|
+
padding: 0;
|
|
9
|
+
position: absolute;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.univer-pointer-events-none {
|
|
2
14
|
pointer-events: none;
|
|
3
15
|
}
|
|
@@ -6,6 +18,10 @@
|
|
|
6
18
|
pointer-events: auto;
|
|
7
19
|
}
|
|
8
20
|
|
|
21
|
+
.\!univer-absolute {
|
|
22
|
+
position: absolute !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
9
25
|
.univer-absolute {
|
|
10
26
|
position: absolute;
|
|
11
27
|
}
|
|
@@ -14,6 +30,14 @@
|
|
|
14
30
|
position: relative;
|
|
15
31
|
}
|
|
16
32
|
|
|
33
|
+
.univer-sticky {
|
|
34
|
+
position: sticky;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.\!univer-inset-0 {
|
|
38
|
+
inset: 0 !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
17
41
|
.univer-inset-0 {
|
|
18
42
|
inset: 0;
|
|
19
43
|
}
|
|
@@ -42,6 +66,10 @@
|
|
|
42
66
|
bottom: 1.25rem;
|
|
43
67
|
}
|
|
44
68
|
|
|
69
|
+
.univer-end-4 {
|
|
70
|
+
right: 1rem;
|
|
71
|
+
}
|
|
72
|
+
|
|
45
73
|
.univer-left-0 {
|
|
46
74
|
left: 0;
|
|
47
75
|
}
|
|
@@ -94,6 +122,14 @@
|
|
|
94
122
|
z-index: 20;
|
|
95
123
|
}
|
|
96
124
|
|
|
125
|
+
.univer-z-50 {
|
|
126
|
+
z-index: 50;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.univer-z-\[1200\] {
|
|
130
|
+
z-index: 1200;
|
|
131
|
+
}
|
|
132
|
+
|
|
97
133
|
.univer-col-span-2 {
|
|
98
134
|
grid-column: span 2 / span 2;
|
|
99
135
|
}
|
|
@@ -102,6 +138,10 @@
|
|
|
102
138
|
grid-column: span 5 / span 5;
|
|
103
139
|
}
|
|
104
140
|
|
|
141
|
+
.\!univer-m-0 {
|
|
142
|
+
margin: 0 !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
105
145
|
.univer-m-0 {
|
|
106
146
|
margin: 0;
|
|
107
147
|
}
|
|
@@ -152,6 +192,10 @@
|
|
|
152
192
|
margin-top: .75rem;
|
|
153
193
|
}
|
|
154
194
|
|
|
195
|
+
.univer-mt-4 {
|
|
196
|
+
margin-top: 1rem;
|
|
197
|
+
}
|
|
198
|
+
|
|
155
199
|
.univer-box-border {
|
|
156
200
|
box-sizing: border-box;
|
|
157
201
|
}
|
|
@@ -183,11 +227,25 @@
|
|
|
183
227
|
display: none;
|
|
184
228
|
}
|
|
185
229
|
|
|
230
|
+
.univer-aspect-square {
|
|
231
|
+
aspect-ratio: 1;
|
|
232
|
+
}
|
|
233
|
+
|
|
186
234
|
.univer-size-10 {
|
|
187
235
|
width: 2.5rem;
|
|
188
236
|
height: 2.5rem;
|
|
189
237
|
}
|
|
190
238
|
|
|
239
|
+
.univer-size-11 {
|
|
240
|
+
width: 2.75rem;
|
|
241
|
+
height: 2.75rem;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.univer-size-12 {
|
|
245
|
+
width: 3rem;
|
|
246
|
+
height: 3rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
191
249
|
.univer-size-2\.5 {
|
|
192
250
|
width: .625rem;
|
|
193
251
|
height: .625rem;
|
|
@@ -242,6 +300,10 @@
|
|
|
242
300
|
height: 2.5rem !important;
|
|
243
301
|
}
|
|
244
302
|
|
|
303
|
+
.\!univer-h-12 {
|
|
304
|
+
height: 3rem !important;
|
|
305
|
+
}
|
|
306
|
+
|
|
245
307
|
.\!univer-h-16 {
|
|
246
308
|
height: 4rem !important;
|
|
247
309
|
}
|
|
@@ -358,6 +420,14 @@
|
|
|
358
420
|
min-height: 0;
|
|
359
421
|
}
|
|
360
422
|
|
|
423
|
+
.univer-min-h-12 {
|
|
424
|
+
min-height: 3rem;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.univer-min-h-20 {
|
|
428
|
+
min-height: 5rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
361
431
|
.univer-min-h-7 {
|
|
362
432
|
min-height: 1.75rem;
|
|
363
433
|
}
|
|
@@ -370,6 +440,10 @@
|
|
|
370
440
|
width: 2.5rem !important;
|
|
371
441
|
}
|
|
372
442
|
|
|
443
|
+
.\!univer-w-12 {
|
|
444
|
+
width: 3rem !important;
|
|
445
|
+
}
|
|
446
|
+
|
|
373
447
|
.\!univer-w-8 {
|
|
374
448
|
width: 2rem !important;
|
|
375
449
|
}
|
|
@@ -402,6 +476,10 @@
|
|
|
402
476
|
width: 6rem;
|
|
403
477
|
}
|
|
404
478
|
|
|
479
|
+
.univer-w-28 {
|
|
480
|
+
width: 7rem;
|
|
481
|
+
}
|
|
482
|
+
|
|
405
483
|
.univer-w-56 {
|
|
406
484
|
width: 14rem;
|
|
407
485
|
}
|
|
@@ -544,6 +622,10 @@
|
|
|
544
622
|
cursor: pointer;
|
|
545
623
|
}
|
|
546
624
|
|
|
625
|
+
.univer-touch-manipulation {
|
|
626
|
+
touch-action: manipulation;
|
|
627
|
+
}
|
|
628
|
+
|
|
547
629
|
.univer-select-none {
|
|
548
630
|
user-select: none;
|
|
549
631
|
}
|
|
@@ -552,6 +634,10 @@
|
|
|
552
634
|
list-style-type: none;
|
|
553
635
|
}
|
|
554
636
|
|
|
637
|
+
.\!univer-appearance-none {
|
|
638
|
+
appearance: none !important;
|
|
639
|
+
}
|
|
640
|
+
|
|
555
641
|
.univer-grid-cols-2 {
|
|
556
642
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
557
643
|
}
|
|
@@ -588,6 +674,10 @@
|
|
|
588
674
|
align-items: flex-start;
|
|
589
675
|
}
|
|
590
676
|
|
|
677
|
+
.univer-items-end {
|
|
678
|
+
align-items: flex-end;
|
|
679
|
+
}
|
|
680
|
+
|
|
591
681
|
.univer-items-center {
|
|
592
682
|
align-items: center;
|
|
593
683
|
}
|
|
@@ -661,6 +751,26 @@
|
|
|
661
751
|
row-gap: 1.25rem;
|
|
662
752
|
}
|
|
663
753
|
|
|
754
|
+
.univer-space-y-2 > :not([hidden]) ~ :not([hidden]) {
|
|
755
|
+
--univer-tw-space-y-reverse: 0;
|
|
756
|
+
margin-top: .5rem;
|
|
757
|
+
margin-top: calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));
|
|
758
|
+
margin-top: .5rem;
|
|
759
|
+
margin-top: calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));
|
|
760
|
+
margin-bottom: 0;
|
|
761
|
+
margin-bottom: calc(.5rem * var(--univer-tw-space-y-reverse));
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.univer-space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
|
765
|
+
--univer-tw-space-y-reverse: 0;
|
|
766
|
+
margin-top: 1rem;
|
|
767
|
+
margin-top: calc(1rem * (1 - var(--univer-tw-space-y-reverse)));
|
|
768
|
+
margin-top: 1rem;
|
|
769
|
+
margin-top: calc(1rem * calc(1 - var(--univer-tw-space-y-reverse)));
|
|
770
|
+
margin-bottom: 0;
|
|
771
|
+
margin-bottom: calc(1rem * var(--univer-tw-space-y-reverse));
|
|
772
|
+
}
|
|
773
|
+
|
|
664
774
|
.univer-overflow-auto {
|
|
665
775
|
overflow: auto;
|
|
666
776
|
}
|
|
@@ -703,10 +813,18 @@
|
|
|
703
813
|
word-wrap: break-word;
|
|
704
814
|
}
|
|
705
815
|
|
|
816
|
+
.\!univer-rounded-none {
|
|
817
|
+
border-radius: 0 !important;
|
|
818
|
+
}
|
|
819
|
+
|
|
706
820
|
.univer-rounded {
|
|
707
821
|
border-radius: .25rem;
|
|
708
822
|
}
|
|
709
823
|
|
|
824
|
+
.univer-rounded-full {
|
|
825
|
+
border-radius: 9999px;
|
|
826
|
+
}
|
|
827
|
+
|
|
710
828
|
.univer-rounded-lg {
|
|
711
829
|
border-radius: .5rem;
|
|
712
830
|
}
|
|
@@ -723,6 +841,10 @@
|
|
|
723
841
|
border-radius: .75rem;
|
|
724
842
|
}
|
|
725
843
|
|
|
844
|
+
.\!univer-border-0 {
|
|
845
|
+
border-width: 0 !important;
|
|
846
|
+
}
|
|
847
|
+
|
|
726
848
|
.univer-border {
|
|
727
849
|
border-width: 1px;
|
|
728
850
|
}
|
|
@@ -795,6 +917,10 @@
|
|
|
795
917
|
border-color: var(--univer-primary-600);
|
|
796
918
|
}
|
|
797
919
|
|
|
920
|
+
.\!univer-bg-black\/35 {
|
|
921
|
+
background-color: #00000059 !important;
|
|
922
|
+
}
|
|
923
|
+
|
|
798
924
|
.\!univer-bg-transparent {
|
|
799
925
|
background-color: #0000 !important;
|
|
800
926
|
}
|
|
@@ -871,6 +997,11 @@
|
|
|
871
997
|
padding-right: .5rem;
|
|
872
998
|
}
|
|
873
999
|
|
|
1000
|
+
.univer-px-3 {
|
|
1001
|
+
padding-left: .75rem;
|
|
1002
|
+
padding-right: .75rem;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
874
1005
|
.univer-px-4 {
|
|
875
1006
|
padding-left: 1rem;
|
|
876
1007
|
padding-right: 1rem;
|
|
@@ -921,6 +1052,11 @@
|
|
|
921
1052
|
text-align: left;
|
|
922
1053
|
}
|
|
923
1054
|
|
|
1055
|
+
.\!univer-text-base {
|
|
1056
|
+
font-size: 1rem !important;
|
|
1057
|
+
line-height: 1.5rem !important;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
924
1060
|
.univer-text-2xl {
|
|
925
1061
|
font-size: 1.5rem;
|
|
926
1062
|
line-height: 2rem;
|
|
@@ -1081,6 +1217,14 @@
|
|
|
1081
1217
|
border-bottom-width: 0;
|
|
1082
1218
|
}
|
|
1083
1219
|
|
|
1220
|
+
.aria-pressed\:univer-bg-primary-50[aria-pressed="true"] {
|
|
1221
|
+
background-color: var(--univer-primary-50);
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.aria-pressed\:univer-text-primary-600[aria-pressed="true"] {
|
|
1225
|
+
color: var(--univer-primary-600);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1084
1228
|
@media (hover: hover) and (pointer: fine) {
|
|
1085
1229
|
.hover\:\!univer-border-primary-300:hover {
|
|
1086
1230
|
border-color: var(--univer-primary-300) !important;
|
|
@@ -1134,6 +1278,29 @@
|
|
|
1134
1278
|
background-color: var(--univer-gray-100);
|
|
1135
1279
|
}
|
|
1136
1280
|
|
|
1281
|
+
.active\:univer-scale-95:active {
|
|
1282
|
+
--univer-tw-scale-x: .95;
|
|
1283
|
+
--univer-tw-scale-y: .95;
|
|
1284
|
+
transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(.95) scaleY(.95);
|
|
1285
|
+
transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
.active\:univer-bg-gray-100:active {
|
|
1289
|
+
background-color: var(--univer-gray-100);
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
.active\:univer-bg-primary-50:active {
|
|
1293
|
+
background-color: var(--univer-primary-50);
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.active\:univer-bg-primary-700:active {
|
|
1297
|
+
background-color: var(--univer-primary-700);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.disabled\:univer-opacity-30:disabled {
|
|
1301
|
+
opacity: .3;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1137
1304
|
@media (min-width: 768px) {
|
|
1138
1305
|
.md\:\!univer-max-w-\[960px\] {
|
|
1139
1306
|
max-width: 960px !important;
|
|
@@ -1283,3 +1450,16 @@
|
|
|
1283
1450
|
.dark\:focus\:\!univer-bg-gray-800:focus:where(.univer-dark, .univer-dark *) {
|
|
1284
1451
|
background-color: var(--univer-gray-800) !important;
|
|
1285
1452
|
}
|
|
1453
|
+
|
|
1454
|
+
.\[\&_input\]\:\!univer-h-12 input {
|
|
1455
|
+
height: 3rem !important;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
.\[\&_input\]\:univer-text-center input {
|
|
1459
|
+
text-align: center;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
.\[\&_input\]\:\!univer-text-base input {
|
|
1463
|
+
font-size: 1rem !important;
|
|
1464
|
+
line-height: 1.5rem !important;
|
|
1465
|
+
}
|