@ckeditor/ckeditor5-track-changes 31.1.0 → 32.0.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 (81) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/lang/contexts.json +1 -1
  4. package/lang/translations/cs.po +3 -3
  5. package/lang/translations/da.po +3 -3
  6. package/lang/translations/de.po +3 -3
  7. package/lang/translations/en-au.po +3 -3
  8. package/lang/translations/en.po +2 -2
  9. package/lang/translations/es.po +2 -2
  10. package/lang/translations/et.po +2 -2
  11. package/lang/translations/fr.po +3 -3
  12. package/lang/translations/gl.po +3 -3
  13. package/lang/translations/hi.po +3 -3
  14. package/lang/translations/hr.po +3 -3
  15. package/lang/translations/it.po +5 -5
  16. package/lang/translations/nl.po +2 -2
  17. package/lang/translations/pl.po +3 -3
  18. package/lang/translations/pt-br.po +5 -5
  19. package/lang/translations/sk.po +3 -3
  20. package/lang/translations/sr-latn.po +3 -3
  21. package/lang/translations/sr.po +3 -3
  22. package/lang/translations/tk.po +3 -3
  23. package/lang/translations/tr.po +3 -3
  24. package/lang/translations/zh-cn.po +3 -3
  25. package/lang/translations/zh.po +2 -2
  26. package/package.json +7 -7
  27. package/src/commands/acceptallsuggestionscommand.js +2 -2
  28. package/src/commands/acceptselectedsuggestionscommand.js +2 -2
  29. package/src/commands/acceptsuggestioncommand.js +2 -2
  30. package/src/commands/discardallsuggestionscommand.js +2 -2
  31. package/src/commands/discardselectedsuggestionscommand.js +2 -2
  32. package/src/commands/discardsuggestioncommand.js +2 -2
  33. package/src/commands/trackchangescommand.js +2 -2
  34. package/src/integrations/alignment.js +2 -2
  35. package/src/integrations/basicstyles.js +2 -2
  36. package/src/integrations/blockquote.js +2 -2
  37. package/src/integrations/codeblock.js +2 -2
  38. package/src/integrations/comments.js +2 -2
  39. package/src/integrations/deletecommand.js +2 -2
  40. package/src/integrations/entercommand.js +2 -2
  41. package/src/integrations/font.js +2 -2
  42. package/src/integrations/heading.js +2 -2
  43. package/src/integrations/highlight.js +2 -2
  44. package/src/integrations/horizontalline.js +2 -2
  45. package/src/integrations/image.js +2 -2
  46. package/src/integrations/indent.js +2 -2
  47. package/src/integrations/inputcommand.js +2 -2
  48. package/src/integrations/link.js +2 -2
  49. package/src/integrations/list.js +2 -2
  50. package/src/integrations/mediaembed.js +2 -2
  51. package/src/integrations/mention.js +2 -2
  52. package/src/integrations/pagebreak.js +2 -2
  53. package/src/integrations/paragraph.js +2 -2
  54. package/src/integrations/removeformat.js +2 -2
  55. package/src/integrations/restrictededitingmode.js +2 -2
  56. package/src/integrations/shiftentercommand.js +2 -2
  57. package/src/integrations/standardeditingmode.js +2 -2
  58. package/src/integrations/table.js +2 -2
  59. package/src/integrations/tableclipboard.js +2 -2
  60. package/src/integrations/tableheadings.js +2 -2
  61. package/src/integrations/tablemergesplit.js +2 -2
  62. package/src/integrations/title.js +2 -2
  63. package/src/integrations/undo.js +2 -2
  64. package/src/integrations/utils.js +2 -2
  65. package/src/suggestion.js +2 -2
  66. package/src/suggestiondescriptionfactory.js +2 -2
  67. package/src/trackchanges.js +2 -2
  68. package/src/trackchangesdata.js +2 -2
  69. package/src/trackchangesediting.js +2 -2
  70. package/src/trackchangesui.js +2 -2
  71. package/src/ui/suggestioncontroller.js +2 -2
  72. package/src/ui/view/basesuggestionthreadview.js +2 -2
  73. package/src/ui/view/suggestionthreadview.js +2 -2
  74. package/src/utils/getselectedsuggestions.js +2 -2
  75. package/src/utils/hashobject.js +2 -2
  76. package/src/utils/normalizedescription.js +2 -2
  77. package/src/utils/sortsuggestions.js +2 -2
  78. package/theme/icons/track-changes-accept.svg +1 -1
  79. package/theme/icons/track-changes-discard.svg +1 -1
  80. package/theme/icons/track-changes.svg +1 -1
  81. package/theme/suggestionmarker.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2246=['isArray','value','replace','color','type','map'];(function(_0x357988,_0x2246d1){const _0x45bf5a=function(_0x34eab3){while(--_0x34eab3){_0x357988['push'](_0x357988['shift']());}};_0x45bf5a(++_0x2246d1);}(_0x2246,0x144));const _0x45bf=function(_0x357988,_0x2246d1){_0x357988=_0x357988-0x0;let _0x45bf5a=_0x2246[_0x357988];return _0x45bf5a;};export function normalizeDescription(_0x4d3b2d){return Array[_0x45bf('0x0')](_0x4d3b2d)||(_0x4d3b2d=[_0x4d3b2d]),_0x4d3b2d[_0x45bf('0x5')](_0xdaa59e=>{const _0x220ad6=_0xdaa59e['content'][_0x45bf('0x2')](/\*/g,''),_0x4121ef=_0xdaa59e[_0x45bf('0x3')]?'\x20[color\x20'+_0xdaa59e[_0x45bf('0x3')][_0x45bf('0x1')]+']':'';return'['+_0xdaa59e[_0x45bf('0x4')]+']\x20'+_0x220ad6+_0x4121ef;})['join'](';\x20');}
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');}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4555=['deletion','type'];(function(_0x16af29,_0x455505){var _0x1664da=function(_0x529dcc){while(--_0x529dcc){_0x16af29['push'](_0x16af29['shift']());}};_0x1664da(++_0x455505);}(_0x4555,0xc3));var _0x1664=function(_0x16af29,_0x455505){_0x16af29=_0x16af29-0x0;var _0x1664da=_0x4555[_0x16af29];return _0x1664da;};export default function ts(_0x2e1d22){return _0x2e1d22['sort']((_0x2afab7,_0x120138)=>_0x1664('0x1')==_0x2afab7[_0x1664('0x0')]&&_0x1664('0x1')!=_0x120138[_0x1664('0x0')]?-0x1:_0x1664('0x1')!=_0x2afab7[_0x1664('0x0')]&&_0x1664('0x1')==_0x120138[_0x1664('0x0')]?0x1:0x0);}
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);}
@@ -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 Frederico Knabben. All rights reserved.
7
+ Copyright (c) 2003-2021, 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 Frederico Knabben. All rights reserved.
7
+ Copyright (c) 2003-2021, 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 Frederico Knabben. All rights reserved.
7
+ Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -3,7 +3,7 @@
3
3
  * Letters is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all Letters content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2021, CKSource Frederico Knabben. All rights reserved.
6
+ * Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
7
7
  */
8
8
 
9
9
  :root {