@ckeditor/ckeditor5-list 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.
Files changed (386) hide show
  1. package/build/list.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/ast.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de-ch.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/en-gb.js +1 -1
  15. package/build/translations/eo.js +1 -1
  16. package/build/translations/es.js +1 -1
  17. package/build/translations/et.js +1 -1
  18. package/build/translations/eu.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/km.js +1 -1
  32. package/build/translations/kn.js +1 -1
  33. package/build/translations/ko.js +1 -1
  34. package/build/translations/ku.js +1 -1
  35. package/build/translations/lt.js +1 -1
  36. package/build/translations/lv.js +1 -1
  37. package/build/translations/ms.js +1 -1
  38. package/build/translations/nb.js +1 -1
  39. package/build/translations/ne.js +1 -1
  40. package/build/translations/nl.js +1 -1
  41. package/build/translations/no.js +1 -1
  42. package/build/translations/pl.js +1 -1
  43. package/build/translations/pt-br.js +1 -1
  44. package/build/translations/pt.js +1 -1
  45. package/build/translations/ro.js +1 -1
  46. package/build/translations/ru.js +1 -1
  47. package/build/translations/si.js +1 -1
  48. package/build/translations/sk.js +1 -1
  49. package/build/translations/sq.js +1 -1
  50. package/build/translations/sr-latn.js +1 -1
  51. package/build/translations/sr.js +1 -1
  52. package/build/translations/sv.js +1 -1
  53. package/build/translations/th.js +1 -1
  54. package/build/translations/ti.js +1 -0
  55. package/build/translations/tk.js +1 -1
  56. package/build/translations/tr.js +1 -1
  57. package/build/translations/tt.js +1 -1
  58. package/build/translations/ug.js +1 -1
  59. package/build/translations/uk.js +1 -1
  60. package/build/translations/ur.js +1 -1
  61. package/build/translations/uz.js +1 -1
  62. package/build/translations/vi.js +1 -1
  63. package/build/translations/zh-cn.js +1 -1
  64. package/build/translations/zh.js +1 -1
  65. package/dist/index-content.css +102 -0
  66. package/dist/index-editor.css +74 -0
  67. package/dist/index.css +238 -0
  68. package/dist/index.css.map +1 -0
  69. package/dist/index.js +7569 -0
  70. package/dist/index.js.map +1 -0
  71. package/dist/translations/ar.d.ts +8 -0
  72. package/dist/translations/ar.js +5 -0
  73. package/dist/translations/ar.umd.js +11 -0
  74. package/dist/translations/ast.d.ts +8 -0
  75. package/dist/translations/ast.js +5 -0
  76. package/dist/translations/ast.umd.js +11 -0
  77. package/dist/translations/az.d.ts +8 -0
  78. package/dist/translations/az.js +5 -0
  79. package/dist/translations/az.umd.js +11 -0
  80. package/dist/translations/bg.d.ts +8 -0
  81. package/dist/translations/bg.js +5 -0
  82. package/dist/translations/bg.umd.js +11 -0
  83. package/dist/translations/bn.d.ts +8 -0
  84. package/dist/translations/bn.js +5 -0
  85. package/dist/translations/bn.umd.js +11 -0
  86. package/dist/translations/ca.d.ts +8 -0
  87. package/dist/translations/ca.js +5 -0
  88. package/dist/translations/ca.umd.js +11 -0
  89. package/dist/translations/cs.d.ts +8 -0
  90. package/dist/translations/cs.js +5 -0
  91. package/dist/translations/cs.umd.js +11 -0
  92. package/dist/translations/da.d.ts +8 -0
  93. package/dist/translations/da.js +5 -0
  94. package/dist/translations/da.umd.js +11 -0
  95. package/dist/translations/de-ch.d.ts +8 -0
  96. package/dist/translations/de-ch.js +5 -0
  97. package/dist/translations/de-ch.umd.js +11 -0
  98. package/dist/translations/de.d.ts +8 -0
  99. package/dist/translations/de.js +5 -0
  100. package/dist/translations/de.umd.js +11 -0
  101. package/dist/translations/el.d.ts +8 -0
  102. package/dist/translations/el.js +5 -0
  103. package/dist/translations/el.umd.js +11 -0
  104. package/dist/translations/en-au.d.ts +8 -0
  105. package/dist/translations/en-au.js +5 -0
  106. package/dist/translations/en-au.umd.js +11 -0
  107. package/dist/translations/en-gb.d.ts +8 -0
  108. package/dist/translations/en-gb.js +5 -0
  109. package/dist/translations/en-gb.umd.js +11 -0
  110. package/dist/translations/en.d.ts +8 -0
  111. package/dist/translations/en.js +5 -0
  112. package/dist/translations/en.umd.js +11 -0
  113. package/dist/translations/eo.d.ts +8 -0
  114. package/dist/translations/eo.js +5 -0
  115. package/dist/translations/eo.umd.js +11 -0
  116. package/dist/translations/es.d.ts +8 -0
  117. package/dist/translations/es.js +5 -0
  118. package/dist/translations/es.umd.js +11 -0
  119. package/dist/translations/et.d.ts +8 -0
  120. package/dist/translations/et.js +5 -0
  121. package/dist/translations/et.umd.js +11 -0
  122. package/dist/translations/eu.d.ts +8 -0
  123. package/dist/translations/eu.js +5 -0
  124. package/dist/translations/eu.umd.js +11 -0
  125. package/dist/translations/fa.d.ts +8 -0
  126. package/dist/translations/fa.js +5 -0
  127. package/dist/translations/fa.umd.js +11 -0
  128. package/dist/translations/fi.d.ts +8 -0
  129. package/dist/translations/fi.js +5 -0
  130. package/dist/translations/fi.umd.js +11 -0
  131. package/dist/translations/fr.d.ts +8 -0
  132. package/dist/translations/fr.js +5 -0
  133. package/dist/translations/fr.umd.js +11 -0
  134. package/dist/translations/gl.d.ts +8 -0
  135. package/dist/translations/gl.js +5 -0
  136. package/dist/translations/gl.umd.js +11 -0
  137. package/dist/translations/he.d.ts +8 -0
  138. package/dist/translations/he.js +5 -0
  139. package/dist/translations/he.umd.js +11 -0
  140. package/dist/translations/hi.d.ts +8 -0
  141. package/dist/translations/hi.js +5 -0
  142. package/dist/translations/hi.umd.js +11 -0
  143. package/dist/translations/hr.d.ts +8 -0
  144. package/dist/translations/hr.js +5 -0
  145. package/dist/translations/hr.umd.js +11 -0
  146. package/dist/translations/hu.d.ts +8 -0
  147. package/dist/translations/hu.js +5 -0
  148. package/dist/translations/hu.umd.js +11 -0
  149. package/dist/translations/id.d.ts +8 -0
  150. package/dist/translations/id.js +5 -0
  151. package/dist/translations/id.umd.js +11 -0
  152. package/dist/translations/it.d.ts +8 -0
  153. package/dist/translations/it.js +5 -0
  154. package/dist/translations/it.umd.js +11 -0
  155. package/dist/translations/ja.d.ts +8 -0
  156. package/dist/translations/ja.js +5 -0
  157. package/dist/translations/ja.umd.js +11 -0
  158. package/dist/translations/jv.d.ts +8 -0
  159. package/dist/translations/jv.js +5 -0
  160. package/dist/translations/jv.umd.js +11 -0
  161. package/dist/translations/km.d.ts +8 -0
  162. package/dist/translations/km.js +5 -0
  163. package/dist/translations/km.umd.js +11 -0
  164. package/dist/translations/kn.d.ts +8 -0
  165. package/dist/translations/kn.js +5 -0
  166. package/dist/translations/kn.umd.js +11 -0
  167. package/dist/translations/ko.d.ts +8 -0
  168. package/dist/translations/ko.js +5 -0
  169. package/dist/translations/ko.umd.js +11 -0
  170. package/dist/translations/ku.d.ts +8 -0
  171. package/dist/translations/ku.js +5 -0
  172. package/dist/translations/ku.umd.js +11 -0
  173. package/dist/translations/lt.d.ts +8 -0
  174. package/dist/translations/lt.js +5 -0
  175. package/dist/translations/lt.umd.js +11 -0
  176. package/dist/translations/lv.d.ts +8 -0
  177. package/dist/translations/lv.js +5 -0
  178. package/dist/translations/lv.umd.js +11 -0
  179. package/dist/translations/ms.d.ts +8 -0
  180. package/dist/translations/ms.js +5 -0
  181. package/dist/translations/ms.umd.js +11 -0
  182. package/dist/translations/nb.d.ts +8 -0
  183. package/dist/translations/nb.js +5 -0
  184. package/dist/translations/nb.umd.js +11 -0
  185. package/dist/translations/ne.d.ts +8 -0
  186. package/dist/translations/ne.js +5 -0
  187. package/dist/translations/ne.umd.js +11 -0
  188. package/dist/translations/nl.d.ts +8 -0
  189. package/dist/translations/nl.js +5 -0
  190. package/dist/translations/nl.umd.js +11 -0
  191. package/dist/translations/no.d.ts +8 -0
  192. package/dist/translations/no.js +5 -0
  193. package/dist/translations/no.umd.js +11 -0
  194. package/dist/translations/pl.d.ts +8 -0
  195. package/dist/translations/pl.js +5 -0
  196. package/dist/translations/pl.umd.js +11 -0
  197. package/dist/translations/pt-br.d.ts +8 -0
  198. package/dist/translations/pt-br.js +5 -0
  199. package/dist/translations/pt-br.umd.js +11 -0
  200. package/dist/translations/pt.d.ts +8 -0
  201. package/dist/translations/pt.js +5 -0
  202. package/dist/translations/pt.umd.js +11 -0
  203. package/dist/translations/ro.d.ts +8 -0
  204. package/dist/translations/ro.js +5 -0
  205. package/dist/translations/ro.umd.js +11 -0
  206. package/dist/translations/ru.d.ts +8 -0
  207. package/dist/translations/ru.js +5 -0
  208. package/dist/translations/ru.umd.js +11 -0
  209. package/dist/translations/si.d.ts +8 -0
  210. package/dist/translations/si.js +5 -0
  211. package/dist/translations/si.umd.js +11 -0
  212. package/dist/translations/sk.d.ts +8 -0
  213. package/dist/translations/sk.js +5 -0
  214. package/dist/translations/sk.umd.js +11 -0
  215. package/dist/translations/sq.d.ts +8 -0
  216. package/dist/translations/sq.js +5 -0
  217. package/dist/translations/sq.umd.js +11 -0
  218. package/dist/translations/sr-latn.d.ts +8 -0
  219. package/dist/translations/sr-latn.js +5 -0
  220. package/dist/translations/sr-latn.umd.js +11 -0
  221. package/dist/translations/sr.d.ts +8 -0
  222. package/dist/translations/sr.js +5 -0
  223. package/dist/translations/sr.umd.js +11 -0
  224. package/dist/translations/sv.d.ts +8 -0
  225. package/dist/translations/sv.js +5 -0
  226. package/dist/translations/sv.umd.js +11 -0
  227. package/dist/translations/th.d.ts +8 -0
  228. package/dist/translations/th.js +5 -0
  229. package/dist/translations/th.umd.js +11 -0
  230. package/dist/translations/ti.d.ts +8 -0
  231. package/dist/translations/ti.js +5 -0
  232. package/dist/translations/ti.umd.js +11 -0
  233. package/dist/translations/tk.d.ts +8 -0
  234. package/dist/translations/tk.js +5 -0
  235. package/dist/translations/tk.umd.js +11 -0
  236. package/dist/translations/tr.d.ts +8 -0
  237. package/dist/translations/tr.js +5 -0
  238. package/dist/translations/tr.umd.js +11 -0
  239. package/dist/translations/tt.d.ts +8 -0
  240. package/dist/translations/tt.js +5 -0
  241. package/dist/translations/tt.umd.js +11 -0
  242. package/dist/translations/ug.d.ts +8 -0
  243. package/dist/translations/ug.js +5 -0
  244. package/dist/translations/ug.umd.js +11 -0
  245. package/dist/translations/uk.d.ts +8 -0
  246. package/dist/translations/uk.js +5 -0
  247. package/dist/translations/uk.umd.js +11 -0
  248. package/dist/translations/ur.d.ts +8 -0
  249. package/dist/translations/ur.js +5 -0
  250. package/dist/translations/ur.umd.js +11 -0
  251. package/dist/translations/uz.d.ts +8 -0
  252. package/dist/translations/uz.js +5 -0
  253. package/dist/translations/uz.umd.js +11 -0
  254. package/dist/translations/vi.d.ts +8 -0
  255. package/dist/translations/vi.js +5 -0
  256. package/dist/translations/vi.umd.js +11 -0
  257. package/dist/translations/zh-cn.d.ts +8 -0
  258. package/dist/translations/zh-cn.js +5 -0
  259. package/dist/translations/zh-cn.umd.js +11 -0
  260. package/dist/translations/zh.d.ts +8 -0
  261. package/dist/translations/zh.js +5 -0
  262. package/dist/translations/zh.umd.js +11 -0
  263. package/dist/types/augmentation.d.ts +57 -0
  264. package/dist/types/documentlist.d.ts +32 -0
  265. package/dist/types/documentlistproperties.d.ts +32 -0
  266. package/dist/types/index.d.ts +49 -0
  267. package/dist/types/legacylist/legacyconverters.d.ts +200 -0
  268. package/dist/types/legacylist/legacyindentcommand.d.ts +41 -0
  269. package/dist/types/legacylist/legacylistcommand.d.ts +60 -0
  270. package/dist/types/legacylist/legacylistediting.d.ts +36 -0
  271. package/dist/types/legacylist/legacylistutils.d.ts +45 -0
  272. package/dist/types/legacylist/legacyutils.d.ts +105 -0
  273. package/dist/types/legacylist.d.ts +30 -0
  274. package/dist/types/legacylistproperties/legacylistpropertiesediting.d.ts +76 -0
  275. package/dist/types/legacylistproperties/legacylistreversedcommand.d.ts +42 -0
  276. package/dist/types/legacylistproperties/legacyliststartcommand.d.ts +41 -0
  277. package/dist/types/legacylistproperties/legacyliststylecommand.d.ts +71 -0
  278. package/dist/types/legacylistproperties.d.ts +31 -0
  279. package/dist/types/legacytodolist/legacychecktodolistcommand.d.ts +56 -0
  280. package/dist/types/legacytodolist/legacytodolistconverters.d.ts +87 -0
  281. package/dist/types/legacytodolist/legacytodolistediting.d.ts +50 -0
  282. package/dist/types/legacytodolist.d.ts +31 -0
  283. package/dist/types/list/adjacentlistssupport.d.ts +19 -0
  284. package/dist/types/list/converters.d.ts +77 -0
  285. package/dist/types/list/listcommand.d.ts +96 -0
  286. package/dist/types/list/listediting.d.ts +226 -0
  287. package/dist/types/list/listindentcommand.d.ts +66 -0
  288. package/dist/types/list/listmergecommand.d.ts +80 -0
  289. package/dist/types/list/listsplitcommand.d.ts +71 -0
  290. package/dist/types/list/listui.d.ts +23 -0
  291. package/dist/types/list/listutils.d.ts +56 -0
  292. package/dist/types/list/utils/listwalker.d.ts +146 -0
  293. package/dist/types/list/utils/model.d.ts +213 -0
  294. package/dist/types/list/utils/postfixers.d.ts +41 -0
  295. package/dist/types/list/utils/view.d.ts +86 -0
  296. package/dist/types/list/utils.d.ts +22 -0
  297. package/dist/types/list.d.ts +30 -0
  298. package/dist/types/listconfig.d.ts +136 -0
  299. package/dist/types/listproperties/converters.d.ts +23 -0
  300. package/dist/types/listproperties/listpropertiesediting.d.ts +92 -0
  301. package/dist/types/listproperties/listpropertiesui.d.ts +27 -0
  302. package/dist/types/listproperties/listpropertiesutils.d.ts +37 -0
  303. package/dist/types/listproperties/listreversedcommand.d.ts +40 -0
  304. package/dist/types/listproperties/liststartcommand.d.ts +42 -0
  305. package/dist/types/listproperties/liststylecommand.d.ts +76 -0
  306. package/dist/types/listproperties/ui/listpropertiesview.d.ts +160 -0
  307. package/dist/types/listproperties/utils/style.d.ts +24 -0
  308. package/dist/types/listproperties.d.ts +31 -0
  309. package/dist/types/tododocumentlist.d.ts +32 -0
  310. package/dist/types/todolist/checktodolistcommand.d.ts +53 -0
  311. package/dist/types/todolist/todocheckboxchangeobserver.d.ts +45 -0
  312. package/dist/types/todolist/todolistediting.d.ts +49 -0
  313. package/dist/types/todolist/todolistui.d.ts +23 -0
  314. package/dist/types/todolist.d.ts +31 -0
  315. package/lang/contexts.json +3 -1
  316. package/lang/translations/ar.po +8 -0
  317. package/lang/translations/ast.po +8 -0
  318. package/lang/translations/az.po +8 -0
  319. package/lang/translations/bg.po +8 -0
  320. package/lang/translations/bn.po +8 -0
  321. package/lang/translations/ca.po +8 -0
  322. package/lang/translations/cs.po +8 -0
  323. package/lang/translations/da.po +8 -0
  324. package/lang/translations/de-ch.po +8 -0
  325. package/lang/translations/de.po +8 -0
  326. package/lang/translations/el.po +8 -0
  327. package/lang/translations/en-au.po +8 -0
  328. package/lang/translations/en-gb.po +8 -0
  329. package/lang/translations/en.po +8 -0
  330. package/lang/translations/eo.po +8 -0
  331. package/lang/translations/es.po +8 -0
  332. package/lang/translations/et.po +8 -0
  333. package/lang/translations/eu.po +8 -0
  334. package/lang/translations/fa.po +8 -0
  335. package/lang/translations/fi.po +8 -0
  336. package/lang/translations/fr.po +8 -0
  337. package/lang/translations/gl.po +8 -0
  338. package/lang/translations/he.po +8 -0
  339. package/lang/translations/hi.po +8 -0
  340. package/lang/translations/hr.po +8 -0
  341. package/lang/translations/hu.po +8 -0
  342. package/lang/translations/id.po +8 -0
  343. package/lang/translations/it.po +8 -0
  344. package/lang/translations/ja.po +8 -0
  345. package/lang/translations/jv.po +8 -0
  346. package/lang/translations/km.po +8 -0
  347. package/lang/translations/kn.po +8 -0
  348. package/lang/translations/ko.po +8 -0
  349. package/lang/translations/ku.po +8 -0
  350. package/lang/translations/lt.po +8 -0
  351. package/lang/translations/lv.po +8 -0
  352. package/lang/translations/ms.po +8 -0
  353. package/lang/translations/nb.po +8 -0
  354. package/lang/translations/ne.po +8 -0
  355. package/lang/translations/nl.po +8 -0
  356. package/lang/translations/no.po +8 -0
  357. package/lang/translations/pl.po +8 -0
  358. package/lang/translations/pt-br.po +8 -0
  359. package/lang/translations/pt.po +8 -0
  360. package/lang/translations/ro.po +8 -0
  361. package/lang/translations/ru.po +8 -0
  362. package/lang/translations/si.po +8 -0
  363. package/lang/translations/sk.po +8 -0
  364. package/lang/translations/sq.po +8 -0
  365. package/lang/translations/sr-latn.po +8 -0
  366. package/lang/translations/sr.po +8 -0
  367. package/lang/translations/sv.po +8 -0
  368. package/lang/translations/th.po +8 -0
  369. package/lang/translations/ti.po +150 -0
  370. package/lang/translations/tk.po +8 -0
  371. package/lang/translations/tr.po +8 -0
  372. package/lang/translations/tt.po +8 -0
  373. package/lang/translations/ug.po +8 -0
  374. package/lang/translations/uk.po +8 -0
  375. package/lang/translations/ur.po +8 -0
  376. package/lang/translations/uz.po +8 -0
  377. package/lang/translations/vi.po +8 -0
  378. package/lang/translations/zh-cn.po +8 -0
  379. package/lang/translations/zh.po +8 -0
  380. package/package.json +3 -2
  381. package/src/legacytodolist/legacytodolistediting.d.ts +7 -0
  382. package/src/legacytodolist/legacytodolistediting.js +32 -0
  383. package/src/list/listui.js +8 -3
  384. package/src/todolist/todolistediting.d.ts +7 -0
  385. package/src/todolist/todolistediting.js +38 -0
  386. package/theme/todolist.css +4 -0
@@ -0,0 +1,5 @@
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
+ export default {"uz":{"dictionary":{"Numbered List":"Raqamlangan ro'yxat","Bulleted List":"Belgilangan roʻyxat","To-do List":"","Bulleted list styles toolbar":"Belgilangan ro'yxat uslublari","Numbered list styles toolbar":"Raqamlangan ro'yxat uslublari","Toggle the disc list style":"","Toggle the circle list style":"","Toggle the square list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the lower–roman list style":"","Toggle the upper–roman list style":"","Toggle the lower–latin list style":"","Toggle the upper–latin list style":"","Disc":"Disk","Circle":"Doira","Square":"Kvadrat","Decimal":"O'nlik","Decimal with leading zero":"Boshlovchi nol bilan oʻnlik","Lower–roman":"Kichik rim","Upper-roman":"Katta rim","Lower-latin":"Kichik lotincha","Upper-latin":"Katta lotincha","List properties":"","Start at":"","Invalid start index value.":"","Start index must be greater than 0.":"","Reversed order":"","Keystrokes that can be used in a list":"","Increase list item indent":"","Decrease list item indent":"","Entering a to-do list":"","Leaving a to-do list":""},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'uz' ]: { dictionary, getPluralForm } } = {"uz":{"dictionary":{"Numbered List":"Raqamlangan ro'yxat","Bulleted List":"Belgilangan roʻyxat","To-do List":"","Bulleted list styles toolbar":"Belgilangan ro'yxat uslublari","Numbered list styles toolbar":"Raqamlangan ro'yxat uslublari","Toggle the disc list style":"","Toggle the circle list style":"","Toggle the square list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the lower–roman list style":"","Toggle the upper–roman list style":"","Toggle the lower–latin list style":"","Toggle the upper–latin list style":"","Disc":"Disk","Circle":"Doira","Square":"Kvadrat","Decimal":"O'nlik","Decimal with leading zero":"Boshlovchi nol bilan oʻnlik","Lower–roman":"Kichik rim","Upper-roman":"Katta rim","Lower-latin":"Kichik lotincha","Upper-latin":"Katta lotincha","List properties":"","Start at":"","Invalid start index value.":"","Start index must be greater than 0.":"","Reversed order":"","Keystrokes that can be used in a list":"","Increase list item indent":"","Decrease list item indent":"","Entering a to-do list":"","Leaving a to-do list":""},getPluralForm(n){return 0;}}};
8
+ e[ 'uz' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'uz' ].dictionary = Object.assign( e[ 'uz' ].dictionary, dictionary );
10
+ e[ 'uz' ].getPluralForm = getPluralForm;
11
+ } )( 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,5 @@
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
+ export default {"vi":{"dictionary":{"Numbered List":"Danh sách đánh số","Bulleted List":"Danh sách đánh ký hiệu","To-do List":"Danh sách cần làm","Bulleted list styles toolbar":"Thanh công cụ kiểu danh sách có dấu đầu dòng","Numbered list styles toolbar":"Thanh công cụ kiểu danh sách được đánh số","Toggle the disc list style":"Bật/tắt kiểu danh sách dạng đĩa","Toggle the circle list style":"Bật/tắt kiểu danh sách dạng vòng tròn","Toggle the square list style":"Bật/tắt kiểu danh sách dạng vuông","Toggle the decimal list style":"Bật/tắt kiểu danh sách dạng thập phân","Toggle the decimal with leading zero list style":"Bật/tắt kiểu danh sách dạng thập phân bắt đầu bằng số 0","Toggle the lower–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết thường","Toggle the upper–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết hoa","Toggle the lower–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết thường","Toggle the upper–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết hoa","Disc":"Đĩa","Circle":"Tròn","Square":"Vuông","Decimal":"Thập phân","Decimal with leading zero":"Thập phân bắt đầu bằng số 0","Lower–roman":"Chữ số La Mã viết thường","Upper-roman":"Chữ số La Mã viết hoa","Lower-latin":"Chữ cái Latinh viết thường","Upper-latin":"Chữ cái Latinh viết hoa","List properties":"Thuộc tính danh sách","Start at":"Bắt đầu tại","Invalid start index value.":"Giá trị chỉ mục bắt đầu không hợp lệ.","Start index must be greater than 0.":"Chỉ mục bắt đầu phải lớn hơn 0.","Reversed order":"Thứ tự đảo ngược","Keystrokes that can be used in a list":"Tổ hợp phím mà bạn có thể dùng trong danh sách","Increase list item indent":"Tăng thụt lề mục danh sách","Decrease list item indent":"Giảm thụt lề mục danh sách","Entering a to-do list":"Đang nhập danh sách việc cần làm","Leaving a to-do list":"Đang rời khỏi danh sách việc cần làm"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'vi' ]: { dictionary, getPluralForm } } = {"vi":{"dictionary":{"Numbered List":"Danh sách đánh số","Bulleted List":"Danh sách đánh ký hiệu","To-do List":"Danh sách cần làm","Bulleted list styles toolbar":"Thanh công cụ kiểu danh sách có dấu đầu dòng","Numbered list styles toolbar":"Thanh công cụ kiểu danh sách được đánh số","Toggle the disc list style":"Bật/tắt kiểu danh sách dạng đĩa","Toggle the circle list style":"Bật/tắt kiểu danh sách dạng vòng tròn","Toggle the square list style":"Bật/tắt kiểu danh sách dạng vuông","Toggle the decimal list style":"Bật/tắt kiểu danh sách dạng thập phân","Toggle the decimal with leading zero list style":"Bật/tắt kiểu danh sách dạng thập phân bắt đầu bằng số 0","Toggle the lower–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết thường","Toggle the upper–roman list style":"Bật/tắt kiểu danh sách chữ số La Mã viết hoa","Toggle the lower–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết thường","Toggle the upper–latin list style":"Bật/tắt kiểu danh sách chữ cái Latinh viết hoa","Disc":"Đĩa","Circle":"Tròn","Square":"Vuông","Decimal":"Thập phân","Decimal with leading zero":"Thập phân bắt đầu bằng số 0","Lower–roman":"Chữ số La Mã viết thường","Upper-roman":"Chữ số La Mã viết hoa","Lower-latin":"Chữ cái Latinh viết thường","Upper-latin":"Chữ cái Latinh viết hoa","List properties":"Thuộc tính danh sách","Start at":"Bắt đầu tại","Invalid start index value.":"Giá trị chỉ mục bắt đầu không hợp lệ.","Start index must be greater than 0.":"Chỉ mục bắt đầu phải lớn hơn 0.","Reversed order":"Thứ tự đảo ngược","Keystrokes that can be used in a list":"Tổ hợp phím mà bạn có thể dùng trong danh sách","Increase list item indent":"Tăng thụt lề mục danh sách","Decrease list item indent":"Giảm thụt lề mục danh sách","Entering a to-do list":"Đang nhập danh sách việc cần làm","Leaving a to-do list":"Đang rời khỏi danh sách việc cần làm"},getPluralForm(n){return 0;}}};
8
+ e[ 'vi' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'vi' ].dictionary = Object.assign( e[ 'vi' ].dictionary, dictionary );
10
+ e[ 'vi' ].getPluralForm = getPluralForm;
11
+ } )( 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,5 @@
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
+ export default {"zh-cn":{"dictionary":{"Numbered List":"项目编号列表","Bulleted List":"项目符号列表","To-do List":"待办列表","Bulleted list styles toolbar":"项目符号列表样式工具条","Numbered list styles toolbar":"项目编号列表样式工具条","Toggle the disc list style":"切换实心原点列表样式","Toggle the circle list style":"切换空心原点列表样式","Toggle the square list style":"切换实心方块列表样式","Toggle the decimal list style":"切换阿拉伯数字列表样式","Toggle the decimal with leading zero list style":"切换前导零阿拉伯数字列表样式","Toggle the lower–roman list style":"切换小写罗马数字列表样式","Toggle the upper–roman list style":"切换大写罗马数字列表样式","Toggle the lower–latin list style":"切换小写拉丁字母列表样式","Toggle the upper–latin list style":"切换大写拉丁字母列表样式","Disc":"实心圆点","Circle":"空心圆点","Square":"实心方块","Decimal":"阿拉伯数字","Decimal with leading zero":"前导零阿拉伯数字","Lower–roman":"小写罗马数字","Upper-roman":"大写罗马数字","Lower-latin":"小写拉丁字母","Upper-latin":"大写拉丁字母","List properties":"列表属性","Start at":"起始编号","Invalid start index value.":"无效的起始索引值。","Start index must be greater than 0.":"起始编号必须大于0。","Reversed order":"顺序反转","Keystrokes that can be used in a list":"可在列表中使用的按键","Increase list item indent":"增加列表项的缩进","Decrease list item indent":"减少列表项的缩进","Entering a to-do list":"正在输入待办事项清单","Leaving a to-do list":"正在退出待办事项清单"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'zh-cn' ]: { dictionary, getPluralForm } } = {"zh-cn":{"dictionary":{"Numbered List":"项目编号列表","Bulleted List":"项目符号列表","To-do List":"待办列表","Bulleted list styles toolbar":"项目符号列表样式工具条","Numbered list styles toolbar":"项目编号列表样式工具条","Toggle the disc list style":"切换实心原点列表样式","Toggle the circle list style":"切换空心原点列表样式","Toggle the square list style":"切换实心方块列表样式","Toggle the decimal list style":"切换阿拉伯数字列表样式","Toggle the decimal with leading zero list style":"切换前导零阿拉伯数字列表样式","Toggle the lower–roman list style":"切换小写罗马数字列表样式","Toggle the upper–roman list style":"切换大写罗马数字列表样式","Toggle the lower–latin list style":"切换小写拉丁字母列表样式","Toggle the upper–latin list style":"切换大写拉丁字母列表样式","Disc":"实心圆点","Circle":"空心圆点","Square":"实心方块","Decimal":"阿拉伯数字","Decimal with leading zero":"前导零阿拉伯数字","Lower–roman":"小写罗马数字","Upper-roman":"大写罗马数字","Lower-latin":"小写拉丁字母","Upper-latin":"大写拉丁字母","List properties":"列表属性","Start at":"起始编号","Invalid start index value.":"无效的起始索引值。","Start index must be greater than 0.":"起始编号必须大于0。","Reversed order":"顺序反转","Keystrokes that can be used in a list":"可在列表中使用的按键","Increase list item indent":"增加列表项的缩进","Decrease list item indent":"减少列表项的缩进","Entering a to-do list":"正在输入待办事项清单","Leaving a to-do list":"正在退出待办事项清单"},getPluralForm(n){return 0;}}};
8
+ e[ 'zh-cn' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'zh-cn' ].dictionary = Object.assign( e[ 'zh-cn' ].dictionary, dictionary );
10
+ e[ 'zh-cn' ].getPluralForm = getPluralForm;
11
+ } )( 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,5 @@
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
+ export default {"zh":{"dictionary":{"Numbered List":"有序清單","Bulleted List":"符號清單","To-do List":"代辦清單","Bulleted list styles toolbar":"無序清單工具列","Numbered list styles toolbar":"有序清單工具列","Toggle the disc list style":"切換為實心圓點標示","Toggle the circle list style":"切換為空心圓點標示","Toggle the square list style":"切換為方形標示","Toggle the decimal list style":"切換為數字標示","Toggle the decimal with leading zero list style":"切換為0開頭的數字標示","Toggle the lower–roman list style":"切換為小寫羅馬數字標示","Toggle the upper–roman list style":"切換為大寫羅馬數字標示","Toggle the lower–latin list style":"切換為小寫拉丁文字標示","Toggle the upper–latin list style":"切換為大寫拉丁文字標示","Disc":"實心圓點","Circle":"空心圓點","Square":"方形","Decimal":"數字","Decimal with leading zero":"0開頭的數字","Lower–roman":"小寫羅馬數字","Upper-roman":"大寫羅馬數字","Lower-latin":"小寫拉丁字母","Upper-latin":"大寫拉丁字母","List properties":"清單屬性","Start at":"起始於","Invalid start index value.":"無效的起始索引值。","Start index must be greater than 0.":"起始索引須大於 0。","Reversed order":"反轉順序","Keystrokes that can be used in a list":"可在列表中使用的按鍵","Increase list item indent":"增加列表項目縮排","Decrease list item indent":"減少列表項目縮排","Entering a to-do list":"進入待辦事項清單","Leaving a to-do list":"離開待辦事項清單"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'zh' ]: { dictionary, getPluralForm } } = {"zh":{"dictionary":{"Numbered List":"有序清單","Bulleted List":"符號清單","To-do List":"代辦清單","Bulleted list styles toolbar":"無序清單工具列","Numbered list styles toolbar":"有序清單工具列","Toggle the disc list style":"切換為實心圓點標示","Toggle the circle list style":"切換為空心圓點標示","Toggle the square list style":"切換為方形標示","Toggle the decimal list style":"切換為數字標示","Toggle the decimal with leading zero list style":"切換為0開頭的數字標示","Toggle the lower–roman list style":"切換為小寫羅馬數字標示","Toggle the upper–roman list style":"切換為大寫羅馬數字標示","Toggle the lower–latin list style":"切換為小寫拉丁文字標示","Toggle the upper–latin list style":"切換為大寫拉丁文字標示","Disc":"實心圓點","Circle":"空心圓點","Square":"方形","Decimal":"數字","Decimal with leading zero":"0開頭的數字","Lower–roman":"小寫羅馬數字","Upper-roman":"大寫羅馬數字","Lower-latin":"小寫拉丁字母","Upper-latin":"大寫拉丁字母","List properties":"清單屬性","Start at":"起始於","Invalid start index value.":"無效的起始索引值。","Start index must be greater than 0.":"起始索引須大於 0。","Reversed order":"反轉順序","Keystrokes that can be used in a list":"可在列表中使用的按鍵","Increase list item indent":"增加列表項目縮排","Decrease list item indent":"減少列表項目縮排","Entering a to-do list":"進入待辦事項清單","Leaving a to-do list":"離開待辦事項清單"},getPluralForm(n){return 0;}}};
8
+ e[ 'zh' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'zh' ].dictionary = Object.assign( e[ 'zh' ].dictionary, dictionary );
10
+ e[ 'zh' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,57 @@
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 { List, ListEditing, ListUtils, ListUI, ListCommand, ListIndentCommand, ListMergeCommand, ListSplitCommand, ListProperties, ListPropertiesUtils, ListPropertiesEditing, ListPropertiesUI, ListStyleCommand, ListStartCommand, ListReversedCommand, TodoList, TodoListEditing, TodoListUI, CheckTodoListCommand, LegacyList, LegacyListEditing, LegacyListUtils, LegacyListCommand, LegacyIndentCommand, LegacyListProperties, LegacyListPropertiesEditing, LegacyListStyleCommand, LegacyListStartCommand, LegacyListReversedCommand, LegacyTodoList, LegacyTodoListEditing, LegacyCheckTodoListCommand, ListConfig, DocumentList, DocumentListProperties, TodoDocumentList } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface EditorConfig {
12
+ /**
13
+ * The configuration of the {@link module:list/list~List} feature and the {@link module:list/legacylist~LegacyList} feature.
14
+ *
15
+ * Read more in {@link module:list/listconfig~ListConfig}.
16
+ */
17
+ list?: ListConfig;
18
+ }
19
+ interface PluginsMap {
20
+ [List.pluginName]: List;
21
+ [ListEditing.pluginName]: ListEditing;
22
+ [ListUtils.pluginName]: ListUtils;
23
+ [ListUI.pluginName]: ListUI;
24
+ [ListProperties.pluginName]: ListProperties;
25
+ [ListPropertiesEditing.pluginName]: ListPropertiesEditing;
26
+ [ListPropertiesUtils.pluginName]: ListPropertiesUtils;
27
+ [ListPropertiesUI.pluginName]: ListPropertiesUI;
28
+ [TodoList.pluginName]: TodoDocumentList;
29
+ [TodoListEditing.pluginName]: TodoListEditing;
30
+ [TodoListUI.pluginName]: TodoListUI;
31
+ [LegacyList.pluginName]: LegacyList;
32
+ [LegacyListEditing.pluginName]: LegacyListEditing;
33
+ [LegacyListUtils.pluginName]: LegacyListUtils;
34
+ [LegacyListProperties.pluginName]: LegacyListProperties;
35
+ [LegacyListPropertiesEditing.pluginName]: LegacyListPropertiesEditing;
36
+ [LegacyTodoList.pluginName]: LegacyTodoList;
37
+ [LegacyTodoListEditing.pluginName]: LegacyTodoListEditing;
38
+ [DocumentList.pluginName]: DocumentList;
39
+ [DocumentListProperties.pluginName]: DocumentListProperties;
40
+ [TodoDocumentList.pluginName]: TodoDocumentList;
41
+ }
42
+ interface CommandsMap {
43
+ numberedList: LegacyListCommand | ListCommand;
44
+ bulletedList: LegacyListCommand | ListCommand;
45
+ indentList: LegacyIndentCommand | ListIndentCommand;
46
+ outdentList: LegacyIndentCommand | ListIndentCommand;
47
+ mergeListItemBackward: ListMergeCommand;
48
+ mergeListItemForward: ListMergeCommand;
49
+ splitListItemBefore: ListSplitCommand;
50
+ splitListItemAfter: ListSplitCommand;
51
+ listStyle: LegacyListStyleCommand | ListStyleCommand;
52
+ listStart: LegacyListStartCommand | ListStartCommand;
53
+ listReversed: LegacyListReversedCommand | ListReversedCommand;
54
+ todoList: LegacyListCommand | ListCommand;
55
+ checkTodoList: LegacyCheckTodoListCommand | CheckTodoListCommand;
56
+ }
57
+ }
@@ -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/documentlist
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ import List from './list.js';
14
+ /**
15
+ * The document list feature.
16
+ *
17
+ * This is an obsolete plugin that exists for backward compatibility only.
18
+ * Use the {@link module:list/list~List `List`} instead.
19
+ *
20
+ * @deprecated
21
+ */
22
+ export default class DocumentList extends Plugin {
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get requires(): readonly [typeof List];
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get pluginName(): "DocumentList";
31
+ constructor(editor: Editor);
32
+ }
@@ -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/documentlistproperties
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ import ListProperties from './listproperties.js';
14
+ /**
15
+ * The document list properties feature.
16
+ *
17
+ * This is an obsolete plugin that exists for backward compatibility only.
18
+ * Use the {@link module:list/listproperties~ListProperties `ListProperties`} instead.
19
+ *
20
+ * @deprecated
21
+ */
22
+ export default class DocumentListProperties extends Plugin {
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get requires(): readonly [typeof ListProperties];
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get pluginName(): "DocumentListProperties";
31
+ constructor(editor: Editor);
32
+ }
@@ -0,0 +1,49 @@
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
11
+ */
12
+ export { default as List } from './list.js';
13
+ export { default as ListEditing, type ListEditingPostFixerEvent, type ListType } from './list/listediting.js';
14
+ export { default as ListUtils } from './list/listutils.js';
15
+ export { default as ListUI } from './list/listui.js';
16
+ export { default as ListIndentCommand } from './list/listindentcommand.js';
17
+ export { default as ListCommand } from './list/listcommand.js';
18
+ export type { default as ListMergeCommand } from './list/listmergecommand.js';
19
+ export type { default as ListSplitCommand } from './list/listsplitcommand.js';
20
+ export { default as ListProperties } from './listproperties.js';
21
+ export { default as ListPropertiesEditing } from './listproperties/listpropertiesediting.js';
22
+ export { default as ListPropertiesUtils } from './listproperties/listpropertiesutils.js';
23
+ export { default as ListPropertiesUI } from './listproperties/listpropertiesui.js';
24
+ export type { default as ListReversedCommand } from './listproperties/listreversedcommand.js';
25
+ export type { default as ListStartCommand } from './listproperties/liststartcommand.js';
26
+ export type { default as ListStyleCommand } from './listproperties/liststylecommand.js';
27
+ export { default as TodoList } from './todolist.js';
28
+ export { default as TodoListUI } from './todolist/todolistui.js';
29
+ export { default as TodoListEditing } from './todolist/todolistediting.js';
30
+ export type { default as CheckTodoListCommand } from './todolist/checktodolistcommand.js';
31
+ export { default as LegacyList } from './legacylist.js';
32
+ export { default as LegacyListEditing } from './legacylist/legacylistediting.js';
33
+ export { default as LegacyListUtils } from './legacylist/legacylistutils.js';
34
+ export { default as LegacyIndentCommand } from './legacylist/legacyindentcommand.js';
35
+ export type { default as LegacyListCommand } from './legacylist/legacylistcommand.js';
36
+ export { default as LegacyListProperties } from './legacylistproperties.js';
37
+ export { default as LegacyListPropertiesEditing } from './legacylistproperties/legacylistpropertiesediting.js';
38
+ export type { default as LegacyListReversedCommand } from './legacylistproperties/legacylistreversedcommand.js';
39
+ export type { default as LegacyListStartCommand } from './legacylistproperties/legacyliststartcommand.js';
40
+ export type { default as LegacyListStyleCommand } from './legacylistproperties/legacyliststylecommand.js';
41
+ export { default as LegacyTodoList } from './legacytodolist.js';
42
+ export { default as LegacyTodoListEditing } from './legacytodolist/legacytodolistediting.js';
43
+ export type { default as LegacyCheckTodoListCommand } from './legacytodolist/legacychecktodolistcommand.js';
44
+ export type { ListConfig, ListPropertiesConfig } from './listconfig.js';
45
+ export { default as AdjacentListsSupport } from './list/adjacentlistssupport.js';
46
+ export { default as DocumentList } from './documentlist.js';
47
+ export { default as DocumentListProperties } from './documentlistproperties.js';
48
+ export { default as TodoDocumentList } from './tododocumentlist.js';
49
+ import './augmentation.js';
@@ -0,0 +1,200 @@
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/legacylist/legacyconverters
11
+ */
12
+ import { type DowncastAttributeEvent, type DowncastInsertEvent, type DowncastRemoveEvent, type Element, type MapperModelToViewPositionEvent, type MapperViewToModelPositionEvent, type Model, type ModelInsertContentEvent, type UpcastElementEvent, type EditingView, type Writer } from 'ckeditor5/src/engine.js';
13
+ import type { GetCallback } from 'ckeditor5/src/utils.js';
14
+ /**
15
+ * A model-to-view converter for the `listItem` model element insertion.
16
+ *
17
+ * It creates a `<ul><li></li><ul>` (or `<ol>`) view structure out of a `listItem` model element, inserts it at the correct
18
+ * position, and merges the list with surrounding lists (if available).
19
+ *
20
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:insert
21
+ * @param model Model instance.
22
+ */
23
+ export declare function modelViewInsertion(model: Model): GetCallback<DowncastInsertEvent<Element>>;
24
+ /**
25
+ * A model-to-view converter for the `listItem` model element removal.
26
+ *
27
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:remove
28
+ * @param model Model instance.
29
+ * @returns Returns a conversion callback.
30
+ */
31
+ export declare function modelViewRemove(model: Model): GetCallback<DowncastRemoveEvent>;
32
+ /**
33
+ * A model-to-view converter for the `type` attribute change on the `listItem` model element.
34
+ *
35
+ * This change means that the `<li>` element parent changes from `<ul>` to `<ol>` (or vice versa). This is accomplished
36
+ * by breaking view elements and changing their name. The next {@link module:list/legacylist/legacyconverters~modelViewMergeAfterChangeType}
37
+ * converter will attempt to merge split nodes.
38
+ *
39
+ * Splitting this conversion into 2 steps makes it possible to add an additional conversion in the middle.
40
+ * Check {@link module:list/legacytodolist/legacytodolistconverters~modelViewChangeType} to see an example of it.
41
+ *
42
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:attribute
43
+ */
44
+ export declare const modelViewChangeType: GetCallback<DowncastAttributeEvent<Element>>;
45
+ /**
46
+ * A model-to-view converter that attempts to merge nodes split by {@link module:list/legacylist/legacyconverters~modelViewChangeType}.
47
+ *
48
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:attribute
49
+ */
50
+ export declare const modelViewMergeAfterChangeType: GetCallback<DowncastAttributeEvent<Element>>;
51
+ /**
52
+ * A model-to-view converter for the `listIndent` attribute change on the `listItem` model element.
53
+ *
54
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:attribute
55
+ * @param model Model instance.
56
+ * @returns Returns a conversion callback.
57
+ */
58
+ export declare function modelViewChangeIndent(model: Model): GetCallback<DowncastAttributeEvent<Element>>;
59
+ /**
60
+ * A special model-to-view converter introduced by the {@link module:list/legacylist~LegacyList list feature}. This converter is fired for
61
+ * insert change of every model item, and should be fired before the actual converter. The converter checks whether the inserted
62
+ * model item is a non-`listItem` element. If it is, and it is inserted inside a view list, the converter breaks the
63
+ * list so the model element is inserted to the view parent element corresponding to its model parent element.
64
+ *
65
+ * The converter prevents such situations:
66
+ *
67
+ * ```xml
68
+ * // Model: // View:
69
+ * <listItem>foo</listItem> <ul>
70
+ * <listItem>bar</listItem> <li>foo</li>
71
+ * <li>bar</li>
72
+ * </ul>
73
+ *
74
+ * // After change: // Correct view guaranteed by this converter:
75
+ * <listItem>foo</listItem> <ul><li>foo</li></ul><p>xxx</p><ul><li>bar</li></ul>
76
+ * <paragraph>xxx</paragraph> // Instead of this wrong view state:
77
+ * <listItem>bar</listItem> <ul><li>foo</li><p>xxx</p><li>bar</li></ul>
78
+ * ```
79
+ *
80
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:insert
81
+ */
82
+ export declare const modelViewSplitOnInsert: GetCallback<DowncastInsertEvent<Element>>;
83
+ /**
84
+ * A special model-to-view converter introduced by the {@link module:list/legacylist~LegacyList list feature}. This converter takes care of
85
+ * merging view lists after something is removed or moved from near them.
86
+ *
87
+ * Example:
88
+ *
89
+ * ```xml
90
+ * // Model: // View:
91
+ * <listItem>foo</listItem> <ul><li>foo</li></ul>
92
+ * <paragraph>xxx</paragraph> <p>xxx</p>
93
+ * <listItem>bar</listItem> <ul><li>bar</li></ul>
94
+ *
95
+ * // After change: // Correct view guaranteed by this converter:
96
+ * <listItem>foo</listItem> <ul>
97
+ * <listItem>bar</listItem> <li>foo</li>
98
+ * <li>bar</li>
99
+ * </ul>
100
+ * ```
101
+ *
102
+ * @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:remove
103
+ */
104
+ export declare const modelViewMergeAfter: GetCallback<DowncastRemoveEvent>;
105
+ /**
106
+ * A view-to-model converter that converts the `<li>` view elements into the `listItem` model elements.
107
+ *
108
+ * To set correct values of the `listType` and `listIndent` attributes the converter:
109
+ * * checks `<li>`'s parent,
110
+ * * stores and increases the `conversionApi.store.indent` value when `<li>`'s sub-items are converted.
111
+ *
112
+ * @see module:engine/conversion/upcastdispatcher~UpcastDispatcher#event:element
113
+ */
114
+ export declare const viewModelConverter: GetCallback<UpcastElementEvent>;
115
+ /**
116
+ * A view-to-model converter for the `<ul>` and `<ol>` view elements that cleans the input view of garbage.
117
+ * This is mostly to clean whitespaces from between the `<li>` view elements inside the view list element, however, also
118
+ * incorrect data can be cleared if the view was incorrect.
119
+ *
120
+ * @see module:engine/conversion/upcastdispatcher~UpcastDispatcher#event:element
121
+ */
122
+ export declare const cleanList: GetCallback<UpcastElementEvent>;
123
+ /**
124
+ * A view-to-model converter for the `<li>` elements that cleans whitespace formatting from the input view.
125
+ *
126
+ * @see module:engine/conversion/upcastdispatcher~UpcastDispatcher#event:element
127
+ */
128
+ export declare const cleanListItem: GetCallback<UpcastElementEvent>;
129
+ /**
130
+ * Returns a callback for model position to view position mapping for {@link module:engine/conversion/mapper~Mapper}. The callback fixes
131
+ * positions between the `listItem` elements that would be incorrectly mapped because of how list items are represented in the model
132
+ * and in the view.
133
+ */
134
+ export declare function modelToViewPosition(view: EditingView): GetCallback<MapperModelToViewPositionEvent>;
135
+ /**
136
+ * The callback for view position to model position mapping for {@link module:engine/conversion/mapper~Mapper}. The callback fixes
137
+ * positions between the `<li>` elements that would be incorrectly mapped because of how list items are represented in the model
138
+ * and in the view.
139
+ *
140
+ * @see module:engine/conversion/mapper~Mapper#event:viewToModelPosition
141
+ * @param model Model instance.
142
+ * @returns Returns a conversion callback.
143
+ */
144
+ export declare function viewToModelPosition(model: Model): GetCallback<MapperViewToModelPositionEvent>;
145
+ /**
146
+ * Post-fixer that reacts to changes on document and fixes incorrect model states.
147
+ *
148
+ * In the example below, there is a correct list structure.
149
+ * Then the middle element is removed so the list structure will become incorrect:
150
+ *
151
+ * ```xml
152
+ * <listItem listType="bulleted" listIndent=0>Item 1</listItem>
153
+ * <listItem listType="bulleted" listIndent=1>Item 2</listItem> <--- this is removed.
154
+ * <listItem listType="bulleted" listIndent=2>Item 3</listItem>
155
+ * ```
156
+ *
157
+ * The list structure after the middle element is removed:
158
+ *
159
+ * ```xml
160
+ * <listItem listType="bulleted" listIndent=0>Item 1</listItem>
161
+ * <listItem listType="bulleted" listIndent=2>Item 3</listItem>
162
+ * ```
163
+ *
164
+ * Should become:
165
+ *
166
+ * ```xml
167
+ * <listItem listType="bulleted" listIndent=0>Item 1</listItem>
168
+ * <listItem listType="bulleted" listIndent=1>Item 3</listItem> <--- note that indent got post-fixed.
169
+ * ```
170
+ *
171
+ * @param model The data model.
172
+ * @param writer The writer to do changes with.
173
+ * @returns `true` if any change has been applied, `false` otherwise.
174
+ */
175
+ export declare function modelChangePostFixer(model: Model, writer: Writer): boolean;
176
+ /**
177
+ * A fixer for pasted content that includes list items.
178
+ *
179
+ * It fixes indentation of pasted list items so the pasted items match correctly to the context they are pasted into.
180
+ *
181
+ * Example:
182
+ *
183
+ * ```xml
184
+ * <listItem listType="bulleted" listIndent=0>A</listItem>
185
+ * <listItem listType="bulleted" listIndent=1>B^</listItem>
186
+ * // At ^ paste: <listItem listType="bulleted" listIndent=4>X</listItem>
187
+ * // <listItem listType="bulleted" listIndent=5>Y</listItem>
188
+ * <listItem listType="bulleted" listIndent=2>C</listItem>
189
+ * ```
190
+ *
191
+ * Should become:
192
+ *
193
+ * ```xml
194
+ * <listItem listType="bulleted" listIndent=0>A</listItem>
195
+ * <listItem listType="bulleted" listIndent=1>BX</listItem>
196
+ * <listItem listType="bulleted" listIndent=2>Y/listItem>
197
+ * <listItem listType="bulleted" listIndent=2>C</listItem>
198
+ * ```
199
+ */
200
+ export declare const modelIndentPasteFixer: GetCallback<ModelInsertContentEvent>;
@@ -0,0 +1,41 @@
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 { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ /**
11
+ * The list indent command. It is used by the {@link module:list/legacylist~LegacyList legacy list feature}.
12
+ */
13
+ export default class LegacyIndentCommand extends Command {
14
+ /**
15
+ * Determines by how much the command will change the list item's indent attribute.
16
+ */
17
+ private readonly _indentBy;
18
+ /**
19
+ * Creates an instance of the command.
20
+ *
21
+ * @param editor The editor instance.
22
+ * @param indentDirection The direction of indent. If it is equal to `backward`, the command will outdent a list item.
23
+ */
24
+ constructor(editor: Editor, indentDirection: 'forward' | 'backward');
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ refresh(): void;
29
+ /**
30
+ * Indents or outdents (depending on the {@link #constructor}'s `indentDirection` parameter) selected list items.
31
+ *
32
+ * @fires execute
33
+ */
34
+ execute(): void;
35
+ /**
36
+ * Checks whether the command can be enabled in the current context.
37
+ *
38
+ * @returns Whether the command should be enabled.
39
+ */
40
+ private _checkEnabled;
41
+ }
@@ -0,0 +1,60 @@
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 { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { type ListType } from '../list/listediting.js';
11
+ /**
12
+ * The list command. It is used by the {@link module:list/legacylist~LegacyList legacy list feature}.
13
+ */
14
+ export default class LegacyListCommand extends Command {
15
+ /**
16
+ * The type of the list created by the command.
17
+ */
18
+ readonly type: ListType;
19
+ /**
20
+ * A flag indicating whether the command is active, which means that the selection starts in a list of the same type.
21
+ *
22
+ * @readonly
23
+ */
24
+ value: boolean;
25
+ /**
26
+ * Creates an instance of the command.
27
+ *
28
+ * @param editor The editor instance.
29
+ * @param type List type that will be handled by this command.
30
+ */
31
+ constructor(editor: Editor, type: ListType);
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ refresh(): void;
36
+ /**
37
+ * Executes the list command.
38
+ *
39
+ * @fires execute
40
+ * @param options Command options.
41
+ * @param options.forceValue If set, it will force the command behavior. If `true`, the command will try to convert the
42
+ * selected items and potentially the neighbor elements to the proper list items. If set to `false`, it will convert selected elements
43
+ * to paragraphs. If not set, the command will toggle selected elements to list items or paragraphs, depending on the selection.
44
+ */
45
+ execute(options?: {
46
+ forceValue?: boolean;
47
+ }): void;
48
+ /**
49
+ * Checks the command's {@link #value}.
50
+ *
51
+ * @returns The current value.
52
+ */
53
+ private _getValue;
54
+ /**
55
+ * Checks whether the command can be enabled in the current context.
56
+ *
57
+ * @returns Whether the command should be enabled.
58
+ */
59
+ private _checkEnabled;
60
+ }