@ckeditor/ckeditor5-comments 41.4.2 → 42.0.0-alpha.1
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 +6 -0
- package/build/comments.js +1 -1
- package/dist/index.js +9 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/annotations/annotation.d.ts +1 -1
- package/dist/types/comments/commentsrepository.d.ts +2 -2
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/types/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/types/comments/ui/view/commentview.d.ts +1 -1
- package/dist/types/config.d.ts +1 -4
- package/package.json +3 -3
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +2 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- 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/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +2 -2
- package/src/comments/commentsrepository.js +3 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -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/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -1
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +2 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +1 -4
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31aba6=_0x546c;(function(_0x357afa,_0x12a136){const _0x42f6ef=_0x546c,_0x37d392=_0x357afa();while(!![]){try{const _0x23829f=parseInt(_0x42f6ef(0x1bb))/0x1+-parseInt(_0x42f6ef(0x1b5))/0x2+-parseInt(_0x42f6ef(0x1be))/0x3*(parseInt(_0x42f6ef(0x1a8))/0x4)+parseInt(_0x42f6ef(0x1cc))/0x5+parseInt(_0x42f6ef(0x1b1))/0x6+-parseInt(_0x42f6ef(0x1cf))/0x7+parseInt(_0x42f6ef(0x1c1))/0x8;if(_0x23829f===_0x12a136)break;else _0x37d392['push'](_0x37d392['shift']());}catch(_0x2ef2b){_0x37d392['push'](_0x37d392['shift']());}}}(_0x15df,0xb82ac));import{View as _0x473b6a,ButtonView as _0x20ba39}from'ckeditor5/src/ui.js';import{getTranslation as _0x4ae419}from'../../../utils/common-translations.js';import _0x51f2fd from'../../../../theme/icons/undo.svg';function _0x15df(){const _0x39eec5=['reopenCommentThread','offsetWidth','isResolvable','_model','7170342OTJXDy','value','isEnabled','execute','469292yQzFjV','icon','context','listenTo','length','remove','763791IzKoSy','div','contextValue','3999615cWJJHs','.ck-context','_trimContextValue','2683632etqxHj','ck-annotation__actions','substring','bind','setTemplate','Comment\x20was\x20made\x20on\x20an\x20element','.ck-context__value','lastIndexOf','render','hasContext','ck-thread__header','4474160zBXDbG','ck-context__value','ck-context--quotes','6068545edAgbi','tooltip','label','classList','element','span','Reopen','add','isReadOnly','locale','overlay','ck-context-wrapper','fire','reopenButtonView','bindTemplate','scrollWidth','mouseleave','_attachContextActions','...','isResolved','isVisible','4wuOauV','_createReopenButton','ck-context','querySelector','mouseenter'];_0x15df=function(){return _0x39eec5;};return _0x15df();}export const MAX_CONTENT_LENGTH=0x96;function _0x546c(_0x2f6dae,_0xf1d726){const _0x15dfa6=_0x15df();return _0x546c=function(_0x546c05,_0x596055){_0x546c05=_0x546c05-0x1a8;let _0x1ae75c=_0x15dfa6[_0x546c05];return _0x1ae75c;},_0x546c(_0x2f6dae,_0xf1d726);}export default class Zt extends _0x473b6a{constructor(_0x1d932d,_0x565cb4){const _0x38db29=_0x546c;super(_0x1d932d);const _0x5f2e19=this[_0x38db29(0x1dd)];this[_0x38db29(0x1b0)]=_0x565cb4,this[_0x38db29(0x1dc)]=this[_0x38db29(0x1a9)](),this[_0x38db29(0x1c4)](_0x38db29(0x1ca))['to'](this[_0x38db29(0x1b0)],_0x38db29(0x1b7),_0x3002a6=>!!_0x3002a6),this[_0x38db29(0x1c4)](_0x38db29(0x1bd))['to'](this[_0x38db29(0x1b0)],_0x38db29(0x1b7),_0x252eb9=>_0x252eb9&&_0x252eb9[_0x38db29(0x1b2)]?this[_0x38db29(0x1c0)](_0x252eb9[_0x38db29(0x1b2)]):_0x4ae419(this[_0x38db29(0x1d8)],_0x38db29(0x1c6))),this[_0x38db29(0x1c5)]({'tag':_0x38db29(0x1bc),'attributes':{'class':[_0x38db29(0x1cb)]},'children':[{'tag':_0x38db29(0x1bc),'attributes':{'class':[_0x38db29(0x1da)]},'children':[{'tag':_0x38db29(0x1bc),'attributes':{'class':[_0x38db29(0x1aa),_0x5f2e19['if'](_0x38db29(0x1ca),_0x38db29(0x1ce))]},'children':[{'tag':_0x38db29(0x1d4),'attributes':{'class':[_0x38db29(0x1cd)]},'children':[{'text':_0x5f2e19['to'](_0x38db29(0x1bd))}]}]}]},{'tag':_0x38db29(0x1bc),'attributes':{'class':[_0x38db29(0x1c2)]},'children':[this[_0x38db29(0x1dc)]]}]});}[_0x31aba6(0x1c9)](){const _0x35cd93=_0x31aba6;super[_0x35cd93(0x1c9)](),this[_0x35cd93(0x1e0)]();}[_0x31aba6(0x1a9)](){const _0x203967=_0x31aba6,_0x267073=new _0x20ba39(this[_0x203967(0x1d8)]);return _0x267073[_0x203967(0x1d1)]=_0x4ae419(this[_0x203967(0x1d8)],_0x203967(0x1d5)),_0x267073[_0x203967(0x1d0)]=_0x4ae419(this[_0x203967(0x1d8)],_0x203967(0x1d5)),_0x267073[_0x203967(0x1b6)]=_0x51f2fd,_0x267073[_0x203967(0x1c4)](_0x203967(0x1b3))['to'](this[_0x203967(0x1b0)],_0x203967(0x1d7),_0x2fdf66=>!_0x2fdf66),_0x267073[_0x203967(0x1c4)](_0x203967(0x1e3))['to'](this[_0x203967(0x1b0)],_0x203967(0x1af),this[_0x203967(0x1b0)],_0x203967(0x1e2),(_0x20c3e6,_0x3ca483)=>_0x20c3e6&&_0x3ca483),_0x267073['on'](_0x203967(0x1b4),()=>{const _0xa712d9=_0x203967;this[_0xa712d9(0x1db)](_0xa712d9(0x1ad),this[_0xa712d9(0x1b0)]['id']);}),_0x267073;}[_0x31aba6(0x1c0)](_0x6803a7){const _0x596fb0=_0x31aba6;if(_0x6803a7[_0x596fb0(0x1b9)]<0x96)return _0x6803a7;const _0x5d94d3=_0x6803a7[_0x596fb0(0x1c8)]('\x20',0x93);return _0x6803a7[_0x596fb0(0x1c3)](0x0,_0x5d94d3>-0x1?_0x5d94d3:0x93)+_0x596fb0(0x1e1);}[_0x31aba6(0x1e0)](){const _0x340a2c=_0x31aba6,_0x10b189=this[_0x340a2c(0x1d3)][_0x340a2c(0x1ab)](_0x340a2c(0x1bf)),_0x180be5=_0x10b189[_0x340a2c(0x1ab)](_0x340a2c(0x1c7));this[_0x340a2c(0x1b8)](_0x10b189,_0x340a2c(0x1ac),()=>{const _0x5c8d8d=_0x340a2c;_0x180be5[_0x5c8d8d(0x1ae)]<_0x180be5[_0x5c8d8d(0x1de)]&&_0x10b189[_0x5c8d8d(0x1d2)][_0x5c8d8d(0x1d6)](_0x5c8d8d(0x1d9));}),this[_0x340a2c(0x1b8)](_0x10b189,_0x340a2c(0x1df),()=>{const _0x39d19c=_0x340a2c;_0x10b189[_0x39d19c(0x1d2)][_0x39d19c(0x1ba)](_0x39d19c(0x1d9));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x28edc5=_0x5bc6;function _0x5bc6(_0x1d467b,_0x27390c){var _0x56005e=_0x5600();return _0x5bc6=function(_0x5bc609,_0x2cf7f6){_0x5bc609=_0x5bc609-0x184;var _0x42d5a6=_0x56005e[_0x5bc609];return _0x42d5a6;},_0x5bc6(_0x1d467b,_0x27390c);}(function(_0x5ed3ef,_0x561e4d){var _0x15c5a3=_0x5bc6,_0x4a3064=_0x5ed3ef();while(!![]){try{var _0x3f4445=parseInt(_0x15c5a3(0x18d))/0x1*(-parseInt(_0x15c5a3(0x18a))/0x2)+-parseInt(_0x15c5a3(0x18b))/0x3*(-parseInt(_0x15c5a3(0x1a5))/0x4)+-parseInt(_0x15c5a3(0x18c))/0x5+-parseInt(_0x15c5a3(0x1a1))/0x6+-parseInt(_0x15c5a3(0x1a0))/0x7+-parseInt(_0x15c5a3(0x190))/0x8+parseInt(_0x15c5a3(0x184))/0x9;if(_0x3f4445===_0x561e4d)break;else _0x4a3064['push'](_0x4a3064['shift']());}catch(_0x10c64c){_0x4a3064['push'](_0x4a3064['shift']());}}}(_0x5600,0xb82bf));import{View as _0x3fd50c}from'ckeditor5/src/ui.js';import _0x903bc from'./commentinputview.js';function _0x5600(){var _0x4cfae8=['userView','ck-comment__input-container','isFocused','value','bind','ck-thread__user','ck-thread__input','bindTemplate','9698927GEkrXC','537204ixsjyJ','ck-comment__input-container--active','editorReady','div','69644UEBgMI','41336415rovIBD','delegate','change:showInput','showInput','extendTemplate','editorDestroyed','2XvRjjA','81yQuMkX','1729025FhZfup','1501562ZlGvFA','setTemplate','then','7889624fHdJJD','editor','commentInputView','showButtons','createEditor','destroy','focusTracker','set'];_0x5600=function(){return _0x4cfae8;};return _0x5600();}import{UserView as _0x1f8a0e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Tt extends _0x3fd50c{constructor(_0x226d4c,_0x47f75d,_0x12d112){var _0x4fd038=_0x5bc6;super(_0x226d4c),this[_0x4fd038(0x192)]=new _0x903bc(_0x226d4c,_0x12d112),this[_0x4fd038(0x192)][_0x4fd038(0x19c)](_0x4fd038(0x193))['to'](this[_0x4fd038(0x192)][_0x4fd038(0x196)],_0x4fd038(0x19a),this[_0x4fd038(0x192)],_0x4fd038(0x19b),(_0x1da897,_0x2d4897)=>_0x1da897||!!_0x2d4897),this[_0x4fd038(0x197)](_0x4fd038(0x187),!0x1),this['on'](_0x4fd038(0x186),()=>{var _0x59dd0c=_0x4fd038;this[_0x59dd0c(0x187)]&&!this[_0x59dd0c(0x192)][_0x59dd0c(0x191)]&&this[_0x59dd0c(0x192)][_0x59dd0c(0x194)]();}),this[_0x4fd038(0x192)][_0x4fd038(0x185)](_0x4fd038(0x1a3))['to'](this),this[_0x4fd038(0x192)][_0x4fd038(0x185)](_0x4fd038(0x189))['to'](this),this[_0x4fd038(0x198)]=new _0x1f8a0e(_0x226d4c,_0x47f75d),this[_0x4fd038(0x198)][_0x4fd038(0x188)]({'attributes':{'class':_0x4fd038(0x19d)}}),this[_0x4fd038(0x192)][_0x4fd038(0x188)]({'attributes':{'class':_0x4fd038(0x19e)}}),this[_0x4fd038(0x18e)]({'tag':_0x4fd038(0x1a4),'attributes':{'class':[_0x4fd038(0x199),this[_0x4fd038(0x19f)]['if'](_0x4fd038(0x187),_0x4fd038(0x1a2))]},'children':[this[_0x4fd038(0x198)],this[_0x4fd038(0x192)]]});}[_0x28edc5(0x195)](){var _0x3e0642=_0x28edc5;return this[_0x3e0642(0x192)][_0x3e0642(0x195)]()[_0x3e0642(0x18f)](()=>super[_0x3e0642(0x195)]());}}
|
|
@@ -16,7 +16,7 @@ declare const CommentThreadView_base: import("ckeditor5/src/utils.js").Mixed<typ
|
|
|
16
16
|
/**
|
|
17
17
|
* The default view for comment thread.
|
|
18
18
|
*/
|
|
19
|
-
export default class CommentThreadView extends CommentThreadView_base {
|
|
19
|
+
export default class CommentThreadView extends /* #__PURE__ -- @preserve */ CommentThreadView_base {
|
|
20
20
|
isConfirm: boolean;
|
|
21
21
|
cancelConfirm: () => void;
|
|
22
22
|
showConfirm: (key: string, element: unknown) => Promise<void>;
|
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4dd4(){const _0x3d3477=['isUnlinked','archivedAt','resolveCommentThread','894QXoAnr','ck-thread--','_boundFirstCommentView','ck-thread--unlinked','querySelector','locale','change:archivedAt','commentViews','3290418ZhqMnZ','_createResolveButton','element','cancelConfirm','tooltip','ck-comment--resolve','stop','add','check','isResolved','commentsListView','length','has','getTemplate','extendTemplate','562810Xfcjfq','resolveButton','actionBar','commentThreadChildren','576466MjANoc','listenTo','removeCommentThread','remove','9224HEFfLH','commentThreadInputView','ck-thread__container','530371LHRrMn','ck-thread','bindTemplate','ck-thread--active','get','117GskUMZ','execute','isSystemComment','high','icon','ck-thread--remove-confirmation','change:isActive','24AxFfld','showConfirm','3967288ANiGlF','isConfirm','_cancelAllConfirms','isReadOnly','commentThreadHeaderView','actionIndicator','isVisible','setTemplate','_model','createCollection','isEnabled','change:isReadOnly','Write\x20a\x20comment...','removeButton','Delete\x20comment\x20thread?','2zsGBKM','43400OwEwFO','then','isResolvable','ck-reset_all-excluded','unbind','Resolve','fire','_bindFirstCommentView','.ck-thread__container','addMany','containerElement','placeholder','div','set','1720fBhPIH','render','bind','label','isActive'];_0x4dd4=function(){return _0x3d3477;};return _0x4dd4();}const _0x143c5e=_0x859a;(function(_0x3963a8,_0x2ed015){const _0x8c9d38=_0x859a,_0x36fe61=_0x3963a8();while(!![]){try{const _0x2884eb=-parseInt(_0x8c9d38(0xd1))/0x1+parseInt(_0x8c9d38(0xee))/0x2*(parseInt(_0x8c9d38(0xb7))/0x3)+-parseInt(_0x8c9d38(0xce))/0x4*(-parseInt(_0x8c9d38(0xa7))/0x5)+parseInt(_0x8c9d38(0xaf))/0x6*(-parseInt(_0x8c9d38(0xef))/0x7)+-parseInt(_0x8c9d38(0xdf))/0x8+-parseInt(_0x8c9d38(0xd6))/0x9*(-parseInt(_0x8c9d38(0xc6))/0xa)+parseInt(_0x8c9d38(0xca))/0xb*(-parseInt(_0x8c9d38(0xdd))/0xc);if(_0x2884eb===_0x2ed015)break;else _0x36fe61['push'](_0x36fe61['shift']());}catch(_0x19d581){_0x36fe61['push'](_0x36fe61['shift']());}}}(_0x4dd4,0x8a62d));import{ConfirmMixin as _0x5441a1}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x480041}from'ckeditor5/src/ui.js';import{icons as _0x3f1d79}from'ckeditor5/src/core.js';import _0x383d22 from'./basecommentthreadview.js';function _0x859a(_0x5b530a,_0x3f3802){const _0x4dd418=_0x4dd4();return _0x859a=function(_0x859adc,_0x46a00d){_0x859adc=_0x859adc-0xa1;let _0x415f16=_0x4dd418[_0x859adc];return _0x415f16;},_0x859a(_0x5b530a,_0x3f3802);}import{getTranslation as _0xc91dd8}from'../../../utils/common-translations.js';export default class yt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5441a1(_0x383d22){constructor(_0x3d85a0,_0x2b197c,_0x553886,_0x2a8bea){const _0x1b0598=_0x859a;super(_0x3d85a0,_0x2b197c,_0x553886,_0x2a8bea),this[_0x1b0598(0xc9)]=this[_0x1b0598(0xe8)](),this[_0x1b0598(0xc9)][_0x1b0598(0xa2)]([this[_0x1b0598(0xc1)],this[_0x1b0598(0xcf)]]),this[_0x1b0598(0xe7)][_0x1b0598(0xad)]&&this[_0x1b0598(0xc9)][_0x1b0598(0xbe)](this[_0x1b0598(0xe3)],0x0),this[_0x1b0598(0xe7)]['on'](_0x1b0598(0xb5),(_0x3f2d2c,_0x11f778,_0x57a43c)=>{const _0x37deb8=_0x1b0598;_0x57a43c?this[_0x37deb8(0xc9)][_0x37deb8(0xc3)](this[_0x37deb8(0xe3)])||this[_0x37deb8(0xc9)][_0x37deb8(0xbe)](this[_0x37deb8(0xe3)],0x0):this[_0x37deb8(0xc9)][_0x37deb8(0xcd)](this[_0x37deb8(0xe3)]);}),this[_0x1b0598(0xa6)](_0x1b0598(0xe4),null),this[_0x1b0598(0xa3)]=null,this[_0x1b0598(0xb1)]=null,this[_0x1b0598(0xb4)]=_0x3d85a0,this[_0x1b0598(0xc7)]=this[_0x1b0598(0xb8)](),this[_0x1b0598(0xe6)](this[_0x1b0598(0xc4)]()),this['on'](_0x1b0598(0xdc),(_0x84172d,_0x3efb91,_0x405942)=>{const _0x115f65=_0x1b0598;_0x405942||this[_0x115f65(0xe1)]();}),this[_0x1b0598(0xcb)](this[_0x1b0598(0xe7)],_0x1b0598(0xea),(_0xb22ded,_0x50011f,_0x5ba6fc)=>{const _0x528e0e=_0x1b0598;_0x5ba6fc&&this[_0x528e0e(0xe1)]();}),this[_0x1b0598(0xc2)]>0x0&&this[_0x1b0598(0xf6)](),this[_0x1b0598(0xcb)](this[_0x1b0598(0xc1)][_0x1b0598(0xb6)],_0x1b0598(0xbe),()=>{const _0x47bb6c=_0x1b0598;this[_0x47bb6c(0xf6)]();});}[_0x143c5e(0xc4)](){const _0x1c5826=_0x143c5e,_0x2bab7f=this[_0x1c5826(0xd3)];return{'tag':_0x1c5826(0xa5),'attributes':{'class':[_0x1c5826(0xd2),_0x1c5826(0xf2),_0x2bab7f['if'](_0x1c5826(0xab),_0x1c5826(0xd4)),_0x2bab7f['if'](_0x1c5826(0xac),_0x1c5826(0xb2)),_0x2bab7f['if'](_0x1c5826(0xe0),_0x1c5826(0xdb)),_0x2bab7f['to'](_0x1c5826(0xe4),_0x755230=>_0x755230?_0x1c5826(0xb0)+_0x755230:'')],'data-thread-id':this[_0x1c5826(0xe7)]['id'],'tabindex':-0x1},'children':[{'tag':_0x1c5826(0xa5),'attributes':{'class':_0x1c5826(0xd0)},'children':this[_0x1c5826(0xc9)]}]};}[_0x143c5e(0xa8)](){const _0xc30516=_0x143c5e;super[_0xc30516(0xa8)](),this[_0xc30516(0xa3)]=this[_0xc30516(0xb9)][_0xc30516(0xb3)](_0xc30516(0xa1));}[_0x143c5e(0xe1)](){const _0x35879a=_0x143c5e;this[_0x35879a(0xba)]();for(const _0x101736 of this[_0x35879a(0xc1)][_0x35879a(0xb6)])_0x101736[_0x35879a(0xba)]();}[_0x143c5e(0xf6)](){const _0x116a49=_0x143c5e,{locale:_0x4702c9}=this,_0x2fef49=this[_0x116a49(0xc1)][_0x116a49(0xb6)][_0x116a49(0xd5)](0x0);_0x2fef49===this[_0x116a49(0xb1)]||_0x2fef49[_0x116a49(0xd8)]||(this[_0x116a49(0xb1)]=_0x2fef49,this[_0x116a49(0xf3)](_0x116a49(0xe4)),this[_0x116a49(0xa9)](_0x116a49(0xe4))['to'](_0x2fef49,_0x116a49(0xe4),_0x271f5c=>_0x116a49(0xcd)===_0x271f5c?_0x116a49(0xcd):null),_0x2fef49[_0x116a49(0xa4)]=_0xc91dd8(_0x4702c9,_0x116a49(0xeb)),_0x2fef49[_0x116a49(0xec)]['on'](_0x116a49(0xd7),_0x171fc1=>{const _0x14e111=_0x116a49;_0x171fc1[_0x14e111(0xbd)](),this[_0x14e111(0xde)](_0xc91dd8(_0x4702c9,_0x14e111(0xed)),this[_0x14e111(0xa3)])[_0x14e111(0xf0)](()=>{const _0x205d8a=_0x14e111;this[_0x205d8a(0xf5)](_0x205d8a(0xcc));});},{'priority':_0x116a49(0xd9)}),_0x2fef49[_0x116a49(0xc8)][_0x116a49(0xbe)](this[_0x116a49(0xc7)],0x0));}[_0x143c5e(0xb8)](){const _0x5d4bdf=_0x143c5e,_0x1a212c=new _0x480041(this[_0x5d4bdf(0xb4)]);return _0x1a212c[_0x5d4bdf(0xaa)]=_0xc91dd8(this[_0x5d4bdf(0xb4)],_0x5d4bdf(0xf4)),_0x1a212c[_0x5d4bdf(0xbb)]=_0xc91dd8(this[_0x5d4bdf(0xb4)],_0x5d4bdf(0xf4)),_0x1a212c[_0x5d4bdf(0xda)]=_0x3f1d79[_0x5d4bdf(0xbf)],_0x1a212c[_0x5d4bdf(0xc5)]({'attributes':{'class':_0x5d4bdf(0xbc)}}),_0x1a212c[_0x5d4bdf(0xa9)](_0x5d4bdf(0xe9))['to'](this[_0x5d4bdf(0xe7)],_0x5d4bdf(0xe2),_0x4b4ce1=>!_0x4b4ce1),_0x1a212c[_0x5d4bdf(0xa9)](_0x5d4bdf(0xe5))['to'](this[_0x5d4bdf(0xe7)],_0x5d4bdf(0xf1),this[_0x5d4bdf(0xe7)],_0x5d4bdf(0xc0),(_0x5d7281,_0x1042f1)=>_0x5d7281&&!_0x1042f1),_0x1a212c['on'](_0x5d4bdf(0xd7),()=>{const _0x4c054b=_0x5d4bdf;this[_0x4c054b(0xf5)](_0x4c054b(0xae),this[_0x4c054b(0xe7)]['id']);}),_0x1a212c;}}
|
|
@@ -17,7 +17,7 @@ declare const CommentView_base: import("ckeditor5/src/utils.js").Mixed<typeof Ba
|
|
|
17
17
|
/**
|
|
18
18
|
* The default view for comment.
|
|
19
19
|
*/
|
|
20
|
-
export default class CommentView extends CommentView_base {
|
|
20
|
+
export default class CommentView extends /* #__PURE__ -- @preserve */ CommentView_base {
|
|
21
21
|
locale: Locale;
|
|
22
22
|
isConfirm: boolean;
|
|
23
23
|
cancelConfirm: () => void;
|
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x289547=_0x2459;(function(_0x1bd1d8,_0x9e8f35){const _0x528d1e=_0x2459,_0x258704=_0x1bd1d8();while(!![]){try{const _0x483d7c=-parseInt(_0x528d1e(0x209))/0x1*(parseInt(_0x528d1e(0x230))/0x2)+-parseInt(_0x528d1e(0x1e6))/0x3*(parseInt(_0x528d1e(0x1eb))/0x4)+parseInt(_0x528d1e(0x1d8))/0x5+parseInt(_0x528d1e(0x22f))/0x6*(-parseInt(_0x528d1e(0x1e7))/0x7)+parseInt(_0x528d1e(0x228))/0x8+-parseInt(_0x528d1e(0x22e))/0x9*(-parseInt(_0x528d1e(0x224))/0xa)+parseInt(_0x528d1e(0x231))/0xb*(parseInt(_0x528d1e(0x1de))/0xc);if(_0x483d7c===_0x9e8f35)break;else _0x258704['push'](_0x258704['shift']());}catch(_0x1b239b){_0x258704['push'](_0x258704['shift']());}}}(_0x5708,0xdfc80));function _0x2459(_0x3546a9,_0x4b6b72){const _0x5708f1=_0x5708();return _0x2459=function(_0x2459f3,_0x22a562){_0x2459f3=_0x2459f3-0x1c7;let _0xf7e6ad=_0x5708f1[_0x2459f3];return _0xf7e6ad;},_0x2459(_0x3546a9,_0x4b6b72);}import{ButtonView as _0x271a03,createDropdown as _0x32d433,ListView as _0x3a5487,ListItemView as _0x5490ba}from'ckeditor5/src/ui.js';import{icons as _0x1d84e5}from'ckeditor5/src/core.js';import{UserView as _0x102b66,ConfirmMixin as _0x56d3f0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x40447c from'./basecommentview.js';import _0x5a417d from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x55f164}from'../../../utils/common-translations.js';function _0x5708(){const _0x3606ea=['_model','getUserViewNotificationText','_attachActions','_createDropdown','ck-comment__external','ck-comment__wrapper','render','switchToEditMode','ck-comment__main','mouseleave','panelView','isConfirm','ck-annotation','ck-comment--','attributes','ck-comment--info','authoredAt','addMany','Reply...','4698075zgbZui','setTemplate','EXTERNAL_AVATAR','isRemovable','resolvedAt','editButton','325680JuXtkZ','fire','ck-comment--edit','author','remove','_config','_createEditButton','ck-annotation__user','154941aCBLjx','408527KTpAmv','length','cancelConfirm','edit','100IHAlBi','ck-comment--remove-confirmation','importWord','extendTemplate','visibleView','icon','items','getTemplate','change:isEnabled','blur','isExternal','ck-comment__user','add','userView','getExternalCommentNote','element','isSystemComment','createCollection','ck-annotation__info','ck-annotation__info-name','isEditable','ck-comment__info','span','Remove','ck-comment','ck-annotation__content-wrapper','ck-annotation__actions','removeComment','withText','@external','1329529ueFesb','ck-annotation__main','locale','actionBar','ck-comment--remove','actionIndicator','ck-annotation__info-time','EXTERNAL_COMMENT','children','focus','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment__info-time','_createRemoveButton','removeButton','isVisible','push','mouseenter','time','threeVerticalDots','source','panelPosition','Edit','ck-comment__info-name','showConfirm','then','isReadOnly','pencil','10243250tlXKuJ','placeholder','execute','some','9645240OqrLuy','_createCommentInputView','isEditMode','EXTERNAL_IMPORT_WORD_AVATAR','creator','formatDateTime','9fYVJIO','18wUFBWq','2eJvNkx','220peAoxM','buttonView','bind','ck-annotation__actions--hidden','dropdown','set','isEnabled','change:isRemovable','div','ck-comment__actions--hidden','ck-comment__actions','Delete\x20comment?','listenTo','bindTemplate','label','change:isVisible','name','Show\x20more\x20items'];_0x5708=function(){return _0x3606ea;};return _0x5708();}export default class At extends _0x56d3f0(_0x40447c){constructor(_0x337279,_0x597711,_0x2146ae){const _0x4cba77=_0x2459;super(_0x337279,_0x597711,_0x2146ae),this[_0x4cba77(0x236)](_0x4cba77(0x20e),null),this[_0x4cba77(0x236)](_0x4cba77(0x225),_0x55f164(_0x337279,_0x4cba77(0x1d7))),this[_0x4cba77(0x233)](_0x4cba77(0x1d5))['to'](_0x597711),this[_0x4cba77(0x233)](_0x4cba77(0x1dc))['to'](_0x597711),this[_0x4cba77(0x20c)]=this[_0x4cba77(0x1fc)](),this[_0x4cba77(0x1fb)]||(this[_0x4cba77(0x1dd)]=this[_0x4cba77(0x1e4)](),this[_0x4cba77(0x216)]=this[_0x4cba77(0x215)](),this[_0x4cba77(0x1f1)]=this[_0x4cba77(0x1fc)](),this[_0x4cba77(0x1f1)][_0x4cba77(0x1d6)]([this[_0x4cba77(0x1dd)],this[_0x4cba77(0x216)]]),this[_0x4cba77(0x235)]=this[_0x4cba77(0x1c8)](),this[_0x4cba77(0x20c)][_0x4cba77(0x1f7)](this[_0x4cba77(0x235)])),this[_0x4cba77(0x1f8)]=new _0x102b66(_0x337279,_0x597711[_0x4cba77(0x1e1)],this[_0x4cba77(0x244)]()),this[_0x4cba77(0x1f8)][_0x4cba77(0x1ee)]({'attributes':{'class':[_0x4cba77(0x1f6),_0x4cba77(0x1e5)]}}),this[_0x4cba77(0x23d)](_0x597711,_0x4cba77(0x238),()=>this[_0x4cba77(0x1e9)]()),this[_0x4cba77(0x1d9)](this[_0x4cba77(0x1f2)]());}[_0x289547(0x1f2)](){const _0x12151d=_0x289547,_0x41e8ad=this[_0x12151d(0x23e)],_0x553464=[{'tag':_0x12151d(0x239),'attributes':{'class':[_0x12151d(0x200),_0x12151d(0x1fd)]},'children':[{'tag':_0x12151d(0x201),'children':[{'text':this[_0x12151d(0x1f8)][_0x12151d(0x241)]}],'attributes':{'class':[_0x12151d(0x21f),_0x12151d(0x1fe)]}},{'tag':_0x12151d(0x21a),'attributes':{'datetime':_0x41e8ad['to'](_0x12151d(0x1d5)),'class':[_0x12151d(0x214),_0x12151d(0x20f)]},'children':[{'text':_0x41e8ad['to'](_0x12151d(0x1d5),_0x38c827=>this[_0x12151d(0x1e3)][_0x12151d(0x22d)](_0x38c827))}]}]},{'tag':_0x12151d(0x239),'attributes':{'class':[_0x12151d(0x23b),_0x12151d(0x205),_0x41e8ad['if'](_0x12151d(0x22a),_0x12151d(0x23a)),_0x41e8ad['if'](_0x12151d(0x22a),_0x12151d(0x234))]},'children':this[_0x12151d(0x20c)]},{'tag':_0x12151d(0x239),'attributes':{'class':[_0x12151d(0x204)]},'children':this[_0x12151d(0x1ef)]}];return this[_0x12151d(0x243)][_0x12151d(0x1f5)]&&_0x553464[_0x12151d(0x218)]({'tag':_0x12151d(0x239),'attributes':{'class':[_0x12151d(0x1c9)]},'children':[{'text':this[_0x12151d(0x1f9)]()}]}),{'tag':'li','attributes':{'class':[_0x12151d(0x1ca),_0x41e8ad['if'](_0x12151d(0x1d0),_0x12151d(0x1ec))],'tabindex':-0x1},'children':[{'tag':_0x12151d(0x239),'attributes':{'class':[_0x12151d(0x203),_0x12151d(0x1d1),_0x41e8ad['if'](_0x12151d(0x22a),_0x12151d(0x1e0)),_0x41e8ad['if'](_0x12151d(0x1fb),_0x12151d(0x1d4)),_0x41e8ad['to'](_0x12151d(0x20e),_0x2880aa=>_0x2880aa?_0x12151d(0x1d2)+_0x2880aa:'')],'data-author-id':this[_0x12151d(0x243)][_0x12151d(0x1e1)]['id'],'data-comment-id':this[_0x12151d(0x243)]['id']},'children':[this[_0x12151d(0x1f8)],{'tag':_0x12151d(0x239),'attributes':{'class':[_0x12151d(0x1cd),_0x12151d(0x20a)]},'children':_0x553464}]}]};}[_0x289547(0x1e4)](){const _0x198979=_0x289547,_0x42e149=new _0x271a03(this[_0x198979(0x20b)]);return _0x42e149[_0x198979(0x23f)]=_0x55f164(this[_0x198979(0x20b)],_0x198979(0x21e)),_0x42e149[_0x198979(0x1f0)]=_0x1d84e5[_0x198979(0x223)],_0x42e149[_0x198979(0x207)]=!0x0,_0x42e149[_0x198979(0x1ee)]({'attributes':{'class':_0x198979(0x1e0)}}),_0x42e149[_0x198979(0x233)](_0x198979(0x237))['to'](this[_0x198979(0x243)],_0x198979(0x222),_0x99b9dc=>!_0x99b9dc),_0x42e149[_0x198979(0x233)](_0x198979(0x217))['to'](this[_0x198979(0x243)],_0x198979(0x1ff)),_0x42e149['on'](_0x198979(0x226),()=>this[_0x198979(0x1cc)]()),_0x42e149;}[_0x289547(0x215)](){const _0x3fd287=_0x289547,_0x45f523=new _0x271a03(this[_0x3fd287(0x20b)]);return _0x45f523[_0x3fd287(0x23f)]=_0x55f164(this[_0x3fd287(0x20b)],_0x3fd287(0x202)),_0x45f523[_0x3fd287(0x1f0)]=_0x5a417d,_0x45f523[_0x3fd287(0x207)]=!0x0,_0x45f523[_0x3fd287(0x1ee)]({'attributes':{'class':_0x3fd287(0x20d)}}),_0x45f523[_0x3fd287(0x233)](_0x3fd287(0x237))['to'](this[_0x3fd287(0x243)],_0x3fd287(0x222),_0x26fb76=>!_0x26fb76),_0x45f523[_0x3fd287(0x233)](_0x3fd287(0x217))['to'](this[_0x3fd287(0x243)],_0x3fd287(0x1db)),_0x45f523['on'](_0x3fd287(0x226),()=>{const _0x4e7760=_0x3fd287;this[_0x4e7760(0x220)](_0x55f164(this[_0x4e7760(0x20b)],_0x4e7760(0x23c)),this[_0x4e7760(0x1fa)])[_0x4e7760(0x221)](()=>{const _0x5c7cc6=_0x4e7760;this[_0x5c7cc6(0x1df)](_0x5c7cc6(0x206),this[_0x5c7cc6(0x243)]['id']);});}),_0x45f523;}[_0x289547(0x1c8)](){const _0x1398cf=_0x289547,_0x107af1=_0x32d433(this[_0x1398cf(0x20b)]),_0x15b7da=_0x107af1[_0x1398cf(0x1cf)][_0x1398cf(0x211)],_0x52051d=new _0x3a5487(this[_0x1398cf(0x20b)]),_0x349e82=(_0x5dc34c,_0x383cb2=-0x1)=>{const _0x5b6392=_0x1398cf,_0xbd73df=new _0x5490ba(this[_0x5b6392(0x20b)]);_0xbd73df[_0x5b6392(0x211)][_0x5b6392(0x1f7)](_0x5dc34c);const _0x49c448=_0x383cb2>-0x1?_0x383cb2:_0x52051d[_0x5b6392(0x1f1)][_0x5b6392(0x1e8)];_0x52051d[_0x5b6392(0x1f1)][_0x5b6392(0x1f7)](_0xbd73df,_0x49c448),_0x107af1[_0x5b6392(0x23d)](_0x5dc34c,_0x5b6392(0x1f3),()=>{const _0x31ba27=_0x5b6392;_0x107af1[_0x31ba27(0x237)]=[...this[_0x31ba27(0x1f1)]][_0x31ba27(0x227)](_0x41fb30=>_0x41fb30[_0x31ba27(0x237)]);}),_0x107af1[_0x5b6392(0x23d)](_0x5dc34c,_0x5b6392(0x240),()=>{const _0x53bf23=_0x5b6392;_0x107af1[_0x53bf23(0x232)][_0x53bf23(0x217)]=[...this[_0x53bf23(0x1f1)]][_0x53bf23(0x227)](_0x465e19=>_0x465e19[_0x53bf23(0x217)]);});};_0x107af1[_0x1398cf(0x21d)]='sw',_0x107af1[_0x1398cf(0x232)][_0x1398cf(0x236)]({'label':_0x55f164(this[_0x1398cf(0x20b)],_0x1398cf(0x242)),'icon':_0x1d84e5[_0x1398cf(0x21b)]}),_0x107af1[_0x1398cf(0x237)]=[...this[_0x1398cf(0x1f1)]][_0x1398cf(0x227)](_0x127caf=>_0x127caf[_0x1398cf(0x237)]),_0x107af1[_0x1398cf(0x232)][_0x1398cf(0x217)]=[...this[_0x1398cf(0x1f1)]][_0x1398cf(0x227)](_0x963ea7=>_0x963ea7[_0x1398cf(0x217)]);for(const _0x2f45bf of this[_0x1398cf(0x1f1)])_0x349e82(_0x2f45bf);return _0x15b7da[_0x1398cf(0x1f7)](_0x52051d),_0x107af1[_0x1398cf(0x23d)](this[_0x1398cf(0x1f1)],_0x1398cf(0x1f7),(_0x348a3e,_0x60575d,_0x4bcb65)=>{_0x349e82(_0x60575d,_0x4bcb65);}),_0x107af1[_0x1398cf(0x23d)](this[_0x1398cf(0x1f1)],_0x1398cf(0x1e2),(_0x4e799f,_0x28513a,_0x2c3ac5)=>{const _0x3aa1c5=_0x1398cf;_0x52051d[_0x3aa1c5(0x1f1)][_0x3aa1c5(0x1e2)](_0x2c3ac5);}),_0x107af1;}[_0x289547(0x1c7)](_0x36a188,_0x240a9c){const _0xcc680b=_0x289547,_0x43aee6=_0x36a188&&_0x36a188[_0xcc680b(0x1fa)];_0x43aee6&&(this[_0xcc680b(0x23d)](_0x43aee6,_0xcc680b(0x219),()=>this[_0xcc680b(0x20e)]=_0x240a9c),this[_0xcc680b(0x23d)](_0x43aee6,_0xcc680b(0x212),()=>this[_0xcc680b(0x20e)]=_0x240a9c),this[_0xcc680b(0x23d)](_0x43aee6,_0xcc680b(0x1ce),()=>this[_0xcc680b(0x20e)]=null),this[_0xcc680b(0x23d)](_0x43aee6,_0xcc680b(0x1f4),()=>this[_0xcc680b(0x20e)]=null));}[_0x289547(0x229)](){const _0x57fbad=_0x289547,_0x1d9567=super[_0x57fbad(0x229)]();return _0x1d9567[_0x57fbad(0x233)](_0x57fbad(0x225))['to'](this),_0x1d9567;}[_0x289547(0x1f9)](){const _0x4f0ce6=_0x289547;return _0x4f0ce6(0x1ed)===this[_0x4f0ce6(0x243)][_0x4f0ce6(0x1d3)][_0x4f0ce6(0x208)][_0x4f0ce6(0x21c)]?_0x55f164(this[_0x4f0ce6(0x20b)],_0x4f0ce6(0x213)):_0x55f164(this[_0x4f0ce6(0x20b)],_0x4f0ce6(0x210));}[_0x289547(0x244)](){const _0x25ee82=_0x289547;return this[_0x25ee82(0x243)][_0x25ee82(0x1f5)]?_0x25ee82(0x1ed)===this[_0x25ee82(0x243)][_0x25ee82(0x1d3)][_0x25ee82(0x208)][_0x25ee82(0x21c)]?_0x55f164(this[_0x25ee82(0x20b)],_0x25ee82(0x22b),this[_0x25ee82(0x243)][_0x25ee82(0x22c)][_0x25ee82(0x241)]):_0x55f164(this[_0x25ee82(0x20b)],_0x25ee82(0x1da),this[_0x25ee82(0x243)][_0x25ee82(0x22c)][_0x25ee82(0x241)]):null;}[_0x289547(0x1cb)](){const _0x162d46=_0x289547;super[_0x162d46(0x1cb)](),this[_0x162d46(0x1c7)](this[_0x162d46(0x1dd)],_0x162d46(0x1ea)),this[_0x162d46(0x1c7)](this[_0x162d46(0x216)],_0x162d46(0x1e2));}}
|
|
23
|
+
const _0x38ae91=_0x5edd;function _0xa00e(){const _0x3d0fdb=['formatDateTime','EXTERNAL_IMPORT_WORD_COMMENT','edit','ck-annotation__info-time','showConfirm','ck-comment__info-name','ck-comment__info','importWord','actionBar','fire','remove','Delete\x20comment?','ck-comment__actions','isEditMode','items','112220DYrLBU','ck-annotation__content-wrapper','isSystemComment','setTemplate','placeholder','removeComment','actionIndicator','getUserViewNotificationText','author','threeVerticalDots','@external','change:isEnabled','ck-comment__actions--hidden','_model','279231HSfnQI','ck-annotation','panelView','_createCommentInputView','listenTo','isExternal','ck-comment','ck-annotation__info','32yujhSe','ck-annotation__actions--hidden','Show\x20more\x20items','_config','createCollection','then','change:isRemovable','ck-comment__user','ck-comment__external','mouseleave','addMany','1788ymULIV','ck-comment--remove-confirmation','div','ck-annotation__info-name','some','add','dropdown','length','EXTERNAL_IMPORT_WORD_AVATAR','cancelConfirm','1343421aZswKW','isRemovable','isConfirm','element','bind','ck-comment__wrapper','attributes','Edit','set','ck-comment--edit','_createRemoveButton','EXTERNAL_COMMENT','userView','source','blur','time','bindTemplate','isEditable','visibleView','extendTemplate','5719590Lluplv','panelPosition','icon','editButton','switchToEditMode','isVisible','locale','ck-annotation__main','resolvedAt','_createEditButton','name','render','ck-annotation__actions','ck-comment--','2833736kJrNUz','change:isVisible','getExternalCommentNote','ck-annotation__user','isReadOnly','ck-comment__main','EXTERNAL_AVATAR','16908HMhnTt','10717taiuRL','getTemplate','ck-comment--info','removeButton','authoredAt','label','pencil','children','creator','mouseenter','Remove','_attachActions','withText','focus','isEnabled','210gjbBor','buttonView','span','Reply...','ck-comment--remove','execute','_createDropdown','push','ck-comment__info-time'];_0xa00e=function(){return _0x3d0fdb;};return _0xa00e();}(function(_0x7fa7cd,_0x324334){const _0x22ef35=_0x5edd,_0x2ae862=_0x7fa7cd();while(!![]){try{const _0x1aaaaf=parseInt(_0x22ef35(0x237))/0x1+parseInt(_0x22ef35(0x211))/0x2*(-parseInt(_0x22ef35(0x201))/0x3)+-parseInt(_0x22ef35(0x23f))/0x4*(parseInt(_0x22ef35(0x229))/0x5)+-parseInt(_0x22ef35(0x24a))/0x6*(-parseInt(_0x22ef35(0x202))/0x7)+-parseInt(_0x22ef35(0x1fa))/0x8+parseInt(_0x22ef35(0x254))/0x9+parseInt(_0x22ef35(0x1ec))/0xa;if(_0x1aaaaf===_0x324334)break;else _0x2ae862['push'](_0x2ae862['shift']());}catch(_0x1c1831){_0x2ae862['push'](_0x2ae862['shift']());}}}(_0xa00e,0x50d8c));function _0x5edd(_0x6995ab,_0x1902a6){const _0xa00e4=_0xa00e();return _0x5edd=function(_0x5edd8e,_0x23525f){_0x5edd8e=_0x5edd8e-0x1e3;let _0x4623f8=_0xa00e4[_0x5edd8e];return _0x4623f8;},_0x5edd(_0x6995ab,_0x1902a6);}import{ButtonView as _0x2c08e5,createDropdown as _0x3c10a8,ListView as _0x566dec,ListItemView as _0x4204a9}from'ckeditor5/src/ui.js';import{icons as _0x59b401}from'ckeditor5/src/core.js';import{UserView as _0x5e39a5,ConfirmMixin as _0x58efaa}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x346e8e from'./basecommentview.js';import _0x5a0585 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x21ed98}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58efaa(_0x346e8e){constructor(_0x4e286c,_0x1b78f0,_0x4fdee5){const _0x117ded=_0x5edd;super(_0x4e286c,_0x1b78f0,_0x4fdee5),this[_0x117ded(0x25c)](_0x117ded(0x22f),null),this[_0x117ded(0x25c)](_0x117ded(0x22d),_0x21ed98(_0x4e286c,_0x117ded(0x214))),this[_0x117ded(0x258)](_0x117ded(0x206))['to'](_0x1b78f0),this[_0x117ded(0x258)](_0x117ded(0x1f4))['to'](_0x1b78f0),this[_0x117ded(0x222)]=this[_0x117ded(0x243)](),this[_0x117ded(0x22b)]||(this[_0x117ded(0x1ef)]=this[_0x117ded(0x1f5)](),this[_0x117ded(0x205)]=this[_0x117ded(0x25e)](),this[_0x117ded(0x228)]=this[_0x117ded(0x243)](),this[_0x117ded(0x228)][_0x117ded(0x249)]([this[_0x117ded(0x1ef)],this[_0x117ded(0x205)]]),this[_0x117ded(0x250)]=this[_0x117ded(0x217)](),this[_0x117ded(0x222)][_0x117ded(0x24f)](this[_0x117ded(0x250)])),this[_0x117ded(0x1e4)]=new _0x5e39a5(_0x4e286c,_0x1b78f0[_0x117ded(0x231)],this[_0x117ded(0x230)]()),this[_0x117ded(0x1e4)][_0x117ded(0x1eb)]({'attributes':{'class':[_0x117ded(0x246),_0x117ded(0x1fd)]}}),this[_0x117ded(0x23b)](_0x1b78f0,_0x117ded(0x245),()=>this[_0x117ded(0x253)]()),this[_0x117ded(0x22c)](this[_0x117ded(0x203)]());}[_0x38ae91(0x203)](){const _0x1965e6=_0x38ae91,_0x33e6d0=this[_0x1965e6(0x1e8)],_0x4826b8=[{'tag':_0x1965e6(0x24c),'attributes':{'class':[_0x1965e6(0x220),_0x1965e6(0x23e)]},'children':[{'tag':_0x1965e6(0x213),'children':[{'text':this[_0x1965e6(0x1e4)][_0x1965e6(0x1f6)]}],'attributes':{'class':[_0x1965e6(0x21f),_0x1965e6(0x24d)]}},{'tag':_0x1965e6(0x1e7),'attributes':{'datetime':_0x33e6d0['to'](_0x1965e6(0x206)),'class':[_0x1965e6(0x219),_0x1965e6(0x21d)]},'children':[{'text':_0x33e6d0['to'](_0x1965e6(0x206),_0x2f2268=>this[_0x1965e6(0x242)][_0x1965e6(0x21a)](_0x2f2268))}]}]},{'tag':_0x1965e6(0x24c),'attributes':{'class':[_0x1965e6(0x226),_0x1965e6(0x1f8),_0x33e6d0['if'](_0x1965e6(0x227),_0x1965e6(0x235)),_0x33e6d0['if'](_0x1965e6(0x227),_0x1965e6(0x240))]},'children':this[_0x1965e6(0x222)]},{'tag':_0x1965e6(0x24c),'attributes':{'class':[_0x1965e6(0x22a)]},'children':this[_0x1965e6(0x1ea)]}];return this[_0x1965e6(0x236)][_0x1965e6(0x23c)]&&_0x4826b8[_0x1965e6(0x218)]({'tag':_0x1965e6(0x24c),'attributes':{'class':[_0x1965e6(0x247)]},'children':[{'text':this[_0x1965e6(0x1fc)]()}]}),{'tag':'li','attributes':{'class':[_0x1965e6(0x259),_0x33e6d0['if'](_0x1965e6(0x256),_0x1965e6(0x24b))],'tabindex':-0x1},'children':[{'tag':_0x1965e6(0x24c),'attributes':{'class':[_0x1965e6(0x23d),_0x1965e6(0x238),_0x33e6d0['if'](_0x1965e6(0x227),_0x1965e6(0x25d)),_0x33e6d0['if'](_0x1965e6(0x22b),_0x1965e6(0x204)),_0x33e6d0['to'](_0x1965e6(0x22f),_0x5e8bcc=>_0x5e8bcc?_0x1965e6(0x1f9)+_0x5e8bcc:'')],'data-author-id':this[_0x1965e6(0x236)][_0x1965e6(0x231)]['id'],'data-comment-id':this[_0x1965e6(0x236)]['id']},'children':[this[_0x1965e6(0x1e4)],{'tag':_0x1965e6(0x24c),'attributes':{'class':[_0x1965e6(0x1ff),_0x1965e6(0x1f3)]},'children':_0x4826b8}]}]};}[_0x38ae91(0x1f5)](){const _0x183c64=_0x38ae91,_0x299fa3=new _0x2c08e5(this[_0x183c64(0x1f2)]);return _0x299fa3[_0x183c64(0x207)]=_0x21ed98(this[_0x183c64(0x1f2)],_0x183c64(0x25b)),_0x299fa3[_0x183c64(0x1ee)]=_0x59b401[_0x183c64(0x208)],_0x299fa3[_0x183c64(0x20e)]=!0x0,_0x299fa3[_0x183c64(0x1eb)]({'attributes':{'class':_0x183c64(0x25d)}}),_0x299fa3[_0x183c64(0x258)](_0x183c64(0x210))['to'](this[_0x183c64(0x236)],_0x183c64(0x1fe),_0x5dd277=>!_0x5dd277),_0x299fa3[_0x183c64(0x258)](_0x183c64(0x1f1))['to'](this[_0x183c64(0x236)],_0x183c64(0x1e9)),_0x299fa3['on'](_0x183c64(0x216),()=>this[_0x183c64(0x1f0)]()),_0x299fa3;}[_0x38ae91(0x25e)](){const _0x4cd9bb=_0x38ae91,_0x2dc65b=new _0x2c08e5(this[_0x4cd9bb(0x1f2)]);return _0x2dc65b[_0x4cd9bb(0x207)]=_0x21ed98(this[_0x4cd9bb(0x1f2)],_0x4cd9bb(0x20c)),_0x2dc65b[_0x4cd9bb(0x1ee)]=_0x5a0585,_0x2dc65b[_0x4cd9bb(0x20e)]=!0x0,_0x2dc65b[_0x4cd9bb(0x1eb)]({'attributes':{'class':_0x4cd9bb(0x215)}}),_0x2dc65b[_0x4cd9bb(0x258)](_0x4cd9bb(0x210))['to'](this[_0x4cd9bb(0x236)],_0x4cd9bb(0x1fe),_0x2926a3=>!_0x2926a3),_0x2dc65b[_0x4cd9bb(0x258)](_0x4cd9bb(0x1f1))['to'](this[_0x4cd9bb(0x236)],_0x4cd9bb(0x255)),_0x2dc65b['on'](_0x4cd9bb(0x216),()=>{const _0x3bcb57=_0x4cd9bb;this[_0x3bcb57(0x21e)](_0x21ed98(this[_0x3bcb57(0x1f2)],_0x3bcb57(0x225)),this[_0x3bcb57(0x257)])[_0x3bcb57(0x244)](()=>{const _0x5be540=_0x3bcb57;this[_0x5be540(0x223)](_0x5be540(0x22e),this[_0x5be540(0x236)]['id']);});}),_0x2dc65b;}[_0x38ae91(0x217)](){const _0x5aac75=_0x38ae91,_0x32a571=_0x3c10a8(this[_0x5aac75(0x1f2)]),_0xdb2c8=_0x32a571[_0x5aac75(0x239)][_0x5aac75(0x209)],_0x22ac07=new _0x566dec(this[_0x5aac75(0x1f2)]),_0x5341c0=(_0x3633e8,_0x2ab327=-0x1)=>{const _0x524be7=_0x5aac75,_0x9009af=new _0x4204a9(this[_0x524be7(0x1f2)]);_0x9009af[_0x524be7(0x209)][_0x524be7(0x24f)](_0x3633e8);const _0x4f95be=_0x2ab327>-0x1?_0x2ab327:_0x22ac07[_0x524be7(0x228)][_0x524be7(0x251)];_0x22ac07[_0x524be7(0x228)][_0x524be7(0x24f)](_0x9009af,_0x4f95be),_0x32a571[_0x524be7(0x23b)](_0x3633e8,_0x524be7(0x234),()=>{const _0x178dee=_0x524be7;_0x32a571[_0x178dee(0x210)]=[...this[_0x178dee(0x228)]][_0x178dee(0x24e)](_0x1446fd=>_0x1446fd[_0x178dee(0x210)]);}),_0x32a571[_0x524be7(0x23b)](_0x3633e8,_0x524be7(0x1fb),()=>{const _0x39555f=_0x524be7;_0x32a571[_0x39555f(0x212)][_0x39555f(0x1f1)]=[...this[_0x39555f(0x228)]][_0x39555f(0x24e)](_0x1b2be3=>_0x1b2be3[_0x39555f(0x1f1)]);});};_0x32a571[_0x5aac75(0x1ed)]='sw',_0x32a571[_0x5aac75(0x212)][_0x5aac75(0x25c)]({'label':_0x21ed98(this[_0x5aac75(0x1f2)],_0x5aac75(0x241)),'icon':_0x59b401[_0x5aac75(0x232)]}),_0x32a571[_0x5aac75(0x210)]=[...this[_0x5aac75(0x228)]][_0x5aac75(0x24e)](_0x1a35ff=>_0x1a35ff[_0x5aac75(0x210)]),_0x32a571[_0x5aac75(0x212)][_0x5aac75(0x1f1)]=[...this[_0x5aac75(0x228)]][_0x5aac75(0x24e)](_0x2d0158=>_0x2d0158[_0x5aac75(0x1f1)]);for(const _0x2d84a6 of this[_0x5aac75(0x228)])_0x5341c0(_0x2d84a6);return _0xdb2c8[_0x5aac75(0x24f)](_0x22ac07),_0x32a571[_0x5aac75(0x23b)](this[_0x5aac75(0x228)],_0x5aac75(0x24f),(_0x3012ab,_0x1d84a9,_0x5477da)=>{_0x5341c0(_0x1d84a9,_0x5477da);}),_0x32a571[_0x5aac75(0x23b)](this[_0x5aac75(0x228)],_0x5aac75(0x224),(_0x42b730,_0x580a5,_0x1dc536)=>{const _0x566415=_0x5aac75;_0x22ac07[_0x566415(0x228)][_0x566415(0x224)](_0x1dc536);}),_0x32a571;}[_0x38ae91(0x20d)](_0x54a8df,_0x57bc01){const _0x127bb9=_0x38ae91,_0xfb0a8a=_0x54a8df&&_0x54a8df[_0x127bb9(0x257)];_0xfb0a8a&&(this[_0x127bb9(0x23b)](_0xfb0a8a,_0x127bb9(0x20b),()=>this[_0x127bb9(0x22f)]=_0x57bc01),this[_0x127bb9(0x23b)](_0xfb0a8a,_0x127bb9(0x20f),()=>this[_0x127bb9(0x22f)]=_0x57bc01),this[_0x127bb9(0x23b)](_0xfb0a8a,_0x127bb9(0x248),()=>this[_0x127bb9(0x22f)]=null),this[_0x127bb9(0x23b)](_0xfb0a8a,_0x127bb9(0x1e6),()=>this[_0x127bb9(0x22f)]=null));}[_0x38ae91(0x23a)](){const _0x431f61=_0x38ae91,_0x209f6c=super[_0x431f61(0x23a)]();return _0x209f6c[_0x431f61(0x258)](_0x431f61(0x22d))['to'](this),_0x209f6c;}[_0x38ae91(0x1fc)](){const _0x37aaed=_0x38ae91;return _0x37aaed(0x221)===this[_0x37aaed(0x236)][_0x37aaed(0x25a)][_0x37aaed(0x233)][_0x37aaed(0x1e5)]?_0x21ed98(this[_0x37aaed(0x1f2)],_0x37aaed(0x21b)):_0x21ed98(this[_0x37aaed(0x1f2)],_0x37aaed(0x1e3));}[_0x38ae91(0x230)](){const _0x266153=_0x38ae91;return this[_0x266153(0x236)][_0x266153(0x23c)]?_0x266153(0x221)===this[_0x266153(0x236)][_0x266153(0x25a)][_0x266153(0x233)][_0x266153(0x1e5)]?_0x21ed98(this[_0x266153(0x1f2)],_0x266153(0x252),this[_0x266153(0x236)][_0x266153(0x20a)][_0x266153(0x1f6)]):_0x21ed98(this[_0x266153(0x1f2)],_0x266153(0x200),this[_0x266153(0x236)][_0x266153(0x20a)][_0x266153(0x1f6)]):null;}[_0x38ae91(0x1f7)](){const _0x37cb80=_0x38ae91;super[_0x37cb80(0x1f7)](),this[_0x37cb80(0x20d)](this[_0x37cb80(0x1ef)],_0x37cb80(0x21c)),this[_0x37cb80(0x20d)](this[_0x37cb80(0x205)],_0x37cb80(0x224));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2466(){var _0x3445f0=['requires','679503ADetMy','10RIsZjw','Comments','2weIbwt','907899AOtYZb','2290716psWxxQ','8LftJPG','170tXwmQW','188937TiwVql','1898934PsZaFS','458913XIFMDo','pluginName','278729dtLnXV'];_0x2466=function(){return _0x3445f0;};return _0x2466();}var _0x5dbd32=_0x111b;(function(_0x41b941,_0x3415e0){var _0x27808c=_0x111b,_0xa5dd78=_0x41b941();while(!![]){try{var _0x413b29=parseInt(_0x27808c(0x12f))/0x1*(-parseInt(_0x27808c(0x124))/0x2)+parseInt(_0x27808c(0x125))/0x3+parseInt(_0x27808c(0x126))/0x4+-parseInt(_0x27808c(0x130))/0x5*(-parseInt(_0x27808c(0x12a))/0x6)+-parseInt(_0x27808c(0x12b))/0x7+parseInt(_0x27808c(0x127))/0x8*(parseInt(_0x27808c(0x129))/0x9)+parseInt(_0x27808c(0x128))/0xa*(-parseInt(_0x27808c(0x12d))/0xb);if(_0x413b29===_0x3415e0)break;else _0xa5dd78['push'](_0xa5dd78['shift']());}catch(_0x1e977e){_0xa5dd78['push'](_0xa5dd78['shift']());}}}(_0x2466,0x564b2));import{Plugin as _0x37f0f8}from'ckeditor5/src/core.js';import _0x5af6e3 from'./comments/commentsrepository.js';import _0x457379 from'./comments/commentsediting.js';import _0x36bc8a from'./comments/commentsui.js';import _0x518502 from'./commentsonly.js';import _0x15e1b9 from'./annotations/widesidebar.js';import _0xfd119b from'./annotations/narrowsidebar.js';function _0x111b(_0x2d400f,_0x38234e){var _0x246690=_0x2466();return _0x111b=function(_0x111b9d,_0x37e29c){_0x111b9d=_0x111b9d-0x123;var _0x237193=_0x246690[_0x111b9d];return _0x237193;},_0x111b(_0x2d400f,_0x38234e);}import _0x29ce01 from'./annotations/inlineannotations.js';import _0x2786f9 from'./comments/commentsarchiveui.js';import _0x40a3b7 from'./comments/commentsarchive.js';export default class f extends _0x37f0f8{static get[_0x5dbd32(0x12e)](){return[_0x5af6e3,_0x457379,_0x36bc8a,_0x40a3b7,_0x2786f9,_0x518502,_0x15e1b9,_0xfd119b,_0x29ce01];}static get[_0x5dbd32(0x12c)](){var _0x153121=_0x5dbd32;return _0x153121(0x123);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28541e=_0x65b8;(function(_0x3ffad6,_0xbd3210){const _0x559409=_0x65b8,_0x112eb9=_0x3ffad6();while(!![]){try{const _0x233f9b=-parseInt(_0x559409(0x1a6))/0x1*(parseInt(_0x559409(0x1ba))/0x2)+-parseInt(_0x559409(0x1c1))/0x3*(parseInt(_0x559409(0x1c3))/0x4)+-parseInt(_0x559409(0x1c4))/0x5*(-parseInt(_0x559409(0x1ae))/0x6)+-parseInt(_0x559409(0x1b8))/0x7*(parseInt(_0x559409(0x19e))/0x8)+parseInt(_0x559409(0x1c8))/0x9+-parseInt(_0x559409(0x1a5))/0xa+parseInt(_0x559409(0x1bd))/0xb*(parseInt(_0x559409(0x1a2))/0xc);if(_0x233f9b===_0xbd3210)break;else _0x112eb9['push'](_0x112eb9['shift']());}catch(_0x31f96f){_0x112eb9['push'](_0x112eb9['shift']());}}}(_0x1174,0x7bed2));import{Plugin as _0x52a615}from'ckeditor5/src/core.js';import _0x5b465d from'./comments/commentsediting.js';function _0x1174(){const _0x9e8ff6=['isEnabled','get','pluginName','960auhPOS','view','commentsOnlyMode','7554980iwDwVT','39062keMuxw','clipboardInput','set','DragDrop','_disableCommentsOnlyMode','stop','forceDisabled','commentsOnly','61998Krrcgo','_enableCommentsOnlyMode','requires','editor','document','affectsData','cut','addCommentThread','change:isEnabled','config','42gceLAF','CommentsOnly','14GiljYL','has','commands','223454oBxbCQ','plugins','listenTo','afterInit','38679mZpehf','clearForceDisabled','140OcNDEV','155kpsgcD','highest','delete','stopListening','8964252ADtILZ','editing','1271576PxDRgc'];_0x1174=function(){return _0x9e8ff6;};return _0x1174();}function _0x65b8(_0x213895,_0x19ca81){const _0x117477=_0x1174();return _0x65b8=function(_0x65b86,_0x13763a){_0x65b86=_0x65b86-0x19d;let _0x21b164=_0x117477[_0x65b86];return _0x21b164;},_0x65b8(_0x213895,_0x19ca81);}export default class e extends _0x52a615{static get[_0x28541e(0x1a1)](){const _0x5b2a8f=_0x28541e;return _0x5b2a8f(0x1b9);}static get[_0x28541e(0x1b0)](){return[_0x5b465d];}constructor(_0x367fc2){const _0x18c0f0=_0x28541e;super(_0x367fc2),this[_0x18c0f0(0x1a8)](_0x18c0f0(0x19f),!0x1),this['on'](_0x18c0f0(0x1b6),(_0x4f63bf,_0x16573d,_0x4daed9)=>{const _0x1cb931=_0x18c0f0;_0x4daed9?this[_0x1cb931(0x1af)]():this[_0x1cb931(0x1aa)]();});}[_0x28541e(0x1c0)](){const _0x2e1ffd=_0x28541e;!this[_0x2e1ffd(0x19f)]&&this[_0x2e1ffd(0x1b1)][_0x2e1ffd(0x1b7)][_0x2e1ffd(0x1a0)](_0x2e1ffd(0x1ad))&&(this[_0x2e1ffd(0x19f)]=!0x0);}[_0x28541e(0x1af)](){const _0x554c65=_0x28541e;for(const [_0x90c2fb,_0x5df25f]of this[_0x554c65(0x1b1)][_0x554c65(0x1bc)])_0x5df25f[_0x554c65(0x1b3)]&&_0x554c65(0x1b5)!==_0x90c2fb&&_0x5df25f[_0x554c65(0x1ac)](_0x554c65(0x1a4));this[_0x554c65(0x1b1)][_0x554c65(0x1be)][_0x554c65(0x1bb)](_0x554c65(0x1a9))&&this[_0x554c65(0x1b1)][_0x554c65(0x1be)][_0x554c65(0x1a0)](_0x554c65(0x1a9))[_0x554c65(0x1ac)](_0x554c65(0x1a4));const _0x3cd2a2=this[_0x554c65(0x1b1)][_0x554c65(0x19d)][_0x554c65(0x1a3)][_0x554c65(0x1b2)];this[_0x554c65(0x1bf)](_0x3cd2a2,_0x554c65(0x1b4),_0x979f94=>_0x979f94[_0x554c65(0x1ab)](),{'priority':_0x554c65(0x1c5)}),this[_0x554c65(0x1bf)](_0x3cd2a2,_0x554c65(0x1a7),_0x15d586=>_0x15d586[_0x554c65(0x1ab)](),{'priority':_0x554c65(0x1c5)}),this[_0x554c65(0x1bf)](_0x3cd2a2,_0x554c65(0x1c6),_0x2fd8cf=>_0x2fd8cf[_0x554c65(0x1ab)](),{'priority':_0x554c65(0x1c5)});}[_0x28541e(0x1aa)](){const _0x2d1722=_0x28541e;for(const [_0x1f8c1f,_0x39cb42]of this[_0x2d1722(0x1b1)][_0x2d1722(0x1bc)])_0x39cb42[_0x2d1722(0x1b3)]&&_0x2d1722(0x1b5)!==_0x1f8c1f&&_0x39cb42[_0x2d1722(0x1c2)](_0x2d1722(0x1a4));this[_0x2d1722(0x1c7)](this[_0x2d1722(0x1b1)][_0x2d1722(0x19d)][_0x2d1722(0x1a3)][_0x2d1722(0x1b2)]);}}
|
package/src/config.d.ts
CHANGED
|
@@ -101,10 +101,7 @@ export interface CommentsConfig {
|
|
|
101
101
|
* To provide a better experience, you may add more plugins, that will extend the default editor configuration.
|
|
102
102
|
*
|
|
103
103
|
* ```ts
|
|
104
|
-
* import Autoformat from '
|
|
105
|
-
* import List from '@ckeditor/ckeditor5-list/src/list';
|
|
106
|
-
* import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
|
|
107
|
-
* import Italic from '@ckeditor/ckeditor5-italic/src/italic';
|
|
104
|
+
* import { Autoformat, List, Bold, Italic } from 'ckeditor5';
|
|
108
105
|
*
|
|
109
106
|
* ClassicEditor
|
|
110
107
|
* .create( {
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4164d5,_0x528559){var _0x3e1de5=_0x1ee0,_0x178004=_0x4164d5();while(!![]){try{var _0x6529c8=parseInt(_0x3e1de5(0x87))/0x1*(parseInt(_0x3e1de5(0x80))/0x2)+parseInt(_0x3e1de5(0x83))/0x3*(parseInt(_0x3e1de5(0x88))/0x4)+-parseInt(_0x3e1de5(0x85))/0x5+parseInt(_0x3e1de5(0x7f))/0x6+-parseInt(_0x3e1de5(0x84))/0x7*(parseInt(_0x3e1de5(0x81))/0x8)+-parseInt(_0x3e1de5(0x82))/0x9*(parseInt(_0x3e1de5(0x7e))/0xa)+parseInt(_0x3e1de5(0x86))/0xb;if(_0x6529c8===_0x528559)break;else _0x178004['push'](_0x178004['shift']());}catch(_0xb28bd0){_0x178004['push'](_0x178004['shift']());}}}(_0x1852,0xa8417));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';function _0x1852(){var _0x4dfa92=['4557590AqGrcq','19793939pxTfpv','68641QFgEvV','61888QWhHpv','27150hpsDJr','1432284slLmSr','2RmqsjP','10576IXhffk','2349oRVFZf','69TKVQUJ','812lCfsTr'];_0x1852=function(){return _0x4dfa92;};return _0x1852();}export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';function _0x1ee0(_0x6fc6a,_0x158ba5){var _0x185220=_0x1852();return _0x1ee0=function(_0x1ee010,_0xadf858){_0x1ee010=_0x1ee010-0x7e;var _0x140e6f=_0x185220[_0x1ee010];return _0x140e6f;},_0x1ee0(_0x6fc6a,_0x158ba5);}export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x314bd3,_0x260f9e,_0xa68e55){const t=_0x314bd3['t'];switch(_0x260f9e){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xa68e55);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0xa68e55);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xa68e55);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xa68e55);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5d47(){const _0x2ee760=['characterData','96ysVVit','328524CzDmJS','21530HVimhz','1140195hNZKmx','969970AuWRiP','type','attributes','998854KTBEqc','14343EijVUu','528BhdYRu','class','cancel','observe','6052308oqCLfv','childList','9tTxOhs','2JnLHjz','354GlciIR','attributeName','disconnect'];_0x5d47=function(){return _0x2ee760;};return _0x5d47();}(function(_0x3b6d60,_0x13e37a){const _0x4abd57=_0x4c05,_0x405f05=_0x3b6d60();while(!![]){try{const _0x1a2703=-parseInt(_0x4abd57(0xc3))/0x1*(-parseInt(_0x4abd57(0xcc))/0x2)+parseInt(_0x4abd57(0xbf))/0x3+-parseInt(_0x4abd57(0xc9))/0x4+-parseInt(_0x4abd57(0xbe))/0x5*(parseInt(_0x4abd57(0xcd))/0x6)+parseInt(_0x4abd57(0xc4))/0x7*(-parseInt(_0x4abd57(0xd1))/0x8)+-parseInt(_0x4abd57(0xcb))/0x9*(parseInt(_0x4abd57(0xc0))/0xa)+parseInt(_0x4abd57(0xc5))/0xb*(parseInt(_0x4abd57(0xbd))/0xc);if(_0x1a2703===_0x13e37a)break;else _0x405f05['push'](_0x405f05['shift']());}catch(_0x2f025f){_0x405f05['push'](_0x405f05['shift']());}}}(_0x5d47,0xc45cb));function _0x4c05(_0x5d4d8f,_0x1de3f9){const _0x5d47d1=_0x5d47();return _0x4c05=function(_0x4c0528,_0x33ef34){_0x4c0528=_0x4c0528-0xbd;let _0x5bba41=_0x5d47d1[_0x4c0528];return _0x5bba41;},_0x4c05(_0x5d4d8f,_0x1de3f9);}import{throttle as _0x31067b}from'lodash-es';export default function Dt(_0x6f2ed6){const _0x578df9=_0x31067b(_0x6f2ed6,0x1e),_0x3a53bd=new MutationObserver(_0x4b2236=>{const _0xc9e1f=_0x4c05;for(const _0x3debaa of _0x4b2236)(_0xc9e1f(0xc2)==_0x3debaa[_0xc9e1f(0xc1)]&&_0xc9e1f(0xc6)==_0x3debaa[_0xc9e1f(0xce)]||_0xc9e1f(0xca)==_0x3debaa[_0xc9e1f(0xc1)]||_0xc9e1f(0xd0)==_0x3debaa[_0xc9e1f(0xc1)])&&_0x578df9();});return{'attach'(_0x30a7d3){const _0xe8f7b=_0x4c05;_0x3a53bd[_0xe8f7b(0xc8)](_0x30a7d3,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0xb25c8=_0x4c05;_0x3a53bd[_0xb25c8(0xcf)](),_0x578df9[_0xb25c8(0xc7)]();}};}
|