@univerjs-pro/sheets-print 0.12.3 → 0.12.4-experimental.20251210-8d33c6e
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
|
-
const
|
|
1
|
+
function _0x4e9e(_0x7f1c63,_0x50a6e1){_0x7f1c63=_0x7f1c63-0x186;const _0xdcc984=_0xdcc9();let _0x4e9e05=_0xdcc984[_0x7f1c63];return _0x4e9e05;}function _0xdcc9(){const _0x379d1c=['點擊以新增文字','工作表名稱','調整至頁面寬度','hh:mm','總計:','793470RuBAWu','MM-DD','垂直對齊','時間C','列印版面配置','自訂頁首/頁尾','重複凍結的欄','108456dSsjli','目前工作表','列與欄標題','HH:mm','關閉並隱藏分頁線','日期D','https://univer.ai/pro','顯示格線','調整至頁面高度','日期E','7WkzQfQ','2437757pLaVnq','571816ZzAQAM','19532ZIrkOR','2158400oaYMeU','格式設定','每頁最大欄數','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','8BULOjT','已選取的儲存格','總頁數','顯示分頁線','頁面方向','B5\x20(6.93\x22\x20x\x209.84\x22)','顯示分頁符號','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','Executive\x20(7.25\x22\x20x\x2010.5\x22)','所有工作表','日期格式','張工作表','自訂义頁邊距','顯示浮水印','列與欄限制','複製為圖片','日期C','調整至頁面大小','每頁最大列數','編輯自訂頁首/頁尾','水平對齊','下一步','活頁簿標題','活頁簿','頁首和頁尾','標準\x20(100%)','4473648rqhGal','紙張大小','日期F','B4\x20(9.84\x22\x20x\x2013.90\x22)','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','Folio\x20(8.5\x22\x20x\x2013\x22)','所有選取的儲存格','YYYY-MM-DD','63nSRgKi','日期A','目前日期','A4\x20(8.27\x22\x20x\x2011.69\x22)','時間B','A5\x20(5.83\x22\x20x\x208.27\x22)'];_0xdcc9=function(){return _0x379d1c;};return _0xdcc9();}const _0x4f07ae=_0x4e9e;(function(_0x59fe2b,_0x27ed55){const _0x44771b=_0x4e9e,_0x3590a9=_0x59fe2b();while(!![]){try{const _0x5d9eb9=parseInt(_0x44771b(0x1a4))/0x1*(-parseInt(_0x44771b(0x1a7))/0x2)+parseInt(_0x44771b(0x19a))/0x3+-parseInt(_0x44771b(0x1a6))/0x4+parseInt(_0x44771b(0x1a8))/0x5+-parseInt(_0x44771b(0x1c6))/0x6+-parseInt(_0x44771b(0x1a5))/0x7*(-parseInt(_0x44771b(0x1ac))/0x8)+parseInt(_0x44771b(0x188))/0x9*(parseInt(_0x44771b(0x193))/0xa);if(_0x5d9eb9===_0x27ed55)break;else _0x3590a9['push'](_0x3590a9['shift']());}catch(_0x1fce25){_0x3590a9['push'](_0x3590a9['shift']());}}}(_0xdcc9,0x6537c));const e={'print':{'header':{'total':_0x4f07ae(0x192),'pages':'頁','cancel':'取消','next':_0x4f07ae(0x1c1),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x4f07ae(0x197),'showGrid':_0x4f07ae(0x1b2),'showGridLabel':_0x4f07ae(0x1af),'closeAndHide':_0x4f07ae(0x19e)},'screenshot':{'title':_0x4f07ae(0x1bb),'success':'圖片已成功複製到剪貼簿!','fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x4f07ae(0x1c7),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x4f07ae(0x1b4),'folio':_0x4f07ae(0x1cb),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x4f07ae(0x18b),'a5':_0x4f07ae(0x18d),'b4':_0x4f07ae(0x1c9),'b5':_0x4f07ae(0x1b1)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4f07ae(0x1b8),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4f07ae(0x19b),'workbook':_0x4f07ae(0x1c3),'currentSelection':_0x4f07ae(0x1ad),'maxRowsEachPage':_0x4f07ae(0x1be),'maxColumnsEachPage':_0x4f07ae(0x1aa),'limit':_0x4f07ae(0x1ba),'allSelection':_0x4f07ae(0x186)},'selection':{'title':'選取範圍','allWorkbook':_0x4f07ae(0x1b5),'workbookUnit':_0x4f07ae(0x1b7)},'scale':{'title':'縮放','normal':_0x4f07ae(0x1c5),'fitWidth':_0x4f07ae(0x190),'fitHeight':_0x4f07ae(0x1a2),'fitPage':_0x4f07ae(0x1bd),'custom':'自訂比例'},'orientation':{'title':_0x4f07ae(0x1b0),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4f07ae(0x1a9),'skeleton':_0x4f07ae(0x1a1),'waterMark':_0x4f07ae(0x1b9)},'align':{'title':'對齊','horizontal':{'title':_0x4f07ae(0x1c0),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x4f07ae(0x195),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4f07ae(0x1c4),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x4f07ae(0x18f),'date':_0x4f07ae(0x18a),'time':'目前時間','customHeadFooter':_0x4f07ae(0x198),'editCustomHeadFooter':_0x4f07ae(0x1bf),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x4f07ae(0x1b6),'dateA':_0x4f07ae(0x187),'dateB':_0x4f07ae(0x194),'dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x4f07ae(0x19d),'timeC':'hh:mm:ss','timeD':_0x4f07ae(0x191),'display':{'page':'頁碼','title':_0x4f07ae(0x1c2),'sheet':_0x4f07ae(0x18f),'dateA':_0x4f07ae(0x189),'dateB':'日期B','dateC':_0x4f07ae(0x1bc),'dateD':_0x4f07ae(0x19f),'dateE':_0x4f07ae(0x1a3),'dateF':_0x4f07ae(0x1c8),'timeA':'時間A','timeB':_0x4f07ae(0x18c),'timeC':_0x4f07ae(0x196),'timeD':'時間D','sheetPage':'工作表頁碼','pageTotal':_0x4f07ae(0x1ae),'sheetPageTotal':'工作表總頁數'},'placeholder':_0x4f07ae(0x18e),'submit':'確定'},'freeze':{'title':_0x4f07ae(0x19c),'desc':_0x4f07ae(0x1ca),'row':'重複凍結的列','column':_0x4f07ae(0x199)},'limit':{'page':_0x4f07ae(0x1b3),'waterMark':_0x4f07ae(0x1ab),'link':_0x4f07ae(0x1a0)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ab414=_0x2ea9;(function(_0x11b610,_0x325263){const _0x219c53=_0x2ea9,_0x220544=_0x11b610();while(!![]){try{const _0x51fdae=parseInt(_0x219c53(0x147))/0x1+-parseInt(_0x219c53(0x11f))/0x2+parseInt(_0x219c53(0x127))/0x3*(-parseInt(_0x219c53(0x13d))/0x4)+parseInt(_0x219c53(0x119))/0x5*(parseInt(_0x219c53(0x11c))/0x6)+-parseInt(_0x219c53(0x11e))/0x7+parseInt(_0x219c53(0x13a))/0x8*(parseInt(_0x219c53(0x118))/0x9)+-parseInt(_0x219c53(0x11b))/0xa;if(_0x51fdae===_0x325263)break;else _0x220544['push'](_0x220544['shift']());}catch(_0x1ef4e2){_0x220544['push'](_0x220544['shift']());}}}(_0x587d,0x4116b));import{ISheetPrintManagerService as _0x55cc38,ConfirmSheetPrintOperation as _0x491129,SheetPrintOpenOperation as _0x20c5b4,CancelSheetPrintOperation as _0x536c54,hasPrintFacadePermission as _0x93b551,SheetScreenShotOperation as _0x53a648,SheetPrintClientService as _0x5e2068,PrintArea as _0x4fe3f7,PrintFreeze as _0x25d0dc,PrintHeaderFooter as _0x1ad87c,PrintHeaderFooterSymbol as _0x59d43d}from'@univerjs-pro/sheets-print';import{ICommandService as _0x4a2961,PaperType as _0x1d565c,CanceledError as _0x3976a4}from'@univerjs/core';import{FWorkbook as _0xe92a50,FRange as _0x2616d8}from'@univerjs/sheets/facade';function _0x2ea9(_0x3dc368,_0x54f057){_0x3dc368=_0x3dc368-0x116;const _0x587d89=_0x587d();let _0x2ea9ca=_0x587d89[_0x3dc368];return _0x2ea9ca;}import{FEventName as _0x42eeb1,FEnum as _0x225c47,FUniver as _0x204474}from'@univerjs/core/facade';import{PrintAlign as _0x3b0374,PrintPaperMargin as _0x3f2488,PrintScale as _0x3d29c5,PrintDirection as _0x512246}from'@univerjs-pro/print';function _0x587d(){const _0x1a6875=['239154jLIZZt','PrintHeaderFooterSymbol','PrintScale','PrintPaperMargin','openPrintDialog','getScreenshot','cancel','executeCommand','111PagozC','SheetPrintOpen','PrintArea','print','getRangeImage','getActiveSheet','PrintHeaderFooter','BeforeSheetPrintCanceled','PrintDirection','updatePrintConfig','syncExecuteCommand','BeforeSheetPrintOpen','renderConfig','SheetPrintConfirmed','_workbook','getUnitId','_range','BeforeSheetPrintConfirm','registerEventHandler','1600WsJnKg','beforeCommandExecuted','onCommandExecuted','25108VBVHau','getActiveUniverSheet','extend','saveScreenshotToClipboard','Event','getSheetId','PrintAlign','_initialize','PrintPaperSize','closePrintDialog','440182cSbeaK','_injector','updateLayoutConfig','get','SheetPrintCanceled','14166XoJnqr','138865jrjIsm','layoutConfig','2423340debwoU','114VdZpxJ','fireEvent','2953342PRuyHk'];_0x587d=function(){return _0x1a6875;};return _0x587d();}class A extends _0xe92a50{[_0x4ab414(0x130)](_0x42fd3d){const _0x50ab9f=_0x4ab414;return this[_0x50ab9f(0x148)][_0x50ab9f(0x116)](_0x55cc38)[_0x50ab9f(0x149)](_0x42fd3d),this;}['updatePrintRenderConfig'](_0x5c2da7){const _0x1e6483=_0x4ab414;return this['_injector'][_0x1e6483(0x116)](_0x55cc38)['updateRenderConfig'](_0x5c2da7),this;}[_0x4ab414(0x12a)](){const _0x8cdbb7=_0x4ab414;return this[_0x8cdbb7(0x148)][_0x8cdbb7(0x116)](_0x4a2961)[_0x8cdbb7(0x131)](_0x491129['id']);}[_0x4ab414(0x123)](){const _0x5c703c=_0x4ab414;return this['_injector']['get'](_0x4a2961)[_0x5c703c(0x131)](_0x20c5b4['id']);}[_0x4ab414(0x146)](){const _0x3ada0a=_0x4ab414;return this[_0x3ada0a(0x148)][_0x3ada0a(0x116)](_0x4a2961)[_0x3ada0a(0x131)](_0x536c54['id']);}async[_0x4ab414(0x140)](){const _0x1b9f48=_0x4ab414;return _0x93b551(this[_0x1b9f48(0x148)])?this[_0x1b9f48(0x148)]['get'](_0x4a2961)[_0x1b9f48(0x126)](_0x53a648['id']):!0x1;}}_0xe92a50[_0x4ab414(0x13f)](A);class B extends _0x2616d8{[_0x4ab414(0x124)](){const _0x23896b=_0x4ab414;return _0x93b551(this[_0x23896b(0x148)])?this[_0x23896b(0x148)][_0x23896b(0x116)](_0x5e2068)[_0x23896b(0x12b)](this[_0x23896b(0x135)][_0x23896b(0x136)](),this['_worksheet'][_0x23896b(0x142)](),this[_0x23896b(0x137)]):!0x1;}}_0x2616d8['extend'](B);class H{get[_0x4ab414(0x132)](){return'BeforeSheetPrintOpen';}get[_0x4ab414(0x138)](){const _0x2ccb75=_0x4ab414;return _0x2ccb75(0x138);}get[_0x4ab414(0x12e)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x1b6067=_0x4ab414;return _0x1b6067(0x128);}get[_0x4ab414(0x134)](){const _0x17c9a=_0x4ab414;return _0x17c9a(0x134);}get[_0x4ab414(0x117)](){const _0x5ce09a=_0x4ab414;return _0x5ce09a(0x117);}}_0x42eeb1[_0x4ab414(0x13f)](H);class U{get[_0x4ab414(0x129)](){return _0x4fe3f7;}get[_0x4ab414(0x143)](){return _0x3b0374;}get[_0x4ab414(0x145)](){return _0x1d565c;}get[_0x4ab414(0x122)](){return _0x3f2488;}get[_0x4ab414(0x121)](){return _0x3d29c5;}get[_0x4ab414(0x12f)](){return _0x512246;}get['PrintFreeze'](){return _0x25d0dc;}get[_0x4ab414(0x12d)](){return _0x1ad87c;}get[_0x4ab414(0x120)](){return _0x59d43d;}}_0x225c47[_0x4ab414(0x13f)](U);class M extends _0x204474{[_0x4ab414(0x144)](_0x4ff2b2){const _0x16da43=_0x4ab414,_0x5d309c=_0x4ff2b2[_0x16da43(0x116)](_0x4a2961);this['registerEventHandler'](this[_0x16da43(0x141)][_0x16da43(0x132)],()=>_0x5d309c['beforeCommandExecuted'](_0x42b79b=>{const _0x13059e=_0x16da43;if(_0x42b79b['id']===_0x20c5b4['id']){const _0x2935da=this[_0x13059e(0x13e)]();if(!_0x2935da)return;const _0x544b1d={'workbook':_0x2935da,'worksheet':_0x2935da[_0x13059e(0x12c)]()};if(_0x544b1d==null)return;if(this[_0x13059e(0x11d)](this['Event'][_0x13059e(0x132)],_0x544b1d),_0x544b1d[_0x13059e(0x125)])throw new _0x3976a4();}})),this[_0x16da43(0x139)](this[_0x16da43(0x141)]['BeforeSheetPrintConfirm'],()=>_0x5d309c[_0x16da43(0x13b)](_0x5b4471=>{const _0xdf9501=_0x16da43;if(_0x5b4471['id']===_0x491129['id']){const _0x4db16b=_0x4ff2b2[_0xdf9501(0x116)](_0x55cc38);if(!this[_0xdf9501(0x13e)]())return;const _0x52e9c1={'layoutConfig':_0x4db16b[_0xdf9501(0x11a)],'renderConfig':_0x4db16b[_0xdf9501(0x133)]};if(_0x52e9c1==null)return;if(this[_0xdf9501(0x11d)](this[_0xdf9501(0x141)]['BeforeSheetPrintConfirm'],_0x52e9c1),_0x52e9c1[_0xdf9501(0x125)])throw new _0x3976a4();}})),this[_0x16da43(0x139)](this['Event'][_0x16da43(0x12e)],()=>_0x5d309c[_0x16da43(0x13b)](_0x4966bd=>{const _0x45d8dc=_0x16da43;if(_0x4966bd['id']===_0x536c54['id']){const _0x424cf2=_0x4ff2b2[_0x45d8dc(0x116)](_0x55cc38);if(!this[_0x45d8dc(0x13e)]())return;const _0x4ab260={'layoutConfig':_0x424cf2[_0x45d8dc(0x11a)],'renderConfig':_0x424cf2[_0x45d8dc(0x133)]};if(_0x4ab260==null)return;if(this[_0x45d8dc(0x11d)](this['Event'][_0x45d8dc(0x12e)],_0x4ab260),_0x4ab260['cancel'])throw new _0x3976a4();}})),this['registerEventHandler'](this[_0x16da43(0x141)][_0x16da43(0x128)],()=>_0x5d309c[_0x16da43(0x13c)](_0x559baf=>{const _0x5434a3=_0x16da43;if(_0x559baf['id']===_0x20c5b4['id']){const _0x293556=this['getActiveUniverSheet']();if(!_0x293556)return;const _0x2ba50d={'workbook':_0x293556,'worksheet':_0x293556[_0x5434a3(0x12c)]()};if(_0x2ba50d==null)return;this[_0x5434a3(0x11d)](this[_0x5434a3(0x141)]['SheetPrintOpen'],_0x2ba50d);}})),this[_0x16da43(0x139)](this[_0x16da43(0x141)][_0x16da43(0x134)],()=>_0x5d309c[_0x16da43(0x13c)](_0x21caf1=>{const _0x2d4486=_0x16da43;if(_0x21caf1['id']===_0x491129['id']){const _0x3597ec=_0x4ff2b2[_0x2d4486(0x116)](_0x55cc38);if(!this[_0x2d4486(0x13e)]())return;const _0x2db743={'layoutConfig':_0x3597ec[_0x2d4486(0x11a)],'renderConfig':_0x3597ec[_0x2d4486(0x133)]};if(_0x2db743==null)return;this[_0x2d4486(0x11d)](this['Event'][_0x2d4486(0x134)],_0x2db743);}})),this['registerEventHandler'](this[_0x16da43(0x141)][_0x16da43(0x117)],()=>_0x5d309c['onCommandExecuted'](_0x3a2fa6=>{const _0x425cfd=_0x16da43;if(_0x3a2fa6['id']===_0x536c54['id']){const _0x35431f=_0x4ff2b2[_0x425cfd(0x116)](_0x55cc38);if(!this[_0x425cfd(0x13e)]())return;const _0x4913bc={'layoutConfig':_0x35431f[_0x425cfd(0x11a)],'renderConfig':_0x35431f[_0x425cfd(0x133)]};if(_0x4913bc==null)return;this[_0x425cfd(0x11d)](this[_0x425cfd(0x141)][_0x425cfd(0x117)],_0x4913bc);}}));}}_0x204474[_0x4ab414(0x13f)](M);
|