@univerjs-pro/sheets-print 0.14.0-insiders.20251227-b250a8d → 0.15.0-insiders.20251227-dafc157

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 (55) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/common/const.d.ts +42 -42
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +15 -15
@@ -1 +1 @@
1
- const _0x177890=_0x323b;(function(_0x5d68b8,_0x3132e7){const _0x3e5d94=_0x323b,_0x2722ca=_0x5d68b8();while(!![]){try{const _0xf579c7=parseInt(_0x3e5d94(0xd4))/0x1*(-parseInt(_0x3e5d94(0xce))/0x2)+-parseInt(_0x3e5d94(0xa3))/0x3*(-parseInt(_0x3e5d94(0xb9))/0x4)+parseInt(_0x3e5d94(0xc7))/0x5+-parseInt(_0x3e5d94(0xa8))/0x6*(-parseInt(_0x3e5d94(0xd5))/0x7)+parseInt(_0x3e5d94(0x9c))/0x8+parseInt(_0x3e5d94(0xa9))/0x9*(-parseInt(_0x3e5d94(0xb5))/0xa)+-parseInt(_0x3e5d94(0xa2))/0xb;if(_0xf579c7===_0x3132e7)break;else _0x2722ca['push'](_0x2722ca['shift']());}catch(_0x22e3fd){_0x2722ca['push'](_0x2722ca['shift']());}}}(_0x5128,0xc05e4));function _0x323b(_0x3c9283,_0x273a7c){_0x3c9283=_0x3c9283-0x9b;const _0x512805=_0x5128();let _0x323b11=_0x512805[_0x3c9283];return _0x323b11;}const e={'print':{'header':{'total':_0x177890(0xdf),'pages':'頁','cancel':'取消','next':_0x177890(0xc2),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x177890(0xe2),'showGrid':_0x177890(0xbb),'showGridLabel':'顯示分頁線','closeAndHide':_0x177890(0xd8)},'screenshot':{'title':_0x177890(0xbe),'success':_0x177890(0xb1),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':'紙張大小','letter':_0x177890(0xa0),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x177890(0x9b),'executive':_0x177890(0xcc),'folio':_0x177890(0xcd),'a3':_0x177890(0xb6),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x177890(0xba),'b4':_0x177890(0xdd),'b5':_0x177890(0xdc)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x177890(0xad),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x177890(0xc4),'workbook':_0x177890(0xcf),'currentSelection':_0x177890(0xb2),'maxRowsEachPage':_0x177890(0xd2),'maxColumnsEachPage':_0x177890(0xc5),'limit':_0x177890(0xd0),'allSelection':_0x177890(0xd1)},'selection':{'title':_0x177890(0xc9),'allWorkbook':_0x177890(0xe1),'workbookUnit':_0x177890(0xa5)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x177890(0xbd),'fitHeight':'調整至頁面高度','fitPage':_0x177890(0xde),'custom':_0x177890(0xab)},'orientation':{'title':_0x177890(0xc1),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x177890(0xb4),'skeleton':_0x177890(0xc8),'waterMark':_0x177890(0xb8)},'align':{'title':'對齊','horizontal':{'title':_0x177890(0x9e),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x177890(0xd9),'page':'頁碼','workbook':_0x177890(0xa7),'sheet':_0x177890(0xd3),'date':'目前日期','time':'目前時間','customHeadFooter':_0x177890(0xb3),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x177890(0xda),'dateA':'YYYY-MM-DD','dateB':_0x177890(0xac),'dateC':'L','dateD':_0x177890(0xca),'timeA':_0x177890(0xdb),'timeB':_0x177890(0xa1),'timeC':_0x177890(0xa4),'timeD':_0x177890(0xb0),'display':{'page':'頁碼','title':_0x177890(0xa7),'sheet':_0x177890(0xd3),'dateA':_0x177890(0xcb),'dateB':_0x177890(0xb7),'dateC':'日期C','dateD':_0x177890(0xbc),'dateE':_0x177890(0xa6),'dateF':_0x177890(0xc3),'timeA':_0x177890(0xaa),'timeB':_0x177890(0xe0),'timeC':_0x177890(0xaf),'timeD':'時間D','sheetPage':_0x177890(0x9d),'pageTotal':'總頁數','sheetPageTotal':_0x177890(0xc6)},'placeholder':_0x177890(0xd7),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x177890(0xc0),'row':'重複凍結的列','column':_0x177890(0xbf)},'limit':{'page':_0x177890(0xae),'waterMark':_0x177890(0xd6),'link':_0x177890(0x9f)}}};function _0x5128(){const _0x51211d=['水平對齊','https://univer.ai/pro','Letter\x20(8.5\x22\x20x\x2011\x22)','HH:mm','26099733zIggdK','9YXCKTe','hh:mm:ss','張工作表','日期E','活頁簿標題','42858uhWnXG','10197909aGjnLf','時間A','自訂比例','MM-DD','自訂义頁邊距','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','時間C','hh:mm','圖片已成功複製到剪貼簿!','已選取的儲存格','自訂頁首/頁尾','格式設定','10SsByIg','A3\x20(11.69\x22\x20x\x2016.54\x22)','日期B','顯示浮水印','222916dANqNh','A5\x20(5.83\x22\x20x\x208.27\x22)','顯示分頁符號','日期D','調整至頁面寬度','複製為圖片','重複凍結的欄','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','頁面方向','下一步','日期F','目前工作表','每頁最大欄數','工作表總頁數','6482975NByLxK','顯示格線','選取範圍','MM/DD','日期A','Executive\x20(7.25\x22\x20x\x2010.5\x22)','Folio\x20(8.5\x22\x20x\x2013\x22)','83498ltOTvO','活頁簿','列與欄限制','所有選取的儲存格','每頁最大列數','工作表名稱','2zaWzWm','1351CkryFC','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','點擊以新增文字','關閉並隱藏分頁線','頁首和頁尾','日期格式','HH:mm:ss','B5\x20(6.93\x22\x20x\x209.84\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','調整至頁面大小','總計:','時間B','所有工作表','列印版面配置','Statement\x20(5.5\x22\x20x\x208.5\x22)','12278888bmDslw','工作表頁碼'];_0x5128=function(){return _0x51211d;};return _0x5128();}export{e as default};
1
+ const _0x60d625=_0x11aa;(function(_0xab0b09,_0x403088){const _0x562bce=_0x11aa,_0x72ad57=_0xab0b09();while(!![]){try{const _0x5376d9=-parseInt(_0x562bce(0x1a8))/0x1*(parseInt(_0x562bce(0x179))/0x2)+parseInt(_0x562bce(0x195))/0x3*(-parseInt(_0x562bce(0x1b5))/0x4)+-parseInt(_0x562bce(0x1a0))/0x5*(-parseInt(_0x562bce(0x1bd))/0x6)+parseInt(_0x562bce(0x186))/0x7*(parseInt(_0x562bce(0x178))/0x8)+parseInt(_0x562bce(0x1a2))/0x9*(-parseInt(_0x562bce(0x1b2))/0xa)+-parseInt(_0x562bce(0x1b4))/0xb*(parseInt(_0x562bce(0x1a9))/0xc)+parseInt(_0x562bce(0x1a4))/0xd;if(_0x5376d9===_0x403088)break;else _0x72ad57['push'](_0x72ad57['shift']());}catch(_0x2e01c5){_0x72ad57['push'](_0x72ad57['shift']());}}}(_0x4ec2,0x34040));function _0x4ec2(){const _0x3e5857=['標準\x20(100%)','日期格式','顯示格線','日期B','活頁簿','567cIwTzc','HH:mm:ss','顯示分頁符號','A5\x20(5.83\x22\x20x\x208.27\x22)','紙張大小','頁首和頁尾','編輯自訂頁首/頁尾','自訂頁首/頁尾','A3\x20(11.69\x22\x20x\x2016.54\x22)','B5\x20(6.93\x22\x20x\x209.84\x22)','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','列印版面配置','活頁簿標題','每頁最大欄數','總計:','30MGUwuS','每頁最大列數','顯示分頁線','垂直對齊','關閉並隱藏分頁線','所有選取的儲存格','Tabloid\x20(11\x22\x20x\x2017\x22)','重複凍結的欄','自訂比例','時間D','調整至頁面寬度','6640GSoImj','列與欄標題','387LZuwtw','時間B','9271704MBlUve','下一步','Legal\x20(8.5\x22\x20x\x2014\x22)','自訂义頁邊距','1LaGVWo','99060ivZtio','列與欄限制','工作表名稱','工作表總頁數','列印中,請勿關閉頁面','日期E','調整至頁面高度','頁面方向','hh:mm:ss','10140unwTGt','圖片複製到剪貼簿失敗!','77ZoXhsU','118324sIZfMm','水平對齊','目前日期','重複凍結的列','總頁數','顯示浮水印','時間C','Executive\x20(7.25\x22\x20x\x2010.5\x22)','492QiWLtc','所有工作表','日期D','7552FdbaXX','576630AAXuDL','日期F','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','目前時間','Folio\x20(8.5\x22\x20x\x2013\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','調整至頁面大小','MM-DD'];_0x4ec2=function(){return _0x3e5857;};return _0x4ec2();}const e={'print':{'header':{'total':_0x60d625(0x194),'pages':'頁','cancel':'取消','next':_0x60d625(0x1a5),'printing':_0x60d625(0x1ad)},'menu':'列印','title':'列印','grid':{'title':_0x60d625(0x191),'showGrid':_0x60d625(0x188),'showGridLabel':_0x60d625(0x197),'closeAndHide':_0x60d625(0x199)},'screenshot':{'title':'複製為圖片','success':'圖片已成功複製到剪貼簿!','fail':_0x60d625(0x1b3)},'size':{'title':_0x60d625(0x18a),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x60d625(0x19b),'legal':_0x60d625(0x1a6),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x60d625(0x1bc),'folio':_0x60d625(0x17d),'a3':_0x60d625(0x18e),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x60d625(0x189),'b4':_0x60d625(0x17e),'b5':_0x60d625(0x18f)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x60d625(0x1a7),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':'目前工作表','workbook':_0x60d625(0x185),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x60d625(0x196),'maxColumnsEachPage':_0x60d625(0x193),'limit':_0x60d625(0x1aa),'allSelection':_0x60d625(0x19a)},'selection':{'title':'選取範圍','allWorkbook':_0x60d625(0x1be),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x60d625(0x181),'fitWidth':_0x60d625(0x19f),'fitHeight':_0x60d625(0x1af),'fitPage':_0x60d625(0x17f),'custom':_0x60d625(0x19d)},'orientation':{'title':_0x60d625(0x1b0),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x60d625(0x183),'waterMark':_0x60d625(0x1ba)},'align':{'title':'對齊','horizontal':{'title':_0x60d625(0x1b6),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x60d625(0x198),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x60d625(0x18b),'page':'頁碼','workbook':'活頁簿標題','sheet':'工作表名稱','date':_0x60d625(0x1b7),'time':_0x60d625(0x17c),'customHeadFooter':_0x60d625(0x18d),'editCustomHeadFooter':_0x60d625(0x18c),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x60d625(0x182),'dateA':'YYYY-MM-DD','dateB':_0x60d625(0x180),'dateC':'L','dateD':'MM/DD','timeA':_0x60d625(0x187),'timeB':'HH:mm','timeC':_0x60d625(0x1b1),'timeD':'hh:mm','display':{'page':'頁碼','title':_0x60d625(0x192),'sheet':_0x60d625(0x1ab),'dateA':'日期A','dateB':_0x60d625(0x184),'dateC':'日期C','dateD':_0x60d625(0x177),'dateE':_0x60d625(0x1ae),'dateF':_0x60d625(0x17a),'timeA':'時間A','timeB':_0x60d625(0x1a3),'timeC':_0x60d625(0x1bb),'timeD':_0x60d625(0x19e),'sheetPage':'工作表頁碼','pageTotal':_0x60d625(0x1b9),'sheetPageTotal':_0x60d625(0x1ac)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x60d625(0x1a1),'desc':_0x60d625(0x17b),'row':_0x60d625(0x1b8),'column':_0x60d625(0x19c)},'limit':{'page':_0x60d625(0x190),'waterMark':'Univer\x20免費版本,由\x20univer.ai\x20提供支援。','link':'https://univer.ai/pro'}}};function _0x11aa(_0x1b162a,_0x52125d){_0x1b162a=_0x1b162a-0x177;const _0x4ec231=_0x4ec2();let _0x11aa3f=_0x4ec231[_0x1b162a];return _0x11aa3f;}export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4e437b=_0x4eb0;(function(_0x47d25f,_0x44a596){const _0x5c8628=_0x4eb0,_0xfadee9=_0x47d25f();while(!![]){try{const _0x55f328=parseInt(_0x5c8628(0x1ae))/0x1*(parseInt(_0x5c8628(0x1c5))/0x2)+-parseInt(_0x5c8628(0x197))/0x3*(parseInt(_0x5c8628(0x1c0))/0x4)+parseInt(_0x5c8628(0x1a2))/0x5*(parseInt(_0x5c8628(0x1b1))/0x6)+-parseInt(_0x5c8628(0x1a4))/0x7+parseInt(_0x5c8628(0x1be))/0x8+parseInt(_0x5c8628(0x1a1))/0x9*(parseInt(_0x5c8628(0x1c3))/0xa)+-parseInt(_0x5c8628(0x1af))/0xb*(parseInt(_0x5c8628(0x19c))/0xc);if(_0x55f328===_0x44a596)break;else _0xfadee9['push'](_0xfadee9['shift']());}catch(_0x45beec){_0xfadee9['push'](_0xfadee9['shift']());}}}(_0x1cc2,0x47e62));import{ISheetPrintManagerService as _0x10f39d,ConfirmSheetPrintOperation as _0x193289,SheetPrintOpenOperation as _0x1cd345,CancelSheetPrintOperation as _0x43a62c,hasPrintFacadePermission as _0x2f083a,SheetScreenShotOperation as _0x12c281,SheetPrintClientService as _0xe597da,PrintArea as _0x1a7383,PrintFreeze as _0x3e7a58,PrintHeaderFooter as _0x1c04fe,PrintHeaderFooterSymbol as _0x14910a}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2692da,PaperType as _0x5d73a8,CanceledError as _0x5c909e}from'@univerjs/core';import{FWorkbook as _0x2ecdce,FRange as _0x5b69a5}from'@univerjs/sheets/facade';import{FEventName as _0x1434e5,FEnum as _0x251bb3,FUniver as _0x23577d}from'@univerjs/core/facade';import{PrintAlign as _0x426155,PrintPaperMargin as _0x4468cd,PrintScale as _0x3f0645,PrintDirection as _0x5d56d7}from'@univerjs-pro/print';function _0x1cc2(){const _0x4ec9a7=['getSheetId','_initialize','executeCommand','print','beforeCommandExecuted','layoutConfig','BeforeSheetPrintConfirm','90631qFPLwO','1837PFuVvD','_worksheet','6QICkNC','SheetPrintCanceled','onCommandExecuted','SheetPrintOpen','PrintAlign','PrintFreeze','getActiveUniverSheet','PrintScale','syncExecuteCommand','registerEventHandler','_workbook','Event','closePrintDialog','3006272evlvpP','get','448ypxlmT','fireEvent','getScreenshot','310220cLmdhw','getActiveSheet','2EMebSa','renderConfig','PrintArea','updatePrintRenderConfig','339LUfMAW','extend','cancel','BeforeSheetPrintOpen','saveScreenshotToClipboard','55884QRaVhD','updatePrintConfig','SheetPrintConfirmed','PrintHeaderFooterSymbol','PrintPaperSize','126TTQpME','1456435LKAiIM','_injector','749959biIyTR','BeforeSheetPrintCanceled','openPrintDialog'];_0x1cc2=function(){return _0x4ec9a7;};return _0x1cc2();}class A extends _0x2ecdce{[_0x4e437b(0x19d)](_0x1193b6){const _0x160367=_0x4e437b;return this[_0x160367(0x1a3)][_0x160367(0x1bf)](_0x10f39d)['updateLayoutConfig'](_0x1193b6),this;}[_0x4e437b(0x196)](_0x37506b){const _0x40a0a2=_0x4e437b;return this[_0x40a0a2(0x1a3)][_0x40a0a2(0x1bf)](_0x10f39d)['updateRenderConfig'](_0x37506b),this;}[_0x4e437b(0x1aa)](){const _0x4b00a4=_0x4e437b;return this['_injector'][_0x4b00a4(0x1bf)](_0x2692da)['syncExecuteCommand'](_0x193289['id']);}[_0x4e437b(0x1a6)](){const _0x2bbd91=_0x4e437b;return this[_0x2bbd91(0x1a3)][_0x2bbd91(0x1bf)](_0x2692da)[_0x2bbd91(0x1b9)](_0x1cd345['id']);}[_0x4e437b(0x1bd)](){return this['_injector']['get'](_0x2692da)['syncExecuteCommand'](_0x43a62c['id']);}async[_0x4e437b(0x19b)](){const _0xc35523=_0x4e437b;return _0x2f083a(this[_0xc35523(0x1a3)])?this[_0xc35523(0x1a3)][_0xc35523(0x1bf)](_0x2692da)[_0xc35523(0x1a9)](_0x12c281['id']):!0x1;}}_0x2ecdce['extend'](A);class B extends _0x5b69a5{[_0x4e437b(0x1c2)](){const _0x5cc95b=_0x4e437b;return _0x2f083a(this[_0x5cc95b(0x1a3)])?this['_injector']['get'](_0xe597da)['getRangeImage'](this[_0x5cc95b(0x1bb)]['getUnitId'](),this[_0x5cc95b(0x1b0)][_0x5cc95b(0x1a7)](),this['_range']):!0x1;}}function _0x4eb0(_0x112b40,_0x66b4fd){_0x112b40=_0x112b40-0x196;const _0x1cc200=_0x1cc2();let _0x4eb029=_0x1cc200[_0x112b40];return _0x4eb029;}_0x5b69a5[_0x4e437b(0x198)](B);class H{get[_0x4e437b(0x19a)](){return'BeforeSheetPrintOpen';}get[_0x4e437b(0x1ad)](){const _0x24d8f7=_0x4e437b;return _0x24d8f7(0x1ad);}get[_0x4e437b(0x1a5)](){const _0x2306d7=_0x4e437b;return _0x2306d7(0x1a5);}get['SheetPrintOpen'](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x29f07f=_0x4e437b;return _0x29f07f(0x19e);}get['SheetPrintCanceled'](){const _0xae0b8=_0x4e437b;return _0xae0b8(0x1b2);}}_0x1434e5[_0x4e437b(0x198)](H);class U{get[_0x4e437b(0x1c7)](){return _0x1a7383;}get[_0x4e437b(0x1b5)](){return _0x426155;}get[_0x4e437b(0x1a0)](){return _0x5d73a8;}get['PrintPaperMargin'](){return _0x4468cd;}get[_0x4e437b(0x1b8)](){return _0x3f0645;}get['PrintDirection'](){return _0x5d56d7;}get[_0x4e437b(0x1b6)](){return _0x3e7a58;}get['PrintHeaderFooter'](){return _0x1c04fe;}get[_0x4e437b(0x19f)](){return _0x14910a;}}_0x251bb3[_0x4e437b(0x198)](U);class M extends _0x23577d{[_0x4e437b(0x1a8)](_0x2e4bf7){const _0x14ef3c=_0x4e437b,_0x2b29a0=_0x2e4bf7[_0x14ef3c(0x1bf)](_0x2692da);this[_0x14ef3c(0x1ba)](this[_0x14ef3c(0x1bc)][_0x14ef3c(0x19a)],()=>_0x2b29a0[_0x14ef3c(0x1ab)](_0x33335b=>{const _0x2b018c=_0x14ef3c;if(_0x33335b['id']===_0x1cd345['id']){const _0x2ab8b3=this[_0x2b018c(0x1b7)]();if(!_0x2ab8b3)return;const _0x264cc0={'workbook':_0x2ab8b3,'worksheet':_0x2ab8b3[_0x2b018c(0x1c4)]()};if(_0x264cc0==null)return;if(this[_0x2b018c(0x1c1)](this[_0x2b018c(0x1bc)][_0x2b018c(0x19a)],_0x264cc0),_0x264cc0[_0x2b018c(0x199)])throw new _0x5c909e();}})),this['registerEventHandler'](this[_0x14ef3c(0x1bc)][_0x14ef3c(0x1ad)],()=>_0x2b29a0[_0x14ef3c(0x1ab)](_0x2f2fe7=>{const _0x1ff31e=_0x14ef3c;if(_0x2f2fe7['id']===_0x193289['id']){const _0x150ec8=_0x2e4bf7[_0x1ff31e(0x1bf)](_0x10f39d);if(!this[_0x1ff31e(0x1b7)]())return;const _0x380974={'layoutConfig':_0x150ec8[_0x1ff31e(0x1ac)],'renderConfig':_0x150ec8['renderConfig']};if(_0x380974==null)return;if(this['fireEvent'](this[_0x1ff31e(0x1bc)][_0x1ff31e(0x1ad)],_0x380974),_0x380974[_0x1ff31e(0x199)])throw new _0x5c909e();}})),this['registerEventHandler'](this[_0x14ef3c(0x1bc)]['BeforeSheetPrintCanceled'],()=>_0x2b29a0[_0x14ef3c(0x1ab)](_0x19c8d2=>{const _0x173cb7=_0x14ef3c;if(_0x19c8d2['id']===_0x43a62c['id']){const _0xf4a2f5=_0x2e4bf7['get'](_0x10f39d);if(!this[_0x173cb7(0x1b7)]())return;const _0x46b2db={'layoutConfig':_0xf4a2f5['layoutConfig'],'renderConfig':_0xf4a2f5[_0x173cb7(0x1c6)]};if(_0x46b2db==null)return;if(this['fireEvent'](this[_0x173cb7(0x1bc)]['BeforeSheetPrintCanceled'],_0x46b2db),_0x46b2db[_0x173cb7(0x199)])throw new _0x5c909e();}})),this[_0x14ef3c(0x1ba)](this[_0x14ef3c(0x1bc)][_0x14ef3c(0x1b4)],()=>_0x2b29a0[_0x14ef3c(0x1b3)](_0x51a18b=>{const _0x16e71a=_0x14ef3c;if(_0x51a18b['id']===_0x1cd345['id']){const _0x454ac2=this['getActiveUniverSheet']();if(!_0x454ac2)return;const _0x428be9={'workbook':_0x454ac2,'worksheet':_0x454ac2[_0x16e71a(0x1c4)]()};if(_0x428be9==null)return;this[_0x16e71a(0x1c1)](this[_0x16e71a(0x1bc)][_0x16e71a(0x1b4)],_0x428be9);}})),this[_0x14ef3c(0x1ba)](this['Event'][_0x14ef3c(0x19e)],()=>_0x2b29a0['onCommandExecuted'](_0x2ce17c=>{const _0x123468=_0x14ef3c;if(_0x2ce17c['id']===_0x193289['id']){const _0x333626=_0x2e4bf7[_0x123468(0x1bf)](_0x10f39d);if(!this[_0x123468(0x1b7)]())return;const _0x86948c={'layoutConfig':_0x333626[_0x123468(0x1ac)],'renderConfig':_0x333626[_0x123468(0x1c6)]};if(_0x86948c==null)return;this['fireEvent'](this[_0x123468(0x1bc)][_0x123468(0x19e)],_0x86948c);}})),this[_0x14ef3c(0x1ba)](this[_0x14ef3c(0x1bc)]['SheetPrintCanceled'],()=>_0x2b29a0[_0x14ef3c(0x1b3)](_0x1538d0=>{const _0x469b0f=_0x14ef3c;if(_0x1538d0['id']===_0x43a62c['id']){const _0x50a4a3=_0x2e4bf7[_0x469b0f(0x1bf)](_0x10f39d);if(!this[_0x469b0f(0x1b7)]())return;const _0xed5114={'layoutConfig':_0x50a4a3[_0x469b0f(0x1ac)],'renderConfig':_0x50a4a3['renderConfig']};if(_0xed5114==null)return;this[_0x469b0f(0x1c1)](this[_0x469b0f(0x1bc)][_0x469b0f(0x1b2)],_0xed5114);}}));}}_0x23577d['extend'](M);
1
+ const _0x48d022=_0x1697;(function(_0x1fc80e,_0x59d4db){const _0xcca06e=_0x1697,_0x1c0947=_0x1fc80e();while(!![]){try{const _0x4fdd40=parseInt(_0xcca06e(0x86))/0x1*(parseInt(_0xcca06e(0x94))/0x2)+-parseInt(_0xcca06e(0xa7))/0x3*(-parseInt(_0xcca06e(0xa5))/0x4)+parseInt(_0xcca06e(0xa0))/0x5*(parseInt(_0xcca06e(0x90))/0x6)+parseInt(_0xcca06e(0xaf))/0x7+-parseInt(_0xcca06e(0x93))/0x8*(-parseInt(_0xcca06e(0x8f))/0x9)+-parseInt(_0xcca06e(0x8c))/0xa+-parseInt(_0xcca06e(0xa8))/0xb*(parseInt(_0xcca06e(0x96))/0xc);if(_0x4fdd40===_0x59d4db)break;else _0x1c0947['push'](_0x1c0947['shift']());}catch(_0x2af93d){_0x1c0947['push'](_0x1c0947['shift']());}}}(_0x2a99,0xa3999));import{ISheetPrintManagerService as _0x1779bb,ConfirmSheetPrintOperation as _0x1da723,SheetPrintOpenOperation as _0x58a5b2,CancelSheetPrintOperation as _0x2a2207,hasPrintFacadePermission as _0x2ae0f9,SheetScreenShotOperation as _0x1e1da0,SheetPrintClientService as _0x2c69a1,PrintArea as _0x3ca57c,PrintFreeze as _0x4c0f76,PrintHeaderFooter as _0x16005a,PrintHeaderFooterSymbol as _0x266793}from'@univerjs-pro/sheets-print';import{ICommandService as _0x3440d7,PaperType as _0x4c790e,CanceledError as _0x4f317b}from'@univerjs/core';import{FWorkbook as _0x29ea67,FRange as _0x1f1b7e}from'@univerjs/sheets/facade';import{FEventName as _0x5aef88,FEnum as _0x15ee0c,FUniver as _0x3686fe}from'@univerjs/core/facade';import{PrintAlign as _0x5dca4a,PrintPaperMargin as _0x4abf3c,PrintScale as _0x3afc97,PrintDirection as _0x27851f}from'@univerjs-pro/print';class A extends _0x29ea67{[_0x48d022(0x84)](_0x8f3c67){const _0x98ff40=_0x48d022;return this[_0x98ff40(0xa1)][_0x98ff40(0xae)](_0x1779bb)[_0x98ff40(0x7f)](_0x8f3c67),this;}[_0x48d022(0x88)](_0x7aeb66){const _0x76d3f4=_0x48d022;return this['_injector'][_0x76d3f4(0xae)](_0x1779bb)[_0x76d3f4(0xaa)](_0x7aeb66),this;}[_0x48d022(0x8d)](){const _0x3a1e35=_0x48d022;return this[_0x3a1e35(0xa1)][_0x3a1e35(0xae)](_0x3440d7)['syncExecuteCommand'](_0x1da723['id']);}['openPrintDialog'](){const _0x431c3b=_0x48d022;return this[_0x431c3b(0xa1)][_0x431c3b(0xae)](_0x3440d7)[_0x431c3b(0x9f)](_0x58a5b2['id']);}[_0x48d022(0x98)](){const _0x1ce018=_0x48d022;return this['_injector'][_0x1ce018(0xae)](_0x3440d7)[_0x1ce018(0x9f)](_0x2a2207['id']);}async['saveScreenshotToClipboard'](){const _0x1cc43e=_0x48d022;return _0x2ae0f9(this[_0x1cc43e(0xa1)])?this[_0x1cc43e(0xa1)]['get'](_0x3440d7)[_0x1cc43e(0x92)](_0x1e1da0['id']):!0x1;}}_0x29ea67[_0x48d022(0x8b)](A);class B extends _0x1f1b7e{[_0x48d022(0x83)](){const _0x3f0ad3=_0x48d022;return _0x2ae0f9(this['_injector'])?this[_0x3f0ad3(0xa1)][_0x3f0ad3(0xae)](_0x2c69a1)['getRangeImage'](this[_0x3f0ad3(0x8a)][_0x3f0ad3(0x97)](),this[_0x3f0ad3(0x99)][_0x3f0ad3(0x9a)](),this[_0x3f0ad3(0x91)]):!0x1;}}_0x1f1b7e[_0x48d022(0x8b)](B);class H{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x48d022(0x89)](){const _0x4436b0=_0x48d022;return _0x4436b0(0x89);}get[_0x48d022(0x7e)](){const _0x362489=_0x48d022;return _0x362489(0x7e);}get[_0x48d022(0x80)](){return'SheetPrintOpen';}get[_0x48d022(0x87)](){const _0x4b3340=_0x48d022;return _0x4b3340(0x87);}get[_0x48d022(0x9e)](){const _0x47b3a7=_0x48d022;return _0x47b3a7(0x9e);}}_0x5aef88[_0x48d022(0x8b)](H);class U{get['PrintArea'](){return _0x3ca57c;}get[_0x48d022(0xa6)](){return _0x5dca4a;}get[_0x48d022(0x82)](){return _0x4c790e;}get[_0x48d022(0xa4)](){return _0x4abf3c;}get['PrintScale'](){return _0x3afc97;}get[_0x48d022(0xb1)](){return _0x27851f;}get[_0x48d022(0xad)](){return _0x4c0f76;}get[_0x48d022(0x95)](){return _0x16005a;}get[_0x48d022(0x8e)](){return _0x266793;}}_0x15ee0c['extend'](U);class M extends _0x3686fe{[_0x48d022(0xb0)](_0x100708){const _0x2952e0=_0x48d022,_0x4cd787=_0x100708[_0x2952e0(0xae)](_0x3440d7);this[_0x2952e0(0x85)](this['Event'][_0x2952e0(0x9d)],()=>_0x4cd787[_0x2952e0(0xa9)](_0x1b3579=>{const _0x54d48d=_0x2952e0;if(_0x1b3579['id']===_0x58a5b2['id']){const _0x4e8627=this[_0x54d48d(0xa3)]();if(!_0x4e8627)return;const _0x113524={'workbook':_0x4e8627,'worksheet':_0x4e8627[_0x54d48d(0x9b)]()};if(_0x113524==null)return;if(this[_0x54d48d(0x81)](this[_0x54d48d(0xac)]['BeforeSheetPrintOpen'],_0x113524),_0x113524['cancel'])throw new _0x4f317b();}})),this[_0x2952e0(0x85)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x4cd787['beforeCommandExecuted'](_0x2e46ea=>{const _0x546732=_0x2952e0;if(_0x2e46ea['id']===_0x1da723['id']){const _0x56d6af=_0x100708[_0x546732(0xae)](_0x1779bb);if(!this[_0x546732(0xa3)]())return;const _0x44e4b4={'layoutConfig':_0x56d6af['layoutConfig'],'renderConfig':_0x56d6af[_0x546732(0x9c)]};if(_0x44e4b4==null)return;if(this['fireEvent'](this[_0x546732(0xac)][_0x546732(0x89)],_0x44e4b4),_0x44e4b4[_0x546732(0xb2)])throw new _0x4f317b();}})),this[_0x2952e0(0x85)](this[_0x2952e0(0xac)][_0x2952e0(0x7e)],()=>_0x4cd787['beforeCommandExecuted'](_0x563c7c=>{const _0x1b8e3b=_0x2952e0;if(_0x563c7c['id']===_0x2a2207['id']){const _0x222478=_0x100708[_0x1b8e3b(0xae)](_0x1779bb);if(!this['getActiveUniverSheet']())return;const _0x40213e={'layoutConfig':_0x222478[_0x1b8e3b(0xa2)],'renderConfig':_0x222478['renderConfig']};if(_0x40213e==null)return;if(this[_0x1b8e3b(0x81)](this[_0x1b8e3b(0xac)][_0x1b8e3b(0x7e)],_0x40213e),_0x40213e[_0x1b8e3b(0xb2)])throw new _0x4f317b();}})),this[_0x2952e0(0x85)](this['Event'][_0x2952e0(0x80)],()=>_0x4cd787['onCommandExecuted'](_0x4dc683=>{const _0x27fa3a=_0x2952e0;if(_0x4dc683['id']===_0x58a5b2['id']){const _0x4184d9=this[_0x27fa3a(0xa3)]();if(!_0x4184d9)return;const _0x18396c={'workbook':_0x4184d9,'worksheet':_0x4184d9['getActiveSheet']()};if(_0x18396c==null)return;this[_0x27fa3a(0x81)](this[_0x27fa3a(0xac)][_0x27fa3a(0x80)],_0x18396c);}})),this['registerEventHandler'](this[_0x2952e0(0xac)][_0x2952e0(0x87)],()=>_0x4cd787[_0x2952e0(0xab)](_0x30b789=>{const _0x47e2da=_0x2952e0;if(_0x30b789['id']===_0x1da723['id']){const _0x532efe=_0x100708[_0x47e2da(0xae)](_0x1779bb);if(!this[_0x47e2da(0xa3)]())return;const _0x244350={'layoutConfig':_0x532efe[_0x47e2da(0xa2)],'renderConfig':_0x532efe[_0x47e2da(0x9c)]};if(_0x244350==null)return;this[_0x47e2da(0x81)](this['Event'][_0x47e2da(0x87)],_0x244350);}})),this[_0x2952e0(0x85)](this[_0x2952e0(0xac)][_0x2952e0(0x9e)],()=>_0x4cd787[_0x2952e0(0xab)](_0x56fd33=>{const _0xc2b0ea=_0x2952e0;if(_0x56fd33['id']===_0x2a2207['id']){const _0x1699e0=_0x100708[_0xc2b0ea(0xae)](_0x1779bb);if(!this[_0xc2b0ea(0xa3)]())return;const _0x2aa59d={'layoutConfig':_0x1699e0[_0xc2b0ea(0xa2)],'renderConfig':_0x1699e0[_0xc2b0ea(0x9c)]};if(_0x2aa59d==null)return;this['fireEvent'](this[_0xc2b0ea(0xac)][_0xc2b0ea(0x9e)],_0x2aa59d);}}));}}function _0x2a99(){const _0x820aff=['_range','executeCommand','127552flFMCX','2XEDrHf','PrintHeaderFooter','48GdUzVj','getUnitId','closePrintDialog','_worksheet','getSheetId','getActiveSheet','renderConfig','BeforeSheetPrintOpen','SheetPrintCanceled','syncExecuteCommand','1067585VLRmIp','_injector','layoutConfig','getActiveUniverSheet','PrintPaperMargin','36NEaWPj','PrintAlign','359217jBGLpa','10164143QdWLhZ','beforeCommandExecuted','updateRenderConfig','onCommandExecuted','Event','PrintFreeze','get','3994676KxcrTi','_initialize','PrintDirection','cancel','BeforeSheetPrintCanceled','updateLayoutConfig','SheetPrintOpen','fireEvent','PrintPaperSize','getScreenshot','updatePrintConfig','registerEventHandler','1137238DhujxH','SheetPrintConfirmed','updatePrintRenderConfig','BeforeSheetPrintConfirm','_workbook','extend','6470RyHsdx','print','PrintHeaderFooterSymbol','531UuOQUQ','18WcNDVm'];_0x2a99=function(){return _0x820aff;};return _0x2a99();}function _0x1697(_0x439139,_0x12dbb0){_0x439139=_0x439139-0x7e;const _0x2a99d1=_0x2a99();let _0x1697ec=_0x2a99d1[_0x439139];return _0x1697ec;}_0x3686fe[_0x48d022(0x8b)](M);