@wangeditor-next/list-module 1.3.0 → 2.0.1

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 (127) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +3 -3
  3. package/dist/basic-modules/src/modules/image/custom-types.d.ts +22 -0
  4. package/dist/core/src/config/index.d.ts +13 -0
  5. package/dist/core/src/config/interface.d.ts +270 -0
  6. package/dist/core/src/config/register.d.ts +12 -0
  7. package/dist/core/src/config/style-mode.d.ts +8 -0
  8. package/dist/core/src/constants/index.d.ts +1 -0
  9. package/dist/core/src/constants/svg.d.ts +12 -0
  10. package/dist/core/src/create/bind-node-relation.d.ts +15 -0
  11. package/dist/core/src/create/create-editor.d.ts +10 -0
  12. package/dist/core/src/create/create-toolbar.d.ts +14 -0
  13. package/dist/core/src/create/helper.d.ts +37 -0
  14. package/dist/core/src/create/index.d.ts +7 -0
  15. package/dist/core/src/editor/dom-editor.d.ts +153 -0
  16. package/dist/core/src/editor/interface.d.ts +73 -0
  17. package/dist/core/src/editor/plugins/with-config.d.ts +7 -0
  18. package/dist/core/src/editor/plugins/with-content.d.ts +7 -0
  19. package/dist/core/src/editor/plugins/with-dom.d.ts +10 -0
  20. package/dist/core/src/editor/plugins/with-emitter.d.ts +7 -0
  21. package/dist/core/src/editor/plugins/with-event-data.d.ts +7 -0
  22. package/dist/core/src/editor/plugins/with-max-length.d.ts +7 -0
  23. package/dist/core/src/editor/plugins/with-selection.d.ts +7 -0
  24. package/dist/core/src/i18n/index.d.ts +32 -0
  25. package/dist/core/src/index.d.ts +43 -0
  26. package/dist/core/src/menus/bar/HoverBar.d.ts +48 -0
  27. package/dist/core/src/menus/bar/Toolbar.d.ts +36 -0
  28. package/dist/core/src/menus/bar-item/BaseButton.d.ts +26 -0
  29. package/dist/core/src/menus/bar-item/DropPanelButton.d.ts +14 -0
  30. package/dist/core/src/menus/bar-item/GroupButton.d.ts +17 -0
  31. package/dist/core/src/menus/bar-item/ModalButton.d.ts +25 -0
  32. package/dist/core/src/menus/bar-item/Select.d.ts +22 -0
  33. package/dist/core/src/menus/bar-item/SimpleButton.d.ts +11 -0
  34. package/dist/core/src/menus/bar-item/index.d.ts +24 -0
  35. package/dist/core/src/menus/bar-item/tooltip.d.ts +6 -0
  36. package/dist/core/src/menus/helpers/helpers.d.ts +18 -0
  37. package/dist/core/src/menus/helpers/position.d.ts +36 -0
  38. package/dist/core/src/menus/index.d.ts +9 -0
  39. package/dist/core/src/menus/interface.d.ts +65 -0
  40. package/dist/core/src/menus/panel-and-modal/BaseClass.d.ts +26 -0
  41. package/dist/core/src/menus/panel-and-modal/DropPanel.d.ts +14 -0
  42. package/dist/core/src/menus/panel-and-modal/Modal.d.ts +44 -0
  43. package/dist/core/src/menus/panel-and-modal/SelectList.d.ts +20 -0
  44. package/dist/core/src/menus/register.d.ts +15 -0
  45. package/dist/core/src/parse-html/helper.d.ts +10 -0
  46. package/dist/core/src/parse-html/index.d.ts +35 -0
  47. package/dist/core/src/parse-html/parse-common-elem-html.d.ts +15 -0
  48. package/dist/core/src/parse-html/parse-elem-html.d.ts +15 -0
  49. package/dist/core/src/parse-html/parse-text-elem-html.d.ts +16 -0
  50. package/dist/core/src/render/element/getRenderElem.d.ts +11 -0
  51. package/dist/core/src/render/element/renderElement.d.ts +9 -0
  52. package/dist/core/src/render/element/renderStyle.d.ts +15 -0
  53. package/dist/core/src/render/helper.d.ts +7 -0
  54. package/dist/core/src/render/index.d.ts +27 -0
  55. package/dist/core/src/render/node2Vnode.d.ts +15 -0
  56. package/dist/core/src/render/text/genVnode.d.ts +9 -0
  57. package/dist/core/src/render/text/renderStyle.d.ts +15 -0
  58. package/dist/core/src/render/text/renderText.d.ts +9 -0
  59. package/dist/core/src/text-area/TextArea.d.ts +52 -0
  60. package/dist/core/src/text-area/event-handlers/beforeInput.d.ts +8 -0
  61. package/dist/core/src/text-area/event-handlers/blur.d.ts +8 -0
  62. package/dist/core/src/text-area/event-handlers/click.d.ts +8 -0
  63. package/dist/core/src/text-area/event-handlers/composition.d.ts +27 -0
  64. package/dist/core/src/text-area/event-handlers/copy.d.ts +8 -0
  65. package/dist/core/src/text-area/event-handlers/cut.d.ts +8 -0
  66. package/dist/core/src/text-area/event-handlers/drag.d.ts +9 -0
  67. package/dist/core/src/text-area/event-handlers/drop.d.ts +8 -0
  68. package/dist/core/src/text-area/event-handlers/focus.d.ts +8 -0
  69. package/dist/core/src/text-area/event-handlers/index.d.ts +35 -0
  70. package/dist/core/src/text-area/event-handlers/keydown.d.ts +8 -0
  71. package/dist/core/src/text-area/event-handlers/keypress.d.ts +8 -0
  72. package/dist/core/src/text-area/event-handlers/paste.d.ts +8 -0
  73. package/dist/core/src/text-area/helpers.d.ts +30 -0
  74. package/dist/core/src/text-area/place-holder.d.ts +18 -0
  75. package/dist/core/src/text-area/syncSelection.d.ts +19 -0
  76. package/dist/core/src/text-area/update-view.d.ts +13 -0
  77. package/dist/core/src/to-html/elem2html.d.ts +8 -0
  78. package/dist/core/src/to-html/index.d.ts +32 -0
  79. package/dist/core/src/to-html/node2html.d.ts +8 -0
  80. package/dist/core/src/to-html/text2html.d.ts +8 -0
  81. package/dist/core/src/upload/createUploader.d.ts +12 -0
  82. package/dist/core/src/upload/createUppyUploader.d.ts +7 -0
  83. package/dist/core/src/upload/interface.d.ts +72 -0
  84. package/dist/core/src/utils/dom.d.ts +103 -0
  85. package/dist/core/src/utils/hotkeys.d.ts +35 -0
  86. package/dist/core/src/utils/key.d.ts +11 -0
  87. package/dist/core/src/utils/line.d.ts +14 -0
  88. package/dist/core/src/utils/sanitize-html.d.ts +5 -0
  89. package/dist/core/src/utils/ua.d.ts +14 -0
  90. package/dist/core/src/utils/util.d.ts +28 -0
  91. package/dist/core/src/utils/vdom.d.ts +34 -0
  92. package/dist/core/src/utils/weak-maps.d.ts +60 -0
  93. package/dist/css/style.css +1 -0
  94. package/dist/index.js +2 -0
  95. package/dist/index.js.map +1 -0
  96. package/dist/index.mjs +2 -0
  97. package/dist/index.mjs.map +1 -0
  98. package/dist/list-module/src/constants/svg.d.ts +11 -0
  99. package/dist/list-module/src/index.d.ts +8 -0
  100. package/dist/list-module/src/locale/en.d.ts +11 -0
  101. package/dist/list-module/src/locale/index.d.ts +5 -0
  102. package/dist/list-module/src/locale/zh-CN.d.ts +11 -0
  103. package/dist/list-module/src/module/custom-types.d.ts +11 -0
  104. package/dist/list-module/src/module/elem-to-html.d.ts +16 -0
  105. package/dist/list-module/src/module/helpers.d.ts +13 -0
  106. package/dist/list-module/src/module/index.d.ts +7 -0
  107. package/dist/list-module/src/module/menu/BaseMenu.d.ts +18 -0
  108. package/dist/list-module/src/module/menu/BulletedListMenu.d.ts +11 -0
  109. package/dist/list-module/src/module/menu/NumberedListMenu.d.ts +11 -0
  110. package/dist/list-module/src/module/menu/index.d.ts +14 -0
  111. package/dist/list-module/src/module/parse-elem-html.d.ts +19 -0
  112. package/dist/list-module/src/module/plugin.d.ts +7 -0
  113. package/dist/list-module/src/module/render-elem.d.ts +13 -0
  114. package/dist/list-module/src/module/style-class.d.ts +6 -0
  115. package/dist/list-module/src/utils/dom.d.ts +19 -0
  116. package/dist/list-module/src/utils/maps.d.ts +6 -0
  117. package/dist/list-module/src/utils/util.d.ts +6 -0
  118. package/dist/table-module/src/utils/has-common.d.ts +7 -0
  119. package/dist/table-module/src/utils/index.d.ts +5 -0
  120. package/dist/table-module/src/utils/is-of-type.d.ts +6 -0
  121. package/dist/table-module/src/utils/matrices.d.ts +9 -0
  122. package/dist/table-module/src/utils/options.d.ts +25 -0
  123. package/dist/table-module/src/utils/point.d.ts +7 -0
  124. package/dist/table-module/src/utils/types.d.ts +19 -0
  125. package/dist/video-module/src/module/custom-types.d.ts +23 -0
  126. package/package.json +29 -23
  127. package/CHANGELOG.md +0 -115
package/CHANGELOG.md DELETED
@@ -1,115 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # 1.3.0 (2024-05-13)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * 更新各包之间依赖版本 ([75c552c](https://github.com/cycleccc/wangEditor/commit/75c552cc8ed54765bebb86a7ec5329a7fc79e85f))
12
- * 两个 list 时回车报错 ([1aebf49](https://github.com/cycleccc/wangEditor/commit/1aebf492d2ab0c79b602b4902a87bcd2ec0f8587))
13
- * 修复 pnpm 安装 @wangeditor/editor 出现警告的问题 ([4087fbe](https://github.com/cycleccc/wangEditor/commit/4087fbee01c76bdd55e747a5e86c5e4a8d6a8353))
14
- * 修复列表为editor第一个节点无法删除问题 ([793d252](https://github.com/cycleccc/wangEditor/commit/793d25239921c89e7721a4c57466128099388b7e))
15
- * 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/cycleccc/wangEditor/commit/16559f052545c111318be760e64291a521bdcc65))
16
- * 优化 custom-types.d.ts 中类型声明,修复测试文件 ts 报错 ([3a6c455](https://github.com/cycleccc/wangEditor/commit/3a6c4553245bc734dae1e17d605af389971782a2))
17
- * list - disabled ([a6c1083](https://github.com/cycleccc/wangEditor/commit/a6c1083a38da888526587180e5de0a4c8129d866))
18
- * list 无法设置line-height ([6545d06](https://github.com/cycleccc/wangEditor/commit/6545d065f2fa1c664860cbf35f3628df8227f31e))
19
- * list check ([e4c076f](https://github.com/cycleccc/wangEditor/commit/e4c076fb1ea98bef868f6ab6b862d9b6d6623307))
20
- * list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/cycleccc/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
21
- * parse html - 有些 elem children 需要过滤 ([63cbb80](https://github.com/cycleccc/wangEditor/commit/63cbb804c8c7a778a4ee1f4ba8717a11b4b6b5a3))
22
- * rename es module filename ([1821d4e](https://github.com/cycleccc/wangEditor/commit/1821d4eef49e64efcb41b848849ca7a5e6472044))
23
- * table - elemToHtml ([e36e609](https://github.com/cycleccc/wangEditor/commit/e36e6092ef721723169afc8bf0560a47ac9f4dfc))
24
-
25
-
26
- ### Features
27
-
28
- * basic text paste ([f0a5b98](https://github.com/cycleccc/wangEditor/commit/f0a5b980c95fa1e2fc59a898c6e0d0723c276c28))
29
- * i18n ([c11b244](https://github.com/cycleccc/wangEditor/commit/c11b2440f91b99d40bca18b675c66a22b6e160c9))
30
- * parse html ([2a5eace](https://github.com/cycleccc/wangEditor/commit/2a5eace00f33cded50b68e8164748ec2480213fd))
31
- * toHtml 机制 ([1c4d872](https://github.com/cycleccc/wangEditor/commit/1c4d8729f84aaab6a448f23064b34a20596305e9))
32
- * upload video ([ac8e6f8](https://github.com/cycleccc/wangEditor/commit/ac8e6f8b5258e593714676a6f6be359ba525833c))
33
-
34
-
35
-
36
-
37
-
38
- # 1.2.0 (2024-05-13)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * 更新各包之间依赖版本 ([75c552c](https://github.com/cycleccc/wangEditor/commit/75c552cc8ed54765bebb86a7ec5329a7fc79e85f))
44
- * 两个 list 时回车报错 ([1aebf49](https://github.com/cycleccc/wangEditor/commit/1aebf492d2ab0c79b602b4902a87bcd2ec0f8587))
45
- * 修复 pnpm 安装 @wangeditor/editor 出现警告的问题 ([4087fbe](https://github.com/cycleccc/wangEditor/commit/4087fbee01c76bdd55e747a5e86c5e4a8d6a8353))
46
- * 修复列表为editor第一个节点无法删除问题 ([793d252](https://github.com/cycleccc/wangEditor/commit/793d25239921c89e7721a4c57466128099388b7e))
47
- * 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/cycleccc/wangEditor/commit/16559f052545c111318be760e64291a521bdcc65))
48
- * 优化 custom-types.d.ts 中类型声明,修复测试文件 ts 报错 ([3a6c455](https://github.com/cycleccc/wangEditor/commit/3a6c4553245bc734dae1e17d605af389971782a2))
49
- * list - disabled ([a6c1083](https://github.com/cycleccc/wangEditor/commit/a6c1083a38da888526587180e5de0a4c8129d866))
50
- * list 无法设置line-height ([6545d06](https://github.com/cycleccc/wangEditor/commit/6545d065f2fa1c664860cbf35f3628df8227f31e))
51
- * list check ([e4c076f](https://github.com/cycleccc/wangEditor/commit/e4c076fb1ea98bef868f6ab6b862d9b6d6623307))
52
- * list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/cycleccc/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
53
- * parse html - 有些 elem children 需要过滤 ([63cbb80](https://github.com/cycleccc/wangEditor/commit/63cbb804c8c7a778a4ee1f4ba8717a11b4b6b5a3))
54
- * rename es module filename ([1821d4e](https://github.com/cycleccc/wangEditor/commit/1821d4eef49e64efcb41b848849ca7a5e6472044))
55
- * table - elemToHtml ([e36e609](https://github.com/cycleccc/wangEditor/commit/e36e6092ef721723169afc8bf0560a47ac9f4dfc))
56
-
57
-
58
- ### Features
59
-
60
- * basic text paste ([f0a5b98](https://github.com/cycleccc/wangEditor/commit/f0a5b980c95fa1e2fc59a898c6e0d0723c276c28))
61
- * i18n ([c11b244](https://github.com/cycleccc/wangEditor/commit/c11b2440f91b99d40bca18b675c66a22b6e160c9))
62
- * parse html ([2a5eace](https://github.com/cycleccc/wangEditor/commit/2a5eace00f33cded50b68e8164748ec2480213fd))
63
- * toHtml 机制 ([1c4d872](https://github.com/cycleccc/wangEditor/commit/1c4d8729f84aaab6a448f23064b34a20596305e9))
64
- * upload video ([ac8e6f8](https://github.com/cycleccc/wangEditor/commit/ac8e6f8b5258e593714676a6f6be359ba525833c))
65
-
66
-
67
-
68
-
69
-
70
- # 1.1.0 (2024-05-13)
71
-
72
-
73
- ### Bug Fixes
74
-
75
- * 更新各包之间依赖版本 ([75c552c](https://github.com/cycleccc/wangEditor/commit/75c552cc8ed54765bebb86a7ec5329a7fc79e85f))
76
- * 两个 list 时回车报错 ([1aebf49](https://github.com/cycleccc/wangEditor/commit/1aebf492d2ab0c79b602b4902a87bcd2ec0f8587))
77
- * 修复 pnpm 安装 @wangeditor/editor 出现警告的问题 ([4087fbe](https://github.com/cycleccc/wangEditor/commit/4087fbee01c76bdd55e747a5e86c5e4a8d6a8353))
78
- * 修复列表为editor第一个节点无法删除问题 ([793d252](https://github.com/cycleccc/wangEditor/commit/793d25239921c89e7721a4c57466128099388b7e))
79
- * 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/cycleccc/wangEditor/commit/16559f052545c111318be760e64291a521bdcc65))
80
- * 优化 custom-types.d.ts 中类型声明,修复测试文件 ts 报错 ([3a6c455](https://github.com/cycleccc/wangEditor/commit/3a6c4553245bc734dae1e17d605af389971782a2))
81
- * list - disabled ([a6c1083](https://github.com/cycleccc/wangEditor/commit/a6c1083a38da888526587180e5de0a4c8129d866))
82
- * list 无法设置line-height ([6545d06](https://github.com/cycleccc/wangEditor/commit/6545d065f2fa1c664860cbf35f3628df8227f31e))
83
- * list check ([e4c076f](https://github.com/cycleccc/wangEditor/commit/e4c076fb1ea98bef868f6ab6b862d9b6d6623307))
84
- * list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/cycleccc/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
85
- * parse html - 有些 elem children 需要过滤 ([63cbb80](https://github.com/cycleccc/wangEditor/commit/63cbb804c8c7a778a4ee1f4ba8717a11b4b6b5a3))
86
- * rename es module filename ([1821d4e](https://github.com/cycleccc/wangEditor/commit/1821d4eef49e64efcb41b848849ca7a5e6472044))
87
- * table - elemToHtml ([e36e609](https://github.com/cycleccc/wangEditor/commit/e36e6092ef721723169afc8bf0560a47ac9f4dfc))
88
-
89
-
90
- ### Features
91
-
92
- * basic text paste ([f0a5b98](https://github.com/cycleccc/wangEditor/commit/f0a5b980c95fa1e2fc59a898c6e0d0723c276c28))
93
- * i18n ([c11b244](https://github.com/cycleccc/wangEditor/commit/c11b2440f91b99d40bca18b675c66a22b6e160c9))
94
- * parse html ([2a5eace](https://github.com/cycleccc/wangEditor/commit/2a5eace00f33cded50b68e8164748ec2480213fd))
95
- * toHtml 机制 ([1c4d872](https://github.com/cycleccc/wangEditor/commit/1c4d8729f84aaab6a448f23064b34a20596305e9))
96
- * upload video ([ac8e6f8](https://github.com/cycleccc/wangEditor/commit/ac8e6f8b5258e593714676a6f6be359ba525833c))
97
-
98
-
99
-
100
-
101
-
102
- ## [1.0.5](https://github.com/wangeditor-team/wangEditor/compare/@wangeditor/list-module@1.0.4...@wangeditor/list-module@1.0.5) (2022-09-27)
103
-
104
-
105
- ### Bug Fixes
106
-
107
- * list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/wangeditor-team/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
108
-
109
-
110
-
111
-
112
-
113
- ## [1.0.4](https://github.com/wangeditor-team/wangEditor/compare/@wangeditor/list-module@1.0.3...@wangeditor/list-module@1.0.4) (2022-09-27)
114
-
115
- **Note:** Version bump only for package @wangeditor/list-module