@univerjs-pro/sheets-print 0.14.0-insiders.20251227-b250a8d → 0.15.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.
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 +40 -40
  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
+ function _0x5854(_0x5a28e,_0x1eb11c){_0x5a28e=_0x5a28e-0x98;const _0x1cc975=_0x1cc9();let _0x58544d=_0x1cc975[_0x5a28e];return _0x58544d;}const _0x559a22=_0x5854;(function(_0x40f2f1,_0x1a7422){const _0x5903e3=_0x5854,_0x16ee03=_0x40f2f1();while(!![]){try{const _0x2ad7c9=-parseInt(_0x5903e3(0xb9))/0x1*(parseInt(_0x5903e3(0xb0))/0x2)+-parseInt(_0x5903e3(0xcf))/0x3+parseInt(_0x5903e3(0xc0))/0x4+-parseInt(_0x5903e3(0x9c))/0x5+-parseInt(_0x5903e3(0xc4))/0x6*(-parseInt(_0x5903e3(0x99))/0x7)+parseInt(_0x5903e3(0xbb))/0x8+parseInt(_0x5903e3(0xa1))/0x9*(parseInt(_0x5903e3(0x9b))/0xa);if(_0x2ad7c9===_0x1a7422)break;else _0x16ee03['push'](_0x16ee03['shift']());}catch(_0x537430){_0x16ee03['push'](_0x16ee03['shift']());}}}(_0x1cc9,0x629f5));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0x559a22(0x9d),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x559a22(0xc6),'showGrid':_0x559a22(0xaf),'showGridLabel':_0x559a22(0xd7),'closeAndHide':_0x559a22(0xc8)},'screenshot':{'title':'複製為圖片','success':_0x559a22(0x9e),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':'紙張大小','letter':_0x559a22(0x98),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x559a22(0xb6),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x559a22(0xbe),'folio':_0x559a22(0x9a),'a3':_0x559a22(0xa0),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x559a22(0xa4),'b4':_0x559a22(0xab),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':'目前工作表','workbook':'活頁簿','currentSelection':_0x559a22(0xd3),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x559a22(0xcc),'limit':_0x559a22(0xd2),'allSelection':'所有選取的儲存格'},'selection':{'title':_0x559a22(0xd0),'allWorkbook':_0x559a22(0xbf),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x559a22(0x9f),'fitPage':_0x559a22(0xac),'custom':'自訂比例'},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x559a22(0xa2),'waterMark':_0x559a22(0xd8)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x559a22(0xba),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x559a22(0xcd),'page':'頁碼','workbook':_0x559a22(0xaa),'sheet':'工作表名稱','date':_0x559a22(0xbc),'time':_0x559a22(0xb7),'customHeadFooter':_0x559a22(0xd6),'editCustomHeadFooter':_0x559a22(0xa3),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x559a22(0xc2),'dateA':_0x559a22(0xc7),'dateB':_0x559a22(0xb8),'dateC':'L','dateD':_0x559a22(0xb3),'timeA':_0x559a22(0xd9),'timeB':_0x559a22(0xc1),'timeC':_0x559a22(0xa7),'timeD':_0x559a22(0xc5),'display':{'page':'頁碼','title':_0x559a22(0xaa),'sheet':'工作表名稱','dateA':_0x559a22(0xa9),'dateB':_0x559a22(0xb2),'dateC':_0x559a22(0xc9),'dateD':_0x559a22(0xa8),'dateE':_0x559a22(0xcb),'dateF':_0x559a22(0xa5),'timeA':_0x559a22(0xad),'timeB':_0x559a22(0xce),'timeC':_0x559a22(0xd5),'timeD':_0x559a22(0xca),'sheetPage':_0x559a22(0xa6),'pageTotal':_0x559a22(0xd4),'sheetPageTotal':_0x559a22(0xd1)},'placeholder':_0x559a22(0xb4),'submit':'確定'},'freeze':{'title':_0x559a22(0xb1),'desc':_0x559a22(0xae),'row':'重複凍結的列','column':'重複凍結的欄'},'limit':{'page':_0x559a22(0xc3),'waterMark':_0x559a22(0xbd),'link':_0x559a22(0xb5)}}};function _0x1cc9(){const _0x281fd8=['97500QJRnKB','hh:mm','列印版面配置','YYYY-MM-DD','關閉並隱藏分頁線','日期C','時間D','日期E','每頁最大欄數','頁首和頁尾','時間B','1085316XwYVVe','選取範圍','工作表總頁數','列與欄限制','已選取的儲存格','總頁數','時間C','自訂頁首/頁尾','顯示分頁線','顯示浮水印','HH:mm:ss','Letter\x20(8.5\x22\x20x\x2011\x22)','315CeAXVY','Folio\x20(8.5\x22\x20x\x2013\x22)','60oYmimh','1191775kKHPCC','下一步','圖片已成功複製到剪貼簿!','調整至頁面高度','A3\x20(11.69\x22\x20x\x2016.54\x22)','128196gcltGW','顯示格線','編輯自訂頁首/頁尾','A5\x20(5.83\x22\x20x\x208.27\x22)','日期F','工作表頁碼','hh:mm:ss','日期D','日期A','活頁簿標題','B4\x20(9.84\x22\x20x\x2013.90\x22)','調整至頁面大小','時間A','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','顯示分頁符號','2sTMvKr','列與欄標題','日期B','MM/DD','點擊以新增文字','https://univer.ai/pro','Legal\x20(8.5\x22\x20x\x2014\x22)','目前時間','MM-DD','706983tlAmXM','垂直對齊','716176SYgiqk','目前日期','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','Executive\x20(7.25\x22\x20x\x2010.5\x22)','所有工作表','3219324SxuhmK','HH:mm','日期格式','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!'];_0x1cc9=function(){return _0x281fd8;};return _0x1cc9();}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
+ function _0x5d3e(){const _0x2a2e91=['getRangeImage','updateRenderConfig','layoutConfig','cancel','775182NqGHfA','updatePrintRenderConfig','BeforeSheetPrintConfirm','updatePrintConfig','PrintScale','syncExecuteCommand','get','_workbook','BeforeSheetPrintCanceled','extend','Event','getSheetId','PrintHeaderFooter','_initialize','1094499WLWVJi','getActiveUniverSheet','PrintPaperSize','onCommandExecuted','beforeCommandExecuted','_worksheet','renderConfig','1231002TrsmsR','getUnitId','SheetPrintConfirmed','_injector','PrintHeaderFooterSymbol','getActiveSheet','465006XlSoTb','BeforeSheetPrintOpen','887442pREmRn','closePrintDialog','fireEvent','4709446EHfXVU','saveScreenshotToClipboard','3098720ZmFQJj','160EBOdUE','SheetPrintCanceled','SheetPrintOpen','registerEventHandler','10AqOhBT','PrintFreeze'];_0x5d3e=function(){return _0x2a2e91;};return _0x5d3e();}const _0x481750=_0x3db8;(function(_0x49e24f,_0x49f881){const _0x2af9cf=_0x3db8,_0x54f334=_0x49e24f();while(!![]){try{const _0x2d9232=-parseInt(_0x2af9cf(0x1bc))/0x1+-parseInt(_0x2af9cf(0x1ce))/0x2+parseInt(_0x2af9cf(0x1af))/0x3+-parseInt(_0x2af9cf(0x1c3))/0x4+parseInt(_0x2af9cf(0x1c8))/0x5*(-parseInt(_0x2af9cf(0x1be))/0x6)+-parseInt(_0x2af9cf(0x1c1))/0x7+-parseInt(_0x2af9cf(0x1c4))/0x8*(-parseInt(_0x2af9cf(0x1b6))/0x9);if(_0x2d9232===_0x49f881)break;else _0x54f334['push'](_0x54f334['shift']());}catch(_0x1fb4bd){_0x54f334['push'](_0x54f334['shift']());}}}(_0x5d3e,0x7b2cc));import{ISheetPrintManagerService as _0x329de0,ConfirmSheetPrintOperation as _0x70d282,SheetPrintOpenOperation as _0x14eaa3,CancelSheetPrintOperation as _0x4ac17b,hasPrintFacadePermission as _0x4a8f0d,SheetScreenShotOperation as _0x3f518f,SheetPrintClientService as _0x1a3c1f,PrintArea as _0x30d2c5,PrintFreeze as _0x22b109,PrintHeaderFooter as _0x1c7457,PrintHeaderFooterSymbol as _0x38eceb}from'@univerjs-pro/sheets-print';import{ICommandService as _0x487f42,PaperType as _0x144151,CanceledError as _0x55cefe}from'@univerjs/core';import{FWorkbook as _0x32642f,FRange as _0x48bf38}from'@univerjs/sheets/facade';function _0x3db8(_0x38c1ec,_0x421759){_0x38c1ec=_0x38c1ec-0x1a2;const _0x5d3eef=_0x5d3e();let _0x3db882=_0x5d3eef[_0x38c1ec];return _0x3db882;}import{FEventName as _0x1e48f4,FEnum as _0x15ef98,FUniver as _0x58fb6f}from'@univerjs/core/facade';import{PrintAlign as _0x40d1cf,PrintPaperMargin as _0x181e3c,PrintScale as _0x48deda,PrintDirection as _0x5599ee}from'@univerjs-pro/print';class A extends _0x32642f{[_0x481750(0x1a4)](_0x581922){const _0x22127c=_0x481750;return this[_0x22127c(0x1b9)][_0x22127c(0x1a7)](_0x329de0)['updateLayoutConfig'](_0x581922),this;}[_0x481750(0x1a2)](_0x4bb668){const _0x286f66=_0x481750;return this[_0x286f66(0x1b9)][_0x286f66(0x1a7)](_0x329de0)[_0x286f66(0x1cb)](_0x4bb668),this;}['print'](){const _0x4e9042=_0x481750;return this[_0x4e9042(0x1b9)]['get'](_0x487f42)[_0x4e9042(0x1a6)](_0x70d282['id']);}['openPrintDialog'](){const _0x4028ea=_0x481750;return this[_0x4028ea(0x1b9)][_0x4028ea(0x1a7)](_0x487f42)['syncExecuteCommand'](_0x14eaa3['id']);}[_0x481750(0x1bf)](){const _0x87332a=_0x481750;return this[_0x87332a(0x1b9)]['get'](_0x487f42)[_0x87332a(0x1a6)](_0x4ac17b['id']);}async[_0x481750(0x1c2)](){const _0x1710b2=_0x481750;return _0x4a8f0d(this[_0x1710b2(0x1b9)])?this[_0x1710b2(0x1b9)][_0x1710b2(0x1a7)](_0x487f42)['executeCommand'](_0x3f518f['id']):!0x1;}}_0x32642f[_0x481750(0x1aa)](A);class B extends _0x48bf38{['getScreenshot'](){const _0x452a93=_0x481750;return _0x4a8f0d(this['_injector'])?this[_0x452a93(0x1b9)][_0x452a93(0x1a7)](_0x1a3c1f)[_0x452a93(0x1ca)](this[_0x452a93(0x1a8)][_0x452a93(0x1b7)](),this[_0x452a93(0x1b4)][_0x452a93(0x1ac)](),this['_range']):!0x1;}}_0x48bf38[_0x481750(0x1aa)](B);class H{get[_0x481750(0x1bd)](){const _0x4b1900=_0x481750;return _0x4b1900(0x1bd);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x481750(0x1a9)](){const _0x5e2329=_0x481750;return _0x5e2329(0x1a9);}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x481750(0x1b8)](){const _0x28d34d=_0x481750;return _0x28d34d(0x1b8);}get[_0x481750(0x1c5)](){const _0x3da639=_0x481750;return _0x3da639(0x1c5);}}_0x1e48f4[_0x481750(0x1aa)](H);class U{get['PrintArea'](){return _0x30d2c5;}get['PrintAlign'](){return _0x40d1cf;}get[_0x481750(0x1b1)](){return _0x144151;}get['PrintPaperMargin'](){return _0x181e3c;}get[_0x481750(0x1a5)](){return _0x48deda;}get['PrintDirection'](){return _0x5599ee;}get[_0x481750(0x1c9)](){return _0x22b109;}get[_0x481750(0x1ad)](){return _0x1c7457;}get[_0x481750(0x1ba)](){return _0x38eceb;}}_0x15ef98['extend'](U);class M extends _0x58fb6f{[_0x481750(0x1ae)](_0x5709c9){const _0x16f634=_0x481750,_0x5669af=_0x5709c9[_0x16f634(0x1a7)](_0x487f42);this['registerEventHandler'](this['Event'][_0x16f634(0x1bd)],()=>_0x5669af[_0x16f634(0x1b3)](_0x12c252=>{const _0x23311d=_0x16f634;if(_0x12c252['id']===_0x14eaa3['id']){const _0xff7fb7=this['getActiveUniverSheet']();if(!_0xff7fb7)return;const _0x4df367={'workbook':_0xff7fb7,'worksheet':_0xff7fb7[_0x23311d(0x1bb)]()};if(_0x4df367==null)return;if(this[_0x23311d(0x1c0)](this[_0x23311d(0x1ab)][_0x23311d(0x1bd)],_0x4df367),_0x4df367[_0x23311d(0x1cd)])throw new _0x55cefe();}})),this[_0x16f634(0x1c7)](this[_0x16f634(0x1ab)][_0x16f634(0x1a3)],()=>_0x5669af[_0x16f634(0x1b3)](_0x2046dd=>{const _0x3b76e8=_0x16f634;if(_0x2046dd['id']===_0x70d282['id']){const _0x2a98f9=_0x5709c9['get'](_0x329de0);if(!this[_0x3b76e8(0x1b0)]())return;const _0x1ab719={'layoutConfig':_0x2a98f9['layoutConfig'],'renderConfig':_0x2a98f9[_0x3b76e8(0x1b5)]};if(_0x1ab719==null)return;if(this['fireEvent'](this['Event'][_0x3b76e8(0x1a3)],_0x1ab719),_0x1ab719[_0x3b76e8(0x1cd)])throw new _0x55cefe();}})),this[_0x16f634(0x1c7)](this[_0x16f634(0x1ab)][_0x16f634(0x1a9)],()=>_0x5669af['beforeCommandExecuted'](_0x1ac40b=>{const _0x2cac20=_0x16f634;if(_0x1ac40b['id']===_0x4ac17b['id']){const _0x4d68cc=_0x5709c9[_0x2cac20(0x1a7)](_0x329de0);if(!this['getActiveUniverSheet']())return;const _0x339c1e={'layoutConfig':_0x4d68cc[_0x2cac20(0x1cc)],'renderConfig':_0x4d68cc[_0x2cac20(0x1b5)]};if(_0x339c1e==null)return;if(this[_0x2cac20(0x1c0)](this['Event']['BeforeSheetPrintCanceled'],_0x339c1e),_0x339c1e[_0x2cac20(0x1cd)])throw new _0x55cefe();}})),this[_0x16f634(0x1c7)](this['Event'][_0x16f634(0x1c6)],()=>_0x5669af['onCommandExecuted'](_0x476c43=>{const _0x2fac41=_0x16f634;if(_0x476c43['id']===_0x14eaa3['id']){const _0x1b2952=this[_0x2fac41(0x1b0)]();if(!_0x1b2952)return;const _0x2f8c58={'workbook':_0x1b2952,'worksheet':_0x1b2952[_0x2fac41(0x1bb)]()};if(_0x2f8c58==null)return;this[_0x2fac41(0x1c0)](this['Event'][_0x2fac41(0x1c6)],_0x2f8c58);}})),this[_0x16f634(0x1c7)](this['Event']['SheetPrintConfirmed'],()=>_0x5669af[_0x16f634(0x1b2)](_0x437e4d=>{const _0x46942b=_0x16f634;if(_0x437e4d['id']===_0x70d282['id']){const _0x22132c=_0x5709c9[_0x46942b(0x1a7)](_0x329de0);if(!this['getActiveUniverSheet']())return;const _0x442a86={'layoutConfig':_0x22132c['layoutConfig'],'renderConfig':_0x22132c[_0x46942b(0x1b5)]};if(_0x442a86==null)return;this[_0x46942b(0x1c0)](this[_0x46942b(0x1ab)]['SheetPrintConfirmed'],_0x442a86);}})),this[_0x16f634(0x1c7)](this['Event'][_0x16f634(0x1c5)],()=>_0x5669af[_0x16f634(0x1b2)](_0x3102b9=>{const _0x29cfb0=_0x16f634;if(_0x3102b9['id']===_0x4ac17b['id']){const _0x55bb29=_0x5709c9[_0x29cfb0(0x1a7)](_0x329de0);if(!this['getActiveUniverSheet']())return;const _0x2627da={'layoutConfig':_0x55bb29[_0x29cfb0(0x1cc)],'renderConfig':_0x55bb29[_0x29cfb0(0x1b5)]};if(_0x2627da==null)return;this['fireEvent'](this[_0x29cfb0(0x1ab)][_0x29cfb0(0x1c5)],_0x2627da);}}));}}_0x58fb6f[_0x481750(0x1aa)](M);