@forgedevstack/ink 1.1.8 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -1
- package/dist/common-components/Box/Box.cjs +1 -1
- package/dist/common-components/Box/Box.js +7 -6
- package/dist/common-components/Button/Button.cjs +1 -1
- package/dist/common-components/Button/Button.js +9 -8
- package/dist/common-components/Canvas/Canvas.cjs +1 -1
- package/dist/common-components/Canvas/Canvas.js +3 -2
- package/dist/common-components/ContextMenu/ContextMenu.cjs +1 -1
- package/dist/common-components/ContextMenu/ContextMenu.js +3 -2
- package/dist/common-components/Field/Field.cjs +1 -1
- package/dist/common-components/Field/Field.js +11 -10
- package/dist/common-components/icons/GripIcon.cjs +1 -1
- package/dist/common-components/icons/GripIcon.js +3 -2
- package/dist/components/InkEditor/InkEditor.cjs +1 -1
- package/dist/components/InkEditor/InkEditor.d.ts.map +1 -1
- package/dist/components/InkEditor/InkEditor.js +1301 -1006
- package/dist/components/InkEditor/components/AiPanel/AiPanel.cjs +1 -1
- package/dist/components/InkEditor/components/AiPanel/AiPanel.js +13 -12
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.cjs +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.cjs +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.d.ts +20 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.d.ts.map +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.const.js +25 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.d.ts +4 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.d.ts.map +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.js +61 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.types.d.ts +11 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.cjs +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.d.ts +19 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.d.ts.map +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.js +30 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.test.d.ts +2 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/AiSelectionBubble.utils.test.d.ts.map +1 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/index.d.ts +4 -0
- package/dist/components/InkEditor/components/AiSelectionBubble/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/BlockHandles/BlockHandles.cjs +1 -1
- package/dist/components/InkEditor/components/BlockHandles/BlockHandles.js +7 -6
- package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.cjs +1 -1
- package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.d.ts +2 -0
- package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.d.ts.map +1 -1
- package/dist/components/InkEditor/components/CommentsPanel/CommentsPanel.js +16 -15
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.cjs +1 -1
- package/dist/components/InkEditor/components/ExcelSheetPanel/ExcelSheetPanel.js +14 -13
- package/dist/components/InkEditor/components/FindReplace/FindReplace.cjs +1 -1
- package/dist/components/InkEditor/components/FindReplace/FindReplace.js +21 -20
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.cjs +1 -1
- package/dist/components/InkEditor/components/GraphEditModal/GraphEditModal.js +17 -16
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.cjs +1 -1
- package/dist/components/InkEditor/components/GraphPicker/GraphPicker.js +3 -2
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.cjs +1 -1
- package/dist/components/InkEditor/components/HtmlSourcePanel/HtmlSourcePanel.js +7 -6
- package/dist/components/InkEditor/components/ImageFrame/ImageFrame.cjs +1 -0
- package/dist/components/InkEditor/components/ImageFrame/ImageFrame.d.ts +8 -0
- package/dist/components/InkEditor/components/ImageFrame/ImageFrame.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ImageFrame/ImageFrame.js +54 -0
- package/dist/components/InkEditor/components/ImageFrame/index.d.ts +3 -0
- package/dist/components/InkEditor/components/ImageFrame/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/InlineToolbar/InlineToolbar.cjs +1 -1
- package/dist/components/InkEditor/components/InlineToolbar/InlineToolbar.js +11 -10
- package/dist/components/InkEditor/components/MentionMenu/MentionMenu.cjs +1 -0
- package/dist/components/InkEditor/components/MentionMenu/MentionMenu.d.ts +16 -0
- package/dist/components/InkEditor/components/MentionMenu/MentionMenu.d.ts.map +1 -0
- package/dist/components/InkEditor/components/MentionMenu/MentionMenu.js +21 -0
- package/dist/components/InkEditor/components/MentionMenu/index.d.ts +3 -0
- package/dist/components/InkEditor/components/MentionMenu/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.cjs +1 -1
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.js +11 -10
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.cjs +1 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.cjs +1 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.d.ts +7 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.d.ts.map +1 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.const.js +9 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.d.ts +4 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.d.ts.map +1 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.js +83 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.types.d.ts +8 -0
- package/dist/components/InkEditor/components/PresenceStack/PresenceStack.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/PresenceStack/index.d.ts +3 -0
- package/dist/components/InkEditor/components/PresenceStack/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.cjs +1 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.cjs +1 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.d.ts +7 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.d.ts.map +1 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.const.js +10 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.d.ts +4 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.d.ts.map +1 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.js +66 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.types.d.ts +6 -0
- package/dist/components/InkEditor/components/RemoteCursors/RemoteCursors.types.d.ts.map +1 -0
- package/dist/components/InkEditor/components/RemoteCursors/index.d.ts +3 -0
- package/dist/components/InkEditor/components/RemoteCursors/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/SignPad/SignPad.cjs +1 -1
- package/dist/components/InkEditor/components/SignPad/SignPad.js +7 -6
- package/dist/components/InkEditor/components/SlashMenu/SlashMenu.cjs +1 -1
- package/dist/components/InkEditor/components/SlashMenu/SlashMenu.js +7 -6
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.cjs +1 -1
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.cjs +1 -1
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.const.js +8 -7
- package/dist/components/InkEditor/components/TableSizePicker/TableSizePicker.js +7 -6
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.cjs +1 -1
- package/dist/components/InkEditor/components/ThemePicker/ThemePicker.js +7 -6
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.cjs +1 -1
- package/dist/components/InkEditor/components/TitleGallery/TitleGallery.js +3 -2
- package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarButton/ToolbarButton.js +13 -12
- package/dist/components/InkEditor/components/ToolbarColorPicker/ToolbarColorPicker.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarColorPicker/ToolbarColorPicker.js +9 -8
- package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.const.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.const.js +9 -8
- package/dist/components/InkEditor/components/ToolbarCustomize/ToolbarCustomize.js +9 -8
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.js +19 -18
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.js +6 -5
- package/dist/components/InkEditor/components/VersionHistory/VersionHistory.cjs +1 -0
- package/dist/components/InkEditor/components/VersionHistory/VersionHistory.d.ts +11 -0
- package/dist/components/InkEditor/components/VersionHistory/VersionHistory.d.ts.map +1 -0
- package/dist/components/InkEditor/components/VersionHistory/VersionHistory.js +22 -0
- package/dist/components/InkEditor/components/VersionHistory/index.d.ts +3 -0
- package/dist/components/InkEditor/components/VersionHistory/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/index.d.ts +11 -0
- package/dist/components/InkEditor/components/index.d.ts.map +1 -1
- package/dist/components/InkEditor/helpers/format.utils.cjs +3 -2
- package/dist/components/InkEditor/helpers/format.utils.d.ts +1 -0
- package/dist/components/InkEditor/helpers/format.utils.d.ts.map +1 -1
- package/dist/components/InkEditor/helpers/format.utils.js +106 -84
- package/dist/components/InkEditor/helpers/index.d.ts +1 -1
- package/dist/components/InkEditor/helpers/index.d.ts.map +1 -1
- package/dist/components/InkTabs/InkTabs.cjs +1 -0
- package/dist/components/InkTabs/InkTabs.d.ts +4 -0
- package/dist/components/InkTabs/InkTabs.d.ts.map +1 -0
- package/dist/components/InkTabs/InkTabs.js +104 -0
- package/dist/components/InkTabs/index.d.ts +2 -0
- package/dist/components/InkTabs/index.d.ts.map +1 -0
- package/dist/components/InkWorkspace/InkWorkspace.cjs +1 -0
- package/dist/components/InkWorkspace/InkWorkspace.d.ts +4 -0
- package/dist/components/InkWorkspace/InkWorkspace.d.ts.map +1 -0
- package/dist/components/InkWorkspace/InkWorkspace.js +309 -0
- package/dist/components/InkWorkspace/components/WorkspaceIcons.cjs +1 -0
- package/dist/components/InkWorkspace/components/WorkspaceIcons.d.ts +11 -0
- package/dist/components/InkWorkspace/components/WorkspaceIcons.d.ts.map +1 -0
- package/dist/components/InkWorkspace/components/WorkspaceIcons.js +39 -0
- package/dist/components/InkWorkspace/hooks/useInkWorkspace.cjs +1 -0
- package/dist/components/InkWorkspace/hooks/useInkWorkspace.d.ts +30 -0
- package/dist/components/InkWorkspace/hooks/useInkWorkspace.d.ts.map +1 -0
- package/dist/components/InkWorkspace/hooks/useInkWorkspace.js +73 -0
- package/dist/components/InkWorkspace/index.d.ts +4 -0
- package/dist/components/InkWorkspace/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/constants/collab.const.cjs +1 -0
- package/dist/constants/collab.const.d.ts +20 -0
- package/dist/constants/collab.const.d.ts.map +1 -0
- package/dist/constants/collab.const.js +54 -0
- package/dist/constants/contextMenu.const.cjs +1 -1
- package/dist/constants/contextMenu.const.d.ts +8 -0
- package/dist/constants/contextMenu.const.d.ts.map +1 -1
- package/dist/constants/contextMenu.const.js +30 -22
- package/dist/constants/defaultIcons.cjs +1 -1
- package/dist/constants/defaultIcons.js +6 -5
- package/dist/constants/defaults.const.cjs +1 -1
- package/dist/constants/defaults.const.d.ts.map +1 -1
- package/dist/constants/defaults.const.js +150 -138
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/numbers.cjs +1 -1
- package/dist/constants/numbers.js +43 -37
- package/dist/constants/toolbar.const.cjs +1 -1
- package/dist/constants/toolbar.const.d.ts +7 -0
- package/dist/constants/toolbar.const.d.ts.map +1 -1
- package/dist/constants/toolbar.const.js +16 -9
- package/dist/constants/toolbarMenu.const.cjs +1 -1
- package/dist/constants/toolbarMenu.const.d.ts.map +1 -1
- package/dist/constants/toolbarMenu.const.js +25 -11
- package/dist/constants/workspace.const.cjs +1 -0
- package/dist/constants/workspace.const.d.ts +24 -0
- package/dist/constants/workspace.const.d.ts.map +1 -0
- package/dist/constants/workspace.const.js +23 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useInkCollaboration.cjs +1 -0
- package/dist/hooks/useInkCollaboration.d.ts +4 -0
- package/dist/hooks/useInkCollaboration.d.ts.map +1 -0
- package/dist/hooks/useInkCollaboration.js +87 -0
- package/dist/hooks/useToolbarOverflow.cjs +1 -1
- package/dist/hooks/useToolbarOverflow.js +12 -11
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +151 -135
- package/dist/plugins/ai/demoProvider.cjs +1 -1
- package/dist/plugins/ai/demoProvider.js +3 -2
- package/dist/plugins/ai/index.cjs +1 -1
- package/dist/plugins/ai/index.js +25 -24
- package/dist/plugins/excel/excel.utils.cjs +1 -1
- package/dist/plugins/excel/excel.utils.js +17 -16
- package/dist/plugins/graph/graph.utils.cjs +1 -1
- package/dist/plugins/graph/graph.utils.js +7 -6
- package/dist/plugins/titles/titles.const.cjs +1 -1
- package/dist/plugins/titles/titles.const.js +9 -8
- package/dist/plugins/titles/titles.utils.cjs +1 -1
- package/dist/plugins/titles/titles.utils.js +3 -2
- package/dist/styles.css +1 -1
- package/dist/types/collab.types.d.ts +54 -0
- package/dist/types/collab.types.d.ts.map +1 -0
- 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 +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/ink.types.d.ts +3 -1
- package/dist/types/ink.types.d.ts.map +1 -1
- package/dist/types/workspace.types.d.ts +54 -0
- package/dist/types/workspace.types.d.ts.map +1 -0
- package/dist/utils/blocks.utils.cjs +1 -1
- package/dist/utils/blocks.utils.js +19 -18
- package/dist/utils/collab.utils.cjs +1 -0
- package/dist/utils/collab.utils.d.ts +5 -0
- package/dist/utils/collab.utils.d.ts.map +1 -0
- package/dist/utils/collab.utils.js +33 -0
- package/dist/utils/collab.utils.test.d.ts +2 -0
- package/dist/utils/collab.utils.test.d.ts.map +1 -0
- package/dist/utils/comments.utils.cjs +1 -1
- package/dist/utils/comments.utils.d.ts +4 -0
- package/dist/utils/comments.utils.d.ts.map +1 -1
- package/dist/utils/comments.utils.js +26 -18
- package/dist/utils/comments.utils.test.d.ts +2 -0
- package/dist/utils/comments.utils.test.d.ts.map +1 -0
- package/dist/utils/exportDocument.utils.cjs +2 -0
- package/dist/utils/exportDocument.utils.d.ts +16 -0
- package/dist/utils/exportDocument.utils.d.ts.map +1 -0
- package/dist/utils/exportDocument.utils.js +85 -0
- package/dist/utils/exportDocument.utils.test.d.ts +2 -0
- package/dist/utils/exportDocument.utils.test.d.ts.map +1 -0
- package/dist/utils/formatPainter.utils.cjs +1 -0
- package/dist/utils/formatPainter.utils.d.ts +11 -0
- package/dist/utils/formatPainter.utils.d.ts.map +1 -0
- package/dist/utils/formatPainter.utils.js +20 -0
- package/dist/utils/formatPainter.utils.test.d.ts +2 -0
- package/dist/utils/formatPainter.utils.test.d.ts.map +1 -0
- package/dist/utils/history.utils.cjs +1 -1
- package/dist/utils/history.utils.js +3 -2
- package/dist/utils/image.utils.cjs +1 -0
- package/dist/utils/image.utils.d.ts +14 -0
- package/dist/utils/image.utils.d.ts.map +1 -0
- package/dist/utils/image.utils.js +33 -0
- package/dist/utils/image.utils.test.d.ts +2 -0
- package/dist/utils/image.utils.test.d.ts.map +1 -0
- package/dist/utils/index.d.ts +12 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/ink.brand.test.d.ts +2 -0
- package/dist/utils/ink.brand.test.d.ts.map +1 -0
- package/dist/utils/license.utils.cjs +1 -1
- package/dist/utils/license.utils.js +8 -7
- package/dist/utils/markdown.utils.cjs +11 -0
- package/dist/utils/markdown.utils.d.ts +7 -0
- package/dist/utils/markdown.utils.d.ts.map +1 -0
- package/dist/utils/markdown.utils.js +87 -0
- package/dist/utils/markdown.utils.test.d.ts +2 -0
- package/dist/utils/markdown.utils.test.d.ts.map +1 -0
- package/dist/utils/mentions.utils.cjs +1 -0
- package/dist/utils/mentions.utils.d.ts +13 -0
- package/dist/utils/mentions.utils.d.ts.map +1 -0
- package/dist/utils/mentions.utils.js +23 -0
- package/dist/utils/mentions.utils.test.d.ts +2 -0
- package/dist/utils/mentions.utils.test.d.ts.map +1 -0
- package/dist/utils/outline.utils.cjs +1 -1
- package/dist/utils/outline.utils.js +9 -8
- package/dist/utils/paste.utils.cjs +1 -1
- package/dist/utils/paste.utils.d.ts +2 -0
- package/dist/utils/paste.utils.d.ts.map +1 -1
- package/dist/utils/paste.utils.js +53 -19
- package/dist/utils/paste.utils.test.d.ts +2 -0
- package/dist/utils/paste.utils.test.d.ts.map +1 -0
- package/dist/utils/premium.utils.cjs +1 -1
- package/dist/utils/premium.utils.js +12 -11
- package/dist/utils/selection.utils.cjs +1 -1
- package/dist/utils/selection.utils.js +3 -2
- package/dist/utils/slash.utils.cjs +1 -1
- package/dist/utils/slash.utils.js +10 -9
- package/dist/utils/table.utils.cjs +1 -1
- package/dist/utils/table.utils.d.ts +8 -0
- package/dist/utils/table.utils.d.ts.map +1 -1
- package/dist/utils/table.utils.js +78 -54
- package/dist/utils/toolbarStorage.utils.cjs +1 -1
- package/dist/utils/toolbarStorage.utils.js +15 -14
- package/dist/utils/trackChanges.utils.cjs +1 -1
- package/dist/utils/trackChanges.utils.js +9 -8
- package/dist/utils/typo.utils.cjs +1 -1
- package/dist/utils/typo.utils.js +8 -7
- package/dist/utils/versions.utils.cjs +1 -0
- package/dist/utils/versions.utils.d.ts +11 -0
- package/dist/utils/versions.utils.d.ts.map +1 -0
- package/dist/utils/versions.utils.js +36 -0
- package/dist/utils/versions.utils.test.d.ts +2 -0
- package/dist/utils/versions.utils.test.d.ts.map +1 -0
- package/dist/utils/words.utils.cjs +1 -1
- package/dist/utils/words.utils.js +3 -2
- package/dist/utils/workspace.utils.cjs +1 -0
- package/dist/utils/workspace.utils.d.ts +5 -0
- package/dist/utils/workspace.utils.d.ts.map +1 -0
- package/dist/utils/workspace.utils.js +26 -0
- package/dist/utils/workspace.utils.test.d.ts +2 -0
- package/dist/utils/workspace.utils.test.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
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
|
|
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
|
|
4
|
-
import { LIST_CLASS_CHECK as
|
|
5
|
-
const
|
|
2
|
+
import { SLASH_GENERATE_TABLE_MARK as L, SLASH_GENERATE_TABLE_SHORTCUT as E, SLASH_GENERATE_TABLE_DESC as A, SLASH_GENERATE_TABLE_KEYWORDS as S, SLASH_GENERATE_TABLE_LABEL as O, SLASH_GENERATE_TABLE_ID as T, 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 R, TOOLBAR_OPTION_DIRECTION_LTR as m, TOOLBAR_OPTION_DIRECTION_RTL as h, TOOLBAR_OPTION_EXPORT_DOCX as K, TOOLBAR_OPTION_EXPORT_PDF as g, TOOLBAR_OPTION_VERSIONS as p, TOOLBAR_OPTION_IMPORT_MARKDOWN as b, TOOLBAR_OPTION_EXPORT_MARKDOWN as B, TOOLBAR_OPTION_SIGNATURE as P, TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN as H, TOOLBAR_OPTION_HORIZONTAL_RULE as y, TOOLBAR_OPTION_FORMAT_PAINTER as D, TOOLBAR_OPTION_CHANGE_CASE as U } from "./toolbar.const.js";
|
|
4
|
+
import { LIST_CLASS_CHECK as G } from "./lists.const.js";
|
|
5
|
+
const Y = [
|
|
6
6
|
"headingDropdown",
|
|
7
7
|
k,
|
|
8
8
|
"divider",
|
|
@@ -11,14 +11,14 @@ const G = [
|
|
|
11
11
|
"underline",
|
|
12
12
|
"strikethrough",
|
|
13
13
|
u,
|
|
14
|
-
|
|
14
|
+
R,
|
|
15
15
|
"divider",
|
|
16
16
|
"textColor",
|
|
17
17
|
"highlightColor",
|
|
18
18
|
"divider",
|
|
19
19
|
o,
|
|
20
20
|
m,
|
|
21
|
-
|
|
21
|
+
h,
|
|
22
22
|
"divider",
|
|
23
23
|
"link",
|
|
24
24
|
"image",
|
|
@@ -28,11 +28,16 @@ const G = [
|
|
|
28
28
|
l,
|
|
29
29
|
a,
|
|
30
30
|
c,
|
|
31
|
-
d,
|
|
32
|
-
_,
|
|
33
31
|
K,
|
|
34
32
|
g,
|
|
35
33
|
p,
|
|
34
|
+
d,
|
|
35
|
+
_,
|
|
36
|
+
b,
|
|
37
|
+
B,
|
|
38
|
+
P,
|
|
39
|
+
H,
|
|
40
|
+
y,
|
|
36
41
|
"divider",
|
|
37
42
|
"undo",
|
|
38
43
|
"redo",
|
|
@@ -41,14 +46,16 @@ const G = [
|
|
|
41
46
|
"comments",
|
|
42
47
|
"ai",
|
|
43
48
|
"divider",
|
|
44
|
-
"clearFormat"
|
|
45
|
-
|
|
49
|
+
"clearFormat",
|
|
50
|
+
D,
|
|
51
|
+
U
|
|
52
|
+
], W = [
|
|
46
53
|
"bold",
|
|
47
54
|
"italic",
|
|
48
55
|
"underline",
|
|
49
56
|
"divider",
|
|
50
57
|
o
|
|
51
|
-
],
|
|
58
|
+
], X = [
|
|
52
59
|
"headingDropdown",
|
|
53
60
|
"divider",
|
|
54
61
|
"bold",
|
|
@@ -65,7 +72,7 @@ const G = [
|
|
|
65
72
|
"divider",
|
|
66
73
|
"undo",
|
|
67
74
|
"redo"
|
|
68
|
-
],
|
|
75
|
+
], V = [
|
|
69
76
|
"headingDropdown",
|
|
70
77
|
"divider",
|
|
71
78
|
"bold",
|
|
@@ -93,7 +100,7 @@ const G = [
|
|
|
93
100
|
"undo",
|
|
94
101
|
"redo",
|
|
95
102
|
"ai"
|
|
96
|
-
],
|
|
103
|
+
], q = [
|
|
97
104
|
{ value: "p", label: "Paragraph" },
|
|
98
105
|
{ value: "h1", label: "Heading 1" },
|
|
99
106
|
{ value: "h2", label: "Heading 2" },
|
|
@@ -101,7 +108,7 @@ const G = [
|
|
|
101
108
|
{ value: "h4", label: "Heading 4" },
|
|
102
109
|
{ value: "h5", label: "Heading 5" },
|
|
103
110
|
{ value: "h6", label: "Heading 6" }
|
|
104
|
-
],
|
|
111
|
+
], j = {
|
|
105
112
|
bold: { title: "Bold (Ctrl+B)", command: "bold" },
|
|
106
113
|
italic: { title: "Italic (Ctrl+I)", command: "italic" },
|
|
107
114
|
underline: { title: "Underline (Ctrl+U)", command: "underline" },
|
|
@@ -130,7 +137,7 @@ const G = [
|
|
|
130
137
|
clearFormat: { title: "Clear formatting", command: "removeFormat" },
|
|
131
138
|
undo: { title: "Undo", command: "undo" },
|
|
132
139
|
redo: { title: "Redo", command: "redo" }
|
|
133
|
-
},
|
|
140
|
+
}, z = [
|
|
134
141
|
"#111827",
|
|
135
142
|
"#dc2626",
|
|
136
143
|
"#ea580c",
|
|
@@ -139,7 +146,7 @@ const G = [
|
|
|
139
146
|
"#2563eb",
|
|
140
147
|
"#0f766e",
|
|
141
148
|
"#db2777"
|
|
142
|
-
],
|
|
149
|
+
], J = "Type / to insert a block, or press ⌘K for AI", Q = "Ink-Editor", Z = "Ink-Editor__toolbar", $ = "Ink-Editor__toolbar-show", tt = "Ink-Editor__content", et = "Ink-Editor__divider", _t = "Ink-Editor__style-dd", ot = "Ink-Editor__style-dd-trigger", it = "Ink-Editor__style-menu", nt = "Ink-Editor__style-menu--portal", rt = "Ink-Editor__style-menu--forced-light", lt = "Ink-Editor__source", at = "Ink-Editor__content--hidden", ct = "Ink-Editor__table-picker", dt = "Ink-Editor__table-picker-grid", st = "Ink-Editor__table-picker-cell", It = "Ink-Editor__table-picker-cell--on", Lt = "Ink-Editor__table-picker-label", Et = "Ink-table--resizing", At = "Ink-title", St = "Ink-Editor__title-gallery", Ot = "Ink-Editor__title-grid", Tt = "Ink-Editor__title-cell", Nt = "Ink-Editor__excel", Ct = "Ink-Editor__excel-grid", kt = "Ink-Editor__excel-cell", ut = "Ink-Editor__excel-actions", Rt = "Ink-Editor__excel-title", mt = "Ink-Editor__excel-insert", ht = "Ink-Editor__graph", Kt = "Ink-Editor__graph-types", gt = "Ink-Editor__graph-preview", pt = "Ink-graph", bt = "Ink-graph-block", Bt = "Ink-Editor__toolbar-hint", Pt = "Ink-Editor__toolbar-row", Ht = "Ink-Editor__toolbar-measure", yt = "Ink-Editor__toolbar-overflow", Dt = "Ink-Editor__excel-head", Ut = "Ink-Editor__excel-corner", Gt = "Ink-Editor__excel-cell--col", vt = "Ink-Editor__excel-cell--row", Mt = "data-ink-graph-colors", ft = "data-ink-more", wt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", Ft = "Ink-Editor__plugin-pip", xt = "Ink-Editor__tool", Yt = "Ink-AiPill--installed", Wt = "Ink-Outline__toggle", Xt = "Ink-Ai__tab", Vt = "Ink-Ai__tab--on", qt = "data-ink-graph", jt = "data-ink-graph-points", zt = "data-ink-title", Jt = "Ink-Editor__style-option", Qt = "Ink-Editor__style-option--sel", Zt = "Ink-Editor__select-chev", $t = "Ink-Editor__style-check", te = "Ink-Editor__button--wide", ee = "Ink-Editor__button-label", _e = "Ink-AiPill__dot", oe = "Ink-Slash__mark--ai", ie = "Ink-Editor__glyph", ne = "Ink-Editor__glyph--bold", re = "Ink-Editor__glyph--italic", le = "Ink-Editor__glyph--underline", ae = "Ink-Editor__glyph--strike", ce = "Ink-Editor__footer", de = "Ink-Editor__footer-meta", se = "Ink-AiPill", t = "Blocks", v = "Media", i = "AI", e = "Plugins", Ie = "Insert a block", Le = "", Ee = "h1", Ae = "h2", Se = "h3", Oe = "p", Te = "pre", Ne = "blockquote", Ce = '<blockquote class="Ink-callout"><p>Callout</p></blockquote>', ke = `<ul class="${G}"><li>${N}</li></ul>`, ue = "Ink-Editor__shell", Re = "Ink-Outline", me = "Ink-Outline__label", he = "Ink-Outline__item", Ke = "Ink-Outline__item--active", ge = "Outline", pe = "No headings yet", be = "Hide", Be = "h1, h2, h3", Pe = "document", He = "Ink-Editor__body", ye = "Ink-block--active", De = "Ink-tc-insert", Ue = "Ink-tc-delete", Ge = "Ink-comment-mark", ve = "You", Me = "classic", M = "boxed", fe = M, we = {
|
|
143
150
|
table: !0,
|
|
144
151
|
trackChanges: !0,
|
|
145
152
|
comments: !0,
|
|
@@ -157,8 +164,13 @@ const G = [
|
|
|
157
164
|
graph: !0,
|
|
158
165
|
outline: !0,
|
|
159
166
|
fullscreen: !0,
|
|
160
|
-
theme: !0
|
|
161
|
-
|
|
167
|
+
theme: !0,
|
|
168
|
+
markdown: !0,
|
|
169
|
+
export: !0,
|
|
170
|
+
versionHistory: !0,
|
|
171
|
+
mentions: !0,
|
|
172
|
+
formatPainter: !0
|
|
173
|
+
}, Fe = s, xe = I, Ye = [
|
|
162
174
|
{
|
|
163
175
|
id: "paragraph",
|
|
164
176
|
label: "Text",
|
|
@@ -275,7 +287,7 @@ const G = [
|
|
|
275
287
|
keywords: ["image", "img", "media", "upload"],
|
|
276
288
|
insert: "image",
|
|
277
289
|
description: "Upload or embed an image.",
|
|
278
|
-
category:
|
|
290
|
+
category: v,
|
|
279
291
|
shortcut: "/img",
|
|
280
292
|
mark: "▣"
|
|
281
293
|
},
|
|
@@ -290,11 +302,11 @@ const G = [
|
|
|
290
302
|
mark: "✦"
|
|
291
303
|
},
|
|
292
304
|
{
|
|
293
|
-
id:
|
|
294
|
-
label:
|
|
295
|
-
keywords:
|
|
305
|
+
id: T,
|
|
306
|
+
label: O,
|
|
307
|
+
keywords: S,
|
|
296
308
|
insert: "ai",
|
|
297
|
-
description:
|
|
309
|
+
description: A,
|
|
298
310
|
category: i,
|
|
299
311
|
shortcut: E,
|
|
300
312
|
mark: L
|
|
@@ -329,7 +341,7 @@ const G = [
|
|
|
329
341
|
shortcut: "/gr",
|
|
330
342
|
mark: "▦"
|
|
331
343
|
}
|
|
332
|
-
],
|
|
344
|
+
], We = [
|
|
333
345
|
"English",
|
|
334
346
|
"Spanish",
|
|
335
347
|
"French",
|
|
@@ -340,127 +352,127 @@ const G = [
|
|
|
340
352
|
"Portuguese",
|
|
341
353
|
"Korean",
|
|
342
354
|
"Italian"
|
|
343
|
-
],
|
|
355
|
+
], Xe = [
|
|
344
356
|
{ id: "rewrite", label: "Rewrite", capability: "rewrite" },
|
|
345
357
|
{ id: "summarize", label: "Summarize", capability: "summarize" },
|
|
346
358
|
{ id: "expand", label: "Expand", capability: "expand" },
|
|
347
359
|
{ id: "tone", label: "Adjust tone", capability: "tone" }
|
|
348
360
|
];
|
|
349
361
|
export {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
362
|
+
wt as EXCEL_COL_LETTERS,
|
|
363
|
+
qt as INK_ATTR_GRAPH,
|
|
364
|
+
Mt as INK_ATTR_GRAPH_COLORS,
|
|
365
|
+
jt as INK_ATTR_GRAPH_POINTS,
|
|
366
|
+
ft as INK_ATTR_MORE,
|
|
367
|
+
zt as INK_ATTR_TITLE,
|
|
368
|
+
j as INK_BUTTON_CONFIG,
|
|
369
|
+
Ce as INK_CALLOUT_HTML,
|
|
370
|
+
ke as INK_CHECKLIST_HTML,
|
|
371
|
+
M as INK_CHROME_BOXED,
|
|
372
|
+
V as INK_CHROME_TOOLBAR,
|
|
373
|
+
se as INK_CLASS_AI_PILL,
|
|
374
|
+
_e as INK_CLASS_AI_PILL_DOT,
|
|
375
|
+
Yt as INK_CLASS_AI_PILL_INSTALLED,
|
|
376
|
+
Xt as INK_CLASS_AI_TAB,
|
|
377
|
+
Vt as INK_CLASS_AI_TAB_ON,
|
|
378
|
+
ye as INK_CLASS_BLOCK_ACTIVE,
|
|
379
|
+
He as INK_CLASS_BODY,
|
|
380
|
+
ee as INK_CLASS_BUTTON_LABEL,
|
|
381
|
+
te as INK_CLASS_BUTTON_WIDE,
|
|
382
|
+
Ge as INK_CLASS_COMMENT_MARK,
|
|
383
|
+
tt as INK_CLASS_CONTENT,
|
|
384
|
+
at as INK_CLASS_CONTENT_HIDDEN,
|
|
385
|
+
et as INK_CLASS_DIVIDER,
|
|
386
|
+
ut as INK_CLASS_EXCEL_ACTIONS,
|
|
387
|
+
kt as INK_CLASS_EXCEL_CELL,
|
|
388
|
+
Gt as INK_CLASS_EXCEL_COL_HOVER,
|
|
389
|
+
Ut as INK_CLASS_EXCEL_CORNER,
|
|
390
|
+
Ct as INK_CLASS_EXCEL_GRID,
|
|
391
|
+
Dt as INK_CLASS_EXCEL_HEAD,
|
|
392
|
+
mt as INK_CLASS_EXCEL_INSERT,
|
|
393
|
+
Nt as INK_CLASS_EXCEL_PANEL,
|
|
394
|
+
vt as INK_CLASS_EXCEL_ROW_HOVER,
|
|
395
|
+
Rt as INK_CLASS_EXCEL_TITLE,
|
|
396
|
+
ce as INK_CLASS_FOOTER,
|
|
397
|
+
de as INK_CLASS_FOOTER_META,
|
|
398
|
+
ie as INK_CLASS_GLYPH,
|
|
399
|
+
ne as INK_CLASS_GLYPH_BOLD,
|
|
400
|
+
re as INK_CLASS_GLYPH_ITALIC,
|
|
401
|
+
ae as INK_CLASS_GLYPH_STRIKE,
|
|
402
|
+
le as INK_CLASS_GLYPH_UNDERLINE,
|
|
403
|
+
bt as INK_CLASS_GRAPH_BLOCK,
|
|
404
|
+
ht as INK_CLASS_GRAPH_PANEL,
|
|
405
|
+
gt as INK_CLASS_GRAPH_PREVIEW,
|
|
406
|
+
Kt as INK_CLASS_GRAPH_TYPES,
|
|
407
|
+
pt as INK_CLASS_GRAPH_WRAP,
|
|
408
|
+
Re as INK_CLASS_OUTLINE,
|
|
409
|
+
he as INK_CLASS_OUTLINE_ITEM,
|
|
410
|
+
Ke as INK_CLASS_OUTLINE_ITEM_ACTIVE,
|
|
411
|
+
me as INK_CLASS_OUTLINE_LABEL,
|
|
412
|
+
Wt as INK_CLASS_OUTLINE_TOGGLE,
|
|
413
|
+
Ft as INK_CLASS_PLUGIN_PIP,
|
|
414
|
+
Q as INK_CLASS_ROOT,
|
|
415
|
+
ue as INK_CLASS_SHELL,
|
|
416
|
+
oe as INK_CLASS_SLASH_MARK_AI,
|
|
417
|
+
lt as INK_CLASS_SOURCE,
|
|
418
|
+
$t as INK_CLASS_STYLE_CHECK,
|
|
419
|
+
Zt as INK_CLASS_STYLE_CHEV,
|
|
420
|
+
_t as INK_CLASS_STYLE_DD,
|
|
421
|
+
it as INK_CLASS_STYLE_MENU,
|
|
422
|
+
rt as INK_CLASS_STYLE_MENU_FORCED,
|
|
423
|
+
nt as INK_CLASS_STYLE_MENU_PORTAL,
|
|
424
|
+
Jt as INK_CLASS_STYLE_OPTION,
|
|
425
|
+
Qt as INK_CLASS_STYLE_OPTION_SEL,
|
|
426
|
+
ot as INK_CLASS_STYLE_TRIGGER,
|
|
427
|
+
ct as INK_CLASS_TABLE_PICKER,
|
|
428
|
+
st as INK_CLASS_TABLE_PICKER_CELL,
|
|
429
|
+
It as INK_CLASS_TABLE_PICKER_CELL_ON,
|
|
430
|
+
dt as INK_CLASS_TABLE_PICKER_GRID,
|
|
431
|
+
Lt as INK_CLASS_TABLE_PICKER_LABEL,
|
|
432
|
+
Et as INK_CLASS_TABLE_RESIZE,
|
|
433
|
+
Ue as INK_CLASS_TC_DELETE,
|
|
434
|
+
De as INK_CLASS_TC_INSERT,
|
|
435
|
+
At as INK_CLASS_TITLE,
|
|
436
|
+
Tt as INK_CLASS_TITLE_CELL,
|
|
437
|
+
St as INK_CLASS_TITLE_GALLERY,
|
|
438
|
+
Ot as INK_CLASS_TITLE_GRID,
|
|
439
|
+
Z as INK_CLASS_TOOLBAR,
|
|
440
|
+
Bt as INK_CLASS_TOOLBAR_HINT,
|
|
441
|
+
Ht as INK_CLASS_TOOLBAR_MEASURE,
|
|
442
|
+
yt as INK_CLASS_TOOLBAR_OVERFLOW,
|
|
443
|
+
Pt as INK_CLASS_TOOLBAR_ROW,
|
|
444
|
+
$ as INK_CLASS_TOOLBAR_SHOW,
|
|
445
|
+
xt as INK_CLASS_TOOL_WRAP,
|
|
446
|
+
X as INK_COLLAB_TOOLBAR,
|
|
447
|
+
z as INK_COLOR_SWATCHES,
|
|
448
|
+
ve as INK_DEFAULT_AUTHOR,
|
|
449
|
+
fe as INK_DEFAULT_CHROME,
|
|
450
|
+
we as INK_DEFAULT_FEATURES,
|
|
451
|
+
Y as INK_DEFAULT_TOOLBAR,
|
|
452
|
+
Me as INK_DEFAULT_VARIANT,
|
|
453
|
+
Ee as INK_FORMAT_BLOCK_H1,
|
|
454
|
+
Ae as INK_FORMAT_BLOCK_H2,
|
|
455
|
+
Se as INK_FORMAT_BLOCK_H3,
|
|
456
|
+
Oe as INK_FORMAT_BLOCK_P,
|
|
457
|
+
Te as INK_FORMAT_BLOCK_PRE,
|
|
458
|
+
Ne as INK_FORMAT_BLOCK_QUOTE,
|
|
459
|
+
q as INK_HEADING_OPTIONS,
|
|
460
|
+
pe as INK_OUTLINE_EMPTY,
|
|
461
|
+
Be as INK_OUTLINE_HEADING_SELECTOR,
|
|
462
|
+
be as INK_OUTLINE_HIDE,
|
|
463
|
+
ge as INK_OUTLINE_LABEL,
|
|
464
|
+
J as INK_PLACEHOLDER_DEFAULT,
|
|
465
|
+
Xe as INK_QUICK_ACTIONS,
|
|
466
|
+
W as INK_SIMPLE_TOOLBAR,
|
|
467
|
+
Ye as INK_SLASH_COMMANDS,
|
|
468
|
+
xe as INK_TABLE_DEFAULT_COLS,
|
|
469
|
+
Fe as INK_TABLE_DEFAULT_ROWS,
|
|
470
|
+
We as INK_TRANSLATE_LANGUAGES,
|
|
471
|
+
Pe as INK_VARIANT_DOCUMENT,
|
|
472
|
+
Ie as SLASH_ARIA_LABEL,
|
|
461
473
|
i as SLASH_CATEGORY_AI,
|
|
462
474
|
t as SLASH_CATEGORY_BASIC,
|
|
463
|
-
|
|
475
|
+
v as SLASH_CATEGORY_MEDIA,
|
|
464
476
|
e as SLASH_CATEGORY_PLUGINS,
|
|
465
|
-
|
|
477
|
+
Le as SLASH_SEARCH_LABEL
|
|
466
478
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=150,E="#111827",N="#fef08a",
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=150,E="#111827",N="#fef08a",T=3,I=3,M=1,R=1,L=12,U=12,O=50,S="#fde047",B=16,A=36,H=7,K=180,t=0,o=1,c=2,n=3,s=4,X=5,D=6,C=7,G=8,P=9,W=12,Y=14,F=15,V=16,e=17,f=20,r=24,Z=28,a=36,d=40,i=60,l=76,u=100,b=250,g=6,y=180,j=280,m=8,p=8,v=6,h=64,k=30,q=4,w=4,x=12,z=12,J=420,Q=320,$=180,__=24;exports.INK_COMMENT_HIGHLIGHT_COLOR=S;exports.INK_DEFAULT_HIGHLIGHT_COLOR=N;exports.INK_DEFAULT_TABLE_COLS=I;exports.INK_DEFAULT_TABLE_ROWS=T;exports.INK_DEFAULT_TEXT_COLOR=E;exports.INK_DEMO_AI_DELAY_MS=K;exports.INK_EXCEL_MENU_ESTIMATED_HEIGHT_PX=J;exports.INK_EXCEL_SHEET_COLS=w;exports.INK_EXCEL_SHEET_MAX_COLS=z;exports.INK_EXCEL_SHEET_MAX_ROWS=x;exports.INK_EXCEL_SHEET_ROWS=q;exports.INK_GRAPH_HEIGHT=$;exports.INK_GRAPH_PAD=__;exports.INK_GRAPH_WIDTH=Q;exports.INK_HISTORY_MAX=O;exports.INK_MIN_HEIGHT=_;exports.INK_SLASH_MENU_MAX_ITEMS=B;exports.INK_STYLE_MENU_EDGE_PX=m;exports.INK_STYLE_MENU_ESTIMATED_HEIGHT_PX=j;exports.INK_STYLE_MENU_GAP_PX=g;exports.INK_STYLE_MENU_MIN_WIDTH_PX=y;exports.INK_TABLE_COL_MIN_WIDTH_PX=h;exports.INK_TABLE_COL_RESIZE_EDGE_PX=v;exports.INK_TABLE_MAX_COLS=U;exports.INK_TABLE_MAX_ROWS=L;exports.INK_TABLE_MIN_COLS=R;exports.INK_TABLE_MIN_ROWS=M;exports.INK_TABLE_PICKER_MAX=p;exports.INK_TITLE_STYLE_COUNT=k;exports.INK_TOOLBAR_GAP_PX=H;exports.INK_TOOLBAR_MORE_WIDTH_PX=A;exports.NUMBER_EIGHT=G;exports.NUMBER_FIFTEEN=F;exports.NUMBER_FIVE=X;exports.NUMBER_FORTY=d;exports.NUMBER_FOUR=s;exports.NUMBER_FOURTEEN=Y;exports.NUMBER_NINE=P;exports.NUMBER_ONE=o;exports.NUMBER_ONE_HUNDRED=u;exports.NUMBER_SEVEN=C;exports.NUMBER_SEVENTEEN=e;exports.NUMBER_SEVENTY_SIX=l;exports.NUMBER_SIX=D;exports.NUMBER_SIXTEEN=V;exports.NUMBER_SIXTY=i;exports.NUMBER_THIRTY_SIX=a;exports.NUMBER_THREE=n;exports.NUMBER_TWELVE=W;exports.NUMBER_TWENTY=f;exports.NUMBER_TWENTY_EIGHT=Z;exports.NUMBER_TWENTY_FOUR=r;exports.NUMBER_TWO=c;exports.NUMBER_TWO_HUNDRED_FIFTY=b;exports.NUMBER_ZERO=t;
|
|
@@ -1,52 +1,58 @@
|
|
|
1
|
-
const _ = 150, E = "#111827", N = "#fef08a", I = 3, T = 3, o = 1, t = 1, c = 12, n = 12, s = 50, M = "#fde047", R = 16, L = 36,
|
|
1
|
+
const _ = 150, E = "#111827", N = "#fef08a", I = 3, T = 3, o = 1, t = 1, c = 12, n = 12, s = 50, M = "#fde047", R = 16, L = 36, U = 7, O = 180, B = 0, S = 1, A = 2, H = 3, K = 4, X = 5, D = 6, C = 7, G = 8, P = 9, W = 12, Y = 14, F = 15, V = 16, e = 17, f = 20, Z = 24, a = 28, d = 36, p = 40, r = 60, x = 76, b = 100, g = 250, h = 6, i = 180, j = 280, k = 8, l = 8, m = 6, q = 64, u = 30, v = 4, w = 4, y = 12, z = 12, J = 420, Q = 320, $ = 180, __ = 24;
|
|
2
2
|
export {
|
|
3
3
|
M as INK_COMMENT_HIGHLIGHT_COLOR,
|
|
4
4
|
N as INK_DEFAULT_HIGHLIGHT_COLOR,
|
|
5
5
|
T as INK_DEFAULT_TABLE_COLS,
|
|
6
6
|
I as INK_DEFAULT_TABLE_ROWS,
|
|
7
7
|
E as INK_DEFAULT_TEXT_COLOR,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
O as INK_DEMO_AI_DELAY_MS,
|
|
9
|
+
J as INK_EXCEL_MENU_ESTIMATED_HEIGHT_PX,
|
|
10
|
+
w as INK_EXCEL_SHEET_COLS,
|
|
11
|
+
z as INK_EXCEL_SHEET_MAX_COLS,
|
|
12
|
+
y as INK_EXCEL_SHEET_MAX_ROWS,
|
|
13
|
+
v as INK_EXCEL_SHEET_ROWS,
|
|
14
|
+
$ as INK_GRAPH_HEIGHT,
|
|
15
|
+
__ as INK_GRAPH_PAD,
|
|
16
|
+
Q as INK_GRAPH_WIDTH,
|
|
17
17
|
s as INK_HISTORY_MAX,
|
|
18
18
|
_ as INK_MIN_HEIGHT,
|
|
19
19
|
R as INK_SLASH_MENU_MAX_ITEMS,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
k as INK_STYLE_MENU_EDGE_PX,
|
|
21
|
+
j as INK_STYLE_MENU_ESTIMATED_HEIGHT_PX,
|
|
22
|
+
h as INK_STYLE_MENU_GAP_PX,
|
|
23
|
+
i as INK_STYLE_MENU_MIN_WIDTH_PX,
|
|
24
|
+
q as INK_TABLE_COL_MIN_WIDTH_PX,
|
|
25
|
+
m as INK_TABLE_COL_RESIZE_EDGE_PX,
|
|
26
26
|
n as INK_TABLE_MAX_COLS,
|
|
27
27
|
c as INK_TABLE_MAX_ROWS,
|
|
28
28
|
t as INK_TABLE_MIN_COLS,
|
|
29
29
|
o as INK_TABLE_MIN_ROWS,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
l as INK_TABLE_PICKER_MAX,
|
|
31
|
+
u as INK_TITLE_STYLE_COUNT,
|
|
32
|
+
U as INK_TOOLBAR_GAP_PX,
|
|
33
33
|
L as INK_TOOLBAR_MORE_WIDTH_PX,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
34
|
+
G as NUMBER_EIGHT,
|
|
35
|
+
F as NUMBER_FIFTEEN,
|
|
36
|
+
X as NUMBER_FIVE,
|
|
37
|
+
p as NUMBER_FORTY,
|
|
38
|
+
K as NUMBER_FOUR,
|
|
39
|
+
Y as NUMBER_FOURTEEN,
|
|
40
|
+
P as NUMBER_NINE,
|
|
41
|
+
S as NUMBER_ONE,
|
|
42
|
+
b as NUMBER_ONE_HUNDRED,
|
|
43
|
+
C as NUMBER_SEVEN,
|
|
44
|
+
e as NUMBER_SEVENTEEN,
|
|
45
|
+
x as NUMBER_SEVENTY_SIX,
|
|
46
|
+
D as NUMBER_SIX,
|
|
47
|
+
V as NUMBER_SIXTEEN,
|
|
48
|
+
r as NUMBER_SIXTY,
|
|
49
|
+
d as NUMBER_THIRTY_SIX,
|
|
50
|
+
H as NUMBER_THREE,
|
|
51
|
+
W as NUMBER_TWELVE,
|
|
52
|
+
f as NUMBER_TWENTY,
|
|
53
|
+
a as NUMBER_TWENTY_EIGHT,
|
|
54
|
+
Z as NUMBER_TWENTY_FOUR,
|
|
55
|
+
A as NUMBER_TWO,
|
|
56
|
+
g as NUMBER_TWO_HUNDRED_FIFTY,
|
|
57
|
+
B as NUMBER_ZERO
|
|
52
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O="checklist",T="signature",_="findReplace",R="findReplaceDropdown",
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O="checklist",T="signature",_="findReplace",R="findReplaceDropdown",I="fontDropdown",N="listDropdown",P="horizontalRule",L="directionLtr",A="directionRtl",t="superscript",B="subscript",E="htmlSource",o="titles",n="excel",c="graph",s="outline",e="fullscreen",D="theme",C="importMarkdown",S="exportMarkdown",r="exportDocx",i="exportPdf",l="versions",M="formatPainter",p="changeCase";exports.TOOLBAR_OPTION_CHANGE_CASE=p;exports.TOOLBAR_OPTION_CHECKLIST=O;exports.TOOLBAR_OPTION_DIRECTION_LTR=L;exports.TOOLBAR_OPTION_DIRECTION_RTL=A;exports.TOOLBAR_OPTION_EXCEL=n;exports.TOOLBAR_OPTION_EXPORT_DOCX=r;exports.TOOLBAR_OPTION_EXPORT_MARKDOWN=S;exports.TOOLBAR_OPTION_EXPORT_PDF=i;exports.TOOLBAR_OPTION_FIND_REPLACE=_;exports.TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN=R;exports.TOOLBAR_OPTION_FONT_DROPDOWN=I;exports.TOOLBAR_OPTION_FORMAT_PAINTER=M;exports.TOOLBAR_OPTION_FULLSCREEN=e;exports.TOOLBAR_OPTION_GRAPH=c;exports.TOOLBAR_OPTION_HORIZONTAL_RULE=P;exports.TOOLBAR_OPTION_HTML_SOURCE=E;exports.TOOLBAR_OPTION_IMPORT_MARKDOWN=C;exports.TOOLBAR_OPTION_LIST_DROPDOWN=N;exports.TOOLBAR_OPTION_OUTLINE=s;exports.TOOLBAR_OPTION_SIGNATURE=T;exports.TOOLBAR_OPTION_SUBSCRIPT=B;exports.TOOLBAR_OPTION_SUPERSCRIPT=t;exports.TOOLBAR_OPTION_THEME=D;exports.TOOLBAR_OPTION_TITLES=o;exports.TOOLBAR_OPTION_VERSIONS=l;
|
|
@@ -16,4 +16,11 @@ export declare const TOOLBAR_OPTION_GRAPH: "graph";
|
|
|
16
16
|
export declare const TOOLBAR_OPTION_OUTLINE: "outline";
|
|
17
17
|
export declare const TOOLBAR_OPTION_FULLSCREEN: "fullscreen";
|
|
18
18
|
export declare const TOOLBAR_OPTION_THEME: "theme";
|
|
19
|
+
export declare const TOOLBAR_OPTION_IMPORT_MARKDOWN: "importMarkdown";
|
|
20
|
+
export declare const TOOLBAR_OPTION_EXPORT_MARKDOWN: "exportMarkdown";
|
|
21
|
+
export declare const TOOLBAR_OPTION_EXPORT_DOCX: "exportDocx";
|
|
22
|
+
export declare const TOOLBAR_OPTION_EXPORT_PDF: "exportPdf";
|
|
23
|
+
export declare const TOOLBAR_OPTION_VERSIONS: "versions";
|
|
24
|
+
export declare const TOOLBAR_OPTION_FORMAT_PAINTER: "formatPainter";
|
|
25
|
+
export declare const TOOLBAR_OPTION_CHANGE_CASE: "changeCase";
|
|
19
26
|
//# sourceMappingURL=toolbar.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.const.d.ts","sourceRoot":"","sources":["../../src/constants/toolbar.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,WAAoB,CAAC;AAC7D,eAAO,MAAM,wBAAwB,EAAG,WAAoB,CAAC;AAC7D,eAAO,MAAM,2BAA2B,EAAG,aAAsB,CAAC;AAClE,eAAO,MAAM,oCAAoC,EAAG,qBAA8B,CAAC;AACnF,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,8BAA8B,EAAG,gBAAyB,CAAC;AACxE,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,0BAA0B,EAAG,aAAsB,CAAC;AACjE,eAAO,MAAM,wBAAwB,EAAG,WAAoB,CAAC;AAC7D,eAAO,MAAM,0BAA0B,EAAG,YAAqB,CAAC;AAChE,eAAO,MAAM,qBAAqB,EAAG,QAAiB,CAAC;AACvD,eAAO,MAAM,oBAAoB,EAAG,OAAgB,CAAC;AACrD,eAAO,MAAM,oBAAoB,EAAG,OAAgB,CAAC;AACrD,eAAO,MAAM,sBAAsB,EAAG,SAAkB,CAAC;AACzD,eAAO,MAAM,yBAAyB,EAAG,YAAqB,CAAC;AAC/D,eAAO,MAAM,oBAAoB,EAAG,OAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"toolbar.const.d.ts","sourceRoot":"","sources":["../../src/constants/toolbar.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,WAAoB,CAAC;AAC7D,eAAO,MAAM,wBAAwB,EAAG,WAAoB,CAAC;AAC7D,eAAO,MAAM,2BAA2B,EAAG,aAAsB,CAAC;AAClE,eAAO,MAAM,oCAAoC,EAAG,qBAA8B,CAAC;AACnF,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,8BAA8B,EAAG,gBAAyB,CAAC;AACxE,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,4BAA4B,EAAG,cAAuB,CAAC;AACpE,eAAO,MAAM,0BAA0B,EAAG,aAAsB,CAAC;AACjE,eAAO,MAAM,wBAAwB,EAAG,WAAoB,CAAC;AAC7D,eAAO,MAAM,0BAA0B,EAAG,YAAqB,CAAC;AAChE,eAAO,MAAM,qBAAqB,EAAG,QAAiB,CAAC;AACvD,eAAO,MAAM,oBAAoB,EAAG,OAAgB,CAAC;AACrD,eAAO,MAAM,oBAAoB,EAAG,OAAgB,CAAC;AACrD,eAAO,MAAM,sBAAsB,EAAG,SAAkB,CAAC;AACzD,eAAO,MAAM,yBAAyB,EAAG,YAAqB,CAAC;AAC/D,eAAO,MAAM,oBAAoB,EAAG,OAAgB,CAAC;AACrD,eAAO,MAAM,8BAA8B,EAAG,gBAAyB,CAAC;AACxE,eAAO,MAAM,8BAA8B,EAAG,gBAAyB,CAAC;AACxE,eAAO,MAAM,0BAA0B,EAAG,YAAqB,CAAC;AAChE,eAAO,MAAM,yBAAyB,EAAG,WAAoB,CAAC;AAC9D,eAAO,MAAM,uBAAuB,EAAG,UAAmB,CAAC;AAC3D,eAAO,MAAM,6BAA6B,EAAG,eAAwB,CAAC;AACtE,eAAO,MAAM,0BAA0B,EAAG,YAAqB,CAAC"}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
const O = "checklist", T = "signature", _ = "findReplace", R = "findReplaceDropdown",
|
|
1
|
+
const O = "checklist", T = "signature", _ = "findReplace", R = "findReplaceDropdown", o = "fontDropdown", t = "listDropdown", n = "horizontalRule", I = "directionLtr", N = "directionRtl", P = "superscript", L = "subscript", c = "htmlSource", s = "titles", A = "excel", e = "graph", B = "outline", E = "fullscreen", r = "theme", D = "importMarkdown", i = "exportMarkdown", C = "exportDocx", p = "exportPdf", S = "versions", l = "formatPainter", a = "changeCase";
|
|
2
2
|
export {
|
|
3
|
+
a as TOOLBAR_OPTION_CHANGE_CASE,
|
|
3
4
|
O as TOOLBAR_OPTION_CHECKLIST,
|
|
4
5
|
I as TOOLBAR_OPTION_DIRECTION_LTR,
|
|
5
|
-
|
|
6
|
+
N as TOOLBAR_OPTION_DIRECTION_RTL,
|
|
6
7
|
A as TOOLBAR_OPTION_EXCEL,
|
|
8
|
+
C as TOOLBAR_OPTION_EXPORT_DOCX,
|
|
9
|
+
i as TOOLBAR_OPTION_EXPORT_MARKDOWN,
|
|
10
|
+
p as TOOLBAR_OPTION_EXPORT_PDF,
|
|
7
11
|
_ as TOOLBAR_OPTION_FIND_REPLACE,
|
|
8
12
|
R as TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN,
|
|
9
|
-
|
|
13
|
+
o as TOOLBAR_OPTION_FONT_DROPDOWN,
|
|
14
|
+
l as TOOLBAR_OPTION_FORMAT_PAINTER,
|
|
10
15
|
E as TOOLBAR_OPTION_FULLSCREEN,
|
|
11
16
|
e as TOOLBAR_OPTION_GRAPH,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
n as TOOLBAR_OPTION_HORIZONTAL_RULE,
|
|
18
|
+
c as TOOLBAR_OPTION_HTML_SOURCE,
|
|
19
|
+
D as TOOLBAR_OPTION_IMPORT_MARKDOWN,
|
|
20
|
+
t as TOOLBAR_OPTION_LIST_DROPDOWN,
|
|
15
21
|
B as TOOLBAR_OPTION_OUTLINE,
|
|
16
22
|
T as TOOLBAR_OPTION_SIGNATURE,
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
L as TOOLBAR_OPTION_SUBSCRIPT,
|
|
24
|
+
P as TOOLBAR_OPTION_SUPERSCRIPT,
|
|
19
25
|
r as TOOLBAR_OPTION_THEME,
|
|
20
|
-
|
|
26
|
+
s as TOOLBAR_OPTION_TITLES,
|
|
27
|
+
S as TOOLBAR_OPTION_VERSIONS
|
|
21
28
|
};
|