@univerjs/drawing 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805

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/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Rt = Object.defineProperty;
2
2
  var xt = (a, e, t) => e in a ? Rt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var F = (a, e, t) => xt(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { createIdentifier as Bt, CommandType as Wt, sortRules as Lt, sortRulesByDesc as Gt, ImageSourceType as at, ImageUploadStatusType as et, generateRandomId as qt, Disposable as $t, toDisposable as Kt, Inject as Ft, Injector as Vt, IConfigService as Ht, ICommandService as zt, Plugin as Xt, merge as Jt, mergeOverrideWithDependencies as Yt, IImageIoService as Zt, IURLImageService as Qt } from "@univerjs/core";
4
+ import { createIdentifier as Bt, CommandType as Wt, sortRules as Lt, sortRulesByDesc as Gt, ImageSourceType as at, ImageUploadStatusType as et, generateRandomId as qt, Disposable as $t, toDisposable as Kt, Inject as Ft, Injector as Vt, Plugin as Ht, merge as zt, mergeOverrideWithDependencies as Xt, IImageIoService as Jt, IURLImageService as Yt, IConfigService as Zt, ICommandService as Qt } from "@univerjs/core";
5
5
  import { IImageIoService as Tn, ImageSourceType as Sn, ImageUploadStatusType as kn } from "@univerjs/core";
6
6
  import { Subject as be } from "rxjs";
7
7
  const wn = 500, bn = 500, In = 10, en = 5 * 1024 * 1024, tn = ["image/png", "image/jpeg", "image/jpg", "image/gif", "image/bmp"], kt = Bt("univer.drawing-manager.service"), nn = {
@@ -1992,10 +1992,10 @@ var gn = Object.getOwnPropertyDescriptor, yn = (a, e, t, n) => {
1992
1992
  }, dt = (a, e) => (t, n) => e(t, n, a);
1993
1993
  const _n = "UNIVER_DRAWING_PLUGIN";
1994
1994
  var ft;
1995
- let St = (ft = class extends Xt {
1995
+ let St = (ft = class extends Ht {
1996
1996
  constructor(a = mt, e, t, n) {
1997
1997
  super(), this._config = a, this._injector = e, this._configService = t, this._commandService = n;
1998
- const { ...r } = Jt(
1998
+ const { ...r } = zt(
1999
1999
  {},
2000
2000
  mt,
2001
2001
  this._config
@@ -2007,9 +2007,9 @@ let St = (ft = class extends Xt {
2007
2007
  }
2008
2008
  _initDependencies() {
2009
2009
  var t;
2010
- Yt([
2011
- [Zt, { useClass: hn }],
2012
- [Qt, { useClass: pn }],
2010
+ Xt([
2011
+ [Jt, { useClass: hn }],
2012
+ [Yt, { useClass: pn }],
2013
2013
  [kt, { useClass: fn }]
2014
2014
  ], (t = this._config) == null ? void 0 : t.override).forEach((n) => this._injector.add(n));
2015
2015
  }
@@ -2021,8 +2021,8 @@ let St = (ft = class extends Xt {
2021
2021
  }, F(ft, "pluginName", _n), ft);
2022
2022
  St = yn([
2023
2023
  dt(1, Ft(Vt)),
2024
- dt(2, Ht),
2025
- dt(3, zt)
2024
+ dt(2, Zt),
2025
+ dt(3, Qt)
2026
2026
  ], St);
2027
2027
  function Cn({ unitId: a, subUnitId: e, drawingId: t }, n) {
2028
2028
  return typeof n == "number" ? `${a}#-#${e}#-#${t}#-#${n}` : `${a}#-#${e}#-#${t}`;
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Rt = Object.defineProperty;
2
2
  var xt = (a, e, t) => e in a ? Rt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var F = (a, e, t) => xt(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { createIdentifier as Bt, CommandType as Wt, sortRules as Lt, sortRulesByDesc as Gt, ImageSourceType as at, ImageUploadStatusType as et, generateRandomId as qt, Disposable as $t, toDisposable as Kt, Inject as Ft, Injector as Vt, IConfigService as Ht, ICommandService as zt, Plugin as Xt, merge as Jt, mergeOverrideWithDependencies as Yt, IImageIoService as Zt, IURLImageService as Qt } from "@univerjs/core";
4
+ import { createIdentifier as Bt, CommandType as Wt, sortRules as Lt, sortRulesByDesc as Gt, ImageSourceType as at, ImageUploadStatusType as et, generateRandomId as qt, Disposable as $t, toDisposable as Kt, Inject as Ft, Injector as Vt, Plugin as Ht, merge as zt, mergeOverrideWithDependencies as Xt, IImageIoService as Jt, IURLImageService as Yt, IConfigService as Zt, ICommandService as Qt } from "@univerjs/core";
5
5
  import { IImageIoService as Tn, ImageSourceType as Sn, ImageUploadStatusType as kn } from "@univerjs/core";
6
6
  import { Subject as be } from "rxjs";
7
7
  const wn = 500, bn = 500, In = 10, en = 5 * 1024 * 1024, tn = ["image/png", "image/jpeg", "image/jpg", "image/gif", "image/bmp"], kt = Bt("univer.drawing-manager.service"), nn = {
@@ -1992,10 +1992,10 @@ var gn = Object.getOwnPropertyDescriptor, yn = (a, e, t, n) => {
1992
1992
  }, dt = (a, e) => (t, n) => e(t, n, a);
1993
1993
  const _n = "UNIVER_DRAWING_PLUGIN";
1994
1994
  var ft;
1995
- let St = (ft = class extends Xt {
1995
+ let St = (ft = class extends Ht {
1996
1996
  constructor(a = mt, e, t, n) {
1997
1997
  super(), this._config = a, this._injector = e, this._configService = t, this._commandService = n;
1998
- const { ...r } = Jt(
1998
+ const { ...r } = zt(
1999
1999
  {},
2000
2000
  mt,
2001
2001
  this._config
@@ -2007,9 +2007,9 @@ let St = (ft = class extends Xt {
2007
2007
  }
2008
2008
  _initDependencies() {
2009
2009
  var t;
2010
- Yt([
2011
- [Zt, { useClass: hn }],
2012
- [Qt, { useClass: pn }],
2010
+ Xt([
2011
+ [Jt, { useClass: hn }],
2012
+ [Yt, { useClass: pn }],
2013
2013
  [kt, { useClass: fn }]
2014
2014
  ], (t = this._config) == null ? void 0 : t.override).forEach((n) => this._injector.add(n));
2015
2015
  }
@@ -2021,8 +2021,8 @@ let St = (ft = class extends Xt {
2021
2021
  }, F(ft, "pluginName", _n), ft);
2022
2022
  St = yn([
2023
2023
  dt(1, Ft(Vt)),
2024
- dt(2, Ht),
2025
- dt(3, zt)
2024
+ dt(2, Zt),
2025
+ dt(3, Qt)
2026
2026
  ], St);
2027
2027
  function Cn({ unitId: a, subUnitId: e, drawingId: t }, n) {
2028
2028
  return typeof n == "number" ? `${a}#-#${e}#-#${t}#-#${n}` : `${a}#-#${e}#-#${t}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/drawing",
3
- "version": "0.15.2-insiders.20260124-12fc7f0",
3
+ "version": "0.15.3-insiders.20260131-b9b8805",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,14 +47,14 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "ot-json1": "^1.0.2",
50
- "@univerjs/core": "0.15.2-insiders.20260124-12fc7f0"
50
+ "@univerjs/core": "0.15.3-insiders.20260131-b9b8805"
51
51
  },
52
52
  "devDependencies": {
53
53
  "rxjs": "^7.8.2",
54
54
  "typescript": "^5.9.3",
55
55
  "vite": "^7.3.1",
56
- "vitest": "^4.0.16",
57
- "@univerjs-infra/shared": "0.15.2"
56
+ "vitest": "^4.0.18",
57
+ "@univerjs-infra/shared": "0.15.3"
58
58
  },
59
59
  "scripts": {
60
60
  "test": "vitest run",