@univerjs/docs-drawing 0.1.15 → 0.1.16

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";var P=Object.defineProperty;var M=(r,t,e)=>t in r?P(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var w=(r,t,e)=>(M(r,typeof t!="symbol"?t+"":t,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@univerjs/core"),f=require("@wendellhu/redi"),p=require("@univerjs/engine-render"),R=require("@univerjs/docs-ui"),U=require("@univerjs/drawing");class l extends U.UnitDrawingService{}const _=f.createIdentifier("univer.doc.plugin.doc-drawing.service");var O=(r=>(r[r.INSERT=0]="INSERT",r[r.REMOVE=1]="REMOVE",r[r.UPDATE=2]="UPDATE",r[r.ARRANGE=3]="ARRANGE",r[r.GROUP=4]="GROUP",r[r.UNGROUP=5]="UNGROUP",r))(O||{});const I={id:"doc.mutation.set-drawing-apply",type:s.CommandType.MUTATION,handler:(r,t)=>{const e=r.get(U.IDrawingManagerService),i=r.get(_),n=r.get(s.IUniverInstanceService),{op:o,unitId:a,subUnitId:g,type:S,objects:c}=t;switch(e.applyJson1(a,g,o),i.applyJson1(a,g,o),S){case 0:e.addNotification(c),i.addNotification(c);break;case 1:e.removeNotification(c),i.removeNotification(c);break;case 2:e.updateNotification(c),i.updateNotification(c);break;case 3:e.orderNotification(c),i.orderNotification(c);break;case 4:e.groupUpdateNotification(c);break;case 5:e.ungroupUpdateNotification(c);break}const h=n.getUnit(a);return h.getSnapshot().drawings=e.getDrawingData(a,g),h.getSnapshot().drawingsOrder=e.getDrawingOrder(a,g),!0}};var b=Object.defineProperty,E=Object.getOwnPropertyDescriptor,N=(r,t,e,i)=>{for(var n=i>1?void 0:i?E(t,e):t,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(t,e,n):a(n))||n);return i&&n&&b(t,e,n),n},d=(r,t)=>(e,i)=>t(e,i,r);const m="DOC_DRAWING_PLUGIN";let D=class extends s.Disposable{constructor(r){super(),this._commandService=r,this.disposeWithMe(this._commandService.registerCommand(I))}};D=N([s.OnLifecycle(s.LifecycleStages.Starting,D),d(0,s.ICommandService)],D);let u=class extends s.Disposable{constructor(r,t,e,i,n){super(),this._docDrawingService=r,this._drawingManagerService=t,this._resourceManagerService=e,this._univerInstanceService=i,this._textSelectionRenderManager=n,this._init()}_init(){this._initSnapshot(),this._initDataLoader()}_initSnapshot(){const r=e=>{const i=this._docDrawingService.getDrawingDataForUnit(e);return i?JSON.stringify(i):""},t=e=>{if(!e)return{};try{return JSON.parse(e)}catch{return{}}};this.disposeWithMe(this._resourceManagerService.registerPluginResource({pluginName:m,businesses:[s.UniverInstanceType.UNIVER_DOC],toJson:e=>r(e),parseJson:e=>t(e),onUnLoad:e=>{this._docDrawingService.removeDrawingDataForUnit(e),this._drawingManagerService.removeDrawingDataForUnit(e),this._setDrawingDataForUnit(e,{data:{},order:[]})},onLoad:(e,i)=>{this._docDrawingService.registerDrawingData(e,i),this._drawingManagerService.registerDrawingData(e,i),this._setDrawingDataForUnit(e,i[e])}}))}_setDrawingDataForUnit(r,t){const e=this._univerInstanceService.getUnit(r);e!=null&&e.resetDrawing(t.data,t.order)}_initDataLoader(){const r=this._univerInstanceService.getCurrentUnitForType(s.UniverInstanceType.UNIVER_DOC);if(!r)return!1;const t=r.getUnitId(),e=t,i=r.getDrawings(),n=r.getDrawingsOrder();if(!i||!n)return!1;Object.keys(i).forEach(a=>{const g=i[a],S=g.docTransform,c=R.docDrawingPositionToTransform(S);i[a]={...g,transform:c}});const o={[e]:{unitId:t,subUnitId:e,data:i,order:n}};return this._docDrawingService.registerDrawingData(t,o),this._drawingManagerService.registerDrawingData(t,o),!0}};u=N([s.OnLifecycle(s.LifecycleStages.Rendered,u),d(0,_),d(1,U.IDrawingManagerService),d(2,s.IResourceManagerService),d(3,s.IUniverInstanceService),d(4,p.ITextSelectionRenderManager)],u);var C=Object.defineProperty,L=Object.getOwnPropertyDescriptor,G=(r,t,e,i)=>{for(var n=i>1?void 0:i?L(t,e):t,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(t,e,n):a(n))||n);return i&&n&&C(t,e,n),n},j=(r,t)=>(e,i)=>t(e,i,r),v;exports.UniverDocsDrawingPlugin=(v=class extends s.Plugin{constructor(t,e){super(),this._injector=e}onStarting(t){[[D],[u],[l],[_,{useClass:l}]].forEach(e=>t.add(e))}},w(v,"pluginName",m),w(v,"type",s.UniverInstanceType.UNIVER_DOC),v);exports.UniverDocsDrawingPlugin=G([j(1,f.Inject(f.Injector))],exports.UniverDocsDrawingPlugin);exports.DocDrawingApplyType=O;exports.DocDrawingService=l;exports.IDocDrawingService=_;exports.SetDocDrawingApplyMutation=I;
1
+ "use strict";var P=Object.defineProperty;var M=(r,t,e)=>t in r?P(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var w=(r,t,e)=>M(r,typeof t!="symbol"?t+"":t,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@univerjs/core"),f=require("@wendellhu/redi"),p=require("@univerjs/engine-render"),R=require("@univerjs/docs-ui"),U=require("@univerjs/drawing");class l extends U.UnitDrawingService{}const _=f.createIdentifier("univer.doc.plugin.doc-drawing.service");var O=(r=>(r[r.INSERT=0]="INSERT",r[r.REMOVE=1]="REMOVE",r[r.UPDATE=2]="UPDATE",r[r.ARRANGE=3]="ARRANGE",r[r.GROUP=4]="GROUP",r[r.UNGROUP=5]="UNGROUP",r))(O||{});const I={id:"doc.mutation.set-drawing-apply",type:s.CommandType.MUTATION,handler:(r,t)=>{const e=r.get(U.IDrawingManagerService),i=r.get(_),n=r.get(s.IUniverInstanceService),{op:o,unitId:a,subUnitId:g,type:S,objects:c}=t;switch(e.applyJson1(a,g,o),i.applyJson1(a,g,o),S){case 0:e.addNotification(c),i.addNotification(c);break;case 1:e.removeNotification(c),i.removeNotification(c);break;case 2:e.updateNotification(c),i.updateNotification(c);break;case 3:e.orderNotification(c),i.orderNotification(c);break;case 4:e.groupUpdateNotification(c);break;case 5:e.ungroupUpdateNotification(c);break}const h=n.getUnit(a);return h.getSnapshot().drawings=e.getDrawingData(a,g),h.getSnapshot().drawingsOrder=e.getDrawingOrder(a,g),!0}};var b=Object.defineProperty,E=Object.getOwnPropertyDescriptor,N=(r,t,e,i)=>{for(var n=i>1?void 0:i?E(t,e):t,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(t,e,n):a(n))||n);return i&&n&&b(t,e,n),n},d=(r,t)=>(e,i)=>t(e,i,r);const m="DOC_DRAWING_PLUGIN";let D=class extends s.Disposable{constructor(r){super(),this._commandService=r,this.disposeWithMe(this._commandService.registerCommand(I))}};D=N([s.OnLifecycle(s.LifecycleStages.Starting,D),d(0,s.ICommandService)],D);let u=class extends s.Disposable{constructor(r,t,e,i,n){super(),this._docDrawingService=r,this._drawingManagerService=t,this._resourceManagerService=e,this._univerInstanceService=i,this._textSelectionRenderManager=n,this._init()}_init(){this._initSnapshot(),this._initDataLoader()}_initSnapshot(){const r=e=>{const i=this._docDrawingService.getDrawingDataForUnit(e);return i?JSON.stringify(i):""},t=e=>{if(!e)return{};try{return JSON.parse(e)}catch{return{}}};this.disposeWithMe(this._resourceManagerService.registerPluginResource({pluginName:m,businesses:[s.UniverInstanceType.UNIVER_DOC],toJson:e=>r(e),parseJson:e=>t(e),onUnLoad:e=>{this._docDrawingService.removeDrawingDataForUnit(e),this._drawingManagerService.removeDrawingDataForUnit(e),this._setDrawingDataForUnit(e,{data:{},order:[]})},onLoad:(e,i)=>{this._docDrawingService.registerDrawingData(e,i),this._drawingManagerService.registerDrawingData(e,i),this._setDrawingDataForUnit(e,i[e])}}))}_setDrawingDataForUnit(r,t){const e=this._univerInstanceService.getUnit(r);e!=null&&e.resetDrawing(t.data,t.order)}_initDataLoader(){const r=this._univerInstanceService.getCurrentUnitForType(s.UniverInstanceType.UNIVER_DOC);if(!r)return!1;const t=r.getUnitId(),e=t,i=r.getDrawings(),n=r.getDrawingsOrder();if(!i||!n)return!1;Object.keys(i).forEach(a=>{const g=i[a],S=g.docTransform,c=R.docDrawingPositionToTransform(S);i[a]={...g,transform:c}});const o={[e]:{unitId:t,subUnitId:e,data:i,order:n}};return this._docDrawingService.registerDrawingData(t,o),this._drawingManagerService.registerDrawingData(t,o),!0}};u=N([s.OnLifecycle(s.LifecycleStages.Rendered,u),d(0,_),d(1,U.IDrawingManagerService),d(2,s.IResourceManagerService),d(3,s.IUniverInstanceService),d(4,p.ITextSelectionRenderManager)],u);var C=Object.defineProperty,L=Object.getOwnPropertyDescriptor,G=(r,t,e,i)=>{for(var n=i>1?void 0:i?L(t,e):t,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(t,e,n):a(n))||n);return i&&n&&C(t,e,n),n},j=(r,t)=>(e,i)=>t(e,i,r),v;exports.UniverDocsDrawingPlugin=(v=class extends s.Plugin{constructor(t,e){super(),this._injector=e}onStarting(t){[[D],[u],[l],[_,{useClass:l}]].forEach(e=>t.add(e))}},w(v,"pluginName",m),w(v,"type",s.UniverInstanceType.UNIVER_DOC),v);exports.UniverDocsDrawingPlugin=G([j(1,f.Inject(f.Injector))],exports.UniverDocsDrawingPlugin);exports.DocDrawingApplyType=O;exports.DocDrawingService=l;exports.IDocDrawingService=_;exports.SetDocDrawingApplyMutation=I;
package/lib/es/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var R = Object.defineProperty;
2
2
  var p = (r, t, e) => t in r ? R(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
- var D = (r, t, e) => (p(r, typeof t != "symbol" ? t + "" : t, e), e);
3
+ var D = (r, t, e) => p(r, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { CommandType as b, IUniverInstanceService as U, OnLifecycle as l, LifecycleStages as N, Disposable as O, ICommandService as E, UniverInstanceType as f, IResourceManagerService as C, Plugin as G } from "@univerjs/core";
5
5
  import { createIdentifier as L, Inject as j, Injector as J } from "@wendellhu/redi";
6
6
  import { ITextSelectionRenderManager as x } from "@univerjs/engine-render";
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(a,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("@univerjs/core"),require("@wendellhu/redi"),require("@univerjs/engine-render"),require("@univerjs/docs-ui"),require("@univerjs/drawing")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@wendellhu/redi","@univerjs/engine-render","@univerjs/docs-ui","@univerjs/drawing"],t):(a=typeof globalThis<"u"?globalThis:a||self,t(a.UniverDocsDrawing={},a.UniverCore,a["@wendellhu/redi"],a.UniverEngineRender,a.UniverDocsUi,a.UniverDrawing))})(this,function(a,t,g,M,p,w){"use strict";var G=Object.defineProperty;var T=(a,t,g)=>t in a?G(a,t,{enumerable:!0,configurable:!0,writable:!0,value:g}):a[t]=g;var l=(a,t,g)=>(T(a,typeof t!="symbol"?t+"":t,g),g);var S;class U extends w.UnitDrawingService{}const D=g.createIdentifier("univer.doc.plugin.doc-drawing.service");var O=(r=>(r[r.INSERT=0]="INSERT",r[r.REMOVE=1]="REMOVE",r[r.UPDATE=2]="UPDATE",r[r.ARRANGE=3]="ARRANGE",r[r.GROUP=4]="GROUP",r[r.UNGROUP=5]="UNGROUP",r))(O||{});const I={id:"doc.mutation.set-drawing-apply",type:t.CommandType.MUTATION,handler:(r,i)=>{const e=r.get(w.IDrawingManagerService),n=r.get(D),s=r.get(t.IUniverInstanceService),{op:c,unitId:o,subUnitId:u,type:h,objects:d}=i;switch(e.applyJson1(o,u,c),n.applyJson1(o,u,c),h){case 0:e.addNotification(d),n.addNotification(d);break;case 1:e.removeNotification(d),n.removeNotification(d);break;case 2:e.updateNotification(d),n.updateNotification(d);break;case 3:e.orderNotification(d),n.orderNotification(d);break;case 4:e.groupUpdateNotification(d);break;case 5:e.ungroupUpdateNotification(d);break}const P=s.getUnit(o);return P.getSnapshot().drawings=e.getDrawingData(o,u),P.getSnapshot().drawingsOrder=e.getDrawingOrder(o,u),!0}};var R=Object.defineProperty,j=Object.getOwnPropertyDescriptor,m=(r,i,e,n)=>{for(var s=n>1?void 0:n?j(i,e):i,c=r.length-1,o;c>=0;c--)(o=r[c])&&(s=(n?o(i,e,s):o(s))||s);return n&&s&&R(i,e,s),s},v=(r,i)=>(e,n)=>i(e,n,r);const N="DOC_DRAWING_PLUGIN";let f=class extends t.Disposable{constructor(r){super(),this._commandService=r,this.disposeWithMe(this._commandService.registerCommand(I))}};f=m([t.OnLifecycle(t.LifecycleStages.Starting,f),v(0,t.ICommandService)],f);let _=class extends t.Disposable{constructor(r,i,e,n,s){super(),this._docDrawingService=r,this._drawingManagerService=i,this._resourceManagerService=e,this._univerInstanceService=n,this._textSelectionRenderManager=s,this._init()}_init(){this._initSnapshot(),this._initDataLoader()}_initSnapshot(){const r=e=>{const n=this._docDrawingService.getDrawingDataForUnit(e);return n?JSON.stringify(n):""},i=e=>{if(!e)return{};try{return JSON.parse(e)}catch{return{}}};this.disposeWithMe(this._resourceManagerService.registerPluginResource({pluginName:N,businesses:[t.UniverInstanceType.UNIVER_DOC],toJson:e=>r(e),parseJson:e=>i(e),onUnLoad:e=>{this._docDrawingService.removeDrawingDataForUnit(e),this._drawingManagerService.removeDrawingDataForUnit(e),this._setDrawingDataForUnit(e,{data:{},order:[]})},onLoad:(e,n)=>{this._docDrawingService.registerDrawingData(e,n),this._drawingManagerService.registerDrawingData(e,n),this._setDrawingDataForUnit(e,n[e])}}))}_setDrawingDataForUnit(r,i){const e=this._univerInstanceService.getUnit(r);e!=null&&e.resetDrawing(i.data,i.order)}_initDataLoader(){const r=this._univerInstanceService.getCurrentUnitForType(t.UniverInstanceType.UNIVER_DOC);if(!r)return!1;const i=r.getUnitId(),e=i,n=r.getDrawings(),s=r.getDrawingsOrder();if(!n||!s)return!1;Object.keys(n).forEach(o=>{const u=n[o],h=u.docTransform,d=p.docDrawingPositionToTransform(h);n[o]={...u,transform:d}});const c={[e]:{unitId:i,subUnitId:e,data:n,order:s}};return this._docDrawingService.registerDrawingData(i,c),this._drawingManagerService.registerDrawingData(i,c),!0}};_=m([t.OnLifecycle(t.LifecycleStages.Rendered,_),v(0,D),v(1,w.IDrawingManagerService),v(2,t.IResourceManagerService),v(3,t.IUniverInstanceService),v(4,M.ITextSelectionRenderManager)],_);var b=Object.defineProperty,E=Object.getOwnPropertyDescriptor,C=(r,i,e,n)=>{for(var s=n>1?void 0:n?E(i,e):i,c=r.length-1,o;c>=0;c--)(o=r[c])&&(s=(n?o(i,e,s):o(s))||s);return n&&s&&b(i,e,s),s},L=(r,i)=>(e,n)=>i(e,n,r);a.UniverDocsDrawingPlugin=(S=class extends t.Plugin{constructor(i,e){super(),this._injector=e}onStarting(i){[[f],[_],[U],[D,{useClass:U}]].forEach(e=>i.add(e))}},l(S,"pluginName",N),l(S,"type",t.UniverInstanceType.UNIVER_DOC),S),a.UniverDocsDrawingPlugin=C([L(1,g.Inject(g.Injector))],a.UniverDocsDrawingPlugin),a.DocDrawingApplyType=O,a.DocDrawingService=U,a.IDocDrawingService=D,a.SetDocDrawingApplyMutation=I,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
1
+ (function(a,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("@univerjs/core"),require("@wendellhu/redi"),require("@univerjs/engine-render"),require("@univerjs/docs-ui"),require("@univerjs/drawing")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@wendellhu/redi","@univerjs/engine-render","@univerjs/docs-ui","@univerjs/drawing"],t):(a=typeof globalThis<"u"?globalThis:a||self,t(a.UniverDocsDrawing={},a.UniverCore,a["@wendellhu/redi"],a.UniverEngineRender,a.UniverDocsUi,a.UniverDrawing))})(this,function(a,t,g,M,p,w){"use strict";var G=Object.defineProperty;var T=(a,t,g)=>t in a?G(a,t,{enumerable:!0,configurable:!0,writable:!0,value:g}):a[t]=g;var l=(a,t,g)=>T(a,typeof t!="symbol"?t+"":t,g);var S;class U extends w.UnitDrawingService{}const D=g.createIdentifier("univer.doc.plugin.doc-drawing.service");var O=(r=>(r[r.INSERT=0]="INSERT",r[r.REMOVE=1]="REMOVE",r[r.UPDATE=2]="UPDATE",r[r.ARRANGE=3]="ARRANGE",r[r.GROUP=4]="GROUP",r[r.UNGROUP=5]="UNGROUP",r))(O||{});const I={id:"doc.mutation.set-drawing-apply",type:t.CommandType.MUTATION,handler:(r,i)=>{const e=r.get(w.IDrawingManagerService),n=r.get(D),s=r.get(t.IUniverInstanceService),{op:c,unitId:o,subUnitId:u,type:h,objects:d}=i;switch(e.applyJson1(o,u,c),n.applyJson1(o,u,c),h){case 0:e.addNotification(d),n.addNotification(d);break;case 1:e.removeNotification(d),n.removeNotification(d);break;case 2:e.updateNotification(d),n.updateNotification(d);break;case 3:e.orderNotification(d),n.orderNotification(d);break;case 4:e.groupUpdateNotification(d);break;case 5:e.ungroupUpdateNotification(d);break}const P=s.getUnit(o);return P.getSnapshot().drawings=e.getDrawingData(o,u),P.getSnapshot().drawingsOrder=e.getDrawingOrder(o,u),!0}};var R=Object.defineProperty,j=Object.getOwnPropertyDescriptor,m=(r,i,e,n)=>{for(var s=n>1?void 0:n?j(i,e):i,c=r.length-1,o;c>=0;c--)(o=r[c])&&(s=(n?o(i,e,s):o(s))||s);return n&&s&&R(i,e,s),s},v=(r,i)=>(e,n)=>i(e,n,r);const N="DOC_DRAWING_PLUGIN";let f=class extends t.Disposable{constructor(r){super(),this._commandService=r,this.disposeWithMe(this._commandService.registerCommand(I))}};f=m([t.OnLifecycle(t.LifecycleStages.Starting,f),v(0,t.ICommandService)],f);let _=class extends t.Disposable{constructor(r,i,e,n,s){super(),this._docDrawingService=r,this._drawingManagerService=i,this._resourceManagerService=e,this._univerInstanceService=n,this._textSelectionRenderManager=s,this._init()}_init(){this._initSnapshot(),this._initDataLoader()}_initSnapshot(){const r=e=>{const n=this._docDrawingService.getDrawingDataForUnit(e);return n?JSON.stringify(n):""},i=e=>{if(!e)return{};try{return JSON.parse(e)}catch{return{}}};this.disposeWithMe(this._resourceManagerService.registerPluginResource({pluginName:N,businesses:[t.UniverInstanceType.UNIVER_DOC],toJson:e=>r(e),parseJson:e=>i(e),onUnLoad:e=>{this._docDrawingService.removeDrawingDataForUnit(e),this._drawingManagerService.removeDrawingDataForUnit(e),this._setDrawingDataForUnit(e,{data:{},order:[]})},onLoad:(e,n)=>{this._docDrawingService.registerDrawingData(e,n),this._drawingManagerService.registerDrawingData(e,n),this._setDrawingDataForUnit(e,n[e])}}))}_setDrawingDataForUnit(r,i){const e=this._univerInstanceService.getUnit(r);e!=null&&e.resetDrawing(i.data,i.order)}_initDataLoader(){const r=this._univerInstanceService.getCurrentUnitForType(t.UniverInstanceType.UNIVER_DOC);if(!r)return!1;const i=r.getUnitId(),e=i,n=r.getDrawings(),s=r.getDrawingsOrder();if(!n||!s)return!1;Object.keys(n).forEach(o=>{const u=n[o],h=u.docTransform,d=p.docDrawingPositionToTransform(h);n[o]={...u,transform:d}});const c={[e]:{unitId:i,subUnitId:e,data:n,order:s}};return this._docDrawingService.registerDrawingData(i,c),this._drawingManagerService.registerDrawingData(i,c),!0}};_=m([t.OnLifecycle(t.LifecycleStages.Rendered,_),v(0,D),v(1,w.IDrawingManagerService),v(2,t.IResourceManagerService),v(3,t.IUniverInstanceService),v(4,M.ITextSelectionRenderManager)],_);var b=Object.defineProperty,E=Object.getOwnPropertyDescriptor,C=(r,i,e,n)=>{for(var s=n>1?void 0:n?E(i,e):i,c=r.length-1,o;c>=0;c--)(o=r[c])&&(s=(n?o(i,e,s):o(s))||s);return n&&s&&b(i,e,s),s},L=(r,i)=>(e,n)=>i(e,n,r);a.UniverDocsDrawingPlugin=(S=class extends t.Plugin{constructor(i,e){super(),this._injector=e}onStarting(i){[[f],[_],[U],[D,{useClass:U}]].forEach(e=>i.add(e))}},l(S,"pluginName",N),l(S,"type",t.UniverInstanceType.UNIVER_DOC),S),a.UniverDocsDrawingPlugin=C([L(1,g.Inject(g.Injector))],a.UniverDocsDrawingPlugin),a.DocDrawingApplyType=O,a.DocDrawingService=U,a.IDocDrawingService=D,a.SetDocDrawingApplyMutation=I,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/docs-drawing",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -45,22 +45,22 @@
45
45
  ],
46
46
  "peerDependencies": {
47
47
  "@wendellhu/redi": "0.15.4",
48
- "@univerjs/core": "0.1.15",
49
- "@univerjs/docs-ui": "0.1.15",
50
- "@univerjs/drawing": "0.1.15",
51
- "@univerjs/engine-render": "0.1.15"
48
+ "@univerjs/docs-ui": "0.1.16",
49
+ "@univerjs/drawing": "0.1.16",
50
+ "@univerjs/engine-render": "0.1.16",
51
+ "@univerjs/core": "0.1.16"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@wendellhu/redi": "^0.15.4",
55
55
  "typescript": "^5.4.5",
56
- "vite": "^5.2.13",
56
+ "vite": "^5.3.1",
57
57
  "vitest": "^1.6.0",
58
- "@univerjs/core": "0.1.15",
59
- "@univerjs/docs": "0.1.15",
60
- "@univerjs/drawing": "0.1.15",
61
- "@univerjs/docs-ui": "0.1.15",
62
- "@univerjs/engine-render": "0.1.15",
63
- "@univerjs/shared": "0.1.15"
58
+ "@univerjs/core": "0.1.16",
59
+ "@univerjs/docs": "0.1.16",
60
+ "@univerjs/docs-ui": "0.1.16",
61
+ "@univerjs/drawing": "0.1.16",
62
+ "@univerjs/engine-render": "0.1.16",
63
+ "@univerjs/shared": "0.1.16"
64
64
  },
65
65
  "univerSpace": {
66
66
  ".": {