@ckeditor/ckeditor5-comments 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 (131) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/comments.js +5 -0
  4. package/build/translations/af.js +1 -0
  5. package/build/translations/bs.js +1 -0
  6. package/build/translations/cs.js +1 -0
  7. package/build/translations/da.js +1 -0
  8. package/build/translations/de-ch.js +1 -0
  9. package/build/translations/de.js +1 -0
  10. package/build/translations/el.js +1 -0
  11. package/build/translations/en-au.js +1 -0
  12. package/build/translations/es.js +1 -0
  13. package/build/translations/et.js +1 -0
  14. package/build/translations/fr.js +1 -0
  15. package/build/translations/gl.js +1 -0
  16. package/build/translations/hi.js +1 -0
  17. package/build/translations/hr.js +1 -0
  18. package/build/translations/hu.js +1 -0
  19. package/build/translations/id.js +1 -0
  20. package/build/translations/it.js +1 -0
  21. package/build/translations/ja.js +1 -0
  22. package/build/translations/jv.js +1 -0
  23. package/build/translations/ko.js +1 -0
  24. package/build/translations/lv.js +1 -0
  25. package/build/translations/nl.js +1 -0
  26. package/build/translations/no.js +1 -0
  27. package/build/translations/pl.js +1 -0
  28. package/build/translations/pt-br.js +1 -0
  29. package/build/translations/ro.js +1 -0
  30. package/build/translations/ru.js +1 -0
  31. package/build/translations/sk.js +1 -0
  32. package/build/translations/sr-latn.js +1 -0
  33. package/build/translations/sr.js +1 -0
  34. package/build/translations/tk.js +1 -0
  35. package/build/translations/tr.js +1 -0
  36. package/build/translations/ug.js +1 -0
  37. package/build/translations/uk.js +1 -0
  38. package/build/translations/ur.js +1 -0
  39. package/build/translations/zh-cn.js +1 -0
  40. package/build/translations/zh.js +1 -0
  41. package/lang/contexts.json +0 -3
  42. package/lang/translations/af.po +67 -0
  43. package/lang/translations/bs.po +0 -12
  44. package/lang/translations/cs.po +0 -12
  45. package/lang/translations/da.po +0 -12
  46. package/lang/translations/de-ch.po +0 -12
  47. package/lang/translations/de.po +0 -12
  48. package/lang/translations/el.po +67 -0
  49. package/lang/translations/en-au.po +0 -12
  50. package/lang/translations/en.po +0 -12
  51. package/lang/translations/es.po +0 -12
  52. package/lang/translations/et.po +0 -12
  53. package/lang/translations/fr.po +0 -12
  54. package/lang/translations/gl.po +0 -12
  55. package/lang/translations/hi.po +0 -12
  56. package/lang/translations/hr.po +0 -12
  57. package/lang/translations/hu.po +0 -12
  58. package/lang/translations/id.po +0 -12
  59. package/lang/translations/it.po +0 -12
  60. package/lang/translations/ja.po +0 -12
  61. package/lang/translations/jv.po +66 -0
  62. package/lang/translations/ko.po +0 -12
  63. package/lang/translations/lv.po +68 -0
  64. package/lang/translations/nl.po +0 -12
  65. package/lang/translations/no.po +0 -12
  66. package/lang/translations/pl.po +0 -12
  67. package/lang/translations/pt-br.po +0 -12
  68. package/lang/translations/ro.po +0 -12
  69. package/lang/translations/ru.po +0 -12
  70. package/lang/translations/sk.po +0 -12
  71. package/lang/translations/sr-latn.po +0 -12
  72. package/lang/translations/sr.po +0 -12
  73. package/lang/translations/tk.po +0 -12
  74. package/lang/translations/tr.po +0 -12
  75. package/lang/translations/ug.po +0 -12
  76. package/lang/translations/uk.po +0 -12
  77. package/lang/translations/ur.po +67 -0
  78. package/lang/translations/zh-cn.po +0 -12
  79. package/lang/translations/zh.po +0 -12
  80. package/package.json +4 -9
  81. package/src/annotations/annotation.js +1 -1
  82. package/src/annotations/annotationcollection.js +1 -1
  83. package/src/annotations/annotations.js +1 -1
  84. package/src/annotations/annotationsuis.js +1 -1
  85. package/src/annotations/editorannotations.js +1 -1
  86. package/src/annotations/inlineannotations.js +1 -1
  87. package/src/annotations/narrowsidebar.js +1 -1
  88. package/src/annotations/sidebar.js +1 -1
  89. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  90. package/src/annotations/view/annotationview.js +1 -1
  91. package/src/annotations/view/sidebaritemview.js +1 -1
  92. package/src/annotations/view/sidebarview.js +1 -1
  93. package/src/annotations/widesidebar.js +1 -1
  94. package/src/comments/addcommentthreadcommand.js +1 -1
  95. package/src/comments/commentsediting.js +1 -1
  96. package/src/comments/commentsrepository.js +1 -1
  97. package/src/comments/commentsui.js +1 -1
  98. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  99. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  100. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  101. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  102. package/src/comments/ui/commentthreadcontroller.js +1 -1
  103. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  104. package/src/comments/ui/view/basecommentview.js +1 -1
  105. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  106. package/src/comments/ui/view/commentcontentview.js +1 -1
  107. package/src/comments/ui/view/commentinputview.js +1 -1
  108. package/src/comments/ui/view/commentslistview.js +1 -1
  109. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  110. package/src/comments/ui/view/commentthreadview.js +1 -1
  111. package/src/comments/ui/view/commentview.js +1 -1
  112. package/src/comments.js +1 -1
  113. package/src/commentsonly.js +1 -1
  114. package/src/{utils/getmarkerdomelement.js → index.js} +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/createmutationobserver.js +1 -1
  117. package/theme/annotation-inline.css +1 -1
  118. package/theme/annotation.css +1 -1
  119. package/theme/comment.css +1 -1
  120. package/theme/commentinput.css +1 -1
  121. package/theme/commentmarker.css +1 -1
  122. package/theme/commentthread.css +1 -1
  123. package/theme/icons/add-comment.svg +1 -1
  124. package/theme/icons/edit-comment.svg +1 -1
  125. package/theme/icons/remove-comment.svg +1 -1
  126. package/theme/sidebar-narrow.css +1 -1
  127. package/theme/sidebar.css +1 -1
  128. package/src/comments/ui/view/confirmmixin.js +0 -23
  129. package/src/comments/ui/view/confirmview.js +0 -23
  130. package/src/utils/getdatetimeformatter.js +0 -23
  131. package/src/utils/trim-html.js +0 -23
@@ -1,23 +0,0 @@
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
- const _0x1c71=['indexOf','push','split','slice','pop','substring','match','length','join','startsWith','replace'];(function(_0x223938,_0x1c712a){const _0x535f87=function(_0x505c7a){while(--_0x505c7a){_0x223938['push'](_0x223938['shift']());}};_0x535f87(++_0x1c712a);}(_0x1c71,0xf3));const _0x535f=function(_0x223938,_0x1c712a){_0x223938=_0x223938-0x0;let _0x535f87=_0x1c71[_0x223938];return _0x535f87;};export default function nn(_0x493643,{limit:_0x3c3d5e,suffix:_0x56369c='...'}){const _0x321e04=[];let _0x2b466d=0x0;const _0x3ce519=_0x493643[_0x535f('0x9')](/</g,'\x0a<')[_0x535f('0x9')](/>/g,'>\x0a')[_0x535f('0x9')](/^\n/g,'')[_0x535f('0x9')](/\n$/g,'')[_0x535f('0x1')]('\x0a');for(let _0x343a9b=0x0;_0x343a9b<_0x3ce519[_0x535f('0x6')];_0x343a9b++){let _0x4fad0d=_0x3ce519[_0x343a9b];const _0x42d1aa=tn(_0x4fad0d);if(_0x4fad0d[_0x535f('0x8')]('<')){if(_0x2b466d>=_0x3c3d5e){const _0x171217=_0x4fad0d[_0x535f('0x5')](/[a-zA-Z]+/)[0x0];_0x4fad0d['startsWith']('</')?(_0x321e04[_0x535f('0x6')]&&(_0x4fad0d=''),_0x321e04[_0x535f('0x3')]()):(_0x321e04[_0x535f('0x0')](_0x171217),_0x4fad0d='');}}else{if(_0x2b466d>=_0x3c3d5e)_0x4fad0d='';else{if(_0x2b466d+_0x42d1aa['length']>=_0x3c3d5e){let _0x49c6c0=_0x3c3d5e-_0x2b466d;if('\x20'===_0x42d1aa[_0x49c6c0-0x1])_0x49c6c0--;else{const _0x442cb7=_0x42d1aa[_0x535f('0x2')](_0x49c6c0)[_0x535f('0xa')]('\x20');-0x1!==_0x442cb7?_0x49c6c0+=_0x442cb7:_0x49c6c0=_0x4fad0d[_0x535f('0x6')];}_0x4fad0d=_0x42d1aa['slice'](0x0,_0x49c6c0)[_0x535f('0x7')]('')+_0x56369c,_0x2b466d=_0x3c3d5e;}else _0x2b466d+=_0x42d1aa[_0x535f('0x6')];}}_0x3ce519[_0x343a9b]=_0x4fad0d;}return _0x3ce519[_0x535f('0x7')]('\x0a')[_0x535f('0x9')](/\n/g,'');}function tn(_0x48e28b){const _0x506f3a=[];for(let _0x5df431=0x0;_0x5df431<_0x48e28b[_0x535f('0x6')];_0x5df431++){const _0x235e66=_0x48e28b[_0x535f('0x4')](_0x5df431)['match'](/^&[a-z0-9#]+;/);if(_0x235e66){const _0x3598c2=_0x235e66[0x0];_0x506f3a[_0x535f('0x0')](_0x3598c2),_0x5df431+=_0x3598c2[_0x535f('0x6')]-0x1;}else _0x506f3a[_0x535f('0x0')](_0x48e28b[_0x5df431]);}return _0x506f3a;}