@particle-academy/react-fancy 5.64.1 → 5.66.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/{PastePills.types-CDyotkUb.d.cts → PastePills.types-CpXzsuwJ.d.cts} +2 -0
  3. package/dist/{PastePills.types-CDyotkUb.d.ts → PastePills.types-CpXzsuwJ.d.ts} +2 -0
  4. package/dist/{PastedFilesInput-CrgNoEBd.d.ts → PastedFilesInput-Bt3KSTVN.d.ts} +1 -1
  5. package/dist/{PastedFilesInput-DQ1eZaHk.d.cts → PastedFilesInput-CUQeOeOA.d.cts} +1 -1
  6. package/dist/{chunk-SZH7TFME.js → chunk-4EUDW2WU.js} +3 -3
  7. package/dist/{chunk-SZH7TFME.js.map → chunk-4EUDW2WU.js.map} +1 -1
  8. package/dist/{chunk-CMC2TOEQ.cjs → chunk-6CAXLP7D.cjs} +6 -6
  9. package/dist/{chunk-CMC2TOEQ.cjs.map → chunk-6CAXLP7D.cjs.map} +1 -1
  10. package/dist/{chunk-TQGRXJ74.cjs → chunk-7FYRFNPX.cjs} +9 -9
  11. package/dist/{chunk-TQGRXJ74.cjs.map → chunk-7FYRFNPX.cjs.map} +1 -1
  12. package/dist/{chunk-4XHG6Q42.cjs → chunk-7HXFEYOV.cjs} +8 -8
  13. package/dist/{chunk-4XHG6Q42.cjs.map → chunk-7HXFEYOV.cjs.map} +1 -1
  14. package/dist/{chunk-MVVHUTXA.js → chunk-B4LVQ4QI.js} +3 -3
  15. package/dist/{chunk-MVVHUTXA.js.map → chunk-B4LVQ4QI.js.map} +1 -1
  16. package/dist/{chunk-QNQNGARW.cjs → chunk-HFK5SBNM.cjs} +27 -9
  17. package/dist/chunk-HFK5SBNM.cjs.map +1 -0
  18. package/dist/{chunk-BTNF3QBR.js → chunk-J44EV6SP.js} +366 -32
  19. package/dist/chunk-J44EV6SP.js.map +1 -0
  20. package/dist/{chunk-Z6LYBL5L.cjs → chunk-MCQWTOTV.cjs} +369 -33
  21. package/dist/chunk-MCQWTOTV.cjs.map +1 -0
  22. package/dist/{chunk-ELFTEJBT.js → chunk-QSGAFKK2.js} +3 -3
  23. package/dist/{chunk-ELFTEJBT.js.map → chunk-QSGAFKK2.js.map} +1 -1
  24. package/dist/{chunk-NILA2LZY.js → chunk-YIKXJWO4.js} +27 -9
  25. package/dist/chunk-YIKXJWO4.js.map +1 -0
  26. package/dist/composer.cjs +4 -4
  27. package/dist/composer.d.cts +2 -2
  28. package/dist/composer.d.ts +2 -2
  29. package/dist/composer.js +2 -2
  30. package/dist/{index-BZON-gXr.d.ts → index-DWtSViJ3.d.cts} +147 -4
  31. package/dist/{index-BF5qsQur.d.cts → index-XR5t8bTq.d.ts} +147 -4
  32. package/dist/index.cjs +36 -28
  33. package/dist/index.d.cts +3 -3
  34. package/dist/index.d.ts +3 -3
  35. package/dist/index.js +5 -5
  36. package/dist/input.cjs +3 -3
  37. package/dist/input.d.cts +1 -1
  38. package/dist/input.d.ts +1 -1
  39. package/dist/input.js +2 -2
  40. package/dist/inputs.cjs +3 -3
  41. package/dist/inputs.d.cts +1 -1
  42. package/dist/inputs.d.ts +1 -1
  43. package/dist/inputs.js +2 -2
  44. package/dist/json-editor.cjs +14 -14
  45. package/dist/json-editor.js +3 -3
  46. package/dist/paste-pills.cjs +14 -14
  47. package/dist/paste-pills.d.cts +3 -3
  48. package/dist/paste-pills.d.ts +3 -3
  49. package/dist/paste-pills.js +1 -1
  50. package/dist/prompt-input.cjs +11 -3
  51. package/dist/prompt-input.d.cts +2 -2
  52. package/dist/prompt-input.d.ts +2 -2
  53. package/dist/prompt-input.js +2 -2
  54. package/docs/PromptInput.md +101 -1
  55. package/package.json +1 -1
  56. package/dist/chunk-BTNF3QBR.js.map +0 -1
  57. package/dist/chunk-NILA2LZY.js.map +0 -1
  58. package/dist/chunk-QNQNGARW.cjs.map +0 -1
  59. package/dist/chunk-Z6LYBL5L.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { H as HeldImage, C as ComposerPastePreview, a as ComposerPasteClassNames, b as HeldPaste } from './PastePills.types-CDyotkUb.js';
4
- export { p as pasteMarker } from './PastePills.types-CDyotkUb.js';
3
+ import { H as HeldImage, C as ComposerPastePreview, a as ComposerPasteClassNames, b as HeldPaste } from './PastePills.types-CpXzsuwJ.js';
4
+ export { p as pasteMarker } from './PastePills.types-CpXzsuwJ.js';
5
5
 
6
6
  interface ComposerSubmitExtras {
7
7
  /**
package/dist/composer.js CHANGED
@@ -1,5 +1,5 @@
1
- export { Composer } from './chunk-ELFTEJBT.js';
2
- export { pasteMarker } from './chunk-NILA2LZY.js';
1
+ export { Composer } from './chunk-QSGAFKK2.js';
2
+ export { pasteMarker } from './chunk-YIKXJWO4.js';
3
3
  import './chunk-QTS4Q2NK.js';
4
4
  import './chunk-MQ6VGG62.js';
5
5
  import './chunk-5VMILVWD.js';
@@ -1,6 +1,102 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
- import { C as ComposerPastePreview, a as ComposerPasteClassNames } from './PastePills.types-CDyotkUb.js';
3
+ import { C as ComposerPastePreview, a as ComposerPasteClassNames } from './PastePills.types-CpXzsuwJ.cjs';
4
+
5
+ /**
6
+ * A file in a saved draft — an attachment chip, or the image behind an image
7
+ * pill — described by data alone, so the draft survives `JSON.stringify`.
8
+ *
9
+ * The bytes are deliberately NOT in here. A `File` does not survive JSON, and
10
+ * putting base64 in the draft by default would make every saved draft as large
11
+ * as everything attached to it: a 6 MB screenshot becomes 8 MB of string written
12
+ * on every keystroke by a host that saves on change. Instead the host decides
13
+ * where bytes live, through `persistAttachment` (save) and `restoreAttachment`
14
+ * (load), and the draft carries only the host's handle for them in `ref`.
15
+ *
16
+ * A host that WANTS the bytes inline passes `promptFileToDataUrl` as
17
+ * `persistAttachment`, and `ref` is then a `data:` URL.
18
+ */
19
+ interface PromptDraftFile {
20
+ /** Stable for the life of the draft. For an image pill, the pill's own id. */
21
+ id: string;
22
+ name: string;
23
+ /** MIME type, `""` when the browser did not know it. */
24
+ type: string;
25
+ bytes: number;
26
+ /**
27
+ * The host's handle for the stored bytes — whatever `persistAttachment`
28
+ * returned: a storage key, an upload URL, a `data:` URL. Absent when the host
29
+ * keeps nothing, in which case a restored attachment has no `File`.
30
+ */
31
+ ref?: string;
32
+ }
33
+ /** A paste held as a pill inside the message. Its marker sits in `text`. */
34
+ type PromptDraftPill = {
35
+ kind: "text";
36
+ id: string;
37
+ text: string;
38
+ /**
39
+ * Shown on the pill in place of `Pasted text · N characters`. Display only:
40
+ * sending still expands the pill to the full `text`. Plain text, flattened
41
+ * to one line and capped at 80 characters when drawn. Optional.
42
+ */
43
+ label?: string;
44
+ } | {
45
+ kind: "image";
46
+ id: string;
47
+ label: string;
48
+ file: PromptDraftFile;
49
+ };
50
+ /**
51
+ * Everything a PromptInput holds, as JSON. Versioned, so a draft saved by one
52
+ * release and read by a later one is recognised or refused, never guessed at.
53
+ *
54
+ * `text` is the raw value: with paste pills on, each pill is a marker in it
55
+ * (`pasteMarker(id)`), because the message itself is the record of what is
56
+ * attached and where. Mentions and slash commands are plain text in it.
57
+ */
58
+ interface PromptDraft {
59
+ v: 1;
60
+ text: string;
61
+ pills: PromptDraftPill[];
62
+ attachments: PromptDraftFile[];
63
+ }
64
+ interface PromptSetDraftOptions {
65
+ /**
66
+ * Focus the composer after restoring, caret at the end. Default `false`:
67
+ * restoring a draft never moves focus or anybody's caret on its own
68
+ * (genie#1235 was exactly that).
69
+ */
70
+ focus?: boolean;
71
+ }
72
+ /** The imperative handle a `ref` on `PromptInput` receives. */
73
+ interface PromptInputHandle {
74
+ /** The current draft. A fresh JSON-safe copy; mutating it changes nothing. */
75
+ getDraft(): PromptDraft;
76
+ /**
77
+ * Replace the whole draft. Does NOT call `onChange` / `onDraftChange` (the
78
+ * host is the one setting it), does NOT focus unless `{ focus: true }`.
79
+ * A draft whose `v` this release does not know is refused with a warning.
80
+ */
81
+ setDraft(draft: PromptDraft, options?: PromptSetDraftOptions): void;
82
+ /** Focus the composer, caret at the end. */
83
+ focus(): void;
84
+ }
85
+ /**
86
+ * Read a File as a `data:` URL. Pass it as `persistAttachment` to keep the bytes
87
+ * IN the draft — simple, and fine for small files; every saved draft then carries
88
+ * every attached byte, base64-inflated by a third.
89
+ */
90
+ declare function promptFileToDataUrl(file: Blob): Promise<string>;
91
+ /**
92
+ * Turn a `data:` URL back into a File — the other half of `promptFileToDataUrl`:
93
+ *
94
+ * restoreAttachment={(f) => f.ref ? promptDataUrlToFile(f.ref, f.name, f.type) : undefined}
95
+ *
96
+ * Synchronous, so the restored draft has its Files on the first render.
97
+ * `undefined` for anything that is not a `data:` URL.
98
+ */
99
+ declare function promptDataUrlToFile(dataUrl: string, name: string, type?: string): File | undefined;
4
100
 
5
101
  /**
6
102
  * Which modifier key the user actually has.
@@ -98,6 +194,12 @@ type PromptAttachment = {
98
194
  file?: File;
99
195
  /** MIME type. Hosts branch on this to decide whether a file can be sent as-is. */
100
196
  type?: string;
197
+ /**
198
+ * The host's handle for the stored bytes, from `persistAttachment`. On an
199
+ * attachment restored from a draft WITHOUT a File, this is how the host finds
200
+ * the bytes to send.
201
+ */
202
+ ref?: string;
101
203
  };
102
204
  /**
103
205
  * `...rest` reaches the root surface, so a consumer or a bridge can tag the
@@ -108,9 +210,50 @@ type PromptAttachment = {
108
210
  * calls it out: "Each interactive element has a stable identity. Agents never
109
211
  * guess DOM."
110
212
  */
111
- interface PromptInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSubmit" | "className"> {
213
+ interface PromptInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSubmit" | "className" | "onChange" | "defaultValue"> {
112
214
  /** Extra classes on the root surface. MERGED, never replaced. */
113
215
  className?: string;
216
+ /**
217
+ * The text, controlled. With paste pills on it carries a marker per pill
218
+ * (`pasteMarker(id)`), exactly as `Composer`'s `value` does. Pills and
219
+ * attachments stay internal; use `draft` to control those too.
220
+ */
221
+ value?: string;
222
+ /** The starting text, uncontrolled. Ignored when `value` or `draft` is given. */
223
+ defaultValue?: string;
224
+ /**
225
+ * Called with the new text when the PERSON edits it, and with `""` after a
226
+ * send. Not called by `setDraft` or a prop change: the host made those.
227
+ */
228
+ onChange?: (value: string) => void;
229
+ /**
230
+ * The whole draft, controlled: text, paste pills and attachments, as JSON.
231
+ * Wins over `value`. Pair with `onDraftChange`.
232
+ */
233
+ draft?: PromptDraft;
234
+ /** The starting draft, uncontrolled. Wins over `defaultValue`. */
235
+ defaultDraft?: PromptDraft;
236
+ /**
237
+ * Called with the whole draft whenever the person changes any part of it —
238
+ * typing, a paste, an attach, a removal, a send (which empties it) — and when
239
+ * `persistAttachment` resolves a `ref`. Not called by `setDraft`.
240
+ */
241
+ onDraftChange?: (draft: PromptDraft) => void;
242
+ /**
243
+ * Keep an attached file somewhere and return a handle for it (a storage key, an
244
+ * upload URL — or a `data:` URL via `promptFileToDataUrl`). Called once per
245
+ * attached or pasted file; the result becomes the file's `ref` in the draft.
246
+ * May return a Promise; the draft is updated (and `onDraftChange` fires) when it
247
+ * resolves. Omit it and a draft carries file metadata only.
248
+ */
249
+ persistAttachment?: (file: File, entry: PromptDraftFile) => string | undefined | Promise<string | undefined>;
250
+ /**
251
+ * Get a File back for a draft entry restored without one (from `setDraft`,
252
+ * `defaultDraft` or a controlled `draft`). May return a Promise. Return
253
+ * `undefined` when there is none: the chip or pill still shows, and the
254
+ * attachment reaches `onSubmit` with its `ref` and no `file`.
255
+ */
256
+ restoreAttachment?: (entry: PromptDraftFile) => File | undefined | Promise<File | undefined>;
114
257
  /** Token budget for the meter. */
115
258
  budgetTokens: number;
116
259
  /** Slash-commands. Names must start with `/`. */
@@ -203,6 +346,6 @@ interface PromptInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSubmi
203
346
  /** Fraction of `budgetTokens` past which a `"near-limit"` meter takes the warning colour. Default 0.9. */
204
347
  meterWarnAt?: number;
205
348
  }
206
- declare function PromptInput({ budgetTokens, commands, mentions, showHint, platform, onSubmit, placeholder, charsPerToken, mentionColor, maxHeight, aboveInput, className, pasteThreshold, pasteImages, previewChars, renderPastePreview, pasteClassNames, pasteFilesName, attachButton, sendButton, usedTokens, meter, meterShowAt, meterWarnAt, ...rest }: PromptInputProps): react.JSX.Element;
349
+ declare const PromptInput: react.ForwardRefExoticComponent<PromptInputProps & react.RefAttributes<PromptInputHandle>>;
207
350
 
208
- export { type FancyPlatform as F, type PlatformHints as P, type PromptAttachment as a, type PromptCmd as b, PromptInput as c, type PromptInputProps as d, type PromptMention as e, browserPlatformHints as f, detectPlatform as g, modifierKeyLabel as m };
351
+ export { type FancyPlatform as F, type PlatformHints as P, type PromptAttachment as a, type PromptCmd as b, type PromptDraft as c, type PromptDraftFile as d, type PromptDraftPill as e, PromptInput as f, type PromptInputHandle as g, type PromptInputProps as h, type PromptMention as i, type PromptSetDraftOptions as j, browserPlatformHints as k, detectPlatform as l, modifierKeyLabel as m, promptFileToDataUrl as n, promptDataUrlToFile as p };
@@ -1,6 +1,102 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
- import { C as ComposerPastePreview, a as ComposerPasteClassNames } from './PastePills.types-CDyotkUb.cjs';
3
+ import { C as ComposerPastePreview, a as ComposerPasteClassNames } from './PastePills.types-CpXzsuwJ.js';
4
+
5
+ /**
6
+ * A file in a saved draft — an attachment chip, or the image behind an image
7
+ * pill — described by data alone, so the draft survives `JSON.stringify`.
8
+ *
9
+ * The bytes are deliberately NOT in here. A `File` does not survive JSON, and
10
+ * putting base64 in the draft by default would make every saved draft as large
11
+ * as everything attached to it: a 6 MB screenshot becomes 8 MB of string written
12
+ * on every keystroke by a host that saves on change. Instead the host decides
13
+ * where bytes live, through `persistAttachment` (save) and `restoreAttachment`
14
+ * (load), and the draft carries only the host's handle for them in `ref`.
15
+ *
16
+ * A host that WANTS the bytes inline passes `promptFileToDataUrl` as
17
+ * `persistAttachment`, and `ref` is then a `data:` URL.
18
+ */
19
+ interface PromptDraftFile {
20
+ /** Stable for the life of the draft. For an image pill, the pill's own id. */
21
+ id: string;
22
+ name: string;
23
+ /** MIME type, `""` when the browser did not know it. */
24
+ type: string;
25
+ bytes: number;
26
+ /**
27
+ * The host's handle for the stored bytes — whatever `persistAttachment`
28
+ * returned: a storage key, an upload URL, a `data:` URL. Absent when the host
29
+ * keeps nothing, in which case a restored attachment has no `File`.
30
+ */
31
+ ref?: string;
32
+ }
33
+ /** A paste held as a pill inside the message. Its marker sits in `text`. */
34
+ type PromptDraftPill = {
35
+ kind: "text";
36
+ id: string;
37
+ text: string;
38
+ /**
39
+ * Shown on the pill in place of `Pasted text · N characters`. Display only:
40
+ * sending still expands the pill to the full `text`. Plain text, flattened
41
+ * to one line and capped at 80 characters when drawn. Optional.
42
+ */
43
+ label?: string;
44
+ } | {
45
+ kind: "image";
46
+ id: string;
47
+ label: string;
48
+ file: PromptDraftFile;
49
+ };
50
+ /**
51
+ * Everything a PromptInput holds, as JSON. Versioned, so a draft saved by one
52
+ * release and read by a later one is recognised or refused, never guessed at.
53
+ *
54
+ * `text` is the raw value: with paste pills on, each pill is a marker in it
55
+ * (`pasteMarker(id)`), because the message itself is the record of what is
56
+ * attached and where. Mentions and slash commands are plain text in it.
57
+ */
58
+ interface PromptDraft {
59
+ v: 1;
60
+ text: string;
61
+ pills: PromptDraftPill[];
62
+ attachments: PromptDraftFile[];
63
+ }
64
+ interface PromptSetDraftOptions {
65
+ /**
66
+ * Focus the composer after restoring, caret at the end. Default `false`:
67
+ * restoring a draft never moves focus or anybody's caret on its own
68
+ * (genie#1235 was exactly that).
69
+ */
70
+ focus?: boolean;
71
+ }
72
+ /** The imperative handle a `ref` on `PromptInput` receives. */
73
+ interface PromptInputHandle {
74
+ /** The current draft. A fresh JSON-safe copy; mutating it changes nothing. */
75
+ getDraft(): PromptDraft;
76
+ /**
77
+ * Replace the whole draft. Does NOT call `onChange` / `onDraftChange` (the
78
+ * host is the one setting it), does NOT focus unless `{ focus: true }`.
79
+ * A draft whose `v` this release does not know is refused with a warning.
80
+ */
81
+ setDraft(draft: PromptDraft, options?: PromptSetDraftOptions): void;
82
+ /** Focus the composer, caret at the end. */
83
+ focus(): void;
84
+ }
85
+ /**
86
+ * Read a File as a `data:` URL. Pass it as `persistAttachment` to keep the bytes
87
+ * IN the draft — simple, and fine for small files; every saved draft then carries
88
+ * every attached byte, base64-inflated by a third.
89
+ */
90
+ declare function promptFileToDataUrl(file: Blob): Promise<string>;
91
+ /**
92
+ * Turn a `data:` URL back into a File — the other half of `promptFileToDataUrl`:
93
+ *
94
+ * restoreAttachment={(f) => f.ref ? promptDataUrlToFile(f.ref, f.name, f.type) : undefined}
95
+ *
96
+ * Synchronous, so the restored draft has its Files on the first render.
97
+ * `undefined` for anything that is not a `data:` URL.
98
+ */
99
+ declare function promptDataUrlToFile(dataUrl: string, name: string, type?: string): File | undefined;
4
100
 
5
101
  /**
6
102
  * Which modifier key the user actually has.
@@ -98,6 +194,12 @@ type PromptAttachment = {
98
194
  file?: File;
99
195
  /** MIME type. Hosts branch on this to decide whether a file can be sent as-is. */
100
196
  type?: string;
197
+ /**
198
+ * The host's handle for the stored bytes, from `persistAttachment`. On an
199
+ * attachment restored from a draft WITHOUT a File, this is how the host finds
200
+ * the bytes to send.
201
+ */
202
+ ref?: string;
101
203
  };
102
204
  /**
103
205
  * `...rest` reaches the root surface, so a consumer or a bridge can tag the
@@ -108,9 +210,50 @@ type PromptAttachment = {
108
210
  * calls it out: "Each interactive element has a stable identity. Agents never
109
211
  * guess DOM."
110
212
  */
111
- interface PromptInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSubmit" | "className"> {
213
+ interface PromptInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSubmit" | "className" | "onChange" | "defaultValue"> {
112
214
  /** Extra classes on the root surface. MERGED, never replaced. */
113
215
  className?: string;
216
+ /**
217
+ * The text, controlled. With paste pills on it carries a marker per pill
218
+ * (`pasteMarker(id)`), exactly as `Composer`'s `value` does. Pills and
219
+ * attachments stay internal; use `draft` to control those too.
220
+ */
221
+ value?: string;
222
+ /** The starting text, uncontrolled. Ignored when `value` or `draft` is given. */
223
+ defaultValue?: string;
224
+ /**
225
+ * Called with the new text when the PERSON edits it, and with `""` after a
226
+ * send. Not called by `setDraft` or a prop change: the host made those.
227
+ */
228
+ onChange?: (value: string) => void;
229
+ /**
230
+ * The whole draft, controlled: text, paste pills and attachments, as JSON.
231
+ * Wins over `value`. Pair with `onDraftChange`.
232
+ */
233
+ draft?: PromptDraft;
234
+ /** The starting draft, uncontrolled. Wins over `defaultValue`. */
235
+ defaultDraft?: PromptDraft;
236
+ /**
237
+ * Called with the whole draft whenever the person changes any part of it —
238
+ * typing, a paste, an attach, a removal, a send (which empties it) — and when
239
+ * `persistAttachment` resolves a `ref`. Not called by `setDraft`.
240
+ */
241
+ onDraftChange?: (draft: PromptDraft) => void;
242
+ /**
243
+ * Keep an attached file somewhere and return a handle for it (a storage key, an
244
+ * upload URL — or a `data:` URL via `promptFileToDataUrl`). Called once per
245
+ * attached or pasted file; the result becomes the file's `ref` in the draft.
246
+ * May return a Promise; the draft is updated (and `onDraftChange` fires) when it
247
+ * resolves. Omit it and a draft carries file metadata only.
248
+ */
249
+ persistAttachment?: (file: File, entry: PromptDraftFile) => string | undefined | Promise<string | undefined>;
250
+ /**
251
+ * Get a File back for a draft entry restored without one (from `setDraft`,
252
+ * `defaultDraft` or a controlled `draft`). May return a Promise. Return
253
+ * `undefined` when there is none: the chip or pill still shows, and the
254
+ * attachment reaches `onSubmit` with its `ref` and no `file`.
255
+ */
256
+ restoreAttachment?: (entry: PromptDraftFile) => File | undefined | Promise<File | undefined>;
114
257
  /** Token budget for the meter. */
115
258
  budgetTokens: number;
116
259
  /** Slash-commands. Names must start with `/`. */
@@ -203,6 +346,6 @@ interface PromptInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSubmi
203
346
  /** Fraction of `budgetTokens` past which a `"near-limit"` meter takes the warning colour. Default 0.9. */
204
347
  meterWarnAt?: number;
205
348
  }
206
- declare function PromptInput({ budgetTokens, commands, mentions, showHint, platform, onSubmit, placeholder, charsPerToken, mentionColor, maxHeight, aboveInput, className, pasteThreshold, pasteImages, previewChars, renderPastePreview, pasteClassNames, pasteFilesName, attachButton, sendButton, usedTokens, meter, meterShowAt, meterWarnAt, ...rest }: PromptInputProps): react.JSX.Element;
349
+ declare const PromptInput: react.ForwardRefExoticComponent<PromptInputProps & react.RefAttributes<PromptInputHandle>>;
207
350
 
208
- export { type FancyPlatform as F, type PlatformHints as P, type PromptAttachment as a, type PromptCmd as b, PromptInput as c, type PromptInputProps as d, type PromptMention as e, browserPlatformHints as f, detectPlatform as g, modifierKeyLabel as m };
351
+ export { type FancyPlatform as F, type PlatformHints as P, type PromptAttachment as a, type PromptCmd as b, type PromptDraft as c, type PromptDraftFile as d, type PromptDraftPill as e, PromptInput as f, type PromptInputHandle as g, type PromptInputProps as h, type PromptMention as i, type PromptSetDraftOptions as j, browserPlatformHints as k, detectPlatform as l, modifierKeyLabel as m, promptFileToDataUrl as n, promptDataUrlToFile as p };
package/dist/index.cjs CHANGED
@@ -36,7 +36,7 @@ var chunkEZA6GWZL_cjs = require('./chunk-EZA6GWZL.cjs');
36
36
  var chunkKSU6RYWU_cjs = require('./chunk-KSU6RYWU.cjs');
37
37
  var chunkK5MQZTDW_cjs = require('./chunk-K5MQZTDW.cjs');
38
38
  var chunkB4YV2V7G_cjs = require('./chunk-B4YV2V7G.cjs');
39
- var chunkZ6LYBL5L_cjs = require('./chunk-Z6LYBL5L.cjs');
39
+ var chunkMCQWTOTV_cjs = require('./chunk-MCQWTOTV.cjs');
40
40
  var chunkOASSZI6M_cjs = require('./chunk-OASSZI6M.cjs');
41
41
  require('./chunk-I27K6NLX.cjs');
42
42
  var chunkAQ4DZT4Y_cjs = require('./chunk-AQ4DZT4Y.cjs');
@@ -52,10 +52,10 @@ var chunkSSCW67KA_cjs = require('./chunk-SSCW67KA.cjs');
52
52
  var chunk7QENPLOP_cjs = require('./chunk-7QENPLOP.cjs');
53
53
  var chunkAYBKPAI2_cjs = require('./chunk-AYBKPAI2.cjs');
54
54
  var chunk6MXFZ3B5_cjs = require('./chunk-6MXFZ3B5.cjs');
55
- var chunk4XHG6Q42_cjs = require('./chunk-4XHG6Q42.cjs');
55
+ var chunk7HXFEYOV_cjs = require('./chunk-7HXFEYOV.cjs');
56
56
  var chunk2O5UXH5R_cjs = require('./chunk-2O5UXH5R.cjs');
57
57
  var chunkTLRFXSPA_cjs = require('./chunk-TLRFXSPA.cjs');
58
- var chunkCMC2TOEQ_cjs = require('./chunk-CMC2TOEQ.cjs');
58
+ var chunk6CAXLP7D_cjs = require('./chunk-6CAXLP7D.cjs');
59
59
  var chunkWKPBCB67_cjs = require('./chunk-WKPBCB67.cjs');
60
60
  var chunkS4FXY3B4_cjs = require('./chunk-S4FXY3B4.cjs');
61
61
  var chunkL4JIBKFW_cjs = require('./chunk-L4JIBKFW.cjs');
@@ -99,8 +99,8 @@ var chunkGKLETY7D_cjs = require('./chunk-GKLETY7D.cjs');
99
99
  var chunkUJRMY54A_cjs = require('./chunk-UJRMY54A.cjs');
100
100
  var chunkTXTRTTG7_cjs = require('./chunk-TXTRTTG7.cjs');
101
101
  var chunkFQZE5N2N_cjs = require('./chunk-FQZE5N2N.cjs');
102
- var chunkTQGRXJ74_cjs = require('./chunk-TQGRXJ74.cjs');
103
- var chunkQNQNGARW_cjs = require('./chunk-QNQNGARW.cjs');
102
+ var chunk7FYRFNPX_cjs = require('./chunk-7FYRFNPX.cjs');
103
+ var chunkHFK5SBNM_cjs = require('./chunk-HFK5SBNM.cjs');
104
104
  var chunkMKGWHSNV_cjs = require('./chunk-MKGWHSNV.cjs');
105
105
  var chunkR6URPHEP_cjs = require('./chunk-R6URPHEP.cjs');
106
106
  require('./chunk-KJ22KE56.cjs');
@@ -373,19 +373,27 @@ Object.defineProperty(exports, "Progress", {
373
373
  });
374
374
  Object.defineProperty(exports, "PromptInput", {
375
375
  enumerable: true,
376
- get: function () { return chunkZ6LYBL5L_cjs.PromptInput; }
376
+ get: function () { return chunkMCQWTOTV_cjs.PromptInput; }
377
377
  });
378
378
  Object.defineProperty(exports, "browserPlatformHints", {
379
379
  enumerable: true,
380
- get: function () { return chunkZ6LYBL5L_cjs.browserPlatformHints; }
380
+ get: function () { return chunkMCQWTOTV_cjs.browserPlatformHints; }
381
381
  });
382
382
  Object.defineProperty(exports, "detectPlatform", {
383
383
  enumerable: true,
384
- get: function () { return chunkZ6LYBL5L_cjs.detectPlatform; }
384
+ get: function () { return chunkMCQWTOTV_cjs.detectPlatform; }
385
385
  });
386
386
  Object.defineProperty(exports, "modifierKeyLabel", {
387
387
  enumerable: true,
388
- get: function () { return chunkZ6LYBL5L_cjs.modifierKeyLabel; }
388
+ get: function () { return chunkMCQWTOTV_cjs.modifierKeyLabel; }
389
+ });
390
+ Object.defineProperty(exports, "promptDataUrlToFile", {
391
+ enumerable: true,
392
+ get: function () { return chunkMCQWTOTV_cjs.promptDataUrlToFile; }
393
+ });
394
+ Object.defineProperty(exports, "promptFileToDataUrl", {
395
+ enumerable: true,
396
+ get: function () { return chunkMCQWTOTV_cjs.promptFileToDataUrl; }
389
397
  });
390
398
  Object.defineProperty(exports, "Tooltip", {
391
399
  enumerable: true,
@@ -481,51 +489,51 @@ Object.defineProperty(exports, "textareaAdapter", {
481
489
  });
482
490
  Object.defineProperty(exports, "JSON_FIELD_TYPES", {
483
491
  enumerable: true,
484
- get: function () { return chunk4XHG6Q42_cjs.JSON_FIELD_TYPES; }
492
+ get: function () { return chunk7HXFEYOV_cjs.JSON_FIELD_TYPES; }
485
493
  });
486
494
  Object.defineProperty(exports, "JsonEditor", {
487
495
  enumerable: true,
488
- get: function () { return chunk4XHG6Q42_cjs.JsonEditor; }
496
+ get: function () { return chunk7HXFEYOV_cjs.JsonEditor; }
489
497
  });
490
498
  Object.defineProperty(exports, "applyJsonEdit", {
491
499
  enumerable: true,
492
- get: function () { return chunk4XHG6Q42_cjs.applyJsonEdit; }
500
+ get: function () { return chunk7HXFEYOV_cjs.applyJsonEdit; }
493
501
  });
494
502
  Object.defineProperty(exports, "describeEdit", {
495
503
  enumerable: true,
496
- get: function () { return chunk4XHG6Q42_cjs.describeEdit; }
504
+ get: function () { return chunk7HXFEYOV_cjs.describeEdit; }
497
505
  });
498
506
  Object.defineProperty(exports, "findJsonConflicts", {
499
507
  enumerable: true,
500
- get: function () { return chunk4XHG6Q42_cjs.findJsonConflicts; }
508
+ get: function () { return chunk7HXFEYOV_cjs.findJsonConflicts; }
501
509
  });
502
510
  Object.defineProperty(exports, "getAtPath", {
503
511
  enumerable: true,
504
- get: function () { return chunk4XHG6Q42_cjs.getAtPath; }
512
+ get: function () { return chunk7HXFEYOV_cjs.getAtPath; }
505
513
  });
506
514
  Object.defineProperty(exports, "inferType", {
507
515
  enumerable: true,
508
- get: function () { return chunk4XHG6Q42_cjs.inferType; }
516
+ get: function () { return chunk7HXFEYOV_cjs.inferType; }
509
517
  });
510
518
  Object.defineProperty(exports, "parseKeyMap", {
511
519
  enumerable: true,
512
- get: function () { return chunk4XHG6Q42_cjs.parseKeyMap; }
520
+ get: function () { return chunk7HXFEYOV_cjs.parseKeyMap; }
513
521
  });
514
522
  Object.defineProperty(exports, "parsePath", {
515
523
  enumerable: true,
516
- get: function () { return chunk4XHG6Q42_cjs.parsePath; }
524
+ get: function () { return chunk7HXFEYOV_cjs.parsePath; }
517
525
  });
518
526
  Object.defineProperty(exports, "pathToString", {
519
527
  enumerable: true,
520
- get: function () { return chunk4XHG6Q42_cjs.pathToString; }
528
+ get: function () { return chunk7HXFEYOV_cjs.pathToString; }
521
529
  });
522
530
  Object.defineProperty(exports, "resolveKeyRule", {
523
531
  enumerable: true,
524
- get: function () { return chunk4XHG6Q42_cjs.resolveKeyRule; }
532
+ get: function () { return chunk7HXFEYOV_cjs.resolveKeyRule; }
525
533
  });
526
534
  Object.defineProperty(exports, "typeMatches", {
527
535
  enumerable: true,
528
- get: function () { return chunk4XHG6Q42_cjs.typeMatches; }
536
+ get: function () { return chunk7HXFEYOV_cjs.typeMatches; }
529
537
  });
530
538
  Object.defineProperty(exports, "Switch", {
531
539
  enumerable: true,
@@ -537,7 +545,7 @@ Object.defineProperty(exports, "DatePicker", {
537
545
  });
538
546
  Object.defineProperty(exports, "Input", {
539
547
  enumerable: true,
540
- get: function () { return chunkCMC2TOEQ_cjs.Input; }
548
+ get: function () { return chunk6CAXLP7D_cjs.Input; }
541
549
  });
542
550
  Object.defineProperty(exports, "Select", {
543
551
  enumerable: true,
@@ -789,27 +797,27 @@ Object.defineProperty(exports, "useAnimation", {
789
797
  });
790
798
  Object.defineProperty(exports, "Composer", {
791
799
  enumerable: true,
792
- get: function () { return chunkTQGRXJ74_cjs.Composer; }
800
+ get: function () { return chunk7FYRFNPX_cjs.Composer; }
793
801
  });
794
802
  Object.defineProperty(exports, "InlinePasteEditor", {
795
803
  enumerable: true,
796
- get: function () { return chunkQNQNGARW_cjs.InlinePasteEditor; }
804
+ get: function () { return chunkHFK5SBNM_cjs.InlinePasteEditor; }
797
805
  });
798
806
  Object.defineProperty(exports, "PastedFilesInput", {
799
807
  enumerable: true,
800
- get: function () { return chunkQNQNGARW_cjs.PastedFilesInput; }
808
+ get: function () { return chunkHFK5SBNM_cjs.PastedFilesInput; }
801
809
  });
802
810
  Object.defineProperty(exports, "pasteMarker", {
803
811
  enumerable: true,
804
- get: function () { return chunkQNQNGARW_cjs.pasteMarker; }
812
+ get: function () { return chunkHFK5SBNM_cjs.pasteMarker; }
805
813
  });
806
814
  Object.defineProperty(exports, "useInlinePaste", {
807
815
  enumerable: true,
808
- get: function () { return chunkQNQNGARW_cjs.useInlinePaste; }
816
+ get: function () { return chunkHFK5SBNM_cjs.useInlinePaste; }
809
817
  });
810
818
  Object.defineProperty(exports, "usePastePills", {
811
819
  enumerable: true,
812
- get: function () { return chunkQNQNGARW_cjs.usePastePills; }
820
+ get: function () { return chunkHFK5SBNM_cjs.usePastePills; }
813
821
  });
814
822
  Object.defineProperty(exports, "Popover", {
815
823
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -73,8 +73,8 @@ export { FileUpload, FileUploadContextValue, FileUploadDropzoneProps, FileUpload
73
73
  export { TimePicker, TimePickerProps } from './time-picker.cjs';
74
74
  export { Calendar, CalendarDayContext, CalendarMode, CalendarProps, DateRange } from './calendar.cjs';
75
75
  export { Composer, ComposerProps, ComposerSubmitExtras } from './composer.cjs';
76
- export { a as ComposerPasteClassNames, C as ComposerPastePreview, H as HeldImage, b as HeldPaste, c as PasteClassNames, d as PasteEventLike, e as PastePreview, U as UsePastePillsOptions, f as UsePastePillsResult, p as pasteMarker, u as usePastePills } from './PastePills.types-CDyotkUb.cjs';
77
- export { I as InlinePasteEditor, a as InlinePasteEditorHandle, P as PastedFilesInput, b as PastedFilesInputProps, U as UseInlinePasteOptions, u as useInlinePaste } from './PastedFilesInput-DQ1eZaHk.cjs';
76
+ export { a as ComposerPasteClassNames, C as ComposerPastePreview, H as HeldImage, b as HeldPaste, c as PasteClassNames, d as PasteEventLike, e as PastePreview, U as UsePastePillsOptions, f as UsePastePillsResult, p as pasteMarker, u as usePastePills } from './PastePills.types-CpXzsuwJ.cjs';
77
+ export { I as InlinePasteEditor, a as InlinePasteEditorHandle, P as PastedFilesInput, b as PastedFilesInputProps, U as UseInlinePasteOptions, u as useInlinePaste } from './PastedFilesInput-CUQeOeOA.cjs';
78
78
  export { Chart, ChartAreaProps, ChartBarData, ChartBarProps, ChartCommonProps, ChartDonutData, ChartDonutProps, ChartHorizontalBarProps, ChartLineProps, ChartPieData, ChartPieProps, ChartSeries, ChartSparklineProps, ChartStackedBarProps } from './chart.cjs';
79
79
  export { Editor, EditorAction, EditorContentProps, EditorContextValue, EditorFullScreenToggleProps, EditorProps, EditorSourceToggleProps, EditorToolbarProps, useEditor } from './editor.cjs';
80
80
  export { CodeView, CodeViewProps } from './code-view.cjs';
@@ -87,7 +87,7 @@ export { Kanban, KanbanCardMoveHandler, KanbanCardProps, KanbanColumnHandleProps
87
87
  export { DropPosition, TreeNav, TreeNavContextValue, TreeNavProps, TreeNodeData, TreeNodeProps, useTreeNav } from './tree-nav.cjs';
88
88
  export { FileBrowser, FileBrowserContextValue, FileBrowserNewFolder, FileBrowserNodeProps, FileBrowserPathBarProps, FileBrowserProps, FileBrowserProvider, FileBrowserRow, FileBrowserToolbarProps, FileBrowserTreeProps, FileEntry, FileKind, FileLoadStatus, FileSelectMode, FileSnapshotNode, FileSort, FileSortDirection, FileSortField, useFileBrowser, validateFolderName } from './file-browser.cjs';
89
89
  export { M as MediaKind, a as MediaViewer, b as MediaViewerProps, R as ResolveMediaTypeInput, r as resolveMediaType } from './index-WG8UdfiE.cjs';
90
- export { F as FancyPlatform, P as PlatformHints, a as PromptAttachment, b as PromptCmd, c as PromptInput, d as PromptInputProps, e as PromptMention, f as browserPlatformHints, g as detectPlatform, m as modifierKeyLabel } from './index-BF5qsQur.cjs';
90
+ export { F as FancyPlatform, P as PlatformHints, a as PromptAttachment, b as PromptCmd, c as PromptDraft, d as PromptDraftFile, e as PromptDraftPill, f as PromptInput, g as PromptInputHandle, h as PromptInputProps, i as PromptMention, j as PromptSetDraftOptions, k as browserPlatformHints, l as detectPlatform, m as modifierKeyLabel, p as promptDataUrlToFile, n as promptFileToDataUrl } from './index-DWtSViJ3.cjs';
91
91
  import { P as Placement } from './types-DJI492iY.cjs';
92
92
  export { A as ActionColor, B as ButtonColor, C as Color, S as Size, V as Variant } from './types-DJI492iY.cjs';
93
93
  import { RefObject } from 'react';
package/dist/index.d.ts CHANGED
@@ -73,8 +73,8 @@ export { FileUpload, FileUploadContextValue, FileUploadDropzoneProps, FileUpload
73
73
  export { TimePicker, TimePickerProps } from './time-picker.js';
74
74
  export { Calendar, CalendarDayContext, CalendarMode, CalendarProps, DateRange } from './calendar.js';
75
75
  export { Composer, ComposerProps, ComposerSubmitExtras } from './composer.js';
76
- export { a as ComposerPasteClassNames, C as ComposerPastePreview, H as HeldImage, b as HeldPaste, c as PasteClassNames, d as PasteEventLike, e as PastePreview, U as UsePastePillsOptions, f as UsePastePillsResult, p as pasteMarker, u as usePastePills } from './PastePills.types-CDyotkUb.js';
77
- export { I as InlinePasteEditor, a as InlinePasteEditorHandle, P as PastedFilesInput, b as PastedFilesInputProps, U as UseInlinePasteOptions, u as useInlinePaste } from './PastedFilesInput-CrgNoEBd.js';
76
+ export { a as ComposerPasteClassNames, C as ComposerPastePreview, H as HeldImage, b as HeldPaste, c as PasteClassNames, d as PasteEventLike, e as PastePreview, U as UsePastePillsOptions, f as UsePastePillsResult, p as pasteMarker, u as usePastePills } from './PastePills.types-CpXzsuwJ.js';
77
+ export { I as InlinePasteEditor, a as InlinePasteEditorHandle, P as PastedFilesInput, b as PastedFilesInputProps, U as UseInlinePasteOptions, u as useInlinePaste } from './PastedFilesInput-Bt3KSTVN.js';
78
78
  export { Chart, ChartAreaProps, ChartBarData, ChartBarProps, ChartCommonProps, ChartDonutData, ChartDonutProps, ChartHorizontalBarProps, ChartLineProps, ChartPieData, ChartPieProps, ChartSeries, ChartSparklineProps, ChartStackedBarProps } from './chart.js';
79
79
  export { Editor, EditorAction, EditorContentProps, EditorContextValue, EditorFullScreenToggleProps, EditorProps, EditorSourceToggleProps, EditorToolbarProps, useEditor } from './editor.js';
80
80
  export { CodeView, CodeViewProps } from './code-view.js';
@@ -87,7 +87,7 @@ export { Kanban, KanbanCardMoveHandler, KanbanCardProps, KanbanColumnHandleProps
87
87
  export { DropPosition, TreeNav, TreeNavContextValue, TreeNavProps, TreeNodeData, TreeNodeProps, useTreeNav } from './tree-nav.js';
88
88
  export { FileBrowser, FileBrowserContextValue, FileBrowserNewFolder, FileBrowserNodeProps, FileBrowserPathBarProps, FileBrowserProps, FileBrowserProvider, FileBrowserRow, FileBrowserToolbarProps, FileBrowserTreeProps, FileEntry, FileKind, FileLoadStatus, FileSelectMode, FileSnapshotNode, FileSort, FileSortDirection, FileSortField, useFileBrowser, validateFolderName } from './file-browser.js';
89
89
  export { M as MediaKind, a as MediaViewer, b as MediaViewerProps, R as ResolveMediaTypeInput, r as resolveMediaType } from './index-BiyyxWtb.js';
90
- export { F as FancyPlatform, P as PlatformHints, a as PromptAttachment, b as PromptCmd, c as PromptInput, d as PromptInputProps, e as PromptMention, f as browserPlatformHints, g as detectPlatform, m as modifierKeyLabel } from './index-BZON-gXr.js';
90
+ export { F as FancyPlatform, P as PlatformHints, a as PromptAttachment, b as PromptCmd, c as PromptDraft, d as PromptDraftFile, e as PromptDraftPill, f as PromptInput, g as PromptInputHandle, h as PromptInputProps, i as PromptMention, j as PromptSetDraftOptions, k as browserPlatformHints, l as detectPlatform, m as modifierKeyLabel, p as promptDataUrlToFile, n as promptFileToDataUrl } from './index-XR5t8bTq.js';
91
91
  import { P as Placement } from './types-DJI492iY.js';
92
92
  export { A as ActionColor, B as ButtonColor, C as Color, S as Size, V as Variant } from './types-DJI492iY.js';
93
93
  import { RefObject } from 'react';
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ export { Sidebar, useSidebar } from './chunk-YJHP5FVA.js';
34
34
  export { Pillbox } from './chunk-G35XN5WV.js';
35
35
  export { Profile } from './chunk-GOE36IXL.js';
36
36
  export { Progress } from './chunk-UE3QO7R3.js';
37
- export { PromptInput, browserPlatformHints, detectPlatform, modifierKeyLabel } from './chunk-BTNF3QBR.js';
37
+ export { PromptInput, browserPlatformHints, detectPlatform, modifierKeyLabel, promptDataUrlToFile, promptFileToDataUrl } from './chunk-J44EV6SP.js';
38
38
  export { Tooltip } from './chunk-GR2WKBER.js';
39
39
  import './chunk-SV5BW3IA.js';
40
40
  export { MediaViewer, resolveMediaType } from './chunk-5PHPJL7Z.js';
@@ -50,10 +50,10 @@ export { Pagination } from './chunk-LKN7FYW6.js';
50
50
  export { ImageViewer } from './chunk-ICMLLZKZ.js';
51
51
  export { IndexList } from './chunk-BLOX7MRO.js';
52
52
  export { InputTag, contentEditableAdapter, controlledAdapter, inputAdapter, textareaAdapter } from './chunk-BX7EDTL4.js';
53
- export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-SZH7TFME.js';
53
+ export { JSON_FIELD_TYPES, JsonEditor, applyJsonEdit, describeEdit, findJsonConflicts, getAtPath, inferType, parseKeyMap, parsePath, pathToString, resolveKeyRule, typeMatches } from './chunk-4EUDW2WU.js';
54
54
  export { Switch } from './chunk-DXZCKDYS.js';
55
55
  export { DatePicker } from './chunk-2UTN3EFK.js';
56
- export { Input } from './chunk-MVVHUTXA.js';
56
+ export { Input } from './chunk-B4LVQ4QI.js';
57
57
  export { Select } from './chunk-FVI4JDLA.js';
58
58
  export { Kanban, useKanban } from './chunk-2HPADT4X.js';
59
59
  export { Kbd } from './chunk-OTSVOPKP.js';
@@ -97,8 +97,8 @@ export { ColorPicker } from './chunk-SVSQXKFL.js';
97
97
  export { Command, useCommand } from './chunk-ARO2DNGS.js';
98
98
  export { useFocusTrap } from './chunk-5U2DZ7AV.js';
99
99
  export { useAnimation } from './chunk-3K2CEAI7.js';
100
- export { Composer } from './chunk-ELFTEJBT.js';
101
- export { InlinePasteEditor, PastedFilesInput, pasteMarker, useInlinePaste, usePastePills } from './chunk-NILA2LZY.js';
100
+ export { Composer } from './chunk-QSGAFKK2.js';
101
+ export { InlinePasteEditor, PastedFilesInput, pasteMarker, useInlinePaste, usePastePills } from './chunk-YIKXJWO4.js';
102
102
  export { Popover, usePopover } from './chunk-QTS4Q2NK.js';
103
103
  export { Autocomplete } from './chunk-VZNBTCGA.js';
104
104
  import './chunk-OL53XYHF.js';
package/dist/input.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-QGPMVFZJ.cjs');
4
- var chunkCMC2TOEQ_cjs = require('./chunk-CMC2TOEQ.cjs');
4
+ var chunk6CAXLP7D_cjs = require('./chunk-6CAXLP7D.cjs');
5
5
  require('./chunk-MRZXTL46.cjs');
6
6
  require('./chunk-P53432AK.cjs');
7
7
  require('./chunk-QF7CD4JH.cjs');
8
8
  require('./chunk-O3F6DYWR.cjs');
9
- require('./chunk-QNQNGARW.cjs');
9
+ require('./chunk-HFK5SBNM.cjs');
10
10
  require('./chunk-MKGWHSNV.cjs');
11
11
  require('./chunk-KJ22KE56.cjs');
12
12
  require('./chunk-L3V3BYVS.cjs');
@@ -22,7 +22,7 @@ require('./chunk-ZU5Q77OT.cjs');
22
22
 
23
23
  Object.defineProperty(exports, "Input", {
24
24
  enumerable: true,
25
- get: function () { return chunkCMC2TOEQ_cjs.Input; }
25
+ get: function () { return chunk6CAXLP7D_cjs.Input; }
26
26
  });
27
27
  //# sourceMappingURL=input.cjs.map
28
28
  //# sourceMappingURL=input.cjs.map