@univerjs-pro/boards-ui 1.0.0-rc.0 → 1.0.0
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 +22 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4343fd=_0x540c;(function(_0x515bd6,_0x479494){const _0x365e59=_0x540c,_0x28b931=_0x515bd6();while(!![]){try{const _0x550508=-parseInt(_0x365e59(0x11d))/0x1*(parseInt(_0x365e59(0x14f))/0x2)+parseInt(_0x365e59(0x146))/0x3*(-parseInt(_0x365e59(0x102))/0x4)+parseInt(_0x365e59(0x12a))/0x5+parseInt(_0x365e59(0x116))/0x6+-parseInt(_0x365e59(0x13b))/0x7*(-parseInt(_0x365e59(0x115))/0x8)+parseInt(_0x365e59(0x160))/0x9*(-parseInt(_0x365e59(0x155))/0xa)+parseInt(_0x365e59(0xff))/0xb;if(_0x550508===_0x479494)break;else _0x28b931['push'](_0x28b931['shift']());}catch(_0x486380){_0x28b931['push'](_0x28b931['shift']());}}}(_0x3091,0x970cd));function _0x3091(){const _0x509a88=['Left\x20circular\x20arrow','Callout\x201','Border\x20callout\x203','6-point\x20star','Ribbon\x202','Heptagon','16-point\x20star','Funnel','Cloud\x20callout','Terminator','Dodecagon','Teardrop','Four-way\x20arrow\x20callout','Notched\x20right\x20arrow','Diagonal\x20snip\x20corner\x20rectangle','8-point\x20star','389320gbqYsL','4323630rnihif','7-point\x20star','Brace\x20pair','Curved\x20left\x20arrow','Decagon','Online\x20storage','Plaque\x20tabs','463jczdff','Summing\x20junction','Delay','Left\x20bracket','Down\x20arrow\x20callout','Callout\x203','Right\x20bracket','Offline\x20storage','Sound\x20button','Back\x20or\x20previous\x20button','Bent-up\x20arrow','Explosion\x201','10-point\x20star','5698310UupMys','End\x20button','Swoosh\x20arrow','Gear\x206','Accent\x20callout\x203','Square\x20tabs','Same-side\x20snip\x20corner\x20rectangle','Bracket\x20pair','Lightning\x20bolt','Left-right\x20circular\x20arrow','Heart','Bent\x20arrow','No\x20symbol','Left-right\x20arrow\x20callout','Circular\x20arrow','Up\x20arrow','Left-right-up\x20arrow','112lIvSyh','Same-side\x20round\x20corner\x20rectangle','12-point\x20star','Vertical\x20scroll','Up-down\x20arrow','Curved\x20up\x20arrow','Arc','Display','Pie','Rectangular\x20callout','Ellipse\x20ribbon','156EagKJh','Ribbon','Snip\x20and\x20round\x20corner\x20rectangle','Merge','Single\x20snip\x20corner\x20rectangle','Accent\x20border\x20callout\x203','Decision','Callout\x202','Forward\x20or\x20next\x20button','2388rcfiqa','Information\x20button','Magnetic\x20tape','Home\x20button','Wave','Movie\x20button','41710BdIsca','Gear\x209','Magnetic\x20drum','Accent\x20callout\x201','Accent\x20callout\x202','Magnetic\x20disk','Manual\x20input','Preparation','Striped\x20right\x20arrow','Double\x20wave','Extract','1197PUavLx','Chart\x20plus','Collate','Inverse\x20line','Document','Process','Input/output','Cube','Left-right\x20ribbon','Chart\x20star','24-point\x20star','Multiply','Diagonal\x20round\x20corner\x20rectangle','Corner','Bevel','Sort','Horizontal\x20scroll','Punched\x20tape','Return\x20button','Ellipse\x20ribbon\x202','Down\x20arrow','Right\x20arrow\x20callout','Minus','Left\x20arrow\x20callout','Curved\x20down\x20arrow','Frame','Sun','Not\x20equal','2282973BjjfTL','Curved\x20right\x20arrow','Internal\x20storage','86168IWhmOy','Manual\x20operation','Left-up\x20arrow'];_0x3091=function(){return _0x509a88;};return _0x3091();}const e={'snip1Rect':_0x4343fd(0x14a),'snip2SameRect':_0x4343fd(0x130),'snip2DiagRect':_0x4343fd(0x113),'snipRoundRect':_0x4343fd(0x148),'round1Rect':'Single\x20round\x20corner\x20rectangle','round2SameRect':_0x4343fd(0x13c),'round2DiagRect':_0x4343fd(0xef),'heptagon':_0x4343fd(0x10a),'decagon':_0x4343fd(0x11a),'dodecagon':_0x4343fd(0x10f),'pie':_0x4343fd(0x143),'chord':'Chord','teardrop':_0x4343fd(0x110),'frame':_0x4343fd(0xfc),'halfFrame':'Half\x20frame','corner':_0x4343fd(0xf0),'diagStripe':'Diagonal\x20stripe','plaque':'Plaque','cube':_0x4343fd(0xea),'bevel':_0x4343fd(0xf1),'donut':'Donut','noSmoking':_0x4343fd(0x136),'blockArc':'Block\x20arc','foldedCorner':'Folded\x20corner','smileyFace':'Smiley\x20face','heart':_0x4343fd(0x134),'lightningBolt':_0x4343fd(0x132),'sun':_0x4343fd(0xfd),'moon':'Moon','arc':_0x4343fd(0x141),'bracketPair':_0x4343fd(0x131),'bracePair':_0x4343fd(0x118),'leftBracket':_0x4343fd(0x120),'rightBracket':_0x4343fd(0x123),'upArrow':_0x4343fd(0x139),'downArrow':_0x4343fd(0xf7),'upDownArrow':_0x4343fd(0x13f),'quadArrow':'Four-way\x20arrow','leftRightUpArrow':_0x4343fd(0x13a),'bentArrow':_0x4343fd(0x135),'uturnArrow':'U-turn\x20arrow','leftUpArrow':_0x4343fd(0x104),'bentUpArrow':_0x4343fd(0x127),'curvedRightArrow':_0x4343fd(0x100),'curvedLeftArrow':_0x4343fd(0x119),'curvedUpArrow':_0x4343fd(0x140),'curvedDownArrow':_0x4343fd(0xfb),'stripedRightArrow':_0x4343fd(0x15d),'notchedRightArrow':_0x4343fd(0x112),'rightArrowCallout':_0x4343fd(0xf8),'downArrowCallout':_0x4343fd(0x121),'leftArrowCallout':_0x4343fd(0xfa),'upArrowCallout':'Up\x20arrow\x20callout','leftRightArrowCallout':_0x4343fd(0x137),'quadArrowCallout':_0x4343fd(0x111),'circularArrow':_0x4343fd(0x138),'mathMinus':_0x4343fd(0xf9),'mathMultiply':_0x4343fd(0xee),'mathDivide':'Divide','mathEqual':'Equal','mathNotEqual':_0x4343fd(0xfe),'flowChartProcess':_0x4343fd(0x165),'flowChartAlternateProcess':'Alternate\x20process','flowChartDecision':_0x4343fd(0x14c),'flowChartInputOutput':_0x4343fd(0xe9),'flowChartPredefinedProcess':'Predefined\x20process','flowChartInternalStorage':_0x4343fd(0x101),'flowChartDocument':_0x4343fd(0x164),'flowChartMultidocument':'Multiple\x20documents','flowChartTerminator':_0x4343fd(0x10e),'flowChartPreparation':_0x4343fd(0x15c),'flowChartManualInput':_0x4343fd(0x15b),'flowChartManualOperation':_0x4343fd(0x103),'flowChartConnector':'Connector','flowChartOffpageConnector':'Off-page\x20connector','flowChartPunchedCard':'Punched\x20card','flowChartPunchedTape':_0x4343fd(0xf4),'flowChartSummingJunction':_0x4343fd(0x11e),'flowChartOr':'Or','flowChartCollate':_0x4343fd(0x162),'flowChartSort':_0x4343fd(0xf2),'flowChartExtract':_0x4343fd(0x15f),'flowChartMerge':_0x4343fd(0x149),'flowChartOnlineStorage':_0x4343fd(0x11b),'flowChartDelay':_0x4343fd(0x11f),'flowChartMagneticTape':_0x4343fd(0x151),'flowChartMagneticDisk':_0x4343fd(0x15a),'flowChartMagneticDrum':_0x4343fd(0x157),'flowChartDisplay':_0x4343fd(0x142),'irregularSeal1':_0x4343fd(0x128),'irregularSeal2':'Explosion\x202','star4':'4-point\x20star','star6':_0x4343fd(0x108),'star7':_0x4343fd(0x117),'star8':_0x4343fd(0x114),'star10':_0x4343fd(0x129),'star12':_0x4343fd(0x13d),'star16':_0x4343fd(0x10b),'star24':_0x4343fd(0xed),'star32':'32-point\x20star','ribbon2':_0x4343fd(0x109),'ribbon':_0x4343fd(0x147),'ellipseRibbon2':_0x4343fd(0xf6),'ellipseRibbon':_0x4343fd(0x145),'verticalScroll':_0x4343fd(0x13e),'horizontalScroll':_0x4343fd(0xf3),'wave':_0x4343fd(0x153),'doubleWave':_0x4343fd(0x15e),'wedgeRectCallout':_0x4343fd(0x144),'cloudCallout':_0x4343fd(0x10d),'borderCallout1':'Border\x20callout\x201','borderCallout2':'Border\x20callout\x202','borderCallout3':_0x4343fd(0x107),'accentCallout1':_0x4343fd(0x158),'accentCallout2':_0x4343fd(0x159),'accentCallout3':_0x4343fd(0x12e),'callout1':_0x4343fd(0x106),'callout2':_0x4343fd(0x14d),'callout3':_0x4343fd(0x122),'accentBorderCallout1':'Accent\x20border\x20callout\x201','accentBorderCallout2':'Accent\x20border\x20callout\x202','accentBorderCallout3':_0x4343fd(0x14b),'leftCircularArrow':_0x4343fd(0x105),'leftRightCircularArrow':_0x4343fd(0x133),'swooshArrow':_0x4343fd(0x12c),'leftRightRibbon':_0x4343fd(0xeb),'pieWedge':'Pie\x20wedge','funnel':_0x4343fd(0x10c),'gear6':_0x4343fd(0x12d),'gear9':_0x4343fd(0x156),'cornerTabs':'Corner\x20tabs','actionButtonBackPrevious':_0x4343fd(0x126),'actionButtonForwardNext':_0x4343fd(0x14e),'actionButtonBeginning':'Beginning\x20button','actionButtonEnd':_0x4343fd(0x12b),'actionButtonHome':_0x4343fd(0x152),'actionButtonInformation':_0x4343fd(0x150),'actionButtonReturn':_0x4343fd(0xf5),'actionButtonMovie':_0x4343fd(0x154),'actionButtonDocument':'Document\x20button','actionButtonSound':_0x4343fd(0x125),'actionButtonHelp':'Help\x20button','actionButtonBlank':'Blank\x20button','chartPlus':_0x4343fd(0x161),'chartStar':_0x4343fd(0xec),'chartX':'Chart\x20X','flowChartOfflineStorage':_0x4343fd(0x124),'lineInv':_0x4343fd(0x163),'plaqueTabs':_0x4343fd(0x11c),'squareTabs':_0x4343fd(0x12f),'upDownArrowCallout':'Up-down\x20arrow\x20callout'};function _0x540c(_0x47e5c6,_0x1c3140){_0x47e5c6=_0x47e5c6-0xe9;const _0x3091f8=_0x3091();let _0x540c63=_0x3091f8[_0x47e5c6];return _0x540c63;}export{e as t};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x6e3801=_0x4053;(function(_0x329cd3,_0x357694){var _0x47e7f6=_0x4053,_0x441594=_0x329cd3();while(!![]){try{var _0x43c04f=parseInt(_0x47e7f6(0x124))/0x1*(parseInt(_0x47e7f6(0x11c))/0x2)+-parseInt(_0x47e7f6(0x129))/0x3+parseInt(_0x47e7f6(0x12c))/0x4+parseInt(_0x47e7f6(0x11e))/0x5*(-parseInt(_0x47e7f6(0x119))/0x6)+parseInt(_0x47e7f6(0x117))/0x7*(parseInt(_0x47e7f6(0x120))/0x8)+parseInt(_0x47e7f6(0x127))/0x9+-parseInt(_0x47e7f6(0x114))/0xa;if(_0x43c04f===_0x357694)break;else _0x441594['push'](_0x441594['shift']());}catch(_0x4040e5){_0x441594['push'](_0x441594['shift']());}}}(_0x461e,0x6ae90));import{AnalyzeBoardRenderedLayoutCommand as _0x473759,BoardInteractionMode as _0x5210a8,CaptureBoardScreenshotCommand as _0x4b3cee,FindBoardElementsByTextOperation as _0x1a0b3a,FocusBoardElementOperation as _0x5a97de,GetBoardElementViewportPointOperation as _0x4adc14,GetBoardInteractionModeOperation as _0x29fbbd,GetBoardObjectListPanelOpenOperation as _0x5d667e,GetBoardSettingsOperation as _0x201c2b,SetBoardInteractionModeOperation as _0x34eeea,SetBoardObjectListPanelOpenOperation as _0x4cca3c,SetBoardSettingsOperation as _0x29ab1d}from'@univerjs-pro/boards-ui';import{FBoard as _0x25d72b}from'@univerjs-pro/boards/facade';import{FEnum as _0x59cf7e}from'@univerjs/core/facade';function _0x4053(_0x654333,_0x384234){_0x654333=_0x654333-0x114;var _0x461e9f=_0x461e();var _0x405335=_0x461e9f[_0x654333];return _0x405335;}var m=class extends _0x25d72b{[_0x6e3801(0x11f)](_0x242d0c){var _0x2b19e2=_0x6e3801;return this['_commandService'][_0x2b19e2(0x123)](_0x473759['id'],{'unitId':this['id'],'subUnitId':this[_0x2b19e2(0x122)][_0x2b19e2(0x12d)](),'focusPadding':_0x242d0c});}[_0x6e3801(0x125)](_0x1f94d7){var _0x50a68d=_0x6e3801;return this['_commandService'][_0x50a68d(0x121)](_0x4b3cee['id'],{..._0x1f94d7,'unitId':this['id'],'subUnitId':this[_0x50a68d(0x122)][_0x50a68d(0x12d)]()});}};_0x25d72b[_0x6e3801(0x115)](m);var h=class extends _0x59cf7e{get[_0x6e3801(0x126)](){return _0x5210a8;}};_0x59cf7e[_0x6e3801(0x115)](h);function _0x461e(){var _0x4a66c9=['findElementsByText','728388BdeeWu','getActivePageId','3450190EexODN','extend','getInteractionMode','7lhANIh','getElementViewportPoint','30TpGKPZ','setSettings','getSettings','24460cXvxNw','_commandService','63185mgjYHb','analyzeRenderedLayout','2195688fAFocI','executeCommand','_boardModel','syncExecuteCommand','49rzseCU','getScreenshot','BoardInteractionMode','1863945dJRwla','setInteractionMode','1250475QPZYDT','setObjectListPanelOpen'];_0x461e=function(){return _0x4a66c9;};return _0x461e();}var g=class extends _0x25d72b{[_0x6e3801(0x116)](){var _0x35be7f=_0x6e3801;return this[_0x35be7f(0x11d)][_0x35be7f(0x123)](_0x29fbbd['id'],{'unitId':this['id']});}[_0x6e3801(0x128)](_0x33b78a){var _0x2d0bf7=_0x6e3801;return this[_0x2d0bf7(0x11d)][_0x2d0bf7(0x121)](_0x34eeea['id'],{'unitId':this['id'],'mode':_0x33b78a});}[_0x6e3801(0x11b)](){var _0xbf1be2=_0x6e3801;return this[_0xbf1be2(0x11d)][_0xbf1be2(0x123)](_0x201c2b['id'],{'unitId':this['id']});}[_0x6e3801(0x11a)](_0x230210){var _0x25cab7=_0x6e3801;return this[_0x25cab7(0x11d)][_0x25cab7(0x123)](_0x29ab1d['id'],{'unitId':this['id'],'settings':_0x230210});}['getObjectListPanelOpen'](){var _0xd4f573=_0x6e3801;return this[_0xd4f573(0x11d)][_0xd4f573(0x123)](_0x5d667e['id'],{'unitId':this['id']});}[_0x6e3801(0x12a)](_0x2c29fc){var _0x8f8202=_0x6e3801;return this[_0x8f8202(0x11d)]['syncExecuteCommand'](_0x4cca3c['id'],{'unitId':this['id'],'open':_0x2c29fc});}[_0x6e3801(0x12b)](_0x31c587){var _0x4a28ff=_0x6e3801;return this[_0x4a28ff(0x11d)][_0x4a28ff(0x123)](_0x1a0b3a['id'],{'unitId':this['id'],'query':_0x31c587});}['focusElement'](_0xe214ce,_0x4c8470){var _0x48cfe2=_0x6e3801;return this[_0x48cfe2(0x11d)][_0x48cfe2(0x123)](_0x5a97de['id'],{'unitId':this['id'],'elementId':_0xe214ce,'viewportPoint':_0x4c8470});}[_0x6e3801(0x118)](_0x148895){var _0x24d043=_0x6e3801;return this[_0x24d043(0x11d)][_0x24d043(0x123)](_0x4adc14['id'],{'unitId':this['id'],'elementId':_0x148895});}};_0x25d72b[_0x6e3801(0x115)](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
|
+
}
|