@univerjs-pro/sheets-print 0.17.0 → 0.18.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/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/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-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/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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +469 -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/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-TW.js +1 -1
- package/lib/types/commands/operations/print-grid-sidebar.operation.d.ts +1 -1
- package/lib/types/commands/operations/sheet-print.operation.d.ts +2 -2
- package/lib/types/commands/operations/sheet-screenshot.operation.d.ts +1 -1
- package/lib/types/common/types.d.ts +3 -3
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/controllers/menu.d.ts +2 -2
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/controllers/shortcut.d.ts +1 -1
- package/lib/types/facade/f-event.d.ts +3 -3
- package/lib/types/facade/f-univer.d.ts +1 -1
- package/lib/types/facade/f-workbook.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/print-grid.service.d.ts +1 -1
- package/lib/types/services/sheet-print-manager.service.d.ts +6 -5
- package/lib/types/services/sheet-print.service.d.ts +5 -3
- package/lib/types/services/util.d.ts +5 -5
- package/lib/types/utils/header-footer.d.ts +1 -1
- package/lib/types/utils/util.d.ts +1 -1
- package/lib/types/views/components/PrintGridSidebar.d.ts +1 -1
- package/lib/types/views/components/SheetPrintPagePreview.d.ts +2 -2
- package/lib/types/views/components/hover-menu/index.d.ts +1 -1
- package/lib/types/views/components/sheet-print-canvas-view.d.ts +4 -3
- package/lib/types/views/extensions/print-grid.extension.d.ts +5 -4
- 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/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-TW.js +1 -1
- package/package.json +18 -20
- package/lib/types/license/encrypted-func.d.ts +0 -1
- package/lib/types/license/reverse-mapping.d.ts +0 -65
- package/lib/types/utils/crypto/index.d.ts +0 -9
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x36aa1c=_0x5a8e;(function(_0x5df29e,_0x29efe0){const _0x34b745=_0x5a8e,_0x433d7e=_0x5df29e();while(!![]){try{const _0x1eae87=-parseInt(_0x34b745(0x1d8))/0x1*(-parseInt(_0x34b745(0x1e0))/0x2)+parseInt(_0x34b745(0x20b))/0x3*(parseInt(_0x34b745(0x206))/0x4)+-parseInt(_0x34b745(0x1ea))/0x5*(-parseInt(_0x34b745(0x200))/0x6)+parseInt(_0x34b745(0x1d5))/0x7+parseInt(_0x34b745(0x20c))/0x8*(-parseInt(_0x34b745(0x211))/0x9)+parseInt(_0x34b745(0x209))/0xa*(parseInt(_0x34b745(0x1d3))/0xb)+-parseInt(_0x34b745(0x204))/0xc*(parseInt(_0x34b745(0x20f))/0xd);if(_0x1eae87===_0x29efe0)break;else _0x433d7e['push'](_0x433d7e['shift']());}catch(_0x5deb7e){_0x433d7e['push'](_0x433d7e['shift']());}}}(_0x2ae1,0x33d0e));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`);function _0x5a8e(_0x2e443a,_0xa28255){_0x2e443a=_0x2e443a-0x1ca;const _0x2ae1ce=_0x2ae1();let _0x5a8ec2=_0x2ae1ce[_0x2e443a];return _0x5a8ec2;}var a=class extends n['FWorkbook']{[_0x36aa1c(0x1da)](_0x3f18b9){const _0x591aa6=_0x36aa1c;return this[_0x591aa6(0x1fa)][_0x591aa6(0x1d4)](e[_0x591aa6(0x1e7)])[_0x591aa6(0x1e5)](_0x3f18b9),this;}[_0x36aa1c(0x1dc)](_0x330ce8){const _0x4cad53=_0x36aa1c;return this[_0x4cad53(0x1fa)][_0x4cad53(0x1d4)](e[_0x4cad53(0x1e7)])[_0x4cad53(0x1dd)](_0x330ce8),this;}[_0x36aa1c(0x1d9)](){const _0x4fea9e=_0x36aa1c;return this[_0x4fea9e(0x1fa)][_0x4fea9e(0x1d4)](t['ICommandService'])[_0x4fea9e(0x1e8)](e[_0x4fea9e(0x1df)]['id']);}[_0x36aa1c(0x205)](){const _0x270b7d=_0x36aa1c;return this[_0x270b7d(0x1fa)][_0x270b7d(0x1d4)](t[_0x270b7d(0x1d0)])[_0x270b7d(0x1e8)](e[_0x270b7d(0x1f1)]['id']);}[_0x36aa1c(0x1ec)](){const _0x2f5aaf=_0x36aa1c;return this[_0x2f5aaf(0x1fa)][_0x2f5aaf(0x1d4)](t[_0x2f5aaf(0x1d0)])[_0x2f5aaf(0x1e8)](e[_0x2f5aaf(0x203)]['id']);}async[_0x36aa1c(0x1d2)](){const _0x2d2a36=_0x36aa1c;return(0x0,e[_0x2d2a36(0x1fe)])(this[_0x2d2a36(0x1fa)])?this['_injector'][_0x2d2a36(0x1d4)](t[_0x2d2a36(0x1d0)])['executeCommand'](e[_0x2d2a36(0x1cc)]['id']):!0x1;}};n[_0x36aa1c(0x1e3)][_0x36aa1c(0x1cb)](a);var o=class extends n[_0x36aa1c(0x1ff)]{[_0x36aa1c(0x1f4)](_0x56b1be){const _0x4bdc23=_0x36aa1c;return(0x0,e[_0x4bdc23(0x1fe)])(this[_0x4bdc23(0x1fa)])?this['_injector'][_0x4bdc23(0x1d4)](e[_0x4bdc23(0x1d7)])[_0x4bdc23(0x1ef)](this[_0x4bdc23(0x201)][_0x4bdc23(0x1f0)](),this[_0x4bdc23(0x1de)][_0x4bdc23(0x1f8)](),this[_0x4bdc23(0x1f9)],_0x56b1be==null?void 0x0:_0x56b1be[_0x4bdc23(0x1d6)]):!0x1;}};n[_0x36aa1c(0x1ff)][_0x36aa1c(0x1cb)](o);var s=class{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x36aa1c(0x202)](){const _0x20a4c=_0x36aa1c;return _0x20a4c(0x202);}get[_0x36aa1c(0x1e4)](){const _0x31d275=_0x36aa1c;return _0x31d275(0x1e4);}get[_0x36aa1c(0x1f3)](){const _0x46f4a4=_0x36aa1c;return _0x46f4a4(0x1f3);}get[_0x36aa1c(0x20d)](){return'SheetPrintConfirmed';}get[_0x36aa1c(0x208)](){const _0x5d2ecc=_0x36aa1c;return _0x5d2ecc(0x208);}};r[_0x36aa1c(0x1f5)]['extend'](s);var c=class{get['PrintArea'](){const _0x36008a=_0x36aa1c;return e[_0x36008a(0x1f6)];}get[_0x36aa1c(0x207)](){const _0x48a671=_0x36aa1c;return i[_0x48a671(0x207)];}get['PrintPaperSize'](){return t['PaperType'];}get[_0x36aa1c(0x1eb)](){const _0x205cbf=_0x36aa1c;return i[_0x205cbf(0x1eb)];}get['PrintScale'](){const _0x2b3e73=_0x36aa1c;return i[_0x2b3e73(0x1cf)];}get['PrintDirection'](){const _0x5880f8=_0x36aa1c;return i[_0x5880f8(0x1e1)];}get[_0x36aa1c(0x1d1)](){const _0x4f12c3=_0x36aa1c;return e[_0x4f12c3(0x1d1)];}get[_0x36aa1c(0x1fb)](){const _0x76c4f3=_0x36aa1c;return e[_0x76c4f3(0x1fb)];}get[_0x36aa1c(0x20e)](){return e['PrintHeaderFooterSymbol'];}};r['FEnum'][_0x36aa1c(0x1cb)](c);function _0x2ae1(){const _0x1ba8c3=['FUniver','18YGeBnO','8YrZdFp','SheetPrintConfirmed','PrintHeaderFooterSymbol','10152701KaaUST','disposeWithMe','938529IMqYJZ','CanceledError','extend','SheetScreenShotOperation','_initialize','registerEventHandler','PrintScale','ICommandService','PrintFreeze','saveScreenshotToClipboard','11143jlGvow','get','2075059ylWalP','includeHeaders','SheetPrintClientService','29225zRZyZP','print','updatePrintConfig','cancel','updatePrintRenderConfig','updateRenderConfig','_worksheet','ConfirmSheetPrintOperation','2ISOXXx','PrintDirection','getActiveUniverSheet','FWorkbook','BeforeSheetPrintCanceled','updateLayoutConfig','Event','ISheetPrintManagerService','syncExecuteCommand','layoutConfig','1977095GaSsuK','PrintPaperMargin','closePrintDialog','beforeCommandExecuted','renderConfig','getRangeImage','getUnitId','SheetPrintOpenOperation','fireEvent','SheetPrintOpen','getScreenshot','FEventName','PrintArea','getActiveSheet','getSheetId','_range','_injector','PrintHeaderFooter','BeforeSheetPrintOpen','onCommandExecuted','hasPrintFacadePermission','FRange','6aTQKdJ','_workbook','BeforeSheetPrintConfirm','CancelSheetPrintOperation','12UFOMwK','openPrintDialog','116552zSimUN','PrintAlign','SheetPrintCanceled','1990DuNfle'];_0x2ae1=function(){return _0x1ba8c3;};return _0x2ae1();}var l=class extends r[_0x36aa1c(0x20a)]{[_0x36aa1c(0x1cd)](_0x2be960){const _0x7f4c02=_0x36aa1c;let _0x4b5279=_0x2be960[_0x7f4c02(0x1d4)](t[_0x7f4c02(0x1d0)]);this['disposeWithMe'](this[_0x7f4c02(0x1ce)](this[_0x7f4c02(0x1e6)][_0x7f4c02(0x1fc)],()=>_0x4b5279[_0x7f4c02(0x1ed)](_0x63b396=>{const _0x7817f8=_0x7f4c02;if(_0x63b396['id']===e['SheetPrintOpenOperation']['id']){let _0x1ada1a=this['getActiveUniverSheet']();if(!_0x1ada1a)return;let _0x290531={'workbook':_0x1ada1a,'worksheet':_0x1ada1a[_0x7817f8(0x1f7)]()};if(_0x290531==null)return;if(this['fireEvent'](this[_0x7817f8(0x1e6)]['BeforeSheetPrintOpen'],_0x290531),_0x290531[_0x7817f8(0x1db)])throw new t[(_0x7817f8(0x1ca))]();}}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x7f4c02(0x1e6)][_0x7f4c02(0x202)],()=>_0x4b5279['beforeCommandExecuted'](_0x462392=>{const _0x497996=_0x7f4c02;if(_0x462392['id']===e['ConfirmSheetPrintOperation']['id']){let _0x38d3ad=_0x2be960[_0x497996(0x1d4)](e['ISheetPrintManagerService']);if(!this[_0x497996(0x1e2)]())return;let _0x11de72={'layoutConfig':_0x38d3ad['layoutConfig'],'renderConfig':_0x38d3ad[_0x497996(0x1ee)]};if(_0x11de72==null)return;if(this[_0x497996(0x1f2)](this['Event'][_0x497996(0x202)],_0x11de72),_0x11de72[_0x497996(0x1db)])throw new t[(_0x497996(0x1ca))]();}}))),this['disposeWithMe'](this[_0x7f4c02(0x1ce)](this[_0x7f4c02(0x1e6)][_0x7f4c02(0x1e4)],()=>_0x4b5279[_0x7f4c02(0x1ed)](_0x1a7c80=>{const _0x488f92=_0x7f4c02;if(_0x1a7c80['id']===e['CancelSheetPrintOperation']['id']){let _0x4be1ff=_0x2be960[_0x488f92(0x1d4)](e[_0x488f92(0x1e7)]);if(!this['getActiveUniverSheet']())return;let _0x417b2d={'layoutConfig':_0x4be1ff[_0x488f92(0x1e9)],'renderConfig':_0x4be1ff['renderConfig']};if(_0x417b2d==null)return;if(this[_0x488f92(0x1f2)](this['Event']['BeforeSheetPrintCanceled'],_0x417b2d),_0x417b2d['cancel'])throw new t['CanceledError']();}}))),this[_0x7f4c02(0x210)](this['registerEventHandler'](this[_0x7f4c02(0x1e6)][_0x7f4c02(0x1f3)],()=>_0x4b5279[_0x7f4c02(0x1fd)](_0x52ed1d=>{const _0x452cce=_0x7f4c02;if(_0x52ed1d['id']===e[_0x452cce(0x1f1)]['id']){let _0x364952=this[_0x452cce(0x1e2)]();if(!_0x364952)return;let _0x2f4622={'workbook':_0x364952,'worksheet':_0x364952['getActiveSheet']()};if(_0x2f4622==null)return;this[_0x452cce(0x1f2)](this['Event'][_0x452cce(0x1f3)],_0x2f4622);}}))),this[_0x7f4c02(0x210)](this['registerEventHandler'](this['Event']['SheetPrintConfirmed'],()=>_0x4b5279[_0x7f4c02(0x1fd)](_0x1884c1=>{const _0x5db3c2=_0x7f4c02;if(_0x1884c1['id']===e[_0x5db3c2(0x1df)]['id']){let _0x43c080=_0x2be960[_0x5db3c2(0x1d4)](e[_0x5db3c2(0x1e7)]);if(!this[_0x5db3c2(0x1e2)]())return;let _0x55fcc6={'layoutConfig':_0x43c080[_0x5db3c2(0x1e9)],'renderConfig':_0x43c080[_0x5db3c2(0x1ee)]};if(_0x55fcc6==null)return;this['fireEvent'](this[_0x5db3c2(0x1e6)]['SheetPrintConfirmed'],_0x55fcc6);}}))),this[_0x7f4c02(0x210)](this[_0x7f4c02(0x1ce)](this[_0x7f4c02(0x1e6)][_0x7f4c02(0x208)],()=>_0x4b5279['onCommandExecuted'](_0x373acf=>{const _0x1b7a9b=_0x7f4c02;if(_0x373acf['id']===e[_0x1b7a9b(0x203)]['id']){let _0x3f27fb=_0x2be960[_0x1b7a9b(0x1d4)](e[_0x1b7a9b(0x1e7)]);if(!this[_0x1b7a9b(0x1e2)]())return;let _0x32bc29={'layoutConfig':_0x3f27fb[_0x1b7a9b(0x1e9)],'renderConfig':_0x3f27fb[_0x1b7a9b(0x1ee)]};if(_0x32bc29==null)return;this[_0x1b7a9b(0x1f2)](this[_0x1b7a9b(0x1e6)][_0x1b7a9b(0x208)],_0x32bc29);}})));}};r[_0x36aa1c(0x20a)][_0x36aa1c(0x1cb)](l);
|