@univerjs-pro/sheets-print 0.13.0-insiders.20251220-0a5ea4d → 0.14.0
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/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x29d1f9=_0x100e;function _0x3d70(){const _0x5372bd=['B4\x20(9.84\x22\x20x\x2013.90\x22)','總計:','頁首和頁尾','工作表名稱','Legal\x20(8.5\x22\x20x\x2014\x22)','目前日期','317190JGsWHH','1846072GfYRfN','工作表頁碼','時間C','重複凍結的列','1143365hSWgnD','工作表總頁數','日期E','活頁簿標題','日期C','已選取的儲存格','A3\x20(11.69\x22\x20x\x2016.54\x22)','顯示浮水印','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','調整至頁面高度','日期F','圖片複製到剪貼簿失敗!','4543YFgtCl','5406984mCYQBD','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','垂直對齊','標準\x20(100%)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','8gHTujs','自訂比例','所有工作表','目前工作表','總頁數','3wKyImE','MM/DD','時間B','調整至頁面寬度','A4\x20(8.27\x22\x20x\x2011.69\x22)','HH:mm:ss','A5\x20(5.83\x22\x20x\x208.27\x22)','每頁最大欄數','列印版面配置','B5\x20(6.93\x22\x20x\x209.84\x22)','7FeZVKe','調整至頁面大小','Executive\x20(7.25\x22\x20x\x2010.5\x22)','自訂頁首/頁尾','複製為圖片','HH:mm','YYYY-MM-DD','hh:mm:ss','Letter\x20(8.5\x22\x20x\x2011\x22)','Folio\x20(8.5\x22\x20x\x2013\x22)','4104720hvZSzP','水平對齊','所有選取的儲存格','活頁簿','編輯自訂頁首/頁尾','6824520bZediK','關閉並隱藏分頁線','張工作表','每頁最大列數','顯示分頁線','Tabloid\x20(11\x22\x20x\x2017\x22)','MM-DD','日期B','重複凍結的欄','選取範圍','格式設定','列與欄標題','列印中,請勿關閉頁面','Statement\x20(5.5\x22\x20x\x208.5\x22)'];_0x3d70=function(){return _0x5372bd;};return _0x3d70();}(function(_0x448979,_0x177ea9){const _0x4daf43=_0x100e,_0x4e5212=_0x448979();while(!![]){try{const _0x298801=parseInt(_0x4daf43(0xb2))/0x1+-parseInt(_0x4daf43(0xa2))/0x2+parseInt(_0x4daf43(0xbd))/0x3*(parseInt(_0x4daf43(0xb3))/0x4)+parseInt(_0x4daf43(0xa6))/0x5+parseInt(_0x4daf43(0xa1))/0x6*(-parseInt(_0x4daf43(0x7e))/0x7)+parseInt(_0x4daf43(0xb8))/0x8*(-parseInt(_0x4daf43(0x88))/0x9)+parseInt(_0x4daf43(0x8d))/0xa;if(_0x298801===_0x177ea9)break;else _0x4e5212['push'](_0x4e5212['shift']());}catch(_0x5b249b){_0x4e5212['push'](_0x4e5212['shift']());}}}(_0x3d70,0xcbf69));const e={'print':{'header':{'total':_0x29d1f9(0x9c),'pages':'頁','cancel':'取消','next':'下一步','printing':_0x29d1f9(0x99)},'menu':'列印','title':'列印','grid':{'title':_0x29d1f9(0x7c),'showGrid':'顯示分頁符號','showGridLabel':_0x29d1f9(0x91),'closeAndHide':_0x29d1f9(0x8e)},'screenshot':{'title':_0x29d1f9(0x82),'success':'圖片已成功複製到剪貼簿!','fail':_0x29d1f9(0xb1)},'size':{'title':'紙張大小','letter':_0x29d1f9(0x86),'tabloid':_0x29d1f9(0x92),'legal':_0x29d1f9(0x9f),'statement':_0x29d1f9(0x9a),'executive':_0x29d1f9(0x80),'folio':_0x29d1f9(0x87),'a3':_0x29d1f9(0xac),'a4':_0x29d1f9(0x78),'a5':_0x29d1f9(0x7a),'b4':_0x29d1f9(0x9b),'b5':_0x29d1f9(0x7d)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x29d1f9(0xbb),'workbook':_0x29d1f9(0x8b),'currentSelection':_0x29d1f9(0xab),'maxRowsEachPage':_0x29d1f9(0x90),'maxColumnsEachPage':_0x29d1f9(0x7b),'limit':'列與欄限制','allSelection':_0x29d1f9(0x8a)},'selection':{'title':_0x29d1f9(0x96),'allWorkbook':_0x29d1f9(0xba),'workbookUnit':_0x29d1f9(0x8f)},'scale':{'title':'縮放','normal':_0x29d1f9(0xb6),'fitWidth':_0x29d1f9(0x77),'fitHeight':_0x29d1f9(0xaf),'fitPage':_0x29d1f9(0x7f),'custom':_0x29d1f9(0xb9)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x29d1f9(0x97),'skeleton':'顯示格線','waterMark':_0x29d1f9(0xad)},'align':{'title':'對齊','horizontal':{'title':_0x29d1f9(0x89),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x29d1f9(0xb5),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x29d1f9(0x9d),'page':'頁碼','workbook':_0x29d1f9(0xa9),'sheet':'工作表名稱','date':_0x29d1f9(0xa0),'time':'目前時間','customHeadFooter':_0x29d1f9(0x81),'editCustomHeadFooter':_0x29d1f9(0x8c),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x29d1f9(0x84),'dateB':_0x29d1f9(0x93),'dateC':'L','dateD':_0x29d1f9(0xbe),'timeA':_0x29d1f9(0x79),'timeB':_0x29d1f9(0x83),'timeC':_0x29d1f9(0x85),'timeD':'hh:mm','display':{'page':'頁碼','title':_0x29d1f9(0xa9),'sheet':_0x29d1f9(0x9e),'dateA':'日期A','dateB':_0x29d1f9(0x94),'dateC':_0x29d1f9(0xaa),'dateD':'日期D','dateE':_0x29d1f9(0xa8),'dateF':_0x29d1f9(0xb0),'timeA':'時間A','timeB':_0x29d1f9(0xbf),'timeC':_0x29d1f9(0xa4),'timeD':'時間D','sheetPage':_0x29d1f9(0xa3),'pageTotal':_0x29d1f9(0xbc),'sheetPageTotal':_0x29d1f9(0xa7)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x29d1f9(0x98),'desc':_0x29d1f9(0xae),'row':_0x29d1f9(0xa5),'column':_0x29d1f9(0x95)},'limit':{'page':_0x29d1f9(0xb4),'waterMark':_0x29d1f9(0xb7),'link':'https://univer.ai/pro'}}};function _0x100e(_0x21639b,_0x8f5c93){_0x21639b=_0x21639b-0x77;const _0x3d707f=_0x3d70();let _0x100e6d=_0x3d707f[_0x21639b];return _0x100e6d;}export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x48bd91=_0x1fb7;(function(_0x1ecbf6,_0x277f78){const _0x53e2a7=_0x1fb7,_0x1a495d=_0x1ecbf6();while(!![]){try{const _0x25fc12=parseInt(_0x53e2a7(0x18b))/0x1*(parseInt(_0x53e2a7(0x196))/0x2)+-parseInt(_0x53e2a7(0x19a))/0x3*(parseInt(_0x53e2a7(0x198))/0x4)+-parseInt(_0x53e2a7(0x192))/0x5+parseInt(_0x53e2a7(0x18f))/0x6+parseInt(_0x53e2a7(0x186))/0x7+parseInt(_0x53e2a7(0x194))/0x8+parseInt(_0x53e2a7(0x1ab))/0x9*(-parseInt(_0x53e2a7(0x18a))/0xa);if(_0x25fc12===_0x277f78)break;else _0x1a495d['push'](_0x1a495d['shift']());}catch(_0x1402e9){_0x1a495d['push'](_0x1a495d['shift']());}}}(_0x2cc5,0x586e3));import{ISheetPrintManagerService as _0x31b3fd,ConfirmSheetPrintOperation as _0x388626,SheetPrintOpenOperation as _0x32f946,CancelSheetPrintOperation as _0x494530,hasPrintFacadePermission as _0x2e2c7c,SheetScreenShotOperation as _0xe91663,SheetPrintClientService as _0x3fd8e6,PrintArea as _0xda8706,PrintFreeze as _0x72e8c1,PrintHeaderFooter as _0x59bf93,PrintHeaderFooterSymbol as _0x4a442e}from'@univerjs-pro/sheets-print';import{ICommandService as _0x28a0a0,PaperType as _0x40a77c,CanceledError as _0x58ecd7}from'@univerjs/core';import{FWorkbook as _0x327050,FRange as _0x5cd359}from'@univerjs/sheets/facade';import{FEventName as _0x4560ce,FEnum as _0x1a64e9,FUniver as _0x1bad67}from'@univerjs/core/facade';import{PrintAlign as _0x4b0601,PrintPaperMargin as _0x3c30f0,PrintScale as _0x198a2d,PrintDirection as _0x31500f}from'@univerjs-pro/print';class A extends _0x327050{[_0x48bd91(0x199)](_0xf31f28){const _0x1b17cf=_0x48bd91;return this['_injector'][_0x1b17cf(0x19d)](_0x31b3fd)[_0x1b17cf(0x17d)](_0xf31f28),this;}[_0x48bd91(0x183)](_0x739f7b){const _0x16d8b9=_0x48bd91;return this['_injector'][_0x16d8b9(0x19d)](_0x31b3fd)[_0x16d8b9(0x1a1)](_0x739f7b),this;}[_0x48bd91(0x187)](){const _0xce5ab0=_0x48bd91;return this['_injector'][_0xce5ab0(0x19d)](_0x28a0a0)[_0xce5ab0(0x1ac)](_0x388626['id']);}['openPrintDialog'](){const _0x528c6e=_0x48bd91;return this['_injector'][_0x528c6e(0x19d)](_0x28a0a0)['syncExecuteCommand'](_0x32f946['id']);}[_0x48bd91(0x190)](){const _0x462167=_0x48bd91;return this['_injector'][_0x462167(0x19d)](_0x28a0a0)[_0x462167(0x1ac)](_0x494530['id']);}async['saveScreenshotToClipboard'](){const _0x31998c=_0x48bd91;return _0x2e2c7c(this[_0x31998c(0x1ae)])?this[_0x31998c(0x1ae)][_0x31998c(0x19d)](_0x28a0a0)[_0x31998c(0x197)](_0xe91663['id']):!0x1;}}_0x327050['extend'](A);class B extends _0x5cd359{[_0x48bd91(0x17e)](){const _0x3c1e95=_0x48bd91;return _0x2e2c7c(this['_injector'])?this[_0x3c1e95(0x1ae)][_0x3c1e95(0x19d)](_0x3fd8e6)[_0x3c1e95(0x1ad)](this[_0x3c1e95(0x193)]['getUnitId'](),this[_0x3c1e95(0x195)][_0x3c1e95(0x1a0)](),this[_0x3c1e95(0x1a5)]):!0x1;}}function _0x1fb7(_0x12d723,_0x5535aa){_0x12d723=_0x12d723-0x17d;const _0x2cc566=_0x2cc5();let _0x1fb734=_0x2cc566[_0x12d723];return _0x1fb734;}_0x5cd359[_0x48bd91(0x1a6)](B);class H{get[_0x48bd91(0x18c)](){const _0xe6eed5=_0x48bd91;return _0xe6eed5(0x18c);}get[_0x48bd91(0x188)](){const _0xfdc9b=_0x48bd91;return _0xfdc9b(0x188);}get[_0x48bd91(0x1b0)](){const _0x58d08e=_0x48bd91;return _0x58d08e(0x1b0);}get[_0x48bd91(0x185)](){const _0x3aa958=_0x48bd91;return _0x3aa958(0x185);}get[_0x48bd91(0x1a9)](){const _0x101d9a=_0x48bd91;return _0x101d9a(0x1a9);}get[_0x48bd91(0x18e)](){const _0x479b8a=_0x48bd91;return _0x479b8a(0x18e);}}function _0x2cc5(){const _0x34b60=['404LscYtm','executeCommand','5248FIJAwa','updatePrintConfig','1164DuDbTg','PrintArea','PrintHeaderFooter','get','fireEvent','PrintPaperSize','getSheetId','updateRenderConfig','_initialize','registerEventHandler','PrintAlign','_range','extend','beforeCommandExecuted','PrintScale','SheetPrintConfirmed','Event','918639vrwCUH','syncExecuteCommand','getRangeImage','_injector','getActiveSheet','BeforeSheetPrintCanceled','updateLayoutConfig','getScreenshot','PrintPaperMargin','onCommandExecuted','cancel','renderConfig','updatePrintRenderConfig','getActiveUniverSheet','SheetPrintOpen','1041229MRgEKf','print','BeforeSheetPrintConfirm','layoutConfig','10mWNfgi','289UqwKJG','BeforeSheetPrintOpen','PrintHeaderFooterSymbol','SheetPrintCanceled','2518194KHDDHF','closePrintDialog','PrintFreeze','1532880HgNQgp','_workbook','5224720ySduzP','_worksheet'];_0x2cc5=function(){return _0x34b60;};return _0x2cc5();}_0x4560ce[_0x48bd91(0x1a6)](H);class U{get[_0x48bd91(0x19b)](){return _0xda8706;}get[_0x48bd91(0x1a4)](){return _0x4b0601;}get[_0x48bd91(0x19f)](){return _0x40a77c;}get[_0x48bd91(0x17f)](){return _0x3c30f0;}get[_0x48bd91(0x1a8)](){return _0x198a2d;}get['PrintDirection'](){return _0x31500f;}get[_0x48bd91(0x191)](){return _0x72e8c1;}get[_0x48bd91(0x19c)](){return _0x59bf93;}get[_0x48bd91(0x18d)](){return _0x4a442e;}}_0x1a64e9[_0x48bd91(0x1a6)](U);class M extends _0x1bad67{[_0x48bd91(0x1a2)](_0x281c27){const _0x15c036=_0x48bd91,_0xcb3e67=_0x281c27[_0x15c036(0x19d)](_0x28a0a0);this['registerEventHandler'](this[_0x15c036(0x1aa)][_0x15c036(0x18c)],()=>_0xcb3e67[_0x15c036(0x1a7)](_0x164b0d=>{const _0x4e0482=_0x15c036;if(_0x164b0d['id']===_0x32f946['id']){const _0x56d47c=this[_0x4e0482(0x184)]();if(!_0x56d47c)return;const _0x45a938={'workbook':_0x56d47c,'worksheet':_0x56d47c[_0x4e0482(0x1af)]()};if(_0x45a938==null)return;if(this[_0x4e0482(0x19e)](this[_0x4e0482(0x1aa)]['BeforeSheetPrintOpen'],_0x45a938),_0x45a938[_0x4e0482(0x181)])throw new _0x58ecd7();}})),this[_0x15c036(0x1a3)](this[_0x15c036(0x1aa)][_0x15c036(0x188)],()=>_0xcb3e67[_0x15c036(0x1a7)](_0x5f13e1=>{const _0x5a4a0f=_0x15c036;if(_0x5f13e1['id']===_0x388626['id']){const _0x164cf2=_0x281c27['get'](_0x31b3fd);if(!this[_0x5a4a0f(0x184)]())return;const _0x53e291={'layoutConfig':_0x164cf2['layoutConfig'],'renderConfig':_0x164cf2[_0x5a4a0f(0x182)]};if(_0x53e291==null)return;if(this[_0x5a4a0f(0x19e)](this['Event'][_0x5a4a0f(0x188)],_0x53e291),_0x53e291['cancel'])throw new _0x58ecd7();}})),this[_0x15c036(0x1a3)](this['Event'][_0x15c036(0x1b0)],()=>_0xcb3e67[_0x15c036(0x1a7)](_0x247321=>{const _0x3a09e0=_0x15c036;if(_0x247321['id']===_0x494530['id']){const _0x490c04=_0x281c27[_0x3a09e0(0x19d)](_0x31b3fd);if(!this['getActiveUniverSheet']())return;const _0x5568cc={'layoutConfig':_0x490c04[_0x3a09e0(0x189)],'renderConfig':_0x490c04[_0x3a09e0(0x182)]};if(_0x5568cc==null)return;if(this[_0x3a09e0(0x19e)](this[_0x3a09e0(0x1aa)][_0x3a09e0(0x1b0)],_0x5568cc),_0x5568cc[_0x3a09e0(0x181)])throw new _0x58ecd7();}})),this['registerEventHandler'](this[_0x15c036(0x1aa)][_0x15c036(0x185)],()=>_0xcb3e67['onCommandExecuted'](_0x22bcad=>{const _0x5a8b16=_0x15c036;if(_0x22bcad['id']===_0x32f946['id']){const _0x1c183c=this[_0x5a8b16(0x184)]();if(!_0x1c183c)return;const _0x11b195={'workbook':_0x1c183c,'worksheet':_0x1c183c[_0x5a8b16(0x1af)]()};if(_0x11b195==null)return;this['fireEvent'](this['Event'][_0x5a8b16(0x185)],_0x11b195);}})),this['registerEventHandler'](this['Event'][_0x15c036(0x1a9)],()=>_0xcb3e67[_0x15c036(0x180)](_0x5a33e0=>{const _0x268957=_0x15c036;if(_0x5a33e0['id']===_0x388626['id']){const _0xa04c9e=_0x281c27['get'](_0x31b3fd);if(!this[_0x268957(0x184)]())return;const _0x5906f9={'layoutConfig':_0xa04c9e[_0x268957(0x189)],'renderConfig':_0xa04c9e[_0x268957(0x182)]};if(_0x5906f9==null)return;this[_0x268957(0x19e)](this[_0x268957(0x1aa)]['SheetPrintConfirmed'],_0x5906f9);}})),this[_0x15c036(0x1a3)](this[_0x15c036(0x1aa)][_0x15c036(0x18e)],()=>_0xcb3e67[_0x15c036(0x180)](_0x277fd4=>{const _0x27d0a9=_0x15c036;if(_0x277fd4['id']===_0x494530['id']){const _0x3074d5=_0x281c27['get'](_0x31b3fd);if(!this[_0x27d0a9(0x184)]())return;const _0x21230b={'layoutConfig':_0x3074d5[_0x27d0a9(0x189)],'renderConfig':_0x3074d5[_0x27d0a9(0x182)]};if(_0x21230b==null)return;this[_0x27d0a9(0x19e)](this['Event'][_0x27d0a9(0x18e)],_0x21230b);}}));}}_0x1bad67[_0x48bd91(0x1a6)](M);
|