@univerjs-pro/sheets-print 0.10.12-nightly.202510251119 → 0.10.13
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/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/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/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/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';const
|
|
1
|
+
'use strict';const _0x2acc5d=_0x205f;(function(_0x45baaf,_0x1e5d5f){const _0x591be1=_0x205f,_0x52999a=_0x45baaf();while(!![]){try{const _0x5674b9=parseInt(_0x591be1(0x19a))/0x1*(-parseInt(_0x591be1(0x1a6))/0x2)+parseInt(_0x591be1(0x1c0))/0x3+-parseInt(_0x591be1(0x1a5))/0x4+-parseInt(_0x591be1(0x187))/0x5+parseInt(_0x591be1(0x1b9))/0x6+parseInt(_0x591be1(0x1ab))/0x7*(-parseInt(_0x591be1(0x1c1))/0x8)+parseInt(_0x591be1(0x18b))/0x9;if(_0x5674b9===_0x1e5d5f)break;else _0x52999a['push'](_0x52999a['shift']());}catch(_0x387e3a){_0x52999a['push'](_0x52999a['shift']());}}}(_0x1290,0x3b39a));function _0x1290(){const _0x312aa6=['下一步','B4\x20(9.84\x22\x20x\x2013.90\x22)','水平對齊','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','工作表總頁數','格式設定','活頁簿','調整至頁面大小','工作表名稱','hh:mm:ss','日期D','圖片已成功複製到剪貼簿!','複製為圖片','2851128nxUeiF','調整至頁面寬度','每頁最大欄數','Legal\x20(8.5\x22\x20x\x2014\x22)','已選取的儲存格','總頁數','hh:mm','1270560KCfFYf','8bfvqqk','每頁最大列數','點擊以新增文字','自訂頁首/頁尾','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','工作表頁碼','https://univer.ai/pro','A3\x20(11.69\x22\x20x\x2016.54\x22)','HH:mm','日期B','1369460AkhhjL','標準\x20(100%)','目前工作表','列與欄標題','1670139hPWagN','YYYY-MM-DD','Folio\x20(8.5\x22\x20x\x2013\x22)','日期E','圖片複製到剪貼簿失敗!','A4\x20(8.27\x22\x20x\x2011.69\x22)','日期C','Executive\x20(7.25\x22\x20x\x2010.5\x22)','選取範圍','編輯自訂頁首/頁尾','自訂义頁邊距','總計:','日期A','時間A','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','169619TPZhUR','A5\x20(5.83\x22\x20x\x208.27\x22)','顯示格線','自訂比例','列印中,請勿關閉頁面','頁面方向','Tabloid\x20(11\x22\x20x\x2017\x22)','Letter\x20(8.5\x22\x20x\x2011\x22)','活頁簿標題','列與欄限制','重複凍結的欄','40332KsQnMl','2eaCQUm','日期格式','日期F','紙張大小','時間B','2716693JIusAE'];_0x1290=function(){return _0x312aa6;};return _0x1290();}function _0x205f(_0x30f3ec,_0x43869d){const _0x1290c9=_0x1290();return _0x205f=function(_0x205f59,_0x2714a0){_0x205f59=_0x205f59-0x180;let _0x4ee05f=_0x1290c9[_0x205f59];return _0x4ee05f;},_0x205f(_0x30f3ec,_0x43869d);}const t={'print':{'header':{'total':_0x2acc5d(0x196),'pages':'頁','cancel':'取消','next':_0x2acc5d(0x1ac),'printing':_0x2acc5d(0x19e)},'menu':'列印','title':'列印','screenshot':{'title':_0x2acc5d(0x1b8),'success':_0x2acc5d(0x1b7),'fail':_0x2acc5d(0x18f)},'size':{'title':_0x2acc5d(0x1a9),'letter':_0x2acc5d(0x1a1),'tabloid':_0x2acc5d(0x1a0),'legal':_0x2acc5d(0x1bc),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x2acc5d(0x192),'folio':_0x2acc5d(0x18d),'a3':_0x2acc5d(0x184),'a4':_0x2acc5d(0x190),'a5':_0x2acc5d(0x19b),'b4':_0x2acc5d(0x1ad),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x2acc5d(0x195),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x2acc5d(0x189),'workbook':_0x2acc5d(0x1b2),'currentSelection':_0x2acc5d(0x1bd),'maxRowsEachPage':_0x2acc5d(0x1c2),'maxColumnsEachPage':_0x2acc5d(0x1bb),'limit':_0x2acc5d(0x1a3),'allSelection':'所有選取的儲存格'},'selection':{'title':_0x2acc5d(0x193),'allWorkbook':'所有工作表','workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x2acc5d(0x188),'fitWidth':_0x2acc5d(0x1ba),'fitHeight':'調整至頁面高度','fitPage':_0x2acc5d(0x1b3),'custom':_0x2acc5d(0x19d)},'orientation':{'title':_0x2acc5d(0x19f),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x2acc5d(0x1b1),'skeleton':_0x2acc5d(0x19c),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x2acc5d(0x1ae),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x2acc5d(0x1a2),'sheet':_0x2acc5d(0x1b4),'date':'目前日期','time':'目前時間','customHeadFooter':_0x2acc5d(0x180),'editCustomHeadFooter':_0x2acc5d(0x194),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x2acc5d(0x1a7),'dateA':_0x2acc5d(0x18c),'dateB':'MM-DD','dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x2acc5d(0x185),'timeC':_0x2acc5d(0x1b5),'timeD':_0x2acc5d(0x1bf),'display':{'page':'頁碼','title':_0x2acc5d(0x1a2),'sheet':_0x2acc5d(0x1b4),'dateA':_0x2acc5d(0x197),'dateB':_0x2acc5d(0x186),'dateC':_0x2acc5d(0x191),'dateD':_0x2acc5d(0x1b6),'dateE':_0x2acc5d(0x18e),'dateF':_0x2acc5d(0x1a8),'timeA':_0x2acc5d(0x198),'timeB':_0x2acc5d(0x1aa),'timeC':'時間C','timeD':'時間D','sheetPage':_0x2acc5d(0x182),'pageTotal':_0x2acc5d(0x1be),'sheetPageTotal':_0x2acc5d(0x1b0)},'placeholder':_0x2acc5d(0x1c3),'submit':'確定'},'freeze':{'title':_0x2acc5d(0x18a),'desc':_0x2acc5d(0x1af),'row':'重複凍結的列','column':_0x2acc5d(0x1a4)},'limit':{'page':_0x2acc5d(0x181),'waterMark':_0x2acc5d(0x199),'link':_0x2acc5d(0x183)}}};module['exports']=t;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x337788=_0x1353;function _0x1353(_0x1ee3f4,_0x12b901){const _0x49b257=_0x49b2();return _0x1353=function(_0x135327,_0x5fef09){_0x135327=_0x135327-0x69;let _0x5789f6=_0x49b257[_0x135327];return _0x5789f6;},_0x1353(_0x1ee3f4,_0x12b901);}(function(_0x5d9865,_0x2bc07a){const _0x23907f=_0x1353,_0x347196=_0x5d9865();while(!![]){try{const _0x39090d=parseInt(_0x23907f(0x73))/0x1+-parseInt(_0x23907f(0x89))/0x2+-parseInt(_0x23907f(0x6d))/0x3+-parseInt(_0x23907f(0x7d))/0x4+parseInt(_0x23907f(0x70))/0x5+parseInt(_0x23907f(0x86))/0x6*(-parseInt(_0x23907f(0x75))/0x7)+parseInt(_0x23907f(0x90))/0x8;if(_0x39090d===_0x2bc07a)break;else _0x347196['push'](_0x347196['shift']());}catch(_0x57c3c6){_0x347196['push'](_0x347196['shift']());}}}(_0x49b2,0x20aa7));import{ISheetPrintManagerService as _0x4d1e82,ConfirmSheetPrintOperation as _0x51cf34,SheetPrintOpenOperation as _0x53c0e3,CancelSheetPrintOperation as _0x43bb9c,hasPrintFacadePermission as _0xa400a5,SheetScreenShotOperation as _0x39eb60,SheetPrintClientService as _0x1c1563,PrintArea as _0x25baba,PrintFreeze as _0x210f8d,PrintHeaderFooter as _0x1b2456,PrintHeaderFooterSymbol as _0x133968}from'@univerjs-pro/sheets-print';import{ICommandService as _0x5b2407,PaperType as _0x4c51a5,CanceledError as _0x7d3bc4}from'@univerjs/core';import{FWorkbook as _0x50b579,FRange as _0x36af62}from'@univerjs/sheets/facade';import{FEventName as _0x3f57ab,FEnum as _0x1b427b,FUniver as _0x213885}from'@univerjs/core/facade';import{PrintAlign as _0xabe2c9,PrintPaperMargin as _0x4dd666,PrintScale as _0x2bb6c4,PrintDirection as _0x2882fd}from'@univerjs-pro/print';class A extends _0x50b579{['updatePrintConfig'](_0x113e99){const _0x3de865=_0x1353;return this[_0x3de865(0x77)][_0x3de865(0x6e)](_0x4d1e82)[_0x3de865(0x8d)](_0x113e99),this;}[_0x337788(0x93)](_0x414cb6){const _0x4cb2f3=_0x337788;return this[_0x4cb2f3(0x77)]['get'](_0x4d1e82)[_0x4cb2f3(0x78)](_0x414cb6),this;}[_0x337788(0x6c)](){const _0xb96c8a=_0x337788;return this[_0xb96c8a(0x77)][_0xb96c8a(0x6e)](_0x5b2407)[_0xb96c8a(0x8e)](_0x51cf34['id']);}[_0x337788(0x85)](){const _0x2bbc97=_0x337788;return this[_0x2bbc97(0x77)]['get'](_0x5b2407)[_0x2bbc97(0x8e)](_0x53c0e3['id']);}[_0x337788(0x79)](){const _0x34b8d5=_0x337788;return this['_injector'][_0x34b8d5(0x6e)](_0x5b2407)['syncExecuteCommand'](_0x43bb9c['id']);}async[_0x337788(0x8c)](){const _0x1f2a0a=_0x337788;return _0xa400a5(this[_0x1f2a0a(0x77)])?this[_0x1f2a0a(0x77)][_0x1f2a0a(0x6e)](_0x5b2407)['executeCommand'](_0x39eb60['id']):!0x1;}}_0x50b579['extend'](A);class B extends _0x36af62{['getScreenshot'](){const _0x37e540=_0x337788;return _0xa400a5(this[_0x37e540(0x77)])?this[_0x37e540(0x77)][_0x37e540(0x6e)](_0x1c1563)['getRangeImage'](this[_0x37e540(0x91)]['getUnitId'](),this[_0x37e540(0x81)][_0x37e540(0x74)](),this[_0x37e540(0x7f)]):!0x1;}}_0x36af62[_0x337788(0x7b)](B);class H{get['BeforeSheetPrintOpen'](){const _0x22e00c=_0x337788;return _0x22e00c(0x71);}get[_0x337788(0x92)](){const _0x2c3e90=_0x337788;return _0x2c3e90(0x92);}get[_0x337788(0x83)](){const _0x760a2d=_0x337788;return _0x760a2d(0x83);}get[_0x337788(0x72)](){const _0x5426b8=_0x337788;return _0x5426b8(0x72);}get[_0x337788(0x6a)](){return'SheetPrintConfirmed';}get[_0x337788(0x87)](){return'SheetPrintCanceled';}}_0x3f57ab[_0x337788(0x7b)](H);class U{get['PrintArea'](){return _0x25baba;}get[_0x337788(0x7a)](){return _0xabe2c9;}get[_0x337788(0x8f)](){return _0x4c51a5;}get[_0x337788(0x94)](){return _0x4dd666;}get['PrintScale'](){return _0x2bb6c4;}get['PrintDirection'](){return _0x2882fd;}get[_0x337788(0x76)](){return _0x210f8d;}get[_0x337788(0x95)](){return _0x1b2456;}get[_0x337788(0x88)](){return _0x133968;}}function _0x49b2(){const _0x58e5e7=['updateLayoutConfig','syncExecuteCommand','PrintPaperSize','1480944WsqvYS','_workbook','BeforeSheetPrintConfirm','updatePrintRenderConfig','PrintPaperMargin','PrintHeaderFooter','registerEventHandler','SheetPrintConfirmed','cancel','print','398415rvYGun','get','renderConfig','329230InulnC','BeforeSheetPrintOpen','SheetPrintOpen','253655wZNWvj','getSheetId','63IwDLDe','PrintFreeze','_injector','updateRenderConfig','closePrintDialog','PrintAlign','extend','getActiveSheet','188840DohFWf','getActiveUniverSheet','_range','fireEvent','_worksheet','layoutConfig','BeforeSheetPrintCanceled','onCommandExecuted','openPrintDialog','95358pGyLGm','SheetPrintCanceled','PrintHeaderFooterSymbol','95536AXUwoM','Event','beforeCommandExecuted','saveScreenshotToClipboard'];_0x49b2=function(){return _0x58e5e7;};return _0x49b2();}_0x1b427b['extend'](U);class M extends _0x213885{['_initialize'](_0x4a24bf){const _0x1afea8=_0x337788,_0x55212e=_0x4a24bf[_0x1afea8(0x6e)](_0x5b2407);this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)]['BeforeSheetPrintOpen'],()=>_0x55212e[_0x1afea8(0x8b)](_0x19d9de=>{const _0x3d5cb6=_0x1afea8;if(_0x19d9de['id']===_0x53c0e3['id']){const _0x2996fd=this[_0x3d5cb6(0x7e)]();if(!_0x2996fd)return;const _0x3bfd24={'workbook':_0x2996fd,'worksheet':_0x2996fd['getActiveSheet']()};if(_0x3bfd24==null)return;if(this['fireEvent'](this['Event'][_0x3d5cb6(0x71)],_0x3bfd24),_0x3bfd24[_0x3d5cb6(0x6b)])throw new _0x7d3bc4();}})),this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)][_0x1afea8(0x92)],()=>_0x55212e[_0x1afea8(0x8b)](_0x246e91=>{const _0x180e95=_0x1afea8;if(_0x246e91['id']===_0x51cf34['id']){const _0x152012=_0x4a24bf[_0x180e95(0x6e)](_0x4d1e82);if(!this[_0x180e95(0x7e)]())return;const _0x9b960f={'layoutConfig':_0x152012[_0x180e95(0x82)],'renderConfig':_0x152012[_0x180e95(0x6f)]};if(_0x9b960f==null)return;if(this['fireEvent'](this[_0x180e95(0x8a)][_0x180e95(0x92)],_0x9b960f),_0x9b960f[_0x180e95(0x6b)])throw new _0x7d3bc4();}})),this['registerEventHandler'](this['Event'][_0x1afea8(0x83)],()=>_0x55212e[_0x1afea8(0x8b)](_0x1d6ee1=>{const _0x22eee6=_0x1afea8;if(_0x1d6ee1['id']===_0x43bb9c['id']){const _0x115230=_0x4a24bf['get'](_0x4d1e82);if(!this['getActiveUniverSheet']())return;const _0x413899={'layoutConfig':_0x115230[_0x22eee6(0x82)],'renderConfig':_0x115230['renderConfig']};if(_0x413899==null)return;if(this[_0x22eee6(0x80)](this[_0x22eee6(0x8a)][_0x22eee6(0x83)],_0x413899),_0x413899['cancel'])throw new _0x7d3bc4();}})),this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)][_0x1afea8(0x72)],()=>_0x55212e['onCommandExecuted'](_0x48995f=>{const _0x2ed174=_0x1afea8;if(_0x48995f['id']===_0x53c0e3['id']){const _0x87bb68=this[_0x2ed174(0x7e)]();if(!_0x87bb68)return;const _0x93ae88={'workbook':_0x87bb68,'worksheet':_0x87bb68[_0x2ed174(0x7c)]()};if(_0x93ae88==null)return;this['fireEvent'](this['Event'][_0x2ed174(0x72)],_0x93ae88);}})),this[_0x1afea8(0x69)](this['Event']['SheetPrintConfirmed'],()=>_0x55212e['onCommandExecuted'](_0x2a6b56=>{const _0x3726c3=_0x1afea8;if(_0x2a6b56['id']===_0x51cf34['id']){const _0xf70d0c=_0x4a24bf[_0x3726c3(0x6e)](_0x4d1e82);if(!this[_0x3726c3(0x7e)]())return;const _0x41489b={'layoutConfig':_0xf70d0c[_0x3726c3(0x82)],'renderConfig':_0xf70d0c['renderConfig']};if(_0x41489b==null)return;this[_0x3726c3(0x80)](this[_0x3726c3(0x8a)][_0x3726c3(0x6a)],_0x41489b);}})),this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)][_0x1afea8(0x87)],()=>_0x55212e[_0x1afea8(0x84)](_0x4d5e84=>{const _0x3ccd30=_0x1afea8;if(_0x4d5e84['id']===_0x43bb9c['id']){const _0x2fc30d=_0x4a24bf['get'](_0x4d1e82);if(!this[_0x3ccd30(0x7e)]())return;const _0x28ab40={'layoutConfig':_0x2fc30d[_0x3ccd30(0x82)],'renderConfig':_0x2fc30d['renderConfig']};if(_0x28ab40==null)return;this['fireEvent'](this['Event'][_0x3ccd30(0x87)],_0x28ab40);}}));}}_0x213885[_0x337788(0x7b)](M);
|