@univerjs-pro/sheets-print 0.14.0-insiders.20251227-b250a8d → 0.15.0-insiders.20251227-dafc157
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/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x4e56(_0x323d06,_0x74871b){_0x323d06=_0x323d06-0x14e;const _0x725f97=_0x725f();let _0x4e566e=_0x725f97[_0x323d06];return _0x4e566e;}const _0x3c4f02=_0x4e56;(function(_0x1a92c2,_0x10fe3c){const _0xbdeaa8=_0x4e56,_0x3f99a8=_0x1a92c2();while(!![]){try{const _0x4a6892=parseInt(_0xbdeaa8(0x17c))/0x1*(parseInt(_0xbdeaa8(0x16c))/0x2)+-parseInt(_0xbdeaa8(0x185))/0x3*(-parseInt(_0xbdeaa8(0x150))/0x4)+-parseInt(_0xbdeaa8(0x164))/0x5+parseInt(_0xbdeaa8(0x165))/0x6+parseInt(_0xbdeaa8(0x177))/0x7+parseInt(_0xbdeaa8(0x14f))/0x8+-parseInt(_0xbdeaa8(0x184))/0x9;if(_0x4a6892===_0x10fe3c)break;else _0x3f99a8['push'](_0x3f99a8['shift']());}catch(_0x402e8c){_0x3f99a8['push'](_0x3f99a8['shift']());}}}(_0x725f,0x7a7ba));function _0x725f(){const _0x24fdcd=['2268411CMgZDh','HH:mm:ss','複製為圖片','日期B','Executive\x20(7.25\x22\x20x\x2010.5\x22)','https://univer.ai/pro','每頁最大列數','MM-DD','目前工作表','6595056ARmQsE','4PpkRMR','時間C','調整至頁面大小','每頁最大欄數','Statement\x20(5.5\x22\x20x\x208.5\x22)','MM/DD','目前時間','工作表總頁數','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','工作表頁碼','圖片複製到剪貼簿失敗!','自訂比例','YYYY-MM-DD','時間A','列印中,請勿關閉頁面','B4\x20(9.84\x22\x20x\x2013.90\x22)','時間D','HH:mm','hh:mm:ss','日期格式','2699070pAasZc','2430594vFjduH','調整至頁面寬度','hh:mm','調整至頁面高度','自訂义頁邊距','日期C','總頁數','10kphhrP','顯示分頁線','頁首和頁尾','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','工作表名稱','水平對齊','A5\x20(5.83\x22\x20x\x208.27\x22)','編輯自訂頁首/頁尾','所有工作表','時間B','自訂頁首/頁尾','140231XcRVIY','垂直對齊','所有選取的儲存格','下一步','B5\x20(6.93\x22\x20x\x209.84\x22)','23428SyrsWk','A4\x20(8.27\x22\x20x\x2011.69\x22)','選取範圍','顯示分頁符號','總計:','張工作表','顯示浮水印','exports','9731583xuvLtQ'];_0x725f=function(){return _0x24fdcd;};return _0x725f();}const e={'print':{'header':{'total':_0x3c4f02(0x180),'pages':'頁','cancel':'取消','next':_0x3c4f02(0x17a),'printing':_0x3c4f02(0x15e)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x3c4f02(0x17f),'showGridLabel':_0x3c4f02(0x16d),'closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x3c4f02(0x187),'success':'圖片已成功複製到剪貼簿!','fail':_0x3c4f02(0x15a)},'size':{'title':'紙張大小','letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':_0x3c4f02(0x154),'executive':_0x3c4f02(0x189),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x3c4f02(0x17d),'a5':_0x3c4f02(0x172),'b4':_0x3c4f02(0x15f),'b5':_0x3c4f02(0x17b)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x3c4f02(0x169),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x3c4f02(0x14e),'workbook':'活頁簿','currentSelection':'已選取的儲存格','maxRowsEachPage':_0x3c4f02(0x18b),'maxColumnsEachPage':_0x3c4f02(0x153),'limit':'列與欄限制','allSelection':_0x3c4f02(0x179)},'selection':{'title':_0x3c4f02(0x17e),'allWorkbook':_0x3c4f02(0x174),'workbookUnit':_0x3c4f02(0x181)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x3c4f02(0x166),'fitHeight':_0x3c4f02(0x168),'fitPage':_0x3c4f02(0x152),'custom':_0x3c4f02(0x15b)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':'顯示格線','waterMark':_0x3c4f02(0x182)},'align':{'title':'對齊','horizontal':{'title':_0x3c4f02(0x171),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x3c4f02(0x178),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x3c4f02(0x16e),'page':'頁碼','workbook':'活頁簿標題','sheet':'工作表名稱','date':'目前日期','time':_0x3c4f02(0x156),'customHeadFooter':_0x3c4f02(0x176),'editCustomHeadFooter':_0x3c4f02(0x173),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x3c4f02(0x163),'dateA':_0x3c4f02(0x15c),'dateB':_0x3c4f02(0x18c),'dateC':'L','dateD':_0x3c4f02(0x155),'timeA':_0x3c4f02(0x186),'timeB':_0x3c4f02(0x161),'timeC':_0x3c4f02(0x162),'timeD':_0x3c4f02(0x167),'display':{'page':'頁碼','title':'活頁簿標題','sheet':_0x3c4f02(0x170),'dateA':'日期A','dateB':_0x3c4f02(0x188),'dateC':_0x3c4f02(0x16a),'dateD':'日期D','dateE':'日期E','dateF':'日期F','timeA':_0x3c4f02(0x15d),'timeB':_0x3c4f02(0x175),'timeC':_0x3c4f02(0x151),'timeD':_0x3c4f02(0x160),'sheetPage':_0x3c4f02(0x159),'pageTotal':_0x3c4f02(0x16b),'sheetPageTotal':_0x3c4f02(0x157)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':'列與欄標題','desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':'重複凍結的列','column':'重複凍結的欄'},'limit':{'page':_0x3c4f02(0x158),'waterMark':_0x3c4f02(0x16f),'link':_0x3c4f02(0x18a)}}};module[_0x3c4f02(0x183)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x48d022=_0x1697;(function(_0x1fc80e,_0x59d4db){const _0xcca06e=_0x1697,_0x1c0947=_0x1fc80e();while(!![]){try{const _0x4fdd40=parseInt(_0xcca06e(0x86))/0x1*(parseInt(_0xcca06e(0x94))/0x2)+-parseInt(_0xcca06e(0xa7))/0x3*(-parseInt(_0xcca06e(0xa5))/0x4)+parseInt(_0xcca06e(0xa0))/0x5*(parseInt(_0xcca06e(0x90))/0x6)+parseInt(_0xcca06e(0xaf))/0x7+-parseInt(_0xcca06e(0x93))/0x8*(-parseInt(_0xcca06e(0x8f))/0x9)+-parseInt(_0xcca06e(0x8c))/0xa+-parseInt(_0xcca06e(0xa8))/0xb*(parseInt(_0xcca06e(0x96))/0xc);if(_0x4fdd40===_0x59d4db)break;else _0x1c0947['push'](_0x1c0947['shift']());}catch(_0x2af93d){_0x1c0947['push'](_0x1c0947['shift']());}}}(_0x2a99,0xa3999));import{ISheetPrintManagerService as _0x1779bb,ConfirmSheetPrintOperation as _0x1da723,SheetPrintOpenOperation as _0x58a5b2,CancelSheetPrintOperation as _0x2a2207,hasPrintFacadePermission as _0x2ae0f9,SheetScreenShotOperation as _0x1e1da0,SheetPrintClientService as _0x2c69a1,PrintArea as _0x3ca57c,PrintFreeze as _0x4c0f76,PrintHeaderFooter as _0x16005a,PrintHeaderFooterSymbol as _0x266793}from'@univerjs-pro/sheets-print';import{ICommandService as _0x3440d7,PaperType as _0x4c790e,CanceledError as _0x4f317b}from'@univerjs/core';import{FWorkbook as _0x29ea67,FRange as _0x1f1b7e}from'@univerjs/sheets/facade';import{FEventName as _0x5aef88,FEnum as _0x15ee0c,FUniver as _0x3686fe}from'@univerjs/core/facade';import{PrintAlign as _0x5dca4a,PrintPaperMargin as _0x4abf3c,PrintScale as _0x3afc97,PrintDirection as _0x27851f}from'@univerjs-pro/print';class A extends _0x29ea67{[_0x48d022(0x84)](_0x8f3c67){const _0x98ff40=_0x48d022;return this[_0x98ff40(0xa1)][_0x98ff40(0xae)](_0x1779bb)[_0x98ff40(0x7f)](_0x8f3c67),this;}[_0x48d022(0x88)](_0x7aeb66){const _0x76d3f4=_0x48d022;return this['_injector'][_0x76d3f4(0xae)](_0x1779bb)[_0x76d3f4(0xaa)](_0x7aeb66),this;}[_0x48d022(0x8d)](){const _0x3a1e35=_0x48d022;return this[_0x3a1e35(0xa1)][_0x3a1e35(0xae)](_0x3440d7)['syncExecuteCommand'](_0x1da723['id']);}['openPrintDialog'](){const _0x431c3b=_0x48d022;return this[_0x431c3b(0xa1)][_0x431c3b(0xae)](_0x3440d7)[_0x431c3b(0x9f)](_0x58a5b2['id']);}[_0x48d022(0x98)](){const _0x1ce018=_0x48d022;return this['_injector'][_0x1ce018(0xae)](_0x3440d7)[_0x1ce018(0x9f)](_0x2a2207['id']);}async['saveScreenshotToClipboard'](){const _0x1cc43e=_0x48d022;return _0x2ae0f9(this[_0x1cc43e(0xa1)])?this[_0x1cc43e(0xa1)]['get'](_0x3440d7)[_0x1cc43e(0x92)](_0x1e1da0['id']):!0x1;}}_0x29ea67[_0x48d022(0x8b)](A);class B extends _0x1f1b7e{[_0x48d022(0x83)](){const _0x3f0ad3=_0x48d022;return _0x2ae0f9(this['_injector'])?this[_0x3f0ad3(0xa1)][_0x3f0ad3(0xae)](_0x2c69a1)['getRangeImage'](this[_0x3f0ad3(0x8a)][_0x3f0ad3(0x97)](),this[_0x3f0ad3(0x99)][_0x3f0ad3(0x9a)](),this[_0x3f0ad3(0x91)]):!0x1;}}_0x1f1b7e[_0x48d022(0x8b)](B);class H{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x48d022(0x89)](){const _0x4436b0=_0x48d022;return _0x4436b0(0x89);}get[_0x48d022(0x7e)](){const _0x362489=_0x48d022;return _0x362489(0x7e);}get[_0x48d022(0x80)](){return'SheetPrintOpen';}get[_0x48d022(0x87)](){const _0x4b3340=_0x48d022;return _0x4b3340(0x87);}get[_0x48d022(0x9e)](){const _0x47b3a7=_0x48d022;return _0x47b3a7(0x9e);}}_0x5aef88[_0x48d022(0x8b)](H);class U{get['PrintArea'](){return _0x3ca57c;}get[_0x48d022(0xa6)](){return _0x5dca4a;}get[_0x48d022(0x82)](){return _0x4c790e;}get[_0x48d022(0xa4)](){return _0x4abf3c;}get['PrintScale'](){return _0x3afc97;}get[_0x48d022(0xb1)](){return _0x27851f;}get[_0x48d022(0xad)](){return _0x4c0f76;}get[_0x48d022(0x95)](){return _0x16005a;}get[_0x48d022(0x8e)](){return _0x266793;}}_0x15ee0c['extend'](U);class M extends _0x3686fe{[_0x48d022(0xb0)](_0x100708){const _0x2952e0=_0x48d022,_0x4cd787=_0x100708[_0x2952e0(0xae)](_0x3440d7);this[_0x2952e0(0x85)](this['Event'][_0x2952e0(0x9d)],()=>_0x4cd787[_0x2952e0(0xa9)](_0x1b3579=>{const _0x54d48d=_0x2952e0;if(_0x1b3579['id']===_0x58a5b2['id']){const _0x4e8627=this[_0x54d48d(0xa3)]();if(!_0x4e8627)return;const _0x113524={'workbook':_0x4e8627,'worksheet':_0x4e8627[_0x54d48d(0x9b)]()};if(_0x113524==null)return;if(this[_0x54d48d(0x81)](this[_0x54d48d(0xac)]['BeforeSheetPrintOpen'],_0x113524),_0x113524['cancel'])throw new _0x4f317b();}})),this[_0x2952e0(0x85)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x4cd787['beforeCommandExecuted'](_0x2e46ea=>{const _0x546732=_0x2952e0;if(_0x2e46ea['id']===_0x1da723['id']){const _0x56d6af=_0x100708[_0x546732(0xae)](_0x1779bb);if(!this[_0x546732(0xa3)]())return;const _0x44e4b4={'layoutConfig':_0x56d6af['layoutConfig'],'renderConfig':_0x56d6af[_0x546732(0x9c)]};if(_0x44e4b4==null)return;if(this['fireEvent'](this[_0x546732(0xac)][_0x546732(0x89)],_0x44e4b4),_0x44e4b4[_0x546732(0xb2)])throw new _0x4f317b();}})),this[_0x2952e0(0x85)](this[_0x2952e0(0xac)][_0x2952e0(0x7e)],()=>_0x4cd787['beforeCommandExecuted'](_0x563c7c=>{const _0x1b8e3b=_0x2952e0;if(_0x563c7c['id']===_0x2a2207['id']){const _0x222478=_0x100708[_0x1b8e3b(0xae)](_0x1779bb);if(!this['getActiveUniverSheet']())return;const _0x40213e={'layoutConfig':_0x222478[_0x1b8e3b(0xa2)],'renderConfig':_0x222478['renderConfig']};if(_0x40213e==null)return;if(this[_0x1b8e3b(0x81)](this[_0x1b8e3b(0xac)][_0x1b8e3b(0x7e)],_0x40213e),_0x40213e[_0x1b8e3b(0xb2)])throw new _0x4f317b();}})),this[_0x2952e0(0x85)](this['Event'][_0x2952e0(0x80)],()=>_0x4cd787['onCommandExecuted'](_0x4dc683=>{const _0x27fa3a=_0x2952e0;if(_0x4dc683['id']===_0x58a5b2['id']){const _0x4184d9=this[_0x27fa3a(0xa3)]();if(!_0x4184d9)return;const _0x18396c={'workbook':_0x4184d9,'worksheet':_0x4184d9['getActiveSheet']()};if(_0x18396c==null)return;this[_0x27fa3a(0x81)](this[_0x27fa3a(0xac)][_0x27fa3a(0x80)],_0x18396c);}})),this['registerEventHandler'](this[_0x2952e0(0xac)][_0x2952e0(0x87)],()=>_0x4cd787[_0x2952e0(0xab)](_0x30b789=>{const _0x47e2da=_0x2952e0;if(_0x30b789['id']===_0x1da723['id']){const _0x532efe=_0x100708[_0x47e2da(0xae)](_0x1779bb);if(!this[_0x47e2da(0xa3)]())return;const _0x244350={'layoutConfig':_0x532efe[_0x47e2da(0xa2)],'renderConfig':_0x532efe[_0x47e2da(0x9c)]};if(_0x244350==null)return;this[_0x47e2da(0x81)](this['Event'][_0x47e2da(0x87)],_0x244350);}})),this[_0x2952e0(0x85)](this[_0x2952e0(0xac)][_0x2952e0(0x9e)],()=>_0x4cd787[_0x2952e0(0xab)](_0x56fd33=>{const _0xc2b0ea=_0x2952e0;if(_0x56fd33['id']===_0x2a2207['id']){const _0x1699e0=_0x100708[_0xc2b0ea(0xae)](_0x1779bb);if(!this[_0xc2b0ea(0xa3)]())return;const _0x2aa59d={'layoutConfig':_0x1699e0[_0xc2b0ea(0xa2)],'renderConfig':_0x1699e0[_0xc2b0ea(0x9c)]};if(_0x2aa59d==null)return;this['fireEvent'](this[_0xc2b0ea(0xac)][_0xc2b0ea(0x9e)],_0x2aa59d);}}));}}function _0x2a99(){const _0x820aff=['_range','executeCommand','127552flFMCX','2XEDrHf','PrintHeaderFooter','48GdUzVj','getUnitId','closePrintDialog','_worksheet','getSheetId','getActiveSheet','renderConfig','BeforeSheetPrintOpen','SheetPrintCanceled','syncExecuteCommand','1067585VLRmIp','_injector','layoutConfig','getActiveUniverSheet','PrintPaperMargin','36NEaWPj','PrintAlign','359217jBGLpa','10164143QdWLhZ','beforeCommandExecuted','updateRenderConfig','onCommandExecuted','Event','PrintFreeze','get','3994676KxcrTi','_initialize','PrintDirection','cancel','BeforeSheetPrintCanceled','updateLayoutConfig','SheetPrintOpen','fireEvent','PrintPaperSize','getScreenshot','updatePrintConfig','registerEventHandler','1137238DhujxH','SheetPrintConfirmed','updatePrintRenderConfig','BeforeSheetPrintConfirm','_workbook','extend','6470RyHsdx','print','PrintHeaderFooterSymbol','531UuOQUQ','18WcNDVm'];_0x2a99=function(){return _0x820aff;};return _0x2a99();}function _0x1697(_0x439139,_0x12dbb0){_0x439139=_0x439139-0x7e;const _0x2a99d1=_0x2a99();let _0x1697ec=_0x2a99d1[_0x439139];return _0x1697ec;}_0x3686fe[_0x48d022(0x8b)](M);
|