@univerjs-pro/sheets-print 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-71d07c3

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 +14 -14
@@ -1 +1 @@
1
- const _0x595ce5=_0x55b9;(function(_0x3bca1e,_0x289120){const _0x850eb3=_0x55b9,_0x246012=_0x3bca1e();while(!![]){try{const _0x35d121=-parseInt(_0x850eb3(0x1c4))/0x1+parseInt(_0x850eb3(0x18e))/0x2+parseInt(_0x850eb3(0x1bf))/0x3+-parseInt(_0x850eb3(0x1c0))/0x4+parseInt(_0x850eb3(0x197))/0x5+parseInt(_0x850eb3(0x1a9))/0x6*(-parseInt(_0x850eb3(0x1ac))/0x7)+parseInt(_0x850eb3(0x1a6))/0x8*(parseInt(_0x850eb3(0x1bd))/0x9);if(_0x35d121===_0x289120)break;else _0x246012['push'](_0x246012['shift']());}catch(_0x591540){_0x246012['push'](_0x246012['shift']());}}}(_0x312f,0xdd5ae));function _0x312f(){const _0x405b99=['hh:mm:ss','日期C','總計:','已選取的儲存格','1032741Ozkdkr','頁首和頁尾','619443HubTMi','170840DhIpHM','工作表總頁數','自訂頁首/頁尾','調整至頁面寬度','1793880gqaiCC','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','活頁簿','HH:mm:ss','調整至頁面大小','每頁最大欄數','關閉並隱藏分頁線','垂直對齊','工作表名稱','列印版面配置','MM-DD','選取範圍','時間B','日期E','圖片複製到剪貼簿失敗!','標準\x20(100%)','日期B','YYYY-MM-DD','A5\x20(5.83\x22\x20x\x208.27\x22)','A3\x20(11.69\x22\x20x\x2016.54\x22)','1782888DVynzA','點擊以新增文字','日期D','MM/DD','列與欄標題','https://univer.ai/pro','Legal\x20(8.5\x22\x20x\x2014\x22)','hh:mm','B5\x20(6.93\x22\x20x\x209.84\x22)','5976960GWjLLw','下一步','自訂比例','日期A','Tabloid\x20(11\x22\x20x\x2017\x22)','所有選取的儲存格','Letter\x20(8.5\x22\x20x\x2011\x22)','重複凍結的列','目前時間','Executive\x20(7.25\x22\x20x\x2010.5\x22)','活頁簿標題','複製為圖片','調整至頁面高度','自訂义頁邊距','每頁最大列數','152QXjyzr','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','總頁數','84XTBGOR','張工作表','顯示格線','865144TEWnkd','重複凍結的欄','工作表頁碼','列與欄限制','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','顯示分頁線','B4\x20(9.84\x22\x20x\x2013.90\x22)','頁面方向','所有工作表','顯示分頁符號','A4\x20(8.27\x22\x20x\x2011.69\x22)','時間C','時間D'];_0x312f=function(){return _0x405b99;};return _0x312f();}function _0x55b9(_0x2da988,_0x327f67){_0x2da988=_0x2da988-0x188;const _0x312f02=_0x312f();let _0x55b9b9=_0x312f02[_0x2da988];return _0x55b9b9;}const e={'print':{'header':{'total':_0x595ce5(0x1bb),'pages':'頁','cancel':'取消','next':_0x595ce5(0x198),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x595ce5(0x1cd),'showGrid':_0x595ce5(0x1b5),'showGridLabel':_0x595ce5(0x1b1),'closeAndHide':_0x595ce5(0x1ca)},'screenshot':{'title':_0x595ce5(0x1a2),'success':'圖片已成功複製到剪貼簿!','fail':_0x595ce5(0x188)},'size':{'title':'紙張大小','letter':_0x595ce5(0x19d),'tabloid':_0x595ce5(0x19b),'legal':_0x595ce5(0x194),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x595ce5(0x1a0),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':_0x595ce5(0x18d),'a4':_0x595ce5(0x1b6),'a5':_0x595ce5(0x18c),'b4':_0x595ce5(0x1b2),'b5':_0x595ce5(0x196)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x595ce5(0x1a4),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':'目前工作表','workbook':_0x595ce5(0x1c6),'currentSelection':_0x595ce5(0x1bc),'maxRowsEachPage':_0x595ce5(0x1a5),'maxColumnsEachPage':_0x595ce5(0x1c9),'limit':_0x595ce5(0x1af),'allSelection':_0x595ce5(0x19c)},'selection':{'title':_0x595ce5(0x1cf),'allWorkbook':_0x595ce5(0x1b4),'workbookUnit':_0x595ce5(0x1aa)},'scale':{'title':'縮放','normal':_0x595ce5(0x189),'fitWidth':_0x595ce5(0x1c3),'fitHeight':_0x595ce5(0x1a3),'fitPage':_0x595ce5(0x1c8),'custom':_0x595ce5(0x199)},'orientation':{'title':_0x595ce5(0x1b3),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x595ce5(0x1ab),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x595ce5(0x1cb),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x595ce5(0x1be),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x595ce5(0x1cc),'date':'目前日期','time':_0x595ce5(0x19f),'customHeadFooter':_0x595ce5(0x1c2),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x595ce5(0x18b),'dateB':_0x595ce5(0x1ce),'dateC':'L','dateD':_0x595ce5(0x191),'timeA':_0x595ce5(0x1c7),'timeB':'HH:mm','timeC':_0x595ce5(0x1b9),'timeD':_0x595ce5(0x195),'display':{'page':'頁碼','title':_0x595ce5(0x1a1),'sheet':'工作表名稱','dateA':_0x595ce5(0x19a),'dateB':_0x595ce5(0x18a),'dateC':_0x595ce5(0x1ba),'dateD':_0x595ce5(0x190),'dateE':_0x595ce5(0x1d1),'dateF':'日期F','timeA':'時間A','timeB':_0x595ce5(0x1d0),'timeC':_0x595ce5(0x1b7),'timeD':_0x595ce5(0x1b8),'sheetPage':_0x595ce5(0x1ae),'pageTotal':_0x595ce5(0x1a8),'sheetPageTotal':_0x595ce5(0x1c1)},'placeholder':_0x595ce5(0x18f),'submit':'確定'},'freeze':{'title':_0x595ce5(0x192),'desc':_0x595ce5(0x1a7),'row':_0x595ce5(0x19e),'column':_0x595ce5(0x1ad)},'limit':{'page':_0x595ce5(0x1c5),'waterMark':_0x595ce5(0x1b0),'link':_0x595ce5(0x193)}}};export{e as default};
1
+ const _0x1a48ce=_0x2cd6;(function(_0x376258,_0x39df20){const _0x234a1d=_0x2cd6,_0x440d8c=_0x376258();while(!![]){try{const _0x218946=parseInt(_0x234a1d(0xed))/0x1+parseInt(_0x234a1d(0xeb))/0x2+parseInt(_0x234a1d(0xff))/0x3+-parseInt(_0x234a1d(0x12b))/0x4*(parseInt(_0x234a1d(0x124))/0x5)+-parseInt(_0x234a1d(0x114))/0x6*(parseInt(_0x234a1d(0x10e))/0x7)+parseInt(_0x234a1d(0x119))/0x8+-parseInt(_0x234a1d(0x107))/0x9*(parseInt(_0x234a1d(0x111))/0xa);if(_0x218946===_0x39df20)break;else _0x440d8c['push'](_0x440d8c['shift']());}catch(_0x881e5){_0x440d8c['push'](_0x440d8c['shift']());}}}(_0x4576,0x43aa1));function _0x2cd6(_0x4222e6,_0x430452){_0x4222e6=_0x4222e6-0xea;const _0x457668=_0x4576();let _0x2cd641=_0x457668[_0x4222e6];return _0x2cd641;}const e={'print':{'header':{'total':_0x1a48ce(0xf4),'pages':'頁','cancel':'取消','next':'下一步','printing':_0x1a48ce(0x104)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x1a48ce(0xf7),'showGridLabel':_0x1a48ce(0xea),'closeAndHide':_0x1a48ce(0xfe)},'screenshot':{'title':_0x1a48ce(0xf9),'success':_0x1a48ce(0xf1),'fail':_0x1a48ce(0x11a)},'size':{'title':_0x1a48ce(0x11d),'letter':_0x1a48ce(0x106),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x1a48ce(0x101),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x1a48ce(0x11e),'folio':_0x1a48ce(0xfd),'a3':_0x1a48ce(0x112),'a4':_0x1a48ce(0x127),'a5':_0x1a48ce(0x126),'b4':_0x1a48ce(0xf5),'b5':_0x1a48ce(0x10f)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x1a48ce(0xf6),'workbook':'活頁簿','currentSelection':'已選取的儲存格','maxRowsEachPage':_0x1a48ce(0x128),'maxColumnsEachPage':'每頁最大欄數','limit':'列與欄限制','allSelection':_0x1a48ce(0xf0)},'selection':{'title':_0x1a48ce(0xfc),'allWorkbook':_0x1a48ce(0x105),'workbookUnit':_0x1a48ce(0x10d)},'scale':{'title':'縮放','normal':_0x1a48ce(0x108),'fitWidth':_0x1a48ce(0x113),'fitHeight':_0x1a48ce(0x102),'fitPage':_0x1a48ce(0xf2),'custom':'自訂比例'},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x1a48ce(0x120),'skeleton':'顯示格線','waterMark':_0x1a48ce(0x11c)},'align':{'title':'對齊','horizontal':{'title':_0x1a48ce(0xfa),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x1a48ce(0x125),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x1a48ce(0x110),'date':_0x1a48ce(0x11b),'time':_0x1a48ce(0x11f),'customHeadFooter':_0x1a48ce(0x121),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x1a48ce(0x115),'dateA':_0x1a48ce(0x12e),'dateB':_0x1a48ce(0x116),'dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x1a48ce(0x100),'timeC':_0x1a48ce(0x118),'timeD':_0x1a48ce(0x12c),'display':{'page':'頁碼','title':_0x1a48ce(0x10b),'sheet':_0x1a48ce(0x110),'dateA':_0x1a48ce(0xfb),'dateB':_0x1a48ce(0x123),'dateC':_0x1a48ce(0x122),'dateD':_0x1a48ce(0x10a),'dateE':'日期E','dateF':_0x1a48ce(0x117),'timeA':_0x1a48ce(0xf3),'timeB':_0x1a48ce(0x12d),'timeC':_0x1a48ce(0xef),'timeD':_0x1a48ce(0x12a),'sheetPage':_0x1a48ce(0x103),'pageTotal':_0x1a48ce(0xf8),'sheetPageTotal':'工作表總頁數'},'placeholder':_0x1a48ce(0x109),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x1a48ce(0x129),'row':'重複凍結的列','column':_0x1a48ce(0x10c)},'limit':{'page':_0x1a48ce(0xee),'waterMark':_0x1a48ce(0xec),'link':'https://univer.ai/pro'}}};export{e as default};function _0x4576(){const _0x4955b7=['頁首和頁尾','A5\x20(5.83\x22\x20x\x208.27\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','每頁最大列數','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','時間D','68ImPOju','hh:mm','時間B','YYYY-MM-DD','顯示分頁線','443208uGFhAt','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','387912JIjGcs','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','時間C','所有選取的儲存格','圖片已成功複製到剪貼簿!','調整至頁面大小','時間A','總計:','B4\x20(9.84\x22\x20x\x2013.90\x22)','目前工作表','顯示分頁符號','總頁數','複製為圖片','水平對齊','日期A','選取範圍','Folio\x20(8.5\x22\x20x\x2013\x22)','關閉並隱藏分頁線','47526VCBDCu','HH:mm','Legal\x20(8.5\x22\x20x\x2014\x22)','調整至頁面高度','工作表頁碼','列印中,請勿關閉頁面','所有工作表','Letter\x20(8.5\x22\x20x\x2011\x22)','21402LWdDIq','標準\x20(100%)','點擊以新增文字','日期D','活頁簿標題','重複凍結的欄','張工作表','7mIjlbv','B5\x20(6.93\x22\x20x\x209.84\x22)','工作表名稱','1930ZeTGLj','A3\x20(11.69\x22\x20x\x2016.54\x22)','調整至頁面寬度','113178HjBQRy','日期格式','MM-DD','日期F','hh:mm:ss','1913008rITQJc','圖片複製到剪貼簿失敗!','目前日期','顯示浮水印','紙張大小','Executive\x20(7.25\x22\x20x\x2010.5\x22)','目前時間','格式設定','自訂頁首/頁尾','日期C','日期B','32210AvViKO'];_0x4576=function(){return _0x4955b7;};return _0x4576();}
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x504a36=_0x1b1b;(function(_0x4cf82c,_0x37af21){const _0x1fdd46=_0x1b1b,_0x354c13=_0x4cf82c();while(!![]){try{const _0x4da473=parseInt(_0x1fdd46(0x155))/0x1*(parseInt(_0x1fdd46(0x158))/0x2)+parseInt(_0x1fdd46(0x150))/0x3+parseInt(_0x1fdd46(0x146))/0x4*(parseInt(_0x1fdd46(0x14e))/0x5)+parseInt(_0x1fdd46(0x147))/0x6+parseInt(_0x1fdd46(0x149))/0x7*(parseInt(_0x1fdd46(0x144))/0x8)+-parseInt(_0x1fdd46(0x15b))/0x9+-parseInt(_0x1fdd46(0x141))/0xa*(parseInt(_0x1fdd46(0x139))/0xb);if(_0x4da473===_0x37af21)break;else _0x354c13['push'](_0x354c13['shift']());}catch(_0xe45e3){_0x354c13['push'](_0x354c13['shift']());}}}(_0x4076,0x9c165));import{ISheetPrintManagerService as _0x2827c9,ConfirmSheetPrintOperation as _0x412fc8,SheetPrintOpenOperation as _0x354860,CancelSheetPrintOperation as _0x4afc5e,hasPrintFacadePermission as _0x3662a8,SheetScreenShotOperation as _0x4f19f3,SheetPrintClientService as _0x3f15d2,PrintArea as _0x9c7677,PrintFreeze as _0xb8aee6,PrintHeaderFooter as _0x135244,PrintHeaderFooterSymbol as _0xbd5160}from'@univerjs-pro/sheets-print';function _0x4076(){const _0x58698a=['get','_range','635729mCnAss','BeforeSheetPrintOpen','openPrintDialog','2qILcKk','fireEvent','getUnitId','11019555JlJAbV','registerEventHandler','print','PrintScale','BeforeSheetPrintCanceled','Event','syncExecuteCommand','PrintHeaderFooterSymbol','_workbook','_injector','updateLayoutConfig','extend','getActiveSheet','PrintDirection','closePrintDialog','18776879YuatpC','saveScreenshotToClipboard','renderConfig','getScreenshot','BeforeSheetPrintConfirm','PrintPaperSize','getActiveUniverSheet','_worksheet','10ifJPwS','SheetPrintOpen','onCommandExecuted','8761000xhDFRL','updatePrintRenderConfig','2247068gClMwf','4149786RulayO','beforeCommandExecuted','7VpEELa','SheetPrintConfirmed','cancel','layoutConfig','SheetPrintCanceled','5zlPevn','executeCommand','1759395qipejg','PrintFreeze','PrintArea'];_0x4076=function(){return _0x58698a;};return _0x4076();}import{ICommandService as _0x1592c4,PaperType as _0xaa7bd9,CanceledError as _0x45f75f}from'@univerjs/core';import{FWorkbook as _0x51738b,FRange as _0xf4d0de}from'@univerjs/sheets/facade';import{FEventName as _0x531b3f,FEnum as _0x1fc045,FUniver as _0x172f29}from'@univerjs/core/facade';import{PrintAlign as _0x4f26ed,PrintPaperMargin as _0xd6b33e,PrintScale as _0x5322a6,PrintDirection as _0x3272f7}from'@univerjs-pro/print';function _0x1b1b(_0x56a770,_0x546fde){_0x56a770=_0x56a770-0x12f;const _0x4076d2=_0x4076();let _0x1b1b3d=_0x4076d2[_0x56a770];return _0x1b1b3d;}class A extends _0x51738b{['updatePrintConfig'](_0x3b91dd){const _0x1a64d4=_0x1b1b;return this[_0x1a64d4(0x133)][_0x1a64d4(0x153)](_0x2827c9)[_0x1a64d4(0x134)](_0x3b91dd),this;}[_0x504a36(0x145)](_0x2b62d5){const _0x536945=_0x504a36;return this[_0x536945(0x133)][_0x536945(0x153)](_0x2827c9)['updateRenderConfig'](_0x2b62d5),this;}[_0x504a36(0x15d)](){const _0x43d1f2=_0x504a36;return this['_injector'][_0x43d1f2(0x153)](_0x1592c4)[_0x43d1f2(0x130)](_0x412fc8['id']);}[_0x504a36(0x157)](){const _0x23f45d=_0x504a36;return this[_0x23f45d(0x133)][_0x23f45d(0x153)](_0x1592c4)['syncExecuteCommand'](_0x354860['id']);}[_0x504a36(0x138)](){const _0x2c0011=_0x504a36;return this['_injector'][_0x2c0011(0x153)](_0x1592c4)['syncExecuteCommand'](_0x4afc5e['id']);}async[_0x504a36(0x13a)](){const _0x3291b6=_0x504a36;return _0x3662a8(this['_injector'])?this[_0x3291b6(0x133)][_0x3291b6(0x153)](_0x1592c4)[_0x3291b6(0x14f)](_0x4f19f3['id']):!0x1;}}_0x51738b[_0x504a36(0x135)](A);class B extends _0xf4d0de{[_0x504a36(0x13c)](){const _0x25c9b7=_0x504a36;return _0x3662a8(this[_0x25c9b7(0x133)])?this[_0x25c9b7(0x133)]['get'](_0x3f15d2)['getRangeImage'](this[_0x25c9b7(0x132)][_0x25c9b7(0x15a)](),this[_0x25c9b7(0x140)]['getSheetId'](),this[_0x25c9b7(0x154)]):!0x1;}}_0xf4d0de[_0x504a36(0x135)](B);class H{get[_0x504a36(0x156)](){const _0x97166=_0x504a36;return _0x97166(0x156);}get[_0x504a36(0x13d)](){const _0x1f9685=_0x504a36;return _0x1f9685(0x13d);}get[_0x504a36(0x15f)](){const _0x4699fa=_0x504a36;return _0x4699fa(0x15f);}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x504a36(0x14a)](){const _0x3be03d=_0x504a36;return _0x3be03d(0x14a);}get[_0x504a36(0x14d)](){return'SheetPrintCanceled';}}_0x531b3f['extend'](H);class U{get[_0x504a36(0x152)](){return _0x9c7677;}get['PrintAlign'](){return _0x4f26ed;}get[_0x504a36(0x13e)](){return _0xaa7bd9;}get['PrintPaperMargin'](){return _0xd6b33e;}get[_0x504a36(0x15e)](){return _0x5322a6;}get[_0x504a36(0x137)](){return _0x3272f7;}get[_0x504a36(0x151)](){return _0xb8aee6;}get['PrintHeaderFooter'](){return _0x135244;}get[_0x504a36(0x131)](){return _0xbd5160;}}_0x1fc045[_0x504a36(0x135)](U);class M extends _0x172f29{['_initialize'](_0xf21393){const _0x3dd1df=_0x504a36,_0x5806ed=_0xf21393[_0x3dd1df(0x153)](_0x1592c4);this[_0x3dd1df(0x15c)](this['Event'][_0x3dd1df(0x156)],()=>_0x5806ed[_0x3dd1df(0x148)](_0x5c7cf8=>{const _0x202d98=_0x3dd1df;if(_0x5c7cf8['id']===_0x354860['id']){const _0x56eade=this['getActiveUniverSheet']();if(!_0x56eade)return;const _0x372cef={'workbook':_0x56eade,'worksheet':_0x56eade[_0x202d98(0x136)]()};if(_0x372cef==null)return;if(this[_0x202d98(0x159)](this[_0x202d98(0x12f)][_0x202d98(0x156)],_0x372cef),_0x372cef['cancel'])throw new _0x45f75f();}})),this[_0x3dd1df(0x15c)](this[_0x3dd1df(0x12f)]['BeforeSheetPrintConfirm'],()=>_0x5806ed['beforeCommandExecuted'](_0x12c70e=>{const _0x16a1c2=_0x3dd1df;if(_0x12c70e['id']===_0x412fc8['id']){const _0x1c0712=_0xf21393[_0x16a1c2(0x153)](_0x2827c9);if(!this[_0x16a1c2(0x13f)]())return;const _0x20aadd={'layoutConfig':_0x1c0712[_0x16a1c2(0x14c)],'renderConfig':_0x1c0712[_0x16a1c2(0x13b)]};if(_0x20aadd==null)return;if(this['fireEvent'](this['Event'][_0x16a1c2(0x13d)],_0x20aadd),_0x20aadd[_0x16a1c2(0x14b)])throw new _0x45f75f();}})),this[_0x3dd1df(0x15c)](this['Event'][_0x3dd1df(0x15f)],()=>_0x5806ed[_0x3dd1df(0x148)](_0x8811e0=>{const _0x2d7d88=_0x3dd1df;if(_0x8811e0['id']===_0x4afc5e['id']){const _0x47bd9a=_0xf21393[_0x2d7d88(0x153)](_0x2827c9);if(!this[_0x2d7d88(0x13f)]())return;const _0x5c65b6={'layoutConfig':_0x47bd9a['layoutConfig'],'renderConfig':_0x47bd9a['renderConfig']};if(_0x5c65b6==null)return;if(this['fireEvent'](this[_0x2d7d88(0x12f)][_0x2d7d88(0x15f)],_0x5c65b6),_0x5c65b6['cancel'])throw new _0x45f75f();}})),this[_0x3dd1df(0x15c)](this[_0x3dd1df(0x12f)][_0x3dd1df(0x142)],()=>_0x5806ed[_0x3dd1df(0x143)](_0x4b5181=>{const _0x532983=_0x3dd1df;if(_0x4b5181['id']===_0x354860['id']){const _0x117129=this[_0x532983(0x13f)]();if(!_0x117129)return;const _0x330392={'workbook':_0x117129,'worksheet':_0x117129[_0x532983(0x136)]()};if(_0x330392==null)return;this['fireEvent'](this[_0x532983(0x12f)][_0x532983(0x142)],_0x330392);}})),this[_0x3dd1df(0x15c)](this[_0x3dd1df(0x12f)][_0x3dd1df(0x14a)],()=>_0x5806ed[_0x3dd1df(0x143)](_0xe32084=>{const _0x197ed8=_0x3dd1df;if(_0xe32084['id']===_0x412fc8['id']){const _0x4c2cf9=_0xf21393[_0x197ed8(0x153)](_0x2827c9);if(!this['getActiveUniverSheet']())return;const _0x4e4b8f={'layoutConfig':_0x4c2cf9['layoutConfig'],'renderConfig':_0x4c2cf9[_0x197ed8(0x13b)]};if(_0x4e4b8f==null)return;this[_0x197ed8(0x159)](this['Event'][_0x197ed8(0x14a)],_0x4e4b8f);}})),this['registerEventHandler'](this[_0x3dd1df(0x12f)][_0x3dd1df(0x14d)],()=>_0x5806ed[_0x3dd1df(0x143)](_0x245ecb=>{const _0x5d0d8c=_0x3dd1df;if(_0x245ecb['id']===_0x4afc5e['id']){const _0x37a6ab=_0xf21393[_0x5d0d8c(0x153)](_0x2827c9);if(!this[_0x5d0d8c(0x13f)]())return;const _0x59319a={'layoutConfig':_0x37a6ab[_0x5d0d8c(0x14c)],'renderConfig':_0x37a6ab['renderConfig']};if(_0x59319a==null)return;this[_0x5d0d8c(0x159)](this[_0x5d0d8c(0x12f)][_0x5d0d8c(0x14d)],_0x59319a);}}));}}_0x172f29[_0x504a36(0x135)](M);
1
+ const _0x44b60a=_0x3b56;(function(_0x435a31,_0x4cd1a6){const _0xefb625=_0x3b56,_0x1f2525=_0x435a31();while(!![]){try{const _0x45e764=parseInt(_0xefb625(0x13e))/0x1+-parseInt(_0xefb625(0x158))/0x2+-parseInt(_0xefb625(0x130))/0x3+parseInt(_0xefb625(0x138))/0x4*(-parseInt(_0xefb625(0x14c))/0x5)+parseInt(_0xefb625(0x13f))/0x6*(-parseInt(_0xefb625(0x152))/0x7)+-parseInt(_0xefb625(0x15a))/0x8*(parseInt(_0xefb625(0x134))/0x9)+parseInt(_0xefb625(0x13c))/0xa;if(_0x45e764===_0x4cd1a6)break;else _0x1f2525['push'](_0x1f2525['shift']());}catch(_0x22377f){_0x1f2525['push'](_0x1f2525['shift']());}}}(_0xc35e,0xccc71));import{ISheetPrintManagerService as _0x1c1c09,ConfirmSheetPrintOperation as _0x24454b,SheetPrintOpenOperation as _0x18d473,CancelSheetPrintOperation as _0x260849,hasPrintFacadePermission as _0x76c39d,SheetScreenShotOperation as _0xb8edb8,SheetPrintClientService as _0x522e24,PrintArea as _0x4eec70,PrintFreeze as _0x182fc6,PrintHeaderFooter as _0x2eb441,PrintHeaderFooterSymbol as _0x446b7e}from'@univerjs-pro/sheets-print';import{ICommandService as _0x31501d,PaperType as _0x562d52,CanceledError as _0x5625af}from'@univerjs/core';import{FWorkbook as _0x1afde4,FRange as _0x5b83ae}from'@univerjs/sheets/facade';import{FEventName as _0x3c2226,FEnum as _0x277c92,FUniver as _0x440d73}from'@univerjs/core/facade';import{PrintAlign as _0x94c630,PrintPaperMargin as _0x5e275d,PrintScale as _0x11b752,PrintDirection as _0x32ba68}from'@univerjs-pro/print';class A extends _0x1afde4{[_0x44b60a(0x133)](_0x42d627){const _0x2c3220=_0x44b60a;return this[_0x2c3220(0x149)][_0x2c3220(0x139)](_0x1c1c09)[_0x2c3220(0x13b)](_0x42d627),this;}[_0x44b60a(0x151)](_0x149835){const _0x481d74=_0x44b60a;return this['_injector'][_0x481d74(0x139)](_0x1c1c09)[_0x481d74(0x13d)](_0x149835),this;}[_0x44b60a(0x154)](){const _0x32deee=_0x44b60a;return this[_0x32deee(0x149)][_0x32deee(0x139)](_0x31501d)[_0x32deee(0x12c)](_0x24454b['id']);}['openPrintDialog'](){const _0x572aec=_0x44b60a;return this[_0x572aec(0x149)][_0x572aec(0x139)](_0x31501d)['syncExecuteCommand'](_0x18d473['id']);}[_0x44b60a(0x157)](){const _0x514822=_0x44b60a;return this[_0x514822(0x149)][_0x514822(0x139)](_0x31501d)[_0x514822(0x12c)](_0x260849['id']);}async[_0x44b60a(0x159)](){const _0x1a4af6=_0x44b60a;return _0x76c39d(this[_0x1a4af6(0x149)])?this[_0x1a4af6(0x149)][_0x1a4af6(0x139)](_0x31501d)[_0x1a4af6(0x136)](_0xb8edb8['id']):!0x1;}}_0x1afde4[_0x44b60a(0x14f)](A);class B extends _0x5b83ae{['getScreenshot'](){const _0x2963f0=_0x44b60a;return _0x76c39d(this[_0x2963f0(0x149)])?this[_0x2963f0(0x149)][_0x2963f0(0x139)](_0x522e24)[_0x2963f0(0x14a)](this[_0x2963f0(0x12b)][_0x2963f0(0x150)](),this[_0x2963f0(0x146)]['getSheetId'](),this[_0x2963f0(0x14e)]):!0x1;}}function _0x3b56(_0x4110db,_0x34341f){_0x4110db=_0x4110db-0x129;const _0xc35e56=_0xc35e();let _0x3b5693=_0xc35e56[_0x4110db];return _0x3b5693;}_0x5b83ae[_0x44b60a(0x14f)](B);class H{get[_0x44b60a(0x14b)](){const _0x226881=_0x44b60a;return _0x226881(0x14b);}get[_0x44b60a(0x145)](){const _0x499e9f=_0x44b60a;return _0x499e9f(0x145);}get[_0x44b60a(0x129)](){return'BeforeSheetPrintCanceled';}get[_0x44b60a(0x156)](){return'SheetPrintOpen';}get[_0x44b60a(0x137)](){const _0x15376e=_0x44b60a;return _0x15376e(0x137);}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}_0x3c2226[_0x44b60a(0x14f)](H);class U{get['PrintArea'](){return _0x4eec70;}get[_0x44b60a(0x142)](){return _0x94c630;}get[_0x44b60a(0x135)](){return _0x562d52;}get[_0x44b60a(0x12a)](){return _0x5e275d;}get[_0x44b60a(0x14d)](){return _0x11b752;}get['PrintDirection'](){return _0x32ba68;}get[_0x44b60a(0x147)](){return _0x182fc6;}get[_0x44b60a(0x131)](){return _0x2eb441;}get[_0x44b60a(0x132)](){return _0x446b7e;}}function _0xc35e(){const _0x26e387=['updatePrintConfig','639FrqELI','PrintPaperSize','executeCommand','SheetPrintConfirmed','1044ueGWYt','get','fireEvent','updateLayoutConfig','31773590VxIlOJ','updateRenderConfig','1342913IqXirG','656688aYrWcR','onCommandExecuted','getActiveSheet','PrintAlign','renderConfig','SheetPrintCanceled','BeforeSheetPrintConfirm','_worksheet','PrintFreeze','cancel','_injector','getRangeImage','BeforeSheetPrintOpen','24555MVMfoj','PrintScale','_range','extend','getUnitId','updatePrintRenderConfig','14NYhNDl','beforeCommandExecuted','print','layoutConfig','SheetPrintOpen','closePrintDialog','2661524iEIuCw','saveScreenshotToClipboard','85208mejXFo','BeforeSheetPrintCanceled','PrintPaperMargin','_workbook','syncExecuteCommand','getActiveUniverSheet','registerEventHandler','Event','281559sILKqy','PrintHeaderFooter','PrintHeaderFooterSymbol'];_0xc35e=function(){return _0x26e387;};return _0xc35e();}_0x277c92['extend'](U);class M extends _0x440d73{['_initialize'](_0x8e9857){const _0x5924df=_0x44b60a,_0x6bea52=_0x8e9857[_0x5924df(0x139)](_0x31501d);this[_0x5924df(0x12e)](this[_0x5924df(0x12f)][_0x5924df(0x14b)],()=>_0x6bea52[_0x5924df(0x153)](_0x509e3f=>{const _0x391418=_0x5924df;if(_0x509e3f['id']===_0x18d473['id']){const _0x8d60f7=this[_0x391418(0x12d)]();if(!_0x8d60f7)return;const _0x112706={'workbook':_0x8d60f7,'worksheet':_0x8d60f7[_0x391418(0x141)]()};if(_0x112706==null)return;if(this[_0x391418(0x13a)](this['Event'][_0x391418(0x14b)],_0x112706),_0x112706['cancel'])throw new _0x5625af();}})),this['registerEventHandler'](this['Event'][_0x5924df(0x145)],()=>_0x6bea52['beforeCommandExecuted'](_0x1cb309=>{const _0x4bc508=_0x5924df;if(_0x1cb309['id']===_0x24454b['id']){const _0xe15d3c=_0x8e9857[_0x4bc508(0x139)](_0x1c1c09);if(!this[_0x4bc508(0x12d)]())return;const _0xa5e7c2={'layoutConfig':_0xe15d3c['layoutConfig'],'renderConfig':_0xe15d3c[_0x4bc508(0x143)]};if(_0xa5e7c2==null)return;if(this['fireEvent'](this[_0x4bc508(0x12f)][_0x4bc508(0x145)],_0xa5e7c2),_0xa5e7c2[_0x4bc508(0x148)])throw new _0x5625af();}})),this['registerEventHandler'](this[_0x5924df(0x12f)]['BeforeSheetPrintCanceled'],()=>_0x6bea52[_0x5924df(0x153)](_0x3bc57c=>{const _0x19f76a=_0x5924df;if(_0x3bc57c['id']===_0x260849['id']){const _0x1d8201=_0x8e9857[_0x19f76a(0x139)](_0x1c1c09);if(!this[_0x19f76a(0x12d)]())return;const _0x1f8286={'layoutConfig':_0x1d8201[_0x19f76a(0x155)],'renderConfig':_0x1d8201[_0x19f76a(0x143)]};if(_0x1f8286==null)return;if(this[_0x19f76a(0x13a)](this[_0x19f76a(0x12f)][_0x19f76a(0x129)],_0x1f8286),_0x1f8286[_0x19f76a(0x148)])throw new _0x5625af();}})),this[_0x5924df(0x12e)](this[_0x5924df(0x12f)][_0x5924df(0x156)],()=>_0x6bea52[_0x5924df(0x140)](_0x212115=>{const _0x3b66b6=_0x5924df;if(_0x212115['id']===_0x18d473['id']){const _0x2bf249=this[_0x3b66b6(0x12d)]();if(!_0x2bf249)return;const _0x5ed908={'workbook':_0x2bf249,'worksheet':_0x2bf249[_0x3b66b6(0x141)]()};if(_0x5ed908==null)return;this[_0x3b66b6(0x13a)](this[_0x3b66b6(0x12f)]['SheetPrintOpen'],_0x5ed908);}})),this[_0x5924df(0x12e)](this[_0x5924df(0x12f)][_0x5924df(0x137)],()=>_0x6bea52[_0x5924df(0x140)](_0xc1296f=>{const _0x3be843=_0x5924df;if(_0xc1296f['id']===_0x24454b['id']){const _0x487a2a=_0x8e9857[_0x3be843(0x139)](_0x1c1c09);if(!this[_0x3be843(0x12d)]())return;const _0x2548ca={'layoutConfig':_0x487a2a[_0x3be843(0x155)],'renderConfig':_0x487a2a[_0x3be843(0x143)]};if(_0x2548ca==null)return;this[_0x3be843(0x13a)](this['Event'][_0x3be843(0x137)],_0x2548ca);}})),this['registerEventHandler'](this[_0x5924df(0x12f)][_0x5924df(0x144)],()=>_0x6bea52[_0x5924df(0x140)](_0xb0e271=>{const _0x14eff2=_0x5924df;if(_0xb0e271['id']===_0x260849['id']){const _0x25aa35=_0x8e9857[_0x14eff2(0x139)](_0x1c1c09);if(!this['getActiveUniverSheet']())return;const _0x4139c0={'layoutConfig':_0x25aa35[_0x14eff2(0x155)],'renderConfig':_0x25aa35[_0x14eff2(0x143)]};if(_0x4139c0==null)return;this[_0x14eff2(0x13a)](this[_0x14eff2(0x12f)][_0x14eff2(0x144)],_0x4139c0);}}));}}_0x440d73[_0x44b60a(0x14f)](M);