@ckeditor/ckeditor5-list-multi-level 41.3.1 → 41.4.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/README.md +32 -0
- package/build/list-multi-level.js +1 -1
- package/dist/index-content.css +19 -0
- package/dist/index-editor.css +32 -0
- package/dist/index.css +106 -0
- package/dist/index.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/types/augmentation.d.ts +18 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/multilevellist.d.ts +31 -0
- package/dist/types/multilevellistcommand.d.ts +53 -0
- package/dist/types/multilevellistediting.d.ts +31 -0
- package/dist/types/multilevellistui.d.ts +32 -0
- package/dist/types/ui/multilevellistview.d.ts +9 -0
- package/package.json +4 -3
- package/src/index.js +1 -1
- package/src/multilevellist.js +1 -1
- package/src/multilevellistcommand.js +1 -1
- package/src/multilevellistediting.js +1 -1
- package/src/multilevellistui.js +1 -1
- package/src/ui/multilevellistview.js +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'uk':{'dictionary':{'Multi-level\x20List':'Багаторівневий\x20список','Multi-level\x20list\x20styles\x20toolbar':'Панель\x20інструментів\x20стилів\x20багаторівневого\x20списку'},'getPluralForm':_0x4629f8=>_0x4629f8%0x1==0x0&&_0x4629f8%0xa==0x1&&_0x4629f8%0x64!=0xb?0x0:_0x4629f8%0x1==0x0&&_0x4629f8%0xa>=0x2&&_0x4629f8%0xa<=0x4&&(_0x4629f8%0x64<0xc||_0x4629f8%0x64>0xe)?0x1:_0x4629f8%0x1==0x0&&(_0x4629f8%0xa==0x0||_0x4629f8%0xa>=0x5&&_0x4629f8%0xa<=0x9||_0x4629f8%0x64>=0xb&&_0x4629f8%0x64<=0xe)?0x2:0x3}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x45d4d2=>{const {uk:{dictionary:_0x1e9651,getPluralForm:_0x491d79}}={'uk':{'dictionary':{'Multi-level\x20List':'Багаторівневий\x20список','Multi-level\x20list\x20styles\x20toolbar':'Панель\x20інструментів\x20стилів\x20багаторівневого\x20списку'},'getPluralForm':_0x27c2ad=>_0x27c2ad%0x1==0x0&&_0x27c2ad%0xa==0x1&&_0x27c2ad%0x64!=0xb?0x0:_0x27c2ad%0x1==0x0&&_0x27c2ad%0xa>=0x2&&_0x27c2ad%0xa<=0x4&&(_0x27c2ad%0x64<0xc||_0x27c2ad%0x64>0xe)?0x1:_0x27c2ad%0x1==0x0&&(_0x27c2ad%0xa==0x0||_0x27c2ad%0xa>=0x5&&_0x27c2ad%0xa<=0x9||_0x27c2ad%0x64>=0xb&&_0x27c2ad%0x64<=0xe)?0x2:0x3}};_0x45d4d2['uk']||={'dictionary':{},'getPluralForm':null},_0x45d4d2['uk']['dictionary']=Object['assign'](_0x45d4d2['uk']['dictionary'],_0x1e9651),_0x45d4d2['uk']['getPluralForm']=_0x491d79;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
import type { Translations } from 'ckeditor5';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'vi':{'dictionary':{'Multi-level\x20List':'Danh\x20sách\x20Đa\x20cấp\x20độ','Multi-level\x20list\x20styles\x20toolbar':'Thanh\x20công\x20cụ\x20kiểu\x20danh\x20sách\x20đa\x20cấp\x20độ'},'getPluralForm':_0x199bae=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x405d5b=>{const {vi:{dictionary:_0x279d52,getPluralForm:_0x2b58ec}}={'vi':{'dictionary':{'Multi-level\x20List':'Danh\x20sách\x20Đa\x20cấp\x20độ','Multi-level\x20list\x20styles\x20toolbar':'Thanh\x20công\x20cụ\x20kiểu\x20danh\x20sách\x20đa\x20cấp\x20độ'},'getPluralForm':_0x1f7fdf=>0x0}};_0x405d5b['vi']||={'dictionary':{},'getPluralForm':null},_0x405d5b['vi']['dictionary']=Object['assign'](_0x405d5b['vi']['dictionary'],_0x279d52),_0x405d5b['vi']['getPluralForm']=_0x2b58ec;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
import type { Translations } from 'ckeditor5';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Multi-level\x20List':'多级列表','Multi-level\x20list\x20styles\x20toolbar':'多级列表样式工具栏'},'getPluralForm':_0x2f4684=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x505b05=>{const {'zh-cn':{dictionary:_0x62234f,getPluralForm:_0x2e3f84}}={'zh-cn':{'dictionary':{'Multi-level\x20List':'多级列表','Multi-level\x20list\x20styles\x20toolbar':'多级列表样式工具栏'},'getPluralForm':_0x252e08=>0x0}};_0x505b05['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x505b05['zh-cn']['dictionary']=Object['assign'](_0x505b05['zh-cn']['dictionary'],_0x62234f),_0x505b05['zh-cn']['getPluralForm']=_0x2e3f84;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
import type { Translations } from 'ckeditor5';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'zh':{'dictionary':{'Multi-level\x20List':'多層次清單','Multi-level\x20list\x20styles\x20toolbar':'多層次清單樣式工具列'},'getPluralForm':_0x49165d=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x2500bc=>{const {zh:{dictionary:_0x34f5a2,getPluralForm:_0x17ebad}}={'zh':{'dictionary':{'Multi-level\x20List':'多層次清單','Multi-level\x20list\x20styles\x20toolbar':'多層次清單樣式工具列'},'getPluralForm':_0x555992=>0x0}};_0x2500bc['zh']||={'dictionary':{},'getPluralForm':null},_0x2500bc['zh']['dictionary']=Object['assign'](_0x2500bc['zh']['dictionary'],_0x34f5a2),_0x2500bc['zh']['getPluralForm']=_0x17ebad;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
import type { MultiLevelList, MultiLevelListEditing, MultiLevelListUI } from './index.js';
|
|
10
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
+
interface EditorConfig {
|
|
12
|
+
}
|
|
13
|
+
interface PluginsMap {
|
|
14
|
+
[MultiLevelList.pluginName]: MultiLevelList;
|
|
15
|
+
[MultiLevelListEditing.pluginName]: MultiLevelListEditing;
|
|
16
|
+
[MultiLevelListUI.pluginName]: MultiLevelListUI;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module list-multi-level
|
|
11
|
+
*/
|
|
12
|
+
export { default as MultiLevelList, type MultiLevelListConfig } from './multilevellist.js';
|
|
13
|
+
export { default as MultiLevelListEditing } from './multilevellistediting.js';
|
|
14
|
+
export { default as MultiLevelListUI } from './multilevellistui.js';
|
|
15
|
+
import './augmentation.js';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module list-multi-level/multilevellist
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
+
import MultiLevelListEditing from './multilevellistediting.js';
|
|
15
|
+
import MultiLevelListUI from './multilevellistui.js';
|
|
16
|
+
import '../theme/multilevellist.css';
|
|
17
|
+
/**
|
|
18
|
+
* The Multi-level List feature.
|
|
19
|
+
*
|
|
20
|
+
* For a detailed overview, check the {@glink features/lists/multi-level-lists Multi-level list} feature guide.
|
|
21
|
+
*/
|
|
22
|
+
export default class MultiLevelList extends Plugin {
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get pluginName(): "MultiLevelList";
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get requires(): readonly [typeof MultiLevelListEditing, typeof MultiLevelListUI];
|
|
31
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module list-multi-level/multilevellistcommand
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
+
import type { MultiLevelListDefinition } from './multilevellist.js';
|
|
15
|
+
/**
|
|
16
|
+
* The multi-level list command. It changes `listMarkerStyle` attribute of the selected list items, letting the user
|
|
17
|
+
* choose styles for the list item markers. It also changes `listType` attribute to `customNumbered` or `customBulleted`.
|
|
18
|
+
*/
|
|
19
|
+
export default class MultiLevelListCommand extends Command {
|
|
20
|
+
/**
|
|
21
|
+
* If the first selected block is a list item, its `listMarkerStyle` value is set in this property.
|
|
22
|
+
*
|
|
23
|
+
* @observable
|
|
24
|
+
* @readonly
|
|
25
|
+
*/
|
|
26
|
+
value: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* The default type of the list marker style.
|
|
29
|
+
*/
|
|
30
|
+
readonly defaultListMarkerStyle: string;
|
|
31
|
+
/**
|
|
32
|
+
* Creates an instance of the command.
|
|
33
|
+
*
|
|
34
|
+
* @param editor The editor instance.
|
|
35
|
+
* @param defaultListMarkerStyle The list marker style that will be used by default if the value was not specified
|
|
36
|
+
* during the command execution.
|
|
37
|
+
* @param listDefinitions The list of multi-level list definitions.
|
|
38
|
+
*/
|
|
39
|
+
constructor(editor: Editor, defaultListMarkerStyle: string, listDefinitions: Array<MultiLevelListDefinition>);
|
|
40
|
+
/**
|
|
41
|
+
* @inheritDoc
|
|
42
|
+
*/
|
|
43
|
+
refresh(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Executes the command.
|
|
46
|
+
*
|
|
47
|
+
* @fires execute
|
|
48
|
+
* @param options.listMarkerStyle The multi-level list marker style. If not specified, the default style will be applied.
|
|
49
|
+
*/
|
|
50
|
+
execute(options?: {
|
|
51
|
+
listMarkerStyle?: string;
|
|
52
|
+
}): void;
|
|
53
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module list-multi-level/multilevellistediting
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
13
|
+
export default class MultiLevelListEditing extends Plugin {
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get pluginName(): "MultiLevelListEditing";
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get requires(): readonly ["ListEditing"];
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
constructor(editor: Editor);
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
init(): void;
|
|
30
|
+
afterInit(): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module list-multi-level/multilevellistui
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
13
|
+
/**
|
|
14
|
+
* The multi-level list UI plugin. It introduces the `multiLevelList` toolbar button that allows users
|
|
15
|
+
* to apply user-defined list markers. The default style is `legal` numbering.
|
|
16
|
+
*/
|
|
17
|
+
export default class MultiLevelListUI extends Plugin {
|
|
18
|
+
licenseKey: string;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "MultiLevelListUI";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
constructor(editor: Editor);
|
|
27
|
+
init(): void;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
destroy(): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
import '../../theme/multilevellistview.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list-multi-level",
|
|
3
|
-
"version": "41.
|
|
3
|
+
"version": "41.4.0",
|
|
4
4
|
"description": "Multi-level list feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -23,14 +23,15 @@
|
|
|
23
23
|
"type": "module",
|
|
24
24
|
"main": "src/index.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"ckeditor5": "41.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "41.
|
|
26
|
+
"ckeditor5": "41.4.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "41.4.0"
|
|
28
28
|
},
|
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
30
|
"author": "CKSource (http://cksource.com/)",
|
|
31
31
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
32
32
|
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
33
33
|
"files": [
|
|
34
|
+
"dist",
|
|
34
35
|
"lang",
|
|
35
36
|
"src/**/*.js",
|
|
36
37
|
"src/**/*.d.ts",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x263092,_0x1e7786){var _0x2c5b8b=_0x4c6a,_0x220f02=_0x263092();while(!![]){try{var _0x382812=parseInt(_0x2c5b8b(0x157))/0x1+-parseInt(_0x2c5b8b(0x150))/0x2+-parseInt(_0x2c5b8b(0x155))/0x3+parseInt(_0x2c5b8b(0x151))/0x4*(parseInt(_0x2c5b8b(0x154))/0x5)+-parseInt(_0x2c5b8b(0x156))/0x6+parseInt(_0x2c5b8b(0x152))/0x7*(parseInt(_0x2c5b8b(0x153))/0x8)+parseInt(_0x2c5b8b(0x14f))/0x9;if(_0x382812===_0x1e7786)break;else _0x220f02['push'](_0x220f02['shift']());}catch(_0x60cb39){_0x220f02['push'](_0x220f02['shift']());}}}(_0x3ccb,0x5a2ea));function _0x4c6a(_0xb8b55e,_0x37a004){var _0x3ccbf7=_0x3ccb();return _0x4c6a=function(_0x4c6ae1,_0x65d8d6){_0x4c6ae1=_0x4c6ae1-0x14f;var _0x17b5d3=_0x3ccbf7[_0x4c6ae1];return _0x17b5d3;},_0x4c6a(_0xb8b55e,_0x37a004);}export{default as MultiLevelList}from'./multilevellist.js';export{default as MultiLevelListEditing}from'./multilevellistediting.js';function _0x3ccb(){var _0x4630d2=['4298052tKjdoH','661144AvvApG','5670999NycrHF','369792NnhIIQ','91788EqiTKm','14OVLdoC','114248TUedlO','125ngAkvY','1868604kyvCCO'];_0x3ccb=function(){return _0x4630d2;};return _0x3ccb();}export{default as MultiLevelListUI}from'./multilevellistui.js';import'./augmentation.js';
|
package/src/multilevellist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1608e0=_0x3347;(function(_0xbb4a0d,_0x2155a3){var _0x56b74f=_0x3347,_0xa5d200=_0xbb4a0d();while(!![]){try{var _0x272f79=-parseInt(_0x56b74f(0xe1))/0x1*(-parseInt(_0x56b74f(0xe4))/0x2)+parseInt(_0x56b74f(0xd9))/0x3+parseInt(_0x56b74f(0xe2))/0x4*(parseInt(_0x56b74f(0xdc))/0x5)+-parseInt(_0x56b74f(0xdd))/0x6*(parseInt(_0x56b74f(0xd6))/0x7)+-parseInt(_0x56b74f(0xd8))/0x8*(parseInt(_0x56b74f(0xda))/0x9)+-parseInt(_0x56b74f(0xe3))/0xa*(-parseInt(_0x56b74f(0xde))/0xb)+-parseInt(_0x56b74f(0xd7))/0xc;if(_0x272f79===_0x2155a3)break;else _0xa5d200['push'](_0xa5d200['shift']());}catch(_0xce1b51){_0xa5d200['push'](_0xa5d200['shift']());}}}(_0x38db,0x6e70f));import{Plugin as _0x1098eb}from'ckeditor5/src/core.js';import _0x322a4b from'./multilevellistediting.js';function _0x3347(_0x320c76,_0x55aeaa){var _0x38db44=_0x38db();return _0x3347=function(_0x33476e,_0x2e5f05){_0x33476e=_0x33476e-0xd6;var _0x33ac90=_0x38db44[_0x33476e];return _0x33ac90;},_0x3347(_0x320c76,_0x55aeaa);}import _0xe60b0b from'./multilevellistui.js';import'../theme/multilevellist.css';export default class r extends _0x1098eb{static get[_0x1608e0(0xdf)](){var _0x40fb8a=_0x1608e0;return _0x40fb8a(0xdb);}static get[_0x1608e0(0xe0)](){return[_0x322a4b,_0xe60b0b];}}function _0x38db(){var _0x53a161=['2372814GTJfPx','9yVCOyv','MultiLevelList','2384170fiyBHW','2634tJYGsK','3003iNsjEn','pluginName','requires','239tAOKtK','4BpSBlN','6130lFbGGy','3068dOrNYm','5264hIqiwP','10010100onbwpl','1480616cKVIvw'];_0x38db=function(){return _0x53a161;};return _0x38db();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d1f24=_0x420a;function _0x420a(_0xc5c9ea,_0x4ec3ab){const _0x14d2a5=_0x14d2();return _0x420a=function(_0x420ab6,_0x1ffdf6){_0x420ab6=_0x420ab6-0x166;let _0x2c62af=_0x14d2a5[_0x420ab6];return _0x2c62af;},_0x420a(_0xc5c9ea,_0x4ec3ab);}(function(_0x13ac4a,_0x5bac7b){const _0x19e93c=_0x420a,_0x4dd792=_0x13ac4a();while(!![]){try{const _0x7c2b0=-parseInt(_0x19e93c(0x16c))/0x1*(parseInt(_0x19e93c(0x17d))/0x2)+parseInt(_0x19e93c(0x182))/0x3+parseInt(_0x19e93c(0x176))/0x4*(parseInt(_0x19e93c(0x173))/0x5)+-parseInt(_0x19e93c(0x169))/0x6*(parseInt(_0x19e93c(0x171))/0x7)+-parseInt(_0x19e93c(0x189))/0x8+-parseInt(_0x19e93c(0x185))/0x9*(parseInt(_0x19e93c(0x16f))/0xa)+parseInt(_0x19e93c(0x18b))/0xb*(parseInt(_0x19e93c(0x18a))/0xc);if(_0x7c2b0===_0x5bac7b)break;else _0x4dd792['push'](_0x4dd792['shift']());}catch(_0x5d4753){_0x4dd792['push'](_0x4dd792['shift']());}}}(_0x14d2,0xe4800));function _0x14d2(){const _0x2c3315=['execute','_checkEnabled','8yegShc','_listUtils','listMarkerStyle','refresh','model','2516715PfiTMm','defaultListMarkerStyle','change','712665cYhiOC','find','listType','editor','4668072oXWqJy','12enBubT','43338053hqzBcp','value','_getListTypeFromListMarkerStyle','customBulletedList','get','List','90zrMkIn','getAttribute','document','334099aqXlUv','getSelectedBlocks','_listDefinitions','50wFXVte','selection','743309wYdTLf','isListItemBlock','5NwsmBz','_getValue','plugins','263372WtGlgd','commands','isEnabled','customNumberedList','ListUtils'];_0x14d2=function(){return _0x2c3315;};return _0x14d2();}import{Command as _0x551104}from'ckeditor5/src/core.js';import{first as _0x349234}from'ckeditor5/src/utils.js';export default class c extends _0x551104{constructor(_0x4aea65,_0x212337,_0x1e35de){const _0x3946bd=_0x420a;super(_0x4aea65),this[_0x3946bd(0x183)]=_0x212337,this[_0x3946bd(0x16e)]=_0x1e35de,this[_0x3946bd(0x17e)]=this[_0x3946bd(0x188)][_0x3946bd(0x175)][_0x3946bd(0x167)](_0x3946bd(0x17a));}[_0x5d1f24(0x180)](){const _0x47ebcc=_0x5d1f24;this[_0x47ebcc(0x18c)]=this[_0x47ebcc(0x174)](),this[_0x47ebcc(0x178)]=this[_0x47ebcc(0x17c)]();}[_0x5d1f24(0x17b)](_0x2ad2b1={}){const _0x1bbe23=_0x5d1f24,_0x31e50f=this[_0x1bbe23(0x188)][_0x1bbe23(0x181)],_0x45fa34=_0x2ad2b1[_0x1bbe23(0x17f)]||this[_0x1bbe23(0x183)];_0x31e50f[_0x1bbe23(0x184)](()=>{const _0x130d1a=_0x1bbe23,_0x51a0f7=this[_0x130d1a(0x18d)](_0x45fa34);if(!_0x51a0f7)return;const _0x3a5e98=_0x51a0f7+_0x130d1a(0x168);this[_0x130d1a(0x188)][_0x130d1a(0x17b)](_0x3a5e98,{'additionalAttributes':{'listMarkerStyle':_0x45fa34}});});}[_0x5d1f24(0x174)](){const _0x59c778=_0x5d1f24,_0x513e09=_0x349234(this[_0x59c778(0x188)][_0x59c778(0x181)][_0x59c778(0x16b)][_0x59c778(0x170)][_0x59c778(0x16d)]());return this[_0x59c778(0x17e)][_0x59c778(0x172)](_0x513e09)?_0x513e09[_0x59c778(0x16a)](_0x59c778(0x17f)):null;}[_0x5d1f24(0x17c)](){const _0x5ebb76=_0x5d1f24,_0x23b26b=this[_0x5ebb76(0x188)],_0x5e4ce5=_0x23b26b[_0x5ebb76(0x177)][_0x5ebb76(0x167)](_0x5ebb76(0x179)),_0x12e1a4=_0x23b26b[_0x5ebb76(0x177)][_0x5ebb76(0x167)](_0x5ebb76(0x166));return _0x5e4ce5[_0x5ebb76(0x178)]||_0x12e1a4[_0x5ebb76(0x178)];}[_0x5d1f24(0x18d)](_0x1bcabd){const _0x41e8de=_0x5d1f24,_0x10d933=this[_0x41e8de(0x16e)][_0x41e8de(0x186)](_0x4129d7=>_0x4129d7[_0x41e8de(0x17f)]==_0x1bcabd);return _0x10d933?_0x10d933[_0x41e8de(0x187)]:null;}}
|