@ckeditor/ckeditor5-list 0.0.0-internal-20241017.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 (505) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +26 -0
  4. package/build/list.js +5 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/ast.js +1 -0
  7. package/build/translations/az.js +1 -0
  8. package/build/translations/bg.js +1 -0
  9. package/build/translations/bn.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es.js +1 -0
  20. package/build/translations/et.js +1 -0
  21. package/build/translations/eu.js +1 -0
  22. package/build/translations/fa.js +1 -0
  23. package/build/translations/fi.js +1 -0
  24. package/build/translations/fr.js +1 -0
  25. package/build/translations/gl.js +1 -0
  26. package/build/translations/he.js +1 -0
  27. package/build/translations/hi.js +1 -0
  28. package/build/translations/hr.js +1 -0
  29. package/build/translations/hu.js +1 -0
  30. package/build/translations/id.js +1 -0
  31. package/build/translations/it.js +1 -0
  32. package/build/translations/ja.js +1 -0
  33. package/build/translations/jv.js +1 -0
  34. package/build/translations/km.js +1 -0
  35. package/build/translations/kn.js +1 -0
  36. package/build/translations/ko.js +1 -0
  37. package/build/translations/ku.js +1 -0
  38. package/build/translations/lt.js +1 -0
  39. package/build/translations/lv.js +1 -0
  40. package/build/translations/ms.js +1 -0
  41. package/build/translations/nb.js +1 -0
  42. package/build/translations/ne.js +1 -0
  43. package/build/translations/nl.js +1 -0
  44. package/build/translations/no.js +1 -0
  45. package/build/translations/pl.js +1 -0
  46. package/build/translations/pt-br.js +1 -0
  47. package/build/translations/pt.js +1 -0
  48. package/build/translations/ro.js +1 -0
  49. package/build/translations/ru.js +1 -0
  50. package/build/translations/si.js +1 -0
  51. package/build/translations/sk.js +1 -0
  52. package/build/translations/sq.js +1 -0
  53. package/build/translations/sr-latn.js +1 -0
  54. package/build/translations/sr.js +1 -0
  55. package/build/translations/sv.js +1 -0
  56. package/build/translations/th.js +1 -0
  57. package/build/translations/ti.js +1 -0
  58. package/build/translations/tk.js +1 -0
  59. package/build/translations/tr.js +1 -0
  60. package/build/translations/tt.js +1 -0
  61. package/build/translations/ug.js +1 -0
  62. package/build/translations/uk.js +1 -0
  63. package/build/translations/ur.js +1 -0
  64. package/build/translations/uz.js +1 -0
  65. package/build/translations/vi.js +1 -0
  66. package/build/translations/zh-cn.js +1 -0
  67. package/build/translations/zh.js +1 -0
  68. package/ckeditor5-metadata.json +193 -0
  69. package/dist/augmentation.d.ts +57 -0
  70. package/dist/documentlist.d.ts +36 -0
  71. package/dist/documentlistproperties.d.ts +36 -0
  72. package/dist/index-content.css +116 -0
  73. package/dist/index-editor.css +82 -0
  74. package/dist/index.css +238 -0
  75. package/dist/index.css.map +1 -0
  76. package/dist/index.d.ts +49 -0
  77. package/dist/index.js +7994 -0
  78. package/dist/index.js.map +1 -0
  79. package/dist/legacylist/legacyconverters.d.ts +200 -0
  80. package/dist/legacylist/legacyindentcommand.d.ts +41 -0
  81. package/dist/legacylist/legacylistcommand.d.ts +60 -0
  82. package/dist/legacylist/legacylistediting.d.ts +40 -0
  83. package/dist/legacylist/legacylistutils.d.ts +49 -0
  84. package/dist/legacylist/legacyutils.d.ts +105 -0
  85. package/dist/legacylist.d.ts +34 -0
  86. package/dist/legacylistproperties/legacylistpropertiesediting.d.ts +80 -0
  87. package/dist/legacylistproperties/legacylistreversedcommand.d.ts +42 -0
  88. package/dist/legacylistproperties/legacyliststartcommand.d.ts +41 -0
  89. package/dist/legacylistproperties/legacyliststylecommand.d.ts +71 -0
  90. package/dist/legacylistproperties.d.ts +35 -0
  91. package/dist/legacytodolist/legacychecktodolistcommand.d.ts +56 -0
  92. package/dist/legacytodolist/legacytodolistconverters.d.ts +87 -0
  93. package/dist/legacytodolist/legacytodolistediting.d.ts +54 -0
  94. package/dist/legacytodolist.d.ts +35 -0
  95. package/dist/list/adjacentlistssupport.d.ts +23 -0
  96. package/dist/list/converters.d.ts +69 -0
  97. package/dist/list/listcommand.d.ts +96 -0
  98. package/dist/list/listediting.d.ts +230 -0
  99. package/dist/list/listindentcommand.d.ts +66 -0
  100. package/dist/list/listmergecommand.d.ts +80 -0
  101. package/dist/list/listsplitcommand.d.ts +71 -0
  102. package/dist/list/listui.d.ts +27 -0
  103. package/dist/list/listutils.d.ts +60 -0
  104. package/dist/list/utils/listwalker.d.ts +146 -0
  105. package/dist/list/utils/model.d.ts +213 -0
  106. package/dist/list/utils/postfixers.d.ts +41 -0
  107. package/dist/list/utils/view.d.ts +86 -0
  108. package/dist/list/utils.d.ts +22 -0
  109. package/dist/list.d.ts +34 -0
  110. package/dist/listconfig.d.ts +164 -0
  111. package/dist/listproperties/converters.d.ts +23 -0
  112. package/dist/listproperties/listpropertiesediting.d.ts +96 -0
  113. package/dist/listproperties/listpropertiesui.d.ts +31 -0
  114. package/dist/listproperties/listpropertiesutils.d.ts +41 -0
  115. package/dist/listproperties/listreversedcommand.d.ts +40 -0
  116. package/dist/listproperties/liststartcommand.d.ts +42 -0
  117. package/dist/listproperties/liststylecommand.d.ts +76 -0
  118. package/dist/listproperties/ui/listpropertiesview.d.ts +160 -0
  119. package/dist/listproperties/utils/config.d.ts +39 -0
  120. package/dist/listproperties/utils/style.d.ts +24 -0
  121. package/dist/listproperties.d.ts +35 -0
  122. package/dist/tododocumentlist.d.ts +36 -0
  123. package/dist/todolist/checktodolistcommand.d.ts +53 -0
  124. package/dist/todolist/todocheckboxchangeobserver.d.ts +45 -0
  125. package/dist/todolist/todolistediting.d.ts +53 -0
  126. package/dist/todolist/todolistui.d.ts +27 -0
  127. package/dist/todolist.d.ts +35 -0
  128. package/dist/translations/ar.d.ts +8 -0
  129. package/dist/translations/ar.js +5 -0
  130. package/dist/translations/ar.umd.js +11 -0
  131. package/dist/translations/ast.d.ts +8 -0
  132. package/dist/translations/ast.js +5 -0
  133. package/dist/translations/ast.umd.js +11 -0
  134. package/dist/translations/az.d.ts +8 -0
  135. package/dist/translations/az.js +5 -0
  136. package/dist/translations/az.umd.js +11 -0
  137. package/dist/translations/bg.d.ts +8 -0
  138. package/dist/translations/bg.js +5 -0
  139. package/dist/translations/bg.umd.js +11 -0
  140. package/dist/translations/bn.d.ts +8 -0
  141. package/dist/translations/bn.js +5 -0
  142. package/dist/translations/bn.umd.js +11 -0
  143. package/dist/translations/ca.d.ts +8 -0
  144. package/dist/translations/ca.js +5 -0
  145. package/dist/translations/ca.umd.js +11 -0
  146. package/dist/translations/cs.d.ts +8 -0
  147. package/dist/translations/cs.js +5 -0
  148. package/dist/translations/cs.umd.js +11 -0
  149. package/dist/translations/da.d.ts +8 -0
  150. package/dist/translations/da.js +5 -0
  151. package/dist/translations/da.umd.js +11 -0
  152. package/dist/translations/de-ch.d.ts +8 -0
  153. package/dist/translations/de-ch.js +5 -0
  154. package/dist/translations/de-ch.umd.js +11 -0
  155. package/dist/translations/de.d.ts +8 -0
  156. package/dist/translations/de.js +5 -0
  157. package/dist/translations/de.umd.js +11 -0
  158. package/dist/translations/el.d.ts +8 -0
  159. package/dist/translations/el.js +5 -0
  160. package/dist/translations/el.umd.js +11 -0
  161. package/dist/translations/en-au.d.ts +8 -0
  162. package/dist/translations/en-au.js +5 -0
  163. package/dist/translations/en-au.umd.js +11 -0
  164. package/dist/translations/en-gb.d.ts +8 -0
  165. package/dist/translations/en-gb.js +5 -0
  166. package/dist/translations/en-gb.umd.js +11 -0
  167. package/dist/translations/en.d.ts +8 -0
  168. package/dist/translations/en.js +5 -0
  169. package/dist/translations/en.umd.js +11 -0
  170. package/dist/translations/eo.d.ts +8 -0
  171. package/dist/translations/eo.js +5 -0
  172. package/dist/translations/eo.umd.js +11 -0
  173. package/dist/translations/es.d.ts +8 -0
  174. package/dist/translations/es.js +5 -0
  175. package/dist/translations/es.umd.js +11 -0
  176. package/dist/translations/et.d.ts +8 -0
  177. package/dist/translations/et.js +5 -0
  178. package/dist/translations/et.umd.js +11 -0
  179. package/dist/translations/eu.d.ts +8 -0
  180. package/dist/translations/eu.js +5 -0
  181. package/dist/translations/eu.umd.js +11 -0
  182. package/dist/translations/fa.d.ts +8 -0
  183. package/dist/translations/fa.js +5 -0
  184. package/dist/translations/fa.umd.js +11 -0
  185. package/dist/translations/fi.d.ts +8 -0
  186. package/dist/translations/fi.js +5 -0
  187. package/dist/translations/fi.umd.js +11 -0
  188. package/dist/translations/fr.d.ts +8 -0
  189. package/dist/translations/fr.js +5 -0
  190. package/dist/translations/fr.umd.js +11 -0
  191. package/dist/translations/gl.d.ts +8 -0
  192. package/dist/translations/gl.js +5 -0
  193. package/dist/translations/gl.umd.js +11 -0
  194. package/dist/translations/he.d.ts +8 -0
  195. package/dist/translations/he.js +5 -0
  196. package/dist/translations/he.umd.js +11 -0
  197. package/dist/translations/hi.d.ts +8 -0
  198. package/dist/translations/hi.js +5 -0
  199. package/dist/translations/hi.umd.js +11 -0
  200. package/dist/translations/hr.d.ts +8 -0
  201. package/dist/translations/hr.js +5 -0
  202. package/dist/translations/hr.umd.js +11 -0
  203. package/dist/translations/hu.d.ts +8 -0
  204. package/dist/translations/hu.js +5 -0
  205. package/dist/translations/hu.umd.js +11 -0
  206. package/dist/translations/id.d.ts +8 -0
  207. package/dist/translations/id.js +5 -0
  208. package/dist/translations/id.umd.js +11 -0
  209. package/dist/translations/it.d.ts +8 -0
  210. package/dist/translations/it.js +5 -0
  211. package/dist/translations/it.umd.js +11 -0
  212. package/dist/translations/ja.d.ts +8 -0
  213. package/dist/translations/ja.js +5 -0
  214. package/dist/translations/ja.umd.js +11 -0
  215. package/dist/translations/jv.d.ts +8 -0
  216. package/dist/translations/jv.js +5 -0
  217. package/dist/translations/jv.umd.js +11 -0
  218. package/dist/translations/km.d.ts +8 -0
  219. package/dist/translations/km.js +5 -0
  220. package/dist/translations/km.umd.js +11 -0
  221. package/dist/translations/kn.d.ts +8 -0
  222. package/dist/translations/kn.js +5 -0
  223. package/dist/translations/kn.umd.js +11 -0
  224. package/dist/translations/ko.d.ts +8 -0
  225. package/dist/translations/ko.js +5 -0
  226. package/dist/translations/ko.umd.js +11 -0
  227. package/dist/translations/ku.d.ts +8 -0
  228. package/dist/translations/ku.js +5 -0
  229. package/dist/translations/ku.umd.js +11 -0
  230. package/dist/translations/lt.d.ts +8 -0
  231. package/dist/translations/lt.js +5 -0
  232. package/dist/translations/lt.umd.js +11 -0
  233. package/dist/translations/lv.d.ts +8 -0
  234. package/dist/translations/lv.js +5 -0
  235. package/dist/translations/lv.umd.js +11 -0
  236. package/dist/translations/ms.d.ts +8 -0
  237. package/dist/translations/ms.js +5 -0
  238. package/dist/translations/ms.umd.js +11 -0
  239. package/dist/translations/nb.d.ts +8 -0
  240. package/dist/translations/nb.js +5 -0
  241. package/dist/translations/nb.umd.js +11 -0
  242. package/dist/translations/ne.d.ts +8 -0
  243. package/dist/translations/ne.js +5 -0
  244. package/dist/translations/ne.umd.js +11 -0
  245. package/dist/translations/nl.d.ts +8 -0
  246. package/dist/translations/nl.js +5 -0
  247. package/dist/translations/nl.umd.js +11 -0
  248. package/dist/translations/no.d.ts +8 -0
  249. package/dist/translations/no.js +5 -0
  250. package/dist/translations/no.umd.js +11 -0
  251. package/dist/translations/pl.d.ts +8 -0
  252. package/dist/translations/pl.js +5 -0
  253. package/dist/translations/pl.umd.js +11 -0
  254. package/dist/translations/pt-br.d.ts +8 -0
  255. package/dist/translations/pt-br.js +5 -0
  256. package/dist/translations/pt-br.umd.js +11 -0
  257. package/dist/translations/pt.d.ts +8 -0
  258. package/dist/translations/pt.js +5 -0
  259. package/dist/translations/pt.umd.js +11 -0
  260. package/dist/translations/ro.d.ts +8 -0
  261. package/dist/translations/ro.js +5 -0
  262. package/dist/translations/ro.umd.js +11 -0
  263. package/dist/translations/ru.d.ts +8 -0
  264. package/dist/translations/ru.js +5 -0
  265. package/dist/translations/ru.umd.js +11 -0
  266. package/dist/translations/si.d.ts +8 -0
  267. package/dist/translations/si.js +5 -0
  268. package/dist/translations/si.umd.js +11 -0
  269. package/dist/translations/sk.d.ts +8 -0
  270. package/dist/translations/sk.js +5 -0
  271. package/dist/translations/sk.umd.js +11 -0
  272. package/dist/translations/sq.d.ts +8 -0
  273. package/dist/translations/sq.js +5 -0
  274. package/dist/translations/sq.umd.js +11 -0
  275. package/dist/translations/sr-latn.d.ts +8 -0
  276. package/dist/translations/sr-latn.js +5 -0
  277. package/dist/translations/sr-latn.umd.js +11 -0
  278. package/dist/translations/sr.d.ts +8 -0
  279. package/dist/translations/sr.js +5 -0
  280. package/dist/translations/sr.umd.js +11 -0
  281. package/dist/translations/sv.d.ts +8 -0
  282. package/dist/translations/sv.js +5 -0
  283. package/dist/translations/sv.umd.js +11 -0
  284. package/dist/translations/th.d.ts +8 -0
  285. package/dist/translations/th.js +5 -0
  286. package/dist/translations/th.umd.js +11 -0
  287. package/dist/translations/ti.d.ts +8 -0
  288. package/dist/translations/ti.js +5 -0
  289. package/dist/translations/ti.umd.js +11 -0
  290. package/dist/translations/tk.d.ts +8 -0
  291. package/dist/translations/tk.js +5 -0
  292. package/dist/translations/tk.umd.js +11 -0
  293. package/dist/translations/tr.d.ts +8 -0
  294. package/dist/translations/tr.js +5 -0
  295. package/dist/translations/tr.umd.js +11 -0
  296. package/dist/translations/tt.d.ts +8 -0
  297. package/dist/translations/tt.js +5 -0
  298. package/dist/translations/tt.umd.js +11 -0
  299. package/dist/translations/ug.d.ts +8 -0
  300. package/dist/translations/ug.js +5 -0
  301. package/dist/translations/ug.umd.js +11 -0
  302. package/dist/translations/uk.d.ts +8 -0
  303. package/dist/translations/uk.js +5 -0
  304. package/dist/translations/uk.umd.js +11 -0
  305. package/dist/translations/ur.d.ts +8 -0
  306. package/dist/translations/ur.js +5 -0
  307. package/dist/translations/ur.umd.js +11 -0
  308. package/dist/translations/uz.d.ts +8 -0
  309. package/dist/translations/uz.js +5 -0
  310. package/dist/translations/uz.umd.js +11 -0
  311. package/dist/translations/vi.d.ts +8 -0
  312. package/dist/translations/vi.js +5 -0
  313. package/dist/translations/vi.umd.js +11 -0
  314. package/dist/translations/zh-cn.d.ts +8 -0
  315. package/dist/translations/zh-cn.js +5 -0
  316. package/dist/translations/zh-cn.umd.js +11 -0
  317. package/dist/translations/zh.d.ts +8 -0
  318. package/dist/translations/zh.js +5 -0
  319. package/dist/translations/zh.umd.js +11 -0
  320. package/lang/contexts.json +35 -0
  321. package/lang/translations/ar.po +150 -0
  322. package/lang/translations/ast.po +150 -0
  323. package/lang/translations/az.po +150 -0
  324. package/lang/translations/bg.po +150 -0
  325. package/lang/translations/bn.po +150 -0
  326. package/lang/translations/ca.po +150 -0
  327. package/lang/translations/cs.po +150 -0
  328. package/lang/translations/da.po +150 -0
  329. package/lang/translations/de-ch.po +150 -0
  330. package/lang/translations/de.po +150 -0
  331. package/lang/translations/el.po +150 -0
  332. package/lang/translations/en-au.po +150 -0
  333. package/lang/translations/en-gb.po +150 -0
  334. package/lang/translations/en.po +150 -0
  335. package/lang/translations/eo.po +150 -0
  336. package/lang/translations/es.po +150 -0
  337. package/lang/translations/et.po +150 -0
  338. package/lang/translations/eu.po +150 -0
  339. package/lang/translations/fa.po +150 -0
  340. package/lang/translations/fi.po +150 -0
  341. package/lang/translations/fr.po +150 -0
  342. package/lang/translations/gl.po +150 -0
  343. package/lang/translations/he.po +150 -0
  344. package/lang/translations/hi.po +150 -0
  345. package/lang/translations/hr.po +150 -0
  346. package/lang/translations/hu.po +150 -0
  347. package/lang/translations/id.po +150 -0
  348. package/lang/translations/it.po +150 -0
  349. package/lang/translations/ja.po +150 -0
  350. package/lang/translations/jv.po +150 -0
  351. package/lang/translations/km.po +150 -0
  352. package/lang/translations/kn.po +150 -0
  353. package/lang/translations/ko.po +150 -0
  354. package/lang/translations/ku.po +150 -0
  355. package/lang/translations/lt.po +150 -0
  356. package/lang/translations/lv.po +150 -0
  357. package/lang/translations/ms.po +150 -0
  358. package/lang/translations/nb.po +150 -0
  359. package/lang/translations/ne.po +150 -0
  360. package/lang/translations/nl.po +150 -0
  361. package/lang/translations/no.po +150 -0
  362. package/lang/translations/pl.po +150 -0
  363. package/lang/translations/pt-br.po +150 -0
  364. package/lang/translations/pt.po +150 -0
  365. package/lang/translations/ro.po +150 -0
  366. package/lang/translations/ru.po +150 -0
  367. package/lang/translations/si.po +150 -0
  368. package/lang/translations/sk.po +150 -0
  369. package/lang/translations/sq.po +150 -0
  370. package/lang/translations/sr-latn.po +150 -0
  371. package/lang/translations/sr.po +150 -0
  372. package/lang/translations/sv.po +150 -0
  373. package/lang/translations/th.po +150 -0
  374. package/lang/translations/ti.po +150 -0
  375. package/lang/translations/tk.po +150 -0
  376. package/lang/translations/tr.po +150 -0
  377. package/lang/translations/tt.po +150 -0
  378. package/lang/translations/ug.po +150 -0
  379. package/lang/translations/uk.po +150 -0
  380. package/lang/translations/ur.po +150 -0
  381. package/lang/translations/uz.po +150 -0
  382. package/lang/translations/vi.po +150 -0
  383. package/lang/translations/zh-cn.po +150 -0
  384. package/lang/translations/zh.po +150 -0
  385. package/package.json +45 -0
  386. package/src/augmentation.d.ts +53 -0
  387. package/src/augmentation.js +5 -0
  388. package/src/documentlist.d.ts +32 -0
  389. package/src/documentlist.js +47 -0
  390. package/src/documentlistproperties.d.ts +32 -0
  391. package/src/documentlistproperties.js +47 -0
  392. package/src/index.d.ts +45 -0
  393. package/src/index.js +39 -0
  394. package/src/legacylist/legacyconverters.d.ts +196 -0
  395. package/src/legacylist/legacyconverters.js +905 -0
  396. package/src/legacylist/legacyindentcommand.d.ts +37 -0
  397. package/src/legacylist/legacyindentcommand.js +107 -0
  398. package/src/legacylist/legacylistcommand.d.ts +56 -0
  399. package/src/legacylist/legacylistcommand.js +274 -0
  400. package/src/legacylist/legacylistediting.d.ts +36 -0
  401. package/src/legacylist/legacylistediting.js +167 -0
  402. package/src/legacylist/legacylistutils.d.ts +45 -0
  403. package/src/legacylist/legacylistutils.js +52 -0
  404. package/src/legacylist/legacyutils.d.ts +101 -0
  405. package/src/legacylist/legacyutils.js +347 -0
  406. package/src/legacylist.d.ts +30 -0
  407. package/src/legacylist.js +36 -0
  408. package/src/legacylistproperties/legacylistpropertiesediting.d.ts +76 -0
  409. package/src/legacylistproperties/legacylistpropertiesediting.js +702 -0
  410. package/src/legacylistproperties/legacylistreversedcommand.d.ts +38 -0
  411. package/src/legacylistproperties/legacylistreversedcommand.js +52 -0
  412. package/src/legacylistproperties/legacyliststartcommand.d.ts +37 -0
  413. package/src/legacylistproperties/legacyliststartcommand.js +51 -0
  414. package/src/legacylistproperties/legacyliststylecommand.d.ts +67 -0
  415. package/src/legacylistproperties/legacyliststylecommand.js +100 -0
  416. package/src/legacylistproperties.d.ts +31 -0
  417. package/src/legacylistproperties.js +37 -0
  418. package/src/legacytodolist/legacychecktodolistcommand.d.ts +52 -0
  419. package/src/legacytodolist/legacychecktodolistcommand.js +76 -0
  420. package/src/legacytodolist/legacytodolistconverters.d.ts +83 -0
  421. package/src/legacytodolist/legacytodolistconverters.js +261 -0
  422. package/src/legacytodolist/legacytodolistediting.d.ts +50 -0
  423. package/src/legacytodolist/legacytodolistediting.js +199 -0
  424. package/src/legacytodolist.d.ts +31 -0
  425. package/src/legacytodolist.js +37 -0
  426. package/src/list/adjacentlistssupport.d.ts +19 -0
  427. package/src/list/adjacentlistssupport.js +87 -0
  428. package/src/list/converters.d.ts +65 -0
  429. package/src/list/converters.js +491 -0
  430. package/src/list/listcommand.d.ts +92 -0
  431. package/src/list/listcommand.js +163 -0
  432. package/src/list/listediting.d.ts +226 -0
  433. package/src/list/listediting.js +678 -0
  434. package/src/list/listindentcommand.d.ts +62 -0
  435. package/src/list/listindentcommand.js +129 -0
  436. package/src/list/listmergecommand.d.ts +76 -0
  437. package/src/list/listmergecommand.js +174 -0
  438. package/src/list/listsplitcommand.d.ts +67 -0
  439. package/src/list/listsplitcommand.js +70 -0
  440. package/src/list/listui.d.ts +23 -0
  441. package/src/list/listui.js +41 -0
  442. package/src/list/listutils.d.ts +56 -0
  443. package/src/list/listutils.js +62 -0
  444. package/src/list/utils/listwalker.d.ts +142 -0
  445. package/src/list/utils/listwalker.js +182 -0
  446. package/src/list/utils/model.d.ts +209 -0
  447. package/src/list/utils/model.js +464 -0
  448. package/src/list/utils/postfixers.d.ts +37 -0
  449. package/src/list/utils/postfixers.js +126 -0
  450. package/src/list/utils/view.d.ts +82 -0
  451. package/src/list/utils/view.js +117 -0
  452. package/src/list/utils.d.ts +18 -0
  453. package/src/list/utils.js +51 -0
  454. package/src/list.d.ts +30 -0
  455. package/src/list.js +36 -0
  456. package/src/listconfig.d.ts +160 -0
  457. package/src/listconfig.js +5 -0
  458. package/src/listproperties/converters.d.ts +19 -0
  459. package/src/listproperties/converters.js +43 -0
  460. package/src/listproperties/listpropertiesediting.d.ts +92 -0
  461. package/src/listproperties/listpropertiesediting.js +275 -0
  462. package/src/listproperties/listpropertiesui.d.ts +27 -0
  463. package/src/listproperties/listpropertiesui.js +371 -0
  464. package/src/listproperties/listpropertiesutils.d.ts +37 -0
  465. package/src/listproperties/listpropertiesutils.js +50 -0
  466. package/src/listproperties/listreversedcommand.d.ts +36 -0
  467. package/src/listproperties/listreversedcommand.js +55 -0
  468. package/src/listproperties/liststartcommand.d.ts +38 -0
  469. package/src/listproperties/liststartcommand.js +60 -0
  470. package/src/listproperties/liststylecommand.d.ts +72 -0
  471. package/src/listproperties/liststylecommand.js +113 -0
  472. package/src/listproperties/ui/listpropertiesview.d.ts +156 -0
  473. package/src/listproperties/ui/listpropertiesview.js +301 -0
  474. package/src/listproperties/utils/config.d.ts +35 -0
  475. package/src/listproperties/utils/config.js +70 -0
  476. package/src/listproperties/utils/style.d.ts +20 -0
  477. package/src/listproperties/utils/style.js +54 -0
  478. package/src/listproperties.d.ts +31 -0
  479. package/src/listproperties.js +37 -0
  480. package/src/tododocumentlist.d.ts +32 -0
  481. package/src/tododocumentlist.js +47 -0
  482. package/src/todolist/checktodolistcommand.d.ts +49 -0
  483. package/src/todolist/checktodolistcommand.js +82 -0
  484. package/src/todolist/todocheckboxchangeobserver.d.ts +41 -0
  485. package/src/todolist/todocheckboxchangeobserver.js +37 -0
  486. package/src/todolist/todolistediting.d.ts +49 -0
  487. package/src/todolist/todolistediting.js +470 -0
  488. package/src/todolist/todolistui.d.ts +23 -0
  489. package/src/todolist/todolistui.js +34 -0
  490. package/src/todolist.d.ts +31 -0
  491. package/src/todolist.js +37 -0
  492. package/theme/documentlist.css +8 -0
  493. package/theme/icons/liststylecircle.svg +1 -0
  494. package/theme/icons/liststyledecimal.svg +1 -0
  495. package/theme/icons/liststyledecimalleadingzero.svg +1 -0
  496. package/theme/icons/liststyledisc.svg +1 -0
  497. package/theme/icons/liststylelowerlatin.svg +1 -0
  498. package/theme/icons/liststylelowerroman.svg +1 -0
  499. package/theme/icons/liststylesquare.svg +1 -0
  500. package/theme/icons/liststyleupperlatin.svg +1 -0
  501. package/theme/icons/liststyleupperroman.svg +1 -0
  502. package/theme/list.css +40 -0
  503. package/theme/listproperties.css +10 -0
  504. package/theme/liststyles.css +8 -0
  505. package/theme/todolist.css +140 -0
@@ -0,0 +1,150 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
+ "Language: zh_CN\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Toolbar button tooltip for the Numbered List feature."
21
+ msgid "Numbered List"
22
+ msgstr "项目编号列表"
23
+
24
+ msgctxt "Toolbar button tooltip for the Bulleted List feature."
25
+ msgid "Bulleted List"
26
+ msgstr "项目符号列表"
27
+
28
+ msgctxt "Toolbar button tooltip for the To-do List feature."
29
+ msgid "To-do List"
30
+ msgstr "待办列表"
31
+
32
+ msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the bulleted list style."
33
+ msgid "Bulleted list styles toolbar"
34
+ msgstr "项目符号列表样式工具条"
35
+
36
+ msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the numbered list style."
37
+ msgid "Numbered list styles toolbar"
38
+ msgstr "项目编号列表样式工具条"
39
+
40
+ msgctxt "The ARIA label of the button that toggles the \"disc\" list style."
41
+ msgid "Toggle the disc list style"
42
+ msgstr "切换实心原点列表样式"
43
+
44
+ msgctxt "The ARIA label of the button that toggles the \"circle\" list style."
45
+ msgid "Toggle the circle list style"
46
+ msgstr "切换空心原点列表样式"
47
+
48
+ msgctxt "The ARIA label of the button that toggles the \"square\" list style."
49
+ msgid "Toggle the square list style"
50
+ msgstr "切换实心方块列表样式"
51
+
52
+ msgctxt "The ARIA label of the button that toggles the \"decimal\" list style."
53
+ msgid "Toggle the decimal list style"
54
+ msgstr "切换阿拉伯数字列表样式"
55
+
56
+ msgctxt "The ARIA label of the button that toggles the \"decimal with leading zero\" list style."
57
+ msgid "Toggle the decimal with leading zero list style"
58
+ msgstr "切换前导零阿拉伯数字列表样式"
59
+
60
+ msgctxt "The ARIA label of the button that toggles the \"lower–roman\" list style."
61
+ msgid "Toggle the lower–roman list style"
62
+ msgstr "切换小写罗马数字列表样式"
63
+
64
+ msgctxt "The ARIA label of the button that toggles the \"upper–roman\" list style."
65
+ msgid "Toggle the upper–roman list style"
66
+ msgstr "切换大写罗马数字列表样式"
67
+
68
+ msgctxt "The ARIA label of the button that toggles the \"lower–latin\" list style."
69
+ msgid "Toggle the lower–latin list style"
70
+ msgstr "切换小写拉丁字母列表样式"
71
+
72
+ msgctxt "The ARIA label of the button that toggles the \"upper–latin\" list style."
73
+ msgid "Toggle the upper–latin list style"
74
+ msgstr "切换大写拉丁字母列表样式"
75
+
76
+ msgctxt "The tooltip text of the button that toggles the \"disc\" list style."
77
+ msgid "Disc"
78
+ msgstr "实心圆点"
79
+
80
+ msgctxt "The tooltip text of the button that toggles the \"circle\" list style."
81
+ msgid "Circle"
82
+ msgstr "空心圆点"
83
+
84
+ msgctxt "The tooltip text of the button that toggles the \"square\" list style."
85
+ msgid "Square"
86
+ msgstr "实心方块"
87
+
88
+ msgctxt "The tooltip text of the button that toggles the \"decimal\" list style."
89
+ msgid "Decimal"
90
+ msgstr "阿拉伯数字"
91
+
92
+ msgctxt "The tooltip text of the button that toggles the \"decimal with leading zero\" list style."
93
+ msgid "Decimal with leading zero"
94
+ msgstr "前导零阿拉伯数字"
95
+
96
+ msgctxt "The tooltip text of the button that toggles the \"lower–roman\" list style."
97
+ msgid "Lower–roman"
98
+ msgstr "小写罗马数字"
99
+
100
+ msgctxt "The tooltip text of the button that toggles the \"upper–roman\" list style."
101
+ msgid "Upper-roman"
102
+ msgstr "大写罗马数字"
103
+
104
+ msgctxt "The tooltip text of the button that toggles the \"lower–latin\" list style."
105
+ msgid "Lower-latin"
106
+ msgstr "小写拉丁字母"
107
+
108
+ msgctxt "The tooltip text of the button that toggles the \"upper–latin\" list style."
109
+ msgid "Upper-latin"
110
+ msgstr "大写拉丁字母"
111
+
112
+ msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
113
+ msgid "List properties"
114
+ msgstr "列表属性"
115
+
116
+ msgctxt "The label of the input allowing to change the start index of a numbered list."
117
+ msgid "Start at"
118
+ msgstr "起始编号"
119
+
120
+ msgctxt "The error message displayed when the numbered list start index input value is not a valid number."
121
+ msgid "Invalid start index value."
122
+ msgstr "无效的起始索引值。"
123
+
124
+ msgctxt "The error message displayed when the numbered list start index input value is invalid."
125
+ msgid "Start index must be greater than 0."
126
+ msgstr "起始编号必须大于0。"
127
+
128
+ msgctxt "The label of the switch button that reverses the order of the numbered list."
129
+ msgid "Reversed order"
130
+ msgstr "顺序反转"
131
+
132
+ msgctxt "Accessibility help dialog header text displayed before the list of keystrokes that can be used in a list."
133
+ msgid "Keystrokes that can be used in a list"
134
+ msgstr "可在列表中使用的按键"
135
+
136
+ msgctxt "Keystroke description for assistive technologies: keystroke for increasing list item indentation."
137
+ msgid "Increase list item indent"
138
+ msgstr "增加列表项的缩进"
139
+
140
+ msgctxt "Keystroke description for assistive technologies: keystroke for decreasing list item indentation."
141
+ msgid "Decrease list item indent"
142
+ msgstr "减少列表项的缩进"
143
+
144
+ msgctxt "Assistive technologies label for entering the to-do list."
145
+ msgid "Entering a to-do list"
146
+ msgstr "正在输入待办事项清单"
147
+
148
+ msgctxt "Assistive technologies label for leaving the to-do list."
149
+ msgid "Leaving a to-do list"
150
+ msgstr "正在退出待办事项清单"
@@ -0,0 +1,150 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
+ "Language: zh_TW\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Toolbar button tooltip for the Numbered List feature."
21
+ msgid "Numbered List"
22
+ msgstr "有序清單"
23
+
24
+ msgctxt "Toolbar button tooltip for the Bulleted List feature."
25
+ msgid "Bulleted List"
26
+ msgstr "符號清單"
27
+
28
+ msgctxt "Toolbar button tooltip for the To-do List feature."
29
+ msgid "To-do List"
30
+ msgstr "代辦清單"
31
+
32
+ msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the bulleted list style."
33
+ msgid "Bulleted list styles toolbar"
34
+ msgstr "無序清單工具列"
35
+
36
+ msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the numbered list style."
37
+ msgid "Numbered list styles toolbar"
38
+ msgstr "有序清單工具列"
39
+
40
+ msgctxt "The ARIA label of the button that toggles the \"disc\" list style."
41
+ msgid "Toggle the disc list style"
42
+ msgstr "切換為實心圓點標示"
43
+
44
+ msgctxt "The ARIA label of the button that toggles the \"circle\" list style."
45
+ msgid "Toggle the circle list style"
46
+ msgstr "切換為空心圓點標示"
47
+
48
+ msgctxt "The ARIA label of the button that toggles the \"square\" list style."
49
+ msgid "Toggle the square list style"
50
+ msgstr "切換為方形標示"
51
+
52
+ msgctxt "The ARIA label of the button that toggles the \"decimal\" list style."
53
+ msgid "Toggle the decimal list style"
54
+ msgstr "切換為數字標示"
55
+
56
+ msgctxt "The ARIA label of the button that toggles the \"decimal with leading zero\" list style."
57
+ msgid "Toggle the decimal with leading zero list style"
58
+ msgstr "切換為0開頭的數字標示"
59
+
60
+ msgctxt "The ARIA label of the button that toggles the \"lower–roman\" list style."
61
+ msgid "Toggle the lower–roman list style"
62
+ msgstr "切換為小寫羅馬數字標示"
63
+
64
+ msgctxt "The ARIA label of the button that toggles the \"upper–roman\" list style."
65
+ msgid "Toggle the upper–roman list style"
66
+ msgstr "切換為大寫羅馬數字標示"
67
+
68
+ msgctxt "The ARIA label of the button that toggles the \"lower–latin\" list style."
69
+ msgid "Toggle the lower–latin list style"
70
+ msgstr "切換為小寫拉丁文字標示"
71
+
72
+ msgctxt "The ARIA label of the button that toggles the \"upper–latin\" list style."
73
+ msgid "Toggle the upper–latin list style"
74
+ msgstr "切換為大寫拉丁文字標示"
75
+
76
+ msgctxt "The tooltip text of the button that toggles the \"disc\" list style."
77
+ msgid "Disc"
78
+ msgstr "實心圓點"
79
+
80
+ msgctxt "The tooltip text of the button that toggles the \"circle\" list style."
81
+ msgid "Circle"
82
+ msgstr "空心圓點"
83
+
84
+ msgctxt "The tooltip text of the button that toggles the \"square\" list style."
85
+ msgid "Square"
86
+ msgstr "方形"
87
+
88
+ msgctxt "The tooltip text of the button that toggles the \"decimal\" list style."
89
+ msgid "Decimal"
90
+ msgstr "數字"
91
+
92
+ msgctxt "The tooltip text of the button that toggles the \"decimal with leading zero\" list style."
93
+ msgid "Decimal with leading zero"
94
+ msgstr "0開頭的數字"
95
+
96
+ msgctxt "The tooltip text of the button that toggles the \"lower–roman\" list style."
97
+ msgid "Lower–roman"
98
+ msgstr "小寫羅馬數字"
99
+
100
+ msgctxt "The tooltip text of the button that toggles the \"upper–roman\" list style."
101
+ msgid "Upper-roman"
102
+ msgstr "大寫羅馬數字"
103
+
104
+ msgctxt "The tooltip text of the button that toggles the \"lower–latin\" list style."
105
+ msgid "Lower-latin"
106
+ msgstr "小寫拉丁字母"
107
+
108
+ msgctxt "The tooltip text of the button that toggles the \"upper–latin\" list style."
109
+ msgid "Upper-latin"
110
+ msgstr "大寫拉丁字母"
111
+
112
+ msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
113
+ msgid "List properties"
114
+ msgstr "清單屬性"
115
+
116
+ msgctxt "The label of the input allowing to change the start index of a numbered list."
117
+ msgid "Start at"
118
+ msgstr "起始於"
119
+
120
+ msgctxt "The error message displayed when the numbered list start index input value is not a valid number."
121
+ msgid "Invalid start index value."
122
+ msgstr "無效的起始索引值。"
123
+
124
+ msgctxt "The error message displayed when the numbered list start index input value is invalid."
125
+ msgid "Start index must be greater than 0."
126
+ msgstr "起始索引須大於 0。"
127
+
128
+ msgctxt "The label of the switch button that reverses the order of the numbered list."
129
+ msgid "Reversed order"
130
+ msgstr "反轉順序"
131
+
132
+ msgctxt "Accessibility help dialog header text displayed before the list of keystrokes that can be used in a list."
133
+ msgid "Keystrokes that can be used in a list"
134
+ msgstr "可在列表中使用的按鍵"
135
+
136
+ msgctxt "Keystroke description for assistive technologies: keystroke for increasing list item indentation."
137
+ msgid "Increase list item indent"
138
+ msgstr "增加列表項目縮排"
139
+
140
+ msgctxt "Keystroke description for assistive technologies: keystroke for decreasing list item indentation."
141
+ msgid "Decrease list item indent"
142
+ msgstr "減少列表項目縮排"
143
+
144
+ msgctxt "Assistive technologies label for entering the to-do list."
145
+ msgid "Entering a to-do list"
146
+ msgstr "進入待辦事項清單"
147
+
148
+ msgctxt "Assistive technologies label for leaving the to-do list."
149
+ msgid "Leaving a to-do list"
150
+ msgstr "離開待辦事項清單"
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@ckeditor/ckeditor5-list",
3
+ "version": "0.0.0-internal-20241017.0",
4
+ "description": "Ordered and unordered lists feature to CKEditor 5.",
5
+ "keywords": [
6
+ "ckeditor",
7
+ "ckeditor5",
8
+ "ckeditor 5",
9
+ "ckeditor5-feature",
10
+ "ckeditor5-plugin",
11
+ "ckeditor5-dll"
12
+ ],
13
+ "type": "module",
14
+ "main": "src/index.js",
15
+ "dependencies": {
16
+ "@ckeditor/ckeditor5-clipboard": "0.0.0-internal-20241017.0",
17
+ "@ckeditor/ckeditor5-core": "0.0.0-internal-20241017.0",
18
+ "@ckeditor/ckeditor5-engine": "0.0.0-internal-20241017.0",
19
+ "@ckeditor/ckeditor5-enter": "0.0.0-internal-20241017.0",
20
+ "@ckeditor/ckeditor5-typing": "0.0.0-internal-20241017.0",
21
+ "@ckeditor/ckeditor5-ui": "0.0.0-internal-20241017.0",
22
+ "@ckeditor/ckeditor5-utils": "0.0.0-internal-20241017.0",
23
+ "ckeditor5": "0.0.0-internal-20241017.0"
24
+ },
25
+ "author": "CKSource (http://cksource.com/)",
26
+ "license": "GPL-2.0-or-later",
27
+ "homepage": "https://ckeditor.com/ckeditor-5",
28
+ "bugs": "https://github.com/ckeditor/ckeditor5/issues",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/ckeditor/ckeditor5.git",
32
+ "directory": "packages/ckeditor5-list"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "lang",
37
+ "src/**/*.js",
38
+ "src/**/*.d.ts",
39
+ "theme",
40
+ "build",
41
+ "ckeditor5-metadata.json",
42
+ "CHANGELOG.md"
43
+ ],
44
+ "types": "src/index.d.ts"
45
+ }
@@ -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
+ 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';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:list/list~List} feature and the {@link module:list/legacylist~LegacyList} feature.
10
+ *
11
+ * Read more in {@link module:list/listconfig~ListConfig}.
12
+ */
13
+ list?: ListConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [List.pluginName]: List;
17
+ [ListEditing.pluginName]: ListEditing;
18
+ [ListUtils.pluginName]: ListUtils;
19
+ [ListUI.pluginName]: ListUI;
20
+ [ListProperties.pluginName]: ListProperties;
21
+ [ListPropertiesEditing.pluginName]: ListPropertiesEditing;
22
+ [ListPropertiesUtils.pluginName]: ListPropertiesUtils;
23
+ [ListPropertiesUI.pluginName]: ListPropertiesUI;
24
+ [TodoList.pluginName]: TodoDocumentList;
25
+ [TodoListEditing.pluginName]: TodoListEditing;
26
+ [TodoListUI.pluginName]: TodoListUI;
27
+ [LegacyList.pluginName]: LegacyList;
28
+ [LegacyListEditing.pluginName]: LegacyListEditing;
29
+ [LegacyListUtils.pluginName]: LegacyListUtils;
30
+ [LegacyListProperties.pluginName]: LegacyListProperties;
31
+ [LegacyListPropertiesEditing.pluginName]: LegacyListPropertiesEditing;
32
+ [LegacyTodoList.pluginName]: LegacyTodoList;
33
+ [LegacyTodoListEditing.pluginName]: LegacyTodoListEditing;
34
+ [DocumentList.pluginName]: DocumentList;
35
+ [DocumentListProperties.pluginName]: DocumentListProperties;
36
+ [TodoDocumentList.pluginName]: TodoDocumentList;
37
+ }
38
+ interface CommandsMap {
39
+ numberedList: LegacyListCommand | ListCommand;
40
+ bulletedList: LegacyListCommand | ListCommand;
41
+ indentList: LegacyIndentCommand | ListIndentCommand;
42
+ outdentList: LegacyIndentCommand | ListIndentCommand;
43
+ mergeListItemBackward: ListMergeCommand;
44
+ mergeListItemForward: ListMergeCommand;
45
+ splitListItemBefore: ListSplitCommand;
46
+ splitListItemAfter: ListSplitCommand;
47
+ listStyle: LegacyListStyleCommand | ListStyleCommand;
48
+ listStart: LegacyListStartCommand | ListStartCommand;
49
+ listReversed: LegacyListReversedCommand | ListReversedCommand;
50
+ todoList: LegacyListCommand | ListCommand;
51
+ checkTodoList: LegacyCheckTodoListCommand | CheckTodoListCommand;
52
+ }
53
+ }
@@ -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 {};
@@ -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
+ * @module list/documentlist
7
+ */
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import List from './list.js';
10
+ /**
11
+ * The document list feature.
12
+ *
13
+ * This is an obsolete plugin that exists for backward compatibility only.
14
+ * Use the {@link module:list/list~List `List`} instead.
15
+ *
16
+ * @deprecated
17
+ */
18
+ export default class DocumentList extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): readonly [typeof List];
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "DocumentList";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ constructor(editor: Editor);
32
+ }
@@ -0,0 +1,47 @@
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
+ * @module list/documentlist
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { logWarning } from 'ckeditor5/src/utils.js';
10
+ import List from './list.js';
11
+ /**
12
+ * The document list feature.
13
+ *
14
+ * This is an obsolete plugin that exists for backward compatibility only.
15
+ * Use the {@link module:list/list~List `List`} instead.
16
+ *
17
+ * @deprecated
18
+ */
19
+ export default class DocumentList extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires() {
24
+ return [List];
25
+ }
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get pluginName() {
30
+ return 'DocumentList';
31
+ }
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get isOfficialPlugin() {
36
+ return true;
37
+ }
38
+ constructor(editor) {
39
+ super(editor);
40
+ /**
41
+ * The `DocumentList` plugin is obsolete. Use `List` instead.
42
+ *
43
+ * @error plugin-obsolete-documentlist
44
+ */
45
+ logWarning('plugin-obsolete-documentlist', { pluginName: 'DocumentList' });
46
+ }
47
+ }
@@ -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
+ * @module list/documentlistproperties
7
+ */
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import ListProperties from './listproperties.js';
10
+ /**
11
+ * The document list properties feature.
12
+ *
13
+ * This is an obsolete plugin that exists for backward compatibility only.
14
+ * Use the {@link module:list/listproperties~ListProperties `ListProperties`} instead.
15
+ *
16
+ * @deprecated
17
+ */
18
+ export default class DocumentListProperties extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): readonly [typeof ListProperties];
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "DocumentListProperties";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ constructor(editor: Editor);
32
+ }
@@ -0,0 +1,47 @@
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
+ * @module list/documentlistproperties
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { logWarning } from 'ckeditor5/src/utils.js';
10
+ import ListProperties from './listproperties.js';
11
+ /**
12
+ * The document list properties feature.
13
+ *
14
+ * This is an obsolete plugin that exists for backward compatibility only.
15
+ * Use the {@link module:list/listproperties~ListProperties `ListProperties`} instead.
16
+ *
17
+ * @deprecated
18
+ */
19
+ export default class DocumentListProperties extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires() {
24
+ return [ListProperties];
25
+ }
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get pluginName() {
30
+ return 'DocumentListProperties';
31
+ }
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get isOfficialPlugin() {
36
+ return true;
37
+ }
38
+ constructor(editor) {
39
+ super(editor);
40
+ /**
41
+ * The `DocumentListProperties` plugin is obsolete. Use `ListProperties` instead.
42
+ *
43
+ * @error plugin-obsolete-documentlistproperties
44
+ */
45
+ logWarning('plugin-obsolete-documentlistproperties', { pluginName: 'DocumentListProperties' });
46
+ }
47
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,45 @@
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
+ * @module list
7
+ */
8
+ export { default as List } from './list.js';
9
+ export { default as ListEditing, type ListEditingPostFixerEvent, type ListType } from './list/listediting.js';
10
+ export { default as ListUtils } from './list/listutils.js';
11
+ export { default as ListUI } from './list/listui.js';
12
+ export { default as ListIndentCommand } from './list/listindentcommand.js';
13
+ export { default as ListCommand } from './list/listcommand.js';
14
+ export type { default as ListMergeCommand } from './list/listmergecommand.js';
15
+ export type { default as ListSplitCommand } from './list/listsplitcommand.js';
16
+ export { default as ListProperties } from './listproperties.js';
17
+ export { default as ListPropertiesEditing } from './listproperties/listpropertiesediting.js';
18
+ export { default as ListPropertiesUtils } from './listproperties/listpropertiesutils.js';
19
+ export { default as ListPropertiesUI } from './listproperties/listpropertiesui.js';
20
+ export type { default as ListReversedCommand } from './listproperties/listreversedcommand.js';
21
+ export type { default as ListStartCommand } from './listproperties/liststartcommand.js';
22
+ export type { default as ListStyleCommand } from './listproperties/liststylecommand.js';
23
+ export { default as TodoList } from './todolist.js';
24
+ export { default as TodoListUI } from './todolist/todolistui.js';
25
+ export { default as TodoListEditing } from './todolist/todolistediting.js';
26
+ export type { default as CheckTodoListCommand } from './todolist/checktodolistcommand.js';
27
+ export { default as LegacyList } from './legacylist.js';
28
+ export { default as LegacyListEditing } from './legacylist/legacylistediting.js';
29
+ export { default as LegacyListUtils } from './legacylist/legacylistutils.js';
30
+ export { default as LegacyIndentCommand } from './legacylist/legacyindentcommand.js';
31
+ export type { default as LegacyListCommand } from './legacylist/legacylistcommand.js';
32
+ export { default as LegacyListProperties } from './legacylistproperties.js';
33
+ export { default as LegacyListPropertiesEditing } from './legacylistproperties/legacylistpropertiesediting.js';
34
+ export type { default as LegacyListReversedCommand } from './legacylistproperties/legacylistreversedcommand.js';
35
+ export type { default as LegacyListStartCommand } from './legacylistproperties/legacyliststartcommand.js';
36
+ export type { default as LegacyListStyleCommand } from './legacylistproperties/legacyliststylecommand.js';
37
+ export { default as LegacyTodoList } from './legacytodolist.js';
38
+ export { default as LegacyTodoListEditing } from './legacytodolist/legacytodolistediting.js';
39
+ export type { default as LegacyCheckTodoListCommand } from './legacytodolist/legacychecktodolistcommand.js';
40
+ export type { ListConfig, ListPropertiesConfig } from './listconfig.js';
41
+ export { default as AdjacentListsSupport } from './list/adjacentlistssupport.js';
42
+ export { default as DocumentList } from './documentlist.js';
43
+ export { default as DocumentListProperties } from './documentlistproperties.js';
44
+ export { default as TodoDocumentList } from './tododocumentlist.js';
45
+ import './augmentation.js';
package/src/index.js ADDED
@@ -0,0 +1,39 @@
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
+ * @module list
7
+ */
8
+ // List.
9
+ export { default as List } from './list.js';
10
+ export { default as ListEditing } from './list/listediting.js';
11
+ export { default as ListUtils } from './list/listutils.js';
12
+ export { default as ListUI } from './list/listui.js';
13
+ export { default as ListIndentCommand } from './list/listindentcommand.js';
14
+ export { default as ListCommand } from './list/listcommand.js';
15
+ // ListProperties.
16
+ export { default as ListProperties } from './listproperties.js';
17
+ export { default as ListPropertiesEditing } from './listproperties/listpropertiesediting.js';
18
+ export { default as ListPropertiesUtils } from './listproperties/listpropertiesutils.js';
19
+ export { default as ListPropertiesUI } from './listproperties/listpropertiesui.js';
20
+ // TodoList/
21
+ export { default as TodoList } from './todolist.js';
22
+ export { default as TodoListUI } from './todolist/todolistui.js';
23
+ export { default as TodoListEditing } from './todolist/todolistediting.js';
24
+ // LegacyList.
25
+ export { default as LegacyList } from './legacylist.js';
26
+ export { default as LegacyListEditing } from './legacylist/legacylistediting.js';
27
+ export { default as LegacyListUtils } from './legacylist/legacylistutils.js';
28
+ export { default as LegacyIndentCommand } from './legacylist/legacyindentcommand.js';
29
+ // LegacyListProperties.
30
+ export { default as LegacyListProperties } from './legacylistproperties.js';
31
+ export { default as LegacyListPropertiesEditing } from './legacylistproperties/legacylistpropertiesediting.js';
32
+ // LegacyTodoList.
33
+ export { default as LegacyTodoList } from './legacytodolist.js';
34
+ export { default as LegacyTodoListEditing } from './legacytodolist/legacytodolistediting.js';
35
+ export { default as AdjacentListsSupport } from './list/adjacentlistssupport.js';
36
+ export { default as DocumentList } from './documentlist.js';
37
+ export { default as DocumentListProperties } from './documentlistproperties.js';
38
+ export { default as TodoDocumentList } from './tododocumentlist.js';
39
+ import './augmentation.js';