@univerjs-pro/sheets-print 1.0.0-alpha.6 → 1.0.0-alpha.8
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 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- 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 -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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- 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 -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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- 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 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- 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 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -16
- package/lib/types/views/components/SheetPrintPagePreview.spec.d.ts +0 -1
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x44597e=_0x5ceb;(function(_0x2b3089,_0x4d9152){const _0x27c372=_0x5ceb,_0x31f65c=_0x2b3089();while(!![]){try{const _0x1b3656=parseInt(_0x27c372(0x89))/0x1*(parseInt(_0x27c372(0x90))/0x2)+-parseInt(_0x27c372(0x6f))/0x3*(parseInt(_0x27c372(0x64))/0x4)+parseInt(_0x27c372(0x75))/0x5*(-parseInt(_0x27c372(0x76))/0x6)+parseInt(_0x27c372(0x8b))/0x7*(parseInt(_0x27c372(0x97))/0x8)+parseInt(_0x27c372(0x73))/0x9*(-parseInt(_0x27c372(0x9d))/0xa)+parseInt(_0x27c372(0x7b))/0xb*(parseInt(_0x27c372(0x80))/0xc)+parseInt(_0x27c372(0x9b))/0xd;if(_0x1b3656===_0x4d9152)break;else _0x31f65c['push'](_0x31f65c['shift']());}catch(_0x2d17ac){_0x31f65c['push'](_0x31f65c['shift']());}}}(_0x478e,0x7ed56));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[_0x44597e(0x85)]{[_0x44597e(0x96)](_0x1e17e8){const _0x543dd7=_0x44597e;return this[_0x543dd7(0x8a)][_0x543dd7(0x86)](e[_0x543dd7(0xa6)])[_0x543dd7(0x67)](_0x1e17e8),this;}[_0x44597e(0x99)](_0x15aae7){const _0x10ab42=_0x44597e;return this['_injector'][_0x10ab42(0x86)](e['ISheetPrintManagerService'])['updateRenderConfig'](_0x15aae7),this;}[_0x44597e(0x93)](){const _0x4ddc0a=_0x44597e;return this[_0x4ddc0a(0x8a)][_0x4ddc0a(0x86)](t[_0x4ddc0a(0x79)])[_0x4ddc0a(0x66)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x701d96=_0x44597e;return this[_0x701d96(0x8a)]['get'](t['ICommandService'])[_0x701d96(0x66)](e[_0x701d96(0x83)]['id']);}[_0x44597e(0x8c)](){const _0xe2cde=_0x44597e;return this['_injector'][_0xe2cde(0x86)](t['ICommandService'])[_0xe2cde(0x66)](e[_0xe2cde(0x8f)]['id']);}async[_0x44597e(0x7e)](){const _0x267701=_0x44597e;return(0x0,e['hasPrintFacadePermission'])(this[_0x267701(0x8a)])?this[_0x267701(0x8a)][_0x267701(0x86)](t[_0x267701(0x79)])[_0x267701(0x84)](e[_0x267701(0x95)]['id']):!0x1;}};n[_0x44597e(0x85)][_0x44597e(0x9c)](a);var o=class extends n[_0x44597e(0x77)]{[_0x44597e(0x82)](_0x447e6d){const _0x458faf=_0x44597e;return(0x0,e[_0x458faf(0x88)])(this[_0x458faf(0x8a)])?this[_0x458faf(0x8a)][_0x458faf(0x86)](e[_0x458faf(0x9a)])['getRangeImage'](this[_0x458faf(0xab)][_0x458faf(0xa4)](),this[_0x458faf(0x81)][_0x458faf(0x6e)](),this[_0x458faf(0xa5)],_0x447e6d==null?void 0x0:_0x447e6d[_0x458faf(0x94)]):!0x1;}};function _0x478e(){const _0x68e8c8=['16384jpXXsu','_initialize','syncExecuteCommand','updateLayoutConfig','onCommandExecuted','PaperType','BeforeSheetPrintOpen','SheetPrintOpen','beforeCommandExecuted','fireEvent','getSheetId','594WAUbXz','PrintPaperSize','disposeWithMe','Event','301608FtnZAq','ConfirmSheetPrintOperation','1290955YdyEEZ','18BOcqQZ','FRange','registerEventHandler','ICommandService','PrintHeaderFooter','37543aRjOZo','SheetPrintConfirmed','FEventName','saveScreenshotToClipboard','CanceledError','3108znYUKa','_worksheet','getScreenshot','SheetPrintOpenOperation','executeCommand','FWorkbook','get','renderConfig','hasPrintFacadePermission','7ALtiiD','_injector','2948267BNZvXT','closePrintDialog','PrintDirection','PrintAlign','CancelSheetPrintOperation','176602sWOqZh','PrintArea','SheetPrintCanceled','print','includeHeaders','SheetScreenShotOperation','updatePrintConfig','16bRvfKr','BeforeSheetPrintConfirm','updatePrintRenderConfig','SheetPrintClientService','4294667luZiRS','extend','170ldSiAB','PrintHeaderFooterSymbol','getActiveSheet','getActiveWorkbook','cancel','PrintFreeze','FEnum','getUnitId','_range','ISheetPrintManagerService','layoutConfig','PrintPaperMargin','PrintScale','BeforeSheetPrintCanceled','_workbook'];_0x478e=function(){return _0x68e8c8;};return _0x478e();}function _0x5ceb(_0x40622a,_0x2649c1){_0x40622a=_0x40622a-0x64;const _0x478e58=_0x478e();let _0x5ceb81=_0x478e58[_0x40622a];return _0x5ceb81;}n[_0x44597e(0x77)][_0x44597e(0x9c)](o);var s=class extends r['FEventName']{get[_0x44597e(0x6a)](){return'BeforeSheetPrintOpen';}get[_0x44597e(0x98)](){return'BeforeSheetPrintConfirm';}get[_0x44597e(0xaa)](){const _0x4857a4=_0x44597e;return _0x4857a4(0xaa);}get[_0x44597e(0x6b)](){const _0x5197e4=_0x44597e;return _0x5197e4(0x6b);}get[_0x44597e(0x7c)](){const _0x46b896=_0x44597e;return _0x46b896(0x7c);}get[_0x44597e(0x92)](){return'SheetPrintCanceled';}};r[_0x44597e(0x7d)]['extend'](s);var c=class extends r[_0x44597e(0xa3)]{get[_0x44597e(0x91)](){const _0x59068e=_0x44597e;return e[_0x59068e(0x91)];}get[_0x44597e(0x8e)](){const _0x22fd1f=_0x44597e;return i[_0x22fd1f(0x8e)];}get[_0x44597e(0x70)](){const _0x5d29c3=_0x44597e;return t[_0x5d29c3(0x69)];}get['PrintPaperMargin'](){const _0x1a4bda=_0x44597e;return i[_0x1a4bda(0xa8)];}get['PrintScale'](){const _0x8ac7b=_0x44597e;return i[_0x8ac7b(0xa9)];}get['PrintDirection'](){const _0x44bda4=_0x44597e;return i[_0x44bda4(0x8d)];}get[_0x44597e(0xa2)](){const _0xd917cd=_0x44597e;return e[_0xd917cd(0xa2)];}get[_0x44597e(0x7a)](){return e['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x1668fe=_0x44597e;return e[_0x1668fe(0x9e)];}};r['FEnum']['extend'](c);var l=class extends r['FUniver']{[_0x44597e(0x65)](_0x2deec5){const _0x3cb845=_0x44597e;let _0x4aeb0d=_0x2deec5[_0x3cb845(0x86)](t[_0x3cb845(0x79)]);this[_0x3cb845(0x71)](this[_0x3cb845(0x78)](this[_0x3cb845(0x72)][_0x3cb845(0x6a)],()=>_0x4aeb0d[_0x3cb845(0x6c)](_0x35fd44=>{const _0x5204d6=_0x3cb845;if(_0x35fd44['id']===e[_0x5204d6(0x83)]['id']){let _0xd97e7=this[_0x5204d6(0xa0)]();if(!_0xd97e7)return;let _0xe3554b={'workbook':_0xd97e7,'worksheet':_0xd97e7[_0x5204d6(0x9f)]()};if(_0xe3554b==null)return;if(this[_0x5204d6(0x6d)](this[_0x5204d6(0x72)][_0x5204d6(0x6a)],_0xe3554b),_0xe3554b[_0x5204d6(0xa1)])throw new t[(_0x5204d6(0x7f))]();}}))),this['disposeWithMe'](this[_0x3cb845(0x78)](this[_0x3cb845(0x72)][_0x3cb845(0x98)],()=>_0x4aeb0d[_0x3cb845(0x6c)](_0x25f3d6=>{const _0x579d9c=_0x3cb845;if(_0x25f3d6['id']===e[_0x579d9c(0x74)]['id']){let _0x2b5743=_0x2deec5[_0x579d9c(0x86)](e[_0x579d9c(0xa6)]);if(!this['getActiveWorkbook']())return;let _0x32f9ad={'layoutConfig':_0x2b5743[_0x579d9c(0xa7)],'renderConfig':_0x2b5743[_0x579d9c(0x87)]};if(_0x32f9ad==null)return;if(this['fireEvent'](this[_0x579d9c(0x72)]['BeforeSheetPrintConfirm'],_0x32f9ad),_0x32f9ad[_0x579d9c(0xa1)])throw new t[(_0x579d9c(0x7f))]();}}))),this[_0x3cb845(0x71)](this[_0x3cb845(0x78)](this[_0x3cb845(0x72)][_0x3cb845(0xaa)],()=>_0x4aeb0d[_0x3cb845(0x6c)](_0x2e7500=>{const _0x468443=_0x3cb845;if(_0x2e7500['id']===e[_0x468443(0x8f)]['id']){let _0x534c4a=_0x2deec5[_0x468443(0x86)](e[_0x468443(0xa6)]);if(!this[_0x468443(0xa0)]())return;let _0x3af013={'layoutConfig':_0x534c4a['layoutConfig'],'renderConfig':_0x534c4a['renderConfig']};if(_0x3af013==null)return;if(this[_0x468443(0x6d)](this['Event'][_0x468443(0xaa)],_0x3af013),_0x3af013[_0x468443(0xa1)])throw new t[(_0x468443(0x7f))]();}}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x3cb845(0x72)][_0x3cb845(0x6b)],()=>_0x4aeb0d[_0x3cb845(0x68)](_0x3a1aa1=>{const _0x3bc060=_0x3cb845;if(_0x3a1aa1['id']===e[_0x3bc060(0x83)]['id']){let _0x8ca695=this['getActiveWorkbook']();if(!_0x8ca695)return;let _0x199d83={'workbook':_0x8ca695,'worksheet':_0x8ca695['getActiveSheet']()};if(_0x199d83==null)return;this[_0x3bc060(0x6d)](this[_0x3bc060(0x72)][_0x3bc060(0x6b)],_0x199d83);}}))),this[_0x3cb845(0x71)](this[_0x3cb845(0x78)](this[_0x3cb845(0x72)][_0x3cb845(0x7c)],()=>_0x4aeb0d[_0x3cb845(0x68)](_0x3aa5da=>{const _0x21ffef=_0x3cb845;if(_0x3aa5da['id']===e['ConfirmSheetPrintOperation']['id']){let _0x1b7c1b=_0x2deec5[_0x21ffef(0x86)](e[_0x21ffef(0xa6)]);if(!this['getActiveWorkbook']())return;let _0x384cc5={'layoutConfig':_0x1b7c1b[_0x21ffef(0xa7)],'renderConfig':_0x1b7c1b[_0x21ffef(0x87)]};if(_0x384cc5==null)return;this[_0x21ffef(0x6d)](this[_0x21ffef(0x72)][_0x21ffef(0x7c)],_0x384cc5);}}))),this['disposeWithMe'](this[_0x3cb845(0x78)](this[_0x3cb845(0x72)][_0x3cb845(0x92)],()=>_0x4aeb0d[_0x3cb845(0x68)](_0x2e7967=>{const _0x8dc3a=_0x3cb845;if(_0x2e7967['id']===e[_0x8dc3a(0x8f)]['id']){let _0x563e23=_0x2deec5[_0x8dc3a(0x86)](e[_0x8dc3a(0xa6)]);if(!this[_0x8dc3a(0xa0)]())return;let _0x5bc9d3={'layoutConfig':_0x563e23[_0x8dc3a(0xa7)],'renderConfig':_0x563e23[_0x8dc3a(0x87)]};if(_0x5bc9d3==null)return;this[_0x8dc3a(0x6d)](this['Event'][_0x8dc3a(0x92)],_0x5bc9d3);}})));}};r['FUniver'][_0x44597e(0x9c)](l);
|