@univerjs/uniscript 0.5.1-nightly.202412101606 → 0.5.1-nightly.202412111529

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/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-C37lYkbb.js");exports.IUniscriptExecutionService=e.IUniscriptExecutionService;Object.defineProperty(exports,"ScriptEditorService",{enumerable:!0,get:()=>e.ScriptEditorService});exports.ToggleScriptPanelOperation=e.ToggleScriptPanelOperation;Object.defineProperty(exports,"UniverUniscriptPlugin",{enumerable:!0,get:()=>e.UniverUniscriptPlugin});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-DpZadhE8.js");exports.IUniscriptExecutionService=e.IUniscriptExecutionService;Object.defineProperty(exports,"ScriptEditorService",{enumerable:!0,get:()=>e.ScriptEditorService});exports.ToggleScriptPanelOperation=e.ToggleScriptPanelOperation;Object.defineProperty(exports,"UniverUniscriptPlugin",{enumerable:!0,get:()=>e.UniverUniscriptPlugin});
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ht=require("./index-C37lYkbb.js");/*!-----------------------------------------------------------------------------
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ht=require("./index-DpZadhE8.js");/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
4
  * Released under the MIT license
package/lib/es/index.js CHANGED
@@ -112496,6 +112496,9 @@ let NE = class extends RD {
112496
112496
  Ci(this, "_editorInstance", null);
112497
112497
  this._configService = e;
112498
112498
  }
112499
+ dispose() {
112500
+ super.dispose(), this._editorInstance && this._editorInstance.dispose();
112501
+ }
112499
112502
  setEditorInstance(e) {
112500
112503
  return this._editorInstance = e, JK(() => this._editorInstance = null);
112501
112504
  }
@@ -112505,9 +112508,7 @@ let NE = class extends RD {
112505
112508
  requireVscodeEditor() {
112506
112509
  if (!window.MonacoEnvironment) {
112507
112510
  const e = this._configService.getConfig(nG);
112508
- window.MonacoEnvironment = {
112509
- getWorkerUrl: e == null ? void 0 : e.getWorkerUrl
112510
- };
112511
+ window.MonacoEnvironment = { getWorkerUrl: e == null ? void 0 : e.getWorkerUrl };
112511
112512
  }
112512
112513
  }
112513
112514
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-C37lYkbb.js");/*!-----------------------------------------------------------------------------
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-DpZadhE8.js");/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-C37lYkbb.js");/*!-----------------------------------------------------------------------------
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-DpZadhE8.js");/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-C37lYkbb.js");/*!-----------------------------------------------------------------------------
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-DpZadhE8.js");/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./index-C37lYkbb.js");/*!-----------------------------------------------------------------------------
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./index-DpZadhE8.js");/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
4
  * Released under the MIT license