@ckeditor/ckeditor5-collaboration-core 37.1.0 → 38.0.0-rc.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/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/permissions.d.ts +1 -1
- 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.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": "^38.0.0-rc.1",
|
32
32
|
"date-fns": "^2.17.0"
|
33
33
|
},
|
34
34
|
"files": [
|
package/src/permissions.d.ts
CHANGED
@@ -16,7 +16,7 @@ import { ContextPlugin } from 'ckeditor5/src/core';
|
|
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, following permissions are set: `document:write`, `comment:write`, `comment:admin`.
|
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 _0x2ce7=['permissions-set-permissions-invalid-channel-id','addCommentThread','includes','forceDisabled','no-permissions','clearForceDisabled','comment:modify_all','editors','get','commands','comment:write','context','CommentsOnly','CommentsRepository','find','comment:admin','document:write','setPermissions','noPermissions','collaboration.channelId','has','pluginName','plugins','Permissions'];(function(_0x17fe5a,_0x2ce71f){const _0x1c168b=function(_0x5e2cb6){while(--_0x5e2cb6){_0x17fe5a['push'](_0x17fe5a['shift']());}};_0x1c168b(++_0x2ce71f);}(_0x2ce7,0xc8));const _0x1c16=function(_0x17fe5a,_0x2ce71f){_0x17fe5a=_0x17fe5a-0x0;let _0x1c168b=_0x2ce7[_0x17fe5a];return _0x1c168b;};import{ContextPlugin as _0x191d18,Editor as _0x9fba33}from'ckeditor5/src/core';import{CKEditorError as _0x229b13}from'ckeditor5/src/utils';export default class n extends _0x191d18{static get[_0x1c16('0xd')](){return _0x1c16('0xf');}[_0x1c16('0x9')](_0x4d4e62,_0x1f2226){let _0x2107c2;if(_0x1f2226||(_0x1f2226=this[_0x1c16('0x3')]['config'][_0x1c16('0x0')](_0x1c16('0xb'))),this['context']['config'][_0x1c16('0x0')](_0x1c16('0xb'))==_0x1f2226?_0x2107c2=this[_0x1c16('0x3')]:_0x1c16('0x17')in this[_0x1c16('0x3')]&&this[_0x1c16('0x3')][_0x1c16('0x17')]&&(_0x2107c2=this[_0x1c16('0x3')][_0x1c16('0x17')][_0x1c16('0x6')](_0x448c1f=>_0x448c1f['config'][_0x1c16('0x0')]('collaboration.channelId')==_0x1f2226)),!_0x2107c2)throw new _0x229b13(_0x1c16('0x10'),null);const _0x253ae1=_0x2107c2[_0x1c16('0xe')],_0x551322=_0x253ae1['has'](_0x1c16('0x5'))?_0x253ae1[_0x1c16('0x0')](_0x1c16('0x5')):void 0x0,_0x485181=_0x253ae1[_0x1c16('0xc')](_0x1c16('0x4'))&&_0x253ae1[_0x1c16('0x0')]('CommentsOnly'),_0x4be896=_0x4d4e62[_0x1c16('0x12')](_0x1c16('0x8')),_0x554e3a=_0x4d4e62[_0x1c16('0x12')](_0x1c16('0x16')),_0x2c337c=_0x4d4e62[_0x1c16('0x12')](_0x1c16('0x7')),_0x4ddf12=_0x4d4e62[_0x1c16('0x12')](_0x1c16('0x2')),_0xa22511=_0x4ddf12||_0x2c337c,_0x2cd02a=_0xa22511||_0x554e3a;(_0x485181&&(_0x485181['isEnabled']=!_0x4be896&&_0x2cd02a),_0x2107c2 instanceof _0x9fba33)&&(!(_0x4be896||_0x2cd02a&&_0x551322)?_0x2107c2['enableReadOnlyMode'](_0x1c16('0x14')):_0x2107c2['disableReadOnlyMode'](_0x1c16('0x14')));if(_0x551322){_0x551322['setPermissions']({'admin':_0x2c337c,'modifyAll':_0x554e3a,'write':_0x4ddf12},_0x1f2226);const _0x17cc4c=_0x2107c2 instanceof _0x9fba33&&_0x2107c2[_0x1c16('0x1')][_0x1c16('0x0')](_0x1c16('0x11'));_0x17cc4c&&(_0xa22511?_0x17cc4c[_0x1c16('0x15')]('noPermissions'):_0x17cc4c[_0x1c16('0x13')](_0x1c16('0xa')));}}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x3419=['ck-user__notification','avatar','div','ck-user__img','extendTemplate','name','isAnonymous','url(\x27','notificationView','initials','push','ck-user__icon','ck\x20ck-user__name','setTemplate'];(function(_0x415b11,_0x3419ea){const _0x5a16df=function(_0x1b5e72){while(--_0x1b5e72){_0x415b11['push'](_0x415b11['shift']());}};_0x5a16df(++_0x3419ea);}(_0x3419,0x176));const _0x5a16=function(_0x415b11,_0x3419ea){_0x415b11=_0x415b11-0x0;let _0x5a16df=_0x3419[_0x415b11];return _0x5a16df;};import{View as _0x5b4269,IconView as _0xb994f7}from'ckeditor5/src/ui';import _0x568c45 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class $ extends _0x5b4269{constructor(_0x23eb45,_0x207c5a,_0x210d62){super(_0x23eb45),this[_0x5a16('0x9')]=_0x207c5a[_0x5a16('0x9')],this['notificationView']=null;const _0x3b87d4=['ck',_0x5a16('0x7')];if(_0x207c5a[_0x5a16('0xa')]&&_0x3b87d4[_0x5a16('0x0')]('ck-user__anonymous'),_0x207c5a[_0x5a16('0x5')]&&_0x3b87d4[_0x5a16('0x0')]('ck-user__avatar'),_0x210d62){const _0x51daed=new _0xb994f7();_0x51daed[_0x5a16('0x8')]({'attributes':{'class':[_0x5a16('0x1')]}}),_0x51daed['content']=_0x568c45,this['notificationView']={'tag':'div','attributes':{'class':['ck',_0x5a16('0x4')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x210d62},'children':[_0x51daed]};}const _0x434b70=[{'tag':_0x5a16('0x6'),'attributes':{'class':_0x3b87d4,'style':{'background-image':_0x207c5a[_0x5a16('0x5')]?_0x5a16('0xb')+_0x207c5a[_0x5a16('0x5')]+'\x27)':''}}},{'tag':_0x5a16('0x6'),'attributes':{'class':_0x207c5a['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x5a16('0x2')},'children':[{'text':_0x207c5a[_0x5a16('0xd')]}]}];this[_0x5a16('0xc')]&&_0x434b70[_0x5a16('0x0')](this[_0x5a16('0xc')]),this[_0x5a16('0x3')]({'tag':_0x5a16('0x6'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x207c5a['id']},'children':_0x434b70});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x1d58=['init','licenseKeyInvalid','ck-user__selection--','locale','getMarkerClass','decorate','toUpperCase','useAnonymousUser','trial-license-key-reached-limit-time','Anonymous','config','invalid-license-key','_locale','string','licenseKeyTrialLimit:operations','pluginName','trial-license-key-reached-limit-revisions','context','_addAnonymousUser','info','anonymous-user','_isAnonymous','trim','defineMe','users-me-already-defined','color','charAt','_myId','includes','licenseKey','Users','users.colorsCount','ck-user__bg-color--','licenseKeyTrialLimit:revisions','add','licenseKeyTrialLimit:time','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.','isAnonymous','users','length','split','_lastColor','name','_licenseKeyCheckInterval','requires','define','getBackgroundColorClass','get','_id','licenseKeyTrial','getOperationAuthor','getSelectionClass','users.anonymousUserId','licenseKeyValid','avatar','getUser','users-add-duplicated-id','has','users-add-invalid-id','addUser','destroy','_getNextColor','_getInitial'];(function(_0x710430,_0x1d589c){const _0x4f7ab6=function(_0x34a623){while(--_0x34a623){_0x710430['push'](_0x710430['shift']());}};_0x4f7ab6(++_0x1d589c);}(_0x1d58,0x81));const _0x4f7a=function(_0x710430,_0x1d589c){_0x710430=_0x710430-0x0;let _0x4f7ab6=_0x1d58[_0x710430];return _0x4f7ab6;};import{ContextPlugin as _0x5aca82}from'ckeditor5/src/core';import{Collection as _0x5b3fd6,CKEditorError as _0x24b2dd}from'ckeditor5/src/utils';import _0x42bc84 from'./permissions';import{getTranslation as _0x417e3e}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5aca82{static get[_0x4f7a('0xc')](){return _0x4f7a('0x1b');}static get[_0x4f7a('0x29')](){return[_0x42bc84];}constructor(_0x1b1d1d){super(_0x1b1d1d),this[_0x4f7a('0xe')][_0x4f7a('0x7')]['define'](_0x4f7a('0x31'),_0x4f7a('0x11')),this['context'][_0x4f7a('0x7')][_0x4f7a('0x2a')]('users.colorsCount',0x8),this['users']=new _0x5b3fd6(),this[_0x4f7a('0x9')]=_0x1b1d1d[_0x4f7a('0x0')],this[_0x4f7a('0x28')]=null,this[_0x4f7a('0x26')]=0x0,this[_0x4f7a('0x18')]=null,this[_0x4f7a('0x2')]('getOperationAuthor');}[_0x4f7a('0x3c')](){const _0x3d326f=this[_0x4f7a('0xe')];this[_0x4f7a('0x1a')]=_0x3d326f[_0x4f7a('0x7')][_0x4f7a('0x2c')](_0x4f7a('0x1a'));const _0x477fc5=[_0x4f7a('0x2e'),_0x4f7a('0x3d'),_0x4f7a('0x32'),_0x4f7a('0xb'),_0x4f7a('0x20'),_0x4f7a('0x1e')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xaffca1;for(const _0xfcc553 in _0x3d326f){const _0x149119=_0x3d326f[_0xfcc553];if(_0x477fc5[_0x4f7a('0x19')](_0x149119)){delete _0x3d326f[_0xfcc553],_0xaffca1=_0x149119;break;}}if('licenseKeyInvalid'===_0xaffca1)throw clearInterval(this[_0x4f7a('0x28')]),new _0x24b2dd(_0x4f7a('0x8'),null);if(_0x4f7a('0x2e')===_0xaffca1&&console[_0x4f7a('0x10')](_0x4f7a('0x21')),'licenseKeyTrialLimit:operations'===_0xaffca1)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x24b2dd('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0xaffca1)throw clearInterval(this[_0x4f7a('0x28')]),new _0x24b2dd(_0x4f7a('0x5'),null);if(_0x4f7a('0x1e')===_0xaffca1)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x24b2dd(_0x4f7a('0xd'),null);'licenseKeyValid'===_0xaffca1&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x4f7a('0xf')]();}get['me'](){return null==this[_0x4f7a('0x18')]?null:this['getUser'](this[_0x4f7a('0x18')]);}[_0x4f7a('0x38')]({id:_0x499371,name:_0xea94a,..._0x130621}){if(!_0x499371||_0x4f7a('0xa')!=typeof _0x499371)throw new _0x24b2dd(_0x4f7a('0x37'));if(this[_0x4f7a('0x23')][_0x4f7a('0x36')](_0x499371))throw new _0x24b2dd(_0x4f7a('0x35'),null,{'id':_0x499371});const _0x575724={..._0x130621,'id':_0x499371,'name':a(this[_0x4f7a('0x9')],_0xea94a),'color':this[_0x4f7a('0x3a')]()};_0x575724[_0x4f7a('0x27')]=a(this[_0x4f7a('0x9')],_0x575724[_0x4f7a('0x27')]);const _0x5f1b9a=new User(_0x575724);return this[_0x4f7a('0x23')][_0x4f7a('0x1f')](_0x5f1b9a),_0x5f1b9a;}[_0x4f7a('0x34')](_0x107cd4){return this['users'][_0x4f7a('0x2c')](_0x107cd4);}[_0x4f7a('0x4')](){const _0x1a8d35=this[_0x4f7a('0xe')][_0x4f7a('0x7')][_0x4f7a('0x2c')](_0x4f7a('0x31'));this[_0x4f7a('0x18')]||this['defineMe'](_0x1a8d35);}[_0x4f7a('0x14')](_0x545291){if(this[_0x4f7a('0x18')])throw new _0x24b2dd(_0x4f7a('0x15'),null);if(!this[_0x4f7a('0x34')](_0x545291))throw new _0x24b2dd('users-me-missing-user',null);this['_myId']=_0x545291;}[_0x4f7a('0x2f')](){return this['me'];}[_0x4f7a('0x39')](){super[_0x4f7a('0x39')](),clearInterval(this[_0x4f7a('0x28')]);}[_0x4f7a('0x3a')](){const _0x197dde=this['context'][_0x4f7a('0x7')][_0x4f7a('0x2c')](_0x4f7a('0x1c'));return this['_lastColor']>=_0x197dde&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}[_0x4f7a('0xf')](){const _0x5a6c2c=this['context'][_0x4f7a('0x7')]['get'](_0x4f7a('0x31'));this[_0x4f7a('0x38')]({'id':_0x5a6c2c,'name':_0x417e3e(this['_locale'],_0x4f7a('0x6'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x11a582){this['id']=_0x11a582['id'],this['color']=_0x11a582[_0x4f7a('0x16')],this[_0x4f7a('0x27')]=_0x11a582['name'],this['avatar']=_0x11a582[_0x4f7a('0x33')],this[_0x4f7a('0x12')]=!0x1;}get[_0x4f7a('0x22')](){return this[_0x4f7a('0x12')];}get['initials'](){const _0x50653e=this[_0x4f7a('0x27')][_0x4f7a('0x25')]('\x20');return 0x1===_0x50653e[_0x4f7a('0x24')]?this[_0x4f7a('0x3b')](_0x50653e[0x0]):this['_getInitial'](_0x50653e[0x0])+this[_0x4f7a('0x3b')](_0x50653e[_0x50653e[_0x4f7a('0x24')]-0x1]);}[_0x4f7a('0x3b')](_0x315c34){return _0x315c34[_0x4f7a('0x17')](0x0)[_0x4f7a('0x3')]();}}function a(_0x6d632c,_0x3e8753=''){return''==(_0x3e8753=_0x3e8753[_0x4f7a('0x13')]())?_0x417e3e(_0x6d632c,_0x4f7a('0x6')):_0x3e8753;}class u{constructor(_0x17f636){this[_0x4f7a('0x2d')]=_0x17f636;}[_0x4f7a('0x2b')](){return _0x4f7a('0x1d')+this[_0x4f7a('0x2d')];}[_0x4f7a('0x30')](){return _0x4f7a('0x3e')+this[_0x4f7a('0x2d')];}[_0x4f7a('0x1')](){return'ck-user__marker--'+this[_0x4f7a('0x2d')];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x491402,_0x79bc9){const t=_0x491402['t'];switch(_0x79bc9){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 _0x2c1e=['cancel','submit','isConfirm','appendChild','registerChild','render','confirmView','message','element','once','_removeConfirm','set','destroy','showConfirm','fire','remove','focus'];(function(_0x3b9173,_0x2c1e3b){var _0xa1e391=function(_0x5f4972){while(--_0x5f4972){_0x3b9173['push'](_0x3b9173['shift']());}};_0xa1e391(++_0x2c1e3b);}(_0x2c1e,0x15e));var _0xa1e3=function(_0x3b9173,_0x2c1e3b){_0x3b9173=_0x3b9173-0x0;var _0xa1e391=_0x2c1e[_0x3b9173];return _0xa1e391;};import _0x3bfdc0 from'./confirmview';export default function m(_0x274be2){return class extends _0x274be2{[_0xa1e3('0x3')](_0x2cbd36,_0x17d603){return this[_0xa1e3('0xd')]=new _0x3bfdc0(this['locale']),this[_0xa1e3('0xd')][_0xa1e3('0xc')](),this['confirmView'][_0xa1e3('0xe')]=_0x2cbd36,this['confirmView'][_0xa1e3('0x10')](_0xa1e3('0x7'),()=>{this[_0xa1e3('0x0')]();}),this[_0xa1e3('0xd')]['once'](_0xa1e3('0x8'),()=>{this[_0xa1e3('0x0')]();}),_0x17d603[_0xa1e3('0xa')](this['confirmView'][_0xa1e3('0xf')]),this[_0xa1e3('0xb')](this[_0xa1e3('0xd')]),this[_0xa1e3('0xf')][_0xa1e3('0x6')](),this[_0xa1e3('0x1')]('isConfirm',!0x0),new Promise(_0xd80030=>this[_0xa1e3('0xd')]['on'](_0xa1e3('0x8'),_0xd80030));}['cancelConfirm'](){this[_0xa1e3('0x9')]&&this[_0xa1e3('0xd')][_0xa1e3('0x4')](_0xa1e3('0x7'));}[_0xa1e3('0x0')](){this[_0xa1e3('0xf')]&&this['confirmView']&&this['confirmView']['element']&&(this[_0xa1e3('0xf')][_0xa1e3('0x6')](),this[_0xa1e3('0xd')]['element'][_0xa1e3('0x5')](),this['deregisterChild'](this[_0xa1e3('0xd')]),this['isConfirm']=!0x1,this[_0xa1e3('0xd')][_0xa1e3('0x2')](),this[_0xa1e3('0xd')]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x8e0f=['label','submit','div','bindTemplate','submitView','Yes','execute','extendTemplate','cancel','set','_createButtonView','cancelView','message','icon','ck-thread__remove-confirm','Are\x20you\x20sure?','ck-thread__remove-confirm-actions'];(function(_0xd10468,_0x8e0f64){const _0x5f2854=function(_0x2d9e09){while(--_0x2d9e09){_0xd10468['push'](_0xd10468['shift']());}};_0x5f2854(++_0x8e0f64);}(_0x8e0f,0x9a));const _0x5f28=function(_0xd10468,_0x8e0f64){_0xd10468=_0xd10468-0x0;let _0x5f2854=_0x8e0f[_0xd10468];return _0x5f2854;};import{View as _0x197823,ButtonView as _0x1a774a}from'ckeditor5/src/ui';import{icons as _0x287bab}from'ckeditor5/src/core';import{getTranslation as _0x46d076}from'./common-translations';export default class h extends _0x197823{constructor(_0x1c3b54){super(_0x1c3b54);const _0x49f46a=this[_0x5f28('0x2')];this['submitView']=this[_0x5f28('0x9')](_0x1c3b54,_0x46d076(_0x1c3b54,_0x5f28('0x4')),_0x287bab['check'],_0x5f28('0x0')),this[_0x5f28('0xa')]=this['_createButtonView'](_0x1c3b54,_0x46d076(_0x1c3b54,'No'),_0x287bab[_0x5f28('0x7')],_0x5f28('0x7')),this[_0x5f28('0x8')](_0x5f28('0xb'),_0x46d076(_0x1c3b54,_0x5f28('0xe'))),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5f28('0xd')]},'children':[{'tag':_0x5f28('0x1'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x49f46a['to'](_0x5f28('0xb'))}]},{'tag':_0x5f28('0x1'),'attributes':{'class':_0x5f28('0xf')},'children':[this[_0x5f28('0x3')],this[_0x5f28('0xa')]]}]}]});}['_createButtonView'](_0x3fef0d,_0x284240,_0x36dd25,_0x50a676){const _0x2c6c2b=new _0x1a774a(_0x3fef0d);return _0x2c6c2b[_0x5f28('0x10')]=_0x284240,_0x2c6c2b[_0x5f28('0xc')]=_0x36dd25,_0x2c6c2b[_0x5f28('0x6')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x50a676}}),_0x2c6c2b['on'](_0x5f28('0x5'),()=>this['fire'](_0x50a676)),_0x2c6c2b;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2012=['function','string','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat'];(function(_0x3b6206,_0x201266){const _0x1c4f24=function(_0x4defeb){while(--_0x4defeb){_0x3b6206['push'](_0x3b6206['shift']());}};_0x1c4f24(++_0x201266);}(_0x2012,0x73));const _0x1c4f=function(_0x3b6206,_0x201266){_0x3b6206=_0x3b6206-0x0;let _0x1c4f24=_0x2012[_0x3b6206];return _0x1c4f24;};import _0x12c77c from'date-fns/format';import _0x36f703 from'date-fns/parseISO';import _0x222bed from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2ea686}from'ckeditor5/src/utils';export default function E(_0x187f28={}){if(void 0x0!==_0x187f28[_0x1c4f('0x4')]&&_0x1c4f('0x5')!=typeof _0x187f28[_0x1c4f('0x4')])throw new _0x2ea686(_0x1c4f('0x2'));return _0x3df05c=>{const _0x1c6ade=_0x1c4f('0x6')==typeof _0x3df05c?_0x36f703(_0x3df05c):_0x3df05c,_0x559ec5=new Date(),_0x327eaf=_0x222bed(_0x559ec5,_0x1c6ade);return _0x187f28['dateTimeFormat']?_0x187f28[_0x1c4f('0x4')](_0x1c6ade):_0x12c77c(_0x1c6ade,0x0===_0x327eaf?_0x1c4f('0x7'):0x1===_0x327eaf?_0x1c4f('0x0'):_0x327eaf<0x7?_0x1c4f('0x3'):_0x1c4f('0x1'));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x4a5e=['getClientRects','name','view','length','values','filter','map','sort','markerNameToElements','mapper','domConverter'];(function(_0x159207,_0x4a5ece){const _0x4d3c59=function(_0x14f0f8){while(--_0x14f0f8){_0x159207['push'](_0x159207['shift']());}};_0x4d3c59(++_0x4a5ece);}(_0x4a5e,0xbe));const _0x4d3c=function(_0x159207,_0x4a5ece){_0x159207=_0x159207-0x0;let _0x4d3c59=_0x4a5e[_0x159207];return _0x4d3c59;};import{first as _0x3fd8fe}from'ckeditor5/src/utils';export default function k(_0x1396d4,_0x209c49){const _0x3c8eff=_0x1396d4[_0x4d3c('0x6')][_0x4d3c('0x5')](_0x209c49[_0x4d3c('0x9')]);if(!_0x3c8eff)return null;const _0x576c05=_0x3fd8fe(_0x3c8eff[_0x4d3c('0x1')]());return _0x1396d4[_0x4d3c('0xa')][_0x4d3c('0x7')]['mapViewToDom'](_0x576c05)||null;}export function getAllMarkersDomElementsSorted(_0x3cd553,_0xc89b04){if(0x0===_0xc89b04['length'])return null;const _0x5896c7=[],_0xa6745c=_0x3cd553[_0x4d3c('0xa')][_0x4d3c('0x7')];for(const _0x1cb7a4 of _0xc89b04){const _0x70e67d=_0x3cd553['mapper'][_0x4d3c('0x5')](_0x1cb7a4[_0x4d3c('0x9')]);if(!_0x70e67d)continue;const _0x566b94=Array['from'](_0x70e67d)[_0x4d3c('0x3')](_0x2ce7c4=>_0xa6745c['mapViewToDom'](_0x2ce7c4))[_0x4d3c('0x2')](_0x5852fc=>!!_0x5852fc);_0x5896c7['push'](..._0x566b94);}if(0x0===_0x5896c7[_0x4d3c('0x0')])return null;const _0x39fc76=[];for(const _0x28a092 of _0x5896c7){const _0x4a92b8=_0x28a092[_0x4d3c('0x8')]()['item'](0x0);_0x4a92b8&&_0x39fc76['push']({'x':_0x4a92b8['x'],'y':_0x4a92b8['y'],'domElement':_0x28a092});}return 0x0===_0x39fc76[_0x4d3c('0x0')]?null:(_0x39fc76[_0x4d3c('0x4')]((_0x580e3f,_0xc13b2e)=>_0x580e3f['y']-_0xc13b2e['y']||_0x580e3f['x']-_0xc13b2e['x']),_0x39fc76[_0x4d3c('0x3')](_0x5e7a38=>_0x5e7a38['domElement']));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0xeb16=['toString','charCodeAt','isArray','sort','number','keys'];(function(_0x25f7b1,_0xeb16f9){const _0x5f7aee=function(_0x3e0ca7){while(--_0x3e0ca7){_0x25f7b1['push'](_0x25f7b1['shift']());}};_0x5f7aee(++_0xeb16f9);}(_0xeb16,0x103));const _0x5f7a=function(_0x25f7b1,_0xeb16f9){_0x25f7b1=_0x25f7b1-0x0;let _0x5f7aee=_0xeb16[_0x25f7b1];return _0x5f7aee;};export default function b(_0x34be4f){let _0x2d950e=0x0,_0x43233c=0x0;for(const _0x416cdf of g(_0x34be4f))_0x2d950e=(_0x2d950e<<0x5)-_0x2d950e+_0x416cdf,_0x2d950e&=_0x2d950e,[_0x2d950e,_0x43233c]=[_0x43233c,_0x2d950e];return O(_0x2d950e)+O(_0x43233c);}function*j(_0x4b6e51){_0x4b6e51?'boolean'==typeof _0x4b6e51?yield 0x1:Array[_0x5f7a('0x1')](_0x4b6e51)?yield*function*(_0x27874f){for(const _0x2baaf7 of _0x27874f)yield*j(_0x2baaf7);}(_0x4b6e51):'object'==typeof _0x4b6e51?yield*g(_0x4b6e51):'string'==typeof _0x4b6e51?yield*A(_0x4b6e51):_0x5f7a('0x3')==typeof _0x4b6e51&&(yield _0x4b6e51):yield 0x0;}function*g(_0x464a35){if(yield M('{'),_0x464a35){const _0x3f368b=Object[_0x5f7a('0x4')](_0x464a35)[_0x5f7a('0x2')]();for(const _0x4e81e5 of _0x3f368b){yield*A(_0x4e81e5),yield M(':');const _0x5d7170=_0x464a35[_0x4e81e5];yield*j(_0x5d7170);}}yield M('}');}function*A(_0x468485){yield M('\x22');for(const _0x58a800 of _0x468485)yield M(_0x58a800);yield M('\x22');}function M(_0x5a363b){return _0x5a363b[_0x5f7a('0x0')](0x0);}function O(_0x57c2f4){return(_0x57c2f4*=Math['sign'](_0x57c2f4))[_0x5f7a('0x5')](0x24);}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x5f39=['pop','replace','match','push','substring','slice','length','join'];(function(_0x4a01c9,_0x5f39e5){const _0xc92f6a=function(_0x571611){while(--_0x571611){_0x4a01c9['push'](_0x4a01c9['shift']());}};_0xc92f6a(++_0x5f39e5);}(_0x5f39,0x19b));const _0xc92f=function(_0x4a01c9,_0x5f39e5){_0x4a01c9=_0x4a01c9-0x0;let _0xc92f6a=_0x5f39[_0x4a01c9];return _0xc92f6a;};export default function z(_0x368736,{limit:_0x2b1d82,suffix:_0xaa1aeb='...'}){const _0x5386dd=[];let _0x3b076d=0x0;const _0x46018b=_0x368736[_0xc92f('0x6')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0xc92f('0x6')](/^\n/g,'')[_0xc92f('0x6')](/\n$/g,'')['split']('\x0a');for(let _0x198774=0x0;_0x198774<_0x46018b[_0xc92f('0x3')];_0x198774++){let _0xc3fe1c=_0x46018b[_0x198774];const _0x7c90da=Z(_0xc3fe1c);if(_0xc3fe1c['startsWith']('<')){if(_0x3b076d>=_0x2b1d82){const _0x371c38=_0xc3fe1c['match'](/[a-zA-Z]+/);if(!_0x371c38){_0x46018b[_0x198774]='';continue;}const _0x1cec99=_0x371c38[0x0];_0xc3fe1c['startsWith']('</')?(_0x5386dd[_0xc92f('0x3')]&&(_0xc3fe1c=''),_0x5386dd[_0xc92f('0x5')]()):(_0x5386dd[_0xc92f('0x0')](_0x1cec99),_0xc3fe1c='');}}else{if(_0x3b076d>=_0x2b1d82)_0xc3fe1c='';else{if(_0x3b076d+_0x7c90da['length']>=_0x2b1d82){let _0x424bd8=_0x2b1d82-_0x3b076d;if('\x20'===_0x7c90da[_0x424bd8-0x1])_0x424bd8--;else{const _0x435f9d=_0x7c90da['slice'](_0x424bd8)['indexOf']('\x20');-0x1!==_0x435f9d?_0x424bd8+=_0x435f9d:_0x424bd8=_0xc3fe1c[_0xc92f('0x3')];}_0xc3fe1c=_0x7c90da[_0xc92f('0x2')](0x0,_0x424bd8)[_0xc92f('0x4')]('')+_0xaa1aeb,_0x3b076d=_0x2b1d82;}else _0x3b076d+=_0x7c90da[_0xc92f('0x3')];}}_0x46018b[_0x198774]=_0xc3fe1c;}return _0x46018b[_0xc92f('0x4')]('\x0a')[_0xc92f('0x6')](/\n/g,'');}function Z(_0x5c95b0){const _0x479384=[];for(let _0x464b19=0x0;_0x464b19<_0x5c95b0['length'];_0x464b19++){const _0x1cd313=_0x5c95b0[_0xc92f('0x1')](_0x464b19)[_0xc92f('0x7')](/^&[a-z0-9#]+;/);if(_0x1cd313){const _0x2893ed=_0x1cd313[0x0];_0x479384[_0xc92f('0x0')](_0x2893ed),_0x464b19+=_0x2893ed[_0xc92f('0x3')]-0x1;}else _0x479384[_0xc92f('0x0')](_0x5c95b0[_0x464b19]);}return _0x479384;}
|