@univerjs-pro/sheets-print 0.8.3 → 0.9.1-nightly.202507041607
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/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/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/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.css +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/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/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/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';
|
|
1
|
+
'use strict';const _0x49823c=_0x3a96;(function(_0x2f8c3b,_0x2976b0){const _0x4eda73=_0x3a96,_0x4e2044=_0x2f8c3b();while(!![]){try{const _0x40daab=parseInt(_0x4eda73(0x115))/0x1*(parseInt(_0x4eda73(0x12f))/0x2)+parseInt(_0x4eda73(0x100))/0x3*(-parseInt(_0x4eda73(0x116))/0x4)+-parseInt(_0x4eda73(0xf6))/0x5*(parseInt(_0x4eda73(0x11f))/0x6)+-parseInt(_0x4eda73(0x110))/0x7*(-parseInt(_0x4eda73(0x105))/0x8)+-parseInt(_0x4eda73(0x129))/0x9+-parseInt(_0x4eda73(0x103))/0xa*(-parseInt(_0x4eda73(0x109))/0xb)+-parseInt(_0x4eda73(0x12b))/0xc*(-parseInt(_0x4eda73(0xf0))/0xd);if(_0x40daab===_0x2976b0)break;else _0x4e2044['push'](_0x4e2044['shift']());}catch(_0x570b1c){_0x4e2044['push'](_0x4e2044['shift']());}}}(_0x3867,0x53a1c));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[_0x49823c(0x132)]{[_0x49823c(0x111)](_0x58f8de){const _0x29ac26=_0x49823c;return this[_0x29ac26(0x113)][_0x29ac26(0x130)](e[_0x29ac26(0x12e)])['updateLayoutConfig'](_0x58f8de),this;}[_0x49823c(0x10c)](_0x370218){const _0x3af683=_0x49823c;return this['_injector'][_0x3af683(0x130)](e[_0x3af683(0x12e)])[_0x3af683(0x101)](_0x370218),this;}[_0x49823c(0xf1)](){const _0x3900af=_0x49823c;return this[_0x3900af(0x113)][_0x3900af(0x130)](a[_0x3900af(0x10f)])['syncExecuteCommand'](e[_0x3900af(0x12a)]['id']);}[_0x49823c(0xf4)](){const _0x2550ad=_0x49823c;return this[_0x2550ad(0x113)]['get'](a[_0x2550ad(0x10f)])[_0x2550ad(0x126)](e[_0x2550ad(0x114)]['id']);}[_0x49823c(0x108)](){const _0x2023bb=_0x49823c;return this[_0x2023bb(0x113)][_0x2023bb(0x130)](a[_0x2023bb(0x10f)])[_0x2023bb(0x126)](e[_0x2023bb(0x12c)]['id']);}async['saveScreenshotToClipboard'](){const _0x48a03e=_0x49823c;return e[_0x48a03e(0x125)](this[_0x48a03e(0x113)])?this[_0x48a03e(0x113)][_0x48a03e(0x130)](a['ICommandService'])[_0x48a03e(0xf2)](e[_0x48a03e(0x102)]['id']):!0x1;}}d['FWorkbook']['extend'](S);function _0x3867(){const _0x3ed693=['7415GFGvPJ','_worksheet','PrintScale','renderConfig','BeforeSheetPrintCanceled','BeforeSheetPrintOpen','getRangeImage','PrintPaperSize','layoutConfig','_range','9DvbicU','updateRenderConfig','SheetScreenShotOperation','950qfehLN','FEventName','8QdjicN','Event','PrintHeaderFooterSymbol','closePrintDialog','72589BJqGgB','extend','beforeCommandExecuted','updatePrintRenderConfig','PrintHeaderFooter','PrintPaperMargin','ICommandService','1106329ZThjvi','updatePrintConfig','FRange','_injector','SheetPrintOpenOperation','22TqRXcq','26044SJnFDA','SheetPrintConfirmed','PrintFreeze','PrintArea','PrintAlign','getActiveSheet','onCommandExecuted','cancel','_initialize','2094CgUrzD','SheetPrintOpen','getSheetId','BeforeSheetPrintConfirm','SheetPrintClientService','getScreenshot','hasPrintFacadePermission','syncExecuteCommand','CanceledError','SheetPrintCanceled','3692214CNFAWi','ConfirmSheetPrintOperation','12GoknSq','CancelSheetPrintOperation','getActiveUniverSheet','ISheetPrintManagerService','25262WAReqB','get','fireEvent','FWorkbook','FEnum','registerEventHandler','2951884yWXUmh','print','executeCommand','PrintDirection','openPrintDialog','PaperType'];_0x3867=function(){return _0x3ed693;};return _0x3867();}class f extends d[_0x49823c(0x112)]{[_0x49823c(0x124)](){const _0x3b0885=_0x49823c;return e[_0x3b0885(0x125)](this[_0x3b0885(0x113)])?this[_0x3b0885(0x113)][_0x3b0885(0x130)](e[_0x3b0885(0x123)])[_0x3b0885(0xfc)](this['_workbook']['getUnitId'](),this[_0x3b0885(0xf7)][_0x3b0885(0x121)](),this[_0x3b0885(0xff)]):!0x1;}}d[_0x49823c(0x112)][_0x49823c(0x10a)](f);class P{get['BeforeSheetPrintOpen'](){const _0x1a18ec=_0x49823c;return _0x1a18ec(0xfb);}get[_0x49823c(0x122)](){const _0x399592=_0x49823c;return _0x399592(0x122);}get[_0x49823c(0xfa)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x453bed=_0x49823c;return _0x453bed(0x120);}get[_0x49823c(0x117)](){return'SheetPrintConfirmed';}get[_0x49823c(0x128)](){return'SheetPrintCanceled';}}g[_0x49823c(0x104)]['extend'](P);class u{get[_0x49823c(0x119)](){const _0xa5c517=_0x49823c;return e[_0xa5c517(0x119)];}get['PrintAlign'](){const _0x27b61a=_0x49823c;return c[_0x27b61a(0x11a)];}get[_0x49823c(0xfd)](){const _0x26a76a=_0x49823c;return a[_0x26a76a(0xf5)];}get[_0x49823c(0x10e)](){const _0x158dd8=_0x49823c;return c[_0x158dd8(0x10e)];}get['PrintScale'](){const _0x5c8f62=_0x49823c;return c[_0x5c8f62(0xf8)];}get['PrintDirection'](){const _0x79fc19=_0x49823c;return c[_0x79fc19(0xf3)];}get[_0x49823c(0x118)](){const _0x1f2225=_0x49823c;return e[_0x1f2225(0x118)];}get['PrintHeaderFooter'](){const _0x5812cb=_0x49823c;return e[_0x5812cb(0x10d)];}get['PrintHeaderFooterSymbol'](){const _0x24b465=_0x49823c;return e[_0x24b465(0x107)];}}g[_0x49823c(0xee)][_0x49823c(0x10a)](u);function _0x3a96(_0x45d9b8,_0x5a8b76){const _0x38670d=_0x3867();return _0x3a96=function(_0x3a9641,_0x3dd510){_0x3a9641=_0x3a9641-0xee;let _0x1a1c64=_0x38670d[_0x3a9641];return _0x1a1c64;},_0x3a96(_0x45d9b8,_0x5a8b76);}class l extends g['FUniver']{[_0x49823c(0x11e)](_0xc36bd){const _0x5980fd=_0x49823c,_0x4a4c94=_0xc36bd['get'](a[_0x5980fd(0x10f)]);this[_0x5980fd(0xef)](this['Event']['BeforeSheetPrintOpen'],()=>_0x4a4c94[_0x5980fd(0x10b)](_0x1d797f=>{const _0x57c540=_0x5980fd;if(_0x1d797f['id']===e['SheetPrintOpenOperation']['id']){const _0x2b0b44=this[_0x57c540(0x12d)]();if(!_0x2b0b44)return;const _0x123a8d={'workbook':_0x2b0b44,'worksheet':_0x2b0b44[_0x57c540(0x11b)]()};if(_0x123a8d==null)return;if(this[_0x57c540(0x131)](this[_0x57c540(0x106)][_0x57c540(0xfb)],_0x123a8d),_0x123a8d[_0x57c540(0x11d)])throw new a[(_0x57c540(0x127))]();}})),this[_0x5980fd(0xef)](this[_0x5980fd(0x106)]['BeforeSheetPrintConfirm'],()=>_0x4a4c94[_0x5980fd(0x10b)](_0x18d0c6=>{const _0x373952=_0x5980fd;if(_0x18d0c6['id']===e[_0x373952(0x12a)]['id']){const _0x831cf5=_0xc36bd[_0x373952(0x130)](e['ISheetPrintManagerService']);if(!this[_0x373952(0x12d)]())return;const _0x5ab64d={'layoutConfig':_0x831cf5[_0x373952(0xfe)],'renderConfig':_0x831cf5[_0x373952(0xf9)]};if(_0x5ab64d==null)return;if(this[_0x373952(0x131)](this[_0x373952(0x106)]['BeforeSheetPrintConfirm'],_0x5ab64d),_0x5ab64d[_0x373952(0x11d)])throw new a[(_0x373952(0x127))]();}})),this['registerEventHandler'](this[_0x5980fd(0x106)][_0x5980fd(0xfa)],()=>_0x4a4c94[_0x5980fd(0x10b)](_0x5869a1=>{const _0x1fbaed=_0x5980fd;if(_0x5869a1['id']===e[_0x1fbaed(0x12c)]['id']){const _0x55f367=_0xc36bd[_0x1fbaed(0x130)](e['ISheetPrintManagerService']);if(!this[_0x1fbaed(0x12d)]())return;const _0x1d3de4={'layoutConfig':_0x55f367['layoutConfig'],'renderConfig':_0x55f367['renderConfig']};if(_0x1d3de4==null)return;if(this[_0x1fbaed(0x131)](this[_0x1fbaed(0x106)]['BeforeSheetPrintCanceled'],_0x1d3de4),_0x1d3de4[_0x1fbaed(0x11d)])throw new a['CanceledError']();}})),this[_0x5980fd(0xef)](this[_0x5980fd(0x106)]['SheetPrintOpen'],()=>_0x4a4c94[_0x5980fd(0x11c)](_0x54044c=>{const _0x3318f3=_0x5980fd;if(_0x54044c['id']===e[_0x3318f3(0x114)]['id']){const _0x33888d=this[_0x3318f3(0x12d)]();if(!_0x33888d)return;const _0x532d47={'workbook':_0x33888d,'worksheet':_0x33888d[_0x3318f3(0x11b)]()};if(_0x532d47==null)return;this[_0x3318f3(0x131)](this[_0x3318f3(0x106)]['SheetPrintOpen'],_0x532d47);}})),this[_0x5980fd(0xef)](this[_0x5980fd(0x106)][_0x5980fd(0x117)],()=>_0x4a4c94['onCommandExecuted'](_0x37fd37=>{const _0x129eee=_0x5980fd;if(_0x37fd37['id']===e[_0x129eee(0x12a)]['id']){const _0x53f257=_0xc36bd['get'](e[_0x129eee(0x12e)]);if(!this[_0x129eee(0x12d)]())return;const _0x297778={'layoutConfig':_0x53f257[_0x129eee(0xfe)],'renderConfig':_0x53f257['renderConfig']};if(_0x297778==null)return;this[_0x129eee(0x131)](this[_0x129eee(0x106)][_0x129eee(0x117)],_0x297778);}})),this[_0x5980fd(0xef)](this[_0x5980fd(0x106)][_0x5980fd(0x128)],()=>_0x4a4c94[_0x5980fd(0x11c)](_0x8c6c2d=>{const _0x47c1e7=_0x5980fd;if(_0x8c6c2d['id']===e[_0x47c1e7(0x12c)]['id']){const _0x2f6a2d=_0xc36bd[_0x47c1e7(0x130)](e[_0x47c1e7(0x12e)]);if(!this['getActiveUniverSheet']())return;const _0x491a48={'layoutConfig':_0x2f6a2d[_0x47c1e7(0xfe)],'renderConfig':_0x2f6a2d[_0x47c1e7(0xf9)]};if(_0x491a48==null)return;this[_0x47c1e7(0x131)](this[_0x47c1e7(0x106)][_0x47c1e7(0x128)],_0x491a48);}}));}}g['FUniver']['extend'](l);
|