@ckeditor/ckeditor5-comments 0.0.0-nightly-20231225.0 → 0.0.0-nightly-20231226.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/build/comments.js +1 -1
- package/package.json +3 -3
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231226.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"CHANGELOG.md"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "0.0.0-nightly-
|
|
48
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
47
|
+
"ckeditor5": "0.0.0-nightly-20231226.0",
|
|
48
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231226.0",
|
|
49
49
|
"lodash-es": "4.17.21"
|
|
50
50
|
},
|
|
51
51
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe988=['annotationType','setTemplate','ck-annotation-counter__badge--edit-mode','counterView','_badge','extendTemplate','number','set','add','toString','span','isDirty','bindTemplate','...'];(function(_0x565193,_0xe98836){const _0x531efc=function(_0x24395e){while(--_0x24395e){_0x565193['push'](_0x565193['shift']());}};_0x531efc(++_0xe98836);}(_0xe988,0x1ce));const _0x531e=function(_0x565193,_0xe98836){_0x565193=_0x565193-0x0;let _0x531efc=_0xe988[_0x565193];return _0x531efc;};import{ButtonView as _0x5a1dd1,View as _0x3d0613}from'ckeditor5/src/ui.js';import _0x575004 from'../../../theme/icons/add-comment.svg';export default class D extends _0x5a1dd1{constructor(_0x1b2d79){super(_0x1b2d79);const _0x29a91a=this[_0x531e('0xc')];this[_0x531e('0x7')]('isDirty',!0x1),this['set'](_0x531e('0x6'),0x0),this['bind'](_0x531e('0x4'))['to'](this,'isDirty',this,'number',(_0xe225b1,_0x24b08e)=>_0xe225b1?_0x531e('0xd'):_0x24b08e[_0x531e('0x9')]()),this[_0x531e('0x7')](_0x531e('0x0'),''),this['icon']=_0x575004,this[_0x531e('0x5')]({'attributes':{'class':['ck-annotation-counter']}}),this[_0x531e('0x3')]=new _0x3d0613(),this['counterView'][_0x531e('0x1')]({'tag':_0x531e('0xa'),'attributes':{'class':['ck-annotation-counter__badge',_0x29a91a['to'](_0x531e('0x0'),_0x3cdeb9=>'ck-annotation-counter__badge--'+_0x3cdeb9),_0x29a91a['if'](_0x531e('0xb'),_0x531e('0x2'))]},'children':[{'text':_0x29a91a['to'](_0x531e('0x4'))}]}),this['children'][_0x531e('0x8')](this[_0x531e('0x3')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b72=['element','length','ck-annotation-wrapper--active','type','isActive','setTemplate','fire','bindTemplate','add','destroy','div','content','focus','ck-rounded-corners','clear','targetRect','ck-annotation-wrapper','createCollection','listenTo','render','keystrokes','focusTracker','_mutationObserver','Esc','height','set','_updateHeight'];(function(_0x6669ce,_0x4b72a2){const _0x46a0cf=function(_0x47eb60){while(--_0x47eb60){_0x6669ce['push'](_0x6669ce['shift']());}};_0x46a0cf(++_0x4b72a2);}(_0x4b72,0x7e));const _0x46a0=function(_0x6669ce,_0x4b72a2){_0x6669ce=_0x6669ce-0x0;let _0x46a0cf=_0x4b72[_0x6669ce];return _0x46a0cf;};import{View as _0x3b617d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2f3a4c,KeystrokeHandler as _0x890cc3,uid as _0x5ed7a1}from'ckeditor5/src/utils.js';import _0x28ad17 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x3b617d{constructor(_0x4b37dc,_0x5a07d1){super(_0x4b37dc),this['id']=_0x5ed7a1(),this[_0x46a0('0x3')]=new _0x2f3a4c(),this[_0x46a0('0x2')]=new _0x890cc3(),this[_0x46a0('0x2')][_0x46a0('0x7')](_0x46a0('0x5'),(_0x2111a0,_0x127fee)=>this[_0x46a0('0xf')](_0x46a0('0x5'),_0x127fee)),this['set'](_0x46a0('0x18'),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x46a0('0x7')](_0x46a0('0x6'),0x0),this[_0x46a0('0x7')](_0x46a0('0xd'),!0x1),this[_0x46a0('0x7')]('isDirty',!0x1),this[_0x46a0('0x7')](_0x46a0('0xa'),0x0),this['set'](_0x46a0('0xc'),''),this[_0x46a0('0x4')]=_0x28ad17(()=>this[_0x46a0('0x8')]()),this['content']=this[_0x46a0('0x1a')](),this[_0x46a0('0x14')][_0x46a0('0x11')](_0x5a07d1),this['mainView']=_0x5a07d1;const _0x46b31f=this[_0x46a0('0x10')];this[_0x46a0('0xe')]({'tag':_0x46a0('0x13'),'attributes':{'class':['ck',_0x46a0('0x19'),_0x46a0('0x16'),_0x46b31f['if']('isActive',_0x46a0('0xb'))],'tabindex':-0x1},'children':this['content']});}[_0x46a0('0x1')](){super[_0x46a0('0x1')](),this['focusTracker']['add'](this[_0x46a0('0x9')]),this[_0x46a0('0x2')][_0x46a0('0x0')](this[_0x46a0('0x9')]),this[_0x46a0('0x4')]['attach'](this[_0x46a0('0x9')]);}['destroy'](){this['content'][_0x46a0('0x17')](),this[_0x46a0('0x2')][_0x46a0('0x12')](),this[_0x46a0('0x3')][_0x46a0('0x12')](),this[_0x46a0('0x4')]['detach'](),super[_0x46a0('0x12')]();}[_0x46a0('0x15')](){this[_0x46a0('0x9')][_0x46a0('0x15')]();}[_0x46a0('0x8')](){const _0x5d51ec=this[_0x46a0('0x9')]['clientHeight'];_0x5d51ec&&(this[_0x46a0('0x6')]=_0x5d51ec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a84=['updateHeight','height','div','ck-sidebar-item','bind','top','ck-sidebar-item--no-animation','setTemplate','set','_targetTop','element','_mutationObserver','clear','destroy','content','render','detach','clientHeight'];(function(_0xe8f3fa,_0x5a8464){const _0x2a9433=function(_0x1b9f06){while(--_0x1b9f06){_0xe8f3fa['push'](_0xe8f3fa['shift']());}};_0x2a9433(++_0x5a8464);}(_0x5a84,0xa1));const _0x2a94=function(_0xe8f3fa,_0x5a8464){_0xe8f3fa=_0xe8f3fa-0x0;let _0x2a9433=_0x5a84[_0xe8f3fa];return _0x2a9433;};import{View as _0x1234b9}from'ckeditor5/src/ui.js';import{toUnit as _0x287a96}from'ckeditor5/src/utils.js';import _0x1c4594 from'../../utils/createmutationobserver.js';const Ht=_0x287a96('px');export default class C extends _0x1234b9{constructor(_0xa29995){super(_0xa29995),this[_0x2a94('0x9')](_0x2a94('0x6'),0x0),this[_0x2a94('0x9')]('height',0x0),this[_0x2a94('0x5')]('bottom')['to'](this,'top',this,_0x2a94('0x2'),(_0x6b0ecd,_0x46186d)=>_0x6b0ecd+_0x46186d),this[_0x2a94('0x9')]('isAnimationDisabled',!0x1),this[_0x2a94('0xc')]=_0x1c4594(()=>this[_0x2a94('0x1')]()),this[_0x2a94('0xa')]=null,this[_0x2a94('0xf')]=this['createCollection']();const _0x38657b=this['bindTemplate'];this[_0x2a94('0x8')]({'tag':_0x2a94('0x3'),'attributes':{'class':[_0x2a94('0x4'),_0x38657b['to']('isAnimationDisabled',_0xabd2d3=>_0xabd2d3?_0x2a94('0x7'):'')],'style':{'top':_0x38657b['to'](_0x2a94('0x6'),_0x194504=>Ht(_0x194504))}},'children':this[_0x2a94('0xf')]});}[_0x2a94('0x10')](){super[_0x2a94('0x10')](),this[_0x2a94('0xc')]['attach'](this[_0x2a94('0xb')]);}['updateHeight'](){const _0x40a2f7=this['element'][_0x2a94('0x0')];_0x40a2f7&&(this[_0x2a94('0x2')]=_0x40a2f7);}[_0x2a94('0xe')](){this[_0x2a94('0xf')][_0x2a94('0xd')](),this['_mutationObserver'][_0x2a94('0x11')](),super[_0x2a94('0xe')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3562=['ck-sidebar','list','class','set','number','minHeight','div','setTemplate'];(function(_0xa8bd3d,_0x3562d8){const _0xb97511=function(_0x14f9d7){while(--_0x14f9d7){_0xa8bd3d['push'](_0xa8bd3d['shift']());}};_0xb97511(++_0x3562d8);}(_0x3562,0x90));const _0xb975=function(_0xa8bd3d,_0x3562d8){_0xa8bd3d=_0xa8bd3d-0x0;let _0xb97511=_0x3562[_0xa8bd3d];return _0xb97511;};import{View as _0x1958cf}from'ckeditor5/src/ui.js';import{toUnit as _0xa939c0}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const Ht=_0xa939c0('px');export default class T extends _0x1958cf{constructor(_0x3252d7){super(_0x3252d7);const _0x137d1c=this['bindTemplate'];this[_0xb975('0x3')](_0xb975('0x5'),0x0),this[_0xb975('0x3')](_0xb975('0x2'),''),this[_0xb975('0x1')]=this['createCollection'](),this[_0xb975('0x7')]({'tag':_0xb975('0x6'),'attributes':{'class':['ck',_0xb975('0x0'),'ck-reset',_0x137d1c['to'](_0xb975('0x2'))],'style':{'minHeight':_0x137d1c['to'](_0xb975('0x5'),_0x14e5ad=>_0xb975('0x4')==typeof _0x14e5ad?Ht(_0x14e5ad+0xa):null)}},'children':this[_0xb975('0x1')]});}}
|