@univerjs/uniscript 0.2.7 → 0.2.8

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.
@@ -1,4 +1,3 @@
1
1
  import { IOperation } from '@univerjs/core';
2
-
3
2
  export declare const ScriptPanelComponentName = "ScriptPanel";
4
3
  export declare const ToggleScriptPanelOperation: IOperation;
@@ -1,4 +1,3 @@
1
1
  import { IMenuButtonItem } from '@univerjs/ui';
2
2
  import { IAccessor } from '@univerjs/core';
3
-
4
3
  export declare function UniscriptMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
@@ -1,6 +1,5 @@
1
1
  import { Disposable, ICommandService, Injector } from '@univerjs/core';
2
2
  import { MenuConfig, ComponentManager, IMenuService } from '@univerjs/ui';
3
-
4
3
  export interface IUniverUniscriptConfig {
5
4
  getWorkerUrl(moduleID: string, label: string): string;
6
5
  menu: MenuConfig;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,6 +1,5 @@
1
1
  import { Injector, LocaleService, Plugin } from '@univerjs/core';
2
2
  import { IUniverUniscriptConfig } from './controllers/uniscript.controller';
3
-
4
3
  export declare class UniverUniscriptPlugin extends Plugin {
5
4
  private readonly _config;
6
5
  protected _injector: Injector;
@@ -1,7 +1,6 @@
1
1
  import { Disposable, IDisposable } from '@univerjs/core';
2
2
  import { editor } from 'monaco-editor';
3
3
  import { IUniverUniscriptConfig } from '../controllers/uniscript.controller';
4
-
5
4
  /**
6
5
  * This service is for loading monaco editor and its resources. It also holds the
7
6
  * monaco editor instance so user can interact with the editor programmatically.
@@ -1,5 +1,4 @@
1
1
  import { Disposable, ILogService, Injector } from '@univerjs/core';
2
-
3
2
  export declare const IUniscriptExecutionService: import('@univerjs/core').IdentifierDecorator<IUniscriptExecutionService>;
4
3
  export interface IUniscriptExecutionService {
5
4
  execute(code: string): Promise<boolean>;
@@ -1,5 +1,4 @@
1
1
  import { Disposable } from '@univerjs/core';
2
-
3
2
  export declare class ScriptPanelService extends Disposable {
4
3
  private _open$;
5
4
  open$: import('rxjs').Observable<boolean>;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function ScriptEditorPanel(): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/uniscript",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "private": false,
5
5
  "description": "UI component library for building exceptional Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -53,15 +53,15 @@
53
53
  "monaco-editor": ">=0.44.0",
54
54
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
55
55
  "rxjs": ">=7.0.0",
56
- "@univerjs/core": "0.2.7",
57
- "@univerjs/design": "0.2.7",
58
- "@univerjs/facade": "0.2.7",
59
- "@univerjs/sheets": "0.2.7",
60
- "@univerjs/sheets-ui": "0.2.7",
61
- "@univerjs/ui": "0.2.7"
56
+ "@univerjs/core": "0.2.8",
57
+ "@univerjs/facade": "0.2.8",
58
+ "@univerjs/design": "0.2.8",
59
+ "@univerjs/sheets-ui": "0.2.8",
60
+ "@univerjs/sheets": "0.2.8",
61
+ "@univerjs/ui": "0.2.8"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs/protocol": "0.1.38"
64
+ "@univerjs/protocol": "0.1.39-alpha.3"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/react": "^18.3.3",
@@ -69,15 +69,15 @@
69
69
  "monaco-editor": "0.50.0",
70
70
  "rxjs": "^7.8.1",
71
71
  "typescript": "^5.5.4",
72
- "vite": "^5.3.5",
72
+ "vite": "^5.4.0",
73
73
  "vitest": "^2.0.5",
74
- "@univerjs/core": "0.2.7",
75
- "@univerjs/facade": "0.2.7",
76
- "@univerjs/sheets": "0.2.7",
77
- "@univerjs/shared": "0.2.7",
78
- "@univerjs/design": "0.2.7",
79
- "@univerjs/sheets-ui": "0.2.7",
80
- "@univerjs/ui": "0.2.7"
74
+ "@univerjs/core": "0.2.8",
75
+ "@univerjs/facade": "0.2.8",
76
+ "@univerjs/shared": "0.2.8",
77
+ "@univerjs/design": "0.2.8",
78
+ "@univerjs/sheets": "0.2.8",
79
+ "@univerjs/sheets-ui": "0.2.8",
80
+ "@univerjs/ui": "0.2.8"
81
81
  },
82
82
  "univerSpace": {
83
83
  ".": {