@univerjs-pro/sheets-print 0.10.6 → 0.10.7-nightly.202509080357

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.
Files changed (55) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.css +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ko-KR.js +1 -1
  34. package/lib/locale/ru-RU.js +1 -1
  35. package/lib/locale/vi-VN.js +1 -1
  36. package/lib/locale/zh-CN.js +1 -1
  37. package/lib/locale/zh-TW.js +1 -1
  38. package/lib/types/common/const.d.ts +40 -40
  39. package/lib/types/common/types.d.ts +6 -0
  40. package/lib/types/controllers/config.schema.d.ts +5 -0
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/types/locale/en-US.d.ts +5 -0
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +17 -17
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4b317d=_0x403a;(function(_0x254b99,_0x79ea04){const _0x5154f6=_0x403a,_0x23bfba=_0x254b99();while(!![]){try{const _0x4fab5c=parseInt(_0x5154f6(0x14a))/0x1+parseInt(_0x5154f6(0x141))/0x2+-parseInt(_0x5154f6(0x14f))/0x3*(-parseInt(_0x5154f6(0x163))/0x4)+-parseInt(_0x5154f6(0x15a))/0x5*(parseInt(_0x5154f6(0x149))/0x6)+parseInt(_0x5154f6(0x142))/0x7+parseInt(_0x5154f6(0x161))/0x8*(-parseInt(_0x5154f6(0x167))/0x9)+parseInt(_0x5154f6(0x15e))/0xa;if(_0x4fab5c===_0x79ea04)break;else _0x23bfba['push'](_0x23bfba['shift']());}catch(_0x271341){_0x23bfba['push'](_0x23bfba['shift']());}}}(_0xff24,0x71f26));import{ISheetPrintManagerService as _0x30d8c3,ConfirmSheetPrintOperation as _0x1e77bc,SheetPrintOpenOperation as _0x444e48,CancelSheetPrintOperation as _0x30e3c3,hasPrintFacadePermission as _0x4a7c6f,SheetScreenShotOperation as _0x2e0489,SheetPrintClientService as _0x24f4d3,PrintArea as _0x59c465,PrintFreeze as _0x1243e7,PrintHeaderFooter as _0xb1ff8d,PrintHeaderFooterSymbol as _0x41b3ea}from'@univerjs-pro/sheets-print';import{ICommandService as _0x4f2a5f,PaperType as _0xaecfe,CanceledError as _0x4d9cba}from'@univerjs/core';import{FWorkbook as _0x4bfae4,FRange as _0xb6a81e}from'@univerjs/sheets/facade';import{FEventName as _0x4275c5,FEnum as _0x39763c,FUniver as _0x48d146}from'@univerjs/core/facade';import{PrintAlign as _0xaa3862,PrintPaperMargin as _0x9a6594,PrintScale as _0x11007e,PrintDirection as _0x5167f4}from'@univerjs-pro/print';class A extends _0x4bfae4{[_0x4b317d(0x16c)](_0x517824){const _0x41c5a0=_0x4b317d;return this[_0x41c5a0(0x171)][_0x41c5a0(0x146)](_0x30d8c3)[_0x41c5a0(0x147)](_0x517824),this;}[_0x4b317d(0x16f)](_0xb36a3b){const _0x3bfc3d=_0x4b317d;return this[_0x3bfc3d(0x171)][_0x3bfc3d(0x146)](_0x30d8c3)[_0x3bfc3d(0x162)](_0xb36a3b),this;}[_0x4b317d(0x16e)](){const _0x42ec6a=_0x4b317d;return this[_0x42ec6a(0x171)][_0x42ec6a(0x146)](_0x4f2a5f)[_0x42ec6a(0x14c)](_0x1e77bc['id']);}[_0x4b317d(0x155)](){const _0x1216c7=_0x4b317d;return this[_0x1216c7(0x171)][_0x1216c7(0x146)](_0x4f2a5f)[_0x1216c7(0x14c)](_0x444e48['id']);}[_0x4b317d(0x166)](){const _0x445e52=_0x4b317d;return this['_injector'][_0x445e52(0x146)](_0x4f2a5f)[_0x445e52(0x14c)](_0x30e3c3['id']);}async[_0x4b317d(0x14e)](){const _0x4beb2b=_0x4b317d;return _0x4a7c6f(this['_injector'])?this[_0x4beb2b(0x171)][_0x4beb2b(0x146)](_0x4f2a5f)['executeCommand'](_0x2e0489['id']):!0x1;}}function _0x403a(_0x25969f,_0x5c5c1b){const _0xff2467=_0xff24();return _0x403a=function(_0x403aa9,_0x3fdaaa){_0x403aa9=_0x403aa9-0x141;let _0xea8f48=_0xff2467[_0x403aa9];return _0xea8f48;},_0x403a(_0x25969f,_0x5c5c1b);}_0x4bfae4[_0x4b317d(0x157)](A);class B extends _0xb6a81e{['getScreenshot'](){const _0x4e7ded=_0x4b317d;return _0x4a7c6f(this[_0x4e7ded(0x171)])?this[_0x4e7ded(0x171)][_0x4e7ded(0x146)](_0x24f4d3)[_0x4e7ded(0x165)](this[_0x4e7ded(0x172)]['getUnitId'](),this[_0x4e7ded(0x143)][_0x4e7ded(0x16b)](),this[_0x4e7ded(0x156)]):!0x1;}}_0xb6a81e[_0x4b317d(0x157)](B);class H{get[_0x4b317d(0x15b)](){const _0x4fcc05=_0x4b317d;return _0x4fcc05(0x15b);}get[_0x4b317d(0x168)](){const _0x340688=_0x4b317d;return _0x340688(0x168);}get[_0x4b317d(0x170)](){const _0x4d2218=_0x4b317d;return _0x4d2218(0x170);}get[_0x4b317d(0x15d)](){const _0x37ecc8=_0x4b317d;return _0x37ecc8(0x15d);}get[_0x4b317d(0x153)](){const _0x2a1987=_0x4b317d;return _0x2a1987(0x153);}get[_0x4b317d(0x148)](){const _0x266210=_0x4b317d;return _0x266210(0x148);}}_0x4275c5[_0x4b317d(0x157)](H);class U{get[_0x4b317d(0x160)](){return _0x59c465;}get[_0x4b317d(0x145)](){return _0xaa3862;}get['PrintPaperSize'](){return _0xaecfe;}get['PrintPaperMargin'](){return _0x9a6594;}get['PrintScale'](){return _0x11007e;}get[_0x4b317d(0x150)](){return _0x5167f4;}get[_0x4b317d(0x169)](){return _0x1243e7;}get[_0x4b317d(0x15f)](){return _0xb1ff8d;}get[_0x4b317d(0x15c)](){return _0x41b3ea;}}function _0xff24(){const _0x347516=['5szKnoH','BeforeSheetPrintOpen','PrintHeaderFooterSymbol','SheetPrintOpen','2386310uaconS','PrintHeaderFooter','PrintArea','1109288NYoRLx','updateRenderConfig','35828LDUcid','_initialize','getRangeImage','closePrintDialog','27dKMEcl','BeforeSheetPrintConfirm','PrintFreeze','renderConfig','getSheetId','updatePrintConfig','beforeCommandExecuted','print','updatePrintRenderConfig','BeforeSheetPrintCanceled','_injector','_workbook','130630nKuTPM','1434244VrtyHm','_worksheet','getActiveSheet','PrintAlign','get','updateLayoutConfig','SheetPrintCanceled','507294lIZzcs','28484gOmvpK','fireEvent','syncExecuteCommand','layoutConfig','saveScreenshotToClipboard','144RqmOAL','PrintDirection','Event','getActiveUniverSheet','SheetPrintConfirmed','registerEventHandler','openPrintDialog','_range','extend','onCommandExecuted','cancel'];_0xff24=function(){return _0x347516;};return _0xff24();}_0x39763c[_0x4b317d(0x157)](U);class M extends _0x48d146{[_0x4b317d(0x164)](_0x2c71de){const _0x45ae07=_0x4b317d,_0x1c6af2=_0x2c71de['get'](_0x4f2a5f);this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x15b)],()=>_0x1c6af2['beforeCommandExecuted'](_0x3a3295=>{const _0x1e8604=_0x45ae07;if(_0x3a3295['id']===_0x444e48['id']){const _0xc4de38=this[_0x1e8604(0x152)]();if(!_0xc4de38)return;const _0x3b7c83={'workbook':_0xc4de38,'worksheet':_0xc4de38['getActiveSheet']()};if(_0x3b7c83==null)return;if(this['fireEvent'](this[_0x1e8604(0x151)]['BeforeSheetPrintOpen'],_0x3b7c83),_0x3b7c83[_0x1e8604(0x159)])throw new _0x4d9cba();}})),this['registerEventHandler'](this[_0x45ae07(0x151)]['BeforeSheetPrintConfirm'],()=>_0x1c6af2[_0x45ae07(0x16d)](_0x405df3=>{const _0xa2682e=_0x45ae07;if(_0x405df3['id']===_0x1e77bc['id']){const _0x19dc02=_0x2c71de[_0xa2682e(0x146)](_0x30d8c3);if(!this[_0xa2682e(0x152)]())return;const _0x2b7aa2={'layoutConfig':_0x19dc02['layoutConfig'],'renderConfig':_0x19dc02['renderConfig']};if(_0x2b7aa2==null)return;if(this[_0xa2682e(0x14b)](this['Event']['BeforeSheetPrintConfirm'],_0x2b7aa2),_0x2b7aa2['cancel'])throw new _0x4d9cba();}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x170)],()=>_0x1c6af2[_0x45ae07(0x16d)](_0x499d2c=>{const _0x1a73da=_0x45ae07;if(_0x499d2c['id']===_0x30e3c3['id']){const _0x338af8=_0x2c71de[_0x1a73da(0x146)](_0x30d8c3);if(!this['getActiveUniverSheet']())return;const _0x420d67={'layoutConfig':_0x338af8['layoutConfig'],'renderConfig':_0x338af8[_0x1a73da(0x16a)]};if(_0x420d67==null)return;if(this[_0x1a73da(0x14b)](this[_0x1a73da(0x151)][_0x1a73da(0x170)],_0x420d67),_0x420d67[_0x1a73da(0x159)])throw new _0x4d9cba();}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x15d)],()=>_0x1c6af2[_0x45ae07(0x158)](_0x4cdf41=>{const _0x52d960=_0x45ae07;if(_0x4cdf41['id']===_0x444e48['id']){const _0x11b150=this[_0x52d960(0x152)]();if(!_0x11b150)return;const _0x123553={'workbook':_0x11b150,'worksheet':_0x11b150[_0x52d960(0x144)]()};if(_0x123553==null)return;this[_0x52d960(0x14b)](this[_0x52d960(0x151)][_0x52d960(0x15d)],_0x123553);}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)]['SheetPrintConfirmed'],()=>_0x1c6af2[_0x45ae07(0x158)](_0x3973b6=>{const _0x284877=_0x45ae07;if(_0x3973b6['id']===_0x1e77bc['id']){const _0x2d166f=_0x2c71de[_0x284877(0x146)](_0x30d8c3);if(!this['getActiveUniverSheet']())return;const _0x59ae19={'layoutConfig':_0x2d166f[_0x284877(0x14d)],'renderConfig':_0x2d166f['renderConfig']};if(_0x59ae19==null)return;this[_0x284877(0x14b)](this[_0x284877(0x151)][_0x284877(0x153)],_0x59ae19);}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x148)],()=>_0x1c6af2[_0x45ae07(0x158)](_0x134cc6=>{const _0x2691be=_0x45ae07;if(_0x134cc6['id']===_0x30e3c3['id']){const _0x408122=_0x2c71de['get'](_0x30d8c3);if(!this[_0x2691be(0x152)]())return;const _0x16fc6b={'layoutConfig':_0x408122[_0x2691be(0x14d)],'renderConfig':_0x408122[_0x2691be(0x16a)]};if(_0x16fc6b==null)return;this[_0x2691be(0x14b)](this[_0x2691be(0x151)][_0x2691be(0x148)],_0x16fc6b);}}));}}_0x48d146[_0x4b317d(0x157)](M);
1
+ const _0xfd3b76=_0x5e40;(function(_0x4c9a3a,_0x563a25){const _0x8786f2=_0x5e40,_0x26c3a8=_0x4c9a3a();while(!![]){try{const _0x38fa1f=parseInt(_0x8786f2(0x202))/0x1+-parseInt(_0x8786f2(0x1f3))/0x2+parseInt(_0x8786f2(0x1ed))/0x3*(parseInt(_0x8786f2(0x1f8))/0x4)+parseInt(_0x8786f2(0x1fb))/0x5+-parseInt(_0x8786f2(0x201))/0x6+-parseInt(_0x8786f2(0x1dd))/0x7*(-parseInt(_0x8786f2(0x1d4))/0x8)+parseInt(_0x8786f2(0x1e8))/0x9;if(_0x38fa1f===_0x563a25)break;else _0x26c3a8['push'](_0x26c3a8['shift']());}catch(_0x4c01ec){_0x26c3a8['push'](_0x26c3a8['shift']());}}}(_0xf373,0xb74cb));import{ISheetPrintManagerService as _0x25a495,ConfirmSheetPrintOperation as _0x16d7be,SheetPrintOpenOperation as _0x18a102,CancelSheetPrintOperation as _0x197bbe,hasPrintFacadePermission as _0x5c3dc0,SheetScreenShotOperation as _0xcd66d8,SheetPrintClientService as _0x149a84,PrintArea as _0x1db643,PrintFreeze as _0xc165ea,PrintHeaderFooter as _0x30300b,PrintHeaderFooterSymbol as _0xf62b76}from'@univerjs-pro/sheets-print';import{ICommandService as _0x1851b8,PaperType as _0x225795,CanceledError as _0x353430}from'@univerjs/core';function _0xf373(){const _0x35753b=['Event','2347630GzsGct','_worksheet','updateLayoutConfig','extend','PrintAlign','get','8260602NjLxez','583281XXXvMK','PrintArea','45176jxRCip','BeforeSheetPrintOpen','closePrintDialog','getActiveSheet','BeforeSheetPrintCanceled','_workbook','beforeCommandExecuted','openPrintDialog','PrintDirection','777gVBnkt','_range','layoutConfig','SheetPrintOpen','PrintScale','_injector','fireEvent','updatePrintRenderConfig','PrintHeaderFooter','cancel','getScreenshot','240921ILMBBj','SheetPrintCanceled','onCommandExecuted','SheetPrintConfirmed','print','519CAWyLw','syncExecuteCommand','PrintPaperSize','getUnitId','getActiveUniverSheet','registerEventHandler','1245772Nzxrws','renderConfig','BeforeSheetPrintConfirm','getSheetId','saveScreenshotToClipboard','24140WXzNMD','getRangeImage'];_0xf373=function(){return _0x35753b;};return _0xf373();}import{FWorkbook as _0x4a8783,FRange as _0x1bd732}from'@univerjs/sheets/facade';import{FEventName as _0x1a9c4b,FEnum as _0xe2aaa8,FUniver as _0x36c311}from'@univerjs/core/facade';function _0x5e40(_0x222c01,_0x590bb7){const _0xf373b0=_0xf373();return _0x5e40=function(_0x5e402b,_0x5bb276){_0x5e402b=_0x5e402b-0x1d3;let _0x39b141=_0xf373b0[_0x5e402b];return _0x39b141;},_0x5e40(_0x222c01,_0x590bb7);}import{PrintAlign as _0x4f0d6d,PrintPaperMargin as _0x1e3f2e,PrintScale as _0x5101b5,PrintDirection as _0x2d5b18}from'@univerjs-pro/print';class A extends _0x4a8783{['updatePrintConfig'](_0x489dc3){const _0xfe5ceb=_0x5e40;return this[_0xfe5ceb(0x1e2)][_0xfe5ceb(0x200)](_0x25a495)[_0xfe5ceb(0x1fd)](_0x489dc3),this;}[_0xfd3b76(0x1e4)](_0x2351a4){const _0x4ffd40=_0xfd3b76;return this[_0x4ffd40(0x1e2)][_0x4ffd40(0x200)](_0x25a495)['updateRenderConfig'](_0x2351a4),this;}[_0xfd3b76(0x1ec)](){const _0x365fe0=_0xfd3b76;return this[_0x365fe0(0x1e2)][_0x365fe0(0x200)](_0x1851b8)[_0x365fe0(0x1ee)](_0x16d7be['id']);}[_0xfd3b76(0x1db)](){const _0x5e5e0e=_0xfd3b76;return this['_injector'][_0x5e5e0e(0x200)](_0x1851b8)[_0x5e5e0e(0x1ee)](_0x18a102['id']);}[_0xfd3b76(0x1d6)](){const _0x335101=_0xfd3b76;return this['_injector'][_0x335101(0x200)](_0x1851b8)[_0x335101(0x1ee)](_0x197bbe['id']);}async[_0xfd3b76(0x1f7)](){const _0x3861ab=_0xfd3b76;return _0x5c3dc0(this[_0x3861ab(0x1e2)])?this[_0x3861ab(0x1e2)][_0x3861ab(0x200)](_0x1851b8)['executeCommand'](_0xcd66d8['id']):!0x1;}}_0x4a8783[_0xfd3b76(0x1fe)](A);class B extends _0x1bd732{[_0xfd3b76(0x1e7)](){const _0x443e4=_0xfd3b76;return _0x5c3dc0(this[_0x443e4(0x1e2)])?this[_0x443e4(0x1e2)][_0x443e4(0x200)](_0x149a84)[_0x443e4(0x1f9)](this[_0x443e4(0x1d9)][_0x443e4(0x1f0)](),this[_0x443e4(0x1fc)][_0x443e4(0x1f6)](),this[_0x443e4(0x1de)]):!0x1;}}_0x1bd732[_0xfd3b76(0x1fe)](B);class H{get[_0xfd3b76(0x1d5)](){return'BeforeSheetPrintOpen';}get[_0xfd3b76(0x1f5)](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0xfd3b76(0x1e0)](){const _0x1697ac=_0xfd3b76;return _0x1697ac(0x1e0);}get['SheetPrintConfirmed'](){const _0x3019d7=_0xfd3b76;return _0x3019d7(0x1eb);}get['SheetPrintCanceled'](){const _0xfdd915=_0xfd3b76;return _0xfdd915(0x1e9);}}_0x1a9c4b[_0xfd3b76(0x1fe)](H);class U{get[_0xfd3b76(0x1d3)](){return _0x1db643;}get[_0xfd3b76(0x1ff)](){return _0x4f0d6d;}get[_0xfd3b76(0x1ef)](){return _0x225795;}get['PrintPaperMargin'](){return _0x1e3f2e;}get[_0xfd3b76(0x1e1)](){return _0x5101b5;}get[_0xfd3b76(0x1dc)](){return _0x2d5b18;}get['PrintFreeze'](){return _0xc165ea;}get[_0xfd3b76(0x1e5)](){return _0x30300b;}get['PrintHeaderFooterSymbol'](){return _0xf62b76;}}_0xe2aaa8[_0xfd3b76(0x1fe)](U);class M extends _0x36c311{['_initialize'](_0x1777b6){const _0x587c64=_0xfd3b76,_0x225f66=_0x1777b6[_0x587c64(0x200)](_0x1851b8);this['registerEventHandler'](this[_0x587c64(0x1fa)][_0x587c64(0x1d5)],()=>_0x225f66[_0x587c64(0x1da)](_0x32400b=>{const _0x33679e=_0x587c64;if(_0x32400b['id']===_0x18a102['id']){const _0x9c27ae=this['getActiveUniverSheet']();if(!_0x9c27ae)return;const _0x253ed6={'workbook':_0x9c27ae,'worksheet':_0x9c27ae[_0x33679e(0x1d7)]()};if(_0x253ed6==null)return;if(this[_0x33679e(0x1e3)](this[_0x33679e(0x1fa)][_0x33679e(0x1d5)],_0x253ed6),_0x253ed6[_0x33679e(0x1e6)])throw new _0x353430();}})),this['registerEventHandler'](this[_0x587c64(0x1fa)]['BeforeSheetPrintConfirm'],()=>_0x225f66[_0x587c64(0x1da)](_0x3b3564=>{const _0x5e3061=_0x587c64;if(_0x3b3564['id']===_0x16d7be['id']){const _0x59fabd=_0x1777b6[_0x5e3061(0x200)](_0x25a495);if(!this['getActiveUniverSheet']())return;const _0x9e1234={'layoutConfig':_0x59fabd['layoutConfig'],'renderConfig':_0x59fabd[_0x5e3061(0x1f4)]};if(_0x9e1234==null)return;if(this[_0x5e3061(0x1e3)](this['Event'][_0x5e3061(0x1f5)],_0x9e1234),_0x9e1234[_0x5e3061(0x1e6)])throw new _0x353430();}})),this[_0x587c64(0x1f2)](this[_0x587c64(0x1fa)]['BeforeSheetPrintCanceled'],()=>_0x225f66[_0x587c64(0x1da)](_0x35131e=>{const _0x339cdd=_0x587c64;if(_0x35131e['id']===_0x197bbe['id']){const _0x14a849=_0x1777b6[_0x339cdd(0x200)](_0x25a495);if(!this['getActiveUniverSheet']())return;const _0x239869={'layoutConfig':_0x14a849[_0x339cdd(0x1df)],'renderConfig':_0x14a849[_0x339cdd(0x1f4)]};if(_0x239869==null)return;if(this[_0x339cdd(0x1e3)](this['Event'][_0x339cdd(0x1d8)],_0x239869),_0x239869[_0x339cdd(0x1e6)])throw new _0x353430();}})),this[_0x587c64(0x1f2)](this['Event'][_0x587c64(0x1e0)],()=>_0x225f66[_0x587c64(0x1ea)](_0x3d1f14=>{const _0x8346d2=_0x587c64;if(_0x3d1f14['id']===_0x18a102['id']){const _0x2aad8d=this['getActiveUniverSheet']();if(!_0x2aad8d)return;const _0x5aca7e={'workbook':_0x2aad8d,'worksheet':_0x2aad8d[_0x8346d2(0x1d7)]()};if(_0x5aca7e==null)return;this[_0x8346d2(0x1e3)](this[_0x8346d2(0x1fa)]['SheetPrintOpen'],_0x5aca7e);}})),this['registerEventHandler'](this[_0x587c64(0x1fa)]['SheetPrintConfirmed'],()=>_0x225f66[_0x587c64(0x1ea)](_0x46627f=>{const _0x5d7fc6=_0x587c64;if(_0x46627f['id']===_0x16d7be['id']){const _0x20ca61=_0x1777b6[_0x5d7fc6(0x200)](_0x25a495);if(!this[_0x5d7fc6(0x1f1)]())return;const _0x495e2e={'layoutConfig':_0x20ca61[_0x5d7fc6(0x1df)],'renderConfig':_0x20ca61['renderConfig']};if(_0x495e2e==null)return;this[_0x5d7fc6(0x1e3)](this[_0x5d7fc6(0x1fa)]['SheetPrintConfirmed'],_0x495e2e);}})),this[_0x587c64(0x1f2)](this['Event'][_0x587c64(0x1e9)],()=>_0x225f66[_0x587c64(0x1ea)](_0x4f9ff3=>{const _0x7e0797=_0x587c64;if(_0x4f9ff3['id']===_0x197bbe['id']){const _0x32fa3d=_0x1777b6[_0x7e0797(0x200)](_0x25a495);if(!this[_0x7e0797(0x1f1)]())return;const _0x5ae1f6={'layoutConfig':_0x32fa3d[_0x7e0797(0x1df)],'renderConfig':_0x32fa3d['renderConfig']};if(_0x5ae1f6==null)return;this[_0x7e0797(0x1e3)](this[_0x7e0797(0x1fa)][_0x7e0797(0x1e9)],_0x5ae1f6);}}));}}_0x36c311[_0xfd3b76(0x1fe)](M);
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-0{bottom:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-7{margin-top:1.75rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-size-3{width:.75rem;height:.75rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-8{height:2rem}.univer-h-\[200px\]{height:200px}.univer-h-full{height:100%}.univer-w-\[312px\]{width:312px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-1{flex:1 1 0%}.univer-flex-none{flex:none}.univer-flex-grow{flex-grow:1}.univer-cursor-pointer{cursor:pointer}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-text-center{text-align:center}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-font-medium{font-weight:500}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}
1
+ .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-0{bottom:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-7{margin-top:1.75rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-8{height:2rem}.univer-h-\[200px\]{height:200px}.univer-h-full{height:100%}.univer-w-\[312px\]{width:312px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-1{flex:1 1 0%}.univer-flex-none{flex:none}.univer-flex-grow{flex-grow:1}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-text-center{text-align:center}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}