@univerjs-pro/sheets-print 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-8c9a6bf
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 +14 -14
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2f14de=_0x4838;function _0x4dff(){const _0x1d2490=['複製為圖片','點擊以新增文字','調整至頁面高度','Tabloid\x20(11\x22\x20x\x2017\x22)','7XeDimR','Folio\x20(8.5\x22\x20x\x2013\x22)','列與欄標題','總計:','A5\x20(5.83\x22\x20x\x208.27\x22)','頁面方向','時間A','總頁數','4697800OcQNjJ','5066721NRZXpY','hh:mm','B4\x20(9.84\x22\x20x\x2013.90\x22)','重複凍結的列','關閉並隱藏分頁線','格式設定','2511606QLxlHI','重複凍結的欄','hh:mm:ss','垂直對齊','YYYY-MM-DD','每頁最大欄數','自訂頁首/頁尾','日期E','日期B','日期A','頁首和頁尾','Statement\x20(5.5\x22\x20x\x208.5\x22)','下一步','exports','時間C','工作表總頁數','https://univer.ai/pro','日期D','列印中,請勿關閉頁面','目前工作表','自訂比例','A4\x20(8.27\x22\x20x\x2011.69\x22)','B5\x20(6.93\x22\x20x\x209.84\x22)','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','Letter\x20(8.5\x22\x20x\x2011\x22)','張工作表','21264030awMuzd','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','所有選取的儲存格','3947105FSfcFJ','水平對齊','HH:mm:ss','MM-DD','圖片複製到剪貼簿失敗!','HH:mm','201501eQLRIx','已選取的儲存格','顯示浮水印','列與欄限制','活頁簿標題','日期F','8zXHQIC','調整至頁面大小','工作表名稱','目前日期','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','標準\x20(100%)','顯示格線','日期格式','34YIwOPv','Legal\x20(8.5\x22\x20x\x2014\x22)','工作表頁碼','每頁最大列數','A3\x20(11.69\x22\x20x\x2016.54\x22)','圖片已成功複製到剪貼簿!','784203uQFEjW'];_0x4dff=function(){return _0x1d2490;};return _0x4dff();}(function(_0xa07103,_0x3d1107){const _0x4bd081=_0x4838,_0x3e56f3=_0xa07103();while(!![]){try{const _0x11dd68=-parseInt(_0x4bd081(0x1a9))/0x1+parseInt(_0x4bd081(0x1ee))/0x2*(parseInt(_0x4bd081(0x1e0))/0x3)+-parseInt(_0x4bd081(0x1b6))/0x4+-parseInt(_0x4bd081(0x1da))/0x5+-parseInt(_0x4bd081(0x1bd))/0x6*(parseInt(_0x4bd081(0x1ae))/0x7)+-parseInt(_0x4bd081(0x1e6))/0x8*(-parseInt(_0x4bd081(0x1b7))/0x9)+parseInt(_0x4bd081(0x1d7))/0xa;if(_0x11dd68===_0x3d1107)break;else _0x3e56f3['push'](_0x3e56f3['shift']());}catch(_0x1e9fe7){_0x3e56f3['push'](_0x3e56f3['shift']());}}}(_0x4dff,0xa23d8));function _0x4838(_0x140138,_0x1bea90){_0x140138=_0x140138-0x1a5;const _0x4dffd8=_0x4dff();let _0x483834=_0x4dffd8[_0x140138];return _0x483834;}const e={'print':{'header':{'total':_0x2f14de(0x1b1),'pages':'頁','cancel':'取消','next':_0x2f14de(0x1c9),'printing':_0x2f14de(0x1cf)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':'顯示分頁符號','showGridLabel':'顯示分頁線','closeAndHide':_0x2f14de(0x1bb)},'screenshot':{'title':_0x2f14de(0x1aa),'success':_0x2f14de(0x1a8),'fail':_0x2f14de(0x1de)},'size':{'title':'紙張大小','letter':_0x2f14de(0x1d5),'tabloid':_0x2f14de(0x1ad),'legal':_0x2f14de(0x1ef),'statement':_0x2f14de(0x1c8),'executive':'Executive\x20(7.25\x22\x20x\x2010.5\x22)','folio':_0x2f14de(0x1af),'a3':_0x2f14de(0x1a7),'a4':_0x2f14de(0x1d2),'a5':_0x2f14de(0x1b2),'b4':_0x2f14de(0x1b9),'b5':_0x2f14de(0x1d3)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x2f14de(0x1d0),'workbook':'活頁簿','currentSelection':_0x2f14de(0x1e1),'maxRowsEachPage':_0x2f14de(0x1a6),'maxColumnsEachPage':_0x2f14de(0x1c2),'limit':_0x2f14de(0x1e3),'allSelection':_0x2f14de(0x1d9)},'selection':{'title':'選取範圍','allWorkbook':'所有工作表','workbookUnit':_0x2f14de(0x1d6)},'scale':{'title':'縮放','normal':_0x2f14de(0x1eb),'fitWidth':'調整至頁面寬度','fitHeight':_0x2f14de(0x1ac),'fitPage':_0x2f14de(0x1e7),'custom':_0x2f14de(0x1d1)},'orientation':{'title':_0x2f14de(0x1b3),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x2f14de(0x1bc),'skeleton':_0x2f14de(0x1ec),'waterMark':_0x2f14de(0x1e2)},'align':{'title':'對齊','horizontal':{'title':_0x2f14de(0x1db),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x2f14de(0x1c0),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x2f14de(0x1c7),'page':'頁碼','workbook':_0x2f14de(0x1e4),'sheet':_0x2f14de(0x1e8),'date':_0x2f14de(0x1e9),'time':'目前時間','customHeadFooter':_0x2f14de(0x1c3),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x2f14de(0x1ed),'dateA':_0x2f14de(0x1c1),'dateB':_0x2f14de(0x1dd),'dateC':'L','dateD':'MM/DD','timeA':_0x2f14de(0x1dc),'timeB':_0x2f14de(0x1df),'timeC':_0x2f14de(0x1bf),'timeD':_0x2f14de(0x1b8),'display':{'page':'頁碼','title':_0x2f14de(0x1e4),'sheet':_0x2f14de(0x1e8),'dateA':_0x2f14de(0x1c6),'dateB':_0x2f14de(0x1c5),'dateC':'日期C','dateD':_0x2f14de(0x1ce),'dateE':_0x2f14de(0x1c4),'dateF':_0x2f14de(0x1e5),'timeA':_0x2f14de(0x1b4),'timeB':'時間B','timeC':_0x2f14de(0x1cb),'timeD':'時間D','sheetPage':_0x2f14de(0x1a5),'pageTotal':_0x2f14de(0x1b5),'sheetPageTotal':_0x2f14de(0x1cc)},'placeholder':_0x2f14de(0x1ab),'submit':'確定'},'freeze':{'title':_0x2f14de(0x1b0),'desc':_0x2f14de(0x1d4),'row':_0x2f14de(0x1ba),'column':_0x2f14de(0x1be)},'limit':{'page':_0x2f14de(0x1ea),'waterMark':_0x2f14de(0x1d8),'link':_0x2f14de(0x1cd)}}};module[_0x2f14de(0x1ca)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e565c=_0x1375;(function(_0x301219,_0x3522a3){const _0x3f3eda=_0x1375,_0x15e515=_0x301219();while(!![]){try{const _0x5b3b5f=-parseInt(_0x3f3eda(0x149))/0x1+-parseInt(_0x3f3eda(0x15b))/0x2*(parseInt(_0x3f3eda(0x158))/0x3)+-parseInt(_0x3f3eda(0x163))/0x4+parseInt(_0x3f3eda(0x166))/0x5*(-parseInt(_0x3f3eda(0x14b))/0x6)+-parseInt(_0x3f3eda(0x167))/0x7+-parseInt(_0x3f3eda(0x159))/0x8+parseInt(_0x3f3eda(0x14f))/0x9*(parseInt(_0x3f3eda(0x13c))/0xa);if(_0x5b3b5f===_0x3522a3)break;else _0x15e515['push'](_0x15e515['shift']());}catch(_0x3ed12c){_0x15e515['push'](_0x15e515['shift']());}}}(_0x498d,0xd2e8b));import{ISheetPrintManagerService as _0xb624f9,ConfirmSheetPrintOperation as _0x140a09,SheetPrintOpenOperation as _0x2aeae6,CancelSheetPrintOperation as _0xeeca50,hasPrintFacadePermission as _0x5b3126,SheetScreenShotOperation as _0x3ede54,SheetPrintClientService as _0x1ccefe,PrintArea as _0x3bb4dc,PrintFreeze as _0x277630,PrintHeaderFooter as _0x2fc115,PrintHeaderFooterSymbol as _0x23a5ab}from'@univerjs-pro/sheets-print';import{ICommandService as _0x43945b,PaperType as _0x3a958a,CanceledError as _0x27b67f}from'@univerjs/core';import{FWorkbook as _0x864d63,FRange as _0x38d8c7}from'@univerjs/sheets/facade';import{FEventName as _0x2d8186,FEnum as _0x4d992f,FUniver as _0x3bc6b2}from'@univerjs/core/facade';import{PrintAlign as _0x3fe5fb,PrintPaperMargin as _0x10414c,PrintScale as _0x1b72c5,PrintDirection as _0x54372f}from'@univerjs-pro/print';class A extends _0x864d63{[_0x4e565c(0x13e)](_0x3f63c8){const _0x2a6db0=_0x4e565c;return this[_0x2a6db0(0x169)][_0x2a6db0(0x141)](_0xb624f9)[_0x2a6db0(0x150)](_0x3f63c8),this;}['updatePrintRenderConfig'](_0x59396a){const _0x5d0d26=_0x4e565c;return this[_0x5d0d26(0x169)][_0x5d0d26(0x141)](_0xb624f9)[_0x5d0d26(0x164)](_0x59396a),this;}[_0x4e565c(0x16b)](){const _0x15787e=_0x4e565c;return this['_injector']['get'](_0x43945b)[_0x15787e(0x157)](_0x140a09['id']);}[_0x4e565c(0x168)](){const _0x508931=_0x4e565c;return this[_0x508931(0x169)][_0x508931(0x141)](_0x43945b)[_0x508931(0x157)](_0x2aeae6['id']);}[_0x4e565c(0x15f)](){const _0x3e5a72=_0x4e565c;return this['_injector']['get'](_0x43945b)[_0x3e5a72(0x157)](_0xeeca50['id']);}async[_0x4e565c(0x156)](){const _0x749cf5=_0x4e565c;return _0x5b3126(this[_0x749cf5(0x169)])?this['_injector']['get'](_0x43945b)[_0x749cf5(0x148)](_0x3ede54['id']):!0x1;}}_0x864d63['extend'](A);function _0x498d(){const _0x39c67d=['beforeCommandExecuted','registerEventHandler','layoutConfig','getUnitId','SheetPrintCanceled','saveScreenshotToClipboard','syncExecuteCommand','3mHbYYR','11560632mWkJcq','SheetPrintConfirmed','2854966jIPSbM','getActiveSheet','fireEvent','getRangeImage','closePrintDialog','PrintScale','PrintArea','BeforeSheetPrintConfirm','1562912XWpInY','updateRenderConfig','getScreenshot','2845GsQCXN','1738282XQllBw','openPrintDialog','_injector','PrintFreeze','print','PrintPaperMargin','BeforeSheetPrintCanceled','10GXVNnh','_range','updatePrintConfig','BeforeSheetPrintOpen','onCommandExecuted','get','PrintDirection','cancel','SheetPrintOpen','renderConfig','PrintAlign','extend','executeCommand','833236dUaImz','PrintHeaderFooter','9012yYJqtN','getActiveUniverSheet','PrintHeaderFooterSymbol','Event','54570357UGaDNv','updateLayoutConfig'];_0x498d=function(){return _0x39c67d;};return _0x498d();}class B extends _0x38d8c7{[_0x4e565c(0x165)](){const _0x2e75cd=_0x4e565c;return _0x5b3126(this[_0x2e75cd(0x169)])?this[_0x2e75cd(0x169)][_0x2e75cd(0x141)](_0x1ccefe)[_0x2e75cd(0x15e)](this['_workbook'][_0x2e75cd(0x154)](),this['_worksheet']['getSheetId'](),this[_0x2e75cd(0x13d)]):!0x1;}}_0x38d8c7[_0x4e565c(0x147)](B);class H{get[_0x4e565c(0x13f)](){return'BeforeSheetPrintOpen';}get[_0x4e565c(0x162)](){const _0x2efa9f=_0x4e565c;return _0x2efa9f(0x162);}get['BeforeSheetPrintCanceled'](){const _0x1db744=_0x4e565c;return _0x1db744(0x13b);}get[_0x4e565c(0x144)](){const _0x20a8fa=_0x4e565c;return _0x20a8fa(0x144);}get[_0x4e565c(0x15a)](){const _0x1935c3=_0x4e565c;return _0x1935c3(0x15a);}get[_0x4e565c(0x155)](){return'SheetPrintCanceled';}}_0x2d8186[_0x4e565c(0x147)](H);function _0x1375(_0x174d29,_0x9d0b5){_0x174d29=_0x174d29-0x13a;const _0x498d63=_0x498d();let _0x137580=_0x498d63[_0x174d29];return _0x137580;}class U{get[_0x4e565c(0x161)](){return _0x3bb4dc;}get[_0x4e565c(0x146)](){return _0x3fe5fb;}get['PrintPaperSize'](){return _0x3a958a;}get[_0x4e565c(0x13a)](){return _0x10414c;}get[_0x4e565c(0x160)](){return _0x1b72c5;}get[_0x4e565c(0x142)](){return _0x54372f;}get[_0x4e565c(0x16a)](){return _0x277630;}get[_0x4e565c(0x14a)](){return _0x2fc115;}get[_0x4e565c(0x14d)](){return _0x23a5ab;}}_0x4d992f['extend'](U);class M extends _0x3bc6b2{['_initialize'](_0x37ab55){const _0x58879c=_0x4e565c,_0x2f9a85=_0x37ab55[_0x58879c(0x141)](_0x43945b);this[_0x58879c(0x152)](this[_0x58879c(0x14e)]['BeforeSheetPrintOpen'],()=>_0x2f9a85['beforeCommandExecuted'](_0x3a2c7b=>{const _0x53e5a7=_0x58879c;if(_0x3a2c7b['id']===_0x2aeae6['id']){const _0x5dfd91=this[_0x53e5a7(0x14c)]();if(!_0x5dfd91)return;const _0x261d21={'workbook':_0x5dfd91,'worksheet':_0x5dfd91[_0x53e5a7(0x15c)]()};if(_0x261d21==null)return;if(this[_0x53e5a7(0x15d)](this['Event'][_0x53e5a7(0x13f)],_0x261d21),_0x261d21[_0x53e5a7(0x143)])throw new _0x27b67f();}})),this[_0x58879c(0x152)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x2f9a85[_0x58879c(0x151)](_0x461727=>{const _0x2e784a=_0x58879c;if(_0x461727['id']===_0x140a09['id']){const _0x9e32fe=_0x37ab55[_0x2e784a(0x141)](_0xb624f9);if(!this[_0x2e784a(0x14c)]())return;const _0x5ad855={'layoutConfig':_0x9e32fe[_0x2e784a(0x153)],'renderConfig':_0x9e32fe['renderConfig']};if(_0x5ad855==null)return;if(this[_0x2e784a(0x15d)](this[_0x2e784a(0x14e)]['BeforeSheetPrintConfirm'],_0x5ad855),_0x5ad855[_0x2e784a(0x143)])throw new _0x27b67f();}})),this[_0x58879c(0x152)](this[_0x58879c(0x14e)][_0x58879c(0x13b)],()=>_0x2f9a85[_0x58879c(0x151)](_0x104b40=>{const _0x9b6cd4=_0x58879c;if(_0x104b40['id']===_0xeeca50['id']){const _0x3f5dff=_0x37ab55[_0x9b6cd4(0x141)](_0xb624f9);if(!this['getActiveUniverSheet']())return;const _0x3555ba={'layoutConfig':_0x3f5dff[_0x9b6cd4(0x153)],'renderConfig':_0x3f5dff[_0x9b6cd4(0x145)]};if(_0x3555ba==null)return;if(this['fireEvent'](this[_0x9b6cd4(0x14e)][_0x9b6cd4(0x13b)],_0x3555ba),_0x3555ba[_0x9b6cd4(0x143)])throw new _0x27b67f();}})),this['registerEventHandler'](this['Event'][_0x58879c(0x144)],()=>_0x2f9a85[_0x58879c(0x140)](_0x16b4cb=>{const _0x47ba0f=_0x58879c;if(_0x16b4cb['id']===_0x2aeae6['id']){const _0x444855=this[_0x47ba0f(0x14c)]();if(!_0x444855)return;const _0x58e567={'workbook':_0x444855,'worksheet':_0x444855[_0x47ba0f(0x15c)]()};if(_0x58e567==null)return;this[_0x47ba0f(0x15d)](this['Event'][_0x47ba0f(0x144)],_0x58e567);}})),this[_0x58879c(0x152)](this[_0x58879c(0x14e)][_0x58879c(0x15a)],()=>_0x2f9a85['onCommandExecuted'](_0x35458a=>{const _0x24563a=_0x58879c;if(_0x35458a['id']===_0x140a09['id']){const _0x141303=_0x37ab55['get'](_0xb624f9);if(!this[_0x24563a(0x14c)]())return;const _0x5166fe={'layoutConfig':_0x141303[_0x24563a(0x153)],'renderConfig':_0x141303['renderConfig']};if(_0x5166fe==null)return;this[_0x24563a(0x15d)](this[_0x24563a(0x14e)][_0x24563a(0x15a)],_0x5166fe);}})),this[_0x58879c(0x152)](this['Event']['SheetPrintCanceled'],()=>_0x2f9a85[_0x58879c(0x140)](_0x2c2079=>{const _0x2b3393=_0x58879c;if(_0x2c2079['id']===_0xeeca50['id']){const _0x1278ac=_0x37ab55[_0x2b3393(0x141)](_0xb624f9);if(!this[_0x2b3393(0x14c)]())return;const _0x5cbbc7={'layoutConfig':_0x1278ac[_0x2b3393(0x153)],'renderConfig':_0x1278ac['renderConfig']};if(_0x5cbbc7==null)return;this['fireEvent'](this[_0x2b3393(0x14e)][_0x2b3393(0x155)],_0x5cbbc7);}}));}}_0x3bc6b2['extend'](M);
|