@ckeditor/ckeditor5-document-outline 39.0.1 → 40.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/LICENSE.md +5 -5
- package/README.md +7 -7
- package/build/document-outline.js +1 -1
- package/lang/translations/ar.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +1 -0
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +3 -7
- package/src/augmentation.d.ts +27 -27
- package/src/documentoutline/documentoutlineui.d.ts +40 -39
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.d.ts +66 -66
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.d.ts +51 -51
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.d.ts +52 -52
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.d.ts +17 -17
- package/src/documentoutline/utils.js +1 -1
- package/src/documentoutline.d.ts +99 -99
- package/src/documentoutline.js +1 -1
- package/src/index.d.ts +19 -19
- package/src/index.js +1 -1
- package/src/tableofcontents/headingid.d.ts +18 -18
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.d.ts +21 -21
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.d.ts +37 -37
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.d.ts +27 -27
- package/src/tableofcontents/tableofcontentsui.js +1 -1
- package/src/tableofcontents.d.ts +26 -26
- package/src/tableofcontents.js +1 -1
- package/theme/documentoutline.css +4 -0
- package/theme/tableofcontents.css +4 -0
package/lang/translations/ar.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
|
|
16
16
|
"Language: ar\n"
|
|
17
17
|
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/bg.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
|
|
16
16
|
"Language: bg\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/bn.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
|
|
16
16
|
"Language: bn\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ca.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
|
|
16
16
|
"Language: ca\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/cs.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
|
|
16
16
|
"Language: cs\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/da.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n"
|
|
16
16
|
"Language: da\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/de.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n"
|
|
16
16
|
"Language: de\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/el.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n"
|
|
16
16
|
"Language: el\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n"
|
|
16
16
|
"Language: en_AU\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/en.po
CHANGED
package/lang/translations/es.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n"
|
|
16
16
|
"Language: es\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/et.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n"
|
|
16
16
|
"Language: et\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/fi.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n"
|
|
16
16
|
"Language: fi\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/fr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n"
|
|
16
16
|
"Language: fr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/gl.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n"
|
|
16
16
|
"Language: gl\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/he.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
|
|
16
16
|
"Language: he\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/hi.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n"
|
|
16
16
|
"Language: hi\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/hr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n"
|
|
16
16
|
"Language: hr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/hu.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
|
|
16
16
|
"Language: hu\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/id.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
|
|
16
16
|
"Language: id\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/it.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
|
|
16
16
|
"Language: it\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ja.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
|
|
16
16
|
"Language: ja\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ko.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
|
|
16
16
|
"Language: ko\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/lt.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
|
|
16
16
|
"Language: lt\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/lv.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
|
|
16
16
|
"Language: lv\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ms.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
|
|
16
16
|
"Language: ms\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/nl.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
|
|
16
16
|
"Language: nl\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/no.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
|
|
16
16
|
"Language: no\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/pl.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
|
|
16
16
|
"Language: pl\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
|
16
16
|
"Language: pt_BR\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/pt.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
|
|
16
16
|
"Language: pt\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ro.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
|
|
16
16
|
"Language: ro\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ru.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
|
|
16
16
|
"Language: ru\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/sk.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
|
|
16
16
|
"Language: sk\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/sr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
16
|
"Language: sr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/sv.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
16
|
"Language: sv\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/th.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
16
|
"Language: th\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/tr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
16
|
"Language: tr\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/ug.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
|
|
16
16
|
"Language: ug\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/uk.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
16
|
"Language: uk\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/vi.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
16
|
"Language: vi\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
16
|
"Language: zh_CN\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/lang/translations/zh.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
16
|
"Language: zh_TW\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A placeholder for the heading when it has no text content yet."
|
|
20
21
|
msgid "Empty heading"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "40.0.0",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "
|
|
16
|
-
"@ckeditor/ckeditor5-ui": "
|
|
15
|
+
"ckeditor5": "40.0.0",
|
|
16
|
+
"@ckeditor/ckeditor5-ui": "40.0.0",
|
|
17
17
|
"lodash-es": "4.17.21"
|
|
18
18
|
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=16.0.0",
|
|
21
|
-
"npm": ">=5.7.1"
|
|
22
|
-
},
|
|
23
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
20
|
"author": "CKSource (http://cksource.com/)",
|
|
25
21
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import type { DocumentOutline, DocumentOutlineUtils, DocumentOutlineConfig, DocumentOutlineUI, TableOfContents, TableOfContentsCommand, TableOfContentsEditing, TableOfContentsUI, HeadingId } from './index';
|
|
6
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
-
interface EditorConfig {
|
|
8
|
-
/**
|
|
9
|
-
* The configuration of the {@link module:document-outline/documentoutline~DocumentOutline} feature.
|
|
10
|
-
*
|
|
11
|
-
* Read more in {@link module:document-outline/documentoutline~DocumentOutlineConfig}.
|
|
12
|
-
*/
|
|
13
|
-
documentOutline?: DocumentOutlineConfig;
|
|
14
|
-
}
|
|
15
|
-
interface PluginsMap {
|
|
16
|
-
[DocumentOutline.pluginName]: DocumentOutline;
|
|
17
|
-
[DocumentOutlineUI.pluginName]: DocumentOutlineUI;
|
|
18
|
-
[DocumentOutlineUtils.pluginName]: DocumentOutlineUtils;
|
|
19
|
-
[TableOfContents.pluginName]: TableOfContents;
|
|
20
|
-
[TableOfContentsEditing.pluginName]: TableOfContentsEditing;
|
|
21
|
-
[TableOfContentsUI.pluginName]: TableOfContentsUI;
|
|
22
|
-
[HeadingId.pluginName]: HeadingId;
|
|
23
|
-
}
|
|
24
|
-
interface CommandsMap {
|
|
25
|
-
insertTableOfContents: TableOfContentsCommand;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { DocumentOutline, DocumentOutlineUtils, DocumentOutlineConfig, DocumentOutlineUI, TableOfContents, TableOfContentsCommand, TableOfContentsEditing, TableOfContentsUI, HeadingId } from './index';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the {@link module:document-outline/documentoutline~DocumentOutline} feature.
|
|
10
|
+
*
|
|
11
|
+
* Read more in {@link module:document-outline/documentoutline~DocumentOutlineConfig}.
|
|
12
|
+
*/
|
|
13
|
+
documentOutline?: DocumentOutlineConfig;
|
|
14
|
+
}
|
|
15
|
+
interface PluginsMap {
|
|
16
|
+
[DocumentOutline.pluginName]: DocumentOutline;
|
|
17
|
+
[DocumentOutlineUI.pluginName]: DocumentOutlineUI;
|
|
18
|
+
[DocumentOutlineUtils.pluginName]: DocumentOutlineUtils;
|
|
19
|
+
[TableOfContents.pluginName]: TableOfContents;
|
|
20
|
+
[TableOfContentsEditing.pluginName]: TableOfContentsEditing;
|
|
21
|
+
[TableOfContentsUI.pluginName]: TableOfContentsUI;
|
|
22
|
+
[HeadingId.pluginName]: HeadingId;
|
|
23
|
+
}
|
|
24
|
+
interface CommandsMap {
|
|
25
|
+
insertTableOfContents: TableOfContentsCommand;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module document-outline/documentoutline/documentoutlineui
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
import '
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module document-outline/documentoutline/documentoutlineui
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import DocumentOutlineView from './ui/documentoutlineview';
|
|
11
|
+
import '../../theme/documentoutline.css';
|
|
12
|
+
/**
|
|
13
|
+
* Provides the UI for the document outline feature.
|
|
14
|
+
*/
|
|
15
|
+
export default class DocumentOutlineUI extends Plugin {
|
|
16
|
+
/**
|
|
17
|
+
* The representation of the document outline view.
|
|
18
|
+
*/
|
|
19
|
+
view: DocumentOutlineView;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get pluginName(): "DocumentOutlineUI";
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
constructor(editor: Editor);
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
init(): void;
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
afterInit(): void;
|
|
36
|
+
/**
|
|
37
|
+
* @inheritDoc
|
|
38
|
+
*/
|
|
39
|
+
destroy(): void;
|
|
40
|
+
}
|