@pixerate/editor 0.164.0 → 0.166.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/dist/agent/index.cjs +54 -39
- package/dist/agent/index.js +24 -9
- package/dist/animation/index.cjs +6 -5
- package/dist/animation/index.js +5 -4
- package/dist/animation-editor/index.cjs +65 -64
- package/dist/animation-editor/index.js +8 -7
- package/dist/bridge/cli.cjs +3 -3
- package/dist/bridge/cli.js +2 -2
- package/dist/bridge/index.cjs +3 -3
- package/dist/bridge/index.js +2 -2
- package/dist/canvas/index.cjs +89 -87
- package/dist/canvas/index.js +11 -9
- package/dist/chart/controller.d.cts +60 -2
- package/dist/chart/controller.d.ts +60 -2
- package/dist/chart/index.cjs +657 -163
- package/dist/chart/index.d.cts +3 -0
- package/dist/chart/index.d.ts +3 -0
- package/dist/chart/index.js +512 -18
- package/dist/chart/layout-families.d.cts +14 -0
- package/dist/chart/layout-families.d.ts +14 -0
- package/dist/chart/layout-shared.d.cts +5 -0
- package/dist/chart/layout-shared.d.ts +5 -0
- package/dist/chart/links.d.cts +34 -0
- package/dist/chart/links.d.ts +34 -0
- package/dist/chart/mermaid.d.cts +9 -6
- package/dist/chart/mermaid.d.ts +9 -6
- package/dist/chart/race.d.cts +26 -0
- package/dist/chart/race.d.ts +26 -0
- package/dist/chart/schemas.d.cts +5 -0
- package/dist/chart/schemas.d.ts +5 -0
- package/dist/chart/spec.d.cts +3 -2
- package/dist/chart/spec.d.ts +3 -2
- package/dist/chart/style.d.cts +33 -0
- package/dist/chart/style.d.ts +33 -0
- package/dist/chart/types.d.cts +28 -2
- package/dist/chart/types.d.ts +28 -2
- package/dist/{chunk-ZVNAMTFO.cjs → chunk-3FSUJIXN.cjs} +18 -174
- package/dist/{chunk-RQCMSEM5.cjs → chunk-4QUUHTGJ.cjs} +2 -2
- package/dist/{chunk-CIPIESX4.cjs → chunk-4ZC5QJE2.cjs} +3 -3
- package/dist/{chunk-S6X2QRVU.cjs → chunk-5UEFBM2M.cjs} +1 -138
- package/dist/{chunk-5FNGLV2D.js → chunk-5UNQDC3Q.js} +18 -3
- package/dist/{chunk-YSAGBIRW.cjs → chunk-6FYIFGBW.cjs} +16 -16
- package/dist/{chunk-QYZGBVNC.js → chunk-7272D3K2.js} +10 -8
- package/dist/{chunk-462WGGXX.cjs → chunk-AMX23CSN.cjs} +27 -16
- package/dist/{chunk-3VLOOO3G.js → chunk-BDIM6NVW.js} +1 -1
- package/dist/{chunk-R3P2M7HU.cjs → chunk-BPX4Z3N3.cjs} +355 -207
- package/dist/{chunk-D54JHQK2.cjs → chunk-CHLV7UFP.cjs} +51 -51
- package/dist/{chunk-OXERWBKE.js → chunk-DFCAR7AW.js} +3 -3
- package/dist/{chunk-GZ2FM3ZB.js → chunk-DKNEQX7T.js} +6 -162
- package/dist/{chunk-JCXMJUQO.cjs → chunk-EGZM52EO.cjs} +3 -3
- package/dist/{chunk-ES3UEVUT.cjs → chunk-EUIDTZNQ.cjs} +112 -110
- package/dist/{chunk-H3OEM3Q2.js → chunk-F6R67I3A.js} +1 -1
- package/dist/{chunk-3NEZJCBY.js → chunk-FR432ROA.js} +349 -201
- package/dist/chunk-HIDFL5LQ.js +484 -0
- package/dist/{chunk-22KLZZGH.cjs → chunk-HXOBOHH2.cjs} +8 -8
- package/dist/{chunk-MKTDELCD.js → chunk-I5MRJW7B.js} +1 -1
- package/dist/{chunk-SDHZG5TF.js → chunk-ILP77UD6.js} +160 -2
- package/dist/{chunk-Z4P2RBMJ.js → chunk-ITANXMZD.js} +177 -3
- package/dist/chunk-KGRZMHZB.js +204 -0
- package/dist/{chunk-SET6KJOP.js → chunk-LPIKXPBM.js} +1 -1
- package/dist/{chunk-BQWGN5WH.js → chunk-M2TPMYJE.js} +1 -1
- package/dist/{chunk-GTELFJRE.cjs → chunk-M5GLQQWG.cjs} +2 -2
- package/dist/{chunk-4VU4CP7R.js → chunk-MHLU6GRJ.js} +1 -138
- package/dist/{chunk-NZD2MZJC.cjs → chunk-MZFZSVUJ.cjs} +38 -23
- package/dist/{chunk-DAPQGA55.js → chunk-NQQDGGXY.js} +2 -2
- package/dist/chunk-O6OGNDND.js +164 -0
- package/dist/{chunk-PA3IMPPS.cjs → chunk-OVYQAYGH.cjs} +81 -81
- package/dist/{chunk-YXOW456B.js → chunk-PPEDZ5WR.js} +1 -1
- package/dist/{chunk-24M7VD6M.cjs → chunk-S4EIAIEW.cjs} +7 -7
- package/dist/{chunk-M4MIZPQI.cjs → chunk-SJ2CPTQC.cjs} +189 -15
- package/dist/{chunk-YGG7WDWT.cjs → chunk-SZWVMB3B.cjs} +24 -18
- package/dist/chunk-TFF2GTGN.cjs +153 -0
- package/dist/chunk-TTCJPX4U.cjs +204 -0
- package/dist/{chunk-SBQVEBSU.cjs → chunk-UUUTEVX6.cjs} +242 -68
- package/dist/{chunk-WI7QJA7A.cjs → chunk-UXETV2NC.cjs} +161 -3
- package/dist/{chunk-GKNEJ6EN.cjs → chunk-V5L2G22R.cjs} +321 -107
- package/dist/{chunk-TALQONZ5.js → chunk-VB2CY6EG.js} +3 -3
- package/dist/{chunk-QY4KUDMY.js → chunk-VRXXAXUT.js} +2 -2
- package/dist/chunk-VU6WQSMB.cjs +164 -0
- package/dist/{chunk-NHLYK3AX.js → chunk-XBQX76CT.js} +182 -8
- package/dist/{chunk-5AARIS3R.cjs → chunk-XCDGM7TD.cjs} +37 -37
- package/dist/{chunk-POR54B55.js → chunk-XNU45TYA.js} +7 -1
- package/dist/{chunk-EVXQNQND.js → chunk-XZB3TJ6K.js} +16 -5
- package/dist/chunk-YBAPT7NL.js +153 -0
- package/dist/{chunk-SZA42R4N.js → chunk-YUFTVNLX.js} +230 -16
- package/dist/chunk-Z2UQYMPS.cjs +484 -0
- package/dist/color/index.cjs +5 -3
- package/dist/color/index.js +12 -10
- package/dist/diagram/index.cjs +55 -243
- package/dist/diagram/index.js +12 -200
- package/dist/export/index.cjs +7 -6
- package/dist/export/index.js +6 -5
- package/dist/extensions/index.cjs +12 -9
- package/dist/extensions/index.js +11 -8
- package/dist/gradient/index.cjs +29 -27
- package/dist/gradient/index.js +6 -4
- package/dist/image-editor/index.cjs +644 -643
- package/dist/image-editor/index.js +7 -6
- package/dist/index.cjs +21 -18
- package/dist/index.js +14 -11
- package/dist/paint-editor/index.cjs +19 -18
- package/dist/paint-editor/index.js +7 -6
- package/dist/parameters/index.cjs +2 -2
- package/dist/parameters/index.js +1 -1
- package/dist/persistence/assetWrites.d.cts +22 -0
- package/dist/persistence/assetWrites.d.ts +22 -0
- package/dist/persistence/assets.d.cts +71 -0
- package/dist/persistence/assets.d.ts +71 -0
- package/dist/persistence/documentStore.d.cts +17 -1
- package/dist/persistence/documentStore.d.ts +17 -1
- package/dist/persistence/documentTools.d.cts +5 -1
- package/dist/persistence/documentTools.d.ts +5 -1
- package/dist/persistence/editorAutosave.d.cts +7 -0
- package/dist/persistence/editorAutosave.d.ts +7 -0
- package/dist/persistence/index.cjs +141 -21
- package/dist/persistence/index.js +130 -10
- package/dist/persistence/storage.d.cts +13 -1
- package/dist/persistence/storage.d.ts +13 -1
- package/dist/spreadsheet/index.cjs +3 -3
- package/dist/spreadsheet/index.js +2 -2
- package/dist/tokens/index.cjs +11 -3
- package/dist/tokens/index.d.cts +1 -0
- package/dist/tokens/index.d.ts +1 -0
- package/dist/tokens/index.js +10 -2
- package/dist/tokens/style.d.cts +36 -0
- package/dist/tokens/style.d.ts +36 -0
- package/dist/tools/index.cjs +15 -3
- package/dist/tools/index.d.cts +2 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.js +14 -2
- package/dist/tools/style-tools.d.cts +19 -0
- package/dist/tools/style-tools.d.ts +19 -0
- package/dist/tools/style.d.cts +212 -0
- package/dist/tools/style.d.ts +212 -0
- package/dist/tools/view.d.cts +6 -0
- package/dist/tools/view.d.ts +6 -0
- package/dist/typography/index.cjs +8 -6
- package/dist/typography/index.js +5 -3
- package/dist/vector/index.cjs +953 -952
- package/dist/vector/index.js +7 -6
- package/dist/video-editor/index.cjs +8 -7
- package/dist/video-editor/index.js +6 -5
- package/package.json +1 -1
- package/skills/pixerate-chart/SKILL.md +20 -2
- package/dist/chunk-ERAGQL2N.cjs +0 -68
- package/dist/chunk-KMU6QJB7.js +0 -68
package/dist/agent/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkMZFZSVUJcjs = require('../chunk-MZFZSVUJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkGLQQ2VILcjs = require('../chunk-GLQQ2VIL.cjs');
|
|
@@ -19,13 +19,13 @@ require('../chunk-4EFNS2HV.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var _chunkERAGQL2Ncjs = require('../chunk-ERAGQL2N.cjs');
|
|
23
22
|
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
|
|
28
|
+
var _chunkZ2UQYMPScjs = require('../chunk-Z2UQYMPS.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -45,7 +45,13 @@ var _chunkERAGQL2Ncjs = require('../chunk-ERAGQL2N.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunkAMX23CSNcjs = require('../chunk-AMX23CSN.cjs');
|
|
49
55
|
|
|
50
56
|
|
|
51
57
|
|
|
@@ -115,15 +121,17 @@ var _chunkN2FGYZ4Qcjs = require('../chunk-N2FGYZ4Q.cjs');
|
|
|
115
121
|
|
|
116
122
|
|
|
117
123
|
|
|
118
|
-
var
|
|
124
|
+
var _chunk6FYIFGBWcjs = require('../chunk-6FYIFGBW.cjs');
|
|
119
125
|
|
|
120
126
|
|
|
121
|
-
var
|
|
122
|
-
require('../chunk-
|
|
127
|
+
var _chunkV5L2G22Rcjs = require('../chunk-V5L2G22R.cjs');
|
|
128
|
+
require('../chunk-TTCJPX4U.cjs');
|
|
129
|
+
require('../chunk-UUUTEVX6.cjs');
|
|
123
130
|
|
|
124
131
|
|
|
125
132
|
|
|
126
|
-
var
|
|
133
|
+
var _chunkBPX4Z3N3cjs = require('../chunk-BPX4Z3N3.cjs');
|
|
134
|
+
require('../chunk-VU6WQSMB.cjs');
|
|
127
135
|
|
|
128
136
|
|
|
129
137
|
|
|
@@ -161,8 +169,9 @@ var _chunkWOFXZ3XUcjs = require('../chunk-WOFXZ3XU.cjs');
|
|
|
161
169
|
|
|
162
170
|
var _chunk2BSBFBOAcjs = require('../chunk-2BSBFBOA.cjs');
|
|
163
171
|
require('../chunk-FJ2MSI43.cjs');
|
|
164
|
-
require('../chunk-
|
|
165
|
-
require('../chunk-
|
|
172
|
+
require('../chunk-EUIDTZNQ.cjs');
|
|
173
|
+
require('../chunk-TFF2GTGN.cjs');
|
|
174
|
+
require('../chunk-5UEFBM2M.cjs');
|
|
166
175
|
require('../chunk-IPJ3TEYR.cjs');
|
|
167
176
|
|
|
168
177
|
// src/agent/planner.ts
|
|
@@ -624,14 +633,14 @@ var SIZE_WIDTH = {
|
|
|
624
633
|
};
|
|
625
634
|
var SIZE_HEIGHT = { type: "number", minimum: 50, maximum: 4096, description: "Height in pixels (default 320)." };
|
|
626
635
|
var SPEC_PROPERTIES = {
|
|
627
|
-
...
|
|
636
|
+
..._chunkMZFZSVUJcjs.CHART_UPDATE_PROPERTIES,
|
|
628
637
|
categories: { type: "array", items: { type: "string" }, description: "Category labels in order (x axis labels, or pie slices)." },
|
|
629
638
|
series: {
|
|
630
639
|
type: "array",
|
|
631
640
|
description: "The series, each with one value per category (padded with gaps).",
|
|
632
641
|
items: {
|
|
633
642
|
type: "object",
|
|
634
|
-
properties: { id: { type: "string", description: "Stable id (default: from the name)." }, ...
|
|
643
|
+
properties: { id: { type: "string", description: "Stable id (default: from the name)." }, ..._chunkMZFZSVUJcjs.SERIES_PROPS },
|
|
635
644
|
required: ["name", "values"],
|
|
636
645
|
additionalProperties: false
|
|
637
646
|
}
|
|
@@ -642,7 +651,7 @@ function cleanSeries(series) {
|
|
|
642
651
|
return series.map((s) => s && typeof s === "object" ? Object.fromEntries(Object.entries(s).filter(([, v]) => v !== null)) : s);
|
|
643
652
|
}
|
|
644
653
|
function checkedSpec(input) {
|
|
645
|
-
const { spec, issues } =
|
|
654
|
+
const { spec, issues } = _chunkBPX4Z3N3cjs.normalizeChartSpec.call(void 0, { ...input, ...input.series !== void 0 ? { series: cleanSeries(input.series) } : {} });
|
|
646
655
|
if (issues.length) throw new Error(`The chart was not changed: ${issues.map((i) => i.message).join(" ")}`);
|
|
647
656
|
return spec;
|
|
648
657
|
}
|
|
@@ -657,14 +666,14 @@ function describe(chart, includeSpec) {
|
|
|
657
666
|
series: spec.series.map((s) => ({ id: s.id, name: s.name })),
|
|
658
667
|
width: _nullishCoalesce(node.attrs.width, () => ( null)),
|
|
659
668
|
height: node.attrs.height,
|
|
660
|
-
description:
|
|
669
|
+
description: _chunkV5L2G22Rcjs.describeChart.call(void 0, spec),
|
|
661
670
|
...includeSpec ? { spec } : {}
|
|
662
671
|
};
|
|
663
672
|
}
|
|
664
673
|
function sparklines(doc) {
|
|
665
674
|
const found = [];
|
|
666
675
|
doc.descendants((node, pos) => {
|
|
667
|
-
if (node.type.name === "sparkline") found.push({ pos, kind: node.attrs.kind, values: node.attrs.values, label:
|
|
676
|
+
if (node.type.name === "sparkline") found.push({ pos, kind: node.attrs.kind, values: node.attrs.values, label: _chunk6FYIFGBWcjs.sparklineLabel.call(void 0, node) });
|
|
668
677
|
});
|
|
669
678
|
return found;
|
|
670
679
|
}
|
|
@@ -675,7 +684,7 @@ function checkPosition(editor, at) {
|
|
|
675
684
|
function createDocumentChartTools(editor) {
|
|
676
685
|
const chartType = () => editor().schema.nodes.chart;
|
|
677
686
|
const findChart = (args) => {
|
|
678
|
-
const charts =
|
|
687
|
+
const charts = _chunk6FYIFGBWcjs.getDocumentCharts.call(void 0, editor().state.doc);
|
|
679
688
|
const list = charts.map((c) => `"${c.id}" at ${c.pos}`).join(", ") || "none; add one with insert_chart";
|
|
680
689
|
if (args.chartId !== void 0) {
|
|
681
690
|
const chart = charts.find((c) => c.id === args.chartId);
|
|
@@ -702,7 +711,7 @@ function createDocumentChartTools(editor) {
|
|
|
702
711
|
annotations: { title: "List charts in the document", ...READ },
|
|
703
712
|
handler: ({ includeSpec = false }) => {
|
|
704
713
|
const doc = editor().state.doc;
|
|
705
|
-
return { charts:
|
|
714
|
+
return { charts: _chunk6FYIFGBWcjs.getDocumentCharts.call(void 0, doc).map((c) => describe(c, includeSpec)), sparklines: editor().schema.nodes.sparkline ? sparklines(doc) : [] };
|
|
706
715
|
}
|
|
707
716
|
};
|
|
708
717
|
const insertChart = {
|
|
@@ -729,7 +738,7 @@ function createDocumentChartTools(editor) {
|
|
|
729
738
|
const node = { type: "chart", attrs: { id, spec, width, ...height !== void 0 ? { height } : {} } };
|
|
730
739
|
const chain = ed.chain().command(({ tr }) => (_history.closeHistory.call(void 0, tr), true));
|
|
731
740
|
const ok = (at !== void 0 ? chain.insertContentAt(at, node) : chain.insertContent(node)).run();
|
|
732
|
-
const chart =
|
|
741
|
+
const chart = _chunk6FYIFGBWcjs.getDocumentCharts.call(void 0, ed.state.doc).find((c) => c.id === id);
|
|
733
742
|
if (!ok || !chart) throw new Error(`A chart cannot go at ${_nullishCoalesce(at, () => ( ed.state.selection.from))}; pass a position between blocks or inside a paragraph.`);
|
|
734
743
|
return { id: chart.id, pos: chart.pos, spec: chart.spec, width: chart.node.attrs.width, height: chart.node.attrs.height };
|
|
735
744
|
}
|
|
@@ -776,8 +785,8 @@ function createDocumentChartTools(editor) {
|
|
|
776
785
|
inputSchema: {
|
|
777
786
|
type: "object",
|
|
778
787
|
properties: {
|
|
779
|
-
values: { type: "array", items:
|
|
780
|
-
kind: { type: "string", enum: [...
|
|
788
|
+
values: { type: "array", items: _chunkMZFZSVUJcjs.VALUE, minItems: 1, maxItems: _chunk6FYIFGBWcjs.MAX_SPARKLINE_VALUES, description: "Values in order (null for a gap)." },
|
|
789
|
+
kind: { type: "string", enum: [..._chunk6FYIFGBWcjs.SPARKLINE_KINDS], description: "line (default), column, or win-loss (sign only)." },
|
|
781
790
|
at: { type: "integer", minimum: 0, description: "Document position inside a paragraph (default: the selection)." },
|
|
782
791
|
width: { type: "number", minimum: 4, maximum: 1e3, description: "Width in pixels (default 80)." },
|
|
783
792
|
height: { type: "number", minimum: 4, maximum: 200, description: "Height in pixels (default 18)." },
|
|
@@ -791,12 +800,12 @@ function createDocumentChartTools(editor) {
|
|
|
791
800
|
handler: ({ values, kind = "line", at, width = 80, height = 18, color = null, label = null }) => {
|
|
792
801
|
const ed = editor();
|
|
793
802
|
checkPosition(ed, at);
|
|
794
|
-
const parsed = values.map((v) =>
|
|
803
|
+
const parsed = values.map((v) => _chunkBPX4Z3N3cjs.parseChartValue.call(void 0, v));
|
|
795
804
|
const bad = parsed.findIndex((v) => v === void 0);
|
|
796
805
|
if (bad >= 0) throw new Error(`values[${bad}] ("${String(values[bad])}") is not a number; pass numbers, numeric text or null. Nothing was inserted.`);
|
|
797
806
|
const pos = _nullishCoalesce(at, () => ( ed.state.selection.from));
|
|
798
807
|
if (!ed.state.doc.resolve(pos).parent.inlineContent) throw new Error(`Position ${pos} is between blocks; a sparkline goes inside a paragraph (use a position from get_text {blocks: true}).`);
|
|
799
|
-
const stored =
|
|
808
|
+
const stored = _chunk6FYIFGBWcjs.normalizeSparklineValues.call(void 0, parsed);
|
|
800
809
|
ed.chain().command(({ tr }) => (_history.closeHistory.call(void 0, tr), true)).insertContentAt(pos, { type: "sparkline", attrs: { values: stored, kind, width, height, color, label } }).run();
|
|
801
810
|
return { pos, kind, values: stored };
|
|
802
811
|
}
|
|
@@ -1134,8 +1143,8 @@ function createTextPresence(editor, providerId, option) {
|
|
|
1134
1143
|
const config = option === false ? null : option === true || option === void 0 ? {} : option;
|
|
1135
1144
|
const caret = {
|
|
1136
1145
|
id: _nullishCoalesce(_optionalChain([config, 'optionalAccess', _43 => _43.id]), () => ( providerId)),
|
|
1137
|
-
name: _nullishCoalesce(_optionalChain([config, 'optionalAccess', _44 => _44.name]), () => (
|
|
1138
|
-
color: _nullishCoalesce(_optionalChain([config, 'optionalAccess', _45 => _45.color]), () => (
|
|
1146
|
+
name: _nullishCoalesce(_optionalChain([config, 'optionalAccess', _44 => _44.name]), () => ( _chunk6FYIFGBWcjs.DEFAULT_AGENT_CARET_NAME)),
|
|
1147
|
+
color: _nullishCoalesce(_optionalChain([config, 'optionalAccess', _45 => _45.color]), () => ( _chunk6FYIFGBWcjs.DEFAULT_AGENT_CARET_COLOR))
|
|
1139
1148
|
};
|
|
1140
1149
|
const typing = !_optionalChain([config, 'optionalAccess', _46 => _46.typing]) ? null : config.typing === true ? {} : config.typing;
|
|
1141
1150
|
const idleMs = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _47 => _47.idleMs]), () => ( 12e3));
|
|
@@ -1148,19 +1157,19 @@ function createTextPresence(editor, providerId, option) {
|
|
|
1148
1157
|
};
|
|
1149
1158
|
const touch = () => {
|
|
1150
1159
|
clearTimeout(idleTimer);
|
|
1151
|
-
if (idleMs > 0) idleTimer = setTimeout(() => live() &&
|
|
1160
|
+
if (idleMs > 0) idleTimer = setTimeout(() => live() && _chunk6FYIFGBWcjs.clearAgentCaret.call(void 0, live(), caret.id), idleMs);
|
|
1152
1161
|
};
|
|
1153
1162
|
const tint = (ed, ranges) => {
|
|
1154
1163
|
clearTimeout(tintTimer);
|
|
1155
|
-
|
|
1156
|
-
if (changedMs > 0 && ranges.length) tintTimer = setTimeout(() => live() &&
|
|
1164
|
+
_chunk6FYIFGBWcjs.markAgentChanges.call(void 0, ed, caret.id, ranges);
|
|
1165
|
+
if (changedMs > 0 && ranges.length) tintTimer = setTimeout(() => live() && _chunk6FYIFGBWcjs.markAgentChanges.call(void 0, live(), caret.id, []), changedMs);
|
|
1157
1166
|
};
|
|
1158
1167
|
return {
|
|
1159
1168
|
/** Puts the caret at `head`, selecting from `anchor`. */
|
|
1160
1169
|
show(anchor, head = anchor) {
|
|
1161
1170
|
const ed = live();
|
|
1162
1171
|
if (!ed) return;
|
|
1163
|
-
|
|
1172
|
+
_chunk6FYIFGBWcjs.setAgentCaret.call(void 0, ed, { ...caret, from: anchor, to: head });
|
|
1164
1173
|
touch();
|
|
1165
1174
|
},
|
|
1166
1175
|
/** Shows the caret after ranges just changed by a tool, tinting them. */
|
|
@@ -1168,7 +1177,7 @@ function createTextPresence(editor, providerId, option) {
|
|
|
1168
1177
|
const ed = live();
|
|
1169
1178
|
if (!ed || !ranges.length) return;
|
|
1170
1179
|
const last = ranges[ranges.length - 1];
|
|
1171
|
-
|
|
1180
|
+
_chunk6FYIFGBWcjs.setAgentCaret.call(void 0, ed, { ...caret, from: last.to });
|
|
1172
1181
|
tint(ed, ranges);
|
|
1173
1182
|
touch();
|
|
1174
1183
|
},
|
|
@@ -1176,12 +1185,12 @@ function createTextPresence(editor, providerId, option) {
|
|
|
1176
1185
|
async write(ed, from, to, text, signal) {
|
|
1177
1186
|
if (live() && typing) {
|
|
1178
1187
|
clearTimeout(tintTimer);
|
|
1179
|
-
const range2 = await
|
|
1180
|
-
if (changedMs > 0) tintTimer = setTimeout(() => live() &&
|
|
1188
|
+
const range2 = await _chunk6FYIFGBWcjs.typeAgentText.call(void 0, ed, { ...typing, from, to, text, caret, signal });
|
|
1189
|
+
if (changedMs > 0) tintTimer = setTimeout(() => live() && _chunk6FYIFGBWcjs.markAgentChanges.call(void 0, live(), caret.id, []), changedMs);
|
|
1181
1190
|
touch();
|
|
1182
1191
|
return range2;
|
|
1183
1192
|
}
|
|
1184
|
-
const tr = _history.closeHistory.call(void 0,
|
|
1193
|
+
const tr = _history.closeHistory.call(void 0, _chunk6FYIFGBWcjs.replaceWithTextTransaction.call(void 0, ed.state, from, to, text));
|
|
1185
1194
|
const end = tr.mapping.map(to, 1);
|
|
1186
1195
|
const range = { from: Math.min(tr.mapping.map(from, -1), end), to: end };
|
|
1187
1196
|
ed.view.dispatch(tr.scrollIntoView());
|
|
@@ -1210,7 +1219,7 @@ function findMatches(editor, query, args, replacement) {
|
|
|
1210
1219
|
wholeWord: !!args.wholeWord,
|
|
1211
1220
|
...args.regex ? { regex: true } : { literal: true }
|
|
1212
1221
|
};
|
|
1213
|
-
const result =
|
|
1222
|
+
const result = _chunk6FYIFGBWcjs.searchDocument.call(void 0, editor.state.doc, query, options, replacement !== void 0 ? { replacement } : {});
|
|
1214
1223
|
if (result.error) throw new Error(`Invalid search pattern: ${result.error.message}`);
|
|
1215
1224
|
return { matches: result.matches, truncated: result.truncated };
|
|
1216
1225
|
}
|
|
@@ -1372,7 +1381,7 @@ function createRichTextToolProvider(target, options) {
|
|
|
1372
1381
|
replacement: String(replace).replace(/\r\n?|\n/g, "\r")
|
|
1373
1382
|
}));
|
|
1374
1383
|
const tr = _history.closeHistory.call(void 0, ed.state.tr);
|
|
1375
|
-
const ends =
|
|
1384
|
+
const ends = _chunk6FYIFGBWcjs.applyReplacements.call(void 0, tr, chosen);
|
|
1376
1385
|
ed.view.dispatch(tr.scrollIntoView());
|
|
1377
1386
|
const ranges = chosen.map((m, i) => ({ from: tr.mapping.map(m.from, -1), to: ends[i] }));
|
|
1378
1387
|
presence.changed(ranges.filter((r) => r.from < r.to));
|
|
@@ -1473,7 +1482,7 @@ function createRichTextToolProvider(target, options) {
|
|
|
1473
1482
|
inputSchema: {
|
|
1474
1483
|
type: "object",
|
|
1475
1484
|
properties: {
|
|
1476
|
-
operation: { type: "string", enum:
|
|
1485
|
+
operation: { type: "string", enum: _chunk6FYIFGBWcjs.TABLE_ACTIONS.map((a) => a.action), description: "Table operation." },
|
|
1477
1486
|
at: { type: "integer", minimum: 0, description: "Document position to place the cursor first (e.g. inside a cell)." },
|
|
1478
1487
|
rows: { type: "integer", minimum: 1, maximum: 100, description: "insertTable: rows (default 3)." },
|
|
1479
1488
|
cols: { type: "integer", minimum: 1, maximum: 50, description: "insertTable: columns (default 3)." },
|
|
@@ -1503,10 +1512,10 @@ function createRichTextToolProvider(target, options) {
|
|
|
1503
1512
|
ed.view.dispatch(ed.state.tr.setSelection(_state.TextSelection.near(ed.state.doc.resolve(at))));
|
|
1504
1513
|
}
|
|
1505
1514
|
const action = operation;
|
|
1506
|
-
const state =
|
|
1515
|
+
const state = _chunk6FYIFGBWcjs.getTableActionState.call(void 0, ed, action, params);
|
|
1507
1516
|
if (state !== true) throw new Error(state);
|
|
1508
|
-
|
|
1509
|
-
const table =
|
|
1517
|
+
_chunk6FYIFGBWcjs.runTableAction.call(void 0, ed, action, params);
|
|
1518
|
+
const table = _chunk6FYIFGBWcjs.getTableState.call(void 0, ed);
|
|
1510
1519
|
return {
|
|
1511
1520
|
operation,
|
|
1512
1521
|
table: table.inTable ? { rows: table.rows, columns: table.columns, row: table.row, column: table.column } : null,
|
|
@@ -1525,7 +1534,7 @@ function createRichTextToolProvider(target, options) {
|
|
|
1525
1534
|
if (!ed || ed.isDestroyed) return [];
|
|
1526
1535
|
if (!ed.isEditable) return [getText, findText, ...charts.read()];
|
|
1527
1536
|
const tools = [getText, findText, insertText, replaceText, replaceRange, replaceSelection, setSelection, ...formatting.tools(ed)];
|
|
1528
|
-
return [...tools, ...
|
|
1537
|
+
return [...tools, ..._chunk6FYIFGBWcjs.isTableEnabled.call(void 0, ed) ? [editTable] : [], ...charts.read(), ...charts.write().map(withCaret)];
|
|
1529
1538
|
},
|
|
1530
1539
|
subscribe: (notify) => {
|
|
1531
1540
|
const ed = editor();
|
|
@@ -2256,4 +2265,10 @@ function createCanvasComponentToolProvider(controller, options = { id: "canvas-c
|
|
|
2256
2265
|
|
|
2257
2266
|
|
|
2258
2267
|
|
|
2259
|
-
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
exports.AgentPlayback = _chunkGMWNBSBScjs.AgentPlayback; exports.CAPTURE_EXCLUDE_SELECTOR = _chunkSVFEVKLFcjs.CAPTURE_EXCLUDE_SELECTOR; exports.CAPTURE_OVERLAY_SELECTORS = _chunkSVFEVKLFcjs.CAPTURE_OVERLAY_SELECTORS; exports.EDITOR_CANVAS_TOOLS = _chunkSVFEVKLFcjs.EDITOR_CANVAS_TOOLS; exports.EDITOR_MCP_TOOLS = _chunkSVFEVKLFcjs.EDITOR_MCP_TOOLS; exports.EDITOR_PROMPT_TOOLS = _chunkSVFEVKLFcjs.EDITOR_PROMPT_TOOLS; exports.EDIT_OPERATION_REQUIRED_ARGUMENTS = _chunkSVFEVKLFcjs.EDIT_OPERATION_REQUIRED_ARGUMENTS; exports.EXPORT_EXCLUDED_SELECTORS = _chunkSVFEVKLFcjs.EXPORT_EXCLUDED_SELECTORS; exports.JSON_RPC_ERRORS = _chunkAMX23CSNcjs.JSON_RPC_ERRORS; exports.MCP_PROTOCOL_VERSIONS = _chunkAMX23CSNcjs.MCP_PROTOCOL_VERSIONS; exports.MCP_TOOL_CANVAS_ADD_NODE = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_ADD_NODE; exports.MCP_TOOL_CANVAS_CONNECT = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_CONNECT; exports.MCP_TOOL_CANVAS_HIGHLIGHT = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_HIGHLIGHT; exports.MCP_TOOL_CANVAS_LAYOUT = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_LAYOUT; exports.MCP_TOOL_CANVAS_REMOVE_NODES = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_REMOVE_NODES; exports.MCP_TOOL_CANVAS_SELECT = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_SELECT; exports.MCP_TOOL_CANVAS_UPDATE_NODE = _chunkSVFEVKLFcjs.MCP_TOOL_CANVAS_UPDATE_NODE; exports.MCP_TOOL_EDIT_CANVAS = _chunkSVFEVKLFcjs.MCP_TOOL_EDIT_CANVAS; exports.MCP_TOOL_EDIT_PROMPT = _chunkSVFEVKLFcjs.MCP_TOOL_EDIT_PROMPT; exports.MCP_TOOL_GET_EDITOR_STATE = _chunkSVFEVKLFcjs.MCP_TOOL_GET_EDITOR_STATE; exports.MCP_TOOL_PROMPT_INSERT_TEXT = _chunkSVFEVKLFcjs.MCP_TOOL_PROMPT_INSERT_TEXT; exports.MCP_TOOL_PROMPT_REPLACE_RANGE = _chunkSVFEVKLFcjs.MCP_TOOL_PROMPT_REPLACE_RANGE; exports.MCP_TOOL_PROMPT_SELECT = _chunkSVFEVKLFcjs.MCP_TOOL_PROMPT_SELECT; exports.MCP_TOOL_PROMPT_SET_VARIABLE = _chunkSVFEVKLFcjs.MCP_TOOL_PROMPT_SET_VARIABLE; exports.MCP_TOOL_VIEW_EDITOR = _chunkSVFEVKLFcjs.MCP_TOOL_VIEW_EDITOR; exports.PRESENCE_COLORS = _chunkSWTUM32Hcjs.PRESENCE_COLORS; exports.PerformanceQueue = _chunkSWTUM32Hcjs.PerformanceQueue; exports.PresenceStore = _chunkSWTUM32Hcjs.PresenceStore; exports.TOOL_BRIDGE_DEFAULT_PORT = _chunkAMX23CSNcjs.TOOL_BRIDGE_DEFAULT_PORT; exports.TOOL_BRIDGE_PROTOCOL = _chunkAMX23CSNcjs.TOOL_BRIDGE_PROTOCOL; exports.TOOL_DISCOVERY_TOOLS = _chunkAMX23CSNcjs.TOOL_DISCOVERY_TOOLS; exports.TOOL_NAMESPACE_SEPARATOR = _chunkAMX23CSNcjs.TOOL_NAMESPACE_SEPARATOR; exports.ToolRegistry = _chunkAMX23CSNcjs.ToolRegistry; exports.ToolRegistryError = _chunkAMX23CSNcjs.ToolRegistryError; exports.ToolRegistryView = _chunkAMX23CSNcjs.ToolRegistryView; exports.UNSAFE_JSON_KEYS = _chunk2BSBFBOAcjs.UNSAFE_JSON_KEYS; exports.baseToolName = _chunkAMX23CSNcjs.baseToolName; exports.captureInputSchema = _chunkN2FGYZ4Qcjs.captureInputSchema; exports.captureOutputSize = _chunkN2FGYZ4Qcjs.captureOutputSize; exports.cloneElementWithStyles = _chunkSVFEVKLFcjs.cloneElementWithStyles; exports.connectToolBridge = _chunkAMX23CSNcjs.connectToolBridge; exports.createAgentPlayback = _chunkGMWNBSBScjs.createAgentPlayback; exports.createCanvasComponentToolProvider = createCanvasComponentToolProvider; exports.createCaptureTool = _chunkN2FGYZ4Qcjs.createCaptureTool; exports.createCaptureToolProvider = _chunkN2FGYZ4Qcjs.createCaptureToolProvider; exports.createDocumentChartTools = createDocumentChartTools; exports.createEditorMcpToolProvider = createEditorMcpToolProvider; exports.createElementCaptureSurface = _chunkSVFEVKLFcjs.createElementCaptureSurface; exports.createInstantPresenceClock = _chunkSWTUM32Hcjs.createInstantPresenceClock; exports.createMcpServer = _chunkAMX23CSNcjs.createMcpServer; exports.createPlaybackToolProvider = _chunkGMWNBSBScjs.createPlaybackToolProvider; exports.createRichTextToolProvider = createRichTextToolProvider; exports.createSpreadsheetToolProvider = createSpreadsheetToolProvider; exports.createStyleResolver = _chunkZ2UQYMPScjs.createStyleResolver; exports.createStyleToolProvider = _chunkZ2UQYMPScjs.createStyleToolProvider; exports.createToolRegistry = _chunkAMX23CSNcjs.createToolRegistry; exports.derivePlaybackSteps = _chunkGMWNBSBScjs.derivePlaybackSteps; exports.elementToSvg = _chunkSVFEVKLFcjs.elementToSvg; exports.errorResult = _chunkAMX23CSNcjs.errorResult; exports.isUnsafeJsonKey = _chunk2BSBFBOAcjs.isUnsafeJsonKey; exports.listSkills = _chunkAMX23CSNcjs.listSkills; exports.locatePlaybackChrome = _chunkGMWNBSBScjs.locatePlaybackChrome; exports.memoryStyleStore = _chunkZ2UQYMPScjs.memoryStyleStore; exports.normalizeSide = normalizeSide; exports.parseSkillFrontmatter = _chunkAMX23CSNcjs.parseSkillFrontmatter; exports.parseStyleDomains = _chunkZ2UQYMPScjs.parseStyleDomains; exports.planAgentCommand = planAgentCommand; exports.planCanvasPlaybackSteps = planCanvasPlaybackSteps; exports.planCanvasToolPlayback = planCanvasToolPlayback; exports.planToolCall = planToolCall; exports.playbackRectFromClient = _chunkGMWNBSBScjs.playbackRectFromClient; exports.playbackRefsFromArgs = _chunkGMWNBSBScjs.playbackRefsFromArgs; exports.playbackRefsFromResult = _chunkGMWNBSBScjs.playbackRefsFromResult; exports.rasterizeElement = _chunkSVFEVKLFcjs.rasterizeElement; exports.readSkillFile = _chunkAMX23CSNcjs.readSkillFile; exports.readingTime = _chunkGMWNBSBScjs.readingTime; exports.realPresenceClock = _chunkSWTUM32Hcjs.realPresenceClock; exports.renderStyle = _chunkZ2UQYMPScjs.renderStyle; exports.resolveCaptureRequest = _chunkN2FGYZ4Qcjs.resolveCaptureRequest; exports.runStyleChecks = _chunkZ2UQYMPScjs.runStyleChecks; exports.runToolScript = _chunkZ2UQYMPScjs.runToolScript; exports.searchTokens = _chunkAMX23CSNcjs.searchTokens; exports.searchTools = _chunkAMX23CSNcjs.searchTools; exports.stripPrototypeKeys = _chunk2BSBFBOAcjs.stripPrototypeKeys; exports.summarize = _chunkAMX23CSNcjs.summarize; exports.toCapturedImageData = _chunkN2FGYZ4Qcjs.toCapturedImageData; exports.toToolResult = _chunkAMX23CSNcjs.toToolResult; exports.toolCallToAgentCommand = toolCallToAgentCommand; exports.toolResultError = _chunkZ2UQYMPScjs.toolResultError; exports.toolResultValue = _chunkZ2UQYMPScjs.toolResultValue; exports.toolsetInstructions = _chunkAMX23CSNcjs.toolsetInstructions; exports.toolsetName = _chunkAMX23CSNcjs.toolsetName; exports.trackPresenceDrag = _chunkSWTUM32Hcjs.trackPresenceDrag; exports.tweenPresenceCursor = _chunkSWTUM32Hcjs.tweenPresenceCursor; exports.unionCaptureRects = _chunkN2FGYZ4Qcjs.unionCaptureRects; exports.unionRects = _chunkGMWNBSBScjs.unionRects; exports.unknownToolMessage = _chunkAMX23CSNcjs.unknownToolMessage; exports.validateAgentCommand = validateAgentCommand; exports.validateJsonSchema = _chunkWOFXZ3XUcjs.validateJsonSchema;
|
package/dist/agent/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CHART_UPDATE_PROPERTIES,
|
|
3
3
|
SERIES_PROPS,
|
|
4
4
|
VALUE
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-5UNQDC3Q.js";
|
|
6
6
|
import {
|
|
7
7
|
hasVariantCommands
|
|
8
8
|
} from "../chunk-3TNA7JKI.js";
|
|
@@ -16,10 +16,16 @@ import {
|
|
|
16
16
|
} from "../chunk-U4VE4UI2.js";
|
|
17
17
|
import "../chunk-7KZ2HKKC.js";
|
|
18
18
|
import {
|
|
19
|
+
createStyleResolver,
|
|
20
|
+
createStyleToolProvider,
|
|
21
|
+
memoryStyleStore,
|
|
22
|
+
parseStyleDomains,
|
|
23
|
+
renderStyle,
|
|
24
|
+
runStyleChecks,
|
|
19
25
|
runToolScript,
|
|
20
26
|
toolResultError,
|
|
21
27
|
toolResultValue
|
|
22
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-HIDFL5LQ.js";
|
|
23
29
|
import {
|
|
24
30
|
JSON_RPC_ERRORS,
|
|
25
31
|
MCP_PROTOCOL_VERSIONS,
|
|
@@ -45,7 +51,7 @@ import {
|
|
|
45
51
|
toolsetInstructions,
|
|
46
52
|
toolsetName,
|
|
47
53
|
unknownToolMessage
|
|
48
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-XZB3TJ6K.js";
|
|
49
55
|
import {
|
|
50
56
|
AgentPlayback,
|
|
51
57
|
createAgentPlayback,
|
|
@@ -115,15 +121,17 @@ import {
|
|
|
115
121
|
setAgentCaret,
|
|
116
122
|
sparklineLabel,
|
|
117
123
|
typeAgentText
|
|
118
|
-
} from "../chunk-
|
|
124
|
+
} from "../chunk-DFCAR7AW.js";
|
|
119
125
|
import {
|
|
120
126
|
describeChart
|
|
121
|
-
} from "../chunk-
|
|
122
|
-
import "../chunk-
|
|
127
|
+
} from "../chunk-YUFTVNLX.js";
|
|
128
|
+
import "../chunk-KGRZMHZB.js";
|
|
129
|
+
import "../chunk-ITANXMZD.js";
|
|
123
130
|
import {
|
|
124
131
|
normalizeChartSpec,
|
|
125
132
|
parseChartValue
|
|
126
|
-
} from "../chunk-
|
|
133
|
+
} from "../chunk-FR432ROA.js";
|
|
134
|
+
import "../chunk-O6OGNDND.js";
|
|
127
135
|
import {
|
|
128
136
|
getEditorMarkdown,
|
|
129
137
|
getEditorText
|
|
@@ -161,8 +169,9 @@ import {
|
|
|
161
169
|
stripPrototypeKeys
|
|
162
170
|
} from "../chunk-HF5QZS7Z.js";
|
|
163
171
|
import "../chunk-RNSANXPT.js";
|
|
164
|
-
import "../chunk-
|
|
165
|
-
import "../chunk-
|
|
172
|
+
import "../chunk-7272D3K2.js";
|
|
173
|
+
import "../chunk-YBAPT7NL.js";
|
|
174
|
+
import "../chunk-MHLU6GRJ.js";
|
|
166
175
|
import "../chunk-6ONMQ6WF.js";
|
|
167
176
|
|
|
168
177
|
// src/agent/planner.ts
|
|
@@ -2216,6 +2225,8 @@ export {
|
|
|
2216
2225
|
createPlaybackToolProvider,
|
|
2217
2226
|
createRichTextToolProvider,
|
|
2218
2227
|
createSpreadsheetToolProvider,
|
|
2228
|
+
createStyleResolver,
|
|
2229
|
+
createStyleToolProvider,
|
|
2219
2230
|
createToolRegistry,
|
|
2220
2231
|
derivePlaybackSteps,
|
|
2221
2232
|
elementToSvg,
|
|
@@ -2223,8 +2234,10 @@ export {
|
|
|
2223
2234
|
isUnsafeJsonKey,
|
|
2224
2235
|
listSkills,
|
|
2225
2236
|
locatePlaybackChrome,
|
|
2237
|
+
memoryStyleStore,
|
|
2226
2238
|
normalizeSide,
|
|
2227
2239
|
parseSkillFrontmatter,
|
|
2240
|
+
parseStyleDomains,
|
|
2228
2241
|
planAgentCommand,
|
|
2229
2242
|
planCanvasPlaybackSteps,
|
|
2230
2243
|
planCanvasToolPlayback,
|
|
@@ -2236,7 +2249,9 @@ export {
|
|
|
2236
2249
|
readSkillFile,
|
|
2237
2250
|
readingTime,
|
|
2238
2251
|
realPresenceClock,
|
|
2252
|
+
renderStyle,
|
|
2239
2253
|
resolveCaptureRequest,
|
|
2254
|
+
runStyleChecks,
|
|
2240
2255
|
runToolScript,
|
|
2241
2256
|
searchTokens,
|
|
2242
2257
|
searchTools,
|
package/dist/animation/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var _chunk7B5GTJXBcjs = require('../chunk-7B5GTJXB.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkM5GLQQWGcjs = require('../chunk-M5GLQQWG.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -52,10 +52,11 @@ var _chunkDWJJI6RTcjs = require('../chunk-DWJJI6RT.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunk4ZC5QJE2cjs = require('../chunk-4ZC5QJE2.cjs');
|
|
56
56
|
require('../chunk-A6QWKBJP.cjs');
|
|
57
|
-
require('../chunk-
|
|
58
|
-
require('../chunk-
|
|
57
|
+
require('../chunk-EUIDTZNQ.cjs');
|
|
58
|
+
require('../chunk-TFF2GTGN.cjs');
|
|
59
|
+
require('../chunk-5UEFBM2M.cjs');
|
|
59
60
|
require('../chunk-IPJ3TEYR.cjs');
|
|
60
61
|
|
|
61
62
|
|
|
@@ -103,4 +104,4 @@ require('../chunk-IPJ3TEYR.cjs');
|
|
|
103
104
|
|
|
104
105
|
|
|
105
106
|
|
|
106
|
-
exports.ANIMATION_EASING_LABELS = _chunkDWJJI6RTcjs.ANIMATION_EASING_LABELS; exports.ANIMATION_EASING_PRESETS = _chunkDWJJI6RTcjs.ANIMATION_EASING_PRESETS; exports.ANIMATION_TIME_EPSILON =
|
|
107
|
+
exports.ANIMATION_EASING_LABELS = _chunkDWJJI6RTcjs.ANIMATION_EASING_LABELS; exports.ANIMATION_EASING_PRESETS = _chunkDWJJI6RTcjs.ANIMATION_EASING_PRESETS; exports.ANIMATION_TIME_EPSILON = _chunkM5GLQQWGcjs.ANIMATION_TIME_EPSILON; exports.AnimationPlayer = _chunkM5GLQQWGcjs.AnimationPlayer; exports.CUBIC_BEZIER_PRESETS = _chunkDWJJI6RTcjs.CUBIC_BEZIER_PRESETS; exports.MOTION_BEHAVIORS = _chunk7B5GTJXBcjs.MOTION_BEHAVIORS; exports.ManualClock = _chunkM5GLQQWGcjs.ManualClock; exports.PRESENCE_COLORS = _chunkSWTUM32Hcjs.PRESENCE_COLORS; exports.PerformanceQueue = _chunkSWTUM32Hcjs.PerformanceQueue; exports.PresenceStore = _chunkSWTUM32Hcjs.PresenceStore; exports.SPRING_PRESETS = _chunkDWJJI6RTcjs.SPRING_PRESETS; exports.behaviorProgress = _chunk7B5GTJXBcjs.behaviorProgress; exports.createAnimationPlayer = _chunkM5GLQQWGcjs.createAnimationPlayer; exports.createInstantPresenceClock = _chunkSWTUM32Hcjs.createInstantPresenceClock; exports.cubicBezierAt = _chunkDWJJI6RTcjs.cubicBezierAt; exports.easingFromInfluence = _chunkDWJJI6RTcjs.easingFromInfluence; exports.easingLabel = _chunkDWJJI6RTcjs.easingLabel; exports.easingToCss = _chunkDWJJI6RTcjs.easingToCss; exports.elasticAt = _chunkDWJJI6RTcjs.elasticAt; exports.evaluateEasing = _chunkDWJJI6RTcjs.evaluateEasing; exports.evaluateTrack = _chunkM5GLQQWGcjs.evaluateTrack; exports.formatOklab = _chunk4ZC5QJE2cjs.formatOklab; exports.fractalWiggle = _chunk7B5GTJXBcjs.fractalWiggle; exports.interpolateAnimationValue = _chunkM5GLQQWGcjs.interpolateAnimationValue; exports.isAnimationEasing = _chunkDWJJI6RTcjs.isAnimationEasing; exports.isAnimationKeyframe = _chunkM5GLQQWGcjs.isAnimationKeyframe; exports.isMotionBehavior = _chunk7B5GTJXBcjs.isMotionBehavior; exports.mixColorsOklab = _chunk4ZC5QJE2cjs.mixColorsOklab; exports.motionSeedFromId = _chunk7B5GTJXBcjs.motionSeedFromId; exports.normalizeKeyframes = _chunkM5GLQQWGcjs.normalizeKeyframes; exports.oklabToRgb = _chunk4ZC5QJE2cjs.oklabToRgb; exports.pageHidden = _chunkM5GLQQWGcjs.pageHidden; exports.parseCssEasing = _chunkDWJJI6RTcjs.parseCssEasing; exports.parseOklab = _chunk4ZC5QJE2cjs.parseOklab; exports.quinticFade = _chunk7B5GTJXBcjs.quinticFade; exports.realClock = _chunkM5GLQQWGcjs.realClock; exports.realPresenceClock = _chunkSWTUM32Hcjs.realPresenceClock; exports.resolveEasing = _chunkDWJJI6RTcjs.resolveEasing; exports.reverseCubicBezier = _chunkDWJJI6RTcjs.reverseCubicBezier; exports.rgbToOklab = _chunk4ZC5QJE2cjs.rgbToOklab; exports.springAt = _chunkDWJJI6RTcjs.springAt; exports.springSettleMs = _chunkDWJJI6RTcjs.springSettleMs; exports.trackPresenceDrag = _chunkSWTUM32Hcjs.trackPresenceDrag; exports.tweenPresenceCursor = _chunkSWTUM32Hcjs.tweenPresenceCursor; exports.wrapAnimationTime = _chunkM5GLQQWGcjs.wrapAnimationTime;
|
package/dist/animation/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
pageHidden,
|
|
28
28
|
realClock,
|
|
29
29
|
wrapAnimationTime
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-F6R67I3A.js";
|
|
31
31
|
import {
|
|
32
32
|
ANIMATION_EASING_LABELS,
|
|
33
33
|
ANIMATION_EASING_PRESETS,
|
|
@@ -52,10 +52,11 @@ import {
|
|
|
52
52
|
oklabToRgb,
|
|
53
53
|
parseOklab,
|
|
54
54
|
rgbToOklab
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-M2TPMYJE.js";
|
|
56
56
|
import "../chunk-2WPNAGHI.js";
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-7272D3K2.js";
|
|
58
|
+
import "../chunk-YBAPT7NL.js";
|
|
59
|
+
import "../chunk-MHLU6GRJ.js";
|
|
59
60
|
import "../chunk-6ONMQ6WF.js";
|
|
60
61
|
export {
|
|
61
62
|
ANIMATION_EASING_LABELS,
|