@pixerate/editor 0.268.2 → 0.269.1
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/dist/agent/index.cjs +27 -27
- package/dist/agent/index.js +1 -1
- package/dist/animation-editor/index.cjs +61 -61
- package/dist/animation-editor/index.js +5 -5
- package/dist/brushes/import/abr.d.cts +48 -0
- package/dist/brushes/import/abr.d.ts +48 -0
- package/dist/brushes/import/bplist.d.cts +24 -0
- package/dist/brushes/import/bplist.d.ts +24 -0
- package/dist/brushes/import/pack.d.cts +82 -0
- package/dist/brushes/import/pack.d.ts +82 -0
- package/dist/brushes/import/zip.d.cts +31 -0
- package/dist/brushes/import/zip.d.ts +31 -0
- package/dist/brushes/index.cjs +26 -6
- package/dist/brushes/index.d.cts +2 -0
- package/dist/brushes/index.d.ts +2 -0
- package/dist/brushes/index.js +22 -2
- package/dist/{chunk-SIFAIGB3.js → chunk-3AJCEJNH.js} +2 -162
- package/dist/{chunk-YXP6X3SY.cjs → chunk-3KNQ2W6X.cjs} +697 -10
- package/dist/{chunk-QNY7BDFP.js → chunk-4CPOKP27.js} +1 -1
- package/dist/{chunk-J4GXP53R.cjs → chunk-4NMPUJUK.cjs} +86 -86
- package/dist/{chunk-LDOD7VCT.js → chunk-4YSPQGZW.js} +1 -1
- package/dist/{chunk-JBB3GDBB.cjs → chunk-56RHCIJV.cjs} +2 -2
- package/dist/{chunk-4IMD2TLY.cjs → chunk-AI4F33IV.cjs} +3166 -2966
- package/dist/{chunk-YOVXQHA3.cjs → chunk-BENSE3VX.cjs} +23 -23
- package/dist/{chunk-VDGBHYC7.js → chunk-F7OO3DHP.js} +157 -1
- package/dist/{chunk-UVTO3D4E.js → chunk-FUDP5QBB.js} +1 -1
- package/dist/{chunk-3XDSNIGF.js → chunk-ININNHLM.js} +687 -0
- package/dist/{chunk-WIC7TG73.cjs → chunk-M4UQA2T4.cjs} +18 -18
- package/dist/{chunk-ITURMC2M.js → chunk-N3UMQVKX.js} +176 -176
- package/dist/{chunk-UWEQ55MY.cjs → chunk-N4KP3UQR.cjs} +157 -1
- package/dist/{chunk-D5BXSOSU.js → chunk-QGVTOCNB.js} +3118 -2918
- package/dist/{chunk-M6DNZNVY.js → chunk-RWDSSK2I.js} +4 -2
- package/dist/{chunk-CVFAAZXE.cjs → chunk-SPIO2GJU.cjs} +8 -6
- package/dist/{chunk-RHEMMGCN.cjs → chunk-T4JPGBW3.cjs} +173 -173
- package/dist/{chunk-HFY5LG5J.js → chunk-THBJHPUL.js} +1 -1
- package/dist/{chunk-NPWWSCWT.cjs → chunk-VBRHE4AM.cjs} +35 -35
- package/dist/{chunk-AZC2NDAR.js → chunk-WB22XMW3.js} +6 -6
- package/dist/{chunk-NIBFDFYW.cjs → chunk-YBMUHIOM.cjs} +12 -172
- package/dist/extensions/index.cjs +18 -4
- package/dist/extensions/index.d.cts +1 -0
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/index.js +17 -3
- package/dist/extensions/prompt-editor.d.cts +109 -0
- package/dist/extensions/prompt-editor.d.ts +109 -0
- package/dist/generation/index.cjs +15 -15
- package/dist/generation/index.js +3 -3
- package/dist/grammar/index.cjs +4 -4
- package/dist/grammar/index.js +7 -7
- package/dist/image-editor/index.cjs +785 -785
- package/dist/image-editor/index.js +6 -6
- package/dist/index.cjs +27 -13
- package/dist/index.js +23 -9
- package/dist/paint-editor/index.cjs +91 -91
- package/dist/paint-editor/index.js +6 -6
- package/dist/vector/index.cjs +1001 -1001
- package/dist/vector/index.js +6 -6
- package/package.json +1 -1
- package/skills/pixerate-image-selection-masking/SKILL.md +8 -8
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk56RHCIJVcjs = require('./chunk-56RHCIJV.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -37,7 +37,7 @@ var lerpP = (a, b, t) => [a[0] + (b[0] - a[0]) * t, a[1] + (b[1] - a[1]) * t];
|
|
|
37
37
|
var toP = (v) => [v.x, v.y];
|
|
38
38
|
var mapP = (m, p) => [m[0] * p[0] + m[2] * p[1] + m[4], m[1] * p[0] + m[3] * p[1] + m[5]];
|
|
39
39
|
var curvesOf = (c) => Math.max(0, (c.pts.length - 1) / 3) | 0;
|
|
40
|
-
function subpathToMorphContour(sp, m =
|
|
40
|
+
function subpathToMorphContour(sp, m = _chunk56RHCIJVcjs.IDENTITY_MATRIX) {
|
|
41
41
|
const n = sp.anchors.length;
|
|
42
42
|
if (!n) return null;
|
|
43
43
|
const first = mapP(m, toP(sp.anchors[0]));
|
|
@@ -67,8 +67,8 @@ function isStraight(p0, p1, p2, p3) {
|
|
|
67
67
|
const u2 = along(p2);
|
|
68
68
|
return off(p1) < tol && off(p2) < tol && u1 >= -1e-9 && u1 <= 1 + 1e-9 && u2 >= -1e-9 && u2 <= 1 + 1e-9;
|
|
69
69
|
}
|
|
70
|
-
function morphContourToSubpath(c, m =
|
|
71
|
-
const pts =
|
|
70
|
+
function morphContourToSubpath(c, m = _chunk56RHCIJVcjs.IDENTITY_MATRIX, closed = c.closed) {
|
|
71
|
+
const pts = _chunk56RHCIJVcjs.isIdentityMatrix.call(void 0, m) ? c.pts : c.pts.map((p) => mapP(m, p));
|
|
72
72
|
const curves = curvesOf(c);
|
|
73
73
|
const dropLast = closed && c.closed && curves > 0;
|
|
74
74
|
const count = dropLast ? curves : curves + 1;
|
|
@@ -84,7 +84,7 @@ function morphContourToSubpath(c, m = _chunkJBB3GDBBcjs.IDENTITY_MATRIX, closed
|
|
|
84
84
|
anchors[(k + 1) % count].in = { x: p2[0], y: p2[1] };
|
|
85
85
|
}
|
|
86
86
|
for (const a of anchors) {
|
|
87
|
-
const type =
|
|
87
|
+
const type = _chunk56RHCIJVcjs.inferAnchorType.call(void 0, a);
|
|
88
88
|
if (type !== "corner") a.type = type;
|
|
89
89
|
}
|
|
90
90
|
const isClosed = closed && curves > 0;
|
|
@@ -267,7 +267,7 @@ function bestStart(fixed, free, useShapeContext) {
|
|
|
267
267
|
return best;
|
|
268
268
|
}
|
|
269
269
|
function placeIn(c, from, to) {
|
|
270
|
-
const b =
|
|
270
|
+
const b = _chunk56RHCIJVcjs.unionBounds.call(void 0, [boundsOfPoints(c.pts)]);
|
|
271
271
|
const p = b ? [b.x + b.width / 2, b.y + b.height / 2] : c.pts[0];
|
|
272
272
|
if (!from || !to) return p;
|
|
273
273
|
const fx = from.width > 0 ? (p[0] - from.x) / from.width : 0.5;
|
|
@@ -456,7 +456,7 @@ function interpolateVectorColor(a, b, t) {
|
|
|
456
456
|
}
|
|
457
457
|
function resampleGradientStops(g, offsets) {
|
|
458
458
|
return offsets.map((offset) => {
|
|
459
|
-
const s =
|
|
459
|
+
const s = _chunk56RHCIJVcjs.sampleVectorGradient.call(void 0, g, offset);
|
|
460
460
|
return s.opacity < 1 ? { offset, color: s.color, opacity: Math.round(s.opacity * 1e4) / 1e4 } : { offset, color: s.color };
|
|
461
461
|
});
|
|
462
462
|
}
|
|
@@ -467,11 +467,11 @@ function lerpAngle(a, b, t) {
|
|
|
467
467
|
var lerpPoint = (a, b, t) => ({ x: lerpN(a.x, b.x, t), y: lerpN(a.y, b.y, t) });
|
|
468
468
|
var sameColourModel = (a, b) => (_nullishCoalesce(a.interpolation, () => ( "srgb"))) === (_nullishCoalesce(b.interpolation, () => ( "srgb"))) && (_nullishCoalesce(a.smoothness, () => ( 0))) === (_nullishCoalesce(b.smoothness, () => ( 0)));
|
|
469
469
|
function lerpStops(a, b, t) {
|
|
470
|
-
let stopsA =
|
|
471
|
-
let stopsB =
|
|
470
|
+
let stopsA = _chunk56RHCIJVcjs.sortedVectorGradientStops.call(void 0, a);
|
|
471
|
+
let stopsB = _chunk56RHCIJVcjs.sortedVectorGradientStops.call(void 0, b);
|
|
472
472
|
const resampled = stopsA.length !== stopsB.length || !sameColourModel(a, b);
|
|
473
473
|
if (resampled) {
|
|
474
|
-
const offs = [...
|
|
474
|
+
const offs = [..._chunk56RHCIJVcjs.expandVectorGradientStops.call(void 0, a), ..._chunk56RHCIJVcjs.expandVectorGradientStops.call(void 0, b), ...stopsA, ...stopsB].map((s) => s.offset).filter(Number.isFinite).sort((x, y) => x - y);
|
|
475
475
|
const common = offs.filter((o, i) => i === 0 || o - offs[i - 1] > 1e-4);
|
|
476
476
|
stopsA = resampleGradientStops(a, common);
|
|
477
477
|
stopsB = resampleGradientStops(b, common);
|
|
@@ -498,8 +498,8 @@ function lerpGradient(a, b, t) {
|
|
|
498
498
|
}
|
|
499
499
|
if (near.spread && near.spread !== "pad") out.spread = near.spread;
|
|
500
500
|
if (near.strokeMode && near.strokeMode !== "within") out.strokeMode = near.strokeMode;
|
|
501
|
-
const ea =
|
|
502
|
-
const eb =
|
|
501
|
+
const ea = _chunk56RHCIJVcjs.hasExplicitGradientGeometry.call(void 0, a);
|
|
502
|
+
const eb = _chunk56RHCIJVcjs.hasExplicitGradientGeometry.call(void 0, b);
|
|
503
503
|
if (!ea && !eb) {
|
|
504
504
|
if (a.angle !== void 0 || b.angle !== void 0 || a.type === "linear" || a.type === "reflected") {
|
|
505
505
|
const fallback = a.type === "linear" || a.type === "reflected" ? 180 : 90;
|
|
@@ -512,10 +512,10 @@ function lerpGradient(a, b, t) {
|
|
|
512
512
|
}
|
|
513
513
|
return out;
|
|
514
514
|
}
|
|
515
|
-
const pa =
|
|
516
|
-
const pb =
|
|
515
|
+
const pa = _chunk56RHCIJVcjs.vectorGradientPoints.call(void 0, a);
|
|
516
|
+
const pb = _chunk56RHCIJVcjs.vectorGradientPoints.call(void 0, b);
|
|
517
517
|
if (pa.units !== pb.units) {
|
|
518
|
-
const src =
|
|
518
|
+
const src = _chunk56RHCIJVcjs.explicitVectorGradient.call(void 0, near);
|
|
519
519
|
return { ...src, stops: out.stops, ...out.interpolation ? { interpolation: out.interpolation } : {}, ...out.smoothness ? { smoothness: out.smoothness } : {} };
|
|
520
520
|
}
|
|
521
521
|
out.start = lerpPoint(pa.start, pb.start, t);
|
|
@@ -535,14 +535,14 @@ function solidLike(color, like) {
|
|
|
535
535
|
function interpolateVectorPaint(a, b, t) {
|
|
536
536
|
if (t <= 0) return a;
|
|
537
537
|
if (t >= 1) return b;
|
|
538
|
-
const pa =
|
|
539
|
-
const pb =
|
|
538
|
+
const pa = _chunk56RHCIJVcjs.hasPaint.call(void 0, a);
|
|
539
|
+
const pb = _chunk56RHCIJVcjs.hasPaint.call(void 0, b);
|
|
540
540
|
if (!pa && !pb) return t < 0.5 ? a : b;
|
|
541
541
|
if (typeof a === "string" && pa && typeof b === "string" && pb) return interpolateVectorColor(a, b, t);
|
|
542
542
|
if (!pa && typeof b === "string") return interpolateVectorColor("transparent", b, t);
|
|
543
543
|
if (!pb && typeof a === "string") return interpolateVectorColor(a, "transparent", t);
|
|
544
|
-
const ga = pa &&
|
|
545
|
-
const gb = pb &&
|
|
544
|
+
const ga = pa && _chunk56RHCIJVcjs.isVectorGradient.call(void 0, a) ? a : null;
|
|
545
|
+
const gb = pb && _chunk56RHCIJVcjs.isVectorGradient.call(void 0, b) ? b : null;
|
|
546
546
|
if (ga && gb) return _nullishCoalesce(lerpGradient(ga, gb, t), () => ( (t < 0.5 ? a : b)));
|
|
547
547
|
if (gb) return _nullishCoalesce(lerpGradient(solidLike(pa ? a : null, gb), gb, t), () => ( b));
|
|
548
548
|
if (ga) return _nullishCoalesce(lerpGradient(ga, solidLike(pb ? b : null, ga), t), () => ( a));
|
|
@@ -553,8 +553,8 @@ function interpolateWidthProfiles(a, b, t) {
|
|
|
553
553
|
const at = [..._nullishCoalesce(a, () => ( [])), ..._nullishCoalesce(b, () => ( [])), { t: 0 }, { t: 1 }].map((p) => p.t).sort((x, y) => x - y);
|
|
554
554
|
const ts = at.filter((v, i) => i === 0 || v - at[i - 1] > 1e-6);
|
|
555
555
|
return ts.map((pos) => {
|
|
556
|
-
const x =
|
|
557
|
-
const y =
|
|
556
|
+
const x = _chunk56RHCIJVcjs.widthProfileAt.call(void 0, a, pos);
|
|
557
|
+
const y = _chunk56RHCIJVcjs.widthProfileAt.call(void 0, b, pos);
|
|
558
558
|
return { t: pos, left: lerpN(x.left, y.left, t), right: lerpN(x.right, y.right, t) };
|
|
559
559
|
});
|
|
560
560
|
}
|
|
@@ -597,7 +597,7 @@ function reversedStyle(s) {
|
|
|
597
597
|
out.endArrow = s.startArrow;
|
|
598
598
|
out.startArrowScale = s.endArrowScale;
|
|
599
599
|
out.endArrowScale = s.startArrowScale;
|
|
600
|
-
if (_optionalChain([s, 'access', _6 => _6.strokeWidthProfile, 'optionalAccess', _7 => _7.length])) out.strokeWidthProfile =
|
|
600
|
+
if (_optionalChain([s, 'access', _6 => _6.strokeWidthProfile, 'optionalAccess', _7 => _7.length])) out.strokeWidthProfile = _chunk56RHCIJVcjs.reverseWidthProfile.call(void 0, s.strokeWidthProfile);
|
|
601
601
|
for (const k of ["startArrow", "endArrow", "startArrowScale", "endArrowScale"]) if (out[k] === void 0) delete out[k];
|
|
602
602
|
return out;
|
|
603
603
|
}
|
|
@@ -623,19 +623,19 @@ function styleOf(n) {
|
|
|
623
623
|
return out;
|
|
624
624
|
}
|
|
625
625
|
function contoursOf(node, m) {
|
|
626
|
-
return
|
|
626
|
+
return _chunk56RHCIJVcjs.expandVectorCorners.call(void 0, node.subpaths).map((sp) => subpathToMorphContour(sp, m)).filter((c) => !!c);
|
|
627
627
|
}
|
|
628
|
-
function preparePathMorph(a, b, options, ma =
|
|
628
|
+
function preparePathMorph(a, b, options, ma = _chunk56RHCIJVcjs.nodeMatrix.call(void 0, a), mb = _chunk56RHCIJVcjs.nodeMatrix.call(void 0, b)) {
|
|
629
629
|
const corr = correspondMorphContours(contoursOf(a, ma), contoursOf(b, mb), options);
|
|
630
630
|
const sim = procrustes(corr.a, corr.b);
|
|
631
631
|
const styleA = styleOf(a);
|
|
632
632
|
const styleB = corr.reversed ? reversedStyle(styleOf(b)) : styleOf(b);
|
|
633
|
-
const rigid = !
|
|
633
|
+
const rigid = !_chunk56RHCIJVcjs.isIdentityMatrix.call(void 0, ma) || !_chunk56RHCIJVcjs.isIdentityMatrix.call(void 0, mb);
|
|
634
634
|
const id = _nullishCoalesce(options.id, () => ( a.id));
|
|
635
635
|
return (t) => {
|
|
636
636
|
const contours = interpolateMorphContours(corr.a, corr.b, t, { linear: options.linear, rigidity: options.rigidity, similarity: sim });
|
|
637
|
-
const m = rigid ? interpolateRigidMatrix(ma, mb, t) :
|
|
638
|
-
const back = rigid ?
|
|
637
|
+
const m = rigid ? interpolateRigidMatrix(ma, mb, t) : _chunk56RHCIJVcjs.IDENTITY_MATRIX;
|
|
638
|
+
const back = rigid ? _chunk56RHCIJVcjs.invertMatrix.call(void 0, m) : _chunk56RHCIJVcjs.IDENTITY_MATRIX;
|
|
639
639
|
const subpaths = contours.map((c, k) => {
|
|
640
640
|
const closed = t <= 0 ? corr.a[k].closed : t >= 1 ? corr.b[k].closed : corr.a[k].closed && corr.b[k].closed;
|
|
641
641
|
return morphContourToSubpath({ closed: corr.a[k].closed && corr.b[k].closed, pts: c.pts }, back, closed);
|
|
@@ -643,14 +643,14 @@ function preparePathMorph(a, b, options, ma = _chunkJBB3GDBBcjs.nodeMatrix.call(
|
|
|
643
643
|
const node = { id, type: "path", subpaths, ...interpolateVectorStyle(styleA, styleB, t) };
|
|
644
644
|
const opacity = lerpN(_nullishCoalesce(a.opacity, () => ( 1)), _nullishCoalesce(b.opacity, () => ( 1)), t);
|
|
645
645
|
if (opacity < 1) node.opacity = opacity;
|
|
646
|
-
if (rigid && !
|
|
646
|
+
if (rigid && !_chunk56RHCIJVcjs.isIdentityMatrix.call(void 0, m)) node.transform = m;
|
|
647
647
|
return node;
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
|
-
function flattenPaths(node, parent =
|
|
651
|
-
const m =
|
|
650
|
+
function flattenPaths(node, parent = _chunk56RHCIJVcjs.IDENTITY_MATRIX) {
|
|
651
|
+
const m = _chunk56RHCIJVcjs.multiplyMatrices.call(void 0, _chunk56RHCIJVcjs.nodeMatrix.call(void 0, node), parent);
|
|
652
652
|
if (node.type === "path") return [{ path: node, m, opacity: 1 }];
|
|
653
|
-
if (node.type === "text" || node.type === "instance") return flattenPaths(
|
|
653
|
+
if (node.type === "text" || node.type === "instance") return flattenPaths(_chunk56RHCIJVcjs.expandVectorAppearance.call(void 0, node), parent);
|
|
654
654
|
const o = _nullishCoalesce(node.opacity, () => ( 1));
|
|
655
655
|
return node.children.filter((c) => c.visible !== false).flatMap((c) => flattenPaths(c, m)).map((e) => ({ ...e, opacity: e.opacity * o }));
|
|
656
656
|
}
|
|
@@ -672,8 +672,8 @@ function createVectorMorph(a, b, options = {}) {
|
|
|
672
672
|
}
|
|
673
673
|
const pa = flattenPaths(a);
|
|
674
674
|
const pb = flattenPaths(b);
|
|
675
|
-
const ba =
|
|
676
|
-
const bb =
|
|
675
|
+
const ba = _chunk56RHCIJVcjs.unionBounds.call(void 0, pa.map((e) => placedBounds(e.path, e.m)));
|
|
676
|
+
const bb = _chunk56RHCIJVcjs.unionBounds.call(void 0, pb.map((e) => placedBounds(e.path, e.m)));
|
|
677
677
|
const id = _nullishCoalesce(options.id, () => ( a.id));
|
|
678
678
|
const parts = [];
|
|
679
679
|
const opacities = [];
|
|
@@ -685,10 +685,10 @@ function createVectorMorph(a, b, options = {}) {
|
|
|
685
685
|
parts.push(preparePathMorph(x.path, y.path, sub, x.m, y.m));
|
|
686
686
|
opacities.push([x.opacity, y.opacity]);
|
|
687
687
|
} else if (x) {
|
|
688
|
-
parts.push(preparePathMorph(x.path, collapsedPath(x.path, x.m, ba, bb), sub, x.m,
|
|
688
|
+
parts.push(preparePathMorph(x.path, collapsedPath(x.path, x.m, ba, bb), sub, x.m, _chunk56RHCIJVcjs.IDENTITY_MATRIX));
|
|
689
689
|
opacities.push([x.opacity, x.opacity]);
|
|
690
690
|
} else if (y) {
|
|
691
|
-
parts.push(preparePathMorph(collapsedPath(y.path, y.m, bb, ba), y.path, sub,
|
|
691
|
+
parts.push(preparePathMorph(collapsedPath(y.path, y.m, bb, ba), y.path, sub, _chunk56RHCIJVcjs.IDENTITY_MATRIX, y.m));
|
|
692
692
|
opacities.push([y.opacity, y.opacity]);
|
|
693
693
|
}
|
|
694
694
|
}
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
parseCsv
|
|
3
3
|
} from "./chunk-WJSD3MAZ.js";
|
|
4
4
|
import {
|
|
5
|
-
getPromptDiagnostics,
|
|
6
5
|
getTemplateBody,
|
|
7
|
-
resolvePrompt
|
|
8
|
-
|
|
9
|
-
} from "./chunk-SIFAIGB3.js";
|
|
6
|
+
resolvePrompt
|
|
7
|
+
} from "./chunk-3AJCEJNH.js";
|
|
10
8
|
import {
|
|
11
9
|
INSTRUCTION_REGEX,
|
|
12
10
|
TEMPLATE_REGEX,
|
|
13
11
|
VARIABLE_REGEX,
|
|
14
12
|
conditionSubject,
|
|
15
13
|
evaluateConditionExpression,
|
|
14
|
+
getPromptDiagnostics,
|
|
16
15
|
parseConditionExpression,
|
|
17
|
-
parseVariableBody
|
|
18
|
-
|
|
16
|
+
parseVariableBody,
|
|
17
|
+
tokenizePrompt
|
|
18
|
+
} from "./chunk-F7OO3DHP.js";
|
|
19
19
|
|
|
20
20
|
// src/grammar/resolver.ts
|
|
21
21
|
function resolveTemplates(text, templates = [], options) {
|
|
@@ -2,164 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _chunkUWEQ55MYcjs = require('./chunk-UWEQ55MY.cjs');
|
|
10
|
-
|
|
11
|
-
// src/grammar/tokenizer.ts
|
|
12
|
-
function tokenizePrompt(text) {
|
|
13
|
-
return tokenizePromptWithDiagnostics(text).tokens;
|
|
14
|
-
}
|
|
15
|
-
function getPromptDiagnostics(text) {
|
|
16
|
-
return tokenizePromptWithDiagnostics(text).diagnostics;
|
|
17
|
-
}
|
|
18
|
-
function tokenizePromptWithDiagnostics(text) {
|
|
19
|
-
if (!text) {
|
|
20
|
-
return { tokens: [], diagnostics: [] };
|
|
21
|
-
}
|
|
22
|
-
const rawMatches = [];
|
|
23
|
-
const tmplRegex = new RegExp(_chunkUWEQ55MYcjs.TEMPLATE_REGEX.source, _chunkUWEQ55MYcjs.TEMPLATE_REGEX.flags);
|
|
24
|
-
let match;
|
|
25
|
-
while ((match = tmplRegex.exec(text)) !== null) {
|
|
26
|
-
rawMatches.push({
|
|
27
|
-
type: "template",
|
|
28
|
-
raw: match[0],
|
|
29
|
-
value: match[1].trim(),
|
|
30
|
-
start: match.index,
|
|
31
|
-
end: match.index + match[0].length
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
const varRegex = new RegExp(_chunkUWEQ55MYcjs.VARIABLE_REGEX.source, _chunkUWEQ55MYcjs.VARIABLE_REGEX.flags);
|
|
35
|
-
while ((match = varRegex.exec(text)) !== null) {
|
|
36
|
-
const start = match.index;
|
|
37
|
-
const end = start + match[0].length;
|
|
38
|
-
const overlaps = rawMatches.some(
|
|
39
|
-
(m) => !(end <= m.start || start >= m.end)
|
|
40
|
-
);
|
|
41
|
-
if (!overlaps) {
|
|
42
|
-
const parsed = _chunkUWEQ55MYcjs.parseVariableBody.call(void 0, match[1]);
|
|
43
|
-
if (parsed.kind === "conditional") {
|
|
44
|
-
rawMatches.push({
|
|
45
|
-
type: "conditional",
|
|
46
|
-
raw: match[0],
|
|
47
|
-
value: parsed.name,
|
|
48
|
-
start,
|
|
49
|
-
end,
|
|
50
|
-
conditional: parsed.conditional
|
|
51
|
-
});
|
|
52
|
-
} else {
|
|
53
|
-
const token = {
|
|
54
|
-
type: "variable",
|
|
55
|
-
raw: match[0],
|
|
56
|
-
value: parsed.name,
|
|
57
|
-
start,
|
|
58
|
-
end
|
|
59
|
-
};
|
|
60
|
-
if (parsed.defaultValue !== void 0) {
|
|
61
|
-
token.defaultValue = parsed.defaultValue;
|
|
62
|
-
}
|
|
63
|
-
if (parsed.description !== void 0) {
|
|
64
|
-
token.description = parsed.description;
|
|
65
|
-
}
|
|
66
|
-
rawMatches.push(token);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
const instRegex = new RegExp(
|
|
71
|
-
_chunkUWEQ55MYcjs.INSTRUCTION_REGEX.source,
|
|
72
|
-
_chunkUWEQ55MYcjs.INSTRUCTION_REGEX.flags
|
|
73
|
-
);
|
|
74
|
-
while ((match = instRegex.exec(text)) !== null) {
|
|
75
|
-
const start = match.index;
|
|
76
|
-
const end = start + match[0].length;
|
|
77
|
-
const overlaps = rawMatches.some(
|
|
78
|
-
(m) => !(end <= m.start || start >= m.end)
|
|
79
|
-
);
|
|
80
|
-
if (!overlaps) {
|
|
81
|
-
rawMatches.push({
|
|
82
|
-
type: "instruction",
|
|
83
|
-
raw: match[0],
|
|
84
|
-
value: match[1].trim(),
|
|
85
|
-
start,
|
|
86
|
-
end
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
rawMatches.sort((a, b) => a.start - b.start);
|
|
91
|
-
const diagnostics = [];
|
|
92
|
-
const literal = /* @__PURE__ */ new Set();
|
|
93
|
-
const conditionals = rawMatches.filter(
|
|
94
|
-
(m) => m.type === "conditional"
|
|
95
|
-
);
|
|
96
|
-
_chunkUWEQ55MYcjs.matchConditionalTags.call(void 0,
|
|
97
|
-
conditionals.map((m) => ({ conditional: m.conditional, name: m.value }))
|
|
98
|
-
).forEach((result, i) => {
|
|
99
|
-
const tag = conditionals[i];
|
|
100
|
-
const parsed = result.comparison;
|
|
101
|
-
if (!result.error) {
|
|
102
|
-
if (_optionalChain([parsed, 'optionalAccess', _ => _.comparison]) && tag.conditional !== "end") {
|
|
103
|
-
tag.value = parsed.subject;
|
|
104
|
-
tag.comparison = parsed.comparison;
|
|
105
|
-
}
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
literal.add(tag);
|
|
109
|
-
if (result.error === "invalid-condition") {
|
|
110
|
-
if (tag.conditional === "end") return;
|
|
111
|
-
diagnostics.push({
|
|
112
|
-
code: result.error,
|
|
113
|
-
message: `Invalid condition "${tag.raw}": ${_nullishCoalesce(_optionalChain([parsed, 'optionalAccess', _2 => _2.error]), () => ( "malformed comparison"))}`,
|
|
114
|
-
name: _nullishCoalesce(_optionalChain([parsed, 'optionalAccess', _3 => _3.subject]), () => ( tag.value)),
|
|
115
|
-
start: tag.start,
|
|
116
|
-
end: tag.end
|
|
117
|
-
});
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
diagnostics.push({
|
|
121
|
-
code: result.error,
|
|
122
|
-
message: result.error === "unclosed-section" ? `Section "${tag.raw}" is never closed with "{/${tag.value}}"` : `"${tag.raw}" does not close any open section`,
|
|
123
|
-
name: tag.value,
|
|
124
|
-
start: tag.start,
|
|
125
|
-
end: tag.end
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
diagnostics.sort((a, b) => a.start - b.start);
|
|
129
|
-
const tokens = [];
|
|
130
|
-
let currentIdx = 0;
|
|
131
|
-
const pushText = (start, end) => {
|
|
132
|
-
const previous = tokens[tokens.length - 1];
|
|
133
|
-
if (_optionalChain([previous, 'optionalAccess', _4 => _4.type]) === "text" && previous.end === start) {
|
|
134
|
-
previous.raw = previous.value = text.slice(previous.start, end);
|
|
135
|
-
previous.end = end;
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
const textChunk = text.slice(start, end);
|
|
139
|
-
tokens.push({
|
|
140
|
-
type: "text",
|
|
141
|
-
raw: textChunk,
|
|
142
|
-
value: textChunk,
|
|
143
|
-
start,
|
|
144
|
-
end
|
|
145
|
-
});
|
|
146
|
-
};
|
|
147
|
-
for (const m of rawMatches) {
|
|
148
|
-
if (m.start > currentIdx) {
|
|
149
|
-
pushText(currentIdx, m.start);
|
|
150
|
-
}
|
|
151
|
-
if (literal.has(m)) {
|
|
152
|
-
pushText(m.start, m.end);
|
|
153
|
-
} else {
|
|
154
|
-
tokens.push({ ...m });
|
|
155
|
-
}
|
|
156
|
-
currentIdx = m.end;
|
|
157
|
-
}
|
|
158
|
-
if (currentIdx < text.length) {
|
|
159
|
-
pushText(currentIdx, text.length);
|
|
160
|
-
}
|
|
161
|
-
return { tokens, diagnostics };
|
|
162
|
-
}
|
|
5
|
+
var _chunkN4KP3UQRcjs = require('./chunk-N4KP3UQR.cjs');
|
|
163
6
|
|
|
164
7
|
// src/grammar/engine.ts
|
|
165
8
|
function getLatestVersion(template) {
|
|
@@ -184,14 +27,14 @@ function getLatestVersion(template) {
|
|
|
184
27
|
var TEMPLATE_LOOP_ERROR = "[Template loop detected]";
|
|
185
28
|
var TEMPLATE_DEPTH_ERROR = "[Template max depth exceeded]";
|
|
186
29
|
function getTemplateBody(template, bindings) {
|
|
187
|
-
const boundVersionId = _optionalChain([bindings, 'optionalAccess',
|
|
30
|
+
const boundVersionId = _optionalChain([bindings, 'optionalAccess', _ => _[template.name]]);
|
|
188
31
|
if (boundVersionId && template.versions) {
|
|
189
32
|
const boundVersion = template.versions.find(
|
|
190
33
|
(v) => v.id === boundVersionId || v.version === boundVersionId
|
|
191
34
|
);
|
|
192
|
-
return _optionalChain([boundVersion, 'optionalAccess',
|
|
35
|
+
return _optionalChain([boundVersion, 'optionalAccess', _2 => _2.body]);
|
|
193
36
|
}
|
|
194
|
-
return _nullishCoalesce(_optionalChain([getLatestVersion, 'call',
|
|
37
|
+
return _nullishCoalesce(_optionalChain([getLatestVersion, 'call', _3 => _3(template), 'optionalAccess', _4 => _4.body]), () => ( template.body));
|
|
195
38
|
}
|
|
196
39
|
var Output = (_class = class {
|
|
197
40
|
constructor(segments) {;_class.prototype.__init.call(this);
|
|
@@ -223,7 +66,7 @@ var Output = (_class = class {
|
|
|
223
66
|
replaced(rawStart, rawEnd, value, extra) {
|
|
224
67
|
const resolvedStart = this.text.length;
|
|
225
68
|
this.text += value;
|
|
226
|
-
_optionalChain([this, 'access',
|
|
69
|
+
_optionalChain([this, 'access', _5 => _5.segments, 'optionalAccess', _6 => _6.push, 'call', _7 => _7({
|
|
227
70
|
resolvedStart,
|
|
228
71
|
resolvedEnd: this.text.length,
|
|
229
72
|
rawStart,
|
|
@@ -256,7 +99,7 @@ function resolvePrompt(text, templates = [], options = {}) {
|
|
|
256
99
|
const diagnostics = [];
|
|
257
100
|
const reported = /* @__PURE__ */ new Set();
|
|
258
101
|
function resolveInto(source, out2, visited, depth, templateName) {
|
|
259
|
-
const { tokens, diagnostics: found } = tokenizePromptWithDiagnostics(source);
|
|
102
|
+
const { tokens, diagnostics: found } = _chunkN4KP3UQRcjs.tokenizePromptWithDiagnostics.call(void 0, source);
|
|
260
103
|
for (const diagnostic of found) {
|
|
261
104
|
const key = `${_nullishCoalesce(templateName, () => ( ""))}\0${diagnostic.start}\0${diagnostic.code}`;
|
|
262
105
|
if (reported.has(key)) continue;
|
|
@@ -301,7 +144,7 @@ function resolvePrompt(text, templates = [], options = {}) {
|
|
|
301
144
|
continue;
|
|
302
145
|
}
|
|
303
146
|
if (values && token.type === "variable") {
|
|
304
|
-
const supplied =
|
|
147
|
+
const supplied = _chunkN4KP3UQRcjs.getSuppliedValue.call(void 0, values, token.value);
|
|
305
148
|
const value = _nullishCoalesce(supplied, () => ( token.defaultValue));
|
|
306
149
|
if (value !== void 0) {
|
|
307
150
|
out2.replaced(token.start, token.end, value, {
|
|
@@ -319,7 +162,7 @@ function resolvePrompt(text, templates = [], options = {}) {
|
|
|
319
162
|
};
|
|
320
163
|
if (token.conditional !== "end") {
|
|
321
164
|
const close = pairs.get(i);
|
|
322
|
-
if (!
|
|
165
|
+
if (!_chunkN4KP3UQRcjs.evaluateCondition.call(void 0,
|
|
323
166
|
token.conditional,
|
|
324
167
|
token.value,
|
|
325
168
|
values,
|
|
@@ -353,14 +196,14 @@ function resolvePrompt(text, templates = [], options = {}) {
|
|
|
353
196
|
return { text: out.text, map, diagnostics };
|
|
354
197
|
}
|
|
355
198
|
function evaluatePromptTokens(text, values) {
|
|
356
|
-
const tokens = tokenizePromptWithDiagnostics(text).tokens;
|
|
199
|
+
const tokens = _chunkN4KP3UQRcjs.tokenizePromptWithDiagnostics.call(void 0, text).tokens;
|
|
357
200
|
if (!values) return tokens;
|
|
358
201
|
const pairs = pairSections(tokens);
|
|
359
202
|
const result = [];
|
|
360
203
|
for (let i = 0; i < tokens.length; i++) {
|
|
361
204
|
const token = tokens[i];
|
|
362
205
|
if (token.type === "conditional") {
|
|
363
|
-
if (token.conditional !== "end" && !
|
|
206
|
+
if (token.conditional !== "end" && !_chunkN4KP3UQRcjs.evaluateCondition.call(void 0,
|
|
364
207
|
token.conditional,
|
|
365
208
|
token.value,
|
|
366
209
|
values,
|
|
@@ -371,7 +214,7 @@ function evaluatePromptTokens(text, values) {
|
|
|
371
214
|
continue;
|
|
372
215
|
}
|
|
373
216
|
if (token.type === "variable") {
|
|
374
|
-
const supplied =
|
|
217
|
+
const supplied = _chunkN4KP3UQRcjs.getSuppliedValue.call(void 0, values, token.value);
|
|
375
218
|
const value = _nullishCoalesce(supplied, () => ( token.defaultValue));
|
|
376
219
|
if (value !== void 0) {
|
|
377
220
|
result.push({
|
|
@@ -394,7 +237,4 @@ function evaluatePromptTokens(text, values) {
|
|
|
394
237
|
|
|
395
238
|
|
|
396
239
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
exports.tokenizePrompt = tokenizePrompt; exports.getPromptDiagnostics = getPromptDiagnostics; exports.tokenizePromptWithDiagnostics = tokenizePromptWithDiagnostics; exports.getLatestVersion = getLatestVersion; exports.TEMPLATE_LOOP_ERROR = TEMPLATE_LOOP_ERROR; exports.TEMPLATE_DEPTH_ERROR = TEMPLATE_DEPTH_ERROR; exports.getTemplateBody = getTemplateBody; exports.resolvePrompt = resolvePrompt; exports.evaluatePromptTokens = evaluatePromptTokens;
|
|
240
|
+
exports.getLatestVersion = getLatestVersion; exports.TEMPLATE_LOOP_ERROR = TEMPLATE_LOOP_ERROR; exports.TEMPLATE_DEPTH_ERROR = TEMPLATE_DEPTH_ERROR; exports.getTemplateBody = getTemplateBody; exports.resolvePrompt = resolvePrompt; exports.evaluatePromptTokens = evaluatePromptTokens;
|
|
@@ -88,7 +88,14 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
var _chunkAI4F33IVcjs = require('../chunk-AI4F33IV.cjs');
|
|
92
99
|
|
|
93
100
|
|
|
94
101
|
|
|
@@ -172,7 +179,7 @@ require('../chunk-HMGWFXEC.cjs');
|
|
|
172
179
|
|
|
173
180
|
|
|
174
181
|
|
|
175
|
-
var
|
|
182
|
+
var _chunkT4JPGBW3cjs = require('../chunk-T4JPGBW3.cjs');
|
|
176
183
|
require('../chunk-YYBW6DF2.cjs');
|
|
177
184
|
require('../chunk-TTCJPX4U.cjs');
|
|
178
185
|
require('../chunk-MDLEGVEN.cjs');
|
|
@@ -214,7 +221,7 @@ var _chunk34RQAGWIcjs = require('../chunk-34RQAGWI.cjs');
|
|
|
214
221
|
require('../chunk-55AKPTLM.cjs');
|
|
215
222
|
require('../chunk-N3KJFGXT.cjs');
|
|
216
223
|
require('../chunk-ALNIFK5G.cjs');
|
|
217
|
-
require('../chunk-
|
|
224
|
+
require('../chunk-N4KP3UQR.cjs');
|
|
218
225
|
require('../chunk-2BSBFBOA.cjs');
|
|
219
226
|
require('../chunk-WKPXOGZZ.cjs');
|
|
220
227
|
require('../chunk-I3Y2Q3PM.cjs');
|
|
@@ -419,4 +426,11 @@ require('../chunk-IPJ3TEYR.cjs');
|
|
|
419
426
|
|
|
420
427
|
|
|
421
428
|
|
|
422
|
-
exports.ALLOW_NESTED_TABLES_META = _chunkRHEMMGCNcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkRHEMMGCNcjs.AgentCaret; exports.Autocorrect = _chunk4IMD2TLYcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunk4IMD2TLYcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunk4IMD2TLYcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkRHEMMGCNcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunk4IMD2TLYcjs.CharacterStyle; exports.Chart = _chunkRHEMMGCNcjs.Chart; exports.ChartNodeView = _chunkRHEMMGCNcjs.ChartNodeView; exports.ColorHighlighter = _chunk4IMD2TLYcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkRHEMMGCNcjs.Comments; exports.CrossReference = _chunk4IMD2TLYcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkRHEMMGCNcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkRHEMMGCNcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunk4IMD2TLYcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkRHEMMGCNcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkRHEMMGCNcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunk4IMD2TLYcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunk4IMD2TLYcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkRHEMMGCNcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunk4IMD2TLYcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkRHEMMGCNcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunk4IMD2TLYcjs.FileImport; exports.FindReplace = _chunk4IMD2TLYcjs.FindReplace; exports.FindReplaceStore = _chunk4IMD2TLYcjs.FindReplaceStore; exports.FontSize = _chunk4IMD2TLYcjs.FontSize; exports.Footnote = _chunk4IMD2TLYcjs.Footnote; exports.FootnoteReference = _chunk4IMD2TLYcjs.FootnoteReference; exports.Footnotes = _chunk4IMD2TLYcjs.Footnotes; exports.GradientText = _chunk4IMD2TLYcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunk4IMD2TLYcjs.Image; exports.LoadingNode = _chunk4IMD2TLYcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkRHEMMGCNcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkRHEMMGCNcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkRHEMMGCNcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkRHEMMGCNcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunk4IMD2TLYcjs.Markdown; exports.Mention = _chunk4IMD2TLYcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunk4IMD2TLYcjs.Outline; exports.ParagraphStyles = _chunk4IMD2TLYcjs.ParagraphStyles; exports.RichClipboard = _chunk4IMD2TLYcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunk4IMD2TLYcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkRHEMMGCNcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunk4IMD2TLYcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunk4IMD2TLYcjs.SlashCommands; exports.SmilieReplacer = _chunk4IMD2TLYcjs.SmilieReplacer; exports.Sparkline = _chunkRHEMMGCNcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkRHEMMGCNcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkRHEMMGCNcjs.Table; exports.TableCell = _chunkRHEMMGCNcjs.TableCell; exports.TableHeader = _chunkRHEMMGCNcjs.TableHeader; exports.TableOfContents = _chunk4IMD2TLYcjs.TableOfContents; exports.TableRow = _chunkRHEMMGCNcjs.TableRow; exports.TemplateSuggestions = _chunk4IMD2TLYcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkRHEMMGCNcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunk4IMD2TLYcjs.applyDocumentComparison; exports.applyReplacements = _chunkRHEMMGCNcjs.applyReplacements; exports.autocorrectPluginKey = _chunk4IMD2TLYcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunk4IMD2TLYcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunk4IMD2TLYcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunk4IMD2TLYcjs.captureSelectionFormat; exports.chartPluginKey = _chunkRHEMMGCNcjs.chartPluginKey; exports.clearAgentCaret = _chunkRHEMMGCNcjs.clearAgentCaret; exports.commentsPluginKey = _chunkRHEMMGCNcjs.commentsPluginKey; exports.compareInEditor = _chunk4IMD2TLYcjs.compareInEditor; exports.compileFindPattern = _chunkRHEMMGCNcjs.compileFindPattern; exports.computeOutline = _chunk4IMD2TLYcjs.computeOutline; exports.createAgentCaretPlugin = _chunkRHEMMGCNcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkRHEMMGCNcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunk4IMD2TLYcjs.createFindReplaceCommands; exports.createMentionExtension = _chunk4IMD2TLYcjs.createMentionExtension; exports.createOutlineStore = _chunk4IMD2TLYcjs.createOutlineStore; exports.createParagraphStylesStore = _chunk4IMD2TLYcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunk4IMD2TLYcjs.createRichTextPreset; exports.createSearchBudget = _chunkRHEMMGCNcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunk4IMD2TLYcjs.createTableCommands; exports.createTableExtensions = _chunkRHEMMGCNcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkRHEMMGCNcjs.createTableNestingPlugin; exports.createTableStore = _chunkRHEMMGCNcjs.createTableStore; exports.crossReferencePluginKey = _chunk4IMD2TLYcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunk4IMD2TLYcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunk4IMD2TLYcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkRHEMMGCNcjs.ensureAgentCaret; exports.expandReplacement = _chunkRHEMMGCNcjs.expandReplacement; exports.fileImportPluginKey = _chunk4IMD2TLYcjs.fileImportPluginKey; exports.findAllMatches = _chunkRHEMMGCNcjs.findAllMatches; exports.findAutocorrection = _chunk4IMD2TLYcjs.findAutocorrection; exports.findCommentRanges = _chunkRHEMMGCNcjs.findCommentRanges; exports.findHexColors = _chunk4IMD2TLYcjs.findHexColors; exports.findReplacePluginKey = _chunk4IMD2TLYcjs.findReplacePluginKey; exports.foldCodePoint = _chunkRHEMMGCNcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunk4IMD2TLYcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunk4IMD2TLYcjs.footnotesPluginKey; exports.formatFindStatus = _chunk4IMD2TLYcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunk4IMD2TLYcjs.fractionRules; exports.getActiveHeading = _chunk4IMD2TLYcjs.getActiveHeading; exports.getAgentCarets = _chunkRHEMMGCNcjs.getAgentCarets; exports.getBookmarks = _chunk4IMD2TLYcjs.getBookmarks; exports.getCommentAnchors = _chunkRHEMMGCNcjs.getCommentAnchors; exports.getCommentAuthor = _chunkRHEMMGCNcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkRHEMMGCNcjs.getCommentIdsAt; exports.getCommentStore = _chunkRHEMMGCNcjs.getCommentStore; exports.getCrossReferenceTargets = _chunk4IMD2TLYcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkRHEMMGCNcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunk4IMD2TLYcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunk4IMD2TLYcjs.getFindReplaceState; exports.getFindReplaceStore = _chunk4IMD2TLYcjs.getFindReplaceStore; exports.getFootnotes = _chunk4IMD2TLYcjs.getFootnotes; exports.getMentionNodes = _chunk4IMD2TLYcjs.getMentionNodes; exports.getOutline = _chunk4IMD2TLYcjs.getOutline; exports.getParagraphStyleAt = _chunk4IMD2TLYcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunk4IMD2TLYcjs.getStyleRegistry; exports.getTableActionState = _chunkRHEMMGCNcjs.getTableActionState; exports.getTableOfContentsEntries = _chunk4IMD2TLYcjs.getTableOfContentsEntries; exports.getTableState = _chunkRHEMMGCNcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunk4IMD2TLYcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkRHEMMGCNcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunk4IMD2TLYcjs.imagePastePluginKey; exports.insertImageNode = _chunk4IMD2TLYcjs.insertImageNode; exports.insertSliceAfterTable = _chunkRHEMMGCNcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkRHEMMGCNcjs.isChartEnabled; exports.isGfmTable = _chunkRHEMMGCNcjs.isGfmTable; exports.isInTableCell = _chunkRHEMMGCNcjs.isInTableCell; exports.isInsidePromptToken = _chunk4IMD2TLYcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunk4IMD2TLYcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkRHEMMGCNcjs.isSelectionInTable; exports.isTableEnabled = _chunkRHEMMGCNcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.loadingSpinnerSpec = _chunk4IMD2TLYcjs.loadingSpinnerSpec; exports.markAgentChanges = _chunkRHEMMGCNcjs.markAgentChanges; exports.navigateToHeading = _chunk4IMD2TLYcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkRHEMMGCNcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkRHEMMGCNcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkRHEMMGCNcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkRHEMMGCNcjs.outermostTableDepth; exports.outlinePluginKey = _chunk4IMD2TLYcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunk4IMD2TLYcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkRHEMMGCNcjs.parseReplacement; exports.removeImageNode = _chunk4IMD2TLYcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkRHEMMGCNcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunk4IMD2TLYcjs.richClipboardPluginKey; exports.runTableAction = _chunkRHEMMGCNcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkRHEMMGCNcjs.searchDocument; exports.setAgentCaret = _chunkRHEMMGCNcjs.setAgentCaret; exports.setMentionRoleAt = _chunk4IMD2TLYcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkRHEMMGCNcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkRHEMMGCNcjs.sliceContainsTable; exports.smartQuoteRules = _chunk4IMD2TLYcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunk4IMD2TLYcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkRHEMMGCNcjs.sparklineLabel; exports.staticChartSvg = _chunkRHEMMGCNcjs.staticChartSvg; exports.symbolRules = _chunk4IMD2TLYcjs.symbolRules; exports.syncFootnotes = _chunk4IMD2TLYcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkRHEMMGCNcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunk4IMD2TLYcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunk4IMD2TLYcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunk4IMD2TLYcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkRHEMMGCNcjs.typeAgentText; exports.unnestTables = _chunkRHEMMGCNcjs.unnestTables; exports.updateImageSrc = _chunk4IMD2TLYcjs.updateImageSrc; exports.validateFindPattern = _chunk4IMD2TLYcjs.validateFindPattern; exports.writeRichClipboard = _chunk4IMD2TLYcjs.writeRichClipboard;
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
exports.ALLOW_NESTED_TABLES_META = _chunkT4JPGBW3cjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkT4JPGBW3cjs.AgentCaret; exports.Autocorrect = _chunkAI4F33IVcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkAI4F33IVcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkAI4F33IVcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkT4JPGBW3cjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkAI4F33IVcjs.CharacterStyle; exports.Chart = _chunkT4JPGBW3cjs.Chart; exports.ChartNodeView = _chunkT4JPGBW3cjs.ChartNodeView; exports.ColorHighlighter = _chunkAI4F33IVcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkT4JPGBW3cjs.Comments; exports.CrossReference = _chunkAI4F33IVcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkT4JPGBW3cjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkT4JPGBW3cjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkAI4F33IVcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkT4JPGBW3cjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkT4JPGBW3cjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkAI4F33IVcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkAI4F33IVcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkT4JPGBW3cjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkAI4F33IVcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkT4JPGBW3cjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkAI4F33IVcjs.FileImport; exports.FindReplace = _chunkAI4F33IVcjs.FindReplace; exports.FindReplaceStore = _chunkAI4F33IVcjs.FindReplaceStore; exports.FontSize = _chunkAI4F33IVcjs.FontSize; exports.Footnote = _chunkAI4F33IVcjs.Footnote; exports.FootnoteReference = _chunkAI4F33IVcjs.FootnoteReference; exports.Footnotes = _chunkAI4F33IVcjs.Footnotes; exports.GradientText = _chunkAI4F33IVcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkAI4F33IVcjs.Image; exports.LoadingNode = _chunkAI4F33IVcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkT4JPGBW3cjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkT4JPGBW3cjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkT4JPGBW3cjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkT4JPGBW3cjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkAI4F33IVcjs.Markdown; exports.Mention = _chunkAI4F33IVcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkAI4F33IVcjs.Outline; exports.PROMPT_EDITOR_DEFAULT_CLASS_NAME = _chunkAI4F33IVcjs.PROMPT_EDITOR_DEFAULT_CLASS_NAME; exports.PROMPT_EDITOR_DEFAULT_PLACEHOLDER = _chunkAI4F33IVcjs.PROMPT_EDITOR_DEFAULT_PLACEHOLDER; exports.ParagraphStyles = _chunkAI4F33IVcjs.ParagraphStyles; exports.RichClipboard = _chunkAI4F33IVcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkAI4F33IVcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkT4JPGBW3cjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkAI4F33IVcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkAI4F33IVcjs.SlashCommands; exports.SmilieReplacer = _chunkAI4F33IVcjs.SmilieReplacer; exports.Sparkline = _chunkT4JPGBW3cjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkT4JPGBW3cjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkT4JPGBW3cjs.Table; exports.TableCell = _chunkT4JPGBW3cjs.TableCell; exports.TableHeader = _chunkT4JPGBW3cjs.TableHeader; exports.TableOfContents = _chunkAI4F33IVcjs.TableOfContents; exports.TableRow = _chunkT4JPGBW3cjs.TableRow; exports.TemplateSuggestions = _chunkAI4F33IVcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkT4JPGBW3cjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkAI4F33IVcjs.applyDocumentComparison; exports.applyReplacements = _chunkT4JPGBW3cjs.applyReplacements; exports.autocorrectPluginKey = _chunkAI4F33IVcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkAI4F33IVcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkAI4F33IVcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkAI4F33IVcjs.captureSelectionFormat; exports.chartPluginKey = _chunkT4JPGBW3cjs.chartPluginKey; exports.clearAgentCaret = _chunkT4JPGBW3cjs.clearAgentCaret; exports.commentsPluginKey = _chunkT4JPGBW3cjs.commentsPluginKey; exports.compareInEditor = _chunkAI4F33IVcjs.compareInEditor; exports.compileFindPattern = _chunkT4JPGBW3cjs.compileFindPattern; exports.computeOutline = _chunkAI4F33IVcjs.computeOutline; exports.createAgentCaretPlugin = _chunkT4JPGBW3cjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkT4JPGBW3cjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkAI4F33IVcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkAI4F33IVcjs.createMentionExtension; exports.createOutlineStore = _chunkAI4F33IVcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkAI4F33IVcjs.createParagraphStylesStore; exports.createPromptEditorOptions = _chunkAI4F33IVcjs.createPromptEditorOptions; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkAI4F33IVcjs.createRichTextPreset; exports.createSearchBudget = _chunkT4JPGBW3cjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkAI4F33IVcjs.createTableCommands; exports.createTableExtensions = _chunkT4JPGBW3cjs.createTableExtensions; exports.createTableNestingPlugin = _chunkT4JPGBW3cjs.createTableNestingPlugin; exports.createTableStore = _chunkT4JPGBW3cjs.createTableStore; exports.crossReferencePluginKey = _chunkAI4F33IVcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkAI4F33IVcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkAI4F33IVcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkT4JPGBW3cjs.ensureAgentCaret; exports.expandReplacement = _chunkT4JPGBW3cjs.expandReplacement; exports.fileImportPluginKey = _chunkAI4F33IVcjs.fileImportPluginKey; exports.findAllMatches = _chunkT4JPGBW3cjs.findAllMatches; exports.findAutocorrection = _chunkAI4F33IVcjs.findAutocorrection; exports.findCommentRanges = _chunkT4JPGBW3cjs.findCommentRanges; exports.findHexColors = _chunkAI4F33IVcjs.findHexColors; exports.findReplacePluginKey = _chunkAI4F33IVcjs.findReplacePluginKey; exports.foldCodePoint = _chunkT4JPGBW3cjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkAI4F33IVcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkAI4F33IVcjs.footnotesPluginKey; exports.formatFindStatus = _chunkAI4F33IVcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkAI4F33IVcjs.fractionRules; exports.getActiveHeading = _chunkAI4F33IVcjs.getActiveHeading; exports.getAgentCarets = _chunkT4JPGBW3cjs.getAgentCarets; exports.getBookmarks = _chunkAI4F33IVcjs.getBookmarks; exports.getCommentAnchors = _chunkT4JPGBW3cjs.getCommentAnchors; exports.getCommentAuthor = _chunkT4JPGBW3cjs.getCommentAuthor; exports.getCommentIdsAt = _chunkT4JPGBW3cjs.getCommentIdsAt; exports.getCommentStore = _chunkT4JPGBW3cjs.getCommentStore; exports.getCrossReferenceTargets = _chunkAI4F33IVcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkT4JPGBW3cjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkAI4F33IVcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkAI4F33IVcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkAI4F33IVcjs.getFindReplaceStore; exports.getFootnotes = _chunkAI4F33IVcjs.getFootnotes; exports.getMentionNodes = _chunkAI4F33IVcjs.getMentionNodes; exports.getOutline = _chunkAI4F33IVcjs.getOutline; exports.getParagraphStyleAt = _chunkAI4F33IVcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkAI4F33IVcjs.getStyleRegistry; exports.getTableActionState = _chunkT4JPGBW3cjs.getTableActionState; exports.getTableOfContentsEntries = _chunkAI4F33IVcjs.getTableOfContentsEntries; exports.getTableState = _chunkT4JPGBW3cjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkAI4F33IVcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkT4JPGBW3cjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkAI4F33IVcjs.imagePastePluginKey; exports.insertImageNode = _chunkAI4F33IVcjs.insertImageNode; exports.insertSliceAfterTable = _chunkT4JPGBW3cjs.insertSliceAfterTable; exports.isChartEnabled = _chunkT4JPGBW3cjs.isChartEnabled; exports.isGfmTable = _chunkT4JPGBW3cjs.isGfmTable; exports.isInTableCell = _chunkT4JPGBW3cjs.isInTableCell; exports.isInsidePromptToken = _chunkAI4F33IVcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkAI4F33IVcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkT4JPGBW3cjs.isSelectionInTable; exports.isTableEnabled = _chunkT4JPGBW3cjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.loadingSpinnerSpec = _chunkAI4F33IVcjs.loadingSpinnerSpec; exports.markAgentChanges = _chunkT4JPGBW3cjs.markAgentChanges; exports.navigateToHeading = _chunkAI4F33IVcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkT4JPGBW3cjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkT4JPGBW3cjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkT4JPGBW3cjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkT4JPGBW3cjs.outermostTableDepth; exports.outlinePluginKey = _chunkAI4F33IVcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkAI4F33IVcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkT4JPGBW3cjs.parseReplacement; exports.promptEditorConfigKey = _chunkAI4F33IVcjs.promptEditorConfigKey; exports.promptMilestones = _chunkAI4F33IVcjs.promptMilestones; exports.removeImageNode = _chunkAI4F33IVcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkT4JPGBW3cjs.replaceWithTextTransaction; exports.resolvePromptTemplateColorMap = _chunkAI4F33IVcjs.resolvePromptTemplateColorMap; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkAI4F33IVcjs.richClipboardPluginKey; exports.runTableAction = _chunkT4JPGBW3cjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkT4JPGBW3cjs.searchDocument; exports.setAgentCaret = _chunkT4JPGBW3cjs.setAgentCaret; exports.setMentionRoleAt = _chunkAI4F33IVcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkT4JPGBW3cjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkT4JPGBW3cjs.sliceContainsTable; exports.smartQuoteRules = _chunkAI4F33IVcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkAI4F33IVcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkT4JPGBW3cjs.sparklineLabel; exports.staticChartSvg = _chunkT4JPGBW3cjs.staticChartSvg; exports.symbolRules = _chunkAI4F33IVcjs.symbolRules; exports.syncFootnotes = _chunkAI4F33IVcjs.syncFootnotes; exports.syncPromptEditor = _chunkAI4F33IVcjs.syncPromptEditor; exports.tableNestingPluginKey = _chunkT4JPGBW3cjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkAI4F33IVcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkAI4F33IVcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkAI4F33IVcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkT4JPGBW3cjs.typeAgentText; exports.unnestTables = _chunkT4JPGBW3cjs.unnestTables; exports.updateImageSrc = _chunkAI4F33IVcjs.updateImageSrc; exports.validateFindPattern = _chunkAI4F33IVcjs.validateFindPattern; exports.writeRichClipboard = _chunkAI4F33IVcjs.writeRichClipboard;
|
|
@@ -2,6 +2,7 @@ export * from "./gradient-text.cjs";
|
|
|
2
2
|
export * from "./slash-commands.cjs";
|
|
3
3
|
export * from "./template-suggestions.cjs";
|
|
4
4
|
export * from "./loading-node.cjs";
|
|
5
|
+
export * from "./prompt-editor.cjs";
|
|
5
6
|
export * from "./SmilieReplacer.cjs";
|
|
6
7
|
export * from "./ColorHighlighter.cjs";
|
|
7
8
|
export * from "./FontSize.cjs";
|
|
@@ -2,6 +2,7 @@ export * from "./gradient-text.js";
|
|
|
2
2
|
export * from "./slash-commands.js";
|
|
3
3
|
export * from "./template-suggestions.js";
|
|
4
4
|
export * from "./loading-node.js";
|
|
5
|
+
export * from "./prompt-editor.js";
|
|
5
6
|
export * from "./SmilieReplacer.js";
|
|
6
7
|
export * from "./ColorHighlighter.js";
|
|
7
8
|
export * from "./FontSize.js";
|