@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
- 'use strict';function _0x3d66(_0xfe5ef8,_0x2d354a){_0xfe5ef8=_0xfe5ef8-0x173;const _0x3fc22c=_0x3fc2();let _0x3d669f=_0x3fc22c[_0xfe5ef8];return _0x3d669f;}const _0x28f4f2=_0x3d66;(function(_0x1b932f,_0x16a1cd){const _0x513c25=_0x3d66,_0x52ac32=_0x1b932f();while(!![]){try{const _0x144b10=parseInt(_0x513c25(0x1a0))/0x1*(-parseInt(_0x513c25(0x195))/0x2)+-parseInt(_0x513c25(0x186))/0x3+-parseInt(_0x513c25(0x197))/0x4*(-parseInt(_0x513c25(0x1ad))/0x5)+parseInt(_0x513c25(0x177))/0x6*(-parseInt(_0x513c25(0x189))/0x7)+parseInt(_0x513c25(0x1b2))/0x8*(-parseInt(_0x513c25(0x1b8))/0x9)+parseInt(_0x513c25(0x181))/0xa+parseInt(_0x513c25(0x1b4))/0xb*(parseInt(_0x513c25(0x19b))/0xc);if(_0x144b10===_0x16a1cd)break;else _0x52ac32['push'](_0x52ac32['shift']());}catch(_0x4d913c){_0x52ac32['push'](_0x52ac32['shift']());}}}(_0x3fc2,0xe725f));function _0x3fc2(){const _0x530ca2=['Folio\x20(8.5\x22\x20x\x2013\x22)','exports','1236bXbKJH','關閉並隱藏分頁線','Executive\x20(7.25\x22\x20x\x2010.5\x22)','列與欄限制','標準\x20(100%)','1bcJdtv','紙張大小','重複凍結的列','HH:mm:ss','圖片已成功複製到剪貼簿!','活頁簿','時間C','列印中,請勿關閉頁面','B4\x20(9.84\x22\x20x\x2013.90\x22)','列與欄標題','已選取的儲存格','日期D','工作表總頁數','1586240DlqApX','重複凍結的欄','所有工作表','頁面方向','Legal\x20(8.5\x22\x20x\x2014\x22)','92256xQtAqh','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','370579aKFCoE','格式設定','工作表頁碼','日期E','72PvYgVW','日期C','時間B','每頁最大欄數','日期格式','總計:','30EhFcXZ','A4\x20(8.27\x22\x20x\x2011.69\x22)','所有選取的儲存格','顯示浮水印','編輯自訂頁首/頁尾','工作表名稱','複製為圖片','時間D','目前日期','HH:mm','9238770ugXevg','顯示分頁符號','A3\x20(11.69\x22\x20x\x2016.54\x22)','目前時間','自訂頁首/頁尾','5468346OzdmHs','自訂比例','自訂义頁邊距','1378692GWDVyw','選取範圍','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','Statement\x20(5.5\x22\x20x\x208.5\x22)','日期A','日期B','目前工作表','下一步','頁首和頁尾','日期F','MM/DD','調整至頁面寬度','3632470RnPyci','總頁數','16faWEah','Tabloid\x20(11\x22\x20x\x2017\x22)'];_0x3fc2=function(){return _0x530ca2;};return _0x3fc2();}const e={'print':{'header':{'total':_0x28f4f2(0x176),'pages':'頁','cancel':'取消','next':_0x28f4f2(0x190),'printing':_0x28f4f2(0x1a7)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x28f4f2(0x182),'showGridLabel':'顯示分頁線','closeAndHide':_0x28f4f2(0x19c)},'screenshot':{'title':_0x28f4f2(0x17d),'success':_0x28f4f2(0x1a4),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x28f4f2(0x1a1),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x28f4f2(0x198),'legal':_0x28f4f2(0x1b1),'statement':_0x28f4f2(0x18c),'executive':_0x28f4f2(0x19d),'folio':_0x28f4f2(0x199),'a3':_0x28f4f2(0x183),'a4':_0x28f4f2(0x178),'a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':_0x28f4f2(0x1a8),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x28f4f2(0x188),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x28f4f2(0x18f),'workbook':_0x28f4f2(0x1a5),'currentSelection':_0x28f4f2(0x1aa),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x28f4f2(0x174),'limit':_0x28f4f2(0x19e),'allSelection':_0x28f4f2(0x179)},'selection':{'title':_0x28f4f2(0x18a),'allWorkbook':_0x28f4f2(0x1af),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x28f4f2(0x19f),'fitWidth':_0x28f4f2(0x194),'fitHeight':'調整至頁面高度','fitPage':'調整至頁面大小','custom':_0x28f4f2(0x187)},'orientation':{'title':_0x28f4f2(0x1b0),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x28f4f2(0x1b5),'skeleton':'顯示格線','waterMark':_0x28f4f2(0x17a)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x28f4f2(0x191),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x28f4f2(0x17c),'date':_0x28f4f2(0x17f),'time':_0x28f4f2(0x184),'customHeadFooter':_0x28f4f2(0x185),'editCustomHeadFooter':_0x28f4f2(0x17b),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x28f4f2(0x175),'dateA':'YYYY-MM-DD','dateB':'MM-DD','dateC':'L','dateD':_0x28f4f2(0x193),'timeA':_0x28f4f2(0x1a3),'timeB':_0x28f4f2(0x180),'timeC':'hh:mm:ss','timeD':'hh:mm','display':{'page':'頁碼','title':'活頁簿標題','sheet':_0x28f4f2(0x17c),'dateA':_0x28f4f2(0x18d),'dateB':_0x28f4f2(0x18e),'dateC':_0x28f4f2(0x1b9),'dateD':_0x28f4f2(0x1ab),'dateE':_0x28f4f2(0x1b7),'dateF':_0x28f4f2(0x192),'timeA':'時間A','timeB':_0x28f4f2(0x173),'timeC':_0x28f4f2(0x1a6),'timeD':_0x28f4f2(0x17e),'sheetPage':_0x28f4f2(0x1b6),'pageTotal':_0x28f4f2(0x196),'sheetPageTotal':_0x28f4f2(0x1ac)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x28f4f2(0x1a9),'desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':_0x28f4f2(0x1a2),'column':_0x28f4f2(0x1ae)},'limit':{'page':_0x28f4f2(0x18b),'waterMark':_0x28f4f2(0x1b3),'link':'https://univer.ai/pro'}}};module[_0x28f4f2(0x19a)]=e;
1
+ 'use strict';function _0x4e56(_0x323d06,_0x74871b){_0x323d06=_0x323d06-0x14e;const _0x725f97=_0x725f();let _0x4e566e=_0x725f97[_0x323d06];return _0x4e566e;}const _0x3c4f02=_0x4e56;(function(_0x1a92c2,_0x10fe3c){const _0xbdeaa8=_0x4e56,_0x3f99a8=_0x1a92c2();while(!![]){try{const _0x4a6892=parseInt(_0xbdeaa8(0x17c))/0x1*(parseInt(_0xbdeaa8(0x16c))/0x2)+-parseInt(_0xbdeaa8(0x185))/0x3*(-parseInt(_0xbdeaa8(0x150))/0x4)+-parseInt(_0xbdeaa8(0x164))/0x5+parseInt(_0xbdeaa8(0x165))/0x6+parseInt(_0xbdeaa8(0x177))/0x7+parseInt(_0xbdeaa8(0x14f))/0x8+-parseInt(_0xbdeaa8(0x184))/0x9;if(_0x4a6892===_0x10fe3c)break;else _0x3f99a8['push'](_0x3f99a8['shift']());}catch(_0x402e8c){_0x3f99a8['push'](_0x3f99a8['shift']());}}}(_0x725f,0x7a7ba));function _0x725f(){const _0x24fdcd=['2268411CMgZDh','HH:mm:ss','複製為圖片','日期B','Executive\x20(7.25\x22\x20x\x2010.5\x22)','https://univer.ai/pro','每頁最大列數','MM-DD','目前工作表','6595056ARmQsE','4PpkRMR','時間C','調整至頁面大小','每頁最大欄數','Statement\x20(5.5\x22\x20x\x208.5\x22)','MM/DD','目前時間','工作表總頁數','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','工作表頁碼','圖片複製到剪貼簿失敗!','自訂比例','YYYY-MM-DD','時間A','列印中,請勿關閉頁面','B4\x20(9.84\x22\x20x\x2013.90\x22)','時間D','HH:mm','hh:mm:ss','日期格式','2699070pAasZc','2430594vFjduH','調整至頁面寬度','hh:mm','調整至頁面高度','自訂义頁邊距','日期C','總頁數','10kphhrP','顯示分頁線','頁首和頁尾','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','工作表名稱','水平對齊','A5\x20(5.83\x22\x20x\x208.27\x22)','編輯自訂頁首/頁尾','所有工作表','時間B','自訂頁首/頁尾','140231XcRVIY','垂直對齊','所有選取的儲存格','下一步','B5\x20(6.93\x22\x20x\x209.84\x22)','23428SyrsWk','A4\x20(8.27\x22\x20x\x2011.69\x22)','選取範圍','顯示分頁符號','總計:','張工作表','顯示浮水印','exports','9731583xuvLtQ'];_0x725f=function(){return _0x24fdcd;};return _0x725f();}const e={'print':{'header':{'total':_0x3c4f02(0x180),'pages':'頁','cancel':'取消','next':_0x3c4f02(0x17a),'printing':_0x3c4f02(0x15e)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x3c4f02(0x17f),'showGridLabel':_0x3c4f02(0x16d),'closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x3c4f02(0x187),'success':'圖片已成功複製到剪貼簿!','fail':_0x3c4f02(0x15a)},'size':{'title':'紙張大小','letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x3c4f02(0x154),'executive':_0x3c4f02(0x189),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x3c4f02(0x17d),'a5':_0x3c4f02(0x172),'b4':_0x3c4f02(0x15f),'b5':_0x3c4f02(0x17b)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x3c4f02(0x169),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x3c4f02(0x14e),'workbook':'活頁簿','currentSelection':'已選取的儲存格','maxRowsEachPage':_0x3c4f02(0x18b),'maxColumnsEachPage':_0x3c4f02(0x153),'limit':'列與欄限制','allSelection':_0x3c4f02(0x179)},'selection':{'title':_0x3c4f02(0x17e),'allWorkbook':_0x3c4f02(0x174),'workbookUnit':_0x3c4f02(0x181)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x3c4f02(0x166),'fitHeight':_0x3c4f02(0x168),'fitPage':_0x3c4f02(0x152),'custom':_0x3c4f02(0x15b)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':'顯示格線','waterMark':_0x3c4f02(0x182)},'align':{'title':'對齊','horizontal':{'title':_0x3c4f02(0x171),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x3c4f02(0x178),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x3c4f02(0x16e),'page':'頁碼','workbook':'活頁簿標題','sheet':'工作表名稱','date':'目前日期','time':_0x3c4f02(0x156),'customHeadFooter':_0x3c4f02(0x176),'editCustomHeadFooter':_0x3c4f02(0x173),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x3c4f02(0x163),'dateA':_0x3c4f02(0x15c),'dateB':_0x3c4f02(0x18c),'dateC':'L','dateD':_0x3c4f02(0x155),'timeA':_0x3c4f02(0x186),'timeB':_0x3c4f02(0x161),'timeC':_0x3c4f02(0x162),'timeD':_0x3c4f02(0x167),'display':{'page':'頁碼','title':'活頁簿標題','sheet':_0x3c4f02(0x170),'dateA':'日期A','dateB':_0x3c4f02(0x188),'dateC':_0x3c4f02(0x16a),'dateD':'日期D','dateE':'日期E','dateF':'日期F','timeA':_0x3c4f02(0x15d),'timeB':_0x3c4f02(0x175),'timeC':_0x3c4f02(0x151),'timeD':_0x3c4f02(0x160),'sheetPage':_0x3c4f02(0x159),'pageTotal':_0x3c4f02(0x16b),'sheetPageTotal':_0x3c4f02(0x157)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':'列與欄標題','desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':'重複凍結的列','column':'重複凍結的欄'},'limit':{'page':_0x3c4f02(0x158),'waterMark':_0x3c4f02(0x16f),'link':_0x3c4f02(0x18a)}}};module[_0x3c4f02(0x183)]=e;
package/lib/es/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);