@univerjs-pro/sheets-print 0.15.1 → 0.15.2
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 +41 -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 +15 -15
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x36da(_0x1c0e44,_0x3be155){_0x1c0e44=_0x1c0e44-0x10f;const _0x366f47=_0x366f();let _0x36dad4=_0x366f47[_0x1c0e44];return _0x36dad4;}function _0x366f(){const _0x463a9f=['Univer\x20免费版本,由\x20univer.ai\x20提供支持。','复制为截图','YYYY-MM-DD','打印范围','A4(21.0厘米\x20x\x2029.7厘米)','水平居中','子表总页数','子表页码','当前工作表','纸张大小','右对齐','MM-DD','图片已保存到剪贴板','适合宽度','每页最大行数','29702QjWowm','底部对齐','编辑自定义页眉页脚','对齐方式','适合高度','左对齐','点击可添加文本','对折纸(21.6厘米\x20x\x2033.0厘米)','工作簿名称','打印页数:','日期5','已选范围','报表(14.0厘米\x20x\x2021.6厘米)','法律专用纸(21.6厘米\x20x\x2035.6厘米)','自定义页眉页脚','120nSfzgK','张工作表','总页数','工作簿','B4(25.0厘米\x20x\x2035.3厘米)','B5(17.6厘米\x20x\x2025.0厘米)','195310XEsDWY','6108cyYznB','Vertical','10CAkilM','时间4','38331ELOPJH','日期1','https://univer.ai/pro','页眉和页脚','显示分页辅助线','打印布局','日期格式','当前日期','下一步','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','显示水印','1457036VndfpW','44iyAwMZ','12XoQupb','关闭并隐藏辅助线','96IDeiLF','A5(14.8厘米\x20x\x2021.0厘米)','190qnaflB','每页最大列数','行和列限制','日期2','工作簿标题','重复冻结列','时间3','日期3','日期6','打印设置','行标题与列标题','正在打印,请勿关闭页面','6072573aGPqBm','转到“查看”>“冻结”可选择要在所有页面重复的行/列','重复冻结行','LTS','10602kQUsru','正常\x20(100%)','Custom\x20number','Horizontal','顶部对齐','网格线','小报(27.9厘米\x20x\x2043.2厘米)','HH:mm'];_0x366f=function(){return _0x463a9f;};return _0x366f();}const _0x240829=_0x36da;(function(_0x460d5a,_0x290101){const _0x512382=_0x36da,_0x55d13b=_0x460d5a();while(!![]){try{const _0x4b11be=-parseInt(_0x512382(0x15b))/0x1*(parseInt(_0x512382(0x143))/0x2)+-parseInt(_0x512382(0x159))/0x3*(parseInt(_0x512382(0x11a))/0x4)+-parseInt(_0x512382(0x11c))/0x5*(-parseInt(_0x512382(0x12c))/0x6)+-parseInt(_0x512382(0x116))/0x7+-parseInt(_0x512382(0x152))/0x8*(-parseInt(_0x512382(0x15d))/0x9)+-parseInt(_0x512382(0x158))/0xa*(parseInt(_0x512382(0x117))/0xb)+-parseInt(_0x512382(0x118))/0xc*(-parseInt(_0x512382(0x128))/0xd);if(_0x4b11be===_0x290101)break;else _0x55d13b['push'](_0x55d13b['shift']());}catch(_0x5a0b5f){_0x55d13b['push'](_0x55d13b['shift']());}}}(_0x366f,0x1bf4a));const e={'print':{'header':{'total':_0x240829(0x14c),'pages':'页','cancel':'取消','next':_0x240829(0x113),'printing':_0x240829(0x127)},'menu':'打印','title':_0x240829(0x125),'grid':{'title':_0x240829(0x110),'showGrid':_0x240829(0x10f),'showGridLabel':_0x240829(0x10f),'closeAndHide':_0x240829(0x119)},'screenshot':{'title':_0x240829(0x135),'success':_0x240829(0x140),'fail':'图片已保存失败'},'size':{'title':_0x240829(0x13d),'letter':'信纸(21.6厘米\x20x\x2027.9厘米)','tabloid':_0x240829(0x132),'legal':_0x240829(0x150),'statement':_0x240829(0x14f),'executive':'行政公文纸(18.4厘米\x20x\x2026.7厘米)','folio':_0x240829(0x14a),'a3':'A3(29.7厘米\x20x\x2042.0厘米)','a4':_0x240829(0x138),'a5':_0x240829(0x11b),'b4':_0x240829(0x156),'b5':_0x240829(0x157)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':'自定义页边距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x240829(0x137),'currentSheet':_0x240829(0x13c),'workbook':_0x240829(0x155),'currentSelection':_0x240829(0x14e),'maxRowsEachPage':_0x240829(0x142),'maxColumnsEachPage':_0x240829(0x11d),'limit':_0x240829(0x11e),'allSelection':'所有已选范围'},'selection':{'title':'选择','allWorkbook':'所有工作表','workbookUnit':_0x240829(0x153)},'scale':{'title':'缩放','normal':_0x240829(0x12d),'fitWidth':_0x240829(0x141),'fitHeight':_0x240829(0x147),'fitPage':'适合页面大小','custom':_0x240829(0x12e)},'orientation':{'title':'页面方向','landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x240829(0x131),'waterMark':_0x240829(0x115)},'align':{'title':_0x240829(0x146),'horizontal':{'title':_0x240829(0x12f),'middle':_0x240829(0x139),'start':_0x240829(0x148),'end':_0x240829(0x13e)},'vertical':{'title':_0x240829(0x15a),'start':_0x240829(0x130),'end':_0x240829(0x144),'middle':'垂直居中'}},'headerFooter':{'title':_0x240829(0x160),'page':'页码','workbook':_0x240829(0x120),'sheet':'工作簿名称','date':_0x240829(0x112),'time':'当前时间','customHeadFooter':_0x240829(0x151),'editCustomHeadFooter':_0x240829(0x145),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x240829(0x111),'dateA':_0x240829(0x136),'dateB':_0x240829(0x13f),'dateC':'L','dateD':'MM月DD日','timeA':'HH:mm:ss','timeB':_0x240829(0x133),'timeC':_0x240829(0x12b),'timeD':'LT','display':{'page':'页码','title':_0x240829(0x120),'sheet':_0x240829(0x14b),'dateA':_0x240829(0x15e),'dateB':_0x240829(0x11f),'dateC':_0x240829(0x123),'dateD':'日期4','dateE':_0x240829(0x14d),'dateF':_0x240829(0x124),'timeA':'时间1','timeB':'时间2','timeC':_0x240829(0x122),'timeD':_0x240829(0x15c),'sheetPage':_0x240829(0x13b),'pageTotal':_0x240829(0x154),'sheetPageTotal':_0x240829(0x13a)},'placeholder':_0x240829(0x149),'submit':'确定'},'freeze':{'title':_0x240829(0x126),'desc':_0x240829(0x129),'row':_0x240829(0x12a),'column':_0x240829(0x121)},'limit':{'page':_0x240829(0x114),'waterMark':_0x240829(0x134),'link':_0x240829(0x15f)}}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x39b4f9=_0x1084;(function(_0xc93ce3,_0xb80551){const _0x25fb34=_0x1084,_0x3a557d=_0xc93ce3();while(!![]){try{const _0x217ba9=-parseInt(_0x25fb34(0xca))/0x1*(-parseInt(_0x25fb34(0xde))/0x2)+-parseInt(_0x25fb34(0xfb))/0x3*(parseInt(_0x25fb34(0xd3))/0x4)+parseInt(_0x25fb34(0xc8))/0x5+parseInt(_0x25fb34(0xfa))/0x6*(parseInt(_0x25fb34(0xc1))/0x7)+parseInt(_0x25fb34(0xf0))/0x8*(parseInt(_0x25fb34(0xf8))/0x9)+-parseInt(_0x25fb34(0xd4))/0xa+parseInt(_0x25fb34(0xcf))/0xb;if(_0x217ba9===_0xb80551)break;else _0x3a557d['push'](_0x3a557d['shift']());}catch(_0x2f8938){_0x3a557d['push'](_0x3a557d['shift']());}}}(_0x470e,0xe52b9));function _0x470e(){const _0x81be17=['列印中,請勿關閉頁面','調整至頁面高度','列與欄標題','5134475YKDxcl','張工作表','139ltNoor','列印版面配置','重複凍結的欄','日期F','MM-DD','18267898IAKKkb','關閉並隱藏分頁線','自訂比例','圖片複製到剪貼簿失敗!','164THhATe','17774090SejYID','選取範圍','複製為圖片','活頁簿','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示格線','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','頁面方向','調整至頁面寬度','時間D','8110oxxQPw','每頁最大欄數','列與欄限制','HH:mm:ss','每頁最大列數','工作表名稱','目前日期','工作表總頁數','水平對齊','Statement\x20(5.5\x22\x20x\x208.5\x22)','自訂頁首/頁尾','日期C','Letter\x20(8.5\x22\x20x\x2011\x22)','時間C','調整至頁面大小','標準\x20(100%)','B5\x20(6.93\x22\x20x\x209.84\x22)','重複凍結的列','12384mKLFqp','工作表頁碼','https://univer.ai/pro','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','YYYY-MM-DD','Legal\x20(8.5\x22\x20x\x2014\x22)','總頁數','hh:mm:ss','3843jKqXDi','所有工作表','6vgeWGb','88509hWqlFt','紙張大小','活頁簿標題','格式設定','日期D','日期A','日期B','日期E','Tabloid\x20(11\x22\x20x\x2017\x22)','hh:mm','時間B','目前工作表','94213MNQvUi','所有選取的儲存格','Folio\x20(8.5\x22\x20x\x2013\x22)','顯示分頁符號'];_0x470e=function(){return _0x81be17;};return _0x470e();}function _0x1084(_0x1b67ec,_0x49e05f){_0x1b67ec=_0x1b67ec-0xb6;const _0x470e01=_0x470e();let _0x10840f=_0x470e01[_0x1b67ec];return _0x10840f;}const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':'下一步','printing':_0x39b4f9(0xc5)},'menu':'列印','title':'列印','grid':{'title':_0x39b4f9(0xcb),'showGrid':_0x39b4f9(0xc4),'showGridLabel':'顯示分頁線','closeAndHide':_0x39b4f9(0xd0)},'screenshot':{'title':_0x39b4f9(0xd6),'success':'圖片已成功複製到剪貼簿!','fail':_0x39b4f9(0xd2)},'size':{'title':_0x39b4f9(0xb6),'letter':_0x39b4f9(0xea),'tabloid':_0x39b4f9(0xbd),'legal':_0x39b4f9(0xf5),'statement':_0x39b4f9(0xe7),'executive':_0x39b4f9(0xd8),'folio':_0x39b4f9(0xc3),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x39b4f9(0xee)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x39b4f9(0xc0),'workbook':_0x39b4f9(0xd7),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x39b4f9(0xe2),'maxColumnsEachPage':_0x39b4f9(0xdf),'limit':_0x39b4f9(0xe0),'allSelection':_0x39b4f9(0xc2)},'selection':{'title':_0x39b4f9(0xd5),'allWorkbook':_0x39b4f9(0xf9),'workbookUnit':_0x39b4f9(0xc9)},'scale':{'title':'縮放','normal':_0x39b4f9(0xed),'fitWidth':_0x39b4f9(0xdc),'fitHeight':_0x39b4f9(0xc6),'fitPage':_0x39b4f9(0xec),'custom':_0x39b4f9(0xd1)},'orientation':{'title':_0x39b4f9(0xdb),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x39b4f9(0xb8),'skeleton':_0x39b4f9(0xd9),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x39b4f9(0xe6),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x39b4f9(0xb7),'sheet':_0x39b4f9(0xe3),'date':_0x39b4f9(0xe4),'time':'目前時間','customHeadFooter':_0x39b4f9(0xe8),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x39b4f9(0xf4),'dateB':_0x39b4f9(0xce),'dateC':'L','dateD':'MM/DD','timeA':_0x39b4f9(0xe1),'timeB':'HH:mm','timeC':_0x39b4f9(0xf7),'timeD':_0x39b4f9(0xbe),'display':{'page':'頁碼','title':_0x39b4f9(0xb7),'sheet':'工作表名稱','dateA':_0x39b4f9(0xba),'dateB':_0x39b4f9(0xbb),'dateC':_0x39b4f9(0xe9),'dateD':_0x39b4f9(0xb9),'dateE':_0x39b4f9(0xbc),'dateF':_0x39b4f9(0xcd),'timeA':'時間A','timeB':_0x39b4f9(0xbf),'timeC':_0x39b4f9(0xeb),'timeD':_0x39b4f9(0xdd),'sheetPage':_0x39b4f9(0xf1),'pageTotal':_0x39b4f9(0xf6),'sheetPageTotal':_0x39b4f9(0xe5)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x39b4f9(0xc7),'desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':_0x39b4f9(0xef),'column':_0x39b4f9(0xcc)},'limit':{'page':_0x39b4f9(0xf3),'waterMark':_0x39b4f9(0xda),'link':_0x39b4f9(0xf2)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x27231a=_0x512c;(function(_0x372865,_0x45ff24){const _0x2f2aa1=_0x512c,_0x568dda=_0x372865();while(!![]){try{const _0x390167=-parseInt(_0x2f2aa1(0x200))/0x1+-parseInt(_0x2f2aa1(0x209))/0x2*(parseInt(_0x2f2aa1(0x221))/0x3)+parseInt(_0x2f2aa1(0x1fd))/0x4+-parseInt(_0x2f2aa1(0x218))/0x5+-parseInt(_0x2f2aa1(0x1f8))/0x6*(-parseInt(_0x2f2aa1(0x20e))/0x7)+parseInt(_0x2f2aa1(0x219))/0x8*(-parseInt(_0x2f2aa1(0x20a))/0x9)+parseInt(_0x2f2aa1(0x204))/0xa;if(_0x390167===_0x45ff24)break;else _0x568dda['push'](_0x568dda['shift']());}catch(_0x4836e5){_0x568dda['push'](_0x568dda['shift']());}}}(_0x4cd7,0xdcb8d));import{ISheetPrintManagerService as _0x181a55,ConfirmSheetPrintOperation as _0x28b7f0,SheetPrintOpenOperation as _0x599153,CancelSheetPrintOperation as _0x4eea2d,hasPrintFacadePermission as _0x4dc2c8,SheetScreenShotOperation as _0x226f2d,SheetPrintClientService as _0x4950d6,PrintArea as _0x2b73b5,PrintFreeze as _0x15d25e,PrintHeaderFooter as _0x141cc8,PrintHeaderFooterSymbol as _0x2048af}from'@univerjs-pro/sheets-print';function _0x4cd7(){const _0x13f1f4=['301OriDtE','SheetPrintOpen','getScreenshot','PrintFreeze','PrintArea','Event','getSheetId','BeforeSheetPrintCanceled','layoutConfig','registerEventHandler','7165400amjPfU','2041064kdGlQi','PrintDirection','executeCommand','syncExecuteCommand','PrintHeaderFooterSymbol','SheetPrintCanceled','updateRenderConfig','PrintScale','54ySGdpN','extend','get','openPrintDialog','renderConfig','PrintAlign','getActiveUniverSheet','fireEvent','includeHeaders','PrintHeaderFooter','75552xRrImw','_injector','closePrintDialog','BeforeSheetPrintOpen','_workbook','5955988sXiPOC','updatePrintRenderConfig','PrintPaperSize','1594609MkkxCj','saveScreenshotToClipboard','getUnitId','beforeCommandExecuted','45696940VFmnzL','cancel','BeforeSheetPrintConfirm','print','SheetPrintConfirmed','98050bwOdDQ','63pXpcaz','updatePrintConfig','getActiveSheet','onCommandExecuted'];_0x4cd7=function(){return _0x13f1f4;};return _0x4cd7();}import{ICommandService as _0x385e7e,PaperType as _0x245f93,CanceledError as _0x1ce5f5}from'@univerjs/core';import{FWorkbook as _0x26241d,FRange as _0x8f5337}from'@univerjs/sheets/facade';import{FEventName as _0xa859d5,FEnum as _0x5bc82f,FUniver as _0x403a6a}from'@univerjs/core/facade';function _0x512c(_0x140578,_0xb8333b){_0x140578=_0x140578-0x1f4;const _0x4cd7ca=_0x4cd7();let _0x512ccc=_0x4cd7ca[_0x140578];return _0x512ccc;}import{PrintAlign as _0x4f9b96,PrintPaperMargin as _0x148b4e,PrintScale as _0x49a585,PrintDirection as _0x1d3c43}from'@univerjs-pro/print';class A extends _0x26241d{[_0x27231a(0x20b)](_0x4dc5c1){return this['_injector']['get'](_0x181a55)['updateLayoutConfig'](_0x4dc5c1),this;}[_0x27231a(0x1fe)](_0x4e25f7){const _0x14ac2f=_0x27231a;return this[_0x14ac2f(0x1f9)][_0x14ac2f(0x223)](_0x181a55)[_0x14ac2f(0x21f)](_0x4e25f7),this;}[_0x27231a(0x207)](){const _0x5daab8=_0x27231a;return this['_injector'][_0x5daab8(0x223)](_0x385e7e)['syncExecuteCommand'](_0x28b7f0['id']);}[_0x27231a(0x224)](){const _0x28dcef=_0x27231a;return this[_0x28dcef(0x1f9)][_0x28dcef(0x223)](_0x385e7e)[_0x28dcef(0x21c)](_0x599153['id']);}[_0x27231a(0x1fa)](){const _0x4cdb8f=_0x27231a;return this[_0x4cdb8f(0x1f9)][_0x4cdb8f(0x223)](_0x385e7e)['syncExecuteCommand'](_0x4eea2d['id']);}async[_0x27231a(0x201)](){const _0x367f04=_0x27231a;return _0x4dc2c8(this[_0x367f04(0x1f9)])?this[_0x367f04(0x1f9)]['get'](_0x385e7e)[_0x367f04(0x21b)](_0x226f2d['id']):!0x1;}}_0x26241d[_0x27231a(0x222)](A);class B extends _0x8f5337{[_0x27231a(0x210)](_0x4c2896){const _0x18dab8=_0x27231a;return _0x4dc2c8(this['_injector'])?this['_injector'][_0x18dab8(0x223)](_0x4950d6)['getRangeImage'](this[_0x18dab8(0x1fc)][_0x18dab8(0x202)](),this['_worksheet'][_0x18dab8(0x214)](),this['_range'],_0x4c2896==null?void 0x0:_0x4c2896[_0x18dab8(0x1f6)]):!0x1;}}_0x8f5337[_0x27231a(0x222)](B);class H{get[_0x27231a(0x1fb)](){return'BeforeSheetPrintOpen';}get[_0x27231a(0x206)](){const _0x8f2929=_0x27231a;return _0x8f2929(0x206);}get[_0x27231a(0x215)](){return'BeforeSheetPrintCanceled';}get[_0x27231a(0x20f)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x33b4cf=_0x27231a;return _0x33b4cf(0x208);}get[_0x27231a(0x21e)](){const _0x45a361=_0x27231a;return _0x45a361(0x21e);}}_0xa859d5['extend'](H);class U{get[_0x27231a(0x212)](){return _0x2b73b5;}get[_0x27231a(0x226)](){return _0x4f9b96;}get[_0x27231a(0x1ff)](){return _0x245f93;}get['PrintPaperMargin'](){return _0x148b4e;}get[_0x27231a(0x220)](){return _0x49a585;}get[_0x27231a(0x21a)](){return _0x1d3c43;}get[_0x27231a(0x211)](){return _0x15d25e;}get[_0x27231a(0x1f7)](){return _0x141cc8;}get[_0x27231a(0x21d)](){return _0x2048af;}}_0x5bc82f['extend'](U);class M extends _0x403a6a{['_initialize'](_0x1ff962){const _0x2bd7f5=_0x27231a,_0x2621f2=_0x1ff962[_0x2bd7f5(0x223)](_0x385e7e);this['registerEventHandler'](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x1fb)],()=>_0x2621f2['beforeCommandExecuted'](_0x4b908a=>{const _0x34c1a1=_0x2bd7f5;if(_0x4b908a['id']===_0x599153['id']){const _0x4869a7=this['getActiveUniverSheet']();if(!_0x4869a7)return;const _0x3ccf02={'workbook':_0x4869a7,'worksheet':_0x4869a7[_0x34c1a1(0x20c)]()};if(_0x3ccf02==null)return;if(this[_0x34c1a1(0x1f5)](this['Event'][_0x34c1a1(0x1fb)],_0x3ccf02),_0x3ccf02[_0x34c1a1(0x205)])throw new _0x1ce5f5();}})),this[_0x2bd7f5(0x217)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x2621f2[_0x2bd7f5(0x203)](_0x4ad9ce=>{const _0x4fe70e=_0x2bd7f5;if(_0x4ad9ce['id']===_0x28b7f0['id']){const _0x2f2c01=_0x1ff962['get'](_0x181a55);if(!this[_0x4fe70e(0x1f4)]())return;const _0x1de595={'layoutConfig':_0x2f2c01[_0x4fe70e(0x216)],'renderConfig':_0x2f2c01['renderConfig']};if(_0x1de595==null)return;if(this[_0x4fe70e(0x1f5)](this[_0x4fe70e(0x213)][_0x4fe70e(0x206)],_0x1de595),_0x1de595['cancel'])throw new _0x1ce5f5();}})),this[_0x2bd7f5(0x217)](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x215)],()=>_0x2621f2[_0x2bd7f5(0x203)](_0x42e890=>{const _0x2beef6=_0x2bd7f5;if(_0x42e890['id']===_0x4eea2d['id']){const _0x1d8877=_0x1ff962[_0x2beef6(0x223)](_0x181a55);if(!this[_0x2beef6(0x1f4)]())return;const _0x353c6d={'layoutConfig':_0x1d8877[_0x2beef6(0x216)],'renderConfig':_0x1d8877[_0x2beef6(0x225)]};if(_0x353c6d==null)return;if(this[_0x2beef6(0x1f5)](this[_0x2beef6(0x213)][_0x2beef6(0x215)],_0x353c6d),_0x353c6d[_0x2beef6(0x205)])throw new _0x1ce5f5();}})),this[_0x2bd7f5(0x217)](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x20f)],()=>_0x2621f2[_0x2bd7f5(0x20d)](_0x385448=>{const _0x1e5f02=_0x2bd7f5;if(_0x385448['id']===_0x599153['id']){const _0x20aafe=this[_0x1e5f02(0x1f4)]();if(!_0x20aafe)return;const _0x14451f={'workbook':_0x20aafe,'worksheet':_0x20aafe[_0x1e5f02(0x20c)]()};if(_0x14451f==null)return;this[_0x1e5f02(0x1f5)](this[_0x1e5f02(0x213)][_0x1e5f02(0x20f)],_0x14451f);}})),this[_0x2bd7f5(0x217)](this[_0x2bd7f5(0x213)][_0x2bd7f5(0x208)],()=>_0x2621f2[_0x2bd7f5(0x20d)](_0x57c47e=>{const _0x2947ab=_0x2bd7f5;if(_0x57c47e['id']===_0x28b7f0['id']){const _0x3e107f=_0x1ff962[_0x2947ab(0x223)](_0x181a55);if(!this[_0x2947ab(0x1f4)]())return;const _0x307bb7={'layoutConfig':_0x3e107f[_0x2947ab(0x216)],'renderConfig':_0x3e107f[_0x2947ab(0x225)]};if(_0x307bb7==null)return;this[_0x2947ab(0x1f5)](this[_0x2947ab(0x213)][_0x2947ab(0x208)],_0x307bb7);}})),this[_0x2bd7f5(0x217)](this['Event'][_0x2bd7f5(0x21e)],()=>_0x2621f2[_0x2bd7f5(0x20d)](_0x3328d2=>{const _0x229044=_0x2bd7f5;if(_0x3328d2['id']===_0x4eea2d['id']){const _0x5c40fb=_0x1ff962['get'](_0x181a55);if(!this['getActiveUniverSheet']())return;const _0x27e944={'layoutConfig':_0x5c40fb[_0x229044(0x216)],'renderConfig':_0x5c40fb[_0x229044(0x225)]};if(_0x27e944==null)return;this[_0x229044(0x1f5)](this[_0x229044(0x213)]['SheetPrintCanceled'],_0x27e944);}}));}}_0x403a6a[_0x27231a(0x222)](M);
|