@univerjs-pro/sheets-print 0.16.0 → 0.16.1
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/license/encrypted-func.d.ts +1 -1
- package/lib/types/license/reverse-mapping.d.ts +44 -44
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x1fc8ec=_0x3918;(function(_0x2b7d11,_0x1b0a58){const _0x224068=_0x3918,_0x40af2c=_0x2b7d11();while(!![]){try{const _0x5cd51d=-parseInt(_0x224068(0x171))/0x1+-parseInt(_0x224068(0x165))/0x2+-parseInt(_0x224068(0x14a))/0x3*(parseInt(_0x224068(0x16b))/0x4)+-parseInt(_0x224068(0x12a))/0x5+parseInt(_0x224068(0x144))/0x6+-parseInt(_0x224068(0x151))/0x7+parseInt(_0x224068(0x178))/0x8;if(_0x5cd51d===_0x1b0a58)break;else _0x40af2c['push'](_0x40af2c['shift']());}catch(_0x288799){_0x40af2c['push'](_0x40af2c['shift']());}}}(_0x477b,0xee33a));function _0x3918(_0x171288,_0x3003a2){_0x171288=_0x171288-0x12a;const _0x477b15=_0x477b();let _0x391868=_0x477b15[_0x171288];return _0x391868;}const t={'print':{'header':{'total':'Tổng\x20số:\x20','pages':'trang','cancel':_0x1fc8ec(0x15d),'next':_0x1fc8ec(0x16a),'printing':_0x1fc8ec(0x163)},'menu':'In','title':'In','grid':{'title':'Bố\x20cục\x20in','showGrid':_0x1fc8ec(0x173),'showGridLabel':_0x1fc8ec(0x146),'closeAndHide':'Đóng\x20và\x20ẩn\x20ngắt\x20trang'},'screenshot':{'title':'Sao\x20chép\x20dưới\x20dạng\x20hình\x20ảnh','success':_0x1fc8ec(0x169),'fail':'Không\x20thể\x20sao\x20chép\x20hình\x20ảnh\x20vào\x20bộ\x20nhớ\x20tạm!'},'size':{'title':_0x1fc8ec(0x174),'letter':_0x1fc8ec(0x14e),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x1fc8ec(0x17e),'executive':_0x1fc8ec(0x134),'folio':_0x1fc8ec(0x15a),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x1fc8ec(0x17c),'a5':_0x1fc8ec(0x15c),'b4':_0x1fc8ec(0x16d),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'Lề','normal':_0x1fc8ec(0x148),'narrow':_0x1fc8ec(0x16c),'wide':_0x1fc8ec(0x162),'custom':'Lề\x20tùy\x20chỉnh','top':_0x1fc8ec(0x12f),'bottom':_0x1fc8ec(0x16e),'left':_0x1fc8ec(0x137),'right':_0x1fc8ec(0x154)},'area':{'title':'In','currentSheet':_0x1fc8ec(0x149),'workbook':_0x1fc8ec(0x16f),'currentSelection':_0x1fc8ec(0x17a),'maxRowsEachPage':_0x1fc8ec(0x150),'maxColumnsEachPage':_0x1fc8ec(0x168),'limit':_0x1fc8ec(0x131),'allSelection':_0x1fc8ec(0x139)},'selection':{'title':_0x1fc8ec(0x138),'allWorkbook':_0x1fc8ec(0x133),'workbookUnit':_0x1fc8ec(0x14b)},'scale':{'title':_0x1fc8ec(0x179),'normal':_0x1fc8ec(0x14f),'fitWidth':'Vừa\x20với\x20chiều\x20rộng','fitHeight':'Vừa\x20với\x20chiều\x20cao','fitPage':_0x1fc8ec(0x159),'custom':_0x1fc8ec(0x15f)},'orientation':{'title':_0x1fc8ec(0x132),'landscape':_0x1fc8ec(0x156),'portrait':_0x1fc8ec(0x161)},'formatting':{'title':_0x1fc8ec(0x145),'skeleton':_0x1fc8ec(0x13b),'waterMark':'Hiện\x20hình\x20mờ'},'align':{'title':_0x1fc8ec(0x175),'horizontal':{'title':_0x1fc8ec(0x167),'middle':'Giữa','start':_0x1fc8ec(0x137),'end':'Phải'},'vertical':{'title':_0x1fc8ec(0x14c),'start':'Trên','end':'Dưới','middle':'Giữa'}},'headerFooter':{'title':_0x1fc8ec(0x12c),'page':'Số\x20trang','workbook':_0x1fc8ec(0x155),'sheet':_0x1fc8ec(0x136),'date':'Ngày\x20hiện\x20tại','time':_0x1fc8ec(0x13c),'customHeadFooter':_0x1fc8ec(0x157),'editCustomHeadFooter':_0x1fc8ec(0x130),'header':_0x1fc8ec(0x15e),'footer':'Chân\x20trang','left':_0x1fc8ec(0x137),'right':_0x1fc8ec(0x154),'center':_0x1fc8ec(0x17b),'dateFormat':'Định\x20dạng\x20ngày','dateA':_0x1fc8ec(0x15b),'dateB':'MM-DD','dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x1fc8ec(0x177),'timeC':_0x1fc8ec(0x147),'timeD':'hh:mm','display':{'page':_0x1fc8ec(0x140),'title':_0x1fc8ec(0x141),'sheet':_0x1fc8ec(0x136),'dateA':_0x1fc8ec(0x164),'dateB':_0x1fc8ec(0x14d),'dateC':_0x1fc8ec(0x170),'dateD':_0x1fc8ec(0x172),'dateE':_0x1fc8ec(0x13d),'dateF':_0x1fc8ec(0x17d),'timeA':'GiờA','timeB':'GiờB','timeC':_0x1fc8ec(0x12b),'timeD':_0x1fc8ec(0x135),'sheetPage':_0x1fc8ec(0x142),'pageTotal':_0x1fc8ec(0x152),'sheetPageTotal':_0x1fc8ec(0x13a)},'placeholder':_0x1fc8ec(0x13f),'submit':_0x1fc8ec(0x153)},'freeze':{'title':_0x1fc8ec(0x12e),'desc':_0x1fc8ec(0x160),'row':_0x1fc8ec(0x143),'column':_0x1fc8ec(0x176)},'limit':{'page':_0x1fc8ec(0x12d),'waterMark':_0x1fc8ec(0x158),'link':_0x1fc8ec(0x13e)}}};function _0x477b(){const _0x75e1c4=['YYYY-MM-DD','A5\x20(5.83\x22\x20x\x208.27\x22)','HỦY','Đầu\x20trang','Tùy\x20chỉnh','Đi\x20tới\x20Xem\x20>\x20Cố\x20định\x20để\x20chọn\x20hàng/cột\x20lặp\x20lại\x20trên\x20tất\x20cả\x20các\x20trang','Dọc','Rộng','Đang\x20in,\x20vui\x20lòng\x20không\x20đóng\x20trang','NgàyA','1873490oeXATk','exports','Căn\x20ngang','Số\x20cột\x20tối\x20đa\x20mỗi\x20trang','Đã\x20sao\x20chép\x20hình\x20ảnh\x20vào\x20bộ\x20nhớ\x20tạm\x20thành\x20công!','TIẾP\x20THEO','1654148vTaAJo','Hẹp','B4\x20(9.84\x22\x20x\x2013.90\x22)','Dưới','Sổ\x20làm\x20việc','NgàyC','1197640JDhjJH','NgàyD','Hiện\x20ngắt\x20trang','Kích\x20thước\x20giấy','Căn\x20chỉnh','Lặp\x20lại\x20cột\x20đã\x20cố\x20định','HH:mm','31868048ImPdfF','Tỷ\x20lệ','Các\x20ô\x20đã\x20chọn','Giữa','A4\x20(8.27\x22\x20x\x2011.69\x22)','NgàyF','Statement\x20(5.5\x22\x20x\x208.5\x22)','3483980sXuDCh','GiờC','Đầu\x20trang\x20&\x20chân\x20trang','Phiên\x20bản\x20miễn\x20phí\x20chỉ\x20hỗ\x20trợ\x20in\x20{limit}\x20trang,\x20vui\x20lòng\x20mua\x20phiên\x20bản\x20thương\x20mại\x20để\x20sử\x20dụng\x20các\x20tính\x20năng\x20nâng\x20cao!','Tiêu\x20đề\x20hàng\x20&\x20cột','Trên','Chỉnh\x20sửa\x20đầu\x20trang/chân\x20trang\x20tùy\x20chỉnh','Giới\x20hạn\x20hàng\x20&\x20cột','Hướng\x20trang','Tất\x20cả\x20trang\x20tính','Executive\x20(7.25\x22\x20x\x2010.5\x22)','GiờD','Tên\x20trang\x20tính','Trái','Lựa\x20chọn','Tất\x20cả\x20các\x20ô\x20đã\x20chọn','Tổng\x20số\x20trang\x20tính','Hiện\x20đường\x20lưới','Thời\x20gian\x20hiện\x20tại','NgàyE','https://univer.ai/pro','Nhấp\x20để\x20thêm\x20văn\x20bản','Số\x20trang','Tiêu\x20đề\x20sổ','Số\x20trang\x20tính','Lặp\x20lại\x20hàng\x20đã\x20cố\x20định','2644422CAFylM','Định\x20dạng','Hiện\x20đường\x20ngắt\x20trang','hh:mm:ss','Bình\x20thường','Trang\x20tính\x20hiện\x20tại','3YwLQuE','trang\x20tính','Căn\x20dọc','NgàyB','Letter\x20(8.5\x22\x20x\x2011\x22)','Bình\x20thường\x20(100%)','Số\x20hàng\x20tối\x20đa\x20mỗi\x20trang','1426957MmtKeK','Tổng\x20số\x20trang','Đồng\x20ý','Phải','Tiêu\x20đề\x20sổ\x20làm\x20việc','Ngang','Tùy\x20chỉnh\x20đầu\x20trang/chân\x20trang','Phiên\x20bản\x20Univer\x20miễn\x20phí,\x20được\x20hỗ\x20trợ\x20bởi\x20univer.ai.','Vừa\x20với\x20trang','Folio\x20(8.5\x22\x20x\x2013\x22)'];_0x477b=function(){return _0x75e1c4;};return _0x477b();}module[_0x1fc8ec(0x166)]=t;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x268c9d=_0xfd0d;function _0xfd0d(_0x28b0c6,_0x573347){_0x28b0c6=_0x28b0c6-0x6b;const _0x16bdd3=_0x16bd();let _0xfd0d7=_0x16bdd3[_0x28b0c6];return _0xfd0d7;}function _0x16bd(){const _0x330326=['Custom\x20number','行和列限制','图片已保存失败','日期4','B5(17.6厘米\x20x\x2025.0厘米)','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','行政公文纸(18.4厘米\x20x\x2026.7厘米)','工作簿名称','自定义页眉页脚','页面方向','当前工作表','每页最大行数','工作簿','已选范围','977199hlyABU','编辑自定义页眉页脚','顶部对齐','Horizontal','重复冻结行','转到“查看”>“冻结”可选择要在所有页面重复的行/列','自定义页边距','底部对齐','对折纸(21.6厘米\x20x\x2033.0厘米)','1567416VcSMta','右对齐','网格线','报表(14.0厘米\x20x\x2021.6厘米)','法律专用纸(21.6厘米\x20x\x2035.6厘米)','当前时间','Vertical','重复冻结列','图片已保存到剪贴板','对齐方式','时间2','日期格式','打印布局','MM-DD','806421hKQIIO','页眉和页脚','40476lZScZH','适合宽度','Univer\x20免费版本,由\x20univer.ai\x20提供支持。','正在打印,请勿关闭页面','6228604qLuNxE','日期5','打印设置','日期6','4752090LhQvGj','子表总页数','当前日期','日期2','1055XrKEuk','点击可添加文本','时间4','适合页面大小','子表页码','张工作表','22153653ckxDgu','日期3','工作簿标题','显示分页辅助线','8SeLsoD','所有工作表','复制为截图','适合高度','LTS','纸张大小','行标题与列标题','信纸(21.6厘米\x20x\x2027.9厘米)'];_0x16bd=function(){return _0x330326;};return _0x16bd();}(function(_0x56bc16,_0x16d74b){const _0x5301ba=_0xfd0d,_0x5d8d3a=_0x56bc16();while(!![]){try{const _0x5b8c24=parseInt(_0x5301ba(0x80))/0x1+parseInt(_0x5301ba(0x89))/0x2+parseInt(_0x5301ba(0x97))/0x3+-parseInt(_0x5301ba(0x9d))/0x4+parseInt(_0x5301ba(0xa5))/0x5*(-parseInt(_0x5301ba(0x99))/0x6)+-parseInt(_0x5301ba(0xa1))/0x7+parseInt(_0x5301ba(0xaf))/0x8*(parseInt(_0x5301ba(0xab))/0x9);if(_0x5b8c24===_0x16d74b)break;else _0x5d8d3a['push'](_0x5d8d3a['shift']());}catch(_0x154c91){_0x5d8d3a['push'](_0x5d8d3a['shift']());}}}(_0x16bd,0xcb13c));const t={'print':{'header':{'total':'打印页数:','pages':'页','cancel':'取消','next':'下一步','printing':_0x268c9d(0x9c)},'menu':'打印','title':_0x268c9d(0x9f),'grid':{'title':_0x268c9d(0x95),'showGrid':'显示分页辅助线','showGridLabel':_0x268c9d(0xae),'closeAndHide':'关闭并隐藏辅助线'},'screenshot':{'title':_0x268c9d(0x6c),'success':_0x268c9d(0x91),'fail':_0x268c9d(0x74)},'size':{'title':_0x268c9d(0x6f),'letter':_0x268c9d(0x71),'tabloid':'小报(27.9厘米\x20x\x2043.2厘米)','legal':_0x268c9d(0x8d),'statement':_0x268c9d(0x8c),'executive':_0x268c9d(0x78),'folio':_0x268c9d(0x88),'a3':'A3(29.7厘米\x20x\x2042.0厘米)','a4':'A4(21.0厘米\x20x\x2029.7厘米)','a5':'A5(14.8厘米\x20x\x2021.0厘米)','b4':'B4(25.0厘米\x20x\x2035.3厘米)','b5':_0x268c9d(0x76)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':_0x268c9d(0x86),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'打印范围','currentSheet':_0x268c9d(0x7c),'workbook':_0x268c9d(0x7e),'currentSelection':_0x268c9d(0x7f),'maxRowsEachPage':_0x268c9d(0x7d),'maxColumnsEachPage':'每页最大列数','limit':_0x268c9d(0x73),'allSelection':'所有已选范围'},'selection':{'title':'选择','allWorkbook':_0x268c9d(0x6b),'workbookUnit':_0x268c9d(0xaa)},'scale':{'title':'缩放','normal':'正常\x20(100%)','fitWidth':_0x268c9d(0x9a),'fitHeight':_0x268c9d(0x6d),'fitPage':_0x268c9d(0xa8),'custom':_0x268c9d(0x72)},'orientation':{'title':_0x268c9d(0x7b),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x268c9d(0x8b),'waterMark':'显示水印'},'align':{'title':_0x268c9d(0x92),'horizontal':{'title':_0x268c9d(0x83),'middle':'水平居中','start':'左对齐','end':_0x268c9d(0x8a)},'vertical':{'title':_0x268c9d(0x8f),'start':_0x268c9d(0x82),'end':_0x268c9d(0x87),'middle':'垂直居中'}},'headerFooter':{'title':_0x268c9d(0x98),'page':'页码','workbook':_0x268c9d(0xad),'sheet':_0x268c9d(0x79),'date':_0x268c9d(0xa3),'time':_0x268c9d(0x8e),'customHeadFooter':_0x268c9d(0x7a),'editCustomHeadFooter':_0x268c9d(0x81),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x268c9d(0x94),'dateA':'YYYY-MM-DD','dateB':_0x268c9d(0x96),'dateC':'L','dateD':'MM月DD日','timeA':'HH:mm:ss','timeB':'HH:mm','timeC':_0x268c9d(0x6e),'timeD':'LT','display':{'page':'页码','title':_0x268c9d(0xad),'sheet':_0x268c9d(0x79),'dateA':'日期1','dateB':_0x268c9d(0xa4),'dateC':_0x268c9d(0xac),'dateD':_0x268c9d(0x75),'dateE':_0x268c9d(0x9e),'dateF':_0x268c9d(0xa0),'timeA':'时间1','timeB':_0x268c9d(0x93),'timeC':'时间3','timeD':_0x268c9d(0xa7),'sheetPage':_0x268c9d(0xa9),'pageTotal':'总页数','sheetPageTotal':_0x268c9d(0xa2)},'placeholder':_0x268c9d(0xa6),'submit':'确定'},'freeze':{'title':_0x268c9d(0x70),'desc':_0x268c9d(0x85),'row':_0x268c9d(0x84),'column':_0x268c9d(0x90)},'limit':{'page':_0x268c9d(0x77),'waterMark':_0x268c9d(0x9b),'link':'https://univer.ai/pro'}}};module['exports']=t;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3b8c(_0x5675ea,_0x36b541){_0x5675ea=_0x5675ea-0x71;const _0x5eb545=_0x5eb5();let _0x3b8cf1=_0x5eb545[_0x5675ea];return _0x3b8cf1;}const _0x4b33e4=_0x3b8c;(function(_0x2a0867,_0x3ae1d7){const _0x186662=_0x3b8c,_0x42dfff=_0x2a0867();while(!![]){try{const _0x6282d8=parseInt(_0x186662(0xb8))/0x1*(parseInt(_0x186662(0x8a))/0x2)+parseInt(_0x186662(0x87))/0x3*(parseInt(_0x186662(0xa1))/0x4)+-parseInt(_0x186662(0x7e))/0x5+parseInt(_0x186662(0x84))/0x6+-parseInt(_0x186662(0x81))/0x7+parseInt(_0x186662(0xa3))/0x8*(parseInt(_0x186662(0xb0))/0x9)+parseInt(_0x186662(0x9b))/0xa;if(_0x6282d8===_0x3ae1d7)break;else _0x42dfff['push'](_0x42dfff['shift']());}catch(_0x192c9f){_0x42dfff['push'](_0x42dfff['shift']());}}}(_0x5eb5,0x38eee));function _0x5eb5(){const _0x14f4b8=['hh:mm:ss','重複凍結的欄','18pLeDih','工作表名稱','顯示浮水印','時間C','目前工作表','垂直對齊','自訂义頁邊距','顯示分頁線','1chDnAw','A4\x20(8.27\x22\x20x\x2011.69\x22)','目前日期','調整至頁面大小','Folio\x20(8.5\x22\x20x\x2013\x22)','自訂比例','目前時間','活頁簿標題','下一步','日期E','日期D','YYYY-MM-DD','Statement\x20(5.5\x22\x20x\x208.5\x22)','Legal\x20(8.5\x22\x20x\x2014\x22)','顯示分頁符號','2179285JXdenQ','工作表頁碼','列印版面配置','2870161xPCQsQ','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','日期C','1422594cNzCaN','調整至頁面寬度','每頁最大欄數','3dJekzw','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','頁首和頁尾','46798GFqEyN','列與欄標題','選取範圍','紙張大小','HH:mm:ss','A3\x20(11.69\x22\x20x\x2016.54\x22)','日期格式','工作表總頁數','總頁數','日期B','Tabloid\x20(11\x22\x20x\x2017\x22)','圖片複製到剪貼簿失敗!','B4\x20(9.84\x22\x20x\x2013.90\x22)','格式設定','編輯自訂頁首/頁尾','B5\x20(6.93\x22\x20x\x209.84\x22)','已選取的儲存格','4272390sDsgkO','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','圖片已成功複製到剪貼簿!','Letter\x20(8.5\x22\x20x\x2011\x22)','時間A','exports','1174412XQJBdb','每頁最大列數','390952SdqWkP','顯示格線','https://univer.ai/pro','關閉並隱藏分頁線','自訂頁首/頁尾','所有工作表','日期A','列印中,請勿關閉頁面','張工作表','MM-DD','調整至頁面高度'];_0x5eb5=function(){return _0x14f4b8;};return _0x5eb5();}const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0x4b33e4(0x77),'printing':_0x4b33e4(0xaa)},'menu':'列印','title':'列印','grid':{'title':_0x4b33e4(0x80),'showGrid':_0x4b33e4(0x7d),'showGridLabel':_0x4b33e4(0xb7),'closeAndHide':_0x4b33e4(0xa6)},'screenshot':{'title':'複製為圖片','success':_0x4b33e4(0x9d),'fail':_0x4b33e4(0x95)},'size':{'title':_0x4b33e4(0x8d),'letter':_0x4b33e4(0x9e),'tabloid':_0x4b33e4(0x94),'legal':_0x4b33e4(0x7c),'statement':_0x4b33e4(0x7b),'executive':'Executive\x20(7.25\x22\x20x\x2010.5\x22)','folio':_0x4b33e4(0x73),'a3':_0x4b33e4(0x8f),'a4':_0x4b33e4(0xb9),'a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':_0x4b33e4(0x96),'b5':_0x4b33e4(0x99)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4b33e4(0xb6),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4b33e4(0xb4),'workbook':'活頁簿','currentSelection':_0x4b33e4(0x9a),'maxRowsEachPage':_0x4b33e4(0xa2),'maxColumnsEachPage':_0x4b33e4(0x86),'limit':'列與欄限制','allSelection':'所有選取的儲存格'},'selection':{'title':_0x4b33e4(0x8c),'allWorkbook':_0x4b33e4(0xa8),'workbookUnit':_0x4b33e4(0xab)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x4b33e4(0x85),'fitHeight':_0x4b33e4(0xad),'fitPage':_0x4b33e4(0x72),'custom':_0x4b33e4(0x74)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4b33e4(0x97),'skeleton':_0x4b33e4(0xa4),'waterMark':_0x4b33e4(0xb2)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x4b33e4(0xb5),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4b33e4(0x89),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x4b33e4(0xb1),'date':_0x4b33e4(0x71),'time':_0x4b33e4(0x75),'customHeadFooter':_0x4b33e4(0xa7),'editCustomHeadFooter':_0x4b33e4(0x98),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x4b33e4(0x90),'dateA':_0x4b33e4(0x7a),'dateB':_0x4b33e4(0xac),'dateC':'L','dateD':'MM/DD','timeA':_0x4b33e4(0x8e),'timeB':'HH:mm','timeC':_0x4b33e4(0xae),'timeD':'hh:mm','display':{'page':'頁碼','title':_0x4b33e4(0x76),'sheet':'工作表名稱','dateA':_0x4b33e4(0xa9),'dateB':_0x4b33e4(0x93),'dateC':_0x4b33e4(0x83),'dateD':_0x4b33e4(0x79),'dateE':_0x4b33e4(0x78),'dateF':'日期F','timeA':_0x4b33e4(0x9f),'timeB':'時間B','timeC':_0x4b33e4(0xb3),'timeD':'時間D','sheetPage':_0x4b33e4(0x7f),'pageTotal':_0x4b33e4(0x92),'sheetPageTotal':_0x4b33e4(0x91)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x4b33e4(0x8b),'desc':_0x4b33e4(0x88),'row':'重複凍結的列','column':_0x4b33e4(0xaf)},'limit':{'page':_0x4b33e4(0x82),'waterMark':_0x4b33e4(0x9c),'link':_0x4b33e4(0xa5)}}};module[_0x4b33e4(0xa0)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x32b013=_0x1fb9;(function(_0x56c6bd,_0x1024f9){const _0xd693d6=_0x1fb9,_0x3297c0=_0x56c6bd();while(!![]){try{const _0x2c4f4e=-parseInt(_0xd693d6(0x1bb))/0x1*(-parseInt(_0xd693d6(0x1aa))/0x2)+-parseInt(_0xd693d6(0x1ab))/0x3*(-parseInt(_0xd693d6(0x1c6))/0x4)+-parseInt(_0xd693d6(0x1d8))/0x5*(parseInt(_0xd693d6(0x1c8))/0x6)+parseInt(_0xd693d6(0x1c2))/0x7+parseInt(_0xd693d6(0x1b9))/0x8+-parseInt(_0xd693d6(0x1ce))/0x9+-parseInt(_0xd693d6(0x1a9))/0xa;if(_0x2c4f4e===_0x1024f9)break;else _0x3297c0['push'](_0x3297c0['shift']());}catch(_0x259632){_0x3297c0['push'](_0x3297c0['shift']());}}}(_0x3a0a,0x95190));import{ISheetPrintManagerService as _0x261bd3,ConfirmSheetPrintOperation as _0x490a7e,SheetPrintOpenOperation as _0x17fe1c,CancelSheetPrintOperation as _0x19a090,hasPrintFacadePermission as _0xf905a7,SheetScreenShotOperation as _0x3f375a,SheetPrintClientService as _0x13c4fc,PrintArea as _0x580e5c,PrintFreeze as _0x16f2fe,PrintHeaderFooter as _0x311bda,PrintHeaderFooterSymbol as _0x437571}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2612f7,PaperType as _0x4ec337,CanceledError as _0x2f3fb9}from'@univerjs/core';import{FWorkbook as _0x541881,FRange as _0x230713}from'@univerjs/sheets/facade';import{FEventName as _0x541f11,FEnum as _0x6fcae1,FUniver as _0x213d52}from'@univerjs/core/facade';import{PrintAlign as _0x32896e,PrintPaperMargin as _0x22d668,PrintScale as _0x297da2,PrintDirection as _0x47d44f}from'@univerjs-pro/print';class _ extends _0x541881{[_0x32b013(0x1b5)](_0x1251c4){const _0x58614a=_0x32b013;return this['_injector']['get'](_0x261bd3)[_0x58614a(0x1b1)](_0x1251c4),this;}[_0x32b013(0x1ae)](_0x56cb19){const _0x46f831=_0x32b013;return this['_injector'][_0x46f831(0x1d7)](_0x261bd3)[_0x46f831(0x1bc)](_0x56cb19),this;}[_0x32b013(0x1d6)](){const _0x13201e=_0x32b013;return this[_0x13201e(0x1b7)][_0x13201e(0x1d7)](_0x2612f7)[_0x13201e(0x1c0)](_0x490a7e['id']);}[_0x32b013(0x1a8)](){const _0xa16c4f=_0x32b013;return this[_0xa16c4f(0x1b7)][_0xa16c4f(0x1d7)](_0x2612f7)[_0xa16c4f(0x1c0)](_0x17fe1c['id']);}[_0x32b013(0x1d2)](){return this['_injector']['get'](_0x2612f7)['syncExecuteCommand'](_0x19a090['id']);}async[_0x32b013(0x1d1)](){const _0x1cb1ef=_0x32b013;return _0xf905a7(this[_0x1cb1ef(0x1b7)])?this['_injector'][_0x1cb1ef(0x1d7)](_0x2612f7)[_0x1cb1ef(0x1bd)](_0x3f375a['id']):!0x1;}}_0x541881[_0x32b013(0x1b0)](_);function _0x1fb9(_0x2d14d4,_0x508afb){_0x2d14d4=_0x2d14d4-0x1a6;const _0x3a0a7b=_0x3a0a();let _0x1fb945=_0x3a0a7b[_0x2d14d4];return _0x1fb945;}function _0x3a0a(){const _0x48ac1b=['BeforeSheetPrintConfirm','_workbook','disposeWithMe','PrintScale','openPrintDialog','360090SmhUQv','3698mUGCKe','269103JjdWIR','getUnitId','BeforeSheetPrintCanceled','updatePrintRenderConfig','cancel','extend','updateLayoutConfig','_range','PrintHeaderFooter','PrintPaperSize','updatePrintConfig','beforeCommandExecuted','_injector','PrintFreeze','5945504hTbtrb','BeforeSheetPrintOpen','235kXIcox','updateRenderConfig','executeCommand','fireEvent','SheetPrintCanceled','syncExecuteCommand','PrintDirection','506527JFIwqv','renderConfig','_worksheet','Event','16Vezebr','layoutConfig','1758Fqziyg','SheetPrintConfirmed','SheetPrintOpen','getActiveUniverSheet','includeHeaders','getScreenshot','7285518ZcrPkf','getRangeImage','getActiveSheet','saveScreenshotToClipboard','closePrintDialog','PrintArea','registerEventHandler','onCommandExecuted','print','get','2605tZIAzz'];_0x3a0a=function(){return _0x48ac1b;};return _0x3a0a();}class A extends _0x230713{[_0x32b013(0x1cd)](_0x52a97f){const _0x5c11da=_0x32b013;return _0xf905a7(this[_0x5c11da(0x1b7)])?this[_0x5c11da(0x1b7)]['get'](_0x13c4fc)[_0x5c11da(0x1cf)](this[_0x5c11da(0x1da)][_0x5c11da(0x1ac)](),this[_0x5c11da(0x1c4)]['getSheetId'](),this[_0x5c11da(0x1b2)],_0x52a97f==null?void 0x0:_0x52a97f[_0x5c11da(0x1cc)]):!0x1;}}_0x230713[_0x32b013(0x1b0)](A);class B{get[_0x32b013(0x1ba)](){const _0xbc4e6a=_0x32b013;return _0xbc4e6a(0x1ba);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){const _0x3f5e8f=_0x32b013;return _0x3f5e8f(0x1ad);}get[_0x32b013(0x1ca)](){const _0x5bad9f=_0x32b013;return _0x5bad9f(0x1ca);}get[_0x32b013(0x1c9)](){const _0x9d734b=_0x32b013;return _0x9d734b(0x1c9);}get[_0x32b013(0x1bf)](){return'SheetPrintCanceled';}}_0x541f11[_0x32b013(0x1b0)](B);class H{get[_0x32b013(0x1d3)](){return _0x580e5c;}get['PrintAlign'](){return _0x32896e;}get[_0x32b013(0x1b4)](){return _0x4ec337;}get['PrintPaperMargin'](){return _0x22d668;}get[_0x32b013(0x1a7)](){return _0x297da2;}get[_0x32b013(0x1c1)](){return _0x47d44f;}get[_0x32b013(0x1b8)](){return _0x16f2fe;}get[_0x32b013(0x1b3)](){return _0x311bda;}get['PrintHeaderFooterSymbol'](){return _0x437571;}}_0x6fcae1[_0x32b013(0x1b0)](H);class U extends _0x213d52{['_initialize'](_0x2dd7ec){const _0x39974c=_0x32b013,_0x2a1994=_0x2dd7ec['get'](_0x2612f7);this[_0x39974c(0x1a6)](this[_0x39974c(0x1d4)](this['Event'][_0x39974c(0x1ba)],()=>_0x2a1994[_0x39974c(0x1b6)](_0x51eaf1=>{const _0x5c7eeb=_0x39974c;if(_0x51eaf1['id']===_0x17fe1c['id']){const _0xf2e2a4=this[_0x5c7eeb(0x1cb)]();if(!_0xf2e2a4)return;const _0x567936={'workbook':_0xf2e2a4,'worksheet':_0xf2e2a4[_0x5c7eeb(0x1d0)]()};if(_0x567936==null)return;if(this[_0x5c7eeb(0x1be)](this[_0x5c7eeb(0x1c5)]['BeforeSheetPrintOpen'],_0x567936),_0x567936[_0x5c7eeb(0x1af)])throw new _0x2f3fb9();}}))),this[_0x39974c(0x1a6)](this['registerEventHandler'](this[_0x39974c(0x1c5)][_0x39974c(0x1d9)],()=>_0x2a1994[_0x39974c(0x1b6)](_0x5ebf2f=>{const _0x145c8c=_0x39974c;if(_0x5ebf2f['id']===_0x490a7e['id']){const _0x3b680a=_0x2dd7ec[_0x145c8c(0x1d7)](_0x261bd3);if(!this[_0x145c8c(0x1cb)]())return;const _0xa35e4={'layoutConfig':_0x3b680a[_0x145c8c(0x1c7)],'renderConfig':_0x3b680a[_0x145c8c(0x1c3)]};if(_0xa35e4==null)return;if(this[_0x145c8c(0x1be)](this['Event'][_0x145c8c(0x1d9)],_0xa35e4),_0xa35e4[_0x145c8c(0x1af)])throw new _0x2f3fb9();}}))),this[_0x39974c(0x1a6)](this[_0x39974c(0x1d4)](this[_0x39974c(0x1c5)][_0x39974c(0x1ad)],()=>_0x2a1994[_0x39974c(0x1b6)](_0x33a972=>{const _0x4f1c52=_0x39974c;if(_0x33a972['id']===_0x19a090['id']){const _0x69819=_0x2dd7ec[_0x4f1c52(0x1d7)](_0x261bd3);if(!this['getActiveUniverSheet']())return;const _0x2b1e34={'layoutConfig':_0x69819[_0x4f1c52(0x1c7)],'renderConfig':_0x69819[_0x4f1c52(0x1c3)]};if(_0x2b1e34==null)return;if(this['fireEvent'](this['Event'][_0x4f1c52(0x1ad)],_0x2b1e34),_0x2b1e34['cancel'])throw new _0x2f3fb9();}}))),this['disposeWithMe'](this[_0x39974c(0x1d4)](this[_0x39974c(0x1c5)][_0x39974c(0x1ca)],()=>_0x2a1994[_0x39974c(0x1d5)](_0x231ce7=>{const _0x325661=_0x39974c;if(_0x231ce7['id']===_0x17fe1c['id']){const _0x212c77=this[_0x325661(0x1cb)]();if(!_0x212c77)return;const _0x1ca2aa={'workbook':_0x212c77,'worksheet':_0x212c77[_0x325661(0x1d0)]()};if(_0x1ca2aa==null)return;this[_0x325661(0x1be)](this[_0x325661(0x1c5)][_0x325661(0x1ca)],_0x1ca2aa);}}))),this[_0x39974c(0x1a6)](this[_0x39974c(0x1d4)](this[_0x39974c(0x1c5)][_0x39974c(0x1c9)],()=>_0x2a1994['onCommandExecuted'](_0x36a979=>{const _0x3004e3=_0x39974c;if(_0x36a979['id']===_0x490a7e['id']){const _0xc45722=_0x2dd7ec[_0x3004e3(0x1d7)](_0x261bd3);if(!this[_0x3004e3(0x1cb)]())return;const _0x3287b9={'layoutConfig':_0xc45722['layoutConfig'],'renderConfig':_0xc45722['renderConfig']};if(_0x3287b9==null)return;this[_0x3004e3(0x1be)](this[_0x3004e3(0x1c5)]['SheetPrintConfirmed'],_0x3287b9);}}))),this[_0x39974c(0x1a6)](this[_0x39974c(0x1d4)](this[_0x39974c(0x1c5)][_0x39974c(0x1bf)],()=>_0x2a1994[_0x39974c(0x1d5)](_0x9fb50c=>{const _0x491604=_0x39974c;if(_0x9fb50c['id']===_0x19a090['id']){const _0x352034=_0x2dd7ec[_0x491604(0x1d7)](_0x261bd3);if(!this[_0x491604(0x1cb)]())return;const _0x187847={'layoutConfig':_0x352034['layoutConfig'],'renderConfig':_0x352034['renderConfig']};if(_0x187847==null)return;this[_0x491604(0x1be)](this[_0x491604(0x1c5)][_0x491604(0x1bf)],_0x187847);}})));}}_0x213d52[_0x32b013(0x1b0)](U);
|