tiptap-markdown-react 1.5.0 → 1.6.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/README.md +1 -1
- package/dist/{ReportContentWithCharts-CMMUE51M.js → ReportContentWithCharts-BaBitkZX.js} +21 -10
- package/dist/ReportContentWithCharts-BaBitkZX.js.map +1 -0
- package/dist/components/EditorToolbar.d.ts +17 -1
- package/dist/fullscreen.d.ts +20 -0
- package/dist/icons/index.d.ts +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +211 -66
- package/dist/index.js.map +1 -1
- package/dist/labels.d.ts +4 -0
- package/dist/reader.js +1 -1
- package/dist/style-inline.css +154 -95
- package/dist/style.css +154 -95
- package/package.json +1 -1
- package/dist/ReportContentWithCharts-CMMUE51M.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Markdown, MarkdownManager } from "@tiptap/markdown";
|
|
3
|
-
import { g as getLocaleBundle, S as SearchIcon, d as ChevronUpIcon, e as ChevronDownIcon, X as XIcon, h as ReplaceIcon, i as ReplaceAllIcon, j as renderOrUpdateChart, k as destroyChart, l as CheckIcon, T as TrashIcon, n as CopyIcon, o as ChevronsUpDownIcon, G as GripIcon, E as EraserIcon, D as DownloadIcon, u as useIsMobile, K as KeyboardIcon, p as EditorToc, I as ImagePreviewHost, q as sameTocItems$1, A as AlignRightIcon, t as AlignCenterIcon, v as AlignLeftIcon, w as CropIcon, x as CaptionsIcon, y as ExpandIcon, z as requestImagePreview, B as RotateCcwIcon, F as ExternalLinkIcon, H as TableDeleteIcon, J as ColumnBeforeIcon, L as ColumnAfterIcon, M as ColumnDeleteIcon, N as RowBeforeIcon, O as RowAfterIcon, P as RowDeleteIcon, U as UndoIcon, Q as RedoIcon, V as PaintbrushIcon, W as BoldIcon, Y as ItalicIcon, Z as UnderlineIcon, _ as StrikethroughIcon, $ as CodeIcon, a0 as LinkIcon, a1 as ImageIcon, a2 as DetailsIcon, a3 as AlignJustifyIcon, a4 as IndentIncreaseIcon, a5 as IndentDecreaseIcon, a6 as LineHeightIcon, a7 as ListUnorderedIcon, a8 as ListOrderedIcon, a9 as ListChecksIcon } from "./ReportContentWithCharts-
|
|
4
|
-
import { C,
|
|
3
|
+
import { g as getLocaleBundle, S as SearchIcon, d as ChevronUpIcon, e as ChevronDownIcon, X as XIcon, h as ReplaceIcon, i as ReplaceAllIcon, j as renderOrUpdateChart, k as destroyChart, l as CheckIcon, T as TrashIcon, n as CopyIcon, o as ChevronsUpDownIcon, G as GripIcon, E as EraserIcon, D as DownloadIcon, u as useIsMobile, K as KeyboardIcon, p as EditorToc, I as ImagePreviewHost, q as sameTocItems$1, A as AlignRightIcon, t as AlignCenterIcon, v as AlignLeftIcon, w as CropIcon, x as CaptionsIcon, y as ExpandIcon, z as requestImagePreview, B as RotateCcwIcon, F as ExternalLinkIcon, H as TableDeleteIcon, J as ColumnBeforeIcon, L as ColumnAfterIcon, M as ColumnDeleteIcon, N as RowBeforeIcon, O as RowAfterIcon, P as RowDeleteIcon, U as UndoIcon, Q as RedoIcon, V as PaintbrushIcon, W as BoldIcon, Y as ItalicIcon, Z as UnderlineIcon, _ as StrikethroughIcon, $ as CodeIcon, a0 as LinkIcon, a1 as ImageIcon, a2 as DetailsIcon, a3 as AlignJustifyIcon, a4 as IndentIncreaseIcon, a5 as IndentDecreaseIcon, a6 as LineHeightIcon, a7 as ListUnorderedIcon, a8 as ListOrderedIcon, a9 as ListChecksIcon, aa as MinimizeIcon } from "./ReportContentWithCharts-BaBitkZX.js";
|
|
4
|
+
import { C, ab, ac, a, ad, ae, af, ag, b, c, ah, ai, aj, f, m, r, s } from "./ReportContentWithCharts-BaBitkZX.js";
|
|
5
5
|
import { jsx, jsxs, Fragment as Fragment$2 } from "react/jsx-runtime";
|
|
6
6
|
import CodeBlockLowlight from "@tiptap/extension-code-block-lowlight";
|
|
7
7
|
import FindAndReplace, { FindAndReplacePluginKey, createSearchRegex } from "@tiptap/extension-find-and-replace";
|
|
@@ -4224,6 +4224,122 @@ function MarkdownPreview({
|
|
|
4224
4224
|
) })
|
|
4225
4225
|
] });
|
|
4226
4226
|
}
|
|
4227
|
+
const FULLSCREEN_ATTR = "data-tmr-fullscreen";
|
|
4228
|
+
const ROOT_ATTR = "data-tmr-fullscreen-root";
|
|
4229
|
+
const ESCAPE_GUARDS = [
|
|
4230
|
+
"[data-radix-popper-content-wrapper]",
|
|
4231
|
+
"[data-table-menu]",
|
|
4232
|
+
"[data-block-drag-menu]",
|
|
4233
|
+
"[data-find-bar]",
|
|
4234
|
+
"[data-image-lightbox]",
|
|
4235
|
+
"[data-crop-box]",
|
|
4236
|
+
'[role="dialog"]',
|
|
4237
|
+
'[role="listbox"]',
|
|
4238
|
+
'[role="menu"]'
|
|
4239
|
+
].join(",");
|
|
4240
|
+
let savedBodyOverflow = null;
|
|
4241
|
+
function readExplicitTarget(target) {
|
|
4242
|
+
if (typeof target === "function") return target();
|
|
4243
|
+
if (target instanceof HTMLElement) return target;
|
|
4244
|
+
if (target && typeof target === "object" && "current" in target) {
|
|
4245
|
+
return target.current instanceof HTMLElement ? target.current : null;
|
|
4246
|
+
}
|
|
4247
|
+
return null;
|
|
4248
|
+
}
|
|
4249
|
+
function defaultFullscreenElement(toolbarRoot) {
|
|
4250
|
+
let node = toolbarRoot.parentElement;
|
|
4251
|
+
while (node && node !== document.body && node !== document.documentElement) {
|
|
4252
|
+
if (node.querySelector(".ProseMirror")) return node;
|
|
4253
|
+
node = node.parentElement;
|
|
4254
|
+
}
|
|
4255
|
+
return toolbarRoot.parentElement;
|
|
4256
|
+
}
|
|
4257
|
+
function resolveFullscreenElement(target, toolbarRoot) {
|
|
4258
|
+
const explicit = readExplicitTarget(target);
|
|
4259
|
+
if (explicit) return explicit;
|
|
4260
|
+
if (!toolbarRoot) return null;
|
|
4261
|
+
return defaultFullscreenElement(toolbarRoot);
|
|
4262
|
+
}
|
|
4263
|
+
function enterFullscreen(el) {
|
|
4264
|
+
el.setAttribute(FULLSCREEN_ATTR, "");
|
|
4265
|
+
document.documentElement.setAttribute(ROOT_ATTR, "");
|
|
4266
|
+
if (savedBodyOverflow === null) {
|
|
4267
|
+
savedBodyOverflow = document.body.style.overflow;
|
|
4268
|
+
document.body.style.overflow = "hidden";
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
function leaveFullscreen(el) {
|
|
4272
|
+
el == null ? void 0 : el.removeAttribute(FULLSCREEN_ATTR);
|
|
4273
|
+
if (document.querySelector(`[${FULLSCREEN_ATTR}]`)) return;
|
|
4274
|
+
document.documentElement.removeAttribute(ROOT_ATTR);
|
|
4275
|
+
if (savedBodyOverflow !== null) {
|
|
4276
|
+
document.body.style.overflow = savedBodyOverflow;
|
|
4277
|
+
savedBodyOverflow = null;
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
function useToolbarFullscreen({
|
|
4281
|
+
enabled,
|
|
4282
|
+
target,
|
|
4283
|
+
toolbarRootRef,
|
|
4284
|
+
editor,
|
|
4285
|
+
onChange
|
|
4286
|
+
}) {
|
|
4287
|
+
const [fullscreen, setFullscreen] = useState(false);
|
|
4288
|
+
const activeRef = useRef(null);
|
|
4289
|
+
const onChangeRef = useRef(onChange);
|
|
4290
|
+
onChangeRef.current = onChange;
|
|
4291
|
+
const exit = useCallback(() => {
|
|
4292
|
+
var _a;
|
|
4293
|
+
if (!activeRef.current) return;
|
|
4294
|
+
leaveFullscreen(activeRef.current);
|
|
4295
|
+
activeRef.current = null;
|
|
4296
|
+
setFullscreen(false);
|
|
4297
|
+
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, false);
|
|
4298
|
+
}, []);
|
|
4299
|
+
const toggleFullscreen = useCallback(() => {
|
|
4300
|
+
var _a;
|
|
4301
|
+
if (activeRef.current) {
|
|
4302
|
+
exit();
|
|
4303
|
+
return;
|
|
4304
|
+
}
|
|
4305
|
+
const el = resolveFullscreenElement(target, toolbarRootRef.current);
|
|
4306
|
+
if (!el) return;
|
|
4307
|
+
enterFullscreen(el);
|
|
4308
|
+
activeRef.current = el;
|
|
4309
|
+
setFullscreen(true);
|
|
4310
|
+
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, true);
|
|
4311
|
+
if (!editor.isDestroyed) editor.commands.focus();
|
|
4312
|
+
}, [editor, exit, target, toolbarRootRef]);
|
|
4313
|
+
useEffect(() => {
|
|
4314
|
+
if (enabled) return;
|
|
4315
|
+
exit();
|
|
4316
|
+
}, [enabled, exit]);
|
|
4317
|
+
useEffect(() => {
|
|
4318
|
+
if (!fullscreen) return;
|
|
4319
|
+
const onKey = (event) => {
|
|
4320
|
+
if (event.key !== "Escape" || isComposingKeyEvent(event)) return;
|
|
4321
|
+
if (document.querySelector(ESCAPE_GUARDS)) return;
|
|
4322
|
+
if (!editor.isDestroyed && editor.view.dom.classList.contains("tmr-format-painter")) {
|
|
4323
|
+
return;
|
|
4324
|
+
}
|
|
4325
|
+
event.preventDefault();
|
|
4326
|
+
event.stopPropagation();
|
|
4327
|
+
exit();
|
|
4328
|
+
};
|
|
4329
|
+
document.addEventListener("keydown", onKey, true);
|
|
4330
|
+
return () => document.removeEventListener("keydown", onKey, true);
|
|
4331
|
+
}, [fullscreen, editor, exit]);
|
|
4332
|
+
useEffect(() => {
|
|
4333
|
+
return () => {
|
|
4334
|
+
var _a;
|
|
4335
|
+
if (!activeRef.current) return;
|
|
4336
|
+
leaveFullscreen(activeRef.current);
|
|
4337
|
+
activeRef.current = null;
|
|
4338
|
+
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, false);
|
|
4339
|
+
};
|
|
4340
|
+
}, []);
|
|
4341
|
+
return { fullscreen, toggleFullscreen };
|
|
4342
|
+
}
|
|
4227
4343
|
const MD_FILE_RE = /\.(md|markdown)$/i;
|
|
4228
4344
|
const MD_ACCEPT = ".md,.markdown,text/markdown";
|
|
4229
4345
|
function resolveImportMenuItems({
|
|
@@ -4292,61 +4408,61 @@ function splitTopLevelBlocks(markdown) {
|
|
|
4292
4408
|
function stripToPlainText(markdown) {
|
|
4293
4409
|
return markdown.replace(/!\[[^\]]*\]\([^)]+\)/g, "").replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/^#{1,6}\s+/gm, "").replace(/^[ \t]*[-*+]\s+/gm, "").replace(/^[ \t]*\d+\.\s+/gm, "").replace(/[*_~`]+/g, "").replace(/<[^>]+>/g, "").replace(/\|/g, " ").replace(/\s+/g, " ").trim();
|
|
4294
4410
|
}
|
|
4295
|
-
const toolbar = "
|
|
4296
|
-
const inner = "
|
|
4297
|
-
const btn$2 = "
|
|
4298
|
-
const btnActive$1 = "
|
|
4299
|
-
const txtIcon = "
|
|
4300
|
-
const colorIcon = "
|
|
4301
|
-
const colorIconGlyph = "
|
|
4302
|
-
const colorIconBar = "
|
|
4303
|
-
const scriptTrigger = "
|
|
4304
|
-
const scriptTriggerGlyph = "
|
|
4305
|
-
const divider$2 = "
|
|
4306
|
-
const styleTrigger = "
|
|
4307
|
-
const styleTriggerLabel = "
|
|
4308
|
-
const styleTriggerStable = "
|
|
4309
|
-
const styleTriggerLabelStable = "
|
|
4310
|
-
const styleTriggerSizer = "
|
|
4311
|
-
const styleTriggerValue = "
|
|
4312
|
-
const styleTriggerCaret = "
|
|
4313
|
-
const iconTrigger = "
|
|
4314
|
-
const styleItem = "
|
|
4315
|
-
const styleIcon = "
|
|
4316
|
-
const scriptGlyph = "
|
|
4317
|
-
const menu = "
|
|
4318
|
-
const menuItem = "
|
|
4319
|
-
const menuItemSelected = "
|
|
4320
|
-
const listSplit = "
|
|
4321
|
-
const listSplitActive = "
|
|
4322
|
-
const numberingCaret = "
|
|
4323
|
-
const numberingCaretActive = "
|
|
4324
|
-
const numberingMenu = "
|
|
4325
|
-
const numberingGrid = "
|
|
4326
|
-
const numberingOption = "
|
|
4327
|
-
const numberingOptionActive = "
|
|
4328
|
-
const numberingPreview = "
|
|
4329
|
-
const numberingPreviewRow = "
|
|
4330
|
-
const numberingPreviewMarker = "
|
|
4331
|
-
const numberingPreviewLine = "
|
|
4332
|
-
const tableInsertCaret = "
|
|
4333
|
-
const tableSizePicker = "
|
|
4334
|
-
const tableSizeGrid = "
|
|
4335
|
-
const tableSizeCell = "
|
|
4336
|
-
const tableSizeCellActive = "
|
|
4337
|
-
const tableSizeLabel = "
|
|
4338
|
-
const popoverContent$1 = "
|
|
4339
|
-
const mathLayer = "
|
|
4340
|
-
const mathStack = "
|
|
4341
|
-
const mathStackBlock = "
|
|
4342
|
-
const mathHint = "
|
|
4343
|
-
const mathHintBlock = "
|
|
4344
|
-
const mathHintIcon = "
|
|
4345
|
-
const mathField = "
|
|
4346
|
-
const mathFieldBlock = "
|
|
4347
|
-
const mathInput = "
|
|
4348
|
-
const mathDone = "
|
|
4349
|
-
const mathDoneKbd = "
|
|
4411
|
+
const toolbar = "_toolbar_1y8hn_2";
|
|
4412
|
+
const inner = "_inner_1y8hn_20";
|
|
4413
|
+
const btn$2 = "_btn_1y8hn_47";
|
|
4414
|
+
const btnActive$1 = "_btnActive_1y8hn_70";
|
|
4415
|
+
const txtIcon = "_txtIcon_1y8hn_86";
|
|
4416
|
+
const colorIcon = "_colorIcon_1y8hn_94";
|
|
4417
|
+
const colorIconGlyph = "_colorIconGlyph_1y8hn_102";
|
|
4418
|
+
const colorIconBar = "_colorIconBar_1y8hn_108";
|
|
4419
|
+
const scriptTrigger = "_scriptTrigger_1y8hn_115";
|
|
4420
|
+
const scriptTriggerGlyph = "_scriptTriggerGlyph_1y8hn_135";
|
|
4421
|
+
const divider$2 = "_divider_1y8hn_143";
|
|
4422
|
+
const styleTrigger = "_styleTrigger_1y8hn_152";
|
|
4423
|
+
const styleTriggerLabel = "_styleTriggerLabel_1y8hn_185";
|
|
4424
|
+
const styleTriggerStable = "_styleTriggerStable_1y8hn_195";
|
|
4425
|
+
const styleTriggerLabelStable = "_styleTriggerLabelStable_1y8hn_199";
|
|
4426
|
+
const styleTriggerSizer = "_styleTriggerSizer_1y8hn_204";
|
|
4427
|
+
const styleTriggerValue = "_styleTriggerValue_1y8hn_205";
|
|
4428
|
+
const styleTriggerCaret = "_styleTriggerCaret_1y8hn_220";
|
|
4429
|
+
const iconTrigger = "_iconTrigger_1y8hn_227";
|
|
4430
|
+
const styleItem = "_styleItem_1y8hn_235";
|
|
4431
|
+
const styleIcon = "_styleIcon_1y8hn_241";
|
|
4432
|
+
const scriptGlyph = "_scriptGlyph_1y8hn_251";
|
|
4433
|
+
const menu = "_menu_1y8hn_263";
|
|
4434
|
+
const menuItem = "_menuItem_1y8hn_274";
|
|
4435
|
+
const menuItemSelected = "_menuItemSelected_1y8hn_301";
|
|
4436
|
+
const listSplit = "_listSplit_1y8hn_316";
|
|
4437
|
+
const listSplitActive = "_listSplitActive_1y8hn_322";
|
|
4438
|
+
const numberingCaret = "_numberingCaret_1y8hn_334";
|
|
4439
|
+
const numberingCaretActive = "_numberingCaretActive_1y8hn_364";
|
|
4440
|
+
const numberingMenu = "_numberingMenu_1y8hn_368";
|
|
4441
|
+
const numberingGrid = "_numberingGrid_1y8hn_378";
|
|
4442
|
+
const numberingOption = "_numberingOption_1y8hn_384";
|
|
4443
|
+
const numberingOptionActive = "_numberingOptionActive_1y8hn_399";
|
|
4444
|
+
const numberingPreview = "_numberingPreview_1y8hn_404";
|
|
4445
|
+
const numberingPreviewRow = "_numberingPreviewRow_1y8hn_410";
|
|
4446
|
+
const numberingPreviewMarker = "_numberingPreviewMarker_1y8hn_425";
|
|
4447
|
+
const numberingPreviewLine = "_numberingPreviewLine_1y8hn_433";
|
|
4448
|
+
const tableInsertCaret = "_tableInsertCaret_1y8hn_439";
|
|
4449
|
+
const tableSizePicker = "_tableSizePicker_1y8hn_447";
|
|
4450
|
+
const tableSizeGrid = "_tableSizeGrid_1y8hn_457";
|
|
4451
|
+
const tableSizeCell = "_tableSizeCell_1y8hn_462";
|
|
4452
|
+
const tableSizeCellActive = "_tableSizeCellActive_1y8hn_472";
|
|
4453
|
+
const tableSizeLabel = "_tableSizeLabel_1y8hn_477";
|
|
4454
|
+
const popoverContent$1 = "_popoverContent_1y8hn_486";
|
|
4455
|
+
const mathLayer = "_mathLayer_1y8hn_490";
|
|
4456
|
+
const mathStack = "_mathStack_1y8hn_495";
|
|
4457
|
+
const mathStackBlock = "_mathStackBlock_1y8hn_502";
|
|
4458
|
+
const mathHint = "_mathHint_1y8hn_507";
|
|
4459
|
+
const mathHintBlock = "_mathHintBlock_1y8hn_519";
|
|
4460
|
+
const mathHintIcon = "_mathHintIcon_1y8hn_525";
|
|
4461
|
+
const mathField = "_mathField_1y8hn_556";
|
|
4462
|
+
const mathFieldBlock = "_mathFieldBlock_1y8hn_568";
|
|
4463
|
+
const mathInput = "_mathInput_1y8hn_575";
|
|
4464
|
+
const mathDone = "_mathDone_1y8hn_593";
|
|
4465
|
+
const mathDoneKbd = "_mathDoneKbd_1y8hn_618";
|
|
4350
4466
|
const styles$6 = {
|
|
4351
4467
|
toolbar,
|
|
4352
4468
|
inner,
|
|
@@ -6470,6 +6586,7 @@ function MenuPopover({
|
|
|
6470
6586
|
function MenuItem({
|
|
6471
6587
|
selected,
|
|
6472
6588
|
disabled,
|
|
6589
|
+
label,
|
|
6473
6590
|
onSelect,
|
|
6474
6591
|
children
|
|
6475
6592
|
}) {
|
|
@@ -6479,6 +6596,8 @@ function MenuItem({
|
|
|
6479
6596
|
{
|
|
6480
6597
|
type: "button",
|
|
6481
6598
|
disabled,
|
|
6599
|
+
"aria-label": label,
|
|
6600
|
+
"aria-pressed": selected || void 0,
|
|
6482
6601
|
className: `${styles$6.menuItem} ${selected ? styles$6.menuItemSelected : ""}`,
|
|
6483
6602
|
onMouseDown: (e2) => e2.preventDefault(),
|
|
6484
6603
|
onClick: () => {
|
|
@@ -6672,10 +6791,21 @@ function EditorToolbar({
|
|
|
6672
6791
|
locale = "en",
|
|
6673
6792
|
onSearch,
|
|
6674
6793
|
searchActive = false,
|
|
6794
|
+
showFullscreen = true,
|
|
6795
|
+
fullscreenTarget,
|
|
6796
|
+
onFullscreenChange,
|
|
6675
6797
|
extraToolbarItems,
|
|
6676
6798
|
className
|
|
6677
6799
|
}) {
|
|
6678
6800
|
const t = getLocaleBundle(locale).toolbar;
|
|
6801
|
+
const toolbarRootRef = useRef(null);
|
|
6802
|
+
const { fullscreen, toggleFullscreen } = useToolbarFullscreen({
|
|
6803
|
+
enabled: showFullscreen,
|
|
6804
|
+
target: fullscreenTarget,
|
|
6805
|
+
toolbarRootRef,
|
|
6806
|
+
editor,
|
|
6807
|
+
onChange: onFullscreenChange
|
|
6808
|
+
});
|
|
6679
6809
|
const state = useEditorState({
|
|
6680
6810
|
editor,
|
|
6681
6811
|
selector: ({ editor: e2 }) => ({
|
|
@@ -6962,6 +7092,8 @@ function EditorToolbar({
|
|
|
6962
7092
|
/* @__PURE__ */ jsx(
|
|
6963
7093
|
"div",
|
|
6964
7094
|
{
|
|
7095
|
+
ref: toolbarRootRef,
|
|
7096
|
+
"data-tmr-toolbar": "",
|
|
6965
7097
|
className: className ? `${styles$6.toolbar} ${className}` : styles$6.toolbar,
|
|
6966
7098
|
children: /* @__PURE__ */ jsxs("div", { className: styles$6.inner, children: [
|
|
6967
7099
|
/* @__PURE__ */ jsx(
|
|
@@ -7530,6 +7662,18 @@ function EditorToolbar({
|
|
|
7530
7662
|
onInsert: (rows, cols) => chain().insertTable({ rows, cols, withHeaderRow: true }).run()
|
|
7531
7663
|
}
|
|
7532
7664
|
),
|
|
7665
|
+
showFullscreen ? /* @__PURE__ */ jsx(
|
|
7666
|
+
MenuItem,
|
|
7667
|
+
{
|
|
7668
|
+
selected: fullscreen,
|
|
7669
|
+
label: fullscreen ? t.exitFullscreen : t.fullscreen,
|
|
7670
|
+
onSelect: toggleFullscreen,
|
|
7671
|
+
children: /* @__PURE__ */ jsxs("span", { className: styles$6.styleItem, children: [
|
|
7672
|
+
/* @__PURE__ */ jsx("span", { className: styles$6.styleIcon, children: fullscreen ? /* @__PURE__ */ jsx(MinimizeIcon, { size: 14 }) : /* @__PURE__ */ jsx(ExpandIcon, { size: 14 }) }),
|
|
7673
|
+
fullscreen ? t.exitFullscreen : t.fullscreen
|
|
7674
|
+
] })
|
|
7675
|
+
}
|
|
7676
|
+
) : null,
|
|
7533
7677
|
extraToolbarItems == null ? void 0 : extraToolbarItems.map((item2) => /* @__PURE__ */ jsx(
|
|
7534
7678
|
MenuItem,
|
|
7535
7679
|
{
|
|
@@ -7760,8 +7904,8 @@ export {
|
|
|
7760
7904
|
C as ChartMount,
|
|
7761
7905
|
CheckIcon,
|
|
7762
7906
|
ChevronDownIcon,
|
|
7763
|
-
|
|
7764
|
-
|
|
7907
|
+
ab as ChevronLeftIcon,
|
|
7908
|
+
ac as ChevronRightIcon,
|
|
7765
7909
|
ChevronUpIcon,
|
|
7766
7910
|
ChevronsUpDownIcon,
|
|
7767
7911
|
a as CitationInteractive,
|
|
@@ -7785,12 +7929,12 @@ export {
|
|
|
7785
7929
|
FIND_DEBOUNCE_MS,
|
|
7786
7930
|
default2 as FindAndReplace,
|
|
7787
7931
|
FindReplaceBar,
|
|
7788
|
-
|
|
7932
|
+
ad as FitIcon,
|
|
7789
7933
|
GripIcon,
|
|
7790
7934
|
ImageAlignTools,
|
|
7791
7935
|
ImageIcon,
|
|
7792
7936
|
ImageUploadNode,
|
|
7793
|
-
|
|
7937
|
+
ae as ImportIcon,
|
|
7794
7938
|
ImportPlaceholder,
|
|
7795
7939
|
IndentDecreaseIcon,
|
|
7796
7940
|
IndentIncreaseIcon,
|
|
@@ -7802,12 +7946,13 @@ export {
|
|
|
7802
7946
|
ListChecksIcon,
|
|
7803
7947
|
ListOrderedIcon,
|
|
7804
7948
|
ListUnorderedIcon,
|
|
7805
|
-
|
|
7949
|
+
af as LockIcon,
|
|
7806
7950
|
MarkdownFileDrop,
|
|
7807
7951
|
MarkdownPaste,
|
|
7808
7952
|
MarkdownPreview,
|
|
7809
7953
|
MarkdownWysiwygEditor,
|
|
7810
|
-
|
|
7954
|
+
ag as MenuIcon,
|
|
7955
|
+
MinimizeIcon,
|
|
7811
7956
|
PENDING_ANCHOR_CLASS,
|
|
7812
7957
|
PaintbrushIcon,
|
|
7813
7958
|
P as ParagraphStyles,
|
|
@@ -7818,7 +7963,7 @@ export {
|
|
|
7818
7963
|
b as ReportContentInteractive,
|
|
7819
7964
|
c as ReportContentWithCharts,
|
|
7820
7965
|
RotateCcwIcon,
|
|
7821
|
-
|
|
7966
|
+
ah as RotateCwIcon,
|
|
7822
7967
|
RowAfterIcon,
|
|
7823
7968
|
RowBeforeIcon,
|
|
7824
7969
|
RowDeleteIcon,
|
|
@@ -7831,8 +7976,8 @@ export {
|
|
|
7831
7976
|
UnderlineIcon,
|
|
7832
7977
|
UndoIcon,
|
|
7833
7978
|
XIcon,
|
|
7834
|
-
|
|
7835
|
-
|
|
7979
|
+
ai as ZoomInIcon,
|
|
7980
|
+
aj as ZoomOutIcon,
|
|
7836
7981
|
a2 as applyCitationSources,
|
|
7837
7982
|
applyCommentAnchorsToEditor,
|
|
7838
7983
|
applyLink,
|