@univerjs-pro/sheets-print 0.15.2 → 0.15.3-insiders.20260131-cbd5fac

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 (62) 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/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.css +1 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -0
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/types/license/encrypted-func.d.ts +1 -0
  45. package/lib/types/locale/sk-SK.d.ts +3 -0
  46. package/lib/umd/facade.js +1 -1
  47. package/lib/umd/index.js +1 -1
  48. package/lib/umd/locale/ca-ES.js +1 -1
  49. package/lib/umd/locale/en-US.js +1 -1
  50. package/lib/umd/locale/es-ES.js +1 -1
  51. package/lib/umd/locale/fa-IR.js +1 -1
  52. package/lib/umd/locale/fr-FR.js +1 -1
  53. package/lib/umd/locale/ja-JP.js +1 -1
  54. package/lib/umd/locale/ko-KR.js +1 -1
  55. package/lib/umd/locale/ru-RU.js +1 -1
  56. package/lib/umd/locale/sk-SK.js +1 -0
  57. package/lib/umd/locale/vi-VN.js +1 -1
  58. package/lib/umd/locale/zh-CN.js +1 -1
  59. package/lib/umd/locale/zh-TW.js +1 -1
  60. package/package.json +16 -16
  61. package/lib/types/controllers/const.d.ts +0 -1
  62. package/lib/types/{common/const.d.ts → license/reverse-mapping.d.ts} +42 -42
@@ -1 +1 @@
1
- function _0x36da(_0x1c0e44,_0x3be155){_0x1c0e44=_0x1c0e44-0x10f;const _0x366f47=_0x366f();let _0x36dad4=_0x366f47[_0x1c0e44];return _0x36dad4;}function _0x366f(){const _0x463a9f=['Univer\x20免费版本,由\x20univer.ai\x20提供支持。','复制为截图','YYYY-MM-DD','打印范围','A4(21.0厘米\x20x\x2029.7厘米)','水平居中','子表总页数','子表页码','当前工作表','纸张大小','右对齐','MM-DD','图片已保存到剪贴板','适合宽度','每页最大行数','29702QjWowm','底部对齐','编辑自定义页眉页脚','对齐方式','适合高度','左对齐','点击可添加文本','对折纸(21.6厘米\x20x\x2033.0厘米)','工作簿名称','打印页数:','日期5','已选范围','报表(14.0厘米\x20x\x2021.6厘米)','法律专用纸(21.6厘米\x20x\x2035.6厘米)','自定义页眉页脚','120nSfzgK','张工作表','总页数','工作簿','B4(25.0厘米\x20x\x2035.3厘米)','B5(17.6厘米\x20x\x2025.0厘米)','195310XEsDWY','6108cyYznB','Vertical','10CAkilM','时间4','38331ELOPJH','日期1','https://univer.ai/pro','页眉和页脚','显示分页辅助线','打印布局','日期格式','当前日期','下一步','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','显示水印','1457036VndfpW','44iyAwMZ','12XoQupb','关闭并隐藏辅助线','96IDeiLF','A5(14.8厘米\x20x\x2021.0厘米)','190qnaflB','每页最大列数','行和列限制','日期2','工作簿标题','重复冻结列','时间3','日期3','日期6','打印设置','行标题与列标题','正在打印,请勿关闭页面','6072573aGPqBm','转到“查看”>“冻结”可选择要在所有页面重复的行/列','重复冻结行','LTS','10602kQUsru','正常\x20(100%)','Custom\x20number','Horizontal','顶部对齐','网格线','小报(27.9厘米\x20x\x2043.2厘米)','HH:mm'];_0x366f=function(){return _0x463a9f;};return _0x366f();}const _0x240829=_0x36da;(function(_0x460d5a,_0x290101){const _0x512382=_0x36da,_0x55d13b=_0x460d5a();while(!![]){try{const _0x4b11be=-parseInt(_0x512382(0x15b))/0x1*(parseInt(_0x512382(0x143))/0x2)+-parseInt(_0x512382(0x159))/0x3*(parseInt(_0x512382(0x11a))/0x4)+-parseInt(_0x512382(0x11c))/0x5*(-parseInt(_0x512382(0x12c))/0x6)+-parseInt(_0x512382(0x116))/0x7+-parseInt(_0x512382(0x152))/0x8*(-parseInt(_0x512382(0x15d))/0x9)+-parseInt(_0x512382(0x158))/0xa*(parseInt(_0x512382(0x117))/0xb)+-parseInt(_0x512382(0x118))/0xc*(-parseInt(_0x512382(0x128))/0xd);if(_0x4b11be===_0x290101)break;else _0x55d13b['push'](_0x55d13b['shift']());}catch(_0x5a0b5f){_0x55d13b['push'](_0x55d13b['shift']());}}}(_0x366f,0x1bf4a));const e={'print':{'header':{'total':_0x240829(0x14c),'pages':'页','cancel':'取消','next':_0x240829(0x113),'printing':_0x240829(0x127)},'menu':'打印','title':_0x240829(0x125),'grid':{'title':_0x240829(0x110),'showGrid':_0x240829(0x10f),'showGridLabel':_0x240829(0x10f),'closeAndHide':_0x240829(0x119)},'screenshot':{'title':_0x240829(0x135),'success':_0x240829(0x140),'fail':'图片已保存失败'},'size':{'title':_0x240829(0x13d),'letter':'信纸(21.6厘米\x20x\x2027.9厘米)','tabloid':_0x240829(0x132),'legal':_0x240829(0x150),'statement':_0x240829(0x14f),'executive':'行政公文纸(18.4厘米\x20x\x2026.7厘米)','folio':_0x240829(0x14a),'a3':'A3(29.7厘米\x20x\x2042.0厘米)','a4':_0x240829(0x138),'a5':_0x240829(0x11b),'b4':_0x240829(0x156),'b5':_0x240829(0x157)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':'自定义页边距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x240829(0x137),'currentSheet':_0x240829(0x13c),'workbook':_0x240829(0x155),'currentSelection':_0x240829(0x14e),'maxRowsEachPage':_0x240829(0x142),'maxColumnsEachPage':_0x240829(0x11d),'limit':_0x240829(0x11e),'allSelection':'所有已选范围'},'selection':{'title':'选择','allWorkbook':'所有工作表','workbookUnit':_0x240829(0x153)},'scale':{'title':'缩放','normal':_0x240829(0x12d),'fitWidth':_0x240829(0x141),'fitHeight':_0x240829(0x147),'fitPage':'适合页面大小','custom':_0x240829(0x12e)},'orientation':{'title':'页面方向','landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x240829(0x131),'waterMark':_0x240829(0x115)},'align':{'title':_0x240829(0x146),'horizontal':{'title':_0x240829(0x12f),'middle':_0x240829(0x139),'start':_0x240829(0x148),'end':_0x240829(0x13e)},'vertical':{'title':_0x240829(0x15a),'start':_0x240829(0x130),'end':_0x240829(0x144),'middle':'垂直居中'}},'headerFooter':{'title':_0x240829(0x160),'page':'页码','workbook':_0x240829(0x120),'sheet':'工作簿名称','date':_0x240829(0x112),'time':'当前时间','customHeadFooter':_0x240829(0x151),'editCustomHeadFooter':_0x240829(0x145),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x240829(0x111),'dateA':_0x240829(0x136),'dateB':_0x240829(0x13f),'dateC':'L','dateD':'MM月DD日','timeA':'HH:mm:ss','timeB':_0x240829(0x133),'timeC':_0x240829(0x12b),'timeD':'LT','display':{'page':'页码','title':_0x240829(0x120),'sheet':_0x240829(0x14b),'dateA':_0x240829(0x15e),'dateB':_0x240829(0x11f),'dateC':_0x240829(0x123),'dateD':'日期4','dateE':_0x240829(0x14d),'dateF':_0x240829(0x124),'timeA':'时间1','timeB':'时间2','timeC':_0x240829(0x122),'timeD':_0x240829(0x15c),'sheetPage':_0x240829(0x13b),'pageTotal':_0x240829(0x154),'sheetPageTotal':_0x240829(0x13a)},'placeholder':_0x240829(0x149),'submit':'确定'},'freeze':{'title':_0x240829(0x126),'desc':_0x240829(0x129),'row':_0x240829(0x12a),'column':_0x240829(0x121)},'limit':{'page':_0x240829(0x114),'waterMark':_0x240829(0x134),'link':_0x240829(0x15f)}}};export{e as default};
1
+ function _0x53be(_0x3b7bb0,_0x202f4f){_0x3b7bb0=_0x3b7bb0-0x94;const _0x7c5133=_0x7c51();let _0x53bef4=_0x7c5133[_0x3b7bb0];return _0x53bef4;}const _0x3567d3=_0x53be;(function(_0x1f115e,_0x182b8f){const _0x55daf4=_0x53be,_0x4543d9=_0x1f115e();while(!![]){try{const _0x288796=parseInt(_0x55daf4(0xab))/0x1*(parseInt(_0x55daf4(0xe1))/0x2)+parseInt(_0x55daf4(0x95))/0x3*(parseInt(_0x55daf4(0xa6))/0x4)+parseInt(_0x55daf4(0xc6))/0x5+parseInt(_0x55daf4(0xad))/0x6*(parseInt(_0x55daf4(0xa9))/0x7)+parseInt(_0x55daf4(0xa2))/0x8*(parseInt(_0x55daf4(0x96))/0x9)+-parseInt(_0x55daf4(0xd2))/0xa+-parseInt(_0x55daf4(0xb0))/0xb;if(_0x288796===_0x182b8f)break;else _0x4543d9['push'](_0x4543d9['shift']());}catch(_0x3021dd){_0x4543d9['push'](_0x4543d9['shift']());}}}(_0x7c51,0x3ae0e));const e={'print':{'header':{'total':_0x3567d3(0xc5),'pages':'页','cancel':'取消','next':_0x3567d3(0xce),'printing':_0x3567d3(0xd8)},'menu':'打印','title':_0x3567d3(0xd4),'grid':{'title':'打印布局','showGrid':'显示分页辅助线','showGridLabel':_0x3567d3(0xc9),'closeAndHide':_0x3567d3(0xae)},'screenshot':{'title':'复制为截图','success':_0x3567d3(0xd7),'fail':_0x3567d3(0xe3)},'size':{'title':_0x3567d3(0xda),'letter':_0x3567d3(0xc2),'tabloid':_0x3567d3(0xbf),'legal':_0x3567d3(0xe2),'statement':_0x3567d3(0xc7),'executive':_0x3567d3(0x9f),'folio':'对折纸(21.6厘米\x20x\x2033.0厘米)','a3':_0x3567d3(0xcf),'a4':_0x3567d3(0xd1),'a5':_0x3567d3(0xdc),'b4':_0x3567d3(0xb4),'b5':_0x3567d3(0xb9)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':_0x3567d3(0x9c),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x3567d3(0xdd),'currentSheet':_0x3567d3(0xc8),'workbook':_0x3567d3(0xa7),'currentSelection':_0x3567d3(0xa5),'maxRowsEachPage':_0x3567d3(0xa0),'maxColumnsEachPage':_0x3567d3(0xbb),'limit':_0x3567d3(0xb6),'allSelection':_0x3567d3(0xd9)},'selection':{'title':'选择','allWorkbook':'所有工作表','workbookUnit':_0x3567d3(0xc0)},'scale':{'title':'缩放','normal':_0x3567d3(0xd5),'fitWidth':'适合宽度','fitHeight':'适合高度','fitPage':_0x3567d3(0xd0),'custom':_0x3567d3(0xb7)},'orientation':{'title':_0x3567d3(0xc1),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x3567d3(0xcb),'waterMark':_0x3567d3(0x9b)},'align':{'title':_0x3567d3(0xbe),'horizontal':{'title':'Horizontal','middle':_0x3567d3(0xcd),'start':_0x3567d3(0xb3),'end':_0x3567d3(0xb5)},'vertical':{'title':_0x3567d3(0xa1),'start':_0x3567d3(0xc4),'end':_0x3567d3(0xaf),'middle':_0x3567d3(0xa4)}},'headerFooter':{'title':_0x3567d3(0xb1),'page':'页码','workbook':'工作簿标题','sheet':_0x3567d3(0xde),'date':_0x3567d3(0xdb),'time':'当前时间','customHeadFooter':_0x3567d3(0x98),'editCustomHeadFooter':'编辑自定义页眉页脚','header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':'日期格式','dateA':_0x3567d3(0xbd),'dateB':_0x3567d3(0xba),'dateC':'L','dateD':_0x3567d3(0xcc),'timeA':_0x3567d3(0x9a),'timeB':_0x3567d3(0xc3),'timeC':_0x3567d3(0xac),'timeD':'LT','display':{'page':'页码','title':_0x3567d3(0xa3),'sheet':_0x3567d3(0xde),'dateA':'日期1','dateB':_0x3567d3(0xca),'dateC':_0x3567d3(0xbc),'dateD':_0x3567d3(0xb8),'dateE':_0x3567d3(0x97),'dateF':_0x3567d3(0x9e),'timeA':_0x3567d3(0x9d),'timeB':'时间2','timeC':_0x3567d3(0xb2),'timeD':_0x3567d3(0xd6),'sheetPage':_0x3567d3(0xd3),'pageTotal':_0x3567d3(0x94),'sheetPageTotal':'子表总页数'},'placeholder':'点击可添加文本','submit':'确定'},'freeze':{'title':_0x3567d3(0xdf),'desc':_0x3567d3(0x99),'row':_0x3567d3(0xe0),'column':'重复冻结列'},'limit':{'page':'免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','waterMark':_0x3567d3(0xaa),'link':_0x3567d3(0xa8)}}};function _0x7c51(){const _0x3fc0cf=['正常\x20(100%)','时间4','图片已保存到剪贴板','正在打印,请勿关闭页面','所有已选范围','纸张大小','当前日期','A5(14.8厘米\x20x\x2021.0厘米)','打印范围','工作簿名称','行标题与列标题','重复冻结行','12zFHEeV','法律专用纸(21.6厘米\x20x\x2035.6厘米)','图片已保存失败','总页数','48kfYkQB','9yxCDLD','日期5','自定义页眉页脚','转到“查看”>“冻结”可选择要在所有页面重复的行/列','HH:mm:ss','显示水印','自定义页边距','时间1','日期6','行政公文纸(18.4厘米\x20x\x2026.7厘米)','每页最大行数','Vertical','92584OWZQrM','工作簿标题','垂直居中','已选范围','79724JiHTVX','工作簿','https://univer.ai/pro','30289efNohq','Univer\x20免费版本,由\x20univer.ai\x20提供支持。','51809kYUqpq','LTS','6ugvoLJ','关闭并隐藏辅助线','底部对齐','3128961MmMVqG','页眉和页脚','时间3','左对齐','B4(25.0厘米\x20x\x2035.3厘米)','右对齐','行和列限制','Custom\x20number','日期4','B5(17.6厘米\x20x\x2025.0厘米)','MM-DD','每页最大列数','日期3','YYYY-MM-DD','对齐方式','小报(27.9厘米\x20x\x2043.2厘米)','张工作表','页面方向','信纸(21.6厘米\x20x\x2027.9厘米)','HH:mm','顶部对齐','打印页数:','1069845LGWHRP','报表(14.0厘米\x20x\x2021.6厘米)','当前工作表','显示分页辅助线','日期2','网格线','MM月DD日','水平居中','下一步','A3(29.7厘米\x20x\x2042.0厘米)','适合页面大小','A4(21.0厘米\x20x\x2029.7厘米)','3340020xuSVDN','子表页码','打印设置'];_0x7c51=function(){return _0x3fc0cf;};return _0x7c51();}export{e as default};
@@ -1 +1 @@
1
- const _0x39b4f9=_0x1084;(function(_0xc93ce3,_0xb80551){const _0x25fb34=_0x1084,_0x3a557d=_0xc93ce3();while(!![]){try{const _0x217ba9=-parseInt(_0x25fb34(0xca))/0x1*(-parseInt(_0x25fb34(0xde))/0x2)+-parseInt(_0x25fb34(0xfb))/0x3*(parseInt(_0x25fb34(0xd3))/0x4)+parseInt(_0x25fb34(0xc8))/0x5+parseInt(_0x25fb34(0xfa))/0x6*(parseInt(_0x25fb34(0xc1))/0x7)+parseInt(_0x25fb34(0xf0))/0x8*(parseInt(_0x25fb34(0xf8))/0x9)+-parseInt(_0x25fb34(0xd4))/0xa+parseInt(_0x25fb34(0xcf))/0xb;if(_0x217ba9===_0xb80551)break;else _0x3a557d['push'](_0x3a557d['shift']());}catch(_0x2f8938){_0x3a557d['push'](_0x3a557d['shift']());}}}(_0x470e,0xe52b9));function _0x470e(){const _0x81be17=['列印中,請勿關閉頁面','調整至頁面高度','列與欄標題','5134475YKDxcl','張工作表','139ltNoor','列印版面配置','重複凍結的欄','日期F','MM-DD','18267898IAKKkb','關閉並隱藏分頁線','自訂比例','圖片複製到剪貼簿失敗!','164THhATe','17774090SejYID','選取範圍','複製為圖片','活頁簿','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示格線','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','頁面方向','調整至頁面寬度','時間D','8110oxxQPw','每頁最大欄數','列與欄限制','HH:mm:ss','每頁最大列數','工作表名稱','目前日期','工作表總頁數','水平對齊','Statement\x20(5.5\x22\x20x\x208.5\x22)','自訂頁首/頁尾','日期C','Letter\x20(8.5\x22\x20x\x2011\x22)','時間C','調整至頁面大小','標準\x20(100%)','B5\x20(6.93\x22\x20x\x209.84\x22)','重複凍結的列','12384mKLFqp','工作表頁碼','https://univer.ai/pro','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','YYYY-MM-DD','Legal\x20(8.5\x22\x20x\x2014\x22)','總頁數','hh:mm:ss','3843jKqXDi','所有工作表','6vgeWGb','88509hWqlFt','紙張大小','活頁簿標題','格式設定','日期D','日期A','日期B','日期E','Tabloid\x20(11\x22\x20x\x2017\x22)','hh:mm','時間B','目前工作表','94213MNQvUi','所有選取的儲存格','Folio\x20(8.5\x22\x20x\x2013\x22)','顯示分頁符號'];_0x470e=function(){return _0x81be17;};return _0x470e();}function _0x1084(_0x1b67ec,_0x49e05f){_0x1b67ec=_0x1b67ec-0xb6;const _0x470e01=_0x470e();let _0x10840f=_0x470e01[_0x1b67ec];return _0x10840f;}const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':'下一步','printing':_0x39b4f9(0xc5)},'menu':'列印','title':'列印','grid':{'title':_0x39b4f9(0xcb),'showGrid':_0x39b4f9(0xc4),'showGridLabel':'顯示分頁線','closeAndHide':_0x39b4f9(0xd0)},'screenshot':{'title':_0x39b4f9(0xd6),'success':'圖片已成功複製到剪貼簿!','fail':_0x39b4f9(0xd2)},'size':{'title':_0x39b4f9(0xb6),'letter':_0x39b4f9(0xea),'tabloid':_0x39b4f9(0xbd),'legal':_0x39b4f9(0xf5),'statement':_0x39b4f9(0xe7),'executive':_0x39b4f9(0xd8),'folio':_0x39b4f9(0xc3),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x39b4f9(0xee)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x39b4f9(0xc0),'workbook':_0x39b4f9(0xd7),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x39b4f9(0xe2),'maxColumnsEachPage':_0x39b4f9(0xdf),'limit':_0x39b4f9(0xe0),'allSelection':_0x39b4f9(0xc2)},'selection':{'title':_0x39b4f9(0xd5),'allWorkbook':_0x39b4f9(0xf9),'workbookUnit':_0x39b4f9(0xc9)},'scale':{'title':'縮放','normal':_0x39b4f9(0xed),'fitWidth':_0x39b4f9(0xdc),'fitHeight':_0x39b4f9(0xc6),'fitPage':_0x39b4f9(0xec),'custom':_0x39b4f9(0xd1)},'orientation':{'title':_0x39b4f9(0xdb),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x39b4f9(0xb8),'skeleton':_0x39b4f9(0xd9),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x39b4f9(0xe6),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x39b4f9(0xb7),'sheet':_0x39b4f9(0xe3),'date':_0x39b4f9(0xe4),'time':'目前時間','customHeadFooter':_0x39b4f9(0xe8),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x39b4f9(0xf4),'dateB':_0x39b4f9(0xce),'dateC':'L','dateD':'MM/DD','timeA':_0x39b4f9(0xe1),'timeB':'HH:mm','timeC':_0x39b4f9(0xf7),'timeD':_0x39b4f9(0xbe),'display':{'page':'頁碼','title':_0x39b4f9(0xb7),'sheet':'工作表名稱','dateA':_0x39b4f9(0xba),'dateB':_0x39b4f9(0xbb),'dateC':_0x39b4f9(0xe9),'dateD':_0x39b4f9(0xb9),'dateE':_0x39b4f9(0xbc),'dateF':_0x39b4f9(0xcd),'timeA':'時間A','timeB':_0x39b4f9(0xbf),'timeC':_0x39b4f9(0xeb),'timeD':_0x39b4f9(0xdd),'sheetPage':_0x39b4f9(0xf1),'pageTotal':_0x39b4f9(0xf6),'sheetPageTotal':_0x39b4f9(0xe5)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x39b4f9(0xc7),'desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':_0x39b4f9(0xef),'column':_0x39b4f9(0xcc)},'limit':{'page':_0x39b4f9(0xf3),'waterMark':_0x39b4f9(0xda),'link':_0x39b4f9(0xf2)}}};export{e as default};
1
+ const _0x4252bf=_0x431c;function _0x431c(_0xf4ba78,_0xfe7d1a){_0xf4ba78=_0xf4ba78-0x10c;const _0x581809=_0x5818();let _0x431c6a=_0x581809[_0xf4ba78];return _0x431c6a;}function _0x5818(){const _0xdfdb4a=['MM-DD','總計:','圖片已成功複製到剪貼簿!','A5\x20(5.83\x22\x20x\x208.27\x22)','時間C','張工作表','重複凍結的欄','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','日期B','Statement\x20(5.5\x22\x20x\x208.5\x22)','列印版面配置','工作表總頁數','目前工作表','B4\x20(9.84\x22\x20x\x2013.90\x22)','目前日期','已選取的儲存格','Executive\x20(7.25\x22\x20x\x2010.5\x22)','頁面方向','工作表頁碼','每頁最大欄數','頁首和頁尾','時間A','下一步','7381701FrhCjB','6cYQwfM','1269278jalpBY','906820jJYasQ','複製為圖片','顯示分頁符號','HH:mm','自訂义頁邊距','所有選取的儲存格','B5\x20(6.93\x22\x20x\x209.84\x22)','顯示分頁線','調整至頁面寬度','YYYY-MM-DD','3101476pMtQoY','3425ijohuU','每頁最大列數','hh:mm','日期F','2374304MmatJR','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','https://univer.ai/pro','Letter\x20(8.5\x22\x20x\x2011\x22)','74734cnVpFj','自訂比例','水平對齊','列印中,請勿關閉頁面','活頁簿標題','點擊以新增文字','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','顯示格線','7818FYSCUD','列與欄限制','編輯自訂頁首/頁尾','總頁數','日期A','日期格式','活頁簿','格式設定','圖片複製到剪貼簿失敗!','列與欄標題','標準\x20(100%)'];_0x5818=function(){return _0xdfdb4a;};return _0x5818();}(function(_0x412634,_0x87502a){const _0x356442=_0x431c,_0x17a9b6=_0x412634();while(!![]){try{const _0x5ef95e=parseInt(_0x356442(0x10d))/0x1+-parseInt(_0x356442(0x139))/0x2+parseInt(_0x356442(0x138))/0x3*(-parseInt(_0x356442(0x13a))/0x4)+-parseInt(_0x356442(0x145))/0x5*(-parseInt(_0x356442(0x115))/0x6)+-parseInt(_0x356442(0x144))/0x7+parseInt(_0x356442(0x149))/0x8+parseInt(_0x356442(0x137))/0x9;if(_0x5ef95e===_0x87502a)break;else _0x17a9b6['push'](_0x17a9b6['shift']());}catch(_0x4160ff){_0x17a9b6['push'](_0x17a9b6['shift']());}}}(_0x5818,0x870bd));const e={'print':{'header':{'total':_0x4252bf(0x121),'pages':'頁','cancel':'取消','next':_0x4252bf(0x136),'printing':_0x4252bf(0x110)},'menu':'列印','title':'列印','grid':{'title':_0x4252bf(0x12a),'showGrid':_0x4252bf(0x13c),'showGridLabel':_0x4252bf(0x141),'closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x4252bf(0x13b),'success':_0x4252bf(0x122),'fail':_0x4252bf(0x11d)},'size':{'title':'紙張大小','letter':_0x4252bf(0x10c),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x4252bf(0x129),'executive':_0x4252bf(0x130),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x4252bf(0x123),'b4':_0x4252bf(0x12d),'b5':_0x4252bf(0x140)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4252bf(0x13e),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4252bf(0x12c),'workbook':_0x4252bf(0x11b),'currentSelection':_0x4252bf(0x12f),'maxRowsEachPage':_0x4252bf(0x146),'maxColumnsEachPage':_0x4252bf(0x133),'limit':_0x4252bf(0x116),'allSelection':_0x4252bf(0x13f)},'selection':{'title':'選取範圍','allWorkbook':'所有工作表','workbookUnit':_0x4252bf(0x125)},'scale':{'title':'縮放','normal':_0x4252bf(0x11f),'fitWidth':_0x4252bf(0x142),'fitHeight':'調整至頁面高度','fitPage':'調整至頁面大小','custom':_0x4252bf(0x10e)},'orientation':{'title':_0x4252bf(0x131),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4252bf(0x11c),'skeleton':_0x4252bf(0x114),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x4252bf(0x10f),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4252bf(0x134),'page':'頁碼','workbook':'活頁簿標題','sheet':'工作表名稱','date':_0x4252bf(0x12e),'time':'目前時間','customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x4252bf(0x117),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x4252bf(0x11a),'dateA':_0x4252bf(0x143),'dateB':_0x4252bf(0x120),'dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x4252bf(0x13d),'timeC':'hh:mm:ss','timeD':_0x4252bf(0x147),'display':{'page':'頁碼','title':_0x4252bf(0x111),'sheet':'工作表名稱','dateA':_0x4252bf(0x119),'dateB':_0x4252bf(0x128),'dateC':'日期C','dateD':'日期D','dateE':'日期E','dateF':_0x4252bf(0x148),'timeA':_0x4252bf(0x135),'timeB':'時間B','timeC':_0x4252bf(0x124),'timeD':'時間D','sheetPage':_0x4252bf(0x132),'pageTotal':_0x4252bf(0x118),'sheetPageTotal':_0x4252bf(0x12b)},'placeholder':_0x4252bf(0x112),'submit':'確定'},'freeze':{'title':_0x4252bf(0x11e),'desc':_0x4252bf(0x127),'row':'重複凍結的列','column':_0x4252bf(0x126)},'limit':{'page':_0x4252bf(0x14a),'waterMark':_0x4252bf(0x113),'link':_0x4252bf(0x14b)}}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x27231a=_0x512c;(function(_0x372865,_0x45ff24){const _0x2f2aa1=_0x512c,_0x568dda=_0x372865();while(!![]){try{const _0x390167=-parseInt(_0x2f2aa1(0x200))/0x1+-parseInt(_0x2f2aa1(0x209))/0x2*(parseInt(_0x2f2aa1(0x221))/0x3)+parseInt(_0x2f2aa1(0x1fd))/0x4+-parseInt(_0x2f2aa1(0x218))/0x5+-parseInt(_0x2f2aa1(0x1f8))/0x6*(-parseInt(_0x2f2aa1(0x20e))/0x7)+parseInt(_0x2f2aa1(0x219))/0x8*(-parseInt(_0x2f2aa1(0x20a))/0x9)+parseInt(_0x2f2aa1(0x204))/0xa;if(_0x390167===_0x45ff24)break;else _0x568dda['push'](_0x568dda['shift']());}catch(_0x4836e5){_0x568dda['push'](_0x568dda['shift']());}}}(_0x4cd7,0xdcb8d));import{ISheetPrintManagerService as _0x181a55,ConfirmSheetPrintOperation as _0x28b7f0,SheetPrintOpenOperation as _0x599153,CancelSheetPrintOperation as _0x4eea2d,hasPrintFacadePermission as _0x4dc2c8,SheetScreenShotOperation as _0x226f2d,SheetPrintClientService as _0x4950d6,PrintArea as _0x2b73b5,PrintFreeze as _0x15d25e,PrintHeaderFooter as _0x141cc8,PrintHeaderFooterSymbol as _0x2048af}from'@univerjs-pro/sheets-print';function _0x4cd7(){const _0x13f1f4=['301OriDtE','SheetPrintOpen','getScreenshot','PrintFreeze','PrintArea','Event','getSheetId','BeforeSheetPrintCanceled','layoutConfig','registerEventHandler','7165400amjPfU','2041064kdGlQi','PrintDirection','executeCommand','syncExecuteCommand','PrintHeaderFooterSymbol','SheetPrintCanceled','updateRenderConfig','PrintScale','54ySGdpN','extend','get','openPrintDialog','renderConfig','PrintAlign','getActiveUniverSheet','fireEvent','includeHeaders','PrintHeaderFooter','75552xRrImw','_injector','closePrintDialog','BeforeSheetPrintOpen','_workbook','5955988sXiPOC','updatePrintRenderConfig','PrintPaperSize','1594609MkkxCj','saveScreenshotToClipboard','getUnitId','beforeCommandExecuted','45696940VFmnzL','cancel','BeforeSheetPrintConfirm','print','SheetPrintConfirmed','98050bwOdDQ','63pXpcaz','updatePrintConfig','getActiveSheet','onCommandExecuted'];_0x4cd7=function(){return _0x13f1f4;};return _0x4cd7();}import{ICommandService as _0x385e7e,PaperType as _0x245f93,CanceledError as _0x1ce5f5}from'@univerjs/core';import{FWorkbook as _0x26241d,FRange as _0x8f5337}from'@univerjs/sheets/facade';import{FEventName as _0xa859d5,FEnum as _0x5bc82f,FUniver as _0x403a6a}from'@univerjs/core/facade';function _0x512c(_0x140578,_0xb8333b){_0x140578=_0x140578-0x1f4;const _0x4cd7ca=_0x4cd7();let _0x512ccc=_0x4cd7ca[_0x140578];return _0x512ccc;}import{PrintAlign as _0x4f9b96,PrintPaperMargin as _0x148b4e,PrintScale as _0x49a585,PrintDirection as _0x1d3c43}from'@univerjs-pro/print';class A extends _0x26241d{[_0x27231a(0x20b)](_0x4dc5c1){return this['_injector']['get'](_0x181a55)['updateLayoutConfig'](_0x4dc5c1),this;}[_0x27231a(0x1fe)](_0x4e25f7){const _0x14ac2f=_0x27231a;return this[_0x14ac2f(0x1f9)][_0x14ac2f(0x223)](_0x181a55)[_0x14ac2f(0x21f)](_0x4e25f7),this;}[_0x27231a(0x207)](){const _0x5daab8=_0x27231a;return this['_injector'][_0x5daab8(0x223)](_0x385e7e)['syncExecuteCommand'](_0x28b7f0['id']);}[_0x27231a(0x224)](){const _0x28dcef=_0x27231a;return this[_0x28dcef(0x1f9)][_0x28dcef(0x223)](_0x385e7e)[_0x28dcef(0x21c)](_0x599153['id']);}[_0x27231a(0x1fa)](){const _0x4cdb8f=_0x27231a;return this[_0x4cdb8f(0x1f9)][_0x4cdb8f(0x223)](_0x385e7e)['syncExecuteCommand'](_0x4eea2d['id']);}async[_0x27231a(0x201)](){const _0x367f04=_0x27231a;return _0x4dc2c8(this[_0x367f04(0x1f9)])?this[_0x367f04(0x1f9)]['get'](_0x385e7e)[_0x367f04(0x21b)](_0x226f2d['id']):!0x1;}}_0x26241d[_0x27231a(0x222)](A);class B extends _0x8f5337{[_0x27231a(0x210)](_0x4c2896){const _0x18dab8=_0x27231a;return _0x4dc2c8(this['_injector'])?this['_injector'][_0x18dab8(0x223)](_0x4950d6)['getRangeImage'](this[_0x18dab8(0x1fc)][_0x18dab8(0x202)](),this['_worksheet'][_0x18dab8(0x214)](),this['_range'],_0x4c2896==null?void 0x0:_0x4c2896[_0x18dab8(0x1f6)]):!0x1;}}_0x8f5337[_0x27231a(0x222)](B);class H{get[_0x27231a(0x1fb)](){return'BeforeSheetPrintOpen';}get[_0x27231a(0x206)](){const _0x8f2929=_0x27231a;return _0x8f2929(0x206);}get[_0x27231a(0x215)](){return'BeforeSheetPrintCanceled';}get[_0x27231a(0x20f)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x33b4cf=_0x27231a;return _0x33b4cf(0x208);}get[_0x27231a(0x21e)](){const _0x45a361=_0x27231a;return _0x45a361(0x21e);}}_0xa859d5['extend'](H);class U{get[_0x27231a(0x212)](){return _0x2b73b5;}get[_0x27231a(0x226)](){return _0x4f9b96;}get[_0x27231a(0x1ff)](){return _0x245f93;}get['PrintPaperMargin'](){return _0x148b4e;}get[_0x27231a(0x220)](){return _0x49a585;}get[_0x27231a(0x21a)](){return _0x1d3c43;}get[_0x27231a(0x211)](){return _0x15d25e;}get[_0x27231a(0x1f7)](){return _0x141cc8;}get[_0x27231a(0x21d)](){return _0x2048af;}}_0x5bc82f['extend'](U);class M extends _0x403a6a{['_initialize'](_0x1ff962){const _0x2bd7f5=_0x27231a,_0x2621f2=_0x1ff962[_0x2bd7f5(0x223)](_0x385e7e);this['registerEventHandler'](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x1fb)],()=>_0x2621f2['beforeCommandExecuted'](_0x4b908a=>{const _0x34c1a1=_0x2bd7f5;if(_0x4b908a['id']===_0x599153['id']){const _0x4869a7=this['getActiveUniverSheet']();if(!_0x4869a7)return;const _0x3ccf02={'workbook':_0x4869a7,'worksheet':_0x4869a7[_0x34c1a1(0x20c)]()};if(_0x3ccf02==null)return;if(this[_0x34c1a1(0x1f5)](this['Event'][_0x34c1a1(0x1fb)],_0x3ccf02),_0x3ccf02[_0x34c1a1(0x205)])throw new _0x1ce5f5();}})),this[_0x2bd7f5(0x217)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x2621f2[_0x2bd7f5(0x203)](_0x4ad9ce=>{const _0x4fe70e=_0x2bd7f5;if(_0x4ad9ce['id']===_0x28b7f0['id']){const _0x2f2c01=_0x1ff962['get'](_0x181a55);if(!this[_0x4fe70e(0x1f4)]())return;const _0x1de595={'layoutConfig':_0x2f2c01[_0x4fe70e(0x216)],'renderConfig':_0x2f2c01['renderConfig']};if(_0x1de595==null)return;if(this[_0x4fe70e(0x1f5)](this[_0x4fe70e(0x213)][_0x4fe70e(0x206)],_0x1de595),_0x1de595['cancel'])throw new _0x1ce5f5();}})),this[_0x2bd7f5(0x217)](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x215)],()=>_0x2621f2[_0x2bd7f5(0x203)](_0x42e890=>{const _0x2beef6=_0x2bd7f5;if(_0x42e890['id']===_0x4eea2d['id']){const _0x1d8877=_0x1ff962[_0x2beef6(0x223)](_0x181a55);if(!this[_0x2beef6(0x1f4)]())return;const _0x353c6d={'layoutConfig':_0x1d8877[_0x2beef6(0x216)],'renderConfig':_0x1d8877[_0x2beef6(0x225)]};if(_0x353c6d==null)return;if(this[_0x2beef6(0x1f5)](this[_0x2beef6(0x213)][_0x2beef6(0x215)],_0x353c6d),_0x353c6d[_0x2beef6(0x205)])throw new _0x1ce5f5();}})),this[_0x2bd7f5(0x217)](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x20f)],()=>_0x2621f2[_0x2bd7f5(0x20d)](_0x385448=>{const _0x1e5f02=_0x2bd7f5;if(_0x385448['id']===_0x599153['id']){const _0x20aafe=this[_0x1e5f02(0x1f4)]();if(!_0x20aafe)return;const _0x14451f={'workbook':_0x20aafe,'worksheet':_0x20aafe[_0x1e5f02(0x20c)]()};if(_0x14451f==null)return;this[_0x1e5f02(0x1f5)](this[_0x1e5f02(0x213)][_0x1e5f02(0x20f)],_0x14451f);}})),this[_0x2bd7f5(0x217)](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x208)],()=>_0x2621f2[_0x2bd7f5(0x20d)](_0x57c47e=>{const _0x2947ab=_0x2bd7f5;if(_0x57c47e['id']===_0x28b7f0['id']){const _0x3e107f=_0x1ff962[_0x2947ab(0x223)](_0x181a55);if(!this[_0x2947ab(0x1f4)]())return;const _0x307bb7={'layoutConfig':_0x3e107f[_0x2947ab(0x216)],'renderConfig':_0x3e107f[_0x2947ab(0x225)]};if(_0x307bb7==null)return;this[_0x2947ab(0x1f5)](this[_0x2947ab(0x213)][_0x2947ab(0x208)],_0x307bb7);}})),this[_0x2bd7f5(0x217)](this['Event'][_0x2bd7f5(0x21e)],()=>_0x2621f2[_0x2bd7f5(0x20d)](_0x3328d2=>{const _0x229044=_0x2bd7f5;if(_0x3328d2['id']===_0x4eea2d['id']){const _0x5c40fb=_0x1ff962['get'](_0x181a55);if(!this['getActiveUniverSheet']())return;const _0x27e944={'layoutConfig':_0x5c40fb[_0x229044(0x216)],'renderConfig':_0x5c40fb[_0x229044(0x225)]};if(_0x27e944==null)return;this[_0x229044(0x1f5)](this[_0x229044(0x213)]['SheetPrintCanceled'],_0x27e944);}}));}}_0x403a6a[_0x27231a(0x222)](M);
1
+ const _0x346b93=_0x3bd0;(function(_0x45c5bf,_0x5bb249){const _0x243f1b=_0x3bd0,_0x1f89fc=_0x45c5bf();while(!![]){try{const _0x47955b=parseInt(_0x243f1b(0x147))/0x1+-parseInt(_0x243f1b(0x15f))/0x2*(-parseInt(_0x243f1b(0x13b))/0x3)+parseInt(_0x243f1b(0x149))/0x4*(-parseInt(_0x243f1b(0x13d))/0x5)+-parseInt(_0x243f1b(0x134))/0x6+parseInt(_0x243f1b(0x14b))/0x7+-parseInt(_0x243f1b(0x13c))/0x8*(parseInt(_0x243f1b(0x144))/0x9)+parseInt(_0x243f1b(0x136))/0xa*(parseInt(_0x243f1b(0x157))/0xb);if(_0x47955b===_0x5bb249)break;else _0x1f89fc['push'](_0x1f89fc['shift']());}catch(_0x3af5c4){_0x1f89fc['push'](_0x1f89fc['shift']());}}}(_0x22db,0xc06ea));import{ISheetPrintManagerService as _0xfb6008,ConfirmSheetPrintOperation as _0x1d3f25,SheetPrintOpenOperation as _0x35b1b5,CancelSheetPrintOperation as _0x422312,hasPrintFacadePermission as _0x3bb00c,SheetScreenShotOperation as _0x3105eb,SheetPrintClientService as _0x1f23eb,PrintArea as _0x2c6261,PrintFreeze as _0x421fc7,PrintHeaderFooter as _0x1e3082,PrintHeaderFooterSymbol as _0x38b52b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x504423,PaperType as _0x34e1c7,CanceledError as _0x2a9b2b}from'@univerjs/core';import{FWorkbook as _0x497b7a,FRange as _0x1239fd}from'@univerjs/sheets/facade';import{FEventName as _0x144e6b,FEnum as _0x22a526,FUniver as _0x437663}from'@univerjs/core/facade';import{PrintAlign as _0x417a71,PrintPaperMargin as _0x50e773,PrintScale as _0x40e0c2,PrintDirection as _0x33437a}from'@univerjs-pro/print';class _ extends _0x497b7a{[_0x346b93(0x150)](_0x21dca6){const _0x4b9af4=_0x346b93;return this['_injector'][_0x4b9af4(0x140)](_0xfb6008)[_0x4b9af4(0x14d)](_0x21dca6),this;}[_0x346b93(0x132)](_0x31c649){const _0x269329=_0x346b93;return this[_0x269329(0x155)][_0x269329(0x140)](_0xfb6008)[_0x269329(0x142)](_0x31c649),this;}[_0x346b93(0x138)](){const _0x4c7ccb=_0x346b93;return this[_0x4c7ccb(0x155)][_0x4c7ccb(0x140)](_0x504423)[_0x4c7ccb(0x15e)](_0x1d3f25['id']);}[_0x346b93(0x162)](){const _0x33b848=_0x346b93;return this[_0x33b848(0x155)][_0x33b848(0x140)](_0x504423)['syncExecuteCommand'](_0x35b1b5['id']);}[_0x346b93(0x141)](){const _0x265c53=_0x346b93;return this[_0x265c53(0x155)][_0x265c53(0x140)](_0x504423)[_0x265c53(0x15e)](_0x422312['id']);}async[_0x346b93(0x133)](){const _0xa19bf3=_0x346b93;return _0x3bb00c(this[_0xa19bf3(0x155)])?this['_injector'][_0xa19bf3(0x140)](_0x504423)[_0xa19bf3(0x135)](_0x3105eb['id']):!0x1;}}_0x497b7a[_0x346b93(0x159)](_);function _0x3bd0(_0x538362,_0x4dcfe4){_0x538362=_0x538362-0x132;const _0x22dbb7=_0x22db();let _0x3bd09d=_0x22dbb7[_0x538362];return _0x3bd09d;}class A extends _0x1239fd{['getScreenshot'](_0xacc62d){const _0x18b41c=_0x346b93;return _0x3bb00c(this[_0x18b41c(0x155)])?this['_injector'][_0x18b41c(0x140)](_0x1f23eb)[_0x18b41c(0x160)](this[_0x18b41c(0x163)][_0x18b41c(0x145)](),this[_0x18b41c(0x15a)][_0x18b41c(0x158)](),this['_range'],_0xacc62d==null?void 0x0:_0xacc62d['includeHeaders']):!0x1;}}_0x1239fd[_0x346b93(0x159)](A);class B{get[_0x346b93(0x14a)](){const _0x218c0d=_0x346b93;return _0x218c0d(0x14a);}get[_0x346b93(0x14c)](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x346b93(0x137)](){return'SheetPrintOpen';}get[_0x346b93(0x13e)](){const _0x3b4637=_0x346b93;return _0x3b4637(0x13e);}get[_0x346b93(0x146)](){const _0x263582=_0x346b93;return _0x263582(0x146);}}_0x144e6b[_0x346b93(0x159)](B);class H{get[_0x346b93(0x152)](){return _0x2c6261;}get[_0x346b93(0x15c)](){return _0x417a71;}get['PrintPaperSize'](){return _0x34e1c7;}get['PrintPaperMargin'](){return _0x50e773;}get[_0x346b93(0x164)](){return _0x40e0c2;}get['PrintDirection'](){return _0x33437a;}get[_0x346b93(0x156)](){return _0x421fc7;}get[_0x346b93(0x15b)](){return _0x1e3082;}get['PrintHeaderFooterSymbol'](){return _0x38b52b;}}_0x22a526['extend'](H);class U extends _0x437663{[_0x346b93(0x13a)](_0x1f1a97){const _0x26ef8d=_0x346b93,_0x590768=_0x1f1a97[_0x26ef8d(0x140)](_0x504423);this[_0x26ef8d(0x14e)](this[_0x26ef8d(0x14f)](this[_0x26ef8d(0x148)][_0x26ef8d(0x14a)],()=>_0x590768[_0x26ef8d(0x143)](_0x49c1a6=>{const _0x55bb7a=_0x26ef8d;if(_0x49c1a6['id']===_0x35b1b5['id']){const _0xd2cafc=this[_0x55bb7a(0x154)]();if(!_0xd2cafc)return;const _0x447c4e={'workbook':_0xd2cafc,'worksheet':_0xd2cafc[_0x55bb7a(0x139)]()};if(_0x447c4e==null)return;if(this[_0x55bb7a(0x15d)](this[_0x55bb7a(0x148)][_0x55bb7a(0x14a)],_0x447c4e),_0x447c4e['cancel'])throw new _0x2a9b2b();}}))),this[_0x26ef8d(0x14e)](this[_0x26ef8d(0x14f)](this[_0x26ef8d(0x148)][_0x26ef8d(0x14c)],()=>_0x590768[_0x26ef8d(0x143)](_0x4187ef=>{const _0x329b14=_0x26ef8d;if(_0x4187ef['id']===_0x1d3f25['id']){const _0x120c12=_0x1f1a97[_0x329b14(0x140)](_0xfb6008);if(!this[_0x329b14(0x154)]())return;const _0x4c2e9a={'layoutConfig':_0x120c12[_0x329b14(0x161)],'renderConfig':_0x120c12['renderConfig']};if(_0x4c2e9a==null)return;if(this[_0x329b14(0x15d)](this[_0x329b14(0x148)][_0x329b14(0x14c)],_0x4c2e9a),_0x4c2e9a['cancel'])throw new _0x2a9b2b();}}))),this[_0x26ef8d(0x14e)](this[_0x26ef8d(0x14f)](this[_0x26ef8d(0x148)][_0x26ef8d(0x151)],()=>_0x590768[_0x26ef8d(0x143)](_0x341be4=>{const _0x27398a=_0x26ef8d;if(_0x341be4['id']===_0x422312['id']){const _0x28f2b2=_0x1f1a97[_0x27398a(0x140)](_0xfb6008);if(!this[_0x27398a(0x154)]())return;const _0x4fd88f={'layoutConfig':_0x28f2b2[_0x27398a(0x161)],'renderConfig':_0x28f2b2[_0x27398a(0x153)]};if(_0x4fd88f==null)return;if(this[_0x27398a(0x15d)](this[_0x27398a(0x148)]['BeforeSheetPrintCanceled'],_0x4fd88f),_0x4fd88f['cancel'])throw new _0x2a9b2b();}}))),this[_0x26ef8d(0x14e)](this[_0x26ef8d(0x14f)](this[_0x26ef8d(0x148)][_0x26ef8d(0x137)],()=>_0x590768[_0x26ef8d(0x13f)](_0x595ab9=>{const _0x354da5=_0x26ef8d;if(_0x595ab9['id']===_0x35b1b5['id']){const _0x59ce33=this['getActiveUniverSheet']();if(!_0x59ce33)return;const _0x1f69df={'workbook':_0x59ce33,'worksheet':_0x59ce33[_0x354da5(0x139)]()};if(_0x1f69df==null)return;this['fireEvent'](this['Event']['SheetPrintOpen'],_0x1f69df);}}))),this[_0x26ef8d(0x14e)](this[_0x26ef8d(0x14f)](this[_0x26ef8d(0x148)]['SheetPrintConfirmed'],()=>_0x590768[_0x26ef8d(0x13f)](_0x428577=>{const _0x1d46a7=_0x26ef8d;if(_0x428577['id']===_0x1d3f25['id']){const _0x4e490b=_0x1f1a97['get'](_0xfb6008);if(!this['getActiveUniverSheet']())return;const _0x5d9210={'layoutConfig':_0x4e490b[_0x1d46a7(0x161)],'renderConfig':_0x4e490b[_0x1d46a7(0x153)]};if(_0x5d9210==null)return;this[_0x1d46a7(0x15d)](this[_0x1d46a7(0x148)][_0x1d46a7(0x13e)],_0x5d9210);}}))),this[_0x26ef8d(0x14e)](this[_0x26ef8d(0x14f)](this['Event'][_0x26ef8d(0x146)],()=>_0x590768[_0x26ef8d(0x13f)](_0x2636aa=>{const _0x3057e8=_0x26ef8d;if(_0x2636aa['id']===_0x422312['id']){const _0x2b69c1=_0x1f1a97[_0x3057e8(0x140)](_0xfb6008);if(!this[_0x3057e8(0x154)]())return;const _0x46848b={'layoutConfig':_0x2b69c1[_0x3057e8(0x161)],'renderConfig':_0x2b69c1[_0x3057e8(0x153)]};if(_0x46848b==null)return;this[_0x3057e8(0x15d)](this['Event'][_0x3057e8(0x146)],_0x46848b);}})));}}_0x437663['extend'](U);function _0x22db(){const _0x1a4873=['print','getActiveSheet','_initialize','194943bIECwd','2032872ppuJAw','175qpyBzj','SheetPrintConfirmed','onCommandExecuted','get','closePrintDialog','updateRenderConfig','beforeCommandExecuted','9ylzmWJ','getUnitId','SheetPrintCanceled','1308103fgreXv','Event','72460tjxili','BeforeSheetPrintOpen','139916XpizWB','BeforeSheetPrintConfirm','updateLayoutConfig','disposeWithMe','registerEventHandler','updatePrintConfig','BeforeSheetPrintCanceled','PrintArea','renderConfig','getActiveUniverSheet','_injector','PrintFreeze','1354331vMoaLk','getSheetId','extend','_worksheet','PrintHeaderFooter','PrintAlign','fireEvent','syncExecuteCommand','24AKtTjk','getRangeImage','layoutConfig','openPrintDialog','_workbook','PrintScale','updatePrintRenderConfig','saveScreenshotToClipboard','6282792CsgSSV','executeCommand','50rzCtHw','SheetPrintOpen'];_0x22db=function(){return _0x1a4873;};return _0x22db();}
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-0{bottom:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-7{margin-top:1.75rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-8{height:2rem}.univer-h-\[200px\]{height:200px}.univer-h-full{height:100%}.univer-w-\[312px\]{width:312px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-1{flex:1 1 0%}.univer-flex-none{flex:none}.univer-flex-grow{flex-grow:1}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0rem;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-t{border-top-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-pb-4{padding-bottom:1rem}.univer-text-center{text-align:center}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}
1
+ .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-4{right:1rem}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-7{margin-top:1.75rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-8{height:2rem}.univer-h-\[200px\]{height:200px}.univer-h-full{height:100%}.univer-w-\[--radix-popper-anchor-width\]{width:var(--radix-popper-anchor-width)}.univer-w-\[312px\]{width:312px}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-1{flex:1 1 0%}.univer-flex-none{flex:none}.univer-flex-grow{flex-grow:1}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0rem;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-t{border-top-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-pb-4{padding-bottom:1rem}.univer-text-center{text-align:center}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}