@univerjs-pro/sheets-print 0.10.10-nightly.202510180256 → 0.10.10-nightly.202510180327
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/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/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/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/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
|
-
const
|
|
1
|
+
const _0x2fe550=_0x5213;(function(_0x508ea6,_0x1f5290){const _0x2dafa0=_0x5213,_0x1b502a=_0x508ea6();while(!![]){try{const _0x42ca59=-parseInt(_0x2dafa0(0x1c8))/0x1*(parseInt(_0x2dafa0(0x1c2))/0x2)+parseInt(_0x2dafa0(0x1a9))/0x3*(parseInt(_0x2dafa0(0x1df))/0x4)+-parseInt(_0x2dafa0(0x1eb))/0x5*(parseInt(_0x2dafa0(0x1d2))/0x6)+-parseInt(_0x2dafa0(0x1da))/0x7*(parseInt(_0x2dafa0(0x1d3))/0x8)+parseInt(_0x2dafa0(0x1a8))/0x9+-parseInt(_0x2dafa0(0x1bf))/0xa+-parseInt(_0x2dafa0(0x1af))/0xb*(-parseInt(_0x2dafa0(0x1ac))/0xc);if(_0x42ca59===_0x1f5290)break;else _0x1b502a['push'](_0x1b502a['shift']());}catch(_0x59a1d1){_0x1b502a['push'](_0x1b502a['shift']());}}}(_0x507f,0x6fb21));function _0x5213(_0x10d725,_0x6595a8){const _0x507f2d=_0x507f();return _0x5213=function(_0x5213b3,_0x12c548){_0x5213b3=_0x5213b3-0x1a4;let _0x334d81=_0x507f2d[_0x5213b3];return _0x334d81;},_0x5213(_0x10d725,_0x6595a8);}const e={'print':{'header':{'total':_0x2fe550(0x1dc),'pages':'頁','cancel':'取消','next':_0x2fe550(0x1c4),'printing':_0x2fe550(0x1ad)},'menu':'列印','title':'列印','screenshot':{'title':_0x2fe550(0x1e0),'success':_0x2fe550(0x1e9),'fail':_0x2fe550(0x1c1)},'size':{'title':_0x2fe550(0x1b6),'letter':_0x2fe550(0x1e3),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x2fe550(0x1e4),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x2fe550(0x1bd),'folio':_0x2fe550(0x1e8),'a3':_0x2fe550(0x1b2),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x2fe550(0x1b4),'b4':_0x2fe550(0x1ea),'b5':_0x2fe550(0x1e6)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x2fe550(0x1c6),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x2fe550(0x1e5),'workbook':_0x2fe550(0x1b5),'currentSelection':_0x2fe550(0x1b8),'maxRowsEachPage':_0x2fe550(0x1d0),'maxColumnsEachPage':_0x2fe550(0x1d6),'limit':'列與欄限制','allSelection':_0x2fe550(0x1ce)},'selection':{'title':_0x2fe550(0x1e1),'allWorkbook':_0x2fe550(0x1ca),'workbookUnit':_0x2fe550(0x1c3)},'scale':{'title':'縮放','normal':_0x2fe550(0x1e2),'fitWidth':'調整至頁面寬度','fitHeight':_0x2fe550(0x1c5),'fitPage':_0x2fe550(0x1bb),'custom':_0x2fe550(0x1dd)},'orientation':{'title':_0x2fe550(0x1ec),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x2fe550(0x1ab),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x2fe550(0x1cc),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x2fe550(0x1d1),'page':'頁碼','workbook':_0x2fe550(0x1ae),'sheet':_0x2fe550(0x1b3),'date':_0x2fe550(0x1cd),'time':_0x2fe550(0x1cf),'customHeadFooter':_0x2fe550(0x1a5),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x2fe550(0x1e7),'dateA':_0x2fe550(0x1b0),'dateB':_0x2fe550(0x1bc),'dateC':'L','dateD':_0x2fe550(0x1b9),'timeA':_0x2fe550(0x1a7),'timeB':_0x2fe550(0x1a4),'timeC':'hh:mm:ss','timeD':_0x2fe550(0x1d7),'display':{'page':'頁碼','title':_0x2fe550(0x1ae),'sheet':'工作表名稱','dateA':_0x2fe550(0x1c9),'dateB':'日期B','dateC':_0x2fe550(0x1db),'dateD':_0x2fe550(0x1aa),'dateE':_0x2fe550(0x1de),'dateF':_0x2fe550(0x1cb),'timeA':_0x2fe550(0x1b1),'timeB':'時間B','timeC':_0x2fe550(0x1ba),'timeD':'時間D','sheetPage':'工作表頁碼','pageTotal':_0x2fe550(0x1d8),'sheetPageTotal':_0x2fe550(0x1d9)},'placeholder':_0x2fe550(0x1a6),'submit':'確定'},'freeze':{'title':_0x2fe550(0x1be),'desc':_0x2fe550(0x1d4),'row':'重複凍結的列','column':_0x2fe550(0x1c0)},'limit':{'page':_0x2fe550(0x1c7),'waterMark':_0x2fe550(0x1d5),'link':_0x2fe550(0x1b7)}}};export{e as default};function _0x507f(){const _0x29c2c4=['下一步','調整至頁面高度','自訂义頁邊距','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','24683vfxgai','日期A','所有工作表','日期F','垂直對齊','目前日期','所有選取的儲存格','目前時間','每頁最大列數','頁首和頁尾','312lTqmvd','8zUDejb','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','每頁最大欄數','hh:mm','總頁數','工作表總頁數','4804338IOlIFo','日期C','總計:','自訂比例','日期E','16NaJmQt','複製為圖片','選取範圍','標準\x20(100%)','Letter\x20(8.5\x22\x20x\x2011\x22)','Legal\x20(8.5\x22\x20x\x2014\x22)','目前工作表','B5\x20(6.93\x22\x20x\x209.84\x22)','日期格式','Folio\x20(8.5\x22\x20x\x2013\x22)','圖片已成功複製到剪貼簿!','B4\x20(9.84\x22\x20x\x2013.90\x22)','17230WcihUV','頁面方向','HH:mm','自訂頁首/頁尾','點擊以新增文字','HH:mm:ss','5720805DgqXMl','603282VZYSFg','日期D','顯示格線','12yaEjPU','列印中,請勿關閉頁面','活頁簿標題','8676272rwVGko','YYYY-MM-DD','時間A','A3\x20(11.69\x22\x20x\x2016.54\x22)','工作表名稱','A5\x20(5.83\x22\x20x\x208.27\x22)','活頁簿','紙張大小','https://univer.ai/pro','已選取的儲存格','MM/DD','時間C','調整至頁面大小','MM-DD','Executive\x20(7.25\x22\x20x\x2010.5\x22)','列與欄標題','5108140hWjgTd','重複凍結的欄','圖片複製到剪貼簿失敗!','32NOgIZk','張工作表'];_0x507f=function(){return _0x29c2c4;};return _0x507f();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xeab78a=_0x125c;(function(_0x322e4b,_0x241013){const _0x50607c=_0x125c,_0xecbe2d=_0x322e4b();while(!![]){try{const _0x1b3bc5=-parseInt(_0x50607c(0x16d))/0x1*(-parseInt(_0x50607c(0x16a))/0x2)+-parseInt(_0x50607c(0x18a))/0x3*(parseInt(_0x50607c(0x182))/0x4)+-parseInt(_0x50607c(0x163))/0x5+-parseInt(_0x50607c(0x17d))/0x6*(parseInt(_0x50607c(0x178))/0x7)+-parseInt(_0x50607c(0x17c))/0x8+-parseInt(_0x50607c(0x194))/0x9+parseInt(_0x50607c(0x17f))/0xa;if(_0x1b3bc5===_0x241013)break;else _0xecbe2d['push'](_0xecbe2d['shift']());}catch(_0x11f5c4){_0xecbe2d['push'](_0xecbe2d['shift']());}}}(_0x34ac,0x7afd4));import{ISheetPrintManagerService as _0x139f3d,ConfirmSheetPrintOperation as _0x5dd353,SheetPrintOpenOperation as _0x3822aa,CancelSheetPrintOperation as _0x2e00d6,hasPrintFacadePermission as _0x5fcbb8,SheetScreenShotOperation as _0x153c7c,SheetPrintClientService as _0x2fc4d5,PrintArea as _0x116613,PrintFreeze as _0xda1160,PrintHeaderFooter as _0x4450a7,PrintHeaderFooterSymbol as _0x4066cd}from'@univerjs-pro/sheets-print';import{ICommandService as _0x1b5e9f,PaperType as _0x288608,CanceledError as _0x19c724}from'@univerjs/core';import{FWorkbook as _0x56d986,FRange as _0x3ade63}from'@univerjs/sheets/facade';import{FEventName as _0x1955ea,FEnum as _0x29936d,FUniver as _0x1d5955}from'@univerjs/core/facade';import{PrintAlign as _0x4147c6,PrintPaperMargin as _0x1d2fa7,PrintScale as _0x5e221a,PrintDirection as _0x4107ab}from'@univerjs-pro/print';class A extends _0x56d986{[_0xeab78a(0x188)](_0x4b07b1){const _0x2a5aa9=_0xeab78a;return this[_0x2a5aa9(0x183)][_0x2a5aa9(0x165)](_0x139f3d)[_0x2a5aa9(0x170)](_0x4b07b1),this;}['updatePrintRenderConfig'](_0x23ff43){const _0x24e08e=_0xeab78a;return this[_0x24e08e(0x183)][_0x24e08e(0x165)](_0x139f3d)[_0x24e08e(0x18c)](_0x23ff43),this;}[_0xeab78a(0x16f)](){const _0x4275ce=_0xeab78a;return this[_0x4275ce(0x183)][_0x4275ce(0x165)](_0x1b5e9f)[_0x4275ce(0x180)](_0x5dd353['id']);}[_0xeab78a(0x17b)](){const _0x106de7=_0xeab78a;return this[_0x106de7(0x183)][_0x106de7(0x165)](_0x1b5e9f)[_0x106de7(0x180)](_0x3822aa['id']);}[_0xeab78a(0x177)](){const _0xc54e95=_0xeab78a;return this[_0xc54e95(0x183)][_0xc54e95(0x165)](_0x1b5e9f)[_0xc54e95(0x180)](_0x2e00d6['id']);}async['saveScreenshotToClipboard'](){const _0x3f2497=_0xeab78a;return _0x5fcbb8(this[_0x3f2497(0x183)])?this['_injector'][_0x3f2497(0x165)](_0x1b5e9f)[_0x3f2497(0x175)](_0x153c7c['id']):!0x1;}}function _0x125c(_0x86476,_0x5a0f7f){const _0x34acf7=_0x34ac();return _0x125c=function(_0x125cfa,_0x34ba27){_0x125cfa=_0x125cfa-0x163;let _0x1adf57=_0x34acf7[_0x125cfa];return _0x1adf57;},_0x125c(_0x86476,_0x5a0f7f);}_0x56d986[_0xeab78a(0x176)](A);class B extends _0x3ade63{[_0xeab78a(0x17e)](){const _0x376b00=_0xeab78a;return _0x5fcbb8(this['_injector'])?this[_0x376b00(0x183)][_0x376b00(0x165)](_0x2fc4d5)['getRangeImage'](this[_0x376b00(0x193)][_0x376b00(0x18f)](),this[_0x376b00(0x169)][_0x376b00(0x189)](),this[_0x376b00(0x181)]):!0x1;}}_0x3ade63['extend'](B);class H{get[_0xeab78a(0x16c)](){const _0x2f6298=_0xeab78a;return _0x2f6298(0x16c);}get[_0xeab78a(0x179)](){const _0x5d34a3=_0xeab78a;return _0x5d34a3(0x179);}get[_0xeab78a(0x166)](){const _0x2d033e=_0xeab78a;return _0x2d033e(0x166);}get[_0xeab78a(0x164)](){const _0xb6b96e=_0xeab78a;return _0xb6b96e(0x164);}get[_0xeab78a(0x16b)](){const _0x3d8650=_0xeab78a;return _0x3d8650(0x16b);}get['SheetPrintCanceled'](){const _0x49faf9=_0xeab78a;return _0x49faf9(0x191);}}_0x1955ea[_0xeab78a(0x176)](H);class U{get['PrintArea'](){return _0x116613;}get[_0xeab78a(0x171)](){return _0x4147c6;}get[_0xeab78a(0x18b)](){return _0x288608;}get[_0xeab78a(0x18d)](){return _0x1d2fa7;}get[_0xeab78a(0x16e)](){return _0x5e221a;}get['PrintDirection'](){return _0x4107ab;}get[_0xeab78a(0x167)](){return _0xda1160;}get['PrintHeaderFooter'](){return _0x4450a7;}get[_0xeab78a(0x186)](){return _0x4066cd;}}function _0x34ac(){const _0x1bfec7=['fireEvent','cancel','renderConfig','executeCommand','extend','closePrintDialog','1113bsPkPE','BeforeSheetPrintConfirm','beforeCommandExecuted','openPrintDialog','8011544LypjXS','35286rqKVnY','getScreenshot','26437060VlnJpP','syncExecuteCommand','_range','705516ZsrkPF','_injector','getActiveSheet','layoutConfig','PrintHeaderFooterSymbol','Event','updatePrintConfig','getSheetId','6WHuNKb','PrintPaperSize','updateRenderConfig','PrintPaperMargin','getActiveUniverSheet','getUnitId','registerEventHandler','SheetPrintCanceled','onCommandExecuted','_workbook','3802698HOhyBI','1077660SmlWZy','SheetPrintOpen','get','BeforeSheetPrintCanceled','PrintFreeze','_initialize','_worksheet','65616iumtkm','SheetPrintConfirmed','BeforeSheetPrintOpen','24GkBvuE','PrintScale','print','updateLayoutConfig','PrintAlign'];_0x34ac=function(){return _0x1bfec7;};return _0x34ac();}_0x29936d[_0xeab78a(0x176)](U);class M extends _0x1d5955{[_0xeab78a(0x168)](_0x23c685){const _0xc797d7=_0xeab78a,_0x1b9741=_0x23c685[_0xc797d7(0x165)](_0x1b5e9f);this[_0xc797d7(0x190)](this[_0xc797d7(0x187)][_0xc797d7(0x16c)],()=>_0x1b9741[_0xc797d7(0x17a)](_0x2a7869=>{const _0x791323=_0xc797d7;if(_0x2a7869['id']===_0x3822aa['id']){const _0x177aad=this[_0x791323(0x18e)]();if(!_0x177aad)return;const _0x3e5c63={'workbook':_0x177aad,'worksheet':_0x177aad[_0x791323(0x184)]()};if(_0x3e5c63==null)return;if(this[_0x791323(0x172)](this[_0x791323(0x187)]['BeforeSheetPrintOpen'],_0x3e5c63),_0x3e5c63[_0x791323(0x173)])throw new _0x19c724();}})),this[_0xc797d7(0x190)](this['Event'][_0xc797d7(0x179)],()=>_0x1b9741[_0xc797d7(0x17a)](_0x4ffc33=>{const _0x45c1c7=_0xc797d7;if(_0x4ffc33['id']===_0x5dd353['id']){const _0x29d732=_0x23c685['get'](_0x139f3d);if(!this[_0x45c1c7(0x18e)]())return;const _0x4ba6a1={'layoutConfig':_0x29d732['layoutConfig'],'renderConfig':_0x29d732[_0x45c1c7(0x174)]};if(_0x4ba6a1==null)return;if(this[_0x45c1c7(0x172)](this[_0x45c1c7(0x187)][_0x45c1c7(0x179)],_0x4ba6a1),_0x4ba6a1[_0x45c1c7(0x173)])throw new _0x19c724();}})),this[_0xc797d7(0x190)](this[_0xc797d7(0x187)][_0xc797d7(0x166)],()=>_0x1b9741[_0xc797d7(0x17a)](_0x1b6605=>{const _0x280721=_0xc797d7;if(_0x1b6605['id']===_0x2e00d6['id']){const _0xfe0e47=_0x23c685['get'](_0x139f3d);if(!this['getActiveUniverSheet']())return;const _0x3d280c={'layoutConfig':_0xfe0e47[_0x280721(0x185)],'renderConfig':_0xfe0e47['renderConfig']};if(_0x3d280c==null)return;if(this[_0x280721(0x172)](this[_0x280721(0x187)][_0x280721(0x166)],_0x3d280c),_0x3d280c[_0x280721(0x173)])throw new _0x19c724();}})),this['registerEventHandler'](this[_0xc797d7(0x187)][_0xc797d7(0x164)],()=>_0x1b9741[_0xc797d7(0x192)](_0x39edd5=>{const _0x52f0ab=_0xc797d7;if(_0x39edd5['id']===_0x3822aa['id']){const _0x117c79=this[_0x52f0ab(0x18e)]();if(!_0x117c79)return;const _0x4ee6dd={'workbook':_0x117c79,'worksheet':_0x117c79['getActiveSheet']()};if(_0x4ee6dd==null)return;this['fireEvent'](this['Event'][_0x52f0ab(0x164)],_0x4ee6dd);}})),this[_0xc797d7(0x190)](this[_0xc797d7(0x187)][_0xc797d7(0x16b)],()=>_0x1b9741[_0xc797d7(0x192)](_0x44a134=>{const _0x33a6b7=_0xc797d7;if(_0x44a134['id']===_0x5dd353['id']){const _0x268018=_0x23c685[_0x33a6b7(0x165)](_0x139f3d);if(!this[_0x33a6b7(0x18e)]())return;const _0x4f0942={'layoutConfig':_0x268018[_0x33a6b7(0x185)],'renderConfig':_0x268018[_0x33a6b7(0x174)]};if(_0x4f0942==null)return;this[_0x33a6b7(0x172)](this[_0x33a6b7(0x187)][_0x33a6b7(0x16b)],_0x4f0942);}})),this[_0xc797d7(0x190)](this[_0xc797d7(0x187)][_0xc797d7(0x191)],()=>_0x1b9741[_0xc797d7(0x192)](_0x6e77bb=>{const _0x2d177c=_0xc797d7;if(_0x6e77bb['id']===_0x2e00d6['id']){const _0x3a8e0b=_0x23c685['get'](_0x139f3d);if(!this[_0x2d177c(0x18e)]())return;const _0x59a1b1={'layoutConfig':_0x3a8e0b[_0x2d177c(0x185)],'renderConfig':_0x3a8e0b[_0x2d177c(0x174)]};if(_0x59a1b1==null)return;this[_0x2d177c(0x172)](this['Event'][_0x2d177c(0x191)],_0x59a1b1);}}));}}_0x1d5955[_0xeab78a(0x176)](M);
|