@univerjs-pro/sheets-print 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130703
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 +44 -44
- 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';const
|
|
1
|
+
'use strict';const _0x1f1600=_0x1c80;function _0xc6a6(){const _0x11c0e5=['PrintPaperMargin','closePrintDialog','get','12iKtBFw','SheetPrintCanceled','getRangeImage','updatePrintConfig','fireEvent','extend','BeforeSheetPrintOpen','PrintDirection','102831jFxtuV','syncExecuteCommand','PrintAlign','getSheetId','301023lozCDE','_range','SheetPrintConfirmed','beforeCommandExecuted','getActiveSheet','layoutConfig','CanceledError','SheetScreenShotOperation','renderConfig','PrintScale','CancelSheetPrintOperation','getActiveUniverSheet','6255786kuzxMr','BeforeSheetPrintConfirm','updatePrintRenderConfig','saveScreenshotToClipboard','476YrmnTH','PrintFreeze','_injector','SheetPrintOpen','ICommandService','558033xJJeCH','openPrintDialog','getUnitId','updateRenderConfig','ISheetPrintManagerService','FEnum','FWorkbook','Event','2636770uinynA','72NJzrXV','2840670uJzMNL','SheetPrintOpenOperation','_workbook','SheetPrintClientService','hasPrintFacadePermission','3863VIKimZ','PrintHeaderFooter','BeforeSheetPrintCanceled','registerEventHandler','PrintPaperSize','FRange','cancel','ConfirmSheetPrintOperation','onCommandExecuted','_initialize','PrintArea'];_0xc6a6=function(){return _0x11c0e5;};return _0xc6a6();}(function(_0x52360a,_0x5d51c1){const _0x3283a0=_0x1c80,_0x5bd833=_0x52360a();while(!![]){try{const _0x46b5cb=-parseInt(_0x3283a0(0xd4))/0x1*(parseInt(_0x3283a0(0xc0))/0x2)+parseInt(_0x3283a0(0xea))/0x3*(-parseInt(_0x3283a0(0xe2))/0x4)+-parseInt(_0x3283a0(0xcd))/0x5+parseInt(_0x3283a0(0xbc))/0x6+-parseInt(_0x3283a0(0xc5))/0x7*(-parseInt(_0x3283a0(0xce))/0x8)+parseInt(_0x3283a0(0xee))/0x9+parseInt(_0x3283a0(0xcf))/0xa;if(_0x46b5cb===_0x5d51c1)break;else _0x5bd833['push'](_0x5bd833['shift']());}catch(_0x2da583){_0x5bd833['push'](_0x5bd833['shift']());}}}(_0xc6a6,0x80ea5));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');function _0x1c80(_0x53ffc1,_0x510145){const _0x1c802f=_0xc6a6();return _0x1c80=function(_0x2769c6,_0x261c3c){_0x2769c6=_0x2769c6-0xb1;let _0x54b33a=_0x1c802f[_0x2769c6];return _0x54b33a;},_0x1c80(_0x53ffc1,_0x510145);}class S extends d[_0x1f1600(0xcb)]{[_0x1f1600(0xe5)](_0xe8a2b5){const _0x4f3f5d=_0x1f1600;return this[_0x4f3f5d(0xc2)][_0x4f3f5d(0xe1)](e[_0x4f3f5d(0xc9)])['updateLayoutConfig'](_0xe8a2b5),this;}[_0x1f1600(0xbe)](_0x108ec0){const _0x43a526=_0x1f1600;return this['_injector'][_0x43a526(0xe1)](e[_0x43a526(0xc9)])[_0x43a526(0xc8)](_0x108ec0),this;}['print'](){const _0x4b38ec=_0x1f1600;return this[_0x4b38ec(0xc2)][_0x4b38ec(0xe1)](a[_0x4b38ec(0xc4)])[_0x4b38ec(0xeb)](e['ConfirmSheetPrintOperation']['id']);}[_0x1f1600(0xc6)](){const _0x45a7c5=_0x1f1600;return this[_0x45a7c5(0xc2)][_0x45a7c5(0xe1)](a[_0x45a7c5(0xc4)])[_0x45a7c5(0xeb)](e[_0x45a7c5(0xd0)]['id']);}[_0x1f1600(0xe0)](){const _0x3e6347=_0x1f1600;return this[_0x3e6347(0xc2)]['get'](a['ICommandService'])[_0x3e6347(0xeb)](e[_0x3e6347(0xba)]['id']);}async[_0x1f1600(0xbf)](){const _0x5a29bb=_0x1f1600;return e[_0x5a29bb(0xd3)](this['_injector'])?this[_0x5a29bb(0xc2)]['get'](a[_0x5a29bb(0xc4)])['executeCommand'](e[_0x5a29bb(0xb7)]['id']):!0x1;}}d[_0x1f1600(0xcb)][_0x1f1600(0xe7)](S);class f extends d[_0x1f1600(0xd9)]{['getScreenshot'](){const _0x2378e0=_0x1f1600;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x2378e0(0xc2)][_0x2378e0(0xe1)](e[_0x2378e0(0xd2)])[_0x2378e0(0xe4)](this[_0x2378e0(0xd1)][_0x2378e0(0xc7)](),this['_worksheet'][_0x2378e0(0xed)](),this[_0x2378e0(0xb1)]):!0x1;}}d[_0x1f1600(0xd9)][_0x1f1600(0xe7)](f);class P{get[_0x1f1600(0xe8)](){return'BeforeSheetPrintOpen';}get[_0x1f1600(0xbd)](){const _0x36b07a=_0x1f1600;return _0x36b07a(0xbd);}get[_0x1f1600(0xd6)](){return'BeforeSheetPrintCanceled';}get[_0x1f1600(0xc3)](){const _0x237096=_0x1f1600;return _0x237096(0xc3);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x1f1600(0xe3)](){const _0x2ad3bf=_0x1f1600;return _0x2ad3bf(0xe3);}}g['FEventName'][_0x1f1600(0xe7)](P);class u{get[_0x1f1600(0xde)](){const _0x34ccae=_0x1f1600;return e[_0x34ccae(0xde)];}get[_0x1f1600(0xec)](){const _0x225448=_0x1f1600;return c[_0x225448(0xec)];}get[_0x1f1600(0xd8)](){return a['PaperType'];}get[_0x1f1600(0xdf)](){const _0x4fd9ca=_0x1f1600;return c[_0x4fd9ca(0xdf)];}get[_0x1f1600(0xb9)](){return c['PrintScale'];}get[_0x1f1600(0xe9)](){const _0x4a680d=_0x1f1600;return c[_0x4a680d(0xe9)];}get['PrintFreeze'](){const _0x19dcbc=_0x1f1600;return e[_0x19dcbc(0xc1)];}get[_0x1f1600(0xd5)](){const _0x2ff4de=_0x1f1600;return e[_0x2ff4de(0xd5)];}get['PrintHeaderFooterSymbol'](){return e['PrintHeaderFooterSymbol'];}}g[_0x1f1600(0xca)][_0x1f1600(0xe7)](u);class l extends g['FUniver']{[_0x1f1600(0xdd)](_0x559f90){const _0x26a61e=_0x1f1600,_0x247d72=_0x559f90[_0x26a61e(0xe1)](a[_0x26a61e(0xc4)]);this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)]['BeforeSheetPrintOpen'],()=>_0x247d72[_0x26a61e(0xb3)](_0x35e84d=>{const _0x3395d6=_0x26a61e;if(_0x35e84d['id']===e[_0x3395d6(0xd0)]['id']){const _0x906fb1=this['getActiveUniverSheet']();if(!_0x906fb1)return;const _0x3c5245={'workbook':_0x906fb1,'worksheet':_0x906fb1[_0x3395d6(0xb4)]()};if(_0x3c5245==null)return;if(this[_0x3395d6(0xe6)](this[_0x3395d6(0xcc)][_0x3395d6(0xe8)],_0x3c5245),_0x3c5245['cancel'])throw new a[(_0x3395d6(0xb6))]();}})),this['registerEventHandler'](this[_0x26a61e(0xcc)][_0x26a61e(0xbd)],()=>_0x247d72['beforeCommandExecuted'](_0xedb5c1=>{const _0x2c1f18=_0x26a61e;if(_0xedb5c1['id']===e[_0x2c1f18(0xdb)]['id']){const _0xe8bde0=_0x559f90[_0x2c1f18(0xe1)](e[_0x2c1f18(0xc9)]);if(!this[_0x2c1f18(0xbb)]())return;const _0x13695d={'layoutConfig':_0xe8bde0['layoutConfig'],'renderConfig':_0xe8bde0['renderConfig']};if(_0x13695d==null)return;if(this[_0x2c1f18(0xe6)](this[_0x2c1f18(0xcc)][_0x2c1f18(0xbd)],_0x13695d),_0x13695d[_0x2c1f18(0xda)])throw new a[(_0x2c1f18(0xb6))]();}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xd6)],()=>_0x247d72['beforeCommandExecuted'](_0x3d3a4a=>{const _0x46dbb2=_0x26a61e;if(_0x3d3a4a['id']===e['CancelSheetPrintOperation']['id']){const _0x4594ae=_0x559f90[_0x46dbb2(0xe1)](e['ISheetPrintManagerService']);if(!this[_0x46dbb2(0xbb)]())return;const _0x1e6736={'layoutConfig':_0x4594ae[_0x46dbb2(0xb5)],'renderConfig':_0x4594ae[_0x46dbb2(0xb8)]};if(_0x1e6736==null)return;if(this[_0x46dbb2(0xe6)](this[_0x46dbb2(0xcc)]['BeforeSheetPrintCanceled'],_0x1e6736),_0x1e6736[_0x46dbb2(0xda)])throw new a[(_0x46dbb2(0xb6))]();}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xc3)],()=>_0x247d72['onCommandExecuted'](_0x2e0cd3=>{const _0x24d6bb=_0x26a61e;if(_0x2e0cd3['id']===e[_0x24d6bb(0xd0)]['id']){const _0x25f255=this[_0x24d6bb(0xbb)]();if(!_0x25f255)return;const _0x919697={'workbook':_0x25f255,'worksheet':_0x25f255[_0x24d6bb(0xb4)]()};if(_0x919697==null)return;this['fireEvent'](this['Event'][_0x24d6bb(0xc3)],_0x919697);}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xb2)],()=>_0x247d72[_0x26a61e(0xdc)](_0x59596a=>{const _0x53a892=_0x26a61e;if(_0x59596a['id']===e[_0x53a892(0xdb)]['id']){const _0x24c9e5=_0x559f90[_0x53a892(0xe1)](e[_0x53a892(0xc9)]);if(!this[_0x53a892(0xbb)]())return;const _0x544378={'layoutConfig':_0x24c9e5[_0x53a892(0xb5)],'renderConfig':_0x24c9e5[_0x53a892(0xb8)]};if(_0x544378==null)return;this[_0x53a892(0xe6)](this['Event'][_0x53a892(0xb2)],_0x544378);}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xe3)],()=>_0x247d72['onCommandExecuted'](_0x8327d=>{const _0x5c8236=_0x26a61e;if(_0x8327d['id']===e['CancelSheetPrintOperation']['id']){const _0x338484=_0x559f90[_0x5c8236(0xe1)](e[_0x5c8236(0xc9)]);if(!this[_0x5c8236(0xbb)]())return;const _0x1b7005={'layoutConfig':_0x338484[_0x5c8236(0xb5)],'renderConfig':_0x338484[_0x5c8236(0xb8)]};if(_0x1b7005==null)return;this[_0x5c8236(0xe6)](this[_0x5c8236(0xcc)][_0x5c8236(0xe3)],_0x1b7005);}}));}}g['FUniver'][_0x1f1600(0xe7)](l);
|