@uzum-tech/ui 2.3.8 → 2.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 (319) hide show
  1. package/dist/index.js +63601 -32546
  2. package/dist/index.mjs +64856 -33810
  3. package/dist/index.prod.js +3 -3
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/_internal/icons/Bold.d.ts +2 -0
  6. package/es/_internal/icons/Bold.mjs +29 -0
  7. package/es/_internal/icons/BulletList.d.ts +2 -0
  8. package/es/_internal/icons/BulletList.mjs +23 -0
  9. package/es/_internal/icons/HorizontalRule.d.ts +2 -0
  10. package/es/_internal/icons/HorizontalRule.mjs +14 -0
  11. package/es/_internal/icons/Italic.d.ts +2 -0
  12. package/es/_internal/icons/Italic.mjs +19 -0
  13. package/es/_internal/icons/NumberedList.d.ts +2 -0
  14. package/es/_internal/icons/NumberedList.mjs +23 -0
  15. package/es/_internal/icons/Quote.d.ts +2 -0
  16. package/es/_internal/icons/Quote.mjs +23 -0
  17. package/es/_internal/icons/SettingsLine.d.ts +2 -0
  18. package/es/_internal/icons/SettingsLine.mjs +19 -0
  19. package/es/_internal/icons/Strikethrough.d.ts +2 -0
  20. package/es/_internal/icons/Strikethrough.mjs +14 -0
  21. package/es/_internal/icons/index.d.ts +8 -0
  22. package/es/_internal/icons/index.mjs +8 -0
  23. package/es/_styles/markdown/markdown-content.cssr.d.ts +6 -0
  24. package/es/_styles/markdown/markdown-content.cssr.mjs +22 -0
  25. package/es/_utils/markdown/index.d.ts +3 -2
  26. package/es/_utils/markdown/index.mjs +2 -1
  27. package/es/_utils/markdown/render-markdown.d.ts +2 -1
  28. package/es/_utils/markdown/render-markdown.mjs +1 -1
  29. package/es/chat/src/Chat.d.ts +261 -24
  30. package/es/chat/src/Chat.mjs +2 -0
  31. package/es/chat/src/ChatMainArea.d.ts +81 -8
  32. package/es/chat/src/ChatMainArea.mjs +111 -355
  33. package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
  34. package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +71 -0
  35. package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
  36. package/es/chat/src/ChatParts/ChatAttachmentButton/interface.mjs +19 -0
  37. package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
  38. package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +78 -0
  39. package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
  40. package/es/chat/src/ChatParts/ChatEditingBlock/interface.mjs +15 -0
  41. package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
  42. package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.mjs +63 -0
  43. package/es/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
  44. package/es/chat/src/ChatParts/ChatEditorInput/interface.mjs +34 -0
  45. package/es/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
  46. package/es/chat/src/ChatParts/ChatFooter/ChatFooter.mjs +99 -0
  47. package/es/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
  48. package/es/chat/src/ChatParts/ChatFooter/interface.mjs +46 -0
  49. package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
  50. package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +219 -0
  51. package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
  52. package/es/chat/src/ChatParts/ChatHeader/interface.mjs +67 -0
  53. package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
  54. package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +129 -0
  55. package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
  56. package/es/chat/src/ChatParts/ChatLegacyInput/interface.mjs +27 -0
  57. package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
  58. package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.mjs +92 -0
  59. package/es/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
  60. package/es/chat/src/ChatParts/ChatMessagesArea/interface.mjs +58 -0
  61. package/es/chat/src/interface.d.ts +7 -0
  62. package/es/chat/src/interface.mjs +4 -0
  63. package/es/chat/styles/light.d.ts +4 -0
  64. package/es/chat/styles/light.mjs +18 -0
  65. package/es/components.d.ts +12933 -32
  66. package/es/components.mjs +5 -0
  67. package/es/config-provider/src/internal-interface.d.ts +2 -0
  68. package/es/data-table/index.d.ts +1 -1
  69. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
  70. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +220 -0
  71. package/es/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
  72. package/es/data-table/src/ColumnSettings/styles.cssr.mjs +25 -0
  73. package/es/data-table/src/DataTable.d.ts +60 -2
  74. package/es/data-table/src/DataTable.mjs +99 -23
  75. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  76. package/es/data-table/src/interface.d.ts +53 -1
  77. package/es/data-table/src/interface.mjs +18 -1
  78. package/es/data-table/src/styles/index.cssr.mjs +17 -1
  79. package/es/data-table/src/use-column-settings.d.ts +2 -0
  80. package/es/data-table/src/use-column-settings.mjs +124 -0
  81. package/es/data-table/src/utils/column-utils.d.ts +2 -1
  82. package/es/data-table/src/utils/column-utils.mjs +6 -0
  83. package/es/editor/index.d.ts +10 -0
  84. package/es/editor/index.mjs +5 -0
  85. package/es/editor/src/Editor.d.ts +3896 -0
  86. package/es/editor/src/Editor.mjs +220 -0
  87. package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
  88. package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.mjs +63 -0
  89. package/es/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
  90. package/es/editor/src/EditorParts/BlockTypeSelect/interface.mjs +14 -0
  91. package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4078 -0
  92. package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +154 -0
  93. package/es/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
  94. package/es/editor/src/EditorParts/EditorContent/index.mjs +2 -0
  95. package/es/editor/src/EditorParts/EditorContent/interface.d.ts +1906 -0
  96. package/es/editor/src/EditorParts/EditorContent/interface.mjs +17 -0
  97. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4582 -0
  98. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.mjs +170 -0
  99. package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
  100. package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +54 -0
  101. package/es/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
  102. package/es/editor/src/EditorParts/EditorToolbar/index.mjs +2 -0
  103. package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +1912 -0
  104. package/es/editor/src/EditorParts/EditorToolbar/interface.mjs +18 -0
  105. package/es/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
  106. package/es/editor/src/EditorParts/SendButton/SendButton.mjs +42 -0
  107. package/es/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
  108. package/es/editor/src/EditorParts/SendButton/interface.mjs +8 -0
  109. package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
  110. package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.mjs +44 -0
  111. package/es/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
  112. package/es/editor/src/EditorParts/ToolbarButton/interface.mjs +13 -0
  113. package/es/editor/src/composables/use-editor-commands.d.ts +8 -0
  114. package/es/editor/src/composables/use-editor-commands.mjs +69 -0
  115. package/es/editor/src/composables/use-editor-css-vars.d.ts +4 -0
  116. package/es/editor/src/composables/use-editor-css-vars.mjs +81 -0
  117. package/es/editor/src/constants.d.ts +12 -0
  118. package/es/editor/src/constants.mjs +25 -0
  119. package/es/editor/src/extensions.d.ts +7 -0
  120. package/es/editor/src/extensions.mjs +129 -0
  121. package/es/editor/src/interface.d.ts +2019 -0
  122. package/es/editor/src/interface.mjs +52 -0
  123. package/es/editor/src/markdown/constants.d.ts +8 -0
  124. package/es/editor/src/markdown/constants.mjs +206 -0
  125. package/es/editor/src/markdown/editor-serializer.d.ts +9 -0
  126. package/es/editor/src/markdown/editor-serializer.mjs +18 -0
  127. package/es/editor/src/markdown/escape.d.ts +2 -0
  128. package/es/editor/src/markdown/escape.mjs +24 -0
  129. package/es/editor/src/markdown/html.d.ts +1 -0
  130. package/es/editor/src/markdown/html.mjs +4 -0
  131. package/es/editor/src/markdown/parser.d.ts +4 -0
  132. package/es/editor/src/markdown/parser.mjs +36 -0
  133. package/es/editor/src/markdown/serializer-state.d.ts +10 -0
  134. package/es/editor/src/markdown/serializer-state.mjs +12 -0
  135. package/es/editor/src/markdown/serializer.d.ts +3 -0
  136. package/es/editor/src/markdown/serializer.mjs +8 -0
  137. package/es/editor/src/styles/index.cssr.d.ts +2 -0
  138. package/es/editor/src/styles/index.cssr.mjs +119 -0
  139. package/es/editor/styles/dark.d.ts +630 -0
  140. package/es/editor/styles/dark.mjs +21 -0
  141. package/es/editor/styles/index.d.ts +3 -0
  142. package/es/editor/styles/index.mjs +2 -0
  143. package/es/editor/styles/light.d.ts +677 -0
  144. package/es/editor/styles/light.mjs +87 -0
  145. package/es/editor/tests/fixtures/round-trip.d.ts +12 -0
  146. package/es/editor/tests/fixtures/round-trip.mjs +98 -0
  147. package/es/editor/tests/utils.d.ts +7 -0
  148. package/es/editor/tests/utils.mjs +27 -0
  149. package/es/locales/common/enUS.d.ts +21 -0
  150. package/es/locales/common/enUS.mjs +22 -1
  151. package/es/locales/common/ruRU.mjs +22 -1
  152. package/es/locales/common/uzUZ.mjs +22 -1
  153. package/es/locales/common/zhCN.mjs +22 -1
  154. package/es/message-bubble/src/styles/index.cssr.mjs +4 -17
  155. package/es/styles.d.ts +1 -0
  156. package/es/styles.mjs +1 -0
  157. package/es/themes/dark.mjs +2 -0
  158. package/es/themes/light.mjs +2 -0
  159. package/es/version.d.ts +1 -1
  160. package/es/version.mjs +1 -1
  161. package/lib/_internal/icons/Bold.d.ts +2 -0
  162. package/lib/_internal/icons/Bold.js +13 -0
  163. package/lib/_internal/icons/BulletList.d.ts +2 -0
  164. package/lib/_internal/icons/BulletList.js +13 -0
  165. package/lib/_internal/icons/HorizontalRule.d.ts +2 -0
  166. package/lib/_internal/icons/HorizontalRule.js +10 -0
  167. package/lib/_internal/icons/Italic.d.ts +2 -0
  168. package/lib/_internal/icons/Italic.js +11 -0
  169. package/lib/_internal/icons/NumberedList.d.ts +2 -0
  170. package/lib/_internal/icons/NumberedList.js +13 -0
  171. package/lib/_internal/icons/Quote.d.ts +2 -0
  172. package/lib/_internal/icons/Quote.js +13 -0
  173. package/lib/_internal/icons/SettingsLine.d.ts +2 -0
  174. package/lib/_internal/icons/SettingsLine.js +11 -0
  175. package/lib/_internal/icons/Strikethrough.d.ts +2 -0
  176. package/lib/_internal/icons/Strikethrough.js +10 -0
  177. package/lib/_internal/icons/index.d.ts +8 -0
  178. package/lib/_internal/icons/index.js +18 -2
  179. package/lib/_styles/markdown/markdown-content.cssr.d.ts +6 -0
  180. package/lib/_styles/markdown/markdown-content.cssr.js +28 -0
  181. package/lib/_utils/markdown/index.d.ts +3 -2
  182. package/lib/_utils/markdown/index.js +4 -1
  183. package/lib/_utils/markdown/render-markdown.d.ts +2 -1
  184. package/lib/_utils/markdown/render-markdown.js +1 -0
  185. package/lib/chat/src/Chat.d.ts +261 -24
  186. package/lib/chat/src/Chat.js +2 -0
  187. package/lib/chat/src/ChatMainArea.d.ts +81 -8
  188. package/lib/chat/src/ChatMainArea.js +93 -223
  189. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
  190. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +52 -0
  191. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
  192. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.js +17 -0
  193. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
  194. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +55 -0
  195. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
  196. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.js +14 -0
  197. package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
  198. package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.js +45 -0
  199. package/lib/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
  200. package/lib/chat/src/ChatParts/ChatEditorInput/interface.js +37 -0
  201. package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
  202. package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.js +66 -0
  203. package/lib/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
  204. package/lib/chat/src/ChatParts/ChatFooter/interface.js +49 -0
  205. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
  206. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +164 -0
  207. package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
  208. package/lib/chat/src/ChatParts/ChatHeader/interface.js +53 -0
  209. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
  210. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +98 -0
  211. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
  212. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.js +23 -0
  213. package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
  214. package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.js +49 -0
  215. package/lib/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
  216. package/lib/chat/src/ChatParts/ChatMessagesArea/interface.js +61 -0
  217. package/lib/chat/src/interface.d.ts +7 -0
  218. package/lib/chat/src/interface.js +3 -0
  219. package/lib/chat/styles/light.d.ts +4 -0
  220. package/lib/chat/styles/light.js +19 -0
  221. package/lib/components.d.ts +12933 -32
  222. package/lib/components.js +17 -7
  223. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  224. package/lib/data-table/index.d.ts +1 -1
  225. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
  226. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +181 -0
  227. package/lib/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
  228. package/lib/data-table/src/ColumnSettings/styles.cssr.js +30 -0
  229. package/lib/data-table/src/DataTable.d.ts +60 -2
  230. package/lib/data-table/src/DataTable.js +65 -23
  231. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  232. package/lib/data-table/src/interface.d.ts +53 -1
  233. package/lib/data-table/src/interface.js +17 -2
  234. package/lib/data-table/src/styles/index.cssr.js +17 -1
  235. package/lib/data-table/src/use-column-settings.d.ts +2 -0
  236. package/lib/data-table/src/use-column-settings.js +144 -0
  237. package/lib/data-table/src/utils/column-utils.d.ts +2 -1
  238. package/lib/data-table/src/utils/column-utils.js +5 -0
  239. package/lib/editor/index.d.ts +10 -0
  240. package/lib/editor/index.js +19 -0
  241. package/lib/editor/src/Editor.d.ts +3896 -0
  242. package/lib/editor/src/Editor.js +216 -0
  243. package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
  244. package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.js +47 -0
  245. package/lib/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
  246. package/lib/editor/src/EditorParts/BlockTypeSelect/interface.js +17 -0
  247. package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4078 -0
  248. package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +121 -0
  249. package/lib/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
  250. package/lib/editor/src/EditorParts/EditorContent/index.js +10 -0
  251. package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +1906 -0
  252. package/lib/editor/src/EditorParts/EditorContent/interface.js +8 -0
  253. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4582 -0
  254. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.js +126 -0
  255. package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
  256. package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +52 -0
  257. package/lib/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
  258. package/lib/editor/src/EditorParts/EditorToolbar/index.js +10 -0
  259. package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +1912 -0
  260. package/lib/editor/src/EditorParts/EditorToolbar/interface.js +11 -0
  261. package/lib/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
  262. package/lib/editor/src/EditorParts/SendButton/SendButton.js +31 -0
  263. package/lib/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
  264. package/lib/editor/src/EditorParts/SendButton/interface.js +11 -0
  265. package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
  266. package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.js +34 -0
  267. package/lib/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
  268. package/lib/editor/src/EditorParts/ToolbarButton/interface.js +16 -0
  269. package/lib/editor/src/composables/use-editor-commands.d.ts +8 -0
  270. package/lib/editor/src/composables/use-editor-commands.js +70 -0
  271. package/lib/editor/src/composables/use-editor-css-vars.d.ts +4 -0
  272. package/lib/editor/src/composables/use-editor-css-vars.js +46 -0
  273. package/lib/editor/src/constants.d.ts +12 -0
  274. package/lib/editor/src/constants.js +56 -0
  275. package/lib/editor/src/extensions.d.ts +7 -0
  276. package/lib/editor/src/extensions.js +136 -0
  277. package/lib/editor/src/interface.d.ts +2019 -0
  278. package/lib/editor/src/interface.js +22 -0
  279. package/lib/editor/src/markdown/constants.d.ts +8 -0
  280. package/lib/editor/src/markdown/constants.js +201 -0
  281. package/lib/editor/src/markdown/editor-serializer.d.ts +9 -0
  282. package/lib/editor/src/markdown/editor-serializer.js +20 -0
  283. package/lib/editor/src/markdown/escape.d.ts +2 -0
  284. package/lib/editor/src/markdown/escape.js +31 -0
  285. package/lib/editor/src/markdown/html.d.ts +1 -0
  286. package/lib/editor/src/markdown/html.js +9 -0
  287. package/lib/editor/src/markdown/parser.d.ts +4 -0
  288. package/lib/editor/src/markdown/parser.js +42 -0
  289. package/lib/editor/src/markdown/serializer-state.d.ts +10 -0
  290. package/lib/editor/src/markdown/serializer-state.js +16 -0
  291. package/lib/editor/src/markdown/serializer.d.ts +3 -0
  292. package/lib/editor/src/markdown/serializer.js +9 -0
  293. package/lib/editor/src/styles/index.cssr.d.ts +2 -0
  294. package/lib/editor/src/styles/index.cssr.js +124 -0
  295. package/lib/editor/styles/dark.d.ts +630 -0
  296. package/lib/editor/styles/dark.js +23 -0
  297. package/lib/editor/styles/index.d.ts +3 -0
  298. package/lib/editor/styles/index.js +10 -0
  299. package/lib/editor/styles/light.d.ts +677 -0
  300. package/lib/editor/styles/light.js +71 -0
  301. package/lib/editor/tests/fixtures/round-trip.d.ts +12 -0
  302. package/lib/editor/tests/fixtures/round-trip.js +125 -0
  303. package/lib/editor/tests/utils.d.ts +7 -0
  304. package/lib/editor/tests/utils.js +26 -0
  305. package/lib/locales/common/enUS.d.ts +21 -0
  306. package/lib/locales/common/enUS.js +22 -1
  307. package/lib/locales/common/ruRU.js +22 -1
  308. package/lib/locales/common/uzUZ.js +22 -1
  309. package/lib/locales/common/zhCN.js +22 -1
  310. package/lib/message-bubble/src/styles/index.cssr.js +4 -17
  311. package/lib/styles.d.ts +1 -0
  312. package/lib/styles.js +127 -125
  313. package/lib/themes/dark.js +136 -134
  314. package/lib/themes/light.js +136 -134
  315. package/lib/version.d.ts +1 -1
  316. package/lib/version.js +1 -1
  317. package/package.json +8 -1
  318. package/volar.d.ts +3 -0
  319. package/web-types.json +437 -2
@@ -0,0 +1,87 @@
1
+ import { createTheme } from "../../_mixins/index.mjs";
2
+ import { commonLight } from "../../_styles/common/index.mjs";
3
+ import { buttonLight } from "../../button/styles/index.mjs";
4
+ import { dividerLight } from "../../divider/styles/index.mjs";
5
+ import { iconLight } from "../../icon/styles/index.mjs";
6
+ import { selectLight } from "../../select/styles/index.mjs";
7
+ import { tooltipLight } from "../../tooltip/styles/index.mjs";
8
+ export function self(vars) {
9
+ const {
10
+ borderRadiusLarge,
11
+ containerSecondary,
12
+ fontBodyMedium,
13
+ heightMini,
14
+ iconMedium,
15
+ iconSmall,
16
+ lineHeightTitleMedium,
17
+ lineHeightTitleSmall,
18
+ lineHeightBodyLarge,
19
+ lineHeightBodyMedium,
20
+ surfacePrimary,
21
+ elementsQuaternary,
22
+ elementsQuinary,
23
+ textPrimary,
24
+ textTertiary,
25
+ brandPrimary100,
26
+ brandPrimary400,
27
+ brandPrimary500
28
+ } = vars;
29
+ return {
30
+ backgroundColor: surfacePrimary,
31
+ borderColor: elementsQuaternary,
32
+ borderRadius: borderRadiusLarge,
33
+ toolbarBackgroundColor: containerSecondary,
34
+ toolbarDividerColor: elementsQuaternary,
35
+ toolbarButtonColorActive: elementsQuaternary,
36
+ toolbarButtonColorHover: elementsQuaternary,
37
+ toolbarIconColorDisabled: elementsQuinary,
38
+ toolbarIconColorActive: brandPrimary500,
39
+ toolbarIconColorHover: textPrimary,
40
+ toolbarIconColor: textPrimary,
41
+ contentBackgroundColor: surfacePrimary,
42
+ contentTextColor: textPrimary,
43
+ placeholderColor: textTertiary,
44
+ sendButtonColor: brandPrimary400,
45
+ sendButtonColorDisabled: elementsQuinary,
46
+ sendButtonIconSize: iconMedium,
47
+ blockTypeTriggerHeight: heightMini,
48
+ blockTypeTriggerPadding: '0 8px 0 0',
49
+ blockTypeTriggerColor: 'transparent',
50
+ blockTypeTriggerTextColor: textPrimary,
51
+ blockTypeTriggerFontSize: fontBodyMedium,
52
+ blockTypeTriggerLineHeight: lineHeightBodyMedium,
53
+ blockTypeTriggerArrowSize: iconSmall,
54
+ blockTypeTriggerArrowColor: textPrimary,
55
+ blockTypeMenuWidth: '210px',
56
+ blockTypeMenuColor: surfacePrimary,
57
+ blockTypeMenuBorderColor: elementsQuaternary,
58
+ blockTypeMenuBorderRadius: borderRadiusLarge,
59
+ blockTypeMenuBoxShadow: '0 4px 8px 0 rgba(68, 83, 113, 0.05), 0 0 16px 0 rgba(68, 83, 113, 0.1)',
60
+ markdownQuoteBorderColor: textPrimary,
61
+ markdownQuoteTextColor: textPrimary,
62
+ markdownQuoteBackgroundColor: brandPrimary100,
63
+ markdownQuoteMarkerColor: brandPrimary500,
64
+ markdownDividerColor: textPrimary,
65
+ markdownH1FontSize: '20px',
66
+ markdownH2FontSize: '18px',
67
+ markdownH3FontSize: '16px',
68
+ markdownTextFontSize: '14px',
69
+ markdownH1LineHeight: lineHeightTitleMedium,
70
+ markdownH2LineHeight: lineHeightTitleSmall,
71
+ markdownH3LineHeight: lineHeightBodyLarge,
72
+ markdownTextLineHeight: lineHeightBodyMedium
73
+ };
74
+ }
75
+ const editorLight = createTheme({
76
+ name: 'Editor',
77
+ common: commonLight,
78
+ peers: {
79
+ Button: buttonLight,
80
+ Icon: iconLight,
81
+ Select: selectLight,
82
+ Tooltip: tooltipLight,
83
+ Divider: dividerLight
84
+ },
85
+ self
86
+ });
87
+ export default editorLight;
@@ -0,0 +1,12 @@
1
+ declare const _default: ({
2
+ name: string;
3
+ input: string;
4
+ expected: string;
5
+ skip?: undefined;
6
+ } | {
7
+ name: string;
8
+ input: string;
9
+ expected: string;
10
+ skip: string;
11
+ })[];
12
+ export default _default;
@@ -0,0 +1,98 @@
1
+ export default [{
2
+ name: 'single tilde keeps its form',
3
+ input: '~текст~',
4
+ expected: '~текст~'
5
+ }, {
6
+ name: 'double tilde keeps its form',
7
+ input: '~~текст~~',
8
+ expected: '~~текст~~'
9
+ }, {
10
+ name: 'equals divider keeps its char and length',
11
+ input: '===',
12
+ expected: '==='
13
+ }, {
14
+ name: 'long equals divider keeps its length',
15
+ input: '=====',
16
+ expected: '====='
17
+ }, {
18
+ name: 'dash divider keeps its form',
19
+ input: '---',
20
+ expected: '---'
21
+ }, {
22
+ name: 'asterisk divider keeps its form',
23
+ input: '***',
24
+ expected: '***'
25
+ }, {
26
+ name: 'underscore bold is not rewritten to asterisks',
27
+ input: '__жирный__',
28
+ expected: '__жирный__'
29
+ }, {
30
+ name: 'underscore italic is not rewritten to asterisks',
31
+ input: '_курсив_',
32
+ expected: '_курсив_'
33
+ }, {
34
+ name: 'paren ordered list keeps its delimiter',
35
+ input: '1) пункт',
36
+ expected: '1) пункт'
37
+ }, {
38
+ name: 'dot ordered list keeps its delimiter',
39
+ input: '1. пункт',
40
+ expected: '1. пункт'
41
+ }, {
42
+ name: 'asterisk bullet marker is not rewritten to a dash',
43
+ input: '* пункт',
44
+ expected: '* пункт'
45
+ }, {
46
+ name: 'plus bullet marker is not rewritten to a dash',
47
+ input: '+ пункт',
48
+ expected: '+ пункт'
49
+ }, {
50
+ name: 'link address survives the round trip',
51
+ input: '[текст](https://example.com)',
52
+ expected: '[текст](https://example.com)'
53
+ }, {
54
+ name: 'image survives the round trip as literal text',
55
+ input: '![alt](https://example.com/a.png)',
56
+ expected: '![alt](https://example.com/a.png)'
57
+ }, {
58
+ name: 'headings keep their level',
59
+ input: '# H1',
60
+ expected: '# H1'
61
+ }, {
62
+ name: 'third level heading keeps its level',
63
+ input: '### H3',
64
+ expected: '### H3'
65
+ }, {
66
+ name: 'clamped heading stays a paragraph without extra escaping',
67
+ input: '#### H4',
68
+ expected: '#### H4'
69
+ }, {
70
+ name: 'blockquote keeps its marker',
71
+ input: '> цитата',
72
+ expected: '> цитата'
73
+ }, {
74
+ name: 'tables are unsupported and survive as text',
75
+ input: '| a | b |',
76
+ expected: '| a | b |'
77
+ }, {
78
+ name: 'backticks are unsupported and survive as text',
79
+ input: '`код`',
80
+ expected: '`код`'
81
+ }, {
82
+ name: 'asterisk in the middle of a line gets no escaping',
83
+ input: '5 * 3 = 15',
84
+ expected: '5 * 3 = 15'
85
+ }, {
86
+ name: 'underscore in the middle of a word gets no escaping',
87
+ input: 'snake_case_name',
88
+ expected: 'snake_case_name'
89
+ }, {
90
+ name: 'dash line is parsed as a list and keeps its marker',
91
+ input: '- дефис',
92
+ expected: '- дефис'
93
+ }, {
94
+ name: 'nested marks inside single tildes',
95
+ input: '~a **b**~',
96
+ expected: '~a **b**~',
97
+ skip: 'u_strikethrough не разбирает вложенную разметку внутри одинарных тильд; включить после исправления бага'
98
+ }];
@@ -0,0 +1,7 @@
1
+ import type { Extensions } from '@tiptap/core';
2
+ import type { ComponentMountingOptions, VueWrapper } from '@vue/test-utils';
3
+ import { Editor } from '@tiptap/vue-3';
4
+ import { UEditor } from '../index';
5
+ export declare function setupProseMirrorRects(): void;
6
+ export declare function mountEditor(props?: Record<string, unknown>, options?: ComponentMountingOptions<typeof UEditor>): VueWrapper<InstanceType<typeof UEditor>>;
7
+ export declare function createStandaloneEditor(content?: string, extensions?: Extensions): Editor;
@@ -0,0 +1,27 @@
1
+ import { Editor } from '@tiptap/vue-3';
2
+ import { mount } from '@vue/test-utils';
3
+ import { UEditor } from "../index.mjs";
4
+ import { createEditorExtensions } from "../src/extensions.mjs";
5
+ export function setupProseMirrorRects() {
6
+ var _a, _b;
7
+ var _c, _d;
8
+ const emptyRects = () => ({
9
+ length: 0,
10
+ item: () => null
11
+ });
12
+ const emptyRect = () => new DOMRect();
13
+ (_a = (_c = Range.prototype).getClientRects) !== null && _a !== void 0 ? _a : _c.getClientRects = emptyRects;
14
+ (_b = (_d = Range.prototype).getBoundingClientRect) !== null && _b !== void 0 ? _b : _d.getBoundingClientRect = emptyRect;
15
+ }
16
+ export function mountEditor(props = {}, options = {}) {
17
+ return mount(UEditor, Object.assign({
18
+ props,
19
+ attachTo: document.body
20
+ }, options));
21
+ }
22
+ export function createStandaloneEditor(content, extensions) {
23
+ return new Editor({
24
+ extensions: extensions !== null && extensions !== void 0 ? extensions : createEditorExtensions(),
25
+ content
26
+ });
27
+ }
@@ -55,6 +55,13 @@ declare const enUS: {
55
55
  uncheckTableAll: string;
56
56
  confirm: string;
57
57
  clear: string;
58
+ columnSettingsTitle: string;
59
+ columnSettingsButton: string;
60
+ columnSettingsSubtitle: string;
61
+ columnSettingsSelectAll: string;
62
+ columnSettingsReset: string;
63
+ columnSettingsCancel: string;
64
+ columnSettingsApply: string;
58
65
  };
59
66
  LegacyTransfer: {
60
67
  sourceTitle: string;
@@ -128,6 +135,20 @@ declare const enUS: {
128
135
  subtitle: string;
129
136
  uploading: string;
130
137
  };
138
+ Editor: {
139
+ sendTooltip: string;
140
+ boldTooltip: string;
141
+ strikethroughTooltip: string;
142
+ italicTooltip: string;
143
+ blockquoteTooltip: string;
144
+ dividerTooltip: string;
145
+ bulletListTooltip: string;
146
+ orderedListTooltip: string;
147
+ paragraphText: string;
148
+ heading1Text: string;
149
+ heading2Text: string;
150
+ heading3Text: string;
151
+ };
131
152
  Chat: {
132
153
  inputPlaceholder: string;
133
154
  typingText: string;
@@ -54,7 +54,14 @@ const enUS = {
54
54
  checkTableAll: 'Select all in the table',
55
55
  uncheckTableAll: 'Unselect all in the table',
56
56
  confirm: 'Confirm',
57
- clear: 'Clear'
57
+ clear: 'Clear',
58
+ columnSettingsTitle: 'Table settings',
59
+ columnSettingsButton: 'Table settings',
60
+ columnSettingsSubtitle: 'Select columns and change their order',
61
+ columnSettingsSelectAll: 'Select all',
62
+ columnSettingsReset: 'Reset',
63
+ columnSettingsCancel: 'Cancel',
64
+ columnSettingsApply: 'Apply'
58
65
  },
59
66
  LegacyTransfer: {
60
67
  sourceTitle: 'Source',
@@ -129,6 +136,20 @@ const enUS = {
129
136
  subtitle: 'PDF, PNG, JPEG no more than 100 MB',
130
137
  uploading: 'Uploading'
131
138
  },
139
+ Editor: {
140
+ sendTooltip: 'Send',
141
+ boldTooltip: 'Bold',
142
+ strikethroughTooltip: 'Strikethrough',
143
+ italicTooltip: 'Italic',
144
+ blockquoteTooltip: 'Quote',
145
+ dividerTooltip: 'Divider',
146
+ bulletListTooltip: 'Bulleted list',
147
+ orderedListTooltip: 'Numbered list',
148
+ paragraphText: 'Text',
149
+ heading1Text: 'Heading 1',
150
+ heading2Text: 'Heading 2',
151
+ heading3Text: 'Heading 3'
152
+ },
132
153
  Chat: {
133
154
  inputPlaceholder: 'Type a message...',
134
155
  typingText: 'Typing...',
@@ -56,7 +56,14 @@ const ruRu = {
56
56
  checkTableAll: 'Выбрать все в таблице',
57
57
  uncheckTableAll: 'Отменить все в таблице',
58
58
  confirm: 'Подтвердить',
59
- clear: 'Очистить'
59
+ clear: 'Очистить',
60
+ columnSettingsTitle: 'Настройки таблицы',
61
+ columnSettingsButton: 'Настройка таблицы',
62
+ columnSettingsSubtitle: 'Выберите колонки и измените их порядок',
63
+ columnSettingsSelectAll: 'Выбрать все',
64
+ columnSettingsReset: 'Сбросить',
65
+ columnSettingsCancel: 'Отмена',
66
+ columnSettingsApply: 'Применить'
60
67
  },
61
68
  LegacyTransfer: {
62
69
  sourceTitle: 'Источник',
@@ -133,6 +140,20 @@ const ruRu = {
133
140
  subtitle: 'PDF, PNG, JPEG не более 100 MB',
134
141
  uploading: 'Загружается'
135
142
  },
143
+ Editor: {
144
+ sendTooltip: 'Отправить',
145
+ boldTooltip: 'Жирный',
146
+ strikethroughTooltip: 'Зачёркнутый',
147
+ italicTooltip: 'Курсив',
148
+ blockquoteTooltip: 'Цитата',
149
+ dividerTooltip: 'Разделитель',
150
+ bulletListTooltip: 'Маркированный список',
151
+ orderedListTooltip: 'Нумерованный список',
152
+ paragraphText: 'Текст',
153
+ heading1Text: 'Заголовок 1',
154
+ heading2Text: 'Заголовок 2',
155
+ heading3Text: 'Заголовок 3'
156
+ },
136
157
  Chat: {
137
158
  inputPlaceholder: 'Написать сообщение...',
138
159
  typingText: 'Печатает...',
@@ -54,7 +54,14 @@ const uzUZ = {
54
54
  checkTableAll: 'Jadvaldagi barchasini tanlash',
55
55
  uncheckTableAll: 'Jadvaldagi barcha tanlovni bekor qilish',
56
56
  confirm: 'Tasdiqlash',
57
- clear: 'Tozalash'
57
+ clear: 'Tozalash',
58
+ columnSettingsTitle: 'Jadval sozlamalari',
59
+ columnSettingsButton: 'Jadval sozlamalari',
60
+ columnSettingsSubtitle: 'Ustunlarni tanlang va tartibini o‘zgartiring',
61
+ columnSettingsSelectAll: 'Barchasini tanlash',
62
+ columnSettingsReset: 'Qayta o‘rnatish',
63
+ columnSettingsCancel: 'Bekor qilish',
64
+ columnSettingsApply: 'Qo‘llash'
58
65
  },
59
66
  LegacyTransfer: {
60
67
  sourceTitle: 'Manba',
@@ -128,6 +135,20 @@ const uzUZ = {
128
135
  subtitle: 'PDF, PNG, JPEG, 100 MB dan oshmasin',
129
136
  uploading: 'Yuklanmoqda'
130
137
  },
138
+ Editor: {
139
+ sendTooltip: 'Yuborish',
140
+ boldTooltip: 'Qalin',
141
+ strikethroughTooltip: 'Chizib o\'tilgan',
142
+ italicTooltip: 'Kursiv',
143
+ blockquoteTooltip: 'Iqtibos',
144
+ dividerTooltip: 'Ajratuvchi',
145
+ bulletListTooltip: 'Belgili ro\'yxat',
146
+ orderedListTooltip: 'Raqamli ro\'yxat',
147
+ paragraphText: 'Matn',
148
+ heading1Text: '1-sarlavha',
149
+ heading2Text: '2-sarlavha',
150
+ heading3Text: '3-sarlavha'
151
+ },
131
152
  Chat: {
132
153
  inputPlaceholder: 'Xabar yozing...',
133
154
  typingText: 'Yozmoqda...',
@@ -54,7 +54,14 @@ const zhCN = {
54
54
  checkTableAll: '选择全部表格数据',
55
55
  uncheckTableAll: '取消选择全部表格数据',
56
56
  confirm: '确认',
57
- clear: '重置'
57
+ clear: '重置',
58
+ columnSettingsTitle: '表格设置',
59
+ columnSettingsButton: '表格设置',
60
+ columnSettingsSubtitle: '选择列并调整顺序',
61
+ columnSettingsSelectAll: '全选',
62
+ columnSettingsReset: '重置',
63
+ columnSettingsCancel: '取消',
64
+ columnSettingsApply: '应用'
58
65
  },
59
66
  LegacyTransfer: {
60
67
  sourceTitle: '源项',
@@ -128,6 +135,20 @@ const zhCN = {
128
135
  subtitle: 'PDF、PNG、JPEG,不超过 100 MB',
129
136
  uploading: '上传中'
130
137
  },
138
+ Editor: {
139
+ sendTooltip: '发送',
140
+ boldTooltip: '加粗',
141
+ strikethroughTooltip: '删除线',
142
+ italicTooltip: '斜体',
143
+ blockquoteTooltip: '引用',
144
+ dividerTooltip: '分割线',
145
+ bulletListTooltip: '无序列表',
146
+ orderedListTooltip: '有序列表',
147
+ paragraphText: '正文',
148
+ heading1Text: '标题 1',
149
+ heading2Text: '标题 2',
150
+ heading3Text: '标题 3'
151
+ },
131
152
  Chat: {
132
153
  inputPlaceholder: '输入消息...',
133
154
  typingText: '正在输入...',
@@ -1,3 +1,4 @@
1
+ import { markdownContentStyle } from "../../../_styles/markdown/markdown-content.cssr.mjs";
1
2
  import { c, cB, cE, cM } from "../../../_utils/cssr/index.mjs";
2
3
  // vars:
3
4
  // --u-bezier
@@ -80,23 +81,9 @@ export default cB('message-bubble', `
80
81
  `), cE('markdown', `
81
82
  white-space: normal;
82
83
  font-size: var(--u-message-bubble-markdown-text-font-size);
83
- `, [c('h1', 'font-size: var(--u-message-bubble-markdown-h1-font-size);'), c('h2', 'font-size: var(--u-message-bubble-markdown-h2-font-size);'), c('h3', 'font-size: var(--u-message-bubble-markdown-h3-font-size);'), c('ul, ol', 'list-style-position: inside;'), c('blockquote', `
84
- position: relative;
85
- border-radius: 4px;
86
- padding: 0 8px;
87
- margin: 0;
88
- background-color: var(--u-message-bubble-markdown-quote-background-color);
89
- color: var(--u-message-bubble-markdown-quote-text-color);
90
- `, [c('&::before', `
91
- content: "";
92
- width: 2px;
93
- position: absolute;
94
- left: 2px;
95
- top: 2px;
96
- bottom: 2px;
97
- border-radius: 30px;
98
- background-color: var(--u-message-bubble-markdown-quote-marker-color);
99
- `)]), c('& > *:first-child', 'margin-top: 0;'), c('& > *:last-child', 'margin-bottom: 0;')]), cE('after-content', `
84
+ `, markdownContentStyle({
85
+ cssVarPrefix: '--u-message-bubble-markdown'
86
+ })), cE('after-content', `
100
87
  white-space: normal;
101
88
  `), cE('meta', `
102
89
  display: flex;
package/es/styles.d.ts CHANGED
@@ -29,6 +29,7 @@ export { drawerDark, drawerRtl as unstableDrawerRtl } from './drawer/styles';
29
29
  export { dropdownDark } from './dropdown/styles';
30
30
  export { dynamicInputDark, dynamicInputRtl as unstableDynamicInputRtl } from './dynamic-input/styles';
31
31
  export { dynamicTagsDark } from './dynamic-tags/styles';
32
+ export { editorDark } from './editor/styles';
32
33
  export { elementDark } from './element/styles';
33
34
  export { emptyDark } from './empty/styles';
34
35
  export { floatButtonGroupDark } from './float-button-group/styles';
package/es/styles.mjs CHANGED
@@ -30,6 +30,7 @@ export { drawerDark, drawerRtl as unstableDrawerRtl } from "./drawer/styles/inde
30
30
  export { dropdownDark } from "./dropdown/styles/index.mjs";
31
31
  export { dynamicInputDark, dynamicInputRtl as unstableDynamicInputRtl } from "./dynamic-input/styles/index.mjs";
32
32
  export { dynamicTagsDark } from "./dynamic-tags/styles/index.mjs";
33
+ export { editorDark } from "./editor/styles/index.mjs";
33
34
  export { elementDark } from "./element/styles/index.mjs";
34
35
  export { emptyDark } from "./empty/styles/index.mjs";
35
36
  export { floatButtonGroupDark } from "./float-button-group/styles/index.mjs";
@@ -35,6 +35,7 @@ import { drawerDark } from "../drawer/styles/index.mjs";
35
35
  import { dropdownDark } from "../dropdown/styles/index.mjs";
36
36
  import { dynamicInputDark } from "../dynamic-input/styles/index.mjs";
37
37
  import { dynamicTagsDark } from "../dynamic-tags/styles/index.mjs";
38
+ import { editorDark } from "../editor/styles/index.mjs";
38
39
  import { elementDark } from "../element/styles/index.mjs";
39
40
  import { ellipsisDark } from "../ellipsis/styles/index.mjs";
40
41
  import { emptyDark } from "../empty/styles/index.mjs";
@@ -139,6 +140,7 @@ export const darkTheme = {
139
140
  Dropdown: dropdownDark,
140
141
  DynamicInput: dynamicInputDark,
141
142
  DynamicTags: dynamicTagsDark,
143
+ Editor: editorDark,
142
144
  Element: elementDark,
143
145
  Empty: emptyDark,
144
146
  Ellipsis: ellipsisDark,
@@ -37,6 +37,7 @@ import { drawerLight } from "../drawer/styles/index.mjs";
37
37
  import { dropdownLight } from "../dropdown/styles/index.mjs";
38
38
  import { dynamicInputLight } from "../dynamic-input/styles/index.mjs";
39
39
  import { dynamicTagsLight } from "../dynamic-tags/styles/index.mjs";
40
+ import { editorLight } from "../editor/styles/index.mjs";
40
41
  import { elementLight } from "../element/styles/index.mjs";
41
42
  import { ellipsisLight } from "../ellipsis/styles/index.mjs";
42
43
  import { emptyLight } from "../empty/styles/index.mjs";
@@ -141,6 +142,7 @@ export const lightTheme = {
141
142
  Dropdown: dropdownLight,
142
143
  DynamicInput: dynamicInputLight,
143
144
  DynamicTags: dynamicTagsLight,
145
+ Editor: editorLight,
144
146
  Element: elementLight,
145
147
  Empty: emptyLight,
146
148
  Equation: equationLight,
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.3.8";
1
+ declare const _default: "2.4.0";
2
2
  export default _default;
package/es/version.mjs CHANGED
@@ -1 +1 @@
1
- export default '2.3.8';
1
+ export default '2.4.0';
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ exports.default = (0, vue_1.defineComponent)({
5
+ name: 'Bold',
6
+ render() {
7
+ return ((0, vue_1.h)("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
+ (0, vue_1.h)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.2451 15.3545L17.25 15.1667C17.25 15.2297 17.2483 15.2923 17.2451 15.3545ZM12.0388 11.5C12.0248 11.5002 12.0107 11.5003 11.9967 11.5003L12.0388 11.5Z", fill: "currentColor" }),
9
+ (0, vue_1.h)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.9967 12.5003H7.74333L12.0459 12.5C12.0295 12.5002 12.0131 12.5003 11.9967 12.5003ZM11.9967 5.16699C12.0597 5.16699 12.1223 5.16871 12.1846 5.17188L11.9967 5.16699ZM15.6582 9.02148L15.6633 8.83366C15.6633 8.89665 15.6614 8.95926 15.6582 9.02148Z", fill: "currentColor" }),
10
+ (0, vue_1.h)("path", { d: "M17.25 15.1667C17.25 13.4288 16.0328 11.9685 14.4061 11.5942C14.9069 11.1566 15.2877 10.5859 15.4929 9.93792C15.5853 9.64637 15.642 9.3392 15.6582 9.02148L15.6633 8.83366C15.6633 8.35779 15.572 7.90264 15.4058 7.48487C14.8888 6.18457 13.6477 5.24629 12.1846 5.17188L11.9967 5.16699L11.9971 4.86719C14.1826 4.8674 15.9629 6.64843 15.9629 8.83398C15.9628 9.83622 15.587 10.7519 14.9707 11.4512C16.4751 12.0154 17.5498 13.4691 17.5498 15.167C17.5496 17.3525 15.7686 19.1338 13.583 19.1338H8.58301C7.40414 19.1336 6.4502 18.1789 6.4502 17V7C6.45037 5.82124 7.40425 4.86736 8.58301 4.86719L8.58333 5.16699C7.57 5.16699 6.75 5.98699 6.75 7.00033V12V17C6.75 18.0133 7.57 18.8333 8.58333 18.8333H13.5833C13.8358 18.8333 14.0825 18.8076 14.3209 18.7586C15.9298 18.428 17.1595 17.0383 17.2451 15.3545L17.25 15.1667ZM13.5771 17.5332L13.5767 17.8333H8.57667L8.57715 17.5332H13.5771ZM15.9434 15.167C15.9434 13.8595 14.8846 12.8001 13.5771 12.7998H12.0312C12.0199 12.7999 12.0085 12.8008 11.9971 12.8008H8.04297V17C8.04297 17.2943 8.28283 17.5332 8.57715 17.5332L8.57667 17.8333L8.49121 17.8291C8.17657 17.797 7.91356 17.5896 7.80146 17.3062C7.76395 17.2114 7.74333 17.1081 7.74333 17V12.5003L12.0459 12.5H13.5767C15.05 12.5 16.2433 13.6933 16.2433 15.1667L16.2295 15.4395C16.093 16.7844 14.9577 17.8331 13.5767 17.8333L13.5771 17.5332C14.8845 17.533 15.9432 16.4743 15.9434 15.167ZM7.75 7.00033C7.75 6.54033 8.12333 6.16699 8.58333 6.16699H11.9967C13.47 6.16699 14.6633 7.36033 14.6633 8.83366L14.6494 9.10645C14.5143 10.4377 13.4008 11.4787 12.0388 11.5C12.0248 11.5002 12.0107 11.5003 11.9967 11.5003L7.74333 11.5L7.75 7.00033ZM11.9971 4.86719L11.9967 5.16699H8.58333L8.58301 4.86719H11.9971ZM8.0498 11.2002H11.9971C13.3044 11.2 14.3631 10.1414 14.3633 8.83398C14.3633 7.52647 13.3045 6.46701 11.9971 6.4668H8.58301C8.28895 6.46697 8.04998 6.70594 8.0498 7V11.2002Z", fill: "currentColor" }),
11
+ (0, vue_1.h)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.75 7.00033V12V17C6.75 18.0133 7.57 18.8333 8.58333 18.8333H13.5833C13.8358 18.8333 14.0825 18.8076 14.3209 18.7586C15.9298 18.428 17.1595 17.0383 17.2451 15.3545L17.25 15.1667C17.25 13.4301 16.031 11.9699 14.4061 11.5942C14.9069 11.1566 15.2877 10.5859 15.4929 9.93792C15.5853 9.64637 15.642 9.3392 15.6582 9.02148L15.6633 8.83366C15.6633 8.35779 15.572 7.90264 15.4058 7.48487C14.8888 6.18457 13.6477 5.24629 12.1846 5.17188L11.9967 5.16699H8.58333C7.57 5.16699 6.75 5.98699 6.75 7.00033ZM11.9967 11.5003L7.74333 11.5L7.75 7.00033C7.75 6.54033 8.12333 6.16699 8.58333 6.16699H11.9967C13.47 6.16699 14.6633 7.36033 14.6633 8.83366C14.6633 10.2929 13.4927 11.4775 12.0388 11.5C12.0248 11.5002 12.0107 11.5003 11.9967 11.5003ZM12.0459 12.5L7.74333 12.5003V17C7.74333 17.1081 7.76395 17.2114 7.80146 17.3062C7.91356 17.5896 8.17657 17.797 8.49121 17.8291C8.51866 17.8318 8.5485 17.8333 8.57667 17.8333H13.5767C15.05 17.8333 16.2433 16.64 16.2433 15.1667C16.2433 13.6933 15.05 12.5 13.5767 12.5H12.0459Z", fill: "currentColor" })));
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ exports.default = (0, vue_1.defineComponent)({
5
+ name: 'BulletList',
6
+ render() {
7
+ return ((0, vue_1.h)("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
+ (0, vue_1.h)("path", { d: "M4.5 7C4.5 5.89543 5.39543 5 6.5 5C7.60457 5 8.5 5.89543 8.5 7C8.5 8.10457 7.60457 9 6.5 9C5.39543 9 4.5 8.10457 4.5 7Z", fill: "currentColor" }),
9
+ (0, vue_1.h)("path", { d: "M19.1832 7.5H11.8168C11.6436 7.5 11.5 7.27907 11.5 7C11.5 6.72093 11.64 6.5 11.8168 6.5H19.1832C19.3564 6.5 19.5 6.72093 19.5 7C19.5 7.27907 19.36 7.5 19.1832 7.5Z", fill: "currentColor" }),
10
+ (0, vue_1.h)("path", { d: "M4.5 17C4.5 15.8954 5.39543 15 6.5 15C7.60457 15 8.5 15.8954 8.5 17C8.5 18.1046 7.60457 19 6.5 19C5.39543 19 4.5 18.1046 4.5 17Z", fill: "currentColor" }),
11
+ (0, vue_1.h)("path", { d: "M19.1832 17.5H11.8168C11.6436 17.5 11.5 17.2791 11.5 17C11.5 16.7209 11.64 16.5 11.8168 16.5H19.1832C19.3564 16.5 19.5 16.7209 19.5 17C19.5 17.2791 19.36 17.5 19.1832 17.5Z", fill: "currentColor" })));
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ exports.default = (0, vue_1.defineComponent)({
5
+ name: 'HorizontalRule',
6
+ render() {
7
+ return ((0, vue_1.h)("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
+ (0, vue_1.h)("path", { d: "M18.6666 12.5744H5.33334C5.02001 12.5744 4.76001 12.3211 4.76001 12.0011C4.76001 11.6811 5.01334 11.4277 5.33334 11.4277H18.6666C18.98 11.4277 19.24 11.6811 19.24 12.0011C19.24 12.3211 18.9866 12.5744 18.6666 12.5744Z", fill: "currentColor" })));
9
+ }
10
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ exports.default = (0, vue_1.defineComponent)({
5
+ name: 'Italic',
6
+ render() {
7
+ return ((0, vue_1.h)("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
+ (0, vue_1.h)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.535 5.49935C13.5107 5.4976 13.4865 5.49763 13.4628 5.49935H13.535Z", fill: "currentColor" }),
9
+ (0, vue_1.h)("path", { d: "M13.535 5.49935H13.4628H10.42C10.1466 5.49935 9.91996 5.72602 9.91996 5.99935C9.91996 6.27268 10.14 6.49935 10.4133 6.49935H12.8585L10.1085 17.4993H7.41345C7.14012 17.4993 6.91345 17.726 6.91345 17.9993C6.91345 18.2727 7.14012 18.4993 7.41345 18.4993H10.4933H10.5081H13.5868C13.8601 18.4993 14.0801 18.2727 14.0801 17.9993C14.0801 17.726 13.8534 17.4993 13.5801 17.4993H11.1418L13.8918 6.49935H16.5866C16.86 6.49935 17.0866 6.27268 17.0866 5.99935C17.0866 5.72602 16.86 5.49935 16.5866 5.49935H13.535Z", fill: "currentColor" })));
10
+ }
11
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ exports.default = (0, vue_1.defineComponent)({
5
+ name: 'NumberedList',
6
+ render() {
7
+ return ((0, vue_1.h)("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
+ (0, vue_1.h)("path", { d: "M6.48838 4.15332H7.1735V9.78395H6.43325V4.9487L5 6.03545V5.25582L6.48838 4.15332Z", fill: "currentColor" }),
9
+ (0, vue_1.h)("path", { d: "M18.6832 7.46863H11.3168C11.1436 7.46863 11 7.2477 11 6.96863C11 6.68956 11.14 6.46863 11.3168 6.46863H18.6832C18.8564 6.46863 19 6.68956 19 6.96863C19 7.2477 18.86 7.46863 18.6832 7.46863Z", fill: "currentColor" }),
10
+ (0, vue_1.h)("path", { d: "M8.83513 19.8469H5.063V19.2327L7.07113 17.3584C7.39138 17.0539 7.6355 16.7783 7.8035 16.5316C7.97675 16.2848 8.06338 16.0302 8.06338 15.7677C8.06338 15.5734 8.01613 15.3976 7.92163 15.2401C7.83238 15.0826 7.70638 14.9566 7.54363 14.8621C7.38088 14.7676 7.19188 14.7203 6.97663 14.7203C6.67738 14.7203 6.40438 14.8043 6.15763 14.9723C5.91088 15.1351 5.69563 15.3661 5.51188 15.6653L5 15.1849C5.26775 14.8227 5.567 14.5497 5.89775 14.3659C6.23375 14.1822 6.60388 14.0903 7.00813 14.0903C7.37038 14.0903 7.68538 14.1664 7.95313 14.3187C8.22088 14.4657 8.42825 14.6652 8.57525 14.9172C8.7275 15.1692 8.80363 15.4553 8.80363 15.7756C8.80363 16.0171 8.75113 16.2481 8.64613 16.4686C8.54638 16.6891 8.39675 16.9148 8.19725 17.1458C7.99775 17.3768 7.74313 17.6314 7.43338 17.9097C7.27588 18.0567 7.11575 18.2063 6.953 18.3586C6.79025 18.5056 6.6275 18.6526 6.46475 18.7996C6.30725 18.9466 6.14975 19.0909 5.99225 19.2327H8.83513V19.8469Z", fill: "currentColor" }),
11
+ (0, vue_1.h)("path", { d: "M18.6832 17.4686H11.3168C11.1436 17.4686 11 17.2477 11 16.9686C11 16.6896 11.14 16.4686 11.3168 16.4686H18.6832C18.8564 16.4686 19 16.6896 19 16.9686C19 17.2477 18.86 17.4686 18.6832 17.4686Z", fill: "currentColor" })));
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ exports.default = (0, vue_1.defineComponent)({
5
+ name: 'Quote',
6
+ render() {
7
+ return ((0, vue_1.h)("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
+ (0, vue_1.h)("path", { d: "M16.8592 11.6921H14.1047C13.2023 11.6921 12.5232 11.013 12.5232 10.1107V8.58145C12.5232 7.67911 13.2023 7 14.1047 7H15.6339C16.503 7 17.2154 7.7076 17.2154 8.58145V11.336C17.2154 11.5354 17.0539 11.6921 16.8592 11.6921ZM14.1047 7.71713C13.6013 7.71713 13.2356 8.08279 13.2356 8.5862V10.1154C13.2356 10.6188 13.6013 10.9845 14.1047 10.9845H16.503V8.5862C16.503 8.10654 16.1136 7.71713 15.6339 7.71713H14.1047Z", fill: "currentColor" }),
9
+ (0, vue_1.h)("path", { d: "M14.7078 16C14.5843 16 14.4655 15.9383 14.3991 15.8243C14.2993 15.6533 14.3563 15.4349 14.5225 15.3352C16.0565 14.4233 16.5029 14.0434 16.5029 11.3364C16.5029 11.1417 16.6644 10.9802 16.8591 10.9802C17.0538 10.9802 17.2154 11.1412 17.2154 11.336C17.2154 14.3042 16.6122 14.9267 14.8882 15.9478C14.8312 15.9858 14.7695 16 14.7078 16Z", fill: "currentColor" }),
10
+ (0, vue_1.h)("path", { d: "M11.336 11.6921H8.58147C7.67913 11.6921 7 11.013 7 10.1107V8.58145C7 7.67911 7.67913 7 8.58147 7H10.1154C10.9845 7 11.6969 7.7076 11.6969 8.58145V11.336C11.6921 11.5354 11.5354 11.6921 11.336 11.6921ZM8.58622 7.71713C8.08281 7.71713 7.71712 8.08279 7.71712 8.5862V10.1154C7.71712 10.6188 8.08281 10.9845 8.58622 10.9845H10.9845V8.5862C10.9845 8.10654 10.5951 7.71713 10.1154 7.71713H8.58622Z", fill: "currentColor" }),
11
+ (0, vue_1.h)("path", { d: "M9.18456 16C9.06108 16 8.94235 15.9383 8.87587 15.8243C8.77613 15.6533 8.83312 15.4349 8.99934 15.3352C10.5333 14.4233 10.9797 14.0434 10.9797 11.3364C10.9797 11.1417 11.1412 10.9802 11.3359 10.9802C11.5306 10.9802 11.6921 11.1417 11.6921 11.3364C11.6921 14.3046 11.089 14.9267 9.36503 15.9478C9.30804 15.9858 9.2463 16 9.18456 16Z", fill: "currentColor" })));
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;