@univerjs-pro/sheets-print 0.24.0 → 0.25.0
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/ar-SA.js +1 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -0
- 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/id-ID.js +1 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.js +1 -0
- 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/ar-SA.js +1 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -0
- 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/id-ID.js +1 -0
- package/lib/es/locale/it-IT.js +1 -0
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -0
- package/lib/es/locale/pt-BR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -0
- 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/id-ID.js +1 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -0
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/sheet-print.controller.d.ts +4 -2
- package/lib/types/facade/f-range.d.ts +2 -1
- package/lib/types/facade/f-workbook.d.ts +2 -1
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +4 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/services/sheet-print.service.d.ts +3 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- 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/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xcc6663=_0x56dc;(function(_0x4dcc87,_0x3dc19e){const _0x6c7029=_0x56dc,_0x3ff703=_0x4dcc87();while(!![]){try{const _0x12a284=parseInt(_0x6c7029(0xac))/0x1*(-parseInt(_0x6c7029(0xab))/0x2)+parseInt(_0x6c7029(0xad))/0x3*(parseInt(_0x6c7029(0x95))/0x4)+-parseInt(_0x6c7029(0xba))/0x5+parseInt(_0x6c7029(0xb8))/0x6*(parseInt(_0x6c7029(0xbc))/0x7)+parseInt(_0x6c7029(0x92))/0x8+parseInt(_0x6c7029(0x88))/0x9*(parseInt(_0x6c7029(0x89))/0xa)+parseInt(_0x6c7029(0xb3))/0xb*(-parseInt(_0x6c7029(0x99))/0xc);if(_0x12a284===_0x3dc19e)break;else _0x3ff703['push'](_0x3ff703['shift']());}catch(_0x2e63e9){_0x3ff703['push'](_0x3ff703['shift']());}}}(_0x514d,0x94842));let e=require('@univerjs-pro/sheets-print'),t=require('@univerjs/core'),n=require('@univerjs/sheets/facade'),r=require('@univerjs/core/facade'),i=require('@univerjs-pro/print');var a=class extends n[_0xcc6663(0xc2)]{[_0xcc6663(0xa4)](_0x1eea91){const _0x104915=_0xcc6663;return this[_0x104915(0xbf)][_0x104915(0x96)](e[_0x104915(0x91)])[_0x104915(0x9b)](_0x1eea91),this;}[_0xcc6663(0xa0)](_0x1731ee){const _0x3b0856=_0xcc6663;return this[_0x3b0856(0xbf)][_0x3b0856(0x96)](e['ISheetPrintManagerService'])[_0x3b0856(0xa5)](_0x1731ee),this;}[_0xcc6663(0xc9)](){const _0x3cbd5c=_0xcc6663;return this[_0x3cbd5c(0xbf)][_0x3cbd5c(0x96)](t[_0x3cbd5c(0xbb)])['syncExecuteCommand'](e[_0x3cbd5c(0xca)]['id']);}[_0xcc6663(0x8c)](){const _0x341c98=_0xcc6663;return this[_0x341c98(0xbf)][_0x341c98(0x96)](t['ICommandService'])[_0x341c98(0xc0)](e['SheetPrintOpenOperation']['id']);}[_0xcc6663(0x8b)](){const _0x1ffe40=_0xcc6663;return this[_0x1ffe40(0xbf)]['get'](t[_0x1ffe40(0xbb)])[_0x1ffe40(0xc0)](e[_0x1ffe40(0xb0)]['id']);}async[_0xcc6663(0xc3)](){const _0x1e589a=_0xcc6663;return(0x0,e[_0x1e589a(0xc4)])(this[_0x1e589a(0xbf)])?this[_0x1e589a(0xbf)][_0x1e589a(0x96)](t[_0x1e589a(0xbb)])['executeCommand'](e[_0x1e589a(0xb1)]['id']):!0x1;}};n[_0xcc6663(0xc2)][_0xcc6663(0x98)](a);var o=class extends n['FRange']{['getScreenshot'](_0x3557a7){const _0x143017=_0xcc6663;return(0x0,e[_0x143017(0xc4)])(this[_0x143017(0xbf)])?this[_0x143017(0xbf)][_0x143017(0x96)](e[_0x143017(0x87)])[_0x143017(0x9f)](this[_0x143017(0xa2)][_0x143017(0xc1)](),this[_0x143017(0xa7)][_0x143017(0xb2)](),this['_range'],_0x3557a7==null?void 0x0:_0x3557a7['includeHeaders']):!0x1;}};n[_0xcc6663(0x9d)][_0xcc6663(0x98)](o);var s=class extends r[_0xcc6663(0xbe)]{get['BeforeSheetPrintOpen'](){const _0xd4fb1b=_0xcc6663;return _0xd4fb1b(0xb6);}get['BeforeSheetPrintConfirm'](){const _0x18ad09=_0xcc6663;return _0x18ad09(0xbd);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x4dd86e=_0xcc6663;return _0x4dd86e(0xc6);}get[_0xcc6663(0xae)](){const _0x20145b=_0xcc6663;return _0x20145b(0xae);}get[_0xcc6663(0x9c)](){const _0x46b6bb=_0xcc6663;return _0x46b6bb(0x9c);}};r[_0xcc6663(0xbe)][_0xcc6663(0x98)](s);var c=class extends r[_0xcc6663(0x90)]{get['PrintArea'](){const _0x1e3ceb=_0xcc6663;return e[_0x1e3ceb(0xc7)];}get[_0xcc6663(0xcb)](){return i['PrintAlign'];}get[_0xcc6663(0xa9)](){const _0xc80e29=_0xcc6663;return t[_0xc80e29(0x97)];}get[_0xcc6663(0xa1)](){const _0x1a9e35=_0xcc6663;return i[_0x1a9e35(0xa1)];}get['PrintScale'](){const _0xe91d7e=_0xcc6663;return i[_0xe91d7e(0x8e)];}get[_0xcc6663(0x9e)](){const _0x519759=_0xcc6663;return i[_0x519759(0x9e)];}get[_0xcc6663(0x86)](){const _0x15dacd=_0xcc6663;return e[_0x15dacd(0x86)];}get[_0xcc6663(0x8f)](){const _0x458135=_0xcc6663;return e[_0x458135(0x8f)];}get[_0xcc6663(0xaf)](){const _0x259dba=_0xcc6663;return e[_0x259dba(0xaf)];}};function _0x56dc(_0x7632c8,_0x19081f){_0x7632c8=_0x7632c8-0x86;const _0x514de9=_0x514d();let _0x56dce5=_0x514de9[_0x7632c8];return _0x56dce5;}function _0x514d(){const _0x1d3971=['4vpbQgV','get','PaperType','extend','3743748lffcVP','onCommandExecuted','updateLayoutConfig','SheetPrintCanceled','FRange','PrintDirection','getRangeImage','updatePrintRenderConfig','PrintPaperMargin','_workbook','registerEventHandler','updatePrintConfig','updateRenderConfig','renderConfig','_worksheet','getActiveUniverSheet','PrintPaperSize','Event','2amCFpr','1188295heZuaq','2028261VigjyX','SheetPrintConfirmed','PrintHeaderFooterSymbol','CancelSheetPrintOperation','SheetScreenShotOperation','getSheetId','33jQdbYW','_initialize','SheetPrintOpenOperation','BeforeSheetPrintOpen','BeforeSheetPrintCanceled','120942xctLTI','getActiveSheet','1208400Xsscua','ICommandService','336JxlNWL','BeforeSheetPrintConfirm','FEventName','_injector','syncExecuteCommand','getUnitId','FWorkbook','saveScreenshotToClipboard','hasPrintFacadePermission','disposeWithMe','SheetPrintOpen','PrintArea','FUniver','print','ConfirmSheetPrintOperation','PrintAlign','PrintFreeze','SheetPrintClientService','5586993vMVsGQ','10ecgIWk','CanceledError','closePrintDialog','openPrintDialog','fireEvent','PrintScale','PrintHeaderFooter','FEnum','ISheetPrintManagerService','5678672KTgcEq','beforeCommandExecuted','layoutConfig'];_0x514d=function(){return _0x1d3971;};return _0x514d();}r[_0xcc6663(0x90)][_0xcc6663(0x98)](c);var l=class extends r[_0xcc6663(0xc8)]{[_0xcc6663(0xb4)](_0x3f9a72){const _0x55f612=_0xcc6663;let _0x4ed5cb=_0x3f9a72[_0x55f612(0x96)](t['ICommandService']);this[_0x55f612(0xc5)](this[_0x55f612(0xa3)](this[_0x55f612(0xaa)]['BeforeSheetPrintOpen'],()=>_0x4ed5cb[_0x55f612(0x93)](_0x260451=>{const _0x3ce380=_0x55f612;if(_0x260451['id']===e[_0x3ce380(0xb5)]['id']){let _0xf7f188=this[_0x3ce380(0xa8)]();if(!_0xf7f188)return;let _0x5b5a1d={'workbook':_0xf7f188,'worksheet':_0xf7f188[_0x3ce380(0xb9)]()};if(_0x5b5a1d==null)return;if(this[_0x3ce380(0x8d)](this[_0x3ce380(0xaa)][_0x3ce380(0xb6)],_0x5b5a1d),_0x5b5a1d['cancel'])throw new t[(_0x3ce380(0x8a))]();}}))),this['disposeWithMe'](this['registerEventHandler'](this['Event'][_0x55f612(0xbd)],()=>_0x4ed5cb['beforeCommandExecuted'](_0x5eed16=>{const _0x5ae22c=_0x55f612;if(_0x5eed16['id']===e[_0x5ae22c(0xca)]['id']){let _0x566d71=_0x3f9a72[_0x5ae22c(0x96)](e[_0x5ae22c(0x91)]);if(!this[_0x5ae22c(0xa8)]())return;let _0x560d7f={'layoutConfig':_0x566d71['layoutConfig'],'renderConfig':_0x566d71[_0x5ae22c(0xa6)]};if(_0x560d7f==null)return;if(this[_0x5ae22c(0x8d)](this[_0x5ae22c(0xaa)][_0x5ae22c(0xbd)],_0x560d7f),_0x560d7f['cancel'])throw new t[(_0x5ae22c(0x8a))]();}}))),this[_0x55f612(0xc5)](this[_0x55f612(0xa3)](this[_0x55f612(0xaa)][_0x55f612(0xb7)],()=>_0x4ed5cb[_0x55f612(0x93)](_0x13cf86=>{const _0x32f749=_0x55f612;if(_0x13cf86['id']===e['CancelSheetPrintOperation']['id']){let _0xd83de7=_0x3f9a72['get'](e['ISheetPrintManagerService']);if(!this[_0x32f749(0xa8)]())return;let _0xd3bd06={'layoutConfig':_0xd83de7[_0x32f749(0x94)],'renderConfig':_0xd83de7[_0x32f749(0xa6)]};if(_0xd3bd06==null)return;if(this[_0x32f749(0x8d)](this[_0x32f749(0xaa)]['BeforeSheetPrintCanceled'],_0xd3bd06),_0xd3bd06['cancel'])throw new t['CanceledError']();}}))),this['disposeWithMe'](this[_0x55f612(0xa3)](this[_0x55f612(0xaa)][_0x55f612(0xc6)],()=>_0x4ed5cb[_0x55f612(0x9a)](_0x2edb63=>{const _0x331ad0=_0x55f612;if(_0x2edb63['id']===e[_0x331ad0(0xb5)]['id']){let _0x1977a6=this[_0x331ad0(0xa8)]();if(!_0x1977a6)return;let _0x2ae1cc={'workbook':_0x1977a6,'worksheet':_0x1977a6[_0x331ad0(0xb9)]()};if(_0x2ae1cc==null)return;this[_0x331ad0(0x8d)](this['Event']['SheetPrintOpen'],_0x2ae1cc);}}))),this[_0x55f612(0xc5)](this[_0x55f612(0xa3)](this[_0x55f612(0xaa)][_0x55f612(0xae)],()=>_0x4ed5cb['onCommandExecuted'](_0x5629f8=>{const _0x574f4c=_0x55f612;if(_0x5629f8['id']===e[_0x574f4c(0xca)]['id']){let _0xdc738=_0x3f9a72[_0x574f4c(0x96)](e['ISheetPrintManagerService']);if(!this[_0x574f4c(0xa8)]())return;let _0x459d08={'layoutConfig':_0xdc738[_0x574f4c(0x94)],'renderConfig':_0xdc738['renderConfig']};if(_0x459d08==null)return;this[_0x574f4c(0x8d)](this[_0x574f4c(0xaa)]['SheetPrintConfirmed'],_0x459d08);}}))),this[_0x55f612(0xc5)](this[_0x55f612(0xa3)](this['Event']['SheetPrintCanceled'],()=>_0x4ed5cb['onCommandExecuted'](_0xa28942=>{const _0x6bf989=_0x55f612;if(_0xa28942['id']===e['CancelSheetPrintOperation']['id']){let _0x4fd74a=_0x3f9a72[_0x6bf989(0x96)](e[_0x6bf989(0x91)]);if(!this['getActiveUniverSheet']())return;let _0x14a997={'layoutConfig':_0x4fd74a[_0x6bf989(0x94)],'renderConfig':_0x4fd74a[_0x6bf989(0xa6)]};if(_0x14a997==null)return;this[_0x6bf989(0x8d)](this[_0x6bf989(0xaa)][_0x6bf989(0x9c)],_0x14a997);}})));}};r['FUniver'][_0xcc6663(0x98)](l);
|