@univerjs-pro/sheets-print 0.10.14-nightly.202511070939 → 0.10.14-nightly.202511080715

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 (52) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +40 -40
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/types/views/components/PrintGridSidebar.d.ts +0 -15
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +14 -14
@@ -1 +1 @@
1
- 'use strict';const _0xa0639=_0x4cee;(function(_0xf80bf6,_0x428d0f){const _0x1bf154=_0x4cee,_0x432e31=_0xf80bf6();while(!![]){try{const _0x5d484a=parseInt(_0x1bf154(0x1b3))/0x1*(-parseInt(_0x1bf154(0x195))/0x2)+parseInt(_0x1bf154(0x197))/0x3*(-parseInt(_0x1bf154(0x1cc))/0x4)+-parseInt(_0x1bf154(0x199))/0x5*(parseInt(_0x1bf154(0x1a9))/0x6)+-parseInt(_0x1bf154(0x193))/0x7*(parseInt(_0x1bf154(0x1bd))/0x8)+-parseInt(_0x1bf154(0x19f))/0x9+parseInt(_0x1bf154(0x1ac))/0xa+parseInt(_0x1bf154(0x1c6))/0xb;if(_0x5d484a===_0x428d0f)break;else _0x432e31['push'](_0x432e31['shift']());}catch(_0xddd872){_0x432e31['push'](_0x432e31['shift']());}}}(_0xa3c2,0x6b508));function _0x4cee(_0x4975f7,_0x109580){const _0xa3c2b=_0xa3c2();return _0x4cee=function(_0x4ceec8,_0x1295ef){_0x4ceec8=_0x4ceec8-0x18a;let _0x4ce2e8=_0xa3c2b[_0x4ceec8];return _0x4ce2e8;},_0x4cee(_0x4975f7,_0x109580);}function _0xa3c2(){const _0x1ac59f=['時間C','顯示浮水印','Letter\x20(8.5\x22\x20x\x2011\x22)','https://univer.ai/pro','hh:mm:ss','7976QjBNTx','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','日期D','MM/DD','活頁簿標題','複製為圖片','張工作表','日期E','水平對齊','20300511DVPmkK','列與欄標題','顯示格線','工作表總頁數','頁面方向','exports','1268SNququ','A5\x20(5.83\x22\x20x\x208.27\x22)','Statement\x20(5.5\x22\x20x\x208.5\x22)','YYYY-MM-DD','MM-DD','時間D','紙張大小','A4\x20(8.27\x22\x20x\x2011.69\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','自訂頁首/頁尾','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','日期格式','所有選取的儲存格','重複凍結的列','609DhBBMP','目前工作表','2vnHzUE','圖片複製到剪貼簿失敗!','7461utMCcS','目前時間','30hNEPNZ','下一步','工作表名稱','自訂比例','調整至頁面大小','標準\x20(100%)','3771513iplFSQ','活頁簿','Executive\x20(7.25\x22\x20x\x2010.5\x22)','每頁最大列數','總頁數','hh:mm','自訂义頁邊距','列印中,請勿關閉頁面','HH:mm:ss','格式設定','30612AhOEqQ','每頁最大欄數','選取範圍','2822340NyUNSH','調整至頁面寬度','日期B','點擊以新增文字','Tabloid\x20(11\x22\x20x\x2017\x22)','列與欄限制','Folio\x20(8.5\x22\x20x\x2013\x22)','363388aVINtX','目前日期','B5\x20(6.93\x22\x20x\x209.84\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','重複凍結的欄'];_0xa3c2=function(){return _0x1ac59f;};return _0xa3c2();}const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0xa0639(0x19a),'printing':_0xa0639(0x1a6)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':'顯示分頁符號','showGridLabel':'顯示分頁線','closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0xa0639(0x1c2),'success':'圖片已成功複製到剪貼簿!','fail':_0xa0639(0x196)},'size':{'title':_0xa0639(0x18b),'letter':_0xa0639(0x1ba),'tabloid':_0xa0639(0x1b0),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0xa0639(0x1ce),'executive':_0xa0639(0x1a1),'folio':_0xa0639(0x1b2),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0xa0639(0x18c),'a5':_0xa0639(0x1cd),'b4':_0xa0639(0x18d),'b5':_0xa0639(0x1b5)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0xa0639(0x1a5),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0xa0639(0x194),'workbook':_0xa0639(0x1a0),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0xa0639(0x1a2),'maxColumnsEachPage':_0xa0639(0x1aa),'limit':_0xa0639(0x1b1),'allSelection':_0xa0639(0x191)},'selection':{'title':_0xa0639(0x1ab),'allWorkbook':'所有工作表','workbookUnit':_0xa0639(0x1c3)},'scale':{'title':'縮放','normal':_0xa0639(0x19e),'fitWidth':_0xa0639(0x1ad),'fitHeight':'調整至頁面高度','fitPage':_0xa0639(0x19d),'custom':_0xa0639(0x19c)},'orientation':{'title':_0xa0639(0x1ca),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0xa0639(0x1a8),'skeleton':_0xa0639(0x1c8),'waterMark':_0xa0639(0x1b9)},'align':{'title':'對齊','horizontal':{'title':_0xa0639(0x1c5),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0xa0639(0x1c1),'sheet':'工作表名稱','date':_0xa0639(0x1b4),'time':_0xa0639(0x198),'customHeadFooter':_0xa0639(0x18e),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0xa0639(0x190),'dateA':_0xa0639(0x1cf),'dateB':_0xa0639(0x1d0),'dateC':'L','dateD':_0xa0639(0x1c0),'timeA':_0xa0639(0x1a7),'timeB':'HH:mm','timeC':_0xa0639(0x1bc),'timeD':_0xa0639(0x1a4),'display':{'page':'頁碼','title':_0xa0639(0x1c1),'sheet':_0xa0639(0x19b),'dateA':'日期A','dateB':_0xa0639(0x1ae),'dateC':'日期C','dateD':_0xa0639(0x1bf),'dateE':_0xa0639(0x1c4),'dateF':'日期F','timeA':'時間A','timeB':'時間B','timeC':_0xa0639(0x1b8),'timeD':_0xa0639(0x18a),'sheetPage':'工作表頁碼','pageTotal':_0xa0639(0x1a3),'sheetPageTotal':_0xa0639(0x1c9)},'placeholder':_0xa0639(0x1af),'submit':'確定'},'freeze':{'title':_0xa0639(0x1c7),'desc':_0xa0639(0x1be),'row':_0xa0639(0x192),'column':_0xa0639(0x1b7)},'limit':{'page':_0xa0639(0x18f),'waterMark':_0xa0639(0x1b6),'link':_0xa0639(0x1bb)}}};module[_0xa0639(0x1cb)]=e;
1
+ 'use strict';function _0x2d8a(_0x4a5ee2,_0x23066e){const _0x268567=_0x2685();return _0x2d8a=function(_0x2d8aa7,_0x4a1acb){_0x2d8aa7=_0x2d8aa7-0x1f3;let _0x582148=_0x268567[_0x2d8aa7];return _0x582148;},_0x2d8a(_0x4a5ee2,_0x23066e);}const _0x8ff208=_0x2d8a;function _0x2685(){const _0x15bb9d=['目前工作表','106pIDmbw','9250CJHATr','hh:mm:ss','頁首和頁尾','時間C','HH:mm','時間B','hh:mm','圖片已成功複製到剪貼簿!','284942AJxMAu','列印中,請勿關閉頁面','日期A','645153DMDiYX','HH:mm:ss','日期格式','940KNBKCZ','格式設定','YYYY-MM-DD','重複凍結的列','選取範圍','Legal\x20(8.5\x22\x20x\x2014\x22)','目前時間','8217JEXYkZ','6700947DWsBTj','列與欄限制','活頁簿','工作表總頁數','顯示浮水印','日期B','自訂义頁邊距','日期E','A3\x20(11.69\x22\x20x\x2016.54\x22)','B5\x20(6.93\x22\x20x\x209.84\x22)','目前日期','編輯自訂頁首/頁尾','日期C','https://univer.ai/pro','頁面方向','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','每頁最大列數','調整至頁面大小','28353zmSLaM','工作表名稱','重複凍結的欄','A5\x20(5.83\x22\x20x\x208.27\x22)','所有選取的儲存格','所有工作表','垂直對齊','自訂頁首/頁尾','活頁簿標題','MM-DD','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','紙張大小','工作表頁碼','時間A','15880tUzPYd','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','時間D','調整至頁面高度','日期F','4021056ioNDHX','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示格線','66qFeMUN','Folio\x20(8.5\x22\x20x\x2013\x22)','複製為圖片','列印版面配置'];_0x2685=function(){return _0x15bb9d;};return _0x2685();}(function(_0x5adbce,_0x14c69c){const _0x1b20a5=_0x2d8a,_0x4b490e=_0x5adbce();while(!![]){try{const _0x17fe49=-parseInt(_0x1b20a5(0x200))/0x1+-parseInt(_0x1b20a5(0x1f4))/0x2*(parseInt(_0x1b20a5(0x21d))/0x3)+-parseInt(_0x1b20a5(0x22b))/0x4*(parseInt(_0x1b20a5(0x203))/0x5)+parseInt(_0x1b20a5(0x233))/0x6*(parseInt(_0x1b20a5(0x1fd))/0x7)+parseInt(_0x1b20a5(0x230))/0x8+parseInt(_0x1b20a5(0x20a))/0x9*(parseInt(_0x1b20a5(0x1f5))/0xa)+parseInt(_0x1b20a5(0x20b))/0xb;if(_0x17fe49===_0x14c69c)break;else _0x4b490e['push'](_0x4b490e['shift']());}catch(_0x1b7287){_0x4b490e['push'](_0x4b490e['shift']());}}}(_0x2685,0x7cec4));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':'下一步','printing':_0x8ff208(0x1fe)},'menu':'列印','title':'列印','grid':{'title':_0x8ff208(0x236),'showGrid':'顯示分頁符號','showGridLabel':'顯示分頁線','closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x8ff208(0x235),'success':_0x8ff208(0x1fc),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x8ff208(0x228),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x8ff208(0x208),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x8ff208(0x231),'folio':_0x8ff208(0x234),'a3':_0x8ff208(0x213),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x8ff208(0x220),'b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x8ff208(0x214)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x8ff208(0x211),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x8ff208(0x1f3),'workbook':_0x8ff208(0x20d),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x8ff208(0x21b),'maxColumnsEachPage':'每頁最大欄數','limit':_0x8ff208(0x20c),'allSelection':_0x8ff208(0x221)},'selection':{'title':_0x8ff208(0x207),'allWorkbook':_0x8ff208(0x222),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x8ff208(0x22e),'fitPage':_0x8ff208(0x21c),'custom':'自訂比例'},'orientation':{'title':_0x8ff208(0x219),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x8ff208(0x204),'skeleton':_0x8ff208(0x232),'waterMark':_0x8ff208(0x20f)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x8ff208(0x223),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x8ff208(0x1f7),'page':'頁碼','workbook':_0x8ff208(0x225),'sheet':'工作表名稱','date':_0x8ff208(0x215),'time':_0x8ff208(0x209),'customHeadFooter':_0x8ff208(0x224),'editCustomHeadFooter':_0x8ff208(0x216),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x8ff208(0x202),'dateA':_0x8ff208(0x205),'dateB':_0x8ff208(0x226),'dateC':'L','dateD':'MM/DD','timeA':_0x8ff208(0x201),'timeB':_0x8ff208(0x1f9),'timeC':_0x8ff208(0x1f6),'timeD':_0x8ff208(0x1fb),'display':{'page':'頁碼','title':_0x8ff208(0x225),'sheet':_0x8ff208(0x21e),'dateA':_0x8ff208(0x1ff),'dateB':_0x8ff208(0x210),'dateC':_0x8ff208(0x217),'dateD':'日期D','dateE':_0x8ff208(0x212),'dateF':_0x8ff208(0x22f),'timeA':_0x8ff208(0x22a),'timeB':_0x8ff208(0x1fa),'timeC':_0x8ff208(0x1f8),'timeD':_0x8ff208(0x22d),'sheetPage':_0x8ff208(0x229),'pageTotal':'總頁數','sheetPageTotal':_0x8ff208(0x20e)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x8ff208(0x227),'row':_0x8ff208(0x206),'column':_0x8ff208(0x21f)},'limit':{'page':_0x8ff208(0x22c),'waterMark':_0x8ff208(0x21a),'link':_0x8ff208(0x218)}}};module['exports']=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x301e86=_0x3959;(function(_0x524bcf,_0x362238){const _0x485ea5=_0x3959,_0x4bf224=_0x524bcf();while(!![]){try{const _0x31f145=-parseInt(_0x485ea5(0x1e1))/0x1+-parseInt(_0x485ea5(0x1db))/0x2+-parseInt(_0x485ea5(0x1e8))/0x3*(parseInt(_0x485ea5(0x1d5))/0x4)+-parseInt(_0x485ea5(0x1ee))/0x5+parseInt(_0x485ea5(0x1ec))/0x6+-parseInt(_0x485ea5(0x1ed))/0x7*(-parseInt(_0x485ea5(0x1e0))/0x8)+parseInt(_0x485ea5(0x1d3))/0x9*(parseInt(_0x485ea5(0x1d8))/0xa);if(_0x31f145===_0x362238)break;else _0x4bf224['push'](_0x4bf224['shift']());}catch(_0x19ab5a){_0x4bf224['push'](_0x4bf224['shift']());}}}(_0x3d0f,0x68a2f));import{ISheetPrintManagerService as _0x4f0f34,ConfirmSheetPrintOperation as _0x326c24,SheetPrintOpenOperation as _0x1f826f,CancelSheetPrintOperation as _0x11016e,hasPrintFacadePermission as _0x12b977,SheetScreenShotOperation as _0x3dfd90,SheetPrintClientService as _0x2fe763,PrintArea as _0x5bd608,PrintFreeze as _0x2b6d02,PrintHeaderFooter as _0x35aa6c,PrintHeaderFooterSymbol as _0x58c774}from'@univerjs-pro/sheets-print';import{ICommandService as _0x65d205,PaperType as _0x2e40a,CanceledError as _0x5d512f}from'@univerjs/core';import{FWorkbook as _0x1c29db,FRange as _0x5498b4}from'@univerjs/sheets/facade';import{FEventName as _0x56e97f,FEnum as _0x12e572,FUniver as _0x2e9d29}from'@univerjs/core/facade';import{PrintAlign as _0x464e7c,PrintPaperMargin as _0x226f73,PrintScale as _0x34cbf4,PrintDirection as _0x10f213}from'@univerjs-pro/print';class A extends _0x1c29db{[_0x301e86(0x1ce)](_0xfaa287){const _0x2d2162=_0x301e86;return this['_injector'][_0x2d2162(0x1da)](_0x4f0f34)[_0x2d2162(0x1c1)](_0xfaa287),this;}[_0x301e86(0x1dd)](_0x17b9ee){const _0xc479ef=_0x301e86;return this[_0xc479ef(0x1c4)][_0xc479ef(0x1da)](_0x4f0f34)[_0xc479ef(0x1e5)](_0x17b9ee),this;}[_0x301e86(0x1e3)](){const _0x545299=_0x301e86;return this[_0x545299(0x1c4)]['get'](_0x65d205)[_0x545299(0x1d0)](_0x326c24['id']);}[_0x301e86(0x1d1)](){const _0xcebc20=_0x301e86;return this['_injector'][_0xcebc20(0x1da)](_0x65d205)[_0xcebc20(0x1d0)](_0x1f826f['id']);}[_0x301e86(0x1d4)](){const _0x3d30c4=_0x301e86;return this['_injector']['get'](_0x65d205)[_0x3d30c4(0x1d0)](_0x11016e['id']);}async[_0x301e86(0x1d9)](){const _0x2d4ad4=_0x301e86;return _0x12b977(this[_0x2d4ad4(0x1c4)])?this[_0x2d4ad4(0x1c4)][_0x2d4ad4(0x1da)](_0x65d205)['executeCommand'](_0x3dfd90['id']):!0x1;}}_0x1c29db[_0x301e86(0x1c7)](A);class B extends _0x5498b4{['getScreenshot'](){const _0x79b265=_0x301e86;return _0x12b977(this[_0x79b265(0x1c4)])?this['_injector'][_0x79b265(0x1da)](_0x2fe763)['getRangeImage'](this[_0x79b265(0x1cd)][_0x79b265(0x1ca)](),this[_0x79b265(0x1d7)]['getSheetId'](),this[_0x79b265(0x1c3)]):!0x1;}}_0x5498b4[_0x301e86(0x1c7)](B);class H{get[_0x301e86(0x1c8)](){const _0x171891=_0x301e86;return _0x171891(0x1c8);}get['BeforeSheetPrintConfirm'](){const _0xa00026=_0x301e86;return _0xa00026(0x1c5);}get[_0x301e86(0x1e9)](){const _0x292caa=_0x301e86;return _0x292caa(0x1e9);}get[_0x301e86(0x1cf)](){const _0x35a0c5=_0x301e86;return _0x35a0c5(0x1cf);}get[_0x301e86(0x1f0)](){const _0x34b583=_0x301e86;return _0x34b583(0x1f0);}get['SheetPrintCanceled'](){const _0x2a3fd4=_0x301e86;return _0x2a3fd4(0x1ea);}}_0x56e97f[_0x301e86(0x1c7)](H);function _0x3d0f(){const _0xcda61a=['PrintDirection','updatePrintRenderConfig','Event','PrintHeaderFooterSymbol','456WAcddm','241367UjhHaj','renderConfig','print','cancel','updateRenderConfig','PrintHeaderFooter','PrintArea','6bzFOAG','BeforeSheetPrintCanceled','SheetPrintCanceled','registerEventHandler','2644140LxdUJU','49938tBjDUx','1103825gYvkJl','PrintPaperSize','SheetPrintConfirmed','getActiveSheet','PrintScale','updateLayoutConfig','PrintAlign','_range','_injector','BeforeSheetPrintConfirm','PrintFreeze','extend','BeforeSheetPrintOpen','fireEvent','getUnitId','_initialize','layoutConfig','_workbook','updatePrintConfig','SheetPrintOpen','syncExecuteCommand','openPrintDialog','getActiveUniverSheet','81LkDhit','closePrintDialog','99628YENPox','beforeCommandExecuted','_worksheet','399370rCOgsM','saveScreenshotToClipboard','get','532448cvIChK'];_0x3d0f=function(){return _0xcda61a;};return _0x3d0f();}class U{get[_0x301e86(0x1e7)](){return _0x5bd608;}get[_0x301e86(0x1c2)](){return _0x464e7c;}get[_0x301e86(0x1ef)](){return _0x2e40a;}get['PrintPaperMargin'](){return _0x226f73;}get[_0x301e86(0x1f2)](){return _0x34cbf4;}get[_0x301e86(0x1dc)](){return _0x10f213;}get[_0x301e86(0x1c6)](){return _0x2b6d02;}get[_0x301e86(0x1e6)](){return _0x35aa6c;}get[_0x301e86(0x1df)](){return _0x58c774;}}_0x12e572['extend'](U);function _0x3959(_0x1ff3f9,_0x426119){const _0x3d0f07=_0x3d0f();return _0x3959=function(_0x395973,_0x109c0c){_0x395973=_0x395973-0x1c1;let _0x42f616=_0x3d0f07[_0x395973];return _0x42f616;},_0x3959(_0x1ff3f9,_0x426119);}class M extends _0x2e9d29{[_0x301e86(0x1cb)](_0x510f11){const _0x32f21d=_0x301e86,_0x242d97=_0x510f11[_0x32f21d(0x1da)](_0x65d205);this['registerEventHandler'](this[_0x32f21d(0x1de)][_0x32f21d(0x1c8)],()=>_0x242d97[_0x32f21d(0x1d6)](_0x5e3c14=>{const _0x199f1b=_0x32f21d;if(_0x5e3c14['id']===_0x1f826f['id']){const _0x1ea686=this[_0x199f1b(0x1d2)]();if(!_0x1ea686)return;const _0x44b4a7={'workbook':_0x1ea686,'worksheet':_0x1ea686[_0x199f1b(0x1f1)]()};if(_0x44b4a7==null)return;if(this['fireEvent'](this[_0x199f1b(0x1de)][_0x199f1b(0x1c8)],_0x44b4a7),_0x44b4a7[_0x199f1b(0x1e4)])throw new _0x5d512f();}})),this['registerEventHandler'](this[_0x32f21d(0x1de)][_0x32f21d(0x1c5)],()=>_0x242d97[_0x32f21d(0x1d6)](_0x2205e1=>{const _0x19c345=_0x32f21d;if(_0x2205e1['id']===_0x326c24['id']){const _0xc09c2b=_0x510f11['get'](_0x4f0f34);if(!this[_0x19c345(0x1d2)]())return;const _0x3ef257={'layoutConfig':_0xc09c2b[_0x19c345(0x1cc)],'renderConfig':_0xc09c2b[_0x19c345(0x1e2)]};if(_0x3ef257==null)return;if(this[_0x19c345(0x1c9)](this['Event'][_0x19c345(0x1c5)],_0x3ef257),_0x3ef257['cancel'])throw new _0x5d512f();}})),this[_0x32f21d(0x1eb)](this[_0x32f21d(0x1de)]['BeforeSheetPrintCanceled'],()=>_0x242d97[_0x32f21d(0x1d6)](_0x2c9f34=>{const _0x405408=_0x32f21d;if(_0x2c9f34['id']===_0x11016e['id']){const _0x3d84fe=_0x510f11[_0x405408(0x1da)](_0x4f0f34);if(!this[_0x405408(0x1d2)]())return;const _0x5f07c8={'layoutConfig':_0x3d84fe['layoutConfig'],'renderConfig':_0x3d84fe[_0x405408(0x1e2)]};if(_0x5f07c8==null)return;if(this[_0x405408(0x1c9)](this['Event'][_0x405408(0x1e9)],_0x5f07c8),_0x5f07c8[_0x405408(0x1e4)])throw new _0x5d512f();}})),this['registerEventHandler'](this[_0x32f21d(0x1de)]['SheetPrintOpen'],()=>_0x242d97['onCommandExecuted'](_0x56670b=>{const _0x287d91=_0x32f21d;if(_0x56670b['id']===_0x1f826f['id']){const _0x1bad6d=this[_0x287d91(0x1d2)]();if(!_0x1bad6d)return;const _0xa3307c={'workbook':_0x1bad6d,'worksheet':_0x1bad6d[_0x287d91(0x1f1)]()};if(_0xa3307c==null)return;this[_0x287d91(0x1c9)](this[_0x287d91(0x1de)][_0x287d91(0x1cf)],_0xa3307c);}})),this[_0x32f21d(0x1eb)](this[_0x32f21d(0x1de)]['SheetPrintConfirmed'],()=>_0x242d97['onCommandExecuted'](_0x2f86b2=>{const _0x11a55b=_0x32f21d;if(_0x2f86b2['id']===_0x326c24['id']){const _0x1a4af9=_0x510f11[_0x11a55b(0x1da)](_0x4f0f34);if(!this[_0x11a55b(0x1d2)]())return;const _0x234837={'layoutConfig':_0x1a4af9[_0x11a55b(0x1cc)],'renderConfig':_0x1a4af9[_0x11a55b(0x1e2)]};if(_0x234837==null)return;this[_0x11a55b(0x1c9)](this[_0x11a55b(0x1de)][_0x11a55b(0x1f0)],_0x234837);}})),this[_0x32f21d(0x1eb)](this[_0x32f21d(0x1de)][_0x32f21d(0x1ea)],()=>_0x242d97['onCommandExecuted'](_0xb52707=>{const _0x9cec04=_0x32f21d;if(_0xb52707['id']===_0x11016e['id']){const _0x28894a=_0x510f11[_0x9cec04(0x1da)](_0x4f0f34);if(!this['getActiveUniverSheet']())return;const _0x2acb59={'layoutConfig':_0x28894a[_0x9cec04(0x1cc)],'renderConfig':_0x28894a['renderConfig']};if(_0x2acb59==null)return;this[_0x9cec04(0x1c9)](this[_0x9cec04(0x1de)][_0x9cec04(0x1ea)],_0x2acb59);}}));}}_0x2e9d29['extend'](M);
1
+ const _0x5b8af3=_0x18e7;(function(_0x443c66,_0x14ede4){const _0x56066f=_0x18e7,_0x363261=_0x443c66();while(!![]){try{const _0x594d5d=parseInt(_0x56066f(0x1f9))/0x1+parseInt(_0x56066f(0x206))/0x2+parseInt(_0x56066f(0x204))/0x3+-parseInt(_0x56066f(0x20e))/0x4+-parseInt(_0x56066f(0x1f8))/0x5*(-parseInt(_0x56066f(0x219))/0x6)+-parseInt(_0x56066f(0x209))/0x7+parseInt(_0x56066f(0x1ed))/0x8*(parseInt(_0x56066f(0x208))/0x9);if(_0x594d5d===_0x14ede4)break;else _0x363261['push'](_0x363261['shift']());}catch(_0x20839c){_0x363261['push'](_0x363261['shift']());}}}(_0x5ebe,0xd716a));import{ISheetPrintManagerService as _0x96304,ConfirmSheetPrintOperation as _0x2b9ff6,SheetPrintOpenOperation as _0x343bff,CancelSheetPrintOperation as _0x4a1d64,hasPrintFacadePermission as _0x4c04c7,SheetScreenShotOperation as _0x270fd1,SheetPrintClientService as _0x17556a,PrintArea as _0x6d8e3d,PrintFreeze as _0x56065a,PrintHeaderFooter as _0x373673,PrintHeaderFooterSymbol as _0x3c4656}from'@univerjs-pro/sheets-print';import{ICommandService as _0x257d3e,PaperType as _0x249b82,CanceledError as _0x486d0f}from'@univerjs/core';import{FWorkbook as _0x1f6e51,FRange as _0xb26636}from'@univerjs/sheets/facade';import{FEventName as _0x10454a,FEnum as _0x1b9c91,FUniver as _0x46de92}from'@univerjs/core/facade';import{PrintAlign as _0x4f8f5a,PrintPaperMargin as _0xaef8c7,PrintScale as _0x2833c0,PrintDirection as _0x2031c1}from'@univerjs-pro/print';class A extends _0x1f6e51{[_0x5b8af3(0x201)](_0x121e90){const _0x285091=_0x5b8af3;return this[_0x285091(0x202)][_0x285091(0x1ec)](_0x96304)['updateLayoutConfig'](_0x121e90),this;}[_0x5b8af3(0x215)](_0x5a0392){const _0x53df9d=_0x5b8af3;return this[_0x53df9d(0x202)][_0x53df9d(0x1ec)](_0x96304)[_0x53df9d(0x21f)](_0x5a0392),this;}[_0x5b8af3(0x1fa)](){const _0x4721fe=_0x5b8af3;return this[_0x4721fe(0x202)][_0x4721fe(0x1ec)](_0x257d3e)[_0x4721fe(0x1ef)](_0x2b9ff6['id']);}[_0x5b8af3(0x21d)](){const _0x28f748=_0x5b8af3;return this[_0x28f748(0x202)][_0x28f748(0x1ec)](_0x257d3e)['syncExecuteCommand'](_0x343bff['id']);}[_0x5b8af3(0x1f2)](){const _0x2bc457=_0x5b8af3;return this[_0x2bc457(0x202)][_0x2bc457(0x1ec)](_0x257d3e)['syncExecuteCommand'](_0x4a1d64['id']);}async[_0x5b8af3(0x20a)](){const _0x3e296b=_0x5b8af3;return _0x4c04c7(this['_injector'])?this[_0x3e296b(0x202)][_0x3e296b(0x1ec)](_0x257d3e)[_0x3e296b(0x20d)](_0x270fd1['id']):!0x1;}}_0x1f6e51['extend'](A);class B extends _0xb26636{['getScreenshot'](){const _0x4da7f0=_0x5b8af3;return _0x4c04c7(this[_0x4da7f0(0x202)])?this[_0x4da7f0(0x202)][_0x4da7f0(0x1ec)](_0x17556a)[_0x4da7f0(0x20b)](this[_0x4da7f0(0x1f0)][_0x4da7f0(0x1f3)](),this[_0x4da7f0(0x1f4)][_0x4da7f0(0x217)](),this[_0x4da7f0(0x207)]):!0x1;}}_0xb26636[_0x5b8af3(0x1f1)](B);class H{get[_0x5b8af3(0x1ff)](){const _0x19cbea=_0x5b8af3;return _0x19cbea(0x1ff);}get[_0x5b8af3(0x210)](){return'BeforeSheetPrintConfirm';}get[_0x5b8af3(0x203)](){const _0x371f90=_0x5b8af3;return _0x371f90(0x203);}get[_0x5b8af3(0x200)](){return'SheetPrintOpen';}get[_0x5b8af3(0x216)](){const _0x4b7943=_0x5b8af3;return _0x4b7943(0x216);}get[_0x5b8af3(0x1f7)](){return'SheetPrintCanceled';}}_0x10454a[_0x5b8af3(0x1f1)](H);class U{get[_0x5b8af3(0x1fd)](){return _0x6d8e3d;}get[_0x5b8af3(0x20f)](){return _0x4f8f5a;}get[_0x5b8af3(0x211)](){return _0x249b82;}get[_0x5b8af3(0x1eb)](){return _0xaef8c7;}get[_0x5b8af3(0x1f5)](){return _0x2833c0;}get[_0x5b8af3(0x1fb)](){return _0x2031c1;}get[_0x5b8af3(0x21a)](){return _0x56065a;}get[_0x5b8af3(0x1fe)](){return _0x373673;}get[_0x5b8af3(0x21c)](){return _0x3c4656;}}_0x1b9c91['extend'](U);class M extends _0x46de92{[_0x5b8af3(0x1fc)](_0x16bcd0){const _0x1414c5=_0x5b8af3,_0x461554=_0x16bcd0[_0x1414c5(0x1ec)](_0x257d3e);this[_0x1414c5(0x218)](this[_0x1414c5(0x214)][_0x1414c5(0x1ff)],()=>_0x461554[_0x1414c5(0x212)](_0x579ed1=>{const _0x532fd0=_0x1414c5;if(_0x579ed1['id']===_0x343bff['id']){const _0x4c1260=this[_0x532fd0(0x205)]();if(!_0x4c1260)return;const _0x49840a={'workbook':_0x4c1260,'worksheet':_0x4c1260['getActiveSheet']()};if(_0x49840a==null)return;if(this[_0x532fd0(0x21b)](this[_0x532fd0(0x214)][_0x532fd0(0x1ff)],_0x49840a),_0x49840a[_0x532fd0(0x21e)])throw new _0x486d0f();}})),this['registerEventHandler'](this[_0x1414c5(0x214)][_0x1414c5(0x210)],()=>_0x461554[_0x1414c5(0x212)](_0x4309d1=>{const _0x5dd367=_0x1414c5;if(_0x4309d1['id']===_0x2b9ff6['id']){const _0x453741=_0x16bcd0[_0x5dd367(0x1ec)](_0x96304);if(!this[_0x5dd367(0x205)]())return;const _0x1b5ebb={'layoutConfig':_0x453741['layoutConfig'],'renderConfig':_0x453741['renderConfig']};if(_0x1b5ebb==null)return;if(this[_0x5dd367(0x21b)](this[_0x5dd367(0x214)][_0x5dd367(0x210)],_0x1b5ebb),_0x1b5ebb[_0x5dd367(0x21e)])throw new _0x486d0f();}})),this[_0x1414c5(0x218)](this['Event'][_0x1414c5(0x203)],()=>_0x461554[_0x1414c5(0x212)](_0x4b5cd0=>{const _0x4441f5=_0x1414c5;if(_0x4b5cd0['id']===_0x4a1d64['id']){const _0xa5a8d0=_0x16bcd0[_0x4441f5(0x1ec)](_0x96304);if(!this['getActiveUniverSheet']())return;const _0x1c86fc={'layoutConfig':_0xa5a8d0[_0x4441f5(0x20c)],'renderConfig':_0xa5a8d0['renderConfig']};if(_0x1c86fc==null)return;if(this[_0x4441f5(0x21b)](this['Event'][_0x4441f5(0x203)],_0x1c86fc),_0x1c86fc[_0x4441f5(0x21e)])throw new _0x486d0f();}})),this[_0x1414c5(0x218)](this[_0x1414c5(0x214)][_0x1414c5(0x200)],()=>_0x461554['onCommandExecuted'](_0x1dd055=>{const _0x39bed0=_0x1414c5;if(_0x1dd055['id']===_0x343bff['id']){const _0x764b26=this['getActiveUniverSheet']();if(!_0x764b26)return;const _0x4c7e59={'workbook':_0x764b26,'worksheet':_0x764b26[_0x39bed0(0x1ee)]()};if(_0x4c7e59==null)return;this[_0x39bed0(0x21b)](this['Event'][_0x39bed0(0x200)],_0x4c7e59);}})),this[_0x1414c5(0x218)](this[_0x1414c5(0x214)][_0x1414c5(0x216)],()=>_0x461554[_0x1414c5(0x1f6)](_0x499b21=>{const _0x4530bc=_0x1414c5;if(_0x499b21['id']===_0x2b9ff6['id']){const _0x471248=_0x16bcd0[_0x4530bc(0x1ec)](_0x96304);if(!this[_0x4530bc(0x205)]())return;const _0x1dc557={'layoutConfig':_0x471248['layoutConfig'],'renderConfig':_0x471248[_0x4530bc(0x213)]};if(_0x1dc557==null)return;this[_0x4530bc(0x21b)](this[_0x4530bc(0x214)][_0x4530bc(0x216)],_0x1dc557);}})),this['registerEventHandler'](this[_0x1414c5(0x214)][_0x1414c5(0x1f7)],()=>_0x461554[_0x1414c5(0x1f6)](_0x26ce09=>{const _0x2ac625=_0x1414c5;if(_0x26ce09['id']===_0x4a1d64['id']){const _0x3eb448=_0x16bcd0['get'](_0x96304);if(!this[_0x2ac625(0x205)]())return;const _0x4a2701={'layoutConfig':_0x3eb448['layoutConfig'],'renderConfig':_0x3eb448[_0x2ac625(0x213)]};if(_0x4a2701==null)return;this['fireEvent'](this[_0x2ac625(0x214)][_0x2ac625(0x1f7)],_0x4a2701);}}));}}_0x46de92['extend'](M);function _0x18e7(_0x585582,_0x1faccf){const _0x5ebe10=_0x5ebe();return _0x18e7=function(_0x18e7da,_0x17926b){_0x18e7da=_0x18e7da-0x1eb;let _0x4b8588=_0x5ebe10[_0x18e7da];return _0x4b8588;},_0x18e7(_0x585582,_0x1faccf);}function _0x5ebe(){const _0x192738=['closePrintDialog','getUnitId','_worksheet','PrintScale','onCommandExecuted','SheetPrintCanceled','140OapavQ','556555XppuQz','print','PrintDirection','_initialize','PrintArea','PrintHeaderFooter','BeforeSheetPrintOpen','SheetPrintOpen','updatePrintConfig','_injector','BeforeSheetPrintCanceled','3264984WRkRsB','getActiveUniverSheet','415468SRkrSC','_range','830826afGnyJ','10227231vRktuq','saveScreenshotToClipboard','getRangeImage','layoutConfig','executeCommand','7040440juyNWN','PrintAlign','BeforeSheetPrintConfirm','PrintPaperSize','beforeCommandExecuted','renderConfig','Event','updatePrintRenderConfig','SheetPrintConfirmed','getSheetId','registerEventHandler','7284iVnZdW','PrintFreeze','fireEvent','PrintHeaderFooterSymbol','openPrintDialog','cancel','updateRenderConfig','PrintPaperMargin','get','192ymGTLT','getActiveSheet','syncExecuteCommand','_workbook','extend'];_0x5ebe=function(){return _0x192738;};return _0x5ebe();}