@univer-cli/headless-univer 1.0.0-beta.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -50,6 +50,10 @@ The standard composition:
50
50
 
51
51
  Each factory call returns a new exclusive Univer instance. Its lifecycle owner must dispose of it after use.
52
52
 
53
+ ## Pro license
54
+
55
+ The composition registers Pro plugins, and `license` unlocks the Pro operations those plugins register. Univer Pro 1.0.0 moved several write operations behind that license, for example Board, Doc, and Slide chart insertion and chart type changes. Without a valid license those commands are rejected before any mutation is produced, and Board chart insertion fails with `Failed to create Board chart.` Loading and reading Unit data, and the non-Pro surface, keep working without a license.
56
+
53
57
  ## Responsibility boundaries
54
58
 
55
59
  The package is responsible only for standard Univer composition. It does not load Snapshot or UnitData, capture mutations, or manage revisions, OT, commits, worker pools, daemons, authentication, or server transport. Applications that need a different plugin combination can implement their own `HeadlessUniverFactory` without forking this package.
package/README.zh-CN.md CHANGED
@@ -53,6 +53,13 @@ Runtime。
53
53
 
54
54
  每次 factory 调用都返回新的独占 Univer。Lifecycle owner 必须在使用结束后正确 dispose。
55
55
 
56
+ ## Pro license
57
+
58
+ 该 composition 注册 Pro plugins,`license` 用于解锁这些 plugin 注册的 Pro 操作。Univer Pro 1.0.0 把若干写入
59
+ 操作放到 license 之后,例如 Board、Doc 和 Slide chart 的插入与 chart type 变更。没有有效 license 时,这些
60
+ 命令会在产生 mutation 之前被拒绝,Board chart 插入会以 `Failed to create Board chart.` 失败。加载与读取
61
+ Unit 数据,以及非 Pro 能力,在没有 license 时仍然可用。
62
+
56
63
  ## 职责边界
57
64
 
58
65
  Package 只负责标准 Univer composition,不加载 Snapshot 或 UnitData,不捕获 mutation,也不管理 revision、OT、
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0x274d94,_0x5924d2){const _0x111875=_0x45cc,_0x121b85=_0x274d94();while(!![]){try{const _0x58ec46=parseInt(_0x111875(0x174))/0x1+-parseInt(_0x111875(0x16d))/0x2+parseInt(_0x111875(0x16e))/0x3*(-parseInt(_0x111875(0x177))/0x4)+-parseInt(_0x111875(0x16c))/0x5+-parseInt(_0x111875(0x171))/0x6+-parseInt(_0x111875(0x175))/0x7+parseInt(_0x111875(0x16b))/0x8;if(_0x58ec46===_0x5924d2)break;else _0x121b85['push'](_0x121b85['shift']());}catch(_0x3354f3){_0x121b85['push'](_0x121b85['shift']());}}}(_0x1b68,0x5d732));import{UniverBasesPlugin as _0x2f5501}from'@univerjs-pro/bases';import _0x27d8a3 from'@univerjs-pro/bases/locale/en-US';import{UniverBoardsPlugin as _0x554584}from'@univerjs-pro/boards';import{UniverBoardsChartPlugin as _0x3e0b7b}from'@univerjs-pro/boards-chart';import{UniverBoardsMindPlugin as _0x28a955}from'@univerjs-pro/boards-mind';import{UniverBoardsTablePlugin as _0x4208a5}from'@univerjs-pro/boards-table';import{UniverDocsCalloutPlugin as _0x548ea8}from'@univerjs-pro/docs-callout';import{UniverDocsChartPlugin as _0x54b674}from'@univerjs-pro/docs-chart';import{UniverDocsCodePlugin as _0x57ff39}from'@univerjs-pro/docs-code';import{UniverDocsColumnPlugin as _0x1ad46c}from'@univerjs-pro/docs-column';import{UniverDocsLatexPlugin as _0x1bc664}from'@univerjs-pro/docs-latex';import{UniverDocsListPlugin as _0x3c5dd9}from'@univerjs-pro/docs-list';import{UniverDocsQuotePlugin as _0x3fe02d}from'@univerjs-pro/docs-quote';import{UniverDocsShapePlugin as _0x3f3bbf}from'@univerjs-pro/docs-shape';import{UniverDocsTablePlugin as _0x369129}from'@univerjs-pro/docs-table';import{UniverEmbedPlugin as _0x2c8081}from'@univerjs-pro/embed';import{UniverRustFormulaEnginePlugin as _0x5f416d}from'@univerjs-pro/engine-formula-rust';import{UniverInkPlugin as _0x2db7b0}from'@univerjs-pro/ink';import{UniverLicensePlugin as _0x410cab}from'@univerjs-pro/license';import{UniverRangePreprocessPlugin as _0xcb3301}from'@univerjs-pro/range-preprocess';import{UniverShapeEditorPlugin as _0x3fd261}from'@univerjs-pro/shape-editor';import{UniverSheetsChartPlugin as _0x19cf0f}from'@univerjs-pro/sheets-chart';import _0x21ed8e from'@univerjs-pro/sheets-chart/locale/en-US';import{UniverSheetsOutlinePlugin as _0x447995}from'@univerjs-pro/sheets-outline';import{UniverSheetsPivotTablePlugin as _0x4dd9dd}from'@univerjs-pro/sheets-pivot';import _0x18866c from'@univerjs-pro/sheets-pivot/locale/en-US';import{UniverSheetsShapePlugin as _0x56d0e9}from'@univerjs-pro/sheets-shape';import{UniverSheetSparklinePlugin as _0x55446e}from'@univerjs-pro/sheets-sparkline';import{UniverSlidesPlugin as _0x3e0b3d}from'@univerjs-pro/slides';import{UniverSlidesChartPlugin as _0x1c4af9}from'@univerjs-pro/slides-chart';import{UniverSlidesTablePlugin as _0x35c128}from'@univerjs-pro/slides-table';import{LocaleType as _0x1a5bce,Univer as _0x4d442d,mergeLocales as _0x21686b}from'@univerjs/core';import{FUniver as _0x408faf}from'@univerjs/core/facade';function _0x45cc(_0x39c46d,_0x32f54c){_0x39c46d=_0x39c46d-0x16a;const _0x1b6816=_0x1b68();let _0x45cc8c=_0x1b6816[_0x39c46d];return _0x45cc8c;}import{UniverDataValidationPlugin as _0x2776ee}from'@univerjs/data-validation';import _0x5ba48a from'@univerjs/data-validation/locale/en-US';import{UniverDocsPlugin as _0x44d77b}from'@univerjs/docs';import{UniverDocsDrawingPlugin as _0x3e1532}from'@univerjs/docs-drawing';import{UniverDocsHyperLinkPlugin as _0x35fd84}from'@univerjs/docs-hyper-link';import{UniverDrawingPlugin as _0x1d2bc9}from'@univerjs/drawing';import{UniverRenderEnginePlugin as _0x5d0610}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3523db}from'@univerjs/network';import{UniverSheetsPlugin as _0x23039f}from'@univerjs/sheets';import _0x58644c from'@univerjs/sheets/locale/en-US';import{UniverSheetsConditionalFormattingPlugin as _0x5d4cb3}from'@univerjs/sheets-conditional-formatting';import _0x3fd11e from'@univerjs/sheets-conditional-formatting/locale/en-US';import{UniverSheetsDataValidationPlugin as _0x160ffb}from'@univerjs/sheets-data-validation';import _0x2f9adb from'@univerjs/sheets-data-validation/locale/en-US';import{UniverSheetsDrawingPlugin as _0x19b74c}from'@univerjs/sheets-drawing';function _0x1b68(){const _0x3da425=['NO_CALCULATION','3291810yxTRrk','embedPluginConfig','dispose','483917oXWTus','3000550hPDIcs','EN_US','555620rhpKDk','license','20164040cjApch','3514795CPNkpc','1049386jRkvgr','9knYRuz','registerPlugin'];_0x1b68=function(){return _0x3da425;};return _0x1b68();}import{UniverSheetsFilterPlugin as _0x5086db}from'@univerjs/sheets-filter';import _0x44ce41 from'@univerjs/sheets-filter/locale/en-US';import{CalculationMode as _0x3e5561,UniverSheetsFormulaPlugin as _0x5662c5}from'@univerjs/sheets-formula';import _0x13865e from'@univerjs/sheets-formula/locale/en-US';import{UniverSheetsHyperLinkPlugin as _0x176b7a}from'@univerjs/sheets-hyper-link';import _0x9d6252 from'@univerjs/sheets-hyper-link/locale/en-US';import{UniverSheetsNotePlugin as _0x5446dd}from'@univerjs/sheets-note';import{UniverSheetsNumfmtPlugin as _0x28fb30}from'@univerjs/sheets-numfmt';import{UniverSheetsSortPlugin as _0x44a4be}from'@univerjs/sheets-sort';import{UniverSheetsTablePlugin as _0x660c34}from'@univerjs/sheets-table';import _0x26433a from'@univerjs/sheets-table/locale/en-US';import{UniverSheetsThreadCommentPlugin as _0x3649eb}from'@univerjs/sheets-thread-comment';import{UniverThreadCommentPlugin as _0x3b7280}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/ink/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';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/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-sparkline/facade';import'@univerjs-pro/slides-chart/facade';import'@univerjs-pro/slides-table/facade';function ue(_0x3f676b){return _0x408faf['newAPI'](_0x3f676b);}function de(_0x2528af){return async()=>{const _0x5bf027=_0x45cc;let _0xe7d181=new _0x4d442d({'locale':_0x1a5bce[_0x5bf027(0x176)],'locales':fe()});try{return _0xe7d181['registerPlugin'](_0x410cab,{'license':_0x2528af[_0x5bf027(0x16a)]}),pe(_0xe7d181,_0x2528af),_0xe7d181;}catch(_0x1c7cd5){throw _0xe7d181[_0x5bf027(0x173)](),_0x1c7cd5;}};}function fe(){let _0x5bc73a=_0x21686b(_0x58644c,_0x27d8a3,_0x13865e,_0x5ba48a,_0x3fd11e,_0x2f9adb,_0x44ce41,_0x9d6252,_0x26433a,_0x21ed8e,_0x18866c);return{[_0x1a5bce['EN_US']]:_0x5bc73a};}function pe(_0x1d28c7,_0x470f1a){const _0x225b9d=_0x45cc;_0x1d28c7[_0x225b9d(0x16f)](_0x5d0610),_0x1d28c7[_0x225b9d(0x16f)](_0x1d2bc9),_0x1d28c7[_0x225b9d(0x16f)](_0x44d77b),_0x1d28c7[_0x225b9d(0x16f)](_0x1bc664),_0x1d28c7[_0x225b9d(0x16f)](_0x554584),_0x1d28c7[_0x225b9d(0x16f)](_0x3e0b7b),_0x1d28c7['registerPlugin'](_0x2db7b0),_0x1d28c7[_0x225b9d(0x16f)](_0x28a955),_0x1d28c7[_0x225b9d(0x16f)](_0x4208a5),_0x1d28c7[_0x225b9d(0x16f)](_0x3e1532),_0x1d28c7[_0x225b9d(0x16f)](_0x35fd84),_0x1d28c7['registerPlugin'](_0x548ea8),_0x1d28c7[_0x225b9d(0x16f)](_0x54b674),_0x1d28c7[_0x225b9d(0x16f)](_0x57ff39),_0x1d28c7[_0x225b9d(0x16f)](_0x1ad46c),_0x1d28c7[_0x225b9d(0x16f)](_0x3c5dd9),_0x1d28c7[_0x225b9d(0x16f)](_0x3fe02d),_0x1d28c7[_0x225b9d(0x16f)](_0x3f3bbf),_0x1d28c7[_0x225b9d(0x16f)](_0x369129),_0x1d28c7[_0x225b9d(0x16f)](_0x2c8081,_0x470f1a[_0x225b9d(0x172)]),_0x1d28c7[_0x225b9d(0x16f)](_0x23039f),_0x1d28c7['registerPlugin'](_0x5f416d),_0x1d28c7['registerPlugin'](_0x3fd261),_0x1d28c7['registerPlugin'](_0x5662c5,{'initialFormulaComputing':_0x3e5561[_0x225b9d(0x170)]}),_0x1d28c7[_0x225b9d(0x16f)](_0x3523db),_0x1d28c7[_0x225b9d(0x16f)](_0x2f5501),_0x1d28c7[_0x225b9d(0x16f)](_0x3e0b3d),_0x1d28c7[_0x225b9d(0x16f)](_0x1c4af9),_0x1d28c7['registerPlugin'](_0x35c128),_0x1d28c7[_0x225b9d(0x16f)](_0x28fb30),_0x1d28c7[_0x225b9d(0x16f)](_0x5d4cb3),_0x1d28c7[_0x225b9d(0x16f)](_0x5086db),_0x1d28c7['registerPlugin'](_0x44a4be),_0x1d28c7[_0x225b9d(0x16f)](_0x660c34),_0x1d28c7[_0x225b9d(0x16f)](_0x19b74c),_0x1d28c7[_0x225b9d(0x16f)](_0x19cf0f),_0x1d28c7[_0x225b9d(0x16f)](_0x447995),_0x1d28c7[_0x225b9d(0x16f)](_0x4dd9dd),_0x1d28c7[_0x225b9d(0x16f)](_0x56d0e9),_0x1d28c7[_0x225b9d(0x16f)](_0x55446e),_0x1d28c7[_0x225b9d(0x16f)](_0x2776ee),_0x1d28c7[_0x225b9d(0x16f)](_0x160ffb),_0x1d28c7[_0x225b9d(0x16f)](_0x176b7a),_0x1d28c7[_0x225b9d(0x16f)](_0x5446dd),_0x1d28c7[_0x225b9d(0x16f)](_0x3b7280),_0x1d28c7[_0x225b9d(0x16f)](_0x3649eb),_0x1d28c7[_0x225b9d(0x16f)](_0xcb3301);}export{ue as createStandardHeadlessUniverFacade,de as createStandardHeadlessUniverFactory};
1
+ (function(_0x4a2364,_0x4d5a99){const _0x8ac404=_0x3aa2,_0x11b0fb=_0x4a2364();while(!![]){try{const _0x5370ac=parseInt(_0x8ac404(0x19b))/0x1*(-parseInt(_0x8ac404(0x1a5))/0x2)+-parseInt(_0x8ac404(0x1a7))/0x3*(-parseInt(_0x8ac404(0x1a0))/0x4)+-parseInt(_0x8ac404(0x199))/0x5+-parseInt(_0x8ac404(0x197))/0x6+-parseInt(_0x8ac404(0x1a2))/0x7*(parseInt(_0x8ac404(0x1a4))/0x8)+-parseInt(_0x8ac404(0x198))/0x9+parseInt(_0x8ac404(0x19d))/0xa;if(_0x5370ac===_0x4d5a99)break;else _0x11b0fb['push'](_0x11b0fb['shift']());}catch(_0x4195fc){_0x11b0fb['push'](_0x11b0fb['shift']());}}}(_0x2c51,0xbc909));import{UniverBasesPlugin as _0x16e591}from'@univerjs-pro/bases';import _0x1bebf3 from'@univerjs-pro/bases/locale/en-US';import{UniverBoardsPlugin as _0x44dd6b}from'@univerjs-pro/boards';import{UniverBoardsChartPlugin as _0x4e1d8e}from'@univerjs-pro/boards-chart';import{UniverBoardsMindPlugin as _0x4b5acc}from'@univerjs-pro/boards-mind';import{UniverBoardsTablePlugin as _0x38c7bf}from'@univerjs-pro/boards-table';import{UniverDocsCalloutPlugin as _0x20e758}from'@univerjs-pro/docs-callout';import{UniverDocsChartPlugin as _0x5d241b}from'@univerjs-pro/docs-chart';import{UniverDocsCodePlugin as _0x5a36d9}from'@univerjs-pro/docs-code';import{UniverDocsColumnPlugin as _0x343e06}from'@univerjs-pro/docs-column';import{UniverDocsLatexPlugin as _0x52a8fe}from'@univerjs-pro/docs-latex';import{UniverDocsListPlugin as _0x7e362d}from'@univerjs-pro/docs-list';import{UniverDocsQuotePlugin as _0x53ed04}from'@univerjs-pro/docs-quote';import{UniverDocsShapePlugin as _0x376515}from'@univerjs-pro/docs-shape';import{UniverDocsTablePlugin as _0xa15767}from'@univerjs-pro/docs-table';import{UniverEmbedPlugin as _0x4c6b8b}from'@univerjs-pro/embed';import{UniverRustFormulaEnginePlugin as _0x37b2c8}from'@univerjs-pro/engine-formula-rust';import{UniverInkPlugin as _0x39036d}from'@univerjs-pro/ink';import{UniverLicensePlugin as _0x7888eb}from'@univerjs-pro/license';import{UniverRangePreprocessPlugin as _0x329c96}from'@univerjs-pro/range-preprocess';import{UniverShapeEditorPlugin as _0x18a883}from'@univerjs-pro/shape-editor';import{UniverSheetsChartPlugin as _0x2dbaac}from'@univerjs-pro/sheets-chart';import _0x3b8e11 from'@univerjs-pro/sheets-chart/locale/en-US';import{UniverSheetsOutlinePlugin as _0xae923d}from'@univerjs-pro/sheets-outline';import{UniverSheetsPivotTablePlugin as _0x5bc318}from'@univerjs-pro/sheets-pivot';import _0x35898f from'@univerjs-pro/sheets-pivot/locale/en-US';import{UniverSheetsShapePlugin as _0x26ada6}from'@univerjs-pro/sheets-shape';import{UniverSheetSparklinePlugin as _0x36ad35}from'@univerjs-pro/sheets-sparkline';import{UniverSlidesPlugin as _0x43957f}from'@univerjs-pro/slides';import{UniverSlidesChartPlugin as _0x673b1b}from'@univerjs-pro/slides-chart';import{UniverSlidesTablePlugin as _0xd2a23d}from'@univerjs-pro/slides-table';import{LocaleType as _0x5d3312,Univer as _0xd90a07,mergeLocales as _0x30f5c6}from'@univerjs/core';import{FUniver as _0xaae4ac}from'@univerjs/core/facade';import{UniverDataValidationPlugin as _0x5b83ba}from'@univerjs/data-validation';import _0x23049d from'@univerjs/data-validation/locale/en-US';import{UniverDocsPlugin as _0x4f2d09}from'@univerjs/docs';import{UniverDocsDrawingPlugin as _0x4e9a8b}from'@univerjs/docs-drawing';import{UniverDocsHyperLinkPlugin as _0x19e2ac}from'@univerjs/docs-hyper-link';import{UniverDrawingPlugin as _0x3069f4}from'@univerjs/drawing';import{UniverRenderEnginePlugin as _0xc804a2}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x495427}from'@univerjs/network';import{UniverSheetsPlugin as _0x4b0db6}from'@univerjs/sheets';import _0x14a3cc from'@univerjs/sheets/locale/en-US';import{UniverSheetsConditionalFormattingPlugin as _0x10000b}from'@univerjs/sheets-conditional-formatting';import _0x48aabf from'@univerjs/sheets-conditional-formatting/locale/en-US';import{UniverSheetsDataValidationPlugin as _0x4ac74f}from'@univerjs/sheets-data-validation';import _0x5b4a30 from'@univerjs/sheets-data-validation/locale/en-US';import{UniverSheetsDrawingPlugin as _0x11b775}from'@univerjs/sheets-drawing';import{UniverSheetsFilterPlugin as _0x9fdfe5}from'@univerjs/sheets-filter';import _0x43c272 from'@univerjs/sheets-filter/locale/en-US';import{CalculationMode as _0x4a24da,UniverSheetsFormulaPlugin as _0x24d30d}from'@univerjs/sheets-formula';import _0x2ab3da from'@univerjs/sheets-formula/locale/en-US';import{UniverSheetsHyperLinkPlugin as _0x53caf5}from'@univerjs/sheets-hyper-link';import _0x123480 from'@univerjs/sheets-hyper-link/locale/en-US';import{UniverSheetsNotePlugin as _0x23fab3}from'@univerjs/sheets-note';import{UniverSheetsNumfmtPlugin as _0x124af5}from'@univerjs/sheets-numfmt';import{UniverSheetsSortPlugin as _0x577eb3}from'@univerjs/sheets-sort';import{UniverSheetsTablePlugin as _0x29c083}from'@univerjs/sheets-table';function _0x3aa2(_0x394224,_0x1a7512){_0x394224=_0x394224-0x197;const _0x2c519b=_0x2c51();let _0x3aa2e9=_0x2c519b[_0x394224];return _0x3aa2e9;}import _0x160fab from'@univerjs/sheets-table/locale/en-US';import{UniverSheetsThreadCommentPlugin as _0x5a76aa}from'@univerjs/sheets-thread-comment';import{UniverThreadCommentPlugin as _0x1ccc4b}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/ink/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';function _0x2c51(){const _0x88e95b=['34433osGmJd','newAPI','696OdAVTg','226folMQl','registerPlugin','993rQWKku','3175908QTjyjx','13070340jcnQvm','5265950dPFJuu','NO_CALCULATION','10961CdEYgt','embedPluginConfig','53548460aRELLt','dispose','license','1436qlEqtq','EN_US'];_0x2c51=function(){return _0x88e95b;};return _0x2c51();}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';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/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-sparkline/facade';import'@univerjs-pro/slides-chart/facade';import'@univerjs-pro/slides-table/facade';function ue(_0x5d7a3f){const _0x563aec=_0x3aa2;return _0xaae4ac[_0x563aec(0x1a3)](_0x5d7a3f);}function de(_0x571a34){return async()=>{const _0x1120e4=_0x3aa2;let _0x22981a=new _0xd90a07({'locale':_0x5d3312[_0x1120e4(0x1a1)],'locales':fe()});try{return _0x22981a['registerPlugin'](_0x7888eb,{'license':_0x571a34[_0x1120e4(0x19f)]}),pe(_0x22981a,_0x571a34),_0x22981a;}catch(_0x53c0ea){throw _0x22981a[_0x1120e4(0x19e)](),_0x53c0ea;}};}function fe(){let _0x1a8136=_0x30f5c6(_0x14a3cc,_0x1bebf3,_0x2ab3da,_0x23049d,_0x48aabf,_0x5b4a30,_0x43c272,_0x123480,_0x160fab,_0x3b8e11,_0x35898f);return{[_0x5d3312['EN_US']]:_0x1a8136};}function pe(_0x2d1aea,_0x4829fc){const _0xb92e1=_0x3aa2;_0x2d1aea[_0xb92e1(0x1a6)](_0xc804a2),_0x2d1aea[_0xb92e1(0x1a6)](_0x3069f4),_0x2d1aea[_0xb92e1(0x1a6)](_0x4f2d09),_0x2d1aea[_0xb92e1(0x1a6)](_0x52a8fe),_0x2d1aea[_0xb92e1(0x1a6)](_0x44dd6b),_0x2d1aea[_0xb92e1(0x1a6)](_0x4e1d8e),_0x2d1aea[_0xb92e1(0x1a6)](_0x39036d),_0x2d1aea[_0xb92e1(0x1a6)](_0x4b5acc),_0x2d1aea['registerPlugin'](_0x38c7bf),_0x2d1aea[_0xb92e1(0x1a6)](_0x4e9a8b),_0x2d1aea[_0xb92e1(0x1a6)](_0x19e2ac),_0x2d1aea[_0xb92e1(0x1a6)](_0x20e758),_0x2d1aea[_0xb92e1(0x1a6)](_0x5d241b),_0x2d1aea[_0xb92e1(0x1a6)](_0x5a36d9),_0x2d1aea[_0xb92e1(0x1a6)](_0x343e06),_0x2d1aea['registerPlugin'](_0x7e362d),_0x2d1aea['registerPlugin'](_0x53ed04),_0x2d1aea['registerPlugin'](_0x376515),_0x2d1aea[_0xb92e1(0x1a6)](_0xa15767),_0x2d1aea[_0xb92e1(0x1a6)](_0x4c6b8b,_0x4829fc[_0xb92e1(0x19c)]),_0x2d1aea[_0xb92e1(0x1a6)](_0x4b0db6),_0x2d1aea[_0xb92e1(0x1a6)](_0x37b2c8),_0x2d1aea[_0xb92e1(0x1a6)](_0x18a883),_0x2d1aea[_0xb92e1(0x1a6)](_0x24d30d,{'initialFormulaComputing':_0x4a24da[_0xb92e1(0x19a)]}),_0x2d1aea[_0xb92e1(0x1a6)](_0x495427),_0x2d1aea[_0xb92e1(0x1a6)](_0x16e591),_0x2d1aea[_0xb92e1(0x1a6)](_0x43957f),_0x2d1aea[_0xb92e1(0x1a6)](_0x673b1b),_0x2d1aea[_0xb92e1(0x1a6)](_0xd2a23d),_0x2d1aea['registerPlugin'](_0x124af5),_0x2d1aea[_0xb92e1(0x1a6)](_0x10000b),_0x2d1aea[_0xb92e1(0x1a6)](_0x9fdfe5),_0x2d1aea[_0xb92e1(0x1a6)](_0x577eb3),_0x2d1aea[_0xb92e1(0x1a6)](_0x29c083),_0x2d1aea['registerPlugin'](_0x11b775),_0x2d1aea['registerPlugin'](_0x2dbaac),_0x2d1aea[_0xb92e1(0x1a6)](_0xae923d),_0x2d1aea[_0xb92e1(0x1a6)](_0x5bc318),_0x2d1aea[_0xb92e1(0x1a6)](_0x26ada6),_0x2d1aea[_0xb92e1(0x1a6)](_0x36ad35),_0x2d1aea['registerPlugin'](_0x5b83ba),_0x2d1aea[_0xb92e1(0x1a6)](_0x4ac74f),_0x2d1aea['registerPlugin'](_0x53caf5),_0x2d1aea[_0xb92e1(0x1a6)](_0x23fab3),_0x2d1aea[_0xb92e1(0x1a6)](_0x1ccc4b),_0x2d1aea[_0xb92e1(0x1a6)](_0x5a76aa),_0x2d1aea[_0xb92e1(0x1a6)](_0x329c96);}export{ue as createStandardHeadlessUniverFacade,de 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.0.0-beta.2",
4
+ "version": "1.0.0",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -18,59 +18,59 @@
18
18
  "README.zh-CN.md"
19
19
  ],
20
20
  "dependencies": {
21
- "@univerjs-pro/bases": "1.0.0-beta.2",
22
- "@univerjs-pro/boards": "1.0.0-beta.2",
23
- "@univerjs-pro/boards-chart": "1.0.0-beta.2",
24
- "@univerjs-pro/boards-mind": "1.0.0-beta.2",
25
- "@univerjs-pro/boards-table": "1.0.0-beta.2",
26
- "@univerjs-pro/docs-callout": "1.0.0-beta.2",
27
- "@univerjs-pro/docs-chart": "1.0.0-beta.2",
28
- "@univerjs-pro/docs-code": "1.0.0-beta.2",
29
- "@univerjs-pro/docs-column": "1.0.0-beta.2",
30
- "@univerjs-pro/docs-latex": "1.0.0-beta.2",
31
- "@univerjs-pro/docs-list": "1.0.0-beta.2",
32
- "@univerjs-pro/docs-quote": "1.0.0-beta.2",
33
- "@univerjs-pro/docs-shape": "1.0.0-beta.2",
34
- "@univerjs-pro/docs-table": "1.0.0-beta.2",
35
- "@univerjs-pro/embed": "1.0.0-beta.2",
36
- "@univerjs-pro/engine-chart": "1.0.0-beta.2",
37
- "@univerjs-pro/engine-formula": "1.0.0-beta.2",
38
- "@univerjs-pro/engine-formula-rust": "1.0.0-beta.2",
39
- "@univerjs-pro/engine-pivot": "1.0.0-beta.2",
40
- "@univerjs-pro/engine-shape": "1.0.0-beta.2",
41
- "@univerjs-pro/ink": "1.0.0-beta.2",
42
- "@univerjs-pro/license": "1.0.0-beta.2",
43
- "@univerjs-pro/range-preprocess": "1.0.0-beta.2",
44
- "@univerjs-pro/shape-editor": "1.0.0-beta.2",
45
- "@univerjs-pro/sheets-chart": "1.0.0-beta.2",
46
- "@univerjs-pro/sheets-outline": "1.0.0-beta.2",
47
- "@univerjs-pro/sheets-pivot": "1.0.0-beta.2",
48
- "@univerjs-pro/sheets-shape": "1.0.0-beta.2",
49
- "@univerjs-pro/sheets-sparkline": "1.0.0-beta.2",
50
- "@univerjs-pro/slides": "1.0.0-beta.2",
51
- "@univerjs-pro/slides-chart": "1.0.0-beta.2",
52
- "@univerjs-pro/slides-table": "1.0.0-beta.2",
53
- "@univerjs/core": "1.0.0-beta.2",
54
- "@univerjs/data-validation": "1.0.0-beta.2",
55
- "@univerjs/docs": "1.0.0-beta.2",
56
- "@univerjs/docs-drawing": "1.0.0-beta.2",
57
- "@univerjs/docs-hyper-link": "1.0.0-beta.2",
58
- "@univerjs/drawing": "1.0.0-beta.2",
59
- "@univerjs/engine-formula": "1.0.0-beta.2",
60
- "@univerjs/engine-render": "1.0.0-beta.2",
61
- "@univerjs/network": "1.0.0-beta.2",
62
- "@univerjs/sheets": "1.0.0-beta.2",
63
- "@univerjs/sheets-conditional-formatting": "1.0.0-beta.2",
64
- "@univerjs/sheets-data-validation": "1.0.0-beta.2",
65
- "@univerjs/sheets-drawing": "1.0.0-beta.2",
66
- "@univerjs/sheets-filter": "1.0.0-beta.2",
67
- "@univerjs/sheets-formula": "1.0.0-beta.2",
68
- "@univerjs/sheets-hyper-link": "1.0.0-beta.2",
69
- "@univerjs/sheets-note": "1.0.0-beta.2",
70
- "@univerjs/sheets-numfmt": "1.0.0-beta.2",
71
- "@univerjs/sheets-sort": "1.0.0-beta.2",
72
- "@univerjs/sheets-table": "1.0.0-beta.2",
73
- "@univerjs/sheets-thread-comment": "1.0.0-beta.2",
74
- "@univerjs/thread-comment": "1.0.0-beta.2"
21
+ "@univerjs-pro/bases": "1.0.0",
22
+ "@univerjs-pro/boards": "1.0.0",
23
+ "@univerjs-pro/boards-chart": "1.0.0",
24
+ "@univerjs-pro/boards-mind": "1.0.0",
25
+ "@univerjs-pro/boards-table": "1.0.0",
26
+ "@univerjs-pro/docs-callout": "1.0.0",
27
+ "@univerjs-pro/docs-chart": "1.0.0",
28
+ "@univerjs-pro/docs-code": "1.0.0",
29
+ "@univerjs-pro/docs-column": "1.0.0",
30
+ "@univerjs-pro/docs-latex": "1.0.0",
31
+ "@univerjs-pro/docs-list": "1.0.0",
32
+ "@univerjs-pro/docs-quote": "1.0.0",
33
+ "@univerjs-pro/docs-shape": "1.0.0",
34
+ "@univerjs-pro/docs-table": "1.0.0",
35
+ "@univerjs-pro/embed": "1.0.0",
36
+ "@univerjs-pro/engine-chart": "1.0.0",
37
+ "@univerjs-pro/engine-formula": "1.0.0",
38
+ "@univerjs-pro/engine-formula-rust": "1.0.0",
39
+ "@univerjs-pro/engine-pivot": "1.0.0",
40
+ "@univerjs-pro/engine-shape": "1.0.0",
41
+ "@univerjs-pro/ink": "1.0.0",
42
+ "@univerjs-pro/license": "1.0.0",
43
+ "@univerjs-pro/range-preprocess": "1.0.0",
44
+ "@univerjs-pro/shape-editor": "1.0.0",
45
+ "@univerjs-pro/sheets-chart": "1.0.0",
46
+ "@univerjs-pro/sheets-outline": "1.0.0",
47
+ "@univerjs-pro/sheets-pivot": "1.0.0",
48
+ "@univerjs-pro/sheets-shape": "1.0.0",
49
+ "@univerjs-pro/sheets-sparkline": "1.0.0",
50
+ "@univerjs-pro/slides": "1.0.0",
51
+ "@univerjs-pro/slides-chart": "1.0.0",
52
+ "@univerjs-pro/slides-table": "1.0.0",
53
+ "@univerjs/core": "1.0.0",
54
+ "@univerjs/data-validation": "1.0.0",
55
+ "@univerjs/docs": "1.0.0",
56
+ "@univerjs/docs-drawing": "1.0.0",
57
+ "@univerjs/docs-hyper-link": "1.0.0",
58
+ "@univerjs/drawing": "1.0.0",
59
+ "@univerjs/engine-formula": "1.0.0",
60
+ "@univerjs/engine-render": "1.0.0",
61
+ "@univerjs/network": "1.0.0",
62
+ "@univerjs/sheets": "1.0.0",
63
+ "@univerjs/sheets-conditional-formatting": "1.0.0",
64
+ "@univerjs/sheets-data-validation": "1.0.0",
65
+ "@univerjs/sheets-drawing": "1.0.0",
66
+ "@univerjs/sheets-filter": "1.0.0",
67
+ "@univerjs/sheets-formula": "1.0.0",
68
+ "@univerjs/sheets-hyper-link": "1.0.0",
69
+ "@univerjs/sheets-note": "1.0.0",
70
+ "@univerjs/sheets-numfmt": "1.0.0",
71
+ "@univerjs/sheets-sort": "1.0.0",
72
+ "@univerjs/sheets-table": "1.0.0",
73
+ "@univerjs/sheets-thread-comment": "1.0.0",
74
+ "@univerjs/thread-comment": "1.0.0"
75
75
  }
76
76
  }