@univerjs-pro/sheets-print 0.12.4 → 0.13.0-insiders.20251215-64041bb
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 +39 -39
- 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 +16 -16
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x2e46(){const _0x1a6b40=['10zfaDjn','顯示分頁符號','646164YKpMLJ','列印版面配置','總計:','exports','複製為圖片','垂直對齊','HH:mm','A5\x20(5.83\x22\x20x\x208.27\x22)','自訂义頁邊距','活頁簿標題','調整至頁面大小','圖片複製到剪貼簿失敗!','列與欄標題','目前時間','A4\x20(8.27\x22\x20x\x2011.69\x22)','所有工作表','時間B','B5\x20(6.93\x22\x20x\x209.84\x22)','23932370kpMGDr','MM-DD','活頁簿','B4\x20(9.84\x22\x20x\x2013.90\x22)','日期A','工作表名稱','格式設定','編輯自訂頁首/頁尾','Tabloid\x20(11\x22\x20x\x2017\x22)','頁首和頁尾','重複凍結的欄','紙張大小','點擊以新增文字','hh:mm:ss','下一步','調整至頁面寬度','頁面方向','Legal\x20(8.5\x22\x20x\x2014\x22)','https://univer.ai/pro','所有選取的儲存格','時間C','張工作表','時間A','日期E','選取範圍','顯示分頁線','顯示浮水印','調整至頁面高度','目前工作表','每頁最大欄數','自訂頁首/頁尾','自訂比例','列與欄限制','日期D','160762SxjZFQ','總頁數','128SpBAKA','Folio\x20(8.5\x22\x20x\x2013\x22)','每頁最大列數','178168jnwPuo','Letter\x20(8.5\x22\x20x\x2011\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','Statement\x20(5.5\x22\x20x\x208.5\x22)','日期B','顯示格線','YYYY-MM-DD','關閉並隱藏分頁線','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','工作表總頁數','8530236GExjjI','2024056AAMzNk','A3\x20(11.69\x22\x20x\x2016.54\x22)','1347999LoITdC','8wtYqPf'];_0x2e46=function(){return _0x1a6b40;};return _0x2e46();}const _0x31b45c=_0x399e;(function(_0xb3b433,_0xc82b4d){const _0x24645f=_0x399e,_0x21e1ed=_0xb3b433();while(!![]){try{const _0x41e6df=parseInt(_0x24645f(0x1a6))/0x1*(parseInt(_0x24645f(0x198))/0x2)+-parseInt(_0x24645f(0x1a5))/0x3+-parseInt(_0x24645f(0x1a3))/0x4+-parseInt(_0x24645f(0x1a7))/0x5*(parseInt(_0x24645f(0x1a9))/0x6)+parseInt(_0x24645f(0x193))/0x7*(-parseInt(_0x24645f(0x195))/0x8)+-parseInt(_0x24645f(0x1a2))/0x9+parseInt(_0x24645f(0x1bb))/0xa;if(_0x41e6df===_0xc82b4d)break;else _0x21e1ed['push'](_0x21e1ed['shift']());}catch(_0x57564f){_0x21e1ed['push'](_0x21e1ed['shift']());}}}(_0x2e46,0x9758a));function _0x399e(_0x593793,_0x4e4c69){_0x593793=_0x593793-0x179;const _0x2e46cb=_0x2e46();let _0x399e5b=_0x2e46cb[_0x593793];return _0x399e5b;}const e={'print':{'header':{'total':_0x31b45c(0x1ab),'pages':'頁','cancel':'取消','next':_0x31b45c(0x17f),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x31b45c(0x1aa),'showGrid':_0x31b45c(0x1a8),'showGridLabel':_0x31b45c(0x18a),'closeAndHide':_0x31b45c(0x19f)},'screenshot':{'title':_0x31b45c(0x1ad),'success':'圖片已成功複製到剪貼簿!','fail':_0x31b45c(0x1b4)},'size':{'title':_0x31b45c(0x17c),'letter':_0x31b45c(0x199),'tabloid':_0x31b45c(0x179),'legal':_0x31b45c(0x182),'statement':_0x31b45c(0x19b),'executive':'Executive\x20(7.25\x22\x20x\x2010.5\x22)','folio':_0x31b45c(0x196),'a3':_0x31b45c(0x1a4),'a4':_0x31b45c(0x1b7),'a5':_0x31b45c(0x1b0),'b4':_0x31b45c(0x1be),'b5':_0x31b45c(0x1ba)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x31b45c(0x1b1),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x31b45c(0x18d),'workbook':_0x31b45c(0x1bd),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x31b45c(0x197),'maxColumnsEachPage':_0x31b45c(0x18e),'limit':_0x31b45c(0x191),'allSelection':_0x31b45c(0x184)},'selection':{'title':_0x31b45c(0x189),'allWorkbook':_0x31b45c(0x1b8),'workbookUnit':_0x31b45c(0x186)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x31b45c(0x180),'fitHeight':_0x31b45c(0x18c),'fitPage':_0x31b45c(0x1b3),'custom':_0x31b45c(0x190)},'orientation':{'title':_0x31b45c(0x181),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x31b45c(0x1c1),'skeleton':_0x31b45c(0x19d),'waterMark':_0x31b45c(0x18b)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x31b45c(0x1ae),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x31b45c(0x17a),'page':'頁碼','workbook':_0x31b45c(0x1b2),'sheet':_0x31b45c(0x1c0),'date':'目前日期','time':_0x31b45c(0x1b6),'customHeadFooter':_0x31b45c(0x18f),'editCustomHeadFooter':_0x31b45c(0x1c2),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x31b45c(0x19e),'dateB':_0x31b45c(0x1bc),'dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x31b45c(0x1af),'timeC':_0x31b45c(0x17e),'timeD':'hh:mm','display':{'page':'頁碼','title':_0x31b45c(0x1b2),'sheet':_0x31b45c(0x1c0),'dateA':_0x31b45c(0x1bf),'dateB':_0x31b45c(0x19c),'dateC':'日期C','dateD':_0x31b45c(0x192),'dateE':_0x31b45c(0x188),'dateF':'日期F','timeA':_0x31b45c(0x187),'timeB':_0x31b45c(0x1b9),'timeC':_0x31b45c(0x185),'timeD':'時間D','sheetPage':'工作表頁碼','pageTotal':_0x31b45c(0x194),'sheetPageTotal':_0x31b45c(0x1a1)},'placeholder':_0x31b45c(0x17d),'submit':'確定'},'freeze':{'title':_0x31b45c(0x1b5),'desc':_0x31b45c(0x1a0),'row':'重複凍結的列','column':_0x31b45c(0x17b)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x31b45c(0x19a),'link':_0x31b45c(0x183)}}};module[_0x31b45c(0x1ac)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5ae5b8=_0x1e21;(function(_0x14f0cc,_0x571c78){const _0x4d4962=_0x1e21,_0x1fed66=_0x14f0cc();while(!![]){try{const _0x4bf241=parseInt(_0x4d4962(0x107))/0x1+parseInt(_0x4d4962(0xfb))/0x2+parseInt(_0x4d4962(0xee))/0x3+parseInt(_0x4d4962(0xdc))/0x4+parseInt(_0x4d4962(0x101))/0x5*(-parseInt(_0x4d4962(0xfc))/0x6)+parseInt(_0x4d4962(0xfd))/0x7+-parseInt(_0x4d4962(0xef))/0x8*(parseInt(_0x4d4962(0xf3))/0x9);if(_0x4bf241===_0x571c78)break;else _0x1fed66['push'](_0x1fed66['shift']());}catch(_0x2c7992){_0x1fed66['push'](_0x1fed66['shift']());}}}(_0x5e8b,0x3bcbc));import{ISheetPrintManagerService as _0x5f36e6,ConfirmSheetPrintOperation as _0x4ae46b,SheetPrintOpenOperation as _0x101b97,CancelSheetPrintOperation as _0x120177,hasPrintFacadePermission as _0x1a7e8b,SheetScreenShotOperation as _0x15989b,SheetPrintClientService as _0x12725b,PrintArea as _0x31214f,PrintFreeze as _0x8d198,PrintHeaderFooter as _0x173d3b,PrintHeaderFooterSymbol as _0x142d23}from'@univerjs-pro/sheets-print';import{ICommandService as _0x49c496,PaperType as _0x23494c,CanceledError as _0x132c0b}from'@univerjs/core';import{FWorkbook as _0x2b15a5,FRange as _0xc6d6a3}from'@univerjs/sheets/facade';import{FEventName as _0x4adbc7,FEnum as _0x300d40,FUniver as _0x1e263b}from'@univerjs/core/facade';function _0x1e21(_0x12e455,_0x5083d4){_0x12e455=_0x12e455-0xda;const _0x5e8b62=_0x5e8b();let _0x1e2129=_0x5e8b62[_0x12e455];return _0x1e2129;}function _0x5e8b(){const _0x107da1=['461608KRTotX','Event','registerEventHandler','fireEvent','PrintPaperMargin','getScreenshot','_range','BeforeSheetPrintConfirm','PrintAlign','updatePrintRenderConfig','beforeCommandExecuted','saveScreenshotToClipboard','getRangeImage','PrintHeaderFooter','renderConfig','getActiveSheet','PrintDirection','BeforeSheetPrintOpen','374583gGtkZD','493352pgEDAk','_initialize','SheetPrintCanceled','extend','18rAXZre','_workbook','PrintScale','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','getUnitId','get','layoutConfig','64030ocRpPb','12XPxnBu','1154482KQegnw','print','executeCommand','SheetPrintConfirmed','1135735bGtKHZ','closePrintDialog','SheetPrintOpen','onCommandExecuted','getActiveUniverSheet','_injector','385352AFXqCg','openPrintDialog','updateRenderConfig','cancel','syncExecuteCommand','updateLayoutConfig'];_0x5e8b=function(){return _0x107da1;};return _0x5e8b();}import{PrintAlign as _0x21b0c0,PrintPaperMargin as _0x2e9b17,PrintScale as _0x47a171,PrintDirection as _0x1f6f13}from'@univerjs-pro/print';class A extends _0x2b15a5{['updatePrintConfig'](_0x12b564){const _0x20ec50=_0x1e21;return this[_0x20ec50(0x106)][_0x20ec50(0xf9)](_0x5f36e6)[_0x20ec50(0xdb)](_0x12b564),this;}[_0x5ae5b8(0xe5)](_0xdd70aa){const _0x56b8b5=_0x5ae5b8;return this[_0x56b8b5(0x106)][_0x56b8b5(0xf9)](_0x5f36e6)[_0x56b8b5(0x109)](_0xdd70aa),this;}[_0x5ae5b8(0xfe)](){const _0x4a3d5a=_0x5ae5b8;return this[_0x4a3d5a(0x106)][_0x4a3d5a(0xf9)](_0x49c496)['syncExecuteCommand'](_0x4ae46b['id']);}[_0x5ae5b8(0x108)](){const _0x3e77aa=_0x5ae5b8;return this[_0x3e77aa(0x106)]['get'](_0x49c496)[_0x3e77aa(0xda)](_0x101b97['id']);}[_0x5ae5b8(0x102)](){const _0x4c84c6=_0x5ae5b8;return this[_0x4c84c6(0x106)][_0x4c84c6(0xf9)](_0x49c496)[_0x4c84c6(0xda)](_0x120177['id']);}async[_0x5ae5b8(0xe7)](){const _0x7738d2=_0x5ae5b8;return _0x1a7e8b(this[_0x7738d2(0x106)])?this['_injector']['get'](_0x49c496)[_0x7738d2(0xff)](_0x15989b['id']):!0x1;}}_0x2b15a5[_0x5ae5b8(0xf2)](A);class B extends _0xc6d6a3{[_0x5ae5b8(0xe1)](){const _0x199f81=_0x5ae5b8;return _0x1a7e8b(this['_injector'])?this['_injector'][_0x199f81(0xf9)](_0x12725b)[_0x199f81(0xe8)](this[_0x199f81(0xf4)][_0x199f81(0xf8)](),this['_worksheet']['getSheetId'](),this[_0x199f81(0xe2)]):!0x1;}}_0xc6d6a3['extend'](B);class H{get[_0x5ae5b8(0xed)](){const _0x5daee8=_0x5ae5b8;return _0x5daee8(0xed);}get[_0x5ae5b8(0xe3)](){const _0xb91664=_0x5ae5b8;return _0xb91664(0xe3);}get[_0x5ae5b8(0xf6)](){const _0x403a9c=_0x5ae5b8;return _0x403a9c(0xf6);}get[_0x5ae5b8(0x103)](){return'SheetPrintOpen';}get[_0x5ae5b8(0x100)](){const _0x1fdb8c=_0x5ae5b8;return _0x1fdb8c(0x100);}get['SheetPrintCanceled'](){const _0x3cfafc=_0x5ae5b8;return _0x3cfafc(0xf1);}}_0x4adbc7[_0x5ae5b8(0xf2)](H);class U{get['PrintArea'](){return _0x31214f;}get[_0x5ae5b8(0xe4)](){return _0x21b0c0;}get['PrintPaperSize'](){return _0x23494c;}get[_0x5ae5b8(0xe0)](){return _0x2e9b17;}get[_0x5ae5b8(0xf5)](){return _0x47a171;}get[_0x5ae5b8(0xec)](){return _0x1f6f13;}get['PrintFreeze'](){return _0x8d198;}get[_0x5ae5b8(0xe9)](){return _0x173d3b;}get[_0x5ae5b8(0xf7)](){return _0x142d23;}}_0x300d40[_0x5ae5b8(0xf2)](U);class M extends _0x1e263b{[_0x5ae5b8(0xf0)](_0x1d1f99){const _0x5ca96d=_0x5ae5b8,_0x2ed036=_0x1d1f99['get'](_0x49c496);this[_0x5ca96d(0xde)](this['Event']['BeforeSheetPrintOpen'],()=>_0x2ed036[_0x5ca96d(0xe6)](_0x508346=>{const _0xc9b3e1=_0x5ca96d;if(_0x508346['id']===_0x101b97['id']){const _0x34a425=this[_0xc9b3e1(0x105)]();if(!_0x34a425)return;const _0x22dcf6={'workbook':_0x34a425,'worksheet':_0x34a425[_0xc9b3e1(0xeb)]()};if(_0x22dcf6==null)return;if(this[_0xc9b3e1(0xdf)](this[_0xc9b3e1(0xdd)]['BeforeSheetPrintOpen'],_0x22dcf6),_0x22dcf6[_0xc9b3e1(0x10a)])throw new _0x132c0b();}})),this['registerEventHandler'](this[_0x5ca96d(0xdd)]['BeforeSheetPrintConfirm'],()=>_0x2ed036[_0x5ca96d(0xe6)](_0x342b99=>{const _0x23f4f1=_0x5ca96d;if(_0x342b99['id']===_0x4ae46b['id']){const _0x587d6e=_0x1d1f99[_0x23f4f1(0xf9)](_0x5f36e6);if(!this[_0x23f4f1(0x105)]())return;const _0x54265f={'layoutConfig':_0x587d6e[_0x23f4f1(0xfa)],'renderConfig':_0x587d6e[_0x23f4f1(0xea)]};if(_0x54265f==null)return;if(this[_0x23f4f1(0xdf)](this[_0x23f4f1(0xdd)][_0x23f4f1(0xe3)],_0x54265f),_0x54265f['cancel'])throw new _0x132c0b();}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)][_0x5ca96d(0xf6)],()=>_0x2ed036['beforeCommandExecuted'](_0x58f1c7=>{const _0x2826a2=_0x5ca96d;if(_0x58f1c7['id']===_0x120177['id']){const _0x4d247e=_0x1d1f99[_0x2826a2(0xf9)](_0x5f36e6);if(!this['getActiveUniverSheet']())return;const _0x381d83={'layoutConfig':_0x4d247e[_0x2826a2(0xfa)],'renderConfig':_0x4d247e[_0x2826a2(0xea)]};if(_0x381d83==null)return;if(this[_0x2826a2(0xdf)](this[_0x2826a2(0xdd)]['BeforeSheetPrintCanceled'],_0x381d83),_0x381d83[_0x2826a2(0x10a)])throw new _0x132c0b();}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)][_0x5ca96d(0x103)],()=>_0x2ed036['onCommandExecuted'](_0x7a60f1=>{const _0x4e53e2=_0x5ca96d;if(_0x7a60f1['id']===_0x101b97['id']){const _0x50ce2d=this[_0x4e53e2(0x105)]();if(!_0x50ce2d)return;const _0x8c790f={'workbook':_0x50ce2d,'worksheet':_0x50ce2d[_0x4e53e2(0xeb)]()};if(_0x8c790f==null)return;this[_0x4e53e2(0xdf)](this[_0x4e53e2(0xdd)][_0x4e53e2(0x103)],_0x8c790f);}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)]['SheetPrintConfirmed'],()=>_0x2ed036[_0x5ca96d(0x104)](_0x4a1599=>{const _0x3565ec=_0x5ca96d;if(_0x4a1599['id']===_0x4ae46b['id']){const _0x4ccb60=_0x1d1f99[_0x3565ec(0xf9)](_0x5f36e6);if(!this[_0x3565ec(0x105)]())return;const _0xd599f4={'layoutConfig':_0x4ccb60[_0x3565ec(0xfa)],'renderConfig':_0x4ccb60[_0x3565ec(0xea)]};if(_0xd599f4==null)return;this[_0x3565ec(0xdf)](this[_0x3565ec(0xdd)][_0x3565ec(0x100)],_0xd599f4);}})),this[_0x5ca96d(0xde)](this[_0x5ca96d(0xdd)][_0x5ca96d(0xf1)],()=>_0x2ed036['onCommandExecuted'](_0x4a2738=>{const _0x276e7b=_0x5ca96d;if(_0x4a2738['id']===_0x120177['id']){const _0x226992=_0x1d1f99[_0x276e7b(0xf9)](_0x5f36e6);if(!this[_0x276e7b(0x105)]())return;const _0x576ef6={'layoutConfig':_0x226992[_0x276e7b(0xfa)],'renderConfig':_0x226992[_0x276e7b(0xea)]};if(_0x576ef6==null)return;this[_0x276e7b(0xdf)](this[_0x276e7b(0xdd)][_0x276e7b(0xf1)],_0x576ef6);}}));}}_0x1e263b[_0x5ae5b8(0xf2)](M);
|