@ckeditor/ckeditor5-collaboration-core 34.0.0 → 35.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +2 -2
- package/lang/translations/af.po +33 -0
- package/lang/translations/ar.po +33 -0
- package/lang/translations/bg.po +33 -0
- package/lang/translations/bn.po +33 -0
- package/lang/translations/ca.po +33 -0
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/fi.po +33 -0
- package/lang/translations/fr.po +1 -1
- package/lang/translations/he.po +33 -0
- package/lang/translations/it.po +1 -1
- package/lang/translations/lt.po +33 -0
- package/lang/translations/lv.po +33 -0
- package/lang/translations/ms.po +33 -0
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +33 -0
- package/lang/translations/sv.po +33 -0
- package/lang/translations/th.po +33 -0
- package/lang/translations/ur.po +33 -0
- package/lang/translations/vi.po +33 -0
- package/package.json +2 -2
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +23 -0
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/trim-html.js +1 -1
- package/theme/integrations/codeblock.css +8 -0
package/LICENSE.md
CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
|
|
2
2
|
==========================
|
3
3
|
|
4
4
|
**CKEditor 5 collaboration core** (https://ckeditor.com/collaboration/)<br>
|
5
|
-
Copyright (c) 2003-2022, [CKSource
|
5
|
+
Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
6
6
|
|
7
7
|
CKEditor 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.
|
@@ -20,4 +20,4 @@ The following libraries are included in CKEditor 5 collaboration core under the
|
|
20
20
|
Trademarks
|
21
21
|
----------
|
22
22
|
|
23
|
-
**CKEditor** is a trademark of [CKSource
|
23
|
+
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/README.md
CHANGED
@@ -20,11 +20,11 @@ As a licensed CKEditor 5 collaboration features user you can report bugs and req
|
|
20
20
|
## License
|
21
21
|
|
22
22
|
**CKEditor 5 collaboration core**<br>
|
23
|
-
Copyright (c) 2003-2022, [CKSource
|
23
|
+
Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
24
24
|
|
25
25
|
CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
|
26
26
|
For more details about available licensing options please contact us at sales@cksource.com.
|
27
27
|
|
28
28
|
### Trademarks
|
29
29
|
|
30
|
-
**CKEditor** is a trademark of [CKSource
|
30
|
+
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Afrikaans (https://www.transifex.com/ckeditor/teams/11143/af/)\n"
|
16
|
+
"Language: af\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anoniem"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Ja"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Nee"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Is jy seker?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"
|
16
|
+
"Language: ar\n"
|
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
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "مجهول الهوية"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "نعم"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "لا"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "هل أنت متأكد؟"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
|
16
|
+
"Language: bg\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Анонимен"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Да"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Не"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Сигурни ли сте?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Bengali (https://www.transifex.com/ckeditor/teams/11143/bn/)\n"
|
16
|
+
"Language: bn\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "নামহীন"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "হ্যাঁ"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "না"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "আপনি কি নিশ্চিত?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Catalan (https://www.transifex.com/ckeditor/teams/11143/ca/)\n"
|
16
|
+
"Language: ca\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anònim"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Sí"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "No"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "N'estàs segur?"
|
package/lang/translations/el.po
CHANGED
package/lang/translations/es.po
CHANGED
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
|
16
16
|
"Language: es\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "A label for the anonymous user icon"
|
20
20
|
msgid "Anonymous"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Finnish (https://www.transifex.com/ckeditor/teams/11143/fi/)\n"
|
16
|
+
"Language: fi\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anonyymi"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Kyllä"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Ei"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Oletko varma?"
|
package/lang/translations/fr.po
CHANGED
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
|
16
16
|
"Language: fr\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "A label for the anonymous user icon"
|
20
20
|
msgid "Anonymous"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Hebrew (https://www.transifex.com/ckeditor/teams/11143/he/)\n"
|
16
|
+
"Language: he\n"
|
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
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "אנונימי"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "כן"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "לא"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "האם הנך בטוח/ה?"
|
package/lang/translations/it.po
CHANGED
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
|
16
16
|
"Language: it\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "A label for the anonymous user icon"
|
20
20
|
msgid "Anonymous"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Lithuanian (https://www.transifex.com/ckeditor/teams/11143/lt/)\n"
|
16
|
+
"Language: lt\n"
|
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
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anoniminis"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Taip"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Ne"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Ar esate tikri?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Latvian (https://www.transifex.com/ckeditor/teams/11143/lv/)\n"
|
16
|
+
"Language: lv\n"
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anonīms"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Jā"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Nē"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Vai esat pārliecināts?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Malay (https://www.transifex.com/ckeditor/teams/11143/ms/)\n"
|
16
|
+
"Language: ms\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Tanpa nama"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Ya"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Tidak"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Anda pasti?"
|
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
16
16
|
"Language: pt_BR\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "A label for the anonymous user icon"
|
20
20
|
msgid "Anonymous"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
|
16
|
+
"Language: pt\n"
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anónimo"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Sim"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Não"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Tem a certeza?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"
|
16
|
+
"Language: sv\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Anonym"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Ja"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Nej"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Är du säker?"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Thai (https://www.transifex.com/ckeditor/teams/11143/th/)\n"
|
16
|
+
"Language: th\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "ไม่ระบุตัวตน"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "ใช่"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "ไม่"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "แน่ใจหรือ"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
|
16
|
+
"Language: ur\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "بے نام"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "ہاں"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "ناں"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "واقعی؟"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Vietnamese (https://www.transifex.com/ckeditor/teams/11143/vi/)\n"
|
16
|
+
"Language: vi\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "A label for the anonymous user icon"
|
20
|
+
msgid "Anonymous"
|
21
|
+
msgstr "Ẩn danh"
|
22
|
+
|
23
|
+
msgctxt "The label for confirming an action."
|
24
|
+
msgid "Yes"
|
25
|
+
msgstr "Có"
|
26
|
+
|
27
|
+
msgctxt "The label for rejecting an action."
|
28
|
+
msgid "No"
|
29
|
+
msgstr "Không"
|
30
|
+
|
31
|
+
msgctxt "The label for confirming a dangerous action."
|
32
|
+
msgid "Are you sure?"
|
33
|
+
msgstr "Bạn có chắc chắn không?"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
3
|
-
"version": "
|
3
|
+
"version": "35.0.1",
|
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/)",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
],
|
29
29
|
"main": "src/index.js",
|
30
30
|
"dependencies": {
|
31
|
-
"ckeditor5": "^
|
31
|
+
"ckeditor5": "^35.0.1",
|
32
32
|
"date-fns": "^2.17.0"
|
33
33
|
}
|
34
34
|
}
|
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0xb7d4=['clearForceDisabled','get','noPermissions','no-permissions','addCommentThread','document:write','permissions-set-permissions-invalid-channel-id','switchReadOnly','Permissions','disableReadOnlyMode','context','find','comment:admin','commands','comment:write','enableReadOnlyMode','setPermissions','includes','plugins','CommentsOnly','editors','collaboration.channelId','setAdminPermissions','config','forceDisabled','CommentsRepository'];(function(_0x1621c6,_0xb7d478){const _0x481853=function(_0x32234e){while(--_0x32234e){_0x1621c6['push'](_0x1621c6['shift']());}};_0x481853(++_0xb7d478);}(_0xb7d4,0xc1));const _0x4818=function(_0x1621c6,_0xb7d478){_0x1621c6=_0x1621c6-0x0;let _0x481853=_0xb7d4[_0x1621c6];return _0x481853;};import{ContextPlugin as _0x498af3,Editor as _0x2c8923}from'ckeditor5/src/core';import{CKEditorError as _0x22c864}from'ckeditor5/src/utils';export default class i extends _0x498af3{static get['pluginName'](){return _0x4818('0x17');}[_0x4818('0x5')](_0x503de3,_0xe3b5c6){let _0x5a4862;if(_0xe3b5c6||(_0xe3b5c6=this['context']['config'][_0x4818('0x10')](_0x4818('0xa'))),this['context']['config'][_0x4818('0x10')](_0x4818('0xa'))==_0xe3b5c6?_0x5a4862=this[_0x4818('0x19')]:this['context'][_0x4818('0x9')]&&(_0x5a4862=this[_0x4818('0x19')]['editors'][_0x4818('0x0')](_0x3a7ae3=>_0x3a7ae3[_0x4818('0xc')][_0x4818('0x10')](_0x4818('0xa'))==_0xe3b5c6)),!_0x5a4862)throw new _0x22c864(_0x4818('0x15'),null);const _0x3b5508=_0x5a4862[_0x4818('0x7')],_0x5c7ecc=_0x5a4862 instanceof _0x2c8923,_0x305fe6=_0x3b5508['has'](_0x4818('0xe'))&&_0x3b5508[_0x4818('0x10')](_0x4818('0xe')),_0x3019d3=_0x3b5508['has'](_0x4818('0x8'))&&_0x3b5508['get']('CommentsOnly'),_0x53dec0=_0x503de3['includes'](_0x4818('0x14')),_0x3b98ac=_0x503de3[_0x4818('0x6')](_0x4818('0x1')),_0x80c95d=_0x503de3[_0x4818('0x6')](_0x4818('0x3'))||_0x3b98ac;(_0x3019d3&&(_0x3019d3['isEnabled']=!_0x53dec0&&_0x80c95d),_0x5c7ecc)&&(!(_0x53dec0||_0x80c95d&&_0x305fe6)?_0x5a4862[_0x4818('0x4')](_0x4818('0x12')):_0x5a4862[_0x4818('0x18')](_0x4818('0x12')));if(_0x305fe6){_0x305fe6[_0x4818('0x16')](!_0x80c95d,_0xe3b5c6),_0x305fe6[_0x4818('0xb')](_0x3b98ac,_0xe3b5c6);const _0xe063ee=_0x5c7ecc&&_0x5a4862[_0x4818('0x2')][_0x4818('0x10')](_0x4818('0x13'));_0xe063ee&&(_0x80c95d?_0xe063ee[_0x4818('0xf')](_0x4818('0x11')):_0xe063ee[_0x4818('0xd')](_0x4818('0x11')));}}}
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';
|
23
|
+
import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';import'../theme/integrations/codeblock.css';
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x3369=['ck\x20ck-user__name','name','ck-user','setTemplate','ck-user__avatar','ck-user__img','div','push','ck\x20ck-user__name\x20ck-user__name--hidden','avatar','url(\x27'];(function(_0x55d846,_0x33699c){const _0x2359f5=function(_0x1d1a91){while(--_0x1d1a91){_0x55d846['push'](_0x55d846['shift']());}};_0x2359f5(++_0x33699c);}(_0x3369,0x1cc));const _0x2359=function(_0x55d846,_0x33699c){_0x55d846=_0x55d846-0x0;let _0x2359f5=_0x3369[_0x55d846];return _0x2359f5;};import{View as _0xb3ff9}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class _ extends _0xb3ff9{constructor(_0x4805fc,_0x3a06fb){super(_0x4805fc),this['name']=_0x3a06fb[_0x2359('0x3')];const _0xa5eb9a=['ck',_0x2359('0x7')];_0x3a06fb['isAnonymous']&&_0xa5eb9a['push']('ck-user__anonymous'),_0x3a06fb[_0x2359('0x0')]&&_0xa5eb9a[_0x2359('0x9')](_0x2359('0x6')),this[_0x2359('0x5')]({'tag':_0x2359('0x8'),'attributes':{'class':['ck',_0x2359('0x4')],'data-user-id':_0x3a06fb['id']},'children':[{'tag':_0x2359('0x8'),'attributes':{'class':_0xa5eb9a,'style':{'background-image':_0x3a06fb[_0x2359('0x0')]?_0x2359('0x1')+_0x3a06fb['avatar']+'\x27)':''}}},{'tag':_0x2359('0x8'),'attributes':{'class':_0x3a06fb['avatar']?_0x2359('0xa'):_0x2359('0x2')},'children':[{'text':_0x3a06fb['initials']}]}]});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as
|
23
|
+
const _0x3949=['charAt','ck-user__bg-color--','_locale','licenseKey','Anonymous','getUser','avatar','_myId','users.colorsCount','users.anonymousUserId','users-add-duplicated-id','has','add','trial-license-key-reached-limit','users-me-already-defined','assign','decorate','config','color','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.','get','pluginName','name','Users','context','useAnonymousUser','licenseKeyTrial','ck-user__marker--','defineMe','_id','_lastColor','init','initials','trim','_addAnonymousUser','addUser','licenseKeyInvalid','users-me-missing-user','length','_getNextColor','isAnonymous','anonymous-user','_licenseKeyCheckInterval','licenseKeyValid','info','getBackgroundColorClass','ck-user__selection--','getSelectionClass','users-add-invalid-id','_isAnonymous','users','invalid-license-key'];(function(_0x23c064,_0x394909){const _0x228667=function(_0x502c5f){while(--_0x502c5f){_0x23c064['push'](_0x23c064['shift']());}};_0x228667(++_0x394909);}(_0x3949,0xfa));const _0x2286=function(_0x23c064,_0x394909){_0x23c064=_0x23c064-0x0;let _0x228667=_0x3949[_0x23c064];return _0x228667;};import{ContextPlugin as _0x38c781}from'ckeditor5/src/core';import{Collection as _0x367733,CKEditorError as _0x4298be}from'ckeditor5/src/utils';import _0x146cd3 from'./permissions';import{getTranslation as _0x3c0a95}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x38c781{static get[_0x2286('0x1f')](){return _0x2286('0x21');}static get['requires'](){return[_0x146cd3];}constructor(_0x1ec84e){super(_0x1ec84e),_0x1ec84e[_0x2286('0x1b')]['define'](_0x2286('0x13'),_0x2286('0x33')),_0x1ec84e['config']['define']('users.colorsCount',0x8),this['users']=new _0x367733(),this[_0x2286('0xc')]=_0x1ec84e['locale'],this['_licenseKeyCheckInterval']=null,this[_0x2286('0x28')]=0x0,this[_0x2286('0x11')]=null,this[_0x2286('0x1a')]('getOperationAuthor');}[_0x2286('0x29')](){const _0x35f902=this['context'];this[_0x2286('0xd')]=_0x35f902[_0x2286('0x1b')]['get']('licenseKey'),this[_0x2286('0x0')]=setInterval(()=>{let _0xde3af2;for(const _0x48832b in _0x35f902){const _0x4fb347=_0x35f902[_0x48832b];if(_0x2286('0x24')===_0x4fb347||'licenseKeyInvalid'===_0x4fb347||_0x2286('0x1')===_0x4fb347||'licenseKeyTrialLimit'==_0x4fb347){delete _0x35f902[_0x48832b],_0xde3af2=_0x4fb347;break;}}if(_0x2286('0x2e')===_0xde3af2)throw clearInterval(this[_0x2286('0x0')]),new _0x4298be(_0x2286('0x9'),null);if(_0x2286('0x24')===_0xde3af2&&console[_0x2286('0x2')](_0x2286('0x1d')),'licenseKeyTrialLimit'===_0xde3af2)throw clearInterval(this[_0x2286('0x0')]),new _0x4298be(_0x2286('0x17'),null);_0x2286('0x1')===_0xde3af2&&clearInterval(this[_0x2286('0x0')]);},0x3e8),this[_0x2286('0x2c')]();}get['me'](){return null==this[_0x2286('0x11')]?null:this['getUser'](this['_myId']);}[_0x2286('0x2d')](_0x163fde){if(!(_0x163fde=Object[_0x2286('0x19')]({},_0x163fde,{'color':this[_0x2286('0x31')]()}))['id']||'string'!=typeof _0x163fde['id'])throw new _0x4298be(_0x2286('0x6'));if(this[_0x2286('0x8')][_0x2286('0x15')](_0x163fde['id']))throw new _0x4298be(_0x2286('0x14'),null,{'id':_0x163fde['id']});_0x163fde['name']=function(_0x42c45e,_0x51fb44=''){return''==(_0x51fb44=_0x51fb44[_0x2286('0x2b')]())?_0x3c0a95(_0x42c45e,_0x2286('0xe')):_0x51fb44;}(this['_locale'],_0x163fde[_0x2286('0x20')]);const _0x36ae9f=new u(_0x163fde);return this[_0x2286('0x8')][_0x2286('0x16')](_0x36ae9f),_0x36ae9f;}[_0x2286('0xf')](_0x16ec68){return this[_0x2286('0x8')]['get'](_0x16ec68);}[_0x2286('0x23')](){const _0x9a7e6f=this['context'][_0x2286('0x1b')][_0x2286('0x1e')](_0x2286('0x13'));this['_myId']||this[_0x2286('0x26')](_0x9a7e6f);}[_0x2286('0x26')](_0x36bd39){if(this[_0x2286('0x11')])throw new _0x4298be(_0x2286('0x18'),null);if(!this[_0x2286('0xf')](_0x36bd39))throw new _0x4298be(_0x2286('0x2f'),null);this['_myId']=_0x36bd39;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x2286('0x31')](){const _0x3aeae7=this[_0x2286('0x22')][_0x2286('0x1b')][_0x2286('0x1e')](_0x2286('0x12'));return this[_0x2286('0x28')]>=_0x3aeae7&&(this[_0x2286('0x28')]=0x0),new h(this[_0x2286('0x28')]++);}['_addAnonymousUser'](){const _0x16cf38=this['context']['config'][_0x2286('0x1e')](_0x2286('0x13'));this[_0x2286('0x2d')]({'id':_0x16cf38,'name':_0x3c0a95(this[_0x2286('0xc')],_0x2286('0xe'))})[_0x2286('0x7')]=!0x0;}}class u{constructor(_0x344b55){this['id']=_0x344b55['id'],this[_0x2286('0x1c')]=_0x344b55[_0x2286('0x1c')],this[_0x2286('0x20')]=_0x344b55[_0x2286('0x20')],this['avatar']=_0x344b55[_0x2286('0x10')],this[_0x2286('0x7')]=!0x1;}get[_0x2286('0x32')](){return this[_0x2286('0x7')];}get[_0x2286('0x2a')](){const _0x213194=this[_0x2286('0x20')]['split']('\x20');return 0x1===_0x213194[_0x2286('0x30')]?this['_getInitial'](_0x213194[0x0]):this['_getInitial'](_0x213194[0x0])+this['_getInitial'](_0x213194[_0x213194[_0x2286('0x30')]-0x1]);}['_getInitial'](_0x4290da){return _0x4290da[_0x2286('0xa')](0x0)['toUpperCase']();}}class h{constructor(_0x38c929){this['_id']=_0x38c929;}[_0x2286('0x3')](){return _0x2286('0xb')+this[_0x2286('0x27')];}[_0x2286('0x5')](){return _0x2286('0x4')+this[_0x2286('0x27')];}['getMarkerClass'](){return _0x2286('0x25')+this['_id'];}}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
export function getTranslation(_0x1d7f07,_0x132814){const t=_0x1d7f07['t'];switch(_0x132814){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
var
|
23
|
+
var _0x52e7=['isConfirm','message','confirmView','cancel','locale','deregisterChild','fire','element','once','_removeConfirm','destroy','submit','render','set'];(function(_0x1168da,_0x52e759){var _0x168de6=function(_0xebe8bb){while(--_0xebe8bb){_0x1168da['push'](_0x1168da['shift']());}};_0x168de6(++_0x52e759);}(_0x52e7,0xad));var _0x168d=function(_0x1168da,_0x52e759){_0x1168da=_0x1168da-0x0;var _0x168de6=_0x52e7[_0x1168da];return _0x168de6;};import _0x19173a from'./confirmview';export default{'showConfirm'(_0x3d2653,_0x495220){return this['confirmView']=new _0x19173a(this[_0x168d('0xd')]),this[_0x168d('0xb')][_0x168d('0x7')](),this[_0x168d('0xb')][_0x168d('0xa')]=_0x3d2653,this[_0x168d('0xb')][_0x168d('0x3')]('cancel',()=>{this[_0x168d('0x4')]();}),this[_0x168d('0xb')]['once'](_0x168d('0x6'),()=>{this['_removeConfirm']();}),_0x495220['appendChild'](this[_0x168d('0xb')][_0x168d('0x2')]),this['registerChild'](this['confirmView']),this[_0x168d('0x8')]('isConfirm',!0x0),new Promise(_0x3c8ad8=>this[_0x168d('0xb')]['on'](_0x168d('0x6'),_0x3c8ad8));},'cancelConfirm'(){this['isConfirm']&&this[_0x168d('0xb')][_0x168d('0x1')](_0x168d('0xc'));},'_removeConfirm'(){this[_0x168d('0xb')]['element']['remove'](),this[_0x168d('0x0')](this[_0x168d('0xb')]),this[_0x168d('0x9')]=!0x1,this[_0x168d('0xb')][_0x168d('0x5')](),delete this[_0x168d('0xb')];}};
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{View as
|
23
|
+
const _0x1ed4=['bindTemplate','label','set','execute','submitView','check','cancelView','Are\x20you\x20sure?','_createButtonView','ck-thread__remove-confirm-actions','icon','div','ck-thread__remove-confirm','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-','message','extendTemplate'];(function(_0x5d69a9,_0x1ed49b){const _0xc382eb=function(_0x2830ef){while(--_0x2830ef){_0x5d69a9['push'](_0x5d69a9['shift']());}};_0xc382eb(++_0x1ed49b);}(_0x1ed4,0x7c));const _0xc382=function(_0x5d69a9,_0x1ed49b){_0x5d69a9=_0x5d69a9-0x0;let _0xc382eb=_0x1ed4[_0x5d69a9];return _0xc382eb;};import{View as _0x387314,ButtonView as _0x1669d8}from'ckeditor5/src/ui';import{icons as _0x29f0d3}from'ckeditor5/src/core';import{getTranslation as _0x76427f}from'./common-translations';export default class m extends _0x387314{constructor(_0x6daf4c){super(_0x6daf4c);const _0x29d33e=this[_0xc382('0xc')];this[_0xc382('0x10')]=this['_createButtonView'](_0x6daf4c,_0x76427f(_0x6daf4c,'Yes'),_0x29f0d3[_0xc382('0x0')],'submit'),this[_0xc382('0x1')]=this[_0xc382('0x3')](_0x6daf4c,_0x76427f(_0x6daf4c,'No'),_0x29f0d3['cancel'],'cancel'),this[_0xc382('0xe')](_0xc382('0xa'),_0x76427f(_0x6daf4c,_0xc382('0x2'))),this['setTemplate']({'tag':_0xc382('0x6'),'attributes':{'class':[_0xc382('0x7')]},'children':[{'tag':_0xc382('0x6'),'attributes':{'class':_0xc382('0x8')},'children':[{'tag':'p','children':[{'text':_0x29d33e['to'](_0xc382('0xa'))}]},{'tag':_0xc382('0x6'),'attributes':{'class':_0xc382('0x4')},'children':[this[_0xc382('0x10')],this['cancelView']]}]}]});}[_0xc382('0x3')](_0x50b638,_0x3e9bc7,_0xbc048f,_0x3d9435){const _0x360a4f=new _0x1669d8(_0x50b638);return _0x360a4f[_0xc382('0xd')]=_0x3e9bc7,_0x360a4f[_0xc382('0x5')]=_0xbc048f,_0x360a4f[_0xc382('0xb')]({'attributes':{'class':_0xc382('0x9')+_0x3d9435}}),_0x360a4f['on'](_0xc382('0xf'),()=>this['fire'](_0x3d9435)),_0x360a4f;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x227f=['invalid-date-time-format','string','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','function','\x27Today\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma'];(function(_0x23596e,_0x227f0d){const _0x4bb7b9=function(_0x273b4c){while(--_0x273b4c){_0x23596e['push'](_0x23596e['shift']());}};_0x4bb7b9(++_0x227f0d);}(_0x227f,0xf8));const _0x4bb7=function(_0x23596e,_0x227f0d){_0x23596e=_0x23596e-0x0;let _0x4bb7b9=_0x227f[_0x23596e];return _0x4bb7b9;};import _0x61e032 from'date-fns/format';import _0x1f75d8 from'date-fns/parseISO';import _0x29bc70 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2bac16}from'ckeditor5/src/utils';export default function E(_0x2c76b6={}){if(void 0x0!==_0x2c76b6['dateTimeFormat']&&_0x4bb7('0x5')!=typeof _0x2c76b6[_0x4bb7('0x3')])throw new _0x2bac16(_0x4bb7('0x0'));return _0x931eb4=>{const _0x2d9b8e=_0x4bb7('0x1')==typeof _0x931eb4?_0x1f75d8(_0x931eb4):_0x931eb4,_0x5e666d=new Date(),_0x218ead=_0x29bc70(_0x5e666d,_0x2d9b8e);return _0x2c76b6['dateTimeFormat']?_0x2c76b6[_0x4bb7('0x3')](_0x2d9b8e):_0x61e032(_0x2d9b8e,0x0===_0x218ead?_0x4bb7('0x6'):0x1===_0x218ead?_0x4bb7('0x4'):_0x218ead<0x7?_0x4bb7('0x2'):_0x4bb7('0x7'));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x1788=['view','name','values','domConverter','markerNameToElements','mapViewToDom'];(function(_0xa22000,_0x17888e){const _0x37139e=function(_0x36c107){while(--_0x36c107){_0xa22000['push'](_0xa22000['shift']());}};_0x37139e(++_0x17888e);}(_0x1788,0x8e));const _0x3713=function(_0xa22000,_0x17888e){_0xa22000=_0xa22000-0x0;let _0x37139e=_0x1788[_0xa22000];return _0x37139e;};import{first as _0x5668cc}from'ckeditor5/src/utils';export default function x(_0x353cd5,_0x798343){const _0x448a9f=_0x353cd5['mapper'][_0x3713('0x0')](_0x798343[_0x3713('0x3')]),_0x40070b=_0x5668cc(_0x448a9f[_0x3713('0x4')]());return _0x353cd5[_0x3713('0x2')][_0x3713('0x5')][_0x3713('0x1')](_0x40070b);}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2333=['split','join','replace','push','startsWith','indexOf','match','pop','slice','substring','length'];(function(_0x2d201a,_0x2333de){const _0x1b3c03=function(_0x5af24b){while(--_0x5af24b){_0x2d201a['push'](_0x2d201a['shift']());}};_0x1b3c03(++_0x2333de);}(_0x2333,0x121));const _0x1b3c=function(_0x2d201a,_0x2333de){_0x2d201a=_0x2d201a-0x0;let _0x1b3c03=_0x2333[_0x2d201a];return _0x1b3c03;};export default function g(_0x20deef,{limit:_0x33ad1f,suffix:_0x391958='...'}){const _0x4ac284=[];let _0x1e19d5=0x0;const _0x13df31=_0x20deef[_0x1b3c('0xa')](/</g,'\x0a<')[_0x1b3c('0xa')](/>/g,'>\x0a')[_0x1b3c('0xa')](/^\n/g,'')[_0x1b3c('0xa')](/\n$/g,'')[_0x1b3c('0x8')]('\x0a');for(let _0xc2481d=0x0;_0xc2481d<_0x13df31[_0x1b3c('0x7')];_0xc2481d++){let _0x45c175=_0x13df31[_0xc2481d];const _0x2dcfdd=z(_0x45c175);if(_0x45c175[_0x1b3c('0x1')]('<')){if(_0x1e19d5>=_0x33ad1f){const _0x4795e5=_0x45c175['match'](/[a-zA-Z]+/)[0x0];_0x45c175['startsWith']('</')?(_0x4ac284['length']&&(_0x45c175=''),_0x4ac284[_0x1b3c('0x4')]()):(_0x4ac284['push'](_0x4795e5),_0x45c175='');}}else{if(_0x1e19d5>=_0x33ad1f)_0x45c175='';else{if(_0x1e19d5+_0x2dcfdd[_0x1b3c('0x7')]>=_0x33ad1f){let _0x5191bc=_0x33ad1f-_0x1e19d5;if('\x20'===_0x2dcfdd[_0x5191bc-0x1])_0x5191bc--;else{const _0x4f1fd0=_0x2dcfdd[_0x1b3c('0x5')](_0x5191bc)[_0x1b3c('0x2')]('\x20');-0x1!==_0x4f1fd0?_0x5191bc+=_0x4f1fd0:_0x5191bc=_0x45c175[_0x1b3c('0x7')];}_0x45c175=_0x2dcfdd[_0x1b3c('0x5')](0x0,_0x5191bc)[_0x1b3c('0x9')]('')+_0x391958,_0x1e19d5=_0x33ad1f;}else _0x1e19d5+=_0x2dcfdd[_0x1b3c('0x7')];}}_0x13df31[_0xc2481d]=_0x45c175;}return _0x13df31[_0x1b3c('0x9')]('\x0a')[_0x1b3c('0xa')](/\n/g,'');}function z(_0x487af0){const _0x24b13b=[];for(let _0x3677cd=0x0;_0x3677cd<_0x487af0['length'];_0x3677cd++){const _0x4418db=_0x487af0[_0x1b3c('0x6')](_0x3677cd)[_0x1b3c('0x3')](/^&[a-z0-9#]+;/);if(_0x4418db){const _0xc9e45d=_0x4418db[0x0];_0x24b13b[_0x1b3c('0x0')](_0xc9e45d),_0x3677cd+=_0xc9e45d[_0x1b3c('0x7')]-0x1;}else _0x24b13b['push'](_0x487af0[_0x3677cd]);}return _0x24b13b;}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
.ck-content pre > code.ck-suggestion-marker-formatBlock {
|
2
|
+
display: block;
|
3
|
+
box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
|
4
|
+
|
5
|
+
&.ck-suggestion-marker--active {
|
6
|
+
box-shadow: -5px 0 0 0 hsl(0deg 0% 93%), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
|
7
|
+
}
|
8
|
+
}
|