quoin-editor 1.6.0 → 1.7.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 +5 -0
- package/README.md +3 -2
- package/dist/ai.cjs +21 -21
- package/dist/ai.js +1 -1
- package/dist/catalogue.cjs +17 -15
- package/dist/catalogue.d.cts +2 -0
- package/dist/catalogue.d.ts +2 -0
- package/dist/catalogue.js +10 -8
- package/dist/catalogue.js.map +1 -1
- package/dist/{chunk-2AVGGPLT.js → chunk-5JEQZIRI.js} +3 -3
- package/dist/{chunk-2AVGGPLT.js.map → chunk-5JEQZIRI.js.map} +1 -1
- package/dist/{chunk-UUSZGUXJ.cjs → chunk-6T5YGCZ5.cjs} +1 -0
- package/dist/{chunk-B5OMWOVI.js → chunk-7GU25Z6L.js} +3 -3
- package/dist/{chunk-B5OMWOVI.js.map → chunk-7GU25Z6L.js.map} +1 -1
- package/dist/{chunk-JVSYEENH.cjs → chunk-BF7733XS.cjs} +16 -16
- package/dist/{chunk-T7O3BROK.cjs → chunk-FNJOPGMN.cjs} +38 -38
- package/dist/{chunk-32OZ2WM2.js → chunk-HSLOPJVT.js} +3 -3
- package/dist/{chunk-32OZ2WM2.js.map → chunk-HSLOPJVT.js.map} +1 -1
- package/dist/{chunk-L6RB43YM.cjs → chunk-I722LBD3.cjs} +19 -19
- package/dist/{chunk-46JH34SR.cjs → chunk-JY5VUHKN.cjs} +7 -7
- package/dist/{chunk-TKCPXUPP.cjs → chunk-KDK2ATMB.cjs} +15 -15
- package/dist/chunk-LKZJ2TDU.cjs +90 -0
- package/dist/{chunk-KF3KKN4N.js → chunk-MNA7MBCH.js} +3 -3
- package/dist/{chunk-KF3KKN4N.js.map → chunk-MNA7MBCH.js.map} +1 -1
- package/dist/{chunk-LOP66FVU.cjs → chunk-MZXW2HXP.cjs} +8 -8
- package/dist/{chunk-KFYJW7W5.js → chunk-OJ4O6HWC.js} +3 -3
- package/dist/{chunk-KFYJW7W5.js.map → chunk-OJ4O6HWC.js.map} +1 -1
- package/dist/{chunk-HT7OF52E.js → chunk-PLUMKN4B.js} +3 -3
- package/dist/{chunk-HT7OF52E.js.map → chunk-PLUMKN4B.js.map} +1 -1
- package/dist/{chunk-N2SCDXTI.js → chunk-PWUFFHAQ.js} +3 -3
- package/dist/{chunk-N2SCDXTI.js.map → chunk-PWUFFHAQ.js.map} +1 -1
- package/dist/chunk-RQXJKJ5S.js +88 -0
- package/dist/chunk-RQXJKJ5S.js.map +1 -0
- package/dist/{chunk-O7XZFXPE.js → chunk-UZS3TW75.js} +3 -3
- package/dist/{chunk-O7XZFXPE.js.map → chunk-UZS3TW75.js.map} +1 -1
- package/dist/{chunk-XFR7QGSN.cjs → chunk-YEFPH27F.cjs} +39 -39
- package/dist/comments.cjs +18 -18
- package/dist/comments.js +1 -1
- package/dist/diagram-extension-D573COJv.d.cts +38 -0
- package/dist/diagram-extension-Da7hp-tv.d.ts +38 -0
- package/dist/diagram.cjs +25 -0
- package/dist/diagram.d.cts +8 -0
- package/dist/diagram.d.ts +8 -0
- package/dist/diagram.js +10 -0
- package/dist/diagram.js.map +1 -0
- package/dist/embed.cjs +4 -4
- package/dist/embed.js +2 -2
- package/dist/emoji.cjs +5 -5
- package/dist/emoji.js +2 -2
- package/dist/find.cjs +6 -6
- package/dist/find.js +2 -2
- package/dist/highlight.cjs +2 -2
- package/dist/highlight.js +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.js +1 -1
- package/dist/math.cjs +4 -4
- package/dist/math.js +2 -2
- package/dist/mention.cjs +4 -4
- package/dist/mention.js +2 -2
- package/dist/presence.cjs +1 -1
- package/dist/presence.js +1 -1
- package/dist/source.cjs +1 -1
- package/dist/source.js +1 -1
- package/dist/stats.cjs +1 -1
- package/dist/stats.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/table.cjs +21 -21
- package/dist/table.js +2 -2
- package/dist/toc.cjs +5 -5
- package/dist/toc.js +2 -2
- package/package.json +11 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkH3C3MJW5_cjs = require('./chunk-H3C3MJW5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk6T5YGCZ5_cjs = require('./chunk-6T5YGCZ5.cjs');
|
|
5
5
|
var chunkQJ34MOFV_cjs = require('./chunk-QJ34MOFV.cjs');
|
|
6
6
|
var chunkA6PGQVTR_cjs = require('./chunk-A6PGQVTR.cjs');
|
|
7
7
|
var chunkVZZPCYA3_cjs = require('./chunk-VZZPCYA3.cjs');
|
|
@@ -16,7 +16,7 @@ function LinkCard({ controller, blockId, url, title, description, image, readOnl
|
|
|
16
16
|
const domain = chunkH3C3MJW5_cjs.domainOf(url);
|
|
17
17
|
const picture = chunkH3C3MJW5_cjs.webAddress(image);
|
|
18
18
|
const name = title || url;
|
|
19
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: card, className: "quoin-link-card", ...readOnly ? void 0 :
|
|
19
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: card, className: "quoin-link-card", ...readOnly ? void 0 : chunk6T5YGCZ5_cjs.selectHandlers(controller, blockId, card), children: [
|
|
20
20
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "quoin-link-card-text", children: [
|
|
21
21
|
href === null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "quoin-link-card-title", children: name }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
22
22
|
"a",
|
|
@@ -51,7 +51,7 @@ function useLinkCardKeys(controller, blockId, url, editable) {
|
|
|
51
51
|
const root = react.useRef(null);
|
|
52
52
|
const link = react.useRef(null);
|
|
53
53
|
const keys = react.useMemo(() => ({ enter: () => link.current?.focus() }), []);
|
|
54
|
-
|
|
54
|
+
chunk6T5YGCZ5_cjs.useNodeKeys(controller, blockId, editable, chunkWZA5S5EJ_cjs.sanitizeHref(url) !== null, root, keys);
|
|
55
55
|
return { root, link };
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -93,7 +93,7 @@ async function unfurlInto(controller, blockId, url, unfurl, onError) {
|
|
|
93
93
|
try {
|
|
94
94
|
found = await unfurl(url);
|
|
95
95
|
} catch (cause) {
|
|
96
|
-
if (bookmarkAt(controller, blockId, url) && drawn.get(blockId)) onError(
|
|
96
|
+
if (bookmarkAt(controller, blockId, url) && drawn.get(blockId)) onError(chunk6T5YGCZ5_cjs.toError(cause));
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
const patch = unfurledPatch(found);
|
|
@@ -108,7 +108,7 @@ async function unfurlInto(controller, blockId, url, unfurl, onError) {
|
|
|
108
108
|
editor.dispatch(editor.createTransaction().step(chunkVZZPCYA3_cjs.setAttrsStep(blockId, patch)).setMeta("addToHistory", false));
|
|
109
109
|
}
|
|
110
110
|
function useUnfurl(controller, blockId, url, unfurl) {
|
|
111
|
-
const { onError } =
|
|
111
|
+
const { onError } = chunk6T5YGCZ5_cjs.useQuoin();
|
|
112
112
|
react.useEffect(() => {
|
|
113
113
|
const { drawn } = asksOf(controller);
|
|
114
114
|
drawn.set(blockId, (drawn.get(blockId) ?? 0) + 1);
|
|
@@ -187,7 +187,7 @@ function EmbedFrame({ blockId, controller, match, title, readOnly }) {
|
|
|
187
187
|
);
|
|
188
188
|
const cover = useCoverPress(controller);
|
|
189
189
|
const keys = react.useMemo(() => ({ enter: () => void setTimeout(() => frame.current?.focus()) }), []);
|
|
190
|
-
|
|
190
|
+
chunk6T5YGCZ5_cjs.useNodeKeys(controller, blockId, !readOnly, true, root, keys);
|
|
191
191
|
const height = playerHeight(match.provider);
|
|
192
192
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
193
193
|
"div",
|
|
@@ -215,7 +215,7 @@ function EmbedFrame({ blockId, controller, match, title, readOnly }) {
|
|
|
215
215
|
className: "quoin-embed-cover",
|
|
216
216
|
onPointerDownCapture: cover.onPress,
|
|
217
217
|
onMouseDown: (event) => event.preventDefault(),
|
|
218
|
-
onClick: () =>
|
|
218
|
+
onClick: () => chunk6T5YGCZ5_cjs.focusNode(controller, blockId)
|
|
219
219
|
}
|
|
220
220
|
)
|
|
221
221
|
]
|
|
@@ -320,7 +320,7 @@ var embedSlashItems = (labels) => [
|
|
|
320
320
|
title: labels.embed,
|
|
321
321
|
description: labels.embedDescription,
|
|
322
322
|
group: "embeds",
|
|
323
|
-
icon:
|
|
323
|
+
icon: chunk6T5YGCZ5_cjs.AppWindow,
|
|
324
324
|
keywords: ["iframe", "video", "youtube", "vimeo", "loom", "figma", "codepen", "spotify", "soundcloud"],
|
|
325
325
|
run: ({ controller, range }) => requestLink(controller, { kind: "embed", at: range })
|
|
326
326
|
},
|
|
@@ -329,7 +329,7 @@ var embedSlashItems = (labels) => [
|
|
|
329
329
|
title: labels.bookmark,
|
|
330
330
|
description: labels.bookmarkDescription,
|
|
331
331
|
group: "embeds",
|
|
332
|
-
icon:
|
|
332
|
+
icon: chunk6T5YGCZ5_cjs.Bookmark,
|
|
333
333
|
keywords: ["link", "url", "card", "preview", "web"],
|
|
334
334
|
run: ({ controller, range }) => requestLink(controller, { kind: "bookmark", at: range })
|
|
335
335
|
}
|
|
@@ -381,7 +381,7 @@ function emptyParagraph(blockId) {
|
|
|
381
381
|
}
|
|
382
382
|
function replaceLink(blockId, block) {
|
|
383
383
|
return (state, dispatch) => {
|
|
384
|
-
const { ok, tr } = chunkVZZPCYA3_cjs.runCommands(state, [emptyParagraph(blockId),
|
|
384
|
+
const { ok, tr } = chunkVZZPCYA3_cjs.runCommands(state, [emptyParagraph(blockId), chunk6T5YGCZ5_cjs.insertBlocks([block], "line", blockId)]);
|
|
385
385
|
if (!ok || tr === null) return false;
|
|
386
386
|
dispatch?.(tr);
|
|
387
387
|
return true;
|
|
@@ -395,7 +395,7 @@ function embedOf(href, providers) {
|
|
|
395
395
|
}
|
|
396
396
|
var bookmarkOf = (href) => ({ type: "BOOKMARK", attrs: { url: href } });
|
|
397
397
|
function typedLink(kind, typed, providers) {
|
|
398
|
-
const href = chunkH3C3MJW5_cjs.webAddress(
|
|
398
|
+
const href = chunkH3C3MJW5_cjs.webAddress(chunk6T5YGCZ5_cjs.linkAddress(typed));
|
|
399
399
|
if (href === null) return { href, block: null, problem: "notALink" };
|
|
400
400
|
const block = kind === "embed" ? embedOf(href, providers) : bookmarkOf(href);
|
|
401
401
|
return { href, block, problem: block === null ? "cannotEmbed" : null };
|
|
@@ -423,18 +423,18 @@ function useEscapeInText(controller, onEscape) {
|
|
|
423
423
|
onEscape();
|
|
424
424
|
return true;
|
|
425
425
|
};
|
|
426
|
-
return
|
|
426
|
+
return chunk6T5YGCZ5_cjs.interceptKeys(controller, intercept);
|
|
427
427
|
}, [controller, onEscape]);
|
|
428
428
|
}
|
|
429
429
|
function LinkChoiceToolbar({ controller, feature: { labels, providers }, choice, onDismiss }) {
|
|
430
430
|
const embed = react.useMemo(() => embedOf(choice.href, providers), [choice.href, providers]);
|
|
431
431
|
const range = react.useMemo(() => linkEnd(controller.editor.state, choice.block), [controller, choice.block]);
|
|
432
|
-
const { anchor } =
|
|
432
|
+
const { anchor } = chunk6T5YGCZ5_cjs.useRangeAnchor(controller, range);
|
|
433
433
|
const after = react.useMemo(() => {
|
|
434
434
|
const host = range && controller.registry.get(range.block, range.region);
|
|
435
|
-
return host &&
|
|
435
|
+
return host && chunk6T5YGCZ5_cjs.inlineDirection(host) === "rtl" ? "left" : "right";
|
|
436
436
|
}, [controller, range]);
|
|
437
|
-
const roving =
|
|
437
|
+
const roving = chunk6T5YGCZ5_cjs.useRovingFocus();
|
|
438
438
|
const rovingRef = roving.ref;
|
|
439
439
|
const content = react.useRef(null);
|
|
440
440
|
const ref = react.useCallback(
|
|
@@ -445,9 +445,9 @@ function LinkChoiceToolbar({ controller, feature: { labels, providers }, choice,
|
|
|
445
445
|
[rovingRef]
|
|
446
446
|
);
|
|
447
447
|
const ownerDocument = react.useCallback(() => controller.root?.ownerDocument ?? document, [controller]);
|
|
448
|
-
|
|
448
|
+
chunk6T5YGCZ5_cjs.useFocusKey(controller, roving.focusCurrent);
|
|
449
449
|
useEscapeInText(controller, onDismiss);
|
|
450
|
-
|
|
450
|
+
chunk6T5YGCZ5_cjs.useOutsidePress(content, ownerDocument, onDismiss);
|
|
451
451
|
const choose = (block) => {
|
|
452
452
|
if (block === null) onDismiss();
|
|
453
453
|
else controller.run(replaceLink(choice.block, block));
|
|
@@ -461,11 +461,11 @@ function LinkChoiceToolbar({ controller, feature: { labels, providers }, choice,
|
|
|
461
461
|
controller.focus();
|
|
462
462
|
} else roving.onKeyDown(event);
|
|
463
463
|
};
|
|
464
|
-
const button = (label, block) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
465
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
466
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
464
|
+
const button = (label, block) => /* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.Button, { type: "button", variant: "ghost", size: "sm", onClick: () => choose(block), children: label });
|
|
465
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk6T5YGCZ5_cjs.Popover, { open: true, modal: false, children: [
|
|
466
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.PopoverAnchor, { virtualRef: anchor }),
|
|
467
467
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
468
|
-
|
|
468
|
+
chunk6T5YGCZ5_cjs.PopoverContent,
|
|
469
469
|
{
|
|
470
470
|
ref,
|
|
471
471
|
role: "toolbar",
|
|
@@ -473,14 +473,14 @@ function LinkChoiceToolbar({ controller, feature: { labels, providers }, choice,
|
|
|
473
473
|
side: after,
|
|
474
474
|
align: "end",
|
|
475
475
|
sideOffset: 8,
|
|
476
|
-
className:
|
|
477
|
-
onOpenAutoFocus:
|
|
478
|
-
onCloseAutoFocus:
|
|
479
|
-
onPointerDown:
|
|
480
|
-
onMouseDown:
|
|
476
|
+
className: chunk6T5YGCZ5_cjs.FLOATING_TOOLBAR,
|
|
477
|
+
onOpenAutoFocus: chunk6T5YGCZ5_cjs.preventDefault,
|
|
478
|
+
onCloseAutoFocus: chunk6T5YGCZ5_cjs.preventDefault,
|
|
479
|
+
onPointerDown: chunk6T5YGCZ5_cjs.keepFocus,
|
|
480
|
+
onMouseDown: chunk6T5YGCZ5_cjs.keepFocus,
|
|
481
481
|
onFocus: roving.onFocus,
|
|
482
482
|
onKeyDown,
|
|
483
|
-
...
|
|
483
|
+
...chunk6T5YGCZ5_cjs.bubblePart(controller),
|
|
484
484
|
children: [
|
|
485
485
|
embed !== null && button(labels.embed, embed),
|
|
486
486
|
button(labels.bookmark, bookmarkOf(choice.href)),
|
|
@@ -498,7 +498,7 @@ function storeAfterPress(controller, request, block) {
|
|
|
498
498
|
controller.readSelectionFromDom();
|
|
499
499
|
const line = request.at.block;
|
|
500
500
|
const onLine = chunkVZZPCYA3_cjs.headBlockId(editor.state.selection) === line;
|
|
501
|
-
const place = onLine ?
|
|
501
|
+
const place = onLine ? chunk6T5YGCZ5_cjs.insertBlockToWrite(block, false, line) : chunk6T5YGCZ5_cjs.insertBlocks([block], "stay", line);
|
|
502
502
|
place(editor.state, (tr) => editor.dispatch(tr));
|
|
503
503
|
}
|
|
504
504
|
function LinkInputOverlay({ controller, feature }) {
|
|
@@ -516,12 +516,12 @@ function LinkInputPopover({ controller, feature: { labels, providers }, request,
|
|
|
516
516
|
const [problem, setProblem] = react.useState(null);
|
|
517
517
|
const messageId = react.useId();
|
|
518
518
|
const content = react.useRef(null);
|
|
519
|
-
const { anchor, side } =
|
|
519
|
+
const { anchor, side } = chunk6T5YGCZ5_cjs.useRangeAnchor(controller, request.at);
|
|
520
520
|
const name = request.kind === "embed" ? labels.embedLink : labels.bookmarkLink;
|
|
521
521
|
const typed = () => typedLink(request.kind, address, providers);
|
|
522
522
|
const finish = (block) => {
|
|
523
523
|
onClose();
|
|
524
|
-
if (block !== null && !controller.readOnly) controller.run(
|
|
524
|
+
if (block !== null && !controller.readOnly) controller.run(chunk6T5YGCZ5_cjs.insertBlockToWrite(block, false, request.at.block));
|
|
525
525
|
controller.focus();
|
|
526
526
|
};
|
|
527
527
|
const submit = (event) => {
|
|
@@ -532,7 +532,7 @@ function LinkInputPopover({ controller, feature: { labels, providers }, request,
|
|
|
532
532
|
};
|
|
533
533
|
const bookmarkInstead = () => finish(typedLink("bookmark", address, providers).block);
|
|
534
534
|
const ownerDocument = react.useCallback(() => controller.root?.ownerDocument ?? document, [controller]);
|
|
535
|
-
|
|
535
|
+
chunk6T5YGCZ5_cjs.useOutsidePress(content, ownerDocument, () => {
|
|
536
536
|
onClose();
|
|
537
537
|
const { block } = typed();
|
|
538
538
|
if (block !== null) setTimeout(() => storeAfterPress(controller, request, block));
|
|
@@ -546,25 +546,25 @@ function LinkInputPopover({ controller, feature: { labels, providers }, request,
|
|
|
546
546
|
if (next >= 0 && next < controls.length) controls[next].focus();
|
|
547
547
|
else finish(typed().block);
|
|
548
548
|
};
|
|
549
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
550
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
549
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk6T5YGCZ5_cjs.Popover, { open: true, modal: false, children: [
|
|
550
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.PopoverAnchor, { virtualRef: anchor }),
|
|
551
551
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
552
|
-
|
|
552
|
+
chunk6T5YGCZ5_cjs.PopoverContent,
|
|
553
553
|
{
|
|
554
554
|
ref: content,
|
|
555
555
|
"aria-label": name,
|
|
556
556
|
side,
|
|
557
557
|
align: "start",
|
|
558
558
|
className: "w-80 p-2 shadow-md",
|
|
559
|
-
onCloseAutoFocus:
|
|
559
|
+
onCloseAutoFocus: chunk6T5YGCZ5_cjs.preventDefault,
|
|
560
560
|
onEscapeKeyDown: (event) => {
|
|
561
561
|
event.preventDefault();
|
|
562
562
|
if (!chunkQJ34MOFV_cjs.isComposingKey(controller, event)) finish(null);
|
|
563
563
|
},
|
|
564
|
-
...
|
|
564
|
+
...chunk6T5YGCZ5_cjs.bubblePart(controller),
|
|
565
565
|
children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, className: "quoin-embed-ask", onSubmit: submit, onKeyDown, children: [
|
|
566
566
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
567
|
-
|
|
567
|
+
chunk6T5YGCZ5_cjs.Input,
|
|
568
568
|
{
|
|
569
569
|
type: "url",
|
|
570
570
|
className: "h-8",
|
|
@@ -578,9 +578,9 @@ function LinkInputPopover({ controller, feature: { labels, providers }, request,
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
),
|
|
581
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
581
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.Button, { type: "submit", size: "sm", children: request.kind === "embed" ? labels.embed : labels.bookmark }),
|
|
582
582
|
problem !== null && /* @__PURE__ */ jsxRuntime.jsx("p", { id: messageId, role: "alert", className: "quoin-embed-ask-message", children: labels[problem] }),
|
|
583
|
-
problem === "cannotEmbed" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
583
|
+
problem === "cannotEmbed" && /* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.Button, { type: "button", variant: "outline", size: "sm", onClick: bookmarkInstead, children: labels.bookmarkInstead })
|
|
584
584
|
] })
|
|
585
585
|
}
|
|
586
586
|
)
|
package/dist/comments.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkH3C3MJW5_cjs = require('./chunk-H3C3MJW5.cjs');
|
|
5
5
|
var chunkQR2NIDUK_cjs = require('./chunk-QR2NIDUK.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk6T5YGCZ5_cjs = require('./chunk-6T5YGCZ5.cjs');
|
|
7
7
|
var chunkQJ34MOFV_cjs = require('./chunk-QJ34MOFV.cjs');
|
|
8
8
|
require('./chunk-A6PGQVTR.cjs');
|
|
9
9
|
var chunkVZZPCYA3_cjs = require('./chunk-VZZPCYA3.cjs');
|
|
@@ -185,7 +185,7 @@ function create(editor, pending, onCreate, link) {
|
|
|
185
185
|
if (link.mounts === 0) return;
|
|
186
186
|
const tr = settledTransaction(editor, pending.key, id);
|
|
187
187
|
editor.dispatch(tr);
|
|
188
|
-
if (id === null) link.report(
|
|
188
|
+
if (id === null) link.report(chunk6T5YGCZ5_cjs.toError(error));
|
|
189
189
|
else if (!tr.docChanged) link.report(new Error(`Comment thread ${id} has no text: it was deleted meanwhile`));
|
|
190
190
|
};
|
|
191
191
|
new Promise((resolve) => resolve(onCreate(input))).then(
|
|
@@ -336,10 +336,10 @@ function CommentMarkers({ env, box, entries, onOpen }) {
|
|
|
336
336
|
"data-rail-item": "",
|
|
337
337
|
"data-block": block,
|
|
338
338
|
"aria-label": env.labels.showComments(ids.length),
|
|
339
|
-
className:
|
|
339
|
+
className: chunk6T5YGCZ5_cjs.cn("quoin-comments-marker", chunk6T5YGCZ5_cjs.FOCUS_RING),
|
|
340
340
|
onClick: (event) => onOpen(ids[0], event.currentTarget),
|
|
341
341
|
children: [
|
|
342
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
342
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.MessageSquare, { "aria-hidden": "true" }),
|
|
343
343
|
ids.length
|
|
344
344
|
]
|
|
345
345
|
},
|
|
@@ -353,7 +353,7 @@ async function called(link, call) {
|
|
|
353
353
|
await call();
|
|
354
354
|
return true;
|
|
355
355
|
} catch (error) {
|
|
356
|
-
link.report(
|
|
356
|
+
link.report(chunk6T5YGCZ5_cjs.toError(error));
|
|
357
357
|
return false;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -446,14 +446,14 @@ function ReplyBox({ env, threadId, first }) {
|
|
|
446
446
|
}
|
|
447
447
|
),
|
|
448
448
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
449
|
-
|
|
449
|
+
chunk6T5YGCZ5_cjs.Button,
|
|
450
450
|
{
|
|
451
451
|
type: "submit",
|
|
452
452
|
variant: "ghost",
|
|
453
453
|
size: "icon-sm",
|
|
454
454
|
"aria-label": labels.send,
|
|
455
455
|
"aria-disabled": text === "" || sending || void 0,
|
|
456
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
456
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.SendHorizontal, {})
|
|
457
457
|
}
|
|
458
458
|
)
|
|
459
459
|
] });
|
|
@@ -485,7 +485,7 @@ function ThreadView({ env, id, thread, onEnded }) {
|
|
|
485
485
|
/* @__PURE__ */ jsxRuntime.jsx(ReplyBox, { env, threadId: id, first: comments.length === 0 }),
|
|
486
486
|
!readOnly && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-1", children: [
|
|
487
487
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
488
|
-
|
|
488
|
+
chunk6T5YGCZ5_cjs.Button,
|
|
489
489
|
{
|
|
490
490
|
type: "button",
|
|
491
491
|
variant: "ghost",
|
|
@@ -496,7 +496,7 @@ function ThreadView({ env, id, thread, onEnded }) {
|
|
|
496
496
|
}
|
|
497
497
|
),
|
|
498
498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
499
|
-
|
|
499
|
+
chunk6T5YGCZ5_cjs.Button,
|
|
500
500
|
{
|
|
501
501
|
type: "button",
|
|
502
502
|
variant: "ghost",
|
|
@@ -533,7 +533,7 @@ function ThreadCard({ env, entry, active, expanded, onToggle }) {
|
|
|
533
533
|
ref: header,
|
|
534
534
|
type: "button",
|
|
535
535
|
"aria-expanded": expanded,
|
|
536
|
-
className:
|
|
536
|
+
className: chunk6T5YGCZ5_cjs.cn("flex w-full flex-col items-start gap-1 rounded-sm text-start", chunk6T5YGCZ5_cjs.FOCUS_RING),
|
|
537
537
|
onClick: () => onToggle(expanded ? null : thread.id),
|
|
538
538
|
children: [
|
|
539
539
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: removed ? "text-xs text-muted-foreground italic" : "quoin-comments-quote", children: removed ? labels.textRemoved : anchorText2 }),
|
|
@@ -599,7 +599,7 @@ function CommentsSheet({ env, entries, value, onToggle, onClose, returnFocus })
|
|
|
599
599
|
children: [
|
|
600
600
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
601
601
|
/* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Title, { className: "text-sm font-semibold", children: labels.comments }),
|
|
602
|
-
/* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
602
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.close, children: /* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.X, {}) }) })
|
|
603
603
|
] }),
|
|
604
604
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { "aria-label": labels.comments, className: "flex flex-col gap-2", children: entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
605
605
|
ThreadCard,
|
|
@@ -660,8 +660,8 @@ function ThreadPopover({ env, open, threads, onChoose, onClose }) {
|
|
|
660
660
|
});
|
|
661
661
|
const anchor = react.useMemo(
|
|
662
662
|
() => ({
|
|
663
|
-
current:
|
|
664
|
-
() => latest.current ?
|
|
663
|
+
current: chunk6T5YGCZ5_cjs.virtualAnchor(
|
|
664
|
+
() => latest.current ? chunk6T5YGCZ5_cjs.rangeRect(controller, latest.current) : null,
|
|
665
665
|
() => latest.current && controller.registry.get(latest.current.block, latest.current.region)
|
|
666
666
|
)
|
|
667
667
|
}),
|
|
@@ -695,7 +695,7 @@ function ThreadPopover({ env, open, threads, onChoose, onClose }) {
|
|
|
695
695
|
};
|
|
696
696
|
const choices = ids.map((id) => ({ id, anchorText: textOf(id), preview: threads.find(id)?.comments[0]?.body ?? "" }));
|
|
697
697
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
698
|
-
|
|
698
|
+
chunk6T5YGCZ5_cjs.Popover,
|
|
699
699
|
{
|
|
700
700
|
open: true,
|
|
701
701
|
modal: false,
|
|
@@ -703,9 +703,9 @@ function ThreadPopover({ env, open, threads, onChoose, onClose }) {
|
|
|
703
703
|
if (!next) onClose();
|
|
704
704
|
},
|
|
705
705
|
children: [
|
|
706
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
706
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6T5YGCZ5_cjs.PopoverAnchor, { virtualRef: anchor }),
|
|
707
707
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
708
|
-
|
|
708
|
+
chunk6T5YGCZ5_cjs.PopoverContent,
|
|
709
709
|
{
|
|
710
710
|
ref: content,
|
|
711
711
|
"aria-label": gone ? labels.textRemoved : single ? labels.thread(textOf(ids[0])) : labels.threadsHere,
|
|
@@ -770,7 +770,7 @@ function useThreads(threads) {
|
|
|
770
770
|
var commentsOf = (state) => chunkVZZPCYA3_cjs.getPluginState(state, commentsKey);
|
|
771
771
|
var docOf2 = (state) => state.doc;
|
|
772
772
|
function CommentsOverlay({ controller, host, labels }) {
|
|
773
|
-
const { onError } =
|
|
773
|
+
const { onError } = chunk6T5YGCZ5_cjs.useQuoin();
|
|
774
774
|
const link = linkOf(controller.editor);
|
|
775
775
|
chunkQJ34MOFV_cjs.useIsomorphicLayoutEffect(() => {
|
|
776
776
|
link.report = onError;
|
|
@@ -858,7 +858,7 @@ function watchEnded(editor, threads) {
|
|
|
858
858
|
var commentItem = (labels) => ({
|
|
859
859
|
id: "comment",
|
|
860
860
|
title: labels.comment,
|
|
861
|
-
icon:
|
|
861
|
+
icon: chunk6T5YGCZ5_cjs.MessageSquarePlus,
|
|
862
862
|
shortcut: "Mod-Alt-m",
|
|
863
863
|
available: (state) => hasCommentableText(state) && chunkVZZPCYA3_cjs.getPluginState(state, commentsKey).pending.length === 0,
|
|
864
864
|
// Focus goes back to the text first: the button leaves the toolbar while the thread is being asked for.
|
package/dist/comments.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { webAddress } from './chunk-GHNQKJMD.js';
|
|
3
3
|
import { ownsNode } from './chunk-R7MYG522.js';
|
|
4
|
-
import { MessageSquarePlus, useQuoin, MessageSquare, cn, FOCUS_RING, Button, X, virtualAnchor, rangeRect, Popover, PopoverAnchor, PopoverContent, toError, SendHorizontal } from './chunk-
|
|
4
|
+
import { MessageSquarePlus, useQuoin, MessageSquare, cn, FOCUS_RING, Button, X, virtualAnchor, rangeRect, Popover, PopoverAnchor, PopoverContent, toError, SendHorizontal } from './chunk-HSLOPJVT.js';
|
|
5
5
|
import { useIsomorphicLayoutEffect, useEditorState, useReadOnly } from './chunk-XFEDJEJF.js';
|
|
6
6
|
import './chunk-HDJ653LM.js';
|
|
7
7
|
import { createPluginKey, defineExtension, getPluginState, isCollapsed, markRanges, Transaction, comparePos, textSelection, addMarkStep, sameSelection, removeMarkStep } from './chunk-OS2O6IKX.js';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { E as Extension } from './types-DXF9p4qV.cjs';
|
|
2
|
+
|
|
3
|
+
/** Every string the diagram blocks show or speak. */
|
|
4
|
+
type DiagramLabels = {
|
|
5
|
+
/** Names the block holding a diagram and its source, by the language that draws it. */
|
|
6
|
+
diagram(language: string): string;
|
|
7
|
+
/** What is shown in place of a diagram the host's renderer could not draw. */
|
|
8
|
+
notDrawn: string;
|
|
9
|
+
};
|
|
10
|
+
declare const englishDiagramLabels: DiagramLabels;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Draws a diagram from the source of a code block and gives the markup to insert, at once or through a promise, as
|
|
14
|
+
* Mermaid's `render` does, which parses and lays out asynchronously. The
|
|
15
|
+
* markup is trusted: the canvas inserts it as it is, so a host that draws from text it did not write sanitises first.
|
|
16
|
+
*/
|
|
17
|
+
type RenderDiagram = (code: string, language: string) => string | Promise<string>;
|
|
18
|
+
|
|
19
|
+
type DiagramOptions = {
|
|
20
|
+
/**
|
|
21
|
+
* Draws a diagram from the source of a code block and gives the markup to insert, as Mermaid's `render` does. The
|
|
22
|
+
* markup is inserted as it is, so a host drawing from text it did not write sanitises first. Without one the blocks
|
|
23
|
+
* stay code blocks.
|
|
24
|
+
*/
|
|
25
|
+
render?: RenderDiagram;
|
|
26
|
+
/** The code languages drawn as diagrams rather than highlighted. `['mermaid']` by default. */
|
|
27
|
+
languages?: readonly string[];
|
|
28
|
+
/** Every string the feature shows or speaks, English by default. A key left out stays English. */
|
|
29
|
+
labels?: Partial<DiagramLabels>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Draws a code block whose language names a diagram through the host's renderer, with its source below it. The
|
|
33
|
+
* document is unchanged: a diagram is a fenced code block, and opens as one anywhere else.
|
|
34
|
+
*/
|
|
35
|
+
declare function diagramExtension(options?: DiagramOptions): Extension;
|
|
36
|
+
|
|
37
|
+
export { diagramExtension as d, englishDiagramLabels as e };
|
|
38
|
+
export type { DiagramLabels as D, RenderDiagram as R, DiagramOptions as a };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { E as Extension } from './types-BjLcmV00.js';
|
|
2
|
+
|
|
3
|
+
/** Every string the diagram blocks show or speak. */
|
|
4
|
+
type DiagramLabels = {
|
|
5
|
+
/** Names the block holding a diagram and its source, by the language that draws it. */
|
|
6
|
+
diagram(language: string): string;
|
|
7
|
+
/** What is shown in place of a diagram the host's renderer could not draw. */
|
|
8
|
+
notDrawn: string;
|
|
9
|
+
};
|
|
10
|
+
declare const englishDiagramLabels: DiagramLabels;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Draws a diagram from the source of a code block and gives the markup to insert, at once or through a promise, as
|
|
14
|
+
* Mermaid's `render` does, which parses and lays out asynchronously. The
|
|
15
|
+
* markup is trusted: the canvas inserts it as it is, so a host that draws from text it did not write sanitises first.
|
|
16
|
+
*/
|
|
17
|
+
type RenderDiagram = (code: string, language: string) => string | Promise<string>;
|
|
18
|
+
|
|
19
|
+
type DiagramOptions = {
|
|
20
|
+
/**
|
|
21
|
+
* Draws a diagram from the source of a code block and gives the markup to insert, as Mermaid's `render` does. The
|
|
22
|
+
* markup is inserted as it is, so a host drawing from text it did not write sanitises first. Without one the blocks
|
|
23
|
+
* stay code blocks.
|
|
24
|
+
*/
|
|
25
|
+
render?: RenderDiagram;
|
|
26
|
+
/** The code languages drawn as diagrams rather than highlighted. `['mermaid']` by default. */
|
|
27
|
+
languages?: readonly string[];
|
|
28
|
+
/** Every string the feature shows or speaks, English by default. A key left out stays English. */
|
|
29
|
+
labels?: Partial<DiagramLabels>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Draws a code block whose language names a diagram through the host's renderer, with its source below it. The
|
|
33
|
+
* document is unchanged: a diagram is a fenced code block, and opens as one anywhere else.
|
|
34
|
+
*/
|
|
35
|
+
declare function diagramExtension(options?: DiagramOptions): Extension;
|
|
36
|
+
|
|
37
|
+
export { diagramExtension as d, englishDiagramLabels as e };
|
|
38
|
+
export type { DiagramLabels as D, RenderDiagram as R, DiagramOptions as a };
|
package/dist/diagram.cjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkLKZJ2TDU_cjs = require('./chunk-LKZJ2TDU.cjs');
|
|
5
|
+
require('./chunk-6T5YGCZ5.cjs');
|
|
6
|
+
require('./chunk-QJ34MOFV.cjs');
|
|
7
|
+
require('./chunk-A6PGQVTR.cjs');
|
|
8
|
+
require('./chunk-VZZPCYA3.cjs');
|
|
9
|
+
require('./chunk-BM2GRZNM.cjs');
|
|
10
|
+
require('./chunk-WZA5S5EJ.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(exports, "DEFAULT_DIAGRAM_LANGUAGES", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkLKZJ2TDU_cjs.DEFAULT_DIAGRAM_LANGUAGES; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "diagramExtension", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkLKZJ2TDU_cjs.diagramExtension; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "englishDiagramLabels", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkLKZJ2TDU_cjs.englishDiagramLabels; }
|
|
25
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { D as DiagramLabels, a as DiagramOptions, R as RenderDiagram, d as diagramExtension, e as englishDiagramLabels } from './diagram-extension-D573COJv.cjs';
|
|
2
|
+
import './types-DXF9p4qV.cjs';
|
|
3
|
+
import './types-CQ8Vw_7N.cjs';
|
|
4
|
+
|
|
5
|
+
/** The language a code fence names when it holds a diagram, unless the host configures its own. */
|
|
6
|
+
declare const DEFAULT_DIAGRAM_LANGUAGES: readonly string[];
|
|
7
|
+
|
|
8
|
+
export { DEFAULT_DIAGRAM_LANGUAGES };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { D as DiagramLabels, a as DiagramOptions, R as RenderDiagram, d as diagramExtension, e as englishDiagramLabels } from './diagram-extension-Da7hp-tv.js';
|
|
2
|
+
import './types-BjLcmV00.js';
|
|
3
|
+
import './types-CQ8Vw_7N.js';
|
|
4
|
+
|
|
5
|
+
/** The language a code fence names when it holds a diagram, unless the host configures its own. */
|
|
6
|
+
declare const DEFAULT_DIAGRAM_LANGUAGES: readonly string[];
|
|
7
|
+
|
|
8
|
+
export { DEFAULT_DIAGRAM_LANGUAGES };
|
package/dist/diagram.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
export { DEFAULT_DIAGRAM_LANGUAGES, diagramExtension, englishDiagramLabels } from './chunk-RQXJKJ5S.js';
|
|
3
|
+
import './chunk-HSLOPJVT.js';
|
|
4
|
+
import './chunk-XFEDJEJF.js';
|
|
5
|
+
import './chunk-HDJ653LM.js';
|
|
6
|
+
import './chunk-OS2O6IKX.js';
|
|
7
|
+
import './chunk-CSKKSXCE.js';
|
|
8
|
+
import './chunk-BJTOLCRR.js';
|
|
9
|
+
//# sourceMappingURL=diagram.js.map
|
|
10
|
+
//# sourceMappingURL=diagram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":";","file":"diagram.js"}
|
package/dist/embed.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkYEFPH27F_cjs = require('./chunk-YEFPH27F.cjs');
|
|
5
5
|
require('./chunk-H3C3MJW5.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-6T5YGCZ5.cjs');
|
|
7
7
|
require('./chunk-QJ34MOFV.cjs');
|
|
8
8
|
require('./chunk-A6PGQVTR.cjs');
|
|
9
9
|
require('./chunk-VZZPCYA3.cjs');
|
|
@@ -14,9 +14,9 @@ require('./chunk-WZA5S5EJ.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "embedExtension", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYEFPH27F_cjs.embedExtension; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "englishEmbedLabels", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYEFPH27F_cjs.englishEmbedLabels; }
|
|
22
22
|
});
|
package/dist/embed.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { embedExtension, englishEmbedLabels } from './chunk-
|
|
2
|
+
export { embedExtension, englishEmbedLabels } from './chunk-UZS3TW75.js';
|
|
3
3
|
import './chunk-GHNQKJMD.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-HSLOPJVT.js';
|
|
5
5
|
import './chunk-XFEDJEJF.js';
|
|
6
6
|
import './chunk-HDJ653LM.js';
|
|
7
7
|
import './chunk-OS2O6IKX.js';
|
package/dist/emoji.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkI722LBD3_cjs = require('./chunk-I722LBD3.cjs');
|
|
5
5
|
require('./chunk-2SWLD6R5.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-6T5YGCZ5.cjs');
|
|
7
7
|
require('./chunk-QJ34MOFV.cjs');
|
|
8
8
|
require('./chunk-A6PGQVTR.cjs');
|
|
9
9
|
require('./chunk-VZZPCYA3.cjs');
|
|
@@ -14,13 +14,13 @@ require('./chunk-WZA5S5EJ.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "emojiExtension", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkI722LBD3_cjs.emojiExtension; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "englishEmojiLabels", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkI722LBD3_cjs.englishEmojiLabels; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "loadEmojiData", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkI722LBD3_cjs.loadEmojiData; }
|
|
26
26
|
});
|
package/dist/emoji.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { emojiExtension, englishEmojiLabels, loadEmojiData } from './chunk-
|
|
2
|
+
export { emojiExtension, englishEmojiLabels, loadEmojiData } from './chunk-5JEQZIRI.js';
|
|
3
3
|
import './chunk-KTUOPDVO.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-HSLOPJVT.js';
|
|
5
5
|
import './chunk-XFEDJEJF.js';
|
|
6
6
|
import './chunk-HDJ653LM.js';
|
|
7
7
|
import './chunk-OS2O6IKX.js';
|
package/dist/find.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var chunkKDK2ATMB_cjs = require('./chunk-KDK2ATMB.cjs');
|
|
5
|
+
require('./chunk-6T5YGCZ5.cjs');
|
|
6
6
|
require('./chunk-QJ34MOFV.cjs');
|
|
7
7
|
require('./chunk-A6PGQVTR.cjs');
|
|
8
8
|
require('./chunk-VZZPCYA3.cjs');
|
|
@@ -13,17 +13,17 @@ require('./chunk-WZA5S5EJ.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "englishFindLabels", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkKDK2ATMB_cjs.englishFindLabels; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "findExtension", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkKDK2ATMB_cjs.findExtension; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "findMatches", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkKDK2ATMB_cjs.findMatches; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "replaceMatches", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkKDK2ATMB_cjs.replaceMatches; }
|
|
29
29
|
});
|