@univer-cli/headless-univer 1.6.1 → 1.6.2

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 (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +63 -63
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0x2c83a7,_0x51a19d){const _0x30eee4=_0x56de,_0x4236b6=_0x2c83a7();while(!![]){try{const _0x4e6a55=-parseInt(_0x30eee4(0x1b2))/0x1+-parseInt(_0x30eee4(0x1cc))/0x2+-parseInt(_0x30eee4(0x1af))/0x3*(parseInt(_0x30eee4(0x1bb))/0x4)+-parseInt(_0x30eee4(0x1c0))/0x5*(-parseInt(_0x30eee4(0x1cb))/0x6)+-parseInt(_0x30eee4(0x1bd))/0x7+parseInt(_0x30eee4(0x1b0))/0x8+-parseInt(_0x30eee4(0x1c5))/0x9*(-parseInt(_0x30eee4(0x1ae))/0xa);if(_0x4e6a55===_0x51a19d)break;else _0x4236b6['push'](_0x4236b6['shift']());}catch(_0x16dc19){_0x4236b6['push'](_0x4236b6['shift']());}}}(_0x39ee,0xc9d54));import{UniverBasesPlugin as _0x714690}from'@univerjs-pro/bases';import{UniverBasesThreadCommentPlugin as _0x9a446e}from'@univerjs-pro/bases-thread-comment';import _0x32bade from'@univerjs-pro/bases/locale/en-US';import{UniverBoardsPlugin as _0xaf1f9c}from'@univerjs-pro/boards';import{UniverBoardsChartPlugin as _0x57d274}from'@univerjs-pro/boards-chart';import{UniverBoardsMindPlugin as _0x36e66c}from'@univerjs-pro/boards-mind';import{UniverBoardsTablePlugin as _0x446064}from'@univerjs-pro/boards-table';import{UniverBoardsThreadCommentPlugin as _0x4a929c}from'@univerjs-pro/boards-thread-comment';import{UniverChartEmbedPlugin as _0x5f9eb}from'@univerjs-pro/chart-embed';import{UniverDocsCalloutPlugin as _0x3e327c}from'@univerjs-pro/docs-callout';import{UniverDocsChartPlugin as _0x14be37}from'@univerjs-pro/docs-chart';import{UniverDocsCodePlugin as _0x5e6799}from'@univerjs-pro/docs-code';import{UniverDocsColumnPlugin as _0x446e8b}from'@univerjs-pro/docs-column';import{UniverDocsLatexPlugin as _0x42f017}from'@univerjs-pro/docs-latex';import{UniverDocsListPlugin as _0x9cd480}from'@univerjs-pro/docs-list';import{UniverDocsQuotePlugin as _0x4a3e6c}from'@univerjs-pro/docs-quote';import{UniverDocsShapePlugin as _0x54d248}from'@univerjs-pro/docs-shape';import{UniverDocsTablePlugin as _0x3e51b3}from'@univerjs-pro/docs-table';import{EMBED_CHILD_CREATE_OPTIONS as _0x4b9974,UniverEmbedPlugin as _0x2655e2}from'@univerjs-pro/embed';import{UniverRustFormulaEnginePlugin as _0x5df897}from'@univerjs-pro/engine-formula-rust';import{UniverInkPlugin as _0x52f5cf}from'@univerjs-pro/ink';import{UniverLicensePlugin as _0x413f78}from'@univerjs-pro/license';import{UniverPdfsPlugin as _0x4f7234}from'@univerjs-pro/pdfs';import{UniverRangePreprocessPlugin as _0x5a5fd0}from'@univerjs-pro/range-preprocess';import{UniverShapeEditorPlugin as _0x3b108f}from'@univerjs-pro/shape-editor';import{UniverSheetsChartPlugin as _0x1822f5}from'@univerjs-pro/sheets-chart';import _0x3e08b0 from'@univerjs-pro/sheets-chart/locale/en-US';import{UniverSheetsOutlinePlugin as _0x106176}from'@univerjs-pro/sheets-outline';import{UniverSheetsPivotTablePlugin as _0x183fb4}from'@univerjs-pro/sheets-pivot';import _0x43846e from'@univerjs-pro/sheets-pivot/locale/en-US';import{UniverSheetsShapePlugin as _0x1679d6}from'@univerjs-pro/sheets-shape';import{UniverSheetsSlicerPlugin as _0x326292}from'@univerjs-pro/sheets-slicer';import{UniverSheetSparklinePlugin as _0x1ab910}from'@univerjs-pro/sheets-sparkline';import{UniverSlidesPlugin as _0x1577a4}from'@univerjs-pro/slides';import{UniverSlidesChartPlugin as _0x5e4f67}from'@univerjs-pro/slides-chart';import{UniverSlidesTablePlugin as _0x249a41}from'@univerjs-pro/slides-table';import{UniverSlidesThreadCommentPlugin as _0x45e362}from'@univerjs-pro/slides-thread-comment';import{IUniverInstanceService as _0x1a4fb,LocaleType as _0x4465e1,Univer as _0x4c4413,UniverInstanceType as _0x59c510,mergeLocales as _0x47c40f}from'@univerjs/core';import{FUniver as _0x276f60}from'@univerjs/core/facade';import{UniverDataValidationPlugin as _0x31df7f}from'@univerjs/data-validation';import _0x27805c from'@univerjs/data-validation/locale/en-US';import{UniverDocsPlugin as _0x22c327}from'@univerjs/docs';import{UniverDocsDrawingPlugin as _0x564022}from'@univerjs/docs-drawing';import{UniverDocsHyperLinkPlugin as _0x23ac85}from'@univerjs/docs-hyper-link';import{UniverDocsThreadCommentPlugin as _0x81c781}from'@univerjs/docs-thread-comment';import{UniverDrawingPlugin as _0x29e978}from'@univerjs/drawing';import{UniverRenderEnginePlugin as _0xa42bdd}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x35d865}from'@univerjs/network';import{UniverSheetsPlugin as _0x42842c}from'@univerjs/sheets';import _0x831216 from'@univerjs/sheets/locale/en-US';import{UniverSheetsConditionalFormattingPlugin as _0x237288}from'@univerjs/sheets-conditional-formatting';import _0x2ae043 from'@univerjs/sheets-conditional-formatting/locale/en-US';import{UniverSheetsDataValidationPlugin as _0x1af7d5}from'@univerjs/sheets-data-validation';import _0x3fb70f from'@univerjs/sheets-data-validation/locale/en-US';import{UniverSheetsDrawingPlugin as _0x25e638}from'@univerjs/sheets-drawing';import{UniverSheetsFilterPlugin as _0xc1a3b8}from'@univerjs/sheets-filter';import _0x3941e6 from'@univerjs/sheets-filter/locale/en-US';import{CalculationMode as _0x156f31,UniverSheetsFormulaPlugin as _0x5f1438}from'@univerjs/sheets-formula';import _0x68fcad from'@univerjs/sheets-formula/locale/en-US';import{UniverSheetsHyperLinkPlugin as _0x2a0533}from'@univerjs/sheets-hyper-link';import _0x1ca4d5 from'@univerjs/sheets-hyper-link/locale/en-US';import{UniverSheetsNotePlugin as _0x15de1e}from'@univerjs/sheets-note';import{UniverSheetsNumfmtPlugin as _0x1a375e}from'@univerjs/sheets-numfmt';import{UniverSheetsSortPlugin as _0x2b3d3e}from'@univerjs/sheets-sort';import{UniverSheetsTablePlugin as _0x55e983}from'@univerjs/sheets-table';import _0x477e6c from'@univerjs/sheets-table/locale/en-US';import{UniverSheetsThreadCommentPlugin as _0x150636}from'@univerjs/sheets-thread-comment';import{UniverThreadCommentPlugin as _0x116d99}from'@univerjs/thread-comment';import'@univerjs/docs/facade';import'@univerjs/docs-drawing/facade';import'@univerjs-pro/boards/facade';import'@univerjs-pro/boards-chart/facade';import'@univerjs-pro/boards-mind/facade';import'@univerjs-pro/boards-table/facade';import'@univerjs-pro/docs-latex/facade';import'@univerjs-pro/docs-callout/facade';import'@univerjs-pro/docs-chart/facade';import'@univerjs-pro/docs-code/facade';import'@univerjs-pro/docs-column/facade';import'@univerjs-pro/docs-list/facade';import'@univerjs-pro/docs-quote/facade';import'@univerjs-pro/docs-shape/facade';import'@univerjs-pro/docs-table/facade';import'@univerjs-pro/embed/facade';import'@univerjs-pro/engine-chart/facade';import'@univerjs-pro/engine-formula/facade';import'@univerjs-pro/engine-shape/facade';import'@univerjs/engine-formula/facade';import'@univerjs/network/facade';import'@univerjs/sheets/facade';import'@univerjs/sheets-conditional-formatting/facade';import'@univerjs/sheets-data-validation/facade';import'@univerjs/sheets-drawing/facade';import'@univerjs/sheets-filter/facade';import'@univerjs/sheets-formula/facade';function _0x56de(_0x305d70,_0x5278d0){_0x305d70=_0x305d70-0x1ad;const _0x39ee01=_0x39ee();let _0x56de34=_0x39ee01[_0x305d70];return _0x56de34;}import'@univerjs/sheets-hyper-link/facade';import'@univerjs/sheets-note/facade';import'@univerjs/sheets-numfmt/facade';import'@univerjs/sheets-sort/facade';import'@univerjs/sheets-table/facade';import'@univerjs/sheets-thread-comment/facade';import'@univerjs-pro/bases/facade';import'@univerjs-pro/pdfs/facade';function _0x39ee(){const _0x3e5a2a=['createUniver','53706qLAcdm','3143938alsDmD','NO_CALCULATION','UNIVER_SHEET','unitType','82270abcFxv','38436WsSIBE','13152568vNsuIz','license','710658RCjYAh','UNIVER_DOC','Board\x20model\x20layout\x20analysis\x20is\x20unavailable','formulaReferenceUnits','Board\x20page\x20not\x20found:\x20','UNIVER_SLIDE','UNIVER_BOARD','throwIfAborted','embeddedUnits','12DSXfZT','get','11142768VWKaZC','unitData','embedPluginConfig','15QdlbNL','focusPadding','registerPlugin','UNIVER_BASE','pages','3357iRpDlH','signal','dispose','has','add'];_0x39ee=function(){return _0x3e5a2a;};return _0x39ee();}import'@univerjs-pro/range-preprocess/facade';import'@univerjs-pro/shape-editor/facade';import'@univerjs-pro/slides/facade';import'@univerjs-pro/sheets-chart/facade';import'@univerjs-pro/sheets-outline/facade';import'@univerjs-pro/sheets-pivot/facade';import'@univerjs-pro/sheets-shape/facade';import'@univerjs-pro/sheets-slicer/facade';import'@univerjs-pro/sheets-sparkline/facade';import'@univerjs-pro/slides-chart/facade';import'@univerjs-pro/slides-table/facade';function xe(_0x23315d){return{async 'captureBoardModelLayout'(_0x1c6b38){const _0x5c3d79=_0x56de;let _0x5e023e=[];for(let _0x3ccd0a of _0x1c6b38[_0x5c3d79(0x1c4)]){_0x1c6b38['signal']?.['throwIfAborted']();let _0xa3fdb6=_0x1c6b38[_0x5c3d79(0x1be)][_0x5c3d79(0x1c4)][_0x3ccd0a];if(_0xa3fdb6===void 0x0)throw Error(_0x5c3d79(0x1b6)+_0x3ccd0a);let _0x516be4=await _0x23315d[_0x5c3d79(0x1ca)]({'unitId':_0x1c6b38[_0x5c3d79(0x1be)]['id'],'unitType':_0x59c510['UNIVER_BOARD']});try{let _0x579685={'sheet':_0x59c510[_0x5c3d79(0x1ce)],'doc':_0x59c510[_0x5c3d79(0x1b3)],'slide':_0x59c510[_0x5c3d79(0x1b7)],'base':_0x59c510[_0x5c3d79(0x1c3)],'board':_0x59c510[_0x5c3d79(0x1b8)]},_0x27b2ef=new Set([_0x1c6b38['unitData']['id']]);for(let _0x3adf08 of[..._0x1c6b38[_0x5c3d79(0x1b5)]??[],..._0x1c6b38[_0x5c3d79(0x1ba)]??[]])_0x27b2ef[_0x5c3d79(0x1c8)](_0x3adf08[_0x5c3d79(0x1be)]['id'])||(_0x516be4['__getInjector']()[_0x5c3d79(0x1bc)](_0x1a4fb)['createUnit'](_0x579685[_0x3adf08[_0x5c3d79(0x1ad)]],structuredClone(_0x3adf08[_0x5c3d79(0x1be)]),_0x4b9974),_0x27b2ef[_0x5c3d79(0x1c9)](_0x3adf08['unitData']['id']));_0x516be4['createUnit'](_0x59c510[_0x5c3d79(0x1b8)],structuredClone({..._0x1c6b38[_0x5c3d79(0x1be)],'pageOrder':[_0x3ccd0a],'pages':{[_0x3ccd0a]:_0xa3fdb6},'activePageId':_0x3ccd0a,'slideOrder':[_0x3ccd0a],'slides':{[_0x3ccd0a]:_0xa3fdb6},'activeSlideId':_0x3ccd0a}));let _0x3202e4=$(_0x516be4)['getBoard'](_0x1c6b38['unitData']['id']);if(_0x3202e4===null)throw Error('Board\x20not\x20found:\x20'+_0x1c6b38[_0x5c3d79(0x1be)]['id']);let _0x51be56=_0x3202e4['analyzeModelLayout'](_0x1c6b38[_0x5c3d79(0x1c1)]??0x30);if(_0x51be56===!0x1)throw Error(_0x5c3d79(0x1b4));_0x5e023e['push']({'pageId':_0x3ccd0a,'analysis':_0x51be56}),_0x1c6b38[_0x5c3d79(0x1c6)]?.[_0x5c3d79(0x1b9)]();}finally{_0x516be4[_0x5c3d79(0x1c7)]();}}return{'pages':_0x5e023e};}};}function $(_0x47b4e5){return _0x276f60['newAPI'](_0x47b4e5);}function Se(_0xedc3fc){return async()=>{const _0x73876f=_0x56de;let _0x39d830=new _0x4c4413({'locale':_0x4465e1['EN_US'],'locales':Ce()});try{return _0x39d830['registerPlugin'](_0x413f78,{'license':_0xedc3fc[_0x73876f(0x1b1)]}),we(_0x39d830,_0xedc3fc),_0x39d830;}catch(_0x14ca2f){throw _0x39d830[_0x73876f(0x1c7)](),_0x14ca2f;}};}function Ce(){let _0x53476f=_0x47c40f(_0x831216,_0x32bade,_0x68fcad,_0x27805c,_0x2ae043,_0x3fb70f,_0x3941e6,_0x1ca4d5,_0x477e6c,_0x3e08b0,_0x43846e);return{[_0x4465e1['EN_US']]:_0x53476f};}function we(_0x70eedf,_0x2bb936){const _0x4064cc=_0x56de;_0x70eedf[_0x4064cc(0x1c2)](_0xa42bdd),_0x70eedf['registerPlugin'](_0x29e978),_0x70eedf[_0x4064cc(0x1c2)](_0x22c327),_0x70eedf[_0x4064cc(0x1c2)](_0x42f017),_0x70eedf[_0x4064cc(0x1c2)](_0xaf1f9c),_0x70eedf[_0x4064cc(0x1c2)](_0x57d274),_0x70eedf[_0x4064cc(0x1c2)](_0x52f5cf),_0x70eedf[_0x4064cc(0x1c2)](_0x36e66c),_0x70eedf[_0x4064cc(0x1c2)](_0x446064),_0x70eedf[_0x4064cc(0x1c2)](_0x564022),_0x70eedf[_0x4064cc(0x1c2)](_0x23ac85),_0x70eedf['registerPlugin'](_0x3e327c),_0x70eedf[_0x4064cc(0x1c2)](_0x14be37),_0x70eedf['registerPlugin'](_0x5e6799),_0x70eedf['registerPlugin'](_0x446e8b),_0x70eedf['registerPlugin'](_0x9cd480),_0x70eedf[_0x4064cc(0x1c2)](_0x4a3e6c),_0x70eedf[_0x4064cc(0x1c2)](_0x54d248),_0x70eedf[_0x4064cc(0x1c2)](_0x3e51b3),_0x70eedf[_0x4064cc(0x1c2)](_0x2655e2,_0x2bb936[_0x4064cc(0x1bf)]),_0x70eedf[_0x4064cc(0x1c2)](_0x5f9eb),_0x70eedf['registerPlugin'](_0x42842c),_0x70eedf[_0x4064cc(0x1c2)](_0x5df897),_0x70eedf[_0x4064cc(0x1c2)](_0x3b108f),_0x70eedf[_0x4064cc(0x1c2)](_0x5f1438,{'initialFormulaComputing':_0x156f31[_0x4064cc(0x1cd)]}),_0x70eedf[_0x4064cc(0x1c2)](_0x35d865),_0x70eedf[_0x4064cc(0x1c2)](_0x714690),_0x70eedf[_0x4064cc(0x1c2)](_0x4f7234),_0x70eedf[_0x4064cc(0x1c2)](_0x1577a4),_0x70eedf[_0x4064cc(0x1c2)](_0x5e4f67),_0x70eedf[_0x4064cc(0x1c2)](_0x249a41),_0x70eedf[_0x4064cc(0x1c2)](_0x1a375e),_0x70eedf[_0x4064cc(0x1c2)](_0x237288),_0x70eedf[_0x4064cc(0x1c2)](_0xc1a3b8),_0x70eedf[_0x4064cc(0x1c2)](_0x2b3d3e),_0x70eedf['registerPlugin'](_0x55e983),_0x70eedf['registerPlugin'](_0x326292),_0x70eedf['registerPlugin'](_0x25e638),_0x70eedf[_0x4064cc(0x1c2)](_0x1822f5),_0x70eedf[_0x4064cc(0x1c2)](_0x106176),_0x70eedf[_0x4064cc(0x1c2)](_0x183fb4),_0x70eedf['registerPlugin'](_0x1679d6),_0x70eedf['registerPlugin'](_0x1ab910),_0x70eedf[_0x4064cc(0x1c2)](_0x31df7f),_0x70eedf['registerPlugin'](_0x1af7d5),_0x70eedf[_0x4064cc(0x1c2)](_0x2a0533),_0x70eedf['registerPlugin'](_0x15de1e),_0x70eedf[_0x4064cc(0x1c2)](_0x116d99),_0x70eedf[_0x4064cc(0x1c2)](_0x150636),_0x70eedf[_0x4064cc(0x1c2)](_0x81c781),_0x70eedf[_0x4064cc(0x1c2)](_0x45e362),_0x70eedf[_0x4064cc(0x1c2)](_0x9a446e),_0x70eedf['registerPlugin'](_0x4a929c),_0x70eedf['registerPlugin'](_0x5a5fd0);}export{xe as createHeadlessBoardLayoutRuntime,$ as createStandardHeadlessUniverFacade,Se as createStandardHeadlessUniverFactory};
1
+ (function(_0x4166c1,_0x17d2c6){const _0x24f14a=_0x56ee,_0x25e4fe=_0x4166c1();while(!![]){try{const _0x3b1448=-parseInt(_0x24f14a(0xd7))/0x1*(parseInt(_0x24f14a(0xcc))/0x2)+parseInt(_0x24f14a(0xd1))/0x3+-parseInt(_0x24f14a(0xdb))/0x4+-parseInt(_0x24f14a(0xe5))/0x5*(parseInt(_0x24f14a(0xda))/0x6)+-parseInt(_0x24f14a(0xd8))/0x7*(-parseInt(_0x24f14a(0xe0))/0x8)+-parseInt(_0x24f14a(0xde))/0x9+parseInt(_0x24f14a(0xcf))/0xa*(parseInt(_0x24f14a(0xe6))/0xb);if(_0x3b1448===_0x17d2c6)break;else _0x25e4fe['push'](_0x25e4fe['shift']());}catch(_0x1f3168){_0x25e4fe['push'](_0x25e4fe['shift']());}}}(_0x3779,0x738eb));import{UniverBasesPlugin as _0x5eab3f}from'@univerjs-pro/bases';import{UniverBasesThreadCommentPlugin as _0x158fe0}from'@univerjs-pro/bases-thread-comment';import _0x309ffa from'@univerjs-pro/bases/locale/en-US';import{UniverBoardsPlugin as _0x435878}from'@univerjs-pro/boards';import{UniverBoardsChartPlugin as _0x1e65cf}from'@univerjs-pro/boards-chart';import{UniverBoardsMindPlugin as _0x2d5e88}from'@univerjs-pro/boards-mind';import{UniverBoardsTablePlugin as _0x4ba328}from'@univerjs-pro/boards-table';import{UniverBoardsThreadCommentPlugin as _0x1cbd89}from'@univerjs-pro/boards-thread-comment';import{UniverChartEmbedPlugin as _0x5ec68a}from'@univerjs-pro/chart-embed';import{UniverDocsCalloutPlugin as _0x241b79}from'@univerjs-pro/docs-callout';import{UniverDocsChartPlugin as _0x286f6b}from'@univerjs-pro/docs-chart';import{UniverDocsCodePlugin as _0x3ccb0a}from'@univerjs-pro/docs-code';import{UniverDocsColumnPlugin as _0x2cdf89}from'@univerjs-pro/docs-column';import{UniverDocsLatexPlugin as _0x284e53}from'@univerjs-pro/docs-latex';import{UniverDocsListPlugin as _0x4f4b91}from'@univerjs-pro/docs-list';import{UniverDocsQuotePlugin as _0x9062e3}from'@univerjs-pro/docs-quote';import{UniverDocsShapePlugin as _0x2f9860}from'@univerjs-pro/docs-shape';import{UniverDocsTablePlugin as _0x3726c9}from'@univerjs-pro/docs-table';import{EMBED_CHILD_CREATE_OPTIONS as _0xf4124a,UniverEmbedPlugin as _0x58f807}from'@univerjs-pro/embed';import{UniverRustFormulaEnginePlugin as _0x1a0432}from'@univerjs-pro/engine-formula-rust';import{UniverInkPlugin as _0x5bfdb9}from'@univerjs-pro/ink';import{UniverLicensePlugin as _0x4d795d}from'@univerjs-pro/license';import{UniverPdfsPlugin as _0x1658d7}from'@univerjs-pro/pdfs';import{UniverRangePreprocessPlugin as _0x1cf2a9}from'@univerjs-pro/range-preprocess';import{UniverShapeEditorPlugin as _0x205951}from'@univerjs-pro/shape-editor';import{UniverSheetsChartPlugin as _0x531e0b}from'@univerjs-pro/sheets-chart';import _0x43ffac from'@univerjs-pro/sheets-chart/locale/en-US';import{UniverSheetsOutlinePlugin as _0x3349fe}from'@univerjs-pro/sheets-outline';import{UniverSheetsPivotTablePlugin as _0xe25b3c}from'@univerjs-pro/sheets-pivot';import _0x193301 from'@univerjs-pro/sheets-pivot/locale/en-US';import{UniverSheetsShapePlugin as _0x33efa2}from'@univerjs-pro/sheets-shape';import{UniverSheetsSlicerPlugin as _0x1f7151}from'@univerjs-pro/sheets-slicer';import{UniverSheetSparklinePlugin as _0x2a5ea4}from'@univerjs-pro/sheets-sparkline';import{UniverSlidesPlugin as _0x5dc179}from'@univerjs-pro/slides';import{UniverSlidesChartPlugin as _0x5b98f3}from'@univerjs-pro/slides-chart';import{UniverSlidesTablePlugin as _0x16dd7f}from'@univerjs-pro/slides-table';function _0x56ee(_0x5f417a,_0xd57317){_0x5f417a=_0x5f417a-0xc9;const _0x3779d4=_0x3779();let _0x56eebb=_0x3779d4[_0x5f417a];return _0x56eebb;}import{UniverSlidesThreadCommentPlugin as _0x593fcf}from'@univerjs-pro/slides-thread-comment';import{IUniverInstanceService as _0x5adf51,LocaleType as _0x3fd80c,Univer as _0xba43f1,UniverInstanceType as _0x2b8cb1,mergeLocales as _0x955040}from'@univerjs/core';import{FUniver as _0x132e72}from'@univerjs/core/facade';import{UniverDataValidationPlugin as _0x3cd8d2}from'@univerjs/data-validation';import _0x31a88d from'@univerjs/data-validation/locale/en-US';import{UniverDocsPlugin as _0x53190f}from'@univerjs/docs';import{UniverDocsDrawingPlugin as _0x36bbb7}from'@univerjs/docs-drawing';import{UniverDocsHyperLinkPlugin as _0x2259ba}from'@univerjs/docs-hyper-link';import{UniverDocsThreadCommentPlugin as _0x451806}from'@univerjs/docs-thread-comment';import{UniverDrawingPlugin as _0x23c624}from'@univerjs/drawing';import{UniverRenderEnginePlugin as _0x2e8281}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x57c82c}from'@univerjs/network';import{UniverSheetsPlugin as _0x427172}from'@univerjs/sheets';import _0x17da97 from'@univerjs/sheets/locale/en-US';import{UniverSheetsConditionalFormattingPlugin as _0x308716}from'@univerjs/sheets-conditional-formatting';import _0x1fd811 from'@univerjs/sheets-conditional-formatting/locale/en-US';import{UniverSheetsDataValidationPlugin as _0x2c8218}from'@univerjs/sheets-data-validation';import _0x5da1be from'@univerjs/sheets-data-validation/locale/en-US';import{UniverSheetsDrawingPlugin as _0x3bcade}from'@univerjs/sheets-drawing';import{UniverSheetsFilterPlugin as _0x931f3e}from'@univerjs/sheets-filter';import _0x1ca8e2 from'@univerjs/sheets-filter/locale/en-US';import{CalculationMode as _0x10f161,UniverSheetsFormulaPlugin as _0x5d81ea}from'@univerjs/sheets-formula';import _0x21892b from'@univerjs/sheets-formula/locale/en-US';import{UniverSheetsHyperLinkPlugin as _0xb043c3}from'@univerjs/sheets-hyper-link';import _0x357227 from'@univerjs/sheets-hyper-link/locale/en-US';import{UniverSheetsNotePlugin as _0x157e54}from'@univerjs/sheets-note';import{UniverSheetsNumfmtPlugin as _0xfb7cf3}from'@univerjs/sheets-numfmt';import{UniverSheetsSortPlugin as _0x42488a}from'@univerjs/sheets-sort';import{UniverSheetsTablePlugin as _0x421587}from'@univerjs/sheets-table';import _0x199d03 from'@univerjs/sheets-table/locale/en-US';import{UniverSheetsThreadCommentPlugin as _0x4b3125}from'@univerjs/sheets-thread-comment';import{UniverThreadCommentPlugin as _0x4986dd}from'@univerjs/thread-comment';import'@univerjs/docs/facade';import'@univerjs/docs-drawing/facade';import'@univerjs-pro/boards/facade';import'@univerjs-pro/boards-chart/facade';import'@univerjs-pro/boards-mind/facade';import'@univerjs-pro/boards-table/facade';import'@univerjs-pro/docs-latex/facade';import'@univerjs-pro/docs-callout/facade';import'@univerjs-pro/docs-chart/facade';import'@univerjs-pro/docs-code/facade';import'@univerjs-pro/docs-column/facade';import'@univerjs-pro/docs-list/facade';import'@univerjs-pro/docs-quote/facade';function _0x3779(){const _0x113bdf=['1447533uplmcD','UNIVER_DOC','push','pages','signal','EN_US','621086ZWDLyX','5201OzzQxg','createUnit','34908SQCLJc','260108TLUZSg','analyzeModelLayout','embedPluginConfig','2226600ltLUgA','Board\x20model\x20layout\x20analysis\x20is\x20unavailable','9784CWdiUM','unitType','unitData','createUniver','NO_CALCULATION','35rDkIIc','309991yhTyiU','embeddedUnits','Board\x20not\x20found:\x20','license','formulaReferenceUnits','registerPlugin','2EnDTiA','throwIfAborted','getBoard','20vexUZx','UNIVER_BOARD'];_0x3779=function(){return _0x113bdf;};return _0x3779();}import'@univerjs-pro/docs-shape/facade';import'@univerjs-pro/docs-table/facade';import'@univerjs-pro/embed/facade';import'@univerjs-pro/engine-chart/facade';import'@univerjs-pro/engine-formula/facade';import'@univerjs-pro/engine-shape/facade';import'@univerjs/engine-formula/facade';import'@univerjs/network/facade';import'@univerjs/sheets/facade';import'@univerjs/sheets-conditional-formatting/facade';import'@univerjs/sheets-data-validation/facade';import'@univerjs/sheets-drawing/facade';import'@univerjs/sheets-filter/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-hyper-link/facade';import'@univerjs/sheets-note/facade';import'@univerjs/sheets-numfmt/facade';import'@univerjs/sheets-sort/facade';import'@univerjs/sheets-table/facade';import'@univerjs/sheets-thread-comment/facade';import'@univerjs-pro/bases/facade';import'@univerjs-pro/pdfs/facade';import'@univerjs-pro/range-preprocess/facade';import'@univerjs-pro/shape-editor/facade';import'@univerjs-pro/slides/facade';import'@univerjs-pro/sheets-chart/facade';import'@univerjs-pro/sheets-outline/facade';import'@univerjs-pro/sheets-pivot/facade';import'@univerjs-pro/sheets-shape/facade';import'@univerjs-pro/sheets-slicer/facade';import'@univerjs-pro/sheets-sparkline/facade';import'@univerjs-pro/slides-chart/facade';import'@univerjs-pro/slides-table/facade';function xe(_0x2eec99){return{async 'captureBoardModelLayout'(_0x17d679){const _0x528959=_0x56ee;let _0x373998=[];for(let _0xe584f4 of _0x17d679[_0x528959(0xd4)]){_0x17d679[_0x528959(0xd5)]?.[_0x528959(0xcd)]();let _0xfc6f7=_0x17d679[_0x528959(0xe2)][_0x528959(0xd4)][_0xe584f4];if(_0xfc6f7===void 0x0)throw Error('Board\x20page\x20not\x20found:\x20'+_0xe584f4);let _0x55e158=await _0x2eec99[_0x528959(0xe3)]({'unitId':_0x17d679[_0x528959(0xe2)]['id'],'unitType':_0x2b8cb1[_0x528959(0xd0)]});try{let _0x7bd225={'sheet':_0x2b8cb1['UNIVER_SHEET'],'doc':_0x2b8cb1[_0x528959(0xd2)],'slide':_0x2b8cb1['UNIVER_SLIDE'],'base':_0x2b8cb1['UNIVER_BASE'],'board':_0x2b8cb1[_0x528959(0xd0)]},_0xb9ee77=new Set([_0x17d679[_0x528959(0xe2)]['id']]);for(let _0x4efadb of[..._0x17d679[_0x528959(0xca)]??[],..._0x17d679[_0x528959(0xe7)]??[]])_0xb9ee77['has'](_0x4efadb['unitData']['id'])||(_0x55e158['__getInjector']()['get'](_0x5adf51)[_0x528959(0xd9)](_0x7bd225[_0x4efadb[_0x528959(0xe1)]],structuredClone(_0x4efadb[_0x528959(0xe2)]),_0xf4124a),_0xb9ee77['add'](_0x4efadb[_0x528959(0xe2)]['id']));_0x55e158['createUnit'](_0x2b8cb1[_0x528959(0xd0)],structuredClone({..._0x17d679['unitData'],'pageOrder':[_0xe584f4],'pages':{[_0xe584f4]:_0xfc6f7},'activePageId':_0xe584f4,'slideOrder':[_0xe584f4],'slides':{[_0xe584f4]:_0xfc6f7},'activeSlideId':_0xe584f4}));let _0x56f932=$(_0x55e158)[_0x528959(0xce)](_0x17d679[_0x528959(0xe2)]['id']);if(_0x56f932===null)throw Error(_0x528959(0xe8)+_0x17d679[_0x528959(0xe2)]['id']);let _0x88e3eb=_0x56f932[_0x528959(0xdc)](_0x17d679['focusPadding']??0x30);if(_0x88e3eb===!0x1)throw Error(_0x528959(0xdf));_0x373998[_0x528959(0xd3)]({'pageId':_0xe584f4,'analysis':_0x88e3eb}),_0x17d679[_0x528959(0xd5)]?.['throwIfAborted']();}finally{_0x55e158['dispose']();}}return{'pages':_0x373998};}};}function $(_0x4df154){return _0x132e72['newAPI'](_0x4df154);}function Se(_0x51d810){return async()=>{const _0x52ff3f=_0x56ee;let _0x4ba947=new _0xba43f1({'locale':_0x3fd80c[_0x52ff3f(0xd6)],'locales':Ce()});try{return _0x4ba947[_0x52ff3f(0xcb)](_0x4d795d,{'license':_0x51d810[_0x52ff3f(0xc9)]}),we(_0x4ba947,_0x51d810),_0x4ba947;}catch(_0x2779b7){throw _0x4ba947['dispose'](),_0x2779b7;}};}function Ce(){const _0x242704=_0x56ee;let _0x178b13=_0x955040(_0x17da97,_0x309ffa,_0x21892b,_0x31a88d,_0x1fd811,_0x5da1be,_0x1ca8e2,_0x357227,_0x199d03,_0x43ffac,_0x193301);return{[_0x3fd80c[_0x242704(0xd6)]]:_0x178b13};}function we(_0x14d337,_0xd37cd){const _0x2af0fe=_0x56ee;_0x14d337[_0x2af0fe(0xcb)](_0x2e8281),_0x14d337[_0x2af0fe(0xcb)](_0x23c624),_0x14d337[_0x2af0fe(0xcb)](_0x53190f),_0x14d337[_0x2af0fe(0xcb)](_0x284e53),_0x14d337[_0x2af0fe(0xcb)](_0x435878),_0x14d337[_0x2af0fe(0xcb)](_0x1e65cf),_0x14d337['registerPlugin'](_0x5bfdb9),_0x14d337['registerPlugin'](_0x2d5e88),_0x14d337[_0x2af0fe(0xcb)](_0x4ba328),_0x14d337[_0x2af0fe(0xcb)](_0x36bbb7),_0x14d337[_0x2af0fe(0xcb)](_0x2259ba),_0x14d337[_0x2af0fe(0xcb)](_0x241b79),_0x14d337[_0x2af0fe(0xcb)](_0x286f6b),_0x14d337[_0x2af0fe(0xcb)](_0x3ccb0a),_0x14d337[_0x2af0fe(0xcb)](_0x2cdf89),_0x14d337[_0x2af0fe(0xcb)](_0x4f4b91),_0x14d337['registerPlugin'](_0x9062e3),_0x14d337['registerPlugin'](_0x2f9860),_0x14d337[_0x2af0fe(0xcb)](_0x3726c9),_0x14d337[_0x2af0fe(0xcb)](_0x58f807,_0xd37cd[_0x2af0fe(0xdd)]),_0x14d337[_0x2af0fe(0xcb)](_0x5ec68a),_0x14d337['registerPlugin'](_0x427172),_0x14d337[_0x2af0fe(0xcb)](_0x1a0432),_0x14d337[_0x2af0fe(0xcb)](_0x205951),_0x14d337[_0x2af0fe(0xcb)](_0x5d81ea,{'initialFormulaComputing':_0x10f161[_0x2af0fe(0xe4)]}),_0x14d337['registerPlugin'](_0x57c82c),_0x14d337['registerPlugin'](_0x5eab3f),_0x14d337[_0x2af0fe(0xcb)](_0x1658d7),_0x14d337[_0x2af0fe(0xcb)](_0x5dc179),_0x14d337[_0x2af0fe(0xcb)](_0x5b98f3),_0x14d337[_0x2af0fe(0xcb)](_0x16dd7f),_0x14d337['registerPlugin'](_0xfb7cf3),_0x14d337[_0x2af0fe(0xcb)](_0x308716),_0x14d337[_0x2af0fe(0xcb)](_0x931f3e),_0x14d337['registerPlugin'](_0x42488a),_0x14d337['registerPlugin'](_0x421587),_0x14d337[_0x2af0fe(0xcb)](_0x1f7151),_0x14d337['registerPlugin'](_0x3bcade),_0x14d337[_0x2af0fe(0xcb)](_0x531e0b),_0x14d337[_0x2af0fe(0xcb)](_0x3349fe),_0x14d337[_0x2af0fe(0xcb)](_0xe25b3c),_0x14d337['registerPlugin'](_0x33efa2),_0x14d337[_0x2af0fe(0xcb)](_0x2a5ea4),_0x14d337[_0x2af0fe(0xcb)](_0x3cd8d2),_0x14d337[_0x2af0fe(0xcb)](_0x2c8218),_0x14d337[_0x2af0fe(0xcb)](_0xb043c3),_0x14d337[_0x2af0fe(0xcb)](_0x157e54),_0x14d337[_0x2af0fe(0xcb)](_0x4986dd),_0x14d337[_0x2af0fe(0xcb)](_0x4b3125),_0x14d337['registerPlugin'](_0x451806),_0x14d337[_0x2af0fe(0xcb)](_0x593fcf),_0x14d337[_0x2af0fe(0xcb)](_0x158fe0),_0x14d337[_0x2af0fe(0xcb)](_0x1cbd89),_0x14d337[_0x2af0fe(0xcb)](_0x1cf2a9);}export{xe as createHeadlessBoardLayoutRuntime,$ as createStandardHeadlessUniverFacade,Se as createStandardHeadlessUniverFactory};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univer-cli/headless-univer",
3
3
  "type": "module",
4
- "version": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -18,67 +18,67 @@
18
18
  "README.zh-CN.md"
19
19
  ],
20
20
  "dependencies": {
21
- "@univer-cli/univer-render-runtime": "1.6.1",
22
- "@univerjs-pro/bases": "1.6.1",
23
- "@univerjs-pro/bases-thread-comment": "1.6.1",
24
- "@univerjs-pro/boards": "1.6.1",
25
- "@univerjs-pro/boards-chart": "1.6.1",
26
- "@univerjs-pro/boards-mind": "1.6.1",
27
- "@univerjs-pro/boards-table": "1.6.1",
28
- "@univerjs-pro/boards-thread-comment": "1.6.1",
29
- "@univerjs-pro/chart-embed": "1.6.1",
30
- "@univerjs-pro/docs-callout": "1.6.1",
31
- "@univerjs-pro/docs-chart": "1.6.1",
32
- "@univerjs-pro/docs-code": "1.6.1",
33
- "@univerjs-pro/docs-column": "1.6.1",
34
- "@univerjs-pro/docs-latex": "1.6.1",
35
- "@univerjs-pro/docs-list": "1.6.1",
36
- "@univerjs-pro/docs-quote": "1.6.1",
37
- "@univerjs-pro/docs-shape": "1.6.1",
38
- "@univerjs-pro/docs-table": "1.6.1",
39
- "@univerjs-pro/embed": "1.6.1",
40
- "@univerjs-pro/engine-chart": "1.6.1",
41
- "@univerjs-pro/engine-formula": "1.6.1",
42
- "@univerjs-pro/engine-formula-rust": "1.6.1",
43
- "@univerjs-pro/engine-pivot": "1.6.1",
44
- "@univerjs-pro/engine-shape": "1.6.1",
45
- "@univerjs-pro/ink": "1.6.1",
46
- "@univerjs-pro/license": "1.6.1",
47
- "@univerjs-pro/pdfs": "1.6.1",
48
- "@univerjs-pro/range-preprocess": "1.6.1",
49
- "@univerjs-pro/shape-editor": "1.6.1",
50
- "@univerjs-pro/sheets-chart": "1.6.1",
51
- "@univerjs-pro/sheets-outline": "1.6.1",
52
- "@univerjs-pro/sheets-pivot": "1.6.1",
53
- "@univerjs-pro/sheets-shape": "1.6.1",
54
- "@univerjs-pro/sheets-slicer": "1.6.1",
55
- "@univerjs-pro/sheets-sparkline": "1.6.1",
56
- "@univerjs-pro/slides": "1.6.1",
57
- "@univerjs-pro/slides-chart": "1.6.1",
58
- "@univerjs-pro/slides-table": "1.6.1",
59
- "@univerjs-pro/slides-thread-comment": "1.6.1",
60
- "@univerjs/core": "1.6.1",
61
- "@univerjs/data-validation": "1.6.1",
62
- "@univerjs/docs": "1.6.1",
63
- "@univerjs/docs-drawing": "1.6.1",
64
- "@univerjs/docs-hyper-link": "1.6.1",
65
- "@univerjs/docs-thread-comment": "1.6.1",
66
- "@univerjs/drawing": "1.6.1",
67
- "@univerjs/engine-formula": "1.6.1",
68
- "@univerjs/engine-render": "1.6.1",
69
- "@univerjs/network": "1.6.1",
70
- "@univerjs/sheets": "1.6.1",
71
- "@univerjs/sheets-conditional-formatting": "1.6.1",
72
- "@univerjs/sheets-data-validation": "1.6.1",
73
- "@univerjs/sheets-drawing": "1.6.1",
74
- "@univerjs/sheets-filter": "1.6.1",
75
- "@univerjs/sheets-formula": "1.6.1",
76
- "@univerjs/sheets-hyper-link": "1.6.1",
77
- "@univerjs/sheets-note": "1.6.1",
78
- "@univerjs/sheets-numfmt": "1.6.1",
79
- "@univerjs/sheets-sort": "1.6.1",
80
- "@univerjs/sheets-table": "1.6.1",
81
- "@univerjs/sheets-thread-comment": "1.6.1",
82
- "@univerjs/thread-comment": "1.6.1"
21
+ "@univer-cli/univer-render-runtime": "1.6.2",
22
+ "@univerjs-pro/bases": "1.6.2",
23
+ "@univerjs-pro/bases-thread-comment": "1.6.2",
24
+ "@univerjs-pro/boards": "1.6.2",
25
+ "@univerjs-pro/boards-chart": "1.6.2",
26
+ "@univerjs-pro/boards-mind": "1.6.2",
27
+ "@univerjs-pro/boards-table": "1.6.2",
28
+ "@univerjs-pro/boards-thread-comment": "1.6.2",
29
+ "@univerjs-pro/chart-embed": "1.6.2",
30
+ "@univerjs-pro/docs-callout": "1.6.2",
31
+ "@univerjs-pro/docs-chart": "1.6.2",
32
+ "@univerjs-pro/docs-code": "1.6.2",
33
+ "@univerjs-pro/docs-column": "1.6.2",
34
+ "@univerjs-pro/docs-latex": "1.6.2",
35
+ "@univerjs-pro/docs-list": "1.6.2",
36
+ "@univerjs-pro/docs-quote": "1.6.2",
37
+ "@univerjs-pro/docs-shape": "1.6.2",
38
+ "@univerjs-pro/docs-table": "1.6.2",
39
+ "@univerjs-pro/embed": "1.6.2",
40
+ "@univerjs-pro/engine-chart": "1.6.2",
41
+ "@univerjs-pro/engine-formula": "1.6.2",
42
+ "@univerjs-pro/engine-formula-rust": "1.6.2",
43
+ "@univerjs-pro/engine-pivot": "1.6.2",
44
+ "@univerjs-pro/engine-shape": "1.6.2",
45
+ "@univerjs-pro/ink": "1.6.2",
46
+ "@univerjs-pro/license": "1.6.2",
47
+ "@univerjs-pro/pdfs": "1.6.2",
48
+ "@univerjs-pro/range-preprocess": "1.6.2",
49
+ "@univerjs-pro/shape-editor": "1.6.2",
50
+ "@univerjs-pro/sheets-chart": "1.6.2",
51
+ "@univerjs-pro/sheets-outline": "1.6.2",
52
+ "@univerjs-pro/sheets-pivot": "1.6.2",
53
+ "@univerjs-pro/sheets-shape": "1.6.2",
54
+ "@univerjs-pro/sheets-slicer": "1.6.2",
55
+ "@univerjs-pro/sheets-sparkline": "1.6.2",
56
+ "@univerjs-pro/slides": "1.6.2",
57
+ "@univerjs-pro/slides-chart": "1.6.2",
58
+ "@univerjs-pro/slides-table": "1.6.2",
59
+ "@univerjs-pro/slides-thread-comment": "1.6.2",
60
+ "@univerjs/core": "1.6.2",
61
+ "@univerjs/data-validation": "1.6.2",
62
+ "@univerjs/docs": "1.6.2",
63
+ "@univerjs/docs-drawing": "1.6.2",
64
+ "@univerjs/docs-hyper-link": "1.6.2",
65
+ "@univerjs/docs-thread-comment": "1.6.2",
66
+ "@univerjs/drawing": "1.6.2",
67
+ "@univerjs/engine-formula": "1.6.2",
68
+ "@univerjs/engine-render": "1.6.2",
69
+ "@univerjs/network": "1.6.2",
70
+ "@univerjs/sheets": "1.6.2",
71
+ "@univerjs/sheets-conditional-formatting": "1.6.2",
72
+ "@univerjs/sheets-data-validation": "1.6.2",
73
+ "@univerjs/sheets-drawing": "1.6.2",
74
+ "@univerjs/sheets-filter": "1.6.2",
75
+ "@univerjs/sheets-formula": "1.6.2",
76
+ "@univerjs/sheets-hyper-link": "1.6.2",
77
+ "@univerjs/sheets-note": "1.6.2",
78
+ "@univerjs/sheets-numfmt": "1.6.2",
79
+ "@univerjs/sheets-sort": "1.6.2",
80
+ "@univerjs/sheets-table": "1.6.2",
81
+ "@univerjs/sheets-thread-comment": "1.6.2",
82
+ "@univerjs/thread-comment": "1.6.2"
83
83
  }
84
84
  }