@univerjs-pro/sheets-print 1.0.0-alpha.5 → 1.0.0-alpha.7
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x566234=_0x5357;function _0x13fb(){const _0x73f184=['調整至頁面寬度','Statement\x20(5.5\x22\x20x\x208.5\x22)','12383946dXdQkZ','選取範圍','頁首和頁尾','標準\x20(100%)','1449823Vscosi','頁面方向','圖片複製到剪貼簿失敗!','已選取的儲存格','時間D','活頁簿標題','總頁數','181551OLAYtv','列印中,請勿關閉頁面','編輯自訂頁首/頁尾','垂直對齊','A3\x20(11.69\x22\x20x\x2016.54\x22)','工作表名稱','B5\x20(6.93\x22\x20x\x209.84\x22)','117336yDWRGp','日期A','總計:','https://pro.univer.ai','Executive\x20(7.25\x22\x20x\x2010.5\x22)','重複凍結的列','水平對齊','列與欄限制','3634780RjukNL','重複凍結的欄','581aLLoio','顯示格線','日期E','日期格式','所有工作表','顯示分頁線','HH:mm','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','Folio\x20(8.5\x22\x20x\x2013\x22)','5hqAxHp','A4\x20(8.27\x22\x20x\x2011.69\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','Legal\x20(8.5\x22\x20x\x2014\x22)','列印版面配置','日期D','顯示分頁符號','列與欄標題','日期F','複製為圖片','該工作表已被保護,目前無列印權限。如需列印,請聯絡創作者。\x20','目前工作表','38WZFTQo','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','調整至頁面高度','YYYY-MM-DD','圖片已成功複製到剪貼簿!','MM-DD','自訂頁邊距','4688616QAVuTc','日期B','顯示浮水印','關閉並隱藏分頁線','20552340TcFTaA','工作表總頁數','格式設定','每頁最大列數','活頁簿','工作表頁碼','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','調整至頁面大小','所有選取的儲存格'];_0x13fb=function(){return _0x73f184;};return _0x13fb();}(function(_0x41071e,_0x1c688d){const _0x1a0b24=_0x5357,_0x378a59=_0x41071e();while(!![]){try{const _0x4eae93=parseInt(_0x1a0b24(0x9d))/0x1+-parseInt(_0x1a0b24(0xca))/0x2*(parseInt(_0x1a0b24(0xa4))/0x3)+parseInt(_0x1a0b24(0xb3))/0x4+parseInt(_0x1a0b24(0xbe))/0x5*(-parseInt(_0x1a0b24(0xd1))/0x6)+-parseInt(_0x1a0b24(0xb5))/0x7*(-parseInt(_0x1a0b24(0xab))/0x8)+parseInt(_0x1a0b24(0xe0))/0x9+-parseInt(_0x1a0b24(0xd5))/0xa;if(_0x4eae93===_0x1c688d)break;else _0x378a59['push'](_0x378a59['shift']());}catch(_0x479fca){_0x378a59['push'](_0x378a59['shift']());}}}(_0x13fb,0xebb04));const e={'sheets-print':{'permission':{'printErr':_0x566234(0xc8)},'header':{'total':_0x566234(0xad),'pages':'頁','cancel':'取消','next':'下一步','printing':_0x566234(0xa5)},'menu':'列印','title':'列印','grid':{'title':_0x566234(0xc2),'showGrid':_0x566234(0xc4),'showGridLabel':_0x566234(0xba),'closeAndHide':_0x566234(0xd4)},'screenshot':{'title':_0x566234(0xc7),'success':_0x566234(0xce),'fail':_0x566234(0x9f)},'size':{'title':'紙張大小','letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x566234(0xc1),'statement':_0x566234(0xdf),'executive':_0x566234(0xaf),'folio':_0x566234(0xbd),'a3':_0x566234(0xa8),'a4':_0x566234(0xbf),'a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':_0x566234(0xc0),'b5':_0x566234(0xaa)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x566234(0xd0),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x566234(0xc9),'workbook':_0x566234(0xd9),'currentSelection':_0x566234(0xa0),'maxRowsEachPage':_0x566234(0xd8),'maxColumnsEachPage':'每頁最大欄數','limit':_0x566234(0xb2),'allSelection':_0x566234(0xdd)},'selection':{'title':_0x566234(0x9a),'allWorkbook':_0x566234(0xb9),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x566234(0x9c),'fitWidth':_0x566234(0xde),'fitHeight':_0x566234(0xcc),'fitPage':_0x566234(0xdc),'custom':'自訂比例'},'orientation':{'title':_0x566234(0x9e),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x566234(0xd7),'skeleton':_0x566234(0xb6),'waterMark':_0x566234(0xd3)},'align':{'title':'對齊','horizontal':{'title':_0x566234(0xb1),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x566234(0xa7),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x566234(0x9b),'page':'頁碼','workbook':_0x566234(0xa2),'sheet':_0x566234(0xa9),'date':'目前日期','time':'目前時間','customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x566234(0xa6),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x566234(0xb8),'dateA':_0x566234(0xcd),'dateB':_0x566234(0xcf),'dateC':'L','dateD':'MM/DD','dateE':'YYYY/MM/DD','timeA':'HH:mm:ss','timeB':_0x566234(0xbb),'timeC':'hh:mm:ss','timeD':'hh:mm','display':{'page':'頁碼','title':_0x566234(0xa2),'sheet':_0x566234(0xa9),'dateA':_0x566234(0xac),'dateB':_0x566234(0xd2),'dateC':'日期C','dateD':_0x566234(0xc3),'dateE':_0x566234(0xb7),'dateF':_0x566234(0xc6),'timeA':'時間A','timeB':'時間B','timeC':'時間C','timeD':_0x566234(0xa1),'sheetPage':_0x566234(0xda),'pageTotal':_0x566234(0xa3),'sheetPageTotal':_0x566234(0xd6)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x566234(0xc5),'desc':_0x566234(0xcb),'row':_0x566234(0xb0),'column':_0x566234(0xb4)},'limit':{'page':_0x566234(0xbc),'waterMark':_0x566234(0xdb),'link':_0x566234(0xae)}}};function _0x5357(_0x4093af,_0x535fcc){_0x4093af=_0x4093af-0x9a;const _0x13fb0c=_0x13fb();let _0x5357dc=_0x13fb0c[_0x4093af];return _0x5357dc;}export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x28f5bc=_0x3b25;(function(_0x4ea2cf,_0x25337c){const _0x4c6847=_0x3b25,_0x22ad8a=_0x4ea2cf();while(!![]){try{const _0x44af2d=-parseInt(_0x4c6847(0x145))/0x1+-parseInt(_0x4c6847(0x16a))/0x2+-parseInt(_0x4c6847(0x142))/0x3*(-parseInt(_0x4c6847(0x14c))/0x4)+-parseInt(_0x4c6847(0x13b))/0x5+parseInt(_0x4c6847(0x161))/0x6*(-parseInt(_0x4c6847(0x16d))/0x7)+parseInt(_0x4c6847(0x15d))/0x8*(-parseInt(_0x4c6847(0x156))/0x9)+parseInt(_0x4c6847(0x144))/0xa;if(_0x44af2d===_0x25337c)break;else _0x22ad8a['push'](_0x22ad8a['shift']());}catch(_0x12c21f){_0x22ad8a['push'](_0x22ad8a['shift']());}}}(_0x2eae,0x9d0b7));import{CancelSheetPrintOperation as _0xc9f576,ConfirmSheetPrintOperation as _0x4b7f6f,ISheetPrintManagerService as _0x4a0216,PrintArea as _0x5a83a2,PrintFreeze as _0x1326dd,PrintHeaderFooter as _0x57e702,PrintHeaderFooterSymbol as _0x46a4ef,SheetPrintClientService as _0x38f42d,SheetPrintOpenOperation as _0x177cd1,SheetScreenShotOperation as _0x3bafaf,hasPrintFacadePermission as _0x173647}from'@univerjs-pro/sheets-print';import{CanceledError as _0x10edf8,ICommandService as _0x5b3d21,PaperType as _0x7aa8bf}from'@univerjs/core';import{FRange as _0x4bee92,FWorkbook as _0x453a48}from'@univerjs/sheets/facade';function _0x2eae(){const _0xe53425=['updatePrintRenderConfig','updateRenderConfig','updatePrintConfig','SheetPrintOpen','disposeWithMe','getSheetId','BeforeSheetPrintCanceled','9351PPIEIP','getActiveSheet','BeforeSheetPrintConfirm','getActiveWorkbook','getScreenshot','includeHeaders','Event','2056qmyFKS','_initialize','PrintAlign','get','2600172wuQSuG','_injector','SheetPrintCanceled','renderConfig','SheetPrintConfirmed','extend','BeforeSheetPrintOpen','PrintFreeze','layoutConfig','1835902CcfsqS','cancel','print','14Epvswp','onCommandExecuted','5889880yFzRSq','getUnitId','fireEvent','PrintScale','getRangeImage','updateLayoutConfig','PrintHeaderFooterSymbol','3108777ddiHdu','executeCommand','40710680bwqpwQ','1234398QGPLBC','PrintArea','registerEventHandler','closePrintDialog','syncExecuteCommand','PrintDirection','PrintPaperSize','4issYeE','beforeCommandExecuted','PrintHeaderFooter'];_0x2eae=function(){return _0xe53425;};return _0x2eae();}import{FEnum as _0x47845b,FEventName as _0x445b0b,FUniver as _0x48c5b3}from'@univerjs/core/facade';import{PrintAlign as _0x456d00,PrintDirection as _0x5979e9,PrintPaperMargin as _0x590bdb,PrintScale as _0x2c634f}from'@univerjs-pro/print';var C=class extends _0x453a48{[_0x28f5bc(0x151)](_0x1b325c){const _0x396363=_0x28f5bc;return this[_0x396363(0x162)]['get'](_0x4a0216)[_0x396363(0x140)](_0x1b325c),this;}[_0x28f5bc(0x14f)](_0x19c6c1){const _0x42294b=_0x28f5bc;return this[_0x42294b(0x162)]['get'](_0x4a0216)[_0x42294b(0x150)](_0x19c6c1),this;}[_0x28f5bc(0x16c)](){const _0x399a0c=_0x28f5bc;return this[_0x399a0c(0x162)][_0x399a0c(0x160)](_0x5b3d21)[_0x399a0c(0x149)](_0x4b7f6f['id']);}['openPrintDialog'](){const _0x1aec36=_0x28f5bc;return this[_0x1aec36(0x162)][_0x1aec36(0x160)](_0x5b3d21)['syncExecuteCommand'](_0x177cd1['id']);}[_0x28f5bc(0x148)](){const _0x3c3658=_0x28f5bc;return this['_injector'][_0x3c3658(0x160)](_0x5b3d21)[_0x3c3658(0x149)](_0xc9f576['id']);}async['saveScreenshotToClipboard'](){const _0x242fe5=_0x28f5bc;return _0x173647(this[_0x242fe5(0x162)])?this[_0x242fe5(0x162)][_0x242fe5(0x160)](_0x5b3d21)[_0x242fe5(0x143)](_0x3bafaf['id']):!0x1;}};_0x453a48['extend'](C);var w=class extends _0x4bee92{[_0x28f5bc(0x15a)](_0x148b1f){const _0x3d3043=_0x28f5bc;return _0x173647(this[_0x3d3043(0x162)])?this[_0x3d3043(0x162)]['get'](_0x38f42d)[_0x3d3043(0x13f)](this['_workbook'][_0x3d3043(0x13c)](),this['_worksheet'][_0x3d3043(0x154)](),this['_range'],_0x148b1f==null?void 0x0:_0x148b1f[_0x3d3043(0x15b)]):!0x1;}};_0x4bee92['extend'](w);var T=class extends _0x445b0b{get[_0x28f5bc(0x167)](){const _0x240d2e=_0x28f5bc;return _0x240d2e(0x167);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x28f5bc(0x155)](){return'BeforeSheetPrintCanceled';}get[_0x28f5bc(0x152)](){const _0x2ee906=_0x28f5bc;return _0x2ee906(0x152);}get[_0x28f5bc(0x165)](){return'SheetPrintConfirmed';}get[_0x28f5bc(0x163)](){return'SheetPrintCanceled';}};_0x445b0b[_0x28f5bc(0x166)](T);var E=class extends _0x47845b{get[_0x28f5bc(0x146)](){return _0x5a83a2;}get[_0x28f5bc(0x15f)](){return _0x456d00;}get[_0x28f5bc(0x14b)](){return _0x7aa8bf;}get['PrintPaperMargin'](){return _0x590bdb;}get[_0x28f5bc(0x13e)](){return _0x2c634f;}get[_0x28f5bc(0x14a)](){return _0x5979e9;}get[_0x28f5bc(0x168)](){return _0x1326dd;}get[_0x28f5bc(0x14e)](){return _0x57e702;}get[_0x28f5bc(0x141)](){return _0x46a4ef;}};_0x47845b[_0x28f5bc(0x166)](E);var D=class extends _0x48c5b3{[_0x28f5bc(0x15e)](_0x106149){const _0x124e33=_0x28f5bc;let _0x494784=_0x106149['get'](_0x5b3d21);this['disposeWithMe'](this[_0x124e33(0x147)](this['Event'][_0x124e33(0x167)],()=>_0x494784[_0x124e33(0x14d)](_0x163f16=>{const _0x113d9c=_0x124e33;if(_0x163f16['id']===_0x177cd1['id']){let _0x3ab822=this[_0x113d9c(0x159)]();if(!_0x3ab822)return;let _0x31ba47={'workbook':_0x3ab822,'worksheet':_0x3ab822[_0x113d9c(0x157)]()};if(_0x31ba47==null)return;if(this[_0x113d9c(0x13d)](this[_0x113d9c(0x15c)][_0x113d9c(0x167)],_0x31ba47),_0x31ba47[_0x113d9c(0x16b)])throw new _0x10edf8();}}))),this[_0x124e33(0x153)](this[_0x124e33(0x147)](this[_0x124e33(0x15c)][_0x124e33(0x158)],()=>_0x494784[_0x124e33(0x14d)](_0x791050=>{const _0x3cff31=_0x124e33;if(_0x791050['id']===_0x4b7f6f['id']){let _0x16e40f=_0x106149[_0x3cff31(0x160)](_0x4a0216);if(!this[_0x3cff31(0x159)]())return;let _0x402ead={'layoutConfig':_0x16e40f[_0x3cff31(0x169)],'renderConfig':_0x16e40f['renderConfig']};if(_0x402ead==null)return;if(this[_0x3cff31(0x13d)](this[_0x3cff31(0x15c)][_0x3cff31(0x158)],_0x402ead),_0x402ead[_0x3cff31(0x16b)])throw new _0x10edf8();}}))),this[_0x124e33(0x153)](this[_0x124e33(0x147)](this['Event'][_0x124e33(0x155)],()=>_0x494784[_0x124e33(0x14d)](_0x5e0265=>{const _0x34570e=_0x124e33;if(_0x5e0265['id']===_0xc9f576['id']){let _0x3c48fa=_0x106149['get'](_0x4a0216);if(!this[_0x34570e(0x159)]())return;let _0x3618e5={'layoutConfig':_0x3c48fa[_0x34570e(0x169)],'renderConfig':_0x3c48fa['renderConfig']};if(_0x3618e5==null)return;if(this[_0x34570e(0x13d)](this[_0x34570e(0x15c)][_0x34570e(0x155)],_0x3618e5),_0x3618e5[_0x34570e(0x16b)])throw new _0x10edf8();}}))),this[_0x124e33(0x153)](this[_0x124e33(0x147)](this[_0x124e33(0x15c)]['SheetPrintOpen'],()=>_0x494784[_0x124e33(0x16e)](_0x5fe094=>{const _0x383818=_0x124e33;if(_0x5fe094['id']===_0x177cd1['id']){let _0x533908=this[_0x383818(0x159)]();if(!_0x533908)return;let _0xaa3626={'workbook':_0x533908,'worksheet':_0x533908['getActiveSheet']()};if(_0xaa3626==null)return;this[_0x383818(0x13d)](this[_0x383818(0x15c)][_0x383818(0x152)],_0xaa3626);}}))),this[_0x124e33(0x153)](this['registerEventHandler'](this[_0x124e33(0x15c)][_0x124e33(0x165)],()=>_0x494784[_0x124e33(0x16e)](_0x57f063=>{const _0x35258e=_0x124e33;if(_0x57f063['id']===_0x4b7f6f['id']){let _0x5c9aab=_0x106149[_0x35258e(0x160)](_0x4a0216);if(!this[_0x35258e(0x159)]())return;let _0xe6a7e={'layoutConfig':_0x5c9aab[_0x35258e(0x169)],'renderConfig':_0x5c9aab['renderConfig']};if(_0xe6a7e==null)return;this[_0x35258e(0x13d)](this[_0x35258e(0x15c)][_0x35258e(0x165)],_0xe6a7e);}}))),this[_0x124e33(0x153)](this['registerEventHandler'](this[_0x124e33(0x15c)][_0x124e33(0x163)],()=>_0x494784['onCommandExecuted'](_0x39bdbd=>{const _0x5dbf77=_0x124e33;if(_0x39bdbd['id']===_0xc9f576['id']){let _0x690e59=_0x106149[_0x5dbf77(0x160)](_0x4a0216);if(!this[_0x5dbf77(0x159)]())return;let _0x11a7a5={'layoutConfig':_0x690e59[_0x5dbf77(0x169)],'renderConfig':_0x690e59[_0x5dbf77(0x164)]};if(_0x11a7a5==null)return;this['fireEvent'](this['Event']['SheetPrintCanceled'],_0x11a7a5);}})));}};function _0x3b25(_0xb93672,_0x25d772){_0xb93672=_0xb93672-0x13b;const _0x2eaef3=_0x2eae();let _0x3b25c4=_0x2eaef3[_0xb93672];return _0x3b25c4;}_0x48c5b3[_0x28f5bc(0x166)](D);export{};
|