@forgedevstack/ink 1.1.7 → 1.1.9
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 +40 -0
- package/README.md +9 -1
- package/bin/ink.const.mjs +26 -0
- package/bin/ink.mjs +58 -0
- package/dist/components/InkEditor/InkEditor.cjs +1 -1
- package/dist/components/InkEditor/InkEditor.d.ts.map +1 -1
- package/dist/components/InkEditor/InkEditor.js +1193 -834
- 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 +223 -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 -1
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.d.ts.map +1 -1
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.js +17 -12
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.types.d.ts +1 -0
- package/dist/components/InkEditor/components/OutlineRail/OutlineRail.types.d.ts.map +1 -1
- 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 +82 -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 +65 -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/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 +96 -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 +65 -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/hooks/index.d.ts +3 -0
- package/dist/components/InkEditor/components/ThemePicker/hooks/index.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ThemePicker/hooks/useThemePickerMenu.cjs +1 -0
- package/dist/components/InkEditor/components/ThemePicker/hooks/useThemePickerMenu.d.ts +13 -0
- package/dist/components/InkEditor/components/ThemePicker/hooks/useThemePickerMenu.d.ts.map +1 -0
- package/dist/components/InkEditor/components/ThemePicker/hooks/useThemePickerMenu.js +39 -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 -18
- 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 +25 -23
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.cjs +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.d.ts +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.d.ts.map +1 -1
- package/dist/components/InkEditor/components/ToolbarDropdown/ToolbarDropdown.utils.js +7 -7
- package/dist/components/InkEditor/components/index.d.ts +18 -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/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 +317 -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 +72 -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/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 +20 -13
- package/dist/constants/defaults.const.cjs +1 -1
- package/dist/constants/defaults.const.d.ts +48 -0
- package/dist/constants/defaults.const.d.ts.map +1 -1
- package/dist/constants/defaults.const.js +201 -102
- package/dist/constants/generals.const.cjs +1 -1
- package/dist/constants/generals.const.d.ts +48 -0
- package/dist/constants/generals.const.d.ts.map +1 -1
- package/dist/constants/generals.const.js +71 -28
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/numbers.cjs +1 -1
- package/dist/constants/numbers.d.ts +14 -0
- package/dist/constants/numbers.d.ts.map +1 -1
- package/dist/constants/numbers.js +47 -28
- 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/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 +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 +2 -0
- package/dist/constants/toolbarMenu.const.d.ts.map +1 -1
- package/dist/constants/toolbarMenu.const.js +80 -19
- 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 +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- 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 +86 -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 +8 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +150 -104
- 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 +27 -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/collab.types.d.ts +55 -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 +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/ink.types.d.ts +10 -2
- package/dist/types/ink.types.d.ts.map +1 -1
- 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 +1 -1
- package/dist/types/premium.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/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 +32 -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/index.d.ts +3 -1
- 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/outline.utils.cjs +1 -1
- package/dist/utils/outline.utils.d.ts.map +1 -1
- package/dist/utils/outline.utils.js +32 -32
- 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/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 +7 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InkWorkspace/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./numbers.cjs"),c="default-room",I="collab",_="active",l="idle",a="offline",E="editor",T="commenter",t="?",O=["var(--ink-collab-1, #3B82F6)","var(--ink-collab-2, #10B981)","var(--ink-collab-3, #8B5CF6)","var(--ink-collab-4, #F59E0B)","var(--ink-collab-5, #EC4899)","var(--ink-collab-6, #06B6D4)","var(--ink-collab-7, #F97316)"],e=[{id:"collab-1",name:"Sarah Connor",color:"#3B82F6",status:_,role:E,cursor:{line:o.NUMBER_TWO,col:o.NUMBER_FOURTEEN,offset:42}},{id:"collab-2",name:"Albert Specialist",color:"#10B981",status:_,role:E,cursor:{line:o.NUMBER_FIVE,col:o.NUMBER_TWENTY_EIGHT,offset:110}},{id:"collab-3",name:"Elena Rostova",color:"#8B5CF6",status:l,role:T,cursor:{line:o.NUMBER_EIGHT,col:o.NUMBER_SIX,offset:180}}];exports.COLLAB_THEME_COLORS=O;exports.DEFAULT_DEMO_COLLABORATORS=e;exports.DEFAULT_INITIAL=t;exports.ID_PREFIX_COLLAB=I;exports.INK_DEFAULT_ROOM_ID=c;exports.INK_ROLE_COMMENTER=T;exports.INK_ROLE_EDITOR=E;exports.INK_STATUS_ACTIVE=_;exports.INK_STATUS_IDLE=l;exports.INK_STATUS_OFFLINE=a;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InkCollaborator, InkCollaboratorRole, InkCollaboratorStatus } from '../types/collab.types';
|
|
2
|
+
export declare const INK_DEFAULT_ROOM_ID = "default-room";
|
|
3
|
+
export declare const INK_PRESENCE_DEFAULT_MAX_AVATARS = 4;
|
|
4
|
+
export declare const PLUS_SIGN = "+";
|
|
5
|
+
export declare const ID_PREFIX_COLLAB = "collab";
|
|
6
|
+
export declare const INK_STATUS_ACTIVE: InkCollaboratorStatus;
|
|
7
|
+
export declare const INK_STATUS_IDLE: InkCollaboratorStatus;
|
|
8
|
+
export declare const INK_STATUS_OFFLINE: InkCollaboratorStatus;
|
|
9
|
+
export declare const INK_ROLE_EDITOR: InkCollaboratorRole;
|
|
10
|
+
export declare const INK_ROLE_COMMENTER: InkCollaboratorRole;
|
|
11
|
+
export declare const INK_ROLE_VIEWER: InkCollaboratorRole;
|
|
12
|
+
export declare const DEFAULT_INITIAL = "?";
|
|
13
|
+
export declare const IDLE_LABEL_SUFFIX = " - Idle";
|
|
14
|
+
/**
|
|
15
|
+
* Palette for collaborator cursors and presence avatars.
|
|
16
|
+
* Supports theme token overrides through CSS custom properties with hex fallbacks.
|
|
17
|
+
*/
|
|
18
|
+
export declare const COLLAB_THEME_COLORS: string[];
|
|
19
|
+
export declare const DEFAULT_DEMO_COLLABORATORS: InkCollaborator[];
|
|
20
|
+
//# sourceMappingURL=collab.const.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collab.const.d.ts","sourceRoot":"","sources":["../../src/constants/collab.const.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEzG,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;AAClD,eAAO,MAAM,gCAAgC,IAAc,CAAC;AAC5D,eAAO,MAAM,SAAS,MAAM,CAAC;AAC7B,eAAO,MAAM,gBAAgB,WAAW,CAAC;AACzC,eAAO,MAAM,iBAAiB,EAAE,qBAAgC,CAAC;AACjE,eAAO,MAAM,eAAe,EAAE,qBAA8B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,EAAE,qBAAiC,CAAC;AACnE,eAAO,MAAM,eAAe,EAAE,mBAA8B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,EAAE,mBAAiC,CAAC;AACnE,eAAO,MAAM,eAAe,EAAE,mBAA8B,CAAC;AAC7D,eAAO,MAAM,eAAe,MAAM,CAAC;AACnC,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,mBAAmB,UAQ/B,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,eAAe,EAyBvD,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { NUMBER_FOURTEEN as c, NUMBER_TWO as a, NUMBER_TWENTY_EIGHT as E, NUMBER_FIVE as n, NUMBER_SIX as r, NUMBER_EIGHT as t } from "./numbers.js";
|
|
2
|
+
const T = "default-room", i = "collab", o = "active", _ = "idle", I = "offline", l = "editor", s = "commenter", B = "?", N = [
|
|
3
|
+
"var(--ink-collab-1, #3B82F6)",
|
|
4
|
+
// Blue
|
|
5
|
+
"var(--ink-collab-2, #10B981)",
|
|
6
|
+
// Emerald
|
|
7
|
+
"var(--ink-collab-3, #8B5CF6)",
|
|
8
|
+
// Purple
|
|
9
|
+
"var(--ink-collab-4, #F59E0B)",
|
|
10
|
+
// Amber
|
|
11
|
+
"var(--ink-collab-5, #EC4899)",
|
|
12
|
+
// Pink
|
|
13
|
+
"var(--ink-collab-6, #06B6D4)",
|
|
14
|
+
// Cyan
|
|
15
|
+
"var(--ink-collab-7, #F97316)"
|
|
16
|
+
// Orange
|
|
17
|
+
], O = [
|
|
18
|
+
{
|
|
19
|
+
id: "collab-1",
|
|
20
|
+
name: "Sarah Connor",
|
|
21
|
+
color: "#3B82F6",
|
|
22
|
+
status: o,
|
|
23
|
+
role: l,
|
|
24
|
+
cursor: { line: a, col: c, offset: 42 }
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: "collab-2",
|
|
28
|
+
name: "Albert Specialist",
|
|
29
|
+
color: "#10B981",
|
|
30
|
+
status: o,
|
|
31
|
+
role: l,
|
|
32
|
+
cursor: { line: n, col: E, offset: 110 }
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: "collab-3",
|
|
36
|
+
name: "Elena Rostova",
|
|
37
|
+
color: "#8B5CF6",
|
|
38
|
+
status: _,
|
|
39
|
+
role: s,
|
|
40
|
+
cursor: { line: t, col: r, offset: 180 }
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
export {
|
|
44
|
+
N as COLLAB_THEME_COLORS,
|
|
45
|
+
O as DEFAULT_DEMO_COLLABORATORS,
|
|
46
|
+
B as DEFAULT_INITIAL,
|
|
47
|
+
i as ID_PREFIX_COLLAB,
|
|
48
|
+
T as INK_DEFAULT_ROOM_ID,
|
|
49
|
+
s as INK_ROLE_COMMENTER,
|
|
50
|
+
l as INK_ROLE_EDITOR,
|
|
51
|
+
o as INK_STATUS_ACTIVE,
|
|
52
|
+
_ as INK_STATUS_IDLE,
|
|
53
|
+
I as INK_STATUS_OFFLINE
|
|
54
|
+
};
|
|
@@ -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;AACrD,eAAO,MAAM,uBAAuB,YAAY,CAAC;AACjD,eAAO,MAAM,+BAA+B,kBAAkB,CAAC;AAC/D,eAAO,MAAM,+BAA+B,kBAAkB,CAAC;AAC/D,eAAO,MAAM,8BAA8B,iBAAiB,CAAC;AAC7D,eAAO,MAAM,+BAA+B,kBAAkB,CAAC;AAC/D,eAAO,MAAM,gCAAgC,mBAAmB,CAAC;AACjE,eAAO,MAAM,gCAAgC,mBAAmB,CAAC;AACjE,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAC9C,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAClD,eAAO,MAAM,4BAA4B,cAAc,CAAC;AACxD,eAAO,MAAM,y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kB,CAAC;AAC/D,eAAO,MAAM,8BAA8B,iBAAiB,CAAC;AAC7D,eAAO,MAAM,+BAA+B,kBAAkB,CAAC;AAC/D,eAAO,MAAM,gCAAgC,mBAAmB,CAAC;AACjE,eAAO,MAAM,gCAAgC,mBAAmB,CAAC;AACjE,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAC9C,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAClD,eAAO,MAAM,4BAA4B,cAAc,CAAC;AACxD,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,uBAAuB,gBAAgB,CAAC;AACrD,eAAO,MAAM,yBAAyB,gBAAgB,CAAC;AACvD,eAAO,MAAM,0BAA0B,kBAAkB,CAAC;AAC1D,eAAO,MAAM,0BAA0B,YAAY,CAAC;AACpD,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AACvD,eAAO,MAAM,uBAAuB,qBAAqB,CAAC;AAC1D,eAAO,MAAM,4BAA4B,aAAa,CAAC;AACvD,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AACxD,eAAO,MAAM,kCAAkC,qBAAqB,CAAC;AACrE,eAAO,MAAM,kCAAkC,qBAAqB,CAAC;AACrE,eAAO,MAAM,iCAAiC,uBAAuB,CAAC;AACtE,eAAO,MAAM,kCAAkC,wBAAwB,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"),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:"</>"};exports.INK_DEFAULT_ICONS=a;
|
|
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;AAe3C,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,UAAU,EAAE,SAAS,
|
|
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,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { INK_GLYPH_STRIKE as
|
|
3
|
-
import { INK_CLASS_GLYPH as r, INK_CLASS_GLYPH_STRIKE as
|
|
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";
|
|
4
4
|
import "./openai.const.js";
|
|
5
5
|
import "../utils/paste.utils.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import { UndoIcon as
|
|
9
|
-
import { RedoIcon as
|
|
8
|
+
import { UndoIcon as s } from "../common-components/icons/UndoIcon.js";
|
|
9
|
+
import { RedoIcon as L } from "../common-components/icons/RedoIcon.js";
|
|
10
10
|
import { BulletListIcon as I } from "../common-components/icons/BulletListIcon.js";
|
|
11
11
|
import { OrderedListIcon as p } from "../common-components/icons/OrderedListIcon.js";
|
|
12
12
|
import { ChecklistIcon as _ } from "../common-components/icons/ChecklistIcon.js";
|
|
@@ -14,11 +14,11 @@ import { ImageToolIcon as d } from "../common-components/icons/ImageToolIcon.js"
|
|
|
14
14
|
import { LinkToolIcon as N } from "../common-components/icons/LinkToolIcon.js";
|
|
15
15
|
import { TableToolIcon as f } from "../common-components/icons/TableToolIcon.js";
|
|
16
16
|
import { QuoteIcon as u } from "../common-components/icons/QuoteIcon.js";
|
|
17
|
-
const
|
|
18
|
-
bold: /* @__PURE__ */ o("span", { className: `${r} ${
|
|
19
|
-
italic: /* @__PURE__ */ o("span", { className: `${r} ${c}`, children:
|
|
20
|
-
underline: /* @__PURE__ */ o("span", { className: `${r} ${
|
|
21
|
-
strikethrough: /* @__PURE__ */ o("span", { className: `${r} ${
|
|
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
22
|
bulletList: /* @__PURE__ */ o(I, {}),
|
|
23
23
|
orderedList: /* @__PURE__ */ o(p, {}),
|
|
24
24
|
checklist: /* @__PURE__ */ o(_, {}),
|
|
@@ -28,8 +28,8 @@ const D = {
|
|
|
28
28
|
signature: "✍",
|
|
29
29
|
findReplace: "⌕",
|
|
30
30
|
horizontalRule: "―",
|
|
31
|
-
undo: /* @__PURE__ */ o(
|
|
32
|
-
redo: /* @__PURE__ */ o(
|
|
31
|
+
undo: /* @__PURE__ */ o(s, {}),
|
|
32
|
+
redo: /* @__PURE__ */ o(L, {}),
|
|
33
33
|
trackChanges: "±",
|
|
34
34
|
comments: "💬",
|
|
35
35
|
ai: "✦",
|
|
@@ -45,8 +45,15 @@ const D = {
|
|
|
45
45
|
indent: "→",
|
|
46
46
|
outdent: "←",
|
|
47
47
|
blockquote: /* @__PURE__ */ o(u, {}),
|
|
48
|
-
code: "</>"
|
|
48
|
+
code: "</>",
|
|
49
|
+
htmlSource: "</>",
|
|
50
|
+
titles: "Aa",
|
|
51
|
+
excel: "⊞",
|
|
52
|
+
graph: "▦",
|
|
53
|
+
outline: "☰",
|
|
54
|
+
fullscreen: "⛶",
|
|
55
|
+
theme: "◐"
|
|
49
56
|
};
|
|
50
57
|
export {
|
|
51
|
-
|
|
58
|
+
x as INK_DEFAULT_ICONS
|
|
52
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./numbers.cjs"),e=require("./generals.const.cjs"),_=require("./toolbar.const.cjs"),L=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_SIGNATURE,_.TOOLBAR_OPTION_FIND_REPLACE_DROPDOWN,_.TOOLBAR_OPTION_HORIZONTAL_RULE,"divider","undo","redo","divider","trackChanges","comments","ai","divider","clearFormat"],l=["bold","italic","underline","divider",_.TOOLBAR_OPTION_LIST_DROPDOWN],I=["headingDropdown","divider","bold","italic","underline","divider",_.TOOLBAR_OPTION_LIST_DROPDOWN,"table","divider","trackChanges","comments","ai","divider","undo","redo"],d=["headingDropdown","divider","bold","italic","underline","strikethrough","divider","bulletList","orderedList",_.TOOLBAR_OPTION_CHECKLIST,"blockquote","divider","image","link","table","code","divider","undo","redo","ai"],S=[{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"}],A={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"}},c=["#111827","#dc2626","#ea580c","#ca8a04","#16a34a","#2563eb","#0f766e","#db2777"],s="Type / to insert a block, or press ⌘K for AI",T="Ink-Editor",E="Ink-Editor__toolbar",O="Ink-Editor__toolbar-show",N="Ink-Editor__content",C="Ink-Editor__divider",K="Ink-Editor__style-dd",u="Ink-Editor__style-dd-trigger",m="Ink-Editor__style-menu",R="Ink-Editor__style-menu--portal",h="Ink-Editor__style-option",k="Ink-Editor__style-option--sel",g="Ink-Editor__select-chev",B="Ink-Editor__style-check",H="Ink-Editor__button--wide",b="Ink-Editor__button-label",p="Ink-AiPill__dot",D="Ink-Slash__mark--ai",U="Ink-Editor__glyph",y="Ink-Editor__glyph--bold",P="Ink-Editor__glyph--italic",M="Ink-Editor__glyph--underline",F="Ink-Editor__glyph--strike",v="Ink-Editor__footer",G="Ink-Editor__footer-meta",Y="Ink-AiPill",t="Blocks",n="Media",i="AI",f="Insert a block",w="",q="h1",W="h2",V="h3",x="p",j="pre",Q="blockquote",z='<blockquote class="Ink-callout"><p>Callout</p></blockquote>',J=`<ul class="${L.LIST_CLASS_CHECK}"><li>${e.INK_CHECKLIST_ITEM}</li></ul>`,X="Ink-Editor__shell",$="Ink-Outline",Z="Ink-Outline__label",tt="Ink-Outline__item",_t="Ink-Outline__item--active",et="Outline",it="h1, h2, h3",ot="document",nt="Ink-Editor__body",rt="Ink-block--active",Lt="Ink-tc-insert",at="Ink-tc-delete",lt="Ink-comment-mark",It="You",dt="classic",r="boxed",St=r,At={table:!0,trackChanges:!0,comments:!0,ai:!0,blocks:!0,slash:!0,history:!0,typoAutoFix:!0,signature:!0,findReplace:!0,horizontalRule:!0},ct=o.INK_DEFAULT_TABLE_ROWS,st=o.INK_DEFAULT_TABLE_COLS,Tt=[{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:n,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}],Et=["English","Spanish","French","German","Chinese (Simplified)","Japanese","Russian","Portuguese","Korean","Italian"],Ot=[{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=A;exports.INK_CALLOUT_HTML=z;exports.INK_CHECKLIST_HTML=J;exports.INK_CHROME_BOXED=r;exports.INK_CHROME_TOOLBAR=d;exports.INK_CLASS_AI_PILL=Y;exports.INK_CLASS_AI_PILL_DOT=p;exports.INK_CLASS_BLOCK_ACTIVE=rt;exports.INK_CLASS_BODY=nt;exports.INK_CLASS_BUTTON_LABEL=b;exports.INK_CLASS_BUTTON_WIDE=H;exports.INK_CLASS_COMMENT_MARK=lt;exports.INK_CLASS_CONTENT=N;exports.INK_CLASS_DIVIDER=C;exports.INK_CLASS_FOOTER=v;exports.INK_CLASS_FOOTER_META=G;exports.INK_CLASS_GLYPH=U;exports.INK_CLASS_GLYPH_BOLD=y;exports.INK_CLASS_GLYPH_ITALIC=P;exports.INK_CLASS_GLYPH_STRIKE=F;exports.INK_CLASS_GLYPH_UNDERLINE=M;exports.INK_CLASS_OUTLINE=$;exports.INK_CLASS_OUTLINE_ITEM=tt;exports.INK_CLASS_OUTLINE_ITEM_ACTIVE=_t;exports.INK_CLASS_OUTLINE_LABEL=Z;exports.INK_CLASS_ROOT=T;exports.INK_CLASS_SHELL=X;exports.INK_CLASS_SLASH_MARK_AI=D;exports.INK_CLASS_STYLE_CHECK=B;exports.INK_CLASS_STYLE_CHEV=g;exports.INK_CLASS_STYLE_DD=K;exports.INK_CLASS_STYLE_MENU=m;exports.INK_CLASS_STYLE_MENU_PORTAL=R;exports.INK_CLASS_STYLE_OPTION=h;exports.INK_CLASS_STYLE_OPTION_SEL=k;exports.INK_CLASS_STYLE_TRIGGER=u;exports.INK_CLASS_TC_DELETE=at;exports.INK_CLASS_TC_INSERT=Lt;exports.INK_CLASS_TOOLBAR=E;exports.INK_CLASS_TOOLBAR_SHOW=O;exports.INK_COLLAB_TOOLBAR=I;exports.INK_COLOR_SWATCHES=c;exports.INK_DEFAULT_AUTHOR=It;exports.INK_DEFAULT_CHROME=St;exports.INK_DEFAULT_FEATURES=At;exports.INK_DEFAULT_TOOLBAR=a;exports.INK_DEFAULT_VARIANT=dt;exports.INK_FORMAT_BLOCK_H1=q;exports.INK_FORMAT_BLOCK_H2=W;exports.INK_FORMAT_BLOCK_H3=V;exports.INK_FORMAT_BLOCK_P=x;exports.INK_FORMAT_BLOCK_PRE=j;exports.INK_FORMAT_BLOCK_QUOTE=Q;exports.INK_HEADING_OPTIONS=S;exports.INK_OUTLINE_HEADING_SELECTOR=it;exports.INK_OUTLINE_LABEL=et;exports.INK_PLACEHOLDER_DEFAULT=s;exports.INK_QUICK_ACTIONS=Ot;exports.INK_SIMPLE_TOOLBAR=l;exports.INK_SLASH_COMMANDS=Tt;exports.INK_TABLE_DEFAULT_COLS=st;exports.INK_TABLE_DEFAULT_ROWS=ct;exports.INK_TRANSLATE_LANGUAGES=Et;exports.INK_VARIANT_DOCUMENT=ot;exports.SLASH_ARIA_LABEL=f;exports.SLASH_CATEGORY_AI=i;exports.SLASH_CATEGORY_BASIC=t;exports.SLASH_CATEGORY_MEDIA=n;exports.SLASH_SEARCH_LABEL=w;
|
|
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_;
|
|
@@ -22,6 +22,51 @@ export declare const INK_CLASS_STYLE_DD = "Ink-Editor__style-dd";
|
|
|
22
22
|
export declare const INK_CLASS_STYLE_TRIGGER = "Ink-Editor__style-dd-trigger";
|
|
23
23
|
export declare const INK_CLASS_STYLE_MENU = "Ink-Editor__style-menu";
|
|
24
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";
|
|
25
70
|
export declare const INK_CLASS_STYLE_OPTION = "Ink-Editor__style-option";
|
|
26
71
|
export declare const INK_CLASS_STYLE_OPTION_SEL = "Ink-Editor__style-option--sel";
|
|
27
72
|
export declare const INK_CLASS_STYLE_OPTION_MARK = "Ink-Editor__style-option-mark";
|
|
@@ -47,6 +92,7 @@ export declare const INK_CLASS_CALLOUT = "Ink-callout";
|
|
|
47
92
|
export declare const SLASH_CATEGORY_BASIC = "Blocks";
|
|
48
93
|
export declare const SLASH_CATEGORY_MEDIA = "Media";
|
|
49
94
|
export declare const SLASH_CATEGORY_AI = "AI";
|
|
95
|
+
export declare const SLASH_CATEGORY_PLUGINS = "Plugins";
|
|
50
96
|
export declare const SLASH_ARIA_LABEL = "Insert a block";
|
|
51
97
|
export declare const SLASH_SEARCH_LABEL = "";
|
|
52
98
|
export declare const INK_FORMAT_BLOCK_H1 = "h1";
|
|
@@ -63,6 +109,8 @@ export declare const INK_CLASS_OUTLINE_LABEL = "Ink-Outline__label";
|
|
|
63
109
|
export declare const INK_CLASS_OUTLINE_ITEM = "Ink-Outline__item";
|
|
64
110
|
export declare const INK_CLASS_OUTLINE_ITEM_ACTIVE = "Ink-Outline__item--active";
|
|
65
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";
|
|
66
114
|
export declare const INK_OUTLINE_HEADING_SELECTOR = "h1, h2, h3";
|
|
67
115
|
export declare const INK_VARIANT_DOCUMENT = "document";
|
|
68
116
|
export declare const INK_CLASS_BODY = "Ink-Editor__body";
|
|
@@ -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,CAA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