@byline/richtext-lexical 0.9.3

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 (655) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +18 -0
  3. package/dist/field/apply-value-plugin.d.ts +10 -0
  4. package/dist/field/apply-value-plugin.d.ts.map +1 -0
  5. package/dist/field/apply-value-plugin.js +60 -0
  6. package/dist/field/config/default.d.ts +6 -0
  7. package/dist/field/config/default.d.ts.map +1 -0
  8. package/dist/field/config/default.js +53 -0
  9. package/dist/field/config/editor-config-context.d.ts +14 -0
  10. package/dist/field/config/editor-config-context.d.ts.map +1 -0
  11. package/dist/field/config/editor-config-context.js +51 -0
  12. package/dist/field/config/types.d.ts +28 -0
  13. package/dist/field/config/types.d.ts.map +1 -0
  14. package/dist/field/config/types.js +1 -0
  15. package/dist/field/constants.d.ts +2 -0
  16. package/dist/field/constants.d.ts.map +1 -0
  17. package/dist/field/constants.js +2 -0
  18. package/dist/field/content-editable-inline.d.ts +13 -0
  19. package/dist/field/content-editable-inline.d.ts.map +1 -0
  20. package/dist/field/content-editable-inline.js +11 -0
  21. package/dist/field/content-editable.css +23 -0
  22. package/dist/field/content-editable.d.ts +13 -0
  23. package/dist/field/content-editable.d.ts.map +1 -0
  24. package/dist/field/content-editable.js +14 -0
  25. package/dist/field/context/shared-autocomplete-context.js +44 -0
  26. package/dist/field/context/shared-history-context.d.ts +19 -0
  27. package/dist/field/context/shared-history-context.d.ts.map +1 -0
  28. package/dist/field/context/shared-history-context.js +16 -0
  29. package/dist/field/context/shared-on-change-context.d.ts +13 -0
  30. package/dist/field/context/shared-on-change-context.d.ts.map +1 -0
  31. package/dist/field/context/shared-on-change-context.js +21 -0
  32. package/dist/field/debug.d.ts +10 -0
  33. package/dist/field/debug.d.ts.map +1 -0
  34. package/dist/field/debug.js +30 -0
  35. package/dist/field/editor-component.css +33 -0
  36. package/dist/field/editor-component.d.ts +13 -0
  37. package/dist/field/editor-component.d.ts.map +1 -0
  38. package/dist/field/editor-component.js +115 -0
  39. package/dist/field/editor-context.d.ts +23 -0
  40. package/dist/field/editor-context.d.ts.map +1 -0
  41. package/dist/field/editor-context.js +57 -0
  42. package/dist/field/editor-field.d.ts +34 -0
  43. package/dist/field/editor-field.d.ts.map +1 -0
  44. package/dist/field/editor-field.js +18 -0
  45. package/dist/field/editor.css +1449 -0
  46. package/dist/field/editor.d.ts +14 -0
  47. package/dist/field/editor.d.ts.map +1 -0
  48. package/dist/field/editor.js +190 -0
  49. package/dist/field/hooks/use-modal.d.ts +13 -0
  50. package/dist/field/hooks/use-modal.d.ts.map +1 -0
  51. package/dist/field/hooks/use-modal.js +37 -0
  52. package/dist/field/hooks/use-report.js +39 -0
  53. package/dist/field/lexical-populate-shared.d.ts +97 -0
  54. package/dist/field/lexical-populate-shared.d.ts.map +1 -0
  55. package/dist/field/lexical-populate-shared.js +60 -0
  56. package/dist/field/nodes/admonition-node/admonition-node-component.css +119 -0
  57. package/dist/field/nodes/admonition-node/admonition-node-component.d.ts +18 -0
  58. package/dist/field/nodes/admonition-node/admonition-node-component.d.ts.map +1 -0
  59. package/dist/field/nodes/admonition-node/admonition-node-component.js +190 -0
  60. package/dist/field/nodes/admonition-node/admonition-node.d.ts +35 -0
  61. package/dist/field/nodes/admonition-node/admonition-node.d.ts.map +1 -0
  62. package/dist/field/nodes/admonition-node/admonition-node.js +129 -0
  63. package/dist/field/nodes/admonition-node/icons/danger-icon.css +12 -0
  64. package/dist/field/nodes/admonition-node/icons/danger-icon.d.ts +8 -0
  65. package/dist/field/nodes/admonition-node/icons/danger-icon.d.ts.map +1 -0
  66. package/dist/field/nodes/admonition-node/icons/danger-icon.js +18 -0
  67. package/dist/field/nodes/admonition-node/icons/index.d.ts +5 -0
  68. package/dist/field/nodes/admonition-node/icons/index.d.ts.map +1 -0
  69. package/dist/field/nodes/admonition-node/icons/index.js +4 -0
  70. package/dist/field/nodes/admonition-node/icons/note-icon.css +12 -0
  71. package/dist/field/nodes/admonition-node/icons/note-icon.d.ts +8 -0
  72. package/dist/field/nodes/admonition-node/icons/note-icon.d.ts.map +1 -0
  73. package/dist/field/nodes/admonition-node/icons/note-icon.js +18 -0
  74. package/dist/field/nodes/admonition-node/icons/tip-icon.css +12 -0
  75. package/dist/field/nodes/admonition-node/icons/tip-icon.d.ts +8 -0
  76. package/dist/field/nodes/admonition-node/icons/tip-icon.d.ts.map +1 -0
  77. package/dist/field/nodes/admonition-node/icons/tip-icon.js +18 -0
  78. package/dist/field/nodes/admonition-node/icons/warning-icon.css +12 -0
  79. package/dist/field/nodes/admonition-node/icons/warning-icon.d.ts +8 -0
  80. package/dist/field/nodes/admonition-node/icons/warning-icon.d.ts.map +1 -0
  81. package/dist/field/nodes/admonition-node/icons/warning-icon.js +18 -0
  82. package/dist/field/nodes/admonition-node/index.d.ts +10 -0
  83. package/dist/field/nodes/admonition-node/index.d.ts.map +1 -0
  84. package/dist/field/nodes/admonition-node/index.js +2 -0
  85. package/dist/field/nodes/admonition-node/types.d.ts +21 -0
  86. package/dist/field/nodes/admonition-node/types.d.ts.map +1 -0
  87. package/dist/field/nodes/admonition-node/types.js +1 -0
  88. package/dist/field/nodes/document-relation.d.ts +33 -0
  89. package/dist/field/nodes/document-relation.d.ts.map +1 -0
  90. package/dist/field/nodes/document-relation.js +1 -0
  91. package/dist/field/nodes/index.d.ts +10 -0
  92. package/dist/field/nodes/index.d.ts.map +1 -0
  93. package/dist/field/nodes/index.js +37 -0
  94. package/dist/field/nodes/inline-image-node/index.d.ts +10 -0
  95. package/dist/field/nodes/inline-image-node/index.d.ts.map +1 -0
  96. package/dist/field/nodes/inline-image-node/index.js +2 -0
  97. package/dist/field/nodes/inline-image-node/inline-image-node-component.css +204 -0
  98. package/dist/field/nodes/inline-image-node/inline-image-node-component.d.ts +24 -0
  99. package/dist/field/nodes/inline-image-node/inline-image-node-component.d.ts.map +1 -0
  100. package/dist/field/nodes/inline-image-node/inline-image-node-component.js +221 -0
  101. package/dist/field/nodes/inline-image-node/inline-image-node.d.ts +45 -0
  102. package/dist/field/nodes/inline-image-node/inline-image-node.d.ts.map +1 -0
  103. package/dist/field/nodes/inline-image-node/inline-image-node.js +187 -0
  104. package/dist/field/nodes/inline-image-node/types.d.ts +30 -0
  105. package/dist/field/nodes/inline-image-node/types.d.ts.map +1 -0
  106. package/dist/field/nodes/inline-image-node/types.js +1 -0
  107. package/dist/field/nodes/layout-container-node/layout-container-node.d.ts +29 -0
  108. package/dist/field/nodes/layout-container-node/layout-container-node.d.ts.map +1 -0
  109. package/dist/field/nodes/layout-container-node/layout-container-node.js +54 -0
  110. package/dist/field/nodes/layout-container-node/layout-item-node.d.ts +23 -0
  111. package/dist/field/nodes/layout-container-node/layout-item-node.d.ts.map +1 -0
  112. package/dist/field/nodes/layout-container-node/layout-item-node.js +41 -0
  113. package/dist/field/nodes/link-nodes/auto-link-node.d.ts +17 -0
  114. package/dist/field/nodes/link-nodes/auto-link-node.d.ts.map +1 -0
  115. package/dist/field/nodes/link-nodes/auto-link-node.js +52 -0
  116. package/dist/field/nodes/link-nodes/index.d.ts +4 -0
  117. package/dist/field/nodes/link-nodes/index.d.ts.map +1 -0
  118. package/dist/field/nodes/link-nodes/index.js +3 -0
  119. package/dist/field/nodes/link-nodes/link-node.d.ts +49 -0
  120. package/dist/field/nodes/link-nodes/link-node.d.ts.map +1 -0
  121. package/dist/field/nodes/link-nodes/link-node.js +253 -0
  122. package/dist/field/nodes/link-nodes/types.d.ts +26 -0
  123. package/dist/field/nodes/link-nodes/types.d.ts.map +1 -0
  124. package/dist/field/nodes/link-nodes/types.js +1 -0
  125. package/dist/field/nodes/vimeo-node/index.d.ts +30 -0
  126. package/dist/field/nodes/vimeo-node/index.d.ts.map +1 -0
  127. package/dist/field/nodes/vimeo-node/index.js +109 -0
  128. package/dist/field/nodes/youtube-node/index.d.ts +30 -0
  129. package/dist/field/nodes/youtube-node/index.d.ts.map +1 -0
  130. package/dist/field/nodes/youtube-node/index.js +110 -0
  131. package/dist/field/plugins/admonition-plugin/admonition-modal.css +26 -0
  132. package/dist/field/plugins/admonition-plugin/admonition-modal.d.ts +12 -0
  133. package/dist/field/plugins/admonition-plugin/admonition-modal.d.ts.map +1 -0
  134. package/dist/field/plugins/admonition-plugin/admonition-modal.js +165 -0
  135. package/dist/field/plugins/admonition-plugin/fields.d.ts +21 -0
  136. package/dist/field/plugins/admonition-plugin/fields.d.ts.map +1 -0
  137. package/dist/field/plugins/admonition-plugin/fields.js +55 -0
  138. package/dist/field/plugins/admonition-plugin/index.d.ts +15 -0
  139. package/dist/field/plugins/admonition-plugin/index.d.ts.map +1 -0
  140. package/dist/field/plugins/admonition-plugin/index.js +54 -0
  141. package/dist/field/plugins/admonition-plugin/types.d.ts +34 -0
  142. package/dist/field/plugins/admonition-plugin/types.d.ts.map +1 -0
  143. package/dist/field/plugins/admonition-plugin/types.js +1 -0
  144. package/dist/field/plugins/auto-embed-plugin/auto-embed-modal.css +16 -0
  145. package/dist/field/plugins/auto-embed-plugin/auto-embed-modal.d.ts +8 -0
  146. package/dist/field/plugins/auto-embed-plugin/auto-embed-modal.d.ts.map +1 -0
  147. package/dist/field/plugins/auto-embed-plugin/auto-embed-modal.js +105 -0
  148. package/dist/field/plugins/auto-embed-plugin/index.d.ts +21 -0
  149. package/dist/field/plugins/auto-embed-plugin/index.d.ts.map +1 -0
  150. package/dist/field/plugins/auto-embed-plugin/index.js +152 -0
  151. package/dist/field/plugins/code-highlight-plugin/index.d.ts +10 -0
  152. package/dist/field/plugins/code-highlight-plugin/index.d.ts.map +1 -0
  153. package/dist/field/plugins/code-highlight-plugin/index.js +11 -0
  154. package/dist/field/plugins/drag-drop-paste-plugin/index.js +1 -0
  155. package/dist/field/plugins/floating-text-format-toolbar-plugin/index.css +148 -0
  156. package/dist/field/plugins/floating-text-format-toolbar-plugin/index.d.ts +13 -0
  157. package/dist/field/plugins/floating-text-format-toolbar-plugin/index.d.ts.map +1 -0
  158. package/dist/field/plugins/floating-text-format-toolbar-plugin/index.js +279 -0
  159. package/dist/field/plugins/inline-image-plugin/fields.d.ts +12 -0
  160. package/dist/field/plugins/inline-image-plugin/fields.d.ts.map +1 -0
  161. package/dist/field/plugins/inline-image-plugin/fields.js +22 -0
  162. package/dist/field/plugins/inline-image-plugin/index.d.ts +34 -0
  163. package/dist/field/plugins/inline-image-plugin/index.d.ts.map +1 -0
  164. package/dist/field/plugins/inline-image-plugin/index.js +107 -0
  165. package/dist/field/plugins/inline-image-plugin/inline-image-modal.css +25 -0
  166. package/dist/field/plugins/inline-image-plugin/inline-image-modal.d.ts +11 -0
  167. package/dist/field/plugins/inline-image-plugin/inline-image-modal.d.ts.map +1 -0
  168. package/dist/field/plugins/inline-image-plugin/inline-image-modal.js +271 -0
  169. package/dist/field/plugins/inline-image-plugin/populate.d.ts +10 -0
  170. package/dist/field/plugins/inline-image-plugin/populate.d.ts.map +1 -0
  171. package/dist/field/plugins/inline-image-plugin/populate.js +28 -0
  172. package/dist/field/plugins/inline-image-plugin/types.d.ts +37 -0
  173. package/dist/field/plugins/inline-image-plugin/types.d.ts.map +1 -0
  174. package/dist/field/plugins/inline-image-plugin/types.js +1 -0
  175. package/dist/field/plugins/inline-image-plugin/utils.d.ts +42 -0
  176. package/dist/field/plugins/inline-image-plugin/utils.d.ts.map +1 -0
  177. package/dist/field/plugins/inline-image-plugin/utils.js +46 -0
  178. package/dist/field/plugins/layout-plugin/insert-layout-modal.css +20 -0
  179. package/dist/field/plugins/layout-plugin/insert-layout-modal.d.ts +22 -0
  180. package/dist/field/plugins/layout-plugin/insert-layout-modal.d.ts.map +1 -0
  181. package/dist/field/plugins/layout-plugin/insert-layout-modal.js +97 -0
  182. package/dist/field/plugins/layout-plugin/layout-plugin.d.ts +10 -0
  183. package/dist/field/plugins/layout-plugin/layout-plugin.d.ts.map +1 -0
  184. package/dist/field/plugins/layout-plugin/layout-plugin.js +81 -0
  185. package/dist/field/plugins/link-plugin/auto-link/auto-link-plugin.d.ts +22 -0
  186. package/dist/field/plugins/link-plugin/auto-link/auto-link-plugin.d.ts.map +1 -0
  187. package/dist/field/plugins/link-plugin/auto-link/auto-link-plugin.js +185 -0
  188. package/dist/field/plugins/link-plugin/auto-link/index.d.ts +10 -0
  189. package/dist/field/plugins/link-plugin/auto-link/index.d.ts.map +1 -0
  190. package/dist/field/plugins/link-plugin/auto-link/index.js +15 -0
  191. package/dist/field/plugins/link-plugin/link/floating-link-editor.css +124 -0
  192. package/dist/field/plugins/link-plugin/link/floating-link-editor.d.ts +15 -0
  193. package/dist/field/plugins/link-plugin/link/floating-link-editor.d.ts.map +1 -0
  194. package/dist/field/plugins/link-plugin/link/floating-link-editor.js +234 -0
  195. package/dist/field/plugins/link-plugin/link/index.d.ts +2 -0
  196. package/dist/field/plugins/link-plugin/link/index.d.ts.map +1 -0
  197. package/dist/field/plugins/link-plugin/link/index.js +43 -0
  198. package/dist/field/plugins/link-plugin/link/link-modal.d.ts +11 -0
  199. package/dist/field/plugins/link-plugin/link/link-modal.d.ts.map +1 -0
  200. package/dist/field/plugins/link-plugin/link/link-modal.js +311 -0
  201. package/dist/field/plugins/link-plugin/link/types.d.ts +19 -0
  202. package/dist/field/plugins/link-plugin/link/types.d.ts.map +1 -0
  203. package/dist/field/plugins/link-plugin/link/types.js +1 -0
  204. package/dist/field/plugins/link-plugin/populate.d.ts +22 -0
  205. package/dist/field/plugins/link-plugin/populate.d.ts.map +1 -0
  206. package/dist/field/plugins/link-plugin/populate.js +28 -0
  207. package/dist/field/plugins/table-action-menu-plugin/index.d.ts +6 -0
  208. package/dist/field/plugins/table-action-menu-plugin/index.d.ts.map +1 -0
  209. package/dist/field/plugins/table-action-menu-plugin/index.js +598 -0
  210. package/dist/field/plugins/table-plugin/index.d.ts +4 -0
  211. package/dist/field/plugins/table-plugin/index.d.ts.map +1 -0
  212. package/dist/field/plugins/table-plugin/index.js +26 -0
  213. package/dist/field/plugins/table-plugin/table-modal.css +20 -0
  214. package/dist/field/plugins/table-plugin/table-modal.d.ts +21 -0
  215. package/dist/field/plugins/table-plugin/table-modal.d.ts.map +1 -0
  216. package/dist/field/plugins/table-plugin/table-modal.js +111 -0
  217. package/dist/field/plugins/toolbar-plugin/index.d.ts +17 -0
  218. package/dist/field/plugins/toolbar-plugin/index.d.ts.map +1 -0
  219. package/dist/field/plugins/toolbar-plugin/index.js +837 -0
  220. package/dist/field/plugins/treeview-plugin/index.d.ts +10 -0
  221. package/dist/field/plugins/treeview-plugin/index.d.ts.map +1 -0
  222. package/dist/field/plugins/treeview-plugin/index.js +17 -0
  223. package/dist/field/plugins/vimeo-plugin/index.d.ts +4 -0
  224. package/dist/field/plugins/vimeo-plugin/index.d.ts.map +1 -0
  225. package/dist/field/plugins/vimeo-plugin/index.js +24 -0
  226. package/dist/field/plugins/youtube-plugin/index.d.ts +4 -0
  227. package/dist/field/plugins/youtube-plugin/index.d.ts.map +1 -0
  228. package/dist/field/plugins/youtube-plugin/index.js +24 -0
  229. package/dist/field/shared/canUseDOM.d.ts +9 -0
  230. package/dist/field/shared/canUseDOM.d.ts.map +1 -0
  231. package/dist/field/shared/canUseDOM.js +2 -0
  232. package/dist/field/shared/environment.d.ts +23 -0
  233. package/dist/field/shared/environment.d.ts.map +1 -0
  234. package/dist/field/shared/environment.js +10 -0
  235. package/dist/field/shared/invariant.d.ts +9 -0
  236. package/dist/field/shared/invariant.d.ts.map +1 -0
  237. package/dist/field/shared/invariant.js +6 -0
  238. package/dist/field/shared/simpleDiffWithCursor.js +15 -0
  239. package/dist/field/shared/useLayoutEffect.js +5 -0
  240. package/dist/field/shared/useModalFormState.d.ts +23 -0
  241. package/dist/field/shared/useModalFormState.d.ts.map +1 -0
  242. package/dist/field/shared/useModalFormState.js +23 -0
  243. package/dist/field/shared/warnOnlyOnce.js +9 -0
  244. package/dist/field/themes/lexical-editor-theme.css +537 -0
  245. package/dist/field/themes/lexical-editor-theme.d.ts +10 -0
  246. package/dist/field/themes/lexical-editor-theme.d.ts.map +1 -0
  247. package/dist/field/themes/lexical-editor-theme.js +105 -0
  248. package/dist/field/toolbar-extensions.d.ts +32 -0
  249. package/dist/field/toolbar-extensions.d.ts.map +1 -0
  250. package/dist/field/toolbar-extensions.js +56 -0
  251. package/dist/field/types.js +1 -0
  252. package/dist/field/ui/button.css +31 -0
  253. package/dist/field/ui/button.js +19 -0
  254. package/dist/field/ui/checkbox.css +46 -0
  255. package/dist/field/ui/color-picker.css +75 -0
  256. package/dist/field/ui/color-picker.d.ts +21 -0
  257. package/dist/field/ui/color-picker.d.ts.map +1 -0
  258. package/dist/field/ui/color-picker.js +360 -0
  259. package/dist/field/ui/dialog.css +18 -0
  260. package/dist/field/ui/dialog.js +17 -0
  261. package/dist/field/ui/dropdown.d.ts +25 -0
  262. package/dist/field/ui/dropdown.d.ts.map +1 -0
  263. package/dist/field/ui/dropdown.js +150 -0
  264. package/dist/field/ui/file-input.js +27 -0
  265. package/dist/field/ui/input.css +23 -0
  266. package/dist/field/ui/modal.css +73 -0
  267. package/dist/field/ui/modal.d.ts +17 -0
  268. package/dist/field/ui/modal.d.ts.map +1 -0
  269. package/dist/field/ui/modal.js +69 -0
  270. package/dist/field/ui/placeholder-inline.d.ts +14 -0
  271. package/dist/field/ui/placeholder-inline.d.ts.map +1 -0
  272. package/dist/field/ui/placeholder-inline.js +12 -0
  273. package/dist/field/ui/placeholder.css +26 -0
  274. package/dist/field/ui/placeholder.d.ts +14 -0
  275. package/dist/field/ui/placeholder.d.ts.map +1 -0
  276. package/dist/field/ui/placeholder.js +14 -0
  277. package/dist/field/ui/select.css +32 -0
  278. package/dist/field/ui/select.js +28 -0
  279. package/dist/field/ui/switch.js +25 -0
  280. package/dist/field/ui/text-area.css +31 -0
  281. package/dist/field/ui/text-area.js +28 -0
  282. package/dist/field/ui/text-input.d.ts +20 -0
  283. package/dist/field/ui/text-input.d.ts.map +1 -0
  284. package/dist/field/ui/text-input.js +29 -0
  285. package/dist/field/utils/cloneDeep.js +26 -0
  286. package/dist/field/utils/deepEqual.js +19 -0
  287. package/dist/field/utils/emoji-list.js +21389 -0
  288. package/dist/field/utils/getDOMRangeRect.d.ts +9 -0
  289. package/dist/field/utils/getDOMRangeRect.d.ts.map +1 -0
  290. package/dist/field/utils/getDOMRangeRect.js +11 -0
  291. package/dist/field/utils/getSelectedNode.d.ts +3 -0
  292. package/dist/field/utils/getSelectedNode.d.ts.map +1 -0
  293. package/dist/field/utils/getSelectedNode.js +12 -0
  294. package/dist/field/utils/guard.js +4 -0
  295. package/dist/field/utils/hashSerializedState.d.ts +3 -0
  296. package/dist/field/utils/hashSerializedState.d.ts.map +1 -0
  297. package/dist/field/utils/hashSerializedState.js +22 -0
  298. package/dist/field/utils/isMobileWidth.js +1 -0
  299. package/dist/field/utils/joinClasses.js +4 -0
  300. package/dist/field/utils/point.js +34 -0
  301. package/dist/field/utils/rect.js +95 -0
  302. package/dist/field/utils/setFloatingElemPosition.d.ts +2 -0
  303. package/dist/field/utils/setFloatingElemPosition.d.ts.map +1 -0
  304. package/dist/field/utils/setFloatingElemPosition.js +22 -0
  305. package/dist/field/utils/setFloatingElemPositionForLinkEditor.d.ts +2 -0
  306. package/dist/field/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  307. package/dist/field/utils/setFloatingElemPositionForLinkEditor.js +22 -0
  308. package/dist/field/utils/swipe.js +77 -0
  309. package/dist/field/utils/url.d.ts +11 -0
  310. package/dist/field/utils/url.d.ts.map +1 -0
  311. package/dist/field/utils/url.js +30 -0
  312. package/dist/index.d.ts +12 -0
  313. package/dist/index.d.ts.map +1 -0
  314. package/dist/index.js +7 -0
  315. package/dist/lexical-editor.d.ts +41 -0
  316. package/dist/lexical-editor.d.ts.map +1 -0
  317. package/dist/lexical-editor.js +13 -0
  318. package/dist/richtext-field.d.ts +25 -0
  319. package/dist/richtext-field.d.ts.map +1 -0
  320. package/dist/richtext-field.js +62 -0
  321. package/dist/richtext-field.module.js +8 -0
  322. package/dist/richtext-field_module.css +18 -0
  323. package/dist/server.d.ts +64 -0
  324. package/dist/server.d.ts.map +1 -0
  325. package/dist/server.js +20 -0
  326. package/dist/static/svg/3-columns.svg +3 -0
  327. package/dist/static/svg/admonition.svg +1 -0
  328. package/dist/static/svg/ai.svg +5 -0
  329. package/dist/static/svg/arrow-clockwise.svg +1 -0
  330. package/dist/static/svg/arrow-counterclockwise.svg +1 -0
  331. package/dist/static/svg/bg-color.svg +1 -0
  332. package/dist/static/svg/camera.svg +1 -0
  333. package/dist/static/svg/caret-right-fill.svg +1 -0
  334. package/dist/static/svg/chat-square-quote.svg +1 -0
  335. package/dist/static/svg/chevron-down.svg +1 -0
  336. package/dist/static/svg/clipboard.svg +1 -0
  337. package/dist/static/svg/close.svg +1 -0
  338. package/dist/static/svg/code.svg +1 -0
  339. package/dist/static/svg/copy.svg +1 -0
  340. package/dist/static/svg/diagram-2.svg +1 -0
  341. package/dist/static/svg/download.svg +1 -0
  342. package/dist/static/svg/dropdown-more.svg +1 -0
  343. package/dist/static/svg/file-image.svg +1 -0
  344. package/dist/static/svg/filetype-gif.svg +1 -0
  345. package/dist/static/svg/font-color.svg +1 -0
  346. package/dist/static/svg/font-family.svg +1 -0
  347. package/dist/static/svg/gear.svg +1 -0
  348. package/dist/static/svg/horizontal-rule.svg +1 -0
  349. package/dist/static/svg/indent.svg +1 -0
  350. package/dist/static/svg/journal-code.svg +1 -0
  351. package/dist/static/svg/justify.svg +1 -0
  352. package/dist/static/svg/link.svg +1 -0
  353. package/dist/static/svg/list-ol.svg +1 -0
  354. package/dist/static/svg/list-ul.svg +1 -0
  355. package/dist/static/svg/lock-fill.svg +1 -0
  356. package/dist/static/svg/lock.svg +1 -0
  357. package/dist/static/svg/markdown.svg +1 -0
  358. package/dist/static/svg/mic.svg +1 -0
  359. package/dist/static/svg/outdent.svg +1 -0
  360. package/dist/static/svg/paint-bucket.svg +1 -0
  361. package/dist/static/svg/palette.svg +1 -0
  362. package/dist/static/svg/pencil-fill.svg +1 -0
  363. package/dist/static/svg/plug-fill.svg +1 -0
  364. package/dist/static/svg/plug.svg +1 -0
  365. package/dist/static/svg/plus.svg +1 -0
  366. package/dist/static/svg/prettier-error.svg +1 -0
  367. package/dist/static/svg/prettier.svg +1 -0
  368. package/dist/static/svg/square-check.svg +1 -0
  369. package/dist/static/svg/success.svg +1 -0
  370. package/dist/static/svg/table.svg +1 -0
  371. package/dist/static/svg/text-center.svg +1 -0
  372. package/dist/static/svg/text-left.svg +1 -0
  373. package/dist/static/svg/text-paragraph.svg +1 -0
  374. package/dist/static/svg/text-right.svg +1 -0
  375. package/dist/static/svg/trash.svg +1 -0
  376. package/dist/static/svg/type-bold.svg +1 -0
  377. package/dist/static/svg/type-h1.svg +1 -0
  378. package/dist/static/svg/type-h2.svg +1 -0
  379. package/dist/static/svg/type-h3.svg +1 -0
  380. package/dist/static/svg/type-h4.svg +1 -0
  381. package/dist/static/svg/type-h5.svg +1 -0
  382. package/dist/static/svg/type-h6.svg +1 -0
  383. package/dist/static/svg/type-italic.svg +1 -0
  384. package/dist/static/svg/type-strikethrough.svg +1 -0
  385. package/dist/static/svg/type-subscript.svg +1 -0
  386. package/dist/static/svg/type-superscript.svg +1 -0
  387. package/dist/static/svg/type-underline.svg +1 -0
  388. package/dist/static/svg/upload.svg +1 -0
  389. package/dist/static/svg/user.svg +1 -0
  390. package/dist/static/svg/vimeo.svg +1 -0
  391. package/dist/static/svg/youtube.svg +1 -0
  392. package/dist/types.d.ts +37 -0
  393. package/dist/types.d.ts.map +1 -0
  394. package/dist/types.js +1 -0
  395. package/dist/validate/createEmptyEditorState.d.ts +25 -0
  396. package/dist/validate/createEmptyEditorState.d.ts.map +1 -0
  397. package/dist/validate/createEmptyEditorState.js +26 -0
  398. package/dist/validate/hasText.d.ts +3 -0
  399. package/dist/validate/hasText.d.ts.map +1 -0
  400. package/dist/validate/hasText.js +20 -0
  401. package/dist/validate/validate.d.ts +5 -0
  402. package/dist/validate/validate.d.ts.map +1 -0
  403. package/dist/validate/validate.js +7 -0
  404. package/package.json +120 -0
  405. package/src/declarations.d.ts +4 -0
  406. package/src/field/apply-value-plugin.tsx +104 -0
  407. package/src/field/config/default.ts +58 -0
  408. package/src/field/config/editor-config-context.tsx +60 -0
  409. package/src/field/config/types.ts +67 -0
  410. package/src/field/constants.ts +1 -0
  411. package/src/field/content-editable-inline.tsx +27 -0
  412. package/src/field/content-editable.css +29 -0
  413. package/src/field/content-editable.tsx +27 -0
  414. package/src/field/context/shared-autocomplete-context.tsx +61 -0
  415. package/src/field/context/shared-history-context.tsx +30 -0
  416. package/src/field/context/shared-on-change-context.tsx +32 -0
  417. package/src/field/debug.tsx +39 -0
  418. package/src/field/editor-component.css +46 -0
  419. package/src/field/editor-component.md +87 -0
  420. package/src/field/editor-component.test.tsx +170 -0
  421. package/src/field/editor-component.tsx +207 -0
  422. package/src/field/editor-context.tsx +102 -0
  423. package/src/field/editor-field.tsx +51 -0
  424. package/src/field/editor.css +1481 -0
  425. package/src/field/editor.tsx +245 -0
  426. package/src/field/hooks/use-media-queryts +21 -0
  427. package/src/field/hooks/use-modal.tsx +59 -0
  428. package/src/field/hooks/use-report.ts +62 -0
  429. package/src/field/images/LICENSE.md +5 -0
  430. package/src/field/images/assets.d.ts +27 -0
  431. package/src/field/images/cat-typing.gif +0 -0
  432. package/src/field/images/emoji/1F600.png +0 -0
  433. package/src/field/images/emoji/1F641.png +0 -0
  434. package/src/field/images/emoji/1F642.png +0 -0
  435. package/src/field/images/emoji/2764.png +0 -0
  436. package/src/field/images/emoji/LICENSE.md +5 -0
  437. package/src/field/images/icons/3-columns.svg +3 -0
  438. package/src/field/images/icons/LICENSE.md +5 -0
  439. package/src/field/images/icons/admonition.svg +1 -0
  440. package/src/field/images/icons/ai.svg +5 -0
  441. package/src/field/images/icons/arrow-clockwise.svg +1 -0
  442. package/src/field/images/icons/arrow-counterclockwise.svg +1 -0
  443. package/src/field/images/icons/bg-color.svg +1 -0
  444. package/src/field/images/icons/camera.svg +1 -0
  445. package/src/field/images/icons/card-checklist.svg +1 -0
  446. package/src/field/images/icons/caret-right-fill.svg +1 -0
  447. package/src/field/images/icons/chat-left-text.svg +1 -0
  448. package/src/field/images/icons/chat-right-dots.svg +1 -0
  449. package/src/field/images/icons/chat-right-text.svg +1 -0
  450. package/src/field/images/icons/chat-right.svg +1 -0
  451. package/src/field/images/icons/chat-square-quote.svg +1 -0
  452. package/src/field/images/icons/chevron-down.svg +1 -0
  453. package/src/field/images/icons/clipboard.svg +1 -0
  454. package/src/field/images/icons/close.svg +1 -0
  455. package/src/field/images/icons/code.svg +1 -0
  456. package/src/field/images/icons/comments.svg +1 -0
  457. package/src/field/images/icons/copy.svg +1 -0
  458. package/src/field/images/icons/diagram-2.svg +1 -0
  459. package/src/field/images/icons/download.svg +1 -0
  460. package/src/field/images/icons/draggable-block-menu.svg +1 -0
  461. package/src/field/images/icons/dropdown-more.svg +1 -0
  462. package/src/field/images/icons/figma.svg +1 -0
  463. package/src/field/images/icons/file-earmark-text.svg +4 -0
  464. package/src/field/images/icons/file-image.svg +1 -0
  465. package/src/field/images/icons/filetype-gif.svg +1 -0
  466. package/src/field/images/icons/font-color.svg +1 -0
  467. package/src/field/images/icons/font-family.svg +1 -0
  468. package/src/field/images/icons/gear.svg +1 -0
  469. package/src/field/images/icons/horizontal-rule.svg +1 -0
  470. package/src/field/images/icons/indent.svg +1 -0
  471. package/src/field/images/icons/journal-code.svg +1 -0
  472. package/src/field/images/icons/journal-text.svg +1 -0
  473. package/src/field/images/icons/justify.svg +1 -0
  474. package/src/field/images/icons/link.svg +1 -0
  475. package/src/field/images/icons/list-ol.svg +1 -0
  476. package/src/field/images/icons/list-ul.svg +1 -0
  477. package/src/field/images/icons/lock-fill.svg +1 -0
  478. package/src/field/images/icons/lock.svg +1 -0
  479. package/src/field/images/icons/markdown.svg +1 -0
  480. package/src/field/images/icons/mic.svg +1 -0
  481. package/src/field/images/icons/outdent.svg +1 -0
  482. package/src/field/images/icons/paint-bucket.svg +1 -0
  483. package/src/field/images/icons/palette.svg +1 -0
  484. package/src/field/images/icons/pencil-fill.svg +1 -0
  485. package/src/field/images/icons/plug-fill.svg +1 -0
  486. package/src/field/images/icons/plug.svg +1 -0
  487. package/src/field/images/icons/plus-slash-minus.svg +1 -0
  488. package/src/field/images/icons/plus.svg +1 -0
  489. package/src/field/images/icons/prettier-error.svg +1 -0
  490. package/src/field/images/icons/prettier.svg +1 -0
  491. package/src/field/images/icons/send.svg +1 -0
  492. package/src/field/images/icons/square-check.svg +1 -0
  493. package/src/field/images/icons/sticky.svg +1 -0
  494. package/src/field/images/icons/success-alt.svg +1 -0
  495. package/src/field/images/icons/success.svg +1 -0
  496. package/src/field/images/icons/table.svg +1 -0
  497. package/src/field/images/icons/text-center.svg +1 -0
  498. package/src/field/images/icons/text-left.svg +1 -0
  499. package/src/field/images/icons/text-paragraph.svg +1 -0
  500. package/src/field/images/icons/text-right.svg +1 -0
  501. package/src/field/images/icons/trash.svg +1 -0
  502. package/src/field/images/icons/trash3.svg +1 -0
  503. package/src/field/images/icons/tweet.svg +1 -0
  504. package/src/field/images/icons/type-bold.svg +1 -0
  505. package/src/field/images/icons/type-h1.svg +1 -0
  506. package/src/field/images/icons/type-h2.svg +1 -0
  507. package/src/field/images/icons/type-h3.svg +1 -0
  508. package/src/field/images/icons/type-h4.svg +1 -0
  509. package/src/field/images/icons/type-h5.svg +1 -0
  510. package/src/field/images/icons/type-h6.svg +1 -0
  511. package/src/field/images/icons/type-italic.svg +1 -0
  512. package/src/field/images/icons/type-strikethrough.svg +1 -0
  513. package/src/field/images/icons/type-subscript.svg +1 -0
  514. package/src/field/images/icons/type-superscript.svg +1 -0
  515. package/src/field/images/icons/type-underline.svg +1 -0
  516. package/src/field/images/icons/upload.svg +1 -0
  517. package/src/field/images/icons/user.svg +1 -0
  518. package/src/field/images/icons/vimeo.svg +1 -0
  519. package/src/field/images/icons/youtube.svg +1 -0
  520. package/src/field/images/landscape.jpg +0 -0
  521. package/src/field/images/logo.svg +1 -0
  522. package/src/field/images/yellow-flower-small.jpg +0 -0
  523. package/src/field/images/yellow-flower.jpg +0 -0
  524. package/src/field/lexical-populate-shared.ts +188 -0
  525. package/src/field/nodes/admonition-node/admonition-node-component.css +115 -0
  526. package/src/field/nodes/admonition-node/admonition-node-component.tsx +256 -0
  527. package/src/field/nodes/admonition-node/admonition-node.tsx +189 -0
  528. package/src/field/nodes/admonition-node/icons/danger-icon.css +11 -0
  529. package/src/field/nodes/admonition-node/icons/danger-icon.js +17 -0
  530. package/src/field/nodes/admonition-node/icons/danger-icon.tsx +19 -0
  531. package/src/field/nodes/admonition-node/icons/index.js +4 -0
  532. package/src/field/nodes/admonition-node/icons/index.ts +4 -0
  533. package/src/field/nodes/admonition-node/icons/note-icon.css +11 -0
  534. package/src/field/nodes/admonition-node/icons/note-icon.js +17 -0
  535. package/src/field/nodes/admonition-node/icons/note-icon.tsx +19 -0
  536. package/src/field/nodes/admonition-node/icons/tip-icon.css +11 -0
  537. package/src/field/nodes/admonition-node/icons/tip-icon.js +17 -0
  538. package/src/field/nodes/admonition-node/icons/tip-icon.tsx +19 -0
  539. package/src/field/nodes/admonition-node/icons/warning-icon.css +11 -0
  540. package/src/field/nodes/admonition-node/icons/warning-icon.js +17 -0
  541. package/src/field/nodes/admonition-node/icons/warning-icon.tsx +19 -0
  542. package/src/field/nodes/admonition-node/index.ts +14 -0
  543. package/src/field/nodes/admonition-node/types.ts +33 -0
  544. package/src/field/nodes/document-relation.ts +33 -0
  545. package/src/field/nodes/index.ts +47 -0
  546. package/src/field/nodes/inline-image-node/index.ts +10 -0
  547. package/src/field/nodes/inline-image-node/inline-image-node-component.css +205 -0
  548. package/src/field/nodes/inline-image-node/inline-image-node-component.tsx +342 -0
  549. package/src/field/nodes/inline-image-node/inline-image-node.tsx +328 -0
  550. package/src/field/nodes/inline-image-node/types.ts +43 -0
  551. package/src/field/nodes/layout-container-node/layout-container-node.ts +97 -0
  552. package/src/field/nodes/layout-container-node/layout-item-node.ts +63 -0
  553. package/src/field/nodes/link-nodes/auto-link-node.ts +64 -0
  554. package/src/field/nodes/link-nodes/index.ts +3 -0
  555. package/src/field/nodes/link-nodes/link-node.ts +426 -0
  556. package/src/field/nodes/link-nodes/types.ts +33 -0
  557. package/src/field/nodes/vimeo-node/index.tsx +172 -0
  558. package/src/field/nodes/youtube-node/index.tsx +178 -0
  559. package/src/field/plugins/admonition-plugin/admonition-modal.css +25 -0
  560. package/src/field/plugins/admonition-plugin/admonition-modal.tsx +187 -0
  561. package/src/field/plugins/admonition-plugin/fields.ts +103 -0
  562. package/src/field/plugins/admonition-plugin/index.tsx +105 -0
  563. package/src/field/plugins/admonition-plugin/types.ts +37 -0
  564. package/src/field/plugins/auto-embed-plugin/auto-embed-modal.css +15 -0
  565. package/src/field/plugins/auto-embed-plugin/auto-embed-modal.tsx +110 -0
  566. package/src/field/plugins/auto-embed-plugin/index.tsx +323 -0
  567. package/src/field/plugins/code-highlight-plugin/index.ts +23 -0
  568. package/src/field/plugins/drag-drop-paste-plugin/index.ts +47 -0
  569. package/src/field/plugins/floating-text-format-toolbar-plugin/index.css +148 -0
  570. package/src/field/plugins/floating-text-format-toolbar-plugin/index.tsx +398 -0
  571. package/src/field/plugins/inline-image-plugin/fields.ts +21 -0
  572. package/src/field/plugins/inline-image-plugin/index.tsx +202 -0
  573. package/src/field/plugins/inline-image-plugin/inline-image-modal.css +29 -0
  574. package/src/field/plugins/inline-image-plugin/inline-image-modal.tsx +314 -0
  575. package/src/field/plugins/inline-image-plugin/populate.ts +48 -0
  576. package/src/field/plugins/inline-image-plugin/types.ts +39 -0
  577. package/src/field/plugins/inline-image-plugin/utils.ts +113 -0
  578. package/src/field/plugins/layout-plugin/insert-layout-modal.css +19 -0
  579. package/src/field/plugins/layout-plugin/insert-layout-modal.tsx +100 -0
  580. package/src/field/plugins/layout-plugin/layout-plugin.tsx +162 -0
  581. package/src/field/plugins/link-plugin/auto-link/auto-link-plugin.tsx +327 -0
  582. package/src/field/plugins/link-plugin/auto-link/index.tsx +35 -0
  583. package/src/field/plugins/link-plugin/link/floating-link-editor.css +128 -0
  584. package/src/field/plugins/link-plugin/link/floating-link-editor.tsx +348 -0
  585. package/src/field/plugins/link-plugin/link/index.tsx +99 -0
  586. package/src/field/plugins/link-plugin/link/link-modal.tsx +376 -0
  587. package/src/field/plugins/link-plugin/link/types.ts +20 -0
  588. package/src/field/plugins/link-plugin/populate.ts +48 -0
  589. package/src/field/plugins/table-action-menu-plugin/index.tsx +804 -0
  590. package/src/field/plugins/table-plugin/index.tsx +33 -0
  591. package/src/field/plugins/table-plugin/table-modal.css +19 -0
  592. package/src/field/plugins/table-plugin/table-modal.tsx +127 -0
  593. package/src/field/plugins/toolbar-plugin/index.tsx +937 -0
  594. package/src/field/plugins/treeview-plugin/index.tsx +29 -0
  595. package/src/field/plugins/vimeo-plugin/index.ts +42 -0
  596. package/src/field/plugins/youtube-plugin/index.ts +43 -0
  597. package/src/field/shared/canUseDOM.ts +10 -0
  598. package/src/field/shared/caretFromPoint.bak +40 -0
  599. package/src/field/shared/environment.ts +44 -0
  600. package/src/field/shared/invariant.ts +25 -0
  601. package/src/field/shared/simpleDiffWithCursor.ts +40 -0
  602. package/src/field/shared/useLayoutEffect.ts +15 -0
  603. package/src/field/shared/useModalFormState.ts +48 -0
  604. package/src/field/shared/warnOnlyOnce.ts +21 -0
  605. package/src/field/themes/lexical-editor-theme.css +565 -0
  606. package/src/field/themes/lexical-editor-theme.js +104 -0
  607. package/src/field/themes/lexical-editor-theme.tsx +115 -0
  608. package/src/field/toolbar-extensions.tsx +93 -0
  609. package/src/field/types.ts +19 -0
  610. package/src/field/ui/button.css +45 -0
  611. package/src/field/ui/button.tsx +51 -0
  612. package/src/field/ui/checkbox.css +52 -0
  613. package/src/field/ui/color-picker.css +88 -0
  614. package/src/field/ui/color-picker.tsx +395 -0
  615. package/src/field/ui/dialog.css +17 -0
  616. package/src/field/ui/dialog.tsx +29 -0
  617. package/src/field/ui/dropdown.tsx +217 -0
  618. package/src/field/ui/file-input.tsx +44 -0
  619. package/src/field/ui/input.css +32 -0
  620. package/src/field/ui/modal.css +84 -0
  621. package/src/field/ui/modal.tsx +106 -0
  622. package/src/field/ui/placeholder-inline.tsx +28 -0
  623. package/src/field/ui/placeholder.css +33 -0
  624. package/src/field/ui/placeholder.tsx +32 -0
  625. package/src/field/ui/select.css +34 -0
  626. package/src/field/ui/select.tsx +38 -0
  627. package/src/field/ui/switch.tsx +33 -0
  628. package/src/field/ui/text-area.css +45 -0
  629. package/src/field/ui/text-area.tsx +50 -0
  630. package/src/field/ui/text-input.tsx +51 -0
  631. package/src/field/utils/cloneDeep.ts +57 -0
  632. package/src/field/utils/deepEqual.ts +54 -0
  633. package/src/field/utils/emoji-list.ts +16615 -0
  634. package/src/field/utils/getDOMRangeRect.ts +24 -0
  635. package/src/field/utils/getSelectedNode.ts +25 -0
  636. package/src/field/utils/guard.ts +10 -0
  637. package/src/field/utils/hashSerializedState.ts +34 -0
  638. package/src/field/utils/isMobileWidth.ts +7 -0
  639. package/src/field/utils/joinClasses.ts +11 -0
  640. package/src/field/utils/point.ts +52 -0
  641. package/src/field/utils/rect.ts +142 -0
  642. package/src/field/utils/setFloatingElemPosition.ts +48 -0
  643. package/src/field/utils/setFloatingElemPositionForLinkEditor.ts +46 -0
  644. package/src/field/utils/swipe.ts +129 -0
  645. package/src/field/utils/url.ts +49 -0
  646. package/src/index.ts +26 -0
  647. package/src/lexical-editor.tsx +56 -0
  648. package/src/richtext-field.module.css +29 -0
  649. package/src/richtext-field.tsx +113 -0
  650. package/src/server.ts +85 -0
  651. package/src/types.ts +43 -0
  652. package/src/validate/createEmptyEditorState.ts +52 -0
  653. package/src/validate/hasText.test.ts +89 -0
  654. package/src/validate/hasText.ts +34 -0
  655. package/src/validate/validate.ts +18 -0
@@ -0,0 +1,245 @@
1
+ 'use client'
2
+
3
+ /**
4
+ * This Source Code is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ *
8
+ * Copyright (c) Infonomic Company Limited
9
+ */
10
+
11
+ import type * as React from 'react'
12
+ import { memo, useCallback, useEffect, useMemo, useState } from 'react'
13
+
14
+ import { TRANSFORMERS } from '@lexical/markdown'
15
+ import { AutoFocusPlugin } from '@lexical/react/LexicalAutoFocusPlugin'
16
+ import { CheckListPlugin } from '@lexical/react/LexicalCheckListPlugin'
17
+ import { ClearEditorPlugin } from '@lexical/react/LexicalClearEditorPlugin'
18
+ import { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary'
19
+ import { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin'
20
+ import { HorizontalRulePlugin } from '@lexical/react/LexicalHorizontalRulePlugin'
21
+ import { ListPlugin } from '@lexical/react/LexicalListPlugin'
22
+ import { MarkdownShortcutPlugin } from '@lexical/react/LexicalMarkdownShortcutPlugin'
23
+ import { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin'
24
+ import { PlainTextPlugin } from '@lexical/react/LexicalPlainTextPlugin'
25
+ import { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin'
26
+ import { TabIndentationPlugin } from '@lexical/react/LexicalTabIndentationPlugin'
27
+ import { TablePlugin } from '@lexical/react/LexicalTablePlugin'
28
+ import type { EditorState, LexicalEditor } from 'lexical'
29
+
30
+ import { useEditorConfig } from './config/editor-config-context'
31
+ import { ContentEditable } from './content-editable'
32
+ import { useSharedHistoryContext } from './context/shared-history-context'
33
+ import { useSharedOnChange } from './context/shared-on-change-context'
34
+ import { Debug } from './debug'
35
+ import { AdmonitionPlugin } from './plugins/admonition-plugin'
36
+ // import { AiPlugin } from './plugins/ai-plugin'
37
+ import { AutoEmbedPlugin } from './plugins/auto-embed-plugin'
38
+ import { CodeHighlightPlugin } from './plugins/code-highlight-plugin'
39
+ // import { DragDropPaste } from './plugins/drag-drop-paste-plugin'
40
+ import { FloatingTextFormatToolbarPlugin } from './plugins/floating-text-format-toolbar-plugin'
41
+ import { InlineImagePlugin } from './plugins/inline-image-plugin'
42
+ import { LayoutPlugin } from './plugins/layout-plugin/layout-plugin'
43
+ import { AutoLinkPlugin } from './plugins/link-plugin/auto-link'
44
+ import { LinkPlugin } from './plugins/link-plugin/link'
45
+ import { FloatingLinkEditorPlugin } from './plugins/link-plugin/link/floating-link-editor'
46
+ import { TableActionMenuPlugin } from './plugins/table-action-menu-plugin'
47
+ import { TablePlugin as PayloadTablePlugin } from './plugins/table-plugin'
48
+ import { ToolbarPlugin } from './plugins/toolbar-plugin'
49
+ import { TreeViewPlugin } from './plugins/treeview-plugin'
50
+ import { VimeoPlugin } from './plugins/vimeo-plugin'
51
+ import { YouTubePlugin } from './plugins/youtube-plugin'
52
+ import { CAN_USE_DOM } from './shared/canUseDOM'
53
+ import { Placeholder } from './ui/placeholder'
54
+
55
+ import './editor.css'
56
+
57
+ import { APPLY_VALUE_TAG } from './constants'
58
+
59
+ // We memoize the EditorComponent to prevent re-renders from parent components or
60
+ // other editor instances. Only internal state changes for a given (this)
61
+ // editor instance should trigger re-renders. Our form-context and value handlers
62
+ // are subscription-based and so in theory this shouldn't be necessary, but
63
+ // here just in case.
64
+ export const Editor = memo(function Editor({
65
+ minHeight,
66
+ maxHeight,
67
+ }: {
68
+ minHeight?: number | string
69
+ maxHeight?: number | string
70
+ }): React.JSX.Element {
71
+ const [floatingAnchorElem, setFloatingAnchorElem] = useState<HTMLDivElement | null>(null)
72
+ const [isSmallWidthViewport, setIsSmallWidthViewport] = useState<boolean>(false)
73
+ const _debugTagLogCountRef = useState(() => ({ count: 0 }))[0]
74
+ const { onChange } = useSharedOnChange()
75
+ const { historyState } = useSharedHistoryContext()
76
+ const {
77
+ config: {
78
+ options: {
79
+ debug,
80
+ richText,
81
+ showTreeView,
82
+ autoFocusPlugin,
83
+ tablePlugin,
84
+ tableActionMenuPlugin,
85
+ layoutPlugin,
86
+ inlineImagePlugin,
87
+ admonitionPlugin,
88
+ links,
89
+ autoLinkPlugin,
90
+ checkListPlugin,
91
+ listPlugin,
92
+ codeHighlightPlugin,
93
+ horizontalRulePlugin,
94
+ markdownShortcutPlugin,
95
+ floatingLinkEditorPlugin,
96
+ floatingTextFormatToolbarPlugin,
97
+ autoEmbedPlugin,
98
+ },
99
+ placeholderText,
100
+ inlineImageUploadCollection,
101
+ },
102
+ } = useEditorConfig()
103
+
104
+ const onRef = useCallback((_floatingAnchorElem: HTMLDivElement): void => {
105
+ if (_floatingAnchorElem != null) {
106
+ setFloatingAnchorElem(_floatingAnchorElem)
107
+ }
108
+ }, [])
109
+
110
+ const richTextContentEditable = useMemo(
111
+ () => (
112
+ <div
113
+ className="editor-scroller"
114
+ style={{ minHeight: minHeight ?? '150px', maxHeight: maxHeight ?? undefined }}
115
+ >
116
+ <div className="editor" ref={onRef}>
117
+ <ContentEditable />
118
+ </div>
119
+ </div>
120
+ ),
121
+ [onRef, minHeight, maxHeight]
122
+ )
123
+
124
+ const plainTextContentEditable = useMemo(
125
+ () => (
126
+ <div
127
+ className="editor-scroller"
128
+ style={{ minHeight: minHeight ?? '150px', maxHeight: maxHeight ?? undefined }}
129
+ >
130
+ <div className="editor">
131
+ <ContentEditable />
132
+ </div>
133
+ </div>
134
+ ),
135
+ [minHeight, maxHeight]
136
+ )
137
+
138
+ useEffect(() => {
139
+ const updateViewPortWidth = (): void => {
140
+ const isNextSmallWidthViewport =
141
+ CAN_USE_DOM && window.matchMedia('(max-width: 1025px)').matches
142
+
143
+ if (isNextSmallWidthViewport !== isSmallWidthViewport) {
144
+ setIsSmallWidthViewport(isNextSmallWidthViewport)
145
+ }
146
+ }
147
+ updateViewPortWidth()
148
+ window.addEventListener('resize', updateViewPortWidth)
149
+
150
+ return () => {
151
+ window.removeEventListener('resize', updateViewPortWidth)
152
+ }
153
+ }, [isSmallWidthViewport])
154
+
155
+ const content = (
156
+ <>
157
+ {tablePlugin && <PayloadTablePlugin />}
158
+ {richText && <ToolbarPlugin />}
159
+ <div
160
+ className={`editor-container ${showTreeView ? 'tree-view' : ''} ${
161
+ !richText ? 'plain-text' : ''
162
+ }`}
163
+ >
164
+ {/* <DragDropPaste /> */}
165
+ {autoFocusPlugin && <AutoFocusPlugin />}
166
+ {links && <LinkPlugin />}
167
+ {autoEmbedPlugin && <AutoEmbedPlugin />}
168
+ <TabIndentationPlugin />
169
+ {autoLinkPlugin && <AutoLinkPlugin />}
170
+ <OnChangePlugin
171
+ // Ignore any onChange event triggered by focus or selection only
172
+ ignoreSelectionChange={true}
173
+ onChange={(editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => {
174
+ // if (process.env.NODE_ENV === 'production' && _debugTagLogCountRef.count < 10) {
175
+ // _debugTagLogCountRef.count++
176
+ // // eslint-disable-next-line no-console
177
+ // console.log('[lexical][top] tags', Array.from(tags))
178
+ // }
179
+ if (tags.has(APPLY_VALUE_TAG)) return
180
+ if (!tags.has('focus') || tags.size > 1) {
181
+ if (onChange != null) onChange(editorState, editor, tags)
182
+ }
183
+ }}
184
+ />
185
+ {richText ? (
186
+ <>
187
+ <RichTextPlugin
188
+ contentEditable={richTextContentEditable}
189
+ placeholder={<Placeholder>{placeholderText}</Placeholder>}
190
+ ErrorBoundary={LexicalErrorBoundary}
191
+ />
192
+ <HistoryPlugin externalHistoryState={historyState} />
193
+ {inlineImagePlugin && <InlineImagePlugin collection={inlineImageUploadCollection} />}
194
+ {admonitionPlugin && <AdmonitionPlugin />}
195
+ {checkListPlugin && <CheckListPlugin />}
196
+ {listPlugin && <ListPlugin />}
197
+ {codeHighlightPlugin && <CodeHighlightPlugin />}
198
+ {horizontalRulePlugin && <HorizontalRulePlugin />}
199
+ {layoutPlugin && <LayoutPlugin />}
200
+ {autoEmbedPlugin && <YouTubePlugin />}
201
+ {autoEmbedPlugin && <VimeoPlugin />}
202
+ {markdownShortcutPlugin && <MarkdownShortcutPlugin transformers={TRANSFORMERS} />}
203
+ {tablePlugin && <TablePlugin hasCellMerge={true} hasCellBackgroundColor={true} />}
204
+ {floatingAnchorElem != null && !isSmallWidthViewport && (
205
+ <>
206
+ {floatingLinkEditorPlugin && (
207
+ <FloatingLinkEditorPlugin anchorElem={floatingAnchorElem} />
208
+ )}
209
+ {tableActionMenuPlugin && (
210
+ <TableActionMenuPlugin anchorElem={floatingAnchorElem} cellMerge={false} />
211
+ )}
212
+ {floatingTextFormatToolbarPlugin && (
213
+ <FloatingTextFormatToolbarPlugin anchorElem={floatingAnchorElem} />
214
+ )}
215
+ </>
216
+ )}
217
+ </>
218
+ ) : (
219
+ <>
220
+ <PlainTextPlugin
221
+ contentEditable={plainTextContentEditable}
222
+ placeholder={<Placeholder>{placeholderText}</Placeholder>}
223
+ ErrorBoundary={LexicalErrorBoundary}
224
+ />
225
+ <HistoryPlugin externalHistoryState={historyState} />
226
+ </>
227
+ )}
228
+ <ClearEditorPlugin />
229
+ {debug && (
230
+ <>
231
+ <Debug />
232
+ <TreeViewPlugin />
233
+ </>
234
+ )}
235
+ </div>
236
+ </>
237
+ )
238
+
239
+ // TODO: re-enable when inline images are supported
240
+ // if (inlineImagePlugin) {
241
+ // return <InlineImageContextProvider>{content}</InlineImageContextProvider>
242
+ // }
243
+
244
+ return content
245
+ })
@@ -0,0 +1,21 @@
1
+ import { useEffect, useState } from 'react'
2
+
3
+ export const useMediaQuery = (query: string): boolean | null => {
4
+ const [matches, setMatches] = useState<boolean | null>(null)
5
+ useEffect(() => {
6
+ const mediaMatch = window.matchMedia(query)
7
+ if (matches == null) {
8
+ setMatches(mediaMatch.matches)
9
+ }
10
+ const handler = (e: MediaQueryListEvent): void => {
11
+ setMatches(e.matches)
12
+ }
13
+ mediaMatch.addEventListener('change', handler)
14
+ return () => {
15
+ mediaMatch.removeEventListener('change', handler)
16
+ }
17
+ }, [matches, query])
18
+
19
+ return matches
20
+ }
21
+
@@ -0,0 +1,59 @@
1
+ 'use client'
2
+
3
+ /**
4
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ *
9
+ */
10
+
11
+ import type * as React from 'react'
12
+ import { useCallback, useMemo, useState } from 'react'
13
+
14
+ import Modal from '../ui/modal'
15
+
16
+ export default function useModal(): [
17
+ React.JSX.Element | null,
18
+ (title: string, showModal: (onClose: () => void) => React.JSX.Element) => void,
19
+ ] {
20
+ const [modalContent, setModalContent] = useState<null | {
21
+ closeOnClickOutside: boolean
22
+ content: any
23
+ title: string
24
+ }>(null)
25
+
26
+ const onClose = useCallback(() => {
27
+ setModalContent(null)
28
+ }, [])
29
+
30
+ const modal = useMemo(() => {
31
+ if (modalContent === null) {
32
+ return null
33
+ }
34
+ const { title, content, closeOnClickOutside } = modalContent
35
+ return (
36
+ <Modal onClose={onClose} title={title} closeOnClickOutside={closeOnClickOutside}>
37
+ {content}
38
+ </Modal>
39
+ )
40
+ }, [modalContent, onClose])
41
+
42
+ const showModal = useCallback(
43
+ (
44
+ title: string,
45
+ // eslint-disable-next-line no-shadow
46
+ getContent: (onClose: () => void) => React.JSX.Element,
47
+ closeOnClickOutside = false
48
+ ) => {
49
+ setModalContent({
50
+ closeOnClickOutside,
51
+ content: getContent(onClose),
52
+ title,
53
+ })
54
+ },
55
+ [onClose]
56
+ )
57
+
58
+ return [modal, showModal]
59
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+
9
+ import { useCallback, useEffect, useRef } from 'react'
10
+
11
+ const getElement = (): HTMLElement => {
12
+ let element = document.getElementById('report-container')
13
+
14
+ if (element === null) {
15
+ element = document.createElement('div')
16
+ element.id = 'report-container'
17
+ element.style.position = 'fixed'
18
+ element.style.top = '50%'
19
+ element.style.left = '50%'
20
+ element.style.fontSize = '32px'
21
+ element.style.transform = 'translate(-50%, -50px)'
22
+ element.style.padding = '20px'
23
+ element.style.background = 'rgba(240, 240, 240, 0.4)'
24
+ element.style.borderRadius = '20px'
25
+
26
+ if (document.body) {
27
+ document.body.appendChild(element)
28
+ }
29
+ }
30
+
31
+ return element
32
+ }
33
+
34
+ export default function useReport(): (arg0: string) => ReturnType<typeof setTimeout> {
35
+ const timer = useRef<ReturnType<typeof setTimeout> | null>(null)
36
+ const cleanup = useCallback(() => {
37
+ if (timer !== null) {
38
+ clearTimeout(timer.current as ReturnType<typeof setTimeout>)
39
+ }
40
+
41
+ if (document.body) {
42
+ document.body.removeChild(getElement())
43
+ }
44
+ }, [])
45
+
46
+ useEffect(() => {
47
+ return cleanup
48
+ }, [cleanup])
49
+
50
+ return useCallback(
51
+ (content) => {
52
+ // eslint-disable-next-line no-console
53
+ console.log(content)
54
+ const element = getElement()
55
+ clearTimeout(timer.current as ReturnType<typeof setTimeout>)
56
+ element.innerHTML = content
57
+ timer.current = setTimeout(cleanup, 1000)
58
+ return timer.current
59
+ },
60
+ [cleanup]
61
+ )
62
+ }
@@ -0,0 +1,5 @@
1
+ yellow-flower.jpg by Andrew Haimerl
2
+ https://unsplash.com/photos/oxQHb8Yqt14
3
+
4
+ Licensed under Unsplash License
5
+ https://unsplash.com/license
@@ -0,0 +1,27 @@
1
+ declare module '*.svg' {
2
+ import React = require('react')
3
+
4
+ export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>
5
+ const src: string
6
+ export default src
7
+ }
8
+
9
+ declare module '*.jpg' {
10
+ const content: string
11
+ export default content
12
+ }
13
+
14
+ declare module '*.png' {
15
+ const content: string
16
+ export default content
17
+ }
18
+
19
+ declare module '*.json' {
20
+ const content: string
21
+ export default content
22
+ }
23
+
24
+ declare module '*.gif' {
25
+ const content: string
26
+ export default content
27
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,5 @@
1
+ OpenMoji
2
+ https://openmoji.org
3
+
4
+ Licensed under Attribution-ShareAlike 4.0 International
5
+ https://creativecommons.org/licenses/by-sa/4.0/
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-layout-three-columns" viewBox="0 0 16 16">
2
+ <path d="M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13zM1.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5H5V1H1.5zM10 15V1H6v14h4zm1 0h3.5a.5.5 0 0 0 .5-.5v-13a.5.5 0 0 0-.5-.5H11v14z"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ Bootstrap Icons
2
+ https://icons.getbootstrap.com
3
+
4
+ Licensed under MIT license
5
+ https://github.com/twbs/icons/blob/main/LICENSE.md
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-text"><path d="M5 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/><path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/></svg>
@@ -0,0 +1,5 @@
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.0416 16.2219L13.5749 17.8284C13.1036 19.4508 12.868 20.262 12.5051 20.4675C12.1917 20.6449 11.8083 20.6449 11.4949 20.4675C11.132 20.262 10.8964 19.4508 10.4251 17.8284L9.95843 16.2219L9.95843 16.2219C9.77921 15.6049 9.68961 15.2965 9.52195 15.043C9.37356 14.8186 9.18142 14.6264 8.95705 14.478C8.70355 14.3104 8.39507 14.2208 7.77812 14.0416L7.77811 14.0416L6.1716 13.5749C4.5492 13.1036 3.738 12.868 3.5325 12.5051C3.35507 12.1917 3.35507 11.8083 3.5325 11.4949C3.738 11.132 4.5492 10.8964 6.1716 10.4251L7.77811 9.95843L7.77812 9.95843C8.39507 9.77922 8.70355 9.68961 8.95705 9.52195C9.18142 9.37356 9.37356 9.18142 9.52195 8.95705C9.68961 8.70355 9.77921 8.39507 9.95843 7.77812L9.95843 7.77811L10.4251 6.1716C10.8964 4.5492 11.132 3.738 11.4949 3.5325C11.8083 3.35507 12.1917 3.35507 12.5051 3.5325C12.868 3.738 13.1036 4.5492 13.5749 6.1716L14.0416 7.77811L14.0416 7.77812C14.2208 8.39507 14.3104 8.70355 14.478 8.95705C14.6264 9.18142 14.8186 9.37356 15.043 9.52195C15.2965 9.68961 15.6049 9.77921 16.2219 9.95843L16.2219 9.95843L17.8284 10.4251C19.4508 10.8964 20.262 11.132 20.4675 11.4949C20.6449 11.8083 20.6449 12.1917 20.4675 12.5051C20.262 12.868 19.4508 13.1036 17.8284 13.5749L16.2219 14.0416L16.2219 14.0416C15.6049 14.2208 15.2965 14.3104 15.043 14.478C14.8186 14.6264 14.6264 14.8186 14.478 15.043C14.3104 15.2965 14.2208 15.6049 14.0416 16.2219L14.0416 16.2219Z" stroke="currentColor" stroke-width="1.5"/>
3
+ <path d="M5.42282 5.94949L5.01129 7.20368C4.92849 7.45603 4.57151 7.45603 4.48871 7.20368L4.07718 5.94949C3.99537 5.70017 3.79983 5.50463 3.55051 5.42282L2.29632 5.01129C2.04397 4.92849 2.04397 4.57151 2.29632 4.48871L3.55051 4.07718C3.79983 3.99537 3.99537 3.79983 4.07718 3.55051L4.48871 2.29632C4.57151 2.04397 4.92849 2.04397 5.01129 2.29632L5.42282 3.55051C5.50463 3.79983 5.70017 3.99537 5.94949 4.07718L7.20368 4.48871C7.45603 4.57151 7.45603 4.92849 7.20368 5.01129L5.94949 5.42282C5.70017 5.50463 5.50463 5.70017 5.42282 5.94949Z" fill="#FFBC0F"/>
4
+ <path d="M19.9228 20.4495L19.5113 21.7037C19.4285 21.956 19.0715 21.956 18.9887 21.7037L18.5772 20.4495C18.4954 20.2002 18.2998 20.0046 18.0505 19.9228L16.7963 19.5113C16.544 19.4285 16.544 19.0715 16.7963 18.9887L18.0505 18.5772C18.2998 18.4954 18.4954 18.2998 18.5772 18.0505L18.9887 16.7963C19.0715 16.544 19.4285 16.544 19.5113 16.7963L19.9228 18.0505C20.0046 18.2998 20.2002 18.4954 20.4495 18.5772L21.7037 18.9887C21.956 19.0715 21.956 19.4285 21.7037 19.5113L20.4495 19.9228C20.2002 20.0046 20.0046 20.2002 19.9228 20.4495Z" fill="#FFBC0F"/>
5
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-clockwise"><path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z"/><path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-counterclockwise"><path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"/><path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="16" height="16" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" fill-opacity=".01" d="M0 0h48v48H0z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M37 37a4 4 0 0 0 4-4c0-1.473-1.333-3.473-4-6-2.667 2.527-4 4.527-4 6a4 4 0 0 0 4 4Z" fill="#777"/><path d="m20.854 5.504 3.535 3.536" stroke="#777" stroke-width="4" stroke-linecap="round"/><path d="M23.682 8.333 8.125 23.889 19.44 35.203l15.556-15.557L23.682 8.333Z" stroke="#777" stroke-width="4" stroke-linejoin="round"/><path d="m12 20.073 16.961 5.577M4 43h40" stroke="#777" stroke-width="4" stroke-linecap="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-camera"><path d="M15 12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.172a3 3 0 0 0 2.12-.879l.83-.828A1 1 0 0 1 6.827 3h2.344a1 1 0 0 1 .707.293l.828.828A3 3 0 0 0 12.828 5H14a1 1 0 0 1 1 1v6zM2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2z"/><path d="M8 11a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5zm0 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zM3 6.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-card-checklist"><path d="M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"/><path d="M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-right-fill"><path d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-left-text"><path d="M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4.414A2 2 0 0 0 3 11.586l-2 2V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-right-dots"><path d="M2 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h9.586a2 2 0 0 1 1.414.586l2 2V2a1 1 0 0 0-1-1H2zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path d="M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-right-text"><path d="M2 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h9.586a2 2 0 0 1 1.414.586l2 2V2a1 1 0 0 0-1-1H2zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/><path d="M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-right"><path d="M2 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h9.586a2 2 0 0 1 1.414.586l2 2V2a1 1 0 0 0-1-1H2zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-square-quote"><path d="M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--><path d="M0 256C0 114.6 114.6 0 256 0s256 114.6 256 256-114.6 256-256 256S0 397.4 0 256zm175-47.9 47.1 47L175 303c-9.3 9.4-9.3 24.6 0 33.1 9.4 10.2 24.6 10.2 33.1 0l47-46.2 47.9 46.2c9.4 10.2 24.6 10.2 33.1 0 10.2-8.5 10.2-23.7 0-33.1l-46.2-47.9 46.2-47c10.2-8.5 10.2-23.7 0-33.1-8.5-9.3-23.7-9.3-33.1 0l-47.9 47.1-47-47.1c-8.5-9.3-23.7-9.3-33.1 0-9.3 9.4-9.3 24.6 0 33.1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-code"><path d="M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8l3.147-3.146zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8l-3.147-3.146z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 5.885v1.166a3.95 3.95 0 0 1-3.949 3.95H6.917a.748.748 0 0 0-.45.15l-1.345 1.007a.752.752 0 0 0-.032 1.181A2.933 2.933 0 0 0 6.95 14h2.716l2.534 1.901a.506.506 0 0 0 .524.047A.501.501 0 0 0 13 15.5V14h.051a2.949 2.949 0 0 0 2.95-2.949v-3.05a3.002 3.002 0 0 0-2.002-2.83.756.756 0 0 0-.999.714" fill="#050505"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.05 1H2.95A2.952 2.952 0 0 0 0 3.949v3.102A2.952 2.952 0 0 0 2.949 10H3v1.5a.502.502 0 0 0 .8.4L6.334 10H9.05A2.952 2.952 0 0 0 12 7.05V3.95A2.952 2.952 0 0 0 9.05 1" fill="#050505"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M710 10H360c-38.6 0-70 31.4-70 70v630c0 38.6 31.4 70 70 70h490c38.6 0 70-31.4 70-70V220L710 10zm0 99 111 111H710V109zm140 601H360V80h280v210h210v420z"/><path d="M430 360h350v70H430v-70zm0 140h350v70H430v-70z"/><path d="M640 920H150V290h70v-70h-70c-38.6 0-70 31.4-70 70v630c0 38.6 31.4 70 70 70h490c38.6 0 70-31.4 70-70v-70h-70v70z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-diagram-2"><path fill-rule="evenodd" d="M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H11a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 5 7h2.5V6A1.5 1.5 0 0 1 6 4.5v-1zM8.5 5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1zM3 11.5A1.5 1.5 0 0 1 4.5 10h1A1.5 1.5 0 0 1 7 11.5v1A1.5 1.5 0 0 1 5.5 14h-1A1.5 1.5 0 0 1 3 12.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm4.5.5a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1A1.5 1.5 0 0 1 9 12.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download"><path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/><path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24" fill="currentColor"><path stroke="currentColor" d="M8.5 10a2 2 0 1 0 2 2 2 2 0 0 0-2-2Zm0 7a2 2 0 1 0 2 2 2 2 0 0 0-2-2Zm7-10a2 2 0 1 0-2-2 2 2 0 0 0 2 2Zm-7-4a2 2 0 1 0 2 2 2 2 0 0 0-2-2Zm7 14a2 2 0 1 0 2 2 2 2 0 0 0-2-2Zm0-7a2 2 0 1 0 2 2 2 2 0 0 0-2-2Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.648 4.475 1.824 12.25H.67l3.252-8.531h.744l-.018.756Zm2.368 7.775-2.83-7.775-.018-.756h.744l3.264 8.531h-1.16Zm-.147-3.158v.926H2.076v-.926H6.87Zm6.024 2.074V7.902c0-.25-.051-.466-.153-.65a.997.997 0 0 0-.445-.434c-.2-.101-.445-.152-.738-.152-.274 0-.514.047-.721.14a1.255 1.255 0 0 0-.48.37.809.809 0 0 0-.17.492H9.101c0-.227.058-.451.175-.674.118-.223.286-.424.504-.603.223-.184.489-.329.797-.434.313-.11.66-.164 1.043-.164.461 0 .867.078 1.219.234.355.157.633.393.832.71.203.312.305.704.305 1.177v2.953c0 .211.017.436.052.674.04.238.096.443.17.615v.094h-1.13a2.022 2.022 0 0 1-.13-.498 4.011 4.011 0 0 1-.046-.586Zm.187-2.76.012.762h-1.096c-.309 0-.584.025-.826.076a1.89 1.89 0 0 0-.61.217.979.979 0 0 0-.504.879c0 .2.046.38.135.545a.98.98 0 0 0 .405.392c.183.094.408.141.674.141.332 0 .625-.07.878-.211a1.83 1.83 0 0 0 .604-.516c.152-.203.234-.4.246-.591l.463.521a1.572 1.572 0 0 1-.223.545 2.607 2.607 0 0 1-1.2 1.025 2.328 2.328 0 0 1-.927.176c-.43 0-.806-.084-1.13-.252a1.933 1.933 0 0 1-.75-.674 1.784 1.784 0 0 1-.264-.955c0-.34.066-.638.199-.896a1.73 1.73 0 0 1 .574-.65c.25-.176.551-.31.903-.399a4.76 4.76 0 0 1 1.177-.135h1.26Z" fill="#000"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--><path d="M14 95.792C14 42.888 56.888 0 109.793 0h164.368c52.905 0 95.793 42.888 95.793 95.792 0 33.5-17.196 62.984-43.243 80.105 26.047 17.122 43.243 46.605 43.243 80.105 0 52.905-42.888 95.793-95.793 95.793h-2.08c-24.802 0-47.403-9.426-64.415-24.891v88.263c0 53.61-44.009 96.833-97.357 96.833C57.536 512 14 469.243 14 416.207c0-33.498 17.195-62.98 43.24-80.102C31.193 318.983 14 289.5 14 256.002c0-33.5 17.196-62.983 43.242-80.105C31.197 158.776 14 129.292 14 95.792Zm162.288 95.795h-66.495c-35.576 0-64.415 28.84-64.415 64.415 0 35.438 28.617 64.192 64.003 64.414l.412-.001h66.495V191.587Zm31.378 64.415c0 35.575 28.839 64.415 64.415 64.415h2.08c35.576 0 64.415-28.84 64.415-64.415s-28.839-64.415-64.415-64.415h-2.08c-35.576 0-64.415 28.84-64.415 64.415Zm-97.873 95.793-.412-.001c-35.386.221-64.003 28.975-64.003 64.413 0 35.445 29.225 64.415 64.931 64.415 36.282 0 65.979-29.436 65.979-65.455v-63.372h-66.495Zm0-320.417c-35.576 0-64.415 28.84-64.415 64.414 0 35.576 28.84 64.415 64.415 64.415h66.495V31.377h-66.495Zm97.873 128.829h66.495c35.576 0 64.415-28.839 64.415-64.415 0-35.575-28.839-64.414-64.415-64.414h-66.495v128.829Z"/></svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-text" viewBox="0 0 16 16">
2
+ <path d="M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/>
3
+ <path d="M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5L9.5 0zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/>
4
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-image"><path d="M8.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8l-2.083-2.083a.5.5 0 0 0-.76.063L8 11 5.835 9.7a.5.5 0 0 0-.611.076L3 12V2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filetype-gif"><path fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2H9v-1h3a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM3.278 13.124a1.403 1.403 0 0 0-.14-.492 1.317 1.317 0 0 0-.314-.407 1.447 1.447 0 0 0-.48-.275 1.88 1.88 0 0 0-.636-.1c-.361 0-.67.076-.926.229a1.48 1.48 0 0 0-.583.632 2.136 2.136 0 0 0-.199.95v.506c0 .272.035.52.105.745.07.224.177.417.32.58.142.162.32.288.533.377.215.088.466.132.753.132.268 0 .5-.037.697-.111a1.29 1.29 0 0 0 .788-.77c.065-.174.097-.358.097-.551v-.797H1.717v.589h.823v.255c0 .132-.03.254-.09.363a.67.67 0 0 1-.273.264.967.967 0 0 1-.457.096.87.87 0 0 1-.519-.146.881.881 0 0 1-.305-.413 1.785 1.785 0 0 1-.096-.615v-.499c0-.365.078-.648.234-.85.158-.2.38-.301.665-.301a.96.96 0 0 1 .3.044c.09.03.17.071.236.126a.689.689 0 0 1 .17.19.797.797 0 0 1 .097.25h.776Zm1.353 2.801v-3.999H3.84v4h.79Zm1.493-1.59v1.59h-.791v-3.999H7.88v.653H6.124v1.117h1.605v.638H6.124Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 512 512"><path fill="#777" d="M221.631 109 109.92 392h58.055l24.079-61h127.892l24.079 61h58.055L290.369 109Zm-8.261 168L256 169l42.63 108Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-fonts"><path d="M12.258 3h-8.51l-.083 2.46h.479c.26-1.544.758-1.783 2.693-1.845l.424-.013v7.827c0 .663-.144.82-1.3.923v.52h4.082v-.52c-1.162-.103-1.306-.26-1.306-.923V3.602l.431.013c1.934.062 2.434.301 2.693 1.846h.479L12.258 3z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-gear"><path d="M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z"/><path d="M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115l.094-.319z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-break"><path d="M0 10.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5zM12 0H4a2 2 0 0 0-2 2v7h1V2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v7h1V2a2 2 0 0 0-2-2zm2 12h-1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2H2v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-indent-left"><path d="M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm.646 2.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L4.293 8 2.646 6.354a.5.5 0 0 1 0-.708zM7 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm-5 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-code"><path fill-rule="evenodd" d="M8.646 5.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 8 8.646 6.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 8l1.647-1.646a.5.5 0 0 0 0-.708z"/><path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-text"><path d="M5 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/><path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/><path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify"><path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-link"><path d="M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H9c-.086 0-.17.01-.25.031A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h1.535c.218-.376.495-.714.82-1z"/><path d="M9 5.5a3 3 0 0 0-2.83 4h1.098A2 2 0 0 1 9 6.5h3a2 2 0 1 1 0 4h-1.535a4.02 4.02 0 0 1-.82 1H12a3 3 0 1 0 0-6H9z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list-ol"><path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/><path d="M1.713 11.865v-.474H2c.217 0 .363-.137.363-.317 0-.185-.158-.31-.361-.31-.223 0-.367.152-.373.31h-.59c.016-.467.373-.787.986-.787.588-.002.954.291.957.703a.595.595 0 0 1-.492.594v.033a.615.615 0 0 1 .569.631c.003.533-.502.8-1.051.8-.656 0-1-.37-1.008-.794h.582c.008.178.186.306.422.309.254 0 .424-.145.422-.35-.002-.195-.155-.348-.414-.348h-.3zm-.004-4.699h-.604v-.035c0-.408.295-.844.958-.844.583 0 .96.326.96.756 0 .389-.257.617-.476.848l-.537.572v.03h1.054V9H1.143v-.395l.957-.99c.138-.142.293-.304.293-.508 0-.18-.147-.32-.342-.32a.33.33 0 0 0-.342.338v.041zM2.564 5h-.635V2.924h-.031l-.598.42v-.567l.629-.443h.635V5z"/></svg>