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

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 (51) 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 +42 -42
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +14 -14
@@ -1 +1 @@
1
- const _0x15297e=_0x13ee;(function(_0x3acf3f,_0x595426){const _0x3df7a0=_0x13ee,_0x58e0ab=_0x3acf3f();while(!![]){try{const _0x5e472b=-parseInt(_0x3df7a0(0xfe))/0x1+parseInt(_0x3df7a0(0xff))/0x2*(parseInt(_0x3df7a0(0xd0))/0x3)+parseInt(_0x3df7a0(0x101))/0x4*(parseInt(_0x3df7a0(0xe5))/0x5)+parseInt(_0x3df7a0(0xd3))/0x6*(parseInt(_0x3df7a0(0xdd))/0x7)+parseInt(_0x3df7a0(0x108))/0x8*(parseInt(_0x3df7a0(0xd4))/0x9)+parseInt(_0x3df7a0(0xe9))/0xa*(-parseInt(_0x3df7a0(0xda))/0xb)+-parseInt(_0x3df7a0(0xeb))/0xc;if(_0x5e472b===_0x595426)break;else _0x58e0ab['push'](_0x58e0ab['shift']());}catch(_0x3b0d07){_0x58e0ab['push'](_0x58e0ab['shift']());}}}(_0x5dc1,0x20859));function _0x13ee(_0x56ebb6,_0x512a6a){const _0x5dc107=_0x5dc1();return _0x13ee=function(_0x13ee61,_0x5f246c){_0x13ee61=_0x13ee61-0xc7;let _0x48ce3e=_0x5dc107[_0x13ee61];return _0x48ce3e;},_0x13ee(_0x56ebb6,_0x512a6a);}function _0x5dc1(){const _0x12253a=['YYYY-MM-DD','日期F','時間A','Legal\x20(8.5\x22\x20x\x2014\x22)','時間C','Folio\x20(8.5\x22\x20x\x2013\x22)','總計:','點擊以新增文字','重複凍結的列','工作表頁碼','圖片複製到剪貼簿失敗!','日期E','顯示浮水印','hh:mm','日期C','日期D','76036uCoBBe','517682XZjack','調整至頁面大小','50108YNQAlY','複製為圖片','列印版面配置','已選取的儲存格','B4\x20(9.84\x22\x20x\x2013.90\x22)','重複凍結的欄','水平對齊','1928sjRrFe','Executive\x20(7.25\x22\x20x\x2010.5\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','Letter\x20(8.5\x22\x20x\x2011\x22)','時間B','列與欄標題','日期A','每頁最大列數','目前時間','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','A5\x20(5.83\x22\x20x\x208.27\x22)','hh:mm:ss','調整至頁面高度','自訂义頁邊距','HH:mm:ss','所有工作表','時間D','日期B','關閉並隱藏分頁線','3JxFwrl','編輯自訂頁首/頁尾','工作表總頁數','330aUBZrL','5319YZyCFC','圖片已成功複製到剪貼簿!','下一步','選取範圍','Tabloid\x20(11\x22\x20x\x2017\x22)','目前日期','407nKIGtV','Statement\x20(5.5\x22\x20x\x208.5\x22)','活頁簿標題','6370mFLvrR','頁面方向','日期格式','頁首和頁尾','B5\x20(6.93\x22\x20x\x209.84\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','顯示分頁符號','總頁數','5CubnOi','自訂比例','HH:mm','顯示格線','52940snkzjY','工作表名稱','704712tQyBBK','列印中,請勿關閉頁面','垂直對齊'];_0x5dc1=function(){return _0x12253a;};return _0x5dc1();}const e={'print':{'header':{'total':_0x15297e(0xf4),'pages':'頁','cancel':'取消','next':_0x15297e(0xd6),'printing':_0x15297e(0xec)},'menu':'列印','title':'列印','grid':{'title':_0x15297e(0x103),'showGrid':_0x15297e(0xe3),'showGridLabel':'顯示分頁線','closeAndHide':_0x15297e(0xcf)},'screenshot':{'title':_0x15297e(0x102),'success':_0x15297e(0xd5),'fail':_0x15297e(0xf8)},'size':{'title':'紙張大小','letter':_0x15297e(0x10b),'tabloid':_0x15297e(0xd8),'legal':_0x15297e(0xf1),'statement':_0x15297e(0xdb),'executive':_0x15297e(0x109),'folio':_0x15297e(0xf3),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x15297e(0x10a),'a5':_0x15297e(0xc7),'b4':_0x15297e(0x105),'b5':_0x15297e(0xe1)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x15297e(0xca),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':'目前工作表','workbook':'活頁簿','currentSelection':_0x15297e(0x104),'maxRowsEachPage':_0x15297e(0x10f),'maxColumnsEachPage':'每頁最大欄數','limit':'列與欄限制','allSelection':'所有選取的儲存格'},'selection':{'title':_0x15297e(0xd7),'allWorkbook':_0x15297e(0xcc),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x15297e(0xc9),'fitPage':_0x15297e(0x100),'custom':_0x15297e(0xe6)},'orientation':{'title':_0x15297e(0xde),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x15297e(0xe8),'waterMark':_0x15297e(0xfa)},'align':{'title':'對齊','horizontal':{'title':_0x15297e(0x107),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x15297e(0xed),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x15297e(0xe0),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x15297e(0xea),'date':_0x15297e(0xd9),'time':_0x15297e(0x110),'customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x15297e(0xd1),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x15297e(0xdf),'dateA':_0x15297e(0xee),'dateB':'MM-DD','dateC':'L','dateD':'MM/DD','timeA':_0x15297e(0xcb),'timeB':_0x15297e(0xe7),'timeC':_0x15297e(0xc8),'timeD':_0x15297e(0xfb),'display':{'page':'頁碼','title':_0x15297e(0xdc),'sheet':_0x15297e(0xea),'dateA':_0x15297e(0x10e),'dateB':_0x15297e(0xce),'dateC':_0x15297e(0xfc),'dateD':_0x15297e(0xfd),'dateE':_0x15297e(0xf9),'dateF':_0x15297e(0xef),'timeA':_0x15297e(0xf0),'timeB':_0x15297e(0x10c),'timeC':_0x15297e(0xf2),'timeD':_0x15297e(0xcd),'sheetPage':_0x15297e(0xf7),'pageTotal':_0x15297e(0xe4),'sheetPageTotal':_0x15297e(0xd2)},'placeholder':_0x15297e(0xf5),'submit':'確定'},'freeze':{'title':_0x15297e(0x10d),'desc':_0x15297e(0x111),'row':_0x15297e(0xf6),'column':_0x15297e(0x106)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x15297e(0xe2),'link':'https://univer.ai/pro'}}};export{e as default};
1
+ const _0x39cf72=_0x10b8;(function(_0x108f54,_0x424cb0){const _0x55b56b=_0x10b8,_0x15f4bf=_0x108f54();while(!![]){try{const _0x5c65b7=-parseInt(_0x55b56b(0xed))/0x1*(parseInt(_0x55b56b(0x105))/0x2)+parseInt(_0x55b56b(0xe8))/0x3*(parseInt(_0x55b56b(0x103))/0x4)+-parseInt(_0x55b56b(0xe5))/0x5+-parseInt(_0x55b56b(0xf2))/0x6+-parseInt(_0x55b56b(0xfb))/0x7+-parseInt(_0x55b56b(0xe0))/0x8*(parseInt(_0x55b56b(0xd7))/0x9)+-parseInt(_0x55b56b(0xfc))/0xa*(-parseInt(_0x55b56b(0xf6))/0xb);if(_0x5c65b7===_0x424cb0)break;else _0x15f4bf['push'](_0x15f4bf['shift']());}catch(_0x2636be){_0x15f4bf['push'](_0x15f4bf['shift']());}}}(_0x3b26,0xab58e));function _0x10b8(_0x2627b2,_0x1dfce7){const _0x3b261b=_0x3b26();return _0x10b8=function(_0x10b80d,_0x2bbb93){_0x10b80d=_0x10b80d-0xd4;let _0xfe179=_0x3b261b[_0x10b80d];return _0xfe179;},_0x10b8(_0x2627b2,_0x1dfce7);}function _0x3b26(){const _0x47e58b=['調整至頁面高度','顯示浮水印','自訂比例','Legal\x20(8.5\x22\x20x\x2014\x22)','3JCqxOl','自訂頁首/頁尾','A4\x20(8.27\x22\x20x\x2011.69\x22)','編輯自訂頁首/頁尾','張工作表','2798100kWYfSK','時間C','頁面方向','工作表頁碼','66xGvGPh','總計:','垂直對齊','MM-DD','MM/DD','5602205LJvBZO','3847470ArTbjn','列與欄限制','工作表名稱','列印版面配置','日期格式','頁首和頁尾','HH:mm:ss','16LQjoSm','顯示分頁線','11374AYiEtd','B5\x20(6.93\x22\x20x\x209.84\x22)','點擊以新增文字','Tabloid\x20(11\x22\x20x\x2017\x22)','圖片已成功複製到剪貼簿!','Letter\x20(8.5\x22\x20x\x2011\x22)','關閉並隱藏分頁線','Statement\x20(5.5\x22\x20x\x208.5\x22)','https://univer.ai/pro','所有工作表','hh:mm:ss','所有選取的儲存格','HH:mm','調整至頁面大小','重複凍結的列','活頁簿','活頁簿標題','時間D','目前工作表','圖片複製到剪貼簿失敗!','顯示格線','每頁最大欄數','Folio\x20(8.5\x22\x20x\x2013\x22)','複製為圖片','時間A','顯示分頁符號','A3\x20(11.69\x22\x20x\x2016.54\x22)','6076773GXKYpz','時間B','A5\x20(5.83\x22\x20x\x208.27\x22)','日期E','總頁數','重複凍結的欄','標準\x20(100%)','每頁最大列數','列與欄標題','8ZNDutx','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','Executive\x20(7.25\x22\x20x\x2010.5\x22)','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','紙張大小','3881585pKCuvz','下一步','目前時間','846447khOGzj'];_0x3b26=function(){return _0x47e58b;};return _0x3b26();}const e={'print':{'header':{'total':_0x39cf72(0xf7),'pages':'頁','cancel':'取消','next':_0x39cf72(0xe6),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x39cf72(0xff),'showGrid':_0x39cf72(0xd5),'showGridLabel':_0x39cf72(0x104),'closeAndHide':_0x39cf72(0x10b)},'screenshot':{'title':_0x39cf72(0x11c),'success':_0x39cf72(0x109),'fail':_0x39cf72(0x118)},'size':{'title':_0x39cf72(0xe4),'letter':_0x39cf72(0x10a),'tabloid':_0x39cf72(0x108),'legal':_0x39cf72(0xec),'statement':_0x39cf72(0x10c),'executive':_0x39cf72(0xe2),'folio':_0x39cf72(0x11b),'a3':_0x39cf72(0xd6),'a4':_0x39cf72(0xef),'a5':_0x39cf72(0xd9),'b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x39cf72(0x106)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x39cf72(0x117),'workbook':_0x39cf72(0x114),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x39cf72(0xde),'maxColumnsEachPage':_0x39cf72(0x11a),'limit':_0x39cf72(0xfd),'allSelection':_0x39cf72(0x110)},'selection':{'title':'選取範圍','allWorkbook':_0x39cf72(0x10e),'workbookUnit':_0x39cf72(0xf1)},'scale':{'title':'縮放','normal':_0x39cf72(0xdd),'fitWidth':'調整至頁面寬度','fitHeight':_0x39cf72(0xe9),'fitPage':_0x39cf72(0x112),'custom':_0x39cf72(0xeb)},'orientation':{'title':_0x39cf72(0xf4),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x39cf72(0x119),'waterMark':_0x39cf72(0xea)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x39cf72(0xf8),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x39cf72(0x101),'page':'頁碼','workbook':_0x39cf72(0x115),'sheet':_0x39cf72(0xfe),'date':'目前日期','time':_0x39cf72(0xe7),'customHeadFooter':_0x39cf72(0xee),'editCustomHeadFooter':_0x39cf72(0xf0),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x39cf72(0x100),'dateA':'YYYY-MM-DD','dateB':_0x39cf72(0xf9),'dateC':'L','dateD':_0x39cf72(0xfa),'timeA':_0x39cf72(0x102),'timeB':_0x39cf72(0x111),'timeC':_0x39cf72(0x10f),'timeD':'hh:mm','display':{'page':'頁碼','title':_0x39cf72(0x115),'sheet':_0x39cf72(0xfe),'dateA':'日期A','dateB':'日期B','dateC':'日期C','dateD':'日期D','dateE':_0x39cf72(0xda),'dateF':'日期F','timeA':_0x39cf72(0xd4),'timeB':_0x39cf72(0xd8),'timeC':_0x39cf72(0xf3),'timeD':_0x39cf72(0x116),'sheetPage':_0x39cf72(0xf5),'pageTotal':_0x39cf72(0xdb),'sheetPageTotal':'工作表總頁數'},'placeholder':_0x39cf72(0x107),'submit':'確定'},'freeze':{'title':_0x39cf72(0xdf),'desc':_0x39cf72(0xe3),'row':_0x39cf72(0x113),'column':_0x39cf72(0xdc)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x39cf72(0xe1),'link':_0x39cf72(0x10d)}}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x6fca78=_0x3389;(function(_0x35aa1d,_0x1d13e2){const _0x54fcdc=_0x3389,_0x1ec034=_0x35aa1d();while(!![]){try{const _0x526bfb=parseInt(_0x54fcdc(0xa5))/0x1+-parseInt(_0x54fcdc(0x88))/0x2*(-parseInt(_0x54fcdc(0x8e))/0x3)+parseInt(_0x54fcdc(0xae))/0x4+parseInt(_0x54fcdc(0x89))/0x5*(-parseInt(_0x54fcdc(0x8f))/0x6)+-parseInt(_0x54fcdc(0x9a))/0x7*(-parseInt(_0x54fcdc(0x96))/0x8)+parseInt(_0x54fcdc(0x85))/0x9*(-parseInt(_0x54fcdc(0x9c))/0xa)+parseInt(_0x54fcdc(0x94))/0xb*(-parseInt(_0x54fcdc(0x92))/0xc);if(_0x526bfb===_0x1d13e2)break;else _0x1ec034['push'](_0x1ec034['shift']());}catch(_0x4b800c){_0x1ec034['push'](_0x1ec034['shift']());}}}(_0x26dc,0x31bf2));import{ISheetPrintManagerService as _0x1c2f75,ConfirmSheetPrintOperation as _0x338ac5,SheetPrintOpenOperation as _0x126a41,CancelSheetPrintOperation as _0x3da07d,hasPrintFacadePermission as _0xc41696,SheetScreenShotOperation as _0x1d912a,SheetPrintClientService as _0x51696c,PrintArea as _0x27dc62,PrintFreeze as _0x5083be,PrintHeaderFooter as _0x5d8613,PrintHeaderFooterSymbol as _0x869fd5}from'@univerjs-pro/sheets-print';function _0x3389(_0x2727c0,_0x526224){const _0x26dcee=_0x26dc();return _0x3389=function(_0x3389ab,_0x578a54){_0x3389ab=_0x3389ab-0x7b;let _0x752f1b=_0x26dcee[_0x3389ab];return _0x752f1b;},_0x3389(_0x2727c0,_0x526224);}import{ICommandService as _0x1c3828,PaperType as _0x5bed19,CanceledError as _0x230793}from'@univerjs/core';import{FWorkbook as _0x1a1ef0,FRange as _0x1526ce}from'@univerjs/sheets/facade';import{FEventName as _0x1950e5,FEnum as _0x18b796,FUniver as _0x1d6192}from'@univerjs/core/facade';import{PrintAlign as _0x3da046,PrintPaperMargin as _0x633cb,PrintScale as _0x5ee70a,PrintDirection as _0x3c9a11}from'@univerjs-pro/print';class A extends _0x1a1ef0{[_0x6fca78(0x8a)](_0x344c87){const _0x149a98=_0x6fca78;return this[_0x149a98(0x91)][_0x149a98(0x7b)](_0x1c2f75)['updateLayoutConfig'](_0x344c87),this;}['updatePrintRenderConfig'](_0x507e60){const _0x4c187e=_0x6fca78;return this[_0x4c187e(0x91)][_0x4c187e(0x7b)](_0x1c2f75)['updateRenderConfig'](_0x507e60),this;}[_0x6fca78(0xab)](){const _0x35ec65=_0x6fca78;return this[_0x35ec65(0x91)][_0x35ec65(0x7b)](_0x1c3828)[_0x35ec65(0x7f)](_0x338ac5['id']);}[_0x6fca78(0xa2)](){const _0x4d2012=_0x6fca78;return this[_0x4d2012(0x91)][_0x4d2012(0x7b)](_0x1c3828)['syncExecuteCommand'](_0x126a41['id']);}[_0x6fca78(0xac)](){const _0x22c199=_0x6fca78;return this[_0x22c199(0x91)]['get'](_0x1c3828)['syncExecuteCommand'](_0x3da07d['id']);}async[_0x6fca78(0x7d)](){const _0x42874c=_0x6fca78;return _0xc41696(this[_0x42874c(0x91)])?this[_0x42874c(0x91)][_0x42874c(0x7b)](_0x1c3828)[_0x42874c(0xad)](_0x1d912a['id']):!0x1;}}_0x1a1ef0[_0x6fca78(0x81)](A);class B extends _0x1526ce{[_0x6fca78(0x97)](){const _0x3b9290=_0x6fca78;return _0xc41696(this['_injector'])?this['_injector'][_0x3b9290(0x7b)](_0x51696c)[_0x3b9290(0x99)](this['_workbook'][_0x3b9290(0x8c)](),this[_0x3b9290(0x9d)][_0x3b9290(0x9e)](),this[_0x3b9290(0x8b)]):!0x1;}}_0x1526ce['extend'](B);class H{get[_0x6fca78(0x7e)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x42afbc=_0x6fca78;return _0x42afbc(0x86);}get[_0x6fca78(0xa3)](){const _0x47f29f=_0x6fca78;return _0x47f29f(0xa3);}get[_0x6fca78(0x95)](){const _0x5d59d5=_0x6fca78;return _0x5d59d5(0x95);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x6fca78(0xaf)](){const _0x4b39c2=_0x6fca78;return _0x4b39c2(0xaf);}}function _0x26dc(){const _0x322328=['11295vWCRuu','BeforeSheetPrintConfirm','PrintHeaderFooterSymbol','170xtKYiN','1990EreJVp','updatePrintConfig','_range','getUnitId','getActiveUniverSheet','6492djuRTT','5442coPSwP','registerEventHandler','_injector','3466956AFcsza','PrintFreeze','22ueqibP','SheetPrintOpen','793384lKeJup','getScreenshot','PrintScale','getRangeImage','21IxelSF','Event','300fTHruw','_worksheet','getSheetId','cancel','PrintPaperSize','_initialize','openPrintDialog','BeforeSheetPrintCanceled','PrintHeaderFooter','327007NMzWpy','getActiveSheet','fireEvent','onCommandExecuted','renderConfig','beforeCommandExecuted','print','closePrintDialog','executeCommand','1487032GaPKdj','SheetPrintCanceled','get','PrintPaperMargin','saveScreenshotToClipboard','BeforeSheetPrintOpen','syncExecuteCommand','layoutConfig','extend','PrintDirection','SheetPrintConfirmed','PrintArea'];_0x26dc=function(){return _0x322328;};return _0x26dc();}_0x1950e5[_0x6fca78(0x81)](H);class U{get[_0x6fca78(0x84)](){return _0x27dc62;}get['PrintAlign'](){return _0x3da046;}get[_0x6fca78(0xa0)](){return _0x5bed19;}get[_0x6fca78(0x7c)](){return _0x633cb;}get[_0x6fca78(0x98)](){return _0x5ee70a;}get[_0x6fca78(0x82)](){return _0x3c9a11;}get[_0x6fca78(0x93)](){return _0x5083be;}get[_0x6fca78(0xa4)](){return _0x5d8613;}get[_0x6fca78(0x87)](){return _0x869fd5;}}_0x18b796[_0x6fca78(0x81)](U);class M extends _0x1d6192{[_0x6fca78(0xa1)](_0x3dc832){const _0x22509a=_0x6fca78,_0x1dbe0b=_0x3dc832[_0x22509a(0x7b)](_0x1c3828);this[_0x22509a(0x90)](this[_0x22509a(0x9b)][_0x22509a(0x7e)],()=>_0x1dbe0b[_0x22509a(0xaa)](_0x2cd78a=>{const _0x293a86=_0x22509a;if(_0x2cd78a['id']===_0x126a41['id']){const _0x1b3a9b=this[_0x293a86(0x8d)]();if(!_0x1b3a9b)return;const _0x599558={'workbook':_0x1b3a9b,'worksheet':_0x1b3a9b[_0x293a86(0xa6)]()};if(_0x599558==null)return;if(this[_0x293a86(0xa7)](this[_0x293a86(0x9b)][_0x293a86(0x7e)],_0x599558),_0x599558[_0x293a86(0x9f)])throw new _0x230793();}})),this[_0x22509a(0x90)](this['Event'][_0x22509a(0x86)],()=>_0x1dbe0b[_0x22509a(0xaa)](_0x4f9f05=>{const _0x2acfd3=_0x22509a;if(_0x4f9f05['id']===_0x338ac5['id']){const _0x7f1fcc=_0x3dc832[_0x2acfd3(0x7b)](_0x1c2f75);if(!this[_0x2acfd3(0x8d)]())return;const _0x988a0={'layoutConfig':_0x7f1fcc['layoutConfig'],'renderConfig':_0x7f1fcc[_0x2acfd3(0xa9)]};if(_0x988a0==null)return;if(this[_0x2acfd3(0xa7)](this[_0x2acfd3(0x9b)]['BeforeSheetPrintConfirm'],_0x988a0),_0x988a0[_0x2acfd3(0x9f)])throw new _0x230793();}})),this['registerEventHandler'](this[_0x22509a(0x9b)]['BeforeSheetPrintCanceled'],()=>_0x1dbe0b[_0x22509a(0xaa)](_0x297b20=>{const _0x319be7=_0x22509a;if(_0x297b20['id']===_0x3da07d['id']){const _0x282ab2=_0x3dc832[_0x319be7(0x7b)](_0x1c2f75);if(!this['getActiveUniverSheet']())return;const _0x566a85={'layoutConfig':_0x282ab2['layoutConfig'],'renderConfig':_0x282ab2['renderConfig']};if(_0x566a85==null)return;if(this[_0x319be7(0xa7)](this[_0x319be7(0x9b)][_0x319be7(0xa3)],_0x566a85),_0x566a85[_0x319be7(0x9f)])throw new _0x230793();}})),this[_0x22509a(0x90)](this[_0x22509a(0x9b)][_0x22509a(0x95)],()=>_0x1dbe0b[_0x22509a(0xa8)](_0x1ccd81=>{const _0x55372c=_0x22509a;if(_0x1ccd81['id']===_0x126a41['id']){const _0x33e15b=this[_0x55372c(0x8d)]();if(!_0x33e15b)return;const _0x7a3b72={'workbook':_0x33e15b,'worksheet':_0x33e15b[_0x55372c(0xa6)]()};if(_0x7a3b72==null)return;this[_0x55372c(0xa7)](this[_0x55372c(0x9b)][_0x55372c(0x95)],_0x7a3b72);}})),this[_0x22509a(0x90)](this[_0x22509a(0x9b)][_0x22509a(0x83)],()=>_0x1dbe0b[_0x22509a(0xa8)](_0x5913e8=>{const _0x561c08=_0x22509a;if(_0x5913e8['id']===_0x338ac5['id']){const _0x40a6cd=_0x3dc832[_0x561c08(0x7b)](_0x1c2f75);if(!this['getActiveUniverSheet']())return;const _0x56cd38={'layoutConfig':_0x40a6cd[_0x561c08(0x80)],'renderConfig':_0x40a6cd[_0x561c08(0xa9)]};if(_0x56cd38==null)return;this[_0x561c08(0xa7)](this[_0x561c08(0x9b)][_0x561c08(0x83)],_0x56cd38);}})),this[_0x22509a(0x90)](this[_0x22509a(0x9b)]['SheetPrintCanceled'],()=>_0x1dbe0b[_0x22509a(0xa8)](_0x49ce93=>{const _0x552711=_0x22509a;if(_0x49ce93['id']===_0x3da07d['id']){const _0x4da6d1=_0x3dc832[_0x552711(0x7b)](_0x1c2f75);if(!this[_0x552711(0x8d)]())return;const _0x2db335={'layoutConfig':_0x4da6d1['layoutConfig'],'renderConfig':_0x4da6d1['renderConfig']};if(_0x2db335==null)return;this[_0x552711(0xa7)](this['Event'][_0x552711(0xaf)],_0x2db335);}}));}}_0x1d6192[_0x6fca78(0x81)](M);
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);