@uzum-tech/ui 2.3.8 → 2.4.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 (335) hide show
  1. package/dist/index.js +63596 -32483
  2. package/dist/index.mjs +64978 -33874
  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 +70 -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 +130 -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/src/styles/index.cssr.mjs +11 -12
  64. package/es/chat/styles/light.d.ts +4 -0
  65. package/es/chat/styles/light.mjs +20 -1
  66. package/es/components.d.ts +13087 -103
  67. package/es/components.mjs +5 -0
  68. package/es/config-provider/src/ConfigProvider.mjs +6 -2
  69. package/es/config-provider/src/internal-interface.d.ts +2 -0
  70. package/es/data-table/index.d.ts +1 -1
  71. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
  72. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +220 -0
  73. package/es/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
  74. package/es/data-table/src/ColumnSettings/styles.cssr.mjs +25 -0
  75. package/es/data-table/src/DataTable.d.ts +60 -2
  76. package/es/data-table/src/DataTable.mjs +99 -23
  77. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  78. package/es/data-table/src/interface.d.ts +53 -1
  79. package/es/data-table/src/interface.mjs +18 -1
  80. package/es/data-table/src/styles/index.cssr.mjs +17 -1
  81. package/es/data-table/src/use-column-settings.d.ts +2 -0
  82. package/es/data-table/src/use-column-settings.mjs +124 -0
  83. package/es/data-table/src/utils/column-utils.d.ts +2 -1
  84. package/es/data-table/src/utils/column-utils.mjs +6 -0
  85. package/es/editor/index.d.ts +10 -0
  86. package/es/editor/index.mjs +5 -0
  87. package/es/editor/src/Editor.d.ts +3922 -0
  88. package/es/editor/src/Editor.mjs +230 -0
  89. package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
  90. package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.mjs +63 -0
  91. package/es/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
  92. package/es/editor/src/EditorParts/BlockTypeSelect/interface.mjs +14 -0
  93. package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4102 -0
  94. package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +154 -0
  95. package/es/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
  96. package/es/editor/src/EditorParts/EditorContent/index.mjs +2 -0
  97. package/es/editor/src/EditorParts/EditorContent/interface.d.ts +1918 -0
  98. package/es/editor/src/EditorParts/EditorContent/interface.mjs +17 -0
  99. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4606 -0
  100. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.mjs +170 -0
  101. package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
  102. package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +56 -0
  103. package/es/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
  104. package/es/editor/src/EditorParts/EditorToolbar/index.mjs +2 -0
  105. package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +1924 -0
  106. package/es/editor/src/EditorParts/EditorToolbar/interface.mjs +18 -0
  107. package/es/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
  108. package/es/editor/src/EditorParts/SendButton/SendButton.mjs +44 -0
  109. package/es/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
  110. package/es/editor/src/EditorParts/SendButton/interface.mjs +8 -0
  111. package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
  112. package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.mjs +44 -0
  113. package/es/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
  114. package/es/editor/src/EditorParts/ToolbarButton/interface.mjs +13 -0
  115. package/es/editor/src/composables/use-editor-commands.d.ts +8 -0
  116. package/es/editor/src/composables/use-editor-commands.mjs +69 -0
  117. package/es/editor/src/composables/use-editor-css-vars.d.ts +4 -0
  118. package/es/editor/src/composables/use-editor-css-vars.mjs +89 -0
  119. package/es/editor/src/constants.d.ts +12 -0
  120. package/es/editor/src/constants.mjs +25 -0
  121. package/es/editor/src/extensions.d.ts +7 -0
  122. package/es/editor/src/extensions.mjs +135 -0
  123. package/es/editor/src/interface.d.ts +2037 -0
  124. package/es/editor/src/interface.mjs +53 -0
  125. package/es/editor/src/markdown/constants.d.ts +8 -0
  126. package/es/editor/src/markdown/constants.mjs +206 -0
  127. package/es/editor/src/markdown/editor-serializer.d.ts +9 -0
  128. package/es/editor/src/markdown/editor-serializer.mjs +18 -0
  129. package/es/editor/src/markdown/escape.d.ts +2 -0
  130. package/es/editor/src/markdown/escape.mjs +24 -0
  131. package/es/editor/src/markdown/html.d.ts +1 -0
  132. package/es/editor/src/markdown/html.mjs +4 -0
  133. package/es/editor/src/markdown/parser.d.ts +4 -0
  134. package/es/editor/src/markdown/parser.mjs +36 -0
  135. package/es/editor/src/markdown/serializer-state.d.ts +10 -0
  136. package/es/editor/src/markdown/serializer-state.mjs +12 -0
  137. package/es/editor/src/markdown/serializer.d.ts +3 -0
  138. package/es/editor/src/markdown/serializer.mjs +8 -0
  139. package/es/editor/src/styles/index.cssr.d.ts +2 -0
  140. package/es/editor/src/styles/index.cssr.mjs +131 -0
  141. package/es/editor/styles/dark.d.ts +634 -0
  142. package/es/editor/styles/dark.mjs +21 -0
  143. package/es/editor/styles/index.d.ts +3 -0
  144. package/es/editor/styles/index.mjs +2 -0
  145. package/es/editor/styles/light.d.ts +685 -0
  146. package/es/editor/styles/light.mjs +91 -0
  147. package/es/editor/tests/fixtures/round-trip.d.ts +12 -0
  148. package/es/editor/tests/fixtures/round-trip.mjs +98 -0
  149. package/es/editor/tests/utils.d.ts +7 -0
  150. package/es/editor/tests/utils.mjs +27 -0
  151. package/es/locales/common/enUS.d.ts +22 -0
  152. package/es/locales/common/enUS.mjs +23 -1
  153. package/es/locales/common/ruRU.mjs +28 -8
  154. package/es/locales/common/uzUZ.mjs +23 -1
  155. package/es/locales/common/zhCN.mjs +23 -1
  156. package/es/locales/utils/date-locale.d.ts +2 -0
  157. package/es/locales/utils/date-locale.mjs +8 -0
  158. package/es/message-bubble/src/MessageBubble.d.ts +9 -0
  159. package/es/message-bubble/src/MessageBubble.mjs +9 -8
  160. package/es/message-bubble/src/interface.d.ts +5 -1
  161. package/es/message-bubble/src/interface.mjs +4 -0
  162. package/es/message-bubble/src/styles/index.cssr.mjs +4 -17
  163. package/es/styles.d.ts +1 -0
  164. package/es/styles.mjs +1 -0
  165. package/es/themes/dark.mjs +2 -0
  166. package/es/themes/light.mjs +2 -0
  167. package/es/version.d.ts +1 -1
  168. package/es/version.mjs +1 -1
  169. package/lib/_internal/icons/Bold.d.ts +2 -0
  170. package/lib/_internal/icons/Bold.js +13 -0
  171. package/lib/_internal/icons/BulletList.d.ts +2 -0
  172. package/lib/_internal/icons/BulletList.js +13 -0
  173. package/lib/_internal/icons/HorizontalRule.d.ts +2 -0
  174. package/lib/_internal/icons/HorizontalRule.js +10 -0
  175. package/lib/_internal/icons/Italic.d.ts +2 -0
  176. package/lib/_internal/icons/Italic.js +11 -0
  177. package/lib/_internal/icons/NumberedList.d.ts +2 -0
  178. package/lib/_internal/icons/NumberedList.js +13 -0
  179. package/lib/_internal/icons/Quote.d.ts +2 -0
  180. package/lib/_internal/icons/Quote.js +13 -0
  181. package/lib/_internal/icons/SettingsLine.d.ts +2 -0
  182. package/lib/_internal/icons/SettingsLine.js +11 -0
  183. package/lib/_internal/icons/Strikethrough.d.ts +2 -0
  184. package/lib/_internal/icons/Strikethrough.js +10 -0
  185. package/lib/_internal/icons/index.d.ts +8 -0
  186. package/lib/_internal/icons/index.js +18 -2
  187. package/lib/_styles/markdown/markdown-content.cssr.d.ts +6 -0
  188. package/lib/_styles/markdown/markdown-content.cssr.js +28 -0
  189. package/lib/_utils/markdown/index.d.ts +3 -2
  190. package/lib/_utils/markdown/index.js +4 -1
  191. package/lib/_utils/markdown/render-markdown.d.ts +2 -1
  192. package/lib/_utils/markdown/render-markdown.js +1 -0
  193. package/lib/chat/src/Chat.d.ts +261 -24
  194. package/lib/chat/src/Chat.js +2 -0
  195. package/lib/chat/src/ChatMainArea.d.ts +81 -8
  196. package/lib/chat/src/ChatMainArea.js +93 -223
  197. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
  198. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +52 -0
  199. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
  200. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.js +17 -0
  201. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
  202. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +55 -0
  203. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
  204. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.js +14 -0
  205. package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
  206. package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.js +45 -0
  207. package/lib/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
  208. package/lib/chat/src/ChatParts/ChatEditorInput/interface.js +37 -0
  209. package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
  210. package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.js +66 -0
  211. package/lib/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
  212. package/lib/chat/src/ChatParts/ChatFooter/interface.js +49 -0
  213. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
  214. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +164 -0
  215. package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
  216. package/lib/chat/src/ChatParts/ChatHeader/interface.js +53 -0
  217. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
  218. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +98 -0
  219. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
  220. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.js +23 -0
  221. package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
  222. package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.js +49 -0
  223. package/lib/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
  224. package/lib/chat/src/ChatParts/ChatMessagesArea/interface.js +61 -0
  225. package/lib/chat/src/interface.d.ts +7 -0
  226. package/lib/chat/src/interface.js +3 -0
  227. package/lib/chat/src/styles/index.cssr.js +11 -12
  228. package/lib/chat/styles/light.d.ts +4 -0
  229. package/lib/chat/styles/light.js +22 -1
  230. package/lib/components.d.ts +13087 -103
  231. package/lib/components.js +17 -7
  232. package/lib/config-provider/src/ConfigProvider.js +7 -4
  233. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  234. package/lib/data-table/index.d.ts +1 -1
  235. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
  236. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +181 -0
  237. package/lib/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
  238. package/lib/data-table/src/ColumnSettings/styles.cssr.js +30 -0
  239. package/lib/data-table/src/DataTable.d.ts +60 -2
  240. package/lib/data-table/src/DataTable.js +65 -23
  241. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  242. package/lib/data-table/src/interface.d.ts +53 -1
  243. package/lib/data-table/src/interface.js +17 -2
  244. package/lib/data-table/src/styles/index.cssr.js +17 -1
  245. package/lib/data-table/src/use-column-settings.d.ts +2 -0
  246. package/lib/data-table/src/use-column-settings.js +144 -0
  247. package/lib/data-table/src/utils/column-utils.d.ts +2 -1
  248. package/lib/data-table/src/utils/column-utils.js +5 -0
  249. package/lib/editor/index.d.ts +10 -0
  250. package/lib/editor/index.js +19 -0
  251. package/lib/editor/src/Editor.d.ts +3922 -0
  252. package/lib/editor/src/Editor.js +224 -0
  253. package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
  254. package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.js +47 -0
  255. package/lib/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
  256. package/lib/editor/src/EditorParts/BlockTypeSelect/interface.js +17 -0
  257. package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4102 -0
  258. package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +121 -0
  259. package/lib/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
  260. package/lib/editor/src/EditorParts/EditorContent/index.js +10 -0
  261. package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +1918 -0
  262. package/lib/editor/src/EditorParts/EditorContent/interface.js +8 -0
  263. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4606 -0
  264. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.js +126 -0
  265. package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
  266. package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +52 -0
  267. package/lib/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
  268. package/lib/editor/src/EditorParts/EditorToolbar/index.js +10 -0
  269. package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +1924 -0
  270. package/lib/editor/src/EditorParts/EditorToolbar/interface.js +11 -0
  271. package/lib/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
  272. package/lib/editor/src/EditorParts/SendButton/SendButton.js +31 -0
  273. package/lib/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
  274. package/lib/editor/src/EditorParts/SendButton/interface.js +11 -0
  275. package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
  276. package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.js +34 -0
  277. package/lib/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
  278. package/lib/editor/src/EditorParts/ToolbarButton/interface.js +16 -0
  279. package/lib/editor/src/composables/use-editor-commands.d.ts +8 -0
  280. package/lib/editor/src/composables/use-editor-commands.js +70 -0
  281. package/lib/editor/src/composables/use-editor-css-vars.d.ts +4 -0
  282. package/lib/editor/src/composables/use-editor-css-vars.js +50 -0
  283. package/lib/editor/src/constants.d.ts +12 -0
  284. package/lib/editor/src/constants.js +56 -0
  285. package/lib/editor/src/extensions.d.ts +7 -0
  286. package/lib/editor/src/extensions.js +141 -0
  287. package/lib/editor/src/interface.d.ts +2037 -0
  288. package/lib/editor/src/interface.js +22 -0
  289. package/lib/editor/src/markdown/constants.d.ts +8 -0
  290. package/lib/editor/src/markdown/constants.js +201 -0
  291. package/lib/editor/src/markdown/editor-serializer.d.ts +9 -0
  292. package/lib/editor/src/markdown/editor-serializer.js +20 -0
  293. package/lib/editor/src/markdown/escape.d.ts +2 -0
  294. package/lib/editor/src/markdown/escape.js +31 -0
  295. package/lib/editor/src/markdown/html.d.ts +1 -0
  296. package/lib/editor/src/markdown/html.js +9 -0
  297. package/lib/editor/src/markdown/parser.d.ts +4 -0
  298. package/lib/editor/src/markdown/parser.js +42 -0
  299. package/lib/editor/src/markdown/serializer-state.d.ts +10 -0
  300. package/lib/editor/src/markdown/serializer-state.js +16 -0
  301. package/lib/editor/src/markdown/serializer.d.ts +3 -0
  302. package/lib/editor/src/markdown/serializer.js +9 -0
  303. package/lib/editor/src/styles/index.cssr.d.ts +2 -0
  304. package/lib/editor/src/styles/index.cssr.js +136 -0
  305. package/lib/editor/styles/dark.d.ts +634 -0
  306. package/lib/editor/styles/dark.js +23 -0
  307. package/lib/editor/styles/index.d.ts +3 -0
  308. package/lib/editor/styles/index.js +10 -0
  309. package/lib/editor/styles/light.d.ts +685 -0
  310. package/lib/editor/styles/light.js +75 -0
  311. package/lib/editor/tests/fixtures/round-trip.d.ts +12 -0
  312. package/lib/editor/tests/fixtures/round-trip.js +125 -0
  313. package/lib/editor/tests/utils.d.ts +7 -0
  314. package/lib/editor/tests/utils.js +26 -0
  315. package/lib/locales/common/enUS.d.ts +22 -0
  316. package/lib/locales/common/enUS.js +23 -1
  317. package/lib/locales/common/ruRU.js +28 -8
  318. package/lib/locales/common/uzUZ.js +23 -1
  319. package/lib/locales/common/zhCN.js +23 -1
  320. package/lib/locales/utils/date-locale.d.ts +2 -0
  321. package/lib/locales/utils/date-locale.js +14 -0
  322. package/lib/message-bubble/src/MessageBubble.d.ts +9 -0
  323. package/lib/message-bubble/src/MessageBubble.js +12 -7
  324. package/lib/message-bubble/src/interface.d.ts +5 -1
  325. package/lib/message-bubble/src/interface.js +3 -0
  326. package/lib/message-bubble/src/styles/index.cssr.js +4 -17
  327. package/lib/styles.d.ts +1 -0
  328. package/lib/styles.js +127 -125
  329. package/lib/themes/dark.js +136 -134
  330. package/lib/themes/light.js +136 -134
  331. package/lib/version.d.ts +1 -1
  332. package/lib/version.js +1 -1
  333. package/package.json +8 -1
  334. package/volar.d.ts +3 -0
  335. package/web-types.json +454 -2
@@ -43,80 +43,81 @@ const styles_31 = require("../drawer/styles");
43
43
  const styles_32 = require("../dropdown/styles");
44
44
  const styles_33 = require("../dynamic-input/styles");
45
45
  const styles_34 = require("../dynamic-tags/styles");
46
- const styles_35 = require("../element/styles");
47
- const styles_36 = require("../ellipsis/styles");
48
- const styles_37 = require("../empty/styles");
49
- const styles_38 = require("../equation/styles");
50
- const styles_39 = require("../flex/styles");
51
- const styles_40 = require("../float-button-group/styles");
52
- const styles_41 = require("../float-button/styles");
53
- const styles_42 = require("../form/styles");
54
- const styles_43 = require("../gradient-text/styles");
55
- const styles_44 = require("../header/styles");
56
- const styles_45 = require("../icon-bar/styles");
57
- const styles_46 = require("../icon-pack/styles");
58
- const styles_47 = require("../icon-wrapper/styles");
59
- const styles_48 = require("../icon/styles");
60
- const styles_49 = require("../image/styles");
61
- const styles_50 = require("../input-number/styles");
62
- const styles_51 = require("../input-otp/styles");
63
- const styles_52 = require("../input/styles");
64
- const styles_53 = require("../kanban/styles");
65
- const styles_54 = require("../layout/styles");
66
- const styles_55 = require("../legacy-grid/styles");
67
- const styles_56 = require("../legacy-transfer/styles");
68
- const styles_57 = require("../list/styles");
69
- const styles_58 = require("../loading-bar/styles");
70
- const styles_59 = require("../log/styles");
71
- const styles_60 = require("../mapping-card/styles");
72
- const styles_61 = require("../marquee/styles");
73
- const styles_62 = require("../mention/styles");
74
- const styles_63 = require("../menu/styles");
75
- const styles_64 = require("../message-bubble/styles");
76
- const styles_65 = require("../message/styles");
77
- const styles_66 = require("../modal-fullscreen/styles");
78
- const styles_67 = require("../modal/styles");
79
- const styles_68 = require("../notification/styles");
80
- const styles_69 = require("../page-header/styles");
81
- const styles_70 = require("../pagination/styles");
82
- const styles_71 = require("../popconfirm/styles");
83
- const styles_72 = require("../popover/styles");
84
- const styles_73 = require("../popselect/styles");
85
- const styles_74 = require("../progress/styles");
86
- const styles_75 = require("../qr-code/styles");
87
- const styles_76 = require("../radio/styles");
88
- const styles_77 = require("../rate/styles");
89
- const styles_78 = require("../result/styles");
90
- const styles_79 = require("../select/styles");
91
- const styles_80 = require("../skeleton/styles");
92
- const styles_81 = require("../slider/styles");
93
- const styles_82 = require("../space/styles");
94
- const styles_83 = require("../spin/styles");
95
- const styles_84 = require("../statistic/styles");
96
- const styles_85 = require("../status/styles");
97
- const styles_86 = require("../steps/styles");
98
- const styles_87 = require("../switch/styles");
99
- const styles_88 = require("../table/styles");
100
- const styles_89 = require("../tabs/styles");
101
- const styles_90 = require("../tag/styles");
102
- const styles_91 = require("../thing/styles");
103
- const styles_92 = require("../time-picker/styles");
104
- const styles_93 = require("../timeline/styles");
105
- const styles_94 = require("../toggle-button/styles");
106
- const styles_95 = require("../tooltip/styles");
107
- const styles_96 = require("../transfer/styles");
108
- const styles_97 = require("../tree-select/styles");
109
- const styles_98 = require("../tree/styles");
110
- const styles_99 = require("../typography/styles");
111
- const styles_100 = require("../upload/styles");
112
- const styles_101 = require("../watermark/styles");
46
+ const styles_35 = require("../editor/styles");
47
+ const styles_36 = require("../element/styles");
48
+ const styles_37 = require("../ellipsis/styles");
49
+ const styles_38 = require("../empty/styles");
50
+ const styles_39 = require("../equation/styles");
51
+ const styles_40 = require("../flex/styles");
52
+ const styles_41 = require("../float-button-group/styles");
53
+ const styles_42 = require("../float-button/styles");
54
+ const styles_43 = require("../form/styles");
55
+ const styles_44 = require("../gradient-text/styles");
56
+ const styles_45 = require("../header/styles");
57
+ const styles_46 = require("../icon-bar/styles");
58
+ const styles_47 = require("../icon-pack/styles");
59
+ const styles_48 = require("../icon-wrapper/styles");
60
+ const styles_49 = require("../icon/styles");
61
+ const styles_50 = require("../image/styles");
62
+ const styles_51 = require("../input-number/styles");
63
+ const styles_52 = require("../input-otp/styles");
64
+ const styles_53 = require("../input/styles");
65
+ const styles_54 = require("../kanban/styles");
66
+ const styles_55 = require("../layout/styles");
67
+ const styles_56 = require("../legacy-grid/styles");
68
+ const styles_57 = require("../legacy-transfer/styles");
69
+ const styles_58 = require("../list/styles");
70
+ const styles_59 = require("../loading-bar/styles");
71
+ const styles_60 = require("../log/styles");
72
+ const styles_61 = require("../mapping-card/styles");
73
+ const styles_62 = require("../marquee/styles");
74
+ const styles_63 = require("../mention/styles");
75
+ const styles_64 = require("../menu/styles");
76
+ const styles_65 = require("../message-bubble/styles");
77
+ const styles_66 = require("../message/styles");
78
+ const styles_67 = require("../modal-fullscreen/styles");
79
+ const styles_68 = require("../modal/styles");
80
+ const styles_69 = require("../notification/styles");
81
+ const styles_70 = require("../page-header/styles");
82
+ const styles_71 = require("../pagination/styles");
83
+ const styles_72 = require("../popconfirm/styles");
84
+ const styles_73 = require("../popover/styles");
85
+ const styles_74 = require("../popselect/styles");
86
+ const styles_75 = require("../progress/styles");
87
+ const styles_76 = require("../qr-code/styles");
88
+ const styles_77 = require("../radio/styles");
89
+ const styles_78 = require("../rate/styles");
90
+ const styles_79 = require("../result/styles");
91
+ const styles_80 = require("../select/styles");
92
+ const styles_81 = require("../skeleton/styles");
93
+ const styles_82 = require("../slider/styles");
94
+ const styles_83 = require("../space/styles");
95
+ const styles_84 = require("../spin/styles");
96
+ const styles_85 = require("../statistic/styles");
97
+ const styles_86 = require("../status/styles");
98
+ const styles_87 = require("../steps/styles");
99
+ const styles_88 = require("../switch/styles");
100
+ const styles_89 = require("../table/styles");
101
+ const styles_90 = require("../tabs/styles");
102
+ const styles_91 = require("../tag/styles");
103
+ const styles_92 = require("../thing/styles");
104
+ const styles_93 = require("../time-picker/styles");
105
+ const styles_94 = require("../timeline/styles");
106
+ const styles_95 = require("../toggle-button/styles");
107
+ const styles_96 = require("../tooltip/styles");
108
+ const styles_97 = require("../transfer/styles");
109
+ const styles_98 = require("../tree-select/styles");
110
+ const styles_99 = require("../tree/styles");
111
+ const styles_100 = require("../typography/styles");
112
+ const styles_101 = require("../upload/styles");
113
+ const styles_102 = require("../watermark/styles");
113
114
  exports.lightTheme = {
114
115
  name: 'light',
115
116
  common: common_1.commonLight,
116
117
  AccountOption: styles_1.accountOptionLight,
117
118
  ActionCard: styles_3.actionCardLight,
118
- MappingCard: styles_60.mappingCardLight,
119
- Kanban: styles_53.kanbanLight,
119
+ MappingCard: styles_61.mappingCardLight,
120
+ Kanban: styles_54.kanbanLight,
120
121
  Alert: styles_4.alertLight,
121
122
  Anchor: styles_5.anchorLight,
122
123
  AutoComplete: styles_6.autoCompleteLight,
@@ -147,73 +148,74 @@ exports.lightTheme = {
147
148
  Dropdown: styles_32.dropdownLight,
148
149
  DynamicInput: styles_33.dynamicInputLight,
149
150
  DynamicTags: styles_34.dynamicTagsLight,
150
- Element: styles_35.elementLight,
151
- Empty: styles_37.emptyLight,
152
- Equation: styles_38.equationLight,
153
- Ellipsis: styles_36.ellipsisLight,
154
- FloatButton: styles_41.floatButtonLight,
155
- FloatButtonGroup: styles_40.floatButtonGroupLight,
156
- Form: styles_42.formLight,
157
- GradientText: styles_43.gradientTextLight,
158
- Icon: styles_48.iconLight,
159
- IconWrapper: styles_47.iconWrapperLight,
160
- Image: styles_49.imageLight,
161
- Input: styles_52.inputLight,
162
- InputOtp: styles_51.inputOtpLight,
163
- InputNumber: styles_50.inputNumberLight,
164
- Layout: styles_54.layoutLight,
165
- LegacyTransfer: styles_56.legacyTransferLight,
166
- List: styles_57.listLight,
167
- LoadingBar: styles_58.loadingBarLight,
168
- Log: styles_59.logLight,
169
- Marquee: styles_61.marqueeLight,
170
- Menu: styles_63.menuLight,
171
- Mention: styles_62.mentionLight,
172
- MessageBubble: styles_64.messageBubbleLight,
173
- Message: styles_65.messageLight,
174
- Modal: styles_67.modalLight,
175
- Notification: styles_68.notificationLight,
176
- PageHeader: styles_69.pageHeaderLight,
177
- Pagination: styles_70.paginationLight,
178
- Popconfirm: styles_71.popconfirmLight,
179
- Popover: styles_72.popoverLight,
180
- Popselect: styles_73.popselectLight,
181
- Progress: styles_74.progressLight,
182
- Radio: styles_76.radioLight,
183
- Rate: styles_77.rateLight,
184
- Row: styles_55.rowLight,
185
- Result: styles_78.resultLight,
151
+ Editor: styles_35.editorLight,
152
+ Element: styles_36.elementLight,
153
+ Empty: styles_38.emptyLight,
154
+ Equation: styles_39.equationLight,
155
+ Ellipsis: styles_37.ellipsisLight,
156
+ FloatButton: styles_42.floatButtonLight,
157
+ FloatButtonGroup: styles_41.floatButtonGroupLight,
158
+ Form: styles_43.formLight,
159
+ GradientText: styles_44.gradientTextLight,
160
+ Icon: styles_49.iconLight,
161
+ IconWrapper: styles_48.iconWrapperLight,
162
+ Image: styles_50.imageLight,
163
+ Input: styles_53.inputLight,
164
+ InputOtp: styles_52.inputOtpLight,
165
+ InputNumber: styles_51.inputNumberLight,
166
+ Layout: styles_55.layoutLight,
167
+ LegacyTransfer: styles_57.legacyTransferLight,
168
+ List: styles_58.listLight,
169
+ LoadingBar: styles_59.loadingBarLight,
170
+ Log: styles_60.logLight,
171
+ Marquee: styles_62.marqueeLight,
172
+ Menu: styles_64.menuLight,
173
+ Mention: styles_63.mentionLight,
174
+ MessageBubble: styles_65.messageBubbleLight,
175
+ Message: styles_66.messageLight,
176
+ Modal: styles_68.modalLight,
177
+ Notification: styles_69.notificationLight,
178
+ PageHeader: styles_70.pageHeaderLight,
179
+ Pagination: styles_71.paginationLight,
180
+ Popconfirm: styles_72.popconfirmLight,
181
+ Popover: styles_73.popoverLight,
182
+ Popselect: styles_74.popselectLight,
183
+ Progress: styles_75.progressLight,
184
+ Radio: styles_77.radioLight,
185
+ Rate: styles_78.rateLight,
186
+ Row: styles_56.rowLight,
187
+ Result: styles_79.resultLight,
186
188
  Scrollbar: styles_2.scrollbarLight,
187
189
  SafeTopScrollbar: light_1.default,
188
- Skeleton: styles_80.skeletonLight,
189
- Select: styles_79.selectLight,
190
- Slider: styles_81.sliderLight,
191
- Space: styles_82.spaceLight,
192
- Spin: styles_83.spinLight,
193
- Statistic: styles_84.statisticLight,
194
- Status: styles_85.statusLight,
195
- Steps: styles_86.stepsLight,
196
- Switch: styles_87.switchLight,
197
- Table: styles_88.tableLight,
198
- Tabs: styles_89.tabsLight,
199
- Tag: styles_90.tagLight,
200
- Thing: styles_91.thingLight,
201
- TimePicker: styles_92.timePickerLight,
202
- Timeline: styles_93.timelineLight,
203
- Tooltip: styles_95.tooltipLight,
204
- Transfer: styles_96.transferLight,
205
- Tree: styles_98.treeLight,
206
- TreeSelect: styles_97.treeSelectLight,
207
- Typography: styles_99.typographyLight,
208
- Upload: styles_100.uploadLight,
209
- Watermark: styles_101.watermarkLight,
210
- ToggleButton: styles_94.toggleButtonLight,
211
- Flex: styles_39.flexLight,
190
+ Skeleton: styles_81.skeletonLight,
191
+ Select: styles_80.selectLight,
192
+ Slider: styles_82.sliderLight,
193
+ Space: styles_83.spaceLight,
194
+ Spin: styles_84.spinLight,
195
+ Statistic: styles_85.statisticLight,
196
+ Status: styles_86.statusLight,
197
+ Steps: styles_87.stepsLight,
198
+ Switch: styles_88.switchLight,
199
+ Table: styles_89.tableLight,
200
+ Tabs: styles_90.tabsLight,
201
+ Tag: styles_91.tagLight,
202
+ Thing: styles_92.thingLight,
203
+ TimePicker: styles_93.timePickerLight,
204
+ Timeline: styles_94.timelineLight,
205
+ Tooltip: styles_96.tooltipLight,
206
+ Transfer: styles_97.transferLight,
207
+ Tree: styles_99.treeLight,
208
+ TreeSelect: styles_98.treeSelectLight,
209
+ Typography: styles_100.typographyLight,
210
+ Upload: styles_101.uploadLight,
211
+ Watermark: styles_102.watermarkLight,
212
+ ToggleButton: styles_95.toggleButtonLight,
213
+ Flex: styles_40.flexLight,
212
214
  Chat: styles_19.chatLight,
213
- ModalFullscreen: styles_66.modalFullscreenLight,
215
+ ModalFullscreen: styles_67.modalFullscreenLight,
214
216
  Crop: styles_25.cropLight,
215
- Header: styles_44.headerLight,
216
- IconBar: styles_45.iconBarLight,
217
- IconPack: styles_46.iconPackLight,
218
- QrCode: styles_75.qrcodeLight
217
+ Header: styles_45.headerLight,
218
+ IconBar: styles_46.iconBarLight,
219
+ IconPack: styles_47.iconPackLight,
220
+ QrCode: styles_76.qrcodeLight
219
221
  };
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.3.8";
1
+ declare const _default: "2.4.1";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '2.3.8';
3
+ exports.default = '2.4.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzum-tech/ui",
3
- "version": "2.3.8",
3
+ "version": "2.4.1",
4
4
  "packageManager": "pnpm@10.33.0",
5
5
  "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
6
6
  "author": {
@@ -103,6 +103,11 @@
103
103
  "dependencies": {
104
104
  "@css-render/plugin-bem": "0.15.14",
105
105
  "@css-render/vue3-ssr": "0.15.14",
106
+ "@tiptap/core": "3.31.3",
107
+ "@tiptap/extensions": "3.31.3",
108
+ "@tiptap/pm": "3.31.3",
109
+ "@tiptap/starter-kit": "3.31.3",
110
+ "@tiptap/vue-3": "3.31.3",
106
111
  "@types/lodash": "4.17.24",
107
112
  "@types/lodash-es": "4.17.12",
108
113
  "@vueuse/core": "13.3.0",
@@ -117,6 +122,7 @@
117
122
  "lodash": "4.18.1",
118
123
  "lodash-es": "4.18.1",
119
124
  "markdown-it": "15.0.0",
125
+ "prosemirror-markdown": "1.13.7",
120
126
  "seemly": "0.3.10",
121
127
  "treemate": "0.3.11",
122
128
  "vdirs": "0.1.8",
@@ -185,6 +191,7 @@
185
191
  "pnpm": {
186
192
  "overrides": {
187
193
  "cssstyle": "5.2.1",
194
+ "markdown-it": "15.0.0",
188
195
  "serialize-javascript": "7.0.5",
189
196
  "yaml": "2.9.0"
190
197
  },
package/volar.d.ts CHANGED
@@ -184,6 +184,9 @@ declare module 'vue' {
184
184
  UKanbanColumn: (typeof import('@uzum-tech/ui'))['UKanbanColumn']
185
185
  UIconPack: (typeof import('@uzum-tech/ui'))['UIconPack']
186
186
  UMessageBubble: (typeof import('@uzum-tech/ui'))['UMessageBubble']
187
+ UEditor: (typeof import('@uzum-tech/ui'))['UEditor']
188
+ UEditorContent: (typeof import('@uzum-tech/ui'))['UEditorContent']
189
+ UEditorToolbar: (typeof import('@uzum-tech/ui'))['UEditorToolbar']
187
190
  }
188
191
  }
189
192
  export {}