@ckeditor/ckeditor5-track-changes 32.0.0 → 34.1.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.
Files changed (114) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/track-changes.js +5 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/cs.js +1 -0
  6. package/build/translations/da.js +1 -0
  7. package/build/translations/de.js +1 -0
  8. package/build/translations/el.js +1 -0
  9. package/build/translations/en-au.js +1 -0
  10. package/build/translations/es.js +1 -0
  11. package/build/translations/et.js +1 -0
  12. package/build/translations/fr.js +1 -0
  13. package/build/translations/gl.js +1 -0
  14. package/build/translations/hi.js +1 -0
  15. package/build/translations/hr.js +1 -0
  16. package/build/translations/id.js +1 -0
  17. package/build/translations/it.js +1 -0
  18. package/build/translations/nl.js +1 -0
  19. package/build/translations/pl.js +1 -0
  20. package/build/translations/pt-br.js +1 -0
  21. package/build/translations/sk.js +1 -0
  22. package/build/translations/sr-latn.js +1 -0
  23. package/build/translations/sr.js +1 -0
  24. package/build/translations/tk.js +1 -0
  25. package/build/translations/tr.js +1 -0
  26. package/build/translations/zh-cn.js +1 -0
  27. package/build/translations/zh.js +1 -0
  28. package/ckeditor5-metadata.json +3 -0
  29. package/lang/translations/az.po +387 -0
  30. package/lang/translations/cs.po +31 -31
  31. package/lang/translations/da.po +1 -1
  32. package/lang/translations/de.po +1 -1
  33. package/lang/translations/el.po +387 -0
  34. package/lang/translations/en-au.po +6 -6
  35. package/lang/translations/es.po +35 -35
  36. package/lang/translations/fr.po +1 -1
  37. package/lang/translations/gl.po +3 -3
  38. package/lang/translations/hi.po +1 -1
  39. package/lang/translations/hr.po +14 -14
  40. package/lang/translations/id.po +370 -0
  41. package/lang/translations/it.po +1 -1
  42. package/lang/translations/nl.po +9 -9
  43. package/lang/translations/pl.po +1 -1
  44. package/lang/translations/pt-br.po +1 -1
  45. package/lang/translations/sk.po +58 -58
  46. package/lang/translations/sr-latn.po +3 -3
  47. package/lang/translations/sr.po +3 -3
  48. package/lang/translations/tk.po +1 -1
  49. package/lang/translations/tr.po +1 -1
  50. package/lang/translations/zh-cn.po +5 -5
  51. package/package.json +4 -7
  52. package/src/commands/acceptallsuggestionscommand.js +1 -1
  53. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardallsuggestionscommand.js +1 -1
  56. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  57. package/src/commands/discardsuggestioncommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/index.js +23 -0
  60. package/src/integrations/alignment.js +1 -1
  61. package/src/integrations/basicstyles.js +1 -1
  62. package/src/integrations/blockquote.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/entercommand.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/heading.js +1 -1
  69. package/src/integrations/highlight.js +1 -1
  70. package/src/integrations/horizontalline.js +1 -1
  71. package/src/integrations/image.js +1 -1
  72. package/src/integrations/indent.js +1 -1
  73. package/src/integrations/inputcommand.js +1 -1
  74. package/src/integrations/link.js +1 -1
  75. package/src/integrations/list.js +1 -1
  76. package/src/integrations/mediaembed.js +1 -1
  77. package/src/integrations/mention.js +1 -1
  78. package/src/integrations/pagebreak.js +1 -1
  79. package/src/integrations/paragraph.js +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.js +1 -1
  82. package/src/integrations/shiftentercommand.js +1 -1
  83. package/src/integrations/standardeditingmode.js +1 -1
  84. package/src/integrations/table.js +1 -1
  85. package/src/integrations/tableclipboard.js +1 -1
  86. package/src/integrations/tableheadings.js +1 -1
  87. package/src/integrations/tablemergesplit.js +1 -1
  88. package/src/integrations/title.js +1 -1
  89. package/src/integrations/undo.js +1 -1
  90. package/src/integrations/utils.js +1 -1
  91. package/src/suggestion.js +1 -1
  92. package/src/suggestiondescriptionfactory.js +1 -1
  93. package/src/trackchanges.js +1 -1
  94. package/src/trackchangesdata.js +1 -1
  95. package/src/trackchangesediting.js +1 -1
  96. package/src/trackchangesui.js +1 -1
  97. package/src/ui/suggestioncontroller.js +1 -1
  98. package/src/ui/view/basesuggestionthreadview.js +1 -1
  99. package/src/ui/view/suggestionthreadview.js +1 -1
  100. package/src/utils/common-translations.js +23 -0
  101. package/src/utils/getselectedsuggestions.js +1 -1
  102. package/src/utils/hashobject.js +1 -1
  103. package/src/utils/normalizedescription.js +1 -1
  104. package/src/utils/sortsuggestions.js +1 -1
  105. package/theme/icons/track-changes-accept.svg +1 -1
  106. package/theme/icons/track-changes-discard.svg +1 -1
  107. package/theme/icons/track-changes.svg +1 -1
  108. package/theme/integrations/horizontalline.css +0 -15
  109. package/theme/integrations/image.css +0 -55
  110. package/theme/integrations/mediaembed.css +0 -19
  111. package/theme/integrations/pagebreak.css +0 -15
  112. package/theme/integrations/table.css +0 -147
  113. package/theme/suggestion.css +0 -87
  114. package/theme/suggestionmarker.css +0 -161
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3a01cf}from'ckeditor5/src/core';import _0x202257 from'./trackchangesediting';import _0x173eac from'@ckeditor/ckeditor5-comments/src/comments/commentsrepository';import Ct from'./ui/suggestioncontroller';import Tt from'./ui/view/suggestionthreadview';import _0xdd9095 from'@ckeditor/ckeditor5-collaboration-core/src/users';import xt from'@ckeditor/ckeditor5-comments/src/annotations/editorannotations';import{Collection as Et}from'ckeditor5/src/utils';import{Model as At,SplitButtonView as Nt,createDropdown as Ut,addListToDropdown as Wt}from'ckeditor5/src/ui';import _t from'@ckeditor/ckeditor5-comments/src/utils/getdatetimeformatter';import Ot from'@ckeditor/ckeditor5-comments/src/utils/getmarkerdomelement';import Gt from'../theme/icons/track-changes.svg';import{debounce as Mt}from'lodash-es';import Pt from'@ckeditor/ckeditor5-comments/src/annotations/view/annotationview';import Vt from'@ckeditor/ckeditor5-comments/src/annotations/annotation';import qt from'@ckeditor/ckeditor5-comments/src/annotations/annotations';export default class f extends _0x3a01cf{static get['requires'](){return[qt,xt,_0x202257,_0x173eac,_0xdd9095];}static get['pluginName'](){return'TrackChangesUI';}constructor(_0x7a1337){super(_0x7a1337),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_debouncedHandlers']=new Map();const _0x4096df=this['editor']['config'];_0x4096df['define']('trackChanges.SuggestionThreadView',Tt),_0x4096df['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x4096df['get']('trackChanges.disableComments');}['init'](){const _0x14b82b=this['editor'],_0x28231b=_0x14b82b['plugins']['get'](_0x202257),_0xf842a5=_0x14b82b['plugins']['get'](qt),_0x5c3fa0=_0x14b82b['plugins']['get'](xt),_0x2de147=_0x14b82b['plugins']['get'](_0x173eac);_0x14b82b['ui']['componentFactory']['add']('trackChanges',_0x637294=>this['_createUIButton'](_0x637294)),_0x5c3fa0['addSourceCollector'](()=>{const _0x1a98ff=[];for(const [_0x2335dc,_0x5aa22a]of Array['from'](this['_suggestionToController'])){const _0x1d62e2=_0x2335dc['getAllAdjacentSuggestions'](),_0x45ace0=[];for(const _0x3f3748 of _0x1d62e2){if(!_0x3f3748['isInContent'])continue;if(_0x3f3748['isMultiRange']){_0x45ace0['push'](..._0x3f3748['getRanges']());continue;}const _0x23f9c0=_0x3f3748['getFirstRange']();if(_0x45ace0['length']>0x0){const _0x5e0924=_0x45ace0[0x0]['getJoined'](_0x23f9c0);if(_0x5e0924){_0x45ace0[0x0]=_0x5e0924;continue;}}_0x45ace0['push'](_0x23f9c0);}_0x1a98ff['push']([_0x5aa22a['view'],_0x45ace0]);}return _0x1a98ff;}),this['listenTo'](_0x28231b,'suggestionLoaded',(_0x22ddd5,_0x2de540)=>{let _0x197cfb=!0x1;const _0x184916=Mt(_0x56402c=>{_0x197cfb||_0x56402c?_0x197cfb&&_0x56402c&&(this['_destroyController'](_0x2de540),_0x5c3fa0['refreshSelectedViews'](),_0x197cfb=!0x1):(this['_initializeController'](_0x2de540),_0x5c3fa0['refreshSelectedViews'](),_0x197cfb=!0x0);},0xa);this['_debouncedHandlers']['set'](_0x2de540,_0x184916),this['listenTo'](_0x2de540,'change:previous',(_0xe1280f,_0xa70a3f,_0xd07789,_0x16220e)=>{_0x2de540['isInContent']&&(null==_0xd07789?(this['_updateController'](_0x16220e['head']),_0x184916(!0x1)):(this['_updateController'](_0xd07789['head']),_0x184916(!0x0)));}),null===_0x2de540['previous']?_0x184916(!0x1):this['_updateController'](_0x2de540['head']);}),this['listenTo'](_0x28231b,'suggestionUnloaded',(_0xb67bf4,_0x1bebb7,_0x491275)=>{this['stopListening'](_0x1bebb7,'change:previous'),this['_debouncedHandlers']['get'](_0x1bebb7)['cancel'](),this['_debouncedHandlers']['delete'](_0x1bebb7);const _0x53fb7c=_0x491275?_0x491275['head']:_0x1bebb7,_0x26c73f=this['_suggestionToController']['get'](_0x53fb7c);null!==_0x491275&&this['_updateController'](_0x53fb7c),null===_0x491275&&_0x26c73f&&this['_destroyController'](_0x1bebb7);}),this['listenTo'](_0x28231b,'suggestionChanged',(_0x3b30cd,_0x54ce96)=>{this['_updateController'](_0x54ce96);}),this['listenTo'](_0xf842a5,'change:activeAnnotations',(_0x38bcb6,_0x1ea370,_0x3048f6)=>{const _0x37fba8=Array['from'](_0x3048f6,_0x588ad9=>_0x588ad9['innerView'])['filter'](_0x20a78e=>this['_viewToController']['has'](_0x20a78e)),_0x468aac=[];for(const _0x359e7a of _0x37fba8){const _0x3042ec=this['_viewToController']['get'](_0x359e7a)['model']['getAllAdjacentSuggestions']();_0x468aac['push'](..._0x3042ec['reduce']((_0x3d2648,_0x4e7977)=>[..._0x3d2648,..._0x4e7977['getMarkerNames']()],[]));}_0x28231b['activeMarkers']=_0x468aac;}),this['listenTo'](_0x2de147,'addComment',(_0x3c1b2f,{threadId:_0x55240e,isFromAdapter:_0x2724d7})=>{if(_0x2724d7||!_0x28231b['hasSuggestion'](_0x55240e))return;const _0x1829b0=_0x28231b['getSuggestion'](_0x55240e);this['_suggestionToController']['get'](_0x1829b0)['view']['focus']();},{'priority':'lowest'});}['_createUIButton'](_0x1f0171){const _0x13bed8=Ut(_0x1f0171,Nt),_0x1c0b7f=this['editor']['commands']['get']('trackChanges'),{t:t}=this['editor'];_0x13bed8['buttonView']['set']({'tooltip':t('Track\x20changes'),'label':t('Track\x20changes'),'icon':Gt}),_0x13bed8['buttonView']['bind']('isOn')['to'](_0x1c0b7f,'value'),_0x13bed8['buttonView']['on']('execute',()=>_0x1c0b7f['execute']());const _0x9f77bd=new Et(),_0x39c2fa=[{'type':'switchbutton','model':{'withText':!0x0,'label':t('Track\x20changes'),'commandName':'trackChanges'}},{'type':'separator'},{'type':'button','model':{'withText':!0x0,'label':t('Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions'}}];for(const _0x10c7ba of _0x39c2fa){const _0x56e9c7={'type':_0x10c7ba['type']};if(_0x10c7ba['model']){const _0x231dd8=new At(_0x10c7ba['model']),_0x1745a3=this['editor']['commands']['get'](_0x231dd8['commandName']);_0x231dd8['bind']('isOn','isEnabled')['to'](_0x1745a3,'value','isEnabled'),_0x56e9c7['model']=_0x231dd8;}_0x9f77bd['add'](_0x56e9c7);}Wt(_0x13bed8,_0x9f77bd);const _0x5cfc9a=_0x39c2fa['filter'](_0x3a0d91=>null!=_0x3a0d91['model'])['map'](_0x23161a=>this['editor']['commands']['get'](_0x23161a['model']['commandName']));return _0x13bed8['buttonView']['actionView']['unbind']('isEnabled'),_0x13bed8['buttonView']['arrowView']['unbind']('isEnabled'),_0x13bed8['buttonView']['actionView']['bind']('isEnabled')['to'](_0x1c0b7f,'isEnabled'),_0x13bed8['buttonView']['arrowView']['bind']('isEnabled')['toMany'](_0x5cfc9a,'isEnabled',(..._0x34ee32)=>_0x34ee32['some'](_0x5cb8b8=>_0x5cb8b8)),_0x13bed8['on']('execute',_0x3e7f4b=>this['editor']['execute'](_0x3e7f4b['source']['commandName'])),_0x13bed8;}['_initializeController'](_0x2ed806){const _0x25f2c2=this['editor'],_0x107698=_0x25f2c2['config'],_0x3f2783=_0x25f2c2['plugins']['get'](qt),_0x10d8f9=_0x2ed806['getAllAdjacentSuggestions']()['filter'](_0x58f54d=>_0x58f54d['isInContent']),_0x4abaf5=_0x25f2c2['plugins']['get']('Users')['me'],_0x50883d=_0x25f2c2['commands']['get']('acceptSuggestion'),_0x42060b=_0x25f2c2['commands']['get']('discardSuggestion'),_0x3e5e59=new(0x0,(_0x107698['get']('trackChanges'))['SuggestionThreadView'])(_0x25f2c2['locale'],_0x2ed806,_0x4abaf5,{'disableComments':this['_disableComments'],'editorConfig':_0x107698['get']('comments.editorConfig'),'maxCommentsWhenCollapsed':_0x107698['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x107698['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x107698['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_t(_0x107698['get']('locale')),'CommentView':_0x107698['get']('comments')['CommentView']}),_0x44f559=new Ct(_0x2ed806,_0x3e5e59,_0x50883d,_0x42060b);_0x3e5e59['descriptionParts']=_0x25f2c2['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['getDescriptions'](_0x10d8f9),this['_suggestionToController']['set'](_0x2ed806,_0x44f559),this['_viewToController']['set'](_0x3e5e59,_0x44f559);const _0x314a75=new Pt(this['editor']['locale'],_0x3e5e59);_0x314a75['bind']('isDirty')['to'](_0x3e5e59,'isDirty'),_0x314a75['bind']('length')['to'](_0x3e5e59),_0x314a75['bind']('type')['to'](_0x3e5e59,'type',_0x320c73=>'suggestion-'+_0x320c73);const _0x51dfe1=new Vt({'view':_0x314a75,'target':()=>{const _0x42faa8=_0x10d8f9[0x0]['getFirstMarker']();if(!_0x42faa8)return null;const _0x24034b=_0x42faa8['getRange']()['getContainedElement']();return _0x24034b&&!_0x25f2c2['editing']['mapper']['toViewElement'](_0x24034b)?null:Ot(_0x25f2c2['editing'],_0x42faa8)||null;},'type':()=>'suggestion-'+_0x44f559['view']['type']});_0x3f2783['add'](_0x51dfe1);const _0x2d9605=_0x25f2c2['plugins']['get']('PendingActions');let _0x18c16a;_0x3e5e59['on']('change:isDirty',(_0x2c6be1,_0x351ef0,_0x4003ea)=>{if(_0x4003ea){const t=this['editor']['locale']['t'];_0x18c16a=_0x2d9605['add'](t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'}));}else _0x2d9605['remove'](_0x18c16a),_0x18c16a=null;});}['_destroyController'](_0x10f2e3){const _0x317147=this['editor']['plugins']['get']('Annotations'),_0x696471=this['_suggestionToController']['get'](_0x10f2e3),_0x35f333=_0x696471['view'],_0x3e2e9d=_0x317147['getByInnerView'](_0x35f333);_0x3e2e9d&&_0x317147['remove'](_0x3e2e9d),this['_suggestionToController']['delete'](_0x10f2e3),this['_viewToController']['delete'](_0x35f333),_0x696471['destroy'](),_0x35f333['destroy']();}['_updateController'](_0x1e9026){if(!_0x1e9026['isInContent']||!this['_suggestionToController']['has'](_0x1e9026))return;const _0x45de29=this['editor']['plugins']['get']('TrackChangesEditing'),_0x57ee97=this['_suggestionToController']['get'](_0x1e9026),_0x13e839=_0x1e9026['getAllAdjacentSuggestions']();_0x57ee97['view']['descriptionParts']=_0x45de29['_descriptionFactory']['getDescriptions'](_0x13e839);}['destroy'](){super['destroy']();for(const _0x209643 of this['_suggestionToController']['keys']())this['_destroyController'](_0x209643);for(const _0x2e800d of this['_debouncedHandlers']['values']())_0x2e800d['cancel']();this['_debouncedHandlers']['clear']();}}
23
+ const _0x1625=['remove','commands','execute','trackChanges','PendingActions','view','suggestionUnloaded','values','value','getAllAdjacentSuggestions','has','discardAllSuggestions','buttonView','trackChanges.SuggestionThreadView','switchbutton','type','comments.maxCommentCharsWhenCollapsed','CommentsUI','from','delete','define','commandName','source','unbind','actionView','filter','focus','cancel','listenTo','getMarkerNames','get','change:activeAnnotations','activeMarkers','innerView','change:previous','getJoined','_descriptionFactory','TrackChangesEditing','keys','locale','isOn','getDescriptions','discardSelectedSuggestions','_disableComments','_destroyController','separator','length','refreshSelectedViews','clear','destroy','model','Track\x20changes','bind','plugins','push','some','Annotations','comments.maxCommentsWhenCollapsed','getFirstMarker','head','_debouncedHandlers','descriptionParts','Accept\x20all\x20suggestions','isEnabled','isMultiRange','isDirty','getRanges','suggestion-','getContainedElement','getRange','arrowView','config','EditorAnnotations','SuggestionThreadView','set','getSuggestion','pluginName','CommentsRepository','_suggestionToController','editing','add','trackChanges.disableComments','editor','comments.editorConfig','init','button','toMany','stopListening','previous','commentThread','acceptSelectedSuggestions','addSourceCollector','_viewToController','_createUIButton','map','PENDING_ACTION_SUGGESTION','getFirstRange','getByInnerView','_initializeController','_updateController','createAnnotationView','requires','reduce','toViewElement','Discard\x20all\x20selected\x20suggestions','isInContent','discardSuggestion','comments'];(function(_0x1ad1ea,_0x162572){const _0x417dcf=function(_0x2b8930){while(--_0x2b8930){_0x1ad1ea['push'](_0x1ad1ea['shift']());}};_0x417dcf(++_0x162572);}(_0x1625,0xd4));const _0x417d=function(_0x1ad1ea,_0x162572){_0x1ad1ea=_0x1ad1ea-0x0;let _0x417dcf=_0x1625[_0x1ad1ea];return _0x417dcf;};import{Plugin as _0x4d458a}from'ckeditor5/src/core';import{Collection as _0x2840d4}from'ckeditor5/src/utils';import{Model as _0x284193,SplitButtonView as _0x432863,createDropdown as _0x315563,addListToDropdown as _0x1976bc}from'ckeditor5/src/ui';import{Users as _0x40a97a,getDateTimeFormatter as _0x3c583d,getMarkerDomElement as _0x5af7e0}from'ckeditor5-collaboration/src/collaboration-core';import{debounce as _0x2624f1}from'lodash-es';import _0x52d57c from'./trackchangesediting';import _0x50e52b from'./ui/suggestioncontroller';import _0x46029d from'./ui/view/suggestionthreadview';import{getTranslation as _0x32166e}from'./utils/common-translations';import _0x196f67 from'../theme/icons/track-changes.svg';export default class m extends _0x4d458a{static get[_0x417d('0x69')](){return[_0x52d57c,_0x40a97a,_0x417d('0x51'),_0x417d('0x3c'),_0x417d('0x4c')];}static get[_0x417d('0x50')](){return'TrackChangesUI';}constructor(_0x21e426){super(_0x21e426),this['_suggestionToController']=new Map(),this[_0x417d('0x60')]=new Map(),this[_0x417d('0x40')]=new Map();const _0x761910=this[_0x417d('0x56')][_0x417d('0x4b')];_0x761910[_0x417d('0x18')](_0x417d('0x11'),_0x46029d),_0x761910['define'](_0x417d('0x55'),!0x1),this['_disableComments']=_0x761910['get']('trackChanges.disableComments');}[_0x417d('0x58')](){const _0x3a60ee=this['editor'],_0x4ed02b=_0x3a60ee[_0x417d('0x39')][_0x417d('0x22')](_0x52d57c),_0x32dfeb=_0x3a60ee[_0x417d('0x39')][_0x417d('0x22')](_0x417d('0x3c')),_0xba56f9=_0x3a60ee[_0x417d('0x39')]['get'](_0x417d('0x4c')),_0x2acf77=_0x3a60ee[_0x417d('0x39')]['get'](_0x417d('0x51'));_0x3a60ee['ui']['componentFactory'][_0x417d('0x54')](_0x417d('0x7'),_0x27f5c4=>this['_createUIButton'](_0x27f5c4)),_0xba56f9[_0x417d('0x5f')](()=>{const _0x22ec11=[];for(const [_0x32fa6f,_0x1c0631]of Array[_0x417d('0x16')](this[_0x417d('0x52')])){const _0xe1ee07=_0x32fa6f[_0x417d('0xd')](),_0x55bceb=[];for(const _0x3212d1 of _0xe1ee07){if(!_0x3212d1['isInContent'])continue;if(_0x3212d1[_0x417d('0x44')]){_0x55bceb[_0x417d('0x3a')](..._0x3212d1[_0x417d('0x46')]());continue;}const _0x1255f3=_0x3212d1[_0x417d('0x64')]();if(_0x55bceb[_0x417d('0x32')]>0x0){const _0x49c6ad=_0x55bceb[0x0][_0x417d('0x27')](_0x1255f3);if(_0x49c6ad){_0x55bceb[0x0]=_0x49c6ad;continue;}}_0x55bceb[_0x417d('0x3a')](_0x1255f3);}_0x22ec11[_0x417d('0x3a')]([_0x1c0631[_0x417d('0x9')],_0x55bceb]);}return _0x22ec11;}),this[_0x417d('0x20')](_0x4ed02b,'suggestionLoaded',(_0x4adb60,_0x2b21d5)=>{let _0x2dda3d=!0x1;const _0x18c9bb=_0x2624f1(_0x4859cf=>{_0x2dda3d||_0x4859cf?_0x2dda3d&&_0x4859cf&&(this[_0x417d('0x30')](_0x2b21d5),_0xba56f9[_0x417d('0x33')](),_0x2dda3d=!0x1):(this[_0x417d('0x66')](_0x2b21d5),_0xba56f9[_0x417d('0x33')](),_0x2dda3d=!0x0);},0xa);this[_0x417d('0x40')][_0x417d('0x4e')](_0x2b21d5,_0x18c9bb),this['listenTo'](_0x2b21d5,_0x417d('0x26'),(_0x595a09,_0x3ddc33,_0xce2ac4,_0x2d2b50)=>{_0x2b21d5[_0x417d('0x1')]&&(null==_0xce2ac4?(this[_0x417d('0x67')](_0x2d2b50[_0x417d('0x3f')]),_0x18c9bb(!0x1)):(this[_0x417d('0x67')](_0xce2ac4[_0x417d('0x3f')]),_0x18c9bb(!0x0)));}),null===_0x2b21d5[_0x417d('0x5c')]?_0x18c9bb(!0x1):this[_0x417d('0x67')](_0x2b21d5[_0x417d('0x3f')]);}),this[_0x417d('0x20')](_0x4ed02b,_0x417d('0xa'),(_0x5d1546,_0x2c9316,_0x27acbc)=>{this[_0x417d('0x5b')](_0x2c9316,_0x417d('0x26')),this['_debouncedHandlers']['get'](_0x2c9316)[_0x417d('0x1f')](),this[_0x417d('0x40')][_0x417d('0x17')](_0x2c9316);const _0x11f23b=_0x27acbc?_0x27acbc[_0x417d('0x3f')]:_0x2c9316,_0x4e175f=this[_0x417d('0x52')][_0x417d('0x22')](_0x11f23b);null!==_0x27acbc&&this[_0x417d('0x67')](_0x11f23b),null===_0x27acbc&&_0x4e175f&&this['_destroyController'](_0x2c9316);}),this[_0x417d('0x20')](_0x4ed02b,'suggestionChanged',(_0x1c4f6e,_0x5a7428)=>{this[_0x417d('0x67')](_0x5a7428);}),this[_0x417d('0x20')](_0x32dfeb,_0x417d('0x23'),(_0x35cf49,_0xbebe75,_0x3d55d0)=>{const _0x436939=Array[_0x417d('0x16')](_0x3d55d0,_0x40b4d3=>_0x40b4d3[_0x417d('0x25')])[_0x417d('0x1d')](_0x541197=>this[_0x417d('0x60')][_0x417d('0xe')](_0x541197)),_0x442bfa=[];for(const _0xc82691 of _0x436939){const _0x39bb39=this[_0x417d('0x60')][_0x417d('0x22')](_0xc82691)[_0x417d('0x36')][_0x417d('0xd')]();_0x442bfa['push'](..._0x39bb39[_0x417d('0x6a')]((_0xab00f1,_0x69c40d)=>[..._0xab00f1,..._0x69c40d[_0x417d('0x21')]()],[]));}_0x4ed02b[_0x417d('0x24')]=_0x442bfa;}),this[_0x417d('0x20')](_0x2acf77,'addComment',(_0x31ad55,{threadId:_0x1abd7b,isFromAdapter:_0x1ae6f2})=>{if(_0x1ae6f2||!_0x4ed02b['hasSuggestion'](_0x1abd7b))return;const _0x3fde5f=_0x4ed02b[_0x417d('0x4f')](_0x1abd7b);this[_0x417d('0x52')][_0x417d('0x22')](_0x3fde5f)['view'][_0x417d('0x1e')]();},{'priority':'lowest'});}[_0x417d('0x61')](_0x1dfbab){const _0x55e494=_0x315563(_0x1dfbab,_0x432863),_0x4f52ae=this[_0x417d('0x56')]['commands'][_0x417d('0x22')]('trackChanges'),_0x14d4d9=_0x32166e(_0x1dfbab,_0x417d('0x37'));_0x55e494[_0x417d('0x10')][_0x417d('0x4e')]({'tooltip':_0x14d4d9,'label':_0x14d4d9,'icon':_0x196f67}),_0x55e494[_0x417d('0x10')][_0x417d('0x38')]('isOn')['to'](_0x4f52ae,_0x417d('0xc')),_0x55e494[_0x417d('0x10')]['on']('execute',()=>_0x4f52ae[_0x417d('0x6')]());const _0x16daa4=new _0x2840d4(),_0x200f54=[{'type':_0x417d('0x12'),'model':{'withText':!0x0,'label':_0x14d4d9,'commandName':'trackChanges'}},{'type':_0x417d('0x31')},{'type':_0x417d('0x59'),'model':{'withText':!0x0,'label':_0x32166e(_0x1dfbab,_0x417d('0x42')),'commandName':'acceptAllSuggestions'}},{'type':_0x417d('0x59'),'model':{'withText':!0x0,'label':_0x32166e(_0x1dfbab,'Accept\x20all\x20selected\x20suggestions'),'commandName':_0x417d('0x5e')}},{'type':_0x417d('0x59'),'model':{'withText':!0x0,'label':_0x32166e(_0x1dfbab,'Discard\x20all\x20suggestions'),'commandName':_0x417d('0xf')}},{'type':'button','model':{'withText':!0x0,'label':_0x32166e(_0x1dfbab,_0x417d('0x0')),'commandName':_0x417d('0x2e')}}];for(const _0x2e4dcd of _0x200f54){const _0x1a72b9={'type':_0x2e4dcd[_0x417d('0x13')]};if(_0x2e4dcd[_0x417d('0x36')]){const _0x4098bd=new _0x284193(_0x2e4dcd['model']),_0x4ab166=this[_0x417d('0x56')][_0x417d('0x5')][_0x417d('0x22')](_0x4098bd[_0x417d('0x19')]);_0x4098bd['bind'](_0x417d('0x2c'),'isEnabled')['to'](_0x4ab166,_0x417d('0xc'),_0x417d('0x43')),_0x1a72b9['model']=_0x4098bd;}_0x16daa4['add'](_0x1a72b9);}_0x1976bc(_0x55e494,_0x16daa4);const _0x5e4e6f=_0x200f54[_0x417d('0x1d')](_0x46a3a8=>null!=_0x46a3a8[_0x417d('0x36')])[_0x417d('0x62')](_0x59dd3c=>this[_0x417d('0x56')][_0x417d('0x5')][_0x417d('0x22')](_0x59dd3c[_0x417d('0x36')][_0x417d('0x19')]));return _0x55e494[_0x417d('0x10')]['actionView'][_0x417d('0x1b')](_0x417d('0x43')),_0x55e494[_0x417d('0x10')][_0x417d('0x4a')][_0x417d('0x1b')](_0x417d('0x43')),_0x55e494[_0x417d('0x10')][_0x417d('0x1c')][_0x417d('0x38')](_0x417d('0x43'))['to'](_0x4f52ae,_0x417d('0x43')),_0x55e494[_0x417d('0x10')][_0x417d('0x4a')][_0x417d('0x38')](_0x417d('0x43'))[_0x417d('0x5a')](_0x5e4e6f,_0x417d('0x43'),(..._0x982d3a)=>_0x982d3a[_0x417d('0x3b')](_0x4fb4ea=>_0x4fb4ea)),_0x55e494['on'](_0x417d('0x6'),_0x364222=>this['editor']['execute'](_0x364222[_0x417d('0x1a')][_0x417d('0x19')])),_0x55e494;}[_0x417d('0x66')](_0x4ccd5f){const _0x4bd0c6=this[_0x417d('0x56')],_0x125137=_0x4bd0c6[_0x417d('0x4b')],_0x5b1e9f=_0x4bd0c6[_0x417d('0x39')][_0x417d('0x22')]('Annotations'),_0xb600e4=_0x4bd0c6[_0x417d('0x39')][_0x417d('0x22')](_0x417d('0x51')),_0x799c6c=_0x4ccd5f[_0x417d('0xd')]()[_0x417d('0x1d')](_0x148ed1=>_0x148ed1[_0x417d('0x1')]),_0xd9c777=_0x4bd0c6[_0x417d('0x39')][_0x417d('0x22')](_0x40a97a)['me'],_0x1371b6=_0x4bd0c6[_0x417d('0x5')]['get']('acceptSuggestion'),_0x32eb31=_0x4bd0c6['commands']['get'](_0x417d('0x2')),_0x264836=_0x125137[_0x417d('0x22')](_0x417d('0x7'))[_0x417d('0x4d')],{CommentsListView:_0x4d1d8f,CommentThreadInputView:_0x450141}=_0x4bd0c6[_0x417d('0x39')]['get'](_0x417d('0x15')),_0x592953=new _0x264836(_0x4bd0c6[_0x417d('0x2b')],_0x4ccd5f,_0xd9c777,{'disableComments':this[_0x417d('0x2f')],'editorConfig':_0x125137[_0x417d('0x22')](_0x417d('0x57')),'maxCommentsWhenCollapsed':_0x125137['get'](_0x417d('0x3d')),'maxThreadTotalWeight':_0x125137[_0x417d('0x22')]('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x125137[_0x417d('0x22')](_0x417d('0x14')),'formatDateTime':_0x3c583d(_0x125137[_0x417d('0x22')](_0x417d('0x2b'))),'CommentView':_0x125137['get'](_0x417d('0x3'))['CommentView'],'CommentsListView':_0x4d1d8f,'CommentThreadInputView':_0x450141}),_0x5d0307=_0xb600e4['createCommentThreadController'](_0x4ccd5f[_0x417d('0x5d')],_0x592953),_0x5b5daa=new _0x50e52b(_0x4ccd5f,_0x592953,_0x1371b6,_0x32eb31,_0x5d0307);_0x592953[_0x417d('0x41')]=_0x4bd0c6['plugins'][_0x417d('0x22')](_0x417d('0x29'))[_0x417d('0x28')][_0x417d('0x2d')](_0x799c6c),this[_0x417d('0x52')][_0x417d('0x4e')](_0x4ccd5f,_0x5b5daa),this[_0x417d('0x60')]['set'](_0x592953,_0x5b5daa);const _0x4f7891=_0x5b1e9f[_0x417d('0x68')](this[_0x417d('0x56')][_0x417d('0x2b')],_0x592953);_0x4f7891[_0x417d('0x38')](_0x417d('0x45'))['to'](_0x592953,_0x417d('0x45')),_0x4f7891[_0x417d('0x38')](_0x417d('0x32'))['to'](_0x592953),_0x4f7891['bind'](_0x417d('0x13'))['to'](_0x592953,_0x417d('0x13'),_0x8caaca=>_0x417d('0x47')+_0x8caaca);const _0x2978fa=_0x5b1e9f['createAnnotation']({'view':_0x4f7891,'target':()=>{const _0x3adef9=_0x799c6c[0x0][_0x417d('0x3e')]();if(!_0x3adef9)return null;const _0x4d25c7=_0x3adef9[_0x417d('0x49')]()[_0x417d('0x48')]();return _0x4d25c7&&!_0x4bd0c6[_0x417d('0x53')]['mapper'][_0x417d('0x6b')](_0x4d25c7)?null:_0x5af7e0(_0x4bd0c6[_0x417d('0x53')],_0x3adef9)||null;},'type':()=>_0x417d('0x47')+_0x5b5daa[_0x417d('0x9')][_0x417d('0x13')]});_0x5b1e9f[_0x417d('0x54')](_0x2978fa);const _0x79b56a=_0x4bd0c6[_0x417d('0x39')][_0x417d('0x22')](_0x417d('0x8'));let _0x5b54cf;_0x592953['on']('change:isDirty',(_0x26dcf3,_0x2387d9,_0x124381)=>{_0x124381?_0x5b54cf=_0x79b56a['add'](_0x32166e(this[_0x417d('0x56')][_0x417d('0x2b')],_0x417d('0x63'))):(_0x79b56a[_0x417d('0x4')](_0x5b54cf),_0x5b54cf=null);});}[_0x417d('0x30')](_0x3341fd){const _0x1fe397=this[_0x417d('0x56')][_0x417d('0x39')][_0x417d('0x22')]('Annotations'),_0x2ca666=this[_0x417d('0x52')]['get'](_0x3341fd),_0x2704a2=_0x2ca666['view'],_0x532165=_0x1fe397[_0x417d('0x65')](_0x2704a2);_0x532165&&_0x1fe397[_0x417d('0x4')](_0x532165),this[_0x417d('0x52')][_0x417d('0x17')](_0x3341fd),this[_0x417d('0x60')][_0x417d('0x17')](_0x2704a2),_0x2ca666['destroy'](),_0x2704a2[_0x417d('0x35')]();}['_updateController'](_0x1b84a6){if(!_0x1b84a6[_0x417d('0x1')]||!this[_0x417d('0x52')][_0x417d('0xe')](_0x1b84a6))return;const _0x56af9b=this[_0x417d('0x56')][_0x417d('0x39')][_0x417d('0x22')](_0x417d('0x29')),_0x43e94e=this['_suggestionToController']['get'](_0x1b84a6),_0x39cb03=_0x1b84a6[_0x417d('0xd')]();_0x43e94e[_0x417d('0x9')][_0x417d('0x41')]=_0x56af9b[_0x417d('0x28')]['getDescriptions'](_0x39cb03);}['destroy'](){super['destroy']();for(const _0x4c4e65 of this[_0x417d('0x52')][_0x417d('0x2a')]())this[_0x417d('0x30')](_0x4c4e65);for(const _0x4e9ad5 of this['_debouncedHandlers'][_0x417d('0xb')]())_0x4e9ad5[_0x417d('0x1f')]();this[_0x417d('0x40')][_0x417d('0x34')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x17fd=['bind','view','destroy','discardSuggestion','commentThread','stopListening','acceptSuggestion','model','isEnabled','_acceptCommand','unbind','execute','_discardCommand','commentThreadController','listenTo'];(function(_0x1458cd,_0x17fd1a){var _0x58f556=function(_0x463e46){while(--_0x463e46){_0x1458cd['push'](_0x1458cd['shift']());}};_0x58f556(++_0x17fd1a);}(_0x17fd,0xb9));var _0x58f5=function(_0x1458cd,_0x17fd1a){_0x1458cd=_0x1458cd-0x0;var _0x58f556=_0x17fd[_0x1458cd];return _0x58f556;};import{ObservableMixin as _0x486f86,mix as _0x4558d8}from'ckeditor5/src/utils';import _0x555f11 from'@ckeditor/ckeditor5-comments/src/comments/ui/commentthreadcontroller';export default class Ct{constructor(_0x4b6600,_0x5dde1a,_0x154a33,_0x1249ad){this[_0x58f5('0x2')]=_0x4b6600,this[_0x58f5('0xb')]=_0x5dde1a,this[_0x58f5('0x8')]=new _0x555f11(_0x4b6600[_0x58f5('0xe')],_0x5dde1a),this[_0x58f5('0x4')]=_0x154a33,this[_0x58f5('0x7')]=_0x1249ad,this['view'][_0x58f5('0xa')]('isEnabled')['to'](this[_0x58f5('0x4')]),this['listenTo'](_0x5dde1a,'acceptSuggestion',()=>this[_0x58f5('0x1')]()),this[_0x58f5('0x9')](_0x5dde1a,'discardSuggestion',()=>this[_0x58f5('0xd')]());}[_0x58f5('0x1')](){this[_0x58f5('0x4')]['execute'](this[_0x58f5('0x2')]['id']);}[_0x58f5('0xd')](){this[_0x58f5('0x7')][_0x58f5('0x6')](this[_0x58f5('0x2')]['id']);}['destroy'](){this[_0x58f5('0xb')][_0x58f5('0x5')](_0x58f5('0x3')),this[_0x58f5('0x0')](),this['commentThreadController'][_0x58f5('0xc')]();}}_0x4558d8(Ct,_0x486f86);
23
+ var _0xa8c3=['bind','execute','acceptSuggestion','_acceptCommand','discardSuggestion','unbind','commentThreadController','stopListening','destroy','listenTo','_discardCommand','view','isEnabled','model'];(function(_0x352442,_0xa8c38a){var _0x3582b8=function(_0x4b4bb0){while(--_0x4b4bb0){_0x352442['push'](_0x352442['shift']());}};_0x3582b8(++_0xa8c38a);}(_0xa8c3,0x143));var _0x3582=function(_0x352442,_0xa8c38a){_0x352442=_0x352442-0x0;var _0x3582b8=_0xa8c3[_0x352442];return _0x3582b8;};import{ObservableMixin as _0x22a1b9,mix as _0x4919ff}from'ckeditor5/src/utils';export default class It{constructor(_0xef5473,_0x5339cc,_0xfb287e,_0x7fb38c,_0x1526e5){this[_0x3582('0xc')]=_0xef5473,this[_0x3582('0xa')]=_0x5339cc,this[_0x3582('0x5')]=_0x1526e5,this['_acceptCommand']=_0xfb287e,this[_0x3582('0x9')]=_0x7fb38c,this[_0x3582('0xa')][_0x3582('0xd')](_0x3582('0xb'))['to'](this[_0x3582('0x2')]),this[_0x3582('0x8')](_0x5339cc,_0x3582('0x1'),()=>this[_0x3582('0x1')]()),this[_0x3582('0x8')](_0x5339cc,_0x3582('0x3'),()=>this['discardSuggestion']());}['acceptSuggestion'](){this[_0x3582('0x2')][_0x3582('0x0')](this[_0x3582('0xc')]['id']);}[_0x3582('0x3')](){this[_0x3582('0x9')][_0x3582('0x0')](this[_0x3582('0xc')]['id']);}[_0x3582('0x7')](){this[_0x3582('0xa')][_0x3582('0x4')](_0x3582('0xb')),this[_0x3582('0x6')](),this[_0x3582('0x5')][_0x3582('0x7')]();}}_0x4919ff(It,_0x22a1b9);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4159=['_localUser','hasDirtyComment','value','isActive','editorConfig','_createCommentThreadInputView','commentThreadInputView','isReadOnly','disableComments','commentsListView','_config','locale','cancel','bind','set','assign','fire','destroy','_model','element','commentThread','_createCommentViews','isEnabled','length','focus','delegate','addComment','isDirty','commentInputView','createdAt','removeComment'];(function(_0x4bdc4b,_0x4159e8){const _0x4172db=function(_0x3d11ab){while(--_0x3d11ab){_0x4bdc4b['push'](_0x4bdc4b['shift']());}};_0x4172db(++_0x4159e8);}(_0x4159,0x1a2));const _0x4172=function(_0x4bdc4b,_0x4159e8){_0x4bdc4b=_0x4bdc4b-0x0;let _0x4172db=_0x4159[_0x4bdc4b];return _0x4172db;};import{View as _0xfe8413}from'ckeditor5/src/ui';import _0x171e23 from'@ckeditor/ckeditor5-comments/src/comments/ui/view/commentslistview';import _0x4a81ba from'@ckeditor/ckeditor5-comments/src/comments/ui/view/commentthreadinputview';export default class ei extends _0xfe8413{constructor(_0x427268,_0x13bb28,_0x3be3fa,_0x3d1244){super(_0x427268),this['commentsListView']=null,this[_0x4172('0x16')]=null,this[_0x4172('0x1e')](_0x4172('0x13'),!0x1),this['set'](_0x4172('0xe'),_0x13bb28[_0x4172('0xe')]),this[_0x4172('0x1d')](_0x4172('0xe'))['to'](_0x13bb28),this[_0x4172('0x1e')]('descriptionParts',[]),this['set'](_0x4172('0xc'),!0x1),this[_0x4172('0x1e')](_0x4172('0x7'),!0x1),this[_0x4172('0x3')]=_0x13bb28,this[_0x4172('0x10')]=_0x3be3fa,this[_0x4172('0x1a')]=_0x3d1244,_0x3d1244[_0x4172('0x18')]?this[_0x4172('0x1e')](_0x4172('0x8'),0x1):this['_createCommentViews']();}[_0x4172('0x9')](){this[_0x4172('0x4')][_0x4172('0x9')]();}[_0x4172('0x2')](){this['isDirty']=!0x1,this['commentsListView']&&this['commentsListView'][_0x4172('0x2')](),this[_0x4172('0x16')]&&this['commentThreadInputView'][_0x4172('0x2')](),super['destroy']();}[_0x4172('0x6')](){this[_0x4172('0x19')]=new _0x171e23(this[_0x4172('0x1b')],this[_0x4172('0x3')][_0x4172('0x5')],Object[_0x4172('0x0')]({'CommentView':this[_0x4172('0x1a')]['CommentView']},this['_config'])),this['commentsListView'][_0x4172('0xa')](_0x4172('0xf'))['to'](this),this[_0x4172('0x19')][_0x4172('0xa')]('updateComment')['to'](this),this[_0x4172('0x19')][_0x4172('0x1d')]('isActive')['to'](this),this['set'](_0x4172('0x8'),this['commentsListView'][_0x4172('0x8')]+0x1),this['bind'](_0x4172('0x8'))['to'](this['commentsListView'],'length',_0x4ab2d4=>_0x4ab2d4+0x1),this[_0x4172('0x16')]=this[_0x4172('0x15')](),this['on'](_0x4172('0xf'),()=>this[_0x4172('0x9')]()),this['bind']('isDirty')['to'](this['commentsListView'],_0x4172('0x11'),this[_0x4172('0x16')][_0x4172('0xd')],_0x4172('0x12'),(_0x41c374,_0x2ff5ac)=>_0x41c374||!!_0x2ff5ac);}[_0x4172('0x15')](){const _0x5b6e99=new _0x4a81ba(this[_0x4172('0x1b')],this[_0x4172('0x10')],this['_config'][_0x4172('0x14')]),_0x130fba=_0x5b6e99[_0x4172('0xd')];return _0x5b6e99[_0x4172('0x1d')]('showInput')['to'](this,'isActive',this[_0x4172('0x3')][_0x4172('0x5')],_0x4172('0x17'),_0x130fba,_0x4172('0x12'),(_0x16c65c,_0xae5bdd,_0x26ee81)=>!!_0x26ee81||_0x16c65c&&!_0xae5bdd),_0x130fba['on']('submit',(_0x4c95e5,_0x48f994)=>{this[_0x4172('0x1')](_0x4172('0xb'),_0x48f994),_0x130fba['editor']['setData']('');}),_0x130fba['on'](_0x4172('0x1c'),()=>this[_0x4172('0x9')]()),_0x130fba['bind']('disabledSubmit')['to'](this[_0x4172('0x3')][_0x4172('0x5')],_0x4172('0x17')),_0x5b6e99;}}
23
+ const _0xe9f3=['value','isDirty','editorConfig','focus','commentInputView','descriptionParts','editor','length','cancel','_model','commentsListView','delegate','destroy','addComment','bind','setData','hasDirtyComment','commentThread','isActive','isEnabled','fire','locale','_localUser','createdAt','CommentView','element','isReadOnly','removeComment','_config','_createCommentThreadInputView','set','disableComments','assign','commentThreadInputView'];(function(_0x27726a,_0xe9f371){const _0x526cc6=function(_0x3c0270){while(--_0x3c0270){_0x27726a['push'](_0x27726a['shift']());}};_0x526cc6(++_0xe9f371);}(_0xe9f3,0x6e));const _0x526c=function(_0x27726a,_0xe9f371){_0x27726a=_0x27726a-0x0;let _0x526cc6=_0xe9f3[_0x27726a];return _0x526cc6;};import{View as _0x4f8b86}from'ckeditor5/src/ui';export default class Kt extends _0x4f8b86{constructor(_0x23a769,_0x4f545a,_0x4dfca4,_0x5191ec){super(_0x23a769),this[_0x526c('0x2')]=null,this['commentThreadInputView']=null,this['set']('isActive',!0x1),this[_0x526c('0x16')](_0x526c('0xf'),_0x4f545a[_0x526c('0xf')]),this[_0x526c('0x6')](_0x526c('0xf'))['to'](_0x4f545a),this[_0x526c('0x16')](_0x526c('0x1f'),[]),this[_0x526c('0x16')]('isDirty',!0x1),this[_0x526c('0x16')](_0x526c('0xb'),!0x1),this[_0x526c('0x1')]=_0x4f545a,this[_0x526c('0xe')]=_0x4dfca4,this['_config']=_0x5191ec,_0x5191ec[_0x526c('0x17')]?this[_0x526c('0x16')](_0x526c('0x21'),0x1):this['_createCommentViews']();}[_0x526c('0x1d')](){this[_0x526c('0x11')][_0x526c('0x1d')]();}[_0x526c('0x4')](){this['isDirty']=!0x1,this[_0x526c('0x2')]&&this['commentsListView']['destroy'](),this[_0x526c('0x19')]&&this[_0x526c('0x19')][_0x526c('0x4')](),super[_0x526c('0x4')]();}['_createCommentViews'](){const {CommentsListView:_0xc0ac26}=this[_0x526c('0x14')];this[_0x526c('0x2')]=new _0xc0ac26(this[_0x526c('0xd')],this['_model'][_0x526c('0x9')],Object[_0x526c('0x18')]({'CommentView':this[_0x526c('0x14')][_0x526c('0x10')]},this['_config'])),this[_0x526c('0x2')][_0x526c('0x3')](_0x526c('0x13'))['to'](this),this['commentsListView'][_0x526c('0x3')]('updateComment')['to'](this),this[_0x526c('0x2')][_0x526c('0x6')](_0x526c('0xa'))['to'](this),this[_0x526c('0x16')](_0x526c('0x21'),this[_0x526c('0x2')]['length']+0x1),this[_0x526c('0x6')]('length')['to'](this[_0x526c('0x2')],_0x526c('0x21'),_0x50ef9b=>_0x50ef9b+0x1),this['commentThreadInputView']=this[_0x526c('0x15')](),this['on'](_0x526c('0x13'),()=>this[_0x526c('0x1d')]()),this[_0x526c('0x6')](_0x526c('0x1b'))['to'](this[_0x526c('0x2')],_0x526c('0x8'),this[_0x526c('0x19')][_0x526c('0x1e')],_0x526c('0x1a'),(_0x338dba,_0x54f2a7)=>_0x338dba||!!_0x54f2a7);}[_0x526c('0x15')](){const {CommentThreadInputView:_0x155b74}=this[_0x526c('0x14')],_0x12be5d=new _0x155b74(this[_0x526c('0xd')],this[_0x526c('0xe')],this[_0x526c('0x14')][_0x526c('0x1c')]),_0x268c44=_0x12be5d[_0x526c('0x1e')];return _0x12be5d[_0x526c('0x6')]('showInput')['to'](this,_0x526c('0xa'),this[_0x526c('0x1')]['commentThread'],_0x526c('0x12'),_0x268c44,_0x526c('0x1a'),(_0x3b97d2,_0x26beee,_0x525ff2)=>!!_0x525ff2||_0x3b97d2&&!_0x26beee),_0x268c44['on']('submit',(_0x4def14,_0x3b9641)=>{this[_0x526c('0xc')](_0x526c('0x5'),_0x3b9641),_0x268c44[_0x526c('0x20')][_0x526c('0x7')]('');}),_0x268c44['on'](_0x526c('0x0'),()=>this['focus']()),_0x268c44[_0x526c('0x6')]('disabledSubmit')['to'](this[_0x526c('0x1')][_0x526c('0x9')],_0x526c('0x12')),_0x12be5d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import _0x1d55b7 from'./basesuggestionthreadview';import _0x2071f3 from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';import{ButtonView as _0x196e73}from'ckeditor5/src/ui';import{icons as _0x3ca3c6}from'ckeditor5/src/core';import _0x148c82 from'@ckeditor/ckeditor5-comments/src/utils/trim-html';export default class Tt extends _0x1d55b7{constructor(_0x12cb46,_0x55eed0,_0xa372cb,_0x20b3f8){super(_0x12cb46,_0x55eed0,_0xa372cb,_0x20b3f8);const {t:t}=_0x12cb46;this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x29059d=>_0x29059d&&_0x29059d[0x0]?_0x29059d[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0xe7d2dc,_0x202855)=>{let _0xb91f0c='';for(const _0x3f5239 of _0xe7d2dc)_0xb91f0c+='<p>'+as(_0x3f5239['content'],_0x3f5239['color'])+'</p>';return _0x202855?_0xb91f0c:_0x148c82(_0xb91f0c,{'limit':0x8c});}),this['_descriptionElement']=null,this['acceptButton']=this['_createButton'](t('Accept\x20suggestion'),_0x3ca3c6['check'],'ck-suggestion--accept','acceptSuggestion'),this['discardButton']=this['_createButton'](t('Discard\x20suggestion'),_0x3ca3c6['cancel'],'ck-suggestion--discard','discardSuggestion'),this['userView']=new _0x2071f3(_0x12cb46,this['_model']['author']),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x26554d=this['bindTemplate'],_0x3fbd2c={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0x26554d['if']('isActive','ck-suggestion-wrapper--active'),_0x26554d['to']('type',_0x25b637=>'ck-suggestion-'+_0x25b637),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main']},'children':[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x26554d['to']('createdAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x26554d['to']('createdAt',_0xb4c971=>this['_config']['formatDateTime'](_0xb4c971))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}]}]}]};return this['commentsListView']&&this['commentThreadInputView']&&_0x3fbd2c['children']['push'](this['commentsListView'],this['commentThreadInputView']),_0x3fbd2c;}['render'](){super['render'](),this['_descriptionElement']=this['element']['querySelector']('.ck-annotation__content-wrapper'),this['_descriptionElement']['innerHTML']=this['description'],this['on']('change:description',(_0x4fb8b5,_0x579330,_0x3a67e4)=>{this['_descriptionElement']['innerHTML']=_0x3a67e4;});}['_createButton'](_0x5d8225,_0x4cbdc5,_0x41e9ec,_0x2c4d68){const _0x28762a=new _0x196e73(this['locale']);return _0x28762a['set']({'label':_0x5d8225,'icon':_0x4cbdc5,'tooltip':!0x0}),_0x28762a['extendTemplate']({'attributes':{'class':_0x41e9ec}}),_0x28762a['on']('execute',()=>{this['fire'](_0x2c4d68,this['_model']['id']);}),_0x28762a['bind']('isEnabled')['to'](this),_0x28762a;}}function as(_0x54cf37,_0x90e7f8){let _0x3cb14b='';return _0x3cb14b+=_0x54cf37['split']('*')['map']((_0xe95f3a,_0x1f635c)=>_0x1f635c%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+rs(_0xe95f3a)+'</span>':rs(_0xe95f3a))['join'](''),_0x90e7f8&&(_0x3cb14b+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x90e7f8['value']+'\x22\x20title=\x22'+_0x90e7f8['title']+'\x22></span>'),_0x3cb14b;}function rs(_0x43d042){const _0x2bcf5b=document['createElement']('span');return _0x2bcf5b['innerText']=_0x43d042,_0x2bcf5b['innerHTML'];}
23
+ const _0x4399=['push','description','acceptButton','\x22\x20title=\x22','</p>','_descriptionElement','ck-annotation__info-name','commentsListView','ck-suggestion__info-name','acceptSuggestion','descriptionParts','isActive','ck-suggestion__main','_createButton','createdAt','ck-annotation','bind','commentThreadInputView','<span\x20class=\x22ck-suggestion-type\x22>','check','createElement','locale','content','div','innerHTML','map','discardButton','ck-suggestion--discard','_model','value','ck-suggestion__info','ck-comment__info-time','color','ck-suggestion--accept','formatDateTime','discardSuggestion','</span>','set','ck-suggestion-wrapper','render','ck-annotation__main','ck-suggestion-','userView','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','Accept\x20suggestion','querySelector','ck-suggestion','author','ck-suggestion--disabled-comments','type','ck-annotation__actions','cancel','_config','getTemplate','innerText','execute','ck-annotation__info-time','ck-annotation__content-wrapper','ck-suggestion__actions','.ck-annotation__content-wrapper','name','commentThread','ck-suggestion-wrapper--active','span'];(function(_0x348c39,_0x439908){const _0x3348a9=function(_0x1fc8ad){while(--_0x1fc8ad){_0x348c39['push'](_0x348c39['shift']());}};_0x3348a9(++_0x439908);}(_0x4399,0x140));const _0x3348=function(_0x348c39,_0x439908){_0x348c39=_0x348c39-0x0;let _0x3348a9=_0x4399[_0x348c39];return _0x3348a9;};import{getTranslation as _0x33bed0}from'../../utils/common-translations';import _0x40c905 from'./basesuggestionthreadview';import{ButtonView as _0x2c88d6}from'ckeditor5/src/ui';import{icons as _0x8828de}from'ckeditor5/src/core';import{trimHtml as _0x89ea3a,UserView as _0x1aea36}from'ckeditor5-collaboration/src/collaboration-core';export default class Dt extends _0x40c905{constructor(_0x200863,_0x17bb5f,_0x36275e,_0x52f0d4){super(_0x200863,_0x17bb5f,_0x36275e,_0x52f0d4),this[_0x3348('0x25')](_0x3348('0x31'),''),this[_0x3348('0x10')](_0x3348('0x31'))['to'](this,_0x3348('0xa'),_0x13138b=>_0x13138b&&_0x13138b[0x0]?_0x13138b[0x0][_0x3348('0x31')]:''),this[_0x3348('0x10')](_0x3348('0x1'))['to'](this,_0x3348('0xa'),this,_0x3348('0xb'),(_0x21fca2,_0x249b0a)=>{let _0x1cd7d4='';for(const _0x2f6213 of _0x21fca2)_0x1cd7d4+='<p>'+is(_0x2f6213[_0x3348('0x16')],_0x2f6213[_0x3348('0x20')])+_0x3348('0x4');return _0x249b0a?_0x1cd7d4:_0x89ea3a(_0x1cd7d4,{'limit':0x8c});}),this[_0x3348('0x5')]=null,this['acceptButton']=this[_0x3348('0xd')](_0x33bed0(_0x200863,_0x3348('0x2c')),_0x8828de[_0x3348('0x13')],_0x3348('0x21'),_0x3348('0x9')),this[_0x3348('0x1a')]=this[_0x3348('0xd')](_0x33bed0(_0x200863,'Discard\x20suggestion'),_0x8828de[_0x3348('0x33')],_0x3348('0x1b'),_0x3348('0x23')),this['userView']=new _0x1aea36(_0x200863,this['_model']['author']),this[_0x3348('0x2a')]['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this['setTemplate'](this[_0x3348('0x35')]());}[_0x3348('0x35')](){const _0x34a94f=this['bindTemplate'],_0x1b55f8={'tag':'div','attributes':{'class':[_0x3348('0x26'),_0x34a94f['if'](_0x3348('0xb'),_0x3348('0x3e')),_0x34a94f['to'](_0x3348('0x31'),_0x5e62c9=>_0x3348('0x29')+_0x5e62c9),this['_config']['disableComments']&&_0x3348('0x30')],'data-suggestion-id':this[_0x3348('0x1c')]['id'],'data-thread-id':this[_0x3348('0x1c')][_0x3348('0x3d')]['id'],'data-author-id':this[_0x3348('0x1c')][_0x3348('0x2f')]['id'],'tabindex':-0x1},'children':[{'tag':_0x3348('0x17'),'attributes':{'class':[_0x3348('0x2e'),_0x3348('0xf')]},'children':[this[_0x3348('0x2a')],{'tag':_0x3348('0x17'),'attributes':{'class':[_0x3348('0xc'),_0x3348('0x28')]},'children':[{'tag':_0x3348('0x17'),'attributes':{'class':[_0x3348('0x1e'),'ck-annotation__info']},'children':[{'tag':_0x3348('0x3f'),'children':[{'text':this[_0x3348('0x2a')][_0x3348('0x3c')]}],'attributes':{'class':[_0x3348('0x8'),_0x3348('0x6')]}},{'tag':'time','attributes':{'datetime':_0x34a94f['to'](_0x3348('0xe')),'class':[_0x3348('0x1f'),_0x3348('0x38')]},'children':[{'text':_0x34a94f['to'](_0x3348('0xe'),_0x55ecb3=>this[_0x3348('0x34')][_0x3348('0x22')](_0x55ecb3))}]}]},{'tag':_0x3348('0x17'),'attributes':{'class':[_0x3348('0x3a'),_0x3348('0x32')]},'children':[this[_0x3348('0x2')],this[_0x3348('0x1a')]]},{'tag':_0x3348('0x17'),'attributes':{'class':[_0x3348('0x39')]}}]}]}]};return this[_0x3348('0x7')]&&this[_0x3348('0x11')]&&_0x1b55f8['children'][_0x3348('0x0')](this[_0x3348('0x7')],this[_0x3348('0x11')]),_0x1b55f8;}[_0x3348('0x27')](){super['render'](),this[_0x3348('0x5')]=this['element'][_0x3348('0x2d')](_0x3348('0x3b')),this[_0x3348('0x5')][_0x3348('0x18')]=this[_0x3348('0x1')],this['on']('change:description',(_0x1a009f,_0xda58a6,_0x2c1995)=>{this[_0x3348('0x5')][_0x3348('0x18')]=_0x2c1995;});}[_0x3348('0xd')](_0x1064c4,_0x5f5cb2,_0xf70e57,_0x24bf10){const _0x5d2bbe=new _0x2c88d6(this[_0x3348('0x15')]);return _0x5d2bbe[_0x3348('0x25')]({'label':_0x1064c4,'icon':_0x5f5cb2,'tooltip':!0x0}),_0x5d2bbe['extendTemplate']({'attributes':{'class':_0xf70e57}}),_0x5d2bbe['on'](_0x3348('0x37'),()=>{this['fire'](_0x24bf10,this[_0x3348('0x1c')]['id']);}),_0x5d2bbe[_0x3348('0x10')]('isEnabled')['to'](this),_0x5d2bbe;}}function is(_0x12907a,_0x43e47f){let _0x48980c='';return _0x48980c+=_0x12907a['split']('*')[_0x3348('0x19')]((_0x1513b2,_0x162af2)=>_0x162af2%0x2!=0x0?_0x3348('0x12')+es(_0x1513b2)+_0x3348('0x24'):es(_0x1513b2))['join'](''),_0x43e47f&&(_0x48980c+=_0x3348('0x2b')+_0x43e47f[_0x3348('0x1d')]+_0x3348('0x3')+_0x43e47f['title']+'\x22></span>'),_0x48980c;}function es(_0x262d95){const _0xc1e4aa=document[_0x3348('0x14')]('span');return _0xc1e4aa[_0x3348('0x36')]=_0x262d95,_0xc1e4aa[_0x3348('0x18')];}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export function getTranslation(_0x450e30,_0xae372a,_0x1b60ec){const t=_0x450e30['t'];switch(_0xae372a){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x1b60ec);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1b60ec);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1b60ec);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1b60ec);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1b60ec);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1b60ec);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1b60ec);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1b60ec);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1b60ec);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1b60ec);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1b60ec);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1b60ec);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1b60ec);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1b60ec);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1b60ec);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1b60ec);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1b60ec);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x1b60ec);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1b60ec);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1b60ec);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1b60ec);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1b60ec);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1b60ec);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x1b60ec);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1b60ec);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1b60ec);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1b60ec);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1b60ec);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1b60ec);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x1b60ec);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1b60ec);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1b60ec);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x1b60ec);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1b60ec);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x1b60ec);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1b60ec);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1354=['start','next','isIntersecting','isInContent','add','isCollapsed','getRanges','getRange','isMultiRange'];(function(_0x4c7608,_0x1354b0){const _0x53441c=function(_0x159587){while(--_0x159587){_0x4c7608['push'](_0x4c7608['shift']());}};_0x53441c(++_0x1354b0);}(_0x1354,0x1a5));const _0x5344=function(_0x4c7608,_0x1354b0){_0x4c7608=_0x4c7608-0x0;let _0x53441c=_0x1354[_0x4c7608];return _0x53441c;};export default function jt(_0x5b2ca0,_0x290b27){const _0x335af7=Array['from'](_0x5b2ca0[_0x5344('0x8')]()),_0x515d7e=new Set();for(const _0x55eae4 of _0x290b27)if(_0x55eae4[_0x5344('0x5')])for(const _0x5be2fb of _0x335af7)for(const _0x5fee11 of _0x55eae4['getMarkers']()){const _0x4cd447=_0x5fee11[_0x5344('0x0')]();(_0x5be2fb[_0x5344('0x4')](_0x4cd447)||_0x5b2ca0[_0x5344('0x7')]&&!_0x55eae4[_0x5344('0x1')]&&_0x55eae4[_0x5344('0x3')]&&_0x4cd447['end']['isTouching'](_0x5be2fb[_0x5344('0x2')]))&&_0x515d7e[_0x5344('0x6')](_0x55eae4);}return _0x515d7e;}
23
+ const _0x5239=['isMultiRange','next','getRange','isCollapsed','end','from','isIntersecting','start','getMarkers','isInContent','isTouching','add'];(function(_0x50802e,_0x5239c2){const _0x385f37=function(_0x356a14){while(--_0x356a14){_0x50802e['push'](_0x50802e['shift']());}};_0x385f37(++_0x5239c2);}(_0x5239,0x1b6));const _0x385f=function(_0x50802e,_0x5239c2){_0x50802e=_0x50802e-0x0;let _0x385f37=_0x5239[_0x50802e];return _0x385f37;};export default function jt(_0x38a219,_0x470555){const _0x53cc29=Array[_0x385f('0xb')](_0x38a219['getRanges']()),_0x42292e=new Set();for(const _0x47e721 of _0x470555)if(_0x47e721[_0x385f('0x3')])for(const _0x2df511 of _0x53cc29)for(const _0x4cad91 of _0x47e721[_0x385f('0x2')]()){const _0x257e6c=_0x4cad91[_0x385f('0x8')]();(_0x2df511[_0x385f('0x0')](_0x257e6c)||_0x38a219[_0x385f('0x9')]&&!_0x47e721[_0x385f('0x6')]&&_0x47e721[_0x385f('0x7')]&&_0x257e6c[_0x385f('0xa')][_0x385f('0x4')](_0x2df511[_0x385f('0x1')]))&&_0x42292e[_0x385f('0x5')](_0x47e721);}return _0x42292e;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf334=['isArray','toString','string','boolean','sort','object','charCodeAt'];(function(_0x61a3b9,_0xf334ca){const _0x3bdf6f=function(_0x113550){while(--_0x113550){_0x61a3b9['push'](_0x61a3b9['shift']());}};_0x3bdf6f(++_0xf334ca);}(_0xf334,0x7d));const _0x3bdf=function(_0x61a3b9,_0xf334ca){_0x61a3b9=_0x61a3b9-0x0;let _0x3bdf6f=_0xf334[_0x61a3b9];return _0x3bdf6f;};export default function mt(_0x3e9c39){let _0x271537=0x0,_0x4a8f24=0x0;for(const _0xe80aa4 of pe(_0x3e9c39))_0x271537=(_0x271537<<0x5)-_0x271537+_0xe80aa4,_0x271537&=_0x271537,[_0x271537,_0x4a8f24]=[_0x4a8f24,_0x271537];return xe(_0x271537)+xe(_0x4a8f24);}function*ye(_0x4f8b29){_0x4f8b29?_0x3bdf('0x4')==typeof _0x4f8b29?yield 0x1:Array[_0x3bdf('0x1')](_0x4f8b29)?yield*function*(_0x522cfa){for(const _0x435b35 of _0x522cfa)yield*ye(_0x435b35);}(_0x4f8b29):_0x3bdf('0x6')==typeof _0x4f8b29?yield*pe(_0x4f8b29):_0x3bdf('0x3')==typeof _0x4f8b29?yield*je(_0x4f8b29):'number'==typeof _0x4f8b29&&(yield _0x4f8b29):yield 0x0;}function*pe(_0x1245ef){if(yield he('{'),_0x1245ef){const _0x29074d=Object['keys'](_0x1245ef)[_0x3bdf('0x5')]();for(const _0x4586a9 of _0x29074d){yield*je(_0x4586a9),yield he(':');const _0x54f515=_0x1245ef[_0x4586a9];yield*ye(_0x54f515);}}yield he('}');}function*je(_0x38ada8){yield he('\x22');for(const _0x3edf8f of _0x38ada8)yield he(_0x3edf8f);yield he('\x22');}function he(_0x4965fb){return _0x4965fb[_0x3bdf('0x0')](0x0);}function xe(_0xc29554){return(_0xc29554*=Math['sign'](_0xc29554))[_0x3bdf('0x2')](0x24);}
23
+ const _0x2c21=['sign','isArray','number','boolean','keys','object','charCodeAt'];(function(_0x1cd2bc,_0x2c213f){const _0x3a2d7b=function(_0x175396){while(--_0x175396){_0x1cd2bc['push'](_0x1cd2bc['shift']());}};_0x3a2d7b(++_0x2c213f);}(_0x2c21,0xdd));const _0x3a2d=function(_0x1cd2bc,_0x2c213f){_0x1cd2bc=_0x1cd2bc-0x0;let _0x3a2d7b=_0x2c21[_0x1cd2bc];return _0x3a2d7b;};export default function gt(_0x17e353){let _0x2ba588=0x0,_0x429d95=0x0;for(const _0x41ee34 of fe(_0x17e353))_0x2ba588=(_0x2ba588<<0x5)-_0x2ba588+_0x41ee34,_0x2ba588&=_0x2ba588,[_0x2ba588,_0x429d95]=[_0x429d95,_0x2ba588];return ce(_0x2ba588)+ce(_0x429d95);}function*ie(_0x53ff6e){_0x53ff6e?_0x3a2d('0x6')==typeof _0x53ff6e?yield 0x1:Array[_0x3a2d('0x4')](_0x53ff6e)?yield*function*(_0x5287d9){for(const _0x487144 of _0x5287d9)yield*ie(_0x487144);}(_0x53ff6e):_0x3a2d('0x1')==typeof _0x53ff6e?yield*fe(_0x53ff6e):'string'==typeof _0x53ff6e?yield*ye(_0x53ff6e):_0x3a2d('0x5')==typeof _0x53ff6e&&(yield _0x53ff6e):yield 0x0;}function*fe(_0x56abb3){if(yield de('{'),_0x56abb3){const _0x3aaf0c=Object[_0x3a2d('0x0')](_0x56abb3)['sort']();for(const _0x4fbe0c of _0x3aaf0c){yield*ye(_0x4fbe0c),yield de(':');const _0x5c306f=_0x56abb3[_0x4fbe0c];yield*ie(_0x5c306f);}}yield de('}');}function*ye(_0xdd2ebd){yield de('\x22');for(const _0x5a5c81 of _0xdd2ebd)yield de(_0x5a5c81);yield de('\x22');}function de(_0x5d2f56){return _0x5d2f56[_0x3a2d('0x2')](0x0);}function ce(_0x3c4dad){return(_0x3c4dad*=Math[_0x3a2d('0x3')](_0x3c4dad))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb44d=['replace','join','value','color','type','isArray'];(function(_0x283f17,_0xb44dde){const _0x1f2eef=function(_0x4d3b06){while(--_0x4d3b06){_0x283f17['push'](_0x283f17['shift']());}};_0x1f2eef(++_0xb44dde);}(_0xb44d,0x6e));const _0x1f2e=function(_0x283f17,_0xb44dde){_0x283f17=_0x283f17-0x0;let _0x1f2eef=_0xb44d[_0x283f17];return _0x1f2eef;};export function normalizeDescription(_0x2679ff){return Array[_0x1f2e('0x3')](_0x2679ff)||(_0x2679ff=[_0x2679ff]),_0x2679ff['map'](_0xe6e92a=>{const _0x6c4595=_0xe6e92a['content'][_0x1f2e('0x4')](/\*/g,''),_0x1ef5b1=_0xe6e92a['color']?'\x20[color\x20'+_0xe6e92a[_0x1f2e('0x1')][_0x1f2e('0x0')]+']':'';return'['+_0xe6e92a[_0x1f2e('0x2')]+']\x20'+_0x6c4595+_0x1ef5b1;})[_0x1f2e('0x5')](';\x20');}
23
+ const _0xe69e=['value','replace','\x20[color\x20','type','color'];(function(_0x3c868b,_0xe69e2d){const _0x21f3c3=function(_0x5a43cb){while(--_0x5a43cb){_0x3c868b['push'](_0x3c868b['shift']());}};_0x21f3c3(++_0xe69e2d);}(_0xe69e,0x162));const _0x21f3=function(_0x3c868b,_0xe69e2d){_0x3c868b=_0x3c868b-0x0;let _0x21f3c3=_0xe69e[_0x3c868b];return _0x21f3c3;};export function normalizeDescription(_0x57097){return Array['isArray'](_0x57097)||(_0x57097=[_0x57097]),_0x57097['map'](_0x27b846=>{const _0xc3cb6c=_0x27b846['content'][_0x21f3('0x2')](/\*/g,''),_0x606fde=_0x27b846['color']?_0x21f3('0x3')+_0x27b846[_0x21f3('0x0')][_0x21f3('0x1')]+']':'';return'['+_0x27b846[_0x21f3('0x4')]+']\x20'+_0xc3cb6c+_0x606fde;})['join'](';\x20');}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5233=['type','sort','deletion'];(function(_0x5bb7dc,_0x5233f7){var _0x1f1d05=function(_0x3d95d1){while(--_0x3d95d1){_0x5bb7dc['push'](_0x5bb7dc['shift']());}};_0x1f1d05(++_0x5233f7);}(_0x5233,0x1e5));var _0x1f1d=function(_0x5bb7dc,_0x5233f7){_0x5bb7dc=_0x5bb7dc-0x0;var _0x1f1d05=_0x5233[_0x5bb7dc];return _0x1f1d05;};export default function ts(_0x98aac9){return _0x98aac9[_0x1f1d('0x2')]((_0x283f44,_0x48ca66)=>'deletion'==_0x283f44[_0x1f1d('0x1')]&&_0x1f1d('0x0')!=_0x48ca66[_0x1f1d('0x1')]?-0x1:_0x1f1d('0x0')!=_0x283f44[_0x1f1d('0x1')]&&'deletion'==_0x48ca66[_0x1f1d('0x1')]?0x1:0x0);}
23
+ var _0x1215=['deletion','type'];(function(_0x1ca639,_0x1215b9){var _0x165a95=function(_0x2873b1){while(--_0x2873b1){_0x1ca639['push'](_0x1ca639['shift']());}};_0x165a95(++_0x1215b9);}(_0x1215,0xdc));var _0x165a=function(_0x1ca639,_0x1215b9){_0x1ca639=_0x1ca639-0x0;var _0x165a95=_0x1215[_0x1ca639];return _0x165a95;};export default function ts(_0x294b4b){return _0x294b4b['sort']((_0x21bb12,_0x44bbcc)=>'deletion'==_0x21bb12[_0x165a('0x1')]&&'deletion'!=_0x44bbcc[_0x165a('0x1')]?-0x1:_0x165a('0x0')!=_0x21bb12[_0x165a('0x1')]&&_0x165a('0x0')==_0x44bbcc['type']?0x1:0x0);}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -1,15 +0,0 @@
1
- .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
2
- background-color: var(--ck-color-suggestion-widget-deletion-background);
3
-
4
- &.ck-suggestion-marker--active {
5
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
6
- }
7
- }
8
-
9
- .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line {
10
- background-color: var(--ck-color-suggestion-widget-insertion-background);
11
-
12
- &.ck-suggestion-marker--active {
13
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
14
- }
15
- }
@@ -1,55 +0,0 @@
1
- .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
2
- background-color: var(--ck-color-suggestion-widget-deletion-background);
3
-
4
- & img {
5
- opacity: 0.6;
6
- }
7
-
8
- & figcaption {
9
- background-color: var(--ck-color-suggestion-widget-deletion-background);
10
- }
11
-
12
- &.ck-suggestion-marker--active {
13
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
14
-
15
- & figcaption {
16
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
17
- }
18
- }
19
- }
20
-
21
- .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
22
- background-color: var(--ck-color-suggestion-widget-insertion-background);
23
-
24
- & figcaption {
25
- background-color: var(--ck-color-suggestion-widget-insertion-background);
26
- }
27
-
28
- &.ck-suggestion-marker--active {
29
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
30
-
31
- & figcaption {
32
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
33
- }
34
- }
35
- }
36
-
37
- .ck-content .ck-widget.image > figcaption {
38
- &.ck-suggestion-marker-deletion {
39
- background-color: var(--ck-color-suggestion-widget-deletion-background);
40
- border: none;
41
-
42
- &.ck-suggestion-marker--active {
43
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
44
- }
45
- }
46
-
47
- &.ck-suggestion-marker-insertion {
48
- background-color: var(--ck-color-suggestion-widget-insertion-background);
49
- border: none;
50
-
51
- &.ck-suggestion-marker--active {
52
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
53
- }
54
- }
55
- }
@@ -1,19 +0,0 @@
1
- .ck-content .ck-suggestion-marker-deletion.ck-widget.media {
2
- background-color: var(--ck-color-suggestion-widget-deletion-background);
3
-
4
- & .ck-media__wrapper {
5
- opacity: 0.6;
6
- }
7
-
8
- &.ck-suggestion-marker--active {
9
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
10
- }
11
- }
12
-
13
- .ck-content .ck-suggestion-marker-insertion.ck-widget.media {
14
- background-color: var(--ck-color-suggestion-widget-insertion-background);
15
-
16
- &.ck-suggestion-marker--active {
17
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
18
- }
19
- }
@@ -1,15 +0,0 @@
1
- .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
2
- background-color: var(--ck-color-suggestion-widget-deletion-background);
3
-
4
- &.ck-suggestion-marker--active {
5
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
6
- }
7
- }
8
-
9
- .ck-content .ck-suggestion-marker-insertion.ck-widget.page-break {
10
- background-color: var(--ck-color-suggestion-widget-insertion-background);
11
-
12
- &.ck-suggestion-marker--active {
13
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
14
- }
15
- }
@@ -1,147 +0,0 @@
1
- :root {
2
- --ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
3
- --ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
4
-
5
- --ck-color-suggestion-widget-th-deletion-background: hsla(345, 71%, 65%, .14);
6
- --ck-color-suggestion-widget-th-deletion-background-active: hsla(345, 71%, 45%, .16);
7
- }
8
-
9
- .ck-content figure.table .ck-suggestion-marker-formatBlock {
10
- box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border);
11
-
12
- &.ck-suggestion-marker--active {
13
- box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
14
- }
15
- }
16
-
17
- .ck-content .ck-suggestion-marker-insertion.table > table {
18
- border-color: var(--ck-color-suggestion-marker-insertion-border);
19
-
20
- & > tbody > tr > th {
21
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
22
- border-color: var(--ck-color-suggestion-marker-insertion-border);
23
- }
24
-
25
- & > thead > tr > th {
26
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
- border-color: var(--ck-color-suggestion-marker-insertion-border);
28
- }
29
-
30
- & > tbody > tr > td {
31
- background-color: var(--ck-color-suggestion-widget-insertion-background);
32
- border-color: var(--ck-color-suggestion-marker-insertion-border);
33
- }
34
- }
35
-
36
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table {
37
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
38
-
39
- & > tbody > tr > th {
40
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
41
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
42
- }
43
-
44
- & > thead > tr > th {
45
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
46
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
47
- }
48
-
49
- & > tbody > tr > td {
50
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
51
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
52
- }
53
- }
54
-
55
- .ck-content .ck-suggestion-marker-deletion.table > table {
56
- border-color: var(--ck-color-suggestion-marker-deletion-border);
57
-
58
- & > tbody > tr > th {
59
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
60
- border-color: var(--ck-color-suggestion-marker-deletion-border);
61
- text-decoration: none;
62
- }
63
-
64
- & > thead > tr > th {
65
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
66
- border-color: var(--ck-color-suggestion-marker-deletion-border);
67
- text-decoration: none;
68
- }
69
-
70
- & > tbody > tr > td {
71
- background-color: var(--ck-color-suggestion-widget-deletion-background);
72
- border-color: var(--ck-color-suggestion-marker-deletion-border);
73
- text-decoration: none;
74
- }
75
- }
76
-
77
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table {
78
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
79
-
80
- & > tbody > tr > th {
81
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
82
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
83
- }
84
-
85
- & > thead > tr > th {
86
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
87
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
88
- }
89
-
90
- & > tbody > tr > td {
91
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
92
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
93
- }
94
- }
95
-
96
- /*
97
- * We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
98
- * See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
99
- */
100
- .ck-content .table {
101
- & th.ck-suggestion-marker-insertion {
102
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
103
-
104
- &.ck-suggestion-marker--active {
105
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
106
- }
107
- }
108
-
109
- & th.ck-suggestion-marker-deletion {
110
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
111
- text-decoration: none;
112
-
113
- &.ck-suggestion-marker--active {
114
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
115
- }
116
- }
117
-
118
- & td.ck-suggestion-marker-insertion {
119
- background-color: var(--ck-color-suggestion-widget-insertion-background);
120
-
121
- &.ck-suggestion-marker--active {
122
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
123
- }
124
- }
125
-
126
- & td.ck-suggestion-marker-deletion {
127
- background-color: var(--ck-color-suggestion-widget-deletion-background);
128
- text-decoration: none;
129
-
130
- &.ck-suggestion-marker--active {
131
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
132
- }
133
- }
134
-
135
- & th.ck-suggestion-marker-formatInline,
136
- & td.ck-suggestion-marker-formatInline,
137
- & th.ck-suggestion-marker-formatBlock,
138
- & td.ck-suggestion-marker-formatBlock {
139
- background-color: var(--ck-color-suggestion-widget-format-background);
140
- box-shadow: none;
141
-
142
- &.ck-suggestion-marker--active {
143
- background-color: var(--ck-color-suggestion-widget-format-background-active);
144
- box-shadow: none;
145
- }
146
- }
147
- }