@univerjs-pro/sheets-print 0.12.4-insiders.20251211-c28f914 → 0.12.4-insiders.20251213-692494c
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 +42 -42
- 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/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0xdcb0(_0x396f22,_0x557f88){_0x396f22=_0x396f22-0xbc;const _0x243153=_0x2431();let _0xdcb0f5=_0x243153[_0x396f22];return _0xdcb0f5;}const _0x1780e6=_0xdcb0;(function(_0x3b2bd9,_0x2de2aa){const _0x2d8ce8=_0xdcb0,_0x7164ba=_0x3b2bd9();while(!![]){try{const _0x248e94=parseInt(_0x2d8ce8(0xce))/0x1+-parseInt(_0x2d8ce8(0xeb))/0x2+-parseInt(_0x2d8ce8(0xf9))/0x3+-parseInt(_0x2d8ce8(0xd4))/0x4+parseInt(_0x2d8ce8(0xf0))/0x5+-parseInt(_0x2d8ce8(0xe5))/0x6*(-parseInt(_0x2d8ce8(0xe8))/0x7)+parseInt(_0x2d8ce8(0xd7))/0x8;if(_0x248e94===_0x2de2aa)break;else _0x7164ba['push'](_0x7164ba['shift']());}catch(_0x44dc5e){_0x7164ba['push'](_0x7164ba['shift']());}}}(_0x2431,0x36904));const e={'print':{'header':{'total':_0x1780e6(0xc5),'pages':'頁','cancel':'取消','next':_0x1780e6(0xe7),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x1780e6(0xd9),'showGridLabel':_0x1780e6(0xbe),'closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x1780e6(0xcc),'success':_0x1780e6(0xf2),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x1780e6(0xbc),'letter':_0x1780e6(0xe3),'tabloid':_0x1780e6(0xdd),'legal':_0x1780e6(0xd1),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x1780e6(0xf4),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':_0x1780e6(0xc0),'a4':_0x1780e6(0xbd),'a5':_0x1780e6(0xe0),'b4':_0x1780e6(0xe9),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x1780e6(0xcd),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x1780e6(0xee),'workbook':_0x1780e6(0xfa),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x1780e6(0xef),'maxColumnsEachPage':_0x1780e6(0xd0),'limit':'列與欄限制','allSelection':_0x1780e6(0xed)},'selection':{'title':_0x1780e6(0xf6),'allWorkbook':_0x1780e6(0xf8),'workbookUnit':_0x1780e6(0xf1)},'scale':{'title':'縮放','normal':_0x1780e6(0xfb),'fitWidth':_0x1780e6(0xdc),'fitHeight':_0x1780e6(0xea),'fitPage':_0x1780e6(0xd8),'custom':'自訂比例'},'orientation':{'title':_0x1780e6(0xd3),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x1780e6(0xd5),'skeleton':_0x1780e6(0xd2),'waterMark':_0x1780e6(0xc7)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x1780e6(0xec),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x1780e6(0xda),'page':'頁碼','workbook':'活頁簿標題','sheet':'工作表名稱','date':'目前日期','time':_0x1780e6(0xdf),'customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x1780e6(0xfc),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x1780e6(0xe6),'dateB':_0x1780e6(0xc3),'dateC':'L','dateD':_0x1780e6(0xcf),'timeA':'HH:mm:ss','timeB':_0x1780e6(0xbf),'timeC':'hh:mm:ss','timeD':'hh:mm','display':{'page':'頁碼','title':_0x1780e6(0xc4),'sheet':'工作表名稱','dateA':_0x1780e6(0xde),'dateB':'日期B','dateC':_0x1780e6(0xe1),'dateD':'日期D','dateE':_0x1780e6(0xcb),'dateF':'日期F','timeA':_0x1780e6(0xc8),'timeB':_0x1780e6(0xc6),'timeC':'時間C','timeD':'時間D','sheetPage':_0x1780e6(0xf5),'pageTotal':_0x1780e6(0xf7),'sheetPageTotal':_0x1780e6(0xf3)},'placeholder':_0x1780e6(0xca),'submit':'確定'},'freeze':{'title':_0x1780e6(0xd6),'desc':_0x1780e6(0xdb),'row':_0x1780e6(0xe2),'column':_0x1780e6(0xc9)},'limit':{'page':_0x1780e6(0xc2),'waterMark':'Univer\x20免費版本,由\x20univer.ai\x20提供支援。','link':_0x1780e6(0xe4)}}};function _0x2431(){const _0x335882=['708912iqLSvT','格式設定','列與欄標題','2499392DwJsHD','調整至頁面大小','顯示分頁符號','頁首和頁尾','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','調整至頁面寬度','Tabloid\x20(11\x22\x20x\x2017\x22)','日期A','目前時間','A5\x20(5.83\x22\x20x\x208.27\x22)','日期C','重複凍結的列','Letter\x20(8.5\x22\x20x\x2011\x22)','https://univer.ai/pro','1836QXiZyN','YYYY-MM-DD','下一步','6489YXgzWS','B4\x20(9.84\x22\x20x\x2013.90\x22)','調整至頁面高度','561324IlNbwU','垂直對齊','所有選取的儲存格','目前工作表','每頁最大列數','394840IUtSVN','張工作表','圖片已成功複製到剪貼簿!','工作表總頁數','Executive\x20(7.25\x22\x20x\x2010.5\x22)','工作表頁碼','選取範圍','總頁數','所有工作表','62694zqVxAT','活頁簿','標準\x20(100%)','編輯自訂頁首/頁尾','紙張大小','A4\x20(8.27\x22\x20x\x2011.69\x22)','顯示分頁線','HH:mm','A3\x20(11.69\x22\x20x\x2016.54\x22)','exports','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','MM-DD','活頁簿標題','總計:','時間B','顯示浮水印','時間A','重複凍結的欄','點擊以新增文字','日期E','複製為圖片','自訂义頁邊距','27226LexgTa','MM/DD','每頁最大欄數','Legal\x20(8.5\x22\x20x\x2014\x22)','顯示格線','頁面方向'];_0x2431=function(){return _0x335882;};return _0x2431();}module[_0x1780e6(0xc1)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x46e0d7=_0x77db;(function(_0x6f8b6a,_0x350950){const _0x4cc193=_0x77db,_0x1a8138=_0x6f8b6a();while(!![]){try{const _0x37b7da=-parseInt(_0x4cc193(0xdb))/0x1+-parseInt(_0x4cc193(0xdd))/0x2+parseInt(_0x4cc193(0xe7))/0x3+-parseInt(_0x4cc193(0xfc))/0x4*(parseInt(_0x4cc193(0xd1))/0x5)+-parseInt(_0x4cc193(0xee))/0x6+-parseInt(_0x4cc193(0xcf))/0x7*(-parseInt(_0x4cc193(0xd4))/0x8)+-parseInt(_0x4cc193(0xea))/0x9*(-parseInt(_0x4cc193(0xec))/0xa);if(_0x37b7da===_0x350950)break;else _0x1a8138['push'](_0x1a8138['shift']());}catch(_0x1b8b80){_0x1a8138['push'](_0x1a8138['shift']());}}}(_0x2a56,0xd111e));import{ISheetPrintManagerService as _0x4a50cd,ConfirmSheetPrintOperation as _0x4b31c9,SheetPrintOpenOperation as _0x2d5d5a,CancelSheetPrintOperation as _0x6eeb05,hasPrintFacadePermission as _0x4d56fc,SheetScreenShotOperation as _0x38042d,SheetPrintClientService as _0x2957f6,PrintArea as _0xaa3b6a,PrintFreeze as _0x19dee4,PrintHeaderFooter as _0x22cb04,PrintHeaderFooterSymbol as _0x5bc3f7}from'@univerjs-pro/sheets-print';import{ICommandService as _0xf448bc,PaperType as _0x4d75da,CanceledError as _0x3568ac}from'@univerjs/core';import{FWorkbook as _0x3067ff,FRange as _0x4f1529}from'@univerjs/sheets/facade';import{FEventName as _0x2dee6d,FEnum as _0x3c984c,FUniver as _0x283ce6}from'@univerjs/core/facade';import{PrintAlign as _0x51df40,PrintPaperMargin as _0x31a40c,PrintScale as _0x3d05d1,PrintDirection as _0x5d2d42}from'@univerjs-pro/print';class A extends _0x3067ff{['updatePrintConfig'](_0x5775ca){const _0x4796c0=_0x77db;return this['_injector'][_0x4796c0(0xd9)](_0x4a50cd)[_0x4796c0(0xd6)](_0x5775ca),this;}['updatePrintRenderConfig'](_0x51a5b4){const _0x14f9e0=_0x77db;return this[_0x14f9e0(0xf2)][_0x14f9e0(0xd9)](_0x4a50cd)[_0x14f9e0(0xe6)](_0x51a5b4),this;}[_0x46e0d7(0xf7)](){const _0x2954f0=_0x46e0d7;return this[_0x2954f0(0xf2)]['get'](_0xf448bc)[_0x2954f0(0xf9)](_0x4b31c9['id']);}['openPrintDialog'](){const _0x88917b=_0x46e0d7;return this['_injector']['get'](_0xf448bc)[_0x88917b(0xf9)](_0x2d5d5a['id']);}[_0x46e0d7(0xd7)](){const _0x57d6fb=_0x46e0d7;return this[_0x57d6fb(0xf2)][_0x57d6fb(0xd9)](_0xf448bc)[_0x57d6fb(0xf9)](_0x6eeb05['id']);}async[_0x46e0d7(0xe2)](){const _0x23fed4=_0x46e0d7;return _0x4d56fc(this[_0x23fed4(0xf2)])?this['_injector'][_0x23fed4(0xd9)](_0xf448bc)[_0x23fed4(0xce)](_0x38042d['id']):!0x1;}}_0x3067ff[_0x46e0d7(0xf4)](A);class B extends _0x4f1529{[_0x46e0d7(0xd5)](){const _0x3dcb34=_0x46e0d7;return _0x4d56fc(this[_0x3dcb34(0xf2)])?this[_0x3dcb34(0xf2)][_0x3dcb34(0xd9)](_0x2957f6)[_0x3dcb34(0xd3)](this[_0x3dcb34(0xf5)]['getUnitId'](),this[_0x3dcb34(0xd8)][_0x3dcb34(0xda)](),this[_0x3dcb34(0xd2)]):!0x1;}}_0x4f1529[_0x46e0d7(0xf4)](B);function _0x77db(_0x3759a3,_0x120037){_0x3759a3=_0x3759a3-0xce;const _0x2a56e7=_0x2a56();let _0x77dbeb=_0x2a56e7[_0x3759a3];return _0x77dbeb;}class H{get[_0x46e0d7(0xfd)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x34dfe1=_0x46e0d7;return _0x34dfe1(0xe4);}get[_0x46e0d7(0xfa)](){const _0x187fa8=_0x46e0d7;return _0x187fa8(0xfa);}get['SheetPrintOpen'](){const _0x30e296=_0x46e0d7;return _0x30e296(0xe8);}get[_0x46e0d7(0xe1)](){return'SheetPrintConfirmed';}get[_0x46e0d7(0xef)](){const _0x4c66ea=_0x46e0d7;return _0x4c66ea(0xef);}}function _0x2a56(){const _0x2aa822=['PrintScale','157940aBQOxf','_range','getRangeImage','3304iIYBaB','getScreenshot','updateLayoutConfig','closePrintDialog','_worksheet','get','getSheetId','557888rYiDvR','onCommandExecuted','1058092BViaaY','getActiveSheet','beforeCommandExecuted','getActiveUniverSheet','SheetPrintConfirmed','saveScreenshotToClipboard','registerEventHandler','BeforeSheetPrintConfirm','_initialize','updateRenderConfig','4359651fdpwmh','SheetPrintOpen','PrintFreeze','2943dEgSlR','renderConfig','61010GtxXrr','cancel','9742614gAYryV','SheetPrintCanceled','layoutConfig','fireEvent','_injector','PrintArea','extend','_workbook','PrintHeaderFooterSymbol','print','Event','syncExecuteCommand','BeforeSheetPrintCanceled','PrintPaperSize','44ZGhKXE','BeforeSheetPrintOpen','PrintHeaderFooter','executeCommand','7903bepxTr'];_0x2a56=function(){return _0x2aa822;};return _0x2a56();}_0x2dee6d[_0x46e0d7(0xf4)](H);class U{get[_0x46e0d7(0xf3)](){return _0xaa3b6a;}get['PrintAlign'](){return _0x51df40;}get[_0x46e0d7(0xfb)](){return _0x4d75da;}get['PrintPaperMargin'](){return _0x31a40c;}get[_0x46e0d7(0xd0)](){return _0x3d05d1;}get['PrintDirection'](){return _0x5d2d42;}get[_0x46e0d7(0xe9)](){return _0x19dee4;}get[_0x46e0d7(0xfe)](){return _0x22cb04;}get[_0x46e0d7(0xf6)](){return _0x5bc3f7;}}_0x3c984c[_0x46e0d7(0xf4)](U);class M extends _0x283ce6{[_0x46e0d7(0xe5)](_0x54c809){const _0xaa45a6=_0x46e0d7,_0x42b3a7=_0x54c809['get'](_0xf448bc);this[_0xaa45a6(0xe3)](this[_0xaa45a6(0xf8)][_0xaa45a6(0xfd)],()=>_0x42b3a7['beforeCommandExecuted'](_0x585d43=>{const _0x4f70e6=_0xaa45a6;if(_0x585d43['id']===_0x2d5d5a['id']){const _0x5a9ca8=this[_0x4f70e6(0xe0)]();if(!_0x5a9ca8)return;const _0x2de708={'workbook':_0x5a9ca8,'worksheet':_0x5a9ca8[_0x4f70e6(0xde)]()};if(_0x2de708==null)return;if(this[_0x4f70e6(0xf1)](this[_0x4f70e6(0xf8)][_0x4f70e6(0xfd)],_0x2de708),_0x2de708['cancel'])throw new _0x3568ac();}})),this['registerEventHandler'](this[_0xaa45a6(0xf8)]['BeforeSheetPrintConfirm'],()=>_0x42b3a7[_0xaa45a6(0xdf)](_0x5745d1=>{const _0x49cebb=_0xaa45a6;if(_0x5745d1['id']===_0x4b31c9['id']){const _0x3b524f=_0x54c809[_0x49cebb(0xd9)](_0x4a50cd);if(!this[_0x49cebb(0xe0)]())return;const _0x4ab097={'layoutConfig':_0x3b524f[_0x49cebb(0xf0)],'renderConfig':_0x3b524f[_0x49cebb(0xeb)]};if(_0x4ab097==null)return;if(this[_0x49cebb(0xf1)](this['Event'][_0x49cebb(0xe4)],_0x4ab097),_0x4ab097['cancel'])throw new _0x3568ac();}})),this[_0xaa45a6(0xe3)](this[_0xaa45a6(0xf8)][_0xaa45a6(0xfa)],()=>_0x42b3a7[_0xaa45a6(0xdf)](_0x52a349=>{const _0x4953ec=_0xaa45a6;if(_0x52a349['id']===_0x6eeb05['id']){const _0x8d27b5=_0x54c809[_0x4953ec(0xd9)](_0x4a50cd);if(!this[_0x4953ec(0xe0)]())return;const _0x7d6200={'layoutConfig':_0x8d27b5['layoutConfig'],'renderConfig':_0x8d27b5[_0x4953ec(0xeb)]};if(_0x7d6200==null)return;if(this[_0x4953ec(0xf1)](this['Event'][_0x4953ec(0xfa)],_0x7d6200),_0x7d6200[_0x4953ec(0xed)])throw new _0x3568ac();}})),this[_0xaa45a6(0xe3)](this[_0xaa45a6(0xf8)][_0xaa45a6(0xe8)],()=>_0x42b3a7['onCommandExecuted'](_0x2f3df0=>{const _0x368216=_0xaa45a6;if(_0x2f3df0['id']===_0x2d5d5a['id']){const _0x3c06bb=this[_0x368216(0xe0)]();if(!_0x3c06bb)return;const _0x248f27={'workbook':_0x3c06bb,'worksheet':_0x3c06bb[_0x368216(0xde)]()};if(_0x248f27==null)return;this[_0x368216(0xf1)](this[_0x368216(0xf8)][_0x368216(0xe8)],_0x248f27);}})),this[_0xaa45a6(0xe3)](this[_0xaa45a6(0xf8)][_0xaa45a6(0xe1)],()=>_0x42b3a7[_0xaa45a6(0xdc)](_0x1b6d86=>{const _0xd15465=_0xaa45a6;if(_0x1b6d86['id']===_0x4b31c9['id']){const _0x5e0065=_0x54c809[_0xd15465(0xd9)](_0x4a50cd);if(!this['getActiveUniverSheet']())return;const _0x16c044={'layoutConfig':_0x5e0065[_0xd15465(0xf0)],'renderConfig':_0x5e0065['renderConfig']};if(_0x16c044==null)return;this[_0xd15465(0xf1)](this[_0xd15465(0xf8)][_0xd15465(0xe1)],_0x16c044);}})),this[_0xaa45a6(0xe3)](this[_0xaa45a6(0xf8)]['SheetPrintCanceled'],()=>_0x42b3a7[_0xaa45a6(0xdc)](_0x325d42=>{const _0x3cac0a=_0xaa45a6;if(_0x325d42['id']===_0x6eeb05['id']){const _0x2f8ee4=_0x54c809[_0x3cac0a(0xd9)](_0x4a50cd);if(!this['getActiveUniverSheet']())return;const _0x4fb5b4={'layoutConfig':_0x2f8ee4[_0x3cac0a(0xf0)],'renderConfig':_0x2f8ee4[_0x3cac0a(0xeb)]};if(_0x4fb5b4==null)return;this['fireEvent'](this[_0x3cac0a(0xf8)][_0x3cac0a(0xef)],_0x4fb5b4);}}));}}_0x283ce6['extend'](M);
|