@forgedevstack/ink 1.1.8 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/CHANGELOG.md +25 -1
  2. package/dist/common-components/Box/Box.cjs +1 -1
  3. package/dist/common-components/Box/Box.js +7 -6
  4. package/dist/common-components/Button/Button.cjs +1 -1
  5. package/dist/common-components/Button/Button.js +9 -8
  6. package/dist/common-components/Canvas/Canvas.cjs +1 -1
  7. package/dist/common-components/Canvas/Canvas.js +3 -2
  8. package/dist/common-components/ContextMenu/ContextMenu.cjs +1 -1
  9. package/dist/common-components/ContextMenu/ContextMenu.js +3 -2
  10. package/dist/common-components/Field/Field.cjs +1 -1
  11. package/dist/common-components/Field/Field.js +11 -10
  12. package/dist/common-components/icons/GripIcon.cjs +1 -1
  13. package/dist/common-components/icons/GripIcon.js +3 -2
  14. package/dist/components/InkEditor/InkEditor.cjs +1 -1
  15. package/dist/components/InkEditor/InkEditor.d.ts.map +1 -1
  16. package/dist/components/InkEditor/InkEditor.js +1301 -1006
  17. package/dist/components/InkEditor/components/AiPanel/AiPanel.cjs +1 -1
  18. package/dist/components/InkEditor/components/AiPanel/AiPanel.js +13 -12
  19. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.cjs +1 -0
  20. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.cjs +1 -0
  21. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.d.ts +20 -0
  22. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.d.ts.map +1 -0
  23. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.js +25 -0
  24. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.d.ts +4 -0
  25. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.d.ts.map +1 -0
  26. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.js +61 -0
  27. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.types.d.ts +11 -0
  28. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.types.d.ts.map +1 -0
  29. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.cjs +1 -0
  30. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.d.ts +19 -0
  31. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.d.ts.map +1 -0
  32. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.js +30 -0
  33. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.test.d.ts +2 -0
  34. package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.test.d.ts.map +1 -0
  35. package/dist/components/InkEditor/components/AiSelectionBubble/index.d.ts +4 -0
  36. package/dist/components/InkEditor/components/AiSelectionBubble/index.d.ts.map +1 -0
  37. package/dist/components/InkEditor/components/BlockHandles/BlockHandles.cjs +1 -1
  38. package/dist/components/InkEditor/components/BlockHandles/BlockHandles.js +7 -6
  39. package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.cjs +1 -1
  40. package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.d.ts +2 -0
  41. package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.d.ts.map +1 -1
  42. package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.js +16 -15
  43. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.cjs +1 -1
  44. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.js +14 -13
  45. package/dist/components/InkEditor/components/FindReplace/FindReplace.cjs +1 -1
  46. package/dist/components/InkEditor/components/FindReplace/FindReplace.js +21 -20
  47. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.cjs +1 -1
  48. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.js +17 -16
  49. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.cjs +1 -1
  50. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.js +3 -2
  51. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.cjs +1 -1
  52. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.js +7 -6
  53. package/dist/components/InkEditor/components/ImageFrame/ImageFrame.cjs +1 -0
  54. package/dist/components/InkEditor/components/ImageFrame/ImageFrame.d.ts +8 -0
  55. package/dist/components/InkEditor/components/ImageFrame/ImageFrame.d.ts.map +1 -0
  56. package/dist/components/InkEditor/components/ImageFrame/ImageFrame.js +54 -0
  57. package/dist/components/InkEditor/components/ImageFrame/index.d.ts +3 -0
  58. package/dist/components/InkEditor/components/ImageFrame/index.d.ts.map +1 -0
  59. package/dist/components/InkEditor/components/InlineToolbar/InlineToolbar.cjs +1 -1
  60. package/dist/components/InkEditor/components/InlineToolbar/InlineToolbar.js +11 -10
  61. package/dist/components/InkEditor/components/MentionMenu/MentionMenu.cjs +1 -0
  62. package/dist/components/InkEditor/components/MentionMenu/MentionMenu.d.ts +16 -0
  63. package/dist/components/InkEditor/components/MentionMenu/MentionMenu.d.ts.map +1 -0
  64. package/dist/components/InkEditor/components/MentionMenu/MentionMenu.js +21 -0
  65. package/dist/components/InkEditor/components/MentionMenu/index.d.ts +3 -0
  66. package/dist/components/InkEditor/components/MentionMenu/index.d.ts.map +1 -0
  67. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.cjs +1 -1
  68. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.js +11 -10
  69. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.cjs +1 -0
  70. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.cjs +1 -0
  71. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.d.ts +7 -0
  72. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.d.ts.map +1 -0
  73. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.js +9 -0
  74. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.d.ts +4 -0
  75. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.d.ts.map +1 -0
  76. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.js +83 -0
  77. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.types.d.ts +8 -0
  78. package/dist/components/InkEditor/components/PresenceStack/PresenceStack.types.d.ts.map +1 -0
  79. package/dist/components/InkEditor/components/PresenceStack/index.d.ts +3 -0
  80. package/dist/components/InkEditor/components/PresenceStack/index.d.ts.map +1 -0
  81. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.cjs +1 -0
  82. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.cjs +1 -0
  83. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.d.ts +7 -0
  84. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.d.ts.map +1 -0
  85. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.js +10 -0
  86. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.d.ts +4 -0
  87. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.d.ts.map +1 -0
  88. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.js +66 -0
  89. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.types.d.ts +6 -0
  90. package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.types.d.ts.map +1 -0
  91. package/dist/components/InkEditor/components/RemoteCursors/index.d.ts +3 -0
  92. package/dist/components/InkEditor/components/RemoteCursors/index.d.ts.map +1 -0
  93. package/dist/components/InkEditor/components/SignPad/SignPad.cjs +1 -1
  94. package/dist/components/InkEditor/components/SignPad/SignPad.js +7 -6
  95. package/dist/components/InkEditor/components/SlashMenu/SlashMenu.cjs +1 -1
  96. package/dist/components/InkEditor/components/SlashMenu/SlashMenu.js +7 -6
  97. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.cjs +1 -1
  98. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.cjs +1 -1
  99. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.js +8 -7
  100. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.js +7 -6
  101. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.cjs +1 -1
  102. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.js +7 -6
  103. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.cjs +1 -1
  104. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.js +3 -2
  105. package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.cjs +1 -1
  106. package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.js +13 -12
  107. package/dist/components/InkEditor/components/ToolbarColorPicker/ToolbarColorPicker.cjs +1 -1
  108. package/dist/components/InkEditor/components/ToolbarColorPicker/ToolbarColorPicker.js +9 -8
  109. package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.cjs +1 -1
  110. package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.const.cjs +1 -1
  111. package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.const.js +9 -8
  112. package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.js +9 -8
  113. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.cjs +1 -1
  114. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.js +19 -18
  115. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.cjs +1 -1
  116. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.js +6 -5
  117. package/dist/components/InkEditor/components/VersionHistory/VersionHistory.cjs +1 -0
  118. package/dist/components/InkEditor/components/VersionHistory/VersionHistory.d.ts +11 -0
  119. package/dist/components/InkEditor/components/VersionHistory/VersionHistory.d.ts.map +1 -0
  120. package/dist/components/InkEditor/components/VersionHistory/VersionHistory.js +22 -0
  121. package/dist/components/InkEditor/components/VersionHistory/index.d.ts +3 -0
  122. package/dist/components/InkEditor/components/VersionHistory/index.d.ts.map +1 -0
  123. package/dist/components/InkEditor/components/index.d.ts +11 -0
  124. package/dist/components/InkEditor/components/index.d.ts.map +1 -1
  125. package/dist/components/InkEditor/helpers/format.utils.cjs +3 -2
  126. package/dist/components/InkEditor/helpers/format.utils.d.ts +1 -0
  127. package/dist/components/InkEditor/helpers/format.utils.d.ts.map +1 -1
  128. package/dist/components/InkEditor/helpers/format.utils.js +106 -84
  129. package/dist/components/InkEditor/helpers/index.d.ts +1 -1
  130. package/dist/components/InkEditor/helpers/index.d.ts.map +1 -1
  131. package/dist/components/InkTabs/InkTabs.cjs +1 -0
  132. package/dist/components/InkTabs/InkTabs.d.ts +4 -0
  133. package/dist/components/InkTabs/InkTabs.d.ts.map +1 -0
  134. package/dist/components/InkTabs/InkTabs.js +104 -0
  135. package/dist/components/InkTabs/index.d.ts +2 -0
  136. package/dist/components/InkTabs/index.d.ts.map +1 -0
  137. package/dist/components/InkWorkspace/InkWorkspace.cjs +1 -0
  138. package/dist/components/InkWorkspace/InkWorkspace.d.ts +4 -0
  139. package/dist/components/InkWorkspace/InkWorkspace.d.ts.map +1 -0
  140. package/dist/components/InkWorkspace/InkWorkspace.js +309 -0
  141. package/dist/components/InkWorkspace/components/WorkspaceIcons.cjs +1 -0
  142. package/dist/components/InkWorkspace/components/WorkspaceIcons.d.ts +11 -0
  143. package/dist/components/InkWorkspace/components/WorkspaceIcons.d.ts.map +1 -0
  144. package/dist/components/InkWorkspace/components/WorkspaceIcons.js +39 -0
  145. package/dist/components/InkWorkspace/hooks/useInkWorkspace.cjs +1 -0
  146. package/dist/components/InkWorkspace/hooks/useInkWorkspace.d.ts +30 -0
  147. package/dist/components/InkWorkspace/hooks/useInkWorkspace.d.ts.map +1 -0
  148. package/dist/components/InkWorkspace/hooks/useInkWorkspace.js +73 -0
  149. package/dist/components/InkWorkspace/index.d.ts +4 -0
  150. package/dist/components/InkWorkspace/index.d.ts.map +1 -0
  151. package/dist/components/index.d.ts +2 -0
  152. package/dist/components/index.d.ts.map +1 -1
  153. package/dist/constants/collab.const.cjs +1 -0
  154. package/dist/constants/collab.const.d.ts +20 -0
  155. package/dist/constants/collab.const.d.ts.map +1 -0
  156. package/dist/constants/collab.const.js +54 -0
  157. package/dist/constants/contextMenu.const.cjs +1 -1
  158. package/dist/constants/contextMenu.const.d.ts +8 -0
  159. package/dist/constants/contextMenu.const.d.ts.map +1 -1
  160. package/dist/constants/contextMenu.const.js +30 -22
  161. package/dist/constants/defaultIcons.cjs +1 -1
  162. package/dist/constants/defaultIcons.js +6 -5
  163. package/dist/constants/defaults.const.cjs +1 -1
  164. package/dist/constants/defaults.const.d.ts.map +1 -1
  165. package/dist/constants/defaults.const.js +150 -138
  166. package/dist/constants/index.d.ts +2 -0
  167. package/dist/constants/index.d.ts.map +1 -1
  168. package/dist/constants/numbers.cjs +1 -1
  169. package/dist/constants/numbers.js +43 -37
  170. package/dist/constants/toolbar.const.cjs +1 -1
  171. package/dist/constants/toolbar.const.d.ts +7 -0
  172. package/dist/constants/toolbar.const.d.ts.map +1 -1
  173. package/dist/constants/toolbar.const.js +16 -9
  174. package/dist/constants/toolbarMenu.const.cjs +1 -1
  175. package/dist/constants/toolbarMenu.const.d.ts.map +1 -1
  176. package/dist/constants/toolbarMenu.const.js +25 -11
  177. package/dist/constants/workspace.const.cjs +1 -0
  178. package/dist/constants/workspace.const.d.ts +24 -0
  179. package/dist/constants/workspace.const.d.ts.map +1 -0
  180. package/dist/constants/workspace.const.js +23 -0
  181. package/dist/hooks/index.d.ts +2 -0
  182. package/dist/hooks/index.d.ts.map +1 -1
  183. package/dist/hooks/useInkCollaboration.cjs +1 -0
  184. package/dist/hooks/useInkCollaboration.d.ts +4 -0
  185. package/dist/hooks/useInkCollaboration.d.ts.map +1 -0
  186. package/dist/hooks/useInkCollaboration.js +87 -0
  187. package/dist/hooks/useToolbarOverflow.cjs +1 -1
  188. package/dist/hooks/useToolbarOverflow.js +12 -11
  189. package/dist/index.cjs +1 -1
  190. package/dist/index.d.ts +5 -3
  191. package/dist/index.d.ts.map +1 -1
  192. package/dist/index.js +151 -135
  193. package/dist/plugins/ai/demoProvider.cjs +1 -1
  194. package/dist/plugins/ai/demoProvider.js +3 -2
  195. package/dist/plugins/ai/index.cjs +1 -1
  196. package/dist/plugins/ai/index.js +25 -24
  197. package/dist/plugins/excel/excel.utils.cjs +1 -1
  198. package/dist/plugins/excel/excel.utils.js +17 -16
  199. package/dist/plugins/graph/graph.utils.cjs +1 -1
  200. package/dist/plugins/graph/graph.utils.js +7 -6
  201. package/dist/plugins/titles/titles.const.cjs +1 -1
  202. package/dist/plugins/titles/titles.const.js +9 -8
  203. package/dist/plugins/titles/titles.utils.cjs +1 -1
  204. package/dist/plugins/titles/titles.utils.js +3 -2
  205. package/dist/styles.css +1 -1
  206. package/dist/types/collab.types.d.ts +54 -0
  207. package/dist/types/collab.types.d.ts.map +1 -0
  208. package/dist/types/features.types.d.ts +1 -1
  209. package/dist/types/features.types.d.ts.map +1 -1
  210. package/dist/types/index.d.ts +2 -0
  211. package/dist/types/index.d.ts.map +1 -1
  212. package/dist/types/ink.types.d.ts +3 -1
  213. package/dist/types/ink.types.d.ts.map +1 -1
  214. package/dist/types/workspace.types.d.ts +54 -0
  215. package/dist/types/workspace.types.d.ts.map +1 -0
  216. package/dist/utils/blocks.utils.cjs +1 -1
  217. package/dist/utils/blocks.utils.js +19 -18
  218. package/dist/utils/collab.utils.cjs +1 -0
  219. package/dist/utils/collab.utils.d.ts +5 -0
  220. package/dist/utils/collab.utils.d.ts.map +1 -0
  221. package/dist/utils/collab.utils.js +33 -0
  222. package/dist/utils/collab.utils.test.d.ts +2 -0
  223. package/dist/utils/collab.utils.test.d.ts.map +1 -0
  224. package/dist/utils/comments.utils.cjs +1 -1
  225. package/dist/utils/comments.utils.d.ts +4 -0
  226. package/dist/utils/comments.utils.d.ts.map +1 -1
  227. package/dist/utils/comments.utils.js +26 -18
  228. package/dist/utils/comments.utils.test.d.ts +2 -0
  229. package/dist/utils/comments.utils.test.d.ts.map +1 -0
  230. package/dist/utils/exportDocument.utils.cjs +2 -0
  231. package/dist/utils/exportDocument.utils.d.ts +16 -0
  232. package/dist/utils/exportDocument.utils.d.ts.map +1 -0
  233. package/dist/utils/exportDocument.utils.js +85 -0
  234. package/dist/utils/exportDocument.utils.test.d.ts +2 -0
  235. package/dist/utils/exportDocument.utils.test.d.ts.map +1 -0
  236. package/dist/utils/formatPainter.utils.cjs +1 -0
  237. package/dist/utils/formatPainter.utils.d.ts +11 -0
  238. package/dist/utils/formatPainter.utils.d.ts.map +1 -0
  239. package/dist/utils/formatPainter.utils.js +20 -0
  240. package/dist/utils/formatPainter.utils.test.d.ts +2 -0
  241. package/dist/utils/formatPainter.utils.test.d.ts.map +1 -0
  242. package/dist/utils/history.utils.cjs +1 -1
  243. package/dist/utils/history.utils.js +3 -2
  244. package/dist/utils/image.utils.cjs +1 -0
  245. package/dist/utils/image.utils.d.ts +14 -0
  246. package/dist/utils/image.utils.d.ts.map +1 -0
  247. package/dist/utils/image.utils.js +33 -0
  248. package/dist/utils/image.utils.test.d.ts +2 -0
  249. package/dist/utils/image.utils.test.d.ts.map +1 -0
  250. package/dist/utils/index.d.ts +12 -3
  251. package/dist/utils/index.d.ts.map +1 -1
  252. package/dist/utils/ink.brand.test.d.ts +2 -0
  253. package/dist/utils/ink.brand.test.d.ts.map +1 -0
  254. package/dist/utils/license.utils.cjs +1 -1
  255. package/dist/utils/license.utils.js +8 -7
  256. package/dist/utils/markdown.utils.cjs +11 -0
  257. package/dist/utils/markdown.utils.d.ts +7 -0
  258. package/dist/utils/markdown.utils.d.ts.map +1 -0
  259. package/dist/utils/markdown.utils.js +87 -0
  260. package/dist/utils/markdown.utils.test.d.ts +2 -0
  261. package/dist/utils/markdown.utils.test.d.ts.map +1 -0
  262. package/dist/utils/mentions.utils.cjs +1 -0
  263. package/dist/utils/mentions.utils.d.ts +13 -0
  264. package/dist/utils/mentions.utils.d.ts.map +1 -0
  265. package/dist/utils/mentions.utils.js +23 -0
  266. package/dist/utils/mentions.utils.test.d.ts +2 -0
  267. package/dist/utils/mentions.utils.test.d.ts.map +1 -0
  268. package/dist/utils/outline.utils.cjs +1 -1
  269. package/dist/utils/outline.utils.js +9 -8
  270. package/dist/utils/paste.utils.cjs +1 -1
  271. package/dist/utils/paste.utils.d.ts +2 -0
  272. package/dist/utils/paste.utils.d.ts.map +1 -1
  273. package/dist/utils/paste.utils.js +53 -19
  274. package/dist/utils/paste.utils.test.d.ts +2 -0
  275. package/dist/utils/paste.utils.test.d.ts.map +1 -0
  276. package/dist/utils/premium.utils.cjs +1 -1
  277. package/dist/utils/premium.utils.js +12 -11
  278. package/dist/utils/selection.utils.cjs +1 -1
  279. package/dist/utils/selection.utils.js +3 -2
  280. package/dist/utils/slash.utils.cjs +1 -1
  281. package/dist/utils/slash.utils.js +10 -9
  282. package/dist/utils/table.utils.cjs +1 -1
  283. package/dist/utils/table.utils.d.ts +8 -0
  284. package/dist/utils/table.utils.d.ts.map +1 -1
  285. package/dist/utils/table.utils.js +78 -54
  286. package/dist/utils/toolbarStorage.utils.cjs +1 -1
  287. package/dist/utils/toolbarStorage.utils.js +15 -14
  288. package/dist/utils/trackChanges.utils.cjs +1 -1
  289. package/dist/utils/trackChanges.utils.js +9 -8
  290. package/dist/utils/typo.utils.cjs +1 -1
  291. package/dist/utils/typo.utils.js +8 -7
  292. package/dist/utils/versions.utils.cjs +1 -0
  293. package/dist/utils/versions.utils.d.ts +11 -0
  294. package/dist/utils/versions.utils.d.ts.map +1 -0
  295. package/dist/utils/versions.utils.js +36 -0
  296. package/dist/utils/versions.utils.test.d.ts +2 -0
  297. package/dist/utils/versions.utils.test.d.ts.map +1 -0
  298. package/dist/utils/words.utils.cjs +1 -1
  299. package/dist/utils/words.utils.js +3 -2
  300. package/dist/utils/workspace.utils.cjs +1 -0
  301. package/dist/utils/workspace.utils.d.ts +5 -0
  302. package/dist/utils/workspace.utils.d.ts.map +1 -0
  303. package/dist/utils/workspace.utils.js +26 -0
  304. package/dist/utils/workspace.utils.test.d.ts +2 -0
  305. package/dist/utils/workspace.utils.test.d.ts.map +1 -0
  306. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="toolbar-customize",t="toolbar-hide",i="Customize toolbar",n="Hide toolbar",o="show-toolbar",r="Show toolbar",l="Show toolbar",a="Ask about this document or request a change…",O="Show formatting toolbar",d="ink-toolbar-hidden",_="ink-toolbar-items",T="true",L="false",s="divider",h={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",headingDropdown:"Heading",fontDropdown:"Font",bulletList:"Bullet list",orderedList:"Numbered list",checklist:"Checklist",listDropdown:"List",blockquote:"Quote",code:"Code",link:"Link",image:"Image",table:"Table",signature:"Sign pad",findReplace:"Find and replace",findReplaceDropdown:"Find and replace",horizontalRule:"Horizontal rule",undo:"Undo",redo:"Redo",trackChanges:"Track changes",comments:"Comments",ai:"AI",textColor:"Text color",highlightColor:"Highlight color",directionLtr:"Left to right",directionRtl:"Right to left",superscript:"Superscript",subscript:"Subscript",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignJustify:"Justify",indent:"Indent",outdent:"Outdent",clearFormat:"Clear formatting",htmlSource:"HTML source",titles:"Titles",excel:"Sheet",graph:"Graph",outline:"Outline",fullscreen:"Fullscreen",theme:"Theme",divider:"Divider"},c={bold:"Bold the selected text",italic:"Italicize the selected text",underline:"Underline the selected text",strikethrough:"Strike through the selected text",heading1:"Largest heading",heading2:"Section heading",heading3:"Subsection heading",heading4:"Small heading",heading5:"Caption heading",heading6:"Fine heading",paragraph:"Body paragraph",headingDropdown:"Paragraph and heading styles",fontDropdown:"Font family",bulletList:"Bulleted list",orderedList:"Numbered list",checklist:"Checklist",listDropdown:"List style",blockquote:"Quote block",code:"Code block",link:"Link the selected text",image:"Insert an image",table:"Insert a table",signature:"Open the sign pad",findReplace:"Find and replace",findReplaceDropdown:"Find and replace",horizontalRule:"Insert a divider line",undo:"Undo the last change",redo:"Redo the last undone change",trackChanges:"Show insert and delete marks",comments:"Add or open comments",ai:"Ask Ink AI about this document",textColor:"Text color",highlightColor:"Highlight color",directionLtr:"Left to right",directionRtl:"Right to left",superscript:"Superscript",subscript:"Subscript",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignJustify:"Justify",indent:"Indent",outdent:"Outdent",clearFormat:"Clear formatting",htmlSource:"Toggle HTML source",titles:"Styled title gallery",excel:"Sheet grid or CSV import",graph:"Bar, line, or pie graph",outline:"Show or hide the outline rail",fullscreen:"Fill the screen with the editor",theme:"Editor paper theme",divider:""},g="Customize toolbar",A="Done",E="Toolbar options";exports.AGENT_BAR_PLACEHOLDER=a;exports.CONTEXT_MENU_ID_SHOW_TOOLBAR=o;exports.CONTEXT_MENU_LABEL_SHOW_TOOLBAR=r;exports.TOOLBAR_CONTEXT_MENU_ID_CUSTOMIZE=e;exports.TOOLBAR_CONTEXT_MENU_ID_HIDE=t;exports.TOOLBAR_CONTEXT_MENU_LABEL_CUSTOMIZE=i;exports.TOOLBAR_CONTEXT_MENU_LABEL_HIDE=n;exports.TOOLBAR_CUSTOMIZE_CLOSE_LABEL=A;exports.TOOLBAR_CUSTOMIZE_LIST_ARIA_LABEL=E;exports.TOOLBAR_CUSTOMIZE_TITLE=g;exports.TOOLBAR_OPTION_DIVIDER=s;exports.TOOLBAR_OPTION_HINTS=c;exports.TOOLBAR_OPTION_LABELS=h;exports.TOOLBAR_SHOW_CONTROL_ARIA_LABEL=O;exports.TOOLBAR_SHOW_CONTROL_LABEL=l;exports.TOOLBAR_STORAGE_KEY_HIDDEN=d;exports.TOOLBAR_STORAGE_KEY_ITEMS=_;exports.TOOLBAR_STORAGE_VALUE_FALSE=L;exports.TOOLBAR_STORAGE_VALUE_TRUE=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="toolbar-customize",t="toolbar-hide",o="Customize toolbar",i="Hide toolbar",n="show-toolbar",r="Show toolbar",a="Show toolbar",l="Ask about this document or request a change…",d="Show formatting toolbar",O="ink-toolbar-hidden",s="ink-toolbar-items",_="true",T="false",h="divider",L={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",headingDropdown:"Heading",fontDropdown:"Font",bulletList:"Bullet list",orderedList:"Numbered list",checklist:"Checklist",listDropdown:"List",blockquote:"Quote",code:"Code",link:"Link",image:"Image",table:"Table",signature:"Sign pad",findReplace:"Find and replace",findReplaceDropdown:"Find and replace",horizontalRule:"Horizontal rule",undo:"Undo",redo:"Redo",trackChanges:"Track changes",comments:"Comments",ai:"AI",textColor:"Text color",highlightColor:"Highlight color",directionLtr:"Left to right",directionRtl:"Right to left",superscript:"Superscript",subscript:"Subscript",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignJustify:"Justify",indent:"Indent",outdent:"Outdent",clearFormat:"Clear formatting",htmlSource:"HTML source",titles:"Titles",excel:"Sheet",graph:"Graph",outline:"Outline",fullscreen:"Fullscreen",theme:"Theme",importMarkdown:"Import Markdown",exportMarkdown:"Export Markdown",exportDocx:"Export Word",exportPdf:"Export PDF",versions:"Version history",formatPainter:"Format painter",changeCase:"Change case",divider:"Divider"},c={bold:"Bold the selected text",italic:"Italicize the selected text",underline:"Underline the selected text",strikethrough:"Strike through the selected text",heading1:"Largest heading",heading2:"Section heading",heading3:"Subsection heading",heading4:"Small heading",heading5:"Caption heading",heading6:"Fine heading",paragraph:"Body paragraph",headingDropdown:"Paragraph and heading styles",fontDropdown:"Font family",bulletList:"Bulleted list",orderedList:"Numbered list",checklist:"Checklist",listDropdown:"List style",blockquote:"Quote block",code:"Code block",link:"Link the selected text",image:"Insert an image",table:"Insert a table",signature:"Open the sign pad",findReplace:"Find and replace",findReplaceDropdown:"Find and replace",horizontalRule:"Insert a divider line",undo:"Undo the last change",redo:"Redo the last undone change",trackChanges:"Show insert and delete marks",comments:"Add or open comments",ai:"Ask Ink AI about this document",textColor:"Text color",highlightColor:"Highlight color",directionLtr:"Left to right",directionRtl:"Right to left",superscript:"Superscript",subscript:"Subscript",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignJustify:"Justify",indent:"Indent",outdent:"Outdent",clearFormat:"Clear formatting",htmlSource:"Toggle HTML source",titles:"Styled title gallery",excel:"Sheet grid or CSV import",graph:"Bar, line, or pie graph",outline:"Show or hide the outline rail",fullscreen:"Fill the screen with the editor",theme:"Editor paper theme",importMarkdown:"Import a Markdown file",exportMarkdown:"Download this document as Markdown",exportDocx:"Download a Word document",exportPdf:"Print or save as PDF",versions:"Save, restore, or compare a snapshot",formatPainter:"Copy formatting onto the next selection",changeCase:"UPPER, lower, or Title Case",divider:""},g="Customize toolbar",E="Done",A="Toolbar options";exports.AGENT_BAR_PLACEHOLDER=l;exports.CONTEXT_MENU_ID_SHOW_TOOLBAR=n;exports.CONTEXT_MENU_LABEL_SHOW_TOOLBAR=r;exports.TOOLBAR_CONTEXT_MENU_ID_CUSTOMIZE=e;exports.TOOLBAR_CONTEXT_MENU_ID_HIDE=t;exports.TOOLBAR_CONTEXT_MENU_LABEL_CUSTOMIZE=o;exports.TOOLBAR_CONTEXT_MENU_LABEL_HIDE=i;exports.TOOLBAR_CUSTOMIZE_CLOSE_LABEL=E;exports.TOOLBAR_CUSTOMIZE_LIST_ARIA_LABEL=A;exports.TOOLBAR_CUSTOMIZE_TITLE=g;exports.TOOLBAR_OPTION_DIVIDER=h;exports.TOOLBAR_OPTION_HINTS=c;exports.TOOLBAR_OPTION_LABELS=L;exports.TOOLBAR_SHOW_CONTROL_ARIA_LABEL=d;exports.TOOLBAR_SHOW_CONTROL_LABEL=a;exports.TOOLBAR_STORAGE_KEY_HIDDEN=O;exports.TOOLBAR_STORAGE_KEY_ITEMS=s;exports.TOOLBAR_STORAGE_VALUE_FALSE=T;exports.TOOLBAR_STORAGE_VALUE_TRUE=_;
@@ -1 +1 @@
1
- {"version":3,"file":"toolbarMenu.const.d.ts","sourceRoot":"","sources":["../../src/constants/toolbarMenu.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,iCAAiC,sBAAsB,CAAC;AACrE,eAAO,MAAM,4BAA4B,iBAAiB,CAAC;AAC3D,eAAO,MAAM,oCAAoC,sBAAsB,CAAC;AACxE,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,eAAO,MAAM,4BAA4B,iBAAiB,CAAC;AAC3D,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,eAAO,MAAM,0BAA0B,iBAAiB,CAAC;AACzD,eAAO,MAAM,qBAAqB,sDAAiD,CAAC;AACpF,eAAO,MAAM,+BAA+B,4BAA4B,CAAC;AAEzE,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,sBAAsB,CAAC;AAC7D,eAAO,MAAM,0BAA0B,SAAS,CAAC;AACjD,eAAO,MAAM,2BAA2B,UAAU,CAAC;AAEnD,eAAO,MAAM,sBAAsB,EAAG,SAAkB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAqD/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAqD9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAE/D,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,6BAA6B,SAAS,CAAC;AACpD,eAAO,MAAM,iCAAiC,oBAAoB,CAAC"}
1
+ {"version":3,"file":"toolbarMenu.const.d.ts","sourceRoot":"","sources":["../../src/constants/toolbarMenu.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,iCAAiC,sBAAsB,CAAC;AACrE,eAAO,MAAM,4BAA4B,iBAAiB,CAAC;AAC3D,eAAO,MAAM,oCAAoC,sBAAsB,CAAC;AACxE,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,eAAO,MAAM,4BAA4B,iBAAiB,CAAC;AAC3D,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,eAAO,MAAM,0BAA0B,iBAAiB,CAAC;AACzD,eAAO,MAAM,qBAAqB,sDAAiD,CAAC;AACpF,eAAO,MAAM,+BAA+B,4BAA4B,CAAC;AAEzE,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,sBAAsB,CAAC;AAC7D,eAAO,MAAM,0BAA0B,SAAS,CAAC;AACjD,eAAO,MAAM,2BAA2B,UAAU,CAAC;AAEnD,eAAO,MAAM,sBAAsB,EAAG,SAAkB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CA4D/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CA4D9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAE/D,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,6BAA6B,SAAS,CAAC;AACpD,eAAO,MAAM,iCAAiC,oBAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
- const e = "toolbar-customize", t = "toolbar-hide", i = "Customize toolbar", n = "Hide toolbar", o = "show-toolbar", r = "Show toolbar", l = "Show toolbar", a = "Ask about this document or request a change…", d = "Show formatting toolbar", s = "ink-toolbar-hidden", h = "ink-toolbar-items", c = "true", g = "false", O = "divider", u = {
1
+ const e = "toolbar-customize", t = "toolbar-hide", o = "Customize toolbar", n = "Hide toolbar", i = "show-toolbar", r = "Show toolbar", a = "Show toolbar", l = "Ask about this document or request a change…", d = "Show formatting toolbar", s = "ink-toolbar-hidden", h = "ink-toolbar-items", c = "true", g = "false", O = "divider", p = {
2
2
  bold: "Bold",
3
3
  italic: "Italic",
4
4
  underline: "Underline",
@@ -50,8 +50,15 @@ const e = "toolbar-customize", t = "toolbar-hide", i = "Customize toolbar", n =
50
50
  outline: "Outline",
51
51
  fullscreen: "Fullscreen",
52
52
  theme: "Theme",
53
+ importMarkdown: "Import Markdown",
54
+ exportMarkdown: "Export Markdown",
55
+ exportDocx: "Export Word",
56
+ exportPdf: "Export PDF",
57
+ versions: "Version history",
58
+ formatPainter: "Format painter",
59
+ changeCase: "Change case",
53
60
  divider: "Divider"
54
- }, L = {
61
+ }, u = {
55
62
  bold: "Bold the selected text",
56
63
  italic: "Italicize the selected text",
57
64
  underline: "Underline the selected text",
@@ -103,24 +110,31 @@ const e = "toolbar-customize", t = "toolbar-hide", i = "Customize toolbar", n =
103
110
  outline: "Show or hide the outline rail",
104
111
  fullscreen: "Fill the screen with the editor",
105
112
  theme: "Editor paper theme",
113
+ importMarkdown: "Import a Markdown file",
114
+ exportMarkdown: "Download this document as Markdown",
115
+ exportDocx: "Download a Word document",
116
+ exportPdf: "Print or save as PDF",
117
+ versions: "Save, restore, or compare a snapshot",
118
+ formatPainter: "Copy formatting onto the next selection",
119
+ changeCase: "UPPER, lower, or Title Case",
106
120
  divider: ""
107
- }, T = "Customize toolbar", _ = "Done", p = "Toolbar options";
121
+ }, T = "Customize toolbar", L = "Done", _ = "Toolbar options";
108
122
  export {
109
- a as AGENT_BAR_PLACEHOLDER,
110
- o as CONTEXT_MENU_ID_SHOW_TOOLBAR,
123
+ l as AGENT_BAR_PLACEHOLDER,
124
+ i as CONTEXT_MENU_ID_SHOW_TOOLBAR,
111
125
  r as CONTEXT_MENU_LABEL_SHOW_TOOLBAR,
112
126
  e as TOOLBAR_CONTEXT_MENU_ID_CUSTOMIZE,
113
127
  t as TOOLBAR_CONTEXT_MENU_ID_HIDE,
114
- i as TOOLBAR_CONTEXT_MENU_LABEL_CUSTOMIZE,
128
+ o as TOOLBAR_CONTEXT_MENU_LABEL_CUSTOMIZE,
115
129
  n as TOOLBAR_CONTEXT_MENU_LABEL_HIDE,
116
- _ as TOOLBAR_CUSTOMIZE_CLOSE_LABEL,
117
- p as TOOLBAR_CUSTOMIZE_LIST_ARIA_LABEL,
130
+ L as TOOLBAR_CUSTOMIZE_CLOSE_LABEL,
131
+ _ as TOOLBAR_CUSTOMIZE_LIST_ARIA_LABEL,
118
132
  T as TOOLBAR_CUSTOMIZE_TITLE,
119
133
  O as TOOLBAR_OPTION_DIVIDER,
120
- L as TOOLBAR_OPTION_HINTS,
121
- u as TOOLBAR_OPTION_LABELS,
134
+ u as TOOLBAR_OPTION_HINTS,
135
+ p as TOOLBAR_OPTION_LABELS,
122
136
  d as TOOLBAR_SHOW_CONTROL_ARIA_LABEL,
123
- l as TOOLBAR_SHOW_CONTROL_LABEL,
137
+ a as TOOLBAR_SHOW_CONTROL_LABEL,
124
138
  s as TOOLBAR_STORAGE_KEY_HIDDEN,
125
139
  h as TOOLBAR_STORAGE_KEY_ITEMS,
126
140
  g as TOOLBAR_STORAGE_VALUE_FALSE,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _="none",E="vertical",I="horizontal",K="Untitled Document",S="Workspace",T="New Folder",O="Search documents...",L="+",N="×",R="Split View:",A="Save document",P="Rename",C="Delete",W="docs",t="Untitled",o="Hide explorer",e="Show explorer",n="Single view",D="Split side-by-side",c="Split stacked";exports.INK_SPLIT_MODE_HORIZONTAL=I;exports.INK_SPLIT_MODE_NONE=_;exports.INK_SPLIT_MODE_VERTICAL=E;exports.INK_WORKSPACE_CLOSE_FOLDER_BUTTON=N;exports.INK_WORKSPACE_DELETE_TITLE=C;exports.INK_WORKSPACE_DOCS_SUFFIX=W;exports.INK_WORKSPACE_HIDE_EXPLORER_TITLE=o;exports.INK_WORKSPACE_NEW_DOC_BUTTON=L;exports.INK_WORKSPACE_NEW_FOLDER=T;exports.INK_WORKSPACE_RENAME_TITLE=P;exports.INK_WORKSPACE_SAVE_TITLE=A;exports.INK_WORKSPACE_SEARCH_PLACEHOLDER=O;exports.INK_WORKSPACE_SHOW_EXPLORER_TITLE=e;exports.INK_WORKSPACE_SINGLE_VIEW_TITLE=n;exports.INK_WORKSPACE_SPLIT_SIDE_TITLE=D;exports.INK_WORKSPACE_SPLIT_STACKED_TITLE=c;exports.INK_WORKSPACE_SPLIT_VIEW_LABEL=R;exports.INK_WORKSPACE_TITLE=S;exports.INK_WORKSPACE_UNTITLED_DOC=K;exports.INK_WORKSPACE_UNTITLED_FALLBACK=t;
@@ -0,0 +1,24 @@
1
+ import { InkSplitMode } from '../types/workspace.types';
2
+ export declare const INK_SPLIT_MODE_NONE: InkSplitMode;
3
+ export declare const INK_SPLIT_MODE_VERTICAL: InkSplitMode;
4
+ export declare const INK_SPLIT_MODE_HORIZONTAL: InkSplitMode;
5
+ export declare const INK_WORKSPACE_UNTITLED_DOC = "Untitled Document";
6
+ export declare const INK_WORKSPACE_TITLE = "Workspace";
7
+ export declare const INK_WORKSPACE_NEW_FOLDER = "New Folder";
8
+ export declare const INK_WORKSPACE_SEARCH_PLACEHOLDER = "Search documents...";
9
+ export declare const INK_WORKSPACE_NEW_DOC_BUTTON = "+";
10
+ export declare const INK_WORKSPACE_CLOSE_FOLDER_BUTTON = "\u00D7";
11
+ export declare const INK_WORKSPACE_SPLIT_VIEW_LABEL = "Split View:";
12
+ export declare const INK_WORKSPACE_SAVE_TITLE = "Save document";
13
+ export declare const INK_WORKSPACE_RENAME_TITLE = "Rename";
14
+ export declare const INK_WORKSPACE_DELETE_TITLE = "Delete";
15
+ export declare const INK_WORKSPACE_DOCS_SUFFIX = "docs";
16
+ export declare const INK_WORKSPACE_UNTITLED_FALLBACK = "Untitled";
17
+ export declare const INK_WORKSPACE_HIDE_EXPLORER_TITLE = "Hide explorer";
18
+ export declare const INK_WORKSPACE_SHOW_EXPLORER_TITLE = "Show explorer";
19
+ export declare const INK_WORKSPACE_SINGLE_VIEW_TITLE = "Single view";
20
+ export declare const INK_WORKSPACE_SPLIT_SIDE_TITLE = "Split side-by-side";
21
+ export declare const INK_WORKSPACE_SPLIT_STACKED_TITLE = "Split stacked";
22
+ export declare const INK_WORKSPACE_DEFAULT_INITIAL_CONTENT = "<p>Start typing...</p>";
23
+ export declare const ID_PREFIX_DOC = "doc";
24
+ //# sourceMappingURL=workspace.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.const.d.ts","sourceRoot":"","sources":["../../src/constants/workspace.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,mBAAmB,EAAE,YAAqB,CAAC;AACxD,eAAO,MAAM,uBAAuB,EAAE,YAAyB,CAAC;AAChE,eAAO,MAAM,yBAAyB,EAAE,YAA2B,CAAC;AAEpE,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAC9D,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,wBAAwB,eAAe,CAAC;AACrD,eAAO,MAAM,gCAAgC,wBAAwB,CAAC;AACtE,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAChD,eAAO,MAAM,iCAAiC,WAAM,CAAC;AACrD,eAAO,MAAM,8BAA8B,gBAAgB,CAAC;AAC5D,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AACxD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AACnD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AACnD,eAAO,MAAM,yBAAyB,SAAS,CAAC;AAChD,eAAO,MAAM,+BAA+B,aAAa,CAAC;AAC1D,eAAO,MAAM,iCAAiC,kBAAkB,CAAC;AACjE,eAAO,MAAM,iCAAiC,kBAAkB,CAAC;AACjE,eAAO,MAAM,+BAA+B,gBAAgB,CAAC;AAC7D,eAAO,MAAM,8BAA8B,uBAAuB,CAAC;AACnE,eAAO,MAAM,iCAAiC,kBAAkB,CAAC;AACjE,eAAO,MAAM,qCAAqC,2BAA2B,CAAC;AAC9E,eAAO,MAAM,aAAa,QAAQ,CAAC"}
@@ -0,0 +1,23 @@
1
+ const _ = "none", E = "vertical", I = "horizontal", K = "Untitled Document", S = "Workspace", T = "New Folder", t = "Search documents...", O = "+", o = "×", L = "Split View:", N = "Save document", n = "Rename", e = "Delete", R = "docs", c = "Untitled", A = "Hide explorer", s = "Show explorer", C = "Single view", P = "Split side-by-side", W = "Split stacked";
2
+ export {
3
+ I as INK_SPLIT_MODE_HORIZONTAL,
4
+ _ as INK_SPLIT_MODE_NONE,
5
+ E as INK_SPLIT_MODE_VERTICAL,
6
+ o as INK_WORKSPACE_CLOSE_FOLDER_BUTTON,
7
+ e as INK_WORKSPACE_DELETE_TITLE,
8
+ R as INK_WORKSPACE_DOCS_SUFFIX,
9
+ A as INK_WORKSPACE_HIDE_EXPLORER_TITLE,
10
+ O as INK_WORKSPACE_NEW_DOC_BUTTON,
11
+ T as INK_WORKSPACE_NEW_FOLDER,
12
+ n as INK_WORKSPACE_RENAME_TITLE,
13
+ N as INK_WORKSPACE_SAVE_TITLE,
14
+ t as INK_WORKSPACE_SEARCH_PLACEHOLDER,
15
+ s as INK_WORKSPACE_SHOW_EXPLORER_TITLE,
16
+ C as INK_WORKSPACE_SINGLE_VIEW_TITLE,
17
+ P as INK_WORKSPACE_SPLIT_SIDE_TITLE,
18
+ W as INK_WORKSPACE_SPLIT_STACKED_TITLE,
19
+ L as INK_WORKSPACE_SPLIT_VIEW_LABEL,
20
+ S as INK_WORKSPACE_TITLE,
21
+ K as INK_WORKSPACE_UNTITLED_DOC,
22
+ c as INK_WORKSPACE_UNTITLED_FALLBACK
23
+ };
@@ -1,2 +1,4 @@
1
1
  export { useToolbarOverflow } from './useToolbarOverflow';
2
+ export { useInkCollaboration } from './useInkCollaboration';
3
+ export type { UseInkCollaborationOptions, UseInkCollaborationReturn, } from './useInkCollaboration';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EACV,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),y=require("../constants/numbers.cjs");require("../constants/openai.const.cjs");require("react/jsx-runtime");require("../utils/paste.utils.cjs");require("../utils/exportDocument.utils.cjs");require("react-dom");const S=require("../constants/collab.const.cjs"),m=({roomId:c=S.INK_DEFAULT_ROOM_ID,user:n,initialCollaborators:C=[],serverUrl:d,simulateDemo:O=!1}={})=>{const[k,a]=o.useState(()=>C.length>y.NUMBER_ZERO?C:O?S.DEFAULT_DEMO_COLLABORATORS:[]),[R,u]=o.useState(!0),i=o.useRef(null);o.useEffect(()=>{if(!(!d||typeof WebSocket>"u"))try{const e=new WebSocket(`${d}?room=${encodeURIComponent(c)}`);return i.current=e,e.onopen=()=>{u(!0),n&&e.send(JSON.stringify({type:"join",room:c,user:n}))},e.onmessage=r=>{try{const t=JSON.parse(r.data);t.type==="presence"&&Array.isArray(t.collaborators)?a(t.collaborators):t.type==="cursor"&&t.collaborator&&a(s=>{const b=s.findIndex(l=>l.id===t.collaborator.id);if(b>=y.NUMBER_ZERO){const l=[...s];return l[b]={...l[b],...t.collaborator},l}return[...s,t.collaborator]})}catch{}},e.onclose=()=>u(!1),e.onerror=()=>u(!1),()=>{e.close(),i.current=null}}catch{u(!1)}},[d,c,n]);const f=o.useCallback(e=>{i.current&&i.current.readyState===WebSocket.OPEN&&i.current.send(JSON.stringify({type:"cursor",room:c,userId:n==null?void 0:n.id,cursor:e}))},[c,n]),p=o.useCallback((e,r,t)=>{f({selection:{start:e,end:r,text:t}})},[f]),E=o.useCallback(e=>{a(r=>r.some(t=>t.id===e.id)?r.map(t=>t.id===e.id?e:t):[...r,e])},[]),q=o.useCallback(e=>{a(r=>r.filter(t=>t.id!==e))},[]),_=o.useCallback((e,r)=>{a(t=>t.map(s=>s.id===e?{...s,status:r}:s))},[]);return{collaborators:k,isConnected:R,broadcastCursor:f,broadcastSelection:p,addCollaborator:E,removeCollaborator:q,updateCollaboratorStatus:_,setCollaborators:a}};exports.useInkCollaboration=m;
@@ -0,0 +1,4 @@
1
+ import { UseInkCollaborationOptions, UseInkCollaborationReturn } from '../types';
2
+ export type { UseInkCollaborationOptions, UseInkCollaborationReturn };
3
+ export declare const useInkCollaboration: ({ roomId, user, initialCollaborators, serverUrl, simulateDemo, }?: UseInkCollaborationOptions) => UseInkCollaborationReturn;
4
+ //# sourceMappingURL=useInkCollaboration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInkCollaboration.d.ts","sourceRoot":"","sources":["../../src/hooks/useInkCollaboration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAIV,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAOjB,YAAY,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,CAAC;AAEtE,eAAO,MAAM,mBAAmB,GAAI,mEAMjC,0BAA+B,KAAG,yBAkHpC,CAAC"}
@@ -0,0 +1,87 @@
1
+ import { useState as b, useRef as N, useEffect as _, useCallback as f } from "react";
2
+ import { NUMBER_ZERO as y } from "../constants/numbers.js";
3
+ import "../constants/openai.const.js";
4
+ import "react/jsx-runtime";
5
+ import "../utils/paste.utils.js";
6
+ import "../utils/exportDocument.utils.js";
7
+ import "react-dom";
8
+ import { DEFAULT_DEMO_COLLABORATORS as g, INK_DEFAULT_ROOM_ID as x } from "../constants/collab.const.js";
9
+ const w = ({
10
+ roomId: c = x,
11
+ user: r,
12
+ initialCollaborators: m = [],
13
+ serverUrl: d,
14
+ simulateDemo: O = !1
15
+ } = {}) => {
16
+ const [S, s] = b(() => m.length > y ? m : O ? g : []), [C, l] = b(!0), a = N(null);
17
+ _(() => {
18
+ if (!(!d || typeof WebSocket > "u"))
19
+ try {
20
+ const t = new WebSocket(`${d}?room=${encodeURIComponent(c)}`);
21
+ return a.current = t, t.onopen = () => {
22
+ l(!0), r && t.send(JSON.stringify({ type: "join", room: c, user: r }));
23
+ }, t.onmessage = (e) => {
24
+ try {
25
+ const o = JSON.parse(e.data);
26
+ o.type === "presence" && Array.isArray(o.collaborators) ? s(o.collaborators) : o.type === "cursor" && o.collaborator && s((n) => {
27
+ const p = n.findIndex((i) => i.id === o.collaborator.id);
28
+ if (p >= y) {
29
+ const i = [...n];
30
+ return i[p] = { ...i[p], ...o.collaborator }, i;
31
+ }
32
+ return [...n, o.collaborator];
33
+ });
34
+ } catch {
35
+ }
36
+ }, t.onclose = () => l(!1), t.onerror = () => l(!1), () => {
37
+ t.close(), a.current = null;
38
+ };
39
+ } catch {
40
+ l(!1);
41
+ }
42
+ }, [d, c, r]);
43
+ const u = f(
44
+ (t) => {
45
+ a.current && a.current.readyState === WebSocket.OPEN && a.current.send(
46
+ JSON.stringify({
47
+ type: "cursor",
48
+ room: c,
49
+ userId: r == null ? void 0 : r.id,
50
+ cursor: t
51
+ })
52
+ );
53
+ },
54
+ [c, r]
55
+ ), R = f(
56
+ (t, e, o) => {
57
+ u({
58
+ selection: { start: t, end: e, text: o }
59
+ });
60
+ },
61
+ [u]
62
+ ), E = f((t) => {
63
+ s((e) => e.some((o) => o.id === t.id) ? e.map((o) => o.id === t.id ? t : o) : [...e, t]);
64
+ }, []), k = f((t) => {
65
+ s((e) => e.filter((o) => o.id !== t));
66
+ }, []), A = f(
67
+ (t, e) => {
68
+ s(
69
+ (o) => o.map((n) => n.id === t ? { ...n, status: e } : n)
70
+ );
71
+ },
72
+ []
73
+ );
74
+ return {
75
+ collaborators: S,
76
+ isConnected: C,
77
+ broadcastCursor: u,
78
+ broadcastSelection: R,
79
+ addCollaborator: E,
80
+ removeCollaborator: k,
81
+ updateCollaboratorStatus: A,
82
+ setCollaborators: s
83
+ };
84
+ };
85
+ export {
86
+ w as useInkCollaboration
87
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),e=require("../constants/numbers.cjs");require("../constants/openai.const.cjs");require("react/jsx-runtime");require("../utils/paste.utils.cjs");require("react-dom");const b=n=>{const u=r.useRef(null),c=r.useRef(null),[a,E]=r.useState(n),[_,N]=r.useState(!1);return r.useLayoutEffect(()=>{const i=u.current,t=c.current;if(!i||!t)return;const f=()=>{const d=t.clientWidth-e.INK_TOOLBAR_MORE_WIDTH_PX-e.INK_TOOLBAR_GAP_PX,M=Array.from(i.children).filter(s=>s instanceof HTMLElement);let O=e.NUMBER_ZERO,o=e.NUMBER_ZERO;M.forEach(s=>{const R=O+s.offsetWidth+(o>e.NUMBER_ZERO?e.INK_TOOLBAR_GAP_PX:e.NUMBER_ZERO);R>d||(O=R,o+=e.NUMBER_ONE)}),E(Math.max(o,e.NUMBER_ONE))};f();const l=new ResizeObserver(f);return l.observe(t),()=>l.disconnect()},[n]),{measureRef:u,rowRef:c,fitCount:a,overflowOpen:_,setOverflowOpen:N}};exports.useToolbarOverflow=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),e=require("../constants/numbers.cjs");require("../constants/openai.const.cjs");require("react/jsx-runtime");require("../utils/paste.utils.cjs");require("../utils/exportDocument.utils.cjs");require("react-dom");const b=n=>{const u=r.useRef(null),c=r.useRef(null),[a,E]=r.useState(n),[_,N]=r.useState(!1);return r.useLayoutEffect(()=>{const i=u.current,t=c.current;if(!i||!t)return;const f=()=>{const d=t.clientWidth-e.INK_TOOLBAR_MORE_WIDTH_PX-e.INK_TOOLBAR_GAP_PX,M=Array.from(i.children).filter(s=>s instanceof HTMLElement);let O=e.NUMBER_ZERO,o=e.NUMBER_ZERO;M.forEach(s=>{const R=O+s.offsetWidth+(o>e.NUMBER_ZERO?e.INK_TOOLBAR_GAP_PX:e.NUMBER_ZERO);R>d||(O=R,o+=e.NUMBER_ONE)}),E(Math.max(o,e.NUMBER_ONE))};f();const l=new ResizeObserver(f);return l.observe(t),()=>l.disconnect()},[n]),{measureRef:u,rowRef:c,fitCount:a,overflowOpen:_,setOverflowOpen:N}};exports.useToolbarOverflow=b;
@@ -1,29 +1,30 @@
1
1
  import { useRef as a, useState as O, useLayoutEffect as b } from "react";
2
- import { INK_TOOLBAR_MORE_WIDTH_PX as h, INK_TOOLBAR_GAP_PX as d, NUMBER_ZERO as e, NUMBER_ONE as R } from "../constants/numbers.js";
2
+ import { INK_TOOLBAR_MORE_WIDTH_PX as h, INK_TOOLBAR_GAP_PX as d, NUMBER_ZERO as e, NUMBER_ONE as p } from "../constants/numbers.js";
3
3
  import "../constants/openai.const.js";
4
4
  import "react/jsx-runtime";
5
5
  import "../utils/paste.utils.js";
6
+ import "../utils/exportDocument.utils.js";
6
7
  import "react-dom";
7
- const I = (n) => {
8
- const s = a(null), c = a(null), [p, _] = O(n), [E, v] = O(!1);
8
+ const P = (n) => {
9
+ const s = a(null), c = a(null), [R, _] = O(n), [E, v] = O(!1);
9
10
  return b(() => {
10
11
  const f = s.current, t = c.current;
11
12
  if (!f || !t) return;
12
- const u = () => {
13
+ const i = () => {
13
14
  const N = t.clientWidth - h - d, w = Array.from(f.children).filter(
14
15
  (r) => r instanceof HTMLElement
15
16
  );
16
17
  let l = e, o = e;
17
18
  w.forEach((r) => {
18
19
  const m = l + r.offsetWidth + (o > e ? d : e);
19
- m > N || (l = m, o += R);
20
- }), _(Math.max(o, R));
20
+ m > N || (l = m, o += p);
21
+ }), _(Math.max(o, p));
21
22
  };
22
- u();
23
- const i = new ResizeObserver(u);
24
- return i.observe(t), () => i.disconnect();
25
- }, [n]), { measureRef: s, rowRef: c, fitCount: p, overflowOpen: E, setOverflowOpen: v };
23
+ i();
24
+ const u = new ResizeObserver(i);
25
+ return u.observe(t), () => u.disconnect();
26
+ }, [n]), { measureRef: s, rowRef: c, fitCount: R, overflowOpen: E, setOverflowOpen: v };
26
27
  };
27
28
  export {
28
- I as useToolbarOverflow
29
+ P as useToolbarOverflow
29
30
  };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./components/InkEditor/InkEditor.cjs"),P=require("./common-components/Box/Box.cjs"),L=require("./common-components/Button/Button.cjs"),S=require("./common-components/Canvas/Canvas.cjs"),D=require("./common-components/Field/Field.cjs"),K=require("./common-components/ContextMenu/ContextMenu.cjs"),m=require("./common-components/icons/UndoIcon.cjs"),C=require("./common-components/icons/RedoIcon.cjs"),M=require("./common-components/icons/GripIcon.cjs");require("react/jsx-runtime");const d=require("./utils/cn.utils.cjs"),q=require("./utils/typo.utils.cjs"),k=require("./utils/id.utils.cjs"),_=require("./utils/table.utils.cjs"),c=require("./constants/toolbarMenu.const.cjs"),I=require("./constants/colorMode.const.cjs"),p=require("./constants/typos.const.cjs"),b=require("./constants/fonts.const.cjs"),H=require("./constants/lists.const.cjs"),G=require("./constants/findReplaceMenu.const.cjs"),e=require("./constants/defaults.const.cjs"),n=require("./constants/aiModels.const.cjs"),t=require("./constants/openai.const.cjs"),O=require("./constants/premium.const.cjs"),F=require("./constants/defaultIcons.cjs"),U=require("./utils/trackChanges.utils.cjs"),h=require("./utils/comments.utils.cjs"),g=require("./utils/history.utils.cjs"),o=require("./utils/premium.utils.cjs"),v=require("./utils/license.utils.cjs"),B=require("./utils/paste.utils.cjs"),s=require("./utils/selection.utils.cjs"),E=require("./utils/toolbarStorage.utils.cjs"),A=require("./plugins/ai/aiPlugin.cjs"),y=require("./plugins/ai/demoProvider.cjs"),x=require("./plugins/ai/openaiProvider.cjs"),V=require("./plugins/ai/inkServerProvider.cjs"),u=require("./plugins/host/inkPlugins.cjs"),T=require("./plugins/titles/titles.const.cjs"),Y=require("./plugins/titles/titles.utils.cjs"),r=require("./plugins/excel/excel.utils.cjs"),i=require("./plugins/graph/graph.const.cjs"),a=require("./plugins/graph/graph.utils.cjs"),N=require("./plugins/theme/theme.const.cjs"),l=require("./plugins/theme/inkTheme.cjs");exports.InkEditor=R.InkEditor;exports.Box=P.Box;exports.Button=L.Button;exports.Canvas=S.Canvas;exports.Field=D.Field;exports.ContextMenu=K.ContextMenu;exports.UndoIcon=m.UndoIcon;exports.RedoIcon=C.RedoIcon;exports.GripIcon=M.GripIcon;exports.cn=d.cn;exports.applyTypoAutoFix=q.applyTypoAutoFix;exports.createInkId=k.createInkId;exports.buildTableHtml=_.buildTableHtml;exports.deleteTableColumn=_.deleteTableColumn;exports.deleteTableRow=_.deleteTableRow;exports.getTableCellFromSelection=_.getTableCellFromSelection;exports.insertTableColumn=_.insertTableColumn;exports.insertTableRow=_.insertTableRow;exports.toggleTableHeaderRow=_.toggleTableHeaderRow;exports.TOOLBAR_STORAGE_KEY_HIDDEN=c.TOOLBAR_STORAGE_KEY_HIDDEN;exports.TOOLBAR_STORAGE_KEY_ITEMS=c.TOOLBAR_STORAGE_KEY_ITEMS;exports.COLOR_MODE_DARK=I.COLOR_MODE_DARK;exports.COLOR_MODE_LIGHT=I.COLOR_MODE_LIGHT;exports.COLOR_MODE_SYSTEM=I.COLOR_MODE_SYSTEM;exports.INK_DEFAULT_COLOR_MODE=I.INK_DEFAULT_COLOR_MODE;exports.TYPO_DICTIONARY=p.TYPO_DICTIONARY;exports.INK_FONT_OPTIONS=b.INK_FONT_OPTIONS;exports.INK_LIST_OPTIONS=H.INK_LIST_OPTIONS;exports.INK_FIND_REPLACE_OPTIONS=G.INK_FIND_REPLACE_OPTIONS;exports.INK_CHROME_TOOLBAR=e.INK_CHROME_TOOLBAR;exports.INK_COLLAB_TOOLBAR=e.INK_COLLAB_TOOLBAR;exports.INK_DEFAULT_FEATURES=e.INK_DEFAULT_FEATURES;exports.INK_DEFAULT_TOOLBAR=e.INK_DEFAULT_TOOLBAR;exports.INK_HEADING_OPTIONS=e.INK_HEADING_OPTIONS;exports.INK_QUICK_ACTIONS=e.INK_QUICK_ACTIONS;exports.INK_SIMPLE_TOOLBAR=e.INK_SIMPLE_TOOLBAR;exports.INK_SLASH_COMMANDS=e.INK_SLASH_COMMANDS;exports.INK_TRANSLATE_LANGUAGES=e.INK_TRANSLATE_LANGUAGES;exports.INK_AI_DEMO_MODEL_ID=n.INK_AI_DEMO_MODEL_ID;exports.INK_AI_DEMO_PROVIDER_ID=n.INK_AI_DEMO_PROVIDER_ID;exports.INK_AI_MODEL_CATALOG=n.INK_AI_MODEL_CATALOG;exports.INK_AI_INK_SERVER_PROVIDER_ID=t.INK_AI_INK_SERVER_PROVIDER_ID;exports.INK_AI_OPENAI_MODEL_GPT_4_1=t.INK_AI_OPENAI_MODEL_GPT_4_1;exports.INK_AI_OPENAI_MODEL_GPT_4_1_MINI=t.INK_AI_OPENAI_MODEL_GPT_4_1_MINI;exports.INK_AI_OPENAI_PROVIDER_ID=t.INK_AI_OPENAI_PROVIDER_ID;exports.INK_AI_OPENAI_PROVIDER_NAME=t.INK_AI_OPENAI_PROVIDER_NAME;exports.INK_PREMIUM_FEATURES=O.INK_PREMIUM_FEATURES;exports.INK_PREMIUM_LICENSE_PREFIX=O.INK_PREMIUM_LICENSE_PREFIX;exports.INK_DEFAULT_ICONS=F.INK_DEFAULT_ICONS;exports.createTrackChange=U.createTrackChange;exports.createCommentThread=h.createCommentThread;exports.InkHistoryStack=g.InkHistoryStack;exports.hasInkPremiumFeature=o.hasInkPremiumFeature;exports.isInkPremiumLicenseKey=o.isInkPremiumLicenseKey;exports.resolveInkPremium=o.resolveInkPremium;exports.themeTokensToStyle=o.themeTokensToStyle;exports.mintInkPremiumLicenseKey=v.mintInkPremiumLicenseKey;exports.sanitizePastedHtml=B.sanitizePastedHtml;exports.captureSelectionInRoot=s.captureSelectionInRoot;exports.restoreSelectionInRoot=s.restoreSelectionInRoot;exports.withPreservedSelection=s.withPreservedSelection;exports.buildVisibleToolbarItems=E.buildVisibleToolbarItems;exports.listCustomizableToolbarOptions=E.listCustomizableToolbarOptions;exports.normalizeToolbarItems=E.normalizeToolbarItems;exports.createInkAiPlugin=A.createInkAiPlugin;exports.inkAi=A.inkAi;exports.createDemoAiProvider=y.createDemoAiProvider;exports.createOpenAiProvider=x.createOpenAiProvider;exports.createInkServerAiProvider=V.createInkServerAiProvider;exports.createInkPluginHost=u.createInkPluginHost;exports.inkPlugins=u.inkPlugins;exports.TITLE_PREVIEW_TEXT=T.TITLE_PREVIEW_TEXT;exports.TITLE_STYLE_DEFAULT=T.TITLE_STYLE_DEFAULT;exports.TITLE_STYLE_IDS=T.TITLE_STYLE_IDS;exports.buildTitleHtml=Y.buildTitleHtml;exports.CSV_ACCEPT=r.CSV_ACCEPT;exports.createEmptyExcelGrid=r.createEmptyExcelGrid;exports.excelGridToTableHtml=r.excelGridToTableHtml;exports.parseCsvText=r.parseCsvText;exports.setExcelCell=r.setExcelCell;exports.GRAPH_KINDS=i.GRAPH_KINDS;exports.GRAPH_KIND_DEFAULT=i.GRAPH_KIND_DEFAULT;exports.GRAPH_KIND_LABELS=i.GRAPH_KIND_LABELS;exports.GRAPH_SAMPLE=i.GRAPH_SAMPLE;exports.buildGraphHtml=a.buildGraphHtml;exports.parseGraphColors=a.parseGraphColors;exports.INK_THEMES=N.INK_THEMES;exports.THEME_DEFAULT=N.THEME_DEFAULT;exports.applyInkTheme=l.applyInkTheme;exports.createInkThemePlugin=l.createInkThemePlugin;exports.inkTheme=l.inkTheme;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("./components/InkEditor/InkEditor.cjs"),L=require("./components/InkTabs/InkTabs.cjs"),S=require("./components/InkWorkspace/InkWorkspace.cjs");require("react");const u=require("./constants/toolbarMenu.const.cjs"),_=require("./constants/colorMode.const.cjs"),m=require("./constants/typos.const.cjs"),K=require("./constants/fonts.const.cjs"),C=require("./constants/lists.const.cjs"),M=require("./constants/findReplaceMenu.const.cjs"),e=require("./constants/defaults.const.cjs"),n=require("./constants/aiModels.const.cjs"),t=require("./constants/openai.const.cjs"),O=require("./constants/premium.const.cjs"),d=require("./constants/defaultIcons.cjs"),k=require("./common-components/Box/Box.cjs"),b=require("./common-components/Button/Button.cjs"),q=require("./common-components/Canvas/Canvas.cjs"),p=require("./common-components/Field/Field.cjs"),H=require("./common-components/ContextMenu/ContextMenu.cjs"),G=require("./common-components/icons/UndoIcon.cjs"),F=require("./common-components/icons/RedoIcon.cjs"),U=require("./common-components/icons/GripIcon.cjs");require("react/jsx-runtime");const g=require("./utils/cn.utils.cjs"),h=require("./utils/typo.utils.cjs"),v=require("./utils/id.utils.cjs"),r=require("./utils/table.utils.cjs"),B=require("./utils/trackChanges.utils.cjs"),y=require("./utils/comments.utils.cjs"),x=require("./utils/history.utils.cjs"),i=require("./utils/premium.utils.cjs"),V=require("./utils/license.utils.cjs"),Y=require("./utils/paste.utils.cjs");require("./utils/exportDocument.utils.cjs");const s=require("./utils/selection.utils.cjs"),l=require("./utils/toolbarStorage.utils.cjs"),c=require("./utils/collab.utils.cjs"),T=require("./utils/workspace.utils.cjs"),A=require("./plugins/ai/aiPlugin.cjs"),f=require("./plugins/ai/demoProvider.cjs"),w=require("./plugins/ai/openaiProvider.cjs"),z=require("./plugins/ai/inkServerProvider.cjs"),N=require("./plugins/host/inkPlugins.cjs"),E=require("./plugins/titles/titles.const.cjs"),W=require("./plugins/titles/titles.utils.cjs"),o=require("./plugins/excel/excel.utils.cjs"),I=require("./plugins/graph/graph.const.cjs"),R=require("./plugins/graph/graph.utils.cjs"),P=require("./plugins/theme/theme.const.cjs"),a=require("./plugins/theme/inkTheme.cjs"),X=require("./hooks/useInkCollaboration.cjs");exports.InkEditor=D.InkEditor;exports.InkTabs=L.InkTabs;exports.InkWorkspace=S.InkWorkspace;exports.TOOLBAR_STORAGE_KEY_HIDDEN=u.TOOLBAR_STORAGE_KEY_HIDDEN;exports.TOOLBAR_STORAGE_KEY_ITEMS=u.TOOLBAR_STORAGE_KEY_ITEMS;exports.COLOR_MODE_DARK=_.COLOR_MODE_DARK;exports.COLOR_MODE_LIGHT=_.COLOR_MODE_LIGHT;exports.COLOR_MODE_SYSTEM=_.COLOR_MODE_SYSTEM;exports.INK_DEFAULT_COLOR_MODE=_.INK_DEFAULT_COLOR_MODE;exports.TYPO_DICTIONARY=m.TYPO_DICTIONARY;exports.INK_FONT_OPTIONS=K.INK_FONT_OPTIONS;exports.INK_LIST_OPTIONS=C.INK_LIST_OPTIONS;exports.INK_FIND_REPLACE_OPTIONS=M.INK_FIND_REPLACE_OPTIONS;exports.INK_CHROME_TOOLBAR=e.INK_CHROME_TOOLBAR;exports.INK_COLLAB_TOOLBAR=e.INK_COLLAB_TOOLBAR;exports.INK_DEFAULT_FEATURES=e.INK_DEFAULT_FEATURES;exports.INK_DEFAULT_TOOLBAR=e.INK_DEFAULT_TOOLBAR;exports.INK_HEADING_OPTIONS=e.INK_HEADING_OPTIONS;exports.INK_QUICK_ACTIONS=e.INK_QUICK_ACTIONS;exports.INK_SIMPLE_TOOLBAR=e.INK_SIMPLE_TOOLBAR;exports.INK_SLASH_COMMANDS=e.INK_SLASH_COMMANDS;exports.INK_TRANSLATE_LANGUAGES=e.INK_TRANSLATE_LANGUAGES;exports.INK_AI_DEMO_MODEL_ID=n.INK_AI_DEMO_MODEL_ID;exports.INK_AI_DEMO_PROVIDER_ID=n.INK_AI_DEMO_PROVIDER_ID;exports.INK_AI_MODEL_CATALOG=n.INK_AI_MODEL_CATALOG;exports.INK_AI_INK_SERVER_PROVIDER_ID=t.INK_AI_INK_SERVER_PROVIDER_ID;exports.INK_AI_OPENAI_MODEL_GPT_4_1=t.INK_AI_OPENAI_MODEL_GPT_4_1;exports.INK_AI_OPENAI_MODEL_GPT_4_1_MINI=t.INK_AI_OPENAI_MODEL_GPT_4_1_MINI;exports.INK_AI_OPENAI_PROVIDER_ID=t.INK_AI_OPENAI_PROVIDER_ID;exports.INK_AI_OPENAI_PROVIDER_NAME=t.INK_AI_OPENAI_PROVIDER_NAME;exports.INK_PREMIUM_FEATURES=O.INK_PREMIUM_FEATURES;exports.INK_PREMIUM_LICENSE_PREFIX=O.INK_PREMIUM_LICENSE_PREFIX;exports.INK_DEFAULT_ICONS=d.INK_DEFAULT_ICONS;exports.Box=k.Box;exports.Button=b.Button;exports.Canvas=q.Canvas;exports.Field=p.Field;exports.ContextMenu=H.ContextMenu;exports.UndoIcon=G.UndoIcon;exports.RedoIcon=F.RedoIcon;exports.GripIcon=U.GripIcon;exports.cn=g.cn;exports.applyTypoAutoFix=h.applyTypoAutoFix;exports.createInkId=v.createInkId;exports.buildTableHtml=r.buildTableHtml;exports.deleteTableColumn=r.deleteTableColumn;exports.deleteTableRow=r.deleteTableRow;exports.getTableCellFromSelection=r.getTableCellFromSelection;exports.insertTableColumn=r.insertTableColumn;exports.insertTableRow=r.insertTableRow;exports.toggleTableHeaderRow=r.toggleTableHeaderRow;exports.createTrackChange=B.createTrackChange;exports.createCommentThread=y.createCommentThread;exports.InkHistoryStack=x.InkHistoryStack;exports.hasInkPremiumFeature=i.hasInkPremiumFeature;exports.isInkPremiumLicenseKey=i.isInkPremiumLicenseKey;exports.resolveInkPremium=i.resolveInkPremium;exports.themeTokensToStyle=i.themeTokensToStyle;exports.mintInkPremiumLicenseKey=V.mintInkPremiumLicenseKey;exports.sanitizePastedHtml=Y.sanitizePastedHtml;exports.captureSelectionInRoot=s.captureSelectionInRoot;exports.restoreSelectionInRoot=s.restoreSelectionInRoot;exports.withPreservedSelection=s.withPreservedSelection;exports.buildVisibleToolbarItems=l.buildVisibleToolbarItems;exports.listCustomizableToolbarOptions=l.listCustomizableToolbarOptions;exports.normalizeToolbarItems=l.normalizeToolbarItems;exports.createDefaultCollaborator=c.createDefaultCollaborator;exports.filterActiveCollaborators=c.filterActiveCollaborators;exports.getCollaboratorInitials=c.getCollaboratorInitials;exports.createDefaultDocument=T.createDefaultDocument;exports.filterDocuments=T.filterDocuments;exports.sortDocuments=T.sortDocuments;exports.createInkAiPlugin=A.createInkAiPlugin;exports.inkAi=A.inkAi;exports.createDemoAiProvider=f.createDemoAiProvider;exports.createOpenAiProvider=w.createOpenAiProvider;exports.createInkServerAiProvider=z.createInkServerAiProvider;exports.createInkPluginHost=N.createInkPluginHost;exports.inkPlugins=N.inkPlugins;exports.TITLE_PREVIEW_TEXT=E.TITLE_PREVIEW_TEXT;exports.TITLE_STYLE_DEFAULT=E.TITLE_STYLE_DEFAULT;exports.TITLE_STYLE_IDS=E.TITLE_STYLE_IDS;exports.buildTitleHtml=W.buildTitleHtml;exports.CSV_ACCEPT=o.CSV_ACCEPT;exports.createEmptyExcelGrid=o.createEmptyExcelGrid;exports.excelGridToTableHtml=o.excelGridToTableHtml;exports.parseCsvText=o.parseCsvText;exports.setExcelCell=o.setExcelCell;exports.GRAPH_KINDS=I.GRAPH_KINDS;exports.GRAPH_KIND_DEFAULT=I.GRAPH_KIND_DEFAULT;exports.GRAPH_KIND_LABELS=I.GRAPH_KIND_LABELS;exports.GRAPH_SAMPLE=I.GRAPH_SAMPLE;exports.buildGraphHtml=R.buildGraphHtml;exports.parseGraphColors=R.parseGraphColors;exports.INK_THEMES=P.INK_THEMES;exports.THEME_DEFAULT=P.THEME_DEFAULT;exports.applyInkTheme=a.applyInkTheme;exports.createInkThemePlugin=a.createInkThemePlugin;exports.inkTheme=a.inkTheme;exports.useInkCollaboration=X.useInkCollaboration;
package/dist/index.d.ts CHANGED
@@ -1,12 +1,14 @@
1
- export { InkEditor } from './components';
1
+ export { InkEditor, InkTabs, InkWorkspace } from './components';
2
2
  export { Box, Button, Canvas, ContextMenu, Field, UndoIcon, RedoIcon, GripIcon, } from './common-components';
3
3
  export type { BoxProps, ButtonProps, CanvasProps, ContextMenuItem, ContextMenuProps, FieldProps, } from './common-components';
4
- export { applyTypoAutoFix, cn, buildTableHtml, getTableCellFromSelection, insertTableRow, insertTableColumn, deleteTableRow, deleteTableColumn, toggleTableHeaderRow, buildVisibleToolbarItems, captureSelectionInRoot, createInkId, createCommentThread, createTrackChange, InkHistoryStack, listCustomizableToolbarOptions, normalizeToolbarItems, resolveInkPremium, restoreSelectionInRoot, hasInkPremiumFeature, isInkPremiumLicenseKey, mintInkPremiumLicenseKey, themeTokensToStyle, sanitizePastedHtml, withPreservedSelection, } from './utils';
4
+ export { applyTypoAutoFix, cn, buildTableHtml, getTableCellFromSelection, insertTableRow, insertTableColumn, deleteTableRow, deleteTableColumn, toggleTableHeaderRow, buildVisibleToolbarItems, captureSelectionInRoot, createInkId, createCommentThread, createTrackChange, InkHistoryStack, listCustomizableToolbarOptions, normalizeToolbarItems, resolveInkPremium, restoreSelectionInRoot, hasInkPremiumFeature, isInkPremiumLicenseKey, mintInkPremiumLicenseKey, themeTokensToStyle, sanitizePastedHtml, withPreservedSelection, getCollaboratorInitials, filterActiveCollaborators, createDefaultCollaborator, createDefaultDocument, filterDocuments, sortDocuments, } from './utils';
5
5
  export type { SavedSelection } from './utils';
6
6
  export { inkAi, createInkAiPlugin, createDemoAiProvider, createOpenAiProvider, createInkServerAiProvider, } from './plugins/ai';
7
7
  export { inkPlugins, createInkPluginHost } from './plugins/host';
8
8
  export { TITLE_PREVIEW_TEXT, TITLE_STYLE_DEFAULT, TITLE_STYLE_IDS, buildTitleHtml, CSV_ACCEPT, createEmptyExcelGrid, excelGridToTableHtml, parseCsvText, setExcelCell, GRAPH_KIND_DEFAULT, GRAPH_KIND_LABELS, GRAPH_KINDS, GRAPH_SAMPLE, buildGraphHtml, parseGraphColors, INK_THEMES, THEME_DEFAULT, applyInkTheme, createInkThemePlugin, inkTheme, } from './plugins';
9
9
  export type { TitleStyleId, ExcelGrid, GraphColors, GraphKind, GraphPoint, InkThemeId } from './plugins';
10
10
  export { INK_DEFAULT_TOOLBAR, INK_SIMPLE_TOOLBAR, INK_COLLAB_TOOLBAR, INK_CHROME_TOOLBAR, INK_HEADING_OPTIONS, INK_FONT_OPTIONS, INK_LIST_OPTIONS, INK_FIND_REPLACE_OPTIONS, INK_SLASH_COMMANDS, INK_AI_MODEL_CATALOG, INK_AI_DEMO_PROVIDER_ID, INK_AI_DEMO_MODEL_ID, INK_AI_OPENAI_PROVIDER_ID, INK_AI_OPENAI_PROVIDER_NAME, INK_AI_OPENAI_MODEL_GPT_4_1_MINI, INK_AI_OPENAI_MODEL_GPT_4_1, INK_AI_INK_SERVER_PROVIDER_ID, INK_TRANSLATE_LANGUAGES, INK_QUICK_ACTIONS, INK_DEFAULT_FEATURES, INK_DEFAULT_ICONS, INK_DEFAULT_COLOR_MODE, COLOR_MODE_LIGHT, COLOR_MODE_DARK, COLOR_MODE_SYSTEM, TOOLBAR_STORAGE_KEY_HIDDEN, TOOLBAR_STORAGE_KEY_ITEMS, INK_PREMIUM_FEATURES, INK_PREMIUM_LICENSE_PREFIX, TYPO_DICTIONARY, } from './constants';
11
- export type { InkEditorProps, ToolbarOption, TypoFixResult, SlashCommandItem, SlashInsert, InkAiCapability, InkAiRequest, InkAiResponse, InkAiAgent, InkAiPlugin, InkAiChatTurn, InkAiDiffSuggestion, InkAiReviewSuggestion, InkAiContextFile, InkAiDocumentSnapshot, InkAiModelCatalogEntry, InkAiProvider, InkAiConfig, InkAiUiTheme, InkCommentReply, InkCommentThread, InkTrackChange, InkTrackChangeType, InkFeaturesConfig, InkFeatureName, InkEditorVariant, InkEditorChrome, InkColorMode, InkAiPlacement, InkPremiumFeature, InkPasteMode, InkIconKey, InkIconMap, InkThemeTokens, InkPremiumConfig, InkResolvedPremium, InkImageUploadHandler, OutlineItem, InkHostPlugin, InkHostPluginId, } from './types';
11
+ export type { InkEditorProps, ToolbarOption, TypoFixResult, SlashCommandItem, SlashInsert, InkAiCapability, InkAiRequest, InkAiResponse, InkAiAgent, InkAiPlugin, InkAiChatTurn, InkAiDiffSuggestion, InkAiReviewSuggestion, InkAiContextFile, InkAiDocumentSnapshot, InkAiModelCatalogEntry, InkAiProvider, InkAiConfig, InkAiUiTheme, InkCommentReply, InkCommentThread, InkTrackChange, InkTrackChangeType, InkFeaturesConfig, InkFeatureName, InkEditorVariant, InkEditorChrome, InkColorMode, InkAiPlacement, InkPremiumFeature, InkPasteMode, InkIconKey, InkIconMap, InkThemeTokens, InkPremiumConfig, InkResolvedPremium, InkImageUploadHandler, OutlineItem, InkHostPlugin, InkHostPluginId, InkCollaborator, InkCollaboratorCursor, InkCollaboratorCursorSelection, InkCollaboratorRole, InkCollaboratorStatus, InkCollaborationConfig, InkDocument, InkFolder, InkSplitMode, InkTabsProps, InkWorkspaceProps, } from './types';
12
+ export { useInkCollaboration } from './hooks';
13
+ export type { UseInkCollaborationOptions, UseInkCollaborationReturn, } from './hooks';
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACL,GAAG,EACH,MAAM,EACN,MAAM,EACN,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,QAAQ,EACR,WAAW,EACX,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,EAAE,EACF,cAAc,EACd,yBAAyB,EACzB,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACtB,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,8BAA8B,EAC9B,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EACL,KAAK,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,QAAQ,GACT,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACzG,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,gCAAgC,EAChC,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,eAAe,GAChB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,aAAa,EACb,UAAU,EACV,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,WAAW,EACX,aAAa,EACb,eAAe,GAChB,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}