@ckeditor/ckeditor5-collaboration-core 39.0.1 → 39.0.2

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 (74) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +5 -5
  3. package/README.md +8 -8
  4. package/lang/translations/af.po +1 -0
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/bs.po +1 -0
  10. package/lang/translations/ca.po +1 -0
  11. package/lang/translations/cs.po +1 -0
  12. package/lang/translations/da.po +1 -0
  13. package/lang/translations/de-ch.po +1 -0
  14. package/lang/translations/de.po +1 -0
  15. package/lang/translations/el.po +1 -0
  16. package/lang/translations/en-au.po +1 -0
  17. package/lang/translations/en.po +1 -0
  18. package/lang/translations/es-co.po +1 -0
  19. package/lang/translations/es.po +1 -0
  20. package/lang/translations/et.po +1 -0
  21. package/lang/translations/fa.po +1 -0
  22. package/lang/translations/fi.po +1 -0
  23. package/lang/translations/fr.po +1 -0
  24. package/lang/translations/gl.po +1 -0
  25. package/lang/translations/he.po +1 -0
  26. package/lang/translations/hi.po +1 -0
  27. package/lang/translations/hr.po +1 -0
  28. package/lang/translations/hu.po +1 -0
  29. package/lang/translations/id.po +1 -0
  30. package/lang/translations/it.po +1 -0
  31. package/lang/translations/ja.po +1 -0
  32. package/lang/translations/jv.po +1 -0
  33. package/lang/translations/ko.po +1 -0
  34. package/lang/translations/lt.po +1 -0
  35. package/lang/translations/lv.po +1 -0
  36. package/lang/translations/ms.po +1 -0
  37. package/lang/translations/nl.po +1 -0
  38. package/lang/translations/no.po +1 -0
  39. package/lang/translations/pl.po +1 -0
  40. package/lang/translations/pt-br.po +1 -0
  41. package/lang/translations/pt.po +1 -0
  42. package/lang/translations/ro.po +1 -0
  43. package/lang/translations/ru.po +1 -0
  44. package/lang/translations/sk.po +1 -0
  45. package/lang/translations/sr-latn.po +1 -0
  46. package/lang/translations/sr.po +1 -0
  47. package/lang/translations/sv.po +1 -0
  48. package/lang/translations/th.po +1 -0
  49. package/lang/translations/tk.po +1 -0
  50. package/lang/translations/tr.po +1 -0
  51. package/lang/translations/tt.po +1 -0
  52. package/lang/translations/ug.po +1 -0
  53. package/lang/translations/uk.po +1 -0
  54. package/lang/translations/ur.po +1 -0
  55. package/lang/translations/vi.po +1 -0
  56. package/lang/translations/zh-cn.po +1 -0
  57. package/lang/translations/zh.po +1 -0
  58. package/package.json +2 -6
  59. package/src/permissions.js +1 -1
  60. package/src/users/view/userview.js +1 -1
  61. package/src/users.d.ts +14 -3
  62. package/src/users.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/confirmmixin.js +1 -1
  65. package/src/utils/confirmview.js +1 -1
  66. package/src/utils/getdatetimeformatter.js +1 -1
  67. package/src/utils/getmarkerdomelement.js +1 -1
  68. package/src/utils/hashobject.js +1 -1
  69. package/src/utils/sanitizeEditorConfig.js +1 -1
  70. package/src/utils/trim-html.js +1 -1
  71. package/theme/integrations/image.css +22 -20
  72. package/theme/integrations/table.css +23 -23
  73. package/theme/suggestion.css +1 -1
  74. package/theme/users.css +3 -3
package/CHANGELOG.md CHANGED
@@ -101,4 +101,4 @@ Internal changes only (updated dependencies, documentation, etc.).
101
101
 
102
102
  ## 1.0.0 (2018-12-06)
103
103
 
104
- The initialization of this repository. CKEditor 5 collaboration core was extracted from the CKEditor 5 collaboration package. It contains a plugin that supports [user handling](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html) which is a common part for two collaboration features: [real-time collaboration](https://ckeditor.com/collaboration/real-time/) and [comments](https://ckeditor.com/collaboration/comments/).
104
+ The initialization of this repository. CKEditor 5 collaboration core was extracted from the CKEditor 5 collaboration package. It contains a plugin that supports [user handling](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html) which is a common part for two collaboration features: [real-time collaboration](https://ckeditor.com/collaboration/real-time/) and [comments](https://ckeditor.com/collaboration/comments/).
package/LICENSE.md CHANGED
@@ -1,18 +1,18 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor 5 collaboration core** (https://ckeditor.com/collaboration/)<br>
4
+ **CKEditor&nbsp;5 collaboration core** (https://ckeditor.com/collaboration/)<br>
5
5
  Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
7
+ CKEditor&nbsp;5 collaboration core is licensed under a commercial license and is protected by copyright law.
8
8
  We operate on subscription-based licensing terms. For more details about available licensing options please contact us at sales@cksource.com.
9
9
 
10
- Sources of Intellectual Property Included in CKEditor 5 collaboration core
10
+ Sources of Intellectual Property Included in CKEditor&nbsp;5 collaboration core
11
11
  --------------------------------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor 5 collaboration core content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor&nbsp;5 collaboration core content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
15
- The following libraries are included in CKEditor 5 collaboration core under the [MIT license](https://opensource.org/licenses/MIT):
15
+ The following libraries are included in CKEditor&nbsp;5 collaboration core under the [MIT license](https://opensource.org/licenses/MIT):
16
16
 
17
17
  * Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas,
18
18
  * date-fns - Copyright (c) Sasha Koss.
package/README.md CHANGED
@@ -1,27 +1,27 @@
1
- # CKEditor 5 collaboration core
1
+ # CKEditor&nbsp;5 collaboration core
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-collaboration-core.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-collaboration-core)
4
4
 
5
- CKEditor 5 collaboration core is a low-level API that provides base features to support multiple users working together in a rich text editor. It is used in collaborative features such as [comments](https://ckeditor.com/collaboration/comments/), [track changes](https://ckeditor.com/collaboration/track-changes/) or [real-time collaboration](https://ckeditor.com/collaboration/real-time/) in CKEditor 5.
5
+ CKEditor&nbsp;5 collaboration core is a low-level API that provides base features to support multiple users working together in a rich text editor. It is used in collaborative features such as [comments](https://ckeditor.com/collaboration/comments/), [track changes](https://ckeditor.com/collaboration/track-changes/) or [real-time collaboration](https://ckeditor.com/collaboration/real-time/) in CKEditor&nbsp;5.
6
6
 
7
7
  ## Documentation
8
8
 
9
- For more information about collaboration features visit [CKEditor 5 collaboration features overview documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/collaboration.html).
9
+ For more information about collaboration features visit [CKEditor&nbsp;5 collaboration features overview documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/collaboration.html).
10
10
 
11
- Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
11
+ Also, make sure you visit the [CKEditor&nbsp;5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
12
12
 
13
13
  ## Getting support
14
14
 
15
- CKEditor 5 collaboration core comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 collaboration features with your application.
15
+ CKEditor&nbsp;5 collaboration core comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor&nbsp;5 collaboration features with your application.
16
16
 
17
- As a licensed CKEditor 5 collaboration features user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
17
+ As a licensed CKEditor&nbsp;5 collaboration features user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
18
18
 
19
19
  ## License
20
20
 
21
- **CKEditor 5 collaboration core**<br>
21
+ **CKEditor&nbsp;5 collaboration core**<br>
22
22
  Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
23
23
 
24
- CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
24
+ CKEditor&nbsp;5 collaboration core is licensed under a commercial license and is protected by copyright law.
25
25
  For more details about available licensing options please contact us at sales@cksource.com.
26
26
 
27
27
  ### Trademarks
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n"
16
16
  "Language: af\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
16
16
  "Language: ar\n"
17
17
  "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n"
16
16
  "Language: az\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
16
16
  "Language: bg\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
16
16
  "Language: bn\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n"
16
16
  "Language: bs\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
16
16
  "Language: ca\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
16
16
  "Language: cs\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n"
16
16
  "Language: da\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n"
16
16
  "Language: de_CH\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n"
16
16
  "Language: de\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n"
16
16
  "Language: el\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n"
16
16
  "Language: en_AU\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language: \n"
16
16
  "Language-Team: \n"
17
17
  "Plural-Forms: \n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n"
16
16
  "Language: es_CO\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n"
16
16
  "Language: es\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n"
16
16
  "Language: et\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n"
16
16
  "Language: fa\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n"
16
16
  "Language: fi\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n"
16
16
  "Language: fr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n"
16
16
  "Language: gl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
16
16
  "Language: he\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n"
16
16
  "Language: hi\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n"
16
16
  "Language: hr\n"
17
17
  "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
16
16
  "Language: hu\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
16
16
  "Language: id\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
16
16
  "Language: it\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
16
16
  "Language: ja\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Javanese (https://app.transifex.com/ckeditor/teams/11143/jv/)\n"
16
16
  "Language: jv\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
16
16
  "Language: ko\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
16
16
  "Language: lt\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
16
16
  "Language: lv\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
16
16
  "Language: ms\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
16
16
  "Language: nl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
16
16
  "Language: no\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
16
16
  "Language: pl\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
16
  "Language: ro\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
16
  "Language: ru\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
16
  "Language: sk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
16
16
  "Language: sr@latin\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
16
  "Language: sr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
16
  "Language: sv\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
16
  "Language: th\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
16
16
  "Language: tk\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
16
16
  "Language: tt\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
16
  "Language: ug\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
16
16
  "Language: ur\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A label for the anonymous user icon"
20
21
  msgid "Anonymous"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "39.0.1",
3
+ "version": "39.0.2",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -31,13 +31,9 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "39.0.1",
34
+ "ckeditor5": "39.0.2",
35
35
  "date-fns": "2.30.0"
36
36
  },
37
- "engines": {
38
- "node": ">=16.0.0",
39
- "npm": ">=5.7.1"
40
- },
41
37
  "files": [
42
38
  "lang",
43
39
  "src/**/*.js",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xac1c=['plugins','collaboration.channelId','isEnabled','find','noPermissions','commands','permissions-set-permissions-invalid-channel-id','pluginName','CommentsRepository','disableReadOnlyMode','comment:modify_all','Permissions','no-permissions','context','get','setPermissions','forceDisabled','includes','clearForceDisabled','comment:write','enableReadOnlyMode','editors','config','CommentsOnly'];(function(_0x27fef9,_0xac1cf9){const _0x1ba86e=function(_0x340c6c){while(--_0x340c6c){_0x27fef9['push'](_0x27fef9['shift']());}};_0x1ba86e(++_0xac1cf9);}(_0xac1c,0x10c));const _0x1ba8=function(_0x27fef9,_0xac1cf9){_0x27fef9=_0x27fef9-0x0;let _0x1ba86e=_0xac1c[_0x27fef9];return _0x1ba86e;};import{ContextPlugin as _0x342656,Editor as _0x22f10f}from'ckeditor5/src/core';import{CKEditorError as _0x2aa86d}from'ckeditor5/src/utils';export default class n extends _0x342656{static get[_0x1ba8('0x3')](){return _0x1ba8('0x7');}['setPermissions'](_0x57f15c,_0x50262a){let _0x2f3068;if(_0x50262a||(_0x50262a=this[_0x1ba8('0x9')][_0x1ba8('0x12')][_0x1ba8('0xa')]('collaboration.channelId')),this['context'][_0x1ba8('0x12')][_0x1ba8('0xa')]('collaboration.channelId')==_0x50262a?_0x2f3068=this['context']:_0x1ba8('0x11')in this[_0x1ba8('0x9')]&&this[_0x1ba8('0x9')][_0x1ba8('0x11')]&&(_0x2f3068=this[_0x1ba8('0x9')][_0x1ba8('0x11')][_0x1ba8('0x17')](_0x461857=>_0x461857[_0x1ba8('0x12')][_0x1ba8('0xa')](_0x1ba8('0x15'))==_0x50262a)),!_0x2f3068)throw new _0x2aa86d(_0x1ba8('0x2'),null);const _0x4a8b4a=_0x2f3068[_0x1ba8('0x14')],_0x81c06e=_0x4a8b4a['has'](_0x1ba8('0x4'))?_0x4a8b4a[_0x1ba8('0xa')](_0x1ba8('0x4')):void 0x0,_0x183a8c=_0x4a8b4a['has'](_0x1ba8('0x13'))&&_0x4a8b4a[_0x1ba8('0xa')]('CommentsOnly'),_0x456852=_0x57f15c['includes']('document:write'),_0x37da27=_0x57f15c['includes'](_0x1ba8('0x6')),_0x1459ac=_0x57f15c[_0x1ba8('0xd')]('comment:admin'),_0x250fc0=_0x57f15c['includes'](_0x1ba8('0xf')),_0x3e7a9f=_0x250fc0||_0x1459ac,_0x5e178b=_0x3e7a9f||_0x37da27,_0x2f2bc4=_0x456852||_0x3e7a9f;(_0x183a8c&&(_0x183a8c[_0x1ba8('0x16')]=!_0x456852&&_0x5e178b),_0x2f3068 instanceof _0x22f10f)&&(!(_0x456852||_0x5e178b&&_0x81c06e)?_0x2f3068[_0x1ba8('0x10')](_0x1ba8('0x8')):_0x2f3068[_0x1ba8('0x5')]('no-permissions'));if(_0x81c06e){_0x81c06e[_0x1ba8('0xb')]({'admin':_0x1459ac,'modifyAll':_0x37da27,'write':_0x250fc0,'resolve':_0x2f2bc4},_0x50262a);const _0x54001a=_0x2f3068 instanceof _0x22f10f&&_0x2f3068[_0x1ba8('0x1')][_0x1ba8('0xa')]('addCommentThread');_0x54001a&&(_0x3e7a9f?_0x54001a[_0x1ba8('0xe')](_0x1ba8('0x0')):_0x54001a[_0x1ba8('0xc')](_0x1ba8('0x0')));}}}
23
+ const _0x32af=['plugins','noPermissions','context','forceDisabled','no-permissions','commands','enableReadOnlyMode','CommentsOnly','comment:write','CommentsRepository','get','setPermissions','find','isEnabled','includes','disableReadOnlyMode','document:write','comment:admin','comment:modify_all','clearForceDisabled','addCommentThread','has','config','editors','collaboration.channelId'];(function(_0x51eaa9,_0x32af09){const _0x528871=function(_0x430132){while(--_0x430132){_0x51eaa9['push'](_0x51eaa9['shift']());}};_0x528871(++_0x32af09);}(_0x32af,0x1bc));const _0x5288=function(_0x51eaa9,_0x32af09){_0x51eaa9=_0x51eaa9-0x0;let _0x528871=_0x32af[_0x51eaa9];return _0x528871;};import{ContextPlugin as _0x2cbe30,Editor as _0x3db10e}from'ckeditor5/src/core';import{CKEditorError as _0xeb2f84}from'ckeditor5/src/utils';export default class n extends _0x2cbe30{static get['pluginName'](){return'Permissions';}[_0x5288('0x11')](_0x35e5cd,_0x5cc55f){let _0x9f0f23;if(_0x5cc55f||(_0x5cc55f=this[_0x5288('0x8')][_0x5288('0x3')][_0x5288('0x10')](_0x5288('0x5'))),this[_0x5288('0x8')][_0x5288('0x3')][_0x5288('0x10')](_0x5288('0x5'))==_0x5cc55f?_0x9f0f23=this[_0x5288('0x8')]:_0x5288('0x4')in this[_0x5288('0x8')]&&this[_0x5288('0x8')][_0x5288('0x4')]&&(_0x9f0f23=this[_0x5288('0x8')][_0x5288('0x4')][_0x5288('0x12')](_0x12e74e=>_0x12e74e[_0x5288('0x3')]['get'](_0x5288('0x5'))==_0x5cc55f)),!_0x9f0f23)throw new _0xeb2f84('permissions-set-permissions-invalid-channel-id',null);const _0x170d9a=_0x9f0f23[_0x5288('0x6')],_0x15e19c=_0x170d9a[_0x5288('0x2')](_0x5288('0xf'))?_0x170d9a[_0x5288('0x10')](_0x5288('0xf')):void 0x0,_0xc61891=_0x170d9a[_0x5288('0x2')](_0x5288('0xd'))&&_0x170d9a['get']('CommentsOnly'),_0x1a2ecd=_0x35e5cd[_0x5288('0x14')](_0x5288('0x16')),_0xbc36b7=_0x35e5cd[_0x5288('0x14')](_0x5288('0x18')),_0x552f14=_0x35e5cd[_0x5288('0x14')](_0x5288('0x17')),_0x29219b=_0x35e5cd['includes'](_0x5288('0xe')),_0x50a20d=_0x29219b||_0x552f14,_0x244cae=_0x50a20d||_0xbc36b7,_0x3d1f04=_0x1a2ecd||_0x50a20d;(_0xc61891&&(_0xc61891[_0x5288('0x13')]=!_0x1a2ecd&&_0x244cae),_0x9f0f23 instanceof _0x3db10e)&&(!(_0x1a2ecd||_0x244cae&&_0x15e19c)?_0x9f0f23[_0x5288('0xc')](_0x5288('0xa')):_0x9f0f23[_0x5288('0x15')](_0x5288('0xa')));if(_0x15e19c){_0x15e19c[_0x5288('0x11')]({'admin':_0x552f14,'modifyAll':_0xbc36b7,'write':_0x29219b,'resolve':_0x3d1f04},_0x5cc55f);const _0x47c13b=_0x9f0f23 instanceof _0x3db10e&&_0x9f0f23[_0x5288('0xb')][_0x5288('0x10')](_0x5288('0x1'));_0x47c13b&&(_0x50a20d?_0x47c13b[_0x5288('0x0')](_0x5288('0x7')):_0x47c13b[_0x5288('0x9')](_0x5288('0x7')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6e9b=['initials','ck-user__anonymous','ck\x20ck-user__name','ck-user__img','push','setTemplate','notificationView','ck-user','div','isAnonymous','extendTemplate','url(\x27','ck-user__notification','avatar','name','ck\x20ck-user__name\x20ck-user__name--hidden'];(function(_0x3f65b4,_0x6e9b6a){const _0x5893a8=function(_0x3b115d){while(--_0x3b115d){_0x3f65b4['push'](_0x3f65b4['shift']());}};_0x5893a8(++_0x6e9b6a);}(_0x6e9b,0x16e));const _0x5893=function(_0x3f65b4,_0x6e9b6a){_0x3f65b4=_0x3f65b4-0x0;let _0x5893a8=_0x6e9b[_0x3f65b4];return _0x5893a8;};import{View as _0x34ed80,IconView as _0xa80182}from'ckeditor5/src/ui';import _0x33880d from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x34ed80{constructor(_0x155de8,_0x548b7d,_0x4e7a57){super(_0x155de8),this[_0x5893('0x0')]=_0x548b7d[_0x5893('0x0')],this[_0x5893('0x8')]=null;const _0x5e11ae=['ck',_0x5893('0x5')];if(_0x548b7d[_0x5893('0xb')]&&_0x5e11ae[_0x5893('0x6')](_0x5893('0x3')),_0x548b7d[_0x5893('0xf')]&&_0x5e11ae[_0x5893('0x6')]('ck-user__avatar'),_0x4e7a57){const _0x5ae556=new _0xa80182();_0x5ae556[_0x5893('0xc')]({'attributes':{'class':['ck-user__icon']}}),_0x5ae556['content']=_0x33880d,this[_0x5893('0x8')]={'tag':_0x5893('0xa'),'attributes':{'class':['ck',_0x5893('0xe')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4e7a57},'children':[_0x5ae556]};}const _0x311cc5=[{'tag':'div','attributes':{'class':_0x5e11ae,'style':{'background-image':_0x548b7d['avatar']?_0x5893('0xd')+_0x548b7d[_0x5893('0xf')]+'\x27)':''}}},{'tag':_0x5893('0xa'),'attributes':{'class':_0x548b7d['avatar']?_0x5893('0x1'):_0x5893('0x4')},'children':[{'text':_0x548b7d[_0x5893('0x2')]}]}];this[_0x5893('0x8')]&&_0x311cc5[_0x5893('0x6')](this['notificationView']),this[_0x5893('0x7')]({'tag':_0x5893('0xa'),'attributes':{'class':['ck',_0x5893('0x9')],'data-user-id':_0x548b7d['id']},'children':_0x311cc5});}}
23
+ const _0x5d98=['div','ck-user__notification','push','extendTemplate','name','ck\x20ck-user__name','url(\x27','ck\x20ck-user__name\x20ck-user__name--hidden','notificationView','ck-user__icon','isAnonymous','setTemplate','ck-user__img','ck-user__anonymous','ck-user','avatar'];(function(_0xc80d97,_0x5d98b7){const _0x2a15db=function(_0x3ade18){while(--_0x3ade18){_0xc80d97['push'](_0xc80d97['shift']());}};_0x2a15db(++_0x5d98b7);}(_0x5d98,0x98));const _0x2a15=function(_0xc80d97,_0x5d98b7){_0xc80d97=_0xc80d97-0x0;let _0x2a15db=_0x5d98[_0xc80d97];return _0x2a15db;};import{View as _0xecc92d,IconView as _0x3d770e}from'ckeditor5/src/ui';import _0x315e6a from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0xecc92d{constructor(_0x4eea9c,_0x5e1f52,_0x4c5ee4){super(_0x4eea9c),this[_0x2a15('0xc')]=_0x5e1f52[_0x2a15('0xc')],this[_0x2a15('0x0')]=null;const _0x3f5c46=['ck',_0x2a15('0x4')];if(_0x5e1f52[_0x2a15('0x2')]&&_0x3f5c46[_0x2a15('0xa')](_0x2a15('0x5')),_0x5e1f52['avatar']&&_0x3f5c46[_0x2a15('0xa')]('ck-user__avatar'),_0x4c5ee4){const _0xc6552f=new _0x3d770e();_0xc6552f[_0x2a15('0xb')]({'attributes':{'class':[_0x2a15('0x1')]}}),_0xc6552f['content']=_0x315e6a,this[_0x2a15('0x0')]={'tag':'div','attributes':{'class':['ck',_0x2a15('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4c5ee4},'children':[_0xc6552f]};}const _0x106324=[{'tag':'div','attributes':{'class':_0x3f5c46,'style':{'background-image':_0x5e1f52[_0x2a15('0x7')]?_0x2a15('0xe')+_0x5e1f52['avatar']+'\x27)':''}}},{'tag':_0x2a15('0x8'),'attributes':{'class':_0x5e1f52['avatar']?_0x2a15('0xf'):_0x2a15('0xd')},'children':[{'text':_0x5e1f52['initials']}]}];this[_0x2a15('0x0')]&&_0x106324[_0x2a15('0xa')](this[_0x2a15('0x0')]),this[_0x2a15('0x3')]({'tag':_0x2a15('0x8'),'attributes':{'class':['ck',_0x2a15('0x6')],'data-user-id':_0x5e1f52['id']},'children':_0x106324});}}
package/src/users.d.ts CHANGED
@@ -18,9 +18,14 @@ export default class Users extends ContextPlugin {
18
18
  /**
19
19
  * Holds all {@link module:collaboration-core/users~User users} added to the editor.
20
20
  *
21
+ * Note, that the {@link module:collaboration-core/users~User#isAnonymous anonymous user} is always present in the editor.
22
+ * You may want to filter it out when processing the users lists.
23
+ *
21
24
  * ```ts
22
25
  * for ( const user of editor.plugins.get( 'Users' ).users ) {
23
- * console.log( user.name );
26
+ * if ( !user.isAnonymous ) {
27
+ * console.log( user.name );
28
+ * }
24
29
  * }
25
30
  * ```
26
31
  *
@@ -56,9 +61,10 @@ export default class Users extends ContextPlugin {
56
61
  */
57
62
  getUser(id: string): User | null;
58
63
  /**
59
- * Sets an anonymous user as {@link #me}.
64
+ * Sets an {@link module:collaboration-core/users~User#isAnonymous anonymous user} as {@link #me the local user}.
60
65
  *
61
- * The user's ID will be set to the value of `config.users.anonymousUserId` property.
66
+ * The local user ID will be set to the value of `config.users.anonymousUserId` property. All actions performed by the local user
67
+ * will be contributed to the anonymous user.
62
68
  */
63
69
  useAnonymousUser(): void;
64
70
  /**
@@ -108,6 +114,11 @@ export declare class User {
108
114
  constructor(data: UserData);
109
115
  /**
110
116
  * Is `true` for the anonymous user, `false` otherwise.
117
+ *
118
+ * The anonymous user is used when there is no defined user for given resource.
119
+ *
120
+ * The situations when the anonymous user is used will depend on your application. For example, it can be used when the editor can be
121
+ * used by "guest" users of your application, or when the original user's account was removed.
111
122
  */
112
123
  get isAnonymous(): boolean;
113
124
  /**
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2425=['avatar','users-add-invalid-id','locale','_addAnonymousUser','context','_getInitial','destroy','trial-license-key-reached-limit-time','users-me-already-defined','getBackgroundColorClass','pluginName','initials','licenseKeyTrialLimit:time','licenseKeyTrialLimit:operations','Anonymous','getMarkerClass','init','users.colorsCount','_locale','length','ck-user__selection--','get','_isAnonymous','ck-user__marker--','_id','users-me-missing-user','includes','getUser','trial-license-key-reached-limit-changes','requires','_lastColor','getSelectionClass','decorate','users','getOperationAuthor','users-add-duplicated-id','licenseKey','anonymous-user','color','licenseKeyInvalid','licenseKeyValid','useAnonymousUser','string','config','toUpperCase','addUser','_licenseKeyCheckInterval','_getNextColor','licenseKeyTrialLimit:revisions','licenseKeyTrial','define','defineMe','info','name','_myId','users.anonymousUserId','invalid-license-key'];(function(_0x3ac4c9,_0x2425a0){const _0x29e3cf=function(_0x248c71){while(--_0x248c71){_0x3ac4c9['push'](_0x3ac4c9['shift']());}};_0x29e3cf(++_0x2425a0);}(_0x2425,0x15b));const _0x29e3=function(_0x3ac4c9,_0x2425a0){_0x3ac4c9=_0x3ac4c9-0x0;let _0x29e3cf=_0x2425[_0x3ac4c9];return _0x29e3cf;};import{ContextPlugin as _0x32f3a8}from'ckeditor5/src/core';import{Collection as _0x53eff0,CKEditorError as _0x29f1d9}from'ckeditor5/src/utils';import _0x2e45f8 from'./permissions';import{getTranslation as _0x2d9ece}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x32f3a8{static get[_0x29e3('0x5')](){return'Users';}static get[_0x29e3('0x18')](){return[_0x2e45f8];}constructor(_0x8048c){super(_0x8048c),this[_0x29e3('0x38')]['config'][_0x29e3('0x2d')]('users.anonymousUserId',_0x29e3('0x20')),this[_0x29e3('0x38')][_0x29e3('0x26')][_0x29e3('0x2d')](_0x29e3('0xc'),0x8),this['users']=new _0x53eff0(),this[_0x29e3('0xd')]=_0x8048c[_0x29e3('0x36')],this['_licenseKeyCheckInterval']=null,this[_0x29e3('0x19')]=0x0,this[_0x29e3('0x31')]=null,this[_0x29e3('0x1b')]('getOperationAuthor');}[_0x29e3('0xb')](){const _0xb510fe=this[_0x29e3('0x38')];this['licenseKey']=_0xb510fe[_0x29e3('0x26')][_0x29e3('0x10')](_0x29e3('0x1f'));const _0xc32d73=[_0x29e3('0x2c'),'licenseKeyInvalid',_0x29e3('0x23'),'licenseKeyTrialLimit:operations',_0x29e3('0x7'),_0x29e3('0x2b')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4567ee;for(const _0xe91fdc in _0xb510fe){const _0x13a194=_0xb510fe[_0xe91fdc];if(_0xc32d73[_0x29e3('0x15')](_0x13a194)){delete _0xb510fe[_0xe91fdc],_0x4567ee=_0x13a194;break;}}if(_0x29e3('0x22')===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9(_0x29e3('0x33'),null);if(_0x29e3('0x2c')===_0x4567ee&&console[_0x29e3('0x2f')]('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),_0x29e3('0x8')===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9(_0x29e3('0x17'),null);if(_0x29e3('0x7')===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9(_0x29e3('0x2'),null);if('licenseKeyTrialLimit:revisions'===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x4567ee&&clearInterval(this[_0x29e3('0x29')]);},0x3e8),this[_0x29e3('0x37')]();}get['me'](){return null==this[_0x29e3('0x31')]?null:this[_0x29e3('0x16')](this[_0x29e3('0x31')]);}['addUser']({id:_0x1cc5a9,name:_0xa3a947,..._0x64606f}){if(!_0x1cc5a9||_0x29e3('0x25')!=typeof _0x1cc5a9)throw new _0x29f1d9(_0x29e3('0x35'));if(this[_0x29e3('0x1c')]['has'](_0x1cc5a9))throw new _0x29f1d9(_0x29e3('0x1e'),null,{'id':_0x1cc5a9});const _0x2f1c19={..._0x64606f,'id':_0x1cc5a9,'name':a(this['_locale'],_0xa3a947),'color':this[_0x29e3('0x2a')]()};_0x2f1c19['name']=a(this[_0x29e3('0xd')],_0x2f1c19['name']);const _0x5826f6=new User(_0x2f1c19);return this[_0x29e3('0x1c')]['add'](_0x5826f6),_0x5826f6;}[_0x29e3('0x16')](_0x19502e){return this['users']['get'](_0x19502e);}[_0x29e3('0x24')](){const _0x147f3b=this['context'][_0x29e3('0x26')][_0x29e3('0x10')](_0x29e3('0x32'));this[_0x29e3('0x31')]||this[_0x29e3('0x2e')](_0x147f3b);}[_0x29e3('0x2e')](_0x506cee){if(this['_myId'])throw new _0x29f1d9(_0x29e3('0x3'),null);if(!this[_0x29e3('0x16')](_0x506cee))throw new _0x29f1d9(_0x29e3('0x14'),null);this[_0x29e3('0x31')]=_0x506cee;}[_0x29e3('0x1d')](){return this['me'];}['destroy'](){super[_0x29e3('0x1')](),clearInterval(this[_0x29e3('0x29')]);}[_0x29e3('0x2a')](){const _0x3ebc48=this[_0x29e3('0x38')][_0x29e3('0x26')][_0x29e3('0x10')](_0x29e3('0xc'));return this['_lastColor']>=_0x3ebc48&&(this[_0x29e3('0x19')]=0x0),new u(this[_0x29e3('0x19')]++);}[_0x29e3('0x37')](){const _0x21ce4e=this[_0x29e3('0x38')][_0x29e3('0x26')][_0x29e3('0x10')]('users.anonymousUserId');this[_0x29e3('0x28')]({'id':_0x21ce4e,'name':_0x2d9ece(this[_0x29e3('0xd')],_0x29e3('0x9'))})[_0x29e3('0x11')]=!0x0;}}export class User{constructor(_0x44eddb){this['id']=_0x44eddb['id'],this[_0x29e3('0x21')]=_0x44eddb[_0x29e3('0x21')],this[_0x29e3('0x30')]=_0x44eddb[_0x29e3('0x30')],this[_0x29e3('0x34')]=_0x44eddb['avatar'],this[_0x29e3('0x11')]=!0x1;}get['isAnonymous'](){return this[_0x29e3('0x11')];}get[_0x29e3('0x6')](){const _0x5c5fad=this['name']['split']('\x20');return 0x1===_0x5c5fad[_0x29e3('0xe')]?this[_0x29e3('0x0')](_0x5c5fad[0x0]):this[_0x29e3('0x0')](_0x5c5fad[0x0])+this[_0x29e3('0x0')](_0x5c5fad[_0x5c5fad[_0x29e3('0xe')]-0x1]);}[_0x29e3('0x0')](_0x27dbdc){return _0x27dbdc['charAt'](0x0)[_0x29e3('0x27')]();}}function a(_0x18e201,_0x4d9121=''){return''==(_0x4d9121=_0x4d9121['trim']())?_0x2d9ece(_0x18e201,_0x29e3('0x9')):_0x4d9121;}class u{constructor(_0x2df19a){this['_id']=_0x2df19a;}[_0x29e3('0x4')](){return'ck-user__bg-color--'+this[_0x29e3('0x13')];}[_0x29e3('0x1a')](){return _0x29e3('0xf')+this[_0x29e3('0x13')];}[_0x29e3('0xa')](){return _0x29e3('0x12')+this['_id'];}}
23
+ const _0x5183=['users-me-missing-user','config','charAt','trial-license-key-reached-limit-time','_id','color','isAnonymous','has','licenseKeyValid','getOperationAuthor','_lastColor','decorate','users-add-invalid-id','_licenseKeyCheckInterval','licenseKeyTrialLimit:time','defineMe','_addAnonymousUser','getBackgroundColorClass','users.anonymousUserId','requires','split','context','addUser','define','licenseKeyTrial','trial-license-key-reached-limit-changes','_locale','licenseKey','name','users','get','useAnonymousUser','init','licenseKeyTrialLimit:operations','Anonymous','licenseKeyInvalid','_getNextColor','_getInitial','users.colorsCount','_myId','licenseKeyTrialLimit:revisions','avatar','getSelectionClass','pluginName','Users','_isAnonymous','getUser','anonymous-user','ck-user__marker--','length','getMarkerClass','string','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','invalid-license-key','includes','trial-license-key-reached-limit-revisions'];(function(_0x39358b,_0x5183cd){const _0x185864=function(_0x28c88a){while(--_0x28c88a){_0x39358b['push'](_0x39358b['shift']());}};_0x185864(++_0x5183cd);}(_0x5183,0x154));const _0x1858=function(_0x39358b,_0x5183cd){_0x39358b=_0x39358b-0x0;let _0x185864=_0x5183[_0x39358b];return _0x185864;};import{ContextPlugin as _0x5ef830}from'ckeditor5/src/core';import{Collection as _0x3edf81,CKEditorError as _0x5f0229}from'ckeditor5/src/utils';import _0x105335 from'./permissions';import{getTranslation as _0x3bd8ee}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5ef830{static get[_0x1858('0x27')](){return _0x1858('0x28');}static get[_0x1858('0xf')](){return[_0x105335];}constructor(_0x3e7961){super(_0x3e7961),this['context'][_0x1858('0x35')][_0x1858('0x13')](_0x1858('0xe'),_0x1858('0x2b')),this[_0x1858('0x11')]['config'][_0x1858('0x13')](_0x1858('0x22'),0x8),this[_0x1858('0x19')]=new _0x3edf81(),this[_0x1858('0x16')]=_0x3e7961['locale'],this[_0x1858('0x9')]=null,this[_0x1858('0x6')]=0x0,this['_myId']=null,this[_0x1858('0x7')]('getOperationAuthor');}[_0x1858('0x1c')](){const _0x3f08de=this['context'];this[_0x1858('0x17')]=_0x3f08de[_0x1858('0x35')][_0x1858('0x1a')](_0x1858('0x17'));const _0x5c77e7=['licenseKeyTrial',_0x1858('0x1f'),_0x1858('0x4'),_0x1858('0x1d'),_0x1858('0xa'),_0x1858('0x24')];this[_0x1858('0x9')]=setInterval(()=>{let _0x1a493c;for(const _0x5ce2fd in _0x3f08de){const _0x23f20a=_0x3f08de[_0x5ce2fd];if(_0x5c77e7[_0x1858('0x32')](_0x23f20a)){delete _0x3f08de[_0x5ce2fd],_0x1a493c=_0x23f20a;break;}}if(_0x1858('0x1f')===_0x1a493c)throw clearInterval(this[_0x1858('0x9')]),new _0x5f0229(_0x1858('0x31'),null);if(_0x1858('0x14')===_0x1a493c&&console['info'](_0x1858('0x30')),'licenseKeyTrialLimit:operations'===_0x1a493c)throw clearInterval(this[_0x1858('0x9')]),new _0x5f0229(_0x1858('0x15'),null);if('licenseKeyTrialLimit:time'===_0x1a493c)throw clearInterval(this[_0x1858('0x9')]),new _0x5f0229(_0x1858('0x37'),null);if(_0x1858('0x24')===_0x1a493c)throw clearInterval(this[_0x1858('0x9')]),new _0x5f0229(_0x1858('0x33'),null);_0x1858('0x4')===_0x1a493c&&clearInterval(this[_0x1858('0x9')]);},0x3e8),this[_0x1858('0xc')]();}get['me'](){return null==this[_0x1858('0x23')]?null:this['getUser'](this[_0x1858('0x23')]);}[_0x1858('0x12')]({id:_0x1a6c41,name:_0x473008,..._0x406c4c}){if(!_0x1a6c41||_0x1858('0x2f')!=typeof _0x1a6c41)throw new _0x5f0229(_0x1858('0x8'));if(this[_0x1858('0x19')][_0x1858('0x3')](_0x1a6c41))throw new _0x5f0229('users-add-duplicated-id',null,{'id':_0x1a6c41});const _0x3f244c={..._0x406c4c,'id':_0x1a6c41,'name':a(this[_0x1858('0x16')],_0x473008),'color':this[_0x1858('0x20')]()};_0x3f244c[_0x1858('0x18')]=a(this[_0x1858('0x16')],_0x3f244c[_0x1858('0x18')]);const _0x4df087=new User(_0x3f244c);return this[_0x1858('0x19')]['add'](_0x4df087),_0x4df087;}[_0x1858('0x2a')](_0x41e3ae){return this[_0x1858('0x19')][_0x1858('0x1a')](_0x41e3ae);}[_0x1858('0x1b')](){const _0x768889=this[_0x1858('0x11')][_0x1858('0x35')][_0x1858('0x1a')](_0x1858('0xe'));this['_myId']||this['defineMe'](_0x768889);}[_0x1858('0xb')](_0x487f82){if(this[_0x1858('0x23')])throw new _0x5f0229('users-me-already-defined',null);if(!this[_0x1858('0x2a')](_0x487f82))throw new _0x5f0229(_0x1858('0x34'),null);this[_0x1858('0x23')]=_0x487f82;}[_0x1858('0x5')](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x1858('0x20')](){const _0x55bbcf=this['context'][_0x1858('0x35')][_0x1858('0x1a')](_0x1858('0x22'));return this[_0x1858('0x6')]>=_0x55bbcf&&(this[_0x1858('0x6')]=0x0),new u(this[_0x1858('0x6')]++);}[_0x1858('0xc')](){const _0x223650=this[_0x1858('0x11')][_0x1858('0x35')][_0x1858('0x1a')]('users.anonymousUserId');this[_0x1858('0x12')]({'id':_0x223650,'name':_0x3bd8ee(this['_locale'],_0x1858('0x1e'))})[_0x1858('0x29')]=!0x0;}}export class User{constructor(_0x3959b9){this['id']=_0x3959b9['id'],this[_0x1858('0x1')]=_0x3959b9[_0x1858('0x1')],this['name']=_0x3959b9['name'],this[_0x1858('0x25')]=_0x3959b9[_0x1858('0x25')],this[_0x1858('0x29')]=!0x1;}get[_0x1858('0x2')](){return this[_0x1858('0x29')];}get['initials'](){const _0x4f4011=this[_0x1858('0x18')][_0x1858('0x10')]('\x20');return 0x1===_0x4f4011['length']?this[_0x1858('0x21')](_0x4f4011[0x0]):this[_0x1858('0x21')](_0x4f4011[0x0])+this['_getInitial'](_0x4f4011[_0x4f4011[_0x1858('0x2d')]-0x1]);}['_getInitial'](_0x388ead){return _0x388ead[_0x1858('0x36')](0x0)['toUpperCase']();}}function a(_0x110552,_0x366335=''){return''==(_0x366335=_0x366335['trim']())?_0x3bd8ee(_0x110552,_0x1858('0x1e')):_0x366335;}class u{constructor(_0x431eba){this['_id']=_0x431eba;}[_0x1858('0xd')](){return'ck-user__bg-color--'+this[_0x1858('0x0')];}[_0x1858('0x26')](){return'ck-user__selection--'+this[_0x1858('0x0')];}[_0x1858('0x2e')](){return _0x1858('0x2c')+this[_0x1858('0x0')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4c1d0d,_0x5cee2d){const t=_0x4c1d0d['t'];switch(_0x5cee2d){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x3f4592,_0x2ab62d){const t=_0x3f4592['t'];switch(_0x2ab62d){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x41ae=['message','element','focus','locale','isConfirm','destroy','submit','once','deregisterChild','remove','cancel','confirmView','cancelConfirm','set','appendChild','fire','showConfirm','_removeConfirm'];(function(_0x35e017,_0x41ae9c){var _0x2de17f=function(_0x567cba){while(--_0x567cba){_0x35e017['push'](_0x35e017['shift']());}};_0x2de17f(++_0x41ae9c);}(_0x41ae,0x146));var _0x2de1=function(_0x35e017,_0x41ae9c){_0x35e017=_0x35e017-0x0;var _0x2de17f=_0x41ae[_0x35e017];return _0x2de17f;};import _0x2103af from'./confirmview';export default function m(_0x20687d){return class extends _0x20687d{[_0x2de1('0xe')](_0xe9c989,_0x1a71fc){return this[_0x2de1('0x9')]=new _0x2103af(this[_0x2de1('0x1')]),this['confirmView']['render'](),this[_0x2de1('0x9')][_0x2de1('0x10')]=_0xe9c989,this[_0x2de1('0x9')][_0x2de1('0x5')]('cancel',()=>{this[_0x2de1('0xf')]();}),this[_0x2de1('0x9')][_0x2de1('0x5')]('submit',()=>{this[_0x2de1('0xf')]();}),_0x1a71fc[_0x2de1('0xc')](this[_0x2de1('0x9')]['element']),this['registerChild'](this[_0x2de1('0x9')]),this[_0x2de1('0x11')][_0x2de1('0x0')](),this[_0x2de1('0xb')](_0x2de1('0x2'),!0x0),new Promise(_0x50d85c=>this[_0x2de1('0x9')]['on'](_0x2de1('0x4'),_0x50d85c));}[_0x2de1('0xa')](){this[_0x2de1('0x2')]&&this[_0x2de1('0x9')][_0x2de1('0xd')](_0x2de1('0x8'));}[_0x2de1('0xf')](){this[_0x2de1('0x11')]&&this[_0x2de1('0x9')]&&this[_0x2de1('0x9')][_0x2de1('0x11')]&&(this[_0x2de1('0x11')][_0x2de1('0x0')](),this['confirmView'][_0x2de1('0x11')][_0x2de1('0x7')](),this[_0x2de1('0x6')](this['confirmView']),this[_0x2de1('0x2')]=!0x1,this[_0x2de1('0x9')][_0x2de1('0x3')](),this['confirmView']=void 0x0);}};}
23
+ var _0x4b29=['element','render','isConfirm','confirmView','submit','locale','focus','set','cancel','_removeConfirm','cancelConfirm','destroy','deregisterChild','fire','once','registerChild','remove'];(function(_0x1a95f0,_0x4b29d5){var _0x16f690=function(_0xbc22a0){while(--_0xbc22a0){_0x1a95f0['push'](_0x1a95f0['shift']());}};_0x16f690(++_0x4b29d5);}(_0x4b29,0xd3));var _0x16f6=function(_0x1a95f0,_0x4b29d5){_0x1a95f0=_0x1a95f0-0x0;var _0x16f690=_0x4b29[_0x1a95f0];return _0x16f690;};import _0x44989c from'./confirmview';export default function m(_0x15a755){return class extends _0x15a755{['showConfirm'](_0x44d7b9,_0x531572){return this[_0x16f6('0xd')]=new _0x44989c(this[_0x16f6('0xf')]),this[_0x16f6('0xd')][_0x16f6('0xb')](),this['confirmView']['message']=_0x44d7b9,this[_0x16f6('0xd')][_0x16f6('0x7')](_0x16f6('0x1'),()=>{this[_0x16f6('0x2')]();}),this[_0x16f6('0xd')]['once']('submit',()=>{this['_removeConfirm']();}),_0x531572['appendChild'](this[_0x16f6('0xd')]['element']),this[_0x16f6('0x8')](this[_0x16f6('0xd')]),this[_0x16f6('0xa')][_0x16f6('0x10')](),this[_0x16f6('0x0')]('isConfirm',!0x0),new Promise(_0x2b8bcf=>this[_0x16f6('0xd')]['on'](_0x16f6('0xe'),_0x2b8bcf));}[_0x16f6('0x3')](){this[_0x16f6('0xc')]&&this['confirmView'][_0x16f6('0x6')](_0x16f6('0x1'));}[_0x16f6('0x2')](){this[_0x16f6('0xa')]&&this[_0x16f6('0xd')]&&this['confirmView']['element']&&(this[_0x16f6('0xa')][_0x16f6('0x10')](),this['confirmView'][_0x16f6('0xa')][_0x16f6('0x9')](),this[_0x16f6('0x5')](this[_0x16f6('0xd')]),this[_0x16f6('0xc')]=!0x1,this[_0x16f6('0xd')][_0x16f6('0x4')](),this[_0x16f6('0xd')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2db1=['icon','submitView','Are\x20you\x20sure?','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','div','bindTemplate','set','message','setTemplate','execute','_createButtonView','ck-thread__remove-confirm-inner','cancelView','fire','submit','cancel','ck-thread__remove-confirm','extendTemplate','label'];(function(_0x132f4b,_0x2db137){const _0x41a6b8=function(_0x43e425){while(--_0x43e425){_0x132f4b['push'](_0x132f4b['shift']());}};_0x41a6b8(++_0x2db137);}(_0x2db1,0xb4));const _0x41a6=function(_0x132f4b,_0x2db137){_0x132f4b=_0x132f4b-0x0;let _0x41a6b8=_0x2db1[_0x132f4b];return _0x41a6b8;};import{View as _0x2f43c0,ButtonView as _0x22845f}from'ckeditor5/src/ui';import{icons as _0x3c1d0f}from'ckeditor5/src/core';import{getTranslation as _0x36e032}from'./common-translations';export default class h extends _0x2f43c0{constructor(_0x2c36f4){super(_0x2c36f4);const _0x516cb4=this[_0x41a6('0x6')];this[_0x41a6('0x1')]=this[_0x41a6('0xb')](_0x2c36f4,_0x36e032(_0x2c36f4,'Yes'),_0x3c1d0f['check'],_0x41a6('0xf')),this[_0x41a6('0xd')]=this['_createButtonView'](_0x2c36f4,_0x36e032(_0x2c36f4,'No'),_0x3c1d0f[_0x41a6('0x10')],'cancel'),this[_0x41a6('0x7')](_0x41a6('0x8'),_0x36e032(_0x2c36f4,_0x41a6('0x2'))),this[_0x41a6('0x9')]({'tag':_0x41a6('0x5'),'attributes':{'class':[_0x41a6('0x11')]},'children':[{'tag':'div','attributes':{'class':_0x41a6('0xc')},'children':[{'tag':'p','children':[{'text':_0x516cb4['to']('message')}]},{'tag':_0x41a6('0x5'),'attributes':{'class':_0x41a6('0x4')},'children':[this[_0x41a6('0x1')],this[_0x41a6('0xd')]]}]}]});}[_0x41a6('0xb')](_0x5b3f82,_0x2391f6,_0x6bb6f0,_0x1beba3){const _0x15d337=new _0x22845f(_0x5b3f82);return _0x15d337[_0x41a6('0x13')]=_0x2391f6,_0x15d337[_0x41a6('0x0')]=_0x6bb6f0,_0x15d337[_0x41a6('0x12')]({'attributes':{'class':_0x41a6('0x3')+_0x1beba3}}),_0x15d337['on'](_0x41a6('0xa'),()=>this[_0x41a6('0xe')](_0x1beba3)),_0x15d337;}}
23
+ const _0x28de=['submit','fire','submitView','label','check','setTemplate','_createButtonView','message','cancelView','ck-thread__remove-confirm-actions','cancel','icon','Are\x20you\x20sure?','ck-thread__remove-confirm','ck-thread__remove-confirm-','ck-thread__remove-confirm-inner','bindTemplate','div','extendTemplate'];(function(_0x5cbc45,_0x28decf){const _0x29495e=function(_0x4f3e95){while(--_0x4f3e95){_0x5cbc45['push'](_0x5cbc45['shift']());}};_0x29495e(++_0x28decf);}(_0x28de,0x1e9));const _0x2949=function(_0x5cbc45,_0x28decf){_0x5cbc45=_0x5cbc45-0x0;let _0x29495e=_0x28de[_0x5cbc45];return _0x29495e;};import{View as _0x246313,ButtonView as _0x215209}from'ckeditor5/src/ui';import{icons as _0x184ce9}from'ckeditor5/src/core';import{getTranslation as _0x409122}from'./common-translations';export default class h extends _0x246313{constructor(_0x487b62){super(_0x487b62);const _0x26ba15=this[_0x2949('0x2')];this[_0x2949('0x7')]=this[_0x2949('0xb')](_0x487b62,_0x409122(_0x487b62,'Yes'),_0x184ce9[_0x2949('0x9')],_0x2949('0x5')),this[_0x2949('0xd')]=this[_0x2949('0xb')](_0x487b62,_0x409122(_0x487b62,'No'),_0x184ce9[_0x2949('0xf')],'cancel'),this['set'](_0x2949('0xc'),_0x409122(_0x487b62,_0x2949('0x11'))),this[_0x2949('0xa')]({'tag':_0x2949('0x3'),'attributes':{'class':[_0x2949('0x12')]},'children':[{'tag':'div','attributes':{'class':_0x2949('0x1')},'children':[{'tag':'p','children':[{'text':_0x26ba15['to']('message')}]},{'tag':_0x2949('0x3'),'attributes':{'class':_0x2949('0xe')},'children':[this[_0x2949('0x7')],this[_0x2949('0xd')]]}]}]});}[_0x2949('0xb')](_0x28477d,_0xe1f216,_0x481ca5,_0xc5fcea){const _0x4af93c=new _0x215209(_0x28477d);return _0x4af93c[_0x2949('0x8')]=_0xe1f216,_0x4af93c[_0x2949('0x10')]=_0x481ca5,_0x4af93c[_0x2949('0x4')]({'attributes':{'class':_0x2949('0x0')+_0xc5fcea}}),_0x4af93c['on']('execute',()=>this[_0x2949('0x6')](_0xc5fcea)),_0x4af93c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f9b=['function','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','string','dateTimeFormat','\x27Yesterday\x27\x20hh:mma'];(function(_0x52de90,_0x6f9b4){const _0x129610=function(_0x2da718){while(--_0x2da718){_0x52de90['push'](_0x52de90['shift']());}};_0x129610(++_0x6f9b4);}(_0x6f9b,0x1c0));const _0x1296=function(_0x52de90,_0x6f9b4){_0x52de90=_0x52de90-0x0;let _0x129610=_0x6f9b[_0x52de90];return _0x129610;};import _0x1319c2 from'date-fns/format';import _0x5aaa61 from'date-fns/parseISO';import _0x4d87a5 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x16d9cf}from'ckeditor5/src/utils';export default function E(_0x53bf8c={}){if(void 0x0!==_0x53bf8c[_0x1296('0x0')]&&_0x1296('0x2')!=typeof _0x53bf8c[_0x1296('0x0')])throw new _0x16d9cf('invalid-date-time-format');return _0x2eb18b=>{const _0x49f10b=_0x1296('0x5')==typeof _0x2eb18b?_0x5aaa61(_0x2eb18b):_0x2eb18b,_0x6557c8=new Date(),_0x58c12f=_0x4d87a5(_0x6557c8,_0x49f10b);return _0x53bf8c[_0x1296('0x0')]?_0x53bf8c[_0x1296('0x0')](_0x49f10b):_0x1319c2(_0x49f10b,0x0===_0x58c12f?'\x27Today\x27\x20hh:mma':0x1===_0x58c12f?_0x1296('0x1'):_0x58c12f<0x7?_0x1296('0x3'):_0x1296('0x4'));};}
23
+ const _0x4861=['string','MM-dd-yyyy\x20hh:mma','dateTimeFormat','invalid-date-time-format','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma'];(function(_0x5f5811,_0x486138){const _0x47f989=function(_0x5bb565){while(--_0x5bb565){_0x5f5811['push'](_0x5f5811['shift']());}};_0x47f989(++_0x486138);}(_0x4861,0x1f4));const _0x47f9=function(_0x5f5811,_0x486138){_0x5f5811=_0x5f5811-0x0;let _0x47f989=_0x4861[_0x5f5811];return _0x47f989;};import _0x2f5d13 from'date-fns/format';import _0x4dfcf7 from'date-fns/parseISO';import _0x119c80 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2340a7}from'ckeditor5/src/utils';export default function E(_0x1cd2a4={}){if(void 0x0!==_0x1cd2a4['dateTimeFormat']&&'function'!=typeof _0x1cd2a4[_0x47f9('0x6')])throw new _0x2340a7(_0x47f9('0x0'));return _0x5286a4=>{const _0x255ffe=_0x47f9('0x4')==typeof _0x5286a4?_0x4dfcf7(_0x5286a4):_0x5286a4,_0x179aea=new Date(),_0x4e1dfc=_0x119c80(_0x179aea,_0x255ffe);return _0x1cd2a4[_0x47f9('0x6')]?_0x1cd2a4['dateTimeFormat'](_0x255ffe):_0x2f5d13(_0x255ffe,0x0===_0x4e1dfc?_0x47f9('0x3'):0x1===_0x4e1dfc?_0x47f9('0x1'):_0x4e1dfc<0x7?_0x47f9('0x2'):_0x47f9('0x5'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1104=['domConverter','length','name','sort','filter','push','values','domElement','mapper','item','view','map','getClientRects','mapViewToDom'];(function(_0xfcfb3a,_0x11049d){const _0x20a1f2=function(_0x1f1fa7){while(--_0x1f1fa7){_0xfcfb3a['push'](_0xfcfb3a['shift']());}};_0x20a1f2(++_0x11049d);}(_0x1104,0xa6));const _0x20a1=function(_0xfcfb3a,_0x11049d){_0xfcfb3a=_0xfcfb3a-0x0;let _0x20a1f2=_0x1104[_0xfcfb3a];return _0x20a1f2;};import{first as _0x39828e}from'ckeditor5/src/utils';export default function k(_0x1ab420,_0x536057){const _0x14761b=_0x1ab420[_0x20a1('0xa')]['markerNameToElements'](_0x536057[_0x20a1('0x4')]);if(!_0x14761b)return null;const _0x4a6967=_0x39828e(_0x14761b[_0x20a1('0x8')]());return _0x1ab420[_0x20a1('0xc')][_0x20a1('0x2')][_0x20a1('0x1')](_0x4a6967)||null;}export function getAllMarkersDomElementsSorted(_0x5e80af,_0x5ab756){if(0x0===_0x5ab756['length'])return null;const _0x16a46b=[],_0x457d22=_0x5e80af[_0x20a1('0xc')][_0x20a1('0x2')];for(const _0x23864f of _0x5ab756){const _0x4dbea3=_0x5e80af['mapper']['markerNameToElements'](_0x23864f[_0x20a1('0x4')]);if(!_0x4dbea3)continue;const _0x2e1628=Array['from'](_0x4dbea3)[_0x20a1('0xd')](_0x30e355=>_0x457d22[_0x20a1('0x1')](_0x30e355))[_0x20a1('0x6')](_0x5471f8=>!!_0x5471f8);_0x16a46b['push'](..._0x2e1628);}if(0x0===_0x16a46b[_0x20a1('0x3')])return null;const _0x4c6f1f=[];for(const _0x41ecdc of _0x16a46b){const _0x3be2ee=_0x41ecdc[_0x20a1('0x0')]()[_0x20a1('0xb')](0x0);_0x3be2ee&&_0x4c6f1f[_0x20a1('0x7')]({'x':_0x3be2ee['x'],'y':_0x3be2ee['y'],'domElement':_0x41ecdc});}return 0x0===_0x4c6f1f[_0x20a1('0x3')]?null:(_0x4c6f1f[_0x20a1('0x5')]((_0xc0647,_0x5e1cf3)=>_0xc0647['y']-_0x5e1cf3['y']||_0xc0647['x']-_0x5e1cf3['x']),_0x4c6f1f[_0x20a1('0xd')](_0x4c6d6c=>_0x4c6d6c[_0x20a1('0x9')]));}
23
+ const _0x34c2=['markerNameToElements','filter','mapViewToDom','push','length','getClientRects','mapper','name','domConverter','values','sort','map','view'];(function(_0x2f2644,_0x34c2ee){const _0x54e886=function(_0x39e37c){while(--_0x39e37c){_0x2f2644['push'](_0x2f2644['shift']());}};_0x54e886(++_0x34c2ee);}(_0x34c2,0x12a));const _0x54e8=function(_0x2f2644,_0x34c2ee){_0x2f2644=_0x2f2644-0x0;let _0x54e886=_0x34c2[_0x2f2644];return _0x54e886;};import{first as _0x11dc2f}from'ckeditor5/src/utils';export default function k(_0x11cc16,_0x2a1626){const _0x283210=_0x11cc16[_0x54e8('0x7')][_0x54e8('0x1')](_0x2a1626[_0x54e8('0x8')]);if(!_0x283210)return null;const _0x1dc14c=_0x11dc2f(_0x283210[_0x54e8('0xa')]());return _0x11cc16[_0x54e8('0x0')][_0x54e8('0x9')][_0x54e8('0x3')](_0x1dc14c)||null;}export function getAllMarkersDomElementsSorted(_0x32a6b7,_0x4508e6){if(0x0===_0x4508e6['length'])return null;const _0x2677cb=[],_0x553e1b=_0x32a6b7['view']['domConverter'];for(const _0x4641a7 of _0x4508e6){const _0x2c7a0f=_0x32a6b7[_0x54e8('0x7')][_0x54e8('0x1')](_0x4641a7['name']);if(!_0x2c7a0f)continue;const _0x52ebf1=Array['from'](_0x2c7a0f)[_0x54e8('0xc')](_0x47a947=>_0x553e1b[_0x54e8('0x3')](_0x47a947))[_0x54e8('0x2')](_0x369e59=>!!_0x369e59);_0x2677cb[_0x54e8('0x4')](..._0x52ebf1);}if(0x0===_0x2677cb[_0x54e8('0x5')])return null;const _0x7bdcae=[];for(const _0x57ead3 of _0x2677cb){const _0x361d7a=_0x57ead3[_0x54e8('0x6')]()['item'](0x0);_0x361d7a&&_0x7bdcae[_0x54e8('0x4')]({'x':_0x361d7a['x'],'y':_0x361d7a['y'],'domElement':_0x57ead3});}return 0x0===_0x7bdcae['length']?null:(_0x7bdcae[_0x54e8('0xb')]((_0x2dd88a,_0x3aa55a)=>_0x2dd88a['y']-_0x3aa55a['y']||_0x2dd88a['x']-_0x3aa55a['x']),_0x7bdcae[_0x54e8('0xc')](_0x1be58e=>_0x1be58e['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f37=['sign','keys','sort','string','isArray','number','object'];(function(_0x3f536d,_0x6f3739){const _0x223a1e=function(_0x3fffe9){while(--_0x3fffe9){_0x3f536d['push'](_0x3f536d['shift']());}};_0x223a1e(++_0x6f3739);}(_0x6f37,0x16e));const _0x223a=function(_0x3f536d,_0x6f3739){_0x3f536d=_0x3f536d-0x0;let _0x223a1e=_0x6f37[_0x3f536d];return _0x223a1e;};export default function b(_0x536cf0){let _0x34befc=0x0,_0x545005=0x0;for(const _0x34ce71 of g(_0x536cf0))_0x34befc=(_0x34befc<<0x5)-_0x34befc+_0x34ce71,_0x34befc&=_0x34befc,[_0x34befc,_0x545005]=[_0x545005,_0x34befc];return O(_0x34befc)+O(_0x545005);}function*j(_0x1b4f28){_0x1b4f28?'boolean'==typeof _0x1b4f28?yield 0x1:Array[_0x223a('0x2')](_0x1b4f28)?yield*function*(_0x1ab0a0){for(const _0x203ccc of _0x1ab0a0)yield*j(_0x203ccc);}(_0x1b4f28):_0x223a('0x4')==typeof _0x1b4f28?yield*g(_0x1b4f28):_0x223a('0x1')==typeof _0x1b4f28?yield*A(_0x1b4f28):_0x223a('0x3')==typeof _0x1b4f28&&(yield _0x1b4f28):yield 0x0;}function*g(_0x1364a1){if(yield M('{'),_0x1364a1){const _0x4e3c06=Object[_0x223a('0x6')](_0x1364a1)[_0x223a('0x0')]();for(const _0x485e2b of _0x4e3c06){yield*A(_0x485e2b),yield M(':');const _0x310d8e=_0x1364a1[_0x485e2b];yield*j(_0x310d8e);}}yield M('}');}function*A(_0x5b3f58){yield M('\x22');for(const _0x24dbfa of _0x5b3f58)yield M(_0x24dbfa);yield M('\x22');}function M(_0x326f3a){return _0x326f3a['charCodeAt'](0x0);}function O(_0x40647a){return(_0x40647a*=Math[_0x223a('0x5')](_0x40647a))['toString'](0x24);}
23
+ const _0x4273=['sort','sign','keys','object','number','charCodeAt','toString'];(function(_0x3dd6d8,_0x427316){const _0x5992f3=function(_0x5cc801){while(--_0x5cc801){_0x3dd6d8['push'](_0x3dd6d8['shift']());}};_0x5992f3(++_0x427316);}(_0x4273,0x168));const _0x5992=function(_0x3dd6d8,_0x427316){_0x3dd6d8=_0x3dd6d8-0x0;let _0x5992f3=_0x4273[_0x3dd6d8];return _0x5992f3;};export default function b(_0x3aa396){let _0x5be8eb=0x0,_0x1e9c6e=0x0;for(const _0x70dc56 of g(_0x3aa396))_0x5be8eb=(_0x5be8eb<<0x5)-_0x5be8eb+_0x70dc56,_0x5be8eb&=_0x5be8eb,[_0x5be8eb,_0x1e9c6e]=[_0x1e9c6e,_0x5be8eb];return O(_0x5be8eb)+O(_0x1e9c6e);}function*j(_0x4cab11){_0x4cab11?'boolean'==typeof _0x4cab11?yield 0x1:Array['isArray'](_0x4cab11)?yield*function*(_0x11ec68){for(const _0x122294 of _0x11ec68)yield*j(_0x122294);}(_0x4cab11):_0x5992('0x0')==typeof _0x4cab11?yield*g(_0x4cab11):'string'==typeof _0x4cab11?yield*A(_0x4cab11):_0x5992('0x1')==typeof _0x4cab11&&(yield _0x4cab11):yield 0x0;}function*g(_0x436fd1){if(yield M('{'),_0x436fd1){const _0x506108=Object[_0x5992('0x6')](_0x436fd1)[_0x5992('0x4')]();for(const _0x2e28f1 of _0x506108){yield*A(_0x2e28f1),yield M(':');const _0x2edfca=_0x436fd1[_0x2e28f1];yield*j(_0x2edfca);}}yield M('}');}function*A(_0x16a815){yield M('\x22');for(const _0x2e19a1 of _0x16a815)yield M(_0x2e19a1);yield M('\x22');}function M(_0x1ab596){return _0x1ab596[_0x5992('0x2')](0x0);}function O(_0x1a6bb1){return(_0x1a6bb1*=Math[_0x5992('0x5')](_0x1a6bb1))[_0x5992('0x3')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a2f=['get','initialData','extraPlugins','length','WebSocketGateway','name','rootsAttributes','string','filter','DocumentOutline','toolbar','constructor','_context','requires','map','Autosave','removePlugins','config','WProofreader','WordCount','every','concat','includes','from','pluginName','names','plugins','set'];(function(_0x55e54b,_0x4a2f49){const _0x317169=function(_0x3c6228){while(--_0x3c6228){_0x55e54b['push'](_0x55e54b['shift']());}};_0x317169(++_0x4a2f49);}(_0x4a2f,0x1cd));const _0x3171=function(_0x55e54b,_0x4a2f49){_0x55e54b=_0x55e54b-0x0;let _0x317169=_0x4a2f[_0x55e54b];return _0x317169;};const w=[_0x3171('0x10'),'context',_0x3171('0x19'),_0x3171('0x15')],W=[_0x3171('0x13'),'RevisionTracker',_0x3171('0x2'),_0x3171('0x6'),_0x3171('0x18'),_0x3171('0x5')];function v(_0x31e67a,_0x535a83,_0x32e84d,_0x5921c8=[]){const _0x46f0ea='string'==typeof _0x31e67a?_0x32e84d[_0x3171('0xf')](_0x31e67a)['constructor']:_0x31e67a,_0x3b364b=_0x46f0ea[_0x3171('0xb')]||_0x46f0ea[_0x3171('0x14')];if(_0x535a83['has'](_0x3b364b))return _0x535a83['get'](_0x3b364b);if(_0x535a83['set'](_0x3b364b,!0x0),_0x3b364b&&W[_0x3171('0x8')](_0x5921c8)[_0x3171('0x9')](_0x3b364b))return _0x535a83[_0x3171('0xe')](_0x3b364b,!0x1),!0x1;if(!_0x46f0ea[_0x3171('0x0')])return _0x535a83[_0x3171('0xe')](_0x3b364b,!0x0),!0x0;const _0x142741=_0x46f0ea[_0x3171('0x0')][_0x3171('0x7')](_0x2e462a=>v(_0x2e462a,_0x535a83,_0x32e84d,_0x5921c8));return _0x535a83['set'](_0x3b364b,_0x142741),_0x142741;}export default function D(_0x81ff3f,_0x3b45ef){const _0x1df824={};for(const _0x65da3a of _0x81ff3f[_0x3171('0x4')][_0x3171('0xc')]())w[_0x3171('0x9')](_0x65da3a)||(_0x1df824[_0x65da3a]=_0x81ff3f[_0x3171('0x4')][_0x3171('0xf')](_0x65da3a));const _0x4039af=_0x1df824[_0x3171('0xd')]||[],_0x2cde18=_0x81ff3f[_0x3171('0x1a')]['builtinPlugins']||[],_0x4a746d=_0x4039af[_0x3171('0x12')]?_0x4039af:_0x2cde18,_0x2f1fa0=_0x1df824[_0x3171('0x11')]||[];delete _0x1df824['extraPlugins'];const _0x5c7daa=_0x1df824[_0x3171('0x3')]||[];delete _0x1df824[_0x3171('0x3')];const _0x3f51d2=_0x81ff3f[_0x3171('0x1b')]['config'][_0x3171('0xf')](_0x3171('0xd'))||[],_0x4494fd=_0x4a746d[_0x3171('0x8')](_0x2f1fa0)[_0x3171('0x8')](_0x3f51d2)[_0x3171('0x1')](_0x170473=>_0x3171('0x16')==typeof _0x170473?_0x2cde18['find'](_0x35ec97=>_0x35ec97[_0x3171('0xb')]==_0x170473):_0x170473)[_0x3171('0x17')](_0x4c9797=>!_0x5c7daa['includes'](_0x4c9797)),_0xee56d8=Array[_0x3171('0xa')](new Set(_0x4494fd)),_0x8ba3d4=new Map();return _0x1df824[_0x3171('0xd')]=_0xee56d8[_0x3171('0x17')](_0x381d9d=>v(_0x381d9d,_0x8ba3d4,_0x81ff3f[_0x3171('0xd')],_0x3b45ef)),_0x1df824;}
23
+ const _0x453b=['WordCount','concat','config','Autosave','pluginName','length','names','find','initialData','RevisionTracker','constructor','every','toolbar','extraPlugins','requires','map','filter','has','from','string','includes','plugins','WProofreader','get','_context','WebSocketGateway','removePlugins','set'];(function(_0x272f53,_0x453b64){const _0x23353b=function(_0xc4cc5e){while(--_0xc4cc5e){_0x272f53['push'](_0x272f53['shift']());}};_0x23353b(++_0x453b64);}(_0x453b,0x108));const _0x2335=function(_0x272f53,_0x453b64){_0x272f53=_0x272f53-0x0;let _0x23353b=_0x453b[_0x272f53];return _0x23353b;};const w=[_0x2335('0x18'),'context',_0x2335('0x0'),'rootsAttributes'],W=[_0x2335('0xd'),_0x2335('0x19'),_0x2335('0x13'),_0x2335('0x10'),'DocumentOutline',_0x2335('0xa')];function v(_0x5227bd,_0x2356c5,_0x8d0e99,_0x331093=[]){const _0x44a7eb='string'==typeof _0x5227bd?_0x8d0e99['get'](_0x5227bd)['constructor']:_0x5227bd,_0x1c242a=_0x44a7eb['pluginName']||_0x44a7eb['name'];if(_0x2356c5[_0x2335('0x5')](_0x1c242a))return _0x2356c5['get'](_0x1c242a);if(_0x2356c5[_0x2335('0xf')](_0x1c242a,!0x0),_0x1c242a&&W[_0x2335('0x11')](_0x331093)[_0x2335('0x8')](_0x1c242a))return _0x2356c5[_0x2335('0xf')](_0x1c242a,!0x1),!0x1;if(!_0x44a7eb[_0x2335('0x2')])return _0x2356c5['set'](_0x1c242a,!0x0),!0x0;const _0x5829ac=_0x44a7eb[_0x2335('0x2')][_0x2335('0x1b')](_0x34eb81=>v(_0x34eb81,_0x2356c5,_0x8d0e99,_0x331093));return _0x2356c5[_0x2335('0xf')](_0x1c242a,_0x5829ac),_0x5829ac;}export default function D(_0x45bc6b,_0x41ea40){const _0x6797e1={};for(const _0x67f26c of _0x45bc6b[_0x2335('0x12')][_0x2335('0x16')]())w['includes'](_0x67f26c)||(_0x6797e1[_0x67f26c]=_0x45bc6b[_0x2335('0x12')][_0x2335('0xb')](_0x67f26c));const _0x1d1a9e=_0x6797e1[_0x2335('0x9')]||[],_0x365de5=_0x45bc6b[_0x2335('0x1a')]['builtinPlugins']||[],_0x1e7e82=_0x1d1a9e[_0x2335('0x15')]?_0x1d1a9e:_0x365de5,_0x492f98=_0x6797e1[_0x2335('0x1')]||[];delete _0x6797e1[_0x2335('0x1')];const _0x5aa422=_0x6797e1[_0x2335('0xe')]||[];delete _0x6797e1[_0x2335('0xe')];const _0x389f71=_0x45bc6b[_0x2335('0xc')]['config']['get'](_0x2335('0x9'))||[],_0x488967=_0x1e7e82[_0x2335('0x11')](_0x492f98)[_0x2335('0x11')](_0x389f71)[_0x2335('0x3')](_0x4d7c09=>_0x2335('0x7')==typeof _0x4d7c09?_0x365de5[_0x2335('0x17')](_0x4e8f6a=>_0x4e8f6a[_0x2335('0x14')]==_0x4d7c09):_0x4d7c09)[_0x2335('0x4')](_0x24606e=>!_0x5aa422['includes'](_0x24606e)),_0x58ebf9=Array[_0x2335('0x6')](new Set(_0x488967)),_0x11ed0b=new Map();return _0x6797e1[_0x2335('0x9')]=_0x58ebf9['filter'](_0x5a7b32=>v(_0x5a7b32,_0x11ed0b,_0x45bc6b[_0x2335('0x9')],_0x41ea40)),_0x6797e1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb59b=['join','push','match','split','indexOf','replace','slice','substring','length','pop','...'];(function(_0x1213ab,_0xb59b5c){const _0x23f5b9=function(_0x3261dd){while(--_0x3261dd){_0x1213ab['push'](_0x1213ab['shift']());}};_0x23f5b9(++_0xb59b5c);}(_0xb59b,0xaf));const _0x23f5=function(_0x1213ab,_0xb59b5c){_0x1213ab=_0x1213ab-0x0;let _0x23f5b9=_0xb59b[_0x1213ab];return _0x23f5b9;};export default function z(_0x1cf72f,{limit:_0x23d656,suffix:_0xcfa9c3=_0x23f5('0x0')}){const _0x3d6a66=[];let _0x42e238=0x0;const _0x47d274=_0x1cf72f[_0x23f5('0x6')](/</g,'\x0a<')[_0x23f5('0x6')](/>/g,'>\x0a')[_0x23f5('0x6')](/^\n/g,'')[_0x23f5('0x6')](/\n$/g,'')[_0x23f5('0x4')]('\x0a');for(let _0x157dc7=0x0;_0x157dc7<_0x47d274[_0x23f5('0x9')];_0x157dc7++){let _0x375e2d=_0x47d274[_0x157dc7];const _0x1a7b88=Z(_0x375e2d);if(_0x375e2d['startsWith']('<')){if(_0x42e238>=_0x23d656){const _0x5654d9=_0x375e2d[_0x23f5('0x3')](/[a-zA-Z]+/);if(!_0x5654d9){_0x47d274[_0x157dc7]='';continue;}const _0x4728d1=_0x5654d9[0x0];_0x375e2d['startsWith']('</')?(_0x3d6a66['length']&&(_0x375e2d=''),_0x3d6a66[_0x23f5('0xa')]()):(_0x3d6a66[_0x23f5('0x2')](_0x4728d1),_0x375e2d='');}}else{if(_0x42e238>=_0x23d656)_0x375e2d='';else{if(_0x42e238+_0x1a7b88[_0x23f5('0x9')]>=_0x23d656){let _0x236db6=_0x23d656-_0x42e238;if('\x20'===_0x1a7b88[_0x236db6-0x1])_0x236db6--;else{const _0x3e69c3=_0x1a7b88[_0x23f5('0x7')](_0x236db6)[_0x23f5('0x5')]('\x20');-0x1!==_0x3e69c3?_0x236db6+=_0x3e69c3:_0x236db6=_0x375e2d[_0x23f5('0x9')];}_0x375e2d=_0x1a7b88['slice'](0x0,_0x236db6)[_0x23f5('0x1')]('')+_0xcfa9c3,_0x42e238=_0x23d656;}else _0x42e238+=_0x1a7b88[_0x23f5('0x9')];}}_0x47d274[_0x157dc7]=_0x375e2d;}return _0x47d274[_0x23f5('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x4eab7e){const _0x19263b=[];for(let _0x563621=0x0;_0x563621<_0x4eab7e[_0x23f5('0x9')];_0x563621++){const _0x43207a=_0x4eab7e[_0x23f5('0x8')](_0x563621)[_0x23f5('0x3')](/^&[a-z0-9#]+;/);if(_0x43207a){const _0x5e42ac=_0x43207a[0x0];_0x19263b['push'](_0x5e42ac),_0x563621+=_0x5e42ac[_0x23f5('0x9')]-0x1;}else _0x19263b[_0x23f5('0x2')](_0x4eab7e[_0x563621]);}return _0x19263b;}
23
+ const _0x40a8=['match','...','split','indexOf','slice','join','replace','startsWith','substring','length','push'];(function(_0x248b0f,_0x40a82c){const _0x181057=function(_0x5dc27c){while(--_0x5dc27c){_0x248b0f['push'](_0x248b0f['shift']());}};_0x181057(++_0x40a82c);}(_0x40a8,0xfd));const _0x1810=function(_0x248b0f,_0x40a82c){_0x248b0f=_0x248b0f-0x0;let _0x181057=_0x40a8[_0x248b0f];return _0x181057;};export default function z(_0x19e263,{limit:_0x5a87c3,suffix:_0x5b24ef=_0x1810('0x1')}){const _0x272643=[];let _0x44ce8b=0x0;const _0x59fa60=_0x19e263[_0x1810('0x6')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x1810('0x6')](/^\n/g,'')[_0x1810('0x6')](/\n$/g,'')[_0x1810('0x2')]('\x0a');for(let _0x5f3e99=0x0;_0x5f3e99<_0x59fa60[_0x1810('0x9')];_0x5f3e99++){let _0x26d9f4=_0x59fa60[_0x5f3e99];const _0x576c6f=Z(_0x26d9f4);if(_0x26d9f4[_0x1810('0x7')]('<')){if(_0x44ce8b>=_0x5a87c3){const _0x25bb5e=_0x26d9f4['match'](/[a-zA-Z]+/);if(!_0x25bb5e){_0x59fa60[_0x5f3e99]='';continue;}const _0x2d7f58=_0x25bb5e[0x0];_0x26d9f4['startsWith']('</')?(_0x272643[_0x1810('0x9')]&&(_0x26d9f4=''),_0x272643['pop']()):(_0x272643[_0x1810('0xa')](_0x2d7f58),_0x26d9f4='');}}else{if(_0x44ce8b>=_0x5a87c3)_0x26d9f4='';else{if(_0x44ce8b+_0x576c6f[_0x1810('0x9')]>=_0x5a87c3){let _0x4393e4=_0x5a87c3-_0x44ce8b;if('\x20'===_0x576c6f[_0x4393e4-0x1])_0x4393e4--;else{const _0x44db57=_0x576c6f[_0x1810('0x4')](_0x4393e4)[_0x1810('0x3')]('\x20');-0x1!==_0x44db57?_0x4393e4+=_0x44db57:_0x4393e4=_0x26d9f4[_0x1810('0x9')];}_0x26d9f4=_0x576c6f[_0x1810('0x4')](0x0,_0x4393e4)['join']('')+_0x5b24ef,_0x44ce8b=_0x5a87c3;}else _0x44ce8b+=_0x576c6f['length'];}}_0x59fa60[_0x5f3e99]=_0x26d9f4;}return _0x59fa60[_0x1810('0x5')]('\x0a')[_0x1810('0x6')](/\n/g,'');}function Z(_0x5b28c6){const _0x3e96da=[];for(let _0x238d7e=0x0;_0x238d7e<_0x5b28c6[_0x1810('0x9')];_0x238d7e++){const _0x3bec0b=_0x5b28c6[_0x1810('0x8')](_0x238d7e)[_0x1810('0x0')](/^&[a-z0-9#]+;/);if(_0x3bec0b){const _0x1543a5=_0x3bec0b[0x0];_0x3e96da[_0x1810('0xa')](_0x1543a5),_0x238d7e+=_0x1543a5['length']-0x1;}else _0x3e96da['push'](_0x5b28c6[_0x238d7e]);}return _0x3e96da;}
@@ -1,3 +1,23 @@
1
+ .ck-content .ck-widget.image > figcaption {
2
+ &.ck-suggestion-marker-deletion {
3
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
4
+ border: none;
5
+
6
+ &.ck-suggestion-marker--active {
7
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
8
+ }
9
+ }
10
+
11
+ &.ck-suggestion-marker-insertion {
12
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
13
+ border: none;
14
+
15
+ &.ck-suggestion-marker--active {
16
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
17
+ }
18
+ }
19
+ }
20
+
1
21
  .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
2
22
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
23
 
@@ -21,9 +41,11 @@
21
41
  .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
22
42
  background-color: var(--ck-color-suggestion-widget-insertion-background);
23
43
 
44
+ /* stylelint-disable no-descending-specificity */
24
45
  & figcaption {
25
46
  background-color: var(--ck-color-suggestion-widget-insertion-background);
26
47
  }
48
+ /* stylelint-enable no-descending-specificity */
27
49
 
28
50
  &.ck-suggestion-marker--active {
29
51
  background-color: var(--ck-color-suggestion-widget-insertion-background-active);
@@ -33,23 +55,3 @@
33
55
  }
34
56
  }
35
57
  }
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
- }
@@ -14,6 +14,26 @@
14
14
  }
15
15
  }
16
16
 
17
+ .ck-content .ck-widget.table > figcaption {
18
+ &.ck-suggestion-marker-deletion {
19
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
20
+ border: none;
21
+
22
+ &.ck-suggestion-marker--active {
23
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
24
+ }
25
+ }
26
+
27
+ &.ck-suggestion-marker-insertion {
28
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
29
+ border: none;
30
+
31
+ &.ck-suggestion-marker--active {
32
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
33
+ }
34
+ }
35
+ }
36
+
17
37
  .ck-content .ck-suggestion-marker-insertion.table {
18
38
  border-color: var(--ck-color-suggestion-marker-insertion-border);
19
39
 
@@ -21,7 +41,7 @@
21
41
  background-color: var(--ck-color-suggestion-widget-insertion-background);
22
42
  }
23
43
 
24
- & > table {
44
+ & > table {
25
45
  & > tbody > tr > th {
26
46
  background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
47
  border-color: var(--ck-color-suggestion-marker-insertion-border);
@@ -89,7 +109,7 @@
89
109
  border-color: var(--ck-color-suggestion-marker-deletion-border);
90
110
  text-decoration: none;
91
111
  }
92
- }
112
+ }
93
113
  }
94
114
 
95
115
  .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
@@ -99,7 +119,7 @@
99
119
  background-color: var(--ck-color-suggestion-widget-deletion-background-active);
100
120
  }
101
121
 
102
- & > table {
122
+ & > table {
103
123
  & > tbody > tr > th {
104
124
  background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
105
125
  border-color: var(--ck-color-suggestion-marker-deletion-border-active);
@@ -117,26 +137,6 @@
117
137
  }
118
138
  }
119
139
 
120
- .ck-content .ck-widget.table > figcaption {
121
- &.ck-suggestion-marker-deletion {
122
- background-color: var(--ck-color-suggestion-widget-deletion-background);
123
- border: none;
124
-
125
- &.ck-suggestion-marker--active {
126
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
127
- }
128
- }
129
-
130
- &.ck-suggestion-marker-insertion {
131
- background-color: var(--ck-color-suggestion-widget-insertion-background);
132
- border: none;
133
-
134
- &.ck-suggestion-marker--active {
135
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
136
- }
137
- }
138
- }
139
-
140
140
  /*
141
141
  * We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
142
142
  * See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
@@ -61,7 +61,7 @@ With track-changes feature enabled, we need to distinguish various types of anno
61
61
  border-radius: 14px;
62
62
  vertical-align: text-bottom;
63
63
  margin: 0 5px;
64
- box-shadow: 0 0 0 1px #444;
64
+ box-shadow: 0 0 0 1px hsl(0, 0%, 27%);
65
65
  }
66
66
 
67
67
  /* Comments inside suggestion. */
package/theme/users.css CHANGED
@@ -77,8 +77,8 @@
77
77
  height: 15px;
78
78
  justify-content: center;
79
79
  align-items: center;
80
- background: white;
81
- border: 2px solid white;
80
+ background: var(--ck-color-base-background);
81
+ border: 2px solid var(--ck-color-base-background);
82
82
  border-radius: 50%;
83
83
  box-sizing: content-box;
84
84
 
@@ -90,7 +90,7 @@
90
90
 
91
91
  & .ck-user__icon {
92
92
  color: var(--ck-color-annotation-info);
93
- background: white;
93
+ background: var(--ck-color-base-background);
94
94
  width: 19px;
95
95
  height: 19px;
96
96
  max-width: 19px;