@univerjs-pro/sheets-print 0.15.0-insiders.20251227-c108ce3 → 0.15.0-insiders.20260106-79b11f9
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 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/facade/f-range.d.ts +14 -3
- package/lib/types/services/sheet-print.service.d.ts +1 -1
- package/lib/types/views/components/sheet-print-canvas-view.d.ts +4 -0
- 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/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x2cded2=_0x4432;(function(_0x20e8b5,_0x13fb7e){const _0x2c526c=_0x4432,_0xce0ff1=_0x20e8b5();while(!![]){try{const _0x8293b5=-parseInt(_0x2c526c(0x18a))/0x1+-parseInt(_0x2c526c(0x17a))/0x2*(parseInt(_0x2c526c(0x17f))/0x3)+-parseInt(_0x2c526c(0x150))/0x4+-parseInt(_0x2c526c(0x154))/0x5+-parseInt(_0x2c526c(0x162))/0x6*(parseInt(_0x2c526c(0x187))/0x7)+parseInt(_0x2c526c(0x151))/0x8+parseInt(_0x2c526c(0x15a))/0x9;if(_0x8293b5===_0x13fb7e)break;else _0xce0ff1['push'](_0xce0ff1['shift']());}catch(_0x20e7e3){_0xce0ff1['push'](_0xce0ff1['shift']());}}}(_0x25c8,0x5d1c4));function _0x25c8(){const _0x249008=['日期5','显示分页辅助线','所有已选范围','日期2','行和列限制','所有工作表','2SHXZDQ','时间4','复制为截图','垂直居中','图片已保存失败','102189YtrzZh','工作簿标题','适合页面大小','页面方向','A3(29.7厘米\x20x\x2042.0厘米)','网格线','适合高度','已选范围','295379LJotLF','日期4','对齐方式','759261UfbPkH','当前工作表','页眉和页脚','左对齐','MM月DD日','exports','重复冻结行','Custom\x20number','显示水印','打印范围','Horizontal','YYYY-MM-DD','工作簿','B4(25.0厘米\x20x\x2035.3厘米)','664868OFECGx','765240QynTBD','打印页数:','工作簿名称','704730oJmtXc','日期1','转到“查看”>“冻结”可选择要在所有页面重复的行/列','B5(17.6厘米\x20x\x2025.0厘米)','适合宽度','当前时间','13615227mvlfxj','总页数','Vertical','行标题与列标题','关闭并隐藏辅助线','正在打印,请勿关闭页面','HH:mm','子表总页数','18lvrOaR','Univer\x20免费版本,由\x20univer.ai\x20提供支持。','日期6','对折纸(21.6厘米\x20x\x2033.0厘米)','张工作表','https://univer.ai/pro','重复冻结列','顶部对齐','编辑自定义页眉页脚','时间2','A4(21.0厘米\x20x\x2029.7厘米)','纸张大小','信纸(21.6厘米\x20x\x2027.9厘米)','图片已保存到剪贴板','右对齐','HH:mm:ss','自定义页边距','水平居中'];_0x25c8=function(){return _0x249008;};return _0x25c8();}const t={'print':{'header':{'total':_0x2cded2(0x152),'pages':'页','cancel':'取消','next':'下一步','printing':_0x2cded2(0x15f)},'menu':'打印','title':'打印设置','grid':{'title':'打印布局','showGrid':_0x2cded2(0x175),'showGridLabel':_0x2cded2(0x175),'closeAndHide':_0x2cded2(0x15e)},'screenshot':{'title':_0x2cded2(0x17c),'success':_0x2cded2(0x16f),'fail':_0x2cded2(0x17e)},'size':{'title':_0x2cded2(0x16d),'letter':_0x2cded2(0x16e),'tabloid':'小报(27.9厘米\x20x\x2043.2厘米)','legal':'法律专用纸(21.6厘米\x20x\x2035.6厘米)','statement':'报表(14.0厘米\x20x\x2021.6厘米)','executive':'行政公文纸(18.4厘米\x20x\x2026.7厘米)','folio':_0x2cded2(0x165),'a3':_0x2cded2(0x183),'a4':_0x2cded2(0x16c),'a5':'A5(14.8厘米\x20x\x2021.0厘米)','b4':_0x2cded2(0x14f),'b5':_0x2cded2(0x157)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':_0x2cded2(0x172),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x2cded2(0x193),'currentSheet':_0x2cded2(0x18b),'workbook':_0x2cded2(0x14e),'currentSelection':_0x2cded2(0x186),'maxRowsEachPage':'每页最大行数','maxColumnsEachPage':'每页最大列数','limit':_0x2cded2(0x178),'allSelection':_0x2cded2(0x176)},'selection':{'title':'选择','allWorkbook':_0x2cded2(0x179),'workbookUnit':_0x2cded2(0x166)},'scale':{'title':'缩放','normal':'正常\x20(100%)','fitWidth':_0x2cded2(0x158),'fitHeight':_0x2cded2(0x185),'fitPage':_0x2cded2(0x181),'custom':_0x2cded2(0x191)},'orientation':{'title':_0x2cded2(0x182),'landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x2cded2(0x184),'waterMark':_0x2cded2(0x192)},'align':{'title':_0x2cded2(0x189),'horizontal':{'title':_0x2cded2(0x194),'middle':_0x2cded2(0x173),'start':_0x2cded2(0x18d),'end':_0x2cded2(0x170)},'vertical':{'title':_0x2cded2(0x15c),'start':_0x2cded2(0x169),'end':'底部对齐','middle':_0x2cded2(0x17d)}},'headerFooter':{'title':_0x2cded2(0x18c),'page':'页码','workbook':_0x2cded2(0x180),'sheet':_0x2cded2(0x153),'date':'当前日期','time':_0x2cded2(0x159),'customHeadFooter':'自定义页眉页脚','editCustomHeadFooter':_0x2cded2(0x16a),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':'日期格式','dateA':_0x2cded2(0x195),'dateB':'MM-DD','dateC':'L','dateD':_0x2cded2(0x18e),'timeA':_0x2cded2(0x171),'timeB':_0x2cded2(0x160),'timeC':'LTS','timeD':'LT','display':{'page':'页码','title':'工作簿标题','sheet':'工作簿名称','dateA':_0x2cded2(0x155),'dateB':_0x2cded2(0x177),'dateC':'日期3','dateD':_0x2cded2(0x188),'dateE':_0x2cded2(0x174),'dateF':_0x2cded2(0x164),'timeA':'时间1','timeB':_0x2cded2(0x16b),'timeC':'时间3','timeD':_0x2cded2(0x17b),'sheetPage':'子表页码','pageTotal':_0x2cded2(0x15b),'sheetPageTotal':_0x2cded2(0x161)},'placeholder':'点击可添加文本','submit':'确定'},'freeze':{'title':_0x2cded2(0x15d),'desc':_0x2cded2(0x156),'row':_0x2cded2(0x190),'column':_0x2cded2(0x168)},'limit':{'page':'免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','waterMark':_0x2cded2(0x163),'link':_0x2cded2(0x167)}}};function _0x4432(_0x46fc51,_0x16fe3c){_0x46fc51=_0x46fc51-0x14e;const _0x25c8c6=_0x25c8();let _0x4432d4=_0x25c8c6[_0x46fc51];return _0x4432d4;}module[_0x2cded2(0x18f)]=t;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5c3fc8=_0x2173;(function(_0x494a9c,_0x11c090){const _0x2ce594=_0x2173,_0x4583b9=_0x494a9c();while(!![]){try{const _0x5d9bfe=parseInt(_0x2ce594(0xc5))/0x1+-parseInt(_0x2ce594(0x8e))/0x2+parseInt(_0x2ce594(0xd1))/0x3+parseInt(_0x2ce594(0xa8))/0x4*(parseInt(_0x2ce594(0xbc))/0x5)+parseInt(_0x2ce594(0xc8))/0x6+parseInt(_0x2ce594(0xcb))/0x7*(parseInt(_0x2ce594(0x93))/0x8)+parseInt(_0x2ce594(0x95))/0x9*(-parseInt(_0x2ce594(0x8d))/0xa);if(_0x5d9bfe===_0x11c090)break;else _0x4583b9['push'](_0x4583b9['shift']());}catch(_0x2d40d9){_0x4583b9['push'](_0x4583b9['shift']());}}}(_0x169c,0x31ebd));const e={'print':{'header':{'total':_0x5c3fc8(0xae),'pages':'頁','cancel':'取消','next':_0x5c3fc8(0x8f),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x5c3fc8(0xba),'showGrid':_0x5c3fc8(0xc1),'showGridLabel':_0x5c3fc8(0x9b),'closeAndHide':_0x5c3fc8(0x99)},'screenshot':{'title':_0x5c3fc8(0xb2),'success':_0x5c3fc8(0xac),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x5c3fc8(0xa6),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x5c3fc8(0xc3),'legal':_0x5c3fc8(0xb1),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x5c3fc8(0xa1),'folio':_0x5c3fc8(0xbd),'a3':_0x5c3fc8(0xcc),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x5c3fc8(0xd0),'b4':_0x5c3fc8(0xbe),'b5':_0x5c3fc8(0xb7)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x5c3fc8(0xb6),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x5c3fc8(0xa4),'workbook':_0x5c3fc8(0x9f),'currentSelection':_0x5c3fc8(0xa7),'maxRowsEachPage':_0x5c3fc8(0xa3),'maxColumnsEachPage':'每頁最大欄數','limit':_0x5c3fc8(0xb0),'allSelection':'所有選取的儲存格'},'selection':{'title':'選取範圍','allWorkbook':_0x5c3fc8(0xcd),'workbookUnit':_0x5c3fc8(0x90)},'scale':{'title':'縮放','normal':_0x5c3fc8(0xc7),'fitWidth':_0x5c3fc8(0xc2),'fitHeight':'調整至頁面高度','fitPage':_0x5c3fc8(0xc0),'custom':_0x5c3fc8(0xc4)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x5c3fc8(0xa2),'skeleton':_0x5c3fc8(0x8a),'waterMark':_0x5c3fc8(0x8c)},'align':{'title':'對齊','horizontal':{'title':_0x5c3fc8(0xaa),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x5c3fc8(0xc6),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x5c3fc8(0xa5),'page':'頁碼','workbook':_0x5c3fc8(0xbf),'sheet':_0x5c3fc8(0x9a),'date':_0x5c3fc8(0xc9),'time':'目前時間','customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x5c3fc8(0xad),'dateB':_0x5c3fc8(0x9c),'dateC':'L','dateD':_0x5c3fc8(0xb8),'timeA':_0x5c3fc8(0x8b),'timeB':_0x5c3fc8(0x92),'timeC':_0x5c3fc8(0xab),'timeD':_0x5c3fc8(0x96),'display':{'page':'頁碼','title':'活頁簿標題','sheet':'工作表名稱','dateA':_0x5c3fc8(0xbb),'dateB':_0x5c3fc8(0xce),'dateC':'日期C','dateD':_0x5c3fc8(0xaf),'dateE':_0x5c3fc8(0xb4),'dateF':_0x5c3fc8(0xb3),'timeA':_0x5c3fc8(0xca),'timeB':'時間B','timeC':'時間C','timeD':_0x5c3fc8(0x9e),'sheetPage':_0x5c3fc8(0xa9),'pageTotal':_0x5c3fc8(0x91),'sheetPageTotal':_0x5c3fc8(0x9d)},'placeholder':_0x5c3fc8(0xb5),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x5c3fc8(0x97),'row':_0x5c3fc8(0xcf),'column':'重複凍結的欄'},'limit':{'page':_0x5c3fc8(0xa0),'waterMark':_0x5c3fc8(0x94),'link':_0x5c3fc8(0xb9)}}};function _0x169c(){const _0x24a9ff=['自訂义頁邊距','B5\x20(6.93\x22\x20x\x209.84\x22)','MM/DD','https://univer.ai/pro','列印版面配置','日期A','1489205kIFdiC','Folio\x20(8.5\x22\x20x\x2013\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','活頁簿標題','調整至頁面大小','顯示分頁符號','調整至頁面寬度','Tabloid\x20(11\x22\x20x\x2017\x22)','自訂比例','322241fzDVLl','垂直對齊','標準\x20(100%)','622242eetDJg','目前日期','時間A','35ayOwdY','A3\x20(11.69\x22\x20x\x2016.54\x22)','所有工作表','日期B','重複凍結的列','A5\x20(5.83\x22\x20x\x208.27\x22)','1122276TUMWHm','顯示格線','HH:mm:ss','顯示浮水印','190czRArM','77782hbHUPr','下一步','張工作表','總頁數','HH:mm','379776jRysWr','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','517203qgZxUq','hh:mm','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','exports','關閉並隱藏分頁線','工作表名稱','顯示分頁線','MM-DD','工作表總頁數','時間D','活頁簿','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','Executive\x20(7.25\x22\x20x\x2010.5\x22)','格式設定','每頁最大列數','目前工作表','頁首和頁尾','紙張大小','已選取的儲存格','4uCIGOg','工作表頁碼','水平對齊','hh:mm:ss','圖片已成功複製到剪貼簿!','YYYY-MM-DD','總計:','日期D','列與欄限制','Legal\x20(8.5\x22\x20x\x2014\x22)','複製為圖片','日期F','日期E','點擊以新增文字'];_0x169c=function(){return _0x24a9ff;};return _0x169c();}function _0x2173(_0x416065,_0x1d304b){_0x416065=_0x416065-0x8a;const _0x169ce5=_0x169c();let _0x217374=_0x169ce5[_0x416065];return _0x217374;}module[_0x5c3fc8(0x98)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xa2cddc=_0x16ce;function _0x1037(){const _0x3bb7ab=['7321240qgqENl','updateLayoutConfig','135ScxsFo','1472046mBJxXI','renderConfig','82570QOebjm','_range','fireEvent','108IDefrk','PrintArea','PrintHeaderFooterSymbol','Event','extend','getScreenshot','7gMgDVd','registerEventHandler','PrintScale','1247247gpRapt','166WWhcgD','_initialize','_injector','beforeCommandExecuted','getActiveSheet','executeCommand','getRangeImage','BeforeSheetPrintConfirm','SheetPrintOpen','layoutConfig','SheetPrintCanceled','PrintPaperSize','saveScreenshotToClipboard','SheetPrintConfirmed','get','cancel','4637vgGoOi','getActiveUniverSheet','12093994HiIWrv','BeforeSheetPrintCanceled','includeHeaders','PrintHeaderFooter','closePrintDialog','336944tsqpOw','BeforeSheetPrintOpen','PrintDirection','updatePrintConfig','PrintPaperMargin','updatePrintRenderConfig','syncExecuteCommand','_workbook','onCommandExecuted','getSheetId'];_0x1037=function(){return _0x3bb7ab;};return _0x1037();}(function(_0x542a97,_0x4e3279){const _0x5ac1fd=_0x16ce,_0x185b18=_0x542a97();while(!![]){try{const _0x5472b6=parseInt(_0x5ac1fd(0x182))/0x1*(parseInt(_0x5ac1fd(0x172))/0x2)+parseInt(_0x5ac1fd(0x171))/0x3+-parseInt(_0x5ac1fd(0x19b))/0x4*(-parseInt(_0x5ac1fd(0x198))/0x5)+parseInt(_0x5ac1fd(0x196))/0x6*(parseInt(_0x5ac1fd(0x16e))/0x7)+-parseInt(_0x5ac1fd(0x189))/0x8*(parseInt(_0x5ac1fd(0x195))/0x9)+parseInt(_0x5ac1fd(0x193))/0xa+-parseInt(_0x5ac1fd(0x184))/0xb;if(_0x5472b6===_0x4e3279)break;else _0x185b18['push'](_0x185b18['shift']());}catch(_0x41e044){_0x185b18['push'](_0x185b18['shift']());}}}(_0x1037,0x784c3));import{ISheetPrintManagerService as _0x5249cd,ConfirmSheetPrintOperation as _0x2ae9a8,SheetPrintOpenOperation as _0x3a4968,CancelSheetPrintOperation as _0x5cd99b,hasPrintFacadePermission as _0x8e4847,SheetScreenShotOperation as _0x37ab94,SheetPrintClientService as _0x5865a4,PrintArea as _0x5187e5,PrintFreeze as _0x225a78,PrintHeaderFooter as _0x18b375,PrintHeaderFooterSymbol as _0x444695}from'@univerjs-pro/sheets-print';import{ICommandService as _0x11189a,PaperType as _0x4d1589,CanceledError as _0x356132}from'@univerjs/core';import{FWorkbook as _0x495352,FRange as _0x2777b7}from'@univerjs/sheets/facade';import{FEventName as _0x3260be,FEnum as _0x41d5b7,FUniver as _0x1114e1}from'@univerjs/core/facade';import{PrintAlign as _0x31ede8,PrintPaperMargin as _0x3cd3c6,PrintScale as _0x1d54eb,PrintDirection as _0x2bd696}from'@univerjs-pro/print';class A extends _0x495352{[_0xa2cddc(0x18c)](_0x232324){const _0x5ce4d9=_0xa2cddc;return this['_injector']['get'](_0x5249cd)[_0x5ce4d9(0x194)](_0x232324),this;}[_0xa2cddc(0x18e)](_0x1b1bf4){const _0x421fe1=_0xa2cddc;return this['_injector'][_0x421fe1(0x180)](_0x5249cd)['updateRenderConfig'](_0x1b1bf4),this;}['print'](){const _0x2991e8=_0xa2cddc;return this[_0x2991e8(0x174)][_0x2991e8(0x180)](_0x11189a)['syncExecuteCommand'](_0x2ae9a8['id']);}['openPrintDialog'](){const _0x5dcc3a=_0xa2cddc;return this[_0x5dcc3a(0x174)][_0x5dcc3a(0x180)](_0x11189a)[_0x5dcc3a(0x18f)](_0x3a4968['id']);}[_0xa2cddc(0x188)](){const _0x2afc51=_0xa2cddc;return this[_0x2afc51(0x174)]['get'](_0x11189a)['syncExecuteCommand'](_0x5cd99b['id']);}async[_0xa2cddc(0x17e)](){const _0x320772=_0xa2cddc;return _0x8e4847(this[_0x320772(0x174)])?this[_0x320772(0x174)][_0x320772(0x180)](_0x11189a)[_0x320772(0x177)](_0x37ab94['id']):!0x1;}}function _0x16ce(_0x76e0ab,_0x37c3d4){_0x76e0ab=_0x76e0ab-0x16c;const _0x103786=_0x1037();let _0x16ce92=_0x103786[_0x76e0ab];return _0x16ce92;}_0x495352['extend'](A);class B extends _0x2777b7{[_0xa2cddc(0x16d)](_0x5240ef){const _0x83b15c=_0xa2cddc;return _0x8e4847(this[_0x83b15c(0x174)])?this[_0x83b15c(0x174)]['get'](_0x5865a4)[_0x83b15c(0x178)](this[_0x83b15c(0x190)]['getUnitId'](),this['_worksheet'][_0x83b15c(0x192)](),this[_0x83b15c(0x199)],_0x5240ef==null?void 0x0:_0x5240ef[_0x83b15c(0x186)]):!0x1;}}_0x2777b7['extend'](B);class H{get['BeforeSheetPrintOpen'](){const _0x5c3434=_0xa2cddc;return _0x5c3434(0x18a);}get[_0xa2cddc(0x179)](){return'BeforeSheetPrintConfirm';}get[_0xa2cddc(0x185)](){const _0x24934b=_0xa2cddc;return _0x24934b(0x185);}get[_0xa2cddc(0x17a)](){const _0x3015af=_0xa2cddc;return _0x3015af(0x17a);}get[_0xa2cddc(0x17f)](){const _0x3a732c=_0xa2cddc;return _0x3a732c(0x17f);}get[_0xa2cddc(0x17c)](){return'SheetPrintCanceled';}}_0x3260be[_0xa2cddc(0x16c)](H);class U{get[_0xa2cddc(0x19c)](){return _0x5187e5;}get['PrintAlign'](){return _0x31ede8;}get[_0xa2cddc(0x17d)](){return _0x4d1589;}get[_0xa2cddc(0x18d)](){return _0x3cd3c6;}get[_0xa2cddc(0x170)](){return _0x1d54eb;}get[_0xa2cddc(0x18b)](){return _0x2bd696;}get['PrintFreeze'](){return _0x225a78;}get[_0xa2cddc(0x187)](){return _0x18b375;}get[_0xa2cddc(0x19d)](){return _0x444695;}}_0x41d5b7[_0xa2cddc(0x16c)](U);class M extends _0x1114e1{[_0xa2cddc(0x173)](_0x216580){const _0x24e4f7=_0xa2cddc,_0x233cce=_0x216580[_0x24e4f7(0x180)](_0x11189a);this[_0x24e4f7(0x16f)](this[_0x24e4f7(0x19e)]['BeforeSheetPrintOpen'],()=>_0x233cce['beforeCommandExecuted'](_0x4e1f46=>{const _0x50c8c0=_0x24e4f7;if(_0x4e1f46['id']===_0x3a4968['id']){const _0x39c74a=this['getActiveUniverSheet']();if(!_0x39c74a)return;const _0xced120={'workbook':_0x39c74a,'worksheet':_0x39c74a[_0x50c8c0(0x176)]()};if(_0xced120==null)return;if(this['fireEvent'](this[_0x50c8c0(0x19e)][_0x50c8c0(0x18a)],_0xced120),_0xced120[_0x50c8c0(0x181)])throw new _0x356132();}})),this[_0x24e4f7(0x16f)](this['Event'][_0x24e4f7(0x179)],()=>_0x233cce['beforeCommandExecuted'](_0x499b41=>{const _0x293d55=_0x24e4f7;if(_0x499b41['id']===_0x2ae9a8['id']){const _0x4eae4e=_0x216580[_0x293d55(0x180)](_0x5249cd);if(!this['getActiveUniverSheet']())return;const _0x319749={'layoutConfig':_0x4eae4e[_0x293d55(0x17b)],'renderConfig':_0x4eae4e[_0x293d55(0x197)]};if(_0x319749==null)return;if(this['fireEvent'](this[_0x293d55(0x19e)]['BeforeSheetPrintConfirm'],_0x319749),_0x319749[_0x293d55(0x181)])throw new _0x356132();}})),this[_0x24e4f7(0x16f)](this['Event'][_0x24e4f7(0x185)],()=>_0x233cce[_0x24e4f7(0x175)](_0x49f344=>{const _0x11d3b1=_0x24e4f7;if(_0x49f344['id']===_0x5cd99b['id']){const _0x54b663=_0x216580[_0x11d3b1(0x180)](_0x5249cd);if(!this['getActiveUniverSheet']())return;const _0x34925e={'layoutConfig':_0x54b663[_0x11d3b1(0x17b)],'renderConfig':_0x54b663[_0x11d3b1(0x197)]};if(_0x34925e==null)return;if(this['fireEvent'](this['Event'][_0x11d3b1(0x185)],_0x34925e),_0x34925e[_0x11d3b1(0x181)])throw new _0x356132();}})),this['registerEventHandler'](this['Event'][_0x24e4f7(0x17a)],()=>_0x233cce['onCommandExecuted'](_0x295a1d=>{const _0x5c93e2=_0x24e4f7;if(_0x295a1d['id']===_0x3a4968['id']){const _0x2bfccd=this['getActiveUniverSheet']();if(!_0x2bfccd)return;const _0x3e9267={'workbook':_0x2bfccd,'worksheet':_0x2bfccd[_0x5c93e2(0x176)]()};if(_0x3e9267==null)return;this[_0x5c93e2(0x19a)](this[_0x5c93e2(0x19e)][_0x5c93e2(0x17a)],_0x3e9267);}})),this[_0x24e4f7(0x16f)](this[_0x24e4f7(0x19e)][_0x24e4f7(0x17f)],()=>_0x233cce[_0x24e4f7(0x191)](_0xf60ebb=>{const _0x4bd92d=_0x24e4f7;if(_0xf60ebb['id']===_0x2ae9a8['id']){const _0x2cefcc=_0x216580['get'](_0x5249cd);if(!this[_0x4bd92d(0x183)]())return;const _0x1349fa={'layoutConfig':_0x2cefcc[_0x4bd92d(0x17b)],'renderConfig':_0x2cefcc['renderConfig']};if(_0x1349fa==null)return;this['fireEvent'](this['Event'][_0x4bd92d(0x17f)],_0x1349fa);}})),this[_0x24e4f7(0x16f)](this[_0x24e4f7(0x19e)][_0x24e4f7(0x17c)],()=>_0x233cce[_0x24e4f7(0x191)](_0x334df2=>{const _0x17e58e=_0x24e4f7;if(_0x334df2['id']===_0x5cd99b['id']){const _0x3acd40=_0x216580[_0x17e58e(0x180)](_0x5249cd);if(!this['getActiveUniverSheet']())return;const _0x29cdc3={'layoutConfig':_0x3acd40['layoutConfig'],'renderConfig':_0x3acd40[_0x17e58e(0x197)]};if(_0x29cdc3==null)return;this[_0x17e58e(0x19a)](this[_0x17e58e(0x19e)]['SheetPrintCanceled'],_0x29cdc3);}}));}}_0x1114e1[_0xa2cddc(0x16c)](M);
|