@univerjs-pro/sheets-print 0.15.1 → 0.15.2-insiders.20260119-edc718c
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 +45 -44
- 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 +15 -15
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4965f5=_0xbb33;function _0x52af(){const _0xa267db=['HH:mm:ss','圖片已成功複製到剪貼簿!','600NrHfWh','列印中,請勿關閉頁面','目前工作表','已選取的儲存格','hh:mm:ss','Folio\x20(8.5\x22\x20x\x2013\x22)','紙張大小','調整至頁面大小','MM-DD','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','MM/DD','日期E','列印版面配置','目前時間','B4\x20(9.84\x22\x20x\x2013.90\x22)','hh:mm','A5\x20(5.83\x22\x20x\x208.27\x22)','時間A','目前日期','時間B','Statement\x20(5.5\x22\x20x\x208.5\x22)','7QQHoGy','自訂比例','Legal\x20(8.5\x22\x20x\x2014\x22)','HH:mm','每頁最大列數','所有選取的儲存格','每頁最大欄數','總計:','格式設定','A4\x20(8.27\x22\x20x\x2011.69\x22)','Executive\x20(7.25\x22\x20x\x2010.5\x22)','編輯自訂頁首/頁尾','759492RwaftG','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','顯示分頁符號','8786905rNffwx','工作表名稱','顯示分頁線','3443094KUeLTw','總頁數','列與欄標題','調整至頁面高度','活頁簿','張工作表','43707kPiyHk','顯示浮水印','日期D','自訂义頁邊距','9voCjcj','頁首和頁尾','日期F','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','自訂頁首/頁尾','關閉並隱藏分頁線','36799890upImdh','頁面方向','日期C','25064WTxATH','日期格式','列與欄限制','https://univer.ai/pro','標準\x20(100%)','日期A','活頁簿標題','下一步','工作表總頁數','5561008IzjQEM'];_0x52af=function(){return _0xa267db;};return _0x52af();}function _0xbb33(_0x3822e0,_0x146df6){_0x3822e0=_0x3822e0-0x14b;const _0x52af99=_0x52af();let _0xbb3371=_0x52af99[_0x3822e0];return _0xbb3371;}(function(_0x409482,_0x4bd81c){const _0x38aa7f=_0xbb33,_0x6ee22f=_0x409482();while(!![]){try{const _0x50dbdc=parseInt(_0x38aa7f(0x178))/0x1+parseInt(_0x38aa7f(0x16c))/0x2+parseInt(_0x38aa7f(0x14b))/0x3*(-parseInt(_0x38aa7f(0x185))/0x4)+-parseInt(_0x38aa7f(0x16f))/0x5+-parseInt(_0x38aa7f(0x172))/0x6*(-parseInt(_0x38aa7f(0x160))/0x7)+parseInt(_0x38aa7f(0x18e))/0x8*(-parseInt(_0x38aa7f(0x17c))/0x9)+parseInt(_0x38aa7f(0x182))/0xa;if(_0x50dbdc===_0x4bd81c)break;else _0x6ee22f['push'](_0x6ee22f['shift']());}catch(_0x43eb82){_0x6ee22f['push'](_0x6ee22f['shift']());}}}(_0x52af,0xed340));const e={'print':{'header':{'total':_0x4965f5(0x167),'pages':'頁','cancel':'取消','next':_0x4965f5(0x18c),'printing':_0x4965f5(0x14c)},'menu':'列印','title':'列印','grid':{'title':_0x4965f5(0x157),'showGrid':_0x4965f5(0x16e),'showGridLabel':_0x4965f5(0x171),'closeAndHide':_0x4965f5(0x181)},'screenshot':{'title':'複製為圖片','success':_0x4965f5(0x190),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x4965f5(0x151),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x4965f5(0x162),'statement':_0x4965f5(0x15f),'executive':_0x4965f5(0x16a),'folio':_0x4965f5(0x150),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x4965f5(0x169),'a5':_0x4965f5(0x15b),'b4':_0x4965f5(0x159),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4965f5(0x17b),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4965f5(0x14d),'workbook':_0x4965f5(0x176),'currentSelection':_0x4965f5(0x14e),'maxRowsEachPage':_0x4965f5(0x164),'maxColumnsEachPage':_0x4965f5(0x166),'limit':_0x4965f5(0x187),'allSelection':_0x4965f5(0x165)},'selection':{'title':'選取範圍','allWorkbook':'所有工作表','workbookUnit':_0x4965f5(0x177)},'scale':{'title':'縮放','normal':_0x4965f5(0x189),'fitWidth':'調整至頁面寬度','fitHeight':_0x4965f5(0x175),'fitPage':_0x4965f5(0x152),'custom':_0x4965f5(0x161)},'orientation':{'title':_0x4965f5(0x183),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4965f5(0x168),'skeleton':'顯示格線','waterMark':_0x4965f5(0x179)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4965f5(0x17d),'page':'頁碼','workbook':_0x4965f5(0x18b),'sheet':'工作表名稱','date':_0x4965f5(0x15d),'time':_0x4965f5(0x158),'customHeadFooter':_0x4965f5(0x180),'editCustomHeadFooter':_0x4965f5(0x16b),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x4965f5(0x186),'dateA':'YYYY-MM-DD','dateB':_0x4965f5(0x153),'dateC':'L','dateD':_0x4965f5(0x155),'timeA':_0x4965f5(0x18f),'timeB':_0x4965f5(0x163),'timeC':_0x4965f5(0x14f),'timeD':_0x4965f5(0x15a),'display':{'page':'頁碼','title':_0x4965f5(0x18b),'sheet':_0x4965f5(0x170),'dateA':_0x4965f5(0x18a),'dateB':'日期B','dateC':_0x4965f5(0x184),'dateD':_0x4965f5(0x17a),'dateE':_0x4965f5(0x156),'dateF':_0x4965f5(0x17e),'timeA':_0x4965f5(0x15c),'timeB':_0x4965f5(0x15e),'timeC':'時間C','timeD':'時間D','sheetPage':'工作表頁碼','pageTotal':_0x4965f5(0x173),'sheetPageTotal':_0x4965f5(0x18d)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x4965f5(0x174),'desc':_0x4965f5(0x154),'row':'重複凍結的列','column':'重複凍結的欄'},'limit':{'page':_0x4965f5(0x17f),'waterMark':_0x4965f5(0x16d),'link':_0x4965f5(0x188)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1415(){const _0x31c4d1=['_range','BeforeSheetPrintCanceled','onCommandExecuted','print','PrintHeaderFooterSymbol','PrintPaperSize','getActiveUniverSheet','updatePrintConfig','saveScreenshotToClipboard','extend','SheetPrintCanceled','openPrintDialog','3057740XNwQZn','renderConfig','updateRenderConfig','updateLayoutConfig','6mtfPuI','1576055qNONnN','274340cUcZqS','layoutConfig','BeforeSheetPrintConfirm','includeHeaders','Event','PrintArea','cancel','beforeCommandExecuted','syncExecuteCommand','_initialize','closePrintDialog','6362631TTCBrY','SheetPrintConfirmed','BeforeSheetPrintOpen','SheetPrintOpen','PrintScale','3CUBiIE','executeCommand','updatePrintRenderConfig','fireEvent','getActiveSheet','198082buLIdV','registerEventHandler','1793981npLTVZ','1415916CTjGAz','PrintHeaderFooter','get','PrintAlign','8UFkjhh','getSheetId','_injector','_workbook'];_0x1415=function(){return _0x31c4d1;};return _0x1415();}const _0x3164eb=_0x4911;(function(_0x472f1f,_0x2d281c){const _0x1eab99=_0x4911,_0x3f7f99=_0x472f1f();while(!![]){try{const _0x273d9e=-parseInt(_0x1eab99(0x134))/0x1+-parseInt(_0x1eab99(0x151))/0x2+-parseInt(_0x1eab99(0x12f))/0x3*(-parseInt(_0x1eab99(0x137))/0x4)+-parseInt(_0x1eab99(0x150))/0x5*(parseInt(_0x1eab99(0x14f))/0x6)+parseInt(_0x1eab99(0x136))/0x7+-parseInt(_0x1eab99(0x13b))/0x8*(-parseInt(_0x1eab99(0x12a))/0x9)+-parseInt(_0x1eab99(0x14b))/0xa;if(_0x273d9e===_0x2d281c)break;else _0x3f7f99['push'](_0x3f7f99['shift']());}catch(_0x385f22){_0x3f7f99['push'](_0x3f7f99['shift']());}}}(_0x1415,0x58218));import{ISheetPrintManagerService as _0x1c154,ConfirmSheetPrintOperation as _0x3830f0,SheetPrintOpenOperation as _0x52e917,CancelSheetPrintOperation as _0x3021a7,hasPrintFacadePermission as _0x366f5e,SheetScreenShotOperation as _0x5970c3,SheetPrintClientService as _0x353eda,PrintArea as _0x17cf6f,PrintFreeze as _0x232d29,PrintHeaderFooter as _0x49377b,PrintHeaderFooterSymbol as _0x21e7ec}from'@univerjs-pro/sheets-print';import{ICommandService as _0x189cad,PaperType as _0x5116de,CanceledError as _0x3d0452}from'@univerjs/core';import{FWorkbook as _0x1d75b2,FRange as _0x33beb6}from'@univerjs/sheets/facade';import{FEventName as _0x79fa31,FEnum as _0x1c7387,FUniver as _0x17a55c}from'@univerjs/core/facade';import{PrintAlign as _0x55679e,PrintPaperMargin as _0x222d0c,PrintScale as _0x1fb4a2,PrintDirection as _0x50ba78}from'@univerjs-pro/print';class A extends _0x1d75b2{[_0x3164eb(0x146)](_0x119b85){const _0x2dd711=_0x3164eb;return this[_0x2dd711(0x13d)][_0x2dd711(0x139)](_0x1c154)[_0x2dd711(0x14e)](_0x119b85),this;}[_0x3164eb(0x131)](_0x4a2642){const _0x2ffe92=_0x3164eb;return this[_0x2ffe92(0x13d)][_0x2ffe92(0x139)](_0x1c154)[_0x2ffe92(0x14d)](_0x4a2642),this;}[_0x3164eb(0x142)](){const _0x41a624=_0x3164eb;return this['_injector'][_0x41a624(0x139)](_0x189cad)[_0x41a624(0x159)](_0x3830f0['id']);}[_0x3164eb(0x14a)](){const _0x5f264e=_0x3164eb;return this[_0x5f264e(0x13d)][_0x5f264e(0x139)](_0x189cad)[_0x5f264e(0x159)](_0x52e917['id']);}[_0x3164eb(0x15b)](){const _0x49d011=_0x3164eb;return this[_0x49d011(0x13d)][_0x49d011(0x139)](_0x189cad)[_0x49d011(0x159)](_0x3021a7['id']);}async[_0x3164eb(0x147)](){const _0x5d8689=_0x3164eb;return _0x366f5e(this[_0x5d8689(0x13d)])?this['_injector'][_0x5d8689(0x139)](_0x189cad)[_0x5d8689(0x130)](_0x5970c3['id']):!0x1;}}_0x1d75b2[_0x3164eb(0x148)](A);class B extends _0x33beb6{['getScreenshot'](_0x35f57d){const _0x421d10=_0x3164eb;return _0x366f5e(this['_injector'])?this[_0x421d10(0x13d)]['get'](_0x353eda)['getRangeImage'](this[_0x421d10(0x13e)]['getUnitId'](),this['_worksheet'][_0x421d10(0x13c)](),this[_0x421d10(0x13f)],_0x35f57d==null?void 0x0:_0x35f57d[_0x421d10(0x154)]):!0x1;}}_0x33beb6[_0x3164eb(0x148)](B);class H{get[_0x3164eb(0x12c)](){const _0x46913b=_0x3164eb;return _0x46913b(0x12c);}get[_0x3164eb(0x153)](){const _0x3b55cc=_0x3164eb;return _0x3b55cc(0x153);}get[_0x3164eb(0x140)](){const _0x55e67f=_0x3164eb;return _0x55e67f(0x140);}get['SheetPrintOpen'](){const _0x31b48c=_0x3164eb;return _0x31b48c(0x12d);}get[_0x3164eb(0x12b)](){const _0x576b84=_0x3164eb;return _0x576b84(0x12b);}get[_0x3164eb(0x149)](){return'SheetPrintCanceled';}}_0x79fa31[_0x3164eb(0x148)](H);class U{get[_0x3164eb(0x156)](){return _0x17cf6f;}get[_0x3164eb(0x13a)](){return _0x55679e;}get[_0x3164eb(0x144)](){return _0x5116de;}get['PrintPaperMargin'](){return _0x222d0c;}get[_0x3164eb(0x12e)](){return _0x1fb4a2;}get['PrintDirection'](){return _0x50ba78;}get['PrintFreeze'](){return _0x232d29;}get[_0x3164eb(0x138)](){return _0x49377b;}get[_0x3164eb(0x143)](){return _0x21e7ec;}}function _0x4911(_0x284c6e,_0x221948){_0x284c6e=_0x284c6e-0x12a;const _0x141511=_0x1415();let _0x491117=_0x141511[_0x284c6e];return _0x491117;}_0x1c7387[_0x3164eb(0x148)](U);class M extends _0x17a55c{[_0x3164eb(0x15a)](_0x2f35d3){const _0x56df0f=_0x3164eb,_0x35006c=_0x2f35d3[_0x56df0f(0x139)](_0x189cad);this[_0x56df0f(0x135)](this[_0x56df0f(0x155)][_0x56df0f(0x12c)],()=>_0x35006c[_0x56df0f(0x158)](_0x2ff418=>{const _0x257a38=_0x56df0f;if(_0x2ff418['id']===_0x52e917['id']){const _0x3ed4c0=this[_0x257a38(0x145)]();if(!_0x3ed4c0)return;const _0x31cb0f={'workbook':_0x3ed4c0,'worksheet':_0x3ed4c0[_0x257a38(0x133)]()};if(_0x31cb0f==null)return;if(this[_0x257a38(0x132)](this[_0x257a38(0x155)]['BeforeSheetPrintOpen'],_0x31cb0f),_0x31cb0f[_0x257a38(0x157)])throw new _0x3d0452();}})),this[_0x56df0f(0x135)](this[_0x56df0f(0x155)][_0x56df0f(0x153)],()=>_0x35006c['beforeCommandExecuted'](_0x193a24=>{const _0x5d0827=_0x56df0f;if(_0x193a24['id']===_0x3830f0['id']){const _0x3b9046=_0x2f35d3[_0x5d0827(0x139)](_0x1c154);if(!this[_0x5d0827(0x145)]())return;const _0x1a4fda={'layoutConfig':_0x3b9046[_0x5d0827(0x152)],'renderConfig':_0x3b9046[_0x5d0827(0x14c)]};if(_0x1a4fda==null)return;if(this[_0x5d0827(0x132)](this[_0x5d0827(0x155)][_0x5d0827(0x153)],_0x1a4fda),_0x1a4fda[_0x5d0827(0x157)])throw new _0x3d0452();}})),this['registerEventHandler'](this[_0x56df0f(0x155)]['BeforeSheetPrintCanceled'],()=>_0x35006c[_0x56df0f(0x158)](_0x4b52a0=>{const _0xb6a716=_0x56df0f;if(_0x4b52a0['id']===_0x3021a7['id']){const _0x594c20=_0x2f35d3[_0xb6a716(0x139)](_0x1c154);if(!this[_0xb6a716(0x145)]())return;const _0x475d12={'layoutConfig':_0x594c20['layoutConfig'],'renderConfig':_0x594c20[_0xb6a716(0x14c)]};if(_0x475d12==null)return;if(this[_0xb6a716(0x132)](this[_0xb6a716(0x155)][_0xb6a716(0x140)],_0x475d12),_0x475d12[_0xb6a716(0x157)])throw new _0x3d0452();}})),this[_0x56df0f(0x135)](this[_0x56df0f(0x155)][_0x56df0f(0x12d)],()=>_0x35006c[_0x56df0f(0x141)](_0x311c62=>{const _0x3fe93e=_0x56df0f;if(_0x311c62['id']===_0x52e917['id']){const _0x4447ab=this[_0x3fe93e(0x145)]();if(!_0x4447ab)return;const _0x186b7e={'workbook':_0x4447ab,'worksheet':_0x4447ab[_0x3fe93e(0x133)]()};if(_0x186b7e==null)return;this[_0x3fe93e(0x132)](this[_0x3fe93e(0x155)][_0x3fe93e(0x12d)],_0x186b7e);}})),this[_0x56df0f(0x135)](this['Event'][_0x56df0f(0x12b)],()=>_0x35006c['onCommandExecuted'](_0x3380f7=>{const _0x490006=_0x56df0f;if(_0x3380f7['id']===_0x3830f0['id']){const _0x46c8f4=_0x2f35d3[_0x490006(0x139)](_0x1c154);if(!this[_0x490006(0x145)]())return;const _0xd0deaa={'layoutConfig':_0x46c8f4[_0x490006(0x152)],'renderConfig':_0x46c8f4[_0x490006(0x14c)]};if(_0xd0deaa==null)return;this[_0x490006(0x132)](this[_0x490006(0x155)][_0x490006(0x12b)],_0xd0deaa);}})),this['registerEventHandler'](this['Event'][_0x56df0f(0x149)],()=>_0x35006c[_0x56df0f(0x141)](_0x35ff2a=>{const _0x2d4ac3=_0x56df0f;if(_0x35ff2a['id']===_0x3021a7['id']){const _0x7691cc=_0x2f35d3[_0x2d4ac3(0x139)](_0x1c154);if(!this[_0x2d4ac3(0x145)]())return;const _0x2aac5b={'layoutConfig':_0x7691cc[_0x2d4ac3(0x152)],'renderConfig':_0x7691cc[_0x2d4ac3(0x14c)]};if(_0x2aac5b==null)return;this[_0x2d4ac3(0x132)](this[_0x2d4ac3(0x155)][_0x2d4ac3(0x149)],_0x2aac5b);}}));}}_0x17a55c[_0x3164eb(0x148)](M);
|