@univerjs-pro/sheets-print 0.10.6-experimental.20250904-44da50e → 0.10.6-experimental.20250904-9591d16
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/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/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/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 +40 -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/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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x7cc7(_0x566728,_0x4bd371){const _0x3ae18f=_0x3ae1();return _0x7cc7=function(_0x7cc703,_0x30cf7c){_0x7cc703=_0x7cc703-0x9b;let _0x48d360=_0x3ae18f[_0x7cc703];return _0x48d360;},_0x7cc7(_0x566728,_0x4bd371);}const _0x167c23=_0x7cc7;(function(_0x135066,_0x13a186){const _0x3dc4b9=_0x7cc7,_0x144802=_0x135066();while(!![]){try{const _0x4ef8e0=-parseInt(_0x3dc4b9(0xcf))/0x1*(-parseInt(_0x3dc4b9(0xc3))/0x2)+parseInt(_0x3dc4b9(0xa7))/0x3+-parseInt(_0x3dc4b9(0xc6))/0x4*(-parseInt(_0x3dc4b9(0xbc))/0x5)+-parseInt(_0x3dc4b9(0xcb))/0x6+parseInt(_0x3dc4b9(0xa5))/0x7*(parseInt(_0x3dc4b9(0xbe))/0x8)+parseInt(_0x3dc4b9(0xd7))/0x9+-parseInt(_0x3dc4b9(0xcd))/0xa;if(_0x4ef8e0===_0x13a186)break;else _0x144802['push'](_0x144802['shift']());}catch(_0x36c073){_0x144802['push'](_0x144802['shift']());}}}(_0x3ae1,0x49c60));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');class S extends d[_0x167c23(0xb6)]{[_0x167c23(0xa3)](_0x289a6e){const _0xd93bf4=_0x167c23;return this[_0xd93bf4(0xb4)][_0xd93bf4(0xc9)](e['ISheetPrintManagerService'])[_0xd93bf4(0xce)](_0x289a6e),this;}[_0x167c23(0xbb)](_0x1e35fe){const _0x5741d9=_0x167c23;return this[_0x5741d9(0xb4)][_0x5741d9(0xc9)](e[_0x5741d9(0xa8)])[_0x5741d9(0xc1)](_0x1e35fe),this;}[_0x167c23(0xb1)](){const _0x8fcf09=_0x167c23;return this[_0x8fcf09(0xb4)]['get'](a[_0x8fcf09(0xd9)])[_0x8fcf09(0xc8)](e[_0x8fcf09(0xd4)]['id']);}[_0x167c23(0xc0)](){const _0x153ba0=_0x167c23;return this[_0x153ba0(0xb4)][_0x153ba0(0xc9)](a[_0x153ba0(0xd9)])[_0x153ba0(0xc8)](e[_0x153ba0(0xb9)]['id']);}[_0x167c23(0xa0)](){const _0x59fe68=_0x167c23;return this[_0x59fe68(0xb4)][_0x59fe68(0xc9)](a['ICommandService'])[_0x59fe68(0xc8)](e[_0x59fe68(0xd0)]['id']);}async[_0x167c23(0xc4)](){const _0x5d11b9=_0x167c23;return e[_0x5d11b9(0xca)](this[_0x5d11b9(0xb4)])?this[_0x5d11b9(0xb4)][_0x5d11b9(0xc9)](a[_0x5d11b9(0xd9)])[_0x5d11b9(0xad)](e[_0x5d11b9(0xbd)]['id']):!0x1;}}d[_0x167c23(0xb6)][_0x167c23(0xc7)](S);class f extends d[_0x167c23(0xdb)]{[_0x167c23(0xa2)](){const _0x4cadf7=_0x167c23;return e['hasPrintFacadePermission'](this[_0x4cadf7(0xb4)])?this['_injector'][_0x4cadf7(0xc9)](e['SheetPrintClientService'])[_0x4cadf7(0xb5)](this[_0x4cadf7(0xa6)]['getUnitId'](),this[_0x4cadf7(0xa4)][_0x4cadf7(0x9d)](),this['_range']):!0x1;}}d[_0x167c23(0xdb)][_0x167c23(0xc7)](f);class P{get[_0x167c23(0x9f)](){const _0x7c42fa=_0x167c23;return _0x7c42fa(0x9f);}get[_0x167c23(0xa1)](){return'BeforeSheetPrintConfirm';}get[_0x167c23(0x9e)](){const _0x43c621=_0x167c23;return _0x43c621(0x9e);}get[_0x167c23(0xc5)](){const _0x445c65=_0x167c23;return _0x445c65(0xc5);}get[_0x167c23(0xd2)](){return'SheetPrintConfirmed';}get[_0x167c23(0xb2)](){const _0x2e706f=_0x167c23;return _0x2e706f(0xb2);}}g[_0x167c23(0xae)][_0x167c23(0xc7)](P);class u{get[_0x167c23(0xa9)](){const _0x1a4a40=_0x167c23;return e[_0x1a4a40(0xa9)];}get[_0x167c23(0xcc)](){const _0x73287c=_0x167c23;return c[_0x73287c(0xcc)];}get[_0x167c23(0x9b)](){const _0x1fa2ad=_0x167c23;return a[_0x1fa2ad(0x9c)];}get[_0x167c23(0xab)](){return c['PrintPaperMargin'];}get[_0x167c23(0xba)](){const _0xb8b4fb=_0x167c23;return c[_0xb8b4fb(0xba)];}get[_0x167c23(0xc2)](){const _0x38840f=_0x167c23;return c[_0x38840f(0xc2)];}get['PrintFreeze'](){return e['PrintFreeze'];}get[_0x167c23(0xd6)](){return e['PrintHeaderFooter'];}get[_0x167c23(0xdc)](){const _0x29dffa=_0x167c23;return e[_0x29dffa(0xdc)];}}g[_0x167c23(0xd3)][_0x167c23(0xc7)](u);class l extends g[_0x167c23(0xd1)]{['_initialize'](_0x16f84e){const _0x280251=_0x167c23,_0x59fa4e=_0x16f84e[_0x280251(0xc9)](a[_0x280251(0xd9)]);this[_0x280251(0xda)](this['Event'][_0x280251(0x9f)],()=>_0x59fa4e[_0x280251(0xd8)](_0x7c99f5=>{const _0x1db9b5=_0x280251;if(_0x7c99f5['id']===e['SheetPrintOpenOperation']['id']){const _0x21d6b9=this['getActiveUniverSheet']();if(!_0x21d6b9)return;const _0x2e2367={'workbook':_0x21d6b9,'worksheet':_0x21d6b9[_0x1db9b5(0xb8)]()};if(_0x2e2367==null)return;if(this['fireEvent'](this[_0x1db9b5(0xac)][_0x1db9b5(0x9f)],_0x2e2367),_0x2e2367['cancel'])throw new a['CanceledError']();}})),this['registerEventHandler'](this[_0x280251(0xac)][_0x280251(0xa1)],()=>_0x59fa4e[_0x280251(0xd8)](_0x1a3708=>{const _0x428d5b=_0x280251;if(_0x1a3708['id']===e[_0x428d5b(0xd4)]['id']){const _0x4eb667=_0x16f84e[_0x428d5b(0xc9)](e['ISheetPrintManagerService']);if(!this[_0x428d5b(0xaa)]())return;const _0x10637e={'layoutConfig':_0x4eb667[_0x428d5b(0xb0)],'renderConfig':_0x4eb667[_0x428d5b(0xaf)]};if(_0x10637e==null)return;if(this[_0x428d5b(0xb7)](this['Event']['BeforeSheetPrintConfirm'],_0x10637e),_0x10637e[_0x428d5b(0xb3)])throw new a[(_0x428d5b(0xbf))]();}})),this[_0x280251(0xda)](this[_0x280251(0xac)][_0x280251(0x9e)],()=>_0x59fa4e['beforeCommandExecuted'](_0xdd6c31=>{const _0x54ed69=_0x280251;if(_0xdd6c31['id']===e[_0x54ed69(0xd0)]['id']){const _0x4d7e5a=_0x16f84e[_0x54ed69(0xc9)](e[_0x54ed69(0xa8)]);if(!this[_0x54ed69(0xaa)]())return;const _0x40b431={'layoutConfig':_0x4d7e5a['layoutConfig'],'renderConfig':_0x4d7e5a[_0x54ed69(0xaf)]};if(_0x40b431==null)return;if(this[_0x54ed69(0xb7)](this['Event']['BeforeSheetPrintCanceled'],_0x40b431),_0x40b431[_0x54ed69(0xb3)])throw new a[(_0x54ed69(0xbf))]();}})),this[_0x280251(0xda)](this[_0x280251(0xac)]['SheetPrintOpen'],()=>_0x59fa4e[_0x280251(0xd5)](_0x574936=>{const _0x194520=_0x280251;if(_0x574936['id']===e[_0x194520(0xb9)]['id']){const _0x204376=this[_0x194520(0xaa)]();if(!_0x204376)return;const _0x7ab758={'workbook':_0x204376,'worksheet':_0x204376[_0x194520(0xb8)]()};if(_0x7ab758==null)return;this[_0x194520(0xb7)](this[_0x194520(0xac)][_0x194520(0xc5)],_0x7ab758);}})),this[_0x280251(0xda)](this['Event'][_0x280251(0xd2)],()=>_0x59fa4e[_0x280251(0xd5)](_0xe8c63c=>{const _0x44729d=_0x280251;if(_0xe8c63c['id']===e[_0x44729d(0xd4)]['id']){const _0x5bba13=_0x16f84e[_0x44729d(0xc9)](e[_0x44729d(0xa8)]);if(!this[_0x44729d(0xaa)]())return;const _0x4bb5de={'layoutConfig':_0x5bba13[_0x44729d(0xb0)],'renderConfig':_0x5bba13[_0x44729d(0xaf)]};if(_0x4bb5de==null)return;this[_0x44729d(0xb7)](this[_0x44729d(0xac)]['SheetPrintConfirmed'],_0x4bb5de);}})),this[_0x280251(0xda)](this[_0x280251(0xac)]['SheetPrintCanceled'],()=>_0x59fa4e[_0x280251(0xd5)](_0x334bd1=>{const _0x216f1a=_0x280251;if(_0x334bd1['id']===e[_0x216f1a(0xd0)]['id']){const _0x3773bb=_0x16f84e[_0x216f1a(0xc9)](e['ISheetPrintManagerService']);if(!this[_0x216f1a(0xaa)]())return;const _0x35af58={'layoutConfig':_0x3773bb[_0x216f1a(0xb0)],'renderConfig':_0x3773bb[_0x216f1a(0xaf)]};if(_0x35af58==null)return;this[_0x216f1a(0xb7)](this[_0x216f1a(0xac)][_0x216f1a(0xb2)],_0x35af58);}}));}}g['FUniver']['extend'](l);function _0x3ae1(){const _0x110691=['print','SheetPrintCanceled','cancel','_injector','getRangeImage','FWorkbook','fireEvent','getActiveSheet','SheetPrintOpenOperation','PrintScale','updatePrintRenderConfig','20uBXJQh','SheetScreenShotOperation','144XXGGoy','CanceledError','openPrintDialog','updateRenderConfig','PrintDirection','16cxCJJf','saveScreenshotToClipboard','SheetPrintOpen','485264uYFrkj','extend','syncExecuteCommand','get','hasPrintFacadePermission','3113190rZrJOS','PrintAlign','5390220apUWhV','updateLayoutConfig','44664gUJTOX','CancelSheetPrintOperation','FUniver','SheetPrintConfirmed','FEnum','ConfirmSheetPrintOperation','onCommandExecuted','PrintHeaderFooter','2025198lJLhPf','beforeCommandExecuted','ICommandService','registerEventHandler','FRange','PrintHeaderFooterSymbol','PrintPaperSize','PaperType','getSheetId','BeforeSheetPrintCanceled','BeforeSheetPrintOpen','closePrintDialog','BeforeSheetPrintConfirm','getScreenshot','updatePrintConfig','_worksheet','32508JVKswk','_workbook','626619tisaxb','ISheetPrintManagerService','PrintArea','getActiveUniverSheet','PrintPaperMargin','Event','executeCommand','FEventName','renderConfig','layoutConfig'];_0x3ae1=function(){return _0x110691;};return _0x3ae1();}
|