@univerjs-pro/sheets-print 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260108-7b9120d
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/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x56b6(_0x5bf5ff,_0x262e2c){_0x5bf5ff=_0x5bf5ff-0xb0;const _0x31fbc9=_0x31fb();let _0x56b668=_0x31fbc9[_0x5bf5ff];return _0x56b668;}const _0x4780f7=_0x56b6;function _0x31fb(){const _0x5b62e6=['50366JhyCQf','垂直對齊','目前工作表','40maocaB','自訂比例','YYYY-MM-DD','9IHSnYO','日期E','hh:mm','顯示分頁符號','調整至頁面大小','1098105QfZPxE','已選取的儲存格','自訂义頁邊距','選取範圍','頁首和頁尾','顯示分頁線','A3\x20(11.69\x22\x20x\x2016.54\x22)','調整至頁面高度','3276730XjmGTw','B4\x20(9.84\x22\x20x\x2013.90\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','張工作表','B5\x20(6.93\x22\x20x\x209.84\x22)','31632YkuPgL','7wqghhj','1431282WkXbzG','Executive\x20(7.25\x22\x20x\x2010.5\x22)','29508qQEIqM','重複凍結的欄','4664cTJmTN','格式設定','Folio\x20(8.5\x22\x20x\x2013\x22)','總計:','時間D','下一步','重複凍結的列','總頁數','3928928MPBPoz','Legal\x20(8.5\x22\x20x\x2014\x22)','工作表總頁數','所有工作表','時間C','MM/DD','水平對齊','MM-DD','18sSZhkI','時間A','每頁最大列數','列印中,請勿關閉頁面','紙張大小','目前日期','圖片已成功複製到剪貼簿!','頁面方向','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','關閉並隱藏分頁線','工作表頁碼','A5\x20(5.83\x22\x20x\x208.27\x22)','活頁簿標題','日期C','圖片複製到剪貼簿失敗!','時間B','編輯自訂頁首/頁尾','日期B','每頁最大欄數','複製為圖片','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','日期A','列印版面配置','列與欄限制','A4\x20(8.27\x22\x20x\x2011.69\x22)'];_0x31fb=function(){return _0x5b62e6;};return _0x31fb();}(function(_0x142745,_0x369b91){const _0x140876=_0x56b6,_0x43cf23=_0x142745();while(!![]){try{const _0x537cb8=-parseInt(_0x140876(0xb8))/0x1*(parseInt(_0x140876(0xb2))/0x2)+parseInt(_0x140876(0xce))/0x3*(parseInt(_0x140876(0xb5))/0x4)+parseInt(_0x140876(0xbd))/0x5+-parseInt(_0x140876(0xcc))/0x6*(-parseInt(_0x140876(0xcb))/0x7)+parseInt(_0x140876(0xd8))/0x8+-parseInt(_0x140876(0xe0))/0x9*(-parseInt(_0x140876(0xc5))/0xa)+parseInt(_0x140876(0xd0))/0xb*(-parseInt(_0x140876(0xca))/0xc);if(_0x537cb8===_0x369b91)break;else _0x43cf23['push'](_0x43cf23['shift']());}catch(_0x115ff4){_0x43cf23['push'](_0x43cf23['shift']());}}}(_0x31fb,0x57917));const e={'print':{'header':{'total':_0x4780f7(0xd3),'pages':'頁','cancel':'取消','next':_0x4780f7(0xd5),'printing':_0x4780f7(0xe3)},'menu':'列印','title':'列印','grid':{'title':_0x4780f7(0xf6),'showGrid':_0x4780f7(0xbb),'showGridLabel':_0x4780f7(0xc2),'closeAndHide':_0x4780f7(0xe9)},'screenshot':{'title':_0x4780f7(0xf3),'success':_0x4780f7(0xe6),'fail':_0x4780f7(0xee)},'size':{'title':_0x4780f7(0xe4),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x4780f7(0xd9),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x4780f7(0xcd),'folio':_0x4780f7(0xd2),'a3':_0x4780f7(0xc3),'a4':_0x4780f7(0xb1),'a5':_0x4780f7(0xeb),'b4':_0x4780f7(0xc6),'b5':_0x4780f7(0xc9)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4780f7(0xbf),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4780f7(0xb4),'workbook':'活頁簿','currentSelection':_0x4780f7(0xbe),'maxRowsEachPage':_0x4780f7(0xe2),'maxColumnsEachPage':_0x4780f7(0xf2),'limit':_0x4780f7(0xb0),'allSelection':'所有選取的儲存格'},'selection':{'title':_0x4780f7(0xc0),'allWorkbook':_0x4780f7(0xdb),'workbookUnit':_0x4780f7(0xc8)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x4780f7(0xc4),'fitPage':_0x4780f7(0xbc),'custom':_0x4780f7(0xb6)},'orientation':{'title':_0x4780f7(0xe7),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4780f7(0xd1),'skeleton':'顯示格線','waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x4780f7(0xde),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x4780f7(0xb3),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4780f7(0xc1),'page':'頁碼','workbook':_0x4780f7(0xec),'sheet':'工作表名稱','date':_0x4780f7(0xe5),'time':'目前時間','customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x4780f7(0xf0),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x4780f7(0xb7),'dateB':_0x4780f7(0xdf),'dateC':'L','dateD':_0x4780f7(0xdd),'timeA':'HH:mm:ss','timeB':'HH:mm','timeC':'hh:mm:ss','timeD':_0x4780f7(0xba),'display':{'page':'頁碼','title':'活頁簿標題','sheet':'工作表名稱','dateA':_0x4780f7(0xf5),'dateB':_0x4780f7(0xf1),'dateC':_0x4780f7(0xed),'dateD':'日期D','dateE':_0x4780f7(0xb9),'dateF':'日期F','timeA':_0x4780f7(0xe1),'timeB':_0x4780f7(0xef),'timeC':_0x4780f7(0xdc),'timeD':_0x4780f7(0xd4),'sheetPage':_0x4780f7(0xea),'pageTotal':_0x4780f7(0xd7),'sheetPageTotal':_0x4780f7(0xda)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x4780f7(0xf4),'row':_0x4780f7(0xd6),'column':_0x4780f7(0xcf)},'limit':{'page':_0x4780f7(0xe8),'waterMark':_0x4780f7(0xc7),'link':'https://univer.ai/pro'}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x150812=_0x3a9a;(function(_0xd1ed27,_0x4c9900){const _0x19fa65=_0x3a9a,_0x4c45a3=_0xd1ed27();while(!![]){try{const _0x57ad83=-parseInt(_0x19fa65(0x206))/0x1+parseInt(_0x19fa65(0x20b))/0x2*(parseInt(_0x19fa65(0x1ec))/0x3)+-parseInt(_0x19fa65(0x1f5))/0x4+-parseInt(_0x19fa65(0x1f6))/0x5+-parseInt(_0x19fa65(0x1e8))/0x6+-parseInt(_0x19fa65(0x1fe))/0x7*(parseInt(_0x19fa65(0x208))/0x8)+parseInt(_0x19fa65(0x1fb))/0x9;if(_0x57ad83===_0x4c9900)break;else _0x4c45a3['push'](_0x4c45a3['shift']());}catch(_0xff4735){_0x4c45a3['push'](_0x4c45a3['shift']());}}}(_0x16ff,0xf1357));function _0x16ff(){const _0x525a07=['beforeCommandExecuted','PrintDirection','extend','syncExecuteCommand','PrintHeaderFooterSymbol','layoutConfig','BeforeSheetPrintConfirm','fireEvent','7234794qxRIUZ','updateRenderConfig','renderConfig','get','3FtBdSI','BeforeSheetPrintOpen','getActiveSheet','PrintAlign','SheetPrintConfirmed','SheetPrintOpen','PrintArea','_injector','PrintScale','2438296HnQcOM','2379200gZfAaN','includeHeaders','onCommandExecuted','SheetPrintCanceled','closePrintDialog','63768978XenOCZ','getActiveUniverSheet','registerEventHandler','11081HijDJu','openPrintDialog','_workbook','PrintHeaderFooter','PrintPaperMargin','executeCommand','saveScreenshotToClipboard','BeforeSheetPrintCanceled','1906193CERQCS','getUnitId','9712tujTgj','updatePrintConfig','Event','43434REzwCs','cancel','updatePrintRenderConfig','PrintPaperSize','PrintFreeze','_range','getSheetId'];_0x16ff=function(){return _0x525a07;};return _0x16ff();}import{ISheetPrintManagerService as _0x260dc4,ConfirmSheetPrintOperation as _0x35f5c7,SheetPrintOpenOperation as _0x1a59f8,CancelSheetPrintOperation as _0x5718b2,hasPrintFacadePermission as _0x3e4a2d,SheetScreenShotOperation as _0x563ba7,SheetPrintClientService as _0x43b830,PrintArea as _0x265b4b,PrintFreeze as _0x80fe70,PrintHeaderFooter as _0x262686,PrintHeaderFooterSymbol as _0x20e970}from'@univerjs-pro/sheets-print';import{ICommandService as _0x2e9abc,PaperType as _0x15e873,CanceledError as _0x5bd155}from'@univerjs/core';import{FWorkbook as _0x1ff185,FRange as _0x251f33}from'@univerjs/sheets/facade';import{FEventName as _0x46784a,FEnum as _0x26e699,FUniver as _0x359af2}from'@univerjs/core/facade';import{PrintAlign as _0x1d4ee7,PrintPaperMargin as _0x11d9d3,PrintScale as _0x49918,PrintDirection as _0x5cf1e7}from'@univerjs-pro/print';class A extends _0x1ff185{[_0x150812(0x209)](_0x4c454d){const _0x222529=_0x150812;return this['_injector'][_0x222529(0x1eb)](_0x260dc4)['updateLayoutConfig'](_0x4c454d),this;}[_0x150812(0x20d)](_0xfa13be){const _0x4c8c3a=_0x150812;return this['_injector'][_0x4c8c3a(0x1eb)](_0x260dc4)[_0x4c8c3a(0x1e9)](_0xfa13be),this;}['print'](){const _0x5bfd0a=_0x150812;return this['_injector'][_0x5bfd0a(0x1eb)](_0x2e9abc)[_0x5bfd0a(0x215)](_0x35f5c7['id']);}[_0x150812(0x1ff)](){const _0x422467=_0x150812;return this[_0x422467(0x1f3)][_0x422467(0x1eb)](_0x2e9abc)['syncExecuteCommand'](_0x1a59f8['id']);}[_0x150812(0x1fa)](){const _0x5b5676=_0x150812;return this[_0x5b5676(0x1f3)][_0x5b5676(0x1eb)](_0x2e9abc)[_0x5b5676(0x215)](_0x5718b2['id']);}async[_0x150812(0x204)](){const _0x30db7c=_0x150812;return _0x3e4a2d(this['_injector'])?this[_0x30db7c(0x1f3)]['get'](_0x2e9abc)[_0x30db7c(0x203)](_0x563ba7['id']):!0x1;}}_0x1ff185[_0x150812(0x214)](A);function _0x3a9a(_0x1eee35,_0x4b4317){_0x1eee35=_0x1eee35-0x1e4;const _0x16ff73=_0x16ff();let _0x3a9ac4=_0x16ff73[_0x1eee35];return _0x3a9ac4;}class B extends _0x251f33{['getScreenshot'](_0x3a09a6){const _0x2ccda5=_0x150812;return _0x3e4a2d(this['_injector'])?this[_0x2ccda5(0x1f3)]['get'](_0x43b830)['getRangeImage'](this[_0x2ccda5(0x200)][_0x2ccda5(0x207)](),this['_worksheet'][_0x2ccda5(0x211)](),this[_0x2ccda5(0x210)],_0x3a09a6==null?void 0x0:_0x3a09a6[_0x2ccda5(0x1f7)]):!0x1;}}_0x251f33[_0x150812(0x214)](B);class H{get[_0x150812(0x1ed)](){const _0x42b72b=_0x150812;return _0x42b72b(0x1ed);}get[_0x150812(0x1e6)](){const _0x437391=_0x150812;return _0x437391(0x1e6);}get[_0x150812(0x205)](){const _0x3b0a18=_0x150812;return _0x3b0a18(0x205);}get[_0x150812(0x1f1)](){const _0x123216=_0x150812;return _0x123216(0x1f1);}get[_0x150812(0x1f0)](){const _0x38d712=_0x150812;return _0x38d712(0x1f0);}get[_0x150812(0x1f9)](){const _0x1fe5dc=_0x150812;return _0x1fe5dc(0x1f9);}}_0x46784a[_0x150812(0x214)](H);class U{get[_0x150812(0x1f2)](){return _0x265b4b;}get[_0x150812(0x1ef)](){return _0x1d4ee7;}get[_0x150812(0x20e)](){return _0x15e873;}get[_0x150812(0x202)](){return _0x11d9d3;}get[_0x150812(0x1f4)](){return _0x49918;}get[_0x150812(0x213)](){return _0x5cf1e7;}get[_0x150812(0x20f)](){return _0x80fe70;}get[_0x150812(0x201)](){return _0x262686;}get[_0x150812(0x1e4)](){return _0x20e970;}}_0x26e699[_0x150812(0x214)](U);class M extends _0x359af2{['_initialize'](_0x496023){const _0x859210=_0x150812,_0xba2e99=_0x496023['get'](_0x2e9abc);this[_0x859210(0x1fd)](this['Event']['BeforeSheetPrintOpen'],()=>_0xba2e99[_0x859210(0x212)](_0x2c8224=>{const _0x89b9a7=_0x859210;if(_0x2c8224['id']===_0x1a59f8['id']){const _0x3e0a3d=this[_0x89b9a7(0x1fc)]();if(!_0x3e0a3d)return;const _0x30b4f0={'workbook':_0x3e0a3d,'worksheet':_0x3e0a3d[_0x89b9a7(0x1ee)]()};if(_0x30b4f0==null)return;if(this['fireEvent'](this[_0x89b9a7(0x20a)][_0x89b9a7(0x1ed)],_0x30b4f0),_0x30b4f0['cancel'])throw new _0x5bd155();}})),this['registerEventHandler'](this['Event']['BeforeSheetPrintConfirm'],()=>_0xba2e99[_0x859210(0x212)](_0x51244f=>{const _0x3804e1=_0x859210;if(_0x51244f['id']===_0x35f5c7['id']){const _0x14bcc3=_0x496023['get'](_0x260dc4);if(!this[_0x3804e1(0x1fc)]())return;const _0x4ca7fa={'layoutConfig':_0x14bcc3[_0x3804e1(0x1e5)],'renderConfig':_0x14bcc3[_0x3804e1(0x1ea)]};if(_0x4ca7fa==null)return;if(this[_0x3804e1(0x1e7)](this['Event'][_0x3804e1(0x1e6)],_0x4ca7fa),_0x4ca7fa[_0x3804e1(0x20c)])throw new _0x5bd155();}})),this[_0x859210(0x1fd)](this[_0x859210(0x20a)][_0x859210(0x205)],()=>_0xba2e99[_0x859210(0x212)](_0x5c1082=>{const _0x1c288a=_0x859210;if(_0x5c1082['id']===_0x5718b2['id']){const _0x34712a=_0x496023[_0x1c288a(0x1eb)](_0x260dc4);if(!this[_0x1c288a(0x1fc)]())return;const _0x2e3a30={'layoutConfig':_0x34712a[_0x1c288a(0x1e5)],'renderConfig':_0x34712a['renderConfig']};if(_0x2e3a30==null)return;if(this[_0x1c288a(0x1e7)](this[_0x1c288a(0x20a)][_0x1c288a(0x205)],_0x2e3a30),_0x2e3a30[_0x1c288a(0x20c)])throw new _0x5bd155();}})),this[_0x859210(0x1fd)](this[_0x859210(0x20a)][_0x859210(0x1f1)],()=>_0xba2e99[_0x859210(0x1f8)](_0x2e195b=>{const _0x37dc68=_0x859210;if(_0x2e195b['id']===_0x1a59f8['id']){const _0x4621af=this[_0x37dc68(0x1fc)]();if(!_0x4621af)return;const _0x230fe9={'workbook':_0x4621af,'worksheet':_0x4621af['getActiveSheet']()};if(_0x230fe9==null)return;this[_0x37dc68(0x1e7)](this[_0x37dc68(0x20a)][_0x37dc68(0x1f1)],_0x230fe9);}})),this[_0x859210(0x1fd)](this['Event'][_0x859210(0x1f0)],()=>_0xba2e99[_0x859210(0x1f8)](_0x43dfb2=>{const _0x14383d=_0x859210;if(_0x43dfb2['id']===_0x35f5c7['id']){const _0x2f99dc=_0x496023[_0x14383d(0x1eb)](_0x260dc4);if(!this[_0x14383d(0x1fc)]())return;const _0x5aceed={'layoutConfig':_0x2f99dc[_0x14383d(0x1e5)],'renderConfig':_0x2f99dc[_0x14383d(0x1ea)]};if(_0x5aceed==null)return;this[_0x14383d(0x1e7)](this['Event'][_0x14383d(0x1f0)],_0x5aceed);}})),this[_0x859210(0x1fd)](this['Event'][_0x859210(0x1f9)],()=>_0xba2e99[_0x859210(0x1f8)](_0xf09676=>{const _0x181804=_0x859210;if(_0xf09676['id']===_0x5718b2['id']){const _0x43d53b=_0x496023[_0x181804(0x1eb)](_0x260dc4);if(!this['getActiveUniverSheet']())return;const _0x278c15={'layoutConfig':_0x43d53b[_0x181804(0x1e5)],'renderConfig':_0x43d53b[_0x181804(0x1ea)]};if(_0x278c15==null)return;this[_0x181804(0x1e7)](this['Event'][_0x181804(0x1f9)],_0x278c15);}}));}}_0x359af2[_0x150812(0x214)](M);
|