@univerjs-pro/sheets-print 0.13.0 → 0.14.0-insiders.20251227-b250a8d

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 +41 -41
  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 +18 -18
@@ -1 +1 @@
1
- 'use strict';const _0x5754ff=_0x3ad3;(function(_0x5672ec,_0x12163a){const _0x1a6515=_0x3ad3,_0x40ba50=_0x5672ec();while(!![]){try{const _0x136632=parseInt(_0x1a6515(0x180))/0x1+-parseInt(_0x1a6515(0x183))/0x2+parseInt(_0x1a6515(0x16a))/0x3+parseInt(_0x1a6515(0x161))/0x4*(-parseInt(_0x1a6515(0x176))/0x5)+parseInt(_0x1a6515(0x15d))/0x6*(parseInt(_0x1a6515(0x15b))/0x7)+parseInt(_0x1a6515(0x179))/0x8*(parseInt(_0x1a6515(0x14c))/0x9)+-parseInt(_0x1a6515(0x15a))/0xa;if(_0x136632===_0x12163a)break;else _0x40ba50['push'](_0x40ba50['shift']());}catch(_0x1d0977){_0x40ba50['push'](_0x40ba50['shift']());}}}(_0x80e8,0x46792));const t={'print':{'header':{'total':_0x5754ff(0x14b),'pages':'页','cancel':'取消','next':_0x5754ff(0x155),'printing':'正在打印,请勿关闭页面'},'menu':'打印','title':'打印设置','grid':{'title':_0x5754ff(0x17d),'showGrid':_0x5754ff(0x14e),'showGridLabel':_0x5754ff(0x14e),'closeAndHide':'关闭并隐藏辅助线'},'screenshot':{'title':'复制为截图','success':_0x5754ff(0x171),'fail':'图片已保存失败'},'size':{'title':'纸张大小','letter':_0x5754ff(0x175),'tabloid':_0x5754ff(0x15c),'legal':_0x5754ff(0x15e),'statement':_0x5754ff(0x16e),'executive':_0x5754ff(0x163),'folio':_0x5754ff(0x184),'a3':_0x5754ff(0x151),'a4':_0x5754ff(0x186),'a5':'A5(14.8厘米\x20x\x2021.0厘米)','b4':'B4(25.0厘米\x20x\x2035.3厘米)','b5':'B5(17.6厘米\x20x\x2025.0厘米)'},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':_0x5754ff(0x146),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x5754ff(0x158),'currentSheet':'当前工作表','workbook':_0x5754ff(0x165),'currentSelection':'已选范围','maxRowsEachPage':_0x5754ff(0x17b),'maxColumnsEachPage':_0x5754ff(0x16f),'limit':_0x5754ff(0x16b),'allSelection':'所有已选范围'},'selection':{'title':'选择','allWorkbook':'所有工作表','workbookUnit':_0x5754ff(0x145)},'scale':{'title':'缩放','normal':_0x5754ff(0x14f),'fitWidth':'适合宽度','fitHeight':_0x5754ff(0x167),'fitPage':_0x5754ff(0x154),'custom':'Custom\x20number'},'orientation':{'title':_0x5754ff(0x168),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x5754ff(0x153),'waterMark':_0x5754ff(0x162)},'align':{'title':_0x5754ff(0x150),'horizontal':{'title':_0x5754ff(0x169),'middle':'水平居中','start':_0x5754ff(0x174),'end':_0x5754ff(0x16d)},'vertical':{'title':_0x5754ff(0x159),'start':_0x5754ff(0x152),'end':_0x5754ff(0x147),'middle':'垂直居中'}},'headerFooter':{'title':_0x5754ff(0x148),'page':'页码','workbook':_0x5754ff(0x173),'sheet':'工作簿名称','date':_0x5754ff(0x178),'time':_0x5754ff(0x14d),'customHeadFooter':'自定义页眉页脚','editCustomHeadFooter':_0x5754ff(0x172),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x5754ff(0x17c),'dateA':'YYYY-MM-DD','dateB':'MM-DD','dateC':'L','dateD':_0x5754ff(0x177),'timeA':_0x5754ff(0x17f),'timeB':_0x5754ff(0x144),'timeC':'LTS','timeD':'LT','display':{'page':'页码','title':_0x5754ff(0x173),'sheet':'工作簿名称','dateA':_0x5754ff(0x156),'dateB':'日期2','dateC':_0x5754ff(0x17a),'dateD':_0x5754ff(0x149),'dateE':_0x5754ff(0x187),'dateF':_0x5754ff(0x185),'timeA':_0x5754ff(0x16c),'timeB':_0x5754ff(0x181),'timeC':_0x5754ff(0x14a),'timeD':_0x5754ff(0x170),'sheetPage':_0x5754ff(0x160),'pageTotal':_0x5754ff(0x166),'sheetPageTotal':'子表总页数'},'placeholder':'点击可添加文本','submit':'确定'},'freeze':{'title':'行标题与列标题','desc':_0x5754ff(0x164),'row':'重复冻结行','column':_0x5754ff(0x182)},'limit':{'page':_0x5754ff(0x17e),'waterMark':'Univer\x20免费版本,由\x20univer.ai\x20提供支持。','link':_0x5754ff(0x15f)}}};module[_0x5754ff(0x157)]=t;function _0x3ad3(_0x1e33ac,_0x26c100){_0x1e33ac=_0x1e33ac-0x144;const _0x80e838=_0x80e8();let _0x3ad388=_0x80e838[_0x1e33ac];return _0x3ad388;}function _0x80e8(){const _0x2cd598=['顶部对齐','网格线','适合页面大小','下一步','日期1','exports','打印范围','Vertical','1779660rqGrBF','569597Dbquzr','小报(27.9厘米\x20x\x2043.2厘米)','42zrGazi','法律专用纸(21.6厘米\x20x\x2035.6厘米)','https://univer.ai/pro','子表页码','221700HUmGvv','显示水印','行政公文纸(18.4厘米\x20x\x2026.7厘米)','转到“查看”>“冻结”可选择要在所有页面重复的行/列','工作簿','总页数','适合高度','页面方向','Horizontal','584853hcBWcD','行和列限制','时间1','右对齐','报表(14.0厘米\x20x\x2021.6厘米)','每页最大列数','时间4','图片已保存到剪贴板','编辑自定义页眉页脚','工作簿标题','左对齐','信纸(21.6厘米\x20x\x2027.9厘米)','30koxjYc','MM月DD日','当前日期','152UnZuMO','日期3','每页最大行数','日期格式','打印布局','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','HH:mm:ss','213181OCiPKg','时间2','重复冻结列','572152QpTbbR','对折纸(21.6厘米\x20x\x2033.0厘米)','日期6','A4(21.0厘米\x20x\x2029.7厘米)','日期5','HH:mm','张工作表','自定义页边距','底部对齐','页眉和页脚','日期4','时间3','打印页数:','50931UKdBlc','当前时间','显示分页辅助线','正常\x20(100%)','对齐方式','A3(29.7厘米\x20x\x2042.0厘米)'];_0x80e8=function(){return _0x2cd598;};return _0x80e8();}
1
+ 'use strict';const _0x415156=_0xa8c6;(function(_0x3a96ec,_0x4f2504){const _0x3a715c=_0xa8c6,_0x2463ae=_0x3a96ec();while(!![]){try{const _0x15e362=-parseInt(_0x3a715c(0xf8))/0x1*(parseInt(_0x3a715c(0xfb))/0x2)+-parseInt(_0x3a715c(0xc7))/0x3+parseInt(_0x3a715c(0xeb))/0x4*(parseInt(_0x3a715c(0xd6))/0x5)+parseInt(_0x3a715c(0xe0))/0x6*(parseInt(_0x3a715c(0xdb))/0x7)+parseInt(_0x3a715c(0xc5))/0x8*(-parseInt(_0x3a715c(0xea))/0x9)+-parseInt(_0x3a715c(0xf5))/0xa*(-parseInt(_0x3a715c(0xdf))/0xb)+parseInt(_0x3a715c(0xde))/0xc*(parseInt(_0x3a715c(0xbf))/0xd);if(_0x15e362===_0x4f2504)break;else _0x2463ae['push'](_0x2463ae['shift']());}catch(_0x1035c9){_0x2463ae['push'](_0x2463ae['shift']());}}}(_0x52ec,0x6b790));function _0xa8c6(_0x4c614e,_0x5ed51a){_0x4c614e=_0x4c614e-0xb5;const _0x52ecc2=_0x52ec();let _0xa8c6c8=_0x52ecc2[_0x4c614e];return _0xa8c6c8;}const t={'print':{'header':{'total':'打印页数:','pages':'页','cancel':'取消','next':_0x415156(0xe1),'printing':'正在打印,请勿关闭页面'},'menu':'打印','title':_0x415156(0xd4),'grid':{'title':_0x415156(0xbd),'showGrid':_0x415156(0xd2),'showGridLabel':'显示分页辅助线','closeAndHide':_0x415156(0xc4)},'screenshot':{'title':_0x415156(0xe3),'success':_0x415156(0xcb),'fail':_0x415156(0xe4)},'size':{'title':_0x415156(0xb6),'letter':'信纸(21.6厘米\x20x\x2027.9厘米)','tabloid':'小报(27.9厘米\x20x\x2043.2厘米)','legal':'法律专用纸(21.6厘米\x20x\x2035.6厘米)','statement':'报表(14.0厘米\x20x\x2021.6厘米)','executive':_0x415156(0xd0),'folio':_0x415156(0xcf),'a3':_0x415156(0xba),'a4':_0x415156(0xf4),'a5':_0x415156(0xdd),'b4':'B4(25.0厘米\x20x\x2035.3厘米)','b5':_0x415156(0xd8)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':_0x415156(0xce),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'打印范围','currentSheet':_0x415156(0xbe),'workbook':_0x415156(0xc2),'currentSelection':_0x415156(0xef),'maxRowsEachPage':_0x415156(0xf2),'maxColumnsEachPage':_0x415156(0xe8),'limit':_0x415156(0xc3),'allSelection':_0x415156(0xfa)},'selection':{'title':'选择','allWorkbook':_0x415156(0xf1),'workbookUnit':'张工作表'},'scale':{'title':'缩放','normal':'正常\x20(100%)','fitWidth':'适合宽度','fitHeight':'适合高度','fitPage':'适合页面大小','custom':'Custom\x20number'},'orientation':{'title':_0x415156(0xee),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x415156(0xcd),'waterMark':_0x415156(0xda)},'align':{'title':'对齐方式','horizontal':{'title':'Horizontal','middle':_0x415156(0xe5),'start':_0x415156(0xdc),'end':_0x415156(0xb7)},'vertical':{'title':'Vertical','start':_0x415156(0xf0),'end':_0x415156(0xb9),'middle':_0x415156(0xb8)}},'headerFooter':{'title':_0x415156(0xe2),'page':'页码','workbook':_0x415156(0xcc),'sheet':_0x415156(0xbc),'date':'当前日期','time':_0x415156(0xbb),'customHeadFooter':'自定义页眉页脚','editCustomHeadFooter':_0x415156(0xe6),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':'日期格式','dateA':'YYYY-MM-DD','dateB':_0x415156(0xd1),'dateC':'L','dateD':_0x415156(0xf6),'timeA':'HH:mm:ss','timeB':_0x415156(0xc1),'timeC':_0x415156(0xd5),'timeD':'LT','display':{'page':'页码','title':_0x415156(0xcc),'sheet':'工作簿名称','dateA':_0x415156(0xf3),'dateB':_0x415156(0xd9),'dateC':_0x415156(0xd7),'dateD':'日期4','dateE':_0x415156(0xd3),'dateF':'日期6','timeA':_0x415156(0xf9),'timeB':'时间2','timeC':_0x415156(0xc8),'timeD':'时间4','sheetPage':'子表页码','pageTotal':_0x415156(0xca),'sheetPageTotal':_0x415156(0xc9)},'placeholder':_0x415156(0xec),'submit':'确定'},'freeze':{'title':_0x415156(0xb5),'desc':_0x415156(0xc0),'row':_0x415156(0xe9),'column':_0x415156(0xed)},'limit':{'page':_0x415156(0xf7),'waterMark':_0x415156(0xc6),'link':_0x415156(0xe7)}}};function _0x52ec(){const _0x66b4dd=['左对齐','A5(14.8厘米\x20x\x2021.0厘米)','60YIiOhD','110qZzids','383694eCmGOE','下一步','页眉和页脚','复制为截图','图片已保存失败','水平居中','编辑自定义页眉页脚','https://univer.ai/pro','每页最大列数','重复冻结行','27emGbWQ','2096hoZKzM','点击可添加文本','重复冻结列','页面方向','已选范围','顶部对齐','所有工作表','每页最大行数','日期1','A4(21.0厘米\x20x\x2029.7厘米)','780880qEhbdy','MM月DD日','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','1SRRymj','时间1','所有已选范围','93286waAJpX','行标题与列标题','纸张大小','右对齐','垂直居中','底部对齐','A3(29.7厘米\x20x\x2042.0厘米)','当前时间','工作簿名称','打印布局','当前工作表','676325zNioME','转到“查看”>“冻结”可选择要在所有页面重复的行/列','HH:mm','工作簿','行和列限制','关闭并隐藏辅助线','1743080MyYakU','Univer\x20免费版本,由\x20univer.ai\x20提供支持。','2058366AnMBmt','时间3','子表总页数','总页数','图片已保存到剪贴板','工作簿标题','网格线','自定义页边距','对折纸(21.6厘米\x20x\x2033.0厘米)','行政公文纸(18.4厘米\x20x\x2026.7厘米)','MM-DD','显示分页辅助线','日期5','打印设置','LTS','3225VsIlzZ','日期3','B5(17.6厘米\x20x\x2025.0厘米)','日期2','显示水印','49DHADHZ'];_0x52ec=function(){return _0x66b4dd;};return _0x52ec();}module['exports']=t;
@@ -1 +1 @@
1
- 'use strict';function _0x1cfa(_0x3bb899,_0x4395db){_0x3bb899=_0x3bb899-0x98;const _0x29eeb0=_0x29ee();let _0x1cfa77=_0x29eeb0[_0x3bb899];return _0x1cfa77;}const _0x1f4200=_0x1cfa;(function(_0x4fcaeb,_0x2c71d3){const _0x3755cd=_0x1cfa,_0x347afa=_0x4fcaeb();while(!![]){try{const _0x542153=-parseInt(_0x3755cd(0xc1))/0x1+-parseInt(_0x3755cd(0xab))/0x2*(-parseInt(_0x3755cd(0xa0))/0x3)+-parseInt(_0x3755cd(0xba))/0x4*(parseInt(_0x3755cd(0xa5))/0x5)+parseInt(_0x3755cd(0xb7))/0x6*(parseInt(_0x3755cd(0xca))/0x7)+parseInt(_0x3755cd(0xa7))/0x8+-parseInt(_0x3755cd(0x9b))/0x9*(parseInt(_0x3755cd(0xa8))/0xa)+parseInt(_0x3755cd(0xc3))/0xb*(parseInt(_0x3755cd(0xc8))/0xc);if(_0x542153===_0x2c71d3)break;else _0x347afa['push'](_0x347afa['shift']());}catch(_0x28ba0a){_0x347afa['push'](_0x347afa['shift']());}}}(_0x29ee,0x3128f));function _0x29ee(){const _0x19cd7c=['日期D','自訂頁首/頁尾','活頁簿','目前時間','Tabloid\x20(11\x22\x20x\x2017\x22)','時間D','hh:mm','調整至頁面大小','目前日期','頁首和頁尾','工作表頁碼','575502nGwjJu','圖片已成功複製到剪貼簿!','紙張大小','1036fucRWn','目前工作表','YYYY-MM-DD','顯示分頁線','已選取的儲存格','Statement\x20(5.5\x22\x20x\x208.5\x22)','日期F','387162RSChBi','日期E','1705WzvLYd','標準\x20(100%)','複製為圖片','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','格式設定','23892LgdRwS','時間B','7uTnQwE','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','日期C','工作表總頁數','選取範圍','活頁簿標題','A4\x20(8.27\x22\x20x\x2011.69\x22)','總頁數','B5\x20(6.93\x22\x20x\x209.84\x22)','時間A','總計:','B4\x20(9.84\x22\x20x\x2013.90\x22)','HH:mm','Legal\x20(8.5\x22\x20x\x2014\x22)','列印版面配置','編輯自訂頁首/頁尾','工作表名稱','MM-DD','每頁最大欄數','時間C','A5\x20(5.83\x22\x20x\x208.27\x22)','關閉並隱藏分頁線','下一步','水平對齊','Folio\x20(8.5\x22\x20x\x2013\x22)','9kmQGsb','顯示浮水印','日期B','Letter\x20(8.5\x22\x20x\x2011\x22)','MM/DD','22839JzYWlm','https://univer.ai/pro','Executive\x20(7.25\x22\x20x\x2010.5\x22)','重複凍結的欄','所有工作表','3945sgMdaq','調整至頁面高度','3213840BEVktm','2950610NtXlGX','日期格式','點擊以新增文字','74UhPkLu'];_0x29ee=function(){return _0x19cd7c;};return _0x29ee();}const e={'print':{'header':{'total':_0x1f4200(0xd4),'pages':'頁','cancel':'取消','next':_0x1f4200(0x98),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x1f4200(0xd8),'showGrid':'顯示分頁符號','showGridLabel':_0x1f4200(0xbd),'closeAndHide':_0x1f4200(0xdf)},'screenshot':{'title':_0x1f4200(0xc5),'success':_0x1f4200(0xb8),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x1f4200(0xb9),'letter':_0x1f4200(0x9e),'tabloid':_0x1f4200(0xb0),'legal':_0x1f4200(0xd7),'statement':_0x1f4200(0xbf),'executive':_0x1f4200(0xa2),'folio':_0x1f4200(0x9a),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x1f4200(0xd0),'a5':_0x1f4200(0xde),'b4':_0x1f4200(0xd5),'b5':_0x1f4200(0xd2)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x1f4200(0xbb),'workbook':_0x1f4200(0xae),'currentSelection':_0x1f4200(0xbe),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x1f4200(0xdc),'limit':'列與欄限制','allSelection':'所有選取的儲存格'},'selection':{'title':_0x1f4200(0xce),'allWorkbook':_0x1f4200(0xa4),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x1f4200(0xc4),'fitWidth':'調整至頁面寬度','fitHeight':_0x1f4200(0xa6),'fitPage':_0x1f4200(0xb3),'custom':'自訂比例'},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x1f4200(0xc7),'skeleton':'顯示格線','waterMark':_0x1f4200(0x9c)},'align':{'title':'對齊','horizontal':{'title':_0x1f4200(0x99),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x1f4200(0xb5),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x1f4200(0xda),'date':_0x1f4200(0xb4),'time':_0x1f4200(0xaf),'customHeadFooter':_0x1f4200(0xad),'editCustomHeadFooter':_0x1f4200(0xd9),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x1f4200(0xa9),'dateA':_0x1f4200(0xbc),'dateB':_0x1f4200(0xdb),'dateC':'L','dateD':_0x1f4200(0x9f),'timeA':'HH:mm:ss','timeB':_0x1f4200(0xd6),'timeC':'hh:mm:ss','timeD':_0x1f4200(0xb2),'display':{'page':'頁碼','title':_0x1f4200(0xcf),'sheet':_0x1f4200(0xda),'dateA':'日期A','dateB':_0x1f4200(0x9d),'dateC':_0x1f4200(0xcc),'dateD':_0x1f4200(0xac),'dateE':_0x1f4200(0xc2),'dateF':_0x1f4200(0xc0),'timeA':_0x1f4200(0xd3),'timeB':_0x1f4200(0xc9),'timeC':_0x1f4200(0xdd),'timeD':_0x1f4200(0xb1),'sheetPage':_0x1f4200(0xb6),'pageTotal':_0x1f4200(0xd1),'sheetPageTotal':_0x1f4200(0xcd)},'placeholder':_0x1f4200(0xaa),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':'重複凍結的列','column':_0x1f4200(0xa3)},'limit':{'page':_0x1f4200(0xcb),'waterMark':_0x1f4200(0xc6),'link':_0x1f4200(0xa1)}}};module['exports']=e;
1
+ 'use strict';function _0x3d66(_0xfe5ef8,_0x2d354a){_0xfe5ef8=_0xfe5ef8-0x173;const _0x3fc22c=_0x3fc2();let _0x3d669f=_0x3fc22c[_0xfe5ef8];return _0x3d669f;}const _0x28f4f2=_0x3d66;(function(_0x1b932f,_0x16a1cd){const _0x513c25=_0x3d66,_0x52ac32=_0x1b932f();while(!![]){try{const _0x144b10=parseInt(_0x513c25(0x1a0))/0x1*(-parseInt(_0x513c25(0x195))/0x2)+-parseInt(_0x513c25(0x186))/0x3+-parseInt(_0x513c25(0x197))/0x4*(-parseInt(_0x513c25(0x1ad))/0x5)+parseInt(_0x513c25(0x177))/0x6*(-parseInt(_0x513c25(0x189))/0x7)+parseInt(_0x513c25(0x1b2))/0x8*(-parseInt(_0x513c25(0x1b8))/0x9)+parseInt(_0x513c25(0x181))/0xa+parseInt(_0x513c25(0x1b4))/0xb*(parseInt(_0x513c25(0x19b))/0xc);if(_0x144b10===_0x16a1cd)break;else _0x52ac32['push'](_0x52ac32['shift']());}catch(_0x4d913c){_0x52ac32['push'](_0x52ac32['shift']());}}}(_0x3fc2,0xe725f));function _0x3fc2(){const _0x530ca2=['Folio\x20(8.5\x22\x20x\x2013\x22)','exports','1236bXbKJH','關閉並隱藏分頁線','Executive\x20(7.25\x22\x20x\x2010.5\x22)','列與欄限制','標準\x20(100%)','1bcJdtv','紙張大小','重複凍結的列','HH:mm:ss','圖片已成功複製到剪貼簿!','活頁簿','時間C','列印中,請勿關閉頁面','B4\x20(9.84\x22\x20x\x2013.90\x22)','列與欄標題','已選取的儲存格','日期D','工作表總頁數','1586240DlqApX','重複凍結的欄','所有工作表','頁面方向','Legal\x20(8.5\x22\x20x\x2014\x22)','92256xQtAqh','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','370579aKFCoE','格式設定','工作表頁碼','日期E','72PvYgVW','日期C','時間B','每頁最大欄數','日期格式','總計:','30EhFcXZ','A4\x20(8.27\x22\x20x\x2011.69\x22)','所有選取的儲存格','顯示浮水印','編輯自訂頁首/頁尾','工作表名稱','複製為圖片','時間D','目前日期','HH:mm','9238770ugXevg','顯示分頁符號','A3\x20(11.69\x22\x20x\x2016.54\x22)','目前時間','自訂頁首/頁尾','5468346OzdmHs','自訂比例','自訂义頁邊距','1378692GWDVyw','選取範圍','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','Statement\x20(5.5\x22\x20x\x208.5\x22)','日期A','日期B','目前工作表','下一步','頁首和頁尾','日期F','MM/DD','調整至頁面寬度','3632470RnPyci','總頁數','16faWEah','Tabloid\x20(11\x22\x20x\x2017\x22)'];_0x3fc2=function(){return _0x530ca2;};return _0x3fc2();}const e={'print':{'header':{'total':_0x28f4f2(0x176),'pages':'頁','cancel':'取消','next':_0x28f4f2(0x190),'printing':_0x28f4f2(0x1a7)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x28f4f2(0x182),'showGridLabel':'顯示分頁線','closeAndHide':_0x28f4f2(0x19c)},'screenshot':{'title':_0x28f4f2(0x17d),'success':_0x28f4f2(0x1a4),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x28f4f2(0x1a1),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x28f4f2(0x198),'legal':_0x28f4f2(0x1b1),'statement':_0x28f4f2(0x18c),'executive':_0x28f4f2(0x19d),'folio':_0x28f4f2(0x199),'a3':_0x28f4f2(0x183),'a4':_0x28f4f2(0x178),'a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':_0x28f4f2(0x1a8),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x28f4f2(0x188),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x28f4f2(0x18f),'workbook':_0x28f4f2(0x1a5),'currentSelection':_0x28f4f2(0x1aa),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x28f4f2(0x174),'limit':_0x28f4f2(0x19e),'allSelection':_0x28f4f2(0x179)},'selection':{'title':_0x28f4f2(0x18a),'allWorkbook':_0x28f4f2(0x1af),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x28f4f2(0x19f),'fitWidth':_0x28f4f2(0x194),'fitHeight':'調整至頁面高度','fitPage':'調整至頁面大小','custom':_0x28f4f2(0x187)},'orientation':{'title':_0x28f4f2(0x1b0),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x28f4f2(0x1b5),'skeleton':'顯示格線','waterMark':_0x28f4f2(0x17a)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x28f4f2(0x191),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x28f4f2(0x17c),'date':_0x28f4f2(0x17f),'time':_0x28f4f2(0x184),'customHeadFooter':_0x28f4f2(0x185),'editCustomHeadFooter':_0x28f4f2(0x17b),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x28f4f2(0x175),'dateA':'YYYY-MM-DD','dateB':'MM-DD','dateC':'L','dateD':_0x28f4f2(0x193),'timeA':_0x28f4f2(0x1a3),'timeB':_0x28f4f2(0x180),'timeC':'hh:mm:ss','timeD':'hh:mm','display':{'page':'頁碼','title':'活頁簿標題','sheet':_0x28f4f2(0x17c),'dateA':_0x28f4f2(0x18d),'dateB':_0x28f4f2(0x18e),'dateC':_0x28f4f2(0x1b9),'dateD':_0x28f4f2(0x1ab),'dateE':_0x28f4f2(0x1b7),'dateF':_0x28f4f2(0x192),'timeA':'時間A','timeB':_0x28f4f2(0x173),'timeC':_0x28f4f2(0x1a6),'timeD':_0x28f4f2(0x17e),'sheetPage':_0x28f4f2(0x1b6),'pageTotal':_0x28f4f2(0x196),'sheetPageTotal':_0x28f4f2(0x1ac)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x28f4f2(0x1a9),'desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':_0x28f4f2(0x1a2),'column':_0x28f4f2(0x1ae)},'limit':{'page':_0x28f4f2(0x18b),'waterMark':_0x28f4f2(0x1b3),'link':'https://univer.ai/pro'}}};module[_0x28f4f2(0x19a)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x40dd7c=_0x3c67;(function(_0x4b95d7,_0x35f04e){const _0x224266=_0x3c67,_0x5c2c42=_0x4b95d7();while(!![]){try{const _0xb0baa1=-parseInt(_0x224266(0x1c7))/0x1*(-parseInt(_0x224266(0x1bc))/0x2)+parseInt(_0x224266(0x1c2))/0x3*(-parseInt(_0x224266(0x1e2))/0x4)+-parseInt(_0x224266(0x1df))/0x5+parseInt(_0x224266(0x1d4))/0x6*(parseInt(_0x224266(0x1b8))/0x7)+parseInt(_0x224266(0x1c6))/0x8*(-parseInt(_0x224266(0x1bf))/0x9)+-parseInt(_0x224266(0x1c8))/0xa+-parseInt(_0x224266(0x1d8))/0xb*(-parseInt(_0x224266(0x1dd))/0xc);if(_0xb0baa1===_0x35f04e)break;else _0x5c2c42['push'](_0x5c2c42['shift']());}catch(_0xa2b4b0){_0x5c2c42['push'](_0x5c2c42['shift']());}}}(_0x5e93,0xdabb0));import{ISheetPrintManagerService as _0x2aaf68,ConfirmSheetPrintOperation as _0x4eea5e,SheetPrintOpenOperation as _0xe382fd,CancelSheetPrintOperation as _0x3275c8,hasPrintFacadePermission as _0x25689b,SheetScreenShotOperation as _0x5f47f0,SheetPrintClientService as _0x91bf48,PrintArea as _0x1dcfd7,PrintFreeze as _0x35e83a,PrintHeaderFooter as _0x48aba4,PrintHeaderFooterSymbol as _0x3aca51}from'@univerjs-pro/sheets-print';import{ICommandService as _0x5cb157,PaperType as _0x47f4b5,CanceledError as _0x4d45ba}from'@univerjs/core';import{FWorkbook as _0x26f48e,FRange as _0x46d45a}from'@univerjs/sheets/facade';import{FEventName as _0x17a028,FEnum as _0xf161b8,FUniver as _0x3c0547}from'@univerjs/core/facade';import{PrintAlign as _0x4aad69,PrintPaperMargin as _0x46be27,PrintScale as _0x12a20b,PrintDirection as _0x40c19f}from'@univerjs-pro/print';class A extends _0x26f48e{[_0x40dd7c(0x1b5)](_0xfc6a73){const _0x10dae6=_0x40dd7c;return this[_0x10dae6(0x1be)][_0x10dae6(0x1c1)](_0x2aaf68)[_0x10dae6(0x1cb)](_0xfc6a73),this;}[_0x40dd7c(0x1c4)](_0x3a0ec2){const _0x5b49da=_0x40dd7c;return this[_0x5b49da(0x1be)][_0x5b49da(0x1c1)](_0x2aaf68)[_0x5b49da(0x1da)](_0x3a0ec2),this;}['print'](){const _0x352fa9=_0x40dd7c;return this[_0x352fa9(0x1be)][_0x352fa9(0x1c1)](_0x5cb157)[_0x352fa9(0x1c3)](_0x4eea5e['id']);}[_0x40dd7c(0x1c5)](){const _0x2f49b2=_0x40dd7c;return this[_0x2f49b2(0x1be)][_0x2f49b2(0x1c1)](_0x5cb157)[_0x2f49b2(0x1c3)](_0xe382fd['id']);}['closePrintDialog'](){const _0x575c20=_0x40dd7c;return this[_0x575c20(0x1be)][_0x575c20(0x1c1)](_0x5cb157)[_0x575c20(0x1c3)](_0x3275c8['id']);}async['saveScreenshotToClipboard'](){const _0x2ad23a=_0x40dd7c;return _0x25689b(this[_0x2ad23a(0x1be)])?this[_0x2ad23a(0x1be)][_0x2ad23a(0x1c1)](_0x5cb157)[_0x2ad23a(0x1d9)](_0x5f47f0['id']):!0x1;}}_0x26f48e['extend'](A);function _0x3c67(_0x10aa0f,_0x14c126){_0x10aa0f=_0x10aa0f-0x1b4;const _0x5e933a=_0x5e93();let _0x3c67ed=_0x5e933a[_0x10aa0f];return _0x3c67ed;}class B extends _0x46d45a{[_0x40dd7c(0x1b7)](){const _0x45378a=_0x40dd7c;return _0x25689b(this[_0x45378a(0x1be)])?this[_0x45378a(0x1be)][_0x45378a(0x1c1)](_0x91bf48)[_0x45378a(0x1de)](this[_0x45378a(0x1d0)][_0x45378a(0x1b9)](),this[_0x45378a(0x1c0)]['getSheetId'](),this['_range']):!0x1;}}_0x46d45a[_0x40dd7c(0x1e5)](B);class H{get[_0x40dd7c(0x1bb)](){const _0x4a5089=_0x40dd7c;return _0x4a5089(0x1bb);}get[_0x40dd7c(0x1b6)](){const _0x480cd5=_0x40dd7c;return _0x480cd5(0x1b6);}get[_0x40dd7c(0x1bd)](){return'BeforeSheetPrintCanceled';}get[_0x40dd7c(0x1d5)](){const _0x2a9b5f=_0x40dd7c;return _0x2a9b5f(0x1d5);}get[_0x40dd7c(0x1d7)](){const _0x40a456=_0x40dd7c;return _0x40a456(0x1d7);}get[_0x40dd7c(0x1ce)](){const _0x890b48=_0x40dd7c;return _0x890b48(0x1ce);}}_0x17a028['extend'](H);function _0x5e93(){const _0x1689d4=['132gznuZU','SheetPrintOpen','PrintDirection','SheetPrintConfirmed','14804053hHuXDM','executeCommand','updateRenderConfig','cancel','Event','36woxQaP','getRangeImage','2562345wbuTrh','renderConfig','getActiveSheet','4RBzsTb','registerEventHandler','getActiveUniverSheet','extend','PrintAlign','updatePrintConfig','BeforeSheetPrintConfirm','getScreenshot','40201cQQxMF','getUnitId','_initialize','BeforeSheetPrintOpen','201554rUPYCJ','BeforeSheetPrintCanceled','_injector','1152UBFXxR','_worksheet','get','1327749VlgJTp','syncExecuteCommand','updatePrintRenderConfig','openPrintDialog','104144vCzjEt','1NotjgX','7473160wLmffw','onCommandExecuted','layoutConfig','updateLayoutConfig','PrintHeaderFooterSymbol','PrintScale','SheetPrintCanceled','fireEvent','_workbook','PrintHeaderFooter','beforeCommandExecuted','PrintArea'];_0x5e93=function(){return _0x1689d4;};return _0x5e93();}class U{get[_0x40dd7c(0x1d3)](){return _0x1dcfd7;}get[_0x40dd7c(0x1b4)](){return _0x4aad69;}get['PrintPaperSize'](){return _0x47f4b5;}get['PrintPaperMargin'](){return _0x46be27;}get[_0x40dd7c(0x1cd)](){return _0x12a20b;}get[_0x40dd7c(0x1d6)](){return _0x40c19f;}get['PrintFreeze'](){return _0x35e83a;}get[_0x40dd7c(0x1d1)](){return _0x48aba4;}get[_0x40dd7c(0x1cc)](){return _0x3aca51;}}_0xf161b8[_0x40dd7c(0x1e5)](U);class M extends _0x3c0547{[_0x40dd7c(0x1ba)](_0x2e32ad){const _0x1aa725=_0x40dd7c,_0x18e36c=_0x2e32ad['get'](_0x5cb157);this[_0x1aa725(0x1e3)](this[_0x1aa725(0x1dc)][_0x1aa725(0x1bb)],()=>_0x18e36c[_0x1aa725(0x1d2)](_0x452c13=>{const _0x43ffd9=_0x1aa725;if(_0x452c13['id']===_0xe382fd['id']){const _0x3aa44d=this[_0x43ffd9(0x1e4)]();if(!_0x3aa44d)return;const _0x3ff9ca={'workbook':_0x3aa44d,'worksheet':_0x3aa44d[_0x43ffd9(0x1e1)]()};if(_0x3ff9ca==null)return;if(this['fireEvent'](this[_0x43ffd9(0x1dc)]['BeforeSheetPrintOpen'],_0x3ff9ca),_0x3ff9ca[_0x43ffd9(0x1db)])throw new _0x4d45ba();}})),this[_0x1aa725(0x1e3)](this['Event'][_0x1aa725(0x1b6)],()=>_0x18e36c[_0x1aa725(0x1d2)](_0x4752c4=>{const _0x329794=_0x1aa725;if(_0x4752c4['id']===_0x4eea5e['id']){const _0x3d2364=_0x2e32ad['get'](_0x2aaf68);if(!this[_0x329794(0x1e4)]())return;const _0x355261={'layoutConfig':_0x3d2364[_0x329794(0x1ca)],'renderConfig':_0x3d2364[_0x329794(0x1e0)]};if(_0x355261==null)return;if(this[_0x329794(0x1cf)](this['Event'][_0x329794(0x1b6)],_0x355261),_0x355261[_0x329794(0x1db)])throw new _0x4d45ba();}})),this[_0x1aa725(0x1e3)](this[_0x1aa725(0x1dc)][_0x1aa725(0x1bd)],()=>_0x18e36c[_0x1aa725(0x1d2)](_0xc48481=>{const _0x5c7349=_0x1aa725;if(_0xc48481['id']===_0x3275c8['id']){const _0x589155=_0x2e32ad[_0x5c7349(0x1c1)](_0x2aaf68);if(!this[_0x5c7349(0x1e4)]())return;const _0x2e0d89={'layoutConfig':_0x589155[_0x5c7349(0x1ca)],'renderConfig':_0x589155[_0x5c7349(0x1e0)]};if(_0x2e0d89==null)return;if(this[_0x5c7349(0x1cf)](this['Event'][_0x5c7349(0x1bd)],_0x2e0d89),_0x2e0d89[_0x5c7349(0x1db)])throw new _0x4d45ba();}})),this['registerEventHandler'](this[_0x1aa725(0x1dc)]['SheetPrintOpen'],()=>_0x18e36c[_0x1aa725(0x1c9)](_0x31e7f9=>{const _0x19506d=_0x1aa725;if(_0x31e7f9['id']===_0xe382fd['id']){const _0x406655=this['getActiveUniverSheet']();if(!_0x406655)return;const _0x25f4a7={'workbook':_0x406655,'worksheet':_0x406655[_0x19506d(0x1e1)]()};if(_0x25f4a7==null)return;this[_0x19506d(0x1cf)](this[_0x19506d(0x1dc)][_0x19506d(0x1d5)],_0x25f4a7);}})),this['registerEventHandler'](this[_0x1aa725(0x1dc)][_0x1aa725(0x1d7)],()=>_0x18e36c[_0x1aa725(0x1c9)](_0x4ffbce=>{const _0x3f7134=_0x1aa725;if(_0x4ffbce['id']===_0x4eea5e['id']){const _0x41b5b7=_0x2e32ad[_0x3f7134(0x1c1)](_0x2aaf68);if(!this[_0x3f7134(0x1e4)]())return;const _0x4bb054={'layoutConfig':_0x41b5b7[_0x3f7134(0x1ca)],'renderConfig':_0x41b5b7[_0x3f7134(0x1e0)]};if(_0x4bb054==null)return;this[_0x3f7134(0x1cf)](this[_0x3f7134(0x1dc)]['SheetPrintConfirmed'],_0x4bb054);}})),this[_0x1aa725(0x1e3)](this[_0x1aa725(0x1dc)][_0x1aa725(0x1ce)],()=>_0x18e36c[_0x1aa725(0x1c9)](_0x2b75dd=>{const _0x543c01=_0x1aa725;if(_0x2b75dd['id']===_0x3275c8['id']){const _0x4d8eb4=_0x2e32ad[_0x543c01(0x1c1)](_0x2aaf68);if(!this['getActiveUniverSheet']())return;const _0x5c6017={'layoutConfig':_0x4d8eb4[_0x543c01(0x1ca)],'renderConfig':_0x4d8eb4[_0x543c01(0x1e0)]};if(_0x5c6017==null)return;this['fireEvent'](this['Event'][_0x543c01(0x1ce)],_0x5c6017);}}));}}_0x3c0547[_0x40dd7c(0x1e5)](M);
1
+ const _0x4e437b=_0x4eb0;(function(_0x47d25f,_0x44a596){const _0x5c8628=_0x4eb0,_0xfadee9=_0x47d25f();while(!![]){try{const _0x55f328=parseInt(_0x5c8628(0x1ae))/0x1*(parseInt(_0x5c8628(0x1c5))/0x2)+-parseInt(_0x5c8628(0x197))/0x3*(parseInt(_0x5c8628(0x1c0))/0x4)+parseInt(_0x5c8628(0x1a2))/0x5*(parseInt(_0x5c8628(0x1b1))/0x6)+-parseInt(_0x5c8628(0x1a4))/0x7+parseInt(_0x5c8628(0x1be))/0x8+parseInt(_0x5c8628(0x1a1))/0x9*(parseInt(_0x5c8628(0x1c3))/0xa)+-parseInt(_0x5c8628(0x1af))/0xb*(parseInt(_0x5c8628(0x19c))/0xc);if(_0x55f328===_0x44a596)break;else _0xfadee9['push'](_0xfadee9['shift']());}catch(_0x45beec){_0xfadee9['push'](_0xfadee9['shift']());}}}(_0x1cc2,0x47e62));import{ISheetPrintManagerService as _0x10f39d,ConfirmSheetPrintOperation as _0x193289,SheetPrintOpenOperation as _0x1cd345,CancelSheetPrintOperation as _0x43a62c,hasPrintFacadePermission as _0x2f083a,SheetScreenShotOperation as _0x12c281,SheetPrintClientService as _0xe597da,PrintArea as _0x1a7383,PrintFreeze as _0x3e7a58,PrintHeaderFooter as _0x1c04fe,PrintHeaderFooterSymbol as _0x14910a}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2692da,PaperType as _0x5d73a8,CanceledError as _0x5c909e}from'@univerjs/core';import{FWorkbook as _0x2ecdce,FRange as _0x5b69a5}from'@univerjs/sheets/facade';import{FEventName as _0x1434e5,FEnum as _0x251bb3,FUniver as _0x23577d}from'@univerjs/core/facade';import{PrintAlign as _0x426155,PrintPaperMargin as _0x4468cd,PrintScale as _0x3f0645,PrintDirection as _0x5d56d7}from'@univerjs-pro/print';function _0x1cc2(){const _0x4ec9a7=['getSheetId','_initialize','executeCommand','print','beforeCommandExecuted','layoutConfig','BeforeSheetPrintConfirm','90631qFPLwO','1837PFuVvD','_worksheet','6QICkNC','SheetPrintCanceled','onCommandExecuted','SheetPrintOpen','PrintAlign','PrintFreeze','getActiveUniverSheet','PrintScale','syncExecuteCommand','registerEventHandler','_workbook','Event','closePrintDialog','3006272evlvpP','get','448ypxlmT','fireEvent','getScreenshot','310220cLmdhw','getActiveSheet','2EMebSa','renderConfig','PrintArea','updatePrintRenderConfig','339LUfMAW','extend','cancel','BeforeSheetPrintOpen','saveScreenshotToClipboard','55884QRaVhD','updatePrintConfig','SheetPrintConfirmed','PrintHeaderFooterSymbol','PrintPaperSize','126TTQpME','1456435LKAiIM','_injector','749959biIyTR','BeforeSheetPrintCanceled','openPrintDialog'];_0x1cc2=function(){return _0x4ec9a7;};return _0x1cc2();}class A extends _0x2ecdce{[_0x4e437b(0x19d)](_0x1193b6){const _0x160367=_0x4e437b;return this[_0x160367(0x1a3)][_0x160367(0x1bf)](_0x10f39d)['updateLayoutConfig'](_0x1193b6),this;}[_0x4e437b(0x196)](_0x37506b){const _0x40a0a2=_0x4e437b;return this[_0x40a0a2(0x1a3)][_0x40a0a2(0x1bf)](_0x10f39d)['updateRenderConfig'](_0x37506b),this;}[_0x4e437b(0x1aa)](){const _0x4b00a4=_0x4e437b;return this['_injector'][_0x4b00a4(0x1bf)](_0x2692da)['syncExecuteCommand'](_0x193289['id']);}[_0x4e437b(0x1a6)](){const _0x2bbd91=_0x4e437b;return this[_0x2bbd91(0x1a3)][_0x2bbd91(0x1bf)](_0x2692da)[_0x2bbd91(0x1b9)](_0x1cd345['id']);}[_0x4e437b(0x1bd)](){return this['_injector']['get'](_0x2692da)['syncExecuteCommand'](_0x43a62c['id']);}async[_0x4e437b(0x19b)](){const _0xc35523=_0x4e437b;return _0x2f083a(this[_0xc35523(0x1a3)])?this[_0xc35523(0x1a3)][_0xc35523(0x1bf)](_0x2692da)[_0xc35523(0x1a9)](_0x12c281['id']):!0x1;}}_0x2ecdce['extend'](A);class B extends _0x5b69a5{[_0x4e437b(0x1c2)](){const _0x5cc95b=_0x4e437b;return _0x2f083a(this[_0x5cc95b(0x1a3)])?this['_injector']['get'](_0xe597da)['getRangeImage'](this[_0x5cc95b(0x1bb)]['getUnitId'](),this[_0x5cc95b(0x1b0)][_0x5cc95b(0x1a7)](),this['_range']):!0x1;}}function _0x4eb0(_0x112b40,_0x66b4fd){_0x112b40=_0x112b40-0x196;const _0x1cc200=_0x1cc2();let _0x4eb029=_0x1cc200[_0x112b40];return _0x4eb029;}_0x5b69a5[_0x4e437b(0x198)](B);class H{get[_0x4e437b(0x19a)](){return'BeforeSheetPrintOpen';}get[_0x4e437b(0x1ad)](){const _0x24d8f7=_0x4e437b;return _0x24d8f7(0x1ad);}get[_0x4e437b(0x1a5)](){const _0x2306d7=_0x4e437b;return _0x2306d7(0x1a5);}get['SheetPrintOpen'](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x29f07f=_0x4e437b;return _0x29f07f(0x19e);}get['SheetPrintCanceled'](){const _0xae0b8=_0x4e437b;return _0xae0b8(0x1b2);}}_0x1434e5[_0x4e437b(0x198)](H);class U{get[_0x4e437b(0x1c7)](){return _0x1a7383;}get[_0x4e437b(0x1b5)](){return _0x426155;}get[_0x4e437b(0x1a0)](){return _0x5d73a8;}get['PrintPaperMargin'](){return _0x4468cd;}get[_0x4e437b(0x1b8)](){return _0x3f0645;}get['PrintDirection'](){return _0x5d56d7;}get[_0x4e437b(0x1b6)](){return _0x3e7a58;}get['PrintHeaderFooter'](){return _0x1c04fe;}get[_0x4e437b(0x19f)](){return _0x14910a;}}_0x251bb3[_0x4e437b(0x198)](U);class M extends _0x23577d{[_0x4e437b(0x1a8)](_0x2e4bf7){const _0x14ef3c=_0x4e437b,_0x2b29a0=_0x2e4bf7[_0x14ef3c(0x1bf)](_0x2692da);this[_0x14ef3c(0x1ba)](this[_0x14ef3c(0x1bc)][_0x14ef3c(0x19a)],()=>_0x2b29a0[_0x14ef3c(0x1ab)](_0x33335b=>{const _0x2b018c=_0x14ef3c;if(_0x33335b['id']===_0x1cd345['id']){const _0x2ab8b3=this[_0x2b018c(0x1b7)]();if(!_0x2ab8b3)return;const _0x264cc0={'workbook':_0x2ab8b3,'worksheet':_0x2ab8b3[_0x2b018c(0x1c4)]()};if(_0x264cc0==null)return;if(this[_0x2b018c(0x1c1)](this[_0x2b018c(0x1bc)][_0x2b018c(0x19a)],_0x264cc0),_0x264cc0[_0x2b018c(0x199)])throw new _0x5c909e();}})),this['registerEventHandler'](this[_0x14ef3c(0x1bc)][_0x14ef3c(0x1ad)],()=>_0x2b29a0[_0x14ef3c(0x1ab)](_0x2f2fe7=>{const _0x1ff31e=_0x14ef3c;if(_0x2f2fe7['id']===_0x193289['id']){const _0x150ec8=_0x2e4bf7[_0x1ff31e(0x1bf)](_0x10f39d);if(!this[_0x1ff31e(0x1b7)]())return;const _0x380974={'layoutConfig':_0x150ec8[_0x1ff31e(0x1ac)],'renderConfig':_0x150ec8['renderConfig']};if(_0x380974==null)return;if(this['fireEvent'](this[_0x1ff31e(0x1bc)][_0x1ff31e(0x1ad)],_0x380974),_0x380974[_0x1ff31e(0x199)])throw new _0x5c909e();}})),this['registerEventHandler'](this[_0x14ef3c(0x1bc)]['BeforeSheetPrintCanceled'],()=>_0x2b29a0[_0x14ef3c(0x1ab)](_0x19c8d2=>{const _0x173cb7=_0x14ef3c;if(_0x19c8d2['id']===_0x43a62c['id']){const _0xf4a2f5=_0x2e4bf7['get'](_0x10f39d);if(!this[_0x173cb7(0x1b7)]())return;const _0x46b2db={'layoutConfig':_0xf4a2f5['layoutConfig'],'renderConfig':_0xf4a2f5[_0x173cb7(0x1c6)]};if(_0x46b2db==null)return;if(this['fireEvent'](this[_0x173cb7(0x1bc)]['BeforeSheetPrintCanceled'],_0x46b2db),_0x46b2db[_0x173cb7(0x199)])throw new _0x5c909e();}})),this[_0x14ef3c(0x1ba)](this[_0x14ef3c(0x1bc)][_0x14ef3c(0x1b4)],()=>_0x2b29a0[_0x14ef3c(0x1b3)](_0x51a18b=>{const _0x16e71a=_0x14ef3c;if(_0x51a18b['id']===_0x1cd345['id']){const _0x454ac2=this['getActiveUniverSheet']();if(!_0x454ac2)return;const _0x428be9={'workbook':_0x454ac2,'worksheet':_0x454ac2[_0x16e71a(0x1c4)]()};if(_0x428be9==null)return;this[_0x16e71a(0x1c1)](this[_0x16e71a(0x1bc)][_0x16e71a(0x1b4)],_0x428be9);}})),this[_0x14ef3c(0x1ba)](this['Event'][_0x14ef3c(0x19e)],()=>_0x2b29a0['onCommandExecuted'](_0x2ce17c=>{const _0x123468=_0x14ef3c;if(_0x2ce17c['id']===_0x193289['id']){const _0x333626=_0x2e4bf7[_0x123468(0x1bf)](_0x10f39d);if(!this[_0x123468(0x1b7)]())return;const _0x86948c={'layoutConfig':_0x333626[_0x123468(0x1ac)],'renderConfig':_0x333626[_0x123468(0x1c6)]};if(_0x86948c==null)return;this['fireEvent'](this[_0x123468(0x1bc)][_0x123468(0x19e)],_0x86948c);}})),this[_0x14ef3c(0x1ba)](this[_0x14ef3c(0x1bc)]['SheetPrintCanceled'],()=>_0x2b29a0[_0x14ef3c(0x1b3)](_0x1538d0=>{const _0x469b0f=_0x14ef3c;if(_0x1538d0['id']===_0x43a62c['id']){const _0x50a4a3=_0x2e4bf7[_0x469b0f(0x1bf)](_0x10f39d);if(!this[_0x469b0f(0x1b7)]())return;const _0xed5114={'layoutConfig':_0x50a4a3[_0x469b0f(0x1ac)],'renderConfig':_0x50a4a3['renderConfig']};if(_0xed5114==null)return;this[_0x469b0f(0x1c1)](this[_0x469b0f(0x1bc)][_0x469b0f(0x1b2)],_0xed5114);}}));}}_0x23577d['extend'](M);