@univerjs-pro/sheets-print 0.12.0-nightly.202511220628 → 0.12.1-nightly.202511221011
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 +15 -15
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3026f9=_0x3bf5;(function(_0x1ebd01,_0x2774e9){const _0x169ccb=_0x3bf5,_0x2e2ae0=_0x1ebd01();while(!![]){try{const _0x16168f=parseInt(_0x169ccb(0x9f))/0x1+-parseInt(_0x169ccb(0xbe))/0x2*(-parseInt(_0x169ccb(0x99))/0x3)+parseInt(_0x169ccb(0xbf))/0x4+-parseInt(_0x169ccb(0x94))/0x5+parseInt(_0x169ccb(0x86))/0x6*(-parseInt(_0x169ccb(0xa3))/0x7)+parseInt(_0x169ccb(0xa7))/0x8+parseInt(_0x169ccb(0x80))/0x9*(-parseInt(_0x169ccb(0xb0))/0xa);if(_0x16168f===_0x2774e9)break;else _0x2e2ae0['push'](_0x2e2ae0['shift']());}catch(_0x228bda){_0x2e2ae0['push'](_0x2e2ae0['shift']());}}}(_0x5c4a,0x421ca));const e={'print':{'header':{'total':_0x3026f9(0x8e),'pages':'頁','cancel':'取消','next':_0x3026f9(0x7f),'printing':_0x3026f9(0x9e)},'menu':'列印','title':'列印','grid':{'title':_0x3026f9(0x8a),'showGrid':_0x3026f9(0x84),'showGridLabel':_0x3026f9(0xaf),'closeAndHide':_0x3026f9(0x83)},'screenshot':{'title':_0x3026f9(0x89),'success':_0x3026f9(0xa5),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':'紙張大小','letter':_0x3026f9(0x97),'tabloid':_0x3026f9(0x9b),'legal':_0x3026f9(0x81),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x3026f9(0xa9),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':_0x3026f9(0xa8),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x3026f9(0xb2),'b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x3026f9(0x82)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x3026f9(0x8b),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x3026f9(0x9a),'workbook':'活頁簿','currentSelection':'已選取的儲存格','maxRowsEachPage':_0x3026f9(0xb1),'maxColumnsEachPage':_0x3026f9(0xab),'limit':_0x3026f9(0x93),'allSelection':_0x3026f9(0xb9)},'selection':{'title':_0x3026f9(0xb6),'allWorkbook':'所有工作表','workbookUnit':_0x3026f9(0xa2)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x3026f9(0xad),'fitPage':'調整至頁面大小','custom':_0x3026f9(0xa0)},'orientation':{'title':_0x3026f9(0x8c),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x3026f9(0xac),'skeleton':_0x3026f9(0x8d),'waterMark':_0x3026f9(0xaa)},'align':{'title':'對齊','horizontal':{'title':_0x3026f9(0x92),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x3026f9(0xc0),'page':'頁碼','workbook':_0x3026f9(0xb8),'sheet':'工作表名稱','date':'目前日期','time':_0x3026f9(0x85),'customHeadFooter':_0x3026f9(0x87),'editCustomHeadFooter':_0x3026f9(0xc2),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x3026f9(0x88),'dateA':'YYYY-MM-DD','dateB':_0x3026f9(0x91),'dateC':'L','dateD':'MM/DD','timeA':_0x3026f9(0xb4),'timeB':'HH:mm','timeC':_0x3026f9(0x8f),'timeD':_0x3026f9(0x90),'display':{'page':'頁碼','title':_0x3026f9(0xb8),'sheet':_0x3026f9(0x9c),'dateA':'日期A','dateB':_0x3026f9(0x9d),'dateC':'日期C','dateD':_0x3026f9(0xa1),'dateE':_0x3026f9(0x96),'dateF':_0x3026f9(0xbd),'timeA':_0x3026f9(0xbb),'timeB':'時間B','timeC':'時間C','timeD':_0x3026f9(0xa6),'sheetPage':_0x3026f9(0xbc),'pageTotal':_0x3026f9(0xba),'sheetPageTotal':_0x3026f9(0x95)},'placeholder':_0x3026f9(0xae),'submit':'確定'},'freeze':{'title':_0x3026f9(0xb5),'desc':_0x3026f9(0xc1),'row':_0x3026f9(0xb3),'column':_0x3026f9(0xb7)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x3026f9(0x98),'link':_0x3026f9(0xa4)}}};export{e as default};function _0x3bf5(_0x34701b,_0x5c3d34){const _0x5c4a58=_0x5c4a();return _0x3bf5=function(_0x3bf567,_0x395e57){_0x3bf567=_0x3bf567-0x7f;let _0x47c8c3=_0x5c4a58[_0x3bf567];return _0x47c8c3;},_0x3bf5(_0x34701b,_0x5c3d34);}function _0x5c4a(){const _0x23dc04=['張工作表','1848RWwrMb','https://univer.ai/pro','圖片已成功複製到剪貼簿!','時間D','600912RKRkgN','A3\x20(11.69\x22\x20x\x2016.54\x22)','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示浮水印','每頁最大欄數','格式設定','調整至頁面高度','點擊以新增文字','顯示分頁線','166220fMupZn','每頁最大列數','A5\x20(5.83\x22\x20x\x208.27\x22)','重複凍結的列','HH:mm:ss','列與欄標題','選取範圍','重複凍結的欄','活頁簿標題','所有選取的儲存格','總頁數','時間A','工作表頁碼','日期F','8244RBRYUi','1309204zcrHQv','頁首和頁尾','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','編輯自訂頁首/頁尾','下一步','279phdzLt','Legal\x20(8.5\x22\x20x\x2014\x22)','B5\x20(6.93\x22\x20x\x209.84\x22)','關閉並隱藏分頁線','顯示分頁符號','目前時間','1926WuHaZc','自訂頁首/頁尾','日期格式','複製為圖片','列印版面配置','自訂义頁邊距','頁面方向','顯示格線','總計:','hh:mm:ss','hh:mm','MM-DD','水平對齊','列與欄限制','592510OiMYXF','工作表總頁數','日期E','Letter\x20(8.5\x22\x20x\x2011\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','270QCKPej','目前工作表','Tabloid\x20(11\x22\x20x\x2017\x22)','工作表名稱','日期B','列印中,請勿關閉頁面','215927oajLef','自訂比例','日期D'];_0x5c4a=function(){return _0x23dc04;};return _0x5c4a();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x281daa=_0x2085;(function(_0x22df2f,_0x5f4b2a){const _0x4a1fa1=_0x2085,_0x5167e1=_0x22df2f();while(!![]){try{const _0x35a583=-parseInt(_0x4a1fa1(0xfe))/0x1+parseInt(_0x4a1fa1(0x10a))/0x2+-parseInt(_0x4a1fa1(0xfc))/0x3*(parseInt(_0x4a1fa1(0x105))/0x4)+parseInt(_0x4a1fa1(0x116))/0x5+-parseInt(_0x4a1fa1(0xfd))/0x6*(parseInt(_0x4a1fa1(0x106))/0x7)+-parseInt(_0x4a1fa1(0x11c))/0x8+parseInt(_0x4a1fa1(0x10f))/0x9;if(_0x35a583===_0x5f4b2a)break;else _0x5167e1['push'](_0x5167e1['shift']());}catch(_0x1dfebe){_0x5167e1['push'](_0x5167e1['shift']());}}}(_0x2cc2,0xd7733));import{ISheetPrintManagerService as _0x1d344a,ConfirmSheetPrintOperation as _0x1d52a7,SheetPrintOpenOperation as _0x126fb9,CancelSheetPrintOperation as _0x1a6c36,hasPrintFacadePermission as _0x5aebf8,SheetScreenShotOperation as _0x1bbbcb,SheetPrintClientService as _0x2d8dd1,PrintArea as _0x61585d,PrintFreeze as _0x5adeba,PrintHeaderFooter as _0x3ffc37,PrintHeaderFooterSymbol as _0x3a41f1}from'@univerjs-pro/sheets-print';import{ICommandService as _0x22f972,PaperType as _0x243e6f,CanceledError as _0x552a53}from'@univerjs/core';import{FWorkbook as _0x43ef66,FRange as _0x10f013}from'@univerjs/sheets/facade';import{FEventName as _0x20818e,FEnum as _0x25723d,FUniver as _0x24c650}from'@univerjs/core/facade';import{PrintAlign as _0x43030e,PrintPaperMargin as _0x140c9e,PrintScale as _0x229ec7,PrintDirection as _0x281b76}from'@univerjs-pro/print';class A extends _0x43ef66{[_0x281daa(0x11f)](_0x6524f3){const _0x51cfc0=_0x281daa;return this[_0x51cfc0(0xf8)][_0x51cfc0(0x10e)](_0x1d344a)['updateLayoutConfig'](_0x6524f3),this;}[_0x281daa(0x118)](_0x184ee5){const _0x19c15d=_0x281daa;return this[_0x19c15d(0xf8)][_0x19c15d(0x10e)](_0x1d344a)['updateRenderConfig'](_0x184ee5),this;}['print'](){const _0x279851=_0x281daa;return this[_0x279851(0xf8)][_0x279851(0x10e)](_0x22f972)[_0x279851(0x10b)](_0x1d52a7['id']);}[_0x281daa(0x103)](){const _0x3bc650=_0x281daa;return this[_0x3bc650(0xf8)][_0x3bc650(0x10e)](_0x22f972)[_0x3bc650(0x10b)](_0x126fb9['id']);}['closePrintDialog'](){const _0x39efd4=_0x281daa;return this[_0x39efd4(0xf8)][_0x39efd4(0x10e)](_0x22f972)[_0x39efd4(0x10b)](_0x1a6c36['id']);}async[_0x281daa(0x102)](){const _0x3a0f5e=_0x281daa;return _0x5aebf8(this[_0x3a0f5e(0xf8)])?this['_injector'][_0x3a0f5e(0x10e)](_0x22f972)[_0x3a0f5e(0x101)](_0x1bbbcb['id']):!0x1;}}_0x43ef66[_0x281daa(0xfa)](A);class B extends _0x10f013{[_0x281daa(0x120)](){const _0x323073=_0x281daa;return _0x5aebf8(this['_injector'])?this[_0x323073(0xf8)]['get'](_0x2d8dd1)[_0x323073(0xf6)](this[_0x323073(0x107)][_0x323073(0x115)](),this[_0x323073(0x114)][_0x323073(0x109)](),this[_0x323073(0xf1)]):!0x1;}}_0x10f013[_0x281daa(0xfa)](B);class H{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x1caf60=_0x281daa;return _0x1caf60(0xf5);}get[_0x281daa(0x10c)](){return'BeforeSheetPrintCanceled';}get[_0x281daa(0x11a)](){const _0x49a190=_0x281daa;return _0x49a190(0x11a);}get[_0x281daa(0x100)](){const _0x52331d=_0x281daa;return _0x52331d(0x100);}get[_0x281daa(0xf7)](){return'SheetPrintCanceled';}}function _0x2085(_0x218882,_0x598574){const _0x2cc233=_0x2cc2();return _0x2085=function(_0x2085d8,_0x16692e){_0x2085d8=_0x2085d8-0xf1;let _0x21dc92=_0x2cc233[_0x2085d8];return _0x21dc92;},_0x2085(_0x218882,_0x598574);}_0x20818e['extend'](H);class U{get[_0x281daa(0x11d)](){return _0x61585d;}get['PrintAlign'](){return _0x43030e;}get[_0x281daa(0xf2)](){return _0x243e6f;}get[_0x281daa(0xff)](){return _0x140c9e;}get['PrintScale'](){return _0x229ec7;}get[_0x281daa(0x119)](){return _0x281b76;}get[_0x281daa(0xf3)](){return _0x5adeba;}get[_0x281daa(0x11b)](){return _0x3ffc37;}get['PrintHeaderFooterSymbol'](){return _0x3a41f1;}}function _0x2cc2(){const _0x81737c=['PrintDirection','SheetPrintOpen','PrintHeaderFooter','10453128WbbPYw','PrintArea','renderConfig','updatePrintConfig','getScreenshot','_range','PrintPaperSize','PrintFreeze','registerEventHandler','BeforeSheetPrintConfirm','getRangeImage','SheetPrintCanceled','_injector','layoutConfig','extend','onCommandExecuted','981NlPJOs','5478JdxPZY','458722jYTZVj','PrintPaperMargin','SheetPrintConfirmed','executeCommand','saveScreenshotToClipboard','openPrintDialog','fireEvent','14828KsuaXP','763XjCcmV','_workbook','BeforeSheetPrintOpen','getSheetId','804352NhiPVr','syncExecuteCommand','BeforeSheetPrintCanceled','getActiveUniverSheet','get','20442627KKLBTO','cancel','Event','getActiveSheet','_initialize','_worksheet','getUnitId','6429865ZnZrnc','beforeCommandExecuted','updatePrintRenderConfig'];_0x2cc2=function(){return _0x81737c;};return _0x2cc2();}_0x25723d[_0x281daa(0xfa)](U);class M extends _0x24c650{[_0x281daa(0x113)](_0x258a7a){const _0x25e39f=_0x281daa,_0xe803d7=_0x258a7a[_0x25e39f(0x10e)](_0x22f972);this[_0x25e39f(0xf4)](this[_0x25e39f(0x111)][_0x25e39f(0x108)],()=>_0xe803d7[_0x25e39f(0x117)](_0x1b75fa=>{const _0x1522d5=_0x25e39f;if(_0x1b75fa['id']===_0x126fb9['id']){const _0x112271=this[_0x1522d5(0x10d)]();if(!_0x112271)return;const _0x38f746={'workbook':_0x112271,'worksheet':_0x112271[_0x1522d5(0x112)]()};if(_0x38f746==null)return;if(this[_0x1522d5(0x104)](this[_0x1522d5(0x111)][_0x1522d5(0x108)],_0x38f746),_0x38f746['cancel'])throw new _0x552a53();}})),this[_0x25e39f(0xf4)](this['Event'][_0x25e39f(0xf5)],()=>_0xe803d7[_0x25e39f(0x117)](_0x85fc53=>{const _0x45e771=_0x25e39f;if(_0x85fc53['id']===_0x1d52a7['id']){const _0x1f4cbb=_0x258a7a[_0x45e771(0x10e)](_0x1d344a);if(!this[_0x45e771(0x10d)]())return;const _0x1871e1={'layoutConfig':_0x1f4cbb[_0x45e771(0xf9)],'renderConfig':_0x1f4cbb[_0x45e771(0x11e)]};if(_0x1871e1==null)return;if(this['fireEvent'](this[_0x45e771(0x111)]['BeforeSheetPrintConfirm'],_0x1871e1),_0x1871e1[_0x45e771(0x110)])throw new _0x552a53();}})),this[_0x25e39f(0xf4)](this[_0x25e39f(0x111)][_0x25e39f(0x10c)],()=>_0xe803d7[_0x25e39f(0x117)](_0x5a54c1=>{const _0x4df569=_0x25e39f;if(_0x5a54c1['id']===_0x1a6c36['id']){const _0x5f16f2=_0x258a7a[_0x4df569(0x10e)](_0x1d344a);if(!this['getActiveUniverSheet']())return;const _0x167ad9={'layoutConfig':_0x5f16f2[_0x4df569(0xf9)],'renderConfig':_0x5f16f2[_0x4df569(0x11e)]};if(_0x167ad9==null)return;if(this[_0x4df569(0x104)](this[_0x4df569(0x111)][_0x4df569(0x10c)],_0x167ad9),_0x167ad9[_0x4df569(0x110)])throw new _0x552a53();}})),this[_0x25e39f(0xf4)](this[_0x25e39f(0x111)]['SheetPrintOpen'],()=>_0xe803d7['onCommandExecuted'](_0x164087=>{const _0x1db5a0=_0x25e39f;if(_0x164087['id']===_0x126fb9['id']){const _0x4919f1=this[_0x1db5a0(0x10d)]();if(!_0x4919f1)return;const _0xc20b82={'workbook':_0x4919f1,'worksheet':_0x4919f1[_0x1db5a0(0x112)]()};if(_0xc20b82==null)return;this[_0x1db5a0(0x104)](this[_0x1db5a0(0x111)][_0x1db5a0(0x11a)],_0xc20b82);}})),this[_0x25e39f(0xf4)](this['Event'][_0x25e39f(0x100)],()=>_0xe803d7[_0x25e39f(0xfb)](_0x1d8b1c=>{const _0x526dd3=_0x25e39f;if(_0x1d8b1c['id']===_0x1d52a7['id']){const _0x2d94aa=_0x258a7a[_0x526dd3(0x10e)](_0x1d344a);if(!this['getActiveUniverSheet']())return;const _0x44dc4d={'layoutConfig':_0x2d94aa[_0x526dd3(0xf9)],'renderConfig':_0x2d94aa[_0x526dd3(0x11e)]};if(_0x44dc4d==null)return;this[_0x526dd3(0x104)](this[_0x526dd3(0x111)][_0x526dd3(0x100)],_0x44dc4d);}})),this[_0x25e39f(0xf4)](this['Event'][_0x25e39f(0xf7)],()=>_0xe803d7[_0x25e39f(0xfb)](_0x14b456=>{const _0x445317=_0x25e39f;if(_0x14b456['id']===_0x1a6c36['id']){const _0xb9cc8d=_0x258a7a['get'](_0x1d344a);if(!this[_0x445317(0x10d)]())return;const _0x4ac672={'layoutConfig':_0xb9cc8d['layoutConfig'],'renderConfig':_0xb9cc8d[_0x445317(0x11e)]};if(_0x4ac672==null)return;this[_0x445317(0x104)](this['Event'][_0x445317(0xf7)],_0x4ac672);}}));}}_0x24c650[_0x281daa(0xfa)](M);
|