@univerjs-pro/sheets-print 0.8.2-nightly.202506251607 → 0.8.2
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +39 -39
- 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/en-US.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/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 +15 -15
- package/lib/cjs/locale/ko-KR.js +0 -1
- package/lib/es/locale/ko-KR.js +0 -1
- package/lib/locale/ko-KR.js +0 -1
- package/lib/types/locale/ko-KR.d.ts +0 -3
- package/lib/umd/locale/ko-KR.js +0 -1
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3a048b=_0xfd43;(function(_0x12ad72,_0x3123fd){const _0x51c921=_0xfd43,_0x4f91db=_0x12ad72();while(!![]){try{const _0xb919ef=parseInt(_0x51c921(0x1d6))/0x1+parseInt(_0x51c921(0x1fc))/0x2*(parseInt(_0x51c921(0x1f1))/0x3)+-parseInt(_0x51c921(0x1e3))/0x4+-parseInt(_0x51c921(0x1ff))/0x5*(parseInt(_0x51c921(0x1ee))/0x6)+parseInt(_0x51c921(0x1f2))/0x7*(parseInt(_0x51c921(0x1dc))/0x8)+parseInt(_0x51c921(0x1e9))/0x9+-parseInt(_0x51c921(0x1e8))/0xa*(parseInt(_0x51c921(0x1eb))/0xb);if(_0xb919ef===_0x3123fd)break;else _0x4f91db['push'](_0x4f91db['shift']());}catch(_0x28a895){_0x4f91db['push'](_0x4f91db['shift']());}}}(_0x2ac8,0xa956d));function _0x2ac8(){const _0x33b823=['onCommandExecuted','syncExecuteCommand','24rACFrA','SheetPrintClientService','PrintHeaderFooter','PrintHeaderFooterSymbol','BeforeSheetPrintConfirm','SheetPrintOpen','SheetPrintConfirmed','652932ekREsp','ConfirmSheetPrintOperation','CanceledError','PrintArea','fireEvent','220GvfyUS','7822224ttTZDj','PaperType','820589DjRREg','getScreenshot','updateRenderConfig','246fZcECs','_worksheet','beforeCommandExecuted','9CKyOPo','3003441faTHKl','ISheetPrintManagerService','getRangeImage','getSheetId','get','updatePrintConfig','FWorkbook','@univerjs-pro/print','PrintDirection','SheetPrintOpenOperation','205204CYXDde','getUnitId','registerEventHandler','98170WjnDXG','FEnum','Event','updatePrintRenderConfig','_initialize','SheetPrintCanceled','CancelSheetPrintOperation','hasPrintFacadePermission','PrintAlign','layoutConfig','FUniver','@univerjs/core','extend','BeforeSheetPrintOpen','cancel','FRange','closePrintDialog','BeforeSheetPrintCanceled','_injector','executeCommand','PrintPaperMargin','getActiveUniverSheet','ICommandService','838887ydfLot','renderConfig','PrintScale','PrintFreeze'];_0x2ac8=function(){return _0x33b823;};return _0x2ac8();}function _0xfd43(_0x571b68,_0x354c29){const _0x2ac826=_0x2ac8();return _0xfd43=function(_0xfd430a,_0x3b3a15){_0xfd430a=_0xfd430a-0x1d3;let _0x5d9a95=_0x2ac826[_0xfd430a];return _0x5d9a95;},_0xfd43(_0x571b68,_0x354c29);}const e=require('@univerjs-pro/sheets-print'),a=require(_0x3a048b(0x20a)),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require(_0x3a048b(0x1f9));class S extends d['FWorkbook']{[_0x3a048b(0x1f7)](_0x15af23){const _0x7d5054=_0x3a048b;return this['_injector']['get'](e[_0x7d5054(0x1f3)])['updateLayoutConfig'](_0x15af23),this;}[_0x3a048b(0x202)](_0x9bb110){const _0x2cb3e2=_0x3a048b;return this[_0x2cb3e2(0x211)][_0x2cb3e2(0x1f6)](e[_0x2cb3e2(0x1f3)])[_0x2cb3e2(0x1ed)](_0x9bb110),this;}['print'](){const _0x37bfe1=_0x3a048b;return this[_0x37bfe1(0x211)][_0x37bfe1(0x1f6)](a[_0x37bfe1(0x1d5)])[_0x37bfe1(0x1db)](e[_0x37bfe1(0x1e4)]['id']);}['openPrintDialog'](){const _0x1492eb=_0x3a048b;return this[_0x1492eb(0x211)]['get'](a[_0x1492eb(0x1d5)])[_0x1492eb(0x1db)](e[_0x1492eb(0x1fb)]['id']);}[_0x3a048b(0x20f)](){const _0x5a1886=_0x3a048b;return this[_0x5a1886(0x211)][_0x5a1886(0x1f6)](a[_0x5a1886(0x1d5)])['syncExecuteCommand'](e[_0x5a1886(0x205)]['id']);}async['saveScreenshotToClipboard'](){const _0x49c2cc=_0x3a048b;return e[_0x49c2cc(0x206)](this['_injector'])?this[_0x49c2cc(0x211)][_0x49c2cc(0x1f6)](a['ICommandService'])[_0x49c2cc(0x212)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x3a048b(0x1f8)]['extend'](S);class f extends d[_0x3a048b(0x20e)]{[_0x3a048b(0x1ec)](){const _0x45233d=_0x3a048b;return e[_0x45233d(0x206)](this['_injector'])?this[_0x45233d(0x211)][_0x45233d(0x1f6)](e[_0x45233d(0x1dd)])[_0x45233d(0x1f4)](this['_workbook'][_0x45233d(0x1fd)](),this[_0x45233d(0x1ef)][_0x45233d(0x1f5)](),this['_range']):!0x1;}}d[_0x3a048b(0x20e)][_0x3a048b(0x20b)](f);class P{get[_0x3a048b(0x20c)](){return'BeforeSheetPrintOpen';}get[_0x3a048b(0x1e0)](){const _0x494089=_0x3a048b;return _0x494089(0x1e0);}get[_0x3a048b(0x210)](){const _0x348b84=_0x3a048b;return _0x348b84(0x210);}get[_0x3a048b(0x1e1)](){const _0x20ca08=_0x3a048b;return _0x20ca08(0x1e1);}get[_0x3a048b(0x1e2)](){const _0x3ec972=_0x3a048b;return _0x3ec972(0x1e2);}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}g['FEventName'][_0x3a048b(0x20b)](P);class u{get[_0x3a048b(0x1e6)](){return e['PrintArea'];}get[_0x3a048b(0x207)](){return c['PrintAlign'];}get['PrintPaperSize'](){const _0x34aa71=_0x3a048b;return a[_0x34aa71(0x1ea)];}get[_0x3a048b(0x1d3)](){const _0x507196=_0x3a048b;return c[_0x507196(0x1d3)];}get[_0x3a048b(0x1d8)](){return c['PrintScale'];}get[_0x3a048b(0x1fa)](){return c['PrintDirection'];}get['PrintFreeze'](){const _0x3add3b=_0x3a048b;return e[_0x3add3b(0x1d9)];}get['PrintHeaderFooter'](){const _0x3d6a82=_0x3a048b;return e[_0x3d6a82(0x1de)];}get[_0x3a048b(0x1df)](){const _0x2ccca9=_0x3a048b;return e[_0x2ccca9(0x1df)];}}g[_0x3a048b(0x200)][_0x3a048b(0x20b)](u);class l extends g['FUniver']{[_0x3a048b(0x203)](_0x27cb45){const _0x36b893=_0x3a048b,_0x36123b=_0x27cb45['get'](a[_0x36b893(0x1d5)]);this['registerEventHandler'](this[_0x36b893(0x201)][_0x36b893(0x20c)],()=>_0x36123b['beforeCommandExecuted'](_0x2569bb=>{const _0x1a0d90=_0x36b893;if(_0x2569bb['id']===e[_0x1a0d90(0x1fb)]['id']){const _0x37400b=this['getActiveUniverSheet']();if(!_0x37400b)return;const _0x300f3b={'workbook':_0x37400b,'worksheet':_0x37400b['getActiveSheet']()};if(_0x300f3b==null)return;if(this[_0x1a0d90(0x1e7)](this[_0x1a0d90(0x201)]['BeforeSheetPrintOpen'],_0x300f3b),_0x300f3b[_0x1a0d90(0x20d)])throw new a[(_0x1a0d90(0x1e5))]();}})),this[_0x36b893(0x1fe)](this[_0x36b893(0x201)]['BeforeSheetPrintConfirm'],()=>_0x36123b[_0x36b893(0x1f0)](_0x4e2510=>{const _0x5d71d1=_0x36b893;if(_0x4e2510['id']===e['ConfirmSheetPrintOperation']['id']){const _0x3f4b5e=_0x27cb45[_0x5d71d1(0x1f6)](e[_0x5d71d1(0x1f3)]);if(!this[_0x5d71d1(0x1d4)]())return;const _0x2186b8={'layoutConfig':_0x3f4b5e[_0x5d71d1(0x208)],'renderConfig':_0x3f4b5e['renderConfig']};if(_0x2186b8==null)return;if(this[_0x5d71d1(0x1e7)](this[_0x5d71d1(0x201)][_0x5d71d1(0x1e0)],_0x2186b8),_0x2186b8[_0x5d71d1(0x20d)])throw new a[(_0x5d71d1(0x1e5))]();}})),this[_0x36b893(0x1fe)](this[_0x36b893(0x201)]['BeforeSheetPrintCanceled'],()=>_0x36123b[_0x36b893(0x1f0)](_0x1f97b0=>{const _0x1e5964=_0x36b893;if(_0x1f97b0['id']===e['CancelSheetPrintOperation']['id']){const _0x88d3bd=_0x27cb45[_0x1e5964(0x1f6)](e[_0x1e5964(0x1f3)]);if(!this['getActiveUniverSheet']())return;const _0x375a3d={'layoutConfig':_0x88d3bd[_0x1e5964(0x208)],'renderConfig':_0x88d3bd[_0x1e5964(0x1d7)]};if(_0x375a3d==null)return;if(this[_0x1e5964(0x1e7)](this[_0x1e5964(0x201)][_0x1e5964(0x210)],_0x375a3d),_0x375a3d[_0x1e5964(0x20d)])throw new a['CanceledError']();}})),this[_0x36b893(0x1fe)](this['Event'][_0x36b893(0x1e1)],()=>_0x36123b[_0x36b893(0x1da)](_0x5e3b88=>{const _0x4552af=_0x36b893;if(_0x5e3b88['id']===e[_0x4552af(0x1fb)]['id']){const _0x54d019=this[_0x4552af(0x1d4)]();if(!_0x54d019)return;const _0x22c399={'workbook':_0x54d019,'worksheet':_0x54d019['getActiveSheet']()};if(_0x22c399==null)return;this['fireEvent'](this[_0x4552af(0x201)][_0x4552af(0x1e1)],_0x22c399);}})),this['registerEventHandler'](this[_0x36b893(0x201)][_0x36b893(0x1e2)],()=>_0x36123b[_0x36b893(0x1da)](_0x4b02c5=>{const _0x21ee2b=_0x36b893;if(_0x4b02c5['id']===e[_0x21ee2b(0x1e4)]['id']){const _0x1b7f7b=_0x27cb45[_0x21ee2b(0x1f6)](e[_0x21ee2b(0x1f3)]);if(!this[_0x21ee2b(0x1d4)]())return;const _0x1ab46a={'layoutConfig':_0x1b7f7b[_0x21ee2b(0x208)],'renderConfig':_0x1b7f7b[_0x21ee2b(0x1d7)]};if(_0x1ab46a==null)return;this[_0x21ee2b(0x1e7)](this[_0x21ee2b(0x201)]['SheetPrintConfirmed'],_0x1ab46a);}})),this[_0x36b893(0x1fe)](this[_0x36b893(0x201)][_0x36b893(0x204)],()=>_0x36123b[_0x36b893(0x1da)](_0x1cf37a=>{const _0x415d8f=_0x36b893;if(_0x1cf37a['id']===e[_0x415d8f(0x205)]['id']){const _0x5ecd35=_0x27cb45[_0x415d8f(0x1f6)](e[_0x415d8f(0x1f3)]);if(!this[_0x415d8f(0x1d4)]())return;const _0x17c37e={'layoutConfig':_0x5ecd35[_0x415d8f(0x208)],'renderConfig':_0x5ecd35[_0x415d8f(0x1d7)]};if(_0x17c37e==null)return;this[_0x415d8f(0x1e7)](this[_0x415d8f(0x201)][_0x415d8f(0x204)],_0x17c37e);}}));}}g[_0x3a048b(0x209)][_0x3a048b(0x20b)](l);
|