@univerjs-pro/sheets-print 0.10.14-nightly.202511070939 → 0.10.14-nightly.202511080715
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/types/views/components/PrintGridSidebar.d.ts +0 -15
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b8af3=_0x18e7;(function(_0x443c66,_0x14ede4){const _0x56066f=_0x18e7,_0x363261=_0x443c66();while(!![]){try{const _0x594d5d=parseInt(_0x56066f(0x1f9))/0x1+parseInt(_0x56066f(0x206))/0x2+parseInt(_0x56066f(0x204))/0x3+-parseInt(_0x56066f(0x20e))/0x4+-parseInt(_0x56066f(0x1f8))/0x5*(-parseInt(_0x56066f(0x219))/0x6)+-parseInt(_0x56066f(0x209))/0x7+parseInt(_0x56066f(0x1ed))/0x8*(parseInt(_0x56066f(0x208))/0x9);if(_0x594d5d===_0x14ede4)break;else _0x363261['push'](_0x363261['shift']());}catch(_0x20839c){_0x363261['push'](_0x363261['shift']());}}}(_0x5ebe,0xd716a));import{ISheetPrintManagerService as _0x96304,ConfirmSheetPrintOperation as _0x2b9ff6,SheetPrintOpenOperation as _0x343bff,CancelSheetPrintOperation as _0x4a1d64,hasPrintFacadePermission as _0x4c04c7,SheetScreenShotOperation as _0x270fd1,SheetPrintClientService as _0x17556a,PrintArea as _0x6d8e3d,PrintFreeze as _0x56065a,PrintHeaderFooter as _0x373673,PrintHeaderFooterSymbol as _0x3c4656}from'@univerjs-pro/sheets-print';import{ICommandService as _0x257d3e,PaperType as _0x249b82,CanceledError as _0x486d0f}from'@univerjs/core';import{FWorkbook as _0x1f6e51,FRange as _0xb26636}from'@univerjs/sheets/facade';import{FEventName as _0x10454a,FEnum as _0x1b9c91,FUniver as _0x46de92}from'@univerjs/core/facade';import{PrintAlign as _0x4f8f5a,PrintPaperMargin as _0xaef8c7,PrintScale as _0x2833c0,PrintDirection as _0x2031c1}from'@univerjs-pro/print';class A extends _0x1f6e51{[_0x5b8af3(0x201)](_0x121e90){const _0x285091=_0x5b8af3;return this[_0x285091(0x202)][_0x285091(0x1ec)](_0x96304)['updateLayoutConfig'](_0x121e90),this;}[_0x5b8af3(0x215)](_0x5a0392){const _0x53df9d=_0x5b8af3;return this[_0x53df9d(0x202)][_0x53df9d(0x1ec)](_0x96304)[_0x53df9d(0x21f)](_0x5a0392),this;}[_0x5b8af3(0x1fa)](){const _0x4721fe=_0x5b8af3;return this[_0x4721fe(0x202)][_0x4721fe(0x1ec)](_0x257d3e)[_0x4721fe(0x1ef)](_0x2b9ff6['id']);}[_0x5b8af3(0x21d)](){const _0x28f748=_0x5b8af3;return this[_0x28f748(0x202)][_0x28f748(0x1ec)](_0x257d3e)['syncExecuteCommand'](_0x343bff['id']);}[_0x5b8af3(0x1f2)](){const _0x2bc457=_0x5b8af3;return this[_0x2bc457(0x202)][_0x2bc457(0x1ec)](_0x257d3e)['syncExecuteCommand'](_0x4a1d64['id']);}async[_0x5b8af3(0x20a)](){const _0x3e296b=_0x5b8af3;return _0x4c04c7(this['_injector'])?this[_0x3e296b(0x202)][_0x3e296b(0x1ec)](_0x257d3e)[_0x3e296b(0x20d)](_0x270fd1['id']):!0x1;}}_0x1f6e51['extend'](A);class B extends _0xb26636{['getScreenshot'](){const _0x4da7f0=_0x5b8af3;return _0x4c04c7(this[_0x4da7f0(0x202)])?this[_0x4da7f0(0x202)][_0x4da7f0(0x1ec)](_0x17556a)[_0x4da7f0(0x20b)](this[_0x4da7f0(0x1f0)][_0x4da7f0(0x1f3)](),this[_0x4da7f0(0x1f4)][_0x4da7f0(0x217)](),this[_0x4da7f0(0x207)]):!0x1;}}_0xb26636[_0x5b8af3(0x1f1)](B);class H{get[_0x5b8af3(0x1ff)](){const _0x19cbea=_0x5b8af3;return _0x19cbea(0x1ff);}get[_0x5b8af3(0x210)](){return'BeforeSheetPrintConfirm';}get[_0x5b8af3(0x203)](){const _0x371f90=_0x5b8af3;return _0x371f90(0x203);}get[_0x5b8af3(0x200)](){return'SheetPrintOpen';}get[_0x5b8af3(0x216)](){const _0x4b7943=_0x5b8af3;return _0x4b7943(0x216);}get[_0x5b8af3(0x1f7)](){return'SheetPrintCanceled';}}_0x10454a[_0x5b8af3(0x1f1)](H);class U{get[_0x5b8af3(0x1fd)](){return _0x6d8e3d;}get[_0x5b8af3(0x20f)](){return _0x4f8f5a;}get[_0x5b8af3(0x211)](){return _0x249b82;}get[_0x5b8af3(0x1eb)](){return _0xaef8c7;}get[_0x5b8af3(0x1f5)](){return _0x2833c0;}get[_0x5b8af3(0x1fb)](){return _0x2031c1;}get[_0x5b8af3(0x21a)](){return _0x56065a;}get[_0x5b8af3(0x1fe)](){return _0x373673;}get[_0x5b8af3(0x21c)](){return _0x3c4656;}}_0x1b9c91['extend'](U);class M extends _0x46de92{[_0x5b8af3(0x1fc)](_0x16bcd0){const _0x1414c5=_0x5b8af3,_0x461554=_0x16bcd0[_0x1414c5(0x1ec)](_0x257d3e);this[_0x1414c5(0x218)](this[_0x1414c5(0x214)][_0x1414c5(0x1ff)],()=>_0x461554[_0x1414c5(0x212)](_0x579ed1=>{const _0x532fd0=_0x1414c5;if(_0x579ed1['id']===_0x343bff['id']){const _0x4c1260=this[_0x532fd0(0x205)]();if(!_0x4c1260)return;const _0x49840a={'workbook':_0x4c1260,'worksheet':_0x4c1260['getActiveSheet']()};if(_0x49840a==null)return;if(this[_0x532fd0(0x21b)](this[_0x532fd0(0x214)][_0x532fd0(0x1ff)],_0x49840a),_0x49840a[_0x532fd0(0x21e)])throw new _0x486d0f();}})),this['registerEventHandler'](this[_0x1414c5(0x214)][_0x1414c5(0x210)],()=>_0x461554[_0x1414c5(0x212)](_0x4309d1=>{const _0x5dd367=_0x1414c5;if(_0x4309d1['id']===_0x2b9ff6['id']){const _0x453741=_0x16bcd0[_0x5dd367(0x1ec)](_0x96304);if(!this[_0x5dd367(0x205)]())return;const _0x1b5ebb={'layoutConfig':_0x453741['layoutConfig'],'renderConfig':_0x453741['renderConfig']};if(_0x1b5ebb==null)return;if(this[_0x5dd367(0x21b)](this[_0x5dd367(0x214)][_0x5dd367(0x210)],_0x1b5ebb),_0x1b5ebb[_0x5dd367(0x21e)])throw new _0x486d0f();}})),this[_0x1414c5(0x218)](this['Event'][_0x1414c5(0x203)],()=>_0x461554[_0x1414c5(0x212)](_0x4b5cd0=>{const _0x4441f5=_0x1414c5;if(_0x4b5cd0['id']===_0x4a1d64['id']){const _0xa5a8d0=_0x16bcd0[_0x4441f5(0x1ec)](_0x96304);if(!this['getActiveUniverSheet']())return;const _0x1c86fc={'layoutConfig':_0xa5a8d0[_0x4441f5(0x20c)],'renderConfig':_0xa5a8d0['renderConfig']};if(_0x1c86fc==null)return;if(this[_0x4441f5(0x21b)](this['Event'][_0x4441f5(0x203)],_0x1c86fc),_0x1c86fc[_0x4441f5(0x21e)])throw new _0x486d0f();}})),this[_0x1414c5(0x218)](this[_0x1414c5(0x214)][_0x1414c5(0x200)],()=>_0x461554['onCommandExecuted'](_0x1dd055=>{const _0x39bed0=_0x1414c5;if(_0x1dd055['id']===_0x343bff['id']){const _0x764b26=this['getActiveUniverSheet']();if(!_0x764b26)return;const _0x4c7e59={'workbook':_0x764b26,'worksheet':_0x764b26[_0x39bed0(0x1ee)]()};if(_0x4c7e59==null)return;this[_0x39bed0(0x21b)](this['Event'][_0x39bed0(0x200)],_0x4c7e59);}})),this[_0x1414c5(0x218)](this[_0x1414c5(0x214)][_0x1414c5(0x216)],()=>_0x461554[_0x1414c5(0x1f6)](_0x499b21=>{const _0x4530bc=_0x1414c5;if(_0x499b21['id']===_0x2b9ff6['id']){const _0x471248=_0x16bcd0[_0x4530bc(0x1ec)](_0x96304);if(!this[_0x4530bc(0x205)]())return;const _0x1dc557={'layoutConfig':_0x471248['layoutConfig'],'renderConfig':_0x471248[_0x4530bc(0x213)]};if(_0x1dc557==null)return;this[_0x4530bc(0x21b)](this[_0x4530bc(0x214)][_0x4530bc(0x216)],_0x1dc557);}})),this['registerEventHandler'](this[_0x1414c5(0x214)][_0x1414c5(0x1f7)],()=>_0x461554[_0x1414c5(0x1f6)](_0x26ce09=>{const _0x2ac625=_0x1414c5;if(_0x26ce09['id']===_0x4a1d64['id']){const _0x3eb448=_0x16bcd0['get'](_0x96304);if(!this[_0x2ac625(0x205)]())return;const _0x4a2701={'layoutConfig':_0x3eb448['layoutConfig'],'renderConfig':_0x3eb448[_0x2ac625(0x213)]};if(_0x4a2701==null)return;this['fireEvent'](this[_0x2ac625(0x214)][_0x2ac625(0x1f7)],_0x4a2701);}}));}}_0x46de92['extend'](M);function _0x18e7(_0x585582,_0x1faccf){const _0x5ebe10=_0x5ebe();return _0x18e7=function(_0x18e7da,_0x17926b){_0x18e7da=_0x18e7da-0x1eb;let _0x4b8588=_0x5ebe10[_0x18e7da];return _0x4b8588;},_0x18e7(_0x585582,_0x1faccf);}function _0x5ebe(){const _0x192738=['closePrintDialog','getUnitId','_worksheet','PrintScale','onCommandExecuted','SheetPrintCanceled','140OapavQ','556555XppuQz','print','PrintDirection','_initialize','PrintArea','PrintHeaderFooter','BeforeSheetPrintOpen','SheetPrintOpen','updatePrintConfig','_injector','BeforeSheetPrintCanceled','3264984WRkRsB','getActiveUniverSheet','415468SRkrSC','_range','830826afGnyJ','10227231vRktuq','saveScreenshotToClipboard','getRangeImage','layoutConfig','executeCommand','7040440juyNWN','PrintAlign','BeforeSheetPrintConfirm','PrintPaperSize','beforeCommandExecuted','renderConfig','Event','updatePrintRenderConfig','SheetPrintConfirmed','getSheetId','registerEventHandler','7284iVnZdW','PrintFreeze','fireEvent','PrintHeaderFooterSymbol','openPrintDialog','cancel','updateRenderConfig','PrintPaperMargin','get','192ymGTLT','getActiveSheet','syncExecuteCommand','_workbook','extend'];_0x5ebe=function(){return _0x192738;};return _0x5ebe();}
|