@univerjs-pro/sheets-print 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251220-0a5ea4d
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 +37 -37
- 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
|
-
function
|
|
1
|
+
const _0x4c2c6c=_0x8f3b;function _0x17dd(){const _0x1d756b=['HH:mm:ss','B4\x20(9.84\x22\x20x\x2013.90\x22)','格式設定','時間D','日期B','2317HpQWNF','日期F','顯示分頁符號','日期C','hh:mm','活頁簿標題','17688fmzhiM','調整至頁面高度','5yRwbUb','已選取的儲存格','重複凍結的欄','95418XzoJKr','A5\x20(5.83\x22\x20x\x208.27\x22)','頁首和頁尾','1289960UaTYRH','927296RKDWaL','總頁數','日期格式','調整至頁面寬度','垂直對齊','日期D','列與欄限制','每頁最大列數','自訂义頁邊距','所有工作表','目前工作表','MM/DD','自訂比例','圖片已成功複製到剪貼簿!','活頁簿','MM-DD','目前時間','列與欄標題','自訂頁首/頁尾','下一步','A3\x20(11.69\x22\x20x\x2016.54\x22)','hh:mm:ss','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','每頁最大欄數','3922677KInzcK','A4\x20(8.27\x22\x20x\x2011.69\x22)','顯示浮水印','24595128ZHMrhM','總計:','張工作表','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','Letter\x20(8.5\x22\x20x\x2011\x22)','重複凍結的列','關閉並隱藏分頁線','目前日期','複製為圖片','4768984zOUWZq','顯示分頁線','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','紙張大小','列印版面配置','標準\x20(100%)','列印中,請勿關閉頁面','時間C','Folio\x20(8.5\x22\x20x\x2013\x22)','圖片複製到剪貼簿失敗!'];_0x17dd=function(){return _0x1d756b;};return _0x17dd();}(function(_0x441907,_0x16920e){const _0x1cb6f5=_0x8f3b,_0x2bfed0=_0x441907();while(!![]){try{const _0x5f04eb=parseInt(_0x1cb6f5(0xee))/0x1+parseInt(_0x1cb6f5(0xeb))/0x2+-parseInt(_0x1cb6f5(0x107))/0x3+-parseInt(_0x1cb6f5(0xef))/0x4*(parseInt(_0x1cb6f5(0xe8))/0x5)+-parseInt(_0x1cb6f5(0xe6))/0x6*(parseInt(_0x1cb6f5(0xe0))/0x7)+-parseInt(_0x1cb6f5(0x113))/0x8+parseInt(_0x1cb6f5(0x10a))/0x9;if(_0x5f04eb===_0x16920e)break;else _0x2bfed0['push'](_0x2bfed0['shift']());}catch(_0xffe444){_0x2bfed0['push'](_0x2bfed0['shift']());}}}(_0x17dd,0xea2bf));const e={'print':{'header':{'total':_0x4c2c6c(0x10b),'pages':'頁','cancel':'取消','next':_0x4c2c6c(0x102),'printing':_0x4c2c6c(0x119)},'menu':'列印','title':'列印','grid':{'title':_0x4c2c6c(0x117),'showGrid':_0x4c2c6c(0xe2),'showGridLabel':_0x4c2c6c(0x114),'closeAndHide':_0x4c2c6c(0x110)},'screenshot':{'title':_0x4c2c6c(0x112),'success':_0x4c2c6c(0xfc),'fail':_0x4c2c6c(0x11c)},'size':{'title':_0x4c2c6c(0x116),'letter':_0x4c2c6c(0x10e),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':'Executive\x20(7.25\x22\x20x\x2010.5\x22)','folio':_0x4c2c6c(0x11b),'a3':_0x4c2c6c(0x103),'a4':_0x4c2c6c(0x108),'a5':_0x4c2c6c(0xec),'b4':_0x4c2c6c(0xdc),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4c2c6c(0xf7),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4c2c6c(0xf9),'workbook':_0x4c2c6c(0xfd),'currentSelection':_0x4c2c6c(0xe9),'maxRowsEachPage':_0x4c2c6c(0xf6),'maxColumnsEachPage':_0x4c2c6c(0x106),'limit':_0x4c2c6c(0xf5),'allSelection':'所有選取的儲存格'},'selection':{'title':'選取範圍','allWorkbook':_0x4c2c6c(0xf8),'workbookUnit':_0x4c2c6c(0x10c)},'scale':{'title':'縮放','normal':_0x4c2c6c(0x118),'fitWidth':_0x4c2c6c(0xf2),'fitHeight':_0x4c2c6c(0xe7),'fitPage':'調整至頁面大小','custom':_0x4c2c6c(0xfb)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4c2c6c(0xdd),'skeleton':'顯示格線','waterMark':_0x4c2c6c(0x109)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x4c2c6c(0xf3),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4c2c6c(0xed),'page':'頁碼','workbook':_0x4c2c6c(0xe5),'sheet':'工作表名稱','date':_0x4c2c6c(0x111),'time':_0x4c2c6c(0xff),'customHeadFooter':_0x4c2c6c(0x101),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x4c2c6c(0xf1),'dateA':'YYYY-MM-DD','dateB':_0x4c2c6c(0xfe),'dateC':'L','dateD':_0x4c2c6c(0xfa),'timeA':_0x4c2c6c(0xdb),'timeB':'HH:mm','timeC':_0x4c2c6c(0x104),'timeD':_0x4c2c6c(0xe4),'display':{'page':'頁碼','title':_0x4c2c6c(0xe5),'sheet':'工作表名稱','dateA':'日期A','dateB':_0x4c2c6c(0xdf),'dateC':_0x4c2c6c(0xe3),'dateD':_0x4c2c6c(0xf4),'dateE':'日期E','dateF':_0x4c2c6c(0xe1),'timeA':'時間A','timeB':'時間B','timeC':_0x4c2c6c(0x11a),'timeD':_0x4c2c6c(0xde),'sheetPage':'工作表頁碼','pageTotal':_0x4c2c6c(0xf0),'sheetPageTotal':'工作表總頁數'},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x4c2c6c(0x100),'desc':_0x4c2c6c(0x10d),'row':_0x4c2c6c(0x10f),'column':_0x4c2c6c(0xea)},'limit':{'page':_0x4c2c6c(0x105),'waterMark':_0x4c2c6c(0x115),'link':'https://univer.ai/pro'}}};function _0x8f3b(_0xb2c896,_0x2665b0){_0xb2c896=_0xb2c896-0xdb;const _0x17ddf7=_0x17dd();let _0x8f3b3a=_0x17ddf7[_0xb2c896];return _0x8f3b3a;}export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5c0e9d=_0x41fb;(function(_0x3fe7dd,_0x1735f5){const _0x1caeba=_0x41fb,_0xc82b7=_0x3fe7dd();while(!![]){try{const _0x1509ed=parseInt(_0x1caeba(0x218))/0x1*(-parseInt(_0x1caeba(0x1ef))/0x2)+-parseInt(_0x1caeba(0x20e))/0x3*(-parseInt(_0x1caeba(0x1fd))/0x4)+parseInt(_0x1caeba(0x216))/0x5+parseInt(_0x1caeba(0x1fc))/0x6+-parseInt(_0x1caeba(0x1f1))/0x7*(-parseInt(_0x1caeba(0x20a))/0x8)+-parseInt(_0x1caeba(0x1ee))/0x9+parseInt(_0x1caeba(0x201))/0xa*(-parseInt(_0x1caeba(0x1fa))/0xb);if(_0x1509ed===_0x1735f5)break;else _0xc82b7['push'](_0xc82b7['shift']());}catch(_0x851c64){_0xc82b7['push'](_0xc82b7['shift']());}}}(_0x1297,0x221d1));import{ISheetPrintManagerService as _0x402c36,ConfirmSheetPrintOperation as _0x4c96b5,SheetPrintOpenOperation as _0x3b37cb,CancelSheetPrintOperation as _0x3c762a,hasPrintFacadePermission as _0x4c96d1,SheetScreenShotOperation as _0x52481c,SheetPrintClientService as _0x5ed8d9,PrintArea as _0x1c81b1,PrintFreeze as _0xa06ab7,PrintHeaderFooter as _0x3c464a,PrintHeaderFooterSymbol as _0x13410f}from'@univerjs-pro/sheets-print';function _0x1297(){const _0x517ea2=['BeforeSheetPrintCanceled','1934343bbrtnA','4qfquBy','PrintHeaderFooterSymbol','35iuWPJf','updateRenderConfig','_initialize','SheetPrintConfirmed','SheetPrintCanceled','registerEventHandler','PrintScale','_injector','getActiveUniverSheet','77tiWwgc','PrintPaperSize','1481322KwpWfF','16eGjXQV','extend','print','BeforeSheetPrintConfirm','43270UGcbjv','onCommandExecuted','cancel','Event','closePrintDialog','PrintHeaderFooter','getRangeImage','PrintFreeze','get','285896mesyav','executeCommand','SheetPrintOpen','PrintAlign','82659tQFgBv','fireEvent','syncExecuteCommand','PrintPaperMargin','layoutConfig','beforeCommandExecuted','updatePrintConfig','renderConfig','457035zJQmCk','saveScreenshotToClipboard','121123RHjJgB','getUnitId','_range','openPrintDialog','BeforeSheetPrintOpen','getActiveSheet','updateLayoutConfig'];_0x1297=function(){return _0x517ea2;};return _0x1297();}import{ICommandService as _0x402931,PaperType as _0xb3cc6c,CanceledError as _0x27caa4}from'@univerjs/core';import{FWorkbook as _0x15f9bc,FRange as _0xd2bcba}from'@univerjs/sheets/facade';import{FEventName as _0x13d6fb,FEnum as _0x2b4c6d,FUniver as _0x357558}from'@univerjs/core/facade';import{PrintAlign as _0x478b8e,PrintPaperMargin as _0x4568db,PrintScale as _0x26241f,PrintDirection as _0x43588a}from'@univerjs-pro/print';class A extends _0x15f9bc{[_0x5c0e9d(0x214)](_0x21d247){const _0x264e2f=_0x5c0e9d;return this[_0x264e2f(0x1f8)][_0x264e2f(0x209)](_0x402c36)[_0x264e2f(0x1ec)](_0x21d247),this;}['updatePrintRenderConfig'](_0x2682e8){const _0x877a66=_0x5c0e9d;return this[_0x877a66(0x1f8)][_0x877a66(0x209)](_0x402c36)[_0x877a66(0x1f2)](_0x2682e8),this;}[_0x5c0e9d(0x1ff)](){const _0xc5e5f8=_0x5c0e9d;return this[_0xc5e5f8(0x1f8)][_0xc5e5f8(0x209)](_0x402931)['syncExecuteCommand'](_0x4c96b5['id']);}[_0x5c0e9d(0x1e9)](){const _0x2d138f=_0x5c0e9d;return this[_0x2d138f(0x1f8)]['get'](_0x402931)[_0x2d138f(0x210)](_0x3b37cb['id']);}[_0x5c0e9d(0x205)](){const _0x34d7ac=_0x5c0e9d;return this[_0x34d7ac(0x1f8)][_0x34d7ac(0x209)](_0x402931)[_0x34d7ac(0x210)](_0x3c762a['id']);}async[_0x5c0e9d(0x217)](){const _0x368755=_0x5c0e9d;return _0x4c96d1(this['_injector'])?this[_0x368755(0x1f8)][_0x368755(0x209)](_0x402931)[_0x368755(0x20b)](_0x52481c['id']):!0x1;}}_0x15f9bc['extend'](A);function _0x41fb(_0xfa7899,_0x358581){_0xfa7899=_0xfa7899-0x1e8;const _0x1297bf=_0x1297();let _0x41fb7d=_0x1297bf[_0xfa7899];return _0x41fb7d;}class B extends _0xd2bcba{['getScreenshot'](){const _0x1ae7df=_0x5c0e9d;return _0x4c96d1(this[_0x1ae7df(0x1f8)])?this[_0x1ae7df(0x1f8)][_0x1ae7df(0x209)](_0x5ed8d9)[_0x1ae7df(0x207)](this['_workbook'][_0x1ae7df(0x219)](),this['_worksheet']['getSheetId'](),this[_0x1ae7df(0x1e8)]):!0x1;}}_0xd2bcba[_0x5c0e9d(0x1fe)](B);class H{get['BeforeSheetPrintOpen'](){const _0x133dbd=_0x5c0e9d;return _0x133dbd(0x1ea);}get[_0x5c0e9d(0x200)](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){const _0x5e3763=_0x5c0e9d;return _0x5e3763(0x1ed);}get[_0x5c0e9d(0x20c)](){const _0x30abea=_0x5c0e9d;return _0x30abea(0x20c);}get['SheetPrintConfirmed'](){const _0x52d202=_0x5c0e9d;return _0x52d202(0x1f4);}get['SheetPrintCanceled'](){const _0x43d1c6=_0x5c0e9d;return _0x43d1c6(0x1f5);}}_0x13d6fb[_0x5c0e9d(0x1fe)](H);class U{get['PrintArea'](){return _0x1c81b1;}get[_0x5c0e9d(0x20d)](){return _0x478b8e;}get[_0x5c0e9d(0x1fb)](){return _0xb3cc6c;}get[_0x5c0e9d(0x211)](){return _0x4568db;}get[_0x5c0e9d(0x1f7)](){return _0x26241f;}get['PrintDirection'](){return _0x43588a;}get[_0x5c0e9d(0x208)](){return _0xa06ab7;}get[_0x5c0e9d(0x206)](){return _0x3c464a;}get[_0x5c0e9d(0x1f0)](){return _0x13410f;}}_0x2b4c6d[_0x5c0e9d(0x1fe)](U);class M extends _0x357558{[_0x5c0e9d(0x1f3)](_0x42fe4c){const _0x9b425f=_0x5c0e9d,_0x11e24b=_0x42fe4c[_0x9b425f(0x209)](_0x402931);this[_0x9b425f(0x1f6)](this[_0x9b425f(0x204)][_0x9b425f(0x1ea)],()=>_0x11e24b['beforeCommandExecuted'](_0x2d099f=>{const _0x2665ca=_0x9b425f;if(_0x2d099f['id']===_0x3b37cb['id']){const _0x5ace0e=this['getActiveUniverSheet']();if(!_0x5ace0e)return;const _0x594a55={'workbook':_0x5ace0e,'worksheet':_0x5ace0e[_0x2665ca(0x1eb)]()};if(_0x594a55==null)return;if(this[_0x2665ca(0x20f)](this[_0x2665ca(0x204)]['BeforeSheetPrintOpen'],_0x594a55),_0x594a55[_0x2665ca(0x203)])throw new _0x27caa4();}})),this[_0x9b425f(0x1f6)](this['Event'][_0x9b425f(0x200)],()=>_0x11e24b[_0x9b425f(0x213)](_0x49666b=>{const _0x500e90=_0x9b425f;if(_0x49666b['id']===_0x4c96b5['id']){const _0x2e72dc=_0x42fe4c[_0x500e90(0x209)](_0x402c36);if(!this[_0x500e90(0x1f9)]())return;const _0x420f5c={'layoutConfig':_0x2e72dc[_0x500e90(0x212)],'renderConfig':_0x2e72dc[_0x500e90(0x215)]};if(_0x420f5c==null)return;if(this[_0x500e90(0x20f)](this[_0x500e90(0x204)][_0x500e90(0x200)],_0x420f5c),_0x420f5c[_0x500e90(0x203)])throw new _0x27caa4();}})),this[_0x9b425f(0x1f6)](this[_0x9b425f(0x204)]['BeforeSheetPrintCanceled'],()=>_0x11e24b['beforeCommandExecuted'](_0x766c6=>{const _0x444566=_0x9b425f;if(_0x766c6['id']===_0x3c762a['id']){const _0x577112=_0x42fe4c['get'](_0x402c36);if(!this[_0x444566(0x1f9)]())return;const _0x4d0d9f={'layoutConfig':_0x577112[_0x444566(0x212)],'renderConfig':_0x577112[_0x444566(0x215)]};if(_0x4d0d9f==null)return;if(this[_0x444566(0x20f)](this[_0x444566(0x204)][_0x444566(0x1ed)],_0x4d0d9f),_0x4d0d9f[_0x444566(0x203)])throw new _0x27caa4();}})),this[_0x9b425f(0x1f6)](this[_0x9b425f(0x204)][_0x9b425f(0x20c)],()=>_0x11e24b['onCommandExecuted'](_0x573e46=>{const _0x2c025c=_0x9b425f;if(_0x573e46['id']===_0x3b37cb['id']){const _0x23e0dd=this['getActiveUniverSheet']();if(!_0x23e0dd)return;const _0x404e0b={'workbook':_0x23e0dd,'worksheet':_0x23e0dd[_0x2c025c(0x1eb)]()};if(_0x404e0b==null)return;this[_0x2c025c(0x20f)](this[_0x2c025c(0x204)][_0x2c025c(0x20c)],_0x404e0b);}})),this[_0x9b425f(0x1f6)](this[_0x9b425f(0x204)][_0x9b425f(0x1f4)],()=>_0x11e24b[_0x9b425f(0x202)](_0x7096fb=>{const _0x313058=_0x9b425f;if(_0x7096fb['id']===_0x4c96b5['id']){const _0x1d9f35=_0x42fe4c[_0x313058(0x209)](_0x402c36);if(!this['getActiveUniverSheet']())return;const _0x3c4d28={'layoutConfig':_0x1d9f35[_0x313058(0x212)],'renderConfig':_0x1d9f35['renderConfig']};if(_0x3c4d28==null)return;this['fireEvent'](this[_0x313058(0x204)][_0x313058(0x1f4)],_0x3c4d28);}})),this[_0x9b425f(0x1f6)](this[_0x9b425f(0x204)]['SheetPrintCanceled'],()=>_0x11e24b[_0x9b425f(0x202)](_0xb97890=>{const _0x515674=_0x9b425f;if(_0xb97890['id']===_0x3c762a['id']){const _0x2ea556=_0x42fe4c[_0x515674(0x209)](_0x402c36);if(!this[_0x515674(0x1f9)]())return;const _0x45580d={'layoutConfig':_0x2ea556['layoutConfig'],'renderConfig':_0x2ea556[_0x515674(0x215)]};if(_0x45580d==null)return;this[_0x515674(0x20f)](this[_0x515674(0x204)][_0x515674(0x1f5)],_0x45580d);}}));}}_0x357558[_0x5c0e9d(0x1fe)](M);
|