@univerjs-pro/sheets-print 0.15.2-insiders.20260124-12fc7f0 → 0.15.3
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/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/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/ja-JP.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 +41 -41
- 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/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/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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1820aa=_0x4dd1;(function(_0x1b9a68,_0x6e62d9){const _0x2f43e1=_0x4dd1,_0x3880c6=_0x1b9a68();while(!![]){try{const _0x275b26=-parseInt(_0x2f43e1(0x8c))/0x1+-parseInt(_0x2f43e1(0xaf))/0x2+parseInt(_0x2f43e1(0xaa))/0x3+parseInt(_0x2f43e1(0x94))/0x4+-parseInt(_0x2f43e1(0x9d))/0x5+-parseInt(_0x2f43e1(0xb6))/0x6*(-parseInt(_0x2f43e1(0xc0))/0x7)+parseInt(_0x2f43e1(0xa9))/0x8*(parseInt(_0x2f43e1(0x96))/0x9);if(_0x275b26===_0x6e62d9)break;else _0x3880c6['push'](_0x3880c6['shift']());}catch(_0x4b8355){_0x3880c6['push'](_0x3880c6['shift']());}}}(_0x4872,0x860ce));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['FWorkbook']{[_0x1820aa(0x8f)](_0x4a9b4a){const _0x348945=_0x1820aa;return this[_0x348945(0x9c)]['get'](e[_0x348945(0x88)])['updateLayoutConfig'](_0x4a9b4a),this;}['updatePrintRenderConfig'](_0x4ff721){const _0x53a29c=_0x1820aa;return this[_0x53a29c(0x9c)][_0x53a29c(0xb8)](e[_0x53a29c(0x88)])['updateRenderConfig'](_0x4ff721),this;}['print'](){const _0x5b31bd=_0x1820aa;return this[_0x5b31bd(0x9c)][_0x5b31bd(0xb8)](a[_0x5b31bd(0x8a)])[_0x5b31bd(0xa2)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x333b91=_0x1820aa;return this[_0x333b91(0x9c)]['get'](a[_0x333b91(0x8a)])['syncExecuteCommand'](e['SheetPrintOpenOperation']['id']);}[_0x1820aa(0xbb)](){const _0x564864=_0x1820aa;return this[_0x564864(0x9c)]['get'](a['ICommandService'])[_0x564864(0xa2)](e[_0x564864(0xa5)]['id']);}async['saveScreenshotToClipboard'](){const _0x50517d=_0x1820aa;return e[_0x50517d(0xbd)](this[_0x50517d(0x9c)])?this[_0x50517d(0x9c)]['get'](a['ICommandService'])[_0x50517d(0xad)](e[_0x50517d(0x87)]['id']):!0x1;}}d[_0x1820aa(0x9f)][_0x1820aa(0x91)](S);class f extends d[_0x1820aa(0xba)]{['getScreenshot'](_0x4a57a2){const _0x54b4fa=_0x1820aa;return e[_0x54b4fa(0xbd)](this['_injector'])?this[_0x54b4fa(0x9c)][_0x54b4fa(0xb8)](e[_0x54b4fa(0xa6)])['getRangeImage'](this['_workbook'][_0x54b4fa(0x9a)](),this[_0x54b4fa(0xb0)][_0x54b4fa(0xa0)](),this[_0x54b4fa(0xb7)],_0x4a57a2==null?void 0x0:_0x4a57a2[_0x54b4fa(0x92)]):!0x1;}}d[_0x1820aa(0xba)][_0x1820aa(0x91)](f);class P{get['BeforeSheetPrintOpen'](){const _0x3288a0=_0x1820aa;return _0x3288a0(0xa4);}get[_0x1820aa(0xae)](){const _0x3119a6=_0x1820aa;return _0x3119a6(0xae);}get[_0x1820aa(0x90)](){const _0x5574aa=_0x1820aa;return _0x5574aa(0x90);}get[_0x1820aa(0xac)](){const _0x22134f=_0x1820aa;return _0x22134f(0xac);}get[_0x1820aa(0xa3)](){const _0x36f04b=_0x1820aa;return _0x36f04b(0xa3);}get[_0x1820aa(0xb9)](){const _0x498f14=_0x1820aa;return _0x498f14(0xb9);}}function _0x4dd1(_0x96ffc9,_0x491d0a){_0x96ffc9=_0x96ffc9-0x85;const _0x4872f6=_0x4872();let _0x4dd15b=_0x4872f6[_0x96ffc9];return _0x4dd15b;}function _0x4872(){const _0x5c665a=['FWorkbook','getSheetId','FEventName','syncExecuteCommand','SheetPrintConfirmed','BeforeSheetPrintOpen','CancelSheetPrintOperation','SheetPrintClientService','renderConfig','cancel','9381056tJGwGf','319983wMQdSN','CanceledError','SheetPrintOpen','executeCommand','BeforeSheetPrintConfirm','1922838imiOEW','_worksheet','Event','registerEventHandler','PrintPaperSize','ConfirmSheetPrintOperation','PrintDirection','5916666ZeUuyR','_range','get','SheetPrintCanceled','FRange','closePrintDialog','PrintPaperMargin','hasPrintFacadePermission','PrintHeaderFooter','SheetPrintOpenOperation','7TcjCMO','onCommandExecuted','fireEvent','SheetScreenShotOperation','ISheetPrintManagerService','PaperType','ICommandService','layoutConfig','898950KsPmOC','getActiveSheet','getActiveUniverSheet','updatePrintConfig','BeforeSheetPrintCanceled','extend','includeHeaders','beforeCommandExecuted','3428832jDYpjF','PrintScale','9FlIuZL','FEnum','PrintFreeze','_initialize','getUnitId','PrintArea','_injector','3565865HdYGwi','FUniver'];_0x4872=function(){return _0x5c665a;};return _0x4872();}g[_0x1820aa(0xa1)][_0x1820aa(0x91)](P);class u{get[_0x1820aa(0x9b)](){const _0x1dfce1=_0x1820aa;return e[_0x1dfce1(0x9b)];}get['PrintAlign'](){return c['PrintAlign'];}get[_0x1820aa(0xb3)](){const _0x525162=_0x1820aa;return a[_0x525162(0x89)];}get[_0x1820aa(0xbc)](){return c['PrintPaperMargin'];}get[_0x1820aa(0x95)](){const _0x293b87=_0x1820aa;return c[_0x293b87(0x95)];}get[_0x1820aa(0xb5)](){const _0xd0bf2d=_0x1820aa;return c[_0xd0bf2d(0xb5)];}get[_0x1820aa(0x98)](){const _0x4b589b=_0x1820aa;return e[_0x4b589b(0x98)];}get[_0x1820aa(0xbe)](){return e['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){return e['PrintHeaderFooterSymbol'];}}g[_0x1820aa(0x97)][_0x1820aa(0x91)](u);class l extends g['FUniver']{[_0x1820aa(0x99)](_0x29fcbd){const _0x1e1dc1=_0x1820aa,_0x3163de=_0x29fcbd[_0x1e1dc1(0xb8)](a['ICommandService']);this[_0x1e1dc1(0xb2)](this['Event'][_0x1e1dc1(0xa4)],()=>_0x3163de['beforeCommandExecuted'](_0x413e9f=>{const _0x25932d=_0x1e1dc1;if(_0x413e9f['id']===e[_0x25932d(0xbf)]['id']){const _0x40955b=this[_0x25932d(0x8e)]();if(!_0x40955b)return;const _0x51c741={'workbook':_0x40955b,'worksheet':_0x40955b[_0x25932d(0x8d)]()};if(_0x51c741==null)return;if(this['fireEvent'](this['Event'][_0x25932d(0xa4)],_0x51c741),_0x51c741['cancel'])throw new a[(_0x25932d(0xab))]();}})),this[_0x1e1dc1(0xb2)](this[_0x1e1dc1(0xb1)][_0x1e1dc1(0xae)],()=>_0x3163de[_0x1e1dc1(0x93)](_0x1726db=>{const _0x5b0cb8=_0x1e1dc1;if(_0x1726db['id']===e[_0x5b0cb8(0xb4)]['id']){const _0x4dfec2=_0x29fcbd['get'](e['ISheetPrintManagerService']);if(!this[_0x5b0cb8(0x8e)]())return;const _0x4adf5d={'layoutConfig':_0x4dfec2['layoutConfig'],'renderConfig':_0x4dfec2[_0x5b0cb8(0xa7)]};if(_0x4adf5d==null)return;if(this[_0x5b0cb8(0x86)](this[_0x5b0cb8(0xb1)][_0x5b0cb8(0xae)],_0x4adf5d),_0x4adf5d[_0x5b0cb8(0xa8)])throw new a['CanceledError']();}})),this[_0x1e1dc1(0xb2)](this[_0x1e1dc1(0xb1)][_0x1e1dc1(0x90)],()=>_0x3163de[_0x1e1dc1(0x93)](_0x4b6de5=>{const _0x4860e5=_0x1e1dc1;if(_0x4b6de5['id']===e[_0x4860e5(0xa5)]['id']){const _0x154ceb=_0x29fcbd[_0x4860e5(0xb8)](e[_0x4860e5(0x88)]);if(!this[_0x4860e5(0x8e)]())return;const _0x1e96be={'layoutConfig':_0x154ceb[_0x4860e5(0x8b)],'renderConfig':_0x154ceb[_0x4860e5(0xa7)]};if(_0x1e96be==null)return;if(this[_0x4860e5(0x86)](this[_0x4860e5(0xb1)]['BeforeSheetPrintCanceled'],_0x1e96be),_0x1e96be[_0x4860e5(0xa8)])throw new a[(_0x4860e5(0xab))]();}})),this[_0x1e1dc1(0xb2)](this[_0x1e1dc1(0xb1)][_0x1e1dc1(0xac)],()=>_0x3163de[_0x1e1dc1(0x85)](_0x5a297e=>{const _0x16a75a=_0x1e1dc1;if(_0x5a297e['id']===e['SheetPrintOpenOperation']['id']){const _0x5bdcc8=this[_0x16a75a(0x8e)]();if(!_0x5bdcc8)return;const _0x2e54d2={'workbook':_0x5bdcc8,'worksheet':_0x5bdcc8['getActiveSheet']()};if(_0x2e54d2==null)return;this[_0x16a75a(0x86)](this[_0x16a75a(0xb1)][_0x16a75a(0xac)],_0x2e54d2);}})),this['registerEventHandler'](this[_0x1e1dc1(0xb1)][_0x1e1dc1(0xa3)],()=>_0x3163de[_0x1e1dc1(0x85)](_0x1aec1e=>{const _0x209686=_0x1e1dc1;if(_0x1aec1e['id']===e[_0x209686(0xb4)]['id']){const _0x7b5934=_0x29fcbd[_0x209686(0xb8)](e['ISheetPrintManagerService']);if(!this[_0x209686(0x8e)]())return;const _0x20fc64={'layoutConfig':_0x7b5934[_0x209686(0x8b)],'renderConfig':_0x7b5934[_0x209686(0xa7)]};if(_0x20fc64==null)return;this[_0x209686(0x86)](this[_0x209686(0xb1)][_0x209686(0xa3)],_0x20fc64);}})),this[_0x1e1dc1(0xb2)](this['Event'][_0x1e1dc1(0xb9)],()=>_0x3163de[_0x1e1dc1(0x85)](_0x8c74bd=>{const _0x22e3d7=_0x1e1dc1;if(_0x8c74bd['id']===e[_0x22e3d7(0xa5)]['id']){const _0x310643=_0x29fcbd[_0x22e3d7(0xb8)](e[_0x22e3d7(0x88)]);if(!this[_0x22e3d7(0x8e)]())return;const _0x4c82da={'layoutConfig':_0x310643[_0x22e3d7(0x8b)],'renderConfig':_0x310643[_0x22e3d7(0xa7)]};if(_0x4c82da==null)return;this[_0x22e3d7(0x86)](this['Event'][_0x22e3d7(0xb9)],_0x4c82da);}}));}}g[_0x1820aa(0x9e)]['extend'](l);
|