@univerjs-pro/sheets-print 0.12.1 → 0.12.2-nightly.202511290732
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 +40 -40
- 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 +17 -17
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x11db(){const _0x2326b9=['格式設定','15777ZcOKFK','活頁簿標題','垂直對齊','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','標準\x20(100%)','編輯自訂頁首/頁尾','活頁簿','日期D','2385ypkBHN','列與欄標題','Folio\x20(8.5\x22\x20x\x2013\x22)','hh:mm:ss','12NkSGjL','自訂比例','hh:mm','目前工作表','工作表名稱','6759907thQbsv','圖片複製到剪貼簿失敗!','7dHfupB','複製為圖片','工作表總頁數','所有工作表','3247472EOPLaU','自訂頁首/頁尾','總計:','A4\x20(8.27\x22\x20x\x2011.69\x22)','MM/DD','下一步','日期C','每頁最大列數','https://univer.ai/pro','B5\x20(6.93\x22\x20x\x209.84\x22)','列印版面配置','點擊以新增文字','36436fmQGEX','顯示分頁線','5628XLpIOx','已選取的儲存格','Legal\x20(8.5\x22\x20x\x2014\x22)','每頁最大欄數','日期F','目前時間','調整至頁面高度','HH:mm:ss','時間A','MM-DD','日期A','YYYY-MM-DD','紙張大小','40794nJqNmY','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','Executive\x20(7.25\x22\x20x\x2010.5\x22)','重複凍結的欄','目前日期','131518NmELsa','張工作表','所有選取的儲存格','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','Statement\x20(5.5\x22\x20x\x208.5\x22)','時間C','A5\x20(5.83\x22\x20x\x208.27\x22)','日期B','1110NaqLYD','頁面方向','顯示格線','B4\x20(9.84\x22\x20x\x2013.90\x22)','調整至頁面寬度','138nLySwp','顯示浮水印','6822pXHkkJ','重複凍結的列','關閉並隱藏分頁線','時間B','時間D'];_0x11db=function(){return _0x2326b9;};return _0x11db();}function _0x26b8(_0x57161a,_0x255c7c){const _0x11db87=_0x11db();return _0x26b8=function(_0x26b82e,_0x105e0a){_0x26b82e=_0x26b82e-0x191;let _0x2599ed=_0x11db87[_0x26b82e];return _0x2599ed;},_0x26b8(_0x57161a,_0x255c7c);}const _0xb8fde0=_0x26b8;(function(_0xfe5ba3,_0x4b37dd){const _0x3a7eaa=_0x26b8,_0x30e7d6=_0xfe5ba3();while(!![]){try{const _0x3cddd2=-parseInt(_0x3a7eaa(0x1a9))/0x1*(parseInt(_0x3a7eaa(0x1d4))/0x2)+parseInt(_0x3a7eaa(0x195))/0x3*(-parseInt(_0x3a7eaa(0x1c0))/0x4)+parseInt(_0x3a7eaa(0x1a5))/0x5*(parseInt(_0x3a7eaa(0x197))/0x6)+parseInt(_0x3a7eaa(0x1b0))/0x7*(parseInt(_0x3a7eaa(0x1b4))/0x8)+-parseInt(_0x3a7eaa(0x19d))/0x9*(parseInt(_0x3a7eaa(0x1dc))/0xa)+-parseInt(_0x3a7eaa(0x1ae))/0xb+-parseInt(_0x3a7eaa(0x1c2))/0xc*(-parseInt(_0x3a7eaa(0x1cf))/0xd);if(_0x3cddd2===_0x4b37dd)break;else _0x30e7d6['push'](_0x30e7d6['shift']());}catch(_0x4447ba){_0x30e7d6['push'](_0x30e7d6['shift']());}}}(_0x11db,0x6254b));const e={'print':{'header':{'total':_0xb8fde0(0x1b6),'pages':'頁','cancel':'取消','next':_0xb8fde0(0x1b9),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0xb8fde0(0x1be),'showGrid':'顯示分頁符號','showGridLabel':_0xb8fde0(0x1c1),'closeAndHide':_0xb8fde0(0x199)},'screenshot':{'title':_0xb8fde0(0x1b1),'success':'圖片已成功複製到剪貼簿!','fail':_0xb8fde0(0x1af)},'size':{'title':_0xb8fde0(0x1ce),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0xb8fde0(0x1c4),'statement':_0xb8fde0(0x1d8),'executive':_0xb8fde0(0x1d1),'folio':_0xb8fde0(0x1a7),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0xb8fde0(0x1b7),'a5':_0xb8fde0(0x1da),'b4':_0xb8fde0(0x193),'b5':_0xb8fde0(0x1bd)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0xb8fde0(0x1ac),'workbook':_0xb8fde0(0x1a3),'currentSelection':_0xb8fde0(0x1c3),'maxRowsEachPage':_0xb8fde0(0x1bb),'maxColumnsEachPage':_0xb8fde0(0x1c5),'limit':'列與欄限制','allSelection':_0xb8fde0(0x1d6)},'selection':{'title':'選取範圍','allWorkbook':_0xb8fde0(0x1b3),'workbookUnit':_0xb8fde0(0x1d5)},'scale':{'title':'縮放','normal':_0xb8fde0(0x1a1),'fitWidth':_0xb8fde0(0x194),'fitHeight':_0xb8fde0(0x1c8),'fitPage':'調整至頁面大小','custom':_0xb8fde0(0x1aa)},'orientation':{'title':_0xb8fde0(0x191),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0xb8fde0(0x19c),'skeleton':_0xb8fde0(0x192),'waterMark':_0xb8fde0(0x196)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0xb8fde0(0x19f),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0xb8fde0(0x19e),'sheet':_0xb8fde0(0x1ad),'date':_0xb8fde0(0x1d3),'time':_0xb8fde0(0x1c7),'customHeadFooter':_0xb8fde0(0x1b5),'editCustomHeadFooter':_0xb8fde0(0x1a2),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0xb8fde0(0x1cd),'dateB':_0xb8fde0(0x1cb),'dateC':'L','dateD':_0xb8fde0(0x1b8),'timeA':_0xb8fde0(0x1c9),'timeB':'HH:mm','timeC':_0xb8fde0(0x1a8),'timeD':_0xb8fde0(0x1ab),'display':{'page':'頁碼','title':_0xb8fde0(0x19e),'sheet':'工作表名稱','dateA':_0xb8fde0(0x1cc),'dateB':_0xb8fde0(0x1db),'dateC':_0xb8fde0(0x1ba),'dateD':_0xb8fde0(0x1a4),'dateE':'日期E','dateF':_0xb8fde0(0x1c6),'timeA':_0xb8fde0(0x1ca),'timeB':_0xb8fde0(0x19a),'timeC':_0xb8fde0(0x1d9),'timeD':_0xb8fde0(0x19b),'sheetPage':'工作表頁碼','pageTotal':'總頁數','sheetPageTotal':_0xb8fde0(0x1b2)},'placeholder':_0xb8fde0(0x1bf),'submit':'確定'},'freeze':{'title':_0xb8fde0(0x1a6),'desc':_0xb8fde0(0x1a0),'row':_0xb8fde0(0x198),'column':_0xb8fde0(0x1d2)},'limit':{'page':_0xb8fde0(0x1d0),'waterMark':_0xb8fde0(0x1d7),'link':_0xb8fde0(0x1bc)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xf75636=_0x4e67;(function(_0x29315a,_0x1d919d){const _0x219f24=_0x4e67,_0x442c33=_0x29315a();while(!![]){try{const _0x5c6472=-parseInt(_0x219f24(0x157))/0x1*(-parseInt(_0x219f24(0x153))/0x2)+-parseInt(_0x219f24(0x13d))/0x3*(parseInt(_0x219f24(0x15f))/0x4)+-parseInt(_0x219f24(0x148))/0x5+parseInt(_0x219f24(0x166))/0x6*(-parseInt(_0x219f24(0x15d))/0x7)+-parseInt(_0x219f24(0x156))/0x8*(parseInt(_0x219f24(0x163))/0x9)+parseInt(_0x219f24(0x13e))/0xa+parseInt(_0x219f24(0x14d))/0xb*(parseInt(_0x219f24(0x160))/0xc);if(_0x5c6472===_0x1d919d)break;else _0x442c33['push'](_0x442c33['shift']());}catch(_0x235c5c){_0x442c33['push'](_0x442c33['shift']());}}}(_0x82d2,0x27b2d));import{ISheetPrintManagerService as _0x41e742,ConfirmSheetPrintOperation as _0x575ca3,SheetPrintOpenOperation as _0x5aaef5,CancelSheetPrintOperation as _0x473603,hasPrintFacadePermission as _0x43e470,SheetScreenShotOperation as _0x385835,SheetPrintClientService as _0x48deb2,PrintArea as _0x46dc39,PrintFreeze as _0x18d566,PrintHeaderFooter as _0x7c3e5b,PrintHeaderFooterSymbol as _0x11957a}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2acd9e,PaperType as _0x52b23c,CanceledError as _0x371a33}from'@univerjs/core';import{FWorkbook as _0x33effe,FRange as _0x30cb05}from'@univerjs/sheets/facade';import{FEventName as _0x3a7adc,FEnum as _0x3537a6,FUniver as _0x238c51}from'@univerjs/core/facade';import{PrintAlign as _0x586e95,PrintPaperMargin as _0x3ea1c0,PrintScale as _0x47d2f8,PrintDirection as _0x3fcd4a}from'@univerjs-pro/print';function _0x82d2(){const _0x51f57c=['BeforeSheetPrintCanceled','saveScreenshotToClipboard','renderConfig','857655nYEoVq','PrintScale','SheetPrintConfirmed','BeforeSheetPrintOpen','PrintHeaderFooter','3952135buvvxK','print','_workbook','BeforeSheetPrintConfirm','beforeCommandExecuted','Event','22GLvmze','getScreenshot','executeCommand','113992cppSQm','28513wQcurp','closePrintDialog','SheetPrintCanceled','_range','_worksheet','layoutConfig','21oIHqWW','PrintHeaderFooterSymbol','4ZdwCpR','12bPgbmu','_injector','getActiveUniverSheet','180BBKAuf','fireEvent','updateRenderConfig','319794eciZbc','updatePrintRenderConfig','get','cancel','_initialize','SheetPrintOpen','getSheetId','getRangeImage','getActiveSheet','538971bjGbiA','2857420OpgLMR','onCommandExecuted','registerEventHandler','extend','PrintFreeze','openPrintDialog','syncExecuteCommand'];_0x82d2=function(){return _0x51f57c;};return _0x82d2();}class A extends _0x33effe{['updatePrintConfig'](_0x44bcec){const _0x1d78cf=_0x4e67;return this[_0x1d78cf(0x161)]['get'](_0x41e742)['updateLayoutConfig'](_0x44bcec),this;}[_0xf75636(0x167)](_0x51611a){const _0xc58086=_0xf75636;return this[_0xc58086(0x161)][_0xc58086(0x168)](_0x41e742)[_0xc58086(0x165)](_0x51611a),this;}[_0xf75636(0x14e)](){const _0x5e18fb=_0xf75636;return this[_0x5e18fb(0x161)][_0x5e18fb(0x168)](_0x2acd9e)[_0x5e18fb(0x144)](_0x575ca3['id']);}[_0xf75636(0x143)](){const _0x226285=_0xf75636;return this['_injector'][_0x226285(0x168)](_0x2acd9e)[_0x226285(0x144)](_0x5aaef5['id']);}[_0xf75636(0x158)](){const _0x24ee86=_0xf75636;return this[_0x24ee86(0x161)][_0x24ee86(0x168)](_0x2acd9e)[_0x24ee86(0x144)](_0x473603['id']);}async[_0xf75636(0x146)](){const _0x10ab9d=_0xf75636;return _0x43e470(this[_0x10ab9d(0x161)])?this[_0x10ab9d(0x161)]['get'](_0x2acd9e)[_0x10ab9d(0x155)](_0x385835['id']):!0x1;}}_0x33effe[_0xf75636(0x141)](A);class B extends _0x30cb05{[_0xf75636(0x154)](){const _0x41a282=_0xf75636;return _0x43e470(this[_0x41a282(0x161)])?this[_0x41a282(0x161)][_0x41a282(0x168)](_0x48deb2)[_0x41a282(0x13b)](this[_0x41a282(0x14f)]['getUnitId'](),this[_0x41a282(0x15b)][_0x41a282(0x16c)](),this[_0x41a282(0x15a)]):!0x1;}}_0x30cb05['extend'](B);class H{get['BeforeSheetPrintOpen'](){const _0x1f2c78=_0xf75636;return _0x1f2c78(0x14b);}get[_0xf75636(0x150)](){const _0x8634d6=_0xf75636;return _0x8634d6(0x150);}get[_0xf75636(0x145)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0xf75636(0x14a)](){const _0x437cc7=_0xf75636;return _0x437cc7(0x14a);}get[_0xf75636(0x159)](){const _0x319f13=_0xf75636;return _0x319f13(0x159);}}_0x3a7adc[_0xf75636(0x141)](H);class U{get['PrintArea'](){return _0x46dc39;}get['PrintAlign'](){return _0x586e95;}get['PrintPaperSize'](){return _0x52b23c;}get['PrintPaperMargin'](){return _0x3ea1c0;}get[_0xf75636(0x149)](){return _0x47d2f8;}get['PrintDirection'](){return _0x3fcd4a;}get[_0xf75636(0x142)](){return _0x18d566;}get[_0xf75636(0x14c)](){return _0x7c3e5b;}get[_0xf75636(0x15e)](){return _0x11957a;}}_0x3537a6['extend'](U);class M extends _0x238c51{[_0xf75636(0x16a)](_0x35488a){const _0x215d33=_0xf75636,_0x2970bd=_0x35488a['get'](_0x2acd9e);this[_0x215d33(0x140)](this[_0x215d33(0x152)]['BeforeSheetPrintOpen'],()=>_0x2970bd[_0x215d33(0x151)](_0x52a40d=>{const _0x4f56a0=_0x215d33;if(_0x52a40d['id']===_0x5aaef5['id']){const _0x223f07=this['getActiveUniverSheet']();if(!_0x223f07)return;const _0x55d51e={'workbook':_0x223f07,'worksheet':_0x223f07['getActiveSheet']()};if(_0x55d51e==null)return;if(this['fireEvent'](this[_0x4f56a0(0x152)][_0x4f56a0(0x14b)],_0x55d51e),_0x55d51e[_0x4f56a0(0x169)])throw new _0x371a33();}})),this[_0x215d33(0x140)](this['Event'][_0x215d33(0x150)],()=>_0x2970bd['beforeCommandExecuted'](_0x198ae3=>{const _0x496516=_0x215d33;if(_0x198ae3['id']===_0x575ca3['id']){const _0x27262c=_0x35488a[_0x496516(0x168)](_0x41e742);if(!this[_0x496516(0x162)]())return;const _0x1a1c61={'layoutConfig':_0x27262c[_0x496516(0x15c)],'renderConfig':_0x27262c[_0x496516(0x147)]};if(_0x1a1c61==null)return;if(this[_0x496516(0x164)](this[_0x496516(0x152)][_0x496516(0x150)],_0x1a1c61),_0x1a1c61[_0x496516(0x169)])throw new _0x371a33();}})),this['registerEventHandler'](this[_0x215d33(0x152)][_0x215d33(0x145)],()=>_0x2970bd['beforeCommandExecuted'](_0x573d99=>{const _0x426069=_0x215d33;if(_0x573d99['id']===_0x473603['id']){const _0x7a5ed2=_0x35488a[_0x426069(0x168)](_0x41e742);if(!this[_0x426069(0x162)]())return;const _0x2cbcaa={'layoutConfig':_0x7a5ed2[_0x426069(0x15c)],'renderConfig':_0x7a5ed2['renderConfig']};if(_0x2cbcaa==null)return;if(this[_0x426069(0x164)](this[_0x426069(0x152)]['BeforeSheetPrintCanceled'],_0x2cbcaa),_0x2cbcaa[_0x426069(0x169)])throw new _0x371a33();}})),this[_0x215d33(0x140)](this[_0x215d33(0x152)][_0x215d33(0x16b)],()=>_0x2970bd[_0x215d33(0x13f)](_0x58aa0=>{const _0x20ce91=_0x215d33;if(_0x58aa0['id']===_0x5aaef5['id']){const _0x58f52a=this[_0x20ce91(0x162)]();if(!_0x58f52a)return;const _0xab3831={'workbook':_0x58f52a,'worksheet':_0x58f52a[_0x20ce91(0x13c)]()};if(_0xab3831==null)return;this[_0x20ce91(0x164)](this[_0x20ce91(0x152)]['SheetPrintOpen'],_0xab3831);}})),this['registerEventHandler'](this[_0x215d33(0x152)][_0x215d33(0x14a)],()=>_0x2970bd['onCommandExecuted'](_0x5e74ff=>{const _0x43b42a=_0x215d33;if(_0x5e74ff['id']===_0x575ca3['id']){const _0x4d1269=_0x35488a['get'](_0x41e742);if(!this[_0x43b42a(0x162)]())return;const _0x545826={'layoutConfig':_0x4d1269[_0x43b42a(0x15c)],'renderConfig':_0x4d1269[_0x43b42a(0x147)]};if(_0x545826==null)return;this[_0x43b42a(0x164)](this['Event'][_0x43b42a(0x14a)],_0x545826);}})),this[_0x215d33(0x140)](this[_0x215d33(0x152)][_0x215d33(0x159)],()=>_0x2970bd[_0x215d33(0x13f)](_0xf1a324=>{const _0xdebb63=_0x215d33;if(_0xf1a324['id']===_0x473603['id']){const _0x19b2be=_0x35488a[_0xdebb63(0x168)](_0x41e742);if(!this[_0xdebb63(0x162)]())return;const _0x375ca8={'layoutConfig':_0x19b2be[_0xdebb63(0x15c)],'renderConfig':_0x19b2be[_0xdebb63(0x147)]};if(_0x375ca8==null)return;this[_0xdebb63(0x164)](this['Event'][_0xdebb63(0x159)],_0x375ca8);}}));}}function _0x4e67(_0x526dc2,_0x1b193c){const _0x82d2ed=_0x82d2();return _0x4e67=function(_0x4e6796,_0x1f82b6){_0x4e6796=_0x4e6796-0x13b;let _0x1930f9=_0x82d2ed[_0x4e6796];return _0x1930f9;},_0x4e67(_0x526dc2,_0x1b193c);}_0x238c51[_0xf75636(0x141)](M);
|