@univerjs-pro/sheets-print 0.15.1 → 0.15.2-insiders.20260122-b1556b1

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 -40
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +15 -15
@@ -1 +1 @@
1
- 'use strict';function _0x1a82(){const _0x1988fc=['免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','4142236RTtfaM','HH:mm','日期1','所有工作表','日期6','顶部对齐','适合高度','总页数','转到“查看”>“冻结”可选择要在所有页面重复的行/列','底部对齐','YYYY-MM-DD','正在打印,请勿关闭页面','日期3','B5(17.6厘米\x20x\x2025.0厘米)','自定义页边距','Custom\x20number','7510716gnpBEt','子表总页数','图片已保存到剪贴板','HH:mm:ss','19lmUOHt','68586DOwUEt','点击可添加文本','水平居中','每页最大行数','行政公文纸(18.4厘米\x20x\x2026.7厘米)','日期5','行标题与列标题','每页最大列数','日期4','https://univer.ai/pro','8834uCjvtU','A3(29.7厘米\x20x\x2042.0厘米)','复制为截图','8yPzrTH','打印页数:','当前工作表','张工作表','适合宽度','编辑自定义页眉页脚','日期格式','工作簿','左对齐','重复冻结行','24IeYNmU','页面方向','网格线','LTS','正常\x20(100%)','5251962DyqpQn','自定义页眉页脚','显示分页辅助线','Univer\x20免费版本,由\x20univer.ai\x20提供支持。','行和列限制','适合页面大小','A5(14.8厘米\x20x\x2021.0厘米)','11207350eKcJSK','重复冻结列','3836550aftnuQ','工作簿名称','时间3','时间2','法律专用纸(21.6厘米\x20x\x2035.6厘米)','MM-DD','当前日期','所有已选范围','子表页码','已选范围','显示水印'];_0x1a82=function(){return _0x1988fc;};return _0x1a82();}function _0x3df1(_0x4f9b68,_0x43477d){_0x4f9b68=_0x4f9b68-0x1e3;const _0x1a8293=_0x1a82();let _0x3df143=_0x1a8293[_0x4f9b68];return _0x3df143;}const _0x3aeb30=_0x3df1;(function(_0x509c46,_0x1e3088){const _0x1b3dd0=_0x3df1,_0x4057a9=_0x509c46();while(!![]){try{const _0x323f94=parseInt(_0x1b3dd0(0x20d))/0x1*(-parseInt(_0x1b3dd0(0x218))/0x2)+-parseInt(_0x1b3dd0(0x20e))/0x3*(parseInt(_0x1b3dd0(0x225))/0x4)+parseInt(_0x1b3dd0(0x1ed))/0x5+-parseInt(_0x1b3dd0(0x1e4))/0x6+parseInt(_0x1b3dd0(0x1f9))/0x7+parseInt(_0x1b3dd0(0x21b))/0x8*(-parseInt(_0x1b3dd0(0x209))/0x9)+parseInt(_0x1b3dd0(0x1eb))/0xa;if(_0x323f94===_0x1e3088)break;else _0x4057a9['push'](_0x4057a9['shift']());}catch(_0x3d0d53){_0x4057a9['push'](_0x4057a9['shift']());}}}(_0x1a82,0x85fef));const t={'print':{'header':{'total':_0x3aeb30(0x21c),'pages':'页','cancel':'取消','next':'下一步','printing':_0x3aeb30(0x204)},'menu':'打印','title':'打印设置','grid':{'title':'打印布局','showGrid':'显示分页辅助线','showGridLabel':_0x3aeb30(0x1e6),'closeAndHide':'关闭并隐藏辅助线'},'screenshot':{'title':_0x3aeb30(0x21a),'success':_0x3aeb30(0x20b),'fail':'图片已保存失败'},'size':{'title':'纸张大小','letter':'信纸(21.6厘米\x20x\x2027.9厘米)','tabloid':'小报(27.9厘米\x20x\x2043.2厘米)','legal':_0x3aeb30(0x1f1),'statement':'报表(14.0厘米\x20x\x2021.6厘米)','executive':_0x3aeb30(0x212),'folio':'对折纸(21.6厘米\x20x\x2033.0厘米)','a3':_0x3aeb30(0x219),'a4':'A4(21.0厘米\x20x\x2029.7厘米)','a5':_0x3aeb30(0x1ea),'b4':'B4(25.0厘米\x20x\x2035.3厘米)','b5':_0x3aeb30(0x206)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':_0x3aeb30(0x207),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'打印范围','currentSheet':_0x3aeb30(0x21d),'workbook':_0x3aeb30(0x222),'currentSelection':_0x3aeb30(0x1f6),'maxRowsEachPage':_0x3aeb30(0x211),'maxColumnsEachPage':_0x3aeb30(0x215),'limit':_0x3aeb30(0x1e8),'allSelection':_0x3aeb30(0x1f4)},'selection':{'title':'选择','allWorkbook':_0x3aeb30(0x1fc),'workbookUnit':_0x3aeb30(0x21e)},'scale':{'title':'缩放','normal':_0x3aeb30(0x1e3),'fitWidth':_0x3aeb30(0x21f),'fitHeight':_0x3aeb30(0x1ff),'fitPage':_0x3aeb30(0x1e9),'custom':_0x3aeb30(0x208)},'orientation':{'title':_0x3aeb30(0x226),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x3aeb30(0x227),'waterMark':_0x3aeb30(0x1f7)},'align':{'title':'对齐方式','horizontal':{'title':'Horizontal','middle':_0x3aeb30(0x210),'start':_0x3aeb30(0x223),'end':'右对齐'},'vertical':{'title':'Vertical','start':_0x3aeb30(0x1fe),'end':_0x3aeb30(0x202),'middle':'垂直居中'}},'headerFooter':{'title':'页眉和页脚','page':'页码','workbook':'工作簿标题','sheet':_0x3aeb30(0x1ee),'date':_0x3aeb30(0x1f3),'time':'当前时间','customHeadFooter':_0x3aeb30(0x1e5),'editCustomHeadFooter':_0x3aeb30(0x220),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x3aeb30(0x221),'dateA':_0x3aeb30(0x203),'dateB':_0x3aeb30(0x1f2),'dateC':'L','dateD':'MM月DD日','timeA':_0x3aeb30(0x20c),'timeB':_0x3aeb30(0x1fa),'timeC':_0x3aeb30(0x228),'timeD':'LT','display':{'page':'页码','title':'工作簿标题','sheet':_0x3aeb30(0x1ee),'dateA':_0x3aeb30(0x1fb),'dateB':'日期2','dateC':_0x3aeb30(0x205),'dateD':_0x3aeb30(0x216),'dateE':_0x3aeb30(0x213),'dateF':_0x3aeb30(0x1fd),'timeA':'时间1','timeB':_0x3aeb30(0x1f0),'timeC':_0x3aeb30(0x1ef),'timeD':'时间4','sheetPage':_0x3aeb30(0x1f5),'pageTotal':_0x3aeb30(0x200),'sheetPageTotal':_0x3aeb30(0x20a)},'placeholder':_0x3aeb30(0x20f),'submit':'确定'},'freeze':{'title':_0x3aeb30(0x214),'desc':_0x3aeb30(0x201),'row':_0x3aeb30(0x224),'column':_0x3aeb30(0x1ec)},'limit':{'page':_0x3aeb30(0x1f8),'waterMark':_0x3aeb30(0x1e7),'link':_0x3aeb30(0x217)}}};module['exports']=t;
1
+ 'use strict';function _0x186f(){const _0x58bb35=['HH:mm:ss','打印布局','日期5','图片已保存失败','时间1','A4(21.0厘米\x20x\x2029.7厘米)','打印设置','子表总页数','时间3','Univer\x20免费版本,由\x20univer.ai\x20提供支持。','日期3','日期2','Vertical','当前日期','335WohAej','26892390EHbyER','报表(14.0厘米\x20x\x2021.6厘米)','B5(17.6厘米\x20x\x2025.0厘米)','YYYY-MM-DD','网格线','适合页面大小','图片已保存到剪贴板','1171480JNAkxB','LTS','632NonooS','页面方向','每页最大列数','下一步','当前时间','自定义页眉页脚','exports','工作簿名称','信纸(21.6厘米\x20x\x2027.9厘米)','B4(25.0厘米\x20x\x2035.3厘米)','工作簿标题','垂直居中','对齐方式','A3(29.7厘米\x20x\x2042.0厘米)','HH:mm','页眉和页脚','所有工作表','张工作表','正在打印,请勿关闭页面','MM月DD日','日期4','打印页数:','Custom\x20number','总页数','1522vWBQtP','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','18693kzQgWN','显示分页辅助线','适合高度','日期格式','行政公文纸(18.4厘米\x20x\x2026.7厘米)','子表页码','A5(14.8厘米\x20x\x2021.0厘米)','纸张大小','打印范围','105916zzLTLJ','正常\x20(100%)','已选范围','重复冻结行','底部对齐','行标题与列标题','复制为截图','行和列限制','工作簿','3598104ISEcFt','时间2','适合宽度','显示水印','1191pRoaVw','2589664jKuoLv','法律专用纸(21.6厘米\x20x\x2035.6厘米)'];_0x186f=function(){return _0x58bb35;};return _0x186f();}const _0x143c70=_0x5eeb;(function(_0x17e404,_0x349412){const _0x320eaf=_0x5eeb,_0x5de278=_0x17e404();while(!![]){try{const _0x2a3ee3=parseInt(_0x320eaf(0x118))/0x1+-parseInt(_0x320eaf(0xe7))/0x2*(-parseInt(_0x320eaf(0xff))/0x3)+parseInt(_0x320eaf(0xf2))/0x4*(parseInt(_0x320eaf(0x110))/0x5)+parseInt(_0x320eaf(0xfb))/0x6+-parseInt(_0x320eaf(0x100))/0x7+parseInt(_0x320eaf(0x11a))/0x8*(parseInt(_0x320eaf(0xe9))/0x9)+-parseInt(_0x320eaf(0x111))/0xa;if(_0x2a3ee3===_0x349412)break;else _0x5de278['push'](_0x5de278['shift']());}catch(_0x269a1a){_0x5de278['push'](_0x5de278['shift']());}}}(_0x186f,0xe87ca));function _0x5eeb(_0x5e97c9,_0x54fa2d){_0x5e97c9=_0x5e97c9-0xd0;const _0x186fda=_0x186f();let _0x5eeb8a=_0x186fda[_0x5e97c9];return _0x5eeb8a;}const t={'print':{'header':{'total':_0x143c70(0xe4),'pages':'页','cancel':'取消','next':_0x143c70(0xd2),'printing':_0x143c70(0xe1)},'menu':'打印','title':_0x143c70(0x108),'grid':{'title':_0x143c70(0x103),'showGrid':_0x143c70(0xea),'showGridLabel':_0x143c70(0xea),'closeAndHide':'关闭并隐藏辅助线'},'screenshot':{'title':_0x143c70(0xf8),'success':_0x143c70(0x117),'fail':_0x143c70(0x105)},'size':{'title':_0x143c70(0xf0),'letter':_0x143c70(0xd7),'tabloid':'小报(27.9厘米\x20x\x2043.2厘米)','legal':_0x143c70(0x101),'statement':_0x143c70(0x112),'executive':_0x143c70(0xed),'folio':'对折纸(21.6厘米\x20x\x2033.0厘米)','a3':_0x143c70(0xdc),'a4':_0x143c70(0x107),'a5':_0x143c70(0xef),'b4':_0x143c70(0xd8),'b5':_0x143c70(0x113)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':'自定义页边距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x143c70(0xf1),'currentSheet':'当前工作表','workbook':_0x143c70(0xfa),'currentSelection':_0x143c70(0xf4),'maxRowsEachPage':'每页最大行数','maxColumnsEachPage':_0x143c70(0xd1),'limit':_0x143c70(0xf9),'allSelection':'所有已选范围'},'selection':{'title':'选择','allWorkbook':_0x143c70(0xdf),'workbookUnit':_0x143c70(0xe0)},'scale':{'title':'缩放','normal':_0x143c70(0xf3),'fitWidth':_0x143c70(0xfd),'fitHeight':_0x143c70(0xeb),'fitPage':_0x143c70(0x116),'custom':_0x143c70(0xe5)},'orientation':{'title':_0x143c70(0xd0),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x143c70(0x115),'waterMark':_0x143c70(0xfe)},'align':{'title':_0x143c70(0xdb),'horizontal':{'title':'Horizontal','middle':'水平居中','start':'左对齐','end':'右对齐'},'vertical':{'title':_0x143c70(0x10e),'start':'顶部对齐','end':_0x143c70(0xf6),'middle':_0x143c70(0xda)}},'headerFooter':{'title':_0x143c70(0xde),'page':'页码','workbook':'工作簿标题','sheet':_0x143c70(0xd6),'date':_0x143c70(0x10f),'time':_0x143c70(0xd3),'customHeadFooter':_0x143c70(0xd4),'editCustomHeadFooter':'编辑自定义页眉页脚','header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x143c70(0xec),'dateA':_0x143c70(0x114),'dateB':'MM-DD','dateC':'L','dateD':_0x143c70(0xe2),'timeA':_0x143c70(0x102),'timeB':_0x143c70(0xdd),'timeC':_0x143c70(0x119),'timeD':'LT','display':{'page':'页码','title':_0x143c70(0xd9),'sheet':'工作簿名称','dateA':'日期1','dateB':_0x143c70(0x10d),'dateC':_0x143c70(0x10c),'dateD':_0x143c70(0xe3),'dateE':_0x143c70(0x104),'dateF':'日期6','timeA':_0x143c70(0x106),'timeB':_0x143c70(0xfc),'timeC':_0x143c70(0x10a),'timeD':'时间4','sheetPage':_0x143c70(0xee),'pageTotal':_0x143c70(0xe6),'sheetPageTotal':_0x143c70(0x109)},'placeholder':'点击可添加文本','submit':'确定'},'freeze':{'title':_0x143c70(0xf7),'desc':'转到“查看”>“冻结”可选择要在所有页面重复的行/列','row':_0x143c70(0xf5),'column':'重复冻结列'},'limit':{'page':_0x143c70(0xe8),'waterMark':_0x143c70(0x10b),'link':'https://univer.ai/pro'}}};module[_0x143c70(0xd5)]=t;
@@ -1 +1 @@
1
- 'use strict';function _0x377d(){const _0x7a91d0=['Statement\x20(5.5\x22\x20x\x208.5\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','自訂頁首/頁尾','32137JzGJOX','MM/DD','A3\x20(11.69\x22\x20x\x2016.54\x22)','活頁簿','日期B','1584azpiVj','https://univer.ai/pro','活頁簿標題','水平對齊','HH:mm:ss','時間D','已選取的儲存格','自訂比例','自訂义頁邊距','工作表頁碼','重複凍結的欄','1266dHgJOs','B4\x20(9.84\x22\x20x\x2013.90\x22)','每頁最大列數','MM-DD','調整至頁面高度','頁面方向','Executive\x20(7.25\x22\x20x\x2010.5\x22)','紙張大小','日期C','日期格式','目前工作表','工作表總頁數','164370MTdUgC','標準\x20(100%)','目前時間','A5\x20(5.83\x22\x20x\x208.27\x22)','1319694VGOSRU','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','編輯自訂頁首/頁尾','顯示分頁符號','398272UoaHpG','HH:mm','所有工作表','時間C','2524pQJWda','YYYY-MM-DD','1506GiCLEs','關閉並隱藏分頁線','張工作表','列印中,請勿關閉頁面','調整至頁面大小','3782870zplxDs','B5\x20(6.93\x22\x20x\x209.84\x22)','exports','hh:mm:ss','總計:','所有選取的儲存格','格式設定','hh:mm','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','總頁數','頁首和頁尾','日期E','Letter\x20(8.5\x22\x20x\x2011\x22)','時間A','日期A','重複凍結的列','時間B','工作表名稱','日期F','每頁最大欄數','5587176hZZvzV','列與欄標題','列與欄限制','顯示浮水印','點擊以新增文字','圖片複製到剪貼簿失敗!','顯示分頁線'];_0x377d=function(){return _0x7a91d0;};return _0x377d();}function _0x51ff(_0x512405,_0x146efc){_0x512405=_0x512405-0xee;const _0x377d69=_0x377d();let _0x51ff59=_0x377d69[_0x512405];return _0x51ff59;}const _0x10aa9b=_0x51ff;(function(_0x244ec6,_0x2daf3a){const _0x296ded=_0x51ff,_0x12dfb9=_0x244ec6();while(!![]){try{const _0x48e0a9=parseInt(_0x296ded(0x119))/0x1+-parseInt(_0x296ded(0x115))/0x2+parseInt(_0x296ded(0x11f))/0x3*(parseInt(_0x296ded(0x11d))/0x4)+-parseInt(_0x296ded(0x124))/0x5+parseInt(_0x296ded(0x105))/0x6*(-parseInt(_0x296ded(0xf5))/0x7)+-parseInt(_0x296ded(0x138))/0x8+parseInt(_0x296ded(0xfa))/0x9*(parseInt(_0x296ded(0x111))/0xa);if(_0x48e0a9===_0x2daf3a)break;else _0x12dfb9['push'](_0x12dfb9['shift']());}catch(_0x4ae018){_0x12dfb9['push'](_0x12dfb9['shift']());}}}(_0x377d,0x8008b));const e={'print':{'header':{'total':_0x10aa9b(0x128),'pages':'頁','cancel':'取消','next':'下一步','printing':_0x10aa9b(0x122)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x10aa9b(0x118),'showGridLabel':_0x10aa9b(0xf1),'closeAndHide':_0x10aa9b(0x120)},'screenshot':{'title':'複製為圖片','success':'圖片已成功複製到剪貼簿!','fail':_0x10aa9b(0xf0)},'size':{'title':_0x10aa9b(0x10c),'letter':_0x10aa9b(0x130),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x10aa9b(0xf2),'executive':_0x10aa9b(0x10b),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':_0x10aa9b(0xf7),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x10aa9b(0x114),'b4':_0x10aa9b(0x106),'b5':_0x10aa9b(0x125)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x10aa9b(0x102),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x10aa9b(0x10f),'workbook':_0x10aa9b(0xf8),'currentSelection':_0x10aa9b(0x100),'maxRowsEachPage':_0x10aa9b(0x107),'maxColumnsEachPage':_0x10aa9b(0x137),'limit':_0x10aa9b(0x13a),'allSelection':_0x10aa9b(0x129)},'selection':{'title':'選取範圍','allWorkbook':_0x10aa9b(0x11b),'workbookUnit':_0x10aa9b(0x121)},'scale':{'title':'縮放','normal':_0x10aa9b(0x112),'fitWidth':'調整至頁面寬度','fitHeight':_0x10aa9b(0x109),'fitPage':_0x10aa9b(0x123),'custom':_0x10aa9b(0x101)},'orientation':{'title':_0x10aa9b(0x10a),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x10aa9b(0x12a),'skeleton':'顯示格線','waterMark':_0x10aa9b(0xee)},'align':{'title':'對齊','horizontal':{'title':_0x10aa9b(0xfd),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x10aa9b(0x12e),'page':'頁碼','workbook':_0x10aa9b(0xfc),'sheet':_0x10aa9b(0x135),'date':'目前日期','time':_0x10aa9b(0x113),'customHeadFooter':_0x10aa9b(0xf4),'editCustomHeadFooter':_0x10aa9b(0x117),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x10aa9b(0x10e),'dateA':_0x10aa9b(0x11e),'dateB':_0x10aa9b(0x108),'dateC':'L','dateD':_0x10aa9b(0xf6),'timeA':_0x10aa9b(0xfe),'timeB':_0x10aa9b(0x11a),'timeC':_0x10aa9b(0x127),'timeD':_0x10aa9b(0x12b),'display':{'page':'頁碼','title':_0x10aa9b(0xfc),'sheet':'工作表名稱','dateA':_0x10aa9b(0x132),'dateB':_0x10aa9b(0xf9),'dateC':_0x10aa9b(0x10d),'dateD':'日期D','dateE':_0x10aa9b(0x12f),'dateF':_0x10aa9b(0x136),'timeA':_0x10aa9b(0x131),'timeB':_0x10aa9b(0x134),'timeC':_0x10aa9b(0x11c),'timeD':_0x10aa9b(0xff),'sheetPage':_0x10aa9b(0x103),'pageTotal':_0x10aa9b(0x12d),'sheetPageTotal':_0x10aa9b(0x110)},'placeholder':_0x10aa9b(0xef),'submit':'確定'},'freeze':{'title':_0x10aa9b(0x139),'desc':_0x10aa9b(0x12c),'row':_0x10aa9b(0x133),'column':_0x10aa9b(0x104)},'limit':{'page':_0x10aa9b(0x116),'waterMark':_0x10aa9b(0xf3),'link':_0x10aa9b(0xfb)}}};module[_0x10aa9b(0x126)]=e;
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;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x403b(){const _0x4bdf15=['beforeCommandExecuted','720nxORej','BeforeSheetPrintCanceled','updateRenderConfig','SheetPrintOpen','registerEventHandler','78TVdnSh','getRangeImage','print','4588175jYKzvF','BeforeSheetPrintOpen','3167856BbVcle','fireEvent','PrintAlign','onCommandExecuted','getUnitId','getSheetId','7ddtMzg','renderConfig','PrintHeaderFooterSymbol','PrintPaperSize','includeHeaders','PrintFreeze','_injector','cancel','executeCommand','21164319pdUPpa','4111016SXJEvU','_workbook','20pMrbzN','_initialize','16839OsBgcR','updateLayoutConfig','Event','PrintScale','68609RkvGtP','getActiveSheet','4672MdJBUO','syncExecuteCommand','updatePrintRenderConfig','SheetPrintCanceled','openPrintDialog','PrintHeaderFooter','saveScreenshotToClipboard','extend','BeforeSheetPrintConfirm','layoutConfig','getActiveUniverSheet','get','PrintDirection'];_0x403b=function(){return _0x4bdf15;};return _0x403b();}const _0x10696f=_0x2be9;(function(_0x9c1336,_0x1716bb){const _0x20a2bf=_0x2be9,_0x505b5a=_0x9c1336();while(!![]){try{const _0x37c20b=parseInt(_0x20a2bf(0x94))/0x1*(parseInt(_0x20a2bf(0x8e))/0x2)+parseInt(_0x20a2bf(0x77))/0x3*(parseInt(_0x20a2bf(0x96))/0x4)+parseInt(_0x20a2bf(0x7a))/0x5+parseInt(_0x20a2bf(0x7c))/0x6+-parseInt(_0x20a2bf(0x82))/0x7*(-parseInt(_0x20a2bf(0x8c))/0x8)+-parseInt(_0x20a2bf(0x90))/0x9*(parseInt(_0x20a2bf(0xa4))/0xa)+-parseInt(_0x20a2bf(0x8b))/0xb;if(_0x37c20b===_0x1716bb)break;else _0x505b5a['push'](_0x505b5a['shift']());}catch(_0x4b6acd){_0x505b5a['push'](_0x505b5a['shift']());}}}(_0x403b,0x96af5));import{ISheetPrintManagerService as _0x340b77,ConfirmSheetPrintOperation as _0x4da682,SheetPrintOpenOperation as _0x47898c,CancelSheetPrintOperation as _0x21c9fe,hasPrintFacadePermission as _0x3d9351,SheetScreenShotOperation as _0x323954,SheetPrintClientService as _0x2f73e4,PrintArea as _0xe770ea,PrintFreeze as _0x32fdb7,PrintHeaderFooter as _0x24c18d,PrintHeaderFooterSymbol as _0xea60ce}from'@univerjs-pro/sheets-print';import{ICommandService as _0x5f529b,PaperType as _0x2820fc,CanceledError as _0x1b33a5}from'@univerjs/core';import{FWorkbook as _0x211885,FRange as _0x44e0c8}from'@univerjs/sheets/facade';import{FEventName as _0x108c9d,FEnum as _0x57df25,FUniver as _0x2a0f4e}from'@univerjs/core/facade';function _0x2be9(_0x186afc,_0x550b40){_0x186afc=_0x186afc-0x76;const _0x403bac=_0x403b();let _0x2be901=_0x403bac[_0x186afc];return _0x2be901;}import{PrintAlign as _0xbb621a,PrintPaperMargin as _0x29ed9e,PrintScale as _0x10def4,PrintDirection as _0x4724e7}from'@univerjs-pro/print';class A extends _0x211885{['updatePrintConfig'](_0x421ab0){const _0x365775=_0x2be9;return this['_injector'][_0x365775(0xa1)](_0x340b77)[_0x365775(0x91)](_0x421ab0),this;}[_0x10696f(0x98)](_0xff4890){const _0xa8d280=_0x10696f;return this['_injector'][_0xa8d280(0xa1)](_0x340b77)[_0xa8d280(0xa6)](_0xff4890),this;}[_0x10696f(0x79)](){const _0x46ae7b=_0x10696f;return this[_0x46ae7b(0x88)][_0x46ae7b(0xa1)](_0x5f529b)[_0x46ae7b(0x97)](_0x4da682['id']);}[_0x10696f(0x9a)](){const _0x4c7f97=_0x10696f;return this[_0x4c7f97(0x88)][_0x4c7f97(0xa1)](_0x5f529b)[_0x4c7f97(0x97)](_0x47898c['id']);}['closePrintDialog'](){const _0x3d3713=_0x10696f;return this[_0x3d3713(0x88)][_0x3d3713(0xa1)](_0x5f529b)[_0x3d3713(0x97)](_0x21c9fe['id']);}async[_0x10696f(0x9c)](){const _0x88630=_0x10696f;return _0x3d9351(this[_0x88630(0x88)])?this['_injector'][_0x88630(0xa1)](_0x5f529b)[_0x88630(0x8a)](_0x323954['id']):!0x1;}}_0x211885[_0x10696f(0x9d)](A);class B extends _0x44e0c8{['getScreenshot'](_0x3792fd){const _0x5c9341=_0x10696f;return _0x3d9351(this['_injector'])?this[_0x5c9341(0x88)][_0x5c9341(0xa1)](_0x2f73e4)[_0x5c9341(0x78)](this[_0x5c9341(0x8d)][_0x5c9341(0x80)](),this['_worksheet'][_0x5c9341(0x81)](),this['_range'],_0x3792fd==null?void 0x0:_0x3792fd[_0x5c9341(0x86)]):!0x1;}}_0x44e0c8[_0x10696f(0x9d)](B);class H{get['BeforeSheetPrintOpen'](){const _0x3e748c=_0x10696f;return _0x3e748c(0x7b);}get['BeforeSheetPrintConfirm'](){const _0x35ca2f=_0x10696f;return _0x35ca2f(0x9e);}get[_0x10696f(0xa5)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x5591a3=_0x10696f;return _0x5591a3(0xa7);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x10696f(0x99)](){const _0x5619d7=_0x10696f;return _0x5619d7(0x99);}}_0x108c9d[_0x10696f(0x9d)](H);class U{get['PrintArea'](){return _0xe770ea;}get[_0x10696f(0x7e)](){return _0xbb621a;}get[_0x10696f(0x85)](){return _0x2820fc;}get['PrintPaperMargin'](){return _0x29ed9e;}get[_0x10696f(0x93)](){return _0x10def4;}get[_0x10696f(0xa2)](){return _0x4724e7;}get[_0x10696f(0x87)](){return _0x32fdb7;}get[_0x10696f(0x9b)](){return _0x24c18d;}get[_0x10696f(0x84)](){return _0xea60ce;}}_0x57df25[_0x10696f(0x9d)](U);class M extends _0x2a0f4e{[_0x10696f(0x8f)](_0x5e56ee){const _0x2a49f2=_0x10696f,_0x545216=_0x5e56ee[_0x2a49f2(0xa1)](_0x5f529b);this[_0x2a49f2(0x76)](this[_0x2a49f2(0x92)]['BeforeSheetPrintOpen'],()=>_0x545216[_0x2a49f2(0xa3)](_0x17a7c1=>{const _0x563758=_0x2a49f2;if(_0x17a7c1['id']===_0x47898c['id']){const _0x187841=this[_0x563758(0xa0)]();if(!_0x187841)return;const _0x1ab88a={'workbook':_0x187841,'worksheet':_0x187841[_0x563758(0x95)]()};if(_0x1ab88a==null)return;if(this[_0x563758(0x7d)](this[_0x563758(0x92)][_0x563758(0x7b)],_0x1ab88a),_0x1ab88a['cancel'])throw new _0x1b33a5();}})),this['registerEventHandler'](this[_0x2a49f2(0x92)][_0x2a49f2(0x9e)],()=>_0x545216[_0x2a49f2(0xa3)](_0x3a380c=>{const _0x475380=_0x2a49f2;if(_0x3a380c['id']===_0x4da682['id']){const _0x48fdfd=_0x5e56ee[_0x475380(0xa1)](_0x340b77);if(!this[_0x475380(0xa0)]())return;const _0x3f297b={'layoutConfig':_0x48fdfd[_0x475380(0x9f)],'renderConfig':_0x48fdfd[_0x475380(0x83)]};if(_0x3f297b==null)return;if(this[_0x475380(0x7d)](this['Event'][_0x475380(0x9e)],_0x3f297b),_0x3f297b[_0x475380(0x89)])throw new _0x1b33a5();}})),this[_0x2a49f2(0x76)](this[_0x2a49f2(0x92)][_0x2a49f2(0xa5)],()=>_0x545216[_0x2a49f2(0xa3)](_0x1f9188=>{const _0x45665b=_0x2a49f2;if(_0x1f9188['id']===_0x21c9fe['id']){const _0x4c1d5a=_0x5e56ee['get'](_0x340b77);if(!this[_0x45665b(0xa0)]())return;const _0x59085d={'layoutConfig':_0x4c1d5a[_0x45665b(0x9f)],'renderConfig':_0x4c1d5a[_0x45665b(0x83)]};if(_0x59085d==null)return;if(this[_0x45665b(0x7d)](this[_0x45665b(0x92)][_0x45665b(0xa5)],_0x59085d),_0x59085d[_0x45665b(0x89)])throw new _0x1b33a5();}})),this['registerEventHandler'](this['Event'][_0x2a49f2(0xa7)],()=>_0x545216[_0x2a49f2(0x7f)](_0x55ec14=>{const _0x8dbd=_0x2a49f2;if(_0x55ec14['id']===_0x47898c['id']){const _0x289103=this[_0x8dbd(0xa0)]();if(!_0x289103)return;const _0x2f90b9={'workbook':_0x289103,'worksheet':_0x289103[_0x8dbd(0x95)]()};if(_0x2f90b9==null)return;this['fireEvent'](this[_0x8dbd(0x92)][_0x8dbd(0xa7)],_0x2f90b9);}})),this[_0x2a49f2(0x76)](this[_0x2a49f2(0x92)]['SheetPrintConfirmed'],()=>_0x545216[_0x2a49f2(0x7f)](_0x50d33b=>{const _0x163ac7=_0x2a49f2;if(_0x50d33b['id']===_0x4da682['id']){const _0x382643=_0x5e56ee['get'](_0x340b77);if(!this[_0x163ac7(0xa0)]())return;const _0x1467db={'layoutConfig':_0x382643[_0x163ac7(0x9f)],'renderConfig':_0x382643[_0x163ac7(0x83)]};if(_0x1467db==null)return;this[_0x163ac7(0x7d)](this[_0x163ac7(0x92)]['SheetPrintConfirmed'],_0x1467db);}})),this[_0x2a49f2(0x76)](this[_0x2a49f2(0x92)][_0x2a49f2(0x99)],()=>_0x545216['onCommandExecuted'](_0x2c784b=>{const _0x223e6b=_0x2a49f2;if(_0x2c784b['id']===_0x21c9fe['id']){const _0x56ab10=_0x5e56ee[_0x223e6b(0xa1)](_0x340b77);if(!this[_0x223e6b(0xa0)]())return;const _0xe17049={'layoutConfig':_0x56ab10[_0x223e6b(0x9f)],'renderConfig':_0x56ab10['renderConfig']};if(_0xe17049==null)return;this[_0x223e6b(0x7d)](this[_0x223e6b(0x92)][_0x223e6b(0x99)],_0xe17049);}}));}}_0x2a0f4e[_0x10696f(0x9d)](M);
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);