@univerjs-pro/sheets-print 0.10.6 → 0.10.7-nightly.202509080357
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.css +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 +40 -40
- package/lib/types/common/types.d.ts +6 -0
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +5 -0
- 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 +17 -17
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x23e7fd=_0x2977;(function(_0x335020,_0x417756){const _0x144691=_0x2977,_0x247a9d=_0x335020();while(!![]){try{const _0x53d79b=parseInt(_0x144691(0xd9))/0x1+parseInt(_0x144691(0xf3))/0x2*(parseInt(_0x144691(0xdf))/0x3)+parseInt(_0x144691(0x101))/0x4*(-parseInt(_0x144691(0xfc))/0x5)+-parseInt(_0x144691(0x108))/0x6+parseInt(_0x144691(0x10a))/0x7*(-parseInt(_0x144691(0xd2))/0x8)+-parseInt(_0x144691(0x109))/0x9+parseInt(_0x144691(0x104))/0xa;if(_0x53d79b===_0x417756)break;else _0x247a9d['push'](_0x247a9d['shift']());}catch(_0x40ffb3){_0x247a9d['push'](_0x247a9d['shift']());}}}(_0xd5cc,0x8246d));function _0x2977(_0x545681,_0x2218e5){const _0xd5cce2=_0xd5cc();return _0x2977=function(_0x297710,_0x56ddb7){_0x297710=_0x297710-0xcd;let _0x1ca01c=_0xd5cce2[_0x297710];return _0x1ca01c;},_0x2977(_0x545681,_0x2218e5);}const t={'print':{'header':{'total':_0x23e7fd(0xdb),'pages':'頁','cancel':'取消','next':_0x23e7fd(0x111),'printing':_0x23e7fd(0xea)},'menu':'列印','title':'列印','screenshot':{'title':_0x23e7fd(0x10e),'success':_0x23e7fd(0x10d),'fail':_0x23e7fd(0xd7)},'size':{'title':_0x23e7fd(0xf9),'letter':_0x23e7fd(0xf0),'tabloid':_0x23e7fd(0xda),'legal':_0x23e7fd(0xed),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x23e7fd(0xd4),'folio':_0x23e7fd(0x103),'a3':_0x23e7fd(0x116),'a4':_0x23e7fd(0xfe),'a5':_0x23e7fd(0xff),'b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x23e7fd(0x119),'workbook':_0x23e7fd(0xd0),'currentSelection':_0x23e7fd(0x10c),'maxRowsEachPage':_0x23e7fd(0xec),'maxColumnsEachPage':_0x23e7fd(0xfa),'limit':'列與欄限制','allSelection':_0x23e7fd(0xe2)},'selection':{'title':_0x23e7fd(0x106),'allWorkbook':_0x23e7fd(0xeb),'workbookUnit':_0x23e7fd(0xf2)},'scale':{'title':'縮放','normal':_0x23e7fd(0xd8),'fitWidth':_0x23e7fd(0x110),'fitHeight':_0x23e7fd(0xd3),'fitPage':_0x23e7fd(0x107),'custom':_0x23e7fd(0xcf)},'orientation':{'title':_0x23e7fd(0xe6),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x23e7fd(0x10f),'skeleton':_0x23e7fd(0xd5),'waterMark':_0x23e7fd(0xde)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x23e7fd(0xf7),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':'活頁簿標題','sheet':'工作表名稱','date':_0x23e7fd(0xfb),'time':_0x23e7fd(0xe0),'customHeadFooter':_0x23e7fd(0x112),'editCustomHeadFooter':_0x23e7fd(0xf4),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x23e7fd(0xd6),'dateA':_0x23e7fd(0xf5),'dateB':_0x23e7fd(0xe3),'dateC':'L','dateD':_0x23e7fd(0xf8),'timeA':_0x23e7fd(0xe5),'timeB':_0x23e7fd(0xf1),'timeC':_0x23e7fd(0xe9),'timeD':_0x23e7fd(0xe4),'display':{'page':'頁碼','title':_0x23e7fd(0x114),'sheet':_0x23e7fd(0xe8),'dateA':_0x23e7fd(0xdc),'dateB':_0x23e7fd(0x115),'dateC':_0x23e7fd(0xe7),'dateD':_0x23e7fd(0x100),'dateE':_0x23e7fd(0xee),'dateF':_0x23e7fd(0xf6),'timeA':_0x23e7fd(0xdd),'timeB':_0x23e7fd(0x117),'timeC':_0x23e7fd(0x118),'timeD':_0x23e7fd(0xef),'sheetPage':_0x23e7fd(0xe1),'pageTotal':_0x23e7fd(0x10b),'sheetPageTotal':_0x23e7fd(0xcd)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x23e7fd(0xfd),'desc':_0x23e7fd(0x113),'row':_0x23e7fd(0xd1),'column':_0x23e7fd(0x102)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':'Univer\x20免費版本,由\x20univer.ai\x20提供支援。','link':_0x23e7fd(0x105)}}};module[_0x23e7fd(0xce)]=t;function _0xd5cc(){const _0x4a4de6=['https://univer.ai/zh-TW#pricing','選取範圍','調整至頁面大小','4782942RrZNyl','6853833dafoCG','14ZoGFLI','總頁數','已選取的儲存格','圖片已成功複製到剪貼簿!','複製為圖片','格式設定','調整至頁面寬度','下一步','自訂頁首/頁尾','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','活頁簿標題','日期B','A3\x20(11.69\x22\x20x\x2016.54\x22)','時間B','時間C','目前工作表','工作表總頁數','exports','自訂比例','活頁簿','重複凍結的列','109640ykRVgy','調整至頁面高度','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示格線','日期格式','圖片複製到剪貼簿失敗!','標準\x20(100%)','612805cDBJOs','Tabloid\x20(11\x22\x20x\x2017\x22)','總計:','日期A','時間A','顯示浮水印','1216938LpqReO','目前時間','工作表頁碼','所有選取的儲存格','MM-DD','hh:mm','HH:mm:ss','頁面方向','日期C','工作表名稱','hh:mm:ss','列印中,請勿關閉頁面','所有工作表','每頁最大列數','Legal\x20(8.5\x22\x20x\x2014\x22)','日期E','時間D','Letter\x20(8.5\x22\x20x\x2011\x22)','HH:mm','張工作表','2iMvFDh','編輯自訂頁首/頁尾','YYYY-MM-DD','日期F','垂直對齊','MM/DD','紙張大小','每頁最大欄數','目前日期','405VoNZjw','列與欄標題','A4\x20(8.27\x22\x20x\x2011.69\x22)','A5\x20(5.83\x22\x20x\x208.27\x22)','日期D','1772aIAGYk','重複凍結的欄','Folio\x20(8.5\x22\x20x\x2013\x22)','11371490OzXGVi'];_0xd5cc=function(){return _0x4a4de6;};return _0xd5cc();}
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xfd3b76=_0x5e40;(function(_0x4c9a3a,_0x563a25){const _0x8786f2=_0x5e40,_0x26c3a8=_0x4c9a3a();while(!![]){try{const _0x38fa1f=parseInt(_0x8786f2(0x202))/0x1+-parseInt(_0x8786f2(0x1f3))/0x2+parseInt(_0x8786f2(0x1ed))/0x3*(parseInt(_0x8786f2(0x1f8))/0x4)+parseInt(_0x8786f2(0x1fb))/0x5+-parseInt(_0x8786f2(0x201))/0x6+-parseInt(_0x8786f2(0x1dd))/0x7*(-parseInt(_0x8786f2(0x1d4))/0x8)+parseInt(_0x8786f2(0x1e8))/0x9;if(_0x38fa1f===_0x563a25)break;else _0x26c3a8['push'](_0x26c3a8['shift']());}catch(_0x4c01ec){_0x26c3a8['push'](_0x26c3a8['shift']());}}}(_0xf373,0xb74cb));import{ISheetPrintManagerService as _0x25a495,ConfirmSheetPrintOperation as _0x16d7be,SheetPrintOpenOperation as _0x18a102,CancelSheetPrintOperation as _0x197bbe,hasPrintFacadePermission as _0x5c3dc0,SheetScreenShotOperation as _0xcd66d8,SheetPrintClientService as _0x149a84,PrintArea as _0x1db643,PrintFreeze as _0xc165ea,PrintHeaderFooter as _0x30300b,PrintHeaderFooterSymbol as _0xf62b76}from'@univerjs-pro/sheets-print';import{ICommandService as _0x1851b8,PaperType as _0x225795,CanceledError as _0x353430}from'@univerjs/core';function _0xf373(){const _0x35753b=['Event','2347630GzsGct','_worksheet','updateLayoutConfig','extend','PrintAlign','get','8260602NjLxez','583281XXXvMK','PrintArea','45176jxRCip','BeforeSheetPrintOpen','closePrintDialog','getActiveSheet','BeforeSheetPrintCanceled','_workbook','beforeCommandExecuted','openPrintDialog','PrintDirection','777gVBnkt','_range','layoutConfig','SheetPrintOpen','PrintScale','_injector','fireEvent','updatePrintRenderConfig','PrintHeaderFooter','cancel','getScreenshot','240921ILMBBj','SheetPrintCanceled','onCommandExecuted','SheetPrintConfirmed','print','519CAWyLw','syncExecuteCommand','PrintPaperSize','getUnitId','getActiveUniverSheet','registerEventHandler','1245772Nzxrws','renderConfig','BeforeSheetPrintConfirm','getSheetId','saveScreenshotToClipboard','24140WXzNMD','getRangeImage'];_0xf373=function(){return _0x35753b;};return _0xf373();}import{FWorkbook as _0x4a8783,FRange as _0x1bd732}from'@univerjs/sheets/facade';import{FEventName as _0x1a9c4b,FEnum as _0xe2aaa8,FUniver as _0x36c311}from'@univerjs/core/facade';function _0x5e40(_0x222c01,_0x590bb7){const _0xf373b0=_0xf373();return _0x5e40=function(_0x5e402b,_0x5bb276){_0x5e402b=_0x5e402b-0x1d3;let _0x39b141=_0xf373b0[_0x5e402b];return _0x39b141;},_0x5e40(_0x222c01,_0x590bb7);}import{PrintAlign as _0x4f0d6d,PrintPaperMargin as _0x1e3f2e,PrintScale as _0x5101b5,PrintDirection as _0x2d5b18}from'@univerjs-pro/print';class A extends _0x4a8783{['updatePrintConfig'](_0x489dc3){const _0xfe5ceb=_0x5e40;return this[_0xfe5ceb(0x1e2)][_0xfe5ceb(0x200)](_0x25a495)[_0xfe5ceb(0x1fd)](_0x489dc3),this;}[_0xfd3b76(0x1e4)](_0x2351a4){const _0x4ffd40=_0xfd3b76;return this[_0x4ffd40(0x1e2)][_0x4ffd40(0x200)](_0x25a495)['updateRenderConfig'](_0x2351a4),this;}[_0xfd3b76(0x1ec)](){const _0x365fe0=_0xfd3b76;return this[_0x365fe0(0x1e2)][_0x365fe0(0x200)](_0x1851b8)[_0x365fe0(0x1ee)](_0x16d7be['id']);}[_0xfd3b76(0x1db)](){const _0x5e5e0e=_0xfd3b76;return this['_injector'][_0x5e5e0e(0x200)](_0x1851b8)[_0x5e5e0e(0x1ee)](_0x18a102['id']);}[_0xfd3b76(0x1d6)](){const _0x335101=_0xfd3b76;return this['_injector'][_0x335101(0x200)](_0x1851b8)[_0x335101(0x1ee)](_0x197bbe['id']);}async[_0xfd3b76(0x1f7)](){const _0x3861ab=_0xfd3b76;return _0x5c3dc0(this[_0x3861ab(0x1e2)])?this[_0x3861ab(0x1e2)][_0x3861ab(0x200)](_0x1851b8)['executeCommand'](_0xcd66d8['id']):!0x1;}}_0x4a8783[_0xfd3b76(0x1fe)](A);class B extends _0x1bd732{[_0xfd3b76(0x1e7)](){const _0x443e4=_0xfd3b76;return _0x5c3dc0(this[_0x443e4(0x1e2)])?this[_0x443e4(0x1e2)][_0x443e4(0x200)](_0x149a84)[_0x443e4(0x1f9)](this[_0x443e4(0x1d9)][_0x443e4(0x1f0)](),this[_0x443e4(0x1fc)][_0x443e4(0x1f6)](),this[_0x443e4(0x1de)]):!0x1;}}_0x1bd732[_0xfd3b76(0x1fe)](B);class H{get[_0xfd3b76(0x1d5)](){return'BeforeSheetPrintOpen';}get[_0xfd3b76(0x1f5)](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0xfd3b76(0x1e0)](){const _0x1697ac=_0xfd3b76;return _0x1697ac(0x1e0);}get['SheetPrintConfirmed'](){const _0x3019d7=_0xfd3b76;return _0x3019d7(0x1eb);}get['SheetPrintCanceled'](){const _0xfdd915=_0xfd3b76;return _0xfdd915(0x1e9);}}_0x1a9c4b[_0xfd3b76(0x1fe)](H);class U{get[_0xfd3b76(0x1d3)](){return _0x1db643;}get[_0xfd3b76(0x1ff)](){return _0x4f0d6d;}get[_0xfd3b76(0x1ef)](){return _0x225795;}get['PrintPaperMargin'](){return _0x1e3f2e;}get[_0xfd3b76(0x1e1)](){return _0x5101b5;}get[_0xfd3b76(0x1dc)](){return _0x2d5b18;}get['PrintFreeze'](){return _0xc165ea;}get[_0xfd3b76(0x1e5)](){return _0x30300b;}get['PrintHeaderFooterSymbol'](){return _0xf62b76;}}_0xe2aaa8[_0xfd3b76(0x1fe)](U);class M extends _0x36c311{['_initialize'](_0x1777b6){const _0x587c64=_0xfd3b76,_0x225f66=_0x1777b6[_0x587c64(0x200)](_0x1851b8);this['registerEventHandler'](this[_0x587c64(0x1fa)][_0x587c64(0x1d5)],()=>_0x225f66[_0x587c64(0x1da)](_0x32400b=>{const _0x33679e=_0x587c64;if(_0x32400b['id']===_0x18a102['id']){const _0x9c27ae=this['getActiveUniverSheet']();if(!_0x9c27ae)return;const _0x253ed6={'workbook':_0x9c27ae,'worksheet':_0x9c27ae[_0x33679e(0x1d7)]()};if(_0x253ed6==null)return;if(this[_0x33679e(0x1e3)](this[_0x33679e(0x1fa)][_0x33679e(0x1d5)],_0x253ed6),_0x253ed6[_0x33679e(0x1e6)])throw new _0x353430();}})),this['registerEventHandler'](this[_0x587c64(0x1fa)]['BeforeSheetPrintConfirm'],()=>_0x225f66[_0x587c64(0x1da)](_0x3b3564=>{const _0x5e3061=_0x587c64;if(_0x3b3564['id']===_0x16d7be['id']){const _0x59fabd=_0x1777b6[_0x5e3061(0x200)](_0x25a495);if(!this['getActiveUniverSheet']())return;const _0x9e1234={'layoutConfig':_0x59fabd['layoutConfig'],'renderConfig':_0x59fabd[_0x5e3061(0x1f4)]};if(_0x9e1234==null)return;if(this[_0x5e3061(0x1e3)](this['Event'][_0x5e3061(0x1f5)],_0x9e1234),_0x9e1234[_0x5e3061(0x1e6)])throw new _0x353430();}})),this[_0x587c64(0x1f2)](this[_0x587c64(0x1fa)]['BeforeSheetPrintCanceled'],()=>_0x225f66[_0x587c64(0x1da)](_0x35131e=>{const _0x339cdd=_0x587c64;if(_0x35131e['id']===_0x197bbe['id']){const _0x14a849=_0x1777b6[_0x339cdd(0x200)](_0x25a495);if(!this['getActiveUniverSheet']())return;const _0x239869={'layoutConfig':_0x14a849[_0x339cdd(0x1df)],'renderConfig':_0x14a849[_0x339cdd(0x1f4)]};if(_0x239869==null)return;if(this[_0x339cdd(0x1e3)](this['Event'][_0x339cdd(0x1d8)],_0x239869),_0x239869[_0x339cdd(0x1e6)])throw new _0x353430();}})),this[_0x587c64(0x1f2)](this['Event'][_0x587c64(0x1e0)],()=>_0x225f66[_0x587c64(0x1ea)](_0x3d1f14=>{const _0x8346d2=_0x587c64;if(_0x3d1f14['id']===_0x18a102['id']){const _0x2aad8d=this['getActiveUniverSheet']();if(!_0x2aad8d)return;const _0x5aca7e={'workbook':_0x2aad8d,'worksheet':_0x2aad8d[_0x8346d2(0x1d7)]()};if(_0x5aca7e==null)return;this[_0x8346d2(0x1e3)](this[_0x8346d2(0x1fa)]['SheetPrintOpen'],_0x5aca7e);}})),this['registerEventHandler'](this[_0x587c64(0x1fa)]['SheetPrintConfirmed'],()=>_0x225f66[_0x587c64(0x1ea)](_0x46627f=>{const _0x5d7fc6=_0x587c64;if(_0x46627f['id']===_0x16d7be['id']){const _0x20ca61=_0x1777b6[_0x5d7fc6(0x200)](_0x25a495);if(!this[_0x5d7fc6(0x1f1)]())return;const _0x495e2e={'layoutConfig':_0x20ca61[_0x5d7fc6(0x1df)],'renderConfig':_0x20ca61['renderConfig']};if(_0x495e2e==null)return;this[_0x5d7fc6(0x1e3)](this[_0x5d7fc6(0x1fa)]['SheetPrintConfirmed'],_0x495e2e);}})),this[_0x587c64(0x1f2)](this['Event'][_0x587c64(0x1e9)],()=>_0x225f66[_0x587c64(0x1ea)](_0x4f9ff3=>{const _0x7e0797=_0x587c64;if(_0x4f9ff3['id']===_0x197bbe['id']){const _0x32fa3d=_0x1777b6[_0x7e0797(0x200)](_0x25a495);if(!this[_0x7e0797(0x1f1)]())return;const _0x5ae1f6={'layoutConfig':_0x32fa3d[_0x7e0797(0x1df)],'renderConfig':_0x32fa3d['renderConfig']};if(_0x5ae1f6==null)return;this[_0x7e0797(0x1e3)](this[_0x7e0797(0x1fa)][_0x7e0797(0x1e9)],_0x5ae1f6);}}));}}_0x36c311[_0xfd3b76(0x1fe)](M);
|