@univerjs-pro/sheets-print 0.15.2-insiders.20260122-b1556b1 → 0.15.2-insiders.20260124-12fc7f0

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 +14 -14
@@ -1 +1 @@
1
- 'use strict';function _0x537c(){const _0x1c22ea=['14907105PAWBNL','複製為圖片','1256488HxJTAq','hh:mm','Legal\x20(8.5\x22\x20x\x2014\x22)','hh:mm:ss','已選取的儲存格','Tabloid\x20(11\x22\x20x\x2017\x22)','自訂义頁邊距','列與欄限制','日期B','Letter\x20(8.5\x22\x20x\x2011\x22)','點擊以新增文字','Statement\x20(5.5\x22\x20x\x208.5\x22)','每頁最大欄數','3023265oTZUPl','https://univer.ai/pro','日期E','關閉並隱藏分頁線','A4\x20(8.27\x22\x20x\x2011.69\x22)','時間D','2063700TqUXym','日期格式','日期D','工作表頁碼','調整至頁面大小','圖片複製到剪貼簿失敗!','下一步','重複凍結的列','2256384RTbtfM','格式設定','所有工作表','自訂頁首/頁尾','總頁數','張工作表','工作表名稱','A5\x20(5.83\x22\x20x\x208.27\x22)','日期F','顯示分頁符號','活頁簿標題','調整至頁面寬度','目前日期','時間B','B4\x20(9.84\x22\x20x\x2013.90\x22)','活頁簿','列印版面配置','調整至頁面高度','工作表總頁數','列與欄標題','所有選取的儲存格','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','時間A','1497JmbLxg','14pkjCsJ','顯示浮水印','A3\x20(11.69\x22\x20x\x2016.54\x22)','YYYY-MM-DD','830CzNLdD','819186vXJJFb','水平對齊','Folio\x20(8.5\x22\x20x\x2013\x22)','顯示格線','每頁最大列數','日期A','日期C','圖片已成功複製到剪貼簿!'];_0x537c=function(){return _0x1c22ea;};return _0x537c();}const _0x5ceab7=_0x4439;function _0x4439(_0x41a1f2,_0x5b3230){_0x41a1f2=_0x41a1f2-0x131;const _0x537ce2=_0x537c();let _0x4439bf=_0x537ce2[_0x41a1f2];return _0x4439bf;}(function(_0x55dcfb,_0xdbe72c){const _0x5ca638=_0x4439,_0x33970c=_0x55dcfb();while(!![]){try{const _0x8fde87=parseInt(_0x5ca638(0x167))/0x1*(parseInt(_0x5ca638(0x16c))/0x2)+parseInt(_0x5ca638(0x16d))/0x3+parseInt(_0x5ca638(0x150))/0x4+parseInt(_0x5ca638(0x142))/0x5+-parseInt(_0x5ca638(0x148))/0x6+parseInt(_0x5ca638(0x168))/0x7*(parseInt(_0x5ca638(0x135))/0x8)+-parseInt(_0x5ca638(0x133))/0x9;if(_0x8fde87===_0xdbe72c)break;else _0x33970c['push'](_0x33970c['shift']());}catch(_0x2f0bad){_0x33970c['push'](_0x33970c['shift']());}}}(_0x537c,0x5c03d));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0x5ceab7(0x14e),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x5ceab7(0x160),'showGrid':_0x5ceab7(0x159),'showGridLabel':'顯示分頁線','closeAndHide':_0x5ceab7(0x145)},'screenshot':{'title':_0x5ceab7(0x134),'success':_0x5ceab7(0x132),'fail':_0x5ceab7(0x14d)},'size':{'title':'紙張大小','letter':_0x5ceab7(0x13e),'tabloid':_0x5ceab7(0x13a),'legal':_0x5ceab7(0x137),'statement':_0x5ceab7(0x140),'executive':'Executive\x20(7.25\x22\x20x\x2010.5\x22)','folio':_0x5ceab7(0x16f),'a3':_0x5ceab7(0x16a),'a4':_0x5ceab7(0x146),'a5':_0x5ceab7(0x157),'b4':_0x5ceab7(0x15e),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x5ceab7(0x13b),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':'目前工作表','workbook':_0x5ceab7(0x15f),'currentSelection':_0x5ceab7(0x139),'maxRowsEachPage':_0x5ceab7(0x171),'maxColumnsEachPage':_0x5ceab7(0x141),'limit':_0x5ceab7(0x13c),'allSelection':_0x5ceab7(0x164)},'selection':{'title':'選取範圍','allWorkbook':_0x5ceab7(0x152),'workbookUnit':_0x5ceab7(0x155)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x5ceab7(0x15b),'fitHeight':_0x5ceab7(0x161),'fitPage':_0x5ceab7(0x14c),'custom':'自訂比例'},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x5ceab7(0x151),'skeleton':_0x5ceab7(0x170),'waterMark':_0x5ceab7(0x169)},'align':{'title':'對齊','horizontal':{'title':_0x5ceab7(0x16e),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x5ceab7(0x15a),'sheet':_0x5ceab7(0x156),'date':_0x5ceab7(0x15c),'time':'目前時間','customHeadFooter':_0x5ceab7(0x153),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x5ceab7(0x149),'dateA':_0x5ceab7(0x16b),'dateB':'MM-DD','dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':'HH:mm','timeC':_0x5ceab7(0x138),'timeD':_0x5ceab7(0x136),'display':{'page':'頁碼','title':_0x5ceab7(0x15a),'sheet':'工作表名稱','dateA':_0x5ceab7(0x172),'dateB':_0x5ceab7(0x13d),'dateC':_0x5ceab7(0x131),'dateD':_0x5ceab7(0x14a),'dateE':_0x5ceab7(0x144),'dateF':_0x5ceab7(0x158),'timeA':_0x5ceab7(0x166),'timeB':_0x5ceab7(0x15d),'timeC':'時間C','timeD':_0x5ceab7(0x147),'sheetPage':_0x5ceab7(0x14b),'pageTotal':_0x5ceab7(0x154),'sheetPageTotal':_0x5ceab7(0x162)},'placeholder':_0x5ceab7(0x13f),'submit':'確定'},'freeze':{'title':_0x5ceab7(0x163),'desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':_0x5ceab7(0x14f),'column':'重複凍結的欄'},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x5ceab7(0x165),'link':_0x5ceab7(0x143)}}};module['exports']=e;
1
+ 'use strict';function _0x4de4(){const _0xb030f6=['所有選取的儲存格','複製為圖片','選取範圍','3889624RgkhId','顯示分頁符號','MM-DD','垂直對齊','Letter\x20(8.5\x22\x20x\x2011\x22)','工作表名稱','日期C','已選取的儲存格','3712516QOIoAO','Legal\x20(8.5\x22\x20x\x2014\x22)','日期A','點擊以新增文字','YYYY-MM-DD','調整至頁面寬度','8514121yvoYZr','B5\x20(6.93\x22\x20x\x209.84\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','hh:mm','18STNukg','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','總頁數','所有工作表','目前時間','總計:','Statement\x20(5.5\x22\x20x\x208.5\x22)','紙張大小','Tabloid\x20(11\x22\x20x\x2017\x22)','4391007LFZRDO','540476BmDhMZ','日期格式','列與欄標題','目前工作表','列印版面配置','頁首和頁尾','2765706YCEfpr','日期E','調整至頁面高度','8868760FBMzjJ','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','每頁最大列數','編輯自訂頁首/頁尾','時間A','日期B','時間B','活頁簿','列與欄限制','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','目前日期','2kZRlAe','自訂义頁邊距','重複凍結的列','A5\x20(5.83\x22\x20x\x208.27\x22)','圖片複製到剪貼簿失敗!','列印中,請勿關閉頁面','調整至頁面大小','水平對齊','5tHbxvp','關閉並隱藏分頁線','活頁簿標題','Executive\x20(7.25\x22\x20x\x2010.5\x22)','HH:mm:ss','hh:mm:ss','顯示分頁線','時間C','exports','重複凍結的欄','MM/DD','顯示浮水印','格式設定','日期D','https://univer.ai/pro','A3\x20(11.69\x22\x20x\x2016.54\x22)'];_0x4de4=function(){return _0xb030f6;};return _0x4de4();}function _0x3c33(_0x3418b5,_0x5b3f15){_0x3418b5=_0x3418b5-0x109;const _0x4de445=_0x4de4();let _0x3c3380=_0x4de445[_0x3418b5];return _0x3c3380;}const _0x4a6150=_0x3c33;(function(_0x164799,_0x29f40a){const _0x421df2=_0x3c33,_0x5de678=_0x164799();while(!![]){try{const _0x54aa08=parseInt(_0x421df2(0x12c))/0x1+parseInt(_0x421df2(0x140))/0x2*(-parseInt(_0x421df2(0x12b))/0x3)+parseInt(_0x421df2(0x118))/0x4*(-parseInt(_0x421df2(0x148))/0x5)+-parseInt(_0x421df2(0x132))/0x6+parseInt(_0x421df2(0x11e))/0x7+-parseInt(_0x421df2(0x110))/0x8*(-parseInt(_0x421df2(0x122))/0x9)+parseInt(_0x421df2(0x135))/0xa;if(_0x54aa08===_0x29f40a)break;else _0x5de678['push'](_0x5de678['shift']());}catch(_0x19869){_0x5de678['push'](_0x5de678['shift']());}}}(_0x4de4,0xba5b0));const e={'print':{'header':{'total':_0x4a6150(0x127),'pages':'頁','cancel':'取消','next':'下一步','printing':_0x4a6150(0x145)},'menu':'列印','title':'列印','grid':{'title':_0x4a6150(0x130),'showGrid':_0x4a6150(0x111),'showGridLabel':_0x4a6150(0x14e),'closeAndHide':_0x4a6150(0x149)},'screenshot':{'title':_0x4a6150(0x10e),'success':'圖片已成功複製到剪貼簿!','fail':_0x4a6150(0x144)},'size':{'title':_0x4a6150(0x129),'letter':_0x4a6150(0x114),'tabloid':_0x4a6150(0x12a),'legal':_0x4a6150(0x119),'statement':_0x4a6150(0x128),'executive':_0x4a6150(0x14b),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':_0x4a6150(0x10c),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x4a6150(0x143),'b4':_0x4a6150(0x120),'b5':_0x4a6150(0x11f)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4a6150(0x141),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4a6150(0x12f),'workbook':_0x4a6150(0x13c),'currentSelection':_0x4a6150(0x117),'maxRowsEachPage':_0x4a6150(0x137),'maxColumnsEachPage':'每頁最大欄數','limit':_0x4a6150(0x13d),'allSelection':_0x4a6150(0x10d)},'selection':{'title':_0x4a6150(0x10f),'allWorkbook':_0x4a6150(0x125),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x4a6150(0x11d),'fitHeight':_0x4a6150(0x134),'fitPage':_0x4a6150(0x146),'custom':'自訂比例'},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4a6150(0x109),'skeleton':'顯示格線','waterMark':_0x4a6150(0x153)},'align':{'title':'對齊','horizontal':{'title':_0x4a6150(0x147),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x4a6150(0x113),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4a6150(0x131),'page':'頁碼','workbook':_0x4a6150(0x14a),'sheet':'工作表名稱','date':_0x4a6150(0x13f),'time':_0x4a6150(0x126),'customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x4a6150(0x138),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x4a6150(0x12d),'dateA':_0x4a6150(0x11c),'dateB':_0x4a6150(0x112),'dateC':'L','dateD':_0x4a6150(0x152),'timeA':_0x4a6150(0x14c),'timeB':'HH:mm','timeC':_0x4a6150(0x14d),'timeD':_0x4a6150(0x121),'display':{'page':'頁碼','title':'活頁簿標題','sheet':_0x4a6150(0x115),'dateA':_0x4a6150(0x11a),'dateB':_0x4a6150(0x13a),'dateC':_0x4a6150(0x116),'dateD':_0x4a6150(0x10a),'dateE':_0x4a6150(0x133),'dateF':'日期F','timeA':_0x4a6150(0x139),'timeB':_0x4a6150(0x13b),'timeC':_0x4a6150(0x14f),'timeD':'時間D','sheetPage':'工作表頁碼','pageTotal':_0x4a6150(0x124),'sheetPageTotal':'工作表總頁數'},'placeholder':_0x4a6150(0x11b),'submit':'確定'},'freeze':{'title':_0x4a6150(0x12e),'desc':_0x4a6150(0x13e),'row':_0x4a6150(0x142),'column':_0x4a6150(0x151)},'limit':{'page':_0x4a6150(0x136),'waterMark':_0x4a6150(0x123),'link':_0x4a6150(0x10b)}}};module[_0x4a6150(0x150)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x225c(_0x5e5d80,_0x3b76bf){_0x5e5d80=_0x5e5d80-0x139;const _0x19ae43=_0x19ae();let _0x225c0f=_0x19ae43[_0x5e5d80];return _0x225c0f;}const _0x1d3ec0=_0x225c;(function(_0x3e0381,_0x176c40){const _0xd64ac=_0x225c,_0x26ed9e=_0x3e0381();while(!![]){try{const _0x5c683f=-parseInt(_0xd64ac(0x155))/0x1*(parseInt(_0xd64ac(0x159))/0x2)+parseInt(_0xd64ac(0x152))/0x3+-parseInt(_0xd64ac(0x145))/0x4+-parseInt(_0xd64ac(0x144))/0x5+parseInt(_0xd64ac(0x13d))/0x6+-parseInt(_0xd64ac(0x142))/0x7+parseInt(_0xd64ac(0x156))/0x8;if(_0x5c683f===_0x176c40)break;else _0x26ed9e['push'](_0x26ed9e['shift']());}catch(_0xc3f630){_0x26ed9e['push'](_0x26ed9e['shift']());}}}(_0x19ae,0xa7d5a));import{ISheetPrintManagerService as _0x2751b3,ConfirmSheetPrintOperation as _0x16f841,SheetPrintOpenOperation as _0x505a1f,CancelSheetPrintOperation as _0x2c4708,hasPrintFacadePermission as _0x1f4ca0,SheetScreenShotOperation as _0x433200,SheetPrintClientService as _0x22ed29,PrintArea as _0x152dc0,PrintFreeze as _0x3b34ab,PrintHeaderFooter as _0x1639f3,PrintHeaderFooterSymbol as _0x5e445b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x324133,PaperType as _0x2e1401,CanceledError as _0x3496f9}from'@univerjs/core';import{FWorkbook as _0xfb131e,FRange as _0x1d935b}from'@univerjs/sheets/facade';import{FEventName as _0x41cd22,FEnum as _0x2d80a2,FUniver as _0x26cdff}from'@univerjs/core/facade';import{PrintAlign as _0x46a0b0,PrintPaperMargin as _0x2ab2f3,PrintScale as _0x2c8622,PrintDirection as _0x162f0e}from'@univerjs-pro/print';class A extends _0xfb131e{['updatePrintConfig'](_0x2642d9){const _0x56fcb0=_0x225c;return this[_0x56fcb0(0x13e)][_0x56fcb0(0x163)](_0x2751b3)[_0x56fcb0(0x13f)](_0x2642d9),this;}[_0x1d3ec0(0x14b)](_0x286d5){const _0x59f728=_0x1d3ec0;return this[_0x59f728(0x13e)][_0x59f728(0x163)](_0x2751b3)['updateRenderConfig'](_0x286d5),this;}[_0x1d3ec0(0x161)](){const _0x32a1e8=_0x1d3ec0;return this[_0x32a1e8(0x13e)][_0x32a1e8(0x163)](_0x324133)[_0x32a1e8(0x149)](_0x16f841['id']);}[_0x1d3ec0(0x158)](){const _0x60745a=_0x1d3ec0;return this['_injector'][_0x60745a(0x163)](_0x324133)[_0x60745a(0x149)](_0x505a1f['id']);}['closePrintDialog'](){const _0x60cdfe=_0x1d3ec0;return this[_0x60cdfe(0x13e)][_0x60cdfe(0x163)](_0x324133)[_0x60cdfe(0x149)](_0x2c4708['id']);}async[_0x1d3ec0(0x14e)](){const _0x4765d6=_0x1d3ec0;return _0x1f4ca0(this[_0x4765d6(0x13e)])?this[_0x4765d6(0x13e)]['get'](_0x324133)[_0x4765d6(0x14d)](_0x433200['id']):!0x1;}}_0xfb131e['extend'](A);class B extends _0x1d935b{[_0x1d3ec0(0x150)](_0x1e0723){const _0x4613de=_0x1d3ec0;return _0x1f4ca0(this['_injector'])?this[_0x4613de(0x13e)][_0x4613de(0x163)](_0x22ed29)[_0x4613de(0x13b)](this['_workbook'][_0x4613de(0x13c)](),this[_0x4613de(0x143)][_0x4613de(0x166)](),this[_0x4613de(0x140)],_0x1e0723==null?void 0x0:_0x1e0723['includeHeaders']):!0x1;}}function _0x19ae(){const _0x544d61=['_worksheet','390265kMPQyi','2570996KLCHaR','renderConfig','SheetPrintCanceled','cancel','syncExecuteCommand','registerEventHandler','updatePrintRenderConfig','PrintHeaderFooterSymbol','executeCommand','saveScreenshotToClipboard','BeforeSheetPrintConfirm','getScreenshot','getActiveUniverSheet','3861057sZWIEh','PrintPaperSize','BeforeSheetPrintOpen','2gnsEvl','3165088nsqgHL','extend','openPrintDialog','116222hfncDq','fireEvent','SheetPrintOpen','PrintArea','PrintScale','layoutConfig','onCommandExecuted','BeforeSheetPrintCanceled','print','Event','get','_initialize','PrintFreeze','getSheetId','PrintDirection','SheetPrintConfirmed','beforeCommandExecuted','getActiveSheet','getRangeImage','getUnitId','2673846yuihMd','_injector','updateLayoutConfig','_range','PrintAlign','4226754pnJdrG'];_0x19ae=function(){return _0x544d61;};return _0x19ae();}_0x1d935b['extend'](B);class H{get['BeforeSheetPrintOpen'](){const _0x3cb507=_0x1d3ec0;return _0x3cb507(0x154);}get[_0x1d3ec0(0x14f)](){const _0x45d538=_0x1d3ec0;return _0x45d538(0x14f);}get['BeforeSheetPrintCanceled'](){const _0x4d7ac9=_0x1d3ec0;return _0x4d7ac9(0x160);}get['SheetPrintOpen'](){const _0x115aef=_0x1d3ec0;return _0x115aef(0x15b);}get[_0x1d3ec0(0x168)](){const _0x328ce4=_0x1d3ec0;return _0x328ce4(0x168);}get[_0x1d3ec0(0x147)](){const _0x179ed6=_0x1d3ec0;return _0x179ed6(0x147);}}_0x41cd22['extend'](H);class U{get[_0x1d3ec0(0x15c)](){return _0x152dc0;}get[_0x1d3ec0(0x141)](){return _0x46a0b0;}get[_0x1d3ec0(0x153)](){return _0x2e1401;}get['PrintPaperMargin'](){return _0x2ab2f3;}get[_0x1d3ec0(0x15d)](){return _0x2c8622;}get[_0x1d3ec0(0x167)](){return _0x162f0e;}get[_0x1d3ec0(0x165)](){return _0x3b34ab;}get['PrintHeaderFooter'](){return _0x1639f3;}get[_0x1d3ec0(0x14c)](){return _0x5e445b;}}_0x2d80a2['extend'](U);class M extends _0x26cdff{[_0x1d3ec0(0x164)](_0x36debe){const _0x5b5ad7=_0x1d3ec0,_0x4a985f=_0x36debe[_0x5b5ad7(0x163)](_0x324133);this[_0x5b5ad7(0x14a)](this['Event']['BeforeSheetPrintOpen'],()=>_0x4a985f[_0x5b5ad7(0x139)](_0x294be3=>{const _0x24b47c=_0x5b5ad7;if(_0x294be3['id']===_0x505a1f['id']){const _0x4a6123=this[_0x24b47c(0x151)]();if(!_0x4a6123)return;const _0x4654fc={'workbook':_0x4a6123,'worksheet':_0x4a6123[_0x24b47c(0x13a)]()};if(_0x4654fc==null)return;if(this['fireEvent'](this[_0x24b47c(0x162)]['BeforeSheetPrintOpen'],_0x4654fc),_0x4654fc[_0x24b47c(0x148)])throw new _0x3496f9();}})),this[_0x5b5ad7(0x14a)](this[_0x5b5ad7(0x162)][_0x5b5ad7(0x14f)],()=>_0x4a985f[_0x5b5ad7(0x139)](_0x283bb6=>{const _0x4373f0=_0x5b5ad7;if(_0x283bb6['id']===_0x16f841['id']){const _0x29e6a0=_0x36debe[_0x4373f0(0x163)](_0x2751b3);if(!this['getActiveUniverSheet']())return;const _0x3b156e={'layoutConfig':_0x29e6a0[_0x4373f0(0x15e)],'renderConfig':_0x29e6a0[_0x4373f0(0x146)]};if(_0x3b156e==null)return;if(this[_0x4373f0(0x15a)](this[_0x4373f0(0x162)][_0x4373f0(0x14f)],_0x3b156e),_0x3b156e[_0x4373f0(0x148)])throw new _0x3496f9();}})),this[_0x5b5ad7(0x14a)](this[_0x5b5ad7(0x162)][_0x5b5ad7(0x160)],()=>_0x4a985f[_0x5b5ad7(0x139)](_0x2e01ec=>{const _0x3a8c71=_0x5b5ad7;if(_0x2e01ec['id']===_0x2c4708['id']){const _0x208ed2=_0x36debe[_0x3a8c71(0x163)](_0x2751b3);if(!this[_0x3a8c71(0x151)]())return;const _0x299c34={'layoutConfig':_0x208ed2[_0x3a8c71(0x15e)],'renderConfig':_0x208ed2[_0x3a8c71(0x146)]};if(_0x299c34==null)return;if(this[_0x3a8c71(0x15a)](this[_0x3a8c71(0x162)]['BeforeSheetPrintCanceled'],_0x299c34),_0x299c34[_0x3a8c71(0x148)])throw new _0x3496f9();}})),this[_0x5b5ad7(0x14a)](this['Event'][_0x5b5ad7(0x15b)],()=>_0x4a985f[_0x5b5ad7(0x15f)](_0x3ae133=>{const _0x99710d=_0x5b5ad7;if(_0x3ae133['id']===_0x505a1f['id']){const _0x16321f=this['getActiveUniverSheet']();if(!_0x16321f)return;const _0x24693f={'workbook':_0x16321f,'worksheet':_0x16321f[_0x99710d(0x13a)]()};if(_0x24693f==null)return;this['fireEvent'](this[_0x99710d(0x162)]['SheetPrintOpen'],_0x24693f);}})),this['registerEventHandler'](this[_0x5b5ad7(0x162)][_0x5b5ad7(0x168)],()=>_0x4a985f[_0x5b5ad7(0x15f)](_0x485cf1=>{const _0x53ca21=_0x5b5ad7;if(_0x485cf1['id']===_0x16f841['id']){const _0x11516d=_0x36debe[_0x53ca21(0x163)](_0x2751b3);if(!this[_0x53ca21(0x151)]())return;const _0x59b3f6={'layoutConfig':_0x11516d['layoutConfig'],'renderConfig':_0x11516d['renderConfig']};if(_0x59b3f6==null)return;this[_0x53ca21(0x15a)](this[_0x53ca21(0x162)][_0x53ca21(0x168)],_0x59b3f6);}})),this[_0x5b5ad7(0x14a)](this['Event'][_0x5b5ad7(0x147)],()=>_0x4a985f[_0x5b5ad7(0x15f)](_0x4a7ff3=>{const _0x2113c9=_0x5b5ad7;if(_0x4a7ff3['id']===_0x2c4708['id']){const _0x5ce6d5=_0x36debe['get'](_0x2751b3);if(!this['getActiveUniverSheet']())return;const _0x5bb677={'layoutConfig':_0x5ce6d5['layoutConfig'],'renderConfig':_0x5ce6d5[_0x2113c9(0x146)]};if(_0x5bb677==null)return;this['fireEvent'](this[_0x2113c9(0x162)][_0x2113c9(0x147)],_0x5bb677);}}));}}_0x26cdff[_0x1d3ec0(0x157)](M);
1
+ const _0x3d3755=_0xf234;(function(_0x36f6dd,_0x211e43){const _0x33b1e4=_0xf234,_0x4a294f=_0x36f6dd();while(!![]){try{const _0x492225=-parseInt(_0x33b1e4(0x1f1))/0x1+parseInt(_0x33b1e4(0x1fb))/0x2+parseInt(_0x33b1e4(0x1ec))/0x3*(parseInt(_0x33b1e4(0x20e))/0x4)+-parseInt(_0x33b1e4(0x1e0))/0x5*(parseInt(_0x33b1e4(0x206))/0x6)+-parseInt(_0x33b1e4(0x209))/0x7+parseInt(_0x33b1e4(0x1f8))/0x8+parseInt(_0x33b1e4(0x1f4))/0x9*(parseInt(_0x33b1e4(0x1e5))/0xa);if(_0x492225===_0x211e43)break;else _0x4a294f['push'](_0x4a294f['shift']());}catch(_0x3d2aab){_0x4a294f['push'](_0x4a294f['shift']());}}}(_0x50c6,0x2bfff));import{ISheetPrintManagerService as _0x36cf68,ConfirmSheetPrintOperation as _0x3d998f,SheetPrintOpenOperation as _0x3ee238,CancelSheetPrintOperation as _0x33e31d,hasPrintFacadePermission as _0xf1281,SheetScreenShotOperation as _0xbfadb8,SheetPrintClientService as _0x54e35a,PrintArea as _0x2ce949,PrintFreeze as _0x4048d0,PrintHeaderFooter as _0x3dd7f1,PrintHeaderFooterSymbol as _0x39e103}from'@univerjs-pro/sheets-print';import{ICommandService as _0x3ce4a4,PaperType as _0x36ea78,CanceledError as _0x242c61}from'@univerjs/core';function _0x50c6(){const _0x58feb0=['1259028QQNtFc','updatePrintConfig','renderConfig','beforeCommandExecuted','1210yoSSvA','SheetPrintOpen','updateLayoutConfig','getSheetId','closePrintDialog','2320lcKUqT','PrintPaperMargin','get','PrintDirection','PrintHeaderFooterSymbol','getActiveUniverSheet','_initialize','3OCbuTu','PrintScale','extend','SheetPrintConfirmed','PrintArea','238326hMjaIs','updatePrintRenderConfig','PrintAlign','12024XNACrz','syncExecuteCommand','fireEvent','_range','1563720gWbKVq','getUnitId','registerEventHandler','84210PjZtyx','BeforeSheetPrintConfirm','layoutConfig','BeforeSheetPrintOpen','executeCommand','Event','PrintFreeze','onCommandExecuted','BeforeSheetPrintCanceled','PrintPaperSize','print','3588kiQpey','SheetPrintCanceled','_injector','2093098czJxwk','cancel','updateRenderConfig','saveScreenshotToClipboard','getRangeImage'];_0x50c6=function(){return _0x58feb0;};return _0x50c6();}import{FWorkbook as _0x3eceef,FRange as _0x2301b5}from'@univerjs/sheets/facade';import{FEventName as _0x49073c,FEnum as _0x395355,FUniver as _0x5ee8dc}from'@univerjs/core/facade';import{PrintAlign as _0x481dba,PrintPaperMargin as _0x1db3a8,PrintScale as _0x40ff73,PrintDirection as _0xb7550e}from'@univerjs-pro/print';class A extends _0x3eceef{[_0x3d3755(0x20f)](_0x49d55a){const _0x82162e=_0x3d3755;return this[_0x82162e(0x208)]['get'](_0x36cf68)[_0x82162e(0x1e2)](_0x49d55a),this;}[_0x3d3755(0x1f2)](_0x281b60){const _0x4da13c=_0x3d3755;return this[_0x4da13c(0x208)]['get'](_0x36cf68)[_0x4da13c(0x20b)](_0x281b60),this;}[_0x3d3755(0x205)](){const _0x5be26a=_0x3d3755;return this['_injector'][_0x5be26a(0x1e7)](_0x3ce4a4)[_0x5be26a(0x1f5)](_0x3d998f['id']);}['openPrintDialog'](){const _0x2f3ba8=_0x3d3755;return this[_0x2f3ba8(0x208)][_0x2f3ba8(0x1e7)](_0x3ce4a4)[_0x2f3ba8(0x1f5)](_0x3ee238['id']);}[_0x3d3755(0x1e4)](){const _0x2b7dc5=_0x3d3755;return this[_0x2b7dc5(0x208)][_0x2b7dc5(0x1e7)](_0x3ce4a4)['syncExecuteCommand'](_0x33e31d['id']);}async[_0x3d3755(0x20c)](){const _0x4350b1=_0x3d3755;return _0xf1281(this[_0x4350b1(0x208)])?this[_0x4350b1(0x208)]['get'](_0x3ce4a4)[_0x4350b1(0x1ff)](_0xbfadb8['id']):!0x1;}}_0x3eceef[_0x3d3755(0x1ee)](A);class B extends _0x2301b5{['getScreenshot'](_0x467d1a){const _0xb8d0c0=_0x3d3755;return _0xf1281(this[_0xb8d0c0(0x208)])?this[_0xb8d0c0(0x208)][_0xb8d0c0(0x1e7)](_0x54e35a)[_0xb8d0c0(0x20d)](this['_workbook'][_0xb8d0c0(0x1f9)](),this['_worksheet'][_0xb8d0c0(0x1e3)](),this[_0xb8d0c0(0x1f7)],_0x467d1a==null?void 0x0:_0x467d1a['includeHeaders']):!0x1;}}_0x2301b5[_0x3d3755(0x1ee)](B);class H{get[_0x3d3755(0x1fe)](){const _0x29e276=_0x3d3755;return _0x29e276(0x1fe);}get[_0x3d3755(0x1fc)](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x3d3755(0x1e1)](){const _0x5614c0=_0x3d3755;return _0x5614c0(0x1e1);}get[_0x3d3755(0x1ef)](){const _0x3c4a20=_0x3d3755;return _0x3c4a20(0x1ef);}get[_0x3d3755(0x207)](){const _0x520960=_0x3d3755;return _0x520960(0x207);}}_0x49073c[_0x3d3755(0x1ee)](H);function _0xf234(_0x1bcccc,_0x47c73e){_0x1bcccc=_0x1bcccc-0x1e0;const _0x50c61d=_0x50c6();let _0xf23437=_0x50c61d[_0x1bcccc];return _0xf23437;}class U{get[_0x3d3755(0x1f0)](){return _0x2ce949;}get[_0x3d3755(0x1f3)](){return _0x481dba;}get[_0x3d3755(0x204)](){return _0x36ea78;}get[_0x3d3755(0x1e6)](){return _0x1db3a8;}get[_0x3d3755(0x1ed)](){return _0x40ff73;}get[_0x3d3755(0x1e8)](){return _0xb7550e;}get[_0x3d3755(0x201)](){return _0x4048d0;}get['PrintHeaderFooter'](){return _0x3dd7f1;}get[_0x3d3755(0x1e9)](){return _0x39e103;}}_0x395355['extend'](U);class M extends _0x5ee8dc{[_0x3d3755(0x1eb)](_0x2532ce){const _0x1a5b4b=_0x3d3755,_0x3bf000=_0x2532ce[_0x1a5b4b(0x1e7)](_0x3ce4a4);this[_0x1a5b4b(0x1fa)](this[_0x1a5b4b(0x200)][_0x1a5b4b(0x1fe)],()=>_0x3bf000[_0x1a5b4b(0x211)](_0x16b16a=>{const _0x42c4e7=_0x1a5b4b;if(_0x16b16a['id']===_0x3ee238['id']){const _0x34582a=this[_0x42c4e7(0x1ea)]();if(!_0x34582a)return;const _0x22cf90={'workbook':_0x34582a,'worksheet':_0x34582a['getActiveSheet']()};if(_0x22cf90==null)return;if(this['fireEvent'](this[_0x42c4e7(0x200)][_0x42c4e7(0x1fe)],_0x22cf90),_0x22cf90[_0x42c4e7(0x20a)])throw new _0x242c61();}})),this[_0x1a5b4b(0x1fa)](this[_0x1a5b4b(0x200)][_0x1a5b4b(0x1fc)],()=>_0x3bf000[_0x1a5b4b(0x211)](_0xf2d696=>{const _0x5bbafd=_0x1a5b4b;if(_0xf2d696['id']===_0x3d998f['id']){const _0x34ab57=_0x2532ce[_0x5bbafd(0x1e7)](_0x36cf68);if(!this[_0x5bbafd(0x1ea)]())return;const _0x6dc046={'layoutConfig':_0x34ab57[_0x5bbafd(0x1fd)],'renderConfig':_0x34ab57[_0x5bbafd(0x210)]};if(_0x6dc046==null)return;if(this[_0x5bbafd(0x1f6)](this[_0x5bbafd(0x200)][_0x5bbafd(0x1fc)],_0x6dc046),_0x6dc046['cancel'])throw new _0x242c61();}})),this[_0x1a5b4b(0x1fa)](this[_0x1a5b4b(0x200)][_0x1a5b4b(0x203)],()=>_0x3bf000[_0x1a5b4b(0x211)](_0x330f40=>{const _0xa1cc5e=_0x1a5b4b;if(_0x330f40['id']===_0x33e31d['id']){const _0x166cce=_0x2532ce[_0xa1cc5e(0x1e7)](_0x36cf68);if(!this[_0xa1cc5e(0x1ea)]())return;const _0x5c76fd={'layoutConfig':_0x166cce['layoutConfig'],'renderConfig':_0x166cce[_0xa1cc5e(0x210)]};if(_0x5c76fd==null)return;if(this[_0xa1cc5e(0x1f6)](this[_0xa1cc5e(0x200)][_0xa1cc5e(0x203)],_0x5c76fd),_0x5c76fd[_0xa1cc5e(0x20a)])throw new _0x242c61();}})),this[_0x1a5b4b(0x1fa)](this[_0x1a5b4b(0x200)][_0x1a5b4b(0x1e1)],()=>_0x3bf000['onCommandExecuted'](_0x16d23a=>{const _0x4e31c3=_0x1a5b4b;if(_0x16d23a['id']===_0x3ee238['id']){const _0x3480c7=this[_0x4e31c3(0x1ea)]();if(!_0x3480c7)return;const _0x1b756a={'workbook':_0x3480c7,'worksheet':_0x3480c7['getActiveSheet']()};if(_0x1b756a==null)return;this[_0x4e31c3(0x1f6)](this['Event']['SheetPrintOpen'],_0x1b756a);}})),this[_0x1a5b4b(0x1fa)](this[_0x1a5b4b(0x200)]['SheetPrintConfirmed'],()=>_0x3bf000[_0x1a5b4b(0x202)](_0x42ce19=>{const _0x494101=_0x1a5b4b;if(_0x42ce19['id']===_0x3d998f['id']){const _0x104f71=_0x2532ce['get'](_0x36cf68);if(!this[_0x494101(0x1ea)]())return;const _0x529aa7={'layoutConfig':_0x104f71[_0x494101(0x1fd)],'renderConfig':_0x104f71['renderConfig']};if(_0x529aa7==null)return;this[_0x494101(0x1f6)](this['Event']['SheetPrintConfirmed'],_0x529aa7);}})),this['registerEventHandler'](this[_0x1a5b4b(0x200)][_0x1a5b4b(0x207)],()=>_0x3bf000[_0x1a5b4b(0x202)](_0x413b2b=>{const _0x42265a=_0x1a5b4b;if(_0x413b2b['id']===_0x33e31d['id']){const _0x386e9d=_0x2532ce['get'](_0x36cf68);if(!this[_0x42265a(0x1ea)]())return;const _0xb262c1={'layoutConfig':_0x386e9d[_0x42265a(0x1fd)],'renderConfig':_0x386e9d[_0x42265a(0x210)]};if(_0xb262c1==null)return;this[_0x42265a(0x1f6)](this[_0x42265a(0x200)]['SheetPrintCanceled'],_0xb262c1);}}));}}_0x5ee8dc['extend'](M);