@forgedevstack/ink 1.1.6 → 1.1.8

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 (278) hide show
  1. package/CHANGELOG.md +57 -1
  2. package/README.md +9 -1
  3. package/bin/ink.const.mjs +26 -0
  4. package/bin/ink.mjs +58 -0
  5. package/dist/common-components/icons/BulletListIcon.cjs +1 -0
  6. package/dist/common-components/icons/BulletListIcon.d.ts +3 -0
  7. package/dist/common-components/icons/BulletListIcon.d.ts.map +1 -0
  8. package/dist/common-components/icons/BulletListIcon.js +11 -0
  9. package/dist/common-components/icons/ChecklistIcon.cjs +1 -0
  10. package/dist/common-components/icons/ChecklistIcon.d.ts +3 -0
  11. package/dist/common-components/icons/ChecklistIcon.d.ts.map +1 -0
  12. package/dist/common-components/icons/ChecklistIcon.js +10 -0
  13. package/dist/common-components/icons/ImageToolIcon.cjs +1 -0
  14. package/dist/common-components/icons/ImageToolIcon.d.ts +3 -0
  15. package/dist/common-components/icons/ImageToolIcon.d.ts.map +1 -0
  16. package/dist/common-components/icons/ImageToolIcon.js +10 -0
  17. package/dist/common-components/icons/LinkToolIcon.cjs +1 -0
  18. package/dist/common-components/icons/LinkToolIcon.d.ts +3 -0
  19. package/dist/common-components/icons/LinkToolIcon.d.ts.map +1 -0
  20. package/dist/common-components/icons/LinkToolIcon.js +9 -0
  21. package/dist/common-components/icons/OrderedListIcon.cjs +1 -0
  22. package/dist/common-components/icons/OrderedListIcon.d.ts +3 -0
  23. package/dist/common-components/icons/OrderedListIcon.d.ts.map +1 -0
  24. package/dist/common-components/icons/OrderedListIcon.js +9 -0
  25. package/dist/common-components/icons/QuoteIcon.cjs +1 -0
  26. package/dist/common-components/icons/QuoteIcon.d.ts +3 -0
  27. package/dist/common-components/icons/QuoteIcon.d.ts.map +1 -0
  28. package/dist/common-components/icons/QuoteIcon.js +6 -0
  29. package/dist/common-components/icons/TableToolIcon.cjs +1 -0
  30. package/dist/common-components/icons/TableToolIcon.d.ts +3 -0
  31. package/dist/common-components/icons/TableToolIcon.d.ts.map +1 -0
  32. package/dist/common-components/icons/TableToolIcon.js +9 -0
  33. package/dist/common-components/icons/index.d.ts +7 -0
  34. package/dist/common-components/icons/index.d.ts.map +1 -1
  35. package/dist/common-components/index.d.ts +1 -1
  36. package/dist/common-components/index.d.ts.map +1 -1
  37. package/dist/components/InkEditor/InkEditor.cjs +1 -1
  38. package/dist/components/InkEditor/InkEditor.d.ts.map +1 -1
  39. package/dist/components/InkEditor/InkEditor.js +1230 -778
  40. package/dist/components/InkEditor/components/AiPanel/AiPanel.cjs +1 -1
  41. package/dist/components/InkEditor/components/AiPanel/AiPanel.d.ts.map +1 -1
  42. package/dist/components/InkEditor/components/AiPanel/AiPanel.js +58 -52
  43. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.cjs +1 -0
  44. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.d.ts +4 -0
  45. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.d.ts.map +1 -0
  46. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.js +209 -0
  47. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.types.d.ts +10 -0
  48. package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.types.d.ts.map +1 -0
  49. package/dist/components/InkEditor/components/ExcelSheetPanel/index.d.ts +3 -0
  50. package/dist/components/InkEditor/components/ExcelSheetPanel/index.d.ts.map +1 -0
  51. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.cjs +1 -0
  52. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.d.ts +4 -0
  53. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.d.ts.map +1 -0
  54. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.js +91 -0
  55. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.types.d.ts +11 -0
  56. package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.types.d.ts.map +1 -0
  57. package/dist/components/InkEditor/components/GraphEditModal/index.d.ts +3 -0
  58. package/dist/components/InkEditor/components/GraphEditModal/index.d.ts.map +1 -0
  59. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.cjs +1 -0
  60. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.d.ts +4 -0
  61. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.d.ts.map +1 -0
  62. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.js +98 -0
  63. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.types.d.ts +10 -0
  64. package/dist/components/InkEditor/components/GraphPicker/GraphPicker.types.d.ts.map +1 -0
  65. package/dist/components/InkEditor/components/GraphPicker/index.d.ts +3 -0
  66. package/dist/components/InkEditor/components/GraphPicker/index.d.ts.map +1 -0
  67. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.cjs +1 -0
  68. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.d.ts +4 -0
  69. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.d.ts.map +1 -0
  70. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.js +27 -0
  71. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.types.d.ts +7 -0
  72. package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.types.d.ts.map +1 -0
  73. package/dist/components/InkEditor/components/HtmlSourcePanel/index.d.ts +3 -0
  74. package/dist/components/InkEditor/components/HtmlSourcePanel/index.d.ts.map +1 -0
  75. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.cjs +1 -0
  76. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.d.ts +4 -0
  77. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.d.ts.map +1 -0
  78. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.js +36 -0
  79. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.types.d.ts +8 -0
  80. package/dist/components/InkEditor/components/OutlineRail/OutlineRail.types.d.ts.map +1 -0
  81. package/dist/components/InkEditor/components/OutlineRail/index.d.ts +3 -0
  82. package/dist/components/InkEditor/components/OutlineRail/index.d.ts.map +1 -0
  83. package/dist/components/InkEditor/components/SlashMenu/SlashMenu.cjs +1 -1
  84. package/dist/components/InkEditor/components/SlashMenu/SlashMenu.d.ts +1 -0
  85. package/dist/components/InkEditor/components/SlashMenu/SlashMenu.d.ts.map +1 -1
  86. package/dist/components/InkEditor/components/SlashMenu/SlashMenu.js +62 -17
  87. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.cjs +1 -0
  88. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.cjs +1 -0
  89. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.d.ts +10 -0
  90. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.d.ts.map +1 -0
  91. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.js +18 -0
  92. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.d.ts +4 -0
  93. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.d.ts.map +1 -0
  94. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.js +95 -0
  95. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.types.d.ts +11 -0
  96. package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.types.d.ts.map +1 -0
  97. package/dist/components/InkEditor/components/TableSizePicker/index.d.ts +3 -0
  98. package/dist/components/InkEditor/components/TableSizePicker/index.d.ts.map +1 -0
  99. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.cjs +1 -0
  100. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.d.ts +4 -0
  101. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.d.ts.map +1 -0
  102. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.js +81 -0
  103. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.types.d.ts +12 -0
  104. package/dist/components/InkEditor/components/ThemePicker/ThemePicker.types.d.ts.map +1 -0
  105. package/dist/components/InkEditor/components/ThemePicker/index.d.ts +3 -0
  106. package/dist/components/InkEditor/components/ThemePicker/index.d.ts.map +1 -0
  107. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.cjs +1 -0
  108. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.d.ts +4 -0
  109. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.d.ts.map +1 -0
  110. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.js +79 -0
  111. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.types.d.ts +10 -0
  112. package/dist/components/InkEditor/components/TitleGallery/TitleGallery.types.d.ts.map +1 -0
  113. package/dist/components/InkEditor/components/TitleGallery/index.d.ts +3 -0
  114. package/dist/components/InkEditor/components/TitleGallery/index.d.ts.map +1 -0
  115. package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.cjs +1 -1
  116. package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.d.ts.map +1 -1
  117. package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.js +41 -17
  118. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.cjs +1 -1
  119. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.d.ts.map +1 -1
  120. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.js +93 -18
  121. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.types.d.ts +6 -0
  122. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.types.d.ts.map +1 -0
  123. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.cjs +1 -0
  124. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.d.ts +3 -0
  125. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.d.ts.map +1 -0
  126. package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.js +15 -0
  127. package/dist/components/InkEditor/components/ToolbarDropdown/index.d.ts +2 -0
  128. package/dist/components/InkEditor/components/ToolbarDropdown/index.d.ts.map +1 -1
  129. package/dist/components/InkEditor/components/index.d.ts +16 -0
  130. package/dist/components/InkEditor/components/index.d.ts.map +1 -1
  131. package/dist/components/InkEditor/helpers/format.utils.cjs +2 -2
  132. package/dist/components/InkEditor/helpers/format.utils.d.ts +1 -1
  133. package/dist/components/InkEditor/helpers/format.utils.d.ts.map +1 -1
  134. package/dist/components/InkEditor/helpers/format.utils.js +72 -72
  135. package/dist/constants/colorMode.const.cjs +1 -1
  136. package/dist/constants/colorMode.const.d.ts +1 -1
  137. package/dist/constants/colorMode.const.d.ts.map +1 -1
  138. package/dist/constants/colorMode.const.js +4 -4
  139. package/dist/constants/contextMenu.const.cjs +1 -1
  140. package/dist/constants/contextMenu.const.d.ts +2 -0
  141. package/dist/constants/contextMenu.const.d.ts.map +1 -1
  142. package/dist/constants/contextMenu.const.js +17 -15
  143. package/dist/constants/defaultIcons.cjs +1 -1
  144. package/dist/constants/defaultIcons.d.ts.map +1 -1
  145. package/dist/constants/defaultIcons.js +35 -18
  146. package/dist/constants/defaults.const.cjs +1 -1
  147. package/dist/constants/defaults.const.d.ts +95 -1
  148. package/dist/constants/defaults.const.d.ts.map +1 -1
  149. package/dist/constants/defaults.const.js +323 -57
  150. package/dist/constants/generals.const.cjs +1 -1
  151. package/dist/constants/generals.const.d.ts +90 -0
  152. package/dist/constants/generals.const.d.ts.map +1 -1
  153. package/dist/constants/generals.const.js +75 -4
  154. package/dist/constants/index.d.ts +1 -0
  155. package/dist/constants/index.d.ts.map +1 -1
  156. package/dist/constants/keyboard.const.cjs +1 -1
  157. package/dist/constants/keyboard.const.d.ts +1 -0
  158. package/dist/constants/keyboard.const.d.ts.map +1 -1
  159. package/dist/constants/keyboard.const.js +2 -1
  160. package/dist/constants/lists.const.cjs +1 -1
  161. package/dist/constants/lists.const.d.ts +1 -0
  162. package/dist/constants/lists.const.d.ts.map +1 -1
  163. package/dist/constants/lists.const.js +10 -9
  164. package/dist/constants/numbers.cjs +1 -1
  165. package/dist/constants/numbers.d.ts +19 -1
  166. package/dist/constants/numbers.d.ts.map +1 -1
  167. package/dist/constants/numbers.js +46 -27
  168. package/dist/constants/plugins.const.cjs +1 -0
  169. package/dist/constants/plugins.const.d.ts +13 -0
  170. package/dist/constants/plugins.const.d.ts.map +1 -0
  171. package/dist/constants/plugins.const.js +45 -0
  172. package/dist/constants/premium.const.cjs +1 -1
  173. package/dist/constants/premium.const.d.ts.map +1 -1
  174. package/dist/constants/premium.const.js +10 -9
  175. package/dist/constants/table.const.cjs +1 -1
  176. package/dist/constants/table.const.d.ts +4 -0
  177. package/dist/constants/table.const.d.ts.map +1 -1
  178. package/dist/constants/table.const.js +10 -6
  179. package/dist/constants/toolbar.const.cjs +1 -1
  180. package/dist/constants/toolbar.const.d.ts +8 -0
  181. package/dist/constants/toolbar.const.d.ts.map +1 -1
  182. package/dist/constants/toolbar.const.js +16 -8
  183. package/dist/constants/toolbarMenu.const.cjs +1 -1
  184. package/dist/constants/toolbarMenu.const.d.ts +2 -0
  185. package/dist/constants/toolbarMenu.const.d.ts.map +1 -1
  186. package/dist/constants/toolbarMenu.const.js +80 -18
  187. package/dist/hooks/index.d.ts +2 -0
  188. package/dist/hooks/index.d.ts.map +1 -0
  189. package/dist/hooks/useToolbarOverflow.cjs +1 -0
  190. package/dist/hooks/useToolbarOverflow.d.ts +8 -0
  191. package/dist/hooks/useToolbarOverflow.d.ts.map +1 -0
  192. package/dist/hooks/useToolbarOverflow.js +29 -0
  193. package/dist/index.cjs +1 -1
  194. package/dist/index.d.ts +6 -3
  195. package/dist/index.d.ts.map +1 -1
  196. package/dist/index.js +126 -93
  197. package/dist/plugins/excel/excel.utils.cjs +1 -0
  198. package/dist/plugins/excel/excel.utils.d.ts +13 -0
  199. package/dist/plugins/excel/excel.utils.d.ts.map +1 -0
  200. package/dist/plugins/excel/excel.utils.js +40 -0
  201. package/dist/plugins/excel/index.d.ts +3 -0
  202. package/dist/plugins/excel/index.d.ts.map +1 -0
  203. package/dist/plugins/graph/graph.const.cjs +1 -0
  204. package/dist/plugins/graph/graph.const.d.ts +14 -0
  205. package/dist/plugins/graph/graph.const.d.ts.map +1 -0
  206. package/dist/plugins/graph/graph.const.js +24 -0
  207. package/dist/plugins/graph/graph.types.d.ts +7 -0
  208. package/dist/plugins/graph/graph.types.d.ts.map +1 -0
  209. package/dist/plugins/graph/graph.utils.cjs +1 -0
  210. package/dist/plugins/graph/graph.utils.d.ts +11 -0
  211. package/dist/plugins/graph/graph.utils.d.ts.map +1 -0
  212. package/dist/plugins/graph/graph.utils.js +76 -0
  213. package/dist/plugins/graph/index.d.ts +4 -0
  214. package/dist/plugins/graph/index.d.ts.map +1 -0
  215. package/dist/plugins/host/index.d.ts +2 -0
  216. package/dist/plugins/host/index.d.ts.map +1 -0
  217. package/dist/plugins/host/inkPlugins.cjs +1 -0
  218. package/dist/plugins/host/inkPlugins.d.ts +16 -0
  219. package/dist/plugins/host/inkPlugins.d.ts.map +1 -0
  220. package/dist/plugins/host/inkPlugins.js +20 -0
  221. package/dist/plugins/index.d.ts +5 -0
  222. package/dist/plugins/index.d.ts.map +1 -0
  223. package/dist/plugins/theme/index.d.ts +4 -0
  224. package/dist/plugins/theme/index.d.ts.map +1 -0
  225. package/dist/plugins/theme/inkTheme.cjs +1 -0
  226. package/dist/plugins/theme/inkTheme.d.ts +5 -0
  227. package/dist/plugins/theme/inkTheme.d.ts.map +1 -0
  228. package/dist/plugins/theme/inkTheme.js +30 -0
  229. package/dist/plugins/theme/theme.const.cjs +1 -0
  230. package/dist/plugins/theme/theme.const.d.ts +9 -0
  231. package/dist/plugins/theme/theme.const.d.ts.map +1 -0
  232. package/dist/plugins/theme/theme.const.js +15 -0
  233. package/dist/plugins/theme/theme.types.d.ts +12 -0
  234. package/dist/plugins/theme/theme.types.d.ts.map +1 -0
  235. package/dist/plugins/titles/index.d.ts +4 -0
  236. package/dist/plugins/titles/index.d.ts.map +1 -0
  237. package/dist/plugins/titles/titles.const.cjs +1 -0
  238. package/dist/plugins/titles/titles.const.d.ts +4 -0
  239. package/dist/plugins/titles/titles.const.d.ts.map +1 -0
  240. package/dist/plugins/titles/titles.const.js +15 -0
  241. package/dist/plugins/titles/titles.types.d.ts +2 -0
  242. package/dist/plugins/titles/titles.types.d.ts.map +1 -0
  243. package/dist/plugins/titles/titles.utils.cjs +1 -0
  244. package/dist/plugins/titles/titles.utils.d.ts +3 -0
  245. package/dist/plugins/titles/titles.utils.d.ts.map +1 -0
  246. package/dist/plugins/titles/titles.utils.js +14 -0
  247. package/dist/styles.css +1 -1
  248. package/dist/types/features.types.d.ts +1 -1
  249. package/dist/types/features.types.d.ts.map +1 -1
  250. package/dist/types/index.d.ts +3 -1
  251. package/dist/types/index.d.ts.map +1 -1
  252. package/dist/types/ink.types.d.ts +15 -2
  253. package/dist/types/ink.types.d.ts.map +1 -1
  254. package/dist/types/outline.types.d.ts +6 -0
  255. package/dist/types/outline.types.d.ts.map +1 -0
  256. package/dist/types/plugin.types.d.ts +8 -0
  257. package/dist/types/plugin.types.d.ts.map +1 -0
  258. package/dist/types/premium.types.d.ts +2 -2
  259. package/dist/types/premium.types.d.ts.map +1 -1
  260. package/dist/utils/index.d.ts +5 -2
  261. package/dist/utils/index.d.ts.map +1 -1
  262. package/dist/utils/outline.utils.cjs +1 -0
  263. package/dist/utils/outline.utils.d.ts +8 -0
  264. package/dist/utils/outline.utils.d.ts.map +1 -0
  265. package/dist/utils/outline.utils.js +49 -0
  266. package/dist/utils/slash.utils.cjs +1 -1
  267. package/dist/utils/slash.utils.d.ts +5 -0
  268. package/dist/utils/slash.utils.d.ts.map +1 -1
  269. package/dist/utils/slash.utils.js +24 -7
  270. package/dist/utils/table.utils.cjs +1 -1
  271. package/dist/utils/table.utils.d.ts +4 -0
  272. package/dist/utils/table.utils.d.ts.map +1 -1
  273. package/dist/utils/table.utils.js +84 -45
  274. package/dist/utils/words.utils.cjs +1 -0
  275. package/dist/utils/words.utils.d.ts +2 -0
  276. package/dist/utils/words.utils.d.ts.map +1 -0
  277. package/dist/utils/words.utils.js +14 -0
  278. package/package.json +7 -1
@@ -1,29 +1,38 @@
1
- import { INK_DEFAULT_TABLE_ROWS as t, INK_DEFAULT_TABLE_COLS as i } from "./numbers.js";
2
- import { TOOLBAR_OPTION_LIST_DROPDOWN as e, TOOLBAR_OPTION_FONT_DROPDOWN as a, TOOLBAR_OPTION_SUPERSCRIPT as n, TOOLBAR_OPTION_SUBSCRIPT as l, TOOLBAR_OPTION_DIRECTION_LTR as o, TOOLBAR_OPTION_DIRECTION_RTL as d, TOOLBAR_OPTION_SIGNATURE as r, TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN as c, TOOLBAR_OPTION_HORIZONTAL_RULE as _ } from "./toolbar.const.js";
3
- const u = [
1
+ import { INK_DEFAULT_TABLE_ROWS as s, INK_DEFAULT_TABLE_COLS as I } from "./numbers.js";
2
+ import { SLASH_GENERATE_TABLE_MARK as L, SLASH_GENERATE_TABLE_SHORTCUT as E, SLASH_GENERATE_TABLE_DESC as S, SLASH_GENERATE_TABLE_KEYWORDS as A, SLASH_GENERATE_TABLE_LABEL as T, SLASH_GENERATE_TABLE_ID as O, INK_CHECKLIST_ITEM as N } from "./generals.const.js";
3
+ import { TOOLBAR_OPTION_CHECKLIST as C, TOOLBAR_OPTION_TITLES as n, TOOLBAR_OPTION_EXCEL as r, TOOLBAR_OPTION_GRAPH as l, TOOLBAR_OPTION_OUTLINE as a, TOOLBAR_OPTION_THEME as c, TOOLBAR_OPTION_FULLSCREEN as d, TOOLBAR_OPTION_HTML_SOURCE as _, TOOLBAR_OPTION_LIST_DROPDOWN as o, TOOLBAR_OPTION_FONT_DROPDOWN as k, TOOLBAR_OPTION_SUPERSCRIPT as u, TOOLBAR_OPTION_SUBSCRIPT as h, TOOLBAR_OPTION_DIRECTION_LTR as m, TOOLBAR_OPTION_DIRECTION_RTL as R, TOOLBAR_OPTION_SIGNATURE as K, TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN as g, TOOLBAR_OPTION_HORIZONTAL_RULE as p } from "./toolbar.const.js";
4
+ import { LIST_CLASS_CHECK as b } from "./lists.const.js";
5
+ const G = [
4
6
  "headingDropdown",
5
- a,
7
+ k,
6
8
  "divider",
7
9
  "bold",
8
10
  "italic",
9
11
  "underline",
10
12
  "strikethrough",
11
- n,
12
- l,
13
+ u,
14
+ h,
13
15
  "divider",
14
16
  "textColor",
15
17
  "highlightColor",
16
18
  "divider",
17
- e,
18
19
  o,
19
- d,
20
+ m,
21
+ R,
20
22
  "divider",
21
23
  "link",
22
24
  "image",
23
25
  "table",
26
+ n,
24
27
  r,
28
+ l,
29
+ a,
25
30
  c,
31
+ d,
26
32
  _,
33
+ K,
34
+ g,
35
+ p,
27
36
  "divider",
28
37
  "undo",
29
38
  "redo",
@@ -33,21 +42,22 @@ const u = [
33
42
  "ai",
34
43
  "divider",
35
44
  "clearFormat"
36
- ], I = [
45
+ ], v = [
37
46
  "bold",
38
47
  "italic",
39
48
  "underline",
40
49
  "divider",
41
- e
42
- ], L = [
50
+ o
51
+ ], f = [
43
52
  "headingDropdown",
44
53
  "divider",
45
54
  "bold",
46
55
  "italic",
47
56
  "underline",
48
57
  "divider",
49
- e,
58
+ o,
50
59
  "table",
60
+ _,
51
61
  "divider",
52
62
  "trackChanges",
53
63
  "comments",
@@ -55,7 +65,35 @@ const u = [
55
65
  "divider",
56
66
  "undo",
57
67
  "redo"
58
- ], T = [
68
+ ], M = [
69
+ "headingDropdown",
70
+ "divider",
71
+ "bold",
72
+ "italic",
73
+ "underline",
74
+ "strikethrough",
75
+ "divider",
76
+ "bulletList",
77
+ "orderedList",
78
+ C,
79
+ "blockquote",
80
+ "divider",
81
+ "image",
82
+ "link",
83
+ "table",
84
+ n,
85
+ r,
86
+ l,
87
+ a,
88
+ c,
89
+ d,
90
+ "code",
91
+ _,
92
+ "divider",
93
+ "undo",
94
+ "redo",
95
+ "ai"
96
+ ], w = [
59
97
  { value: "p", label: "Paragraph" },
60
98
  { value: "h1", label: "Heading 1" },
61
99
  { value: "h2", label: "Heading 2" },
@@ -63,7 +101,7 @@ const u = [
63
101
  { value: "h4", label: "Heading 4" },
64
102
  { value: "h5", label: "Heading 5" },
65
103
  { value: "h6", label: "Heading 6" }
66
- ], A = {
104
+ ], F = {
67
105
  bold: { title: "Bold (Ctrl+B)", command: "bold" },
68
106
  italic: { title: "Italic (Ctrl+I)", command: "italic" },
69
107
  underline: { title: "Underline (Ctrl+U)", command: "underline" },
@@ -92,7 +130,7 @@ const u = [
92
130
  clearFormat: { title: "Clear formatting", command: "removeFormat" },
93
131
  undo: { title: "Undo", command: "undo" },
94
132
  redo: { title: "Redo", command: "redo" }
95
- }, N = [
133
+ }, x = [
96
134
  "#111827",
97
135
  "#dc2626",
98
136
  "#ea580c",
@@ -101,7 +139,7 @@ const u = [
101
139
  "#2563eb",
102
140
  "#0f766e",
103
141
  "#db2777"
104
- ], h = "Start typing...", g = "Ink-Editor", b = "Ink-Editor__toolbar", S = "Ink-Editor__toolbar-show", E = "Ink-Editor__content", R = "Ink-Editor__divider", C = "Ink-Editor__footer", k = "Ink-Editor__shell", B = "Ink-Editor__body", K = "Ink-block--active", p = "Ink-tc-insert", v = "Ink-tc-delete", D = "Ink-comment-mark", f = "You", H = "classic", s = "boxed", U = s, P = {
142
+ ], Y = "Type / to insert a block, or press ⌘K for AI", W = "Ink-Editor", X = "Ink-Editor__toolbar", q = "Ink-Editor__toolbar-show", V = "Ink-Editor__content", j = "Ink-Editor__divider", z = "Ink-Editor__style-dd", J = "Ink-Editor__style-dd-trigger", Q = "Ink-Editor__style-menu", Z = "Ink-Editor__style-menu--portal", $ = "Ink-Editor__style-menu--forced-light", tt = "Ink-Editor__source", et = "Ink-Editor__content--hidden", _t = "Ink-Editor__table-picker", ot = "Ink-Editor__table-picker-grid", it = "Ink-Editor__table-picker-cell", nt = "Ink-Editor__table-picker-cell--on", rt = "Ink-Editor__table-picker-label", lt = "Ink-table--resizing", at = "Ink-title", ct = "Ink-Editor__title-gallery", dt = "Ink-Editor__title-grid", st = "Ink-Editor__title-cell", It = "Ink-Editor__excel", Lt = "Ink-Editor__excel-grid", Et = "Ink-Editor__excel-cell", St = "Ink-Editor__excel-actions", At = "Ink-Editor__excel-title", Tt = "Ink-Editor__excel-insert", Ot = "Ink-Editor__graph", Nt = "Ink-Editor__graph-types", Ct = "Ink-Editor__graph-preview", kt = "Ink-graph", ut = "Ink-graph-block", ht = "Ink-Editor__toolbar-hint", mt = "Ink-Editor__toolbar-row", Rt = "Ink-Editor__toolbar-measure", Kt = "Ink-Editor__toolbar-overflow", gt = "Ink-Editor__excel-head", pt = "Ink-Editor__excel-corner", bt = "Ink-Editor__excel-cell--col", Bt = "Ink-Editor__excel-cell--row", Ht = "data-ink-graph-colors", Pt = "data-ink-more", yt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", Dt = "Ink-Editor__plugin-pip", Ut = "Ink-Editor__tool", Gt = "Ink-AiPill--installed", vt = "Ink-Outline__toggle", ft = "Ink-Ai__tab", Mt = "Ink-Ai__tab--on", wt = "data-ink-graph", Ft = "data-ink-graph-points", xt = "data-ink-title", Yt = "Ink-Editor__style-option", Wt = "Ink-Editor__style-option--sel", Xt = "Ink-Editor__select-chev", qt = "Ink-Editor__style-check", Vt = "Ink-Editor__button--wide", jt = "Ink-Editor__button-label", zt = "Ink-AiPill__dot", Jt = "Ink-Slash__mark--ai", Qt = "Ink-Editor__glyph", Zt = "Ink-Editor__glyph--bold", $t = "Ink-Editor__glyph--italic", te = "Ink-Editor__glyph--underline", ee = "Ink-Editor__glyph--strike", _e = "Ink-Editor__footer", oe = "Ink-Editor__footer-meta", ie = "Ink-AiPill", t = "Blocks", B = "Media", i = "AI", e = "Plugins", ne = "Insert a block", re = "", le = "h1", ae = "h2", ce = "h3", de = "p", se = "pre", Ie = "blockquote", Le = '<blockquote class="Ink-callout"><p>Callout</p></blockquote>', Ee = `<ul class="${b}"><li>${N}</li></ul>`, Se = "Ink-Editor__shell", Ae = "Ink-Outline", Te = "Ink-Outline__label", Oe = "Ink-Outline__item", Ne = "Ink-Outline__item--active", Ce = "Outline", ke = "No headings yet", ue = "Hide", he = "h1, h2, h3", me = "document", Re = "Ink-Editor__body", Ke = "Ink-block--active", ge = "Ink-tc-insert", pe = "Ink-tc-delete", be = "Ink-comment-mark", Be = "You", He = "classic", H = "boxed", Pe = H, ye = {
105
143
  table: !0,
106
144
  trackChanges: !0,
107
145
  comments: !0,
@@ -112,45 +150,186 @@ const u = [
112
150
  typoAutoFix: !0,
113
151
  signature: !0,
114
152
  findReplace: !0,
115
- horizontalRule: !0
116
- }, F = t, y = i, w = [
153
+ horizontalRule: !0,
154
+ htmlSource: !0,
155
+ titles: !0,
156
+ excel: !0,
157
+ graph: !0,
158
+ outline: !0,
159
+ fullscreen: !0,
160
+ theme: !0
161
+ }, De = s, Ue = I, Ge = [
162
+ {
163
+ id: "paragraph",
164
+ label: "Text",
165
+ keywords: ["p", "paragraph", "text"],
166
+ insert: "paragraph",
167
+ description: "Just start typing with plain text.",
168
+ category: t,
169
+ shortcut: "/t",
170
+ mark: "T"
171
+ },
117
172
  {
118
173
  id: "heading1",
119
174
  label: "Heading 1",
120
175
  keywords: ["h1", "title", "heading"],
121
- insert: "heading1"
176
+ insert: "heading1",
177
+ description: "Big section heading.",
178
+ category: t,
179
+ shortcut: "/h1",
180
+ mark: "H1"
122
181
  },
123
182
  {
124
183
  id: "heading2",
125
184
  label: "Heading 2",
126
185
  keywords: ["h2", "subtitle", "heading"],
127
- insert: "heading2"
186
+ insert: "heading2",
187
+ description: "Medium section heading.",
188
+ category: t,
189
+ shortcut: "/h2",
190
+ mark: "H2"
191
+ },
192
+ {
193
+ id: "heading3",
194
+ label: "Heading 3",
195
+ keywords: ["h3", "heading"],
196
+ insert: "heading3",
197
+ description: "Small section heading.",
198
+ category: t,
199
+ shortcut: "/h3",
200
+ mark: "H3"
128
201
  },
129
202
  {
130
203
  id: "bullet",
131
- label: "Bullet list",
204
+ label: "Bulleted list",
132
205
  keywords: ["ul", "list", "bullet"],
133
- insert: "bulletList"
206
+ insert: "bulletList",
207
+ description: "Create a simple bulleted list.",
208
+ category: t,
209
+ shortcut: "/ul",
210
+ mark: "•"
134
211
  },
135
212
  {
136
213
  id: "ordered",
137
214
  label: "Numbered list",
138
215
  keywords: ["ol", "list", "numbered"],
139
- insert: "orderedList"
216
+ insert: "orderedList",
217
+ description: "Create a numbered list.",
218
+ category: t,
219
+ shortcut: "/ol",
220
+ mark: "1."
221
+ },
222
+ {
223
+ id: "checklist",
224
+ label: "Checklist",
225
+ keywords: ["check", "todo", "task"],
226
+ insert: "checklist",
227
+ description: "Track tasks with checkboxes.",
228
+ category: t,
229
+ shortcut: "/todo",
230
+ mark: "☑"
231
+ },
232
+ {
233
+ id: "quote",
234
+ label: "Quote",
235
+ keywords: ["quote", "blockquote"],
236
+ insert: "quote",
237
+ description: "Highlight a quotation.",
238
+ category: t,
239
+ shortcut: "/q",
240
+ mark: "“"
241
+ },
242
+ {
243
+ id: "callout",
244
+ label: "Callout",
245
+ keywords: ["callout", "note", "tip"],
246
+ insert: "callout",
247
+ description: "Call out a note beside the copy.",
248
+ category: t,
249
+ shortcut: "/note",
250
+ mark: "i"
251
+ },
252
+ {
253
+ id: "code",
254
+ label: "Code block",
255
+ keywords: ["code", "pre", "html"],
256
+ insert: "code",
257
+ description: "Syntax-highlighted snippet.",
258
+ category: t,
259
+ shortcut: "/code",
260
+ mark: "</>"
140
261
  },
141
262
  {
142
263
  id: "table",
143
264
  label: "Table",
144
265
  keywords: ["table", "grid"],
145
- insert: "table"
266
+ insert: "table",
267
+ description: "Structured rows and columns.",
268
+ category: t,
269
+ shortcut: "/table",
270
+ mark: "▦"
271
+ },
272
+ {
273
+ id: "image",
274
+ label: "Image",
275
+ keywords: ["image", "img", "media", "upload"],
276
+ insert: "image",
277
+ description: "Upload or embed an image.",
278
+ category: B,
279
+ shortcut: "/img",
280
+ mark: "▣"
146
281
  },
147
282
  {
148
283
  id: "ai",
149
- label: "Ask AI",
284
+ label: "Ask Ink AI",
150
285
  keywords: ["ai", "assistant", "chat"],
151
- insert: "ai"
286
+ insert: "ai",
287
+ description: "Draft a block from a prompt.",
288
+ category: i,
289
+ shortcut: "/ai",
290
+ mark: "✦"
291
+ },
292
+ {
293
+ id: O,
294
+ label: T,
295
+ keywords: A,
296
+ insert: "ai",
297
+ description: S,
298
+ category: i,
299
+ shortcut: E,
300
+ mark: L
301
+ },
302
+ {
303
+ id: "titles",
304
+ label: "Title",
305
+ keywords: ["title", "wordart", "heading", "style"],
306
+ insert: "titles",
307
+ description: "Styled title from the titles gallery.",
308
+ category: e,
309
+ shortcut: "/ti",
310
+ mark: "Aa"
311
+ },
312
+ {
313
+ id: "excel",
314
+ label: "Sheet",
315
+ keywords: ["excel", "sheet", "csv", "spreadsheet"],
316
+ insert: "excel",
317
+ description: "Insert a sheet grid or import CSV.",
318
+ category: e,
319
+ shortcut: "/ex",
320
+ mark: "⊞"
321
+ },
322
+ {
323
+ id: "graph",
324
+ label: "Graph",
325
+ keywords: ["graph", "chart", "bar", "pie"],
326
+ insert: "graph",
327
+ description: "Insert a bar, line, or pie graph.",
328
+ category: e,
329
+ shortcut: "/gr",
330
+ mark: "▦"
152
331
  }
153
- ], M = [
332
+ ], ve = [
154
333
  "English",
155
334
  "Spanish",
156
335
  "French",
@@ -161,40 +340,127 @@ const u = [
161
340
  "Portuguese",
162
341
  "Korean",
163
342
  "Italian"
164
- ], x = [
343
+ ], fe = [
165
344
  { id: "rewrite", label: "Rewrite", capability: "rewrite" },
166
345
  { id: "summarize", label: "Summarize", capability: "summarize" },
167
346
  { id: "expand", label: "Expand", capability: "expand" },
168
347
  { id: "tone", label: "Adjust tone", capability: "tone" }
169
348
  ];
170
349
  export {
171
- A as INK_BUTTON_CONFIG,
172
- s as INK_CHROME_BOXED,
173
- K as INK_CLASS_BLOCK_ACTIVE,
174
- B as INK_CLASS_BODY,
175
- D as INK_CLASS_COMMENT_MARK,
176
- E as INK_CLASS_CONTENT,
177
- R as INK_CLASS_DIVIDER,
178
- C as INK_CLASS_FOOTER,
179
- g as INK_CLASS_ROOT,
180
- k as INK_CLASS_SHELL,
181
- v as INK_CLASS_TC_DELETE,
182
- p as INK_CLASS_TC_INSERT,
183
- b as INK_CLASS_TOOLBAR,
184
- S as INK_CLASS_TOOLBAR_SHOW,
185
- L as INK_COLLAB_TOOLBAR,
186
- N as INK_COLOR_SWATCHES,
187
- f as INK_DEFAULT_AUTHOR,
188
- U as INK_DEFAULT_CHROME,
189
- P as INK_DEFAULT_FEATURES,
190
- u as INK_DEFAULT_TOOLBAR,
191
- H as INK_DEFAULT_VARIANT,
192
- T as INK_HEADING_OPTIONS,
193
- h as INK_PLACEHOLDER_DEFAULT,
194
- x as INK_QUICK_ACTIONS,
195
- I as INK_SIMPLE_TOOLBAR,
196
- w as INK_SLASH_COMMANDS,
197
- y as INK_TABLE_DEFAULT_COLS,
198
- F as INK_TABLE_DEFAULT_ROWS,
199
- M as INK_TRANSLATE_LANGUAGES
350
+ yt as EXCEL_COL_LETTERS,
351
+ wt as INK_ATTR_GRAPH,
352
+ Ht as INK_ATTR_GRAPH_COLORS,
353
+ Ft as INK_ATTR_GRAPH_POINTS,
354
+ Pt as INK_ATTR_MORE,
355
+ xt as INK_ATTR_TITLE,
356
+ F as INK_BUTTON_CONFIG,
357
+ Le as INK_CALLOUT_HTML,
358
+ Ee as INK_CHECKLIST_HTML,
359
+ H as INK_CHROME_BOXED,
360
+ M as INK_CHROME_TOOLBAR,
361
+ ie as INK_CLASS_AI_PILL,
362
+ zt as INK_CLASS_AI_PILL_DOT,
363
+ Gt as INK_CLASS_AI_PILL_INSTALLED,
364
+ ft as INK_CLASS_AI_TAB,
365
+ Mt as INK_CLASS_AI_TAB_ON,
366
+ Ke as INK_CLASS_BLOCK_ACTIVE,
367
+ Re as INK_CLASS_BODY,
368
+ jt as INK_CLASS_BUTTON_LABEL,
369
+ Vt as INK_CLASS_BUTTON_WIDE,
370
+ be as INK_CLASS_COMMENT_MARK,
371
+ V as INK_CLASS_CONTENT,
372
+ et as INK_CLASS_CONTENT_HIDDEN,
373
+ j as INK_CLASS_DIVIDER,
374
+ St as INK_CLASS_EXCEL_ACTIONS,
375
+ Et as INK_CLASS_EXCEL_CELL,
376
+ bt as INK_CLASS_EXCEL_COL_HOVER,
377
+ pt as INK_CLASS_EXCEL_CORNER,
378
+ Lt as INK_CLASS_EXCEL_GRID,
379
+ gt as INK_CLASS_EXCEL_HEAD,
380
+ Tt as INK_CLASS_EXCEL_INSERT,
381
+ It as INK_CLASS_EXCEL_PANEL,
382
+ Bt as INK_CLASS_EXCEL_ROW_HOVER,
383
+ At as INK_CLASS_EXCEL_TITLE,
384
+ _e as INK_CLASS_FOOTER,
385
+ oe as INK_CLASS_FOOTER_META,
386
+ Qt as INK_CLASS_GLYPH,
387
+ Zt as INK_CLASS_GLYPH_BOLD,
388
+ $t as INK_CLASS_GLYPH_ITALIC,
389
+ ee as INK_CLASS_GLYPH_STRIKE,
390
+ te as INK_CLASS_GLYPH_UNDERLINE,
391
+ ut as INK_CLASS_GRAPH_BLOCK,
392
+ Ot as INK_CLASS_GRAPH_PANEL,
393
+ Ct as INK_CLASS_GRAPH_PREVIEW,
394
+ Nt as INK_CLASS_GRAPH_TYPES,
395
+ kt as INK_CLASS_GRAPH_WRAP,
396
+ Ae as INK_CLASS_OUTLINE,
397
+ Oe as INK_CLASS_OUTLINE_ITEM,
398
+ Ne as INK_CLASS_OUTLINE_ITEM_ACTIVE,
399
+ Te as INK_CLASS_OUTLINE_LABEL,
400
+ vt as INK_CLASS_OUTLINE_TOGGLE,
401
+ Dt as INK_CLASS_PLUGIN_PIP,
402
+ W as INK_CLASS_ROOT,
403
+ Se as INK_CLASS_SHELL,
404
+ Jt as INK_CLASS_SLASH_MARK_AI,
405
+ tt as INK_CLASS_SOURCE,
406
+ qt as INK_CLASS_STYLE_CHECK,
407
+ Xt as INK_CLASS_STYLE_CHEV,
408
+ z as INK_CLASS_STYLE_DD,
409
+ Q as INK_CLASS_STYLE_MENU,
410
+ $ as INK_CLASS_STYLE_MENU_FORCED,
411
+ Z as INK_CLASS_STYLE_MENU_PORTAL,
412
+ Yt as INK_CLASS_STYLE_OPTION,
413
+ Wt as INK_CLASS_STYLE_OPTION_SEL,
414
+ J as INK_CLASS_STYLE_TRIGGER,
415
+ _t as INK_CLASS_TABLE_PICKER,
416
+ it as INK_CLASS_TABLE_PICKER_CELL,
417
+ nt as INK_CLASS_TABLE_PICKER_CELL_ON,
418
+ ot as INK_CLASS_TABLE_PICKER_GRID,
419
+ rt as INK_CLASS_TABLE_PICKER_LABEL,
420
+ lt as INK_CLASS_TABLE_RESIZE,
421
+ pe as INK_CLASS_TC_DELETE,
422
+ ge as INK_CLASS_TC_INSERT,
423
+ at as INK_CLASS_TITLE,
424
+ st as INK_CLASS_TITLE_CELL,
425
+ ct as INK_CLASS_TITLE_GALLERY,
426
+ dt as INK_CLASS_TITLE_GRID,
427
+ X as INK_CLASS_TOOLBAR,
428
+ ht as INK_CLASS_TOOLBAR_HINT,
429
+ Rt as INK_CLASS_TOOLBAR_MEASURE,
430
+ Kt as INK_CLASS_TOOLBAR_OVERFLOW,
431
+ mt as INK_CLASS_TOOLBAR_ROW,
432
+ q as INK_CLASS_TOOLBAR_SHOW,
433
+ Ut as INK_CLASS_TOOL_WRAP,
434
+ f as INK_COLLAB_TOOLBAR,
435
+ x as INK_COLOR_SWATCHES,
436
+ Be as INK_DEFAULT_AUTHOR,
437
+ Pe as INK_DEFAULT_CHROME,
438
+ ye as INK_DEFAULT_FEATURES,
439
+ G as INK_DEFAULT_TOOLBAR,
440
+ He as INK_DEFAULT_VARIANT,
441
+ le as INK_FORMAT_BLOCK_H1,
442
+ ae as INK_FORMAT_BLOCK_H2,
443
+ ce as INK_FORMAT_BLOCK_H3,
444
+ de as INK_FORMAT_BLOCK_P,
445
+ se as INK_FORMAT_BLOCK_PRE,
446
+ Ie as INK_FORMAT_BLOCK_QUOTE,
447
+ w as INK_HEADING_OPTIONS,
448
+ ke as INK_OUTLINE_EMPTY,
449
+ he as INK_OUTLINE_HEADING_SELECTOR,
450
+ ue as INK_OUTLINE_HIDE,
451
+ Ce as INK_OUTLINE_LABEL,
452
+ Y as INK_PLACEHOLDER_DEFAULT,
453
+ fe as INK_QUICK_ACTIONS,
454
+ v as INK_SIMPLE_TOOLBAR,
455
+ Ge as INK_SLASH_COMMANDS,
456
+ Ue as INK_TABLE_DEFAULT_COLS,
457
+ De as INK_TABLE_DEFAULT_ROWS,
458
+ ve as INK_TRANSLATE_LANGUAGES,
459
+ me as INK_VARIANT_DOCUMENT,
460
+ ne as SLASH_ARIA_LABEL,
461
+ i as SLASH_CATEGORY_AI,
462
+ t as SLASH_CATEGORY_BASIC,
463
+ B as SLASH_CATEGORY_MEDIA,
464
+ e as SLASH_CATEGORY_PLUGINS,
465
+ re as SLASH_SEARCH_LABEL
200
466
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E="",t="ink-memory:",_="default";exports.DEFAULT_MEMORY_KEY=_;exports.EMPTY_STRING=E;exports.LOCAL_STORAGE_PREFIX=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _="",E=" ",T="/",L="⌘K",I="↵",A="Type ",N=" to insert a block, or press ",R=" for AI",O="Ask Ink AI",t="Code",S="HTML",o="HTML source",K="Enter URL:",s="https://",C="Insert title",n="Title",H="Sheet mode",c="Insert sheet",P="Import CSV",G="Add row",e="Add column",B="Remove row",M="Remove column",D="Clear",r="Insert graph",U="Insert graph",X="Toggle outline",a="Fill screen",l="Exit fill screen",F="Editor theme",p="More tools",i="Graph colors",h="Graph values",Y="Apply",g="Cancel",d="Add value",m="graph-colors",u="Change graph colors",W="Chat",b="Actions",V="Review",v="Translate",f="graph-bar",k="graph-line",y="graph-pie",w="graph-edit",j="graph-ai",x="Graph: bar",q="Graph: line",z="Graph: pie",J="Edit graph values",Q="Ask Ink AI about this graph",Z="Insert table",$="List item",__="✓",E_="generate-table",T_="Generate table",L_="Draft a table from a prompt.",I_="/gt",A_="+",N_=["table","ai","generate","grid"],R_="B",O_="I",t_="U",S_="S",o_="words",K_="chars",s_="synced",C_="Ln",n_="Col",H_="•",c_=/\s+/,P_="ink-memory:",G_="default";exports.CONTEXT_MENU_ID_GRAPH_AI=j;exports.CONTEXT_MENU_ID_GRAPH_BAR=f;exports.CONTEXT_MENU_ID_GRAPH_COLORS=m;exports.CONTEXT_MENU_ID_GRAPH_EDIT=w;exports.CONTEXT_MENU_ID_GRAPH_LINE=k;exports.CONTEXT_MENU_ID_GRAPH_PIE=y;exports.CONTEXT_MENU_LABEL_GRAPH_AI=Q;exports.CONTEXT_MENU_LABEL_GRAPH_BAR=x;exports.CONTEXT_MENU_LABEL_GRAPH_COLORS=u;exports.CONTEXT_MENU_LABEL_GRAPH_EDIT=J;exports.CONTEXT_MENU_LABEL_GRAPH_LINE=q;exports.CONTEXT_MENU_LABEL_GRAPH_PIE=z;exports.DEFAULT_MEMORY_KEY=G_;exports.EMPTY_STRING=_;exports.INK_AI_PILL_LABEL=O;exports.INK_AI_TAB_ACTIONS=b;exports.INK_AI_TAB_CHAT=W;exports.INK_AI_TAB_REVIEW=V;exports.INK_AI_TAB_TRANSLATE=v;exports.INK_CHECKLIST_ITEM=$;exports.INK_CODE_LABEL=t;exports.INK_EXCEL_ADD_COL=e;exports.INK_EXCEL_ADD_ROW=G;exports.INK_EXCEL_CLEAR=D;exports.INK_EXCEL_IMPORT=P;exports.INK_EXCEL_INSERT=c;exports.INK_EXCEL_REMOVE_COL=M;exports.INK_EXCEL_REMOVE_ROW=B;exports.INK_EXCEL_TITLE=H;exports.INK_FOOTER_CHARS_LABEL=K_;exports.INK_FOOTER_COL_LABEL=n_;exports.INK_FOOTER_DOT=H_;exports.INK_FOOTER_LINE_LABEL=C_;exports.INK_FOOTER_SYNCED_LABEL=s_;exports.INK_FOOTER_WORDS_LABEL=o_;exports.INK_FULLSCREEN_EXIT_TITLE=l;exports.INK_FULLSCREEN_TITLE=a;exports.INK_GLYPH_BOLD=R_;exports.INK_GLYPH_ITALIC=O_;exports.INK_GLYPH_STRIKE=S_;exports.INK_GLYPH_UNDERLINE=t_;exports.INK_GRAPH_ADD_POINT=d;exports.INK_GRAPH_APPLY=Y;exports.INK_GRAPH_CANCEL=g;exports.INK_GRAPH_COLORS_TITLE=i;exports.INK_GRAPH_INSERT=U;exports.INK_GRAPH_TITLE=r;exports.INK_GRAPH_VALUES_TITLE=h;exports.INK_HTML_SOURCE_LABEL=S;exports.INK_HTML_SOURCE_TITLE=o;exports.INK_LINK_PROMPT=K;exports.INK_LINK_PROMPT_DEFAULT=s;exports.INK_OUTLINE_TOGGLE_TITLE=X;exports.INK_STYLE_CHECK=__;exports.INK_TABLE_INSERT_TITLE=Z;exports.INK_THEME_TITLE=F;exports.INK_TITLES_DEFAULT_TEXT=n;exports.INK_TITLES_TITLE=C;exports.INK_TOOLBAR_MORE_TITLE=p;exports.INK_WORD_SPLIT=c_;exports.LOCAL_STORAGE_PREFIX=P_;exports.SLASH_ENTER_SHORTCUT=I;exports.SLASH_GENERATE_TABLE_DESC=L_;exports.SLASH_GENERATE_TABLE_ID=E_;exports.SLASH_GENERATE_TABLE_KEYWORDS=N_;exports.SLASH_GENERATE_TABLE_LABEL=T_;exports.SLASH_GENERATE_TABLE_MARK=A_;exports.SLASH_GENERATE_TABLE_SHORTCUT=I_;exports.SLASH_HINT_AFTER=N;exports.SLASH_HINT_AI=R;exports.SLASH_HINT_BEFORE=A;exports.SLASH_MOD_SHORTCUT=L;exports.SLASH_PREFIX=T;exports.SPACE_STRING=E;
@@ -1,6 +1,96 @@
1
1
  export declare const EMPTY_STRING = "";
2
2
  export declare const SPACE_STRING = " ";
3
3
  export declare const NEWLINE_STRING = "\n";
4
+ export declare const SLASH_PREFIX = "/";
5
+ export declare const SLASH_MOD_SHORTCUT = "\u2318K";
6
+ export declare const SLASH_ENTER_SHORTCUT = "\u21B5";
7
+ export declare const SLASH_HINT_BEFORE = "Type ";
8
+ export declare const SLASH_HINT_AFTER = " to insert a block, or press ";
9
+ export declare const SLASH_HINT_AI = " for AI";
10
+ export declare const INK_AI_PILL_LABEL = "Ask Ink AI";
11
+ export declare const INK_CODE_LABEL = "Code";
12
+ export declare const INK_HTML_SOURCE_LABEL = "HTML";
13
+ export declare const INK_HTML_SOURCE_TITLE = "HTML source";
14
+ export declare const INK_LINK_PROMPT = "Enter URL:";
15
+ export declare const INK_LINK_PROMPT_DEFAULT = "https://";
16
+ export declare const INK_TITLES_LABEL = "Titles";
17
+ export declare const INK_TITLES_TITLE = "Insert title";
18
+ export declare const INK_TITLES_DEFAULT_TEXT = "Title";
19
+ export declare const INK_EXCEL_LABEL = "Sheet";
20
+ export declare const INK_EXCEL_TITLE = "Sheet mode";
21
+ export declare const INK_EXCEL_INSERT = "Insert sheet";
22
+ export declare const INK_EXCEL_IMPORT = "Import CSV";
23
+ export declare const INK_EXCEL_ADD_ROW = "Add row";
24
+ export declare const INK_EXCEL_ADD_COL = "Add column";
25
+ export declare const INK_EXCEL_REMOVE_ROW = "Remove row";
26
+ export declare const INK_EXCEL_REMOVE_COL = "Remove column";
27
+ export declare const INK_EXCEL_CLEAR = "Clear";
28
+ export declare const INK_GRAPH_LABEL = "Graph";
29
+ export declare const INK_GRAPH_TITLE = "Insert graph";
30
+ export declare const INK_GRAPH_INSERT = "Insert graph";
31
+ export declare const INK_OUTLINE_TOGGLE_TITLE = "Toggle outline";
32
+ export declare const INK_FULLSCREEN_TITLE = "Fill screen";
33
+ export declare const INK_FULLSCREEN_EXIT_TITLE = "Exit fill screen";
34
+ export declare const INK_THEME_TITLE = "Editor theme";
35
+ export declare const INK_TOOLBAR_MORE_TITLE = "More tools";
36
+ export declare const INK_GRAPH_EDIT_TITLE = "Edit graph";
37
+ export declare const INK_GRAPH_COLORS_TITLE = "Graph colors";
38
+ export declare const INK_GRAPH_VALUES_TITLE = "Graph values";
39
+ export declare const INK_GRAPH_APPLY = "Apply";
40
+ export declare const INK_GRAPH_CANCEL = "Cancel";
41
+ export declare const INK_GRAPH_ADD_POINT = "Add value";
42
+ export declare const CONTEXT_MENU_ID_GRAPH_COLORS = "graph-colors";
43
+ export declare const CONTEXT_MENU_LABEL_GRAPH_COLORS = "Change graph colors";
44
+ export declare const INK_AI_TAB_CHAT = "Chat";
45
+ export declare const INK_AI_TAB_ACTIONS = "Actions";
46
+ export declare const INK_AI_TAB_REVIEW = "Review";
47
+ export declare const INK_AI_TAB_TRANSLATE = "Translate";
48
+ export declare const CONTEXT_MENU_ID_GRAPH_BAR = "graph-bar";
49
+ export declare const CONTEXT_MENU_ID_GRAPH_LINE = "graph-line";
50
+ export declare const CONTEXT_MENU_ID_GRAPH_PIE = "graph-pie";
51
+ export declare const CONTEXT_MENU_ID_GRAPH_EDIT = "graph-edit";
52
+ export declare const CONTEXT_MENU_ID_GRAPH_AI = "graph-ai";
53
+ export declare const CONTEXT_MENU_LABEL_GRAPH_BAR = "Graph: bar";
54
+ export declare const CONTEXT_MENU_LABEL_GRAPH_LINE = "Graph: line";
55
+ export declare const CONTEXT_MENU_LABEL_GRAPH_PIE = "Graph: pie";
56
+ export declare const CONTEXT_MENU_LABEL_GRAPH_EDIT = "Edit graph values";
57
+ export declare const CONTEXT_MENU_LABEL_GRAPH_AI = "Ask Ink AI about this graph";
58
+ export declare const INK_GRAPH_EDIT_PROMPT = "Values as label:number, comma separated";
59
+ export declare const INK_TABLE_INSERT_TITLE = "Insert table";
60
+ export declare const INK_CHECKLIST_LABEL = "Checklist";
61
+ export declare const INK_CHECKLIST_ITEM = "List item";
62
+ export declare const INK_STYLE_CHECK = "\u2713";
63
+ export declare const HEADING_MARK_P = "P";
64
+ export declare const HEADING_MARK_H1 = "H1";
65
+ export declare const HEADING_MARK_H2 = "H2";
66
+ export declare const HEADING_MARK_H3 = "H3";
67
+ export declare const HEADING_MARK_H4 = "H4";
68
+ export declare const HEADING_MARK_H5 = "H5";
69
+ export declare const HEADING_MARK_H6 = "H6";
70
+ export declare const HEADING_DESC_P = "Body text";
71
+ export declare const HEADING_DESC_H1 = "Large section title";
72
+ export declare const HEADING_DESC_H2 = "Section heading";
73
+ export declare const HEADING_DESC_H3 = "Subsection heading";
74
+ export declare const HEADING_DESC_H4 = "Small heading";
75
+ export declare const HEADING_DESC_H5 = "Caption heading";
76
+ export declare const HEADING_DESC_H6 = "Fine heading";
77
+ export declare const SLASH_GENERATE_TABLE_ID = "generate-table";
78
+ export declare const SLASH_GENERATE_TABLE_LABEL = "Generate table";
79
+ export declare const SLASH_GENERATE_TABLE_DESC = "Draft a table from a prompt.";
80
+ export declare const SLASH_GENERATE_TABLE_SHORTCUT = "/gt";
81
+ export declare const SLASH_GENERATE_TABLE_MARK = "+";
82
+ export declare const SLASH_GENERATE_TABLE_KEYWORDS: string[];
83
+ export declare const INK_GLYPH_BOLD = "B";
84
+ export declare const INK_GLYPH_ITALIC = "I";
85
+ export declare const INK_GLYPH_UNDERLINE = "U";
86
+ export declare const INK_GLYPH_STRIKE = "S";
87
+ export declare const INK_FOOTER_WORDS_LABEL = "words";
88
+ export declare const INK_FOOTER_CHARS_LABEL = "chars";
89
+ export declare const INK_FOOTER_SYNCED_LABEL = "synced";
90
+ export declare const INK_FOOTER_LINE_LABEL = "Ln";
91
+ export declare const INK_FOOTER_COL_LABEL = "Col";
92
+ export declare const INK_FOOTER_DOT = "\u2022";
93
+ export declare const INK_WORD_SPLIT: RegExp;
4
94
  export declare const LOCAL_STORAGE_PREFIX = "ink-memory:";
5
95
  export declare const DEFAULT_MEMORY_KEY = "default";
6
96
  export declare const DATA_IMAGE_PNG_PREFIX = "data:image/png;base64,";
@@ -1 +1 @@
1
- {"version":3,"file":"generals.const.d.ts","sourceRoot":"","sources":["../../src/constants/generals.const.ts"],"names":[],"mappings":"AAAA,eAAO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