@ckeditor/ckeditor5-collaboration-core 37.0.1 → 38.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +2 -2
- package/src/collaborationoperation.d.ts +3 -2
- package/src/index.d.ts +1 -1
- package/src/permissions.d.ts +4 -4
- package/src/permissions.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- 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/hashobject.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/lang/translations/af.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Afrikaans (https://
|
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
18
|
|
package/lang/translations/ar.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Arabic (https://
|
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
18
|
|
package/lang/translations/az.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Azerbaijani (https://
|
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
18
|
|
package/lang/translations/bg.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Bulgarian (https://
|
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
18
|
|
package/lang/translations/bn.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Bengali (https://
|
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
18
|
|
package/lang/translations/bs.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Bosnian (https://
|
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
18
|
|
package/lang/translations/ca.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Catalan (https://
|
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
18
|
|
package/lang/translations/cs.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Czech (https://
|
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
18
|
|
package/lang/translations/da.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Danish (https://
|
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
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: German (Switzerland) (https://
|
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
18
|
|
package/lang/translations/de.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: German (https://
|
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
18
|
|
package/lang/translations/el.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Greek (https://
|
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
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: English (Australia) (https://
|
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
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Spanish (Colombia) (https://
|
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
18
|
|
package/lang/translations/es.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Spanish (https://
|
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
18
|
|
package/lang/translations/et.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Estonian (https://
|
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
18
|
|
package/lang/translations/fa.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Persian (https://
|
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
18
|
|
package/lang/translations/fi.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Finnish (https://
|
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
18
|
|
package/lang/translations/fr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: French (https://
|
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
18
|
|
package/lang/translations/gl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Galician (https://
|
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
18
|
|
package/lang/translations/he.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Hebrew (https://
|
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
18
|
|
package/lang/translations/hi.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Hindi (https://
|
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
18
|
|
package/lang/translations/hr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Croatian (https://
|
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
18
|
|
package/lang/translations/hu.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Hungarian (https://
|
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
18
|
|
package/lang/translations/id.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Indonesian (https://
|
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
18
|
|
package/lang/translations/it.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Italian (https://
|
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
18
|
|
package/lang/translations/ja.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Japanese (https://
|
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
18
|
|
package/lang/translations/jv.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Javanese (https://
|
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
18
|
|
package/lang/translations/ko.po
CHANGED
package/lang/translations/lt.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Lithuanian (https://
|
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
18
|
|
package/lang/translations/lv.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Latvian (https://
|
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
18
|
|
package/lang/translations/ms.po
CHANGED
package/lang/translations/nl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Dutch (https://
|
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
18
|
|
package/lang/translations/no.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Norwegian (https://
|
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
18
|
|
package/lang/translations/pl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Polish (https://
|
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
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Portuguese (Brazil) (https://
|
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
18
|
|
package/lang/translations/pt.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Portuguese (https://
|
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
18
|
|
package/lang/translations/ro.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Romanian (https://
|
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
18
|
|
package/lang/translations/ru.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Russian (https://
|
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
18
|
|
package/lang/translations/sk.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Slovak (https://
|
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
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Serbian (Latin) (https://
|
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
18
|
|
package/lang/translations/sr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Serbian (https://
|
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
18
|
|
package/lang/translations/sv.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Swedish (https://
|
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
18
|
|
package/lang/translations/th.po
CHANGED
package/lang/translations/tk.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Turkmen (https://
|
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
18
|
|
package/lang/translations/tr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Turkish (https://
|
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
18
|
|
package/lang/translations/tt.po
CHANGED
package/lang/translations/ug.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Uyghur (https://
|
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
18
|
|
package/lang/translations/uk.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Ukrainian (https://
|
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
18
|
|
package/lang/translations/ur.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Urdu (https://
|
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
18
|
|
package/lang/translations/vi.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Vietnamese (https://
|
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
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Chinese (China) (https://
|
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
18
|
|
package/lang/translations/zh.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Chinese (Taiwan) (https://
|
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
18
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
3
|
-
"version": "
|
3
|
+
"version": "38.0.0-rc.0",
|
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": "^37.0
|
31
|
+
"ckeditor5": "^37.1.0",
|
32
32
|
"date-fns": "^2.17.0"
|
33
33
|
},
|
34
34
|
"files": [
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @module collaboration-core/collaborationoperation
|
3
3
|
* @publicApi
|
4
4
|
*/
|
5
|
-
import type { Operation,
|
5
|
+
import type { Operation, InsertOperation, MergeOperation, MoveOperation, SplitOperation, MarkerOperation, RootOperation, RootAttributeOperation } from 'ckeditor5/src/engine';
|
6
6
|
/**
|
7
7
|
* Extends the {@link module:engine/model/operation/operation operation}.
|
8
8
|
*/
|
@@ -13,7 +13,6 @@ export default interface CollaborationOperation extends Operation {
|
|
13
13
|
createdAt?: Date;
|
14
14
|
wasUndone?: boolean;
|
15
15
|
affectsData?: Record<string, any>;
|
16
|
-
root?: DocumentFragment;
|
17
16
|
clone(): CollaborationOperation;
|
18
17
|
}
|
19
18
|
export type InsertCollaborationOperation = CollaborationOperation & InsertOperation;
|
@@ -21,3 +20,5 @@ export type MoveCollaborationOperation = CollaborationOperation & MoveOperation;
|
|
21
20
|
export type MergeCollaborationOperation = CollaborationOperation & MergeOperation;
|
22
21
|
export type SplitCollaborationOperation = CollaborationOperation & SplitOperation;
|
23
22
|
export type MarkerCollaborationOperation = CollaborationOperation & MarkerOperation;
|
23
|
+
export type RootCollaborationOperation = CollaborationOperation & RootOperation;
|
24
|
+
export type RootAttributeCollaborationOperation = CollaborationOperation & RootAttributeOperation;
|
package/src/index.d.ts
CHANGED
@@ -6,7 +6,7 @@ export { default as getMarkerDomElement, getAllMarkersDomElementsSorted } from '
|
|
6
6
|
export { default as trimHtml } from './utils/trim-html';
|
7
7
|
export { default as ConfirmMixin } from './utils/confirmmixin';
|
8
8
|
export { default as hashObject } from './utils/hashobject';
|
9
|
-
export { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation } from './collaborationoperation';
|
9
|
+
export { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation';
|
10
10
|
export { default as CollaborationHistory } from './collaborationhistory';
|
11
11
|
export type { LocaleConfig, RealTimeCollaborationConfig } from './config';
|
12
12
|
export * from './suggestionstyles';
|
package/src/permissions.d.ts
CHANGED
@@ -9,14 +9,14 @@ import { ContextPlugin } from 'ckeditor5/src/core';
|
|
9
9
|
* Following is the list of all defined permissions:
|
10
10
|
*
|
11
11
|
* * `document:write` - modify the content of the document,
|
12
|
-
* * `comment:write` - create, edit and remove own comments and create and remove own comment threads,
|
13
|
-
* * `comment:admin` - remove comment threads created by other users (enables `comment:write`).
|
14
|
-
* * `comment:modify_all` - edit and remove any comments created by
|
12
|
+
* * `comment:write` - create, edit and remove own comments and create, resolve and remove own comment threads,
|
13
|
+
* * `comment:admin` - resolve and remove comment threads created by other users (enables `comment:write`).
|
14
|
+
* * `comment:modify_all` - edit and remove any comments created by other users.
|
15
15
|
*
|
16
16
|
* For example, a user with `comment:write` permission but with no `document:write` permission will be able to add
|
17
17
|
* comments but will not be able to change the document data (comments-only mode).
|
18
18
|
*
|
19
|
-
* By default,
|
19
|
+
* By default, the following permissions are set: `document:write`, `comment:write`, `comment:admin`.
|
20
20
|
*
|
21
21
|
* Permissions are handled separately for each channel id (for each editor instance and context instance).
|
22
22
|
*
|
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x3de6=['disableReadOnlyMode','addCommentThread','noPermissions','no-permissions','enableReadOnlyMode','isEnabled','document:write','config','editors','pluginName','CommentsOnly','get','setPermissions','commands','includes','comment:modify_all','permissions-set-permissions-invalid-channel-id','Permissions','comment:admin','collaboration.channelId','has','find','context'];(function(_0x3973ac,_0x3de6cf){const _0x49ba46=function(_0x2e178d){while(--_0x2e178d){_0x3973ac['push'](_0x3973ac['shift']());}};_0x49ba46(++_0x3de6cf);}(_0x3de6,0x155));const _0x49ba=function(_0x3973ac,_0x3de6cf){_0x3973ac=_0x3973ac-0x0;let _0x49ba46=_0x3de6[_0x3973ac];return _0x49ba46;};import{ContextPlugin as _0x3a28ab,Editor as _0x34ee62}from'ckeditor5/src/core';import{CKEditorError as _0x5761b2}from'ckeditor5/src/utils';export default class n extends _0x3a28ab{static get[_0x49ba('0xd')](){return _0x49ba('0x15');}['setPermissions'](_0x56ac71,_0x1c9b43){let _0x4eb357;if(_0x1c9b43||(_0x1c9b43=this[_0x49ba('0x3')][_0x49ba('0xb')][_0x49ba('0xf')](_0x49ba('0x0'))),this[_0x49ba('0x3')][_0x49ba('0xb')]['get'](_0x49ba('0x0'))==_0x1c9b43?_0x4eb357=this[_0x49ba('0x3')]:_0x49ba('0xc')in this[_0x49ba('0x3')]&&this[_0x49ba('0x3')][_0x49ba('0xc')]&&(_0x4eb357=this[_0x49ba('0x3')][_0x49ba('0xc')][_0x49ba('0x2')](_0x169b71=>_0x169b71[_0x49ba('0xb')][_0x49ba('0xf')](_0x49ba('0x0'))==_0x1c9b43)),!_0x4eb357)throw new _0x5761b2(_0x49ba('0x14'),null);const _0x46f0df=_0x4eb357['plugins'],_0x11a162=_0x46f0df['has']('CommentsRepository')?_0x46f0df[_0x49ba('0xf')]('CommentsRepository'):void 0x0,_0x4be1ce=_0x46f0df[_0x49ba('0x1')](_0x49ba('0xe'))&&_0x46f0df[_0x49ba('0xf')]('CommentsOnly'),_0x242686=_0x56ac71[_0x49ba('0x12')](_0x49ba('0xa')),_0x17d884=_0x56ac71[_0x49ba('0x12')](_0x49ba('0x13')),_0x521fe3=_0x56ac71['includes'](_0x49ba('0x16')),_0x47f2d7=_0x56ac71[_0x49ba('0x12')]('comment:write'),_0x4f3a49=_0x47f2d7||_0x521fe3,_0x4eeda7=_0x4f3a49||_0x17d884;(_0x4be1ce&&(_0x4be1ce[_0x49ba('0x9')]=!_0x242686&&_0x4eeda7),_0x4eb357 instanceof _0x34ee62)&&(!(_0x242686||_0x4eeda7&&_0x11a162)?_0x4eb357[_0x49ba('0x8')](_0x49ba('0x7')):_0x4eb357[_0x49ba('0x4')]('no-permissions'));if(_0x11a162){_0x11a162[_0x49ba('0x10')]({'admin':_0x521fe3,'modifyAll':_0x17d884,'write':_0x47f2d7},_0x1c9b43);const _0x145c32=_0x4eb357 instanceof _0x34ee62&&_0x4eb357[_0x49ba('0x11')]['get'](_0x49ba('0x5'));_0x145c32&&(_0x4f3a49?_0x145c32['clearForceDisabled'](_0x49ba('0x6')):_0x145c32['forceDisabled'](_0x49ba('0x6')));}}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2f1f=['ck-user__notification','div','push','avatar','extendTemplate','content','ck-user__avatar','ck-user__img','name','isAnonymous','notificationView','ck-user','ck-user__anonymous','setTemplate','ck-user__icon','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','initials'];(function(_0x51011b,_0x2f1fff){const _0x459086=function(_0x319518){while(--_0x319518){_0x51011b['push'](_0x51011b['shift']());}};_0x459086(++_0x2f1fff);}(_0x2f1f,0x1b8));const _0x4590=function(_0x51011b,_0x2f1fff){_0x51011b=_0x51011b-0x0;let _0x459086=_0x2f1f[_0x51011b];return _0x459086;};import{View as _0x4bd1da,IconView as _0x27430a}from'ckeditor5/src/ui';import _0x315d23 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class $ extends _0x4bd1da{constructor(_0x54d770,_0x45dcee,_0x1cdfd8){super(_0x54d770),this['name']=_0x45dcee[_0x4590('0x0')],this[_0x4590('0x2')]=null;const _0x30087c=['ck',_0x4590('0x11')];if(_0x45dcee[_0x4590('0x1')]&&_0x30087c['push'](_0x4590('0x4')),_0x45dcee['avatar']&&_0x30087c[_0x4590('0xc')](_0x4590('0x10')),_0x1cdfd8){const _0x2242b7=new _0x27430a();_0x2242b7[_0x4590('0xe')]({'attributes':{'class':[_0x4590('0x6')]}}),_0x2242b7[_0x4590('0xf')]=_0x315d23,this[_0x4590('0x2')]={'tag':'div','attributes':{'class':['ck',_0x4590('0xa')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1cdfd8},'children':[_0x2242b7]};}const _0x5cfb31=[{'tag':_0x4590('0xb'),'attributes':{'class':_0x30087c,'style':{'background-image':_0x45dcee['avatar']?'url(\x27'+_0x45dcee[_0x4590('0xd')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x45dcee[_0x4590('0xd')]?_0x4590('0x8'):_0x4590('0x7')},'children':[{'text':_0x45dcee[_0x4590('0x9')]}]}];this[_0x4590('0x2')]&&_0x5cfb31[_0x4590('0xc')](this[_0x4590('0x2')]),this[_0x4590('0x5')]({'tag':_0x4590('0xb'),'attributes':{'class':['ck',_0x4590('0x3')],'data-user-id':_0x45dcee['id']},'children':_0x5cfb31});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x5255=['users-me-missing-user','users.colorsCount','Users','useAnonymousUser','trial-license-key-reached-limit-time','avatar','licenseKey','_locale','define','trial-license-key-reached-limit-changes','length','_licenseKeyCheckInterval','licenseKeyTrialLimit:revisions','ck-user__marker--','getOperationAuthor','config','defineMe','getUser','includes','users-me-already-defined','licenseKeyInvalid','destroy','users','decorate','_addAnonymousUser','add','licenseKeyTrialLimit:time','getSelectionClass','addUser','initials','has','_getNextColor','_isAnonymous','name','split','color','toUpperCase','string','users.anonymousUserId','info','ck-user__selection--','isAnonymous','requires','licenseKeyTrial','_getInitial','Anonymous','pluginName','users-add-invalid-id','licenseKeyTrialLimit:operations','locale','trial-license-key-reached-limit-revisions','_myId','_lastColor','trim','init','invalid-license-key','licenseKeyValid','context','_id','get'];(function(_0x54b057,_0x525507){const _0x3fc4c5=function(_0x33971e){while(--_0x33971e){_0x54b057['push'](_0x54b057['shift']());}};_0x3fc4c5(++_0x525507);}(_0x5255,0x1c8));const _0x3fc4=function(_0x54b057,_0x525507){_0x54b057=_0x54b057-0x0;let _0x3fc4c5=_0x5255[_0x54b057];return _0x3fc4c5;};import{ContextPlugin as _0x35b621}from'ckeditor5/src/core';import{Collection as _0x1fedd9,CKEditorError as _0x5c2fce}from'ckeditor5/src/utils';import _0x24da00 from'./permissions';import{getTranslation as _0x2bc31b}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x35b621{static get[_0x3fc4('0xa')](){return _0x3fc4('0x1a');}static get[_0x3fc4('0x6')](){return[_0x24da00];}constructor(_0x5dbf7c){super(_0x5dbf7c),this[_0x3fc4('0x15')]['config']['define'](_0x3fc4('0x2'),'anonymous-user'),this[_0x3fc4('0x15')]['config'][_0x3fc4('0x20')](_0x3fc4('0x19'),0x8),this[_0x3fc4('0x2e')]=new _0x1fedd9(),this['_locale']=_0x5dbf7c[_0x3fc4('0xd')],this[_0x3fc4('0x23')]=null,this[_0x3fc4('0x10')]=0x0,this[_0x3fc4('0xf')]=null,this[_0x3fc4('0x2f')]('getOperationAuthor');}[_0x3fc4('0x12')](){const _0x3b4ddf=this[_0x3fc4('0x15')];this[_0x3fc4('0x1e')]=_0x3b4ddf[_0x3fc4('0x27')]['get'](_0x3fc4('0x1e'));const _0x29b4e2=[_0x3fc4('0x7'),_0x3fc4('0x2c'),_0x3fc4('0x14'),_0x3fc4('0xc'),'licenseKeyTrialLimit:time',_0x3fc4('0x24')];this[_0x3fc4('0x23')]=setInterval(()=>{let _0x23c87c;for(const _0x4d9834 in _0x3b4ddf){const _0x48fdad=_0x3b4ddf[_0x4d9834];if(_0x29b4e2[_0x3fc4('0x2a')](_0x48fdad)){delete _0x3b4ddf[_0x4d9834],_0x23c87c=_0x48fdad;break;}}if(_0x3fc4('0x2c')===_0x23c87c)throw clearInterval(this[_0x3fc4('0x23')]),new _0x5c2fce(_0x3fc4('0x13'),null);if(_0x3fc4('0x7')===_0x23c87c&&console[_0x3fc4('0x3')]('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.'),_0x3fc4('0xc')===_0x23c87c)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5c2fce(_0x3fc4('0x21'),null);if(_0x3fc4('0x32')===_0x23c87c)throw clearInterval(this[_0x3fc4('0x23')]),new _0x5c2fce(_0x3fc4('0x1c'),null);if(_0x3fc4('0x24')===_0x23c87c)throw clearInterval(this[_0x3fc4('0x23')]),new _0x5c2fce(_0x3fc4('0xe'),null);_0x3fc4('0x14')===_0x23c87c&&clearInterval(this[_0x3fc4('0x23')]);},0x3e8),this[_0x3fc4('0x30')]();}get['me'](){return null==this[_0x3fc4('0xf')]?null:this[_0x3fc4('0x29')](this[_0x3fc4('0xf')]);}[_0x3fc4('0x34')]({id:_0x4cb61d,name:_0x5163c0,..._0x5d46f1}){if(!_0x4cb61d||_0x3fc4('0x1')!=typeof _0x4cb61d)throw new _0x5c2fce(_0x3fc4('0xb'));if(this[_0x3fc4('0x2e')][_0x3fc4('0x36')](_0x4cb61d))throw new _0x5c2fce('users-add-duplicated-id',null,{'id':_0x4cb61d});const _0x3a80ca={..._0x5d46f1,'id':_0x4cb61d,'name':a(this[_0x3fc4('0x1f')],_0x5163c0),'color':this[_0x3fc4('0x37')]()};_0x3a80ca[_0x3fc4('0x39')]=a(this['_locale'],_0x3a80ca[_0x3fc4('0x39')]);const _0x49857f=new User(_0x3a80ca);return this[_0x3fc4('0x2e')][_0x3fc4('0x31')](_0x49857f),_0x49857f;}['getUser'](_0x59bbed){return this[_0x3fc4('0x2e')][_0x3fc4('0x17')](_0x59bbed);}[_0x3fc4('0x1b')](){const _0xb69f5c=this['context'][_0x3fc4('0x27')][_0x3fc4('0x17')](_0x3fc4('0x2'));this[_0x3fc4('0xf')]||this[_0x3fc4('0x28')](_0xb69f5c);}[_0x3fc4('0x28')](_0x62e37){if(this['_myId'])throw new _0x5c2fce(_0x3fc4('0x2b'),null);if(!this['getUser'](_0x62e37))throw new _0x5c2fce(_0x3fc4('0x18'),null);this[_0x3fc4('0xf')]=_0x62e37;}[_0x3fc4('0x26')](){return this['me'];}['destroy'](){super[_0x3fc4('0x2d')](),clearInterval(this[_0x3fc4('0x23')]);}[_0x3fc4('0x37')](){const _0x4c1566=this[_0x3fc4('0x15')][_0x3fc4('0x27')][_0x3fc4('0x17')](_0x3fc4('0x19'));return this[_0x3fc4('0x10')]>=_0x4c1566&&(this[_0x3fc4('0x10')]=0x0),new u(this[_0x3fc4('0x10')]++);}[_0x3fc4('0x30')](){const _0x139fb9=this['context'][_0x3fc4('0x27')]['get'](_0x3fc4('0x2'));this[_0x3fc4('0x34')]({'id':_0x139fb9,'name':_0x2bc31b(this[_0x3fc4('0x1f')],_0x3fc4('0x9'))})[_0x3fc4('0x38')]=!0x0;}}export class User{constructor(_0x3db1cc){this['id']=_0x3db1cc['id'],this[_0x3fc4('0x3b')]=_0x3db1cc[_0x3fc4('0x3b')],this[_0x3fc4('0x39')]=_0x3db1cc[_0x3fc4('0x39')],this[_0x3fc4('0x1d')]=_0x3db1cc[_0x3fc4('0x1d')],this[_0x3fc4('0x38')]=!0x1;}get[_0x3fc4('0x5')](){return this['_isAnonymous'];}get[_0x3fc4('0x35')](){const _0x15a12c=this[_0x3fc4('0x39')][_0x3fc4('0x3a')]('\x20');return 0x1===_0x15a12c[_0x3fc4('0x22')]?this[_0x3fc4('0x8')](_0x15a12c[0x0]):this['_getInitial'](_0x15a12c[0x0])+this['_getInitial'](_0x15a12c[_0x15a12c[_0x3fc4('0x22')]-0x1]);}[_0x3fc4('0x8')](_0x231d2b){return _0x231d2b['charAt'](0x0)[_0x3fc4('0x0')]();}}function a(_0x492f2d,_0x3ecbd0=''){return''==(_0x3ecbd0=_0x3ecbd0[_0x3fc4('0x11')]())?_0x2bc31b(_0x492f2d,'Anonymous'):_0x3ecbd0;}class u{constructor(_0x5be147){this['_id']=_0x5be147;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x3fc4('0x16')];}[_0x3fc4('0x33')](){return _0x3fc4('0x4')+this[_0x3fc4('0x16')];}['getMarkerClass'](){return _0x3fc4('0x25')+this['_id'];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x10ed6d,_0x5a1740){const t=_0x10ed6d['t'];switch(_0x5a1740){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
|
23
|
+
var _0x18b2=['registerChild','fire','appendChild','remove','set','submit','focus','_removeConfirm','once','isConfirm','locale','confirmView','cancel','deregisterChild','render','element','showConfirm','message'];(function(_0x26c997,_0x18b26f){var _0x146000=function(_0x59201b){while(--_0x59201b){_0x26c997['push'](_0x26c997['shift']());}};_0x146000(++_0x18b26f);}(_0x18b2,0x107));var _0x1460=function(_0x26c997,_0x18b26f){_0x26c997=_0x26c997-0x0;var _0x146000=_0x18b2[_0x26c997];return _0x146000;};import _0xa78c63 from'./confirmview';export default function m(_0x5451a2){return class extends _0x5451a2{[_0x1460('0x5')](_0x21e604,_0x48018b){return this[_0x1460('0x0')]=new _0xa78c63(this[_0x1460('0x11')]),this[_0x1460('0x0')][_0x1460('0x3')](),this[_0x1460('0x0')][_0x1460('0x6')]=_0x21e604,this['confirmView']['once']('cancel',()=>{this[_0x1460('0xe')]();}),this[_0x1460('0x0')][_0x1460('0xf')]('submit',()=>{this[_0x1460('0xe')]();}),_0x48018b[_0x1460('0x9')](this[_0x1460('0x0')][_0x1460('0x4')]),this[_0x1460('0x7')](this[_0x1460('0x0')]),this[_0x1460('0x4')][_0x1460('0xd')](),this[_0x1460('0xb')]('isConfirm',!0x0),new Promise(_0x3f0387=>this[_0x1460('0x0')]['on'](_0x1460('0xc'),_0x3f0387));}['cancelConfirm'](){this[_0x1460('0x10')]&&this['confirmView'][_0x1460('0x8')](_0x1460('0x1'));}[_0x1460('0xe')](){this[_0x1460('0x4')]&&this['confirmView']&&this[_0x1460('0x0')][_0x1460('0x4')]&&(this[_0x1460('0x4')][_0x1460('0xd')](),this[_0x1460('0x0')]['element'][_0x1460('0xa')](),this[_0x1460('0x2')](this[_0x1460('0x0')]),this[_0x1460('0x10')]=!0x1,this[_0x1460('0x0')]['destroy'](),this[_0x1460('0x0')]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0xff43=['_createButtonView','bindTemplate','check','ck-thread__remove-confirm','cancelView','ck-thread__remove-confirm-','extendTemplate','label','cancel','message','setTemplate','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','execute','icon','div','set','fire'];(function(_0x3efb92,_0xff4308){const _0xb9f24f=function(_0x429017){while(--_0x429017){_0x3efb92['push'](_0x3efb92['shift']());}};_0xb9f24f(++_0xff4308);}(_0xff43,0x16c));const _0xb9f2=function(_0x3efb92,_0xff4308){_0x3efb92=_0x3efb92-0x0;let _0xb9f24f=_0xff43[_0x3efb92];return _0xb9f24f;};import{View as _0x40b512,ButtonView as _0x8720ff}from'ckeditor5/src/ui';import{icons as _0x2a80ee}from'ckeditor5/src/core';import{getTranslation as _0x58ae64}from'./common-translations';export default class h extends _0x40b512{constructor(_0x1f0b38){super(_0x1f0b38);const _0x3bd546=this[_0xb9f2('0xf')];this['submitView']=this[_0xb9f2('0xe')](_0x1f0b38,_0x58ae64(_0x1f0b38,'Yes'),_0x2a80ee[_0xb9f2('0x10')],'submit'),this[_0xb9f2('0x0')]=this[_0xb9f2('0xe')](_0x1f0b38,_0x58ae64(_0x1f0b38,'No'),_0x2a80ee[_0xb9f2('0x4')],_0xb9f2('0x4')),this[_0xb9f2('0xc')]('message',_0x58ae64(_0x1f0b38,_0xb9f2('0x8'))),this[_0xb9f2('0x6')]({'tag':_0xb9f2('0xb'),'attributes':{'class':[_0xb9f2('0x11')]},'children':[{'tag':_0xb9f2('0xb'),'attributes':{'class':_0xb9f2('0x7')},'children':[{'tag':'p','children':[{'text':_0x3bd546['to'](_0xb9f2('0x5'))}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0xb9f2('0x0')]]}]}]});}[_0xb9f2('0xe')](_0x558a3b,_0x585767,_0x3d3e92,_0x549401){const _0x32d62a=new _0x8720ff(_0x558a3b);return _0x32d62a[_0xb9f2('0x3')]=_0x585767,_0x32d62a[_0xb9f2('0xa')]=_0x3d3e92,_0x32d62a[_0xb9f2('0x2')]({'attributes':{'class':_0xb9f2('0x1')+_0x549401}}),_0x32d62a['on'](_0xb9f2('0x9'),()=>this[_0xb9f2('0xd')](_0x549401)),_0x32d62a;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x5eb6=['MM-dd-yyyy\x20hh:mma','dateTimeFormat','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','function'];(function(_0x197a81,_0x5eb696){const _0x32efbb=function(_0x4ba511){while(--_0x4ba511){_0x197a81['push'](_0x197a81['shift']());}};_0x32efbb(++_0x5eb696);}(_0x5eb6,0xcf));const _0x32ef=function(_0x197a81,_0x5eb696){_0x197a81=_0x197a81-0x0;let _0x32efbb=_0x5eb6[_0x197a81];return _0x32efbb;};import _0xce150c from'date-fns/format';import _0x4ae4c8 from'date-fns/parseISO';import _0x478f62 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x497e49}from'ckeditor5/src/utils';export default function E(_0x16fba8={}){if(void 0x0!==_0x16fba8[_0x32ef('0x4')]&&_0x32ef('0x2')!=typeof _0x16fba8[_0x32ef('0x4')])throw new _0x497e49(_0x32ef('0x5'));return _0x311cac=>{const _0x25bf1e='string'==typeof _0x311cac?_0x4ae4c8(_0x311cac):_0x311cac,_0x5266aa=new Date(),_0x3e5247=_0x478f62(_0x5266aa,_0x25bf1e);return _0x16fba8[_0x32ef('0x4')]?_0x16fba8[_0x32ef('0x4')](_0x25bf1e):_0xce150c(_0x25bf1e,0x0===_0x3e5247?_0x32ef('0x1'):0x1===_0x3e5247?'\x27Yesterday\x27\x20hh:mma':_0x3e5247<0x7?_0x32ef('0x0'):_0x32ef('0x3'));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x5abb=['filter','mapViewToDom','values','markerNameToElements','push','mapper','name','view','map','domConverter','length','item','from','sort'];(function(_0x6b02bf,_0x5abb6e){const _0x806efa=function(_0x1d77b9){while(--_0x1d77b9){_0x6b02bf['push'](_0x6b02bf['shift']());}};_0x806efa(++_0x5abb6e);}(_0x5abb,0x80));const _0x806e=function(_0x6b02bf,_0x5abb6e){_0x6b02bf=_0x6b02bf-0x0;let _0x806efa=_0x5abb[_0x6b02bf];return _0x806efa;};import{first as _0x574898}from'ckeditor5/src/utils';export default function k(_0x4e0a28,_0x2e2c5c){const _0x3d899e=_0x4e0a28[_0x806e('0x3')][_0x806e('0x1')](_0x2e2c5c[_0x806e('0x4')]);if(!_0x3d899e)return null;const _0x260caf=_0x574898(_0x3d899e[_0x806e('0x0')]());return _0x4e0a28[_0x806e('0x5')]['domConverter'][_0x806e('0xd')](_0x260caf)||null;}export function getAllMarkersDomElementsSorted(_0x51d8ce,_0x29463a){if(0x0===_0x29463a['length'])return null;const _0x20d4a8=[],_0xcc1c2b=_0x51d8ce[_0x806e('0x5')][_0x806e('0x7')];for(const _0x931914 of _0x29463a){const _0x3eb38c=_0x51d8ce[_0x806e('0x3')][_0x806e('0x1')](_0x931914[_0x806e('0x4')]);if(!_0x3eb38c)continue;const _0x55922c=Array[_0x806e('0xa')](_0x3eb38c)[_0x806e('0x6')](_0x89113d=>_0xcc1c2b[_0x806e('0xd')](_0x89113d))[_0x806e('0xc')](_0x331184=>!!_0x331184);_0x20d4a8['push'](..._0x55922c);}if(0x0===_0x20d4a8[_0x806e('0x8')])return null;const _0x548077=[];for(const _0x5480ef of _0x20d4a8){const _0x447f2d=_0x5480ef['getClientRects']()[_0x806e('0x9')](0x0);_0x447f2d&&_0x548077[_0x806e('0x2')]({'x':_0x447f2d['x'],'y':_0x447f2d['y'],'domElement':_0x5480ef});}return 0x0===_0x548077['length']?null:(_0x548077[_0x806e('0xb')]((_0x484bc0,_0x4405f3)=>_0x484bc0['y']-_0x4405f3['y']||_0x484bc0['x']-_0x4405f3['x']),_0x548077[_0x806e('0x6')](_0x31d0b2=>_0x31d0b2['domElement']));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x4b1e=['boolean','sort','charCodeAt','object','isArray','toString','number','keys'];(function(_0x130812,_0x4b1ebb){const _0x48330b=function(_0x5413dd){while(--_0x5413dd){_0x130812['push'](_0x130812['shift']());}};_0x48330b(++_0x4b1ebb);}(_0x4b1e,0xb3));const _0x4833=function(_0x130812,_0x4b1ebb){_0x130812=_0x130812-0x0;let _0x48330b=_0x4b1e[_0x130812];return _0x48330b;};export default function b(_0x11dcba){let _0x3a47cb=0x0,_0x361108=0x0;for(const _0x35fb92 of g(_0x11dcba))_0x3a47cb=(_0x3a47cb<<0x5)-_0x3a47cb+_0x35fb92,_0x3a47cb&=_0x3a47cb,[_0x3a47cb,_0x361108]=[_0x361108,_0x3a47cb];return O(_0x3a47cb)+O(_0x361108);}function*j(_0x50f9a9){_0x50f9a9?_0x4833('0x5')==typeof _0x50f9a9?yield 0x1:Array[_0x4833('0x1')](_0x50f9a9)?yield*function*(_0x3b0f3a){for(const _0x3fb21d of _0x3b0f3a)yield*j(_0x3fb21d);}(_0x50f9a9):_0x4833('0x0')==typeof _0x50f9a9?yield*g(_0x50f9a9):'string'==typeof _0x50f9a9?yield*A(_0x50f9a9):_0x4833('0x3')==typeof _0x50f9a9&&(yield _0x50f9a9):yield 0x0;}function*g(_0x5cc3af){if(yield M('{'),_0x5cc3af){const _0xb1419e=Object[_0x4833('0x4')](_0x5cc3af)[_0x4833('0x6')]();for(const _0x4ddfc1 of _0xb1419e){yield*A(_0x4ddfc1),yield M(':');const _0x1f3cc9=_0x5cc3af[_0x4ddfc1];yield*j(_0x1f3cc9);}}yield M('}');}function*A(_0xef9754){yield M('\x22');for(const _0x3f1462 of _0xef9754)yield M(_0x3f1462);yield M('\x22');}function M(_0x316984){return _0x316984[_0x4833('0x7')](0x0);}function O(_0x12c70e){return(_0x12c70e*=Math['sign'](_0x12c70e))[_0x4833('0x2')](0x24);}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x29db=['slice','push','pop','join','length','...','startsWith','replace','substring'];(function(_0x5b3cdf,_0x29db6e){const _0x13d667=function(_0x49efb8){while(--_0x49efb8){_0x5b3cdf['push'](_0x5b3cdf['shift']());}};_0x13d667(++_0x29db6e);}(_0x29db,0x1e3));const _0x13d6=function(_0x5b3cdf,_0x29db6e){_0x5b3cdf=_0x5b3cdf-0x0;let _0x13d667=_0x29db[_0x5b3cdf];return _0x13d667;};export default function z(_0xa5f292,{limit:_0x40393b,suffix:_0x2481da=_0x13d6('0x8')}){const _0x327b99=[];let _0x232fb9=0x0;const _0x27b0c7=_0xa5f292[_0x13d6('0x1')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x13d6('0x1')](/^\n/g,'')[_0x13d6('0x1')](/\n$/g,'')['split']('\x0a');for(let _0x43fc63=0x0;_0x43fc63<_0x27b0c7['length'];_0x43fc63++){let _0x1144e0=_0x27b0c7[_0x43fc63];const _0x30f340=Z(_0x1144e0);if(_0x1144e0[_0x13d6('0x0')]('<')){if(_0x232fb9>=_0x40393b){const _0x198dfe=_0x1144e0['match'](/[a-zA-Z]+/);if(!_0x198dfe){_0x27b0c7[_0x43fc63]='';continue;}const _0x125818=_0x198dfe[0x0];_0x1144e0[_0x13d6('0x0')]('</')?(_0x327b99[_0x13d6('0x7')]&&(_0x1144e0=''),_0x327b99[_0x13d6('0x5')]()):(_0x327b99[_0x13d6('0x4')](_0x125818),_0x1144e0='');}}else{if(_0x232fb9>=_0x40393b)_0x1144e0='';else{if(_0x232fb9+_0x30f340[_0x13d6('0x7')]>=_0x40393b){let _0xd51f85=_0x40393b-_0x232fb9;if('\x20'===_0x30f340[_0xd51f85-0x1])_0xd51f85--;else{const _0x3aa1e0=_0x30f340[_0x13d6('0x3')](_0xd51f85)['indexOf']('\x20');-0x1!==_0x3aa1e0?_0xd51f85+=_0x3aa1e0:_0xd51f85=_0x1144e0[_0x13d6('0x7')];}_0x1144e0=_0x30f340[_0x13d6('0x3')](0x0,_0xd51f85)[_0x13d6('0x6')]('')+_0x2481da,_0x232fb9=_0x40393b;}else _0x232fb9+=_0x30f340[_0x13d6('0x7')];}}_0x27b0c7[_0x43fc63]=_0x1144e0;}return _0x27b0c7[_0x13d6('0x6')]('\x0a')[_0x13d6('0x1')](/\n/g,'');}function Z(_0x1a5b5a){const _0x4edf83=[];for(let _0x12a82f=0x0;_0x12a82f<_0x1a5b5a[_0x13d6('0x7')];_0x12a82f++){const _0x4aeb0a=_0x1a5b5a[_0x13d6('0x2')](_0x12a82f)['match'](/^&[a-z0-9#]+;/);if(_0x4aeb0a){const _0x52b8a6=_0x4aeb0a[0x0];_0x4edf83['push'](_0x52b8a6),_0x12a82f+=_0x52b8a6['length']-0x1;}else _0x4edf83[_0x13d6('0x4')](_0x1a5b5a[_0x12a82f]);}return _0x4edf83;}
|