@ckeditor/ckeditor5-list-multi-level 0.0.0-nightly-20240423.0 → 0.0.0-nightly-20240425.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/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':_0x2f28e7=>_0x2f28e7%0x1==0x0&&_0x2f28e7%0xa==0x1&&_0x2f28e7%0x64!=0xb?0x0:_0x2f28e7%0x1==0x0&&_0x2f28e7%0xa>=0x2&&_0x2f28e7%0xa<=0x4&&(_0x2f28e7%0x64<0xc||_0x2f28e7%0x64>0xe)?0x1:_0x2f28e7%0x1==0x0&&(_0x2f28e7%0xa==0x0||_0x2f28e7%0xa>=0x5&&_0x2f28e7%0xa<=0x9||_0x2f28e7%0x64>=0xb&&_0x2f28e7%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
|
+
(_0x21a3e4=>{const {uk:{dictionary:_0x53a3ae,getPluralForm:_0x4281e1}}={'uk':{'dictionary':{'Multi-level\x20List':'Багаторівневий\x20список','Multi-level\x20list\x20styles\x20toolbar':'Панель\x20інструментів\x20стилів\x20багаторівневого\x20списку'},'getPluralForm':_0x5d6cd5=>_0x5d6cd5%0x1==0x0&&_0x5d6cd5%0xa==0x1&&_0x5d6cd5%0x64!=0xb?0x0:_0x5d6cd5%0x1==0x0&&_0x5d6cd5%0xa>=0x2&&_0x5d6cd5%0xa<=0x4&&(_0x5d6cd5%0x64<0xc||_0x5d6cd5%0x64>0xe)?0x1:_0x5d6cd5%0x1==0x0&&(_0x5d6cd5%0xa==0x0||_0x5d6cd5%0xa>=0x5&&_0x5d6cd5%0xa<=0x9||_0x5d6cd5%0x64>=0xb&&_0x5d6cd5%0x64<=0xe)?0x2:0x3}};_0x21a3e4['uk']||={'dictionary':{},'getPluralForm':null},_0x21a3e4['uk']['dictionary']=Object['assign'](_0x21a3e4['uk']['dictionary'],_0x53a3ae),_0x21a3e4['uk']['getPluralForm']=_0x4281e1;})(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':_0x35ffb9=>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
|
+
(_0x1fb24d=>{const {vi:{dictionary:_0x2c99b1,getPluralForm:_0x4c6c95}}={'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':_0x562129=>0x0}};_0x1fb24d['vi']||={'dictionary':{},'getPluralForm':null},_0x1fb24d['vi']['dictionary']=Object['assign'](_0x1fb24d['vi']['dictionary'],_0x2c99b1),_0x1fb24d['vi']['getPluralForm']=_0x4c6c95;})(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':_0x415b99=>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
|
+
(_0x40c469=>{const {'zh-cn':{dictionary:_0x1ef473,getPluralForm:_0x553d16}}={'zh-cn':{'dictionary':{'Multi-level\x20List':'多级列表','Multi-level\x20list\x20styles\x20toolbar':'多级列表样式工具栏'},'getPluralForm':_0x18f1c7=>0x0}};_0x40c469['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x40c469['zh-cn']['dictionary']=Object['assign'](_0x40c469['zh-cn']['dictionary'],_0x1ef473),_0x40c469['zh-cn']['getPluralForm']=_0x553d16;})(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':_0x2e6814=>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
|
+
(_0x45a0d1=>{const {zh:{dictionary:_0x477edd,getPluralForm:_0x2f2975}}={'zh':{'dictionary':{'Multi-level\x20List':'多層次清單','Multi-level\x20list\x20styles\x20toolbar':'多層次清單樣式工具列'},'getPluralForm':_0x50b089=>0x0}};_0x45a0d1['zh']||={'dictionary':{},'getPluralForm':null},_0x45a0d1['zh']['dictionary']=Object['assign'](_0x45a0d1['zh']['dictionary'],_0x477edd),_0x45a0d1['zh']['getPluralForm']=_0x2f2975;})(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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240425.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": "0.0.0-nightly-
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
26
|
+
"ckeditor5": "0.0.0-nightly-20240425.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240425.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
|
-
(function(
|
|
23
|
+
(function(_0x19adb2,_0x1b8055){var _0x2f08fa=_0x265d,_0x1cf3db=_0x19adb2();while(!![]){try{var _0x436e1f=-parseInt(_0x2f08fa(0x198))/0x1+parseInt(_0x2f08fa(0x192))/0x2+parseInt(_0x2f08fa(0x193))/0x3+-parseInt(_0x2f08fa(0x191))/0x4+-parseInt(_0x2f08fa(0x196))/0x5*(-parseInt(_0x2f08fa(0x195))/0x6)+parseInt(_0x2f08fa(0x194))/0x7+-parseInt(_0x2f08fa(0x197))/0x8;if(_0x436e1f===_0x1b8055)break;else _0x1cf3db['push'](_0x1cf3db['shift']());}catch(_0x3a4ceb){_0x1cf3db['push'](_0x1cf3db['shift']());}}}(_0x5930,0xe26c9));export{default as MultiLevelList}from'./multilevellist.js';export{default as MultiLevelListEditing}from'./multilevellistediting.js';export{default as MultiLevelListUI}from'./multilevellistui.js';function _0x265d(_0x375d5e,_0x447ddb){var _0x5930e7=_0x5930();return _0x265d=function(_0x265d03,_0x1d2993){_0x265d03=_0x265d03-0x191;var _0x57e087=_0x5930e7[_0x265d03];return _0x57e087;},_0x265d(_0x375d5e,_0x447ddb);}import'./augmentation.js';function _0x5930(){var _0x1a92d1=['21378944Wfqoyw','72407zjUdyQ','175648IjdrMG','842114pZHQsT','3967836sCBpqN','5030368GzFvBC','7522962EbwEby','5IsOSUr'];_0x5930=function(){return _0x1a92d1;};return _0x5930();}
|
package/src/multilevellist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xdfcd39=_0x273a;function _0x273a(_0x445c24,_0x31647b){var _0x82d1a5=_0x82d1();return _0x273a=function(_0x273adc,_0x37c9c8){_0x273adc=_0x273adc-0x16b;var _0x2f4f3f=_0x82d1a5[_0x273adc];return _0x2f4f3f;},_0x273a(_0x445c24,_0x31647b);}(function(_0x530b3e,_0x5d26ca){var _0x782a8d=_0x273a,_0x4b4dcd=_0x530b3e();while(!![]){try{var _0x19dba5=parseInt(_0x782a8d(0x16e))/0x1+parseInt(_0x782a8d(0x176))/0x2*(-parseInt(_0x782a8d(0x16b))/0x3)+-parseInt(_0x782a8d(0x173))/0x4+parseInt(_0x782a8d(0x171))/0x5*(-parseInt(_0x782a8d(0x16c))/0x6)+-parseInt(_0x782a8d(0x175))/0x7+-parseInt(_0x782a8d(0x16f))/0x8+parseInt(_0x782a8d(0x174))/0x9;if(_0x19dba5===_0x5d26ca)break;else _0x4b4dcd['push'](_0x4b4dcd['shift']());}catch(_0x423e18){_0x4b4dcd['push'](_0x4b4dcd['shift']());}}}(_0x82d1,0xf1f25));import{Plugin as _0x5d8fea}from'ckeditor5/src/core.js';import _0x283781 from'./multilevellistediting.js';import _0x24123c from'./multilevellistui.js';import'../theme/multilevellist.css';function _0x82d1(){var _0x144b3b=['pluginName','3258668iRhagY','61462287XBeWPo','11677820qmoVPO','21484YOgScG','417vvGiUw','834UIkOIU','MultiLevelList','1067474htGgnK','11958248dFWXNW','requires','51610einJWY'];_0x82d1=function(){return _0x144b3b;};return _0x82d1();}export default class r extends _0x5d8fea{static get[_0xdfcd39(0x172)](){var _0x1bc9b6=_0xdfcd39;return _0x1bc9b6(0x16d);}static get[_0xdfcd39(0x170)](){return[_0x283781,_0x24123c];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3bda43=_0x32ce;(function(_0x53c035,_0x3924ce){const _0x20f54c=_0x32ce,_0x3143c9=_0x53c035();while(!![]){try{const _0x1da677=parseInt(_0x20f54c(0x151))/0x1+-parseInt(_0x20f54c(0x157))/0x2+-parseInt(_0x20f54c(0x161))/0x3*(parseInt(_0x20f54c(0x164))/0x4)+-parseInt(_0x20f54c(0x14e))/0x5*(-parseInt(_0x20f54c(0x144))/0x6)+-parseInt(_0x20f54c(0x154))/0x7*(parseInt(_0x20f54c(0x158))/0x8)+-parseInt(_0x20f54c(0x14f))/0x9*(parseInt(_0x20f54c(0x156))/0xa)+-parseInt(_0x20f54c(0x15a))/0xb*(-parseInt(_0x20f54c(0x162))/0xc);if(_0x1da677===_0x3924ce)break;else _0x3143c9['push'](_0x3143c9['shift']());}catch(_0x28f94d){_0x3143c9['push'](_0x3143c9['shift']());}}}(_0x510e,0x1f2d5));import{Command as _0x45a1fb}from'ckeditor5/src/core.js';import{first as _0x4f079f}from'ckeditor5/src/utils.js';function _0x510e(){const _0x21967f=['ListUtils','_getListTypeFromListMarkerStyle','editor','isEnabled','35406WQnaqs','getAttribute','commands','_listDefinitions','execute','List','isListItemBlock','find','customBulletedList','_checkEnabled','130oYpKHs','9BsnMoJ','document','6544zzSKwW','_listUtils','value','203hwoLwK','plugins','1584050vYgVKj','412592rfQIqO','50608dRyxcv','change','363VSfJQe','listMarkerStyle','refresh','customNumberedList','_getValue','defaultListMarkerStyle','get','15kRwnXL','252324TAyRYd','getSelectedBlocks','142404qqhRzc','model','listType','selection'];_0x510e=function(){return _0x21967f;};return _0x510e();}function _0x32ce(_0x190b83,_0x5f56c5){const _0x510ed1=_0x510e();return _0x32ce=function(_0x32ce1d,_0x437874){_0x32ce1d=_0x32ce1d-0x143;let _0x5545d8=_0x510ed1[_0x32ce1d];return _0x5545d8;},_0x32ce(_0x190b83,_0x5f56c5);}export default class c extends _0x45a1fb{constructor(_0x255298,_0xc44452,_0x3f3f04){const _0x386d52=_0x32ce;super(_0x255298),this[_0x386d52(0x15f)]=_0xc44452,this[_0x386d52(0x147)]=_0x3f3f04,this[_0x386d52(0x152)]=this[_0x386d52(0x16a)][_0x386d52(0x155)][_0x386d52(0x160)](_0x386d52(0x168));}[_0x3bda43(0x15c)](){const _0x3c9f65=_0x3bda43;this[_0x3c9f65(0x153)]=this[_0x3c9f65(0x15e)](),this[_0x3c9f65(0x143)]=this[_0x3c9f65(0x14d)]();}[_0x3bda43(0x148)](_0x2e7452={}){const _0x5259c2=_0x3bda43,_0x31335e=this[_0x5259c2(0x16a)][_0x5259c2(0x165)],_0x5da656=_0x2e7452[_0x5259c2(0x15b)]||this[_0x5259c2(0x15f)];_0x31335e[_0x5259c2(0x159)](()=>{const _0xea5636=_0x5259c2,_0xb8d45b=this[_0xea5636(0x169)](_0x5da656);if(!_0xb8d45b)return;const _0x54f348=_0xb8d45b+_0xea5636(0x149);this[_0xea5636(0x16a)][_0xea5636(0x148)](_0x54f348,{'additionalAttributes':{'listMarkerStyle':_0x5da656}});});}[_0x3bda43(0x15e)](){const _0x43e472=_0x3bda43,_0x386555=_0x4f079f(this[_0x43e472(0x16a)][_0x43e472(0x165)][_0x43e472(0x150)][_0x43e472(0x167)][_0x43e472(0x163)]());return this[_0x43e472(0x152)][_0x43e472(0x14a)](_0x386555)?_0x386555[_0x43e472(0x145)](_0x43e472(0x15b)):null;}[_0x3bda43(0x14d)](){const _0x259bbd=_0x3bda43,_0x3d32fa=this[_0x259bbd(0x16a)],_0x159edc=_0x3d32fa[_0x259bbd(0x146)][_0x259bbd(0x160)](_0x259bbd(0x15d)),_0x4d2ec6=_0x3d32fa[_0x259bbd(0x146)][_0x259bbd(0x160)](_0x259bbd(0x14c));return _0x159edc[_0x259bbd(0x143)]||_0x4d2ec6[_0x259bbd(0x143)];}[_0x3bda43(0x169)](_0x5ddce0){const _0x21f654=_0x3bda43,_0x147fad=this[_0x21f654(0x147)][_0x21f654(0x14b)](_0x2b70c0=>_0x2b70c0[_0x21f654(0x15b)]==_0x5ddce0);return _0x147fad?_0x147fad[_0x21f654(0x166)]:null;}}
|