@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.
- package/CHANGELOG.md +57 -1
- package/README.md +9 -1
- package/bin/ink.const.mjs +26 -0
- package/bin/ink.mjs +58 -0
- package/dist/common-components/icons/BulletListIcon.cjs +1 -0
- package/dist/common-components/icons/BulletListIcon.d.ts +3 -0
- package/dist/common-components/icons/BulletListIcon.d.ts.map +1 -0
- package/dist/common-components/icons/BulletListIcon.js +11 -0
- package/dist/common-components/icons/ChecklistIcon.cjs +1 -0
- package/dist/common-components/icons/ChecklistIcon.d.ts +3 -0
- package/dist/common-components/icons/ChecklistIcon.d.ts.map +1 -0
- package/dist/common-components/icons/ChecklistIcon.js +10 -0
- package/dist/common-components/icons/ImageToolIcon.cjs +1 -0
- package/dist/common-components/icons/ImageToolIcon.d.ts +3 -0
- package/dist/common-components/icons/ImageToolIcon.d.ts.map +1 -0
- package/dist/common-components/icons/ImageToolIcon.js +10 -0
- package/dist/common-components/icons/LinkToolIcon.cjs +1 -0
- package/dist/common-components/icons/LinkToolIcon.d.ts +3 -0
- package/dist/common-components/icons/LinkToolIcon.d.ts.map +1 -0
- package/dist/common-components/icons/LinkToolIcon.js +9 -0
- package/dist/common-components/icons/OrderedListIcon.cjs +1 -0
- package/dist/common-components/icons/OrderedListIcon.d.ts +3 -0
- package/dist/common-components/icons/OrderedListIcon.d.ts.map +1 -0
- package/dist/common-components/icons/OrderedListIcon.js +9 -0
- package/dist/common-components/icons/QuoteIcon.cjs +1 -0
- package/dist/common-components/icons/QuoteIcon.d.ts +3 -0
- package/dist/common-components/icons/QuoteIcon.d.ts.map +1 -0
- package/dist/common-components/icons/QuoteIcon.js +6 -0
- package/dist/common-components/icons/TableToolIcon.cjs +1 -0
- package/dist/common-components/icons/TableToolIcon.d.ts +3 -0
- package/dist/common-components/icons/TableToolIcon.d.ts.map +1 -0
- package/dist/common-components/icons/TableToolIcon.js +9 -0
- package/dist/common-components/icons/index.d.ts +7 -0
- package/dist/common-components/icons/index.d.ts.map +1 -1
- package/dist/common-components/index.d.ts +1 -1
- package/dist/common-components/index.d.ts.map +1 -1
- package/dist/components/InkEditor/InkEditor.cjs +1 -1
- package/dist/components/InkEditor/InkEditor.d.ts.map +1 -1
- package/dist/components/InkEditor/InkEditor.js +1230 -778
- package/dist/components/InkEditor/components/AiPanel/AiPanel.cjs +1 -1
- package/dist/components/InkEditor/components/AiPanel/AiPanel.d.ts.map +1 -1
- package/dist/components/InkEditor/components/AiPanel/AiPanel.js +58 -52
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.cjs +1 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.d.ts +4 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.js +209 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.types.d.ts +10 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/index.d.ts +3 -0
- package/dist/components/InkEditor/components/ExcelSheetPanel/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.cjs +1 -0
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.d.ts +4 -0
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.d.ts.map +1 -0
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.js +91 -0
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.types.d.ts +11 -0
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/GraphEditModal/index.d.ts +3 -0
- package/dist/components/InkEditor/components/GraphEditModal/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.cjs +1 -0
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.d.ts +4 -0
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.d.ts.map +1 -0
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.js +98 -0
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.types.d.ts +10 -0
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/GraphPicker/index.d.ts +3 -0
- package/dist/components/InkEditor/components/GraphPicker/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.cjs +1 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.d.ts +4 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.d.ts.map +1 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.js +27 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.types.d.ts +7 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/index.d.ts +3 -0
- package/dist/components/InkEditor/components/HtmlSourcePanel/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.cjs +1 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.d.ts +4 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.d.ts.map +1 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.js +36 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.types.d.ts +8 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/OutlineRail/index.d.ts +3 -0
- package/dist/components/InkEditor/components/OutlineRail/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/SlashMenu/SlashMenu.cjs +1 -1
- package/dist/components/InkEditor/components/SlashMenu/SlashMenu.d.ts +1 -0
- package/dist/components/InkEditor/components/SlashMenu/SlashMenu.d.ts.map +1 -1
- package/dist/components/InkEditor/components/SlashMenu/SlashMenu.js +62 -17
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.cjs +1 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.cjs +1 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.d.ts +10 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.d.ts.map +1 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.js +18 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.d.ts +4 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.d.ts.map +1 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.js +95 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.types.d.ts +11 -0
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/TableSizePicker/index.d.ts +3 -0
- package/dist/components/InkEditor/components/TableSizePicker/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.cjs +1 -0
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.d.ts +4 -0
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.js +81 -0
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.types.d.ts +12 -0
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ThemePicker/index.d.ts +3 -0
- package/dist/components/InkEditor/components/ThemePicker/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.cjs +1 -0
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.d.ts +4 -0
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.d.ts.map +1 -0
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.js +79 -0
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.types.d.ts +10 -0
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/TitleGallery/index.d.ts +3 -0
- package/dist/components/InkEditor/components/TitleGallery/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.d.ts.map +1 -1
- package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.js +41 -17
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.d.ts.map +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.js +93 -18
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.types.d.ts +6 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.cjs +1 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.d.ts +3 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.js +15 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/index.d.ts +2 -0
- package/dist/components/InkEditor/components/ToolbarDropdown/index.d.ts.map +1 -1
- package/dist/components/InkEditor/components/index.d.ts +16 -0
- package/dist/components/InkEditor/components/index.d.ts.map +1 -1
- package/dist/components/InkEditor/helpers/format.utils.cjs +2 -2
- package/dist/components/InkEditor/helpers/format.utils.d.ts +1 -1
- package/dist/components/InkEditor/helpers/format.utils.d.ts.map +1 -1
- package/dist/components/InkEditor/helpers/format.utils.js +72 -72
- package/dist/constants/colorMode.const.cjs +1 -1
- package/dist/constants/colorMode.const.d.ts +1 -1
- package/dist/constants/colorMode.const.d.ts.map +1 -1
- package/dist/constants/colorMode.const.js +4 -4
- package/dist/constants/contextMenu.const.cjs +1 -1
- package/dist/constants/contextMenu.const.d.ts +2 -0
- package/dist/constants/contextMenu.const.d.ts.map +1 -1
- package/dist/constants/contextMenu.const.js +17 -15
- package/dist/constants/defaultIcons.cjs +1 -1
- package/dist/constants/defaultIcons.d.ts.map +1 -1
- package/dist/constants/defaultIcons.js +35 -18
- package/dist/constants/defaults.const.cjs +1 -1
- package/dist/constants/defaults.const.d.ts +95 -1
- package/dist/constants/defaults.const.d.ts.map +1 -1
- package/dist/constants/defaults.const.js +323 -57
- package/dist/constants/generals.const.cjs +1 -1
- package/dist/constants/generals.const.d.ts +90 -0
- package/dist/constants/generals.const.d.ts.map +1 -1
- package/dist/constants/generals.const.js +75 -4
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/keyboard.const.cjs +1 -1
- package/dist/constants/keyboard.const.d.ts +1 -0
- package/dist/constants/keyboard.const.d.ts.map +1 -1
- package/dist/constants/keyboard.const.js +2 -1
- package/dist/constants/lists.const.cjs +1 -1
- package/dist/constants/lists.const.d.ts +1 -0
- package/dist/constants/lists.const.d.ts.map +1 -1
- package/dist/constants/lists.const.js +10 -9
- package/dist/constants/numbers.cjs +1 -1
- package/dist/constants/numbers.d.ts +19 -1
- package/dist/constants/numbers.d.ts.map +1 -1
- package/dist/constants/numbers.js +46 -27
- package/dist/constants/plugins.const.cjs +1 -0
- package/dist/constants/plugins.const.d.ts +13 -0
- package/dist/constants/plugins.const.d.ts.map +1 -0
- package/dist/constants/plugins.const.js +45 -0
- package/dist/constants/premium.const.cjs +1 -1
- package/dist/constants/premium.const.d.ts.map +1 -1
- package/dist/constants/premium.const.js +10 -9
- package/dist/constants/table.const.cjs +1 -1
- package/dist/constants/table.const.d.ts +4 -0
- package/dist/constants/table.const.d.ts.map +1 -1
- package/dist/constants/table.const.js +10 -6
- package/dist/constants/toolbar.const.cjs +1 -1
- package/dist/constants/toolbar.const.d.ts +8 -0
- package/dist/constants/toolbar.const.d.ts.map +1 -1
- package/dist/constants/toolbar.const.js +16 -8
- package/dist/constants/toolbarMenu.const.cjs +1 -1
- package/dist/constants/toolbarMenu.const.d.ts +2 -0
- package/dist/constants/toolbarMenu.const.d.ts.map +1 -1
- package/dist/constants/toolbarMenu.const.js +80 -18
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useToolbarOverflow.cjs +1 -0
- package/dist/hooks/useToolbarOverflow.d.ts +8 -0
- package/dist/hooks/useToolbarOverflow.d.ts.map +1 -0
- package/dist/hooks/useToolbarOverflow.js +29 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +126 -93
- package/dist/plugins/excel/excel.utils.cjs +1 -0
- package/dist/plugins/excel/excel.utils.d.ts +13 -0
- package/dist/plugins/excel/excel.utils.d.ts.map +1 -0
- package/dist/plugins/excel/excel.utils.js +40 -0
- package/dist/plugins/excel/index.d.ts +3 -0
- package/dist/plugins/excel/index.d.ts.map +1 -0
- package/dist/plugins/graph/graph.const.cjs +1 -0
- package/dist/plugins/graph/graph.const.d.ts +14 -0
- package/dist/plugins/graph/graph.const.d.ts.map +1 -0
- package/dist/plugins/graph/graph.const.js +24 -0
- package/dist/plugins/graph/graph.types.d.ts +7 -0
- package/dist/plugins/graph/graph.types.d.ts.map +1 -0
- package/dist/plugins/graph/graph.utils.cjs +1 -0
- package/dist/plugins/graph/graph.utils.d.ts +11 -0
- package/dist/plugins/graph/graph.utils.d.ts.map +1 -0
- package/dist/plugins/graph/graph.utils.js +76 -0
- package/dist/plugins/graph/index.d.ts +4 -0
- package/dist/plugins/graph/index.d.ts.map +1 -0
- package/dist/plugins/host/index.d.ts +2 -0
- package/dist/plugins/host/index.d.ts.map +1 -0
- package/dist/plugins/host/inkPlugins.cjs +1 -0
- package/dist/plugins/host/inkPlugins.d.ts +16 -0
- package/dist/plugins/host/inkPlugins.d.ts.map +1 -0
- package/dist/plugins/host/inkPlugins.js +20 -0
- package/dist/plugins/index.d.ts +5 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/theme/index.d.ts +4 -0
- package/dist/plugins/theme/index.d.ts.map +1 -0
- package/dist/plugins/theme/inkTheme.cjs +1 -0
- package/dist/plugins/theme/inkTheme.d.ts +5 -0
- package/dist/plugins/theme/inkTheme.d.ts.map +1 -0
- package/dist/plugins/theme/inkTheme.js +30 -0
- package/dist/plugins/theme/theme.const.cjs +1 -0
- package/dist/plugins/theme/theme.const.d.ts +9 -0
- package/dist/plugins/theme/theme.const.d.ts.map +1 -0
- package/dist/plugins/theme/theme.const.js +15 -0
- package/dist/plugins/theme/theme.types.d.ts +12 -0
- package/dist/plugins/theme/theme.types.d.ts.map +1 -0
- package/dist/plugins/titles/index.d.ts +4 -0
- package/dist/plugins/titles/index.d.ts.map +1 -0
- package/dist/plugins/titles/titles.const.cjs +1 -0
- package/dist/plugins/titles/titles.const.d.ts +4 -0
- package/dist/plugins/titles/titles.const.d.ts.map +1 -0
- package/dist/plugins/titles/titles.const.js +15 -0
- package/dist/plugins/titles/titles.types.d.ts +2 -0
- package/dist/plugins/titles/titles.types.d.ts.map +1 -0
- package/dist/plugins/titles/titles.utils.cjs +1 -0
- package/dist/plugins/titles/titles.utils.d.ts +3 -0
- package/dist/plugins/titles/titles.utils.d.ts.map +1 -0
- package/dist/plugins/titles/titles.utils.js +14 -0
- package/dist/styles.css +1 -1
- package/dist/types/features.types.d.ts +1 -1
- package/dist/types/features.types.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/ink.types.d.ts +15 -2
- package/dist/types/ink.types.d.ts.map +1 -1
- package/dist/types/outline.types.d.ts +6 -0
- package/dist/types/outline.types.d.ts.map +1 -0
- package/dist/types/plugin.types.d.ts +8 -0
- package/dist/types/plugin.types.d.ts.map +1 -0
- package/dist/types/premium.types.d.ts +2 -2
- package/dist/types/premium.types.d.ts.map +1 -1
- package/dist/utils/index.d.ts +5 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/outline.utils.cjs +1 -0
- package/dist/utils/outline.utils.d.ts +8 -0
- package/dist/utils/outline.utils.d.ts.map +1 -0
- package/dist/utils/outline.utils.js +49 -0
- package/dist/utils/slash.utils.cjs +1 -1
- package/dist/utils/slash.utils.d.ts +5 -0
- package/dist/utils/slash.utils.d.ts.map +1 -1
- package/dist/utils/slash.utils.js +24 -7
- package/dist/utils/table.utils.cjs +1 -1
- package/dist/utils/table.utils.d.ts +4 -0
- package/dist/utils/table.utils.d.ts.map +1 -1
- package/dist/utils/table.utils.js +84 -45
- package/dist/utils/words.utils.cjs +1 -0
- package/dist/utils/words.utils.d.ts +2 -0
- package/dist/utils/words.utils.d.ts.map +1 -0
- package/dist/utils/words.utils.js +14 -0
- package/package.json +7 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NUMBER_ZERO as i } from "../../../constants/numbers.js";
|
|
2
|
-
import { FONT_VALUE_SYSTEM as
|
|
3
|
-
import { LIST_TAG_UL as N, LIST_CLASS_DASH as
|
|
2
|
+
import { FONT_VALUE_SYSTEM as P, FONT_FAMILY_BY_VALUE as w, FONT_COMMAND_NAME as d, FONT_STYLE_PROPERTY as U } from "../../../constants/fonts.const.js";
|
|
3
|
+
import { LIST_TAG_UL as N, LIST_CLASS_DASH as _, LIST_VALUE_DASH as u, LIST_VALUE_BULLET as l, LIST_TAG_OL as R, LIST_CLASS_ALPHA as f, LIST_STYLE_LOWER_ALPHA as M, LIST_VALUE_LETTERS as I, LIST_VALUE_NUMBERS as h, LIST_MARKDOWN_SPACE as Y, LIST_MARKDOWN_DASH as E, LIST_MARKDOWN_STAR as A, LIST_STYLE_DISC as H, LIST_STYLE_DECIMAL as b } from "../../../constants/lists.const.js";
|
|
4
4
|
import { DIR_ATTRIBUTE as k } from "../../../constants/blocks.const.js";
|
|
5
5
|
import "../../../constants/openai.const.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
@@ -8,112 +8,112 @@ import { getBlockElement as F } from "../../../utils/blocks.utils.js";
|
|
|
8
8
|
import "../../../utils/paste.utils.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import "react-dom";
|
|
11
|
-
const
|
|
11
|
+
const v = "color", B = "background-color", W = "background", C = "color", y = "style", x = 1, K = 3, q = "removeFormat", S = "insertUnorderedList", D = "insertOrderedList", $ = "superscript", G = "subscript", V = "styleWithCSS", s = (t, e) => document.execCommand(t, !1, e), c = (t) => document.queryCommandState(t), _t = (t) => document.queryCommandValue(t), Q = "http://", O = "https://", X = "mailto:", Z = "&", j = "<", z = ">", J = """, tt = (t) => t.replace(/&/g, Z).replace(/</g, j).replace(/>/g, z).replace(/"/g, J), ft = (t, e = "") => {
|
|
12
12
|
if (!t) return !1;
|
|
13
|
-
const
|
|
14
|
-
return s("
|
|
15
|
-
},
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
},
|
|
13
|
+
const n = t.startsWith(Q) || t.startsWith(O) || t.startsWith(X) ? t : `${O}${t}`, r = window.getSelection();
|
|
14
|
+
return (!r || r.isCollapsed) && e ? s("insertHTML", `<a href="${n}">${tt(e)}</a>`) : s("createLink", n);
|
|
15
|
+
}, St = (t) => s("foreColor", t), mt = (t) => s("hiliteColor", t), et = (t) => s("insertHTML", t), pt = (t, e = "") => {
|
|
16
|
+
const n = e.replace(/"/g, """);
|
|
17
|
+
return et(`<img src="${t}" alt="${n}" style="max-width:100%;height:auto;" />`);
|
|
18
|
+
}, Et = (t) => new Promise((e, n) => {
|
|
19
19
|
const r = new FileReader();
|
|
20
|
-
r.onload = () => e(String(r.result)), r.onerror =
|
|
21
|
-
}),
|
|
20
|
+
r.onload = () => e(String(r.result)), r.onerror = n, r.readAsDataURL(t);
|
|
21
|
+
}), At = () => {
|
|
22
22
|
const t = /* @__PURE__ */ new Set();
|
|
23
|
-
return c("bold") && t.add("bold"), c("italic") && t.add("italic"), c("underline") && t.add("underline"), c("strikeThrough") && t.add("strikethrough"), c(
|
|
23
|
+
return c("bold") && t.add("bold"), c("italic") && t.add("italic"), c("underline") && t.add("underline"), c("strikeThrough") && t.add("strikethrough"), c(S) && t.add("bulletList"), c(D) && t.add("orderedList"), c($) && t.add("superscript"), c(G) && t.add("subscript"), t;
|
|
24
24
|
}, g = (t) => {
|
|
25
|
-
t.style.removeProperty(
|
|
26
|
-
const e = t.getAttribute(
|
|
27
|
-
e !== null && !e.trim() && t.removeAttribute(
|
|
28
|
-
},
|
|
25
|
+
t.style.removeProperty(v), t.style.removeProperty(B), t.style.removeProperty(W), t.hasAttribute(C) && t.removeAttribute(C);
|
|
26
|
+
const e = t.getAttribute(y);
|
|
27
|
+
e !== null && !e.trim() && t.removeAttribute(y);
|
|
28
|
+
}, rt = () => {
|
|
29
29
|
const t = window.getSelection();
|
|
30
30
|
if (!t || t.rangeCount === i) return;
|
|
31
|
-
const
|
|
32
|
-
r && (r instanceof HTMLElement && t.containsNode(r, !0) && g(r), r.querySelectorAll("*").forEach((
|
|
33
|
-
|
|
31
|
+
const n = t.getRangeAt(i).commonAncestorContainer, r = n.nodeType === x ? n : n.parentElement;
|
|
32
|
+
r && (r instanceof HTMLElement && t.containsNode(r, !0) && g(r), r.querySelectorAll("*").forEach((o) => {
|
|
33
|
+
o instanceof HTMLElement && t.containsNode(o, !0) && g(o);
|
|
34
34
|
}));
|
|
35
|
-
},
|
|
35
|
+
}, Ct = () => {
|
|
36
36
|
const t = s(q);
|
|
37
|
-
return
|
|
38
|
-
},
|
|
39
|
-
const e =
|
|
40
|
-
if (s(
|
|
41
|
-
const
|
|
42
|
-
if (!
|
|
43
|
-
return s(
|
|
44
|
-
const r =
|
|
45
|
-
|
|
37
|
+
return rt(), t;
|
|
38
|
+
}, yt = (t) => {
|
|
39
|
+
const e = w[t] ?? t;
|
|
40
|
+
if (s(V, "true"), t === P) {
|
|
41
|
+
const n = window.getSelection();
|
|
42
|
+
if (!n || n.rangeCount === i || n.isCollapsed)
|
|
43
|
+
return s(d, e);
|
|
44
|
+
const r = n.getRangeAt(i), o = document.createElement("span");
|
|
45
|
+
o.style.setProperty(U, e);
|
|
46
46
|
try {
|
|
47
|
-
return r.surroundContents(
|
|
47
|
+
return r.surroundContents(o), !0;
|
|
48
48
|
} catch {
|
|
49
|
-
return s(
|
|
49
|
+
return s(d, e);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
return s(
|
|
53
|
-
},
|
|
54
|
-
t.classList.remove(
|
|
55
|
-
},
|
|
56
|
-
s(t === l || t === u ?
|
|
52
|
+
return s(d, t);
|
|
53
|
+
}, nt = (t) => {
|
|
54
|
+
t.classList.remove(_, f), t.style.removeProperty("list-style-type");
|
|
55
|
+
}, Ot = (t) => {
|
|
56
|
+
s(t === l || t === u ? S : D);
|
|
57
57
|
const e = window.getSelection();
|
|
58
|
-
let r = (e == null ? void 0 : e.anchorNode) ?? null,
|
|
58
|
+
let r = (e == null ? void 0 : e.anchorNode) ?? null, o = null;
|
|
59
59
|
for (; r; ) {
|
|
60
|
-
if (r instanceof HTMLElement && (r.tagName === N || r.tagName ===
|
|
61
|
-
|
|
60
|
+
if (r instanceof HTMLElement && (r.tagName === N || r.tagName === R)) {
|
|
61
|
+
o = r;
|
|
62
62
|
break;
|
|
63
63
|
}
|
|
64
64
|
r = r.parentNode;
|
|
65
65
|
}
|
|
66
|
-
return
|
|
67
|
-
},
|
|
66
|
+
return o && (nt(o), t === l ? o.style.listStyleType = H : t === u ? o.classList.add(_) : t === h ? o.style.listStyleType = b : t === I && (o.classList.add(f), o.style.listStyleType = M)), !0;
|
|
67
|
+
}, gt = () => {
|
|
68
68
|
const t = window.getSelection();
|
|
69
69
|
let e = (t == null ? void 0 : t.anchorNode) ?? null;
|
|
70
70
|
for (; e; ) {
|
|
71
71
|
if (e instanceof HTMLElement) {
|
|
72
72
|
if (e.tagName === N)
|
|
73
|
-
return e.classList.contains(
|
|
74
|
-
if (e.tagName ===
|
|
75
|
-
return e.classList.contains(
|
|
73
|
+
return e.classList.contains(_) ? u : l;
|
|
74
|
+
if (e.tagName === R)
|
|
75
|
+
return e.classList.contains(f) || e.style.listStyleType === M ? I : h;
|
|
76
76
|
}
|
|
77
77
|
e = e.parentNode;
|
|
78
78
|
}
|
|
79
79
|
return l;
|
|
80
|
-
},
|
|
81
|
-
const
|
|
80
|
+
}, Nt = (t, e) => {
|
|
81
|
+
const n = window.getSelection(), r = F((n == null ? void 0 : n.anchorNode) ?? null, t);
|
|
82
82
|
return r ? (r.setAttribute(k, e), !0) : !1;
|
|
83
|
-
},
|
|
84
|
-
if (t.key !==
|
|
83
|
+
}, Rt = (t) => {
|
|
84
|
+
if (t.key !== Y) return !1;
|
|
85
85
|
const e = window.getSelection();
|
|
86
86
|
if (!e || !e.isCollapsed || e.rangeCount === i)
|
|
87
87
|
return !1;
|
|
88
|
-
const
|
|
89
|
-
if (!
|
|
90
|
-
const r =
|
|
91
|
-
if (!
|
|
92
|
-
const a =
|
|
88
|
+
const n = e.anchorNode;
|
|
89
|
+
if (!n || n.nodeType !== K) return !1;
|
|
90
|
+
const r = n.textContent ?? "", o = e.anchorOffset, T = r.slice(i, o), m = T.endsWith(E) ? E : T.endsWith(A) ? A : null;
|
|
91
|
+
if (!m) return !1;
|
|
92
|
+
const a = o - m.length;
|
|
93
93
|
if (a < i) return !1;
|
|
94
|
-
const
|
|
95
|
-
if (
|
|
94
|
+
const p = a > i ? T[a - 1] : "";
|
|
95
|
+
if (p && p !== `
|
|
96
96
|
`) return !1;
|
|
97
97
|
t.preventDefault();
|
|
98
|
-
const
|
|
99
|
-
return
|
|
98
|
+
const L = e.getRangeAt(i);
|
|
99
|
+
return L.setStart(n, a), L.setEnd(n, o), L.deleteContents(), s(S), !0;
|
|
100
100
|
};
|
|
101
101
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
yt as applyFontFamily,
|
|
103
|
+
Ot as applyListType,
|
|
104
|
+
Ct as clearFormatDeep,
|
|
105
|
+
gt as detectListType,
|
|
106
106
|
s as execCommand,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
Et as fileToDataUrl,
|
|
108
|
+
At as getActiveFormats,
|
|
109
|
+
et as insertHTML,
|
|
110
|
+
pt as insertImage,
|
|
111
|
+
ft as insertLink,
|
|
112
112
|
c as queryCommandState,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
_t as queryCommandValue,
|
|
114
|
+
Nt as setBlockDirection,
|
|
115
|
+
mt as setHighlightColor,
|
|
116
|
+
St as setTextColor,
|
|
117
|
+
rt as stripSelectionColors,
|
|
118
|
+
Rt as tryConvertMarkdownListPrefix
|
|
119
119
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O="light",_="dark",t="system",D=O;exports.COLOR_MODE_DARK=_;exports.COLOR_MODE_LIGHT=O;exports.COLOR_MODE_SYSTEM=t;exports.INK_DEFAULT_COLOR_MODE=D;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const COLOR_MODE_LIGHT: "light";
|
|
2
2
|
export declare const COLOR_MODE_DARK: "dark";
|
|
3
3
|
export declare const COLOR_MODE_SYSTEM: "system";
|
|
4
|
-
export declare const INK_DEFAULT_COLOR_MODE: "
|
|
4
|
+
export declare const INK_DEFAULT_COLOR_MODE: "light";
|
|
5
5
|
export declare const COLOR_MODE_MEDIA_QUERY = "(prefers-color-scheme: dark)";
|
|
6
6
|
//# sourceMappingURL=colorMode.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colorMode.const.d.ts","sourceRoot":"","sources":["../../src/constants/colorMode.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AACjD,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAC/C,eAAO,MAAM,iBAAiB,EAAG,QAAiB,CAAC;AAEnD,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"colorMode.const.d.ts","sourceRoot":"","sources":["../../src/constants/colorMode.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AACjD,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAC/C,eAAO,MAAM,iBAAiB,EAAG,QAAiB,CAAC;AAEnD,eAAO,MAAM,sBAAsB,SAAmB,CAAC;AAEvD,eAAO,MAAM,sBAAsB,iCAAiC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const O = "light", _ = "dark", t = "system", s = O;
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
_ as COLOR_MODE_DARK,
|
|
4
|
+
O as COLOR_MODE_LIGHT,
|
|
5
|
+
t as COLOR_MODE_SYSTEM,
|
|
6
6
|
s as INK_DEFAULT_COLOR_MODE
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E="bold",_="italic",T="underline",N="strikethrough",L="link",O="bulletList",C="orderedList",
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E="bold",_="italic",T="underline",N="strikethrough",L="link",O="bulletList",C="orderedList",A="heading2",U="clearFormat",B="findReplace",M="signature",t="comment",I="tableRowAbove",D="tableRowBelow",X="tableColLeft",o="tableColRight",e="tableDeleteRow",n="tableDeleteCol",s="Bold",c="Italic",R="Underline",l="Strikethrough",r="Insert link",a="Bullet list",i="Numbered list",d="Heading",W="Clear format",b="Find and replace",H="Sign pad",u="Add comment",g="Insert row above",G="Insert row below",S="Insert column left",m="Insert column right",F="Delete row",w="Delete column",h="tableHeader",K="Toggle header row";exports.CONTEXT_MENU_ID_BOLD=E;exports.CONTEXT_MENU_ID_BULLET=O;exports.CONTEXT_MENU_ID_CLEAR=U;exports.CONTEXT_MENU_ID_COMMENT=t;exports.CONTEXT_MENU_ID_FIND=B;exports.CONTEXT_MENU_ID_HEADING=A;exports.CONTEXT_MENU_ID_ITALIC=_;exports.CONTEXT_MENU_ID_LINK=L;exports.CONTEXT_MENU_ID_ORDERED=C;exports.CONTEXT_MENU_ID_SIGNATURE=M;exports.CONTEXT_MENU_ID_STRIKE=N;exports.CONTEXT_MENU_ID_TABLE_COL_LEFT=X;exports.CONTEXT_MENU_ID_TABLE_COL_RIGHT=o;exports.CONTEXT_MENU_ID_TABLE_DELETE_COL=n;exports.CONTEXT_MENU_ID_TABLE_DELETE_ROW=e;exports.CONTEXT_MENU_ID_TABLE_HEADER=h;exports.CONTEXT_MENU_ID_TABLE_ROW_ABOVE=I;exports.CONTEXT_MENU_ID_TABLE_ROW_BELOW=D;exports.CONTEXT_MENU_ID_UNDERLINE=T;exports.CONTEXT_MENU_LABEL_BOLD=s;exports.CONTEXT_MENU_LABEL_BULLET=a;exports.CONTEXT_MENU_LABEL_CLEAR=W;exports.CONTEXT_MENU_LABEL_COMMENT=u;exports.CONTEXT_MENU_LABEL_FIND=b;exports.CONTEXT_MENU_LABEL_HEADING=d;exports.CONTEXT_MENU_LABEL_ITALIC=c;exports.CONTEXT_MENU_LABEL_LINK=r;exports.CONTEXT_MENU_LABEL_ORDERED=i;exports.CONTEXT_MENU_LABEL_SIGNATURE=H;exports.CONTEXT_MENU_LABEL_STRIKE=l;exports.CONTEXT_MENU_LABEL_TABLE_COL_LEFT=S;exports.CONTEXT_MENU_LABEL_TABLE_COL_RIGHT=m;exports.CONTEXT_MENU_LABEL_TABLE_DELETE_COL=w;exports.CONTEXT_MENU_LABEL_TABLE_DELETE_ROW=F;exports.CONTEXT_MENU_LABEL_TABLE_HEADER=K;exports.CONTEXT_MENU_LABEL_TABLE_ROW_ABOVE=g;exports.CONTEXT_MENU_LABEL_TABLE_ROW_BELOW=G;exports.CONTEXT_MENU_LABEL_UNDERLINE=R;
|
|
@@ -34,4 +34,6 @@ export declare const CONTEXT_MENU_LABEL_TABLE_COL_LEFT = "Insert column left";
|
|
|
34
34
|
export declare const CONTEXT_MENU_LABEL_TABLE_COL_RIGHT = "Insert column right";
|
|
35
35
|
export declare const CONTEXT_MENU_LABEL_TABLE_DELETE_ROW = "Delete row";
|
|
36
36
|
export declare const CONTEXT_MENU_LABEL_TABLE_DELETE_COL = "Delete column";
|
|
37
|
+
export declare const CONTEXT_MENU_ID_TABLE_HEADER = "tableHeader";
|
|
38
|
+
export declare const CONTEXT_MENU_LABEL_TABLE_HEADER = "Toggle header row";
|
|
37
39
|
//# sourceMappingURL=contextMenu.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextMenu.const.d.ts","sourceRoot":"","sources":["../../src/constants/contextMenu.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAC3C,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,eAAO,MAAM,yBAAyB,cAAc,CAAC;AACrD,eAAO,MAAM,sBAAsB,kBAAkB,CAAC;AACtD,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAC3C,eAAO,MAAM,sBAAsB,eAAe,CAAC;AACnD,eAAO,MAAM,uBAAuB,gBAAgB,CAAC;AACrD,eAAO,MAAM,uBAAuB,aAAa,CAAC;AAClD,eAAO,MAAM,qBAAqB,gBAAgB,CAAC;AACnD,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,yBAAyB,cAAc,CAAC;AAC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BAAwB,CAAC;AACxE,eAAO,MAAM,mCAAmC,eAAe,CAAC;AAChE,eAAO,MAAM,mCAAmC,kBAAkB,CAAC;AACnE,eAAO,MAAM,4BAA4B,gBAAgB,CAAC;AAC1D,eAAO,MAAM,+BAA+B,sBAAsB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const E = "bold", _ = "italic", T = "underline", N = "strikethrough", L = "link", t = "bulletList", o = "orderedList", n = "heading2", O = "clearFormat", e = "findReplace", C = "signature", s = "comment", c = "tableRowAbove",
|
|
1
|
+
const E = "bold", _ = "italic", T = "underline", N = "strikethrough", L = "link", t = "bulletList", o = "orderedList", n = "heading2", O = "clearFormat", e = "findReplace", C = "signature", s = "comment", c = "tableRowAbove", A = "tableRowBelow", U = "tableColLeft", B = "tableColRight", I = "tableDeleteRow", M = "tableDeleteCol", D = "Bold", l = "Italic", X = "Underline", r = "Strikethrough", R = "Insert link", a = "Bullet list", i = "Numbered list", d = "Heading", b = "Clear format", g = "Find and replace", m = "Sign pad", u = "Add comment", w = "Insert row above", h = "Insert row below", H = "Insert column left", W = "Insert column right", F = "Delete row", G = "Delete column", S = "tableHeader", f = "Toggle header row";
|
|
2
2
|
export {
|
|
3
3
|
E as CONTEXT_MENU_ID_BOLD,
|
|
4
4
|
t as CONTEXT_MENU_ID_BULLET,
|
|
@@ -11,29 +11,31 @@ export {
|
|
|
11
11
|
o as CONTEXT_MENU_ID_ORDERED,
|
|
12
12
|
C as CONTEXT_MENU_ID_SIGNATURE,
|
|
13
13
|
N as CONTEXT_MENU_ID_STRIKE,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
U as CONTEXT_MENU_ID_TABLE_COL_LEFT,
|
|
15
|
+
B as CONTEXT_MENU_ID_TABLE_COL_RIGHT,
|
|
16
16
|
M as CONTEXT_MENU_ID_TABLE_DELETE_COL,
|
|
17
|
-
|
|
17
|
+
I as CONTEXT_MENU_ID_TABLE_DELETE_ROW,
|
|
18
|
+
S as CONTEXT_MENU_ID_TABLE_HEADER,
|
|
18
19
|
c as CONTEXT_MENU_ID_TABLE_ROW_ABOVE,
|
|
19
|
-
|
|
20
|
+
A as CONTEXT_MENU_ID_TABLE_ROW_BELOW,
|
|
20
21
|
T as CONTEXT_MENU_ID_UNDERLINE,
|
|
21
22
|
D as CONTEXT_MENU_LABEL_BOLD,
|
|
22
|
-
|
|
23
|
+
a as CONTEXT_MENU_LABEL_BULLET,
|
|
23
24
|
b as CONTEXT_MENU_LABEL_CLEAR,
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
u as CONTEXT_MENU_LABEL_COMMENT,
|
|
26
|
+
g as CONTEXT_MENU_LABEL_FIND,
|
|
26
27
|
d as CONTEXT_MENU_LABEL_HEADING,
|
|
27
28
|
l as CONTEXT_MENU_LABEL_ITALIC,
|
|
28
29
|
R as CONTEXT_MENU_LABEL_LINK,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
i as CONTEXT_MENU_LABEL_ORDERED,
|
|
31
|
+
m as CONTEXT_MENU_LABEL_SIGNATURE,
|
|
31
32
|
r as CONTEXT_MENU_LABEL_STRIKE,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
H as CONTEXT_MENU_LABEL_TABLE_COL_LEFT,
|
|
34
|
+
W as CONTEXT_MENU_LABEL_TABLE_COL_RIGHT,
|
|
35
|
+
G as CONTEXT_MENU_LABEL_TABLE_DELETE_COL,
|
|
36
|
+
F as CONTEXT_MENU_LABEL_TABLE_DELETE_ROW,
|
|
37
|
+
f as CONTEXT_MENU_LABEL_TABLE_HEADER,
|
|
36
38
|
w as CONTEXT_MENU_LABEL_TABLE_ROW_ABOVE,
|
|
37
|
-
|
|
39
|
+
h as CONTEXT_MENU_LABEL_TABLE_ROW_BELOW,
|
|
38
40
|
X as CONTEXT_MENU_LABEL_UNDERLINE
|
|
39
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("./openai.const.cjs");require("../utils/paste.utils.cjs");require("react");require("react-dom");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("./generals.const.cjs"),o=require("./defaults.const.cjs");require("./openai.const.cjs");require("../utils/paste.utils.cjs");require("react");require("react-dom");const r=require("../common-components/icons/UndoIcon.cjs"),s=require("../common-components/icons/RedoIcon.cjs"),t=require("../common-components/icons/BulletListIcon.cjs"),c=require("../common-components/icons/OrderedListIcon.cjs"),i=require("../common-components/icons/ChecklistIcon.cjs"),l=require("../common-components/icons/ImageToolIcon.cjs"),I=require("../common-components/icons/LinkToolIcon.cjs"),L=require("../common-components/icons/TableToolIcon.cjs"),u=require("../common-components/icons/QuoteIcon.cjs"),a={bold:e.jsx("span",{className:`${o.INK_CLASS_GLYPH} ${o.INK_CLASS_GLYPH_BOLD}`,children:n.INK_GLYPH_BOLD}),italic:e.jsx("span",{className:`${o.INK_CLASS_GLYPH} ${o.INK_CLASS_GLYPH_ITALIC}`,children:n.INK_GLYPH_ITALIC}),underline:e.jsx("span",{className:`${o.INK_CLASS_GLYPH} ${o.INK_CLASS_GLYPH_UNDERLINE}`,children:n.INK_GLYPH_UNDERLINE}),strikethrough:e.jsx("span",{className:`${o.INK_CLASS_GLYPH} ${o.INK_CLASS_GLYPH_STRIKE}`,children:n.INK_GLYPH_STRIKE}),bulletList:e.jsx(t.BulletListIcon,{}),orderedList:e.jsx(c.OrderedListIcon,{}),checklist:e.jsx(i.ChecklistIcon,{}),link:e.jsx(I.LinkToolIcon,{}),image:e.jsx(l.ImageToolIcon,{}),table:e.jsx(L.TableToolIcon,{}),signature:"✍",findReplace:"⌕",horizontalRule:"―",undo:e.jsx(r.UndoIcon,{}),redo:e.jsx(s.RedoIcon,{}),trackChanges:"±",comments:"💬",ai:"✦",clearFormat:"⌫",directionLtr:"LTR",directionRtl:"RTL",superscript:"x²",subscript:"x₂",alignLeft:"⫷",alignCenter:"☰",alignRight:"⫸",alignJustify:"≡",indent:"→",outdent:"←",blockquote:e.jsx(u.QuoteIcon,{}),code:"</>",htmlSource:"</>",titles:"Aa",excel:"⊞",graph:"▦",outline:"☰",fullscreen:"⛶",theme:"◐"};exports.INK_DEFAULT_ICONS=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultIcons.d.ts","sourceRoot":"","sources":["../../src/constants/defaultIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"defaultIcons.d.ts","sourceRoot":"","sources":["../../src/constants/defaultIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAe3C,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,UAAU,EAAE,SAAS,CA2C3D,CAAC"}
|
|
@@ -1,25 +1,35 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { INK_GLYPH_STRIKE as t, INK_GLYPH_UNDERLINE as e, INK_GLYPH_ITALIC as i, INK_GLYPH_BOLD as n } from "./generals.const.js";
|
|
3
|
+
import { INK_CLASS_GLYPH as r, INK_CLASS_GLYPH_STRIKE as l, INK_CLASS_GLYPH_UNDERLINE as m, INK_CLASS_GLYPH_ITALIC as c, INK_CLASS_GLYPH_BOLD as a } from "./defaults.const.js";
|
|
2
4
|
import "./openai.const.js";
|
|
3
5
|
import "../utils/paste.utils.js";
|
|
4
6
|
import "react";
|
|
5
7
|
import "react-dom";
|
|
6
|
-
import { UndoIcon as
|
|
7
|
-
import { RedoIcon as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
import { UndoIcon as s } from "../common-components/icons/UndoIcon.js";
|
|
9
|
+
import { RedoIcon as L } from "../common-components/icons/RedoIcon.js";
|
|
10
|
+
import { BulletListIcon as I } from "../common-components/icons/BulletListIcon.js";
|
|
11
|
+
import { OrderedListIcon as p } from "../common-components/icons/OrderedListIcon.js";
|
|
12
|
+
import { ChecklistIcon as _ } from "../common-components/icons/ChecklistIcon.js";
|
|
13
|
+
import { ImageToolIcon as d } from "../common-components/icons/ImageToolIcon.js";
|
|
14
|
+
import { LinkToolIcon as N } from "../common-components/icons/LinkToolIcon.js";
|
|
15
|
+
import { TableToolIcon as f } from "../common-components/icons/TableToolIcon.js";
|
|
16
|
+
import { QuoteIcon as u } from "../common-components/icons/QuoteIcon.js";
|
|
17
|
+
const x = {
|
|
18
|
+
bold: /* @__PURE__ */ o("span", { className: `${r} ${a}`, children: n }),
|
|
19
|
+
italic: /* @__PURE__ */ o("span", { className: `${r} ${c}`, children: i }),
|
|
20
|
+
underline: /* @__PURE__ */ o("span", { className: `${r} ${m}`, children: e }),
|
|
21
|
+
strikethrough: /* @__PURE__ */ o("span", { className: `${r} ${l}`, children: t }),
|
|
22
|
+
bulletList: /* @__PURE__ */ o(I, {}),
|
|
23
|
+
orderedList: /* @__PURE__ */ o(p, {}),
|
|
24
|
+
checklist: /* @__PURE__ */ o(_, {}),
|
|
25
|
+
link: /* @__PURE__ */ o(N, {}),
|
|
26
|
+
image: /* @__PURE__ */ o(d, {}),
|
|
27
|
+
table: /* @__PURE__ */ o(f, {}),
|
|
18
28
|
signature: "✍",
|
|
19
29
|
findReplace: "⌕",
|
|
20
30
|
horizontalRule: "―",
|
|
21
|
-
undo: /* @__PURE__ */
|
|
22
|
-
redo: /* @__PURE__ */
|
|
31
|
+
undo: /* @__PURE__ */ o(s, {}),
|
|
32
|
+
redo: /* @__PURE__ */ o(L, {}),
|
|
23
33
|
trackChanges: "±",
|
|
24
34
|
comments: "💬",
|
|
25
35
|
ai: "✦",
|
|
@@ -34,9 +44,16 @@ const m = {
|
|
|
34
44
|
alignJustify: "≡",
|
|
35
45
|
indent: "→",
|
|
36
46
|
outdent: "←",
|
|
37
|
-
blockquote:
|
|
38
|
-
code: "</>"
|
|
47
|
+
blockquote: /* @__PURE__ */ o(u, {}),
|
|
48
|
+
code: "</>",
|
|
49
|
+
htmlSource: "</>",
|
|
50
|
+
titles: "Aa",
|
|
51
|
+
excel: "⊞",
|
|
52
|
+
graph: "▦",
|
|
53
|
+
outline: "☰",
|
|
54
|
+
fullscreen: "⛶",
|
|
55
|
+
theme: "◐"
|
|
39
56
|
};
|
|
40
57
|
export {
|
|
41
|
-
|
|
58
|
+
x as INK_DEFAULT_ICONS
|
|
42
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./numbers.cjs"),e=require("./toolbar.const.cjs"),a=["headingDropdown",e.TOOLBAR_OPTION_FONT_DROPDOWN,"divider","bold","italic","underline","strikethrough",e.TOOLBAR_OPTION_SUPERSCRIPT,e.TOOLBAR_OPTION_SUBSCRIPT,"divider","textColor","highlightColor","divider",e.TOOLBAR_OPTION_LIST_DROPDOWN,e.TOOLBAR_OPTION_DIRECTION_LTR,e.TOOLBAR_OPTION_DIRECTION_RTL,"divider","link","image","table",e.TOOLBAR_OPTION_SIGNATURE,e.TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN,e.TOOLBAR_OPTION_HORIZONTAL_RULE,"divider","undo","redo","divider","trackChanges","comments","ai","divider","clearFormat"],n=["bold","italic","underline","divider",e.TOOLBAR_OPTION_LIST_DROPDOWN],l=["headingDropdown","divider","bold","italic","underline","divider",e.TOOLBAR_OPTION_LIST_DROPDOWN,"table","divider","trackChanges","comments","ai","divider","undo","redo"],_=[{value:"p",label:"Paragraph"},{value:"h1",label:"Heading 1"},{value:"h2",label:"Heading 2"},{value:"h3",label:"Heading 3"},{value:"h4",label:"Heading 4"},{value:"h5",label:"Heading 5"},{value:"h6",label:"Heading 6"}],o={bold:{title:"Bold (Ctrl+B)",command:"bold"},italic:{title:"Italic (Ctrl+I)",command:"italic"},underline:{title:"Underline (Ctrl+U)",command:"underline"},strikethrough:{title:"Strikethrough",command:"strikeThrough"},heading1:{title:"Heading 1",command:"formatBlock",value:"h1"},heading2:{title:"Heading 2",command:"formatBlock",value:"h2"},heading3:{title:"Heading 3",command:"formatBlock",value:"h3"},heading4:{title:"Heading 4",command:"formatBlock",value:"h4"},heading5:{title:"Heading 5",command:"formatBlock",value:"h5"},heading6:{title:"Heading 6",command:"formatBlock",value:"h6"},paragraph:{title:"Paragraph",command:"formatBlock",value:"p"},bulletList:{title:"Bullet list",command:"insertUnorderedList"},orderedList:{title:"Numbered list",command:"insertOrderedList"},blockquote:{title:"Quote",command:"formatBlock",value:"blockquote"},code:{title:"Code block",command:"formatBlock",value:"pre"},directionLtr:{title:"Left to right",command:"directionLtr"},directionRtl:{title:"Right to left",command:"directionRtl"},superscript:{title:"Superscript",command:"superscript"},subscript:{title:"Subscript",command:"subscript"},alignLeft:{title:"Align left",command:"justifyLeft"},alignCenter:{title:"Align center",command:"justifyCenter"},alignRight:{title:"Align right",command:"justifyRight"},alignJustify:{title:"Justify",command:"justifyFull"},indent:{title:"Indent",command:"indent"},outdent:{title:"Outdent",command:"outdent"},clearFormat:{title:"Clear formatting",command:"removeFormat"},undo:{title:"Undo",command:"undo"},redo:{title:"Redo",command:"redo"}},d=["#111827","#dc2626","#ea580c","#ca8a04","#16a34a","#2563eb","#0f766e","#db2777"],r="Start typing...",O="Ink-Editor",I="Ink-Editor__toolbar",c="Ink-Editor__toolbar-show",L="Ink-Editor__content",A="Ink-Editor__divider",s="Ink-Editor__footer",T="Ink-Editor__shell",N="Ink-Editor__body",S="Ink-block--active",m="Ink-tc-insert",u="Ink-tc-delete",E="Ink-comment-mark",C="You",R="classic",i="boxed",K=i,g={table:!0,trackChanges:!0,comments:!0,ai:!0,blocks:!0,slash:!0,history:!0,typoAutoFix:!0,signature:!0,findReplace:!0,horizontalRule:!0},h=t.INK_DEFAULT_TABLE_ROWS,b=t.INK_DEFAULT_TABLE_COLS,B=[{id:"heading1",label:"Heading 1",keywords:["h1","title","heading"],insert:"heading1"},{id:"heading2",label:"Heading 2",keywords:["h2","subtitle","heading"],insert:"heading2"},{id:"bullet",label:"Bullet list",keywords:["ul","list","bullet"],insert:"bulletList"},{id:"ordered",label:"Numbered list",keywords:["ol","list","numbered"],insert:"orderedList"},{id:"table",label:"Table",keywords:["table","grid"],insert:"table"},{id:"ai",label:"Ask AI",keywords:["ai","assistant","chat"],insert:"ai"}],D=["English","Spanish","French","German","Chinese (Simplified)","Japanese","Russian","Portuguese","Korean","Italian"],k=[{id:"rewrite",label:"Rewrite",capability:"rewrite"},{id:"summarize",label:"Summarize",capability:"summarize"},{id:"expand",label:"Expand",capability:"expand"},{id:"tone",label:"Adjust tone",capability:"tone"}];exports.INK_BUTTON_CONFIG=o;exports.INK_CHROME_BOXED=i;exports.INK_CLASS_BLOCK_ACTIVE=S;exports.INK_CLASS_BODY=N;exports.INK_CLASS_COMMENT_MARK=E;exports.INK_CLASS_CONTENT=L;exports.INK_CLASS_DIVIDER=A;exports.INK_CLASS_FOOTER=s;exports.INK_CLASS_ROOT=O;exports.INK_CLASS_SHELL=T;exports.INK_CLASS_TC_DELETE=u;exports.INK_CLASS_TC_INSERT=m;exports.INK_CLASS_TOOLBAR=I;exports.INK_CLASS_TOOLBAR_SHOW=c;exports.INK_COLLAB_TOOLBAR=l;exports.INK_COLOR_SWATCHES=d;exports.INK_DEFAULT_AUTHOR=C;exports.INK_DEFAULT_CHROME=K;exports.INK_DEFAULT_FEATURES=g;exports.INK_DEFAULT_TOOLBAR=a;exports.INK_DEFAULT_VARIANT=R;exports.INK_HEADING_OPTIONS=_;exports.INK_PLACEHOLDER_DEFAULT=r;exports.INK_QUICK_ACTIONS=k;exports.INK_SIMPLE_TOOLBAR=n;exports.INK_SLASH_COMMANDS=B;exports.INK_TABLE_DEFAULT_COLS=b;exports.INK_TABLE_DEFAULT_ROWS=h;exports.INK_TRANSLATE_LANGUAGES=D;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./numbers.cjs"),e=require("./generals.const.cjs"),_=require("./toolbar.const.cjs"),n=require("./lists.const.cjs"),A=["headingDropdown",_.TOOLBAR_OPTION_FONT_DROPDOWN,"divider","bold","italic","underline","strikethrough",_.TOOLBAR_OPTION_SUPERSCRIPT,_.TOOLBAR_OPTION_SUBSCRIPT,"divider","textColor","highlightColor","divider",_.TOOLBAR_OPTION_LIST_DROPDOWN,_.TOOLBAR_OPTION_DIRECTION_LTR,_.TOOLBAR_OPTION_DIRECTION_RTL,"divider","link","image","table",_.TOOLBAR_OPTION_TITLES,_.TOOLBAR_OPTION_EXCEL,_.TOOLBAR_OPTION_GRAPH,_.TOOLBAR_OPTION_OUTLINE,_.TOOLBAR_OPTION_THEME,_.TOOLBAR_OPTION_FULLSCREEN,_.TOOLBAR_OPTION_HTML_SOURCE,_.TOOLBAR_OPTION_SIGNATURE,_.TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN,_.TOOLBAR_OPTION_HORIZONTAL_RULE,"divider","undo","redo","divider","trackChanges","comments","ai","divider","clearFormat"],E=["bold","italic","underline","divider",_.TOOLBAR_OPTION_LIST_DROPDOWN],r=["headingDropdown","divider","bold","italic","underline","divider",_.TOOLBAR_OPTION_LIST_DROPDOWN,"table",_.TOOLBAR_OPTION_HTML_SOURCE,"divider","trackChanges","comments","ai","divider","undo","redo"],T=["headingDropdown","divider","bold","italic","underline","strikethrough","divider","bulletList","orderedList",_.TOOLBAR_OPTION_CHECKLIST,"blockquote","divider","image","link","table",_.TOOLBAR_OPTION_TITLES,_.TOOLBAR_OPTION_EXCEL,_.TOOLBAR_OPTION_GRAPH,_.TOOLBAR_OPTION_OUTLINE,_.TOOLBAR_OPTION_THEME,_.TOOLBAR_OPTION_FULLSCREEN,"code",_.TOOLBAR_OPTION_HTML_SOURCE,"divider","undo","redo","ai"],l=[{value:"p",label:"Paragraph"},{value:"h1",label:"Heading 1"},{value:"h2",label:"Heading 2"},{value:"h3",label:"Heading 3"},{value:"h4",label:"Heading 4"},{value:"h5",label:"Heading 5"},{value:"h6",label:"Heading 6"}],N={bold:{title:"Bold (Ctrl+B)",command:"bold"},italic:{title:"Italic (Ctrl+I)",command:"italic"},underline:{title:"Underline (Ctrl+U)",command:"underline"},strikethrough:{title:"Strikethrough",command:"strikeThrough"},heading1:{title:"Heading 1",command:"formatBlock",value:"h1"},heading2:{title:"Heading 2",command:"formatBlock",value:"h2"},heading3:{title:"Heading 3",command:"formatBlock",value:"h3"},heading4:{title:"Heading 4",command:"formatBlock",value:"h4"},heading5:{title:"Heading 5",command:"formatBlock",value:"h5"},heading6:{title:"Heading 6",command:"formatBlock",value:"h6"},paragraph:{title:"Paragraph",command:"formatBlock",value:"p"},bulletList:{title:"Bullet list",command:"insertUnorderedList"},orderedList:{title:"Numbered list",command:"insertOrderedList"},blockquote:{title:"Quote",command:"formatBlock",value:"blockquote"},code:{title:"Code block",command:"formatBlock",value:"pre"},directionLtr:{title:"Left to right",command:"directionLtr"},directionRtl:{title:"Right to left",command:"directionRtl"},superscript:{title:"Superscript",command:"superscript"},subscript:{title:"Subscript",command:"subscript"},alignLeft:{title:"Align left",command:"justifyLeft"},alignCenter:{title:"Align center",command:"justifyCenter"},alignRight:{title:"Align right",command:"justifyRight"},alignJustify:{title:"Justify",command:"justifyFull"},indent:{title:"Indent",command:"indent"},outdent:{title:"Outdent",command:"outdent"},clearFormat:{title:"Clear formatting",command:"removeFormat"},undo:{title:"Undo",command:"undo"},redo:{title:"Redo",command:"redo"}},O=["#111827","#dc2626","#ea580c","#ca8a04","#16a34a","#2563eb","#0f766e","#db2777"],a="Type / to insert a block, or press ⌘K for AI",c="Ink-Editor",s="Ink-Editor__toolbar",C="Ink-Editor__toolbar-show",d="Ink-Editor__content",K="Ink-Editor__divider",R="Ink-Editor__style-dd",k="Ink-Editor__style-dd-trigger",u="Ink-Editor__style-menu",h="Ink-Editor__style-menu--portal",m="Ink-Editor__style-menu--forced-light",g="Ink-Editor__source",B="Ink-Editor__content--hidden",H="Ink-Editor__table-picker",P="Ink-Editor__table-picker-grid",p="Ink-Editor__table-picker-cell",b="Ink-Editor__table-picker-cell--on",D="Ink-Editor__table-picker-label",U="Ink-table--resizing",G="Ink-title",y="Ink-Editor__title-gallery",M="Ink-Editor__title-grid",F="Ink-Editor__title-cell",Y="Ink-Editor__excel",v="Ink-Editor__excel-grid",f="Ink-Editor__excel-cell",w="Ink-Editor__excel-actions",W="Ink-Editor__excel-title",X="Ink-Editor__excel-insert",x="Ink-Editor__graph",V="Ink-Editor__graph-types",q="Ink-Editor__graph-preview",Q="Ink-graph",j="Ink-graph-block",z="Ink-Editor__toolbar-hint",J="Ink-Editor__toolbar-row",Z="Ink-Editor__toolbar-measure",$="Ink-Editor__toolbar-overflow",__="Ink-Editor__excel-head",t_="Ink-Editor__excel-corner",e_="Ink-Editor__excel-cell--col",L_="Ink-Editor__excel-cell--row",I_="data-ink-graph-colors",o_="data-ink-more",i_="ABCDEFGHIJKLMNOPQRSTUVWXYZ",S_="Ink-Editor__plugin-pip",n_="Ink-Editor__tool",A_="Ink-AiPill--installed",E_="Ink-Outline__toggle",r_="Ink-Ai__tab",T_="Ink-Ai__tab--on",l_="data-ink-graph",N_="data-ink-graph-points",O_="data-ink-title",a_="Ink-Editor__style-option",c_="Ink-Editor__style-option--sel",s_="Ink-Editor__select-chev",C_="Ink-Editor__style-check",d_="Ink-Editor__button--wide",K_="Ink-Editor__button-label",R_="Ink-AiPill__dot",k_="Ink-Slash__mark--ai",u_="Ink-Editor__glyph",h_="Ink-Editor__glyph--bold",m_="Ink-Editor__glyph--italic",g_="Ink-Editor__glyph--underline",B_="Ink-Editor__glyph--strike",H_="Ink-Editor__footer",P_="Ink-Editor__footer-meta",p_="Ink-AiPill",t="Blocks",i="Media",I="AI",L="Plugins",b_="Insert a block",D_="",U_="h1",G_="h2",y_="h3",M_="p",F_="pre",Y_="blockquote",v_='<blockquote class="Ink-callout"><p>Callout</p></blockquote>',f_=`<ul class="${n.LIST_CLASS_CHECK}"><li>${e.INK_CHECKLIST_ITEM}</li></ul>`,w_="Ink-Editor__shell",W_="Ink-Outline",X_="Ink-Outline__label",x_="Ink-Outline__item",V_="Ink-Outline__item--active",q_="Outline",Q_="No headings yet",j_="Hide",z_="h1, h2, h3",J_="document",Z_="Ink-Editor__body",$_="Ink-block--active",_t="Ink-tc-insert",tt="Ink-tc-delete",et="Ink-comment-mark",Lt="You",It="classic",S="boxed",ot=S,it={table:!0,trackChanges:!0,comments:!0,ai:!0,blocks:!0,slash:!0,history:!0,typoAutoFix:!0,signature:!0,findReplace:!0,horizontalRule:!0,htmlSource:!0,titles:!0,excel:!0,graph:!0,outline:!0,fullscreen:!0,theme:!0},St=o.INK_DEFAULT_TABLE_ROWS,nt=o.INK_DEFAULT_TABLE_COLS,At=[{id:"paragraph",label:"Text",keywords:["p","paragraph","text"],insert:"paragraph",description:"Just start typing with plain text.",category:t,shortcut:"/t",mark:"T"},{id:"heading1",label:"Heading 1",keywords:["h1","title","heading"],insert:"heading1",description:"Big section heading.",category:t,shortcut:"/h1",mark:"H1"},{id:"heading2",label:"Heading 2",keywords:["h2","subtitle","heading"],insert:"heading2",description:"Medium section heading.",category:t,shortcut:"/h2",mark:"H2"},{id:"heading3",label:"Heading 3",keywords:["h3","heading"],insert:"heading3",description:"Small section heading.",category:t,shortcut:"/h3",mark:"H3"},{id:"bullet",label:"Bulleted list",keywords:["ul","list","bullet"],insert:"bulletList",description:"Create a simple bulleted list.",category:t,shortcut:"/ul",mark:"•"},{id:"ordered",label:"Numbered list",keywords:["ol","list","numbered"],insert:"orderedList",description:"Create a numbered list.",category:t,shortcut:"/ol",mark:"1."},{id:"checklist",label:"Checklist",keywords:["check","todo","task"],insert:"checklist",description:"Track tasks with checkboxes.",category:t,shortcut:"/todo",mark:"☑"},{id:"quote",label:"Quote",keywords:["quote","blockquote"],insert:"quote",description:"Highlight a quotation.",category:t,shortcut:"/q",mark:"“"},{id:"callout",label:"Callout",keywords:["callout","note","tip"],insert:"callout",description:"Call out a note beside the copy.",category:t,shortcut:"/note",mark:"i"},{id:"code",label:"Code block",keywords:["code","pre","html"],insert:"code",description:"Syntax-highlighted snippet.",category:t,shortcut:"/code",mark:"</>"},{id:"table",label:"Table",keywords:["table","grid"],insert:"table",description:"Structured rows and columns.",category:t,shortcut:"/table",mark:"▦"},{id:"image",label:"Image",keywords:["image","img","media","upload"],insert:"image",description:"Upload or embed an image.",category:i,shortcut:"/img",mark:"▣"},{id:"ai",label:"Ask Ink AI",keywords:["ai","assistant","chat"],insert:"ai",description:"Draft a block from a prompt.",category:I,shortcut:"/ai",mark:"✦"},{id:e.SLASH_GENERATE_TABLE_ID,label:e.SLASH_GENERATE_TABLE_LABEL,keywords:e.SLASH_GENERATE_TABLE_KEYWORDS,insert:"ai",description:e.SLASH_GENERATE_TABLE_DESC,category:I,shortcut:e.SLASH_GENERATE_TABLE_SHORTCUT,mark:e.SLASH_GENERATE_TABLE_MARK},{id:"titles",label:"Title",keywords:["title","wordart","heading","style"],insert:"titles",description:"Styled title from the titles gallery.",category:L,shortcut:"/ti",mark:"Aa"},{id:"excel",label:"Sheet",keywords:["excel","sheet","csv","spreadsheet"],insert:"excel",description:"Insert a sheet grid or import CSV.",category:L,shortcut:"/ex",mark:"⊞"},{id:"graph",label:"Graph",keywords:["graph","chart","bar","pie"],insert:"graph",description:"Insert a bar, line, or pie graph.",category:L,shortcut:"/gr",mark:"▦"}],Et=["English","Spanish","French","German","Chinese (Simplified)","Japanese","Russian","Portuguese","Korean","Italian"],rt=[{id:"rewrite",label:"Rewrite",capability:"rewrite"},{id:"summarize",label:"Summarize",capability:"summarize"},{id:"expand",label:"Expand",capability:"expand"},{id:"tone",label:"Adjust tone",capability:"tone"}];exports.EXCEL_COL_LETTERS=i_;exports.INK_ATTR_GRAPH=l_;exports.INK_ATTR_GRAPH_COLORS=I_;exports.INK_ATTR_GRAPH_POINTS=N_;exports.INK_ATTR_MORE=o_;exports.INK_ATTR_TITLE=O_;exports.INK_BUTTON_CONFIG=N;exports.INK_CALLOUT_HTML=v_;exports.INK_CHECKLIST_HTML=f_;exports.INK_CHROME_BOXED=S;exports.INK_CHROME_TOOLBAR=T;exports.INK_CLASS_AI_PILL=p_;exports.INK_CLASS_AI_PILL_DOT=R_;exports.INK_CLASS_AI_PILL_INSTALLED=A_;exports.INK_CLASS_AI_TAB=r_;exports.INK_CLASS_AI_TAB_ON=T_;exports.INK_CLASS_BLOCK_ACTIVE=$_;exports.INK_CLASS_BODY=Z_;exports.INK_CLASS_BUTTON_LABEL=K_;exports.INK_CLASS_BUTTON_WIDE=d_;exports.INK_CLASS_COMMENT_MARK=et;exports.INK_CLASS_CONTENT=d;exports.INK_CLASS_CONTENT_HIDDEN=B;exports.INK_CLASS_DIVIDER=K;exports.INK_CLASS_EXCEL_ACTIONS=w;exports.INK_CLASS_EXCEL_CELL=f;exports.INK_CLASS_EXCEL_COL_HOVER=e_;exports.INK_CLASS_EXCEL_CORNER=t_;exports.INK_CLASS_EXCEL_GRID=v;exports.INK_CLASS_EXCEL_HEAD=__;exports.INK_CLASS_EXCEL_INSERT=X;exports.INK_CLASS_EXCEL_PANEL=Y;exports.INK_CLASS_EXCEL_ROW_HOVER=L_;exports.INK_CLASS_EXCEL_TITLE=W;exports.INK_CLASS_FOOTER=H_;exports.INK_CLASS_FOOTER_META=P_;exports.INK_CLASS_GLYPH=u_;exports.INK_CLASS_GLYPH_BOLD=h_;exports.INK_CLASS_GLYPH_ITALIC=m_;exports.INK_CLASS_GLYPH_STRIKE=B_;exports.INK_CLASS_GLYPH_UNDERLINE=g_;exports.INK_CLASS_GRAPH_BLOCK=j;exports.INK_CLASS_GRAPH_PANEL=x;exports.INK_CLASS_GRAPH_PREVIEW=q;exports.INK_CLASS_GRAPH_TYPES=V;exports.INK_CLASS_GRAPH_WRAP=Q;exports.INK_CLASS_OUTLINE=W_;exports.INK_CLASS_OUTLINE_ITEM=x_;exports.INK_CLASS_OUTLINE_ITEM_ACTIVE=V_;exports.INK_CLASS_OUTLINE_LABEL=X_;exports.INK_CLASS_OUTLINE_TOGGLE=E_;exports.INK_CLASS_PLUGIN_PIP=S_;exports.INK_CLASS_ROOT=c;exports.INK_CLASS_SHELL=w_;exports.INK_CLASS_SLASH_MARK_AI=k_;exports.INK_CLASS_SOURCE=g;exports.INK_CLASS_STYLE_CHECK=C_;exports.INK_CLASS_STYLE_CHEV=s_;exports.INK_CLASS_STYLE_DD=R;exports.INK_CLASS_STYLE_MENU=u;exports.INK_CLASS_STYLE_MENU_FORCED=m;exports.INK_CLASS_STYLE_MENU_PORTAL=h;exports.INK_CLASS_STYLE_OPTION=a_;exports.INK_CLASS_STYLE_OPTION_SEL=c_;exports.INK_CLASS_STYLE_TRIGGER=k;exports.INK_CLASS_TABLE_PICKER=H;exports.INK_CLASS_TABLE_PICKER_CELL=p;exports.INK_CLASS_TABLE_PICKER_CELL_ON=b;exports.INK_CLASS_TABLE_PICKER_GRID=P;exports.INK_CLASS_TABLE_PICKER_LABEL=D;exports.INK_CLASS_TABLE_RESIZE=U;exports.INK_CLASS_TC_DELETE=tt;exports.INK_CLASS_TC_INSERT=_t;exports.INK_CLASS_TITLE=G;exports.INK_CLASS_TITLE_CELL=F;exports.INK_CLASS_TITLE_GALLERY=y;exports.INK_CLASS_TITLE_GRID=M;exports.INK_CLASS_TOOLBAR=s;exports.INK_CLASS_TOOLBAR_HINT=z;exports.INK_CLASS_TOOLBAR_MEASURE=Z;exports.INK_CLASS_TOOLBAR_OVERFLOW=$;exports.INK_CLASS_TOOLBAR_ROW=J;exports.INK_CLASS_TOOLBAR_SHOW=C;exports.INK_CLASS_TOOL_WRAP=n_;exports.INK_COLLAB_TOOLBAR=r;exports.INK_COLOR_SWATCHES=O;exports.INK_DEFAULT_AUTHOR=Lt;exports.INK_DEFAULT_CHROME=ot;exports.INK_DEFAULT_FEATURES=it;exports.INK_DEFAULT_TOOLBAR=A;exports.INK_DEFAULT_VARIANT=It;exports.INK_FORMAT_BLOCK_H1=U_;exports.INK_FORMAT_BLOCK_H2=G_;exports.INK_FORMAT_BLOCK_H3=y_;exports.INK_FORMAT_BLOCK_P=M_;exports.INK_FORMAT_BLOCK_PRE=F_;exports.INK_FORMAT_BLOCK_QUOTE=Y_;exports.INK_HEADING_OPTIONS=l;exports.INK_OUTLINE_EMPTY=Q_;exports.INK_OUTLINE_HEADING_SELECTOR=z_;exports.INK_OUTLINE_HIDE=j_;exports.INK_OUTLINE_LABEL=q_;exports.INK_PLACEHOLDER_DEFAULT=a;exports.INK_QUICK_ACTIONS=rt;exports.INK_SIMPLE_TOOLBAR=E;exports.INK_SLASH_COMMANDS=At;exports.INK_TABLE_DEFAULT_COLS=nt;exports.INK_TABLE_DEFAULT_ROWS=St;exports.INK_TRANSLATE_LANGUAGES=Et;exports.INK_VARIANT_DOCUMENT=J_;exports.SLASH_ARIA_LABEL=b_;exports.SLASH_CATEGORY_AI=I;exports.SLASH_CATEGORY_BASIC=t;exports.SLASH_CATEGORY_MEDIA=i;exports.SLASH_CATEGORY_PLUGINS=L;exports.SLASH_SEARCH_LABEL=D_;
|
|
@@ -2,6 +2,7 @@ import { DropdownOption, SlashCommandItem, ToolbarOption, InkFeaturesConfig } fr
|
|
|
2
2
|
export declare const INK_DEFAULT_TOOLBAR: ToolbarOption[];
|
|
3
3
|
export declare const INK_SIMPLE_TOOLBAR: ToolbarOption[];
|
|
4
4
|
export declare const INK_COLLAB_TOOLBAR: ToolbarOption[];
|
|
5
|
+
export declare const INK_CHROME_TOOLBAR: ToolbarOption[];
|
|
5
6
|
export declare const INK_HEADING_OPTIONS: DropdownOption[];
|
|
6
7
|
export declare const INK_BUTTON_CONFIG: Record<string, {
|
|
7
8
|
title: string;
|
|
@@ -9,7 +10,7 @@ export declare const INK_BUTTON_CONFIG: Record<string, {
|
|
|
9
10
|
value?: string;
|
|
10
11
|
}>;
|
|
11
12
|
export declare const INK_COLOR_SWATCHES: string[];
|
|
12
|
-
export declare const INK_PLACEHOLDER_DEFAULT = "
|
|
13
|
+
export declare const INK_PLACEHOLDER_DEFAULT = "Type / to insert a block, or press \u2318K for AI";
|
|
13
14
|
export declare const INK_CLASS_ROOT = "Ink-Editor";
|
|
14
15
|
export declare const INK_CLASS_TOOLBAR = "Ink-Editor__toolbar";
|
|
15
16
|
export declare const INK_CLASS_TOOLBAR_SHOW = "Ink-Editor__toolbar-show";
|
|
@@ -17,8 +18,101 @@ export declare const INK_CLASS_CONTENT = "Ink-Editor__content";
|
|
|
17
18
|
export declare const INK_CLASS_DIVIDER = "Ink-Editor__divider";
|
|
18
19
|
export declare const INK_CLASS_BUTTON = "Ink-Editor__button";
|
|
19
20
|
export declare const INK_CLASS_BUTTON_ACTIVE = "Ink-Editor__button--active";
|
|
21
|
+
export declare const INK_CLASS_STYLE_DD = "Ink-Editor__style-dd";
|
|
22
|
+
export declare const INK_CLASS_STYLE_TRIGGER = "Ink-Editor__style-dd-trigger";
|
|
23
|
+
export declare const INK_CLASS_STYLE_MENU = "Ink-Editor__style-menu";
|
|
24
|
+
export declare const INK_CLASS_STYLE_MENU_PORTAL = "Ink-Editor__style-menu--portal";
|
|
25
|
+
export declare const INK_CLASS_STYLE_MENU_FORCED = "Ink-Editor__style-menu--forced-light";
|
|
26
|
+
export declare const INK_CLASS_SOURCE = "Ink-Editor__source";
|
|
27
|
+
export declare const INK_CLASS_CONTENT_HIDDEN = "Ink-Editor__content--hidden";
|
|
28
|
+
export declare const INK_CLASS_TABLE_PICKER = "Ink-Editor__table-picker";
|
|
29
|
+
export declare const INK_CLASS_TABLE_PICKER_GRID = "Ink-Editor__table-picker-grid";
|
|
30
|
+
export declare const INK_CLASS_TABLE_PICKER_CELL = "Ink-Editor__table-picker-cell";
|
|
31
|
+
export declare const INK_CLASS_TABLE_PICKER_CELL_ON = "Ink-Editor__table-picker-cell--on";
|
|
32
|
+
export declare const INK_CLASS_TABLE_PICKER_LABEL = "Ink-Editor__table-picker-label";
|
|
33
|
+
export declare const INK_CLASS_TABLE_RESIZE = "Ink-table--resizing";
|
|
34
|
+
export declare const INK_CLASS_TITLE = "Ink-title";
|
|
35
|
+
export declare const INK_CLASS_TITLE_GALLERY = "Ink-Editor__title-gallery";
|
|
36
|
+
export declare const INK_CLASS_TITLE_GRID = "Ink-Editor__title-grid";
|
|
37
|
+
export declare const INK_CLASS_TITLE_CELL = "Ink-Editor__title-cell";
|
|
38
|
+
export declare const INK_CLASS_EXCEL_PANEL = "Ink-Editor__excel";
|
|
39
|
+
export declare const INK_CLASS_EXCEL_GRID = "Ink-Editor__excel-grid";
|
|
40
|
+
export declare const INK_CLASS_EXCEL_CELL = "Ink-Editor__excel-cell";
|
|
41
|
+
export declare const INK_CLASS_EXCEL_ACTIONS = "Ink-Editor__excel-actions";
|
|
42
|
+
export declare const INK_CLASS_EXCEL_TITLE = "Ink-Editor__excel-title";
|
|
43
|
+
export declare const INK_CLASS_EXCEL_INSERT = "Ink-Editor__excel-insert";
|
|
44
|
+
export declare const INK_CLASS_GRAPH_PANEL = "Ink-Editor__graph";
|
|
45
|
+
export declare const INK_CLASS_GRAPH_TYPES = "Ink-Editor__graph-types";
|
|
46
|
+
export declare const INK_CLASS_GRAPH_PREVIEW = "Ink-Editor__graph-preview";
|
|
47
|
+
export declare const INK_CLASS_GRAPH_WRAP = "Ink-graph";
|
|
48
|
+
export declare const INK_CLASS_GRAPH_BLOCK = "Ink-graph-block";
|
|
49
|
+
export declare const INK_CLASS_TOOLBAR_HINT = "Ink-Editor__toolbar-hint";
|
|
50
|
+
export declare const INK_CLASS_TOOLBAR_ROW = "Ink-Editor__toolbar-row";
|
|
51
|
+
export declare const INK_CLASS_TOOLBAR_MEASURE = "Ink-Editor__toolbar-measure";
|
|
52
|
+
export declare const INK_CLASS_TOOLBAR_OVERFLOW = "Ink-Editor__toolbar-overflow";
|
|
53
|
+
export declare const INK_CLASS_TOOLBAR_MORE = "Ink-Editor__toolbar-more";
|
|
54
|
+
export declare const INK_CLASS_EXCEL_HEAD = "Ink-Editor__excel-head";
|
|
55
|
+
export declare const INK_CLASS_EXCEL_CORNER = "Ink-Editor__excel-corner";
|
|
56
|
+
export declare const INK_CLASS_EXCEL_COL_HOVER = "Ink-Editor__excel-cell--col";
|
|
57
|
+
export declare const INK_CLASS_EXCEL_ROW_HOVER = "Ink-Editor__excel-cell--row";
|
|
58
|
+
export declare const INK_ATTR_GRAPH_COLORS = "data-ink-graph-colors";
|
|
59
|
+
export declare const INK_ATTR_MORE = "data-ink-more";
|
|
60
|
+
export declare const EXCEL_COL_LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
61
|
+
export declare const INK_CLASS_PLUGIN_PIP = "Ink-Editor__plugin-pip";
|
|
62
|
+
export declare const INK_CLASS_TOOL_WRAP = "Ink-Editor__tool";
|
|
63
|
+
export declare const INK_CLASS_AI_PILL_INSTALLED = "Ink-AiPill--installed";
|
|
64
|
+
export declare const INK_CLASS_OUTLINE_TOGGLE = "Ink-Outline__toggle";
|
|
65
|
+
export declare const INK_CLASS_AI_TAB = "Ink-Ai__tab";
|
|
66
|
+
export declare const INK_CLASS_AI_TAB_ON = "Ink-Ai__tab--on";
|
|
67
|
+
export declare const INK_ATTR_GRAPH = "data-ink-graph";
|
|
68
|
+
export declare const INK_ATTR_GRAPH_POINTS = "data-ink-graph-points";
|
|
69
|
+
export declare const INK_ATTR_TITLE = "data-ink-title";
|
|
70
|
+
export declare const INK_CLASS_STYLE_OPTION = "Ink-Editor__style-option";
|
|
71
|
+
export declare const INK_CLASS_STYLE_OPTION_SEL = "Ink-Editor__style-option--sel";
|
|
72
|
+
export declare const INK_CLASS_STYLE_OPTION_MARK = "Ink-Editor__style-option-mark";
|
|
73
|
+
export declare const INK_CLASS_STYLE_OPTION_TXT = "Ink-Editor__style-option-txt";
|
|
74
|
+
export declare const INK_CLASS_STYLE_OPTION_NAME = "Ink-Editor__style-option-name";
|
|
75
|
+
export declare const INK_CLASS_STYLE_OPTION_DESC = "Ink-Editor__style-option-desc";
|
|
76
|
+
export declare const INK_CLASS_STYLE_MENU_RICH = "Ink-Editor__style-menu--rich";
|
|
77
|
+
export declare const INK_CLASS_STYLE_CHEV = "Ink-Editor__select-chev";
|
|
78
|
+
export declare const INK_CLASS_STYLE_CHECK = "Ink-Editor__style-check";
|
|
79
|
+
export declare const INK_CLASS_BUTTON_WIDE = "Ink-Editor__button--wide";
|
|
80
|
+
export declare const INK_CLASS_BUTTON_LABEL = "Ink-Editor__button-label";
|
|
81
|
+
export declare const INK_CLASS_AI_PILL_DOT = "Ink-AiPill__dot";
|
|
82
|
+
export declare const INK_CLASS_SLASH_MARK_AI = "Ink-Slash__mark--ai";
|
|
83
|
+
export declare const INK_CLASS_GLYPH = "Ink-Editor__glyph";
|
|
84
|
+
export declare const INK_CLASS_GLYPH_BOLD = "Ink-Editor__glyph--bold";
|
|
85
|
+
export declare const INK_CLASS_GLYPH_ITALIC = "Ink-Editor__glyph--italic";
|
|
86
|
+
export declare const INK_CLASS_GLYPH_UNDERLINE = "Ink-Editor__glyph--underline";
|
|
87
|
+
export declare const INK_CLASS_GLYPH_STRIKE = "Ink-Editor__glyph--strike";
|
|
20
88
|
export declare const INK_CLASS_FOOTER = "Ink-Editor__footer";
|
|
89
|
+
export declare const INK_CLASS_FOOTER_META = "Ink-Editor__footer-meta";
|
|
90
|
+
export declare const INK_CLASS_AI_PILL = "Ink-AiPill";
|
|
91
|
+
export declare const INK_CLASS_CALLOUT = "Ink-callout";
|
|
92
|
+
export declare const SLASH_CATEGORY_BASIC = "Blocks";
|
|
93
|
+
export declare const SLASH_CATEGORY_MEDIA = "Media";
|
|
94
|
+
export declare const SLASH_CATEGORY_AI = "AI";
|
|
95
|
+
export declare const SLASH_CATEGORY_PLUGINS = "Plugins";
|
|
96
|
+
export declare const SLASH_ARIA_LABEL = "Insert a block";
|
|
97
|
+
export declare const SLASH_SEARCH_LABEL = "";
|
|
98
|
+
export declare const INK_FORMAT_BLOCK_H1 = "h1";
|
|
99
|
+
export declare const INK_FORMAT_BLOCK_H2 = "h2";
|
|
100
|
+
export declare const INK_FORMAT_BLOCK_H3 = "h3";
|
|
101
|
+
export declare const INK_FORMAT_BLOCK_P = "p";
|
|
102
|
+
export declare const INK_FORMAT_BLOCK_PRE = "pre";
|
|
103
|
+
export declare const INK_FORMAT_BLOCK_QUOTE = "blockquote";
|
|
104
|
+
export declare const INK_CALLOUT_HTML = "<blockquote class=\"Ink-callout\"><p>Callout</p></blockquote>";
|
|
105
|
+
export declare const INK_CHECKLIST_HTML = "<ul class=\"Ink-list--check\"><li>List item</li></ul>";
|
|
21
106
|
export declare const INK_CLASS_SHELL = "Ink-Editor__shell";
|
|
107
|
+
export declare const INK_CLASS_OUTLINE = "Ink-Outline";
|
|
108
|
+
export declare const INK_CLASS_OUTLINE_LABEL = "Ink-Outline__label";
|
|
109
|
+
export declare const INK_CLASS_OUTLINE_ITEM = "Ink-Outline__item";
|
|
110
|
+
export declare const INK_CLASS_OUTLINE_ITEM_ACTIVE = "Ink-Outline__item--active";
|
|
111
|
+
export declare const INK_OUTLINE_LABEL = "Outline";
|
|
112
|
+
export declare const INK_OUTLINE_EMPTY = "No headings yet";
|
|
113
|
+
export declare const INK_OUTLINE_HIDE = "Hide";
|
|
114
|
+
export declare const INK_OUTLINE_HEADING_SELECTOR = "h1, h2, h3";
|
|
115
|
+
export declare const INK_VARIANT_DOCUMENT = "document";
|
|
22
116
|
export declare const INK_CLASS_BODY = "Ink-Editor__body";
|
|
23
117
|
export declare const INK_CLASS_BLOCK_ACTIVE = "Ink-block--active";
|
|
24
118
|
export declare const INK_CLASS_TC_INSERT = "Ink-tc-insert";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.const.d.ts","sourceRoot":"","sources":["../../src/constants/defaults.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"defaults.const.d.ts","sourceRoot":"","sources":["../../src/constants/defaults.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAmClD,eAAO,MAAM,mBAAmB,EAAE,aAAa,EAwC9C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAM7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAiB7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,aAAa,EA4B7C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,cAAc,EAQ/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACpC,MAAM,EACN;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CA8BnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAS9B,CAAC;AAEF,eAAO,MAAM,uBAAuB,sDAAiD,CAAC;AACtF,eAAO,MAAM,cAAc,eAAe,CAAC;AAC3C,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AACjE,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,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