@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.
Files changed (142) hide show
  1. package/build/list-multi-level.js +1 -1
  2. package/dist/index-content.css +19 -0
  3. package/dist/index-editor.css +32 -0
  4. package/dist/index.css +106 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/ar.d.ts +8 -0
  7. package/dist/translations/ar.js +23 -0
  8. package/dist/translations/ar.umd.js +23 -0
  9. package/dist/translations/bg.d.ts +8 -0
  10. package/dist/translations/bg.js +23 -0
  11. package/dist/translations/bg.umd.js +23 -0
  12. package/dist/translations/bn.d.ts +8 -0
  13. package/dist/translations/bn.js +23 -0
  14. package/dist/translations/bn.umd.js +23 -0
  15. package/dist/translations/ca.d.ts +8 -0
  16. package/dist/translations/ca.js +23 -0
  17. package/dist/translations/ca.umd.js +23 -0
  18. package/dist/translations/cs.d.ts +8 -0
  19. package/dist/translations/cs.js +23 -0
  20. package/dist/translations/cs.umd.js +23 -0
  21. package/dist/translations/da.d.ts +8 -0
  22. package/dist/translations/da.js +23 -0
  23. package/dist/translations/da.umd.js +23 -0
  24. package/dist/translations/de.d.ts +8 -0
  25. package/dist/translations/de.js +23 -0
  26. package/dist/translations/de.umd.js +23 -0
  27. package/dist/translations/el.d.ts +8 -0
  28. package/dist/translations/el.js +23 -0
  29. package/dist/translations/el.umd.js +23 -0
  30. package/dist/translations/en.d.ts +8 -0
  31. package/dist/translations/en.js +23 -0
  32. package/dist/translations/en.umd.js +23 -0
  33. package/dist/translations/es-co.d.ts +8 -0
  34. package/dist/translations/es-co.js +23 -0
  35. package/dist/translations/es-co.umd.js +23 -0
  36. package/dist/translations/es.d.ts +8 -0
  37. package/dist/translations/es.js +23 -0
  38. package/dist/translations/es.umd.js +23 -0
  39. package/dist/translations/et.d.ts +8 -0
  40. package/dist/translations/et.js +23 -0
  41. package/dist/translations/et.umd.js +23 -0
  42. package/dist/translations/fi.d.ts +8 -0
  43. package/dist/translations/fi.js +23 -0
  44. package/dist/translations/fi.umd.js +23 -0
  45. package/dist/translations/fr.d.ts +8 -0
  46. package/dist/translations/fr.js +23 -0
  47. package/dist/translations/fr.umd.js +23 -0
  48. package/dist/translations/he.d.ts +8 -0
  49. package/dist/translations/he.js +23 -0
  50. package/dist/translations/he.umd.js +23 -0
  51. package/dist/translations/hi.d.ts +8 -0
  52. package/dist/translations/hi.js +23 -0
  53. package/dist/translations/hi.umd.js +23 -0
  54. package/dist/translations/hr.d.ts +8 -0
  55. package/dist/translations/hr.js +23 -0
  56. package/dist/translations/hr.umd.js +23 -0
  57. package/dist/translations/hu.d.ts +8 -0
  58. package/dist/translations/hu.js +23 -0
  59. package/dist/translations/hu.umd.js +23 -0
  60. package/dist/translations/id.d.ts +8 -0
  61. package/dist/translations/id.js +23 -0
  62. package/dist/translations/id.umd.js +23 -0
  63. package/dist/translations/it.d.ts +8 -0
  64. package/dist/translations/it.js +23 -0
  65. package/dist/translations/it.umd.js +23 -0
  66. package/dist/translations/ja.d.ts +8 -0
  67. package/dist/translations/ja.js +23 -0
  68. package/dist/translations/ja.umd.js +23 -0
  69. package/dist/translations/ko.d.ts +8 -0
  70. package/dist/translations/ko.js +23 -0
  71. package/dist/translations/ko.umd.js +23 -0
  72. package/dist/translations/lt.d.ts +8 -0
  73. package/dist/translations/lt.js +23 -0
  74. package/dist/translations/lt.umd.js +23 -0
  75. package/dist/translations/lv.d.ts +8 -0
  76. package/dist/translations/lv.js +23 -0
  77. package/dist/translations/lv.umd.js +23 -0
  78. package/dist/translations/ms.d.ts +8 -0
  79. package/dist/translations/ms.js +23 -0
  80. package/dist/translations/ms.umd.js +23 -0
  81. package/dist/translations/nl.d.ts +8 -0
  82. package/dist/translations/nl.js +23 -0
  83. package/dist/translations/nl.umd.js +23 -0
  84. package/dist/translations/no.d.ts +8 -0
  85. package/dist/translations/no.js +23 -0
  86. package/dist/translations/no.umd.js +23 -0
  87. package/dist/translations/pl.d.ts +8 -0
  88. package/dist/translations/pl.js +23 -0
  89. package/dist/translations/pl.umd.js +23 -0
  90. package/dist/translations/pt-br.d.ts +8 -0
  91. package/dist/translations/pt-br.js +23 -0
  92. package/dist/translations/pt-br.umd.js +23 -0
  93. package/dist/translations/pt.d.ts +8 -0
  94. package/dist/translations/pt.js +23 -0
  95. package/dist/translations/pt.umd.js +23 -0
  96. package/dist/translations/ro.d.ts +8 -0
  97. package/dist/translations/ro.js +23 -0
  98. package/dist/translations/ro.umd.js +23 -0
  99. package/dist/translations/ru.d.ts +8 -0
  100. package/dist/translations/ru.js +23 -0
  101. package/dist/translations/ru.umd.js +23 -0
  102. package/dist/translations/sk.d.ts +8 -0
  103. package/dist/translations/sk.js +23 -0
  104. package/dist/translations/sk.umd.js +23 -0
  105. package/dist/translations/sr.d.ts +8 -0
  106. package/dist/translations/sr.js +23 -0
  107. package/dist/translations/sr.umd.js +23 -0
  108. package/dist/translations/sv.d.ts +8 -0
  109. package/dist/translations/sv.js +23 -0
  110. package/dist/translations/sv.umd.js +23 -0
  111. package/dist/translations/th.d.ts +8 -0
  112. package/dist/translations/th.js +23 -0
  113. package/dist/translations/th.umd.js +23 -0
  114. package/dist/translations/tr.d.ts +8 -0
  115. package/dist/translations/tr.js +23 -0
  116. package/dist/translations/tr.umd.js +23 -0
  117. package/dist/translations/uk.d.ts +8 -0
  118. package/dist/translations/uk.js +23 -0
  119. package/dist/translations/uk.umd.js +23 -0
  120. package/dist/translations/vi.d.ts +8 -0
  121. package/dist/translations/vi.js +23 -0
  122. package/dist/translations/vi.umd.js +23 -0
  123. package/dist/translations/zh-cn.d.ts +8 -0
  124. package/dist/translations/zh-cn.js +23 -0
  125. package/dist/translations/zh-cn.umd.js +23 -0
  126. package/dist/translations/zh.d.ts +8 -0
  127. package/dist/translations/zh.js +23 -0
  128. package/dist/translations/zh.umd.js +23 -0
  129. package/dist/types/augmentation.d.ts +18 -0
  130. package/dist/types/index.d.ts +15 -0
  131. package/dist/types/multilevellist.d.ts +31 -0
  132. package/dist/types/multilevellistcommand.d.ts +53 -0
  133. package/dist/types/multilevellistediting.d.ts +31 -0
  134. package/dist/types/multilevellistui.d.ts +32 -0
  135. package/dist/types/ui/multilevellistview.d.ts +9 -0
  136. package/package.json +4 -3
  137. package/src/index.js +1 -1
  138. package/src/multilevellist.js +1 -1
  139. package/src/multilevellistcommand.js +1 -1
  140. package/src/multilevellistediting.js +1 -1
  141. package/src/multilevellistui.js +1 -1
  142. 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-20240423.0",
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-20240423.0",
27
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240423.0"
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(_0x4841f8,_0x5d0792){var _0xc51a98=_0x4446,_0x515ac7=_0x4841f8();while(!![]){try{var _0x246d27=parseInt(_0xc51a98(0x181))/0x1*(parseInt(_0xc51a98(0x17a))/0x2)+-parseInt(_0xc51a98(0x182))/0x3*(parseInt(_0xc51a98(0x17d))/0x4)+-parseInt(_0xc51a98(0x184))/0x5*(-parseInt(_0xc51a98(0x17c))/0x6)+parseInt(_0xc51a98(0x183))/0x7+parseInt(_0xc51a98(0x17e))/0x8*(-parseInt(_0xc51a98(0x17b))/0x9)+-parseInt(_0xc51a98(0x17f))/0xa+-parseInt(_0xc51a98(0x180))/0xb*(-parseInt(_0xc51a98(0x179))/0xc);if(_0x246d27===_0x5d0792)break;else _0x515ac7['push'](_0x515ac7['shift']());}catch(_0x333d41){_0x515ac7['push'](_0x515ac7['shift']());}}}(_0x7c54,0xce4c0));export{default as MultiLevelList}from'./multilevellist.js';function _0x7c54(){var _0x3c67b2=['2690482KbKQpY','9BNKiSt','7457928HPLrkK','1057760aXbHIq','12986280jNHWlm','14115860rNYUDo','44kGhmGm','1sQcmMj','3rQHtyZ','5407682CSQyqB','5eRpZht','2350644dhScDm'];_0x7c54=function(){return _0x3c67b2;};return _0x7c54();}function _0x4446(_0x16012b,_0x35840d){var _0x7c5496=_0x7c54();return _0x4446=function(_0x444600,_0x14a3d9){_0x444600=_0x444600-0x179;var _0x6567ed=_0x7c5496[_0x444600];return _0x6567ed;},_0x4446(_0x16012b,_0x35840d);}export{default as MultiLevelListEditing}from'./multilevellistediting.js';export{default as MultiLevelListUI}from'./multilevellistui.js';import'./augmentation.js';
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x337791=_0x3fb3;function _0x3fb3(_0x1ccf8c,_0x208c9f){var _0x29ebd6=_0x29eb();return _0x3fb3=function(_0x3fb3f3,_0x25fd1b){_0x3fb3f3=_0x3fb3f3-0x138;var _0x109030=_0x29ebd6[_0x3fb3f3];return _0x109030;},_0x3fb3(_0x1ccf8c,_0x208c9f);}(function(_0x386dba,_0x4d4f48){var _0x403bec=_0x3fb3,_0x51064d=_0x386dba();while(!![]){try{var _0x501a24=-parseInt(_0x403bec(0x142))/0x1*(parseInt(_0x403bec(0x144))/0x2)+-parseInt(_0x403bec(0x13a))/0x3*(parseInt(_0x403bec(0x13e))/0x4)+parseInt(_0x403bec(0x146))/0x5*(-parseInt(_0x403bec(0x147))/0x6)+-parseInt(_0x403bec(0x145))/0x7*(-parseInt(_0x403bec(0x140))/0x8)+-parseInt(_0x403bec(0x13c))/0x9+-parseInt(_0x403bec(0x139))/0xa*(parseInt(_0x403bec(0x138))/0xb)+parseInt(_0x403bec(0x141))/0xc*(parseInt(_0x403bec(0x143))/0xd);if(_0x501a24===_0x4d4f48)break;else _0x51064d['push'](_0x51064d['shift']());}catch(_0xd038b9){_0x51064d['push'](_0x51064d['shift']());}}}(_0x29eb,0x8971b));import{Plugin as _0x4cfcc5}from'ckeditor5/src/core.js';import _0x3f9fa2 from'./multilevellistediting.js';import _0x2aae41 from'./multilevellistui.js';import'../theme/multilevellist.css';export default class r extends _0x4cfcc5{static get[_0x337791(0x13b)](){var _0xada151=_0x337791;return _0xada151(0x13d);}static get[_0x337791(0x13f)](){return[_0x3f9fa2,_0x2aae41];}}function _0x29eb(){var _0x4584f5=['191eWFtlx','512993HhDrwG','2750ipyJfp','656579EQBurp','60WiGqki','283308Ghlkop','4270673qLSLzO','10naLIsD','1815897LKTUOO','pluginName','1397178EeSmxC','MultiLevelList','4OtTSuY','requires','72lKGkEd','516uDnjbJ'];_0x29eb=function(){return _0x4584f5;};return _0x29eb();}
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
- function _0xc199(_0x554cbc,_0x406aff){const _0x3f8051=_0x3f80();return _0xc199=function(_0xc19950,_0x34a807){_0xc19950=_0xc19950-0x1a1;let _0x548f93=_0x3f8051[_0xc19950];return _0x548f93;},_0xc199(_0x554cbc,_0x406aff);}const _0x2d9548=_0xc199;(function(_0x48cddc,_0x23ff3e){const _0x41126c=_0xc199,_0x4328fb=_0x48cddc();while(!![]){try{const _0x321636=parseInt(_0x41126c(0x1c0))/0x1*(-parseInt(_0x41126c(0x1bb))/0x2)+parseInt(_0x41126c(0x1c4))/0x3+-parseInt(_0x41126c(0x1c6))/0x4*(-parseInt(_0x41126c(0x1af))/0x5)+-parseInt(_0x41126c(0x1a3))/0x6*(-parseInt(_0x41126c(0x1c5))/0x7)+-parseInt(_0x41126c(0x1b2))/0x8+-parseInt(_0x41126c(0x1b1))/0x9+parseInt(_0x41126c(0x1a8))/0xa;if(_0x321636===_0x23ff3e)break;else _0x4328fb['push'](_0x4328fb['shift']());}catch(_0x28ff7e){_0x4328fb['push'](_0x4328fb['shift']());}}}(_0x3f80,0xe6f3d));function _0x3f80(){const _0x465195=['selection','model','2324763sDpDAQ','7hygBgV','16EOSemj','_listDefinitions','_checkEnabled','8601078BfeuIV','defaultListMarkerStyle','getAttribute','_listUtils','listMarkerStyle','5179870luPuvl','ListUtils','getSelectedBlocks','isEnabled','listType','find','isListItemBlock','1030885bckXmB','execute','6453333MayeSz','10684704znAdZs','value','customNumberedList','refresh','commands','_getListTypeFromListMarkerStyle','customBulletedList','List','document','2aYjrha','_getValue','get','change','plugins','552523tLxzgx','editor'];_0x3f80=function(){return _0x465195;};return _0x3f80();}import{Command as _0x3ed303}from'ckeditor5/src/core.js';import{first as _0x3aec8f}from'ckeditor5/src/utils.js';export default class c extends _0x3ed303{constructor(_0x55f295,_0x2c7a8e,_0x224d1f){const _0x28ecbb=_0xc199;super(_0x55f295),this[_0x28ecbb(0x1a4)]=_0x2c7a8e,this[_0x28ecbb(0x1a1)]=_0x224d1f,this[_0x28ecbb(0x1a6)]=this[_0x28ecbb(0x1c1)][_0x28ecbb(0x1bf)][_0x28ecbb(0x1bd)](_0x28ecbb(0x1a9));}[_0x2d9548(0x1b5)](){const _0x20df21=_0x2d9548;this[_0x20df21(0x1b3)]=this[_0x20df21(0x1bc)](),this[_0x20df21(0x1ab)]=this[_0x20df21(0x1a2)]();}[_0x2d9548(0x1b0)](_0xff830={}){const _0x1bc569=_0x2d9548,_0x4089bc=this[_0x1bc569(0x1c1)][_0x1bc569(0x1c3)],_0x1da1fc=_0xff830[_0x1bc569(0x1a7)]||this[_0x1bc569(0x1a4)];_0x4089bc[_0x1bc569(0x1be)](()=>{const _0x35e494=_0x1bc569,_0x5b7081=this[_0x35e494(0x1b7)](_0x1da1fc);if(!_0x5b7081)return;const _0x4af7ae=_0x5b7081+_0x35e494(0x1b9);this[_0x35e494(0x1c1)][_0x35e494(0x1b0)](_0x4af7ae,{'additionalAttributes':{'listMarkerStyle':_0x1da1fc}});});}[_0x2d9548(0x1bc)](){const _0x52ee99=_0x2d9548,_0x56ade4=_0x3aec8f(this[_0x52ee99(0x1c1)][_0x52ee99(0x1c3)][_0x52ee99(0x1ba)][_0x52ee99(0x1c2)][_0x52ee99(0x1aa)]());return this[_0x52ee99(0x1a6)][_0x52ee99(0x1ae)](_0x56ade4)?_0x56ade4[_0x52ee99(0x1a5)](_0x52ee99(0x1a7)):null;}[_0x2d9548(0x1a2)](){const _0x18beef=_0x2d9548,_0x5e230c=this[_0x18beef(0x1c1)],_0x99465c=_0x5e230c[_0x18beef(0x1b6)][_0x18beef(0x1bd)](_0x18beef(0x1b4)),_0x43d6d0=_0x5e230c[_0x18beef(0x1b6)][_0x18beef(0x1bd)](_0x18beef(0x1b8));return _0x99465c[_0x18beef(0x1ab)]||_0x43d6d0[_0x18beef(0x1ab)];}[_0x2d9548(0x1b7)](_0x4f2103){const _0x2c7a1c=_0x2d9548,_0x1cacd5=this[_0x2c7a1c(0x1a1)][_0x2c7a1c(0x1ad)](_0x3ce9b3=>_0x3ce9b3[_0x2c7a1c(0x1a7)]==_0x4f2103);return _0x1cacd5?_0x1cacd5[_0x2c7a1c(0x1ac)]:null;}}
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;}}