@univerjs-pro/sheets-print 0.17.0 → 0.18.0-insiders.20260328-d26c36e
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 +19 -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/sk-SK.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 +19 -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/sk-SK.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 +469 -1
- package/lib/index.js +19 -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/sk-SK.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/commands/operations/print-grid-sidebar.operation.d.ts +1 -1
- package/lib/types/commands/operations/sheet-print.operation.d.ts +2 -2
- package/lib/types/commands/operations/sheet-screenshot.operation.d.ts +1 -1
- package/lib/types/common/types.d.ts +3 -3
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/controllers/menu.d.ts +2 -2
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/controllers/shortcut.d.ts +1 -1
- package/lib/types/facade/f-event.d.ts +3 -3
- package/lib/types/facade/f-univer.d.ts +1 -1
- package/lib/types/facade/f-workbook.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/print-grid.service.d.ts +1 -1
- package/lib/types/services/sheet-print-manager.service.d.ts +6 -5
- package/lib/types/services/sheet-print.service.d.ts +5 -3
- package/lib/types/services/util.d.ts +5 -5
- package/lib/types/utils/header-footer.d.ts +1 -1
- package/lib/types/utils/util.d.ts +1 -1
- package/lib/types/views/components/PrintGridSidebar.d.ts +1 -1
- package/lib/types/views/components/SheetPrintPagePreview.d.ts +2 -2
- package/lib/types/views/components/hover-menu/index.d.ts +1 -1
- package/lib/types/views/components/sheet-print-canvas-view.d.ts +4 -3
- package/lib/types/views/extensions/print-grid.extension.d.ts +5 -4
- 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/sk-SK.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 +19 -21
- package/lib/types/license/encrypted-func.d.ts +0 -1
- package/lib/types/license/reverse-mapping.d.ts +0 -65
- package/lib/types/utils/crypto/index.d.ts +0 -9
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x11fa16=_0x57a1;(function(_0x2968cf,_0x4df669){const _0x484d76=_0x57a1,_0x163cc7=_0x2968cf();while(!![]){try{const _0x112f08=parseInt(_0x484d76(0x1ff))/0x1+parseInt(_0x484d76(0x1f2))/0x2*(parseInt(_0x484d76(0x1e1))/0x3)+parseInt(_0x484d76(0x1c7))/0x4+parseInt(_0x484d76(0x1cf))/0x5+-parseInt(_0x484d76(0x1f3))/0x6+-parseInt(_0x484d76(0x1cc))/0x7+-parseInt(_0x484d76(0x201))/0x8*(-parseInt(_0x484d76(0x1e2))/0x9);if(_0x112f08===_0x4df669)break;else _0x163cc7['push'](_0x163cc7['shift']());}catch(_0x35c11a){_0x163cc7['push'](_0x163cc7['shift']());}}}(_0x2f9c,0xded74));function _0x57a1(_0x2099d5,_0x587c40){_0x2099d5=_0x2099d5-0x1c1;const _0x2f9c2e=_0x2f9c();let _0x57a14f=_0x2f9c2e[_0x2099d5];return _0x57a14f;}let e=require(`@univerjs-pro/sheets-print`),t=require(`@univerjs/core`),n=require(`@univerjs/sheets/facade`),r=require(`@univerjs/core/facade`),i=require(`@univerjs-pro/print`);var a=class extends n['FWorkbook']{[_0x11fa16(0x1f7)](_0x2144d7){const _0x33f780=_0x11fa16;return this['_injector'][_0x33f780(0x1d6)](e['ISheetPrintManagerService'])[_0x33f780(0x1d4)](_0x2144d7),this;}[_0x11fa16(0x1f5)](_0x265f4d){const _0x597b34=_0x11fa16;return this[_0x597b34(0x1de)][_0x597b34(0x1d6)](e[_0x597b34(0x1f8)])[_0x597b34(0x1e8)](_0x265f4d),this;}['print'](){const _0x10374e=_0x11fa16;return this[_0x10374e(0x1de)][_0x10374e(0x1d6)](t[_0x10374e(0x1d9)])[_0x10374e(0x1fd)](e[_0x10374e(0x1cb)]['id']);}[_0x11fa16(0x1eb)](){const _0x46e7ed=_0x11fa16;return this[_0x46e7ed(0x1de)]['get'](t[_0x46e7ed(0x1d9)])[_0x46e7ed(0x1fd)](e['SheetPrintOpenOperation']['id']);}[_0x11fa16(0x1ce)](){const _0x34af5c=_0x11fa16;return this[_0x34af5c(0x1de)][_0x34af5c(0x1d6)](t[_0x34af5c(0x1d9)])[_0x34af5c(0x1fd)](e[_0x34af5c(0x1d3)]['id']);}async[_0x11fa16(0x1ec)](){const _0x333842=_0x11fa16;return(0x0,e[_0x333842(0x1c2)])(this['_injector'])?this['_injector'][_0x333842(0x1d6)](t['ICommandService'])[_0x333842(0x1e6)](e[_0x333842(0x1dd)]['id']):!0x1;}};n[_0x11fa16(0x1e3)][_0x11fa16(0x1ef)](a);var o=class extends n[_0x11fa16(0x1e5)]{[_0x11fa16(0x1f9)](_0x344f4d){const _0x495ab4=_0x11fa16;return(0x0,e['hasPrintFacadePermission'])(this[_0x495ab4(0x1de)])?this['_injector']['get'](e['SheetPrintClientService'])[_0x495ab4(0x1e4)](this['_workbook']['getUnitId'](),this[_0x495ab4(0x1cd)][_0x495ab4(0x1ed)](),this['_range'],_0x344f4d==null?void 0x0:_0x344f4d[_0x495ab4(0x1db)]):!0x1;}};n[_0x11fa16(0x1e5)][_0x11fa16(0x1ef)](o);var s=class{get['BeforeSheetPrintOpen'](){const _0x2c8b31=_0x11fa16;return _0x2c8b31(0x1f6);}get[_0x11fa16(0x1f0)](){const _0x54410c=_0x11fa16;return _0x54410c(0x1f0);}get['BeforeSheetPrintCanceled'](){const _0x4a490e=_0x11fa16;return _0x4a490e(0x1d5);}get['SheetPrintOpen'](){const _0x1e42d4=_0x11fa16;return _0x1e42d4(0x1fe);}get[_0x11fa16(0x1c5)](){return'SheetPrintConfirmed';}get[_0x11fa16(0x1d8)](){const _0x28a80e=_0x11fa16;return _0x28a80e(0x1d8);}};r['FEventName']['extend'](s);function _0x2f9c(){const _0x1ef94c=['BeforeSheetPrintOpen','updatePrintConfig','ISheetPrintManagerService','getScreenshot','registerEventHandler','FUniver','getActiveSheet','syncExecuteCommand','SheetPrintOpen','618954MaMiiq','FEnum','8cIURBI','PrintFreeze','hasPrintFacadePermission','SheetPrintOpenOperation','CanceledError','SheetPrintConfirmed','onCommandExecuted','648936BFiGwj','cancel','PrintDirection','_initialize','ConfirmSheetPrintOperation','10003287JZBlQa','_worksheet','closePrintDialog','4081455NPJHrz','renderConfig','PrintAlign','beforeCommandExecuted','CancelSheetPrintOperation','updateLayoutConfig','BeforeSheetPrintCanceled','get','getActiveUniverSheet','SheetPrintCanceled','ICommandService','PrintPaperMargin','includeHeaders','PrintHeaderFooterSymbol','SheetScreenShotOperation','_injector','layoutConfig','PrintArea','2098578qvjeSi','4685886tsFfVI','FWorkbook','getRangeImage','FRange','executeCommand','PrintHeaderFooter','updateRenderConfig','PrintScale','Event','openPrintDialog','saveScreenshotToClipboard','getSheetId','disposeWithMe','extend','BeforeSheetPrintConfirm','fireEvent','2BXgRSa','2855172XRinAI','PrintPaperSize','updatePrintRenderConfig'];_0x2f9c=function(){return _0x1ef94c;};return _0x2f9c();}var c=class{get[_0x11fa16(0x1e0)](){const _0x3ce92b=_0x11fa16;return e[_0x3ce92b(0x1e0)];}get[_0x11fa16(0x1d1)](){return i['PrintAlign'];}get[_0x11fa16(0x1f4)](){return t['PaperType'];}get[_0x11fa16(0x1da)](){const _0x9e0318=_0x11fa16;return i[_0x9e0318(0x1da)];}get[_0x11fa16(0x1e9)](){const _0x37080a=_0x11fa16;return i[_0x37080a(0x1e9)];}get[_0x11fa16(0x1c9)](){return i['PrintDirection'];}get[_0x11fa16(0x1c1)](){const _0xa9e23b=_0x11fa16;return e[_0xa9e23b(0x1c1)];}get[_0x11fa16(0x1e7)](){const _0x55b4d4=_0x11fa16;return e[_0x55b4d4(0x1e7)];}get[_0x11fa16(0x1dc)](){const _0x2bb6ce=_0x11fa16;return e[_0x2bb6ce(0x1dc)];}};r[_0x11fa16(0x200)]['extend'](c);var l=class extends r[_0x11fa16(0x1fb)]{[_0x11fa16(0x1ca)](_0x445053){const _0x5a7e3c=_0x11fa16;let _0x17a504=_0x445053[_0x5a7e3c(0x1d6)](t['ICommandService']);this[_0x5a7e3c(0x1ee)](this[_0x5a7e3c(0x1fa)](this['Event']['BeforeSheetPrintOpen'],()=>_0x17a504['beforeCommandExecuted'](_0x206b14=>{const _0x29120d=_0x5a7e3c;if(_0x206b14['id']===e[_0x29120d(0x1c3)]['id']){let _0x4d4508=this[_0x29120d(0x1d7)]();if(!_0x4d4508)return;let _0x55949d={'workbook':_0x4d4508,'worksheet':_0x4d4508['getActiveSheet']()};if(_0x55949d==null)return;if(this[_0x29120d(0x1f1)](this[_0x29120d(0x1ea)][_0x29120d(0x1f6)],_0x55949d),_0x55949d[_0x29120d(0x1c8)])throw new t[(_0x29120d(0x1c4))]();}}))),this[_0x5a7e3c(0x1ee)](this[_0x5a7e3c(0x1fa)](this[_0x5a7e3c(0x1ea)][_0x5a7e3c(0x1f0)],()=>_0x17a504[_0x5a7e3c(0x1d2)](_0x5a199b=>{const _0x2f629d=_0x5a7e3c;if(_0x5a199b['id']===e['ConfirmSheetPrintOperation']['id']){let _0x2ebcc7=_0x445053[_0x2f629d(0x1d6)](e[_0x2f629d(0x1f8)]);if(!this['getActiveUniverSheet']())return;let _0x2b8871={'layoutConfig':_0x2ebcc7[_0x2f629d(0x1df)],'renderConfig':_0x2ebcc7[_0x2f629d(0x1d0)]};if(_0x2b8871==null)return;if(this['fireEvent'](this[_0x2f629d(0x1ea)][_0x2f629d(0x1f0)],_0x2b8871),_0x2b8871[_0x2f629d(0x1c8)])throw new t['CanceledError']();}}))),this[_0x5a7e3c(0x1ee)](this[_0x5a7e3c(0x1fa)](this['Event'][_0x5a7e3c(0x1d5)],()=>_0x17a504[_0x5a7e3c(0x1d2)](_0x26a0c8=>{const _0x441b37=_0x5a7e3c;if(_0x26a0c8['id']===e['CancelSheetPrintOperation']['id']){let _0x27ee6d=_0x445053[_0x441b37(0x1d6)](e[_0x441b37(0x1f8)]);if(!this[_0x441b37(0x1d7)]())return;let _0x5de7bf={'layoutConfig':_0x27ee6d[_0x441b37(0x1df)],'renderConfig':_0x27ee6d[_0x441b37(0x1d0)]};if(_0x5de7bf==null)return;if(this[_0x441b37(0x1f1)](this[_0x441b37(0x1ea)][_0x441b37(0x1d5)],_0x5de7bf),_0x5de7bf['cancel'])throw new t[(_0x441b37(0x1c4))]();}}))),this[_0x5a7e3c(0x1ee)](this[_0x5a7e3c(0x1fa)](this[_0x5a7e3c(0x1ea)]['SheetPrintOpen'],()=>_0x17a504[_0x5a7e3c(0x1c6)](_0x2b8ea9=>{const _0x284770=_0x5a7e3c;if(_0x2b8ea9['id']===e[_0x284770(0x1c3)]['id']){let _0x21ea53=this[_0x284770(0x1d7)]();if(!_0x21ea53)return;let _0x585b30={'workbook':_0x21ea53,'worksheet':_0x21ea53[_0x284770(0x1fc)]()};if(_0x585b30==null)return;this[_0x284770(0x1f1)](this[_0x284770(0x1ea)][_0x284770(0x1fe)],_0x585b30);}}))),this[_0x5a7e3c(0x1ee)](this['registerEventHandler'](this[_0x5a7e3c(0x1ea)][_0x5a7e3c(0x1c5)],()=>_0x17a504[_0x5a7e3c(0x1c6)](_0x46d365=>{const _0x12fbd0=_0x5a7e3c;if(_0x46d365['id']===e[_0x12fbd0(0x1cb)]['id']){let _0x4ee4e6=_0x445053[_0x12fbd0(0x1d6)](e[_0x12fbd0(0x1f8)]);if(!this[_0x12fbd0(0x1d7)]())return;let _0x2bfff1={'layoutConfig':_0x4ee4e6[_0x12fbd0(0x1df)],'renderConfig':_0x4ee4e6[_0x12fbd0(0x1d0)]};if(_0x2bfff1==null)return;this['fireEvent'](this[_0x12fbd0(0x1ea)][_0x12fbd0(0x1c5)],_0x2bfff1);}}))),this[_0x5a7e3c(0x1ee)](this[_0x5a7e3c(0x1fa)](this[_0x5a7e3c(0x1ea)][_0x5a7e3c(0x1d8)],()=>_0x17a504[_0x5a7e3c(0x1c6)](_0x55057e=>{const _0x143832=_0x5a7e3c;if(_0x55057e['id']===e['CancelSheetPrintOperation']['id']){let _0x1cd8a0=_0x445053[_0x143832(0x1d6)](e[_0x143832(0x1f8)]);if(!this['getActiveUniverSheet']())return;let _0x35b798={'layoutConfig':_0x1cd8a0['layoutConfig'],'renderConfig':_0x1cd8a0['renderConfig']};if(_0x35b798==null)return;this[_0x143832(0x1f1)](this[_0x143832(0x1ea)]['SheetPrintCanceled'],_0x35b798);}})));}};r[_0x11fa16(0x1fb)][_0x11fa16(0x1ef)](l);
|