@univerjs-pro/sheets-print 0.15.1-insiders.20260117-8ce4a01 → 0.15.2-insiders.20260119-edc718c

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 +44 -44
  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';const _0x490b54=_0x1dfe;function _0x1dfe(_0x29ee6f,_0xd7bdc0){_0x29ee6f=_0x29ee6f-0x137;const _0x32a252=_0x32a2();let _0x1dfec9=_0x32a252[_0x29ee6f];return _0x1dfec9;}(function(_0x295df4,_0x3bbf6e){const _0x562094=_0x1dfe,_0x500f6c=_0x295df4();while(!![]){try{const _0x3efb97=parseInt(_0x562094(0x14d))/0x1+parseInt(_0x562094(0x148))/0x2+parseInt(_0x562094(0x13d))/0x3*(parseInt(_0x562094(0x13c))/0x4)+-parseInt(_0x562094(0x170))/0x5*(-parseInt(_0x562094(0x15e))/0x6)+parseInt(_0x562094(0x175))/0x7*(parseInt(_0x562094(0x171))/0x8)+-parseInt(_0x562094(0x13a))/0x9+-parseInt(_0x562094(0x15d))/0xa;if(_0x3efb97===_0x3bbf6e)break;else _0x500f6c['push'](_0x500f6c['shift']());}catch(_0x1a66e6){_0x500f6c['push'](_0x500f6c['shift']());}}}(_0x32a2,0xa3022));function _0x32a2(){const _0x54000a=['圖片已成功複製到剪貼簿!','工作表頁碼','B4\x20(9.84\x22\x20x\x2013.90\x22)','選取範圍','自訂义頁邊距','MM/DD','頁首和頁尾','垂直對齊','769392YVpXjh','下一步','10216jOlpYm','318zESXFA','點擊以新增文字','日期E','A5\x20(5.83\x22\x20x\x208.27\x22)','總計:','張工作表','顯示分頁符號','日期C','Tabloid\x20(11\x22\x20x\x2017\x22)','日期D','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','1487218eAwcgI','活頁簿','關閉並隱藏分頁線','顯示分頁線','調整至頁面大小','80693QWcxEM','Statement\x20(5.5\x22\x20x\x208.5\x22)','活頁簿標題','列與欄限制','列印中,請勿關閉頁面','重複凍結的欄','工作表總頁數','圖片複製到剪貼簿失敗!','MM-DD','所有工作表','hh:mm','hh:mm:ss','列印版面配置','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','調整至頁面高度','自訂頁首/頁尾','17736630LkGyki','116880QhhGYk','Letter\x20(8.5\x22\x20x\x2011\x22)','紙張大小','目前日期','YYYY-MM-DD','調整至頁面寬度','工作表名稱','標準\x20(100%)','https://univer.ai/pro','日期B','目前工作表','HH:mm','目前時間','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','總頁數','重複凍結的列','顯示浮水印','水平對齊','330CJXpXg','389672wdYiVm','編輯自訂頁首/頁尾','Executive\x20(7.25\x22\x20x\x2010.5\x22)','所有選取的儲存格','21qNTHJA','日期格式','顯示格線','Folio\x20(8.5\x22\x20x\x2013\x22)'];_0x32a2=function(){return _0x54000a;};return _0x32a2();}const e={'print':{'header':{'total':_0x490b54(0x141),'pages':'頁','cancel':'取消','next':_0x490b54(0x13b),'printing':_0x490b54(0x151)},'menu':'列印','title':'列印','grid':{'title':_0x490b54(0x159),'showGrid':_0x490b54(0x143),'showGridLabel':_0x490b54(0x14b),'closeAndHide':_0x490b54(0x14a)},'screenshot':{'title':'複製為圖片','success':_0x490b54(0x179),'fail':_0x490b54(0x154)},'size':{'title':_0x490b54(0x160),'letter':_0x490b54(0x15f),'tabloid':_0x490b54(0x145),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x490b54(0x14e),'executive':_0x490b54(0x173),'folio':_0x490b54(0x178),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x490b54(0x140),'b4':_0x490b54(0x17b),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x490b54(0x17d),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x490b54(0x168),'workbook':_0x490b54(0x149),'currentSelection':'已選取的儲存格','maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':'每頁最大欄數','limit':_0x490b54(0x150),'allSelection':_0x490b54(0x174)},'selection':{'title':_0x490b54(0x17c),'allWorkbook':_0x490b54(0x156),'workbookUnit':_0x490b54(0x142)},'scale':{'title':'縮放','normal':_0x490b54(0x165),'fitWidth':_0x490b54(0x163),'fitHeight':_0x490b54(0x15b),'fitPage':_0x490b54(0x14c),'custom':'自訂比例'},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x490b54(0x177),'waterMark':_0x490b54(0x16e)},'align':{'title':'對齊','horizontal':{'title':_0x490b54(0x16f),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x490b54(0x139),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x490b54(0x138),'page':'頁碼','workbook':_0x490b54(0x14f),'sheet':_0x490b54(0x164),'date':_0x490b54(0x161),'time':_0x490b54(0x16a),'customHeadFooter':_0x490b54(0x15c),'editCustomHeadFooter':_0x490b54(0x172),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x490b54(0x176),'dateA':_0x490b54(0x162),'dateB':_0x490b54(0x155),'dateC':'L','dateD':_0x490b54(0x137),'timeA':'HH:mm:ss','timeB':_0x490b54(0x169),'timeC':_0x490b54(0x158),'timeD':_0x490b54(0x157),'display':{'page':'頁碼','title':'活頁簿標題','sheet':_0x490b54(0x164),'dateA':'日期A','dateB':_0x490b54(0x167),'dateC':_0x490b54(0x144),'dateD':_0x490b54(0x146),'dateE':_0x490b54(0x13f),'dateF':'日期F','timeA':'時間A','timeB':'時間B','timeC':'時間C','timeD':'時間D','sheetPage':_0x490b54(0x17a),'pageTotal':_0x490b54(0x16c),'sheetPageTotal':_0x490b54(0x153)},'placeholder':_0x490b54(0x13e),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x490b54(0x16b),'row':_0x490b54(0x16d),'column':_0x490b54(0x152)},'limit':{'page':_0x490b54(0x147),'waterMark':_0x490b54(0x15a),'link':_0x490b54(0x166)}}};module['exports']=e;
1
+ 'use strict';function _0x3e8b(_0x19799f,_0x5e92a7){_0x19799f=_0x19799f-0x18c;const _0x5605db=_0x5605();let _0x3e8bd8=_0x5605db[_0x19799f];return _0x3e8bd8;}const _0x53a062=_0x3e8b;(function(_0x29f995,_0x3d53b8){const _0x19288b=_0x3e8b,_0x5de0df=_0x29f995();while(!![]){try{const _0xc931c3=parseInt(_0x19288b(0x1a6))/0x1*(-parseInt(_0x19288b(0x1ad))/0x2)+-parseInt(_0x19288b(0x1a1))/0x3*(parseInt(_0x19288b(0x1b7))/0x4)+-parseInt(_0x19288b(0x1bc))/0x5*(parseInt(_0x19288b(0x1a3))/0x6)+parseInt(_0x19288b(0x1af))/0x7+parseInt(_0x19288b(0x1d2))/0x8+parseInt(_0x19288b(0x1b9))/0x9*(-parseInt(_0x19288b(0x1b0))/0xa)+parseInt(_0x19288b(0x1b6))/0xb;if(_0xc931c3===_0x3d53b8)break;else _0x5de0df['push'](_0x5de0df['shift']());}catch(_0x1ebf50){_0x5de0df['push'](_0x5de0df['shift']());}}}(_0x5605,0xb16b6));function _0x5605(){const _0x258000=['自訂义頁邊距','紙張大小','列與欄標題','顯示浮水印','日期格式','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','下一步','每頁最大欄數','工作表總頁數','https://univer.ai/pro','MM/DD','複製為圖片','列印中,請勿關閉頁面','日期B','垂直對齊','7119WcYqxT','工作表頁碼','1128846TwmqmH','自訂頁首/頁尾','已選取的儲存格','244018YfzffJ','列與欄限制','HH:mm:ss','頁面方向','Folio\x20(8.5\x22\x20x\x2013\x22)','所有工作表','標準\x20(100%)','10YIGbhh','日期C','8132418PbSeTV','1630UYJago','B5\x20(6.93\x22\x20x\x209.84\x22)','圖片複製到剪貼簿失敗!','日期A','A5\x20(5.83\x22\x20x\x208.27\x22)','活頁簿','24101990HxDBkJ','1604FKryvR','點擊以新增文字','13194FJmYQH','Executive\x20(7.25\x22\x20x\x2010.5\x22)','水平對齊','10jSdJfI','活頁簿標題','hh:mm:ss','Tabloid\x20(11\x22\x20x\x2017\x22)','列印版面配置','A3\x20(11.69\x22\x20x\x2016.54\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','MM-DD','顯示分頁線','頁首和頁尾','顯示格線','Legal\x20(8.5\x22\x20x\x2014\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','exports','自訂比例','目前時間','編輯自訂頁首/頁尾','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','YYYY-MM-DD','圖片已成功複製到剪貼簿!','HH:mm','Letter\x20(8.5\x22\x20x\x2011\x22)','1285992JHOHWV','日期F','總計:','選取範圍','時間B','重複凍結的列','時間C','Statement\x20(5.5\x22\x20x\x208.5\x22)','日期E','工作表名稱','目前工作表','時間A'];_0x5605=function(){return _0x258000;};return _0x5605();}const e={'print':{'header':{'total':_0x53a062(0x1d4),'pages':'頁','cancel':'取消','next':_0x53a062(0x198),'printing':_0x53a062(0x19e)},'menu':'列印','title':'列印','grid':{'title':_0x53a062(0x1c0),'showGrid':'顯示分頁符號','showGridLabel':_0x53a062(0x1c4),'closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x53a062(0x19d),'success':_0x53a062(0x1cf),'fail':_0x53a062(0x1b2)},'size':{'title':_0x53a062(0x193),'letter':_0x53a062(0x1d1),'tabloid':_0x53a062(0x1bf),'legal':_0x53a062(0x1c7),'statement':_0x53a062(0x18d),'executive':_0x53a062(0x1ba),'folio':_0x53a062(0x1aa),'a3':_0x53a062(0x1c1),'a4':_0x53a062(0x1c8),'a5':_0x53a062(0x1b4),'b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x53a062(0x1b1)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x53a062(0x192),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x53a062(0x190),'workbook':_0x53a062(0x1b5),'currentSelection':_0x53a062(0x1a5),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x53a062(0x199),'limit':_0x53a062(0x1a7),'allSelection':'所有選取的儲存格'},'selection':{'title':_0x53a062(0x1d5),'allWorkbook':_0x53a062(0x1ab),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x53a062(0x1ac),'fitWidth':'調整至頁面寬度','fitHeight':'調整至頁面高度','fitPage':'調整至頁面大小','custom':_0x53a062(0x1ca)},'orientation':{'title':_0x53a062(0x1a9),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x53a062(0x1c6),'waterMark':_0x53a062(0x195)},'align':{'title':'對齊','horizontal':{'title':_0x53a062(0x1bb),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x53a062(0x1a0),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x53a062(0x1c5),'page':'頁碼','workbook':_0x53a062(0x1bd),'sheet':_0x53a062(0x18f),'date':'目前日期','time':_0x53a062(0x1cb),'customHeadFooter':_0x53a062(0x1a4),'editCustomHeadFooter':_0x53a062(0x1cc),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x53a062(0x196),'dateA':_0x53a062(0x1ce),'dateB':_0x53a062(0x1c3),'dateC':'L','dateD':_0x53a062(0x19c),'timeA':_0x53a062(0x1a8),'timeB':_0x53a062(0x1d0),'timeC':_0x53a062(0x1be),'timeD':'hh:mm','display':{'page':'頁碼','title':_0x53a062(0x1bd),'sheet':_0x53a062(0x18f),'dateA':_0x53a062(0x1b3),'dateB':_0x53a062(0x19f),'dateC':_0x53a062(0x1ae),'dateD':'日期D','dateE':_0x53a062(0x18e),'dateF':_0x53a062(0x1d3),'timeA':_0x53a062(0x191),'timeB':_0x53a062(0x1d6),'timeC':_0x53a062(0x18c),'timeD':'時間D','sheetPage':_0x53a062(0x1a2),'pageTotal':'總頁數','sheetPageTotal':_0x53a062(0x19a)},'placeholder':_0x53a062(0x1b8),'submit':'確定'},'freeze':{'title':_0x53a062(0x194),'desc':_0x53a062(0x1cd),'row':_0x53a062(0x1d7),'column':'重複凍結的欄'},'limit':{'page':_0x53a062(0x197),'waterMark':_0x53a062(0x1c2),'link':_0x53a062(0x19b)}}};module[_0x53a062(0x1c9)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x495967=_0x37c4;(function(_0x732dd1,_0x2d11ab){const _0x4a76f7=_0x37c4,_0x46c482=_0x732dd1();while(!![]){try{const _0x4c1c8b=parseInt(_0x4a76f7(0x1b8))/0x1+parseInt(_0x4a76f7(0x1a9))/0x2+-parseInt(_0x4a76f7(0x1bb))/0x3+-parseInt(_0x4a76f7(0x1be))/0x4+-parseInt(_0x4a76f7(0x1b2))/0x5*(parseInt(_0x4a76f7(0x1b5))/0x6)+-parseInt(_0x4a76f7(0x1bf))/0x7+parseInt(_0x4a76f7(0x1b6))/0x8*(parseInt(_0x4a76f7(0x1ca))/0x9);if(_0x4c1c8b===_0x2d11ab)break;else _0x46c482['push'](_0x46c482['shift']());}catch(_0x2ee345){_0x46c482['push'](_0x46c482['shift']());}}}(_0xa0bd,0x52005));import{ISheetPrintManagerService as _0x3feb1b,ConfirmSheetPrintOperation as _0x53b227,SheetPrintOpenOperation as _0x3672c2,CancelSheetPrintOperation as _0xa2a2a6,hasPrintFacadePermission as _0x6bfffe,SheetScreenShotOperation as _0xc6f4e9,SheetPrintClientService as _0x3f98d9,PrintArea as _0xb5f9c8,PrintFreeze as _0x48daaf,PrintHeaderFooter as _0xbc1973,PrintHeaderFooterSymbol as _0x224c7b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x1c9755,PaperType as _0x2e3c59,CanceledError as _0x15776a}from'@univerjs/core';import{FWorkbook as _0x4e8765,FRange as _0x494c1c}from'@univerjs/sheets/facade';import{FEventName as _0x2d8395,FEnum as _0x5c5be1,FUniver as _0xed2c17}from'@univerjs/core/facade';import{PrintAlign as _0x3eb96f,PrintPaperMargin as _0x5f22c9,PrintScale as _0x1bb44b,PrintDirection as _0x151d42}from'@univerjs-pro/print';function _0xa0bd(){const _0x235b6b=['SheetPrintOpen','Event','getScreenshot','PrintAlign','57355amrrHq','openPrintDialog','BeforeSheetPrintConfirm','198NZEFgf','35776gjXKuB','executeCommand','193490ucMwcG','BeforeSheetPrintOpen','PrintHeaderFooter','1558251STijUd','syncExecuteCommand','getActiveUniverSheet','2181632TRHbFB','3426941zxWBug','saveScreenshotToClipboard','PrintDirection','SheetPrintConfirmed','fireEvent','closePrintDialog','get','renderConfig','cancel','getActiveSheet','includeHeaders','3393EjimMN','_injector','updateLayoutConfig','updatePrintConfig','_worksheet','_range','getRangeImage','layoutConfig','PrintPaperMargin','onCommandExecuted','registerEventHandler','PrintArea','beforeCommandExecuted','SheetPrintCanceled','PrintFreeze','778748vFvBwe','extend','_workbook','BeforeSheetPrintCanceled','getUnitId'];_0xa0bd=function(){return _0x235b6b;};return _0xa0bd();}class A extends _0x4e8765{[_0x495967(0x1cd)](_0x5170a1){const _0x3605a7=_0x495967;return this[_0x3605a7(0x1cb)][_0x3605a7(0x1c5)](_0x3feb1b)[_0x3605a7(0x1cc)](_0x5170a1),this;}['updatePrintRenderConfig'](_0x580df1){const _0x774e0d=_0x495967;return this[_0x774e0d(0x1cb)][_0x774e0d(0x1c5)](_0x3feb1b)['updateRenderConfig'](_0x580df1),this;}['print'](){const _0x2d12bb=_0x495967;return this[_0x2d12bb(0x1cb)][_0x2d12bb(0x1c5)](_0x1c9755)[_0x2d12bb(0x1bc)](_0x53b227['id']);}[_0x495967(0x1b3)](){const _0x504d5f=_0x495967;return this[_0x504d5f(0x1cb)][_0x504d5f(0x1c5)](_0x1c9755)[_0x504d5f(0x1bc)](_0x3672c2['id']);}[_0x495967(0x1c4)](){const _0x4aa93f=_0x495967;return this['_injector'][_0x4aa93f(0x1c5)](_0x1c9755)[_0x4aa93f(0x1bc)](_0xa2a2a6['id']);}async[_0x495967(0x1c0)](){const _0x681362=_0x495967;return _0x6bfffe(this[_0x681362(0x1cb)])?this[_0x681362(0x1cb)][_0x681362(0x1c5)](_0x1c9755)[_0x681362(0x1b7)](_0xc6f4e9['id']):!0x1;}}_0x4e8765['extend'](A);class B extends _0x494c1c{[_0x495967(0x1b0)](_0x59890d){const _0x5a1b02=_0x495967;return _0x6bfffe(this[_0x5a1b02(0x1cb)])?this['_injector'][_0x5a1b02(0x1c5)](_0x3f98d9)[_0x5a1b02(0x1d0)](this[_0x5a1b02(0x1ab)][_0x5a1b02(0x1ad)](),this[_0x5a1b02(0x1ce)]['getSheetId'](),this[_0x5a1b02(0x1cf)],_0x59890d==null?void 0x0:_0x59890d[_0x5a1b02(0x1c9)]):!0x1;}}_0x494c1c[_0x495967(0x1aa)](B);class H{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x495967(0x1b4)](){const _0x276617=_0x495967;return _0x276617(0x1b4);}get['BeforeSheetPrintCanceled'](){const _0x5d4ab0=_0x495967;return _0x5d4ab0(0x1ac);}get[_0x495967(0x1ae)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x1bab10=_0x495967;return _0x1bab10(0x1c2);}get[_0x495967(0x1d7)](){const _0x132a19=_0x495967;return _0x132a19(0x1d7);}}_0x2d8395[_0x495967(0x1aa)](H);function _0x37c4(_0x138fa9,_0x8fdc19){_0x138fa9=_0x138fa9-0x1a8;const _0xa0bdca=_0xa0bd();let _0x37c451=_0xa0bdca[_0x138fa9];return _0x37c451;}class U{get[_0x495967(0x1d5)](){return _0xb5f9c8;}get[_0x495967(0x1b1)](){return _0x3eb96f;}get['PrintPaperSize'](){return _0x2e3c59;}get[_0x495967(0x1d2)](){return _0x5f22c9;}get['PrintScale'](){return _0x1bb44b;}get[_0x495967(0x1c1)](){return _0x151d42;}get[_0x495967(0x1a8)](){return _0x48daaf;}get[_0x495967(0x1ba)](){return _0xbc1973;}get['PrintHeaderFooterSymbol'](){return _0x224c7b;}}_0x5c5be1['extend'](U);class M extends _0xed2c17{['_initialize'](_0x2f7532){const _0x5008dd=_0x495967,_0x3ea7c7=_0x2f7532[_0x5008dd(0x1c5)](_0x1c9755);this['registerEventHandler'](this[_0x5008dd(0x1af)][_0x5008dd(0x1b9)],()=>_0x3ea7c7['beforeCommandExecuted'](_0x3cefa4=>{const _0x59c2cc=_0x5008dd;if(_0x3cefa4['id']===_0x3672c2['id']){const _0x1ef309=this[_0x59c2cc(0x1bd)]();if(!_0x1ef309)return;const _0x4f74f5={'workbook':_0x1ef309,'worksheet':_0x1ef309[_0x59c2cc(0x1c8)]()};if(_0x4f74f5==null)return;if(this[_0x59c2cc(0x1c3)](this[_0x59c2cc(0x1af)][_0x59c2cc(0x1b9)],_0x4f74f5),_0x4f74f5[_0x59c2cc(0x1c7)])throw new _0x15776a();}})),this[_0x5008dd(0x1d4)](this['Event'][_0x5008dd(0x1b4)],()=>_0x3ea7c7[_0x5008dd(0x1d6)](_0x595291=>{const _0x4a32aa=_0x5008dd;if(_0x595291['id']===_0x53b227['id']){const _0x15716c=_0x2f7532['get'](_0x3feb1b);if(!this[_0x4a32aa(0x1bd)]())return;const _0x5f268a={'layoutConfig':_0x15716c[_0x4a32aa(0x1d1)],'renderConfig':_0x15716c[_0x4a32aa(0x1c6)]};if(_0x5f268a==null)return;if(this[_0x4a32aa(0x1c3)](this['Event']['BeforeSheetPrintConfirm'],_0x5f268a),_0x5f268a[_0x4a32aa(0x1c7)])throw new _0x15776a();}})),this[_0x5008dd(0x1d4)](this[_0x5008dd(0x1af)]['BeforeSheetPrintCanceled'],()=>_0x3ea7c7[_0x5008dd(0x1d6)](_0x899d53=>{const _0x37cac3=_0x5008dd;if(_0x899d53['id']===_0xa2a2a6['id']){const _0x5613be=_0x2f7532[_0x37cac3(0x1c5)](_0x3feb1b);if(!this[_0x37cac3(0x1bd)]())return;const _0x978606={'layoutConfig':_0x5613be['layoutConfig'],'renderConfig':_0x5613be[_0x37cac3(0x1c6)]};if(_0x978606==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintCanceled'],_0x978606),_0x978606[_0x37cac3(0x1c7)])throw new _0x15776a();}})),this['registerEventHandler'](this[_0x5008dd(0x1af)]['SheetPrintOpen'],()=>_0x3ea7c7['onCommandExecuted'](_0x4e6100=>{const _0x2586b4=_0x5008dd;if(_0x4e6100['id']===_0x3672c2['id']){const _0x45f3a8=this['getActiveUniverSheet']();if(!_0x45f3a8)return;const _0x4eb50b={'workbook':_0x45f3a8,'worksheet':_0x45f3a8[_0x2586b4(0x1c8)]()};if(_0x4eb50b==null)return;this[_0x2586b4(0x1c3)](this[_0x2586b4(0x1af)][_0x2586b4(0x1ae)],_0x4eb50b);}})),this[_0x5008dd(0x1d4)](this[_0x5008dd(0x1af)][_0x5008dd(0x1c2)],()=>_0x3ea7c7[_0x5008dd(0x1d3)](_0x27f025=>{const _0xe1ea97=_0x5008dd;if(_0x27f025['id']===_0x53b227['id']){const _0x36f0ee=_0x2f7532['get'](_0x3feb1b);if(!this[_0xe1ea97(0x1bd)]())return;const _0x31a234={'layoutConfig':_0x36f0ee[_0xe1ea97(0x1d1)],'renderConfig':_0x36f0ee[_0xe1ea97(0x1c6)]};if(_0x31a234==null)return;this[_0xe1ea97(0x1c3)](this[_0xe1ea97(0x1af)][_0xe1ea97(0x1c2)],_0x31a234);}})),this['registerEventHandler'](this[_0x5008dd(0x1af)][_0x5008dd(0x1d7)],()=>_0x3ea7c7[_0x5008dd(0x1d3)](_0x4cc73b=>{const _0x102203=_0x5008dd;if(_0x4cc73b['id']===_0xa2a2a6['id']){const _0x1d6a93=_0x2f7532[_0x102203(0x1c5)](_0x3feb1b);if(!this[_0x102203(0x1bd)]())return;const _0x5945d7={'layoutConfig':_0x1d6a93[_0x102203(0x1d1)],'renderConfig':_0x1d6a93[_0x102203(0x1c6)]};if(_0x5945d7==null)return;this['fireEvent'](this['Event'][_0x102203(0x1d7)],_0x5945d7);}}));}}_0xed2c17[_0x495967(0x1aa)](M);
1
+ function _0x1415(){const _0x31c4d1=['_range','BeforeSheetPrintCanceled','onCommandExecuted','print','PrintHeaderFooterSymbol','PrintPaperSize','getActiveUniverSheet','updatePrintConfig','saveScreenshotToClipboard','extend','SheetPrintCanceled','openPrintDialog','3057740XNwQZn','renderConfig','updateRenderConfig','updateLayoutConfig','6mtfPuI','1576055qNONnN','274340cUcZqS','layoutConfig','BeforeSheetPrintConfirm','includeHeaders','Event','PrintArea','cancel','beforeCommandExecuted','syncExecuteCommand','_initialize','closePrintDialog','6362631TTCBrY','SheetPrintConfirmed','BeforeSheetPrintOpen','SheetPrintOpen','PrintScale','3CUBiIE','executeCommand','updatePrintRenderConfig','fireEvent','getActiveSheet','198082buLIdV','registerEventHandler','1793981npLTVZ','1415916CTjGAz','PrintHeaderFooter','get','PrintAlign','8UFkjhh','getSheetId','_injector','_workbook'];_0x1415=function(){return _0x31c4d1;};return _0x1415();}const _0x3164eb=_0x4911;(function(_0x472f1f,_0x2d281c){const _0x1eab99=_0x4911,_0x3f7f99=_0x472f1f();while(!![]){try{const _0x273d9e=-parseInt(_0x1eab99(0x134))/0x1+-parseInt(_0x1eab99(0x151))/0x2+-parseInt(_0x1eab99(0x12f))/0x3*(-parseInt(_0x1eab99(0x137))/0x4)+-parseInt(_0x1eab99(0x150))/0x5*(parseInt(_0x1eab99(0x14f))/0x6)+parseInt(_0x1eab99(0x136))/0x7+-parseInt(_0x1eab99(0x13b))/0x8*(-parseInt(_0x1eab99(0x12a))/0x9)+-parseInt(_0x1eab99(0x14b))/0xa;if(_0x273d9e===_0x2d281c)break;else _0x3f7f99['push'](_0x3f7f99['shift']());}catch(_0x385f22){_0x3f7f99['push'](_0x3f7f99['shift']());}}}(_0x1415,0x58218));import{ISheetPrintManagerService as _0x1c154,ConfirmSheetPrintOperation as _0x3830f0,SheetPrintOpenOperation as _0x52e917,CancelSheetPrintOperation as _0x3021a7,hasPrintFacadePermission as _0x366f5e,SheetScreenShotOperation as _0x5970c3,SheetPrintClientService as _0x353eda,PrintArea as _0x17cf6f,PrintFreeze as _0x232d29,PrintHeaderFooter as _0x49377b,PrintHeaderFooterSymbol as _0x21e7ec}from'@univerjs-pro/sheets-print';import{ICommandService as _0x189cad,PaperType as _0x5116de,CanceledError as _0x3d0452}from'@univerjs/core';import{FWorkbook as _0x1d75b2,FRange as _0x33beb6}from'@univerjs/sheets/facade';import{FEventName as _0x79fa31,FEnum as _0x1c7387,FUniver as _0x17a55c}from'@univerjs/core/facade';import{PrintAlign as _0x55679e,PrintPaperMargin as _0x222d0c,PrintScale as _0x1fb4a2,PrintDirection as _0x50ba78}from'@univerjs-pro/print';class A extends _0x1d75b2{[_0x3164eb(0x146)](_0x119b85){const _0x2dd711=_0x3164eb;return this[_0x2dd711(0x13d)][_0x2dd711(0x139)](_0x1c154)[_0x2dd711(0x14e)](_0x119b85),this;}[_0x3164eb(0x131)](_0x4a2642){const _0x2ffe92=_0x3164eb;return this[_0x2ffe92(0x13d)][_0x2ffe92(0x139)](_0x1c154)[_0x2ffe92(0x14d)](_0x4a2642),this;}[_0x3164eb(0x142)](){const _0x41a624=_0x3164eb;return this['_injector'][_0x41a624(0x139)](_0x189cad)[_0x41a624(0x159)](_0x3830f0['id']);}[_0x3164eb(0x14a)](){const _0x5f264e=_0x3164eb;return this[_0x5f264e(0x13d)][_0x5f264e(0x139)](_0x189cad)[_0x5f264e(0x159)](_0x52e917['id']);}[_0x3164eb(0x15b)](){const _0x49d011=_0x3164eb;return this[_0x49d011(0x13d)][_0x49d011(0x139)](_0x189cad)[_0x49d011(0x159)](_0x3021a7['id']);}async[_0x3164eb(0x147)](){const _0x5d8689=_0x3164eb;return _0x366f5e(this[_0x5d8689(0x13d)])?this['_injector'][_0x5d8689(0x139)](_0x189cad)[_0x5d8689(0x130)](_0x5970c3['id']):!0x1;}}_0x1d75b2[_0x3164eb(0x148)](A);class B extends _0x33beb6{['getScreenshot'](_0x35f57d){const _0x421d10=_0x3164eb;return _0x366f5e(this['_injector'])?this[_0x421d10(0x13d)]['get'](_0x353eda)['getRangeImage'](this[_0x421d10(0x13e)]['getUnitId'](),this['_worksheet'][_0x421d10(0x13c)](),this[_0x421d10(0x13f)],_0x35f57d==null?void 0x0:_0x35f57d[_0x421d10(0x154)]):!0x1;}}_0x33beb6[_0x3164eb(0x148)](B);class H{get[_0x3164eb(0x12c)](){const _0x46913b=_0x3164eb;return _0x46913b(0x12c);}get[_0x3164eb(0x153)](){const _0x3b55cc=_0x3164eb;return _0x3b55cc(0x153);}get[_0x3164eb(0x140)](){const _0x55e67f=_0x3164eb;return _0x55e67f(0x140);}get['SheetPrintOpen'](){const _0x31b48c=_0x3164eb;return _0x31b48c(0x12d);}get[_0x3164eb(0x12b)](){const _0x576b84=_0x3164eb;return _0x576b84(0x12b);}get[_0x3164eb(0x149)](){return'SheetPrintCanceled';}}_0x79fa31[_0x3164eb(0x148)](H);class U{get[_0x3164eb(0x156)](){return _0x17cf6f;}get[_0x3164eb(0x13a)](){return _0x55679e;}get[_0x3164eb(0x144)](){return _0x5116de;}get['PrintPaperMargin'](){return _0x222d0c;}get[_0x3164eb(0x12e)](){return _0x1fb4a2;}get['PrintDirection'](){return _0x50ba78;}get['PrintFreeze'](){return _0x232d29;}get[_0x3164eb(0x138)](){return _0x49377b;}get[_0x3164eb(0x143)](){return _0x21e7ec;}}function _0x4911(_0x284c6e,_0x221948){_0x284c6e=_0x284c6e-0x12a;const _0x141511=_0x1415();let _0x491117=_0x141511[_0x284c6e];return _0x491117;}_0x1c7387[_0x3164eb(0x148)](U);class M extends _0x17a55c{[_0x3164eb(0x15a)](_0x2f35d3){const _0x56df0f=_0x3164eb,_0x35006c=_0x2f35d3[_0x56df0f(0x139)](_0x189cad);this[_0x56df0f(0x135)](this[_0x56df0f(0x155)][_0x56df0f(0x12c)],()=>_0x35006c[_0x56df0f(0x158)](_0x2ff418=>{const _0x257a38=_0x56df0f;if(_0x2ff418['id']===_0x52e917['id']){const _0x3ed4c0=this[_0x257a38(0x145)]();if(!_0x3ed4c0)return;const _0x31cb0f={'workbook':_0x3ed4c0,'worksheet':_0x3ed4c0[_0x257a38(0x133)]()};if(_0x31cb0f==null)return;if(this[_0x257a38(0x132)](this[_0x257a38(0x155)]['BeforeSheetPrintOpen'],_0x31cb0f),_0x31cb0f[_0x257a38(0x157)])throw new _0x3d0452();}})),this[_0x56df0f(0x135)](this[_0x56df0f(0x155)][_0x56df0f(0x153)],()=>_0x35006c['beforeCommandExecuted'](_0x193a24=>{const _0x5d0827=_0x56df0f;if(_0x193a24['id']===_0x3830f0['id']){const _0x3b9046=_0x2f35d3[_0x5d0827(0x139)](_0x1c154);if(!this[_0x5d0827(0x145)]())return;const _0x1a4fda={'layoutConfig':_0x3b9046[_0x5d0827(0x152)],'renderConfig':_0x3b9046[_0x5d0827(0x14c)]};if(_0x1a4fda==null)return;if(this[_0x5d0827(0x132)](this[_0x5d0827(0x155)][_0x5d0827(0x153)],_0x1a4fda),_0x1a4fda[_0x5d0827(0x157)])throw new _0x3d0452();}})),this['registerEventHandler'](this[_0x56df0f(0x155)]['BeforeSheetPrintCanceled'],()=>_0x35006c[_0x56df0f(0x158)](_0x4b52a0=>{const _0xb6a716=_0x56df0f;if(_0x4b52a0['id']===_0x3021a7['id']){const _0x594c20=_0x2f35d3[_0xb6a716(0x139)](_0x1c154);if(!this[_0xb6a716(0x145)]())return;const _0x475d12={'layoutConfig':_0x594c20['layoutConfig'],'renderConfig':_0x594c20[_0xb6a716(0x14c)]};if(_0x475d12==null)return;if(this[_0xb6a716(0x132)](this[_0xb6a716(0x155)][_0xb6a716(0x140)],_0x475d12),_0x475d12[_0xb6a716(0x157)])throw new _0x3d0452();}})),this[_0x56df0f(0x135)](this[_0x56df0f(0x155)][_0x56df0f(0x12d)],()=>_0x35006c[_0x56df0f(0x141)](_0x311c62=>{const _0x3fe93e=_0x56df0f;if(_0x311c62['id']===_0x52e917['id']){const _0x4447ab=this[_0x3fe93e(0x145)]();if(!_0x4447ab)return;const _0x186b7e={'workbook':_0x4447ab,'worksheet':_0x4447ab[_0x3fe93e(0x133)]()};if(_0x186b7e==null)return;this[_0x3fe93e(0x132)](this[_0x3fe93e(0x155)][_0x3fe93e(0x12d)],_0x186b7e);}})),this[_0x56df0f(0x135)](this['Event'][_0x56df0f(0x12b)],()=>_0x35006c['onCommandExecuted'](_0x3380f7=>{const _0x490006=_0x56df0f;if(_0x3380f7['id']===_0x3830f0['id']){const _0x46c8f4=_0x2f35d3[_0x490006(0x139)](_0x1c154);if(!this[_0x490006(0x145)]())return;const _0xd0deaa={'layoutConfig':_0x46c8f4[_0x490006(0x152)],'renderConfig':_0x46c8f4[_0x490006(0x14c)]};if(_0xd0deaa==null)return;this[_0x490006(0x132)](this[_0x490006(0x155)][_0x490006(0x12b)],_0xd0deaa);}})),this['registerEventHandler'](this['Event'][_0x56df0f(0x149)],()=>_0x35006c[_0x56df0f(0x141)](_0x35ff2a=>{const _0x2d4ac3=_0x56df0f;if(_0x35ff2a['id']===_0x3021a7['id']){const _0x7691cc=_0x2f35d3[_0x2d4ac3(0x139)](_0x1c154);if(!this[_0x2d4ac3(0x145)]())return;const _0x2aac5b={'layoutConfig':_0x7691cc[_0x2d4ac3(0x152)],'renderConfig':_0x7691cc[_0x2d4ac3(0x14c)]};if(_0x2aac5b==null)return;this[_0x2d4ac3(0x132)](this[_0x2d4ac3(0x155)][_0x2d4ac3(0x149)],_0x2aac5b);}}));}}_0x17a55c[_0x3164eb(0x148)](M);