@univerjs-pro/sheets-print 0.10.13 → 0.10.14-nightly.202511070628

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 (59) 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/commands/operations/print-grid-sidebar.operation.d.ts +4 -0
  39. package/lib/types/common/const.d.ts +41 -41
  40. package/lib/types/controllers/const.d.ts +1 -1
  41. package/lib/types/controllers/menu.d.ts +5 -2
  42. package/lib/types/controllers/sheet-print.controller.d.ts +8 -2
  43. package/lib/types/locale/en-US.d.ts +6 -0
  44. package/lib/types/services/print-grid.service.d.ts +17 -0
  45. package/lib/types/views/components/PrintGridSidebar.d.ts +16 -0
  46. package/lib/types/views/extensions/print-grid.extension.d.ts +12 -0
  47. package/lib/umd/facade.js +1 -1
  48. package/lib/umd/index.js +1 -1
  49. package/lib/umd/locale/ca-ES.js +1 -1
  50. package/lib/umd/locale/en-US.js +1 -1
  51. package/lib/umd/locale/es-ES.js +1 -1
  52. package/lib/umd/locale/fa-IR.js +1 -1
  53. package/lib/umd/locale/fr-FR.js +1 -1
  54. package/lib/umd/locale/ko-KR.js +1 -1
  55. package/lib/umd/locale/ru-RU.js +1 -1
  56. package/lib/umd/locale/vi-VN.js +1 -1
  57. package/lib/umd/locale/zh-CN.js +1 -1
  58. package/lib/umd/locale/zh-TW.js +1 -1
  59. package/package.json +16 -16
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x337788=_0x1353;function _0x1353(_0x1ee3f4,_0x12b901){const _0x49b257=_0x49b2();return _0x1353=function(_0x135327,_0x5fef09){_0x135327=_0x135327-0x69;let _0x5789f6=_0x49b257[_0x135327];return _0x5789f6;},_0x1353(_0x1ee3f4,_0x12b901);}(function(_0x5d9865,_0x2bc07a){const _0x23907f=_0x1353,_0x347196=_0x5d9865();while(!![]){try{const _0x39090d=parseInt(_0x23907f(0x73))/0x1+-parseInt(_0x23907f(0x89))/0x2+-parseInt(_0x23907f(0x6d))/0x3+-parseInt(_0x23907f(0x7d))/0x4+parseInt(_0x23907f(0x70))/0x5+parseInt(_0x23907f(0x86))/0x6*(-parseInt(_0x23907f(0x75))/0x7)+parseInt(_0x23907f(0x90))/0x8;if(_0x39090d===_0x2bc07a)break;else _0x347196['push'](_0x347196['shift']());}catch(_0x57c3c6){_0x347196['push'](_0x347196['shift']());}}}(_0x49b2,0x20aa7));import{ISheetPrintManagerService as _0x4d1e82,ConfirmSheetPrintOperation as _0x51cf34,SheetPrintOpenOperation as _0x53c0e3,CancelSheetPrintOperation as _0x43bb9c,hasPrintFacadePermission as _0xa400a5,SheetScreenShotOperation as _0x39eb60,SheetPrintClientService as _0x1c1563,PrintArea as _0x25baba,PrintFreeze as _0x210f8d,PrintHeaderFooter as _0x1b2456,PrintHeaderFooterSymbol as _0x133968}from'@univerjs-pro/sheets-print';import{ICommandService as _0x5b2407,PaperType as _0x4c51a5,CanceledError as _0x7d3bc4}from'@univerjs/core';import{FWorkbook as _0x50b579,FRange as _0x36af62}from'@univerjs/sheets/facade';import{FEventName as _0x3f57ab,FEnum as _0x1b427b,FUniver as _0x213885}from'@univerjs/core/facade';import{PrintAlign as _0xabe2c9,PrintPaperMargin as _0x4dd666,PrintScale as _0x2bb6c4,PrintDirection as _0x2882fd}from'@univerjs-pro/print';class A extends _0x50b579{['updatePrintConfig'](_0x113e99){const _0x3de865=_0x1353;return this[_0x3de865(0x77)][_0x3de865(0x6e)](_0x4d1e82)[_0x3de865(0x8d)](_0x113e99),this;}[_0x337788(0x93)](_0x414cb6){const _0x4cb2f3=_0x337788;return this[_0x4cb2f3(0x77)]['get'](_0x4d1e82)[_0x4cb2f3(0x78)](_0x414cb6),this;}[_0x337788(0x6c)](){const _0xb96c8a=_0x337788;return this[_0xb96c8a(0x77)][_0xb96c8a(0x6e)](_0x5b2407)[_0xb96c8a(0x8e)](_0x51cf34['id']);}[_0x337788(0x85)](){const _0x2bbc97=_0x337788;return this[_0x2bbc97(0x77)]['get'](_0x5b2407)[_0x2bbc97(0x8e)](_0x53c0e3['id']);}[_0x337788(0x79)](){const _0x34b8d5=_0x337788;return this['_injector'][_0x34b8d5(0x6e)](_0x5b2407)['syncExecuteCommand'](_0x43bb9c['id']);}async[_0x337788(0x8c)](){const _0x1f2a0a=_0x337788;return _0xa400a5(this[_0x1f2a0a(0x77)])?this[_0x1f2a0a(0x77)][_0x1f2a0a(0x6e)](_0x5b2407)['executeCommand'](_0x39eb60['id']):!0x1;}}_0x50b579['extend'](A);class B extends _0x36af62{['getScreenshot'](){const _0x37e540=_0x337788;return _0xa400a5(this[_0x37e540(0x77)])?this[_0x37e540(0x77)][_0x37e540(0x6e)](_0x1c1563)['getRangeImage'](this[_0x37e540(0x91)]['getUnitId'](),this[_0x37e540(0x81)][_0x37e540(0x74)](),this[_0x37e540(0x7f)]):!0x1;}}_0x36af62[_0x337788(0x7b)](B);class H{get['BeforeSheetPrintOpen'](){const _0x22e00c=_0x337788;return _0x22e00c(0x71);}get[_0x337788(0x92)](){const _0x2c3e90=_0x337788;return _0x2c3e90(0x92);}get[_0x337788(0x83)](){const _0x760a2d=_0x337788;return _0x760a2d(0x83);}get[_0x337788(0x72)](){const _0x5426b8=_0x337788;return _0x5426b8(0x72);}get[_0x337788(0x6a)](){return'SheetPrintConfirmed';}get[_0x337788(0x87)](){return'SheetPrintCanceled';}}_0x3f57ab[_0x337788(0x7b)](H);class U{get['PrintArea'](){return _0x25baba;}get[_0x337788(0x7a)](){return _0xabe2c9;}get[_0x337788(0x8f)](){return _0x4c51a5;}get[_0x337788(0x94)](){return _0x4dd666;}get['PrintScale'](){return _0x2bb6c4;}get['PrintDirection'](){return _0x2882fd;}get[_0x337788(0x76)](){return _0x210f8d;}get[_0x337788(0x95)](){return _0x1b2456;}get[_0x337788(0x88)](){return _0x133968;}}function _0x49b2(){const _0x58e5e7=['updateLayoutConfig','syncExecuteCommand','PrintPaperSize','1480944WsqvYS','_workbook','BeforeSheetPrintConfirm','updatePrintRenderConfig','PrintPaperMargin','PrintHeaderFooter','registerEventHandler','SheetPrintConfirmed','cancel','print','398415rvYGun','get','renderConfig','329230InulnC','BeforeSheetPrintOpen','SheetPrintOpen','253655wZNWvj','getSheetId','63IwDLDe','PrintFreeze','_injector','updateRenderConfig','closePrintDialog','PrintAlign','extend','getActiveSheet','188840DohFWf','getActiveUniverSheet','_range','fireEvent','_worksheet','layoutConfig','BeforeSheetPrintCanceled','onCommandExecuted','openPrintDialog','95358pGyLGm','SheetPrintCanceled','PrintHeaderFooterSymbol','95536AXUwoM','Event','beforeCommandExecuted','saveScreenshotToClipboard'];_0x49b2=function(){return _0x58e5e7;};return _0x49b2();}_0x1b427b['extend'](U);class M extends _0x213885{['_initialize'](_0x4a24bf){const _0x1afea8=_0x337788,_0x55212e=_0x4a24bf[_0x1afea8(0x6e)](_0x5b2407);this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)]['BeforeSheetPrintOpen'],()=>_0x55212e[_0x1afea8(0x8b)](_0x19d9de=>{const _0x3d5cb6=_0x1afea8;if(_0x19d9de['id']===_0x53c0e3['id']){const _0x2996fd=this[_0x3d5cb6(0x7e)]();if(!_0x2996fd)return;const _0x3bfd24={'workbook':_0x2996fd,'worksheet':_0x2996fd['getActiveSheet']()};if(_0x3bfd24==null)return;if(this['fireEvent'](this['Event'][_0x3d5cb6(0x71)],_0x3bfd24),_0x3bfd24[_0x3d5cb6(0x6b)])throw new _0x7d3bc4();}})),this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)][_0x1afea8(0x92)],()=>_0x55212e[_0x1afea8(0x8b)](_0x246e91=>{const _0x180e95=_0x1afea8;if(_0x246e91['id']===_0x51cf34['id']){const _0x152012=_0x4a24bf[_0x180e95(0x6e)](_0x4d1e82);if(!this[_0x180e95(0x7e)]())return;const _0x9b960f={'layoutConfig':_0x152012[_0x180e95(0x82)],'renderConfig':_0x152012[_0x180e95(0x6f)]};if(_0x9b960f==null)return;if(this['fireEvent'](this[_0x180e95(0x8a)][_0x180e95(0x92)],_0x9b960f),_0x9b960f[_0x180e95(0x6b)])throw new _0x7d3bc4();}})),this['registerEventHandler'](this['Event'][_0x1afea8(0x83)],()=>_0x55212e[_0x1afea8(0x8b)](_0x1d6ee1=>{const _0x22eee6=_0x1afea8;if(_0x1d6ee1['id']===_0x43bb9c['id']){const _0x115230=_0x4a24bf['get'](_0x4d1e82);if(!this['getActiveUniverSheet']())return;const _0x413899={'layoutConfig':_0x115230[_0x22eee6(0x82)],'renderConfig':_0x115230['renderConfig']};if(_0x413899==null)return;if(this[_0x22eee6(0x80)](this[_0x22eee6(0x8a)][_0x22eee6(0x83)],_0x413899),_0x413899['cancel'])throw new _0x7d3bc4();}})),this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)][_0x1afea8(0x72)],()=>_0x55212e['onCommandExecuted'](_0x48995f=>{const _0x2ed174=_0x1afea8;if(_0x48995f['id']===_0x53c0e3['id']){const _0x87bb68=this[_0x2ed174(0x7e)]();if(!_0x87bb68)return;const _0x93ae88={'workbook':_0x87bb68,'worksheet':_0x87bb68[_0x2ed174(0x7c)]()};if(_0x93ae88==null)return;this['fireEvent'](this['Event'][_0x2ed174(0x72)],_0x93ae88);}})),this[_0x1afea8(0x69)](this['Event']['SheetPrintConfirmed'],()=>_0x55212e['onCommandExecuted'](_0x2a6b56=>{const _0x3726c3=_0x1afea8;if(_0x2a6b56['id']===_0x51cf34['id']){const _0xf70d0c=_0x4a24bf[_0x3726c3(0x6e)](_0x4d1e82);if(!this[_0x3726c3(0x7e)]())return;const _0x41489b={'layoutConfig':_0xf70d0c[_0x3726c3(0x82)],'renderConfig':_0xf70d0c['renderConfig']};if(_0x41489b==null)return;this[_0x3726c3(0x80)](this[_0x3726c3(0x8a)][_0x3726c3(0x6a)],_0x41489b);}})),this[_0x1afea8(0x69)](this[_0x1afea8(0x8a)][_0x1afea8(0x87)],()=>_0x55212e[_0x1afea8(0x84)](_0x4d5e84=>{const _0x3ccd30=_0x1afea8;if(_0x4d5e84['id']===_0x43bb9c['id']){const _0x2fc30d=_0x4a24bf['get'](_0x4d1e82);if(!this[_0x3ccd30(0x7e)]())return;const _0x28ab40={'layoutConfig':_0x2fc30d[_0x3ccd30(0x82)],'renderConfig':_0x2fc30d['renderConfig']};if(_0x28ab40==null)return;this['fireEvent'](this['Event'][_0x3ccd30(0x87)],_0x28ab40);}}));}}_0x213885[_0x337788(0x7b)](M);
1
+ const _0x6fca78=_0x3389;(function(_0x35aa1d,_0x1d13e2){const _0x54fcdc=_0x3389,_0x1ec034=_0x35aa1d();while(!![]){try{const _0x526bfb=parseInt(_0x54fcdc(0xa5))/0x1+-parseInt(_0x54fcdc(0x88))/0x2*(-parseInt(_0x54fcdc(0x8e))/0x3)+parseInt(_0x54fcdc(0xae))/0x4+parseInt(_0x54fcdc(0x89))/0x5*(-parseInt(_0x54fcdc(0x8f))/0x6)+-parseInt(_0x54fcdc(0x9a))/0x7*(-parseInt(_0x54fcdc(0x96))/0x8)+parseInt(_0x54fcdc(0x85))/0x9*(-parseInt(_0x54fcdc(0x9c))/0xa)+parseInt(_0x54fcdc(0x94))/0xb*(-parseInt(_0x54fcdc(0x92))/0xc);if(_0x526bfb===_0x1d13e2)break;else _0x1ec034['push'](_0x1ec034['shift']());}catch(_0x4b800c){_0x1ec034['push'](_0x1ec034['shift']());}}}(_0x26dc,0x31bf2));import{ISheetPrintManagerService as _0x1c2f75,ConfirmSheetPrintOperation as _0x338ac5,SheetPrintOpenOperation as _0x126a41,CancelSheetPrintOperation as _0x3da07d,hasPrintFacadePermission as _0xc41696,SheetScreenShotOperation as _0x1d912a,SheetPrintClientService as _0x51696c,PrintArea as _0x27dc62,PrintFreeze as _0x5083be,PrintHeaderFooter as _0x5d8613,PrintHeaderFooterSymbol as _0x869fd5}from'@univerjs-pro/sheets-print';function _0x3389(_0x2727c0,_0x526224){const _0x26dcee=_0x26dc();return _0x3389=function(_0x3389ab,_0x578a54){_0x3389ab=_0x3389ab-0x7b;let _0x752f1b=_0x26dcee[_0x3389ab];return _0x752f1b;},_0x3389(_0x2727c0,_0x526224);}import{ICommandService as _0x1c3828,PaperType as _0x5bed19,CanceledError as _0x230793}from'@univerjs/core';import{FWorkbook as _0x1a1ef0,FRange as _0x1526ce}from'@univerjs/sheets/facade';import{FEventName as _0x1950e5,FEnum as _0x18b796,FUniver as _0x1d6192}from'@univerjs/core/facade';import{PrintAlign as _0x3da046,PrintPaperMargin as _0x633cb,PrintScale as _0x5ee70a,PrintDirection as _0x3c9a11}from'@univerjs-pro/print';class A extends _0x1a1ef0{[_0x6fca78(0x8a)](_0x344c87){const _0x149a98=_0x6fca78;return this[_0x149a98(0x91)][_0x149a98(0x7b)](_0x1c2f75)['updateLayoutConfig'](_0x344c87),this;}['updatePrintRenderConfig'](_0x507e60){const _0x4c187e=_0x6fca78;return this[_0x4c187e(0x91)][_0x4c187e(0x7b)](_0x1c2f75)['updateRenderConfig'](_0x507e60),this;}[_0x6fca78(0xab)](){const _0x35ec65=_0x6fca78;return this[_0x35ec65(0x91)][_0x35ec65(0x7b)](_0x1c3828)[_0x35ec65(0x7f)](_0x338ac5['id']);}[_0x6fca78(0xa2)](){const _0x4d2012=_0x6fca78;return this[_0x4d2012(0x91)][_0x4d2012(0x7b)](_0x1c3828)['syncExecuteCommand'](_0x126a41['id']);}[_0x6fca78(0xac)](){const _0x22c199=_0x6fca78;return this[_0x22c199(0x91)]['get'](_0x1c3828)['syncExecuteCommand'](_0x3da07d['id']);}async[_0x6fca78(0x7d)](){const _0x42874c=_0x6fca78;return _0xc41696(this[_0x42874c(0x91)])?this[_0x42874c(0x91)][_0x42874c(0x7b)](_0x1c3828)[_0x42874c(0xad)](_0x1d912a['id']):!0x1;}}_0x1a1ef0[_0x6fca78(0x81)](A);class B extends _0x1526ce{[_0x6fca78(0x97)](){const _0x3b9290=_0x6fca78;return _0xc41696(this['_injector'])?this['_injector'][_0x3b9290(0x7b)](_0x51696c)[_0x3b9290(0x99)](this['_workbook'][_0x3b9290(0x8c)](),this[_0x3b9290(0x9d)][_0x3b9290(0x9e)](),this[_0x3b9290(0x8b)]):!0x1;}}_0x1526ce['extend'](B);class H{get[_0x6fca78(0x7e)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x42afbc=_0x6fca78;return _0x42afbc(0x86);}get[_0x6fca78(0xa3)](){const _0x47f29f=_0x6fca78;return _0x47f29f(0xa3);}get[_0x6fca78(0x95)](){const _0x5d59d5=_0x6fca78;return _0x5d59d5(0x95);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x6fca78(0xaf)](){const _0x4b39c2=_0x6fca78;return _0x4b39c2(0xaf);}}function _0x26dc(){const _0x322328=['11295vWCRuu','BeforeSheetPrintConfirm','PrintHeaderFooterSymbol','170xtKYiN','1990EreJVp','updatePrintConfig','_range','getUnitId','getActiveUniverSheet','6492djuRTT','5442coPSwP','registerEventHandler','_injector','3466956AFcsza','PrintFreeze','22ueqibP','SheetPrintOpen','793384lKeJup','getScreenshot','PrintScale','getRangeImage','21IxelSF','Event','300fTHruw','_worksheet','getSheetId','cancel','PrintPaperSize','_initialize','openPrintDialog','BeforeSheetPrintCanceled','PrintHeaderFooter','327007NMzWpy','getActiveSheet','fireEvent','onCommandExecuted','renderConfig','beforeCommandExecuted','print','closePrintDialog','executeCommand','1487032GaPKdj','SheetPrintCanceled','get','PrintPaperMargin','saveScreenshotToClipboard','BeforeSheetPrintOpen','syncExecuteCommand','layoutConfig','extend','PrintDirection','SheetPrintConfirmed','PrintArea'];_0x26dc=function(){return _0x322328;};return _0x26dc();}_0x1950e5[_0x6fca78(0x81)](H);class U{get[_0x6fca78(0x84)](){return _0x27dc62;}get['PrintAlign'](){return _0x3da046;}get[_0x6fca78(0xa0)](){return _0x5bed19;}get[_0x6fca78(0x7c)](){return _0x633cb;}get[_0x6fca78(0x98)](){return _0x5ee70a;}get[_0x6fca78(0x82)](){return _0x3c9a11;}get[_0x6fca78(0x93)](){return _0x5083be;}get[_0x6fca78(0xa4)](){return _0x5d8613;}get[_0x6fca78(0x87)](){return _0x869fd5;}}_0x18b796[_0x6fca78(0x81)](U);class M extends _0x1d6192{[_0x6fca78(0xa1)](_0x3dc832){const _0x22509a=_0x6fca78,_0x1dbe0b=_0x3dc832[_0x22509a(0x7b)](_0x1c3828);this[_0x22509a(0x90)](this[_0x22509a(0x9b)][_0x22509a(0x7e)],()=>_0x1dbe0b[_0x22509a(0xaa)](_0x2cd78a=>{const _0x293a86=_0x22509a;if(_0x2cd78a['id']===_0x126a41['id']){const _0x1b3a9b=this[_0x293a86(0x8d)]();if(!_0x1b3a9b)return;const _0x599558={'workbook':_0x1b3a9b,'worksheet':_0x1b3a9b[_0x293a86(0xa6)]()};if(_0x599558==null)return;if(this[_0x293a86(0xa7)](this[_0x293a86(0x9b)][_0x293a86(0x7e)],_0x599558),_0x599558[_0x293a86(0x9f)])throw new _0x230793();}})),this[_0x22509a(0x90)](this['Event'][_0x22509a(0x86)],()=>_0x1dbe0b[_0x22509a(0xaa)](_0x4f9f05=>{const _0x2acfd3=_0x22509a;if(_0x4f9f05['id']===_0x338ac5['id']){const _0x7f1fcc=_0x3dc832[_0x2acfd3(0x7b)](_0x1c2f75);if(!this[_0x2acfd3(0x8d)]())return;const _0x988a0={'layoutConfig':_0x7f1fcc['layoutConfig'],'renderConfig':_0x7f1fcc[_0x2acfd3(0xa9)]};if(_0x988a0==null)return;if(this[_0x2acfd3(0xa7)](this[_0x2acfd3(0x9b)]['BeforeSheetPrintConfirm'],_0x988a0),_0x988a0[_0x2acfd3(0x9f)])throw new _0x230793();}})),this['registerEventHandler'](this[_0x22509a(0x9b)]['BeforeSheetPrintCanceled'],()=>_0x1dbe0b[_0x22509a(0xaa)](_0x297b20=>{const _0x319be7=_0x22509a;if(_0x297b20['id']===_0x3da07d['id']){const _0x282ab2=_0x3dc832[_0x319be7(0x7b)](_0x1c2f75);if(!this['getActiveUniverSheet']())return;const _0x566a85={'layoutConfig':_0x282ab2['layoutConfig'],'renderConfig':_0x282ab2['renderConfig']};if(_0x566a85==null)return;if(this[_0x319be7(0xa7)](this[_0x319be7(0x9b)][_0x319be7(0xa3)],_0x566a85),_0x566a85[_0x319be7(0x9f)])throw new _0x230793();}})),this[_0x22509a(0x90)](this[_0x22509a(0x9b)][_0x22509a(0x95)],()=>_0x1dbe0b[_0x22509a(0xa8)](_0x1ccd81=>{const _0x55372c=_0x22509a;if(_0x1ccd81['id']===_0x126a41['id']){const _0x33e15b=this[_0x55372c(0x8d)]();if(!_0x33e15b)return;const _0x7a3b72={'workbook':_0x33e15b,'worksheet':_0x33e15b[_0x55372c(0xa6)]()};if(_0x7a3b72==null)return;this[_0x55372c(0xa7)](this[_0x55372c(0x9b)][_0x55372c(0x95)],_0x7a3b72);}})),this[_0x22509a(0x90)](this[_0x22509a(0x9b)][_0x22509a(0x83)],()=>_0x1dbe0b[_0x22509a(0xa8)](_0x5913e8=>{const _0x561c08=_0x22509a;if(_0x5913e8['id']===_0x338ac5['id']){const _0x40a6cd=_0x3dc832[_0x561c08(0x7b)](_0x1c2f75);if(!this['getActiveUniverSheet']())return;const _0x56cd38={'layoutConfig':_0x40a6cd[_0x561c08(0x80)],'renderConfig':_0x40a6cd[_0x561c08(0xa9)]};if(_0x56cd38==null)return;this[_0x561c08(0xa7)](this[_0x561c08(0x9b)][_0x561c08(0x83)],_0x56cd38);}})),this[_0x22509a(0x90)](this[_0x22509a(0x9b)]['SheetPrintCanceled'],()=>_0x1dbe0b[_0x22509a(0xa8)](_0x49ce93=>{const _0x552711=_0x22509a;if(_0x49ce93['id']===_0x3da07d['id']){const _0x4da6d1=_0x3dc832[_0x552711(0x7b)](_0x1c2f75);if(!this[_0x552711(0x8d)]())return;const _0x2db335={'layoutConfig':_0x4da6d1['layoutConfig'],'renderConfig':_0x4da6d1['renderConfig']};if(_0x2db335==null)return;this[_0x552711(0xa7)](this['Event'][_0x552711(0xaf)],_0x2db335);}}));}}_0x1d6192[_0x6fca78(0x81)](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-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}
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-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0rem;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.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-t{border-top-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-pb-4{padding-bottom:1rem}.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}