@univerjs-pro/shape-thread-comment 1.4.0 → 1.5.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
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Package Overview
10
10
 
11
- | Package | UMD global | CSS | Locales | Facade entry |
12
- | --- | --- | :---: | :---: | :---: |
13
- | `@univerjs-pro/shape-thread-comment` | `UniverProShapeThreadComment` | No | No | Yes |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs-pro/shape-thread-comment` | `UniverProShapeThreadComment` | No | No | Yes | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,10 +20,10 @@ pnpm add @univerjs-pro/shape-thread-comment
20
20
  npm install @univerjs-pro/shape-thread-comment
21
21
  ```
22
22
 
23
- Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
24
-
25
23
  ## Usage
26
24
 
25
+ Start with the [integration setup](https://docs.univer.ai/) for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
26
+
27
27
  Register `UniverShapeThreadCommentPlugin` with the Univer thread comment plugin.
28
28
 
29
29
  Import the Facade entry to add `createCommentAsync`, `getComments`, and `listCommentsAsync` to `FShape`.
@@ -37,10 +37,10 @@ await shape?.createCommentAsync('Align this shape.', { id: 'review-shape-1' });
37
37
 
38
38
  ## Integration Notes
39
39
 
40
- - Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
41
40
  - Import `@univerjs-pro/shape-thread-comment/facade` when using the package through Univer Facade APIs.
42
41
 
43
42
  ## Resources
44
43
 
45
- - [Documentation](https://docs.univer.ai/guides/pro)
44
+ - [Documentation](https://docs.univer.ai)
46
45
  - [NPM package](https://npmjs.com/package/@univerjs-pro/shape-thread-comment)
46
+ - [GitHub repository](https://github.com/dream-num/univer-pro)
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x58e819=_0xaa4f;(function(_0x9b2133,_0x298830){const _0x3e65e4=_0xaa4f,_0x5e449d=_0x9b2133();while(!![]){try{const _0x247c74=parseInt(_0x3e65e4(0x187))/0x1+parseInt(_0x3e65e4(0x194))/0x2+-parseInt(_0x3e65e4(0x18d))/0x3+parseInt(_0x3e65e4(0x18f))/0x4+parseInt(_0x3e65e4(0x180))/0x5+parseInt(_0x3e65e4(0x181))/0x6*(parseInt(_0x3e65e4(0x17b))/0x7)+-parseInt(_0x3e65e4(0x192))/0x8;if(_0x247c74===_0x298830)break;else _0x5e449d['push'](_0x5e449d['shift']());}catch(_0xfb4ba1){_0x5e449d['push'](_0x5e449d['shift']());}}}(_0x2af2,0xd3b09),Object[_0x58e819(0x1a2)](exports,Symbol[_0x58e819(0x191)],{'value':_0x58e819(0x18a)}));var e=Object[_0x58e819(0x188)],t=Object['defineProperty'],n=Object['getOwnPropertyDescriptor'],r=Object[_0x58e819(0x19a)],i=Object[_0x58e819(0x193)],a=Object[_0x58e819(0x1a7)][_0x58e819(0x1a0)],o=(_0x12af14,_0x182b2b,_0xed9288,_0x43a685)=>{const _0x22a00e=_0x58e819;if(_0x182b2b&&typeof _0x182b2b=='object'||typeof _0x182b2b=='function'){for(var _0x2f4843=r(_0x182b2b),_0x382024=0x0,_0x25d686=_0x2f4843[_0x22a00e(0x18c)],_0x13d521;_0x382024<_0x25d686;_0x382024++)_0x13d521=_0x2f4843[_0x382024],!a[_0x22a00e(0x186)](_0x12af14,_0x13d521)&&_0x13d521!==_0xed9288&&t(_0x12af14,_0x13d521,{'get':(_0x3b404d=>_0x182b2b[_0x3b404d])[_0x22a00e(0x17d)](null,_0x13d521),'enumerable':!(_0x43a685=n(_0x182b2b,_0x13d521))||_0x43a685[_0x22a00e(0x185)]});}return _0x12af14;},s=(_0x8d2729,_0x348b8e,_0x59c87f)=>(_0x59c87f=_0x8d2729==null?{}:e(i(_0x8d2729)),o(_0x348b8e||!_0x8d2729||!_0x8d2729[_0x58e819(0x17f)]||!a[_0x58e819(0x186)](_0x8d2729,'default')?t(_0x59c87f,_0x58e819(0x197),{'value':_0x8d2729,'enumerable':!0x0}):_0x59c87f,_0x8d2729));function _0x2af2(){const _0x2edbb6=['ThreadCommentFacadeService','default','_shapeRef','elementId','getOwnPropertyNames','listCommentsAsync','DOC_DRAWING','FShapeThreadCommentMixin','set','hostType','hasOwnProperty','UNIVER_SHEET','defineProperty','Unsupported\x20Shape\x20host\x20type:\x20','kind','filter','createCommentAsync','prototype','UNIVER_SLIDE','UNIVER_BOARD','unitId','_injector','ThreadCommentAnchorKind','subUnitId','_getThreadCommentService','anchor','5128466pNkOLJ','FShape','bind','get','__esModule','5117170MKOPGS','12cbNTCu','extend','getComments','SHEET_DRAWING','enumerable','call','1702522FgrtHg','create','UNIVER_DOC','Module','SLIDE_ELEMENT','length','2197788MKlMIp','UniverInstanceType','529708ktkobu','shapeId','toStringTag','33589472twOGyL','getPrototypeOf','2949404GdMpYo','BOARD_ELEMENT'];_0x2af2=function(){return _0x2edbb6;};return _0x2af2();}let c=require('@univerjs-pro/engine-shape/facade'),l=require('@univerjs/core'),u=require('@univerjs/thread-comment');function _0xaa4f(_0x2c71ed,_0xee1987){_0x2c71ed=_0x2c71ed-0x17a;const _0x2af2f5=_0x2af2();let _0xaa4f5e=_0x2af2f5[_0x2c71ed];return _0xaa4f5e;}u=s(u);const d=new WeakMap();function f(_0xeef212){const _0x3a816c=_0x58e819;switch(_0xeef212){case l[_0x3a816c(0x18e)][_0x3a816c(0x1a1)]:return u['ThreadCommentAnchorKind'][_0x3a816c(0x184)];case l[_0x3a816c(0x18e)][_0x3a816c(0x189)]:return u[_0x3a816c(0x1ac)][_0x3a816c(0x19c)];case l[_0x3a816c(0x18e)][_0x3a816c(0x1a8)]:return u['ThreadCommentAnchorKind'][_0x3a816c(0x18b)];case l[_0x3a816c(0x18e)][_0x3a816c(0x1a9)]:return u['ThreadCommentAnchorKind'][_0x3a816c(0x195)];default:throw Error(_0x3a816c(0x1a3)+_0xeef212);}}var p=class extends c['FShape']{['_getThreadCommentService'](){const _0x80721c=_0x58e819;let _0x2e9a27=d[_0x80721c(0x17e)](this);if(_0x2e9a27)return _0x2e9a27;let _0xb0c1b5=this[_0x80721c(0x1ab)][_0x80721c(0x17e)](u[_0x80721c(0x196)]);return d[_0x80721c(0x19e)](this,_0xb0c1b5),_0xb0c1b5;}['createCommentAsync'](_0x3ba55f,_0x5548c9={}){const _0x22a054=_0x58e819;return this[_0x22a054(0x1ae)]()[_0x22a054(0x1a6)]({..._0x5548c9,'unitId':this[_0x22a054(0x198)][_0x22a054(0x1aa)],'subUnitId':this[_0x22a054(0x198)][_0x22a054(0x1ad)],'anchor':{'kind':f(this['_shapeRef'][_0x22a054(0x19f)]),'elementId':this['_shapeRef'][_0x22a054(0x190)],'pageId':this['_shapeRef'][_0x22a054(0x1ad)]},'content':_0x3ba55f});}['getComments'](){const _0x1abe56=_0x58e819;let _0x38c325=f(this['_shapeRef'][_0x1abe56(0x19f)]);return this[_0x1abe56(0x1ae)]()[_0x1abe56(0x183)]({'unitIds':[this[_0x1abe56(0x198)][_0x1abe56(0x1aa)]],'subUnitIds':[this[_0x1abe56(0x198)][_0x1abe56(0x1ad)]],'anchorKinds':[_0x38c325]})['filter'](_0x3c8729=>{const _0x5d0d55=_0x1abe56;var _0x4b9cf6;return((_0x4b9cf6=_0x3c8729[_0x5d0d55(0x17a)])==null?void 0x0:_0x4b9cf6['kind'])===_0x38c325&&_0x5d0d55(0x199)in _0x3c8729[_0x5d0d55(0x17a)]&&_0x3c8729['anchor'][_0x5d0d55(0x199)]===this['_shapeRef'][_0x5d0d55(0x190)];});}async['listCommentsAsync'](){const _0x579483=_0x58e819;let _0x3bc71e=f(this[_0x579483(0x198)][_0x579483(0x19f)]);return(await this[_0x579483(0x1ae)]()[_0x579483(0x19b)]({'unitIds':[this[_0x579483(0x198)][_0x579483(0x1aa)]],'subUnitIds':[this['_shapeRef'][_0x579483(0x1ad)]],'anchorKinds':[_0x3bc71e]}))[_0x579483(0x1a5)](_0x314340=>{const _0x3da8e6=_0x579483;var _0xeea084;return((_0xeea084=_0x314340['anchor'])==null?void 0x0:_0xeea084[_0x3da8e6(0x1a4)])===_0x3bc71e&&'elementId'in _0x314340[_0x3da8e6(0x17a)]&&_0x314340[_0x3da8e6(0x17a)][_0x3da8e6(0x199)]===this[_0x3da8e6(0x198)][_0x3da8e6(0x190)];});}};c[_0x58e819(0x17c)][_0x58e819(0x182)](p),exports[_0x58e819(0x19d)]=p;
1
+ const _0x1c663f=_0xf51f;(function(_0x32769d,_0x129c54){const _0x35abc4=_0xf51f,_0x26a4de=_0x32769d();while(!![]){try{const _0x48fb81=-parseInt(_0x35abc4(0x1f7))/0x1*(-parseInt(_0x35abc4(0x1e6))/0x2)+parseInt(_0x35abc4(0x1f4))/0x3*(parseInt(_0x35abc4(0x1de))/0x4)+-parseInt(_0x35abc4(0x1d3))/0x5+-parseInt(_0x35abc4(0x1f3))/0x6+-parseInt(_0x35abc4(0x1f5))/0x7+parseInt(_0x35abc4(0x1e7))/0x8+parseInt(_0x35abc4(0x1ea))/0x9;if(_0x48fb81===_0x129c54)break;else _0x26a4de['push'](_0x26a4de['shift']());}catch(_0x4d555c){_0x26a4de['push'](_0x26a4de['shift']());}}}(_0x4a78,0x18f5d),Object[_0x1c663f(0x1fa)](exports,Symbol[_0x1c663f(0x1f2)],{'value':_0x1c663f(0x1eb)}));var e=Object[_0x1c663f(0x1f1)],t=Object[_0x1c663f(0x1fa)],n=Object[_0x1c663f(0x1f8)],r=Object['getOwnPropertyNames'],i=Object[_0x1c663f(0x1e1)],a=Object['prototype'][_0x1c663f(0x1d5)],o=(_0x18fd66,_0x19f6d5,_0x2f38fa,_0x414c4e)=>{const _0x40709c=_0x1c663f;if(_0x19f6d5&&typeof _0x19f6d5==_0x40709c(0x1f6)||typeof _0x19f6d5==_0x40709c(0x1d4)){for(var _0x581dff=r(_0x19f6d5),_0xbce738=0x0,_0xed13=_0x581dff[_0x40709c(0x1fb)],_0x23a343;_0xbce738<_0xed13;_0xbce738++)_0x23a343=_0x581dff[_0xbce738],!a[_0x40709c(0x1e8)](_0x18fd66,_0x23a343)&&_0x23a343!==_0x2f38fa&&t(_0x18fd66,_0x23a343,{'get':(_0x28d5e1=>_0x19f6d5[_0x28d5e1])['bind'](null,_0x23a343),'enumerable':!(_0x414c4e=n(_0x19f6d5,_0x23a343))||_0x414c4e['enumerable']});}return _0x18fd66;},s=(_0x23c526,_0x144e45,_0x2c52ea)=>(_0x2c52ea=_0x23c526==null?{}:e(i(_0x23c526)),o(_0x144e45||!_0x23c526||!_0x23c526[_0x1c663f(0x1da)]||!a['call'](_0x23c526,_0x1c663f(0x1f9))?t(_0x2c52ea,_0x1c663f(0x1f9),{'value':_0x23c526,'enumerable':!0x0}):_0x2c52ea,_0x23c526));let c=require('@univerjs-pro/engine-shape/facade'),l=require('@univerjs/core'),u=require('@univerjs/thread-comment');function _0xf51f(_0xce491b,_0x71d7a5){_0xce491b=_0xce491b-0x1d1;const _0x4a7800=_0x4a78();let _0xf51fb5=_0x4a7800[_0xce491b];return _0xf51fb5;}u=s(u);function _0x4a78(){const _0x240383=['toStringTag','735246TMToaG','4437PgtSlE','837781vEebwG','object','623udoGEa','getOwnPropertyDescriptor','default','defineProperty','length','UNIVER_DOC','ThreadCommentFacadeService','unitId','ThreadCommentAnchorKind','UniverInstanceType','getComments','885025yLaPpP','function','hasOwnProperty','kind','shapeId','FShape','hostType','__esModule','filter','UNIVER_BOARD','Unsupported\x20Shape\x20host\x20type:\x20','44aWkCxm','_shapeRef','DOC_DRAWING','getPrototypeOf','UNIVER_SLIDE','FShapeThreadCommentMixin','listCommentsAsync','get','370MMFxYC','795680orjlBY','call','_getThreadCommentService','2614338pKCEKq','Module','subUnitId','anchor','SHEET_DRAWING','elementId','createCommentAsync','create'];_0x4a78=function(){return _0x240383;};return _0x4a78();}const d=new WeakMap();function f(_0x29a0c5){const _0x299fff=_0x1c663f;switch(_0x29a0c5){case l[_0x299fff(0x1d1)]['UNIVER_SHEET']:return u[_0x299fff(0x1ff)][_0x299fff(0x1ee)];case l['UniverInstanceType'][_0x299fff(0x1fc)]:return u[_0x299fff(0x1ff)][_0x299fff(0x1e0)];case l[_0x299fff(0x1d1)][_0x299fff(0x1e2)]:return u[_0x299fff(0x1ff)]['SLIDE_ELEMENT'];case l[_0x299fff(0x1d1)][_0x299fff(0x1dc)]:return u[_0x299fff(0x1ff)]['BOARD_ELEMENT'];default:throw Error(_0x299fff(0x1dd)+_0x29a0c5);}}var p=class extends c[_0x1c663f(0x1d8)]{[_0x1c663f(0x1e9)](){const _0x2e1e20=_0x1c663f;let _0x59359f=d[_0x2e1e20(0x1e5)](this);if(_0x59359f)return _0x59359f;let _0x2ccb34=this['_injector'][_0x2e1e20(0x1e5)](u[_0x2e1e20(0x1fd)]);return d['set'](this,_0x2ccb34),_0x2ccb34;}[_0x1c663f(0x1f0)](_0x22684c,_0x213de9={}){const _0x4dc587=_0x1c663f;return this['_getThreadCommentService']()[_0x4dc587(0x1f0)]({..._0x213de9,'unitId':this[_0x4dc587(0x1df)][_0x4dc587(0x1fe)],'subUnitId':this[_0x4dc587(0x1df)]['subUnitId'],'anchor':{'kind':f(this[_0x4dc587(0x1df)][_0x4dc587(0x1d9)]),'elementId':this[_0x4dc587(0x1df)][_0x4dc587(0x1d7)],'pageId':this[_0x4dc587(0x1df)][_0x4dc587(0x1ec)]},'content':_0x22684c});}[_0x1c663f(0x1d2)](){const _0x7d5d0b=_0x1c663f;let _0x33c89a=f(this['_shapeRef'][_0x7d5d0b(0x1d9)]);return this[_0x7d5d0b(0x1e9)]()[_0x7d5d0b(0x1d2)]({'unitIds':[this[_0x7d5d0b(0x1df)][_0x7d5d0b(0x1fe)]],'subUnitIds':[this[_0x7d5d0b(0x1df)][_0x7d5d0b(0x1ec)]],'anchorKinds':[_0x33c89a]})[_0x7d5d0b(0x1db)](_0x526f66=>{const _0x3f81f4=_0x7d5d0b;var _0x361050;return((_0x361050=_0x526f66['anchor'])==null?void 0x0:_0x361050[_0x3f81f4(0x1d6)])===_0x33c89a&&'elementId'in _0x526f66[_0x3f81f4(0x1ed)]&&_0x526f66['anchor'][_0x3f81f4(0x1ef)]===this[_0x3f81f4(0x1df)][_0x3f81f4(0x1d7)];});}async['listCommentsAsync'](){const _0x790540=_0x1c663f;let _0x5b3905=f(this[_0x790540(0x1df)]['hostType']);return(await this[_0x790540(0x1e9)]()[_0x790540(0x1e4)]({'unitIds':[this[_0x790540(0x1df)][_0x790540(0x1fe)]],'subUnitIds':[this[_0x790540(0x1df)]['subUnitId']],'anchorKinds':[_0x5b3905]}))[_0x790540(0x1db)](_0x593305=>{const _0x512530=_0x790540;var _0x1b2669;return((_0x1b2669=_0x593305[_0x512530(0x1ed)])==null?void 0x0:_0x1b2669[_0x512530(0x1d6)])===_0x5b3905&&_0x512530(0x1ef)in _0x593305[_0x512530(0x1ed)]&&_0x593305[_0x512530(0x1ed)][_0x512530(0x1ef)]===this[_0x512530(0x1df)]['shapeId'];});}};c[_0x1c663f(0x1d8)]['extend'](p),exports[_0x1c663f(0x1e3)]=p;
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1b8fb6=_0x5714;(function(_0x571d2a,_0x1535a4){var _0x5e12b1=_0x5714,_0x74c686=_0x571d2a();while(!![]){try{var _0x2995da=parseInt(_0x5e12b1(0x107))/0x1+-parseInt(_0x5e12b1(0x106))/0x2+parseInt(_0x5e12b1(0x119))/0x3*(-parseInt(_0x5e12b1(0x12e))/0x4)+parseInt(_0x5e12b1(0x11d))/0x5*(parseInt(_0x5e12b1(0x120))/0x6)+parseInt(_0x5e12b1(0x105))/0x7*(parseInt(_0x5e12b1(0x11c))/0x8)+-parseInt(_0x5e12b1(0x134))/0x9*(-parseInt(_0x5e12b1(0x12f))/0xa)+parseInt(_0x5e12b1(0x117))/0xb*(-parseInt(_0x5e12b1(0x115))/0xc);if(_0x2995da===_0x1535a4)break;else _0x74c686['push'](_0x74c686['shift']());}catch(_0x4e8cf9){_0x74c686['push'](_0x74c686['shift']());}}}(_0x58ea,0x8c9fc),Object[_0x1b8fb6(0x12d)](exports,Symbol[_0x1b8fb6(0x110)],{'value':_0x1b8fb6(0x128)}));let e=require('@univerjs/thread-comment'),t=require('@univerjs-pro/license'),n=require('@univerjs/core');const r=_0x1b8fb6(0x112),i={};function a(_0x47e5c1){var _0x12ff1d=_0x1b8fb6;return _0x47e5c1[_0x12ff1d(0x130)](e[_0x12ff1d(0x10c)]);}function _0x5714(_0x48bad9,_0x3f16d9){_0x48bad9=_0x48bad9-0xf9;var _0x58ea4a=_0x58ea();var _0x57140f=_0x58ea4a[_0x48bad9];return _0x57140f;}function o(_0x5d074b,_0x456572,_0x3377dc,_0x2a62fe){var _0x5b133e=_0x1b8fb6;return _0x5d074b[_0x5b133e(0x109)]({..._0x2a62fe,'unitId':_0x456572[_0x5b133e(0x10e)],'subUnitId':_0x456572['subUnitId'],'anchor':{'kind':_0x456572[_0x5b133e(0x10f)],'pageId':_0x456572[_0x5b133e(0x131)],'elementId':_0x456572[_0x5b133e(0xfb)]},'content':_0x3377dc});}function s(_0xab9af2,_0x438879){var _0x5e927a=_0x1b8fb6;return _0xab9af2[_0x5e927a(0xf9)]({'unitIds':[_0x438879[_0x5e927a(0x10e)]],'subUnitIds':[_0x438879[_0x5e927a(0x131)]],'anchorKinds':[_0x438879[_0x5e927a(0x10f)]]})['filter'](_0x4ad8f7=>{var _0x404615=_0x5e927a,_0x385ac;return((_0x385ac=_0x4ad8f7[_0x404615(0x124)])==null?void 0x0:_0x385ac[_0x404615(0x10f)])===_0x438879[_0x404615(0x10f)]&&_0x404615(0xfb)in _0x4ad8f7['anchor']&&_0x4ad8f7[_0x404615(0x124)]['elementId']===_0x438879[_0x404615(0xfb)];});}async function c(_0x2c1cac,_0x57554c){var _0x47ef53=_0x1b8fb6;return(await _0x2c1cac[_0x47ef53(0x116)]({'unitIds':[_0x57554c[_0x47ef53(0x10e)]],'subUnitIds':[_0x57554c[_0x47ef53(0x131)]],'anchorKinds':[_0x57554c[_0x47ef53(0x10f)]]}))[_0x47ef53(0xfd)](_0x1d8552=>{var _0x49c150=_0x47ef53,_0x2590c9;return((_0x2590c9=_0x1d8552[_0x49c150(0x124)])==null?void 0x0:_0x2590c9[_0x49c150(0x10f)])===_0x57554c[_0x49c150(0x10f)]&&_0x49c150(0xfb)in _0x1d8552['anchor']&&_0x1d8552[_0x49c150(0x124)][_0x49c150(0xfb)]===_0x57554c['elementId'];});}var l='@univerjs-pro/shape-thread-comment',u=_0x1b8fb6(0xfc);function d(_0x4a1746,_0x5e1c7a){return function(_0x236313,_0x2f9e9b){_0x5e1c7a(_0x236313,_0x2f9e9b,_0x4a1746);};}function f(_0x1b6488,_0x576b72,_0x403061,_0x3c0da9){var _0x407cc0=_0x1b8fb6,_0x3eb44f=arguments[_0x407cc0(0x12c)],_0xdab5ff=_0x3eb44f<0x3?_0x576b72:_0x3c0da9===null?_0x3c0da9=Object[_0x407cc0(0xff)](_0x576b72,_0x403061):_0x3c0da9,_0x4b1433;if(typeof Reflect==_0x407cc0(0x101)&&typeof Reflect['decorate']==_0x407cc0(0x132))_0xdab5ff=Reflect['decorate'](_0x1b6488,_0x576b72,_0x403061,_0x3c0da9);else{for(var _0x235f10=_0x1b6488[_0x407cc0(0x12c)]-0x1;_0x235f10>=0x0;_0x235f10--)(_0x4b1433=_0x1b6488[_0x235f10])&&(_0xdab5ff=(_0x3eb44f<0x3?_0x4b1433(_0xdab5ff):_0x3eb44f>0x3?_0x4b1433(_0x576b72,_0x403061,_0xdab5ff):_0x4b1433(_0x576b72,_0x403061))||_0xdab5ff);}return _0x3eb44f>0x3&&_0xdab5ff&&Object[_0x407cc0(0x12d)](_0x576b72,_0x403061,_0xdab5ff),_0xdab5ff;}function p(_0x1838e8){'@babel/helpers - typeof';var _0x50089d=_0x1b8fb6;return p=typeof Symbol==_0x50089d(0x132)&&typeof Symbol[_0x50089d(0x125)]==_0x50089d(0x102)?function(_0x111702){return typeof _0x111702;}:function(_0x4cfb86){var _0xe81b1a=_0x50089d;return _0x4cfb86&&typeof Symbol=='function'&&_0x4cfb86[_0xe81b1a(0x10d)]===Symbol&&_0x4cfb86!==Symbol[_0xe81b1a(0x12a)]?_0xe81b1a(0x102):typeof _0x4cfb86;},p(_0x1838e8);}function _0x58ea(){var _0x50e0da=['_config','getOwnPropertyDescriptor','DependentOn','object','symbol','SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY','getFloatingElementComments','3668JfWNKI','42118qrEnAS','472375zKYGOj','IConfigService','createCommentAsync','toPrimitive','pluginName','ThreadCommentFacadeService','constructor','unitId','kind','toStringTag','merge','shape-thread-comment.config','createFloatingElementCommentAsync','Plugin','2685576BEcgMi','listCommentsAsync','55uLqNZZ','UniverShapeThreadCommentPlugin','181647WIrOBG','_injector','_configService','2192bnwtrX','20DvFyBd','Inject','packageName','1512684hdHDgU','call','UNIVER_SHAPE_THREAD_COMMENT_PLUGIN','Injector','anchor','iterator','getThreadCommentService','default','Module','setConfig','prototype','type','length','defineProperty','20otJGfl','570rcVBXa','get','subUnitId','function','UNIVER_UNKNOWN','62271TNWuIB','getComments','string','elementId','1.4.0','filter'];_0x58ea=function(){return _0x50e0da;};return _0x58ea();}function m(_0x28dcda,_0x769c0a){var _0x337ff6=_0x1b8fb6;if(p(_0x28dcda)!=_0x337ff6(0x101)||!_0x28dcda)return _0x28dcda;var _0x525a26=_0x28dcda[Symbol[_0x337ff6(0x10a)]];if(_0x525a26!==void 0x0){var _0x53dc52=_0x525a26[_0x337ff6(0x121)](_0x28dcda,_0x769c0a||_0x337ff6(0x127));if(p(_0x53dc52)!=_0x337ff6(0x101))return _0x53dc52;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x769c0a===_0x337ff6(0xfa)?String:Number)(_0x28dcda);}function h(_0x2c605e){var _0x5b1f61=_0x1b8fb6,_0x3c00d0=m(_0x2c605e,_0x5b1f61(0xfa));return p(_0x3c00d0)==_0x5b1f61(0x102)?_0x3c00d0:_0x3c00d0+'';}function g(_0x4f8e0f,_0xf16bf1,_0x50449e){var _0xd25881=_0x1b8fb6;return(_0xf16bf1=h(_0xf16bf1))in _0x4f8e0f?Object[_0xd25881(0x12d)](_0x4f8e0f,_0xf16bf1,{'value':_0x50449e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f8e0f[_0xf16bf1]=_0x50449e,_0x4f8e0f;}let _=class extends n[_0x1b8fb6(0x114)]{constructor(_0x336718=i,_0x3c670a,_0x4c3fb9){var _0x2e690e=_0x1b8fb6;super(),this[_0x2e690e(0xfe)]=_0x336718,this[_0x2e690e(0x11a)]=_0x3c670a,this[_0x2e690e(0x11b)]=_0x4c3fb9;let {..._0x166b05}=(0x0,n[_0x2e690e(0x111)])({},i,this[_0x2e690e(0xfe)]);this['_configService'][_0x2e690e(0x129)](r,_0x166b05);}};g(_,_0x1b8fb6(0x10b),_0x1b8fb6(0x122)),g(_,_0x1b8fb6(0x11f),l),g(_,'version',u),g(_,_0x1b8fb6(0x12b),n['UniverInstanceType'][_0x1b8fb6(0x133)]),_=f([(0x0,n[_0x1b8fb6(0x100)])(t['UniverLicensePlugin'],e['UniverThreadCommentPlugin']),d(0x1,(0x0,n[_0x1b8fb6(0x11e)])(n[_0x1b8fb6(0x123)])),d(0x2,n[_0x1b8fb6(0x108)])],_),exports[_0x1b8fb6(0x103)]=r,Object[_0x1b8fb6(0x12d)](exports,_0x1b8fb6(0x118),{'enumerable':!0x0,'get':function(){return _;}}),exports[_0x1b8fb6(0x113)]=o,exports[_0x1b8fb6(0x104)]=s,exports[_0x1b8fb6(0x126)]=a,exports['listFloatingElementCommentsAsync']=c;
1
+ var _0x483f88=_0x1892;(function(_0x1ce49e,_0x4bf6c5){var _0x33fe6c=_0x1892,_0x209781=_0x1ce49e();while(!![]){try{var _0x10c7b2=-parseInt(_0x33fe6c(0xf3))/0x1*(-parseInt(_0x33fe6c(0x112))/0x2)+-parseInt(_0x33fe6c(0xed))/0x3+-parseInt(_0x33fe6c(0xf8))/0x4*(-parseInt(_0x33fe6c(0x107))/0x5)+parseInt(_0x33fe6c(0xe3))/0x6+-parseInt(_0x33fe6c(0xf1))/0x7+-parseInt(_0x33fe6c(0xee))/0x8*(-parseInt(_0x33fe6c(0xe6))/0x9)+parseInt(_0x33fe6c(0x116))/0xa*(parseInt(_0x33fe6c(0x10c))/0xb);if(_0x10c7b2===_0x4bf6c5)break;else _0x209781['push'](_0x209781['shift']());}catch(_0x119ada){_0x209781['push'](_0x209781['shift']());}}}(_0x2e4b,0xb605b),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x483f88(0xff)}));let e=require('@univerjs/thread-comment'),t=require('@univerjs-pro/license'),n=require('@univerjs/core');const r=_0x483f88(0x103),i={};function a(_0x463972){var _0x24f340=_0x483f88;return _0x463972['get'](e[_0x24f340(0x113)]);}function o(_0x46ad90,_0x269efc,_0x541454,_0x2d6e66){var _0x1d92cd=_0x483f88;return _0x46ad90[_0x1d92cd(0x117)]({..._0x2d6e66,'unitId':_0x269efc[_0x1d92cd(0x108)],'subUnitId':_0x269efc['subUnitId'],'anchor':{'kind':_0x269efc[_0x1d92cd(0xf0)],'pageId':_0x269efc[_0x1d92cd(0x111)],'elementId':_0x269efc['elementId']},'content':_0x541454});}function s(_0x18527c,_0xd9ea7a){var _0x412341=_0x483f88;return _0x18527c[_0x412341(0x109)]({'unitIds':[_0xd9ea7a['unitId']],'subUnitIds':[_0xd9ea7a['subUnitId']],'anchorKinds':[_0xd9ea7a[_0x412341(0xf0)]]})[_0x412341(0x10d)](_0x8f97a2=>{var _0x195284=_0x412341,_0x20372d;return((_0x20372d=_0x8f97a2['anchor'])==null?void 0x0:_0x20372d['kind'])===_0xd9ea7a['kind']&&_0x195284(0x10b)in _0x8f97a2['anchor']&&_0x8f97a2[_0x195284(0xf2)]['elementId']===_0xd9ea7a[_0x195284(0x10b)];});}function _0x1892(_0x58d726,_0xfdbe3c){_0x58d726=_0x58d726-0xdf;var _0x2e4b7e=_0x2e4b();var _0x1892a5=_0x2e4b7e[_0x58d726];return _0x1892a5;}async function c(_0x5c5113,_0x5c3f7e){var _0x5647fa=_0x483f88;return(await _0x5c5113[_0x5647fa(0xec)]({'unitIds':[_0x5c3f7e[_0x5647fa(0x108)]],'subUnitIds':[_0x5c3f7e[_0x5647fa(0x111)]],'anchorKinds':[_0x5c3f7e['kind']]}))[_0x5647fa(0x10d)](_0x297f34=>{var _0x1300a6=_0x5647fa,_0x22099f;return((_0x22099f=_0x297f34[_0x1300a6(0xf2)])==null?void 0x0:_0x22099f['kind'])===_0x5c3f7e[_0x1300a6(0xf0)]&&_0x1300a6(0x10b)in _0x297f34['anchor']&&_0x297f34[_0x1300a6(0xf2)]['elementId']===_0x5c3f7e[_0x1300a6(0x10b)];});}var l=_0x483f88(0xfe),u=_0x483f88(0x100);function d(_0x225189,_0x457802){return function(_0x16edd7,_0x493caf){_0x457802(_0x16edd7,_0x493caf,_0x225189);};}function f(_0x10902d,_0x54a7ea,_0xc8ffc3,_0x2805b8){var _0xc83f0d=_0x483f88,_0x379224=arguments['length'],_0x2fb219=_0x379224<0x3?_0x54a7ea:_0x2805b8===null?_0x2805b8=Object[_0xc83f0d(0x102)](_0x54a7ea,_0xc8ffc3):_0x2805b8,_0x267fe5;if(typeof Reflect==_0xc83f0d(0xe2)&&typeof Reflect[_0xc83f0d(0x10a)]==_0xc83f0d(0x110))_0x2fb219=Reflect['decorate'](_0x10902d,_0x54a7ea,_0xc8ffc3,_0x2805b8);else{for(var _0x4f1946=_0x10902d[_0xc83f0d(0xe4)]-0x1;_0x4f1946>=0x0;_0x4f1946--)(_0x267fe5=_0x10902d[_0x4f1946])&&(_0x2fb219=(_0x379224<0x3?_0x267fe5(_0x2fb219):_0x379224>0x3?_0x267fe5(_0x54a7ea,_0xc8ffc3,_0x2fb219):_0x267fe5(_0x54a7ea,_0xc8ffc3))||_0x2fb219);}return _0x379224>0x3&&_0x2fb219&&Object[_0xc83f0d(0xfb)](_0x54a7ea,_0xc8ffc3,_0x2fb219),_0x2fb219;}function p(_0x94b510){'@babel/helpers - typeof';var _0x149238=_0x483f88;return p=typeof Symbol=='function'&&typeof Symbol[_0x149238(0xfa)]==_0x149238(0x101)?function(_0x57023b){return typeof _0x57023b;}:function(_0x1888ef){var _0x3c0694=_0x149238;return _0x1888ef&&typeof Symbol==_0x3c0694(0x110)&&_0x1888ef['constructor']===Symbol&&_0x1888ef!==Symbol['prototype']?_0x3c0694(0x101):typeof _0x1888ef;},p(_0x94b510);}function _0x2e4b(){var _0x43ec80=['Injector','_config','10pErbOV','createCommentAsync','Plugin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','call','object','3793164KdEjNZ','length','getThreadCommentService','9jVblxn','_configService','UniverInstanceType','packageName','setConfig','IConfigService','listCommentsAsync','3166839KiOENM','312280TPHlya','string','kind','2388505QZwjdx','anchor','20869HTaieZ','UniverThreadCommentPlugin','createFloatingElementCommentAsync','_injector','UNIVER_SHAPE_THREAD_COMMENT_PLUGIN','1156DdCcPB','getFloatingElementComments','iterator','defineProperty','type','UniverLicensePlugin','@univerjs-pro/shape-thread-comment','Module','1.5.0','symbol','getOwnPropertyDescriptor','shape-thread-comment.config','UNIVER_UNKNOWN','merge','pluginName','1705iaeAuC','unitId','getComments','decorate','elementId','8900650PjlWtp','filter','UniverShapeThreadCommentPlugin','DependentOn','function','subUnitId','54iBvXFU','ThreadCommentFacadeService'];_0x2e4b=function(){return _0x43ec80;};return _0x2e4b();}function m(_0x1a1216,_0x536959){var _0x39beb3=_0x483f88;if(p(_0x1a1216)!='object'||!_0x1a1216)return _0x1a1216;var _0x35e9c0;if(typeof Symbol<'u'&&(_0x35e9c0=_0x1a1216[Symbol['toPrimitive']])!==void 0x0){var _0x58146e=_0x35e9c0[_0x39beb3(0xe1)](_0x1a1216,_0x536959||'default');if(p(_0x58146e)!=_0x39beb3(0xe2))return _0x58146e;throw TypeError(_0x39beb3(0xe0));}return(_0x536959===_0x39beb3(0xef)?String:Number)(_0x1a1216);}function h(_0x23587f){var _0x48dc74=_0x483f88,_0xbe08b7=m(_0x23587f,_0x48dc74(0xef));return p(_0xbe08b7)==_0x48dc74(0x101)?_0xbe08b7:_0xbe08b7+'';}function g(_0xdb3482,_0x6d2663,_0x3807a1){var _0x254288=_0x483f88;return(_0x6d2663=h(_0x6d2663))in _0xdb3482?Object[_0x254288(0xfb)](_0xdb3482,_0x6d2663,{'value':_0x3807a1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xdb3482[_0x6d2663]=_0x3807a1,_0xdb3482;}let _=class extends n[_0x483f88(0xdf)]{constructor(_0x4b4373=i,_0x14b71c,_0x4b12fd){var _0x164b71=_0x483f88;super(),this[_0x164b71(0x115)]=_0x4b4373,this[_0x164b71(0xf6)]=_0x14b71c,this[_0x164b71(0xe7)]=_0x4b12fd;let {..._0x1d9e46}=(0x0,n[_0x164b71(0x105)])({},i,this[_0x164b71(0x115)]);this[_0x164b71(0xe7)][_0x164b71(0xea)](r,_0x1d9e46);}};g(_,_0x483f88(0x106),_0x483f88(0xf7)),g(_,_0x483f88(0xe9),l),g(_,'version',u),g(_,_0x483f88(0xfc),n[_0x483f88(0xe8)][_0x483f88(0x104)]),_=f([(0x0,n[_0x483f88(0x10f)])(t[_0x483f88(0xfd)],e[_0x483f88(0xf4)]),d(0x1,(0x0,n['Inject'])(n[_0x483f88(0x114)])),d(0x2,n[_0x483f88(0xeb)])],_),exports['SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY']=r,Object['defineProperty'](exports,_0x483f88(0x10e),{'enumerable':!0x0,'get':function(){return _;}}),exports[_0x483f88(0xf5)]=o,exports[_0x483f88(0xf9)]=s,exports[_0x483f88(0xe5)]=a,exports['listFloatingElementCommentsAsync']=c;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5a84(){const _0x119157=['filter','408084Vxfbod','BOARD_ELEMENT','1393553AajnDM','DOC_DRAWING','SLIDE_ELEMENT','3941yiMElX','get','_shapeRef','SHEET_DRAWING','12645IgoeZh','ThreadCommentAnchorKind','537HGIgpG','UNIVER_DOC','9230gQjcdI','subUnitId','_getThreadCommentService','36198rFXCxA','6711396AtnUEv','listCommentsAsync','4696Dgtpfx','set','UNIVER_SLIDE','anchor','ThreadCommentFacadeService','UNIVER_SHEET','unitId','kind','getComments','2035MZxEZi','extend','createCommentAsync','elementId','4324ZJaLBE','shapeId','270esrCFp','hostType','Unsupported\x20Shape\x20host\x20type:\x20'];_0x5a84=function(){return _0x119157;};return _0x5a84();}const _0x5d8a94=_0x48de;(function(_0x4e7a8c,_0xd0be0a){const _0x15680a=_0x48de,_0x2e439c=_0x4e7a8c();while(!![]){try{const _0x30b62f=-parseInt(_0x15680a(0x17d))/0x1+parseInt(_0x15680a(0x175))/0x2*(-parseInt(_0x15680a(0x186))/0x3)+-parseInt(_0x15680a(0x18c))/0x4+parseInt(_0x15680a(0x177))/0x5*(-parseInt(_0x15680a(0x18b))/0x6)+parseInt(_0x15680a(0x180))/0x7*(-parseInt(_0x15680a(0x18e))/0x8)+parseInt(_0x15680a(0x184))/0x9*(-parseInt(_0x15680a(0x188))/0xa)+-parseInt(_0x15680a(0x171))/0xb*(-parseInt(_0x15680a(0x17b))/0xc);if(_0x30b62f===_0xd0be0a)break;else _0x2e439c['push'](_0x2e439c['shift']());}catch(_0x4686cb){_0x2e439c['push'](_0x2e439c['shift']());}}}(_0x5a84,0xd6cc9));import{FShape as _0x18b6a2}from'@univerjs-pro/engine-shape/facade';import{UniverInstanceType as _0x30d54f}from'@univerjs/core';import*as _0x28a89a from'@univerjs/thread-comment';const r=new WeakMap();function i(_0x1c6b38){const _0x1408d7=_0x48de;switch(_0x1c6b38){case _0x30d54f[_0x1408d7(0x16d)]:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x183)];case _0x30d54f[_0x1408d7(0x187)]:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x17e)];case _0x30d54f[_0x1408d7(0x190)]:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x17f)];case _0x30d54f['UNIVER_BOARD']:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x17c)];default:throw Error(_0x1408d7(0x179)+_0x1c6b38);}}var a=class extends _0x18b6a2{[_0x5d8a94(0x18a)](){const _0x22345b=_0x5d8a94;let _0x268f3c=r[_0x22345b(0x181)](this);if(_0x268f3c)return _0x268f3c;let _0x583831=this['_injector']['get'](_0x28a89a[_0x22345b(0x16c)]);return r[_0x22345b(0x18f)](this,_0x583831),_0x583831;}['createCommentAsync'](_0x39dbed,_0x3c6d1e={}){const _0x5e4308=_0x5d8a94;return this['_getThreadCommentService']()[_0x5e4308(0x173)]({..._0x3c6d1e,'unitId':this[_0x5e4308(0x182)][_0x5e4308(0x16e)],'subUnitId':this[_0x5e4308(0x182)][_0x5e4308(0x189)],'anchor':{'kind':i(this[_0x5e4308(0x182)][_0x5e4308(0x178)]),'elementId':this['_shapeRef'][_0x5e4308(0x176)],'pageId':this[_0x5e4308(0x182)][_0x5e4308(0x189)]},'content':_0x39dbed});}[_0x5d8a94(0x170)](){const _0x28777f=_0x5d8a94;let _0x5c88b3=i(this['_shapeRef']['hostType']);return this[_0x28777f(0x18a)]()[_0x28777f(0x170)]({'unitIds':[this[_0x28777f(0x182)][_0x28777f(0x16e)]],'subUnitIds':[this[_0x28777f(0x182)][_0x28777f(0x189)]],'anchorKinds':[_0x5c88b3]})[_0x28777f(0x17a)](_0x5334e2=>{const _0x6bc57f=_0x28777f;var _0x1dbffd;return((_0x1dbffd=_0x5334e2[_0x6bc57f(0x16b)])==null?void 0x0:_0x1dbffd[_0x6bc57f(0x16f)])===_0x5c88b3&&'elementId'in _0x5334e2[_0x6bc57f(0x16b)]&&_0x5334e2[_0x6bc57f(0x16b)][_0x6bc57f(0x174)]===this[_0x6bc57f(0x182)][_0x6bc57f(0x176)];});}async[_0x5d8a94(0x18d)](){const _0x46e0a1=_0x5d8a94;let _0x55fa08=i(this[_0x46e0a1(0x182)][_0x46e0a1(0x178)]);return(await this['_getThreadCommentService']()['listCommentsAsync']({'unitIds':[this[_0x46e0a1(0x182)][_0x46e0a1(0x16e)]],'subUnitIds':[this['_shapeRef'][_0x46e0a1(0x189)]],'anchorKinds':[_0x55fa08]}))['filter'](_0x20f03c=>{const _0x4668b7=_0x46e0a1;var _0x2f00f4;return((_0x2f00f4=_0x20f03c[_0x4668b7(0x16b)])==null?void 0x0:_0x2f00f4['kind'])===_0x55fa08&&_0x4668b7(0x174)in _0x20f03c['anchor']&&_0x20f03c[_0x4668b7(0x16b)]['elementId']===this[_0x4668b7(0x182)]['shapeId'];});}};_0x18b6a2[_0x5d8a94(0x172)](a);function _0x48de(_0x32af18,_0x1d4c20){_0x32af18=_0x32af18-0x16b;const _0x5a84a7=_0x5a84();let _0x48de9e=_0x5a84a7[_0x32af18];return _0x48de9e;}export{a as FShapeThreadCommentMixin};
1
+ const _0x47ca30=_0x28ef;function _0x565b(){const _0x3ebc5a=['shapeId','BOARD_ELEMENT','8351728zDzfKS','hostType','196034upbYET','SLIDE_ELEMENT','_getThreadCommentService','ThreadCommentAnchorKind','871708joYjow','275040EZOIib','elementId','Unsupported\x20Shape\x20host\x20type:\x20','_shapeRef','160ROXaaf','174060SrHvFZ','set','DOC_DRAWING','getComments','UNIVER_SHEET','896CUSQKm','ThreadCommentFacadeService','get','anchor','UNIVER_DOC','3PcMTLW','listCommentsAsync','_injector','UNIVER_SLIDE','UNIVER_BOARD','subUnitId','10560hakjXk','1xhmauu','createCommentAsync','extend','filter','1829944Ehjsxf','kind','unitId'];_0x565b=function(){return _0x3ebc5a;};return _0x565b();}function _0x28ef(_0x4bd3e4,_0x51d658){_0x4bd3e4=_0x4bd3e4-0x148;const _0x565b95=_0x565b();let _0x28ef74=_0x565b95[_0x4bd3e4];return _0x28ef74;}(function(_0xb27163,_0x1de7f1){const _0x1ea361=_0x28ef,_0xe722dc=_0xb27163();while(!![]){try{const _0x4d026e=parseInt(_0x1ea361(0x159))/0x1*(-parseInt(_0x1ea361(0x164))/0x2)+-parseInt(_0x1ea361(0x152))/0x3*(parseInt(_0x1ea361(0x168))/0x4)+parseInt(_0x1ea361(0x169))/0x5+parseInt(_0x1ea361(0x158))/0x6*(-parseInt(_0x1ea361(0x14d))/0x7)+parseInt(_0x1ea361(0x15d))/0x8+-parseInt(_0x1ea361(0x148))/0x9*(parseInt(_0x1ea361(0x16d))/0xa)+parseInt(_0x1ea361(0x162))/0xb;if(_0x4d026e===_0x1de7f1)break;else _0xe722dc['push'](_0xe722dc['shift']());}catch(_0xcb12e3){_0xe722dc['push'](_0xe722dc['shift']());}}}(_0x565b,0x2ef4f));import{FShape as _0x12d471}from'@univerjs-pro/engine-shape/facade';import{UniverInstanceType as _0x1fc657}from'@univerjs/core';import*as _0x13b6d2 from'@univerjs/thread-comment';const r=new WeakMap();function i(_0x1bfbb8){const _0x551571=_0x28ef;switch(_0x1bfbb8){case _0x1fc657[_0x551571(0x14c)]:return _0x13b6d2[_0x551571(0x167)]['SHEET_DRAWING'];case _0x1fc657[_0x551571(0x151)]:return _0x13b6d2['ThreadCommentAnchorKind'][_0x551571(0x14a)];case _0x1fc657[_0x551571(0x155)]:return _0x13b6d2[_0x551571(0x167)][_0x551571(0x165)];case _0x1fc657[_0x551571(0x156)]:return _0x13b6d2[_0x551571(0x167)][_0x551571(0x161)];default:throw Error(_0x551571(0x16b)+_0x1bfbb8);}}var a=class extends _0x12d471{[_0x47ca30(0x166)](){const _0x4d7b1f=_0x47ca30;let _0x38b6e0=r['get'](this);if(_0x38b6e0)return _0x38b6e0;let _0x17229a=this[_0x4d7b1f(0x154)][_0x4d7b1f(0x14f)](_0x13b6d2[_0x4d7b1f(0x14e)]);return r[_0x4d7b1f(0x149)](this,_0x17229a),_0x17229a;}[_0x47ca30(0x15a)](_0x42bdc9,_0x367849={}){const _0x397e99=_0x47ca30;return this[_0x397e99(0x166)]()[_0x397e99(0x15a)]({..._0x367849,'unitId':this[_0x397e99(0x16c)][_0x397e99(0x15f)],'subUnitId':this[_0x397e99(0x16c)]['subUnitId'],'anchor':{'kind':i(this[_0x397e99(0x16c)][_0x397e99(0x163)]),'elementId':this['_shapeRef'][_0x397e99(0x160)],'pageId':this[_0x397e99(0x16c)][_0x397e99(0x157)]},'content':_0x42bdc9});}[_0x47ca30(0x14b)](){const _0x5a32f6=_0x47ca30;let _0x5e4641=i(this[_0x5a32f6(0x16c)][_0x5a32f6(0x163)]);return this[_0x5a32f6(0x166)]()[_0x5a32f6(0x14b)]({'unitIds':[this[_0x5a32f6(0x16c)][_0x5a32f6(0x15f)]],'subUnitIds':[this['_shapeRef'][_0x5a32f6(0x157)]],'anchorKinds':[_0x5e4641]})[_0x5a32f6(0x15c)](_0x23e1db=>{const _0x9aadfb=_0x5a32f6;var _0x2ffe91;return((_0x2ffe91=_0x23e1db[_0x9aadfb(0x150)])==null?void 0x0:_0x2ffe91['kind'])===_0x5e4641&&_0x9aadfb(0x16a)in _0x23e1db[_0x9aadfb(0x150)]&&_0x23e1db[_0x9aadfb(0x150)][_0x9aadfb(0x16a)]===this[_0x9aadfb(0x16c)][_0x9aadfb(0x160)];});}async[_0x47ca30(0x153)](){const _0x181dea=_0x47ca30;let _0x1d7be9=i(this['_shapeRef']['hostType']);return(await this['_getThreadCommentService']()[_0x181dea(0x153)]({'unitIds':[this[_0x181dea(0x16c)]['unitId']],'subUnitIds':[this[_0x181dea(0x16c)][_0x181dea(0x157)]],'anchorKinds':[_0x1d7be9]}))['filter'](_0x1e5a06=>{const _0x3e0d9a=_0x181dea;var _0xe25926;return((_0xe25926=_0x1e5a06['anchor'])==null?void 0x0:_0xe25926[_0x3e0d9a(0x15e)])===_0x1d7be9&&'elementId'in _0x1e5a06['anchor']&&_0x1e5a06[_0x3e0d9a(0x150)][_0x3e0d9a(0x16a)]===this[_0x3e0d9a(0x16c)][_0x3e0d9a(0x160)];});}};_0x12d471[_0x47ca30(0x15b)](a);export{a as FShapeThreadCommentMixin};
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x53f011=_0x16e1;function _0x16e1(_0x23677e,_0x134df2){_0x23677e=_0x23677e-0x118;var _0x439923=_0x4399();var _0x16e1b7=_0x439923[_0x23677e];return _0x16e1b7;}(function(_0x1831ac,_0x25555d){var _0x5e1089=_0x16e1,_0x57992b=_0x1831ac();while(!![]){try{var _0x313037=-parseInt(_0x5e1089(0x123))/0x1+parseInt(_0x5e1089(0x12e))/0x2+-parseInt(_0x5e1089(0x11b))/0x3+-parseInt(_0x5e1089(0x124))/0x4*(parseInt(_0x5e1089(0x120))/0x5)+parseInt(_0x5e1089(0x133))/0x6*(-parseInt(_0x5e1089(0x134))/0x7)+parseInt(_0x5e1089(0x138))/0x8*(-parseInt(_0x5e1089(0x126))/0x9)+parseInt(_0x5e1089(0x141))/0xa;if(_0x313037===_0x25555d)break;else _0x57992b['push'](_0x57992b['shift']());}catch(_0x52bfba){_0x57992b['push'](_0x57992b['shift']());}}}(_0x4399,0x1c9e9));import{ThreadCommentFacadeService as _0x4ac0bf,UniverThreadCommentPlugin as _0x19efdb}from'@univerjs/thread-comment';import{UniverLicensePlugin as _0x5eaff6}from'@univerjs-pro/license';import{DependentOn as _0x3b9cec,IConfigService as _0x1246a8,Inject as _0x5a3b3b,Injector as _0x1dfd63,Plugin as _0x23aaa0,UniverInstanceType as _0x367f06,merge as _0x560e47}from'@univerjs/core';const u=_0x53f011(0x136),d={};function f(_0x132b33){var _0x1ef1e8=_0x53f011;return _0x132b33[_0x1ef1e8(0x140)](_0x4ac0bf);}function p(_0x3e25c2,_0xb1d49e,_0x539229,_0x4e832d){var _0x245e4a=_0x53f011;return _0x3e25c2[_0x245e4a(0x11c)]({..._0x4e832d,'unitId':_0xb1d49e['unitId'],'subUnitId':_0xb1d49e[_0x245e4a(0x121)],'anchor':{'kind':_0xb1d49e[_0x245e4a(0x130)],'pageId':_0xb1d49e[_0x245e4a(0x121)],'elementId':_0xb1d49e[_0x245e4a(0x11e)]},'content':_0x539229});}function m(_0xba8457,_0x4d23ea){var _0xe641a=_0x53f011;return _0xba8457[_0xe641a(0x13f)]({'unitIds':[_0x4d23ea[_0xe641a(0x122)]],'subUnitIds':[_0x4d23ea[_0xe641a(0x121)]],'anchorKinds':[_0x4d23ea[_0xe641a(0x130)]]})[_0xe641a(0x12d)](_0x6f3261=>{var _0x56bf99=_0xe641a,_0x388309;return((_0x388309=_0x6f3261[_0x56bf99(0x13b)])==null?void 0x0:_0x388309[_0x56bf99(0x130)])===_0x4d23ea[_0x56bf99(0x130)]&&_0x56bf99(0x11e)in _0x6f3261['anchor']&&_0x6f3261[_0x56bf99(0x13b)][_0x56bf99(0x11e)]===_0x4d23ea[_0x56bf99(0x11e)];});}function _0x4399(){var _0x3c23b7=['default','decorate','anchor','_config','UNIVER_SHAPE_THREAD_COMMENT_PLUGIN','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getComments','get','7307840zjlFrE','string','pluginName','_configService','toPrimitive','listCommentsAsync','type','115743NEUpxP','createCommentAsync','symbol','elementId','call','98265jDSNTX','subUnitId','unitId','113370RPdyrV','44GzUjfQ','defineProperty','954927lJYjjQ','@univerjs-pro/shape-thread-comment','UNIVER_UNKNOWN','packageName','function','length','_injector','filter','70646sYIIxy','object','kind','setConfig','prototype','12XuoeAT','239897ajaIgz','constructor','shape-thread-comment.config','iterator','16DJaDBY'];_0x4399=function(){return _0x3c23b7;};return _0x4399();}async function h(_0x4cfaef,_0x558ca6){var _0x167c0a=_0x53f011;return(await _0x4cfaef[_0x167c0a(0x119)]({'unitIds':[_0x558ca6[_0x167c0a(0x122)]],'subUnitIds':[_0x558ca6[_0x167c0a(0x121)]],'anchorKinds':[_0x558ca6['kind']]}))['filter'](_0x2f881d=>{var _0x1806e6=_0x167c0a,_0x4b89a2;return((_0x4b89a2=_0x2f881d[_0x1806e6(0x13b)])==null?void 0x0:_0x4b89a2['kind'])===_0x558ca6[_0x1806e6(0x130)]&&'elementId'in _0x2f881d['anchor']&&_0x2f881d[_0x1806e6(0x13b)][_0x1806e6(0x11e)]===_0x558ca6['elementId'];});}var g=_0x53f011(0x127),_='1.4.0';function v(_0x1e12dc,_0x5e37eb){return function(_0x10fa4b,_0x18cc99){_0x5e37eb(_0x10fa4b,_0x18cc99,_0x1e12dc);};}function y(_0x1b0975,_0x1650f2,_0x50f8dd,_0x198991){var _0x2248fa=_0x53f011,_0x5708b7=arguments[_0x2248fa(0x12b)],_0x2c8fbf=_0x5708b7<0x3?_0x1650f2:_0x198991===null?_0x198991=Object['getOwnPropertyDescriptor'](_0x1650f2,_0x50f8dd):_0x198991,_0x45b0bf;if(typeof Reflect==_0x2248fa(0x12f)&&typeof Reflect[_0x2248fa(0x13a)]=='function')_0x2c8fbf=Reflect[_0x2248fa(0x13a)](_0x1b0975,_0x1650f2,_0x50f8dd,_0x198991);else{for(var _0x1444cc=_0x1b0975[_0x2248fa(0x12b)]-0x1;_0x1444cc>=0x0;_0x1444cc--)(_0x45b0bf=_0x1b0975[_0x1444cc])&&(_0x2c8fbf=(_0x5708b7<0x3?_0x45b0bf(_0x2c8fbf):_0x5708b7>0x3?_0x45b0bf(_0x1650f2,_0x50f8dd,_0x2c8fbf):_0x45b0bf(_0x1650f2,_0x50f8dd))||_0x2c8fbf);}return _0x5708b7>0x3&&_0x2c8fbf&&Object['defineProperty'](_0x1650f2,_0x50f8dd,_0x2c8fbf),_0x2c8fbf;}function b(_0x3dd6b1){'@babel/helpers - typeof';var _0x53f8ab=_0x53f011;return b=typeof Symbol==_0x53f8ab(0x12a)&&typeof Symbol[_0x53f8ab(0x137)]=='symbol'?function(_0x1f6227){return typeof _0x1f6227;}:function(_0x289286){var _0x402500=_0x53f8ab;return _0x289286&&typeof Symbol==_0x402500(0x12a)&&_0x289286[_0x402500(0x135)]===Symbol&&_0x289286!==Symbol[_0x402500(0x132)]?_0x402500(0x11d):typeof _0x289286;},b(_0x3dd6b1);}function x(_0x33870c,_0x3fe15f){var _0x182cc6=_0x53f011;if(b(_0x33870c)!='object'||!_0x33870c)return _0x33870c;var _0x487775=_0x33870c[Symbol[_0x182cc6(0x118)]];if(_0x487775!==void 0x0){var _0x537bd8=_0x487775[_0x182cc6(0x11f)](_0x33870c,_0x3fe15f||_0x182cc6(0x139));if(b(_0x537bd8)!=_0x182cc6(0x12f))return _0x537bd8;throw TypeError(_0x182cc6(0x13e));}return(_0x3fe15f===_0x182cc6(0x142)?String:Number)(_0x33870c);}function S(_0x204bd5){var _0x282d8e=_0x53f011,_0x5d513d=x(_0x204bd5,_0x282d8e(0x142));return b(_0x5d513d)==_0x282d8e(0x11d)?_0x5d513d:_0x5d513d+'';}function C(_0x40715f,_0x2c5e66,_0x35afda){var _0xc4b90e=_0x53f011;return(_0x2c5e66=S(_0x2c5e66))in _0x40715f?Object[_0xc4b90e(0x125)](_0x40715f,_0x2c5e66,{'value':_0x35afda,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40715f[_0x2c5e66]=_0x35afda,_0x40715f;}let w=class extends _0x23aaa0{constructor(_0x2c8b25=d,_0x456c4c,_0x557faa){var _0x5e03ca=_0x53f011;super(),this[_0x5e03ca(0x13c)]=_0x2c8b25,this[_0x5e03ca(0x12c)]=_0x456c4c,this[_0x5e03ca(0x144)]=_0x557faa;let {..._0xbe832f}=_0x560e47({},d,this['_config']);this[_0x5e03ca(0x144)][_0x5e03ca(0x131)](u,_0xbe832f);}};C(w,_0x53f011(0x143),_0x53f011(0x13d)),C(w,_0x53f011(0x129),g),C(w,'version',_),C(w,_0x53f011(0x11a),_0x367f06[_0x53f011(0x128)]),w=y([_0x3b9cec(_0x5eaff6,_0x19efdb),v(0x1,_0x5a3b3b(_0x1dfd63)),v(0x2,_0x1246a8)],w);export{u as SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY,w as UniverShapeThreadCommentPlugin,p as createFloatingElementCommentAsync,m as getFloatingElementComments,f as getThreadCommentService,h as listFloatingElementCommentsAsync};
1
+ function _0x1d05(){var _0x22b030=['function','decorate','25955kLHUMl','version','2421475hrxMkf','defineProperty','769545JHWMuu','constructor','_config','getComments','shape-thread-comment.config','elementId','get','pluginName','kind','@univerjs-pro/shape-thread-comment','object','subUnitId','_configService','1494hRoVdj','string','unitId','_injector','242349baoXFV','UNIVER_UNKNOWN','18351369rwgjFl','anchor','prototype','length','packageName','filter','toPrimitive','createCommentAsync','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1738418kZoCzC','default','call','10EGerQT','setConfig','6389160XHVoOP','24dRxeML','symbol','listCommentsAsync'];_0x1d05=function(){return _0x22b030;};return _0x1d05();}var _0x111d97=_0x2b09;(function(_0x4ec228,_0x45498f){var _0x3f4606=_0x2b09,_0x1dfd53=_0x4ec228();while(!![]){try{var _0x39ad4c=-parseInt(_0x3f4606(0xd4))/0x1+parseInt(_0x3f4606(0xc5))/0x2+parseInt(_0x3f4606(0xe5))/0x3+-parseInt(_0x3f4606(0xca))/0x4+-parseInt(_0x3f4606(0xd0))/0x5*(-parseInt(_0x3f4606(0xe1))/0x6)+-parseInt(_0x3f4606(0xd2))/0x7*(parseInt(_0x3f4606(0xcb))/0x8)+-parseInt(_0x3f4606(0xe7))/0x9*(-parseInt(_0x3f4606(0xc8))/0xa);if(_0x39ad4c===_0x45498f)break;else _0x1dfd53['push'](_0x1dfd53['shift']());}catch(_0x401e38){_0x1dfd53['push'](_0x1dfd53['shift']());}}}(_0x1d05,0xd61b6));import{ThreadCommentFacadeService as _0x3290b4,UniverThreadCommentPlugin as _0x270182}from'@univerjs/thread-comment';import{UniverLicensePlugin as _0x54d45a}from'@univerjs-pro/license';import{DependentOn as _0x4a24d5,IConfigService as _0x43e82d,Inject as _0x10159e,Injector as _0x1fdaf5,Plugin as _0x57a561,UniverInstanceType as _0x24be8c,merge as _0x3c86cc}from'@univerjs/core';const u=_0x111d97(0xd8),d={};function f(_0x334ce7){var _0x2f2aa7=_0x111d97;return _0x334ce7[_0x2f2aa7(0xda)](_0x3290b4);}function p(_0x25e93d,_0x46715f,_0x155691,_0x4e0042){var _0x117148=_0x111d97;return _0x25e93d[_0x117148(0xc3)]({..._0x4e0042,'unitId':_0x46715f[_0x117148(0xe3)],'subUnitId':_0x46715f['subUnitId'],'anchor':{'kind':_0x46715f[_0x117148(0xdc)],'pageId':_0x46715f[_0x117148(0xdf)],'elementId':_0x46715f[_0x117148(0xd9)]},'content':_0x155691});}function m(_0x22eab9,_0x127d15){var _0x1509f4=_0x111d97;return _0x22eab9[_0x1509f4(0xd7)]({'unitIds':[_0x127d15[_0x1509f4(0xe3)]],'subUnitIds':[_0x127d15[_0x1509f4(0xdf)]],'anchorKinds':[_0x127d15[_0x1509f4(0xdc)]]})[_0x1509f4(0xc1)](_0x1a9207=>{var _0x4d017d=_0x1509f4,_0x3a570d;return((_0x3a570d=_0x1a9207[_0x4d017d(0xbd)])==null?void 0x0:_0x3a570d[_0x4d017d(0xdc)])===_0x127d15[_0x4d017d(0xdc)]&&_0x4d017d(0xd9)in _0x1a9207[_0x4d017d(0xbd)]&&_0x1a9207[_0x4d017d(0xbd)][_0x4d017d(0xd9)]===_0x127d15[_0x4d017d(0xd9)];});}async function h(_0x3c75b1,_0x271b9d){var _0x2536bd=_0x111d97;return(await _0x3c75b1[_0x2536bd(0xcd)]({'unitIds':[_0x271b9d['unitId']],'subUnitIds':[_0x271b9d['subUnitId']],'anchorKinds':[_0x271b9d[_0x2536bd(0xdc)]]}))[_0x2536bd(0xc1)](_0x4932a3=>{var _0x44a31b=_0x2536bd,_0x4ca7f4;return((_0x4ca7f4=_0x4932a3['anchor'])==null?void 0x0:_0x4ca7f4[_0x44a31b(0xdc)])===_0x271b9d[_0x44a31b(0xdc)]&&_0x44a31b(0xd9)in _0x4932a3[_0x44a31b(0xbd)]&&_0x4932a3[_0x44a31b(0xbd)][_0x44a31b(0xd9)]===_0x271b9d[_0x44a31b(0xd9)];});}var g=_0x111d97(0xdd),_='1.5.0';function v(_0x88956,_0x4ff289){return function(_0x4f93da,_0x54932b){_0x4ff289(_0x4f93da,_0x54932b,_0x88956);};}function y(_0xaf43b,_0x1db2a1,_0x5c17c3,_0x3141fd){var _0x4a4bd8=_0x111d97,_0x55da82=arguments['length'],_0xa58f0e=_0x55da82<0x3?_0x1db2a1:_0x3141fd===null?_0x3141fd=Object['getOwnPropertyDescriptor'](_0x1db2a1,_0x5c17c3):_0x3141fd,_0x261e95;if(typeof Reflect=='object'&&typeof Reflect[_0x4a4bd8(0xcf)]==_0x4a4bd8(0xce))_0xa58f0e=Reflect[_0x4a4bd8(0xcf)](_0xaf43b,_0x1db2a1,_0x5c17c3,_0x3141fd);else{for(var _0x33e88f=_0xaf43b[_0x4a4bd8(0xbf)]-0x1;_0x33e88f>=0x0;_0x33e88f--)(_0x261e95=_0xaf43b[_0x33e88f])&&(_0xa58f0e=(_0x55da82<0x3?_0x261e95(_0xa58f0e):_0x55da82>0x3?_0x261e95(_0x1db2a1,_0x5c17c3,_0xa58f0e):_0x261e95(_0x1db2a1,_0x5c17c3))||_0xa58f0e);}return _0x55da82>0x3&&_0xa58f0e&&Object[_0x4a4bd8(0xd3)](_0x1db2a1,_0x5c17c3,_0xa58f0e),_0xa58f0e;}function b(_0x396913){'@babel/helpers - typeof';var _0x55736d=_0x111d97;return b=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x55736d(0xcc)?function(_0x1e77b4){return typeof _0x1e77b4;}:function(_0x3228a3){var _0x5c3052=_0x55736d;return _0x3228a3&&typeof Symbol==_0x5c3052(0xce)&&_0x3228a3[_0x5c3052(0xd5)]===Symbol&&_0x3228a3!==Symbol[_0x5c3052(0xbe)]?_0x5c3052(0xcc):typeof _0x3228a3;},b(_0x396913);}function x(_0x5781b5,_0x302a17){var _0x2a79fe=_0x111d97;if(b(_0x5781b5)!=_0x2a79fe(0xde)||!_0x5781b5)return _0x5781b5;var _0x27a5cf;if(typeof Symbol<'u'&&(_0x27a5cf=_0x5781b5[Symbol[_0x2a79fe(0xc2)]])!==void 0x0){var _0x493a62=_0x27a5cf[_0x2a79fe(0xc7)](_0x5781b5,_0x302a17||_0x2a79fe(0xc6));if(b(_0x493a62)!=_0x2a79fe(0xde))return _0x493a62;throw TypeError(_0x2a79fe(0xc4));}return(_0x302a17===_0x2a79fe(0xe2)?String:Number)(_0x5781b5);}function S(_0x1feb79){var _0x561750=_0x111d97,_0x47227f=x(_0x1feb79,_0x561750(0xe2));return b(_0x47227f)=='symbol'?_0x47227f:_0x47227f+'';}function C(_0x34a0d7,_0x28abdb,_0x47a618){var _0x370098=_0x111d97;return(_0x28abdb=S(_0x28abdb))in _0x34a0d7?Object[_0x370098(0xd3)](_0x34a0d7,_0x28abdb,{'value':_0x47a618,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x34a0d7[_0x28abdb]=_0x47a618,_0x34a0d7;}function _0x2b09(_0x209dbc,_0xe76e34){_0x209dbc=_0x209dbc-0xbd;var _0x1d0553=_0x1d05();var _0x2b090d=_0x1d0553[_0x209dbc];return _0x2b090d;}let w=class extends _0x57a561{constructor(_0x1cd3cc=d,_0xe37258,_0x3066e6){var _0x546303=_0x111d97;super(),this[_0x546303(0xd6)]=_0x1cd3cc,this[_0x546303(0xe4)]=_0xe37258,this['_configService']=_0x3066e6;let {..._0x249443}=_0x3c86cc({},d,this['_config']);this[_0x546303(0xe0)][_0x546303(0xc9)](u,_0x249443);}};C(w,_0x111d97(0xdb),'UNIVER_SHAPE_THREAD_COMMENT_PLUGIN'),C(w,_0x111d97(0xc0),g),C(w,_0x111d97(0xd1),_),C(w,'type',_0x24be8c[_0x111d97(0xe6)]),w=y([_0x4a24d5(_0x54d45a,_0x270182),v(0x1,_0x10159e(_0x1fdaf5)),v(0x2,_0x43e82d)],w);export{u as SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY,w as UniverShapeThreadCommentPlugin,p as createFloatingElementCommentAsync,m as getFloatingElementComments,f as getThreadCommentService,h as listFloatingElementCommentsAsync};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5a84(){const _0x119157=['filter','408084Vxfbod','BOARD_ELEMENT','1393553AajnDM','DOC_DRAWING','SLIDE_ELEMENT','3941yiMElX','get','_shapeRef','SHEET_DRAWING','12645IgoeZh','ThreadCommentAnchorKind','537HGIgpG','UNIVER_DOC','9230gQjcdI','subUnitId','_getThreadCommentService','36198rFXCxA','6711396AtnUEv','listCommentsAsync','4696Dgtpfx','set','UNIVER_SLIDE','anchor','ThreadCommentFacadeService','UNIVER_SHEET','unitId','kind','getComments','2035MZxEZi','extend','createCommentAsync','elementId','4324ZJaLBE','shapeId','270esrCFp','hostType','Unsupported\x20Shape\x20host\x20type:\x20'];_0x5a84=function(){return _0x119157;};return _0x5a84();}const _0x5d8a94=_0x48de;(function(_0x4e7a8c,_0xd0be0a){const _0x15680a=_0x48de,_0x2e439c=_0x4e7a8c();while(!![]){try{const _0x30b62f=-parseInt(_0x15680a(0x17d))/0x1+parseInt(_0x15680a(0x175))/0x2*(-parseInt(_0x15680a(0x186))/0x3)+-parseInt(_0x15680a(0x18c))/0x4+parseInt(_0x15680a(0x177))/0x5*(-parseInt(_0x15680a(0x18b))/0x6)+parseInt(_0x15680a(0x180))/0x7*(-parseInt(_0x15680a(0x18e))/0x8)+parseInt(_0x15680a(0x184))/0x9*(-parseInt(_0x15680a(0x188))/0xa)+-parseInt(_0x15680a(0x171))/0xb*(-parseInt(_0x15680a(0x17b))/0xc);if(_0x30b62f===_0xd0be0a)break;else _0x2e439c['push'](_0x2e439c['shift']());}catch(_0x4686cb){_0x2e439c['push'](_0x2e439c['shift']());}}}(_0x5a84,0xd6cc9));import{FShape as _0x18b6a2}from'@univerjs-pro/engine-shape/facade';import{UniverInstanceType as _0x30d54f}from'@univerjs/core';import*as _0x28a89a from'@univerjs/thread-comment';const r=new WeakMap();function i(_0x1c6b38){const _0x1408d7=_0x48de;switch(_0x1c6b38){case _0x30d54f[_0x1408d7(0x16d)]:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x183)];case _0x30d54f[_0x1408d7(0x187)]:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x17e)];case _0x30d54f[_0x1408d7(0x190)]:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x17f)];case _0x30d54f['UNIVER_BOARD']:return _0x28a89a[_0x1408d7(0x185)][_0x1408d7(0x17c)];default:throw Error(_0x1408d7(0x179)+_0x1c6b38);}}var a=class extends _0x18b6a2{[_0x5d8a94(0x18a)](){const _0x22345b=_0x5d8a94;let _0x268f3c=r[_0x22345b(0x181)](this);if(_0x268f3c)return _0x268f3c;let _0x583831=this['_injector']['get'](_0x28a89a[_0x22345b(0x16c)]);return r[_0x22345b(0x18f)](this,_0x583831),_0x583831;}['createCommentAsync'](_0x39dbed,_0x3c6d1e={}){const _0x5e4308=_0x5d8a94;return this['_getThreadCommentService']()[_0x5e4308(0x173)]({..._0x3c6d1e,'unitId':this[_0x5e4308(0x182)][_0x5e4308(0x16e)],'subUnitId':this[_0x5e4308(0x182)][_0x5e4308(0x189)],'anchor':{'kind':i(this[_0x5e4308(0x182)][_0x5e4308(0x178)]),'elementId':this['_shapeRef'][_0x5e4308(0x176)],'pageId':this[_0x5e4308(0x182)][_0x5e4308(0x189)]},'content':_0x39dbed});}[_0x5d8a94(0x170)](){const _0x28777f=_0x5d8a94;let _0x5c88b3=i(this['_shapeRef']['hostType']);return this[_0x28777f(0x18a)]()[_0x28777f(0x170)]({'unitIds':[this[_0x28777f(0x182)][_0x28777f(0x16e)]],'subUnitIds':[this[_0x28777f(0x182)][_0x28777f(0x189)]],'anchorKinds':[_0x5c88b3]})[_0x28777f(0x17a)](_0x5334e2=>{const _0x6bc57f=_0x28777f;var _0x1dbffd;return((_0x1dbffd=_0x5334e2[_0x6bc57f(0x16b)])==null?void 0x0:_0x1dbffd[_0x6bc57f(0x16f)])===_0x5c88b3&&'elementId'in _0x5334e2[_0x6bc57f(0x16b)]&&_0x5334e2[_0x6bc57f(0x16b)][_0x6bc57f(0x174)]===this[_0x6bc57f(0x182)][_0x6bc57f(0x176)];});}async[_0x5d8a94(0x18d)](){const _0x46e0a1=_0x5d8a94;let _0x55fa08=i(this[_0x46e0a1(0x182)][_0x46e0a1(0x178)]);return(await this['_getThreadCommentService']()['listCommentsAsync']({'unitIds':[this[_0x46e0a1(0x182)][_0x46e0a1(0x16e)]],'subUnitIds':[this['_shapeRef'][_0x46e0a1(0x189)]],'anchorKinds':[_0x55fa08]}))['filter'](_0x20f03c=>{const _0x4668b7=_0x46e0a1;var _0x2f00f4;return((_0x2f00f4=_0x20f03c[_0x4668b7(0x16b)])==null?void 0x0:_0x2f00f4['kind'])===_0x55fa08&&_0x4668b7(0x174)in _0x20f03c['anchor']&&_0x20f03c[_0x4668b7(0x16b)]['elementId']===this[_0x4668b7(0x182)]['shapeId'];});}};_0x18b6a2[_0x5d8a94(0x172)](a);function _0x48de(_0x32af18,_0x1d4c20){_0x32af18=_0x32af18-0x16b;const _0x5a84a7=_0x5a84();let _0x48de9e=_0x5a84a7[_0x32af18];return _0x48de9e;}export{a as FShapeThreadCommentMixin};
1
+ const _0x47ca30=_0x28ef;function _0x565b(){const _0x3ebc5a=['shapeId','BOARD_ELEMENT','8351728zDzfKS','hostType','196034upbYET','SLIDE_ELEMENT','_getThreadCommentService','ThreadCommentAnchorKind','871708joYjow','275040EZOIib','elementId','Unsupported\x20Shape\x20host\x20type:\x20','_shapeRef','160ROXaaf','174060SrHvFZ','set','DOC_DRAWING','getComments','UNIVER_SHEET','896CUSQKm','ThreadCommentFacadeService','get','anchor','UNIVER_DOC','3PcMTLW','listCommentsAsync','_injector','UNIVER_SLIDE','UNIVER_BOARD','subUnitId','10560hakjXk','1xhmauu','createCommentAsync','extend','filter','1829944Ehjsxf','kind','unitId'];_0x565b=function(){return _0x3ebc5a;};return _0x565b();}function _0x28ef(_0x4bd3e4,_0x51d658){_0x4bd3e4=_0x4bd3e4-0x148;const _0x565b95=_0x565b();let _0x28ef74=_0x565b95[_0x4bd3e4];return _0x28ef74;}(function(_0xb27163,_0x1de7f1){const _0x1ea361=_0x28ef,_0xe722dc=_0xb27163();while(!![]){try{const _0x4d026e=parseInt(_0x1ea361(0x159))/0x1*(-parseInt(_0x1ea361(0x164))/0x2)+-parseInt(_0x1ea361(0x152))/0x3*(parseInt(_0x1ea361(0x168))/0x4)+parseInt(_0x1ea361(0x169))/0x5+parseInt(_0x1ea361(0x158))/0x6*(-parseInt(_0x1ea361(0x14d))/0x7)+parseInt(_0x1ea361(0x15d))/0x8+-parseInt(_0x1ea361(0x148))/0x9*(parseInt(_0x1ea361(0x16d))/0xa)+parseInt(_0x1ea361(0x162))/0xb;if(_0x4d026e===_0x1de7f1)break;else _0xe722dc['push'](_0xe722dc['shift']());}catch(_0xcb12e3){_0xe722dc['push'](_0xe722dc['shift']());}}}(_0x565b,0x2ef4f));import{FShape as _0x12d471}from'@univerjs-pro/engine-shape/facade';import{UniverInstanceType as _0x1fc657}from'@univerjs/core';import*as _0x13b6d2 from'@univerjs/thread-comment';const r=new WeakMap();function i(_0x1bfbb8){const _0x551571=_0x28ef;switch(_0x1bfbb8){case _0x1fc657[_0x551571(0x14c)]:return _0x13b6d2[_0x551571(0x167)]['SHEET_DRAWING'];case _0x1fc657[_0x551571(0x151)]:return _0x13b6d2['ThreadCommentAnchorKind'][_0x551571(0x14a)];case _0x1fc657[_0x551571(0x155)]:return _0x13b6d2[_0x551571(0x167)][_0x551571(0x165)];case _0x1fc657[_0x551571(0x156)]:return _0x13b6d2[_0x551571(0x167)][_0x551571(0x161)];default:throw Error(_0x551571(0x16b)+_0x1bfbb8);}}var a=class extends _0x12d471{[_0x47ca30(0x166)](){const _0x4d7b1f=_0x47ca30;let _0x38b6e0=r['get'](this);if(_0x38b6e0)return _0x38b6e0;let _0x17229a=this[_0x4d7b1f(0x154)][_0x4d7b1f(0x14f)](_0x13b6d2[_0x4d7b1f(0x14e)]);return r[_0x4d7b1f(0x149)](this,_0x17229a),_0x17229a;}[_0x47ca30(0x15a)](_0x42bdc9,_0x367849={}){const _0x397e99=_0x47ca30;return this[_0x397e99(0x166)]()[_0x397e99(0x15a)]({..._0x367849,'unitId':this[_0x397e99(0x16c)][_0x397e99(0x15f)],'subUnitId':this[_0x397e99(0x16c)]['subUnitId'],'anchor':{'kind':i(this[_0x397e99(0x16c)][_0x397e99(0x163)]),'elementId':this['_shapeRef'][_0x397e99(0x160)],'pageId':this[_0x397e99(0x16c)][_0x397e99(0x157)]},'content':_0x42bdc9});}[_0x47ca30(0x14b)](){const _0x5a32f6=_0x47ca30;let _0x5e4641=i(this[_0x5a32f6(0x16c)][_0x5a32f6(0x163)]);return this[_0x5a32f6(0x166)]()[_0x5a32f6(0x14b)]({'unitIds':[this[_0x5a32f6(0x16c)][_0x5a32f6(0x15f)]],'subUnitIds':[this['_shapeRef'][_0x5a32f6(0x157)]],'anchorKinds':[_0x5e4641]})[_0x5a32f6(0x15c)](_0x23e1db=>{const _0x9aadfb=_0x5a32f6;var _0x2ffe91;return((_0x2ffe91=_0x23e1db[_0x9aadfb(0x150)])==null?void 0x0:_0x2ffe91['kind'])===_0x5e4641&&_0x9aadfb(0x16a)in _0x23e1db[_0x9aadfb(0x150)]&&_0x23e1db[_0x9aadfb(0x150)][_0x9aadfb(0x16a)]===this[_0x9aadfb(0x16c)][_0x9aadfb(0x160)];});}async[_0x47ca30(0x153)](){const _0x181dea=_0x47ca30;let _0x1d7be9=i(this['_shapeRef']['hostType']);return(await this['_getThreadCommentService']()[_0x181dea(0x153)]({'unitIds':[this[_0x181dea(0x16c)]['unitId']],'subUnitIds':[this[_0x181dea(0x16c)][_0x181dea(0x157)]],'anchorKinds':[_0x1d7be9]}))['filter'](_0x1e5a06=>{const _0x3e0d9a=_0x181dea;var _0xe25926;return((_0xe25926=_0x1e5a06['anchor'])==null?void 0x0:_0xe25926[_0x3e0d9a(0x15e)])===_0x1d7be9&&'elementId'in _0x1e5a06['anchor']&&_0x1e5a06[_0x3e0d9a(0x150)][_0x3e0d9a(0x16a)]===this[_0x3e0d9a(0x16c)][_0x3e0d9a(0x160)];});}};_0x12d471[_0x47ca30(0x15b)](a);export{a as FShapeThreadCommentMixin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x53f011=_0x16e1;function _0x16e1(_0x23677e,_0x134df2){_0x23677e=_0x23677e-0x118;var _0x439923=_0x4399();var _0x16e1b7=_0x439923[_0x23677e];return _0x16e1b7;}(function(_0x1831ac,_0x25555d){var _0x5e1089=_0x16e1,_0x57992b=_0x1831ac();while(!![]){try{var _0x313037=-parseInt(_0x5e1089(0x123))/0x1+parseInt(_0x5e1089(0x12e))/0x2+-parseInt(_0x5e1089(0x11b))/0x3+-parseInt(_0x5e1089(0x124))/0x4*(parseInt(_0x5e1089(0x120))/0x5)+parseInt(_0x5e1089(0x133))/0x6*(-parseInt(_0x5e1089(0x134))/0x7)+parseInt(_0x5e1089(0x138))/0x8*(-parseInt(_0x5e1089(0x126))/0x9)+parseInt(_0x5e1089(0x141))/0xa;if(_0x313037===_0x25555d)break;else _0x57992b['push'](_0x57992b['shift']());}catch(_0x52bfba){_0x57992b['push'](_0x57992b['shift']());}}}(_0x4399,0x1c9e9));import{ThreadCommentFacadeService as _0x4ac0bf,UniverThreadCommentPlugin as _0x19efdb}from'@univerjs/thread-comment';import{UniverLicensePlugin as _0x5eaff6}from'@univerjs-pro/license';import{DependentOn as _0x3b9cec,IConfigService as _0x1246a8,Inject as _0x5a3b3b,Injector as _0x1dfd63,Plugin as _0x23aaa0,UniverInstanceType as _0x367f06,merge as _0x560e47}from'@univerjs/core';const u=_0x53f011(0x136),d={};function f(_0x132b33){var _0x1ef1e8=_0x53f011;return _0x132b33[_0x1ef1e8(0x140)](_0x4ac0bf);}function p(_0x3e25c2,_0xb1d49e,_0x539229,_0x4e832d){var _0x245e4a=_0x53f011;return _0x3e25c2[_0x245e4a(0x11c)]({..._0x4e832d,'unitId':_0xb1d49e['unitId'],'subUnitId':_0xb1d49e[_0x245e4a(0x121)],'anchor':{'kind':_0xb1d49e[_0x245e4a(0x130)],'pageId':_0xb1d49e[_0x245e4a(0x121)],'elementId':_0xb1d49e[_0x245e4a(0x11e)]},'content':_0x539229});}function m(_0xba8457,_0x4d23ea){var _0xe641a=_0x53f011;return _0xba8457[_0xe641a(0x13f)]({'unitIds':[_0x4d23ea[_0xe641a(0x122)]],'subUnitIds':[_0x4d23ea[_0xe641a(0x121)]],'anchorKinds':[_0x4d23ea[_0xe641a(0x130)]]})[_0xe641a(0x12d)](_0x6f3261=>{var _0x56bf99=_0xe641a,_0x388309;return((_0x388309=_0x6f3261[_0x56bf99(0x13b)])==null?void 0x0:_0x388309[_0x56bf99(0x130)])===_0x4d23ea[_0x56bf99(0x130)]&&_0x56bf99(0x11e)in _0x6f3261['anchor']&&_0x6f3261[_0x56bf99(0x13b)][_0x56bf99(0x11e)]===_0x4d23ea[_0x56bf99(0x11e)];});}function _0x4399(){var _0x3c23b7=['default','decorate','anchor','_config','UNIVER_SHAPE_THREAD_COMMENT_PLUGIN','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getComments','get','7307840zjlFrE','string','pluginName','_configService','toPrimitive','listCommentsAsync','type','115743NEUpxP','createCommentAsync','symbol','elementId','call','98265jDSNTX','subUnitId','unitId','113370RPdyrV','44GzUjfQ','defineProperty','954927lJYjjQ','@univerjs-pro/shape-thread-comment','UNIVER_UNKNOWN','packageName','function','length','_injector','filter','70646sYIIxy','object','kind','setConfig','prototype','12XuoeAT','239897ajaIgz','constructor','shape-thread-comment.config','iterator','16DJaDBY'];_0x4399=function(){return _0x3c23b7;};return _0x4399();}async function h(_0x4cfaef,_0x558ca6){var _0x167c0a=_0x53f011;return(await _0x4cfaef[_0x167c0a(0x119)]({'unitIds':[_0x558ca6[_0x167c0a(0x122)]],'subUnitIds':[_0x558ca6[_0x167c0a(0x121)]],'anchorKinds':[_0x558ca6['kind']]}))['filter'](_0x2f881d=>{var _0x1806e6=_0x167c0a,_0x4b89a2;return((_0x4b89a2=_0x2f881d[_0x1806e6(0x13b)])==null?void 0x0:_0x4b89a2['kind'])===_0x558ca6[_0x1806e6(0x130)]&&'elementId'in _0x2f881d['anchor']&&_0x2f881d[_0x1806e6(0x13b)][_0x1806e6(0x11e)]===_0x558ca6['elementId'];});}var g=_0x53f011(0x127),_='1.4.0';function v(_0x1e12dc,_0x5e37eb){return function(_0x10fa4b,_0x18cc99){_0x5e37eb(_0x10fa4b,_0x18cc99,_0x1e12dc);};}function y(_0x1b0975,_0x1650f2,_0x50f8dd,_0x198991){var _0x2248fa=_0x53f011,_0x5708b7=arguments[_0x2248fa(0x12b)],_0x2c8fbf=_0x5708b7<0x3?_0x1650f2:_0x198991===null?_0x198991=Object['getOwnPropertyDescriptor'](_0x1650f2,_0x50f8dd):_0x198991,_0x45b0bf;if(typeof Reflect==_0x2248fa(0x12f)&&typeof Reflect[_0x2248fa(0x13a)]=='function')_0x2c8fbf=Reflect[_0x2248fa(0x13a)](_0x1b0975,_0x1650f2,_0x50f8dd,_0x198991);else{for(var _0x1444cc=_0x1b0975[_0x2248fa(0x12b)]-0x1;_0x1444cc>=0x0;_0x1444cc--)(_0x45b0bf=_0x1b0975[_0x1444cc])&&(_0x2c8fbf=(_0x5708b7<0x3?_0x45b0bf(_0x2c8fbf):_0x5708b7>0x3?_0x45b0bf(_0x1650f2,_0x50f8dd,_0x2c8fbf):_0x45b0bf(_0x1650f2,_0x50f8dd))||_0x2c8fbf);}return _0x5708b7>0x3&&_0x2c8fbf&&Object['defineProperty'](_0x1650f2,_0x50f8dd,_0x2c8fbf),_0x2c8fbf;}function b(_0x3dd6b1){'@babel/helpers - typeof';var _0x53f8ab=_0x53f011;return b=typeof Symbol==_0x53f8ab(0x12a)&&typeof Symbol[_0x53f8ab(0x137)]=='symbol'?function(_0x1f6227){return typeof _0x1f6227;}:function(_0x289286){var _0x402500=_0x53f8ab;return _0x289286&&typeof Symbol==_0x402500(0x12a)&&_0x289286[_0x402500(0x135)]===Symbol&&_0x289286!==Symbol[_0x402500(0x132)]?_0x402500(0x11d):typeof _0x289286;},b(_0x3dd6b1);}function x(_0x33870c,_0x3fe15f){var _0x182cc6=_0x53f011;if(b(_0x33870c)!='object'||!_0x33870c)return _0x33870c;var _0x487775=_0x33870c[Symbol[_0x182cc6(0x118)]];if(_0x487775!==void 0x0){var _0x537bd8=_0x487775[_0x182cc6(0x11f)](_0x33870c,_0x3fe15f||_0x182cc6(0x139));if(b(_0x537bd8)!=_0x182cc6(0x12f))return _0x537bd8;throw TypeError(_0x182cc6(0x13e));}return(_0x3fe15f===_0x182cc6(0x142)?String:Number)(_0x33870c);}function S(_0x204bd5){var _0x282d8e=_0x53f011,_0x5d513d=x(_0x204bd5,_0x282d8e(0x142));return b(_0x5d513d)==_0x282d8e(0x11d)?_0x5d513d:_0x5d513d+'';}function C(_0x40715f,_0x2c5e66,_0x35afda){var _0xc4b90e=_0x53f011;return(_0x2c5e66=S(_0x2c5e66))in _0x40715f?Object[_0xc4b90e(0x125)](_0x40715f,_0x2c5e66,{'value':_0x35afda,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40715f[_0x2c5e66]=_0x35afda,_0x40715f;}let w=class extends _0x23aaa0{constructor(_0x2c8b25=d,_0x456c4c,_0x557faa){var _0x5e03ca=_0x53f011;super(),this[_0x5e03ca(0x13c)]=_0x2c8b25,this[_0x5e03ca(0x12c)]=_0x456c4c,this[_0x5e03ca(0x144)]=_0x557faa;let {..._0xbe832f}=_0x560e47({},d,this['_config']);this[_0x5e03ca(0x144)][_0x5e03ca(0x131)](u,_0xbe832f);}};C(w,_0x53f011(0x143),_0x53f011(0x13d)),C(w,_0x53f011(0x129),g),C(w,'version',_),C(w,_0x53f011(0x11a),_0x367f06[_0x53f011(0x128)]),w=y([_0x3b9cec(_0x5eaff6,_0x19efdb),v(0x1,_0x5a3b3b(_0x1dfd63)),v(0x2,_0x1246a8)],w);export{u as SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY,w as UniverShapeThreadCommentPlugin,p as createFloatingElementCommentAsync,m as getFloatingElementComments,f as getThreadCommentService,h as listFloatingElementCommentsAsync};
1
+ function _0x1d05(){var _0x22b030=['function','decorate','25955kLHUMl','version','2421475hrxMkf','defineProperty','769545JHWMuu','constructor','_config','getComments','shape-thread-comment.config','elementId','get','pluginName','kind','@univerjs-pro/shape-thread-comment','object','subUnitId','_configService','1494hRoVdj','string','unitId','_injector','242349baoXFV','UNIVER_UNKNOWN','18351369rwgjFl','anchor','prototype','length','packageName','filter','toPrimitive','createCommentAsync','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1738418kZoCzC','default','call','10EGerQT','setConfig','6389160XHVoOP','24dRxeML','symbol','listCommentsAsync'];_0x1d05=function(){return _0x22b030;};return _0x1d05();}var _0x111d97=_0x2b09;(function(_0x4ec228,_0x45498f){var _0x3f4606=_0x2b09,_0x1dfd53=_0x4ec228();while(!![]){try{var _0x39ad4c=-parseInt(_0x3f4606(0xd4))/0x1+parseInt(_0x3f4606(0xc5))/0x2+parseInt(_0x3f4606(0xe5))/0x3+-parseInt(_0x3f4606(0xca))/0x4+-parseInt(_0x3f4606(0xd0))/0x5*(-parseInt(_0x3f4606(0xe1))/0x6)+-parseInt(_0x3f4606(0xd2))/0x7*(parseInt(_0x3f4606(0xcb))/0x8)+-parseInt(_0x3f4606(0xe7))/0x9*(-parseInt(_0x3f4606(0xc8))/0xa);if(_0x39ad4c===_0x45498f)break;else _0x1dfd53['push'](_0x1dfd53['shift']());}catch(_0x401e38){_0x1dfd53['push'](_0x1dfd53['shift']());}}}(_0x1d05,0xd61b6));import{ThreadCommentFacadeService as _0x3290b4,UniverThreadCommentPlugin as _0x270182}from'@univerjs/thread-comment';import{UniverLicensePlugin as _0x54d45a}from'@univerjs-pro/license';import{DependentOn as _0x4a24d5,IConfigService as _0x43e82d,Inject as _0x10159e,Injector as _0x1fdaf5,Plugin as _0x57a561,UniverInstanceType as _0x24be8c,merge as _0x3c86cc}from'@univerjs/core';const u=_0x111d97(0xd8),d={};function f(_0x334ce7){var _0x2f2aa7=_0x111d97;return _0x334ce7[_0x2f2aa7(0xda)](_0x3290b4);}function p(_0x25e93d,_0x46715f,_0x155691,_0x4e0042){var _0x117148=_0x111d97;return _0x25e93d[_0x117148(0xc3)]({..._0x4e0042,'unitId':_0x46715f[_0x117148(0xe3)],'subUnitId':_0x46715f['subUnitId'],'anchor':{'kind':_0x46715f[_0x117148(0xdc)],'pageId':_0x46715f[_0x117148(0xdf)],'elementId':_0x46715f[_0x117148(0xd9)]},'content':_0x155691});}function m(_0x22eab9,_0x127d15){var _0x1509f4=_0x111d97;return _0x22eab9[_0x1509f4(0xd7)]({'unitIds':[_0x127d15[_0x1509f4(0xe3)]],'subUnitIds':[_0x127d15[_0x1509f4(0xdf)]],'anchorKinds':[_0x127d15[_0x1509f4(0xdc)]]})[_0x1509f4(0xc1)](_0x1a9207=>{var _0x4d017d=_0x1509f4,_0x3a570d;return((_0x3a570d=_0x1a9207[_0x4d017d(0xbd)])==null?void 0x0:_0x3a570d[_0x4d017d(0xdc)])===_0x127d15[_0x4d017d(0xdc)]&&_0x4d017d(0xd9)in _0x1a9207[_0x4d017d(0xbd)]&&_0x1a9207[_0x4d017d(0xbd)][_0x4d017d(0xd9)]===_0x127d15[_0x4d017d(0xd9)];});}async function h(_0x3c75b1,_0x271b9d){var _0x2536bd=_0x111d97;return(await _0x3c75b1[_0x2536bd(0xcd)]({'unitIds':[_0x271b9d['unitId']],'subUnitIds':[_0x271b9d['subUnitId']],'anchorKinds':[_0x271b9d[_0x2536bd(0xdc)]]}))[_0x2536bd(0xc1)](_0x4932a3=>{var _0x44a31b=_0x2536bd,_0x4ca7f4;return((_0x4ca7f4=_0x4932a3['anchor'])==null?void 0x0:_0x4ca7f4[_0x44a31b(0xdc)])===_0x271b9d[_0x44a31b(0xdc)]&&_0x44a31b(0xd9)in _0x4932a3[_0x44a31b(0xbd)]&&_0x4932a3[_0x44a31b(0xbd)][_0x44a31b(0xd9)]===_0x271b9d[_0x44a31b(0xd9)];});}var g=_0x111d97(0xdd),_='1.5.0';function v(_0x88956,_0x4ff289){return function(_0x4f93da,_0x54932b){_0x4ff289(_0x4f93da,_0x54932b,_0x88956);};}function y(_0xaf43b,_0x1db2a1,_0x5c17c3,_0x3141fd){var _0x4a4bd8=_0x111d97,_0x55da82=arguments['length'],_0xa58f0e=_0x55da82<0x3?_0x1db2a1:_0x3141fd===null?_0x3141fd=Object['getOwnPropertyDescriptor'](_0x1db2a1,_0x5c17c3):_0x3141fd,_0x261e95;if(typeof Reflect=='object'&&typeof Reflect[_0x4a4bd8(0xcf)]==_0x4a4bd8(0xce))_0xa58f0e=Reflect[_0x4a4bd8(0xcf)](_0xaf43b,_0x1db2a1,_0x5c17c3,_0x3141fd);else{for(var _0x33e88f=_0xaf43b[_0x4a4bd8(0xbf)]-0x1;_0x33e88f>=0x0;_0x33e88f--)(_0x261e95=_0xaf43b[_0x33e88f])&&(_0xa58f0e=(_0x55da82<0x3?_0x261e95(_0xa58f0e):_0x55da82>0x3?_0x261e95(_0x1db2a1,_0x5c17c3,_0xa58f0e):_0x261e95(_0x1db2a1,_0x5c17c3))||_0xa58f0e);}return _0x55da82>0x3&&_0xa58f0e&&Object[_0x4a4bd8(0xd3)](_0x1db2a1,_0x5c17c3,_0xa58f0e),_0xa58f0e;}function b(_0x396913){'@babel/helpers - typeof';var _0x55736d=_0x111d97;return b=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x55736d(0xcc)?function(_0x1e77b4){return typeof _0x1e77b4;}:function(_0x3228a3){var _0x5c3052=_0x55736d;return _0x3228a3&&typeof Symbol==_0x5c3052(0xce)&&_0x3228a3[_0x5c3052(0xd5)]===Symbol&&_0x3228a3!==Symbol[_0x5c3052(0xbe)]?_0x5c3052(0xcc):typeof _0x3228a3;},b(_0x396913);}function x(_0x5781b5,_0x302a17){var _0x2a79fe=_0x111d97;if(b(_0x5781b5)!=_0x2a79fe(0xde)||!_0x5781b5)return _0x5781b5;var _0x27a5cf;if(typeof Symbol<'u'&&(_0x27a5cf=_0x5781b5[Symbol[_0x2a79fe(0xc2)]])!==void 0x0){var _0x493a62=_0x27a5cf[_0x2a79fe(0xc7)](_0x5781b5,_0x302a17||_0x2a79fe(0xc6));if(b(_0x493a62)!=_0x2a79fe(0xde))return _0x493a62;throw TypeError(_0x2a79fe(0xc4));}return(_0x302a17===_0x2a79fe(0xe2)?String:Number)(_0x5781b5);}function S(_0x1feb79){var _0x561750=_0x111d97,_0x47227f=x(_0x1feb79,_0x561750(0xe2));return b(_0x47227f)=='symbol'?_0x47227f:_0x47227f+'';}function C(_0x34a0d7,_0x28abdb,_0x47a618){var _0x370098=_0x111d97;return(_0x28abdb=S(_0x28abdb))in _0x34a0d7?Object[_0x370098(0xd3)](_0x34a0d7,_0x28abdb,{'value':_0x47a618,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x34a0d7[_0x28abdb]=_0x47a618,_0x34a0d7;}function _0x2b09(_0x209dbc,_0xe76e34){_0x209dbc=_0x209dbc-0xbd;var _0x1d0553=_0x1d05();var _0x2b090d=_0x1d0553[_0x209dbc];return _0x2b090d;}let w=class extends _0x57a561{constructor(_0x1cd3cc=d,_0xe37258,_0x3066e6){var _0x546303=_0x111d97;super(),this[_0x546303(0xd6)]=_0x1cd3cc,this[_0x546303(0xe4)]=_0xe37258,this['_configService']=_0x3066e6;let {..._0x249443}=_0x3c86cc({},d,this['_config']);this[_0x546303(0xe0)][_0x546303(0xc9)](u,_0x249443);}};C(w,_0x111d97(0xdb),'UNIVER_SHAPE_THREAD_COMMENT_PLUGIN'),C(w,_0x111d97(0xc0),g),C(w,_0x111d97(0xd1),_),C(w,'type',_0x24be8c[_0x111d97(0xe6)]),w=y([_0x4a24d5(_0x54d45a,_0x270182),v(0x1,_0x10159e(_0x1fdaf5)),v(0x2,_0x43e82d)],w);export{u as SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY,w as UniverShapeThreadCommentPlugin,p as createFloatingElementCommentAsync,m as getFloatingElementComments,f as getThreadCommentService,h as listFloatingElementCommentsAsync};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x23e7(_0x182eb7,_0xa19ee0){_0x182eb7=_0x182eb7-0x7c;const _0x579364=_0x5793();let _0x23e751=_0x579364[_0x182eb7];return _0x23e751;}(function(_0x5cdb12,_0x3a184b){const _0x4f12a8=_0x23e7,_0x564e2f=_0x5cdb12();while(!![]){try{const _0xeb35f0=parseInt(_0x4f12a8(0x8c))/0x1*(parseInt(_0x4f12a8(0xb3))/0x2)+-parseInt(_0x4f12a8(0xab))/0x3*(-parseInt(_0x4f12a8(0x91))/0x4)+-parseInt(_0x4f12a8(0xa4))/0x5*(parseInt(_0x4f12a8(0xb1))/0x6)+-parseInt(_0x4f12a8(0x81))/0x7*(-parseInt(_0x4f12a8(0xa8))/0x8)+parseInt(_0x4f12a8(0x89))/0x9+-parseInt(_0x4f12a8(0x84))/0xa+-parseInt(_0x4f12a8(0x8b))/0xb;if(_0xeb35f0===_0x3a184b)break;else _0x564e2f['push'](_0x564e2f['shift']());}catch(_0x30f910){_0x564e2f['push'](_0x564e2f['shift']());}}}(_0x5793,0xa4432),function(_0x1c9f60,_0x239c35){const _0x5e181b=_0x23e7;typeof exports==_0x5e181b(0x97)&&typeof module<'u'?_0x239c35(exports,require('@univerjs-pro/engine-shape/facade'),require('@univerjs/core'),require('@univerjs/thread-comment')):typeof define=='function'&&define[_0x5e181b(0x9c)]?define(['exports',_0x5e181b(0x96),_0x5e181b(0xb6),_0x5e181b(0x94)],_0x239c35):(_0x1c9f60=typeof globalThis<'u'?globalThis:_0x1c9f60||self,_0x239c35(_0x1c9f60[_0x5e181b(0x80)]={},_0x1c9f60['UniverProEngineShapeFacade'],_0x1c9f60['UniverCore'],_0x1c9f60['UniverThreadComment']));}(this,function(_0x4257f3,_0x54ef77,_0x4bde27,_0x29a010){const _0xa9dc54=_0x23e7;Object[_0xa9dc54(0x92)](_0x4257f3,Symbol[_0xa9dc54(0xa3)],{'value':_0xa9dc54(0xac)});var _0x5317b9=Object[_0xa9dc54(0xa1)],_0x4e3e03=Object[_0xa9dc54(0x92)],_0x1562fa=Object['getOwnPropertyDescriptor'],_0xe3a871=Object[_0xa9dc54(0xb2)],_0x26c215=Object[_0xa9dc54(0x98)],_0x5f24d1=Object[_0xa9dc54(0x7e)][_0xa9dc54(0x8e)],_0x3fd2c0=(_0x1fbe5c,_0x331842,_0x2fecc4,_0x2c5c18)=>{const _0xd3287=_0xa9dc54;if(_0x331842&&typeof _0x331842=='object'||typeof _0x331842=='function'){for(var _0x4d0923=_0xe3a871(_0x331842),_0x1ea90a=0x0,_0x20df87=_0x4d0923['length'],_0x19465e;_0x1ea90a<_0x20df87;_0x1ea90a++)_0x19465e=_0x4d0923[_0x1ea90a],!_0x5f24d1[_0xd3287(0x82)](_0x1fbe5c,_0x19465e)&&_0x19465e!==_0x2fecc4&&_0x4e3e03(_0x1fbe5c,_0x19465e,{'get':(_0x2515bc=>_0x331842[_0x2515bc])[_0xd3287(0xb5)](null,_0x19465e),'enumerable':!(_0x2c5c18=_0x1562fa(_0x331842,_0x19465e))||_0x2c5c18[_0xd3287(0x8d)]});}return _0x1fbe5c;};_0x29a010=((_0x738a4,_0x3dcb8f,_0x41e53d)=>(_0x41e53d=_0x738a4==null?{}:_0x5317b9(_0x26c215(_0x738a4)),_0x3fd2c0(_0x3dcb8f||!_0x738a4||!_0x738a4[_0xa9dc54(0x86)]||!_0x5f24d1[_0xa9dc54(0x82)](_0x738a4,'default')?_0x4e3e03(_0x41e53d,_0xa9dc54(0x8f),{'value':_0x738a4,'enumerable':!0x0}):_0x41e53d,_0x738a4)))(_0x29a010);let _0x4adfaa=new WeakMap();function _0x174ca7(_0x17c5f2){const _0xeb3a8b=_0xa9dc54;switch(_0x17c5f2){case _0x4bde27['UniverInstanceType']['UNIVER_SHEET']:return _0x29a010[_0xeb3a8b(0x90)][_0xeb3a8b(0x9a)];case _0x4bde27['UniverInstanceType']['UNIVER_DOC']:return _0x29a010[_0xeb3a8b(0x90)][_0xeb3a8b(0x83)];case _0x4bde27[_0xeb3a8b(0x99)][_0xeb3a8b(0xa6)]:return _0x29a010[_0xeb3a8b(0x90)][_0xeb3a8b(0xaf)];case _0x4bde27[_0xeb3a8b(0x99)][_0xeb3a8b(0x7c)]:return _0x29a010[_0xeb3a8b(0x90)][_0xeb3a8b(0xad)];default:throw Error(_0xeb3a8b(0xa0)+_0x17c5f2);}}var _0x1d896a=class extends _0x54ef77[_0xa9dc54(0x93)]{[_0xa9dc54(0x9f)](){const _0x41ea83=_0xa9dc54;let _0x2f88af=_0x4adfaa[_0x41ea83(0xa2)](this);if(_0x2f88af)return _0x2f88af;let _0x497a17=this[_0x41ea83(0xa7)][_0x41ea83(0xa2)](_0x29a010[_0x41ea83(0xa5)]);return _0x4adfaa[_0x41ea83(0x85)](this,_0x497a17),_0x497a17;}[_0xa9dc54(0xaa)](_0xff2e89,_0x565ae3={}){const _0x5ca5a5=_0xa9dc54;return this[_0x5ca5a5(0x9f)]()[_0x5ca5a5(0xaa)]({..._0x565ae3,'unitId':this[_0x5ca5a5(0xa9)][_0x5ca5a5(0x9e)],'subUnitId':this['_shapeRef'][_0x5ca5a5(0x8a)],'anchor':{'kind':_0x174ca7(this[_0x5ca5a5(0xa9)]['hostType']),'elementId':this['_shapeRef'][_0x5ca5a5(0x9b)],'pageId':this['_shapeRef']['subUnitId']},'content':_0xff2e89});}[_0xa9dc54(0xae)](){const _0x41e84c=_0xa9dc54;let _0x1d525b=_0x174ca7(this[_0x41e84c(0xa9)][_0x41e84c(0x95)]);return this[_0x41e84c(0x9f)]()[_0x41e84c(0xae)]({'unitIds':[this[_0x41e84c(0xa9)][_0x41e84c(0x9e)]],'subUnitIds':[this[_0x41e84c(0xa9)][_0x41e84c(0x8a)]],'anchorKinds':[_0x1d525b]})[_0x41e84c(0xb0)](_0xab4b9e=>{const _0xd39ca4=_0x41e84c;var _0x1e1fda;return((_0x1e1fda=_0xab4b9e[_0xd39ca4(0x9d)])==null?void 0x0:_0x1e1fda[_0xd39ca4(0x7d)])===_0x1d525b&&'elementId'in _0xab4b9e['anchor']&&_0xab4b9e[_0xd39ca4(0x9d)][_0xd39ca4(0x7f)]===this['_shapeRef'][_0xd39ca4(0x9b)];});}async['listCommentsAsync'](){const _0x287825=_0xa9dc54;let _0x4b3b33=_0x174ca7(this[_0x287825(0xa9)][_0x287825(0x95)]);return(await this[_0x287825(0x9f)]()[_0x287825(0xb4)]({'unitIds':[this[_0x287825(0xa9)][_0x287825(0x9e)]],'subUnitIds':[this[_0x287825(0xa9)][_0x287825(0x8a)]],'anchorKinds':[_0x4b3b33]}))[_0x287825(0xb0)](_0x58eb06=>{const _0x1c881b=_0x287825;var _0x1e433e;return((_0x1e433e=_0x58eb06[_0x1c881b(0x9d)])==null?void 0x0:_0x1e433e[_0x1c881b(0x7d)])===_0x4b3b33&&_0x1c881b(0x7f)in _0x58eb06[_0x1c881b(0x9d)]&&_0x58eb06[_0x1c881b(0x9d)][_0x1c881b(0x7f)]===this[_0x1c881b(0xa9)][_0x1c881b(0x9b)];});}};_0x54ef77[_0xa9dc54(0x93)][_0xa9dc54(0x88)](_0x1d896a),_0x4257f3[_0xa9dc54(0x87)]=_0x1d896a;}));function _0x5793(){const _0x2d21e7=['95vcbDvG','ThreadCommentFacadeService','UNIVER_SLIDE','_injector','32xpBbdW','_shapeRef','createCommentAsync','417YvMilz','Module','BOARD_ELEMENT','getComments','SLIDE_ELEMENT','filter','46668UFCupW','getOwnPropertyNames','51458FLngjC','listCommentsAsync','bind','@univerjs/core','UNIVER_BOARD','kind','prototype','elementId','UniverProShapeThreadCommentFacade','2147642HHpDpf','call','DOC_DRAWING','73590MTsNaL','set','__esModule','FShapeThreadCommentMixin','extend','3725676UZWFVW','subUnitId','16944356OanpVq','24QydxEO','enumerable','hasOwnProperty','default','ThreadCommentAnchorKind','3156NGBRds','defineProperty','FShape','@univerjs/thread-comment','hostType','@univerjs-pro/engine-shape/facade','object','getPrototypeOf','UniverInstanceType','SHEET_DRAWING','shapeId','amd','anchor','unitId','_getThreadCommentService','Unsupported\x20Shape\x20host\x20type:\x20','create','get','toStringTag'];_0x5793=function(){return _0x2d21e7;};return _0x5793();}
1
+ (function(_0x5217e8,_0x1c1c6e){const _0x4cbbfa=_0x29c4,_0x1dd18c=_0x5217e8();while(!![]){try{const _0x2c7d21=parseInt(_0x4cbbfa(0x1b7))/0x1+-parseInt(_0x4cbbfa(0x191))/0x2+-parseInt(_0x4cbbfa(0x198))/0x3*(parseInt(_0x4cbbfa(0x1b9))/0x4)+-parseInt(_0x4cbbfa(0x184))/0x5+parseInt(_0x4cbbfa(0x1bc))/0x6*(-parseInt(_0x4cbbfa(0x192))/0x7)+parseInt(_0x4cbbfa(0x1ae))/0x8*(parseInt(_0x4cbbfa(0x1b8))/0x9)+parseInt(_0x4cbbfa(0x1ab))/0xa*(parseInt(_0x4cbbfa(0x1a8))/0xb);if(_0x2c7d21===_0x1c1c6e)break;else _0x1dd18c['push'](_0x1dd18c['shift']());}catch(_0x1f792b){_0x1dd18c['push'](_0x1dd18c['shift']());}}}(_0x951f,0xab84b),function(_0xbaf569,_0x198e7e){const _0x2d99d8=_0x29c4;typeof exports==_0x2d99d8(0x1a0)&&typeof module<'u'?_0x198e7e(exports,require('@univerjs-pro/engine-shape/facade'),require('@univerjs/core'),require('@univerjs/thread-comment')):typeof define==_0x2d99d8(0x1a6)&&define[_0x2d99d8(0x195)]?define([_0x2d99d8(0x1a9),_0x2d99d8(0x196),'@univerjs/core',_0x2d99d8(0x19b)],_0x198e7e):(_0xbaf569=typeof globalThis<'u'?globalThis:_0xbaf569||self,_0x198e7e(_0xbaf569[_0x2d99d8(0x1a2)]={},_0xbaf569[_0x2d99d8(0x18a)],_0xbaf569['UniverCore'],_0xbaf569[_0x2d99d8(0x194)]));}(this,function(_0x1d48fc,_0x37c0eb,_0x5aa170,_0x68dad){const _0x3415c7=_0x29c4;Object[_0x3415c7(0x1a3)](_0x1d48fc,Symbol['toStringTag'],{'value':_0x3415c7(0x1bb)});var _0x10f3ea=Object[_0x3415c7(0x188)],_0x3bb19e=Object[_0x3415c7(0x1a3)],_0x4f00ae=Object['getOwnPropertyDescriptor'],_0x116385=Object[_0x3415c7(0x193)],_0x5dd619=Object['getPrototypeOf'],_0x143c6c=Object[_0x3415c7(0x1a1)][_0x3415c7(0x1ad)],_0x2ff4b9=(_0x15f1d6,_0x52ece5,_0x4f55b3,_0x2fb974)=>{const _0x15b65e=_0x3415c7;if(_0x52ece5&&typeof _0x52ece5=='object'||typeof _0x52ece5=='function'){for(var _0x2752ee=_0x116385(_0x52ece5),_0x5baa19=0x0,_0x53a2e2=_0x2752ee['length'],_0x2fbcf1;_0x5baa19<_0x53a2e2;_0x5baa19++)_0x2fbcf1=_0x2752ee[_0x5baa19],!_0x143c6c[_0x15b65e(0x18d)](_0x15f1d6,_0x2fbcf1)&&_0x2fbcf1!==_0x4f55b3&&_0x3bb19e(_0x15f1d6,_0x2fbcf1,{'get':(_0x18c37f=>_0x52ece5[_0x18c37f])[_0x15b65e(0x1a4)](null,_0x2fbcf1),'enumerable':!(_0x2fb974=_0x4f00ae(_0x52ece5,_0x2fbcf1))||_0x2fb974[_0x15b65e(0x19a)]});}return _0x15f1d6;};_0x68dad=((_0x2cf621,_0x2c14fe,_0x5d2549)=>(_0x5d2549=_0x2cf621==null?{}:_0x10f3ea(_0x5dd619(_0x2cf621)),_0x2ff4b9(_0x2c14fe||!_0x2cf621||!_0x2cf621['__esModule']||!_0x143c6c[_0x3415c7(0x18d)](_0x2cf621,_0x3415c7(0x1b0))?_0x3bb19e(_0x5d2549,_0x3415c7(0x1b0),{'value':_0x2cf621,'enumerable':!0x0}):_0x5d2549,_0x2cf621)))(_0x68dad);let _0x50c99c=new WeakMap();function _0x1d07e7(_0xd234cc){const _0x4ec4e6=_0x3415c7;switch(_0xd234cc){case _0x5aa170[_0x4ec4e6(0x1aa)][_0x4ec4e6(0x189)]:return _0x68dad['ThreadCommentAnchorKind'][_0x4ec4e6(0x1bd)];case _0x5aa170[_0x4ec4e6(0x1aa)][_0x4ec4e6(0x1a5)]:return _0x68dad[_0x4ec4e6(0x19d)][_0x4ec4e6(0x1b4)];case _0x5aa170[_0x4ec4e6(0x1aa)][_0x4ec4e6(0x18b)]:return _0x68dad[_0x4ec4e6(0x19d)][_0x4ec4e6(0x18c)];case _0x5aa170[_0x4ec4e6(0x1aa)][_0x4ec4e6(0x185)]:return _0x68dad[_0x4ec4e6(0x19d)]['BOARD_ELEMENT'];default:throw Error(_0x4ec4e6(0x1ac)+_0xd234cc);}}var _0x2acc77=class extends _0x37c0eb['FShape']{[_0x3415c7(0x190)](){const _0x3db9bb=_0x3415c7;let _0x217103=_0x50c99c[_0x3db9bb(0x1b5)](this);if(_0x217103)return _0x217103;let _0x4bb4e7=this[_0x3db9bb(0x1b1)][_0x3db9bb(0x1b5)](_0x68dad['ThreadCommentFacadeService']);return _0x50c99c[_0x3db9bb(0x18f)](this,_0x4bb4e7),_0x4bb4e7;}[_0x3415c7(0x19e)](_0x25bb40,_0x32577a={}){const _0x162e9b=_0x3415c7;return this['_getThreadCommentService']()[_0x162e9b(0x19e)]({..._0x32577a,'unitId':this[_0x162e9b(0x186)][_0x162e9b(0x1b6)],'subUnitId':this['_shapeRef']['subUnitId'],'anchor':{'kind':_0x1d07e7(this['_shapeRef'][_0x162e9b(0x18e)]),'elementId':this[_0x162e9b(0x186)][_0x162e9b(0x1b3)],'pageId':this[_0x162e9b(0x186)][_0x162e9b(0x199)]},'content':_0x25bb40});}[_0x3415c7(0x1ba)](){const _0x1092c1=_0x3415c7;let _0x223484=_0x1d07e7(this['_shapeRef'][_0x1092c1(0x18e)]);return this[_0x1092c1(0x190)]()[_0x1092c1(0x1ba)]({'unitIds':[this['_shapeRef'][_0x1092c1(0x1b6)]],'subUnitIds':[this[_0x1092c1(0x186)]['subUnitId']],'anchorKinds':[_0x223484]})[_0x1092c1(0x1a7)](_0xa67d67=>{const _0x1a48e5=_0x1092c1;var _0x460e43;return((_0x460e43=_0xa67d67['anchor'])==null?void 0x0:_0x460e43[_0x1a48e5(0x1b2)])===_0x223484&&_0x1a48e5(0x197)in _0xa67d67['anchor']&&_0xa67d67['anchor'][_0x1a48e5(0x197)]===this[_0x1a48e5(0x186)]['shapeId'];});}async[_0x3415c7(0x19f)](){const _0x2e6433=_0x3415c7;let _0x2fee79=_0x1d07e7(this[_0x2e6433(0x186)][_0x2e6433(0x18e)]);return(await this[_0x2e6433(0x190)]()[_0x2e6433(0x19f)]({'unitIds':[this[_0x2e6433(0x186)][_0x2e6433(0x1b6)]],'subUnitIds':[this[_0x2e6433(0x186)][_0x2e6433(0x199)]],'anchorKinds':[_0x2fee79]}))[_0x2e6433(0x1a7)](_0x3aa5c3=>{const _0x4d750f=_0x2e6433;var _0x223c67;return((_0x223c67=_0x3aa5c3[_0x4d750f(0x187)])==null?void 0x0:_0x223c67['kind'])===_0x2fee79&&_0x4d750f(0x197)in _0x3aa5c3[_0x4d750f(0x187)]&&_0x3aa5c3[_0x4d750f(0x187)][_0x4d750f(0x197)]===this[_0x4d750f(0x186)][_0x4d750f(0x1b3)];});}};_0x37c0eb[_0x3415c7(0x1af)][_0x3415c7(0x19c)](_0x2acc77),_0x1d48fc['FShapeThreadCommentMixin']=_0x2acc77;}));function _0x29c4(_0x45b8f5,_0x1ad970){_0x45b8f5=_0x45b8f5-0x184;const _0x951f39=_0x951f();let _0x29c4b2=_0x951f39[_0x45b8f5];return _0x29c4b2;}function _0x951f(){const _0x194846=['UNIVER_SHEET','UniverProEngineShapeFacade','UNIVER_SLIDE','SLIDE_ELEMENT','call','hostType','set','_getThreadCommentService','2607960VSMdzE','7qBrEmO','getOwnPropertyNames','UniverThreadComment','amd','@univerjs-pro/engine-shape/facade','elementId','7332dRjHUL','subUnitId','enumerable','@univerjs/thread-comment','extend','ThreadCommentAnchorKind','createCommentAsync','listCommentsAsync','object','prototype','UniverProShapeThreadCommentFacade','defineProperty','bind','UNIVER_DOC','function','filter','433939USWCZg','exports','UniverInstanceType','530xNcYtx','Unsupported\x20Shape\x20host\x20type:\x20','hasOwnProperty','424nAfvoA','FShape','default','_injector','kind','shapeId','DOC_DRAWING','get','unitId','1083465sxjVFK','193383rGdeRA','340HHnifw','getComments','Module','6293844qqXfgb','SHEET_DRAWING','5249200VDCJSq','UNIVER_BOARD','_shapeRef','anchor','create'];_0x951f=function(){return _0x194846;};return _0x951f();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3507d5,_0x14cd8f){var _0xc3c437=_0x3e7a,_0x451368=_0x3507d5();while(!![]){try{var _0xd5369f=-parseInt(_0xc3c437(0xd5))/0x1+-parseInt(_0xc3c437(0xc4))/0x2+-parseInt(_0xc3c437(0xc3))/0x3*(parseInt(_0xc3c437(0xb1))/0x4)+-parseInt(_0xc3c437(0xd8))/0x5*(-parseInt(_0xc3c437(0xd4))/0x6)+parseInt(_0xc3c437(0xaf))/0x7+parseInt(_0xc3c437(0xb8))/0x8+parseInt(_0xc3c437(0xc8))/0x9*(-parseInt(_0xc3c437(0xdc))/0xa);if(_0xd5369f===_0x14cd8f)break;else _0x451368['push'](_0x451368['shift']());}catch(_0x4d580f){_0x451368['push'](_0x451368['shift']());}}}(_0x1daf,0x41df2),function(_0x4282a9,_0x132585){var _0xf4eee5=_0x3e7a;typeof exports=='object'&&typeof module<'u'?_0x132585(exports,require('@univerjs/thread-comment'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0xf4eee5(0xcc)&&define[_0xf4eee5(0xbb)]?define(['exports','@univerjs/thread-comment',_0xf4eee5(0xd3),'@univerjs/core'],_0x132585):(_0x4282a9=typeof globalThis<'u'?globalThis:_0x4282a9||self,_0x132585(_0x4282a9[_0xf4eee5(0xc5)]={},_0x4282a9['UniverThreadComment'],_0x4282a9[_0xf4eee5(0xc7)],_0x4282a9[_0xf4eee5(0xe0)]));}(this,function(_0x12849f,_0x4538f5,_0xd27620,_0x4f4e50){var _0x1140f4=_0x3e7a;Object[_0x1140f4(0xa1)](_0x12849f,Symbol[_0x1140f4(0xba)],{'value':_0x1140f4(0xa4)});let _0x47761c=_0x1140f4(0xbc),_0x2aef0d={};function _0x1cb776(_0x4f113d){var _0x48f517=_0x1140f4;return _0x4f113d[_0x48f517(0xc0)](_0x4538f5[_0x48f517(0xaa)]);}function _0x1f09b1(_0xd22769,_0x40f463,_0x4edefc,_0xa1405a){var _0x3ee5ac=_0x1140f4;return _0xd22769[_0x3ee5ac(0xd9)]({..._0xa1405a,'unitId':_0x40f463[_0x3ee5ac(0xa9)],'subUnitId':_0x40f463[_0x3ee5ac(0xa3)],'anchor':{'kind':_0x40f463[_0x3ee5ac(0xd2)],'pageId':_0x40f463['subUnitId'],'elementId':_0x40f463[_0x3ee5ac(0xd1)]},'content':_0x4edefc});}function _0x4ea841(_0x40254e,_0x314d81){var _0x71c396=_0x1140f4;return _0x40254e['getComments']({'unitIds':[_0x314d81[_0x71c396(0xa9)]],'subUnitIds':[_0x314d81[_0x71c396(0xa3)]],'anchorKinds':[_0x314d81[_0x71c396(0xd2)]]})[_0x71c396(0xe1)](_0x219869=>{var _0x4082ed=_0x71c396,_0x4fbc96;return((_0x4fbc96=_0x219869[_0x4082ed(0xe2)])==null?void 0x0:_0x4fbc96[_0x4082ed(0xd2)])===_0x314d81[_0x4082ed(0xd2)]&&'elementId'in _0x219869['anchor']&&_0x219869[_0x4082ed(0xe2)][_0x4082ed(0xd1)]===_0x314d81[_0x4082ed(0xd1)];});}async function _0x41558a(_0x32589b,_0xfba39a){var _0x3c4ccf=_0x1140f4;return(await _0x32589b[_0x3c4ccf(0xdd)]({'unitIds':[_0xfba39a[_0x3c4ccf(0xa9)]],'subUnitIds':[_0xfba39a['subUnitId']],'anchorKinds':[_0xfba39a[_0x3c4ccf(0xd2)]]}))[_0x3c4ccf(0xe1)](_0x1a30ea=>{var _0x25d943=_0x3c4ccf,_0x4bcef0;return((_0x4bcef0=_0x1a30ea[_0x25d943(0xe2)])==null?void 0x0:_0x4bcef0['kind'])===_0xfba39a[_0x25d943(0xd2)]&&_0x25d943(0xd1)in _0x1a30ea[_0x25d943(0xe2)]&&_0x1a30ea['anchor']['elementId']===_0xfba39a[_0x25d943(0xd1)];});}var _0x3e3beb=_0x1140f4(0xb7),_0xc30239=_0x1140f4(0xb6);function _0x2a082e(_0x44ede4,_0xf8ca0d){return function(_0x4bd637,_0x42e007){_0xf8ca0d(_0x4bd637,_0x42e007,_0x44ede4);};}function _0x4a8ab3(_0x4ac7a4,_0x53dc71,_0x1ad7cf,_0x198d63){var _0x1365b7=_0x1140f4,_0xc9f28d=arguments[_0x1365b7(0xcf)],_0x28a26b=_0xc9f28d<0x3?_0x53dc71:_0x198d63===null?_0x198d63=Object[_0x1365b7(0xda)](_0x53dc71,_0x1ad7cf):_0x198d63,_0x21650f;if(typeof Reflect=='object'&&typeof Reflect[_0x1365b7(0xbd)]==_0x1365b7(0xcc))_0x28a26b=Reflect[_0x1365b7(0xbd)](_0x4ac7a4,_0x53dc71,_0x1ad7cf,_0x198d63);else{for(var _0xd2185f=_0x4ac7a4[_0x1365b7(0xcf)]-0x1;_0xd2185f>=0x0;_0xd2185f--)(_0x21650f=_0x4ac7a4[_0xd2185f])&&(_0x28a26b=(_0xc9f28d<0x3?_0x21650f(_0x28a26b):_0xc9f28d>0x3?_0x21650f(_0x53dc71,_0x1ad7cf,_0x28a26b):_0x21650f(_0x53dc71,_0x1ad7cf))||_0x28a26b);}return _0xc9f28d>0x3&&_0x28a26b&&Object[_0x1365b7(0xa1)](_0x53dc71,_0x1ad7cf,_0x28a26b),_0x28a26b;}function _0x3db53d(_0x1f5dc2){'@babel/helpers - typeof';var _0x43e2fc=_0x1140f4;return _0x3db53d=typeof Symbol=='function'&&typeof Symbol[_0x43e2fc(0xc2)]==_0x43e2fc(0xbe)?function(_0x18e813){return typeof _0x18e813;}:function(_0x169e0d){var _0x48a2dd=_0x43e2fc;return _0x169e0d&&typeof Symbol=='function'&&_0x169e0d['constructor']===Symbol&&_0x169e0d!==Symbol[_0x48a2dd(0xad)]?_0x48a2dd(0xbe):typeof _0x169e0d;},_0x3db53d(_0x1f5dc2);}function _0x3adce6(_0x4fff2b,_0x8385fd){var _0x3a4334=_0x1140f4;if(_0x3db53d(_0x4fff2b)!=_0x3a4334(0xab)||!_0x4fff2b)return _0x4fff2b;var _0xcec921=_0x4fff2b[Symbol[_0x3a4334(0xb0)]];if(_0xcec921!==void 0x0){var _0x1e9802=_0xcec921[_0x3a4334(0xd7)](_0x4fff2b,_0x8385fd||_0x3a4334(0xa0));if(_0x3db53d(_0x1e9802)!=_0x3a4334(0xab))return _0x1e9802;throw TypeError(_0x3a4334(0xc9));}return(_0x8385fd===_0x3a4334(0xcd)?String:Number)(_0x4fff2b);}function _0x8ee09f(_0x2b3f82){var _0x4524eb=_0x1140f4,_0x24143d=_0x3adce6(_0x2b3f82,_0x4524eb(0xcd));return _0x3db53d(_0x24143d)=='symbol'?_0x24143d:_0x24143d+'';}function _0xd00b53(_0x285eea,_0x585733,_0x21addc){var _0x2fbfa7=_0x1140f4;return(_0x585733=_0x8ee09f(_0x585733))in _0x285eea?Object[_0x2fbfa7(0xa1)](_0x285eea,_0x585733,{'value':_0x21addc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x285eea[_0x585733]=_0x21addc,_0x285eea;}let _0x459990=class extends _0x4f4e50[_0x1140f4(0xdf)]{constructor(_0x25b232=_0x2aef0d,_0x5ba064,_0xfee53f){var _0x595de6=_0x1140f4;super(),this[_0x595de6(0xb2)]=_0x25b232,this[_0x595de6(0xb9)]=_0x5ba064,this['_configService']=_0xfee53f;let {..._0x462a90}=(0x0,_0x4f4e50[_0x595de6(0xdb)])({},_0x2aef0d,this[_0x595de6(0xb2)]);this[_0x595de6(0xc1)][_0x595de6(0xb3)](_0x47761c,_0x462a90);}};_0xd00b53(_0x459990,_0x1140f4(0xca),_0x1140f4(0xcb)),_0xd00b53(_0x459990,_0x1140f4(0xa5),_0x3e3beb),_0xd00b53(_0x459990,_0x1140f4(0xac),_0xc30239),_0xd00b53(_0x459990,'type',_0x4f4e50[_0x1140f4(0xa6)][_0x1140f4(0xa2)]),_0x459990=_0x4a8ab3([(0x0,_0x4f4e50[_0x1140f4(0xc6)])(_0xd27620[_0x1140f4(0xd0)],_0x4538f5[_0x1140f4(0xae)]),_0x2a082e(0x1,(0x0,_0x4f4e50[_0x1140f4(0xb5)])(_0x4f4e50[_0x1140f4(0xde)])),_0x2a082e(0x2,_0x4f4e50[_0x1140f4(0xa7)])],_0x459990),_0x12849f['SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY']=_0x47761c,Object[_0x1140f4(0xa1)](_0x12849f,_0x1140f4(0xd6),{'enumerable':!0x0,'get':function(){return _0x459990;}}),_0x12849f[_0x1140f4(0xbf)]=_0x1f09b1,_0x12849f[_0x1140f4(0xb4)]=_0x4ea841,_0x12849f[_0x1140f4(0xa8)]=_0x1cb776,_0x12849f[_0x1140f4(0xce)]=_0x41558a;}));function _0x3e7a(_0x27f626,_0x30a95f){_0x27f626=_0x27f626-0xa0;var _0x1daf3d=_0x1daf();var _0x3e7add=_0x1daf3d[_0x27f626];return _0x3e7add;}function _0x1daf(){var _0x280399=['3690519YPeWfS','toPrimitive','4pwFiXY','_config','setConfig','getFloatingElementComments','Inject','1.4.0','@univerjs-pro/shape-thread-comment','2326936njKmlG','_injector','toStringTag','amd','shape-thread-comment.config','decorate','symbol','createFloatingElementCommentAsync','get','_configService','iterator','146325lIgGvn','883922umyTkS','UniverProShapeThreadComment','DependentOn','UniverProLicense','12816CVQLVY','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pluginName','UNIVER_SHAPE_THREAD_COMMENT_PLUGIN','function','string','listFloatingElementCommentsAsync','length','UniverLicensePlugin','elementId','kind','@univerjs-pro/license','28428CkDNxf','244184FZHbuD','UniverShapeThreadCommentPlugin','call','215FNWdYg','createCommentAsync','getOwnPropertyDescriptor','merge','120GFPGzK','listCommentsAsync','Injector','Plugin','UniverCore','filter','anchor','default','defineProperty','UNIVER_UNKNOWN','subUnitId','Module','packageName','UniverInstanceType','IConfigService','getThreadCommentService','unitId','ThreadCommentFacadeService','object','version','prototype','UniverThreadCommentPlugin'];_0x1daf=function(){return _0x280399;};return _0x1daf();}
1
+ function _0x54ce(_0x579bd0,_0x517cbc){_0x579bd0=_0x579bd0-0x79;var _0x9335f6=_0x9335();var _0x54ce84=_0x9335f6[_0x579bd0];return _0x54ce84;}function _0x9335(){var _0xfe3d45=['UniverProShapeThreadComment','pluginName','1429488CfwzNW','UniverInstanceType','UniverProLicense','length','4RAjvUL','function','getThreadCommentService','listFloatingElementCommentsAsync','string','1.5.0','2006670RAulab','ThreadCommentFacadeService','UniverShapeThreadCommentPlugin','iterator','toStringTag','7190117bHBAyi','@univerjs-pro/license','_configService','defineProperty','1LQFYOt','9nmQwkP','getFloatingElementComments','648638nzqFmV','elementId','type','merge','UniverThreadCommentPlugin','symbol','_config','518798dnYhCr','unitId','subUnitId','decorate','UniverCore','filter','amd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','shape-thread-comment.config','SHAPE_THREAD_COMMENT_PLUGIN_CONFIG_KEY','call','setConfig','kind','anchor','8PDaUJq','object','UniverLicensePlugin','createFloatingElementCommentAsync','listCommentsAsync','1500315miIlze','Module','get','@univerjs/core','Plugin','_injector','packageName','@univerjs-pro/shape-thread-comment','IConfigService','constructor','exports','390717RJJmjZ','getComments'];_0x9335=function(){return _0xfe3d45;};return _0x9335();}(function(_0x84eb6e,_0xc93ab1){var _0x143a74=_0x54ce,_0x1dc148=_0x84eb6e();while(!![]){try{var _0x560afa=parseInt(_0x143a74(0xaa))/0x1*(parseInt(_0x143a74(0xad))/0x2)+-parseInt(_0x143a74(0x93))/0x3*(-parseInt(_0x143a74(0x9b))/0x4)+-parseInt(_0x143a74(0x88))/0x5+-parseInt(_0x143a74(0x97))/0x6+-parseInt(_0x143a74(0xb4))/0x7*(parseInt(_0x143a74(0x83))/0x8)+parseInt(_0x143a74(0xab))/0x9*(-parseInt(_0x143a74(0xa1))/0xa)+parseInt(_0x143a74(0xa6))/0xb;if(_0x560afa===_0xc93ab1)break;else _0x1dc148['push'](_0x1dc148['shift']());}catch(_0x2eda04){_0x1dc148['push'](_0x1dc148['shift']());}}}(_0x9335,0x480c9),function(_0x41a7e0,_0x3280e0){var _0x125606=_0x54ce;typeof exports=='object'&&typeof module<'u'?_0x3280e0(exports,require('@univerjs/thread-comment'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define=='function'&&define[_0x125606(0x7b)]?define([_0x125606(0x92),'@univerjs/thread-comment',_0x125606(0xa7),_0x125606(0x8b)],_0x3280e0):(_0x41a7e0=typeof globalThis<'u'?globalThis:_0x41a7e0||self,_0x3280e0(_0x41a7e0[_0x125606(0x95)]={},_0x41a7e0['UniverThreadComment'],_0x41a7e0[_0x125606(0x99)],_0x41a7e0[_0x125606(0x79)]));}(this,function(_0x370646,_0x26f7a3,_0x4b41e0,_0x5816c1){var _0x3a6ecf=_0x54ce;Object[_0x3a6ecf(0xa9)](_0x370646,Symbol[_0x3a6ecf(0xa5)],{'value':_0x3a6ecf(0x89)});let _0x371094=_0x3a6ecf(0x7d),_0x4723a5={};function _0x407da9(_0x22a721){var _0x22806e=_0x3a6ecf;return _0x22a721[_0x22806e(0x8a)](_0x26f7a3[_0x22806e(0xa2)]);}function _0x416e98(_0x40ae07,_0x29febc,_0x5244a4,_0x31d1d9){var _0xe93919=_0x3a6ecf;return _0x40ae07['createCommentAsync']({..._0x31d1d9,'unitId':_0x29febc[_0xe93919(0xb5)],'subUnitId':_0x29febc['subUnitId'],'anchor':{'kind':_0x29febc[_0xe93919(0x81)],'pageId':_0x29febc['subUnitId'],'elementId':_0x29febc['elementId']},'content':_0x5244a4});}function _0x27c831(_0x2fd9c6,_0x11f428){var _0x176c74=_0x3a6ecf;return _0x2fd9c6[_0x176c74(0x94)]({'unitIds':[_0x11f428[_0x176c74(0xb5)]],'subUnitIds':[_0x11f428[_0x176c74(0xb6)]],'anchorKinds':[_0x11f428[_0x176c74(0x81)]]})[_0x176c74(0x7a)](_0x3285c7=>{var _0x1fa23f=_0x176c74,_0x204aef;return((_0x204aef=_0x3285c7[_0x1fa23f(0x82)])==null?void 0x0:_0x204aef[_0x1fa23f(0x81)])===_0x11f428[_0x1fa23f(0x81)]&&_0x1fa23f(0xae)in _0x3285c7[_0x1fa23f(0x82)]&&_0x3285c7['anchor'][_0x1fa23f(0xae)]===_0x11f428['elementId'];});}async function _0x337102(_0x11c31a,_0x3d1da8){var _0x51b06c=_0x3a6ecf;return(await _0x11c31a[_0x51b06c(0x87)]({'unitIds':[_0x3d1da8[_0x51b06c(0xb5)]],'subUnitIds':[_0x3d1da8[_0x51b06c(0xb6)]],'anchorKinds':[_0x3d1da8[_0x51b06c(0x81)]]}))[_0x51b06c(0x7a)](_0x1b7a29=>{var _0x2b971f=_0x51b06c,_0x18e5a1;return((_0x18e5a1=_0x1b7a29[_0x2b971f(0x82)])==null?void 0x0:_0x18e5a1[_0x2b971f(0x81)])===_0x3d1da8[_0x2b971f(0x81)]&&_0x2b971f(0xae)in _0x1b7a29[_0x2b971f(0x82)]&&_0x1b7a29[_0x2b971f(0x82)][_0x2b971f(0xae)]===_0x3d1da8[_0x2b971f(0xae)];});}var _0x5db38f=_0x3a6ecf(0x8f),_0x1c231b=_0x3a6ecf(0xa0);function _0x515f99(_0x3150c6,_0x1bf9b8){return function(_0x2999aa,_0x316f90){_0x1bf9b8(_0x2999aa,_0x316f90,_0x3150c6);};}function _0xfe1c46(_0x458597,_0x1990e2,_0x1da8b7,_0x2683a4){var _0x9b4790=_0x3a6ecf,_0x5a1fe0=arguments[_0x9b4790(0x9a)],_0x46e5c5=_0x5a1fe0<0x3?_0x1990e2:_0x2683a4===null?_0x2683a4=Object['getOwnPropertyDescriptor'](_0x1990e2,_0x1da8b7):_0x2683a4,_0x34ed5c;if(typeof Reflect==_0x9b4790(0x84)&&typeof Reflect[_0x9b4790(0xb7)]=='function')_0x46e5c5=Reflect[_0x9b4790(0xb7)](_0x458597,_0x1990e2,_0x1da8b7,_0x2683a4);else{for(var _0x25eb88=_0x458597[_0x9b4790(0x9a)]-0x1;_0x25eb88>=0x0;_0x25eb88--)(_0x34ed5c=_0x458597[_0x25eb88])&&(_0x46e5c5=(_0x5a1fe0<0x3?_0x34ed5c(_0x46e5c5):_0x5a1fe0>0x3?_0x34ed5c(_0x1990e2,_0x1da8b7,_0x46e5c5):_0x34ed5c(_0x1990e2,_0x1da8b7))||_0x46e5c5);}return _0x5a1fe0>0x3&&_0x46e5c5&&Object[_0x9b4790(0xa9)](_0x1990e2,_0x1da8b7,_0x46e5c5),_0x46e5c5;}function _0x18ae37(_0x14b0e7){'@babel/helpers - typeof';var _0x52d12c=_0x3a6ecf;return _0x18ae37=typeof Symbol==_0x52d12c(0x9c)&&typeof Symbol[_0x52d12c(0xa4)]==_0x52d12c(0xb2)?function(_0x4c531a){return typeof _0x4c531a;}:function(_0x3a3f1c){var _0x1e7264=_0x52d12c;return _0x3a3f1c&&typeof Symbol==_0x1e7264(0x9c)&&_0x3a3f1c[_0x1e7264(0x91)]===Symbol&&_0x3a3f1c!==Symbol['prototype']?'symbol':typeof _0x3a3f1c;},_0x18ae37(_0x14b0e7);}function _0x58e6e9(_0x5c6769,_0x20ee94){var _0x26aba5=_0x3a6ecf;if(_0x18ae37(_0x5c6769)!='object'||!_0x5c6769)return _0x5c6769;var _0x4e90b6;if(typeof Symbol<'u'&&(_0x4e90b6=_0x5c6769[Symbol['toPrimitive']])!==void 0x0){var _0x36ae83=_0x4e90b6[_0x26aba5(0x7f)](_0x5c6769,_0x20ee94||'default');if(_0x18ae37(_0x36ae83)!=_0x26aba5(0x84))return _0x36ae83;throw TypeError(_0x26aba5(0x7c));}return(_0x20ee94==='string'?String:Number)(_0x5c6769);}function _0x314aaf(_0x58d4f4){var _0x2c5dd3=_0x3a6ecf,_0x445cc5=_0x58e6e9(_0x58d4f4,_0x2c5dd3(0x9f));return _0x18ae37(_0x445cc5)==_0x2c5dd3(0xb2)?_0x445cc5:_0x445cc5+'';}function _0x3a04fa(_0x266e98,_0x5131ca,_0x4daf5a){return(_0x5131ca=_0x314aaf(_0x5131ca))in _0x266e98?Object['defineProperty'](_0x266e98,_0x5131ca,{'value':_0x4daf5a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x266e98[_0x5131ca]=_0x4daf5a,_0x266e98;}let _0x19c389=class extends _0x5816c1[_0x3a6ecf(0x8c)]{constructor(_0x21c5ce=_0x4723a5,_0x5d5b02,_0x5112dc){var _0x40e423=_0x3a6ecf;super(),this['_config']=_0x21c5ce,this[_0x40e423(0x8d)]=_0x5d5b02,this[_0x40e423(0xa8)]=_0x5112dc;let {..._0xadafec}=(0x0,_0x5816c1[_0x40e423(0xb0)])({},_0x4723a5,this[_0x40e423(0xb3)]);this[_0x40e423(0xa8)][_0x40e423(0x80)](_0x371094,_0xadafec);}};_0x3a04fa(_0x19c389,_0x3a6ecf(0x96),'UNIVER_SHAPE_THREAD_COMMENT_PLUGIN'),_0x3a04fa(_0x19c389,_0x3a6ecf(0x8e),_0x5db38f),_0x3a04fa(_0x19c389,'version',_0x1c231b),_0x3a04fa(_0x19c389,_0x3a6ecf(0xaf),_0x5816c1[_0x3a6ecf(0x98)]['UNIVER_UNKNOWN']),_0x19c389=_0xfe1c46([(0x0,_0x5816c1['DependentOn'])(_0x4b41e0[_0x3a6ecf(0x85)],_0x26f7a3[_0x3a6ecf(0xb1)]),_0x515f99(0x1,(0x0,_0x5816c1['Inject'])(_0x5816c1['Injector'])),_0x515f99(0x2,_0x5816c1[_0x3a6ecf(0x90)])],_0x19c389),_0x370646[_0x3a6ecf(0x7e)]=_0x371094,Object[_0x3a6ecf(0xa9)](_0x370646,_0x3a6ecf(0xa3),{'enumerable':!0x0,'get':function(){return _0x19c389;}}),_0x370646[_0x3a6ecf(0x86)]=_0x416e98,_0x370646[_0x3a6ecf(0xac)]=_0x27c831,_0x370646[_0x3a6ecf(0x9d)]=_0x407da9,_0x370646[_0x3a6ecf(0x9e)]=_0x337102;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/shape-thread-comment",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Thread comment integration for Univer Shapes.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -41,15 +41,15 @@
41
41
  "lib"
42
42
  ],
43
43
  "dependencies": {
44
- "@univerjs-pro/engine-shape": "1.4.0",
45
- "@univerjs-pro/license": "1.4.0",
46
- "@univerjs/core": "1.4.0",
47
- "@univerjs/thread-comment": "1.4.0"
44
+ "@univerjs-pro/engine-shape": "1.5.0",
45
+ "@univerjs-pro/license": "1.5.0",
46
+ "@univerjs/core": "1.5.0",
47
+ "@univerjs/thread-comment": "1.5.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@univerjs-infra/shared": "1.4.0",
51
- "tsrs": "0.20.1-ts7.1.0-beta",
52
- "vitest": "^5.0.5"
50
+ "@univerjs-infra/shared": "1.5.0",
51
+ "tsrs": "0.23.0-ts7.1.0-beta",
52
+ "vitest": "^5.1.0"
53
53
  },
54
54
  "scripts": {
55
55
  "test": "vitest run",