@univerjs-pro/sheets-print 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7

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 +41 -41
  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 +14 -14
@@ -1 +1 @@
1
- function _0x4bf3(_0x152a06,_0x3eb850){_0x152a06=_0x152a06-0x160;const _0x1ea6a7=_0x1ea6();let _0x4bf3ee=_0x1ea6a7[_0x152a06];return _0x4bf3ee;}const _0x45ba2c=_0x4bf3;(function(_0x22094c,_0x37a622){const _0xfac5c=_0x4bf3,_0x10fb74=_0x22094c();while(!![]){try{const _0x1f5aec=parseInt(_0xfac5c(0x197))/0x1*(parseInt(_0xfac5c(0x173))/0x2)+parseInt(_0xfac5c(0x181))/0x3+-parseInt(_0xfac5c(0x184))/0x4*(-parseInt(_0xfac5c(0x172))/0x5)+parseInt(_0xfac5c(0x160))/0x6*(parseInt(_0xfac5c(0x164))/0x7)+-parseInt(_0xfac5c(0x177))/0x8+parseInt(_0xfac5c(0x161))/0x9*(parseInt(_0xfac5c(0x196))/0xa)+-parseInt(_0xfac5c(0x19c))/0xb;if(_0x1f5aec===_0x37a622)break;else _0x10fb74['push'](_0x10fb74['shift']());}catch(_0x4e05fe){_0x10fb74['push'](_0x10fb74['shift']());}}}(_0x1ea6,0x9d8aa));function _0x1ea6(){const _0x493811=['日期F','水平對齊','顯示浮水印','下一步','Letter\x20(8.5\x22\x20x\x2011\x22)','6940dDSoyo','1OQJrJE','列與欄標題','目前工作表','A3\x20(11.69\x22\x20x\x2016.54\x22)','日期C','3891580AvWVbf','日期D','日期B','自訂頁首/頁尾','活頁簿標題','顯示格線','Folio\x20(8.5\x22\x20x\x2013\x22)','每頁最大欄數','活頁簿','6yUSYAI','3870MpxLWG','工作表總頁數','格式設定','5945527YbUAmI','垂直對齊','列與欄限制','YYYY-MM-DD','hh:mm','日期E','hh:mm:ss','複製為圖片','每頁最大列數','列印中,請勿關閉頁面','工作表名稱','Executive\x20(7.25\x22\x20x\x2010.5\x22)','頁面方向','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','1875215dpmYGJ','484878dEqzUV','時間D','自訂义頁邊距','MM/DD','9007128HBmEFK','Tabloid\x20(11\x22\x20x\x2017\x22)','時間C','B4\x20(9.84\x22\x20x\x2013.90\x22)','列印版面配置','編輯自訂頁首/頁尾','重複凍結的欄','所有選取的儲存格','顯示分頁線','工作表頁碼','1079094nzjlta','調整至頁面高度','總計:','4ipDVMj','標準\x20(100%)','日期A','總頁數','調整至頁面寬度','A5\x20(5.83\x22\x20x\x208.27\x22)','所有工作表','重複凍結的列','關閉並隱藏分頁線','調整至頁面大小','MM-DD','日期格式','時間B'];_0x1ea6=function(){return _0x493811;};return _0x1ea6();}const e={'print':{'header':{'total':_0x45ba2c(0x183),'pages':'頁','cancel':'取消','next':_0x45ba2c(0x194),'printing':_0x45ba2c(0x16d)},'menu':'列印','title':'列印','grid':{'title':_0x45ba2c(0x17b),'showGrid':'顯示分頁符號','showGridLabel':_0x45ba2c(0x17f),'closeAndHide':_0x45ba2c(0x18c)},'screenshot':{'title':_0x45ba2c(0x16b),'success':'圖片已成功複製到剪貼簿!','fail':'圖片複製到剪貼簿失敗!'},'size':{'title':'紙張大小','letter':_0x45ba2c(0x195),'tabloid':_0x45ba2c(0x178),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x45ba2c(0x16f),'folio':_0x45ba2c(0x1a2),'a3':_0x45ba2c(0x19a),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x45ba2c(0x189),'b4':_0x45ba2c(0x17a),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x45ba2c(0x175),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x45ba2c(0x199),'workbook':_0x45ba2c(0x1a4),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x45ba2c(0x16c),'maxColumnsEachPage':_0x45ba2c(0x1a3),'limit':_0x45ba2c(0x166),'allSelection':_0x45ba2c(0x17e)},'selection':{'title':'選取範圍','allWorkbook':_0x45ba2c(0x18a),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x45ba2c(0x185),'fitWidth':_0x45ba2c(0x188),'fitHeight':_0x45ba2c(0x182),'fitPage':_0x45ba2c(0x18d),'custom':'自訂比例'},'orientation':{'title':_0x45ba2c(0x170),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x45ba2c(0x163),'skeleton':_0x45ba2c(0x1a1),'waterMark':_0x45ba2c(0x193)},'align':{'title':'對齊','horizontal':{'title':_0x45ba2c(0x192),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x45ba2c(0x165),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x45ba2c(0x1a0),'sheet':_0x45ba2c(0x16e),'date':'目前日期','time':'目前時間','customHeadFooter':_0x45ba2c(0x19f),'editCustomHeadFooter':_0x45ba2c(0x17c),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x45ba2c(0x18f),'dateA':_0x45ba2c(0x167),'dateB':_0x45ba2c(0x18e),'dateC':'L','dateD':_0x45ba2c(0x176),'timeA':'HH:mm:ss','timeB':'HH:mm','timeC':_0x45ba2c(0x16a),'timeD':_0x45ba2c(0x168),'display':{'page':'頁碼','title':_0x45ba2c(0x1a0),'sheet':_0x45ba2c(0x16e),'dateA':_0x45ba2c(0x186),'dateB':_0x45ba2c(0x19e),'dateC':_0x45ba2c(0x19b),'dateD':_0x45ba2c(0x19d),'dateE':_0x45ba2c(0x169),'dateF':_0x45ba2c(0x191),'timeA':'時間A','timeB':_0x45ba2c(0x190),'timeC':_0x45ba2c(0x179),'timeD':_0x45ba2c(0x174),'sheetPage':_0x45ba2c(0x180),'pageTotal':_0x45ba2c(0x187),'sheetPageTotal':_0x45ba2c(0x162)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x45ba2c(0x198),'desc':_0x45ba2c(0x171),'row':_0x45ba2c(0x18b),'column':_0x45ba2c(0x17d)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':'Univer\x20免費版本,由\x20univer.ai\x20提供支援。','link':'https://univer.ai/pro'}}};export{e as default};
1
+ const _0x5142bc=_0x46d0;function _0x46d0(_0x448ecd,_0x3d5c90){_0x448ecd=_0x448ecd-0x115;const _0xac40b7=_0xac40();let _0x46d0e4=_0xac40b7[_0x448ecd];return _0x46d0e4;}function _0xac40(){const _0x4df1ce=['顯示分頁線','活頁簿','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','日期格式','活頁簿標題','自訂頁首/頁尾','1366evdbwy','格式設定','https://univer.ai/pro','重複凍結的欄','顯示格線','調整至頁面高度','列印版面配置','顯示浮水印','hh:mm','816OTANzn','工作表名稱','工作表總頁數','目前工作表','頁面方向','日期C','1634008eQRTXD','列印中,請勿關閉頁面','4HnrYlY','所有選取的儲存格','Folio\x20(8.5\x22\x20x\x2013\x22)','調整至頁面寬度','每頁最大欄數','每頁最大列數','自訂比例','下一步','頁首和頁尾','標準\x20(100%)','紙張大小','垂直對齊','目前日期','關閉並隱藏分頁線','張工作表','A5\x20(5.83\x22\x20x\x208.27\x22)','選取範圍','重複凍結的列','Tabloid\x20(11\x22\x20x\x2017\x22)','21707pnhwuC','總頁數','1528295lrxLqC','自訂义頁邊距','所有工作表','時間D','調整至頁面大小','B5\x20(6.93\x22\x20x\x209.84\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','日期A','HH:mm:ss','目前時間','MM/DD','圖片已成功複製到剪貼簿!','1128dXsZzo','圖片複製到剪貼簿失敗!','YYYY-MM-DD','時間A','Executive\x20(7.25\x22\x20x\x2010.5\x22)','HH:mm','水平對齊','列與欄標題','11967087WoNmas','B4\x20(9.84\x22\x20x\x2013.90\x22)','日期B','7771ZBRlwv','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','MM-DD','9BSzhHv','工作表頁碼','日期F','5952850AUsQPs'];_0xac40=function(){return _0x4df1ce;};return _0xac40();}(function(_0x3daa39,_0x3993a4){const _0x3e6ef1=_0x46d0,_0x14b3e8=_0x3daa39();while(!![]){try{const _0x26ba88=-parseInt(_0x3e6ef1(0x121))/0x1+parseInt(_0x3e6ef1(0x12e))/0x2*(parseInt(_0x3e6ef1(0x137))/0x3)+-parseInt(_0x3e6ef1(0x13f))/0x4*(-parseInt(_0x3e6ef1(0x154))/0x5)+parseInt(_0x3e6ef1(0x116))/0x6*(parseInt(_0x3e6ef1(0x152))/0x7)+-parseInt(_0x3e6ef1(0x13d))/0x8*(parseInt(_0x3e6ef1(0x124))/0x9)+parseInt(_0x3e6ef1(0x127))/0xa+-parseInt(_0x3e6ef1(0x11e))/0xb;if(_0x26ba88===_0x3993a4)break;else _0x14b3e8['push'](_0x14b3e8['shift']());}catch(_0xeb5d65){_0x14b3e8['push'](_0x14b3e8['shift']());}}}(_0xac40,0x5a469));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0x5142bc(0x146),'printing':_0x5142bc(0x13e)},'menu':'列印','title':'列印','grid':{'title':_0x5142bc(0x134),'showGrid':'顯示分頁符號','showGridLabel':_0x5142bc(0x128),'closeAndHide':_0x5142bc(0x14c)},'screenshot':{'title':'複製為圖片','success':_0x5142bc(0x115),'fail':_0x5142bc(0x117)},'size':{'title':_0x5142bc(0x149),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x5142bc(0x151),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x5142bc(0x11a),'folio':_0x5142bc(0x141),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x5142bc(0x15a),'a5':_0x5142bc(0x14e),'b4':_0x5142bc(0x11f),'b5':_0x5142bc(0x159)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x5142bc(0x155),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x5142bc(0x13a),'workbook':_0x5142bc(0x129),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x5142bc(0x144),'maxColumnsEachPage':_0x5142bc(0x143),'limit':'列與欄限制','allSelection':_0x5142bc(0x140)},'selection':{'title':_0x5142bc(0x14f),'allWorkbook':_0x5142bc(0x156),'workbookUnit':_0x5142bc(0x14d)},'scale':{'title':'縮放','normal':_0x5142bc(0x148),'fitWidth':_0x5142bc(0x142),'fitHeight':_0x5142bc(0x133),'fitPage':_0x5142bc(0x158),'custom':_0x5142bc(0x145)},'orientation':{'title':_0x5142bc(0x13b),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x5142bc(0x12f),'skeleton':_0x5142bc(0x132),'waterMark':_0x5142bc(0x135)},'align':{'title':'對齊','horizontal':{'title':_0x5142bc(0x11c),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x5142bc(0x14a),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x5142bc(0x147),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x5142bc(0x138),'date':_0x5142bc(0x14b),'time':_0x5142bc(0x15d),'customHeadFooter':_0x5142bc(0x12d),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x5142bc(0x12b),'dateA':_0x5142bc(0x118),'dateB':_0x5142bc(0x123),'dateC':'L','dateD':_0x5142bc(0x15e),'timeA':_0x5142bc(0x15c),'timeB':_0x5142bc(0x11b),'timeC':'hh:mm:ss','timeD':_0x5142bc(0x136),'display':{'page':'頁碼','title':_0x5142bc(0x12c),'sheet':_0x5142bc(0x138),'dateA':_0x5142bc(0x15b),'dateB':_0x5142bc(0x120),'dateC':_0x5142bc(0x13c),'dateD':'日期D','dateE':'日期E','dateF':_0x5142bc(0x126),'timeA':_0x5142bc(0x119),'timeB':'時間B','timeC':'時間C','timeD':_0x5142bc(0x157),'sheetPage':_0x5142bc(0x125),'pageTotal':_0x5142bc(0x153),'sheetPageTotal':_0x5142bc(0x139)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x5142bc(0x11d),'desc':_0x5142bc(0x122),'row':_0x5142bc(0x150),'column':_0x5142bc(0x131)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x5142bc(0x12a),'link':_0x5142bc(0x130)}}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5ae5b8=_0x1e21;(function(_0x14f0cc,_0x571c78){const _0x4d4962=_0x1e21,_0x1fed66=_0x14f0cc();while(!![]){try{const _0x4bf241=parseInt(_0x4d4962(0x107))/0x1+parseInt(_0x4d4962(0xfb))/0x2+parseInt(_0x4d4962(0xee))/0x3+parseInt(_0x4d4962(0xdc))/0x4+parseInt(_0x4d4962(0x101))/0x5*(-parseInt(_0x4d4962(0xfc))/0x6)+parseInt(_0x4d4962(0xfd))/0x7+-parseInt(_0x4d4962(0xef))/0x8*(parseInt(_0x4d4962(0xf3))/0x9);if(_0x4bf241===_0x571c78)break;else _0x1fed66['push'](_0x1fed66['shift']());}catch(_0x2c7992){_0x1fed66['push'](_0x1fed66['shift']());}}}(_0x5e8b,0x3bcbc));import{ISheetPrintManagerService as _0x5f36e6,ConfirmSheetPrintOperation as _0x4ae46b,SheetPrintOpenOperation as _0x101b97,CancelSheetPrintOperation as _0x120177,hasPrintFacadePermission as _0x1a7e8b,SheetScreenShotOperation as _0x15989b,SheetPrintClientService as _0x12725b,PrintArea as _0x31214f,PrintFreeze as _0x8d198,PrintHeaderFooter as _0x173d3b,PrintHeaderFooterSymbol as _0x142d23}from'@univerjs-pro/sheets-print';import{ICommandService as _0x49c496,PaperType as _0x23494c,CanceledError as _0x132c0b}from'@univerjs/core';import{FWorkbook as _0x2b15a5,FRange as _0xc6d6a3}from'@univerjs/sheets/facade';import{FEventName as _0x4adbc7,FEnum as _0x300d40,FUniver as _0x1e263b}from'@univerjs/core/facade';function _0x1e21(_0x12e455,_0x5083d4){_0x12e455=_0x12e455-0xda;const _0x5e8b62=_0x5e8b();let _0x1e2129=_0x5e8b62[_0x12e455];return _0x1e2129;}function _0x5e8b(){const _0x107da1=['461608KRTotX','Event','registerEventHandler','fireEvent','PrintPaperMargin','getScreenshot','_range','BeforeSheetPrintConfirm','PrintAlign','updatePrintRenderConfig','beforeCommandExecuted','saveScreenshotToClipboard','getRangeImage','PrintHeaderFooter','renderConfig','getActiveSheet','PrintDirection','BeforeSheetPrintOpen','374583gGtkZD','493352pgEDAk','_initialize','SheetPrintCanceled','extend','18rAXZre','_workbook','PrintScale','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','getUnitId','get','layoutConfig','64030ocRpPb','12XPxnBu','1154482KQegnw','print','executeCommand','SheetPrintConfirmed','1135735bGtKHZ','closePrintDialog','SheetPrintOpen','onCommandExecuted','getActiveUniverSheet','_injector','385352AFXqCg','openPrintDialog','updateRenderConfig','cancel','syncExecuteCommand','updateLayoutConfig'];_0x5e8b=function(){return _0x107da1;};return _0x5e8b();}import{PrintAlign as _0x21b0c0,PrintPaperMargin as _0x2e9b17,PrintScale as _0x47a171,PrintDirection as _0x1f6f13}from'@univerjs-pro/print';class A extends _0x2b15a5{['updatePrintConfig'](_0x12b564){const _0x20ec50=_0x1e21;return this[_0x20ec50(0x106)][_0x20ec50(0xf9)](_0x5f36e6)[_0x20ec50(0xdb)](_0x12b564),this;}[_0x5ae5b8(0xe5)](_0xdd70aa){const _0x56b8b5=_0x5ae5b8;return this[_0x56b8b5(0x106)][_0x56b8b5(0xf9)](_0x5f36e6)[_0x56b8b5(0x109)](_0xdd70aa),this;}[_0x5ae5b8(0xfe)](){const _0x4a3d5a=_0x5ae5b8;return this[_0x4a3d5a(0x106)][_0x4a3d5a(0xf9)](_0x49c496)['syncExecuteCommand'](_0x4ae46b['id']);}[_0x5ae5b8(0x108)](){const _0x3e77aa=_0x5ae5b8;return this[_0x3e77aa(0x106)]['get'](_0x49c496)[_0x3e77aa(0xda)](_0x101b97['id']);}[_0x5ae5b8(0x102)](){const _0x4c84c6=_0x5ae5b8;return this[_0x4c84c6(0x106)][_0x4c84c6(0xf9)](_0x49c496)[_0x4c84c6(0xda)](_0x120177['id']);}async[_0x5ae5b8(0xe7)](){const _0x7738d2=_0x5ae5b8;return _0x1a7e8b(this[_0x7738d2(0x106)])?this['_injector']['get'](_0x49c496)[_0x7738d2(0xff)](_0x15989b['id']):!0x1;}}_0x2b15a5[_0x5ae5b8(0xf2)](A);class B extends _0xc6d6a3{[_0x5ae5b8(0xe1)](){const _0x199f81=_0x5ae5b8;return _0x1a7e8b(this['_injector'])?this['_injector'][_0x199f81(0xf9)](_0x12725b)[_0x199f81(0xe8)](this[_0x199f81(0xf4)][_0x199f81(0xf8)](),this['_worksheet']['getSheetId'](),this[_0x199f81(0xe2)]):!0x1;}}_0xc6d6a3['extend'](B);class H{get[_0x5ae5b8(0xed)](){const _0x5daee8=_0x5ae5b8;return _0x5daee8(0xed);}get[_0x5ae5b8(0xe3)](){const _0xb91664=_0x5ae5b8;return _0xb91664(0xe3);}get[_0x5ae5b8(0xf6)](){const _0x403a9c=_0x5ae5b8;return _0x403a9c(0xf6);}get[_0x5ae5b8(0x103)](){return'SheetPrintOpen';}get[_0x5ae5b8(0x100)](){const _0x1fdb8c=_0x5ae5b8;return _0x1fdb8c(0x100);}get['SheetPrintCanceled'](){const _0x3cfafc=_0x5ae5b8;return _0x3cfafc(0xf1);}}_0x4adbc7[_0x5ae5b8(0xf2)](H);class U{get['PrintArea'](){return _0x31214f;}get[_0x5ae5b8(0xe4)](){return _0x21b0c0;}get['PrintPaperSize'](){return _0x23494c;}get[_0x5ae5b8(0xe0)](){return _0x2e9b17;}get[_0x5ae5b8(0xf5)](){return _0x47a171;}get[_0x5ae5b8(0xec)](){return _0x1f6f13;}get['PrintFreeze'](){return _0x8d198;}get[_0x5ae5b8(0xe9)](){return _0x173d3b;}get[_0x5ae5b8(0xf7)](){return _0x142d23;}}_0x300d40[_0x5ae5b8(0xf2)](U);class M extends _0x1e263b{[_0x5ae5b8(0xf0)](_0x1d1f99){const _0x5ca96d=_0x5ae5b8,_0x2ed036=_0x1d1f99['get'](_0x49c496);this[_0x5ca96d(0xde)](this['Event']['BeforeSheetPrintOpen'],()=>_0x2ed036[_0x5ca96d(0xe6)](_0x508346=>{const _0xc9b3e1=_0x5ca96d;if(_0x508346['id']===_0x101b97['id']){const _0x34a425=this[_0xc9b3e1(0x105)]();if(!_0x34a425)return;const _0x22dcf6={'workbook':_0x34a425,'worksheet':_0x34a425[_0xc9b3e1(0xeb)]()};if(_0x22dcf6==null)return;if(this[_0xc9b3e1(0xdf)](this[_0xc9b3e1(0xdd)]['BeforeSheetPrintOpen'],_0x22dcf6),_0x22dcf6[_0xc9b3e1(0x10a)])throw new _0x132c0b();}})),this['registerEventHandler'](this[_0x5ca96d(0xdd)]['BeforeSheetPrintConfirm'],()=>_0x2ed036[_0x5ca96d(0xe6)](_0x342b99=>{const _0x23f4f1=_0x5ca96d;if(_0x342b99['id']===_0x4ae46b['id']){const _0x587d6e=_0x1d1f99[_0x23f4f1(0xf9)](_0x5f36e6);if(!this[_0x23f4f1(0x105)]())return;const _0x54265f={'layoutConfig':_0x587d6e[_0x23f4f1(0xfa)],'renderConfig':_0x587d6e[_0x23f4f1(0xea)]};if(_0x54265f==null)return;if(this[_0x23f4f1(0xdf)](this[_0x23f4f1(0xdd)][_0x23f4f1(0xe3)],_0x54265f),_0x54265f['cancel'])throw new _0x132c0b();}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)][_0x5ca96d(0xf6)],()=>_0x2ed036['beforeCommandExecuted'](_0x58f1c7=>{const _0x2826a2=_0x5ca96d;if(_0x58f1c7['id']===_0x120177['id']){const _0x4d247e=_0x1d1f99[_0x2826a2(0xf9)](_0x5f36e6);if(!this['getActiveUniverSheet']())return;const _0x381d83={'layoutConfig':_0x4d247e[_0x2826a2(0xfa)],'renderConfig':_0x4d247e[_0x2826a2(0xea)]};if(_0x381d83==null)return;if(this[_0x2826a2(0xdf)](this[_0x2826a2(0xdd)]['BeforeSheetPrintCanceled'],_0x381d83),_0x381d83[_0x2826a2(0x10a)])throw new _0x132c0b();}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)][_0x5ca96d(0x103)],()=>_0x2ed036['onCommandExecuted'](_0x7a60f1=>{const _0x4e53e2=_0x5ca96d;if(_0x7a60f1['id']===_0x101b97['id']){const _0x50ce2d=this[_0x4e53e2(0x105)]();if(!_0x50ce2d)return;const _0x8c790f={'workbook':_0x50ce2d,'worksheet':_0x50ce2d[_0x4e53e2(0xeb)]()};if(_0x8c790f==null)return;this[_0x4e53e2(0xdf)](this[_0x4e53e2(0xdd)][_0x4e53e2(0x103)],_0x8c790f);}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)]['SheetPrintConfirmed'],()=>_0x2ed036[_0x5ca96d(0x104)](_0x4a1599=>{const _0x3565ec=_0x5ca96d;if(_0x4a1599['id']===_0x4ae46b['id']){const _0x4ccb60=_0x1d1f99[_0x3565ec(0xf9)](_0x5f36e6);if(!this[_0x3565ec(0x105)]())return;const _0xd599f4={'layoutConfig':_0x4ccb60[_0x3565ec(0xfa)],'renderConfig':_0x4ccb60[_0x3565ec(0xea)]};if(_0xd599f4==null)return;this[_0x3565ec(0xdf)](this[_0x3565ec(0xdd)][_0x3565ec(0x100)],_0xd599f4);}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)][_0x5ca96d(0xf1)],()=>_0x2ed036['onCommandExecuted'](_0x4a2738=>{const _0x276e7b=_0x5ca96d;if(_0x4a2738['id']===_0x120177['id']){const _0x226992=_0x1d1f99[_0x276e7b(0xf9)](_0x5f36e6);if(!this[_0x276e7b(0x105)]())return;const _0x576ef6={'layoutConfig':_0x226992[_0x276e7b(0xfa)],'renderConfig':_0x226992[_0x276e7b(0xea)]};if(_0x576ef6==null)return;this[_0x276e7b(0xdf)](this[_0x276e7b(0xdd)][_0x276e7b(0xf1)],_0x576ef6);}}));}}_0x1e263b[_0x5ae5b8(0xf2)](M);
1
+ const _0x375e71=_0x3a21;(function(_0x52f804,_0x4e18bb){const _0x430bda=_0x3a21,_0x9a5a76=_0x52f804();while(!![]){try{const _0x51701f=parseInt(_0x430bda(0xc2))/0x1+parseInt(_0x430bda(0x9e))/0x2+parseInt(_0x430bda(0xbf))/0x3+-parseInt(_0x430bda(0xca))/0x4+-parseInt(_0x430bda(0xc6))/0x5*(parseInt(_0x430bda(0xa0))/0x6)+parseInt(_0x430bda(0xbc))/0x7+-parseInt(_0x430bda(0xcb))/0x8;if(_0x51701f===_0x4e18bb)break;else _0x9a5a76['push'](_0x9a5a76['shift']());}catch(_0x3e0570){_0x9a5a76['push'](_0x9a5a76['shift']());}}}(_0x2c6b,0x3b44f));import{ISheetPrintManagerService as _0x266cf7,ConfirmSheetPrintOperation as _0x3c9b5c,SheetPrintOpenOperation as _0xd99d60,CancelSheetPrintOperation as _0x259a64,hasPrintFacadePermission as _0x5839ee,SheetScreenShotOperation as _0x182ce8,SheetPrintClientService as _0x2b46ec,PrintArea as _0x3067bd,PrintFreeze as _0x21d708,PrintHeaderFooter as _0x491264,PrintHeaderFooterSymbol as _0x49ac5c}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2ab8ec,PaperType as _0x19d932,CanceledError as _0x29f5a7}from'@univerjs/core';import{FWorkbook as _0x33f5e3,FRange as _0xfb0684}from'@univerjs/sheets/facade';import{FEventName as _0x5d95be,FEnum as _0x381985,FUniver as _0x4c69c8}from'@univerjs/core/facade';import{PrintAlign as _0x3d663a,PrintPaperMargin as _0x5efee3,PrintScale as _0x388542,PrintDirection as _0x4db53c}from'@univerjs-pro/print';class A extends _0x33f5e3{[_0x375e71(0xaf)](_0x21b01c){const _0x4070e1=_0x375e71;return this[_0x4070e1(0xcc)][_0x4070e1(0xa6)](_0x266cf7)[_0x4070e1(0xb3)](_0x21b01c),this;}['updatePrintRenderConfig'](_0xd2ff2a){const _0x449395=_0x375e71;return this[_0x449395(0xcc)][_0x449395(0xa6)](_0x266cf7)['updateRenderConfig'](_0xd2ff2a),this;}[_0x375e71(0xb6)](){const _0x34906d=_0x375e71;return this['_injector'][_0x34906d(0xa6)](_0x2ab8ec)[_0x34906d(0xbe)](_0x3c9b5c['id']);}[_0x375e71(0xb5)](){const _0xb49bc2=_0x375e71;return this[_0xb49bc2(0xcc)][_0xb49bc2(0xa6)](_0x2ab8ec)[_0xb49bc2(0xbe)](_0xd99d60['id']);}[_0x375e71(0xab)](){const _0x1c7b06=_0x375e71;return this[_0x1c7b06(0xcc)]['get'](_0x2ab8ec)[_0x1c7b06(0xbe)](_0x259a64['id']);}async[_0x375e71(0xb2)](){const _0x4079a3=_0x375e71;return _0x5839ee(this[_0x4079a3(0xcc)])?this[_0x4079a3(0xcc)][_0x4079a3(0xa6)](_0x2ab8ec)['executeCommand'](_0x182ce8['id']):!0x1;}}function _0x3a21(_0x176c22,_0x18efc4){_0x176c22=_0x176c22-0x9e;const _0x2c6b10=_0x2c6b();let _0x3a2116=_0x2c6b10[_0x176c22];return _0x3a2116;}_0x33f5e3[_0x375e71(0xaa)](A);class B extends _0xfb0684{['getScreenshot'](){const _0x2234f6=_0x375e71;return _0x5839ee(this[_0x2234f6(0xcc)])?this[_0x2234f6(0xcc)][_0x2234f6(0xa6)](_0x2b46ec)[_0x2234f6(0xbb)](this[_0x2234f6(0xa1)][_0x2234f6(0xc7)](),this[_0x2234f6(0xc5)][_0x2234f6(0xc9)](),this[_0x2234f6(0xc4)]):!0x1;}}_0xfb0684['extend'](B);class H{get['BeforeSheetPrintOpen'](){const _0x237b8f=_0x375e71;return _0x237b8f(0xb9);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x375e71(0xad)](){const _0x24d9f3=_0x375e71;return _0x24d9f3(0xad);}get[_0x375e71(0xc8)](){const _0x40f87f=_0x375e71;return _0x40f87f(0xc8);}get[_0x375e71(0xa3)](){return'SheetPrintConfirmed';}get[_0x375e71(0xae)](){return'SheetPrintCanceled';}}_0x5d95be[_0x375e71(0xaa)](H);function _0x2c6b(){const _0x16ae31=['_worksheet','139630tvYhfq','getUnitId','SheetPrintOpen','getSheetId','777928ZjTxRU','7872736eCWNOn','_injector','920352uMNRxT','fireEvent','12BnFley','_workbook','registerEventHandler','SheetPrintConfirmed','getActiveUniverSheet','cancel','get','layoutConfig','PrintFreeze','PrintPaperSize','extend','closePrintDialog','renderConfig','BeforeSheetPrintCanceled','SheetPrintCanceled','updatePrintConfig','PrintAlign','Event','saveScreenshotToClipboard','updateLayoutConfig','beforeCommandExecuted','openPrintDialog','print','onCommandExecuted','BeforeSheetPrintConfirm','BeforeSheetPrintOpen','PrintDirection','getRangeImage','3162404vRXwUh','PrintPaperMargin','syncExecuteCommand','1263471LCmKub','_initialize','PrintScale','144088xqJbgY','getActiveSheet','_range'];_0x2c6b=function(){return _0x16ae31;};return _0x2c6b();}class U{get['PrintArea'](){return _0x3067bd;}get[_0x375e71(0xb0)](){return _0x3d663a;}get[_0x375e71(0xa9)](){return _0x19d932;}get[_0x375e71(0xbd)](){return _0x5efee3;}get[_0x375e71(0xc1)](){return _0x388542;}get[_0x375e71(0xba)](){return _0x4db53c;}get[_0x375e71(0xa8)](){return _0x21d708;}get['PrintHeaderFooter'](){return _0x491264;}get['PrintHeaderFooterSymbol'](){return _0x49ac5c;}}_0x381985[_0x375e71(0xaa)](U);class M extends _0x4c69c8{[_0x375e71(0xc0)](_0x51823f){const _0x340591=_0x375e71,_0x162f28=_0x51823f[_0x340591(0xa6)](_0x2ab8ec);this[_0x340591(0xa2)](this['Event']['BeforeSheetPrintOpen'],()=>_0x162f28[_0x340591(0xb4)](_0x5e3403=>{const _0x5b4c0f=_0x340591;if(_0x5e3403['id']===_0xd99d60['id']){const _0x322f14=this[_0x5b4c0f(0xa4)]();if(!_0x322f14)return;const _0x925dc2={'workbook':_0x322f14,'worksheet':_0x322f14[_0x5b4c0f(0xc3)]()};if(_0x925dc2==null)return;if(this['fireEvent'](this[_0x5b4c0f(0xb1)][_0x5b4c0f(0xb9)],_0x925dc2),_0x925dc2[_0x5b4c0f(0xa5)])throw new _0x29f5a7();}})),this['registerEventHandler'](this['Event'][_0x340591(0xb8)],()=>_0x162f28['beforeCommandExecuted'](_0x19064e=>{const _0x26a812=_0x340591;if(_0x19064e['id']===_0x3c9b5c['id']){const _0x34f318=_0x51823f['get'](_0x266cf7);if(!this[_0x26a812(0xa4)]())return;const _0x570182={'layoutConfig':_0x34f318['layoutConfig'],'renderConfig':_0x34f318['renderConfig']};if(_0x570182==null)return;if(this[_0x26a812(0x9f)](this[_0x26a812(0xb1)]['BeforeSheetPrintConfirm'],_0x570182),_0x570182[_0x26a812(0xa5)])throw new _0x29f5a7();}})),this[_0x340591(0xa2)](this['Event'][_0x340591(0xad)],()=>_0x162f28['beforeCommandExecuted'](_0x8472fe=>{const _0x47898d=_0x340591;if(_0x8472fe['id']===_0x259a64['id']){const _0x4ae654=_0x51823f['get'](_0x266cf7);if(!this[_0x47898d(0xa4)]())return;const _0x452f42={'layoutConfig':_0x4ae654[_0x47898d(0xa7)],'renderConfig':_0x4ae654[_0x47898d(0xac)]};if(_0x452f42==null)return;if(this['fireEvent'](this[_0x47898d(0xb1)]['BeforeSheetPrintCanceled'],_0x452f42),_0x452f42[_0x47898d(0xa5)])throw new _0x29f5a7();}})),this[_0x340591(0xa2)](this['Event'][_0x340591(0xc8)],()=>_0x162f28[_0x340591(0xb7)](_0x346a84=>{const _0x32136b=_0x340591;if(_0x346a84['id']===_0xd99d60['id']){const _0xee75c=this['getActiveUniverSheet']();if(!_0xee75c)return;const _0x3e5949={'workbook':_0xee75c,'worksheet':_0xee75c[_0x32136b(0xc3)]()};if(_0x3e5949==null)return;this[_0x32136b(0x9f)](this[_0x32136b(0xb1)][_0x32136b(0xc8)],_0x3e5949);}})),this[_0x340591(0xa2)](this['Event']['SheetPrintConfirmed'],()=>_0x162f28[_0x340591(0xb7)](_0x231de4=>{const _0x58171b=_0x340591;if(_0x231de4['id']===_0x3c9b5c['id']){const _0xc05057=_0x51823f[_0x58171b(0xa6)](_0x266cf7);if(!this[_0x58171b(0xa4)]())return;const _0x10490f={'layoutConfig':_0xc05057[_0x58171b(0xa7)],'renderConfig':_0xc05057['renderConfig']};if(_0x10490f==null)return;this['fireEvent'](this[_0x58171b(0xb1)][_0x58171b(0xa3)],_0x10490f);}})),this[_0x340591(0xa2)](this['Event'][_0x340591(0xae)],()=>_0x162f28[_0x340591(0xb7)](_0x31b0b1=>{const _0x5c955c=_0x340591;if(_0x31b0b1['id']===_0x259a64['id']){const _0x406664=_0x51823f[_0x5c955c(0xa6)](_0x266cf7);if(!this[_0x5c955c(0xa4)]())return;const _0x1981f8={'layoutConfig':_0x406664[_0x5c955c(0xa7)],'renderConfig':_0x406664[_0x5c955c(0xac)]};if(_0x1981f8==null)return;this[_0x5c955c(0x9f)](this[_0x5c955c(0xb1)]['SheetPrintCanceled'],_0x1981f8);}}));}}_0x4c69c8[_0x375e71(0xaa)](M);