@univerjs-pro/sheets-print 0.10.7 → 0.10.8-nightly.202509200616

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 (54) 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 +39 -39
  39. package/lib/types/common/types.d.ts +2 -1
  40. package/lib/types/controllers/const.d.ts +1 -1
  41. package/lib/types/locale/en-US.d.ts +5 -0
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +16 -16
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x2261f8=_0x2e74;(function(_0x56bb2a,_0x3f4629){const _0x113901=_0x2e74,_0x34a412=_0x56bb2a();while(!![]){try{const _0xb812d6=parseInt(_0x113901(0x13f))/0x1+parseInt(_0x113901(0x115))/0x2*(-parseInt(_0x113901(0x133))/0x3)+parseInt(_0x113901(0x13b))/0x4*(-parseInt(_0x113901(0x148))/0x5)+-parseInt(_0x113901(0x116))/0x6*(-parseInt(_0x113901(0x12f))/0x7)+-parseInt(_0x113901(0x134))/0x8+-parseInt(_0x113901(0x135))/0x9+-parseInt(_0x113901(0x13d))/0xa*(-parseInt(_0x113901(0x11c))/0xb);if(_0xb812d6===_0x3f4629)break;else _0x34a412['push'](_0x34a412['shift']());}catch(_0x1f94f6){_0x34a412['push'](_0x34a412['shift']());}}}(_0x2190,0x46615));function _0x2190(){const _0x4a2e98=['openPrintDialog','_range','BeforeSheetPrintCanceled','getRangeImage','24zaFvfP','PrintDirection','67190rYizuG','registerEventHandler','369805VzFUeY','renderConfig','getUnitId','PrintPaperMargin','getActiveSheet','SheetPrintConfirmed','getActiveUniverSheet','PrintHeaderFooter','SheetPrintOpen','312365NVMOtS','2ZjtWGB','1728738cgccxA','updatePrintConfig','beforeCommandExecuted','_initialize','syncExecuteCommand','getScreenshot','2475lDgRGN','executeCommand','BeforeSheetPrintOpen','cancel','_injector','PrintFreeze','_worksheet','getSheetId','print','_workbook','SheetPrintCanceled','updateLayoutConfig','layoutConfig','saveScreenshotToClipboard','PrintHeaderFooterSymbol','PrintArea','fireEvent','PrintScale','onCommandExecuted','7mFZoZG','get','BeforeSheetPrintConfirm','Event','1448154kaUKrd','4484504sVjarv','4169763aSPrmp','extend'];_0x2190=function(){return _0x4a2e98;};return _0x2190();}import{ISheetPrintManagerService as _0x35865d,ConfirmSheetPrintOperation as _0x56172e,SheetPrintOpenOperation as _0x44099e,CancelSheetPrintOperation as _0x56fe82,hasPrintFacadePermission as _0x5c32ea,SheetScreenShotOperation as _0x3f4885,SheetPrintClientService as _0x4668c3,PrintArea as _0x49d880,PrintFreeze as _0x3a3a35,PrintHeaderFooter as _0x2240cd,PrintHeaderFooterSymbol as _0x5e198f}from'@univerjs-pro/sheets-print';import{ICommandService as _0xc944ab,PaperType as _0xd8000d,CanceledError as _0x15fb89}from'@univerjs/core';import{FWorkbook as _0x2c1fdc,FRange as _0x2a733b}from'@univerjs/sheets/facade';import{FEventName as _0x49d3cb,FEnum as _0x112664,FUniver as _0x5e77bb}from'@univerjs/core/facade';import{PrintAlign as _0x1b02d9,PrintPaperMargin as _0x6ded01,PrintScale as _0x2dcae5,PrintDirection as _0x2c1121}from'@univerjs-pro/print';class A extends _0x2c1fdc{[_0x2261f8(0x117)](_0x3df527){const _0x499b4d=_0x2261f8;return this[_0x499b4d(0x120)][_0x499b4d(0x130)](_0x35865d)[_0x499b4d(0x127)](_0x3df527),this;}['updatePrintRenderConfig'](_0x2bd439){const _0x560ebe=_0x2261f8;return this[_0x560ebe(0x120)][_0x560ebe(0x130)](_0x35865d)['updateRenderConfig'](_0x2bd439),this;}[_0x2261f8(0x124)](){const _0x191cf9=_0x2261f8;return this[_0x191cf9(0x120)][_0x191cf9(0x130)](_0xc944ab)[_0x191cf9(0x11a)](_0x56172e['id']);}[_0x2261f8(0x137)](){const _0x2b85fd=_0x2261f8;return this[_0x2b85fd(0x120)][_0x2b85fd(0x130)](_0xc944ab)[_0x2b85fd(0x11a)](_0x44099e['id']);}['closePrintDialog'](){const _0x2003cf=_0x2261f8;return this[_0x2003cf(0x120)]['get'](_0xc944ab)['syncExecuteCommand'](_0x56fe82['id']);}async[_0x2261f8(0x129)](){const _0x534605=_0x2261f8;return _0x5c32ea(this['_injector'])?this[_0x534605(0x120)][_0x534605(0x130)](_0xc944ab)[_0x534605(0x11d)](_0x3f4885['id']):!0x1;}}_0x2c1fdc[_0x2261f8(0x136)](A);class B extends _0x2a733b{[_0x2261f8(0x11b)](){const _0x49e14b=_0x2261f8;return _0x5c32ea(this['_injector'])?this[_0x49e14b(0x120)][_0x49e14b(0x130)](_0x4668c3)[_0x49e14b(0x13a)](this[_0x49e14b(0x125)][_0x49e14b(0x141)](),this[_0x49e14b(0x122)][_0x49e14b(0x123)](),this[_0x49e14b(0x138)]):!0x1;}}_0x2a733b['extend'](B);class H{get[_0x2261f8(0x11e)](){const _0x115ab9=_0x2261f8;return _0x115ab9(0x11e);}get[_0x2261f8(0x131)](){const _0x1f8c3d=_0x2261f8;return _0x1f8c3d(0x131);}get[_0x2261f8(0x139)](){return'BeforeSheetPrintCanceled';}get[_0x2261f8(0x147)](){const _0x56ecc1=_0x2261f8;return _0x56ecc1(0x147);}get[_0x2261f8(0x144)](){const _0x2fc0c9=_0x2261f8;return _0x2fc0c9(0x144);}get[_0x2261f8(0x126)](){const _0x5232b2=_0x2261f8;return _0x5232b2(0x126);}}_0x49d3cb['extend'](H);class U{get[_0x2261f8(0x12b)](){return _0x49d880;}get['PrintAlign'](){return _0x1b02d9;}get['PrintPaperSize'](){return _0xd8000d;}get[_0x2261f8(0x142)](){return _0x6ded01;}get[_0x2261f8(0x12d)](){return _0x2dcae5;}get[_0x2261f8(0x13c)](){return _0x2c1121;}get[_0x2261f8(0x121)](){return _0x3a3a35;}get[_0x2261f8(0x146)](){return _0x2240cd;}get[_0x2261f8(0x12a)](){return _0x5e198f;}}function _0x2e74(_0x728b07,_0x561012){const _0x219053=_0x2190();return _0x2e74=function(_0x2e7448,_0x13085d){_0x2e7448=_0x2e7448-0x115;let _0x44c5c0=_0x219053[_0x2e7448];return _0x44c5c0;},_0x2e74(_0x728b07,_0x561012);}_0x112664[_0x2261f8(0x136)](U);class M extends _0x5e77bb{[_0x2261f8(0x119)](_0xdf6c92){const _0x370ef8=_0x2261f8,_0x3fa36d=_0xdf6c92[_0x370ef8(0x130)](_0xc944ab);this[_0x370ef8(0x13e)](this[_0x370ef8(0x132)]['BeforeSheetPrintOpen'],()=>_0x3fa36d['beforeCommandExecuted'](_0x32b2ce=>{const _0x5bdcb8=_0x370ef8;if(_0x32b2ce['id']===_0x44099e['id']){const _0x40b590=this[_0x5bdcb8(0x145)]();if(!_0x40b590)return;const _0x3ce08c={'workbook':_0x40b590,'worksheet':_0x40b590[_0x5bdcb8(0x143)]()};if(_0x3ce08c==null)return;if(this[_0x5bdcb8(0x12c)](this[_0x5bdcb8(0x132)][_0x5bdcb8(0x11e)],_0x3ce08c),_0x3ce08c[_0x5bdcb8(0x11f)])throw new _0x15fb89();}})),this[_0x370ef8(0x13e)](this[_0x370ef8(0x132)][_0x370ef8(0x131)],()=>_0x3fa36d[_0x370ef8(0x118)](_0x1dd1da=>{const _0x552184=_0x370ef8;if(_0x1dd1da['id']===_0x56172e['id']){const _0x4ad4fe=_0xdf6c92[_0x552184(0x130)](_0x35865d);if(!this[_0x552184(0x145)]())return;const _0x44e438={'layoutConfig':_0x4ad4fe['layoutConfig'],'renderConfig':_0x4ad4fe[_0x552184(0x140)]};if(_0x44e438==null)return;if(this[_0x552184(0x12c)](this['Event'][_0x552184(0x131)],_0x44e438),_0x44e438['cancel'])throw new _0x15fb89();}})),this[_0x370ef8(0x13e)](this[_0x370ef8(0x132)][_0x370ef8(0x139)],()=>_0x3fa36d[_0x370ef8(0x118)](_0x27d47d=>{const _0x27c65f=_0x370ef8;if(_0x27d47d['id']===_0x56fe82['id']){const _0x3419df=_0xdf6c92['get'](_0x35865d);if(!this[_0x27c65f(0x145)]())return;const _0x3d1803={'layoutConfig':_0x3419df[_0x27c65f(0x128)],'renderConfig':_0x3419df['renderConfig']};if(_0x3d1803==null)return;if(this[_0x27c65f(0x12c)](this[_0x27c65f(0x132)][_0x27c65f(0x139)],_0x3d1803),_0x3d1803[_0x27c65f(0x11f)])throw new _0x15fb89();}})),this[_0x370ef8(0x13e)](this[_0x370ef8(0x132)]['SheetPrintOpen'],()=>_0x3fa36d[_0x370ef8(0x12e)](_0x2bdd80=>{const _0x42ffb7=_0x370ef8;if(_0x2bdd80['id']===_0x44099e['id']){const _0x144c49=this[_0x42ffb7(0x145)]();if(!_0x144c49)return;const _0x5f30bb={'workbook':_0x144c49,'worksheet':_0x144c49[_0x42ffb7(0x143)]()};if(_0x5f30bb==null)return;this[_0x42ffb7(0x12c)](this[_0x42ffb7(0x132)][_0x42ffb7(0x147)],_0x5f30bb);}})),this[_0x370ef8(0x13e)](this[_0x370ef8(0x132)]['SheetPrintConfirmed'],()=>_0x3fa36d[_0x370ef8(0x12e)](_0x29fd00=>{const _0x3583da=_0x370ef8;if(_0x29fd00['id']===_0x56172e['id']){const _0x4b44f9=_0xdf6c92['get'](_0x35865d);if(!this[_0x3583da(0x145)]())return;const _0x123a17={'layoutConfig':_0x4b44f9[_0x3583da(0x128)],'renderConfig':_0x4b44f9[_0x3583da(0x140)]};if(_0x123a17==null)return;this[_0x3583da(0x12c)](this['Event'][_0x3583da(0x144)],_0x123a17);}})),this[_0x370ef8(0x13e)](this['Event']['SheetPrintCanceled'],()=>_0x3fa36d[_0x370ef8(0x12e)](_0x1c3497=>{const _0x57f294=_0x370ef8;if(_0x1c3497['id']===_0x56fe82['id']){const _0xeac826=_0xdf6c92[_0x57f294(0x130)](_0x35865d);if(!this['getActiveUniverSheet']())return;const _0x2b3a90={'layoutConfig':_0xeac826['layoutConfig'],'renderConfig':_0xeac826[_0x57f294(0x140)]};if(_0x2b3a90==null)return;this[_0x57f294(0x12c)](this['Event'][_0x57f294(0x126)],_0x2b3a90);}}));}}_0x5e77bb[_0x2261f8(0x136)](M);
1
+ function _0x4d90(_0x2b4300,_0x5e5273){const _0x52949b=_0x5294();return _0x4d90=function(_0x4d9017,_0x259a82){_0x4d9017=_0x4d9017-0x194;let _0x12e036=_0x52949b[_0x4d9017];return _0x12e036;},_0x4d90(_0x2b4300,_0x5e5273);}const _0x4d9ed0=_0x4d90;(function(_0x5f19ab,_0x48e256){const _0x423ad8=_0x4d90,_0x218ba4=_0x5f19ab();while(!![]){try{const _0x288cf1=parseInt(_0x423ad8(0x19a))/0x1+parseInt(_0x423ad8(0x1a0))/0x2*(-parseInt(_0x423ad8(0x1c1))/0x3)+-parseInt(_0x423ad8(0x1bc))/0x4+-parseInt(_0x423ad8(0x1c4))/0x5*(parseInt(_0x423ad8(0x1b2))/0x6)+-parseInt(_0x423ad8(0x1b6))/0x7*(-parseInt(_0x423ad8(0x1af))/0x8)+-parseInt(_0x423ad8(0x1b8))/0x9*(parseInt(_0x423ad8(0x1c8))/0xa)+parseInt(_0x423ad8(0x1b7))/0xb;if(_0x288cf1===_0x48e256)break;else _0x218ba4['push'](_0x218ba4['shift']());}catch(_0x5d4283){_0x218ba4['push'](_0x218ba4['shift']());}}}(_0x5294,0x66169));import{ISheetPrintManagerService as _0x3a0718,ConfirmSheetPrintOperation as _0x157224,SheetPrintOpenOperation as _0xa0d507,CancelSheetPrintOperation as _0x26a95d,hasPrintFacadePermission as _0x4790b4,SheetScreenShotOperation as _0x2c4910,SheetPrintClientService as _0x53278f,PrintArea as _0x234240,PrintFreeze as _0x475da6,PrintHeaderFooter as _0x2e00d7,PrintHeaderFooterSymbol as _0x29a7fd}from'@univerjs-pro/sheets-print';import{ICommandService as _0x16f6a3,PaperType as _0x262cf4,CanceledError as _0x4937b4}from'@univerjs/core';import{FWorkbook as _0x2ac3f0,FRange as _0x95ff7e}from'@univerjs/sheets/facade';import{FEventName as _0x110502,FEnum as _0x3505fd,FUniver as _0x2716be}from'@univerjs/core/facade';import{PrintAlign as _0xf96597,PrintPaperMargin as _0x2a6b25,PrintScale as _0x534bcb,PrintDirection as _0x196d28}from'@univerjs-pro/print';class A extends _0x2ac3f0{[_0x4d9ed0(0x1ad)](_0x3d2399){const _0x5b6823=_0x4d9ed0;return this[_0x5b6823(0x1bb)][_0x5b6823(0x1a3)](_0x3a0718)[_0x5b6823(0x1ba)](_0x3d2399),this;}[_0x4d9ed0(0x1bf)](_0x3ed99b){const _0x36166a=_0x4d9ed0;return this[_0x36166a(0x1bb)][_0x36166a(0x1a3)](_0x3a0718)[_0x36166a(0x1c2)](_0x3ed99b),this;}[_0x4d9ed0(0x1a1)](){const _0x376b49=_0x4d9ed0;return this[_0x376b49(0x1bb)][_0x376b49(0x1a3)](_0x16f6a3)[_0x376b49(0x1b1)](_0x157224['id']);}[_0x4d9ed0(0x1aa)](){const _0x26d8a4=_0x4d9ed0;return this[_0x26d8a4(0x1bb)]['get'](_0x16f6a3)[_0x26d8a4(0x1b1)](_0xa0d507['id']);}[_0x4d9ed0(0x1ab)](){const _0x343ece=_0x4d9ed0;return this['_injector'][_0x343ece(0x1a3)](_0x16f6a3)['syncExecuteCommand'](_0x26a95d['id']);}async[_0x4d9ed0(0x1a4)](){const _0x3b23a1=_0x4d9ed0;return _0x4790b4(this['_injector'])?this['_injector']['get'](_0x16f6a3)[_0x3b23a1(0x19d)](_0x2c4910['id']):!0x1;}}_0x2ac3f0[_0x4d9ed0(0x1c6)](A);class B extends _0x95ff7e{['getScreenshot'](){const _0x1d81f2=_0x4d9ed0;return _0x4790b4(this[_0x1d81f2(0x1bb)])?this['_injector'][_0x1d81f2(0x1a3)](_0x53278f)['getRangeImage'](this[_0x1d81f2(0x1bd)][_0x1d81f2(0x195)](),this[_0x1d81f2(0x1ac)][_0x1d81f2(0x19f)](),this[_0x1d81f2(0x1c0)]):!0x1;}}_0x95ff7e[_0x4d9ed0(0x1c6)](B);class H{get[_0x4d9ed0(0x1c9)](){const _0xc6845c=_0x4d9ed0;return _0xc6845c(0x1c9);}get[_0x4d9ed0(0x1a6)](){const _0x53290d=_0x4d9ed0;return _0x53290d(0x1a6);}get['BeforeSheetPrintCanceled'](){const _0x37c516=_0x4d9ed0;return _0x37c516(0x1b0);}get[_0x4d9ed0(0x19b)](){const _0x4f44bb=_0x4d9ed0;return _0x4f44bb(0x19b);}get[_0x4d9ed0(0x19e)](){const _0x3b59d6=_0x4d9ed0;return _0x3b59d6(0x19e);}get[_0x4d9ed0(0x196)](){const _0x15e2e3=_0x4d9ed0;return _0x15e2e3(0x196);}}_0x110502['extend'](H);function _0x5294(){const _0x573b94=['110308RLyIav','print','PrintHeaderFooterSymbol','get','saveScreenshotToClipboard','beforeCommandExecuted','BeforeSheetPrintConfirm','PrintDirection','fireEvent','registerEventHandler','openPrintDialog','closePrintDialog','_worksheet','updatePrintConfig','PrintAlign','120NbOWKz','BeforeSheetPrintCanceled','syncExecuteCommand','234vsvsKq','getActiveSheet','PrintPaperMargin','PrintFreeze','43897tfjcCi','20970565tNwDyW','2151zygxmJ','Event','updateLayoutConfig','_injector','3173516epMpnS','_workbook','getActiveUniverSheet','updatePrintRenderConfig','_range','27abwfqQ','updateRenderConfig','PrintScale','25670KAdBGu','renderConfig','extend','PrintArea','13580LPzbzj','BeforeSheetPrintOpen','onCommandExecuted','getUnitId','SheetPrintCanceled','cancel','PrintPaperSize','_initialize','232226UosCnp','SheetPrintOpen','PrintHeaderFooter','executeCommand','SheetPrintConfirmed','getSheetId'];_0x5294=function(){return _0x573b94;};return _0x5294();}class U{get[_0x4d9ed0(0x1c7)](){return _0x234240;}get[_0x4d9ed0(0x1ae)](){return _0xf96597;}get[_0x4d9ed0(0x198)](){return _0x262cf4;}get[_0x4d9ed0(0x1b4)](){return _0x2a6b25;}get[_0x4d9ed0(0x1c3)](){return _0x534bcb;}get[_0x4d9ed0(0x1a7)](){return _0x196d28;}get[_0x4d9ed0(0x1b5)](){return _0x475da6;}get[_0x4d9ed0(0x19c)](){return _0x2e00d7;}get[_0x4d9ed0(0x1a2)](){return _0x29a7fd;}}_0x3505fd[_0x4d9ed0(0x1c6)](U);class M extends _0x2716be{[_0x4d9ed0(0x199)](_0x1f53ca){const _0x3410fd=_0x4d9ed0,_0x4c6e3e=_0x1f53ca['get'](_0x16f6a3);this[_0x3410fd(0x1a9)](this['Event'][_0x3410fd(0x1c9)],()=>_0x4c6e3e[_0x3410fd(0x1a5)](_0x4144a9=>{const _0x4e617c=_0x3410fd;if(_0x4144a9['id']===_0xa0d507['id']){const _0xd8ef2e=this[_0x4e617c(0x1be)]();if(!_0xd8ef2e)return;const _0x10ebbd={'workbook':_0xd8ef2e,'worksheet':_0xd8ef2e[_0x4e617c(0x1b3)]()};if(_0x10ebbd==null)return;if(this[_0x4e617c(0x1a8)](this['Event'][_0x4e617c(0x1c9)],_0x10ebbd),_0x10ebbd[_0x4e617c(0x197)])throw new _0x4937b4();}})),this[_0x3410fd(0x1a9)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x4c6e3e[_0x3410fd(0x1a5)](_0x5c05a5=>{const _0x1e1cc9=_0x3410fd;if(_0x5c05a5['id']===_0x157224['id']){const _0x108dfc=_0x1f53ca[_0x1e1cc9(0x1a3)](_0x3a0718);if(!this[_0x1e1cc9(0x1be)]())return;const _0x2a1855={'layoutConfig':_0x108dfc['layoutConfig'],'renderConfig':_0x108dfc[_0x1e1cc9(0x1c5)]};if(_0x2a1855==null)return;if(this[_0x1e1cc9(0x1a8)](this['Event'][_0x1e1cc9(0x1a6)],_0x2a1855),_0x2a1855['cancel'])throw new _0x4937b4();}})),this[_0x3410fd(0x1a9)](this[_0x3410fd(0x1b9)][_0x3410fd(0x1b0)],()=>_0x4c6e3e['beforeCommandExecuted'](_0x484e26=>{const _0x492841=_0x3410fd;if(_0x484e26['id']===_0x26a95d['id']){const _0x3df8d5=_0x1f53ca[_0x492841(0x1a3)](_0x3a0718);if(!this[_0x492841(0x1be)]())return;const _0x2e4817={'layoutConfig':_0x3df8d5['layoutConfig'],'renderConfig':_0x3df8d5[_0x492841(0x1c5)]};if(_0x2e4817==null)return;if(this['fireEvent'](this[_0x492841(0x1b9)][_0x492841(0x1b0)],_0x2e4817),_0x2e4817[_0x492841(0x197)])throw new _0x4937b4();}})),this[_0x3410fd(0x1a9)](this[_0x3410fd(0x1b9)][_0x3410fd(0x19b)],()=>_0x4c6e3e[_0x3410fd(0x194)](_0x36a49a=>{const _0x4cfc97=_0x3410fd;if(_0x36a49a['id']===_0xa0d507['id']){const _0x2b1a3c=this[_0x4cfc97(0x1be)]();if(!_0x2b1a3c)return;const _0x354b1c={'workbook':_0x2b1a3c,'worksheet':_0x2b1a3c[_0x4cfc97(0x1b3)]()};if(_0x354b1c==null)return;this[_0x4cfc97(0x1a8)](this[_0x4cfc97(0x1b9)][_0x4cfc97(0x19b)],_0x354b1c);}})),this[_0x3410fd(0x1a9)](this[_0x3410fd(0x1b9)][_0x3410fd(0x19e)],()=>_0x4c6e3e[_0x3410fd(0x194)](_0x95fcb4=>{const _0x3824b4=_0x3410fd;if(_0x95fcb4['id']===_0x157224['id']){const _0x512930=_0x1f53ca[_0x3824b4(0x1a3)](_0x3a0718);if(!this[_0x3824b4(0x1be)]())return;const _0x10bc7f={'layoutConfig':_0x512930['layoutConfig'],'renderConfig':_0x512930['renderConfig']};if(_0x10bc7f==null)return;this[_0x3824b4(0x1a8)](this[_0x3824b4(0x1b9)][_0x3824b4(0x19e)],_0x10bc7f);}})),this['registerEventHandler'](this[_0x3410fd(0x1b9)][_0x3410fd(0x196)],()=>_0x4c6e3e[_0x3410fd(0x194)](_0x2fd127=>{const _0x4b6fc2=_0x3410fd;if(_0x2fd127['id']===_0x26a95d['id']){const _0x1c4263=_0x1f53ca[_0x4b6fc2(0x1a3)](_0x3a0718);if(!this[_0x4b6fc2(0x1be)]())return;const _0x353a34={'layoutConfig':_0x1c4263['layoutConfig'],'renderConfig':_0x1c4263[_0x4b6fc2(0x1c5)]};if(_0x353a34==null)return;this[_0x4b6fc2(0x1a8)](this[_0x4b6fc2(0x1b9)][_0x4b6fc2(0x196)],_0x353a34);}}));}}_0x2716be['extend'](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}