@univerjs-pro/sheets-print 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7
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/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/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/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- 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/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 +14 -14
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5142bc=_0x46d0;function _0x46d0(_0x448ecd,_0x3d5c90){_0x448ecd=_0x448ecd-0x115;const _0xac40b7=_0xac40();let _0x46d0e4=_0xac40b7[_0x448ecd];return _0x46d0e4;}function _0xac40(){const _0x4df1ce=['顯示分頁線','活頁簿','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','日期格式','活頁簿標題','自訂頁首/頁尾','1366evdbwy','格式設定','https://univer.ai/pro','重複凍結的欄','顯示格線','調整至頁面高度','列印版面配置','顯示浮水印','hh:mm','816OTANzn','工作表名稱','工作表總頁數','目前工作表','頁面方向','日期C','1634008eQRTXD','列印中,請勿關閉頁面','4HnrYlY','所有選取的儲存格','Folio\x20(8.5\x22\x20x\x2013\x22)','調整至頁面寬度','每頁最大欄數','每頁最大列數','自訂比例','下一步','頁首和頁尾','標準\x20(100%)','紙張大小','垂直對齊','目前日期','關閉並隱藏分頁線','張工作表','A5\x20(5.83\x22\x20x\x208.27\x22)','選取範圍','重複凍結的列','Tabloid\x20(11\x22\x20x\x2017\x22)','21707pnhwuC','總頁數','1528295lrxLqC','自訂义頁邊距','所有工作表','時間D','調整至頁面大小','B5\x20(6.93\x22\x20x\x209.84\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','日期A','HH:mm:ss','目前時間','MM/DD','圖片已成功複製到剪貼簿!','1128dXsZzo','圖片複製到剪貼簿失敗!','YYYY-MM-DD','時間A','Executive\x20(7.25\x22\x20x\x2010.5\x22)','HH:mm','水平對齊','列與欄標題','11967087WoNmas','B4\x20(9.84\x22\x20x\x2013.90\x22)','日期B','7771ZBRlwv','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','MM-DD','9BSzhHv','工作表頁碼','日期F','5952850AUsQPs'];_0xac40=function(){return _0x4df1ce;};return _0xac40();}(function(_0x3daa39,_0x3993a4){const _0x3e6ef1=_0x46d0,_0x14b3e8=_0x3daa39();while(!![]){try{const _0x26ba88=-parseInt(_0x3e6ef1(0x121))/0x1+parseInt(_0x3e6ef1(0x12e))/0x2*(parseInt(_0x3e6ef1(0x137))/0x3)+-parseInt(_0x3e6ef1(0x13f))/0x4*(-parseInt(_0x3e6ef1(0x154))/0x5)+parseInt(_0x3e6ef1(0x116))/0x6*(parseInt(_0x3e6ef1(0x152))/0x7)+-parseInt(_0x3e6ef1(0x13d))/0x8*(parseInt(_0x3e6ef1(0x124))/0x9)+parseInt(_0x3e6ef1(0x127))/0xa+-parseInt(_0x3e6ef1(0x11e))/0xb;if(_0x26ba88===_0x3993a4)break;else _0x14b3e8['push'](_0x14b3e8['shift']());}catch(_0xeb5d65){_0x14b3e8['push'](_0x14b3e8['shift']());}}}(_0xac40,0x5a469));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0x5142bc(0x146),'printing':_0x5142bc(0x13e)},'menu':'列印','title':'列印','grid':{'title':_0x5142bc(0x134),'showGrid':'顯示分頁符號','showGridLabel':_0x5142bc(0x128),'closeAndHide':_0x5142bc(0x14c)},'screenshot':{'title':'複製為圖片','success':_0x5142bc(0x115),'fail':_0x5142bc(0x117)},'size':{'title':_0x5142bc(0x149),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x5142bc(0x151),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x5142bc(0x11a),'folio':_0x5142bc(0x141),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x5142bc(0x15a),'a5':_0x5142bc(0x14e),'b4':_0x5142bc(0x11f),'b5':_0x5142bc(0x159)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x5142bc(0x155),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x5142bc(0x13a),'workbook':_0x5142bc(0x129),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x5142bc(0x144),'maxColumnsEachPage':_0x5142bc(0x143),'limit':'列與欄限制','allSelection':_0x5142bc(0x140)},'selection':{'title':_0x5142bc(0x14f),'allWorkbook':_0x5142bc(0x156),'workbookUnit':_0x5142bc(0x14d)},'scale':{'title':'縮放','normal':_0x5142bc(0x148),'fitWidth':_0x5142bc(0x142),'fitHeight':_0x5142bc(0x133),'fitPage':_0x5142bc(0x158),'custom':_0x5142bc(0x145)},'orientation':{'title':_0x5142bc(0x13b),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x5142bc(0x12f),'skeleton':_0x5142bc(0x132),'waterMark':_0x5142bc(0x135)},'align':{'title':'對齊','horizontal':{'title':_0x5142bc(0x11c),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x5142bc(0x14a),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x5142bc(0x147),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x5142bc(0x138),'date':_0x5142bc(0x14b),'time':_0x5142bc(0x15d),'customHeadFooter':_0x5142bc(0x12d),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x5142bc(0x12b),'dateA':_0x5142bc(0x118),'dateB':_0x5142bc(0x123),'dateC':'L','dateD':_0x5142bc(0x15e),'timeA':_0x5142bc(0x15c),'timeB':_0x5142bc(0x11b),'timeC':'hh:mm:ss','timeD':_0x5142bc(0x136),'display':{'page':'頁碼','title':_0x5142bc(0x12c),'sheet':_0x5142bc(0x138),'dateA':_0x5142bc(0x15b),'dateB':_0x5142bc(0x120),'dateC':_0x5142bc(0x13c),'dateD':'日期D','dateE':'日期E','dateF':_0x5142bc(0x126),'timeA':_0x5142bc(0x119),'timeB':'時間B','timeC':'時間C','timeD':_0x5142bc(0x157),'sheetPage':_0x5142bc(0x125),'pageTotal':_0x5142bc(0x153),'sheetPageTotal':_0x5142bc(0x139)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x5142bc(0x11d),'desc':_0x5142bc(0x122),'row':_0x5142bc(0x150),'column':_0x5142bc(0x131)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x5142bc(0x12a),'link':_0x5142bc(0x130)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x375e71=_0x3a21;(function(_0x52f804,_0x4e18bb){const _0x430bda=_0x3a21,_0x9a5a76=_0x52f804();while(!![]){try{const _0x51701f=parseInt(_0x430bda(0xc2))/0x1+parseInt(_0x430bda(0x9e))/0x2+parseInt(_0x430bda(0xbf))/0x3+-parseInt(_0x430bda(0xca))/0x4+-parseInt(_0x430bda(0xc6))/0x5*(parseInt(_0x430bda(0xa0))/0x6)+parseInt(_0x430bda(0xbc))/0x7+-parseInt(_0x430bda(0xcb))/0x8;if(_0x51701f===_0x4e18bb)break;else _0x9a5a76['push'](_0x9a5a76['shift']());}catch(_0x3e0570){_0x9a5a76['push'](_0x9a5a76['shift']());}}}(_0x2c6b,0x3b44f));import{ISheetPrintManagerService as _0x266cf7,ConfirmSheetPrintOperation as _0x3c9b5c,SheetPrintOpenOperation as _0xd99d60,CancelSheetPrintOperation as _0x259a64,hasPrintFacadePermission as _0x5839ee,SheetScreenShotOperation as _0x182ce8,SheetPrintClientService as _0x2b46ec,PrintArea as _0x3067bd,PrintFreeze as _0x21d708,PrintHeaderFooter as _0x491264,PrintHeaderFooterSymbol as _0x49ac5c}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2ab8ec,PaperType as _0x19d932,CanceledError as _0x29f5a7}from'@univerjs/core';import{FWorkbook as _0x33f5e3,FRange as _0xfb0684}from'@univerjs/sheets/facade';import{FEventName as _0x5d95be,FEnum as _0x381985,FUniver as _0x4c69c8}from'@univerjs/core/facade';import{PrintAlign as _0x3d663a,PrintPaperMargin as _0x5efee3,PrintScale as _0x388542,PrintDirection as _0x4db53c}from'@univerjs-pro/print';class A extends _0x33f5e3{[_0x375e71(0xaf)](_0x21b01c){const _0x4070e1=_0x375e71;return this[_0x4070e1(0xcc)][_0x4070e1(0xa6)](_0x266cf7)[_0x4070e1(0xb3)](_0x21b01c),this;}['updatePrintRenderConfig'](_0xd2ff2a){const _0x449395=_0x375e71;return this[_0x449395(0xcc)][_0x449395(0xa6)](_0x266cf7)['updateRenderConfig'](_0xd2ff2a),this;}[_0x375e71(0xb6)](){const _0x34906d=_0x375e71;return this['_injector'][_0x34906d(0xa6)](_0x2ab8ec)[_0x34906d(0xbe)](_0x3c9b5c['id']);}[_0x375e71(0xb5)](){const _0xb49bc2=_0x375e71;return this[_0xb49bc2(0xcc)][_0xb49bc2(0xa6)](_0x2ab8ec)[_0xb49bc2(0xbe)](_0xd99d60['id']);}[_0x375e71(0xab)](){const _0x1c7b06=_0x375e71;return this[_0x1c7b06(0xcc)]['get'](_0x2ab8ec)[_0x1c7b06(0xbe)](_0x259a64['id']);}async[_0x375e71(0xb2)](){const _0x4079a3=_0x375e71;return _0x5839ee(this[_0x4079a3(0xcc)])?this[_0x4079a3(0xcc)][_0x4079a3(0xa6)](_0x2ab8ec)['executeCommand'](_0x182ce8['id']):!0x1;}}function _0x3a21(_0x176c22,_0x18efc4){_0x176c22=_0x176c22-0x9e;const _0x2c6b10=_0x2c6b();let _0x3a2116=_0x2c6b10[_0x176c22];return _0x3a2116;}_0x33f5e3[_0x375e71(0xaa)](A);class B extends _0xfb0684{['getScreenshot'](){const _0x2234f6=_0x375e71;return _0x5839ee(this[_0x2234f6(0xcc)])?this[_0x2234f6(0xcc)][_0x2234f6(0xa6)](_0x2b46ec)[_0x2234f6(0xbb)](this[_0x2234f6(0xa1)][_0x2234f6(0xc7)](),this[_0x2234f6(0xc5)][_0x2234f6(0xc9)](),this[_0x2234f6(0xc4)]):!0x1;}}_0xfb0684['extend'](B);class H{get['BeforeSheetPrintOpen'](){const _0x237b8f=_0x375e71;return _0x237b8f(0xb9);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x375e71(0xad)](){const _0x24d9f3=_0x375e71;return _0x24d9f3(0xad);}get[_0x375e71(0xc8)](){const _0x40f87f=_0x375e71;return _0x40f87f(0xc8);}get[_0x375e71(0xa3)](){return'SheetPrintConfirmed';}get[_0x375e71(0xae)](){return'SheetPrintCanceled';}}_0x5d95be[_0x375e71(0xaa)](H);function _0x2c6b(){const _0x16ae31=['_worksheet','139630tvYhfq','getUnitId','SheetPrintOpen','getSheetId','777928ZjTxRU','7872736eCWNOn','_injector','920352uMNRxT','fireEvent','12BnFley','_workbook','registerEventHandler','SheetPrintConfirmed','getActiveUniverSheet','cancel','get','layoutConfig','PrintFreeze','PrintPaperSize','extend','closePrintDialog','renderConfig','BeforeSheetPrintCanceled','SheetPrintCanceled','updatePrintConfig','PrintAlign','Event','saveScreenshotToClipboard','updateLayoutConfig','beforeCommandExecuted','openPrintDialog','print','onCommandExecuted','BeforeSheetPrintConfirm','BeforeSheetPrintOpen','PrintDirection','getRangeImage','3162404vRXwUh','PrintPaperMargin','syncExecuteCommand','1263471LCmKub','_initialize','PrintScale','144088xqJbgY','getActiveSheet','_range'];_0x2c6b=function(){return _0x16ae31;};return _0x2c6b();}class U{get['PrintArea'](){return _0x3067bd;}get[_0x375e71(0xb0)](){return _0x3d663a;}get[_0x375e71(0xa9)](){return _0x19d932;}get[_0x375e71(0xbd)](){return _0x5efee3;}get[_0x375e71(0xc1)](){return _0x388542;}get[_0x375e71(0xba)](){return _0x4db53c;}get[_0x375e71(0xa8)](){return _0x21d708;}get['PrintHeaderFooter'](){return _0x491264;}get['PrintHeaderFooterSymbol'](){return _0x49ac5c;}}_0x381985[_0x375e71(0xaa)](U);class M extends _0x4c69c8{[_0x375e71(0xc0)](_0x51823f){const _0x340591=_0x375e71,_0x162f28=_0x51823f[_0x340591(0xa6)](_0x2ab8ec);this[_0x340591(0xa2)](this['Event']['BeforeSheetPrintOpen'],()=>_0x162f28[_0x340591(0xb4)](_0x5e3403=>{const _0x5b4c0f=_0x340591;if(_0x5e3403['id']===_0xd99d60['id']){const _0x322f14=this[_0x5b4c0f(0xa4)]();if(!_0x322f14)return;const _0x925dc2={'workbook':_0x322f14,'worksheet':_0x322f14[_0x5b4c0f(0xc3)]()};if(_0x925dc2==null)return;if(this['fireEvent'](this[_0x5b4c0f(0xb1)][_0x5b4c0f(0xb9)],_0x925dc2),_0x925dc2[_0x5b4c0f(0xa5)])throw new _0x29f5a7();}})),this['registerEventHandler'](this['Event'][_0x340591(0xb8)],()=>_0x162f28['beforeCommandExecuted'](_0x19064e=>{const _0x26a812=_0x340591;if(_0x19064e['id']===_0x3c9b5c['id']){const _0x34f318=_0x51823f['get'](_0x266cf7);if(!this[_0x26a812(0xa4)]())return;const _0x570182={'layoutConfig':_0x34f318['layoutConfig'],'renderConfig':_0x34f318['renderConfig']};if(_0x570182==null)return;if(this[_0x26a812(0x9f)](this[_0x26a812(0xb1)]['BeforeSheetPrintConfirm'],_0x570182),_0x570182[_0x26a812(0xa5)])throw new _0x29f5a7();}})),this[_0x340591(0xa2)](this['Event'][_0x340591(0xad)],()=>_0x162f28['beforeCommandExecuted'](_0x8472fe=>{const _0x47898d=_0x340591;if(_0x8472fe['id']===_0x259a64['id']){const _0x4ae654=_0x51823f['get'](_0x266cf7);if(!this[_0x47898d(0xa4)]())return;const _0x452f42={'layoutConfig':_0x4ae654[_0x47898d(0xa7)],'renderConfig':_0x4ae654[_0x47898d(0xac)]};if(_0x452f42==null)return;if(this['fireEvent'](this[_0x47898d(0xb1)]['BeforeSheetPrintCanceled'],_0x452f42),_0x452f42[_0x47898d(0xa5)])throw new _0x29f5a7();}})),this[_0x340591(0xa2)](this['Event'][_0x340591(0xc8)],()=>_0x162f28[_0x340591(0xb7)](_0x346a84=>{const _0x32136b=_0x340591;if(_0x346a84['id']===_0xd99d60['id']){const _0xee75c=this['getActiveUniverSheet']();if(!_0xee75c)return;const _0x3e5949={'workbook':_0xee75c,'worksheet':_0xee75c[_0x32136b(0xc3)]()};if(_0x3e5949==null)return;this[_0x32136b(0x9f)](this[_0x32136b(0xb1)][_0x32136b(0xc8)],_0x3e5949);}})),this[_0x340591(0xa2)](this['Event']['SheetPrintConfirmed'],()=>_0x162f28[_0x340591(0xb7)](_0x231de4=>{const _0x58171b=_0x340591;if(_0x231de4['id']===_0x3c9b5c['id']){const _0xc05057=_0x51823f[_0x58171b(0xa6)](_0x266cf7);if(!this[_0x58171b(0xa4)]())return;const _0x10490f={'layoutConfig':_0xc05057[_0x58171b(0xa7)],'renderConfig':_0xc05057['renderConfig']};if(_0x10490f==null)return;this['fireEvent'](this[_0x58171b(0xb1)][_0x58171b(0xa3)],_0x10490f);}})),this[_0x340591(0xa2)](this['Event'][_0x340591(0xae)],()=>_0x162f28[_0x340591(0xb7)](_0x31b0b1=>{const _0x5c955c=_0x340591;if(_0x31b0b1['id']===_0x259a64['id']){const _0x406664=_0x51823f[_0x5c955c(0xa6)](_0x266cf7);if(!this[_0x5c955c(0xa4)]())return;const _0x1981f8={'layoutConfig':_0x406664[_0x5c955c(0xa7)],'renderConfig':_0x406664[_0x5c955c(0xac)]};if(_0x1981f8==null)return;this[_0x5c955c(0x9f)](this[_0x5c955c(0xb1)]['SheetPrintCanceled'],_0x1981f8);}}));}}_0x4c69c8[_0x375e71(0xaa)](M);
|