@reforma/components 0.3.3 → 0.4.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/Composer/parts.d.ts +1 -1
- package/dist/Composer/parts.d.ts.map +1 -1
- package/dist/Composer/parts.js +102 -98
- package/dist/Composer/parts.js.map +1 -1
- package/dist/Composer/reforma/Composer.module.css +1 -1
- package/dist/Composer/reforma/Composer.module.css.js +24 -22
- package/dist/Composer/reforma/Composer.module.css.js.map +1 -1
- package/dist/Composer/types.d.ts +1 -1
- package/dist/Composer/types.d.ts.map +1 -1
- package/dist/Modal/Modal.d.ts +2 -2
- package/dist/Modal/Modal.d.ts.map +1 -1
- package/dist/Modal/Modal.js +6 -3
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/SettingsLayout/SettingsLayout.d.ts +1 -0
- package/dist/SettingsLayout/SettingsLayout.d.ts.map +1 -1
- package/dist/SettingsLayout/SettingsLayout.js +332 -292
- package/dist/SettingsLayout/SettingsLayout.js.map +1 -1
- package/dist/SettingsLayout/SettingsLayout.module.css +1 -1
- package/dist/SettingsLayout/SettingsLayout.module.css.js +20 -18
- package/dist/SettingsLayout/SettingsLayout.module.css.js.map +1 -1
- package/dist/chat/Attachment/Attachment.d.ts.map +1 -1
- package/dist/chat/Attachment/Attachment.js +14 -16
- package/dist/chat/Attachment/Attachment.js.map +1 -1
- package/dist/chat/Attachment/Attachment.module.css +1 -1
- package/dist/chat/Tool/Tool.d.ts.map +1 -1
- package/dist/chat/Tool/Tool.js +77 -75
- package/dist/chat/Tool/Tool.js.map +1 -1
- package/dist/chat/Tool/agent/AgentTool.d.ts.map +1 -1
- package/dist/chat/Tool/agent/AgentTool.js +18 -17
- package/dist/chat/Tool/agent/AgentTool.js.map +1 -1
- package/dist/chat/Tool/check-page/CheckPageTool.d.ts +4 -0
- package/dist/chat/Tool/check-page/CheckPageTool.d.ts.map +1 -0
- package/dist/chat/Tool/check-page/CheckPageTool.js +75 -0
- package/dist/chat/Tool/check-page/CheckPageTool.js.map +1 -0
- package/dist/chat/Tool/check-page/index.d.ts +2 -0
- package/dist/chat/Tool/check-page/index.d.ts.map +1 -0
- package/dist/chat/Tool/check-page/index.js +5 -0
- package/dist/chat/Tool/check-page/index.js.map +1 -0
- package/dist/index.js +156 -155
- package/dist/modals/ConfirmModal.d.ts +2 -0
- package/dist/modals/ConfirmModal.d.ts.map +1 -1
- package/dist/modals/ConfirmModal.js +88 -60
- package/dist/modals/ConfirmModal.js.map +1 -1
- package/dist/modals/index.d.ts +1 -1
- package/dist/modals/index.d.ts.map +1 -1
- package/dist/modals/index.js +2 -1
- package/dist/openui/functions/index.d.ts +59 -59
- package/dist/openui/functions/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/node_modules/clsx/dist/clsx.js +0 -18
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusable.js +0 -17
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusable.js.map +0 -1
- package/dist/node_modules/react-aria/dist/private/utils/useObjectRef.js +0 -34
- package/dist/node_modules/react-aria/dist/private/utils/useObjectRef.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/errors.js +0 -38
- package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/parse.js +0 -21
- package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/schemas.js +0 -822
- package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
- package/dist/node_modules/zod/v4/core/api.js +0 -561
- package/dist/node_modules/zod/v4/core/api.js.map +0 -1
- package/dist/node_modules/zod/v4/core/checks.js +0 -262
- package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
- package/dist/node_modules/zod/v4/core/core.js +0 -97
- package/dist/node_modules/zod/v4/core/core.js.map +0 -1
- package/dist/node_modules/zod/v4/core/doc.js +0 -35
- package/dist/node_modules/zod/v4/core/doc.js.map +0 -1
- package/dist/node_modules/zod/v4/core/errors.js +0 -79
- package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +0 -308
- package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +0 -1
- package/dist/node_modules/zod/v4/core/memoizer.js +0 -203
- package/dist/node_modules/zod/v4/core/memoizer.js.map +0 -1
- package/dist/node_modules/zod/v4/core/parse.js +0 -113
- package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
- package/dist/node_modules/zod/v4/core/regexes.js +0 -59
- package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
- package/dist/node_modules/zod/v4/core/registries.js +0 -41
- package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
- package/dist/node_modules/zod/v4/core/schemas.js +0 -1104
- package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
- package/dist/node_modules/zod/v4/core/to-json-schema.js +0 -380
- package/dist/node_modules/zod/v4/core/to-json-schema.js.map +0 -1
- package/dist/node_modules/zod/v4/core/util.js +0 -465
- package/dist/node_modules/zod/v4/core/util.js.map +0 -1
- package/dist/node_modules/zod/v4/core/versions.js +0 -9
- package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
- package/dist/node_modules/zod/v4/locales/en.js +0 -97
- package/dist/node_modules/zod/v4/locales/en.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -102,59 +102,59 @@ import { Marker as fp, MarkerContent as up, MarkerIcon as gp } from "./Marker/Ma
|
|
|
102
102
|
import { ModalContext as dp, ModalProvider as cp, useModalContext as Tp } from "./Modal/hooks/useModalProvider.js";
|
|
103
103
|
import { default as hp } from "./Modal/Modal.js";
|
|
104
104
|
import { Dialog as Lp } from "./Modal/Dialog.js";
|
|
105
|
-
import { ConfirmModalContent as Mp,
|
|
106
|
-
import { Popover as
|
|
107
|
-
import { PopoverScroll as
|
|
108
|
-
import { useContextMenu as
|
|
109
|
-
import { DEFAULT_SLOT as
|
|
110
|
-
import { PreviewInput as
|
|
111
|
-
import { Radio as
|
|
112
|
-
import { RadioGroup as
|
|
113
|
-
import { ResizableHandle as
|
|
114
|
-
import { appendTextToDoc as
|
|
115
|
-
import { mentionAttrsFromNode as
|
|
116
|
-
import { RichInput as
|
|
117
|
-
import { SCROLLABLE_OVERLAY_SLOT as
|
|
118
|
-
import { useScrollable as
|
|
119
|
-
import { elementScrollAxisSource as
|
|
120
|
-
import { ScrollChromeBars as
|
|
121
|
-
import { ScrollChromeRoot as
|
|
122
|
-
import { ScrollContainer as
|
|
123
|
-
import { ScrollExpandChevronButton as
|
|
124
|
-
import { useScrollChrome as
|
|
125
|
-
import { Select as
|
|
126
|
-
import { Separator as
|
|
127
|
-
import { SettingsField as
|
|
128
|
-
import { SettingsLayout as
|
|
129
|
-
import { Shimmer as
|
|
130
|
-
import { ShimmerBlock as
|
|
131
|
-
import { Show as
|
|
132
|
-
import { Slot as
|
|
133
|
-
import { SortableList as
|
|
134
|
-
import { Spinner as
|
|
135
|
-
import { SpinnerLabel as
|
|
136
|
-
import { ColorSwatch as
|
|
137
|
-
import { Switch as
|
|
138
|
-
import { Table as
|
|
139
|
-
import { Badge as
|
|
140
|
-
import { Tag as
|
|
141
|
-
import { TagGroup as
|
|
142
|
-
import { Terminal as
|
|
143
|
-
import { inlineLink as
|
|
144
|
-
import { Textarea as
|
|
145
|
-
import { Toast as
|
|
146
|
-
import { ToggleButtonGroup as
|
|
147
|
-
import { HelpTip as
|
|
148
|
-
import { Tooltip as
|
|
149
|
-
import { filterChildren as
|
|
150
|
-
import { parseColorValue as
|
|
151
|
-
import { ClientCommand as
|
|
152
|
-
import { useXterm as
|
|
153
|
-
import { Xterm as
|
|
154
|
-
import { XtermClient as
|
|
155
|
-
import { Text as
|
|
156
|
-
import { useControlledState as
|
|
157
|
-
import { useDefaultLayout as
|
|
105
|
+
import { ConfirmModalContent as Mp, confirmDiscardChanges as bp, openConfirmModal as yp } from "./modals/ConfirmModal.js";
|
|
106
|
+
import { Popover as Gp, PopoverTrigger as Ip } from "./Popover/Popover.js";
|
|
107
|
+
import { PopoverScroll as Dp } from "./Popover/PopoverScroll.js";
|
|
108
|
+
import { useContextMenu as Rp } from "./Popover/useContextMenu.js";
|
|
109
|
+
import { DEFAULT_SLOT as Hp, MenuTrigger as _p, OverlayTriggerStateContext as Up, Pressable as Op, SubmenuTrigger as kp, TextContext as Np } from "react-aria-components";
|
|
110
|
+
import { PreviewInput as Vp } from "./PreviewInput/PreviewInput.js";
|
|
111
|
+
import { Radio as Kp } from "./Radio/Radio.js";
|
|
112
|
+
import { RadioGroup as Xp } from "./Radio/RadioGroup.js";
|
|
113
|
+
import { ResizableHandle as qp, ResizablePanel as Qp, ResizablePanelGroup as Zp } from "./Resizable/Resizable.js";
|
|
114
|
+
import { appendTextToDoc as Jp, docHasList as $p, docHasMentions as oa, docMentions as ea, docToPlainText as ra, emptyComposerDoc as ta, patchMentionInDoc as la, plainTextToDoc as pa, prependMentionInDoc as aa, removeMentionsByIds as ma, upsertMentionInDoc as na } from "./RichInput/composerDoc.js";
|
|
115
|
+
import { mentionAttrsFromNode as sa } from "./RichInput/mentionRender.js";
|
|
116
|
+
import { RichInput as fa } from "./RichInput/RichInput.js";
|
|
117
|
+
import { SCROLLABLE_OVERLAY_SLOT as ga, Scrollable as Ca } from "./Scrollable/Scrollable.js";
|
|
118
|
+
import { useScrollable as ca } from "./Scrollable/scrollable-context.js";
|
|
119
|
+
import { elementScrollAxisSource as Sa } from "./Scrollable/scrollAxisSource.js";
|
|
120
|
+
import { ScrollChromeBars as Aa } from "./Scrollable/ScrollChromeBars.js";
|
|
121
|
+
import { ScrollChromeRoot as Pa } from "./Scrollable/ScrollChromeRoot.js";
|
|
122
|
+
import { ScrollContainer as ba } from "./Scrollable/ScrollContainer.js";
|
|
123
|
+
import { ScrollExpandChevronButton as Fa } from "./Scrollable/ScrollExpandChevronButton.js";
|
|
124
|
+
import { useScrollChrome as Ia } from "./Scrollable/useScrollChrome.js";
|
|
125
|
+
import { Select as Da } from "./Select/Select.js";
|
|
126
|
+
import { Separator as Ra } from "./Separator/Separator.js";
|
|
127
|
+
import { SettingsField as Ha } from "./SettingsField/SettingsField.js";
|
|
128
|
+
import { SettingsLayout as Ua, useSettingsLayout as Oa, useSettingsSave as ka } from "./SettingsLayout/SettingsLayout.js";
|
|
129
|
+
import { Shimmer as wa } from "./Shimmer/Shimmer.js";
|
|
130
|
+
import { ShimmerBlock as za } from "./Shimmer/ShimmerBlock.js";
|
|
131
|
+
import { Show as Wa } from "./Show/Show.js";
|
|
132
|
+
import { Slot as Ya, SlotContext as qa, filterSlots as Qa, useSlotContext as Za, useSlotContextProps as ja } from "./Slot/Slot.js";
|
|
133
|
+
import { SortableList as $a } from "./SortableList/SortableList.js";
|
|
134
|
+
import { Spinner as em } from "./Spinner/Spinner.js";
|
|
135
|
+
import { SpinnerLabel as tm } from "./Spinner/SpinnerLabel.js";
|
|
136
|
+
import { ColorSwatch as pm, ImageSwatch as am, Swatch as mm } from "./Swatch/Swatch.js";
|
|
137
|
+
import { Switch as im } from "./Switch/Switch.js";
|
|
138
|
+
import { Table as xm, TableBody as fm, TableCell as um, TableFooter as gm, TableHead as Cm, TableHeader as dm, TableRow as cm } from "./Table/Table.js";
|
|
139
|
+
import { Badge as Sm } from "./Tag/Badge.js";
|
|
140
|
+
import { Tag as Am } from "./Tag/Tag.js";
|
|
141
|
+
import { TagGroup as Pm } from "./Tag/TagGroup.js";
|
|
142
|
+
import { Terminal as bm, TerminalActionButton as ym, TerminalActions as Fm, TerminalContent as Gm, TerminalContext as Im, TerminalHeader as vm, TerminalStatus as Dm, TerminalTitle as Em } from "./Terminal/Terminal.js";
|
|
143
|
+
import { inlineLink as Bm } from "./Text/index.js";
|
|
144
|
+
import { Textarea as _m } from "./Textarea/Textarea.js";
|
|
145
|
+
import { Toast as Om, ToastRegion as km, toast as Nm } from "./Toast/Toast.js";
|
|
146
|
+
import { ToggleButtonGroup as Vm, ToggleButtonGroupItem as zm, ToggleButtonGroupSelectItem as Km } from "./ToggleButtonGroup/ToggleButtonGroup.js";
|
|
147
|
+
import { HelpTip as Xm } from "./Tooltip/HelpTip.js";
|
|
148
|
+
import { Tooltip as qm, TooltipContent as Qm, TooltipTrigger as Zm } from "./Tooltip/Tooltip.js";
|
|
149
|
+
import { filterChildren as Jm } from "./utils/children.js";
|
|
150
|
+
import { parseColorValue as on } from "./utils/colorValue.js";
|
|
151
|
+
import { ClientCommand as rn, ServerCommand as tn } from "./Xterm/types.js";
|
|
152
|
+
import { useXterm as pn } from "./Xterm/useXterm.js";
|
|
153
|
+
import { Xterm as mn } from "./Xterm/Xterm.js";
|
|
154
|
+
import { XtermClient as sn } from "./Xterm/XtermClient.js";
|
|
155
|
+
import { Text as fn } from "./Text/Text.js";
|
|
156
|
+
import { useControlledState as gn } from "@react-stately/utils";
|
|
157
|
+
import { useDefaultLayout as dn, useGroupRef as cn, usePanelRef as Tn } from "react-resizable-panels";
|
|
158
158
|
export {
|
|
159
159
|
n as ANGLE_PREVIEW_GEOMETRY,
|
|
160
160
|
i as ANGLE_RING_WIDTH,
|
|
@@ -178,7 +178,7 @@ export {
|
|
|
178
178
|
io as Attachments,
|
|
179
179
|
_ as Autocomplete,
|
|
180
180
|
z as Avatar,
|
|
181
|
-
|
|
181
|
+
Sm as Badge,
|
|
182
182
|
W as Box,
|
|
183
183
|
Y as Breadcrumb,
|
|
184
184
|
Q as Button,
|
|
@@ -191,7 +191,7 @@ export {
|
|
|
191
191
|
ho as ChipContent,
|
|
192
192
|
Lo as ChipIcon,
|
|
193
193
|
Xe as ChooseDesignDirectionTool,
|
|
194
|
-
|
|
194
|
+
rn as ClientCommand,
|
|
195
195
|
kr as CodeHighlighter,
|
|
196
196
|
wr as CodeHighlighterDefaultsContext,
|
|
197
197
|
Vr as CodeHighlighterDefaultsProvider,
|
|
@@ -203,7 +203,7 @@ export {
|
|
|
203
203
|
rt as ColorArea,
|
|
204
204
|
lt as ColorInput,
|
|
205
205
|
at as ColorSlider,
|
|
206
|
-
|
|
206
|
+
pm as ColorSwatch,
|
|
207
207
|
xt as ComposerAttachments,
|
|
208
208
|
Uo as ComposerBanner,
|
|
209
209
|
Oo as ComposerBannerStatus,
|
|
@@ -231,7 +231,7 @@ export {
|
|
|
231
231
|
Dt as CopyButton,
|
|
232
232
|
s as DEFAULT_ANGLE_EXPANDED_SIZE,
|
|
233
233
|
x as DEFAULT_ANGLE_PRESETS,
|
|
234
|
-
|
|
234
|
+
Hp as DEFAULT_SLOT,
|
|
235
235
|
qe as DefaultTool,
|
|
236
236
|
Lp as Dialog,
|
|
237
237
|
_t as FileDropOverlay,
|
|
@@ -243,7 +243,7 @@ export {
|
|
|
243
243
|
Vl as GridListHeader,
|
|
244
244
|
zl as GridListItem,
|
|
245
245
|
Kl as GridListSection,
|
|
246
|
-
|
|
246
|
+
Xm as HelpTip,
|
|
247
247
|
ol as Hotkey,
|
|
248
248
|
pl as HoverCard,
|
|
249
249
|
al as HoverCardContent,
|
|
@@ -251,7 +251,7 @@ export {
|
|
|
251
251
|
ul as INPUT_CONTROL_AFFIX,
|
|
252
252
|
Xo as INVISIBLE_PART_TYPES,
|
|
253
253
|
il as Image,
|
|
254
|
-
|
|
254
|
+
am as ImageSwatch,
|
|
255
255
|
gl as Input,
|
|
256
256
|
mr as IntegrationActionCard,
|
|
257
257
|
Ll as LAYOUT_GRID_CELL_KEYS,
|
|
@@ -272,7 +272,7 @@ export {
|
|
|
272
272
|
op as MenuItem,
|
|
273
273
|
ep as MenuSection,
|
|
274
274
|
rp as MenuSeparator,
|
|
275
|
-
|
|
275
|
+
_p as MenuTrigger,
|
|
276
276
|
ce as MessageAssistant,
|
|
277
277
|
Ce as MessageAssistantBody,
|
|
278
278
|
me as MessageFileParts,
|
|
@@ -287,73 +287,73 @@ export {
|
|
|
287
287
|
hp as Modal,
|
|
288
288
|
dp as ModalContext,
|
|
289
289
|
cp as ModalProvider,
|
|
290
|
-
|
|
290
|
+
Up as OverlayTriggerStateContext,
|
|
291
291
|
dl as PasswordInput,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
292
|
+
Gp as Popover,
|
|
293
|
+
Dp as PopoverScroll,
|
|
294
|
+
Ip as PopoverTrigger,
|
|
295
|
+
Op as Pressable,
|
|
296
|
+
Vp as PreviewInput,
|
|
297
297
|
so as PreviewableAttachment,
|
|
298
|
-
|
|
299
|
-
|
|
298
|
+
Kp as Radio,
|
|
299
|
+
Xp as RadioGroup,
|
|
300
300
|
ir as ReadFilesTool,
|
|
301
301
|
De as Reasoning,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
302
|
+
qp as ResizableHandle,
|
|
303
|
+
Qp as ResizablePanel,
|
|
304
|
+
Zp as ResizablePanelGroup,
|
|
305
|
+
fa as RichInput,
|
|
306
|
+
ga as SCROLLABLE_OVERLAY_SLOT,
|
|
307
|
+
Aa as ScrollChromeBars,
|
|
308
|
+
Pa as ScrollChromeRoot,
|
|
309
|
+
ba as ScrollContainer,
|
|
310
|
+
Fa as ScrollExpandChevronButton,
|
|
311
|
+
Ca as Scrollable,
|
|
312
312
|
Tl as SearchInput,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
313
|
+
Da as Select,
|
|
314
|
+
Ra as Separator,
|
|
315
|
+
tn as ServerCommand,
|
|
316
|
+
Ha as SettingsField,
|
|
317
|
+
Ua as SettingsLayout,
|
|
318
|
+
wa as Shimmer,
|
|
319
|
+
za as ShimmerBlock,
|
|
320
|
+
Wa as Show,
|
|
321
|
+
Ya as Slot,
|
|
322
|
+
qa as SlotContext,
|
|
323
|
+
$a as SortableList,
|
|
324
324
|
Oe as Source,
|
|
325
325
|
ke as Sources,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
em as Spinner,
|
|
327
|
+
tm as SpinnerLabel,
|
|
328
|
+
kp as SubmenuTrigger,
|
|
329
|
+
mm as Swatch,
|
|
330
|
+
im as Switch,
|
|
331
331
|
Je as TOOL_INTERRUPTED_MESSAGE,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
332
|
+
xm as Table,
|
|
333
|
+
fm as TableBody,
|
|
334
|
+
um as TableCell,
|
|
335
|
+
gm as TableFooter,
|
|
336
|
+
Cm as TableHead,
|
|
337
|
+
dm as TableHeader,
|
|
338
|
+
cm as TableRow,
|
|
339
|
+
Am as Tag,
|
|
340
|
+
Pm as TagGroup,
|
|
341
|
+
bm as Terminal,
|
|
342
|
+
ym as TerminalActionButton,
|
|
343
|
+
Fm as TerminalActions,
|
|
344
|
+
Gm as TerminalContent,
|
|
345
|
+
Im as TerminalContext,
|
|
346
|
+
vm as TerminalHeader,
|
|
347
|
+
Dm as TerminalStatus,
|
|
348
|
+
Em as TerminalTitle,
|
|
349
|
+
fn as Text,
|
|
350
|
+
Np as TextContext,
|
|
351
|
+
_m as Textarea,
|
|
352
|
+
Om as Toast,
|
|
353
|
+
km as ToastRegion,
|
|
354
|
+
Vm as ToggleButtonGroup,
|
|
355
|
+
zm as ToggleButtonGroupItem,
|
|
356
|
+
Km as ToggleButtonGroupSelectItem,
|
|
357
357
|
Er as Tool,
|
|
358
358
|
xr as ToolHoverCard,
|
|
359
359
|
ur as ToolLineCounts,
|
|
@@ -369,14 +369,14 @@ export {
|
|
|
369
369
|
Ar as ToolShellHeader,
|
|
370
370
|
Gr as ToolShellStatusIcon,
|
|
371
371
|
vr as ToolSummaryBadges,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
372
|
+
qm as Tooltip,
|
|
373
|
+
Qm as TooltipContent,
|
|
374
|
+
Zm as TooltipTrigger,
|
|
375
375
|
hl as UnitInput,
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
mn as Xterm,
|
|
377
|
+
sn as XtermClient,
|
|
378
378
|
f as angleDistance,
|
|
379
|
-
|
|
379
|
+
Jp as appendTextToDoc,
|
|
380
380
|
u as applyAngleValueRange,
|
|
381
381
|
g as applyPresetDegrees,
|
|
382
382
|
C as applyPresetKeepingRevolution,
|
|
@@ -391,6 +391,7 @@ export {
|
|
|
391
391
|
Ro as clipLayerChipLabel,
|
|
392
392
|
pe as collectMessageSources,
|
|
393
393
|
vo as configureScratchRoots,
|
|
394
|
+
bp as confirmDiscardChanges,
|
|
394
395
|
Et as copyText,
|
|
395
396
|
Rt as copyWithFeedback,
|
|
396
397
|
Pl as createLayoutGridAlignmentGlyph,
|
|
@@ -399,17 +400,17 @@ export {
|
|
|
399
400
|
yl as createLayoutGridStretchGlyph,
|
|
400
401
|
Re as defaultStaticThoughtMessage,
|
|
401
402
|
Be as defaultStreamingThoughtMessage,
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
403
|
+
$p as docHasList,
|
|
404
|
+
oa as docHasMentions,
|
|
405
|
+
ea as docMentions,
|
|
406
|
+
ra as docToPlainText,
|
|
407
|
+
Sa as elementScrollAxisSource,
|
|
408
|
+
ta as emptyComposerDoc,
|
|
408
409
|
Ze as fileChangesFromToolParts,
|
|
409
410
|
Bo as fileChipDisplay,
|
|
410
411
|
Ho as fileCite,
|
|
411
|
-
|
|
412
|
-
|
|
412
|
+
Jm as filterChildren,
|
|
413
|
+
Qa as filterSlots,
|
|
413
414
|
c as formatAngle,
|
|
414
415
|
T as formatAngleDisplay,
|
|
415
416
|
S as formatAngleDisplayNumber,
|
|
@@ -426,7 +427,7 @@ export {
|
|
|
426
427
|
M as getPresetForAngle,
|
|
427
428
|
Yo as groupMessageParts,
|
|
428
429
|
tl as hotkeysToSymbols,
|
|
429
|
-
|
|
430
|
+
Bm as inlineLink,
|
|
430
431
|
vl as isLayoutGridCellActionable,
|
|
431
432
|
Dl as isLayoutGridFlexSimpleAlignment,
|
|
432
433
|
$e as isToolInvocationInProgress,
|
|
@@ -439,22 +440,22 @@ export {
|
|
|
439
440
|
rr as lineCountsByPathFromEditingToolPart,
|
|
440
441
|
tr as lineCountsFromEditingToolPart,
|
|
441
442
|
Zl as listBoxItemDataShow,
|
|
442
|
-
|
|
443
|
+
sa as mentionAttrsFromNode,
|
|
443
444
|
Do as normalizeChipPath,
|
|
444
445
|
b as normalizeDegrees,
|
|
445
446
|
El as normalizeLayoutGridCells,
|
|
446
447
|
y as normalizeSignedDegrees,
|
|
447
|
-
|
|
448
|
-
|
|
448
|
+
yp as openConfirmModal,
|
|
449
|
+
on as parseColorValue,
|
|
449
450
|
Rl as parseLayoutGridFlexAlignmentValue,
|
|
450
451
|
Jo as partsFromSegmentGroups,
|
|
451
452
|
$o as partsHaveOpenToolCalls,
|
|
452
453
|
oe as partsRequireUserAction,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
454
|
+
la as patchMentionInDoc,
|
|
455
|
+
pa as plainTextToDoc,
|
|
456
|
+
aa as prependMentionInDoc,
|
|
456
457
|
lr as removeFileLinesRemoved,
|
|
457
|
-
|
|
458
|
+
ma as removeMentionsByIds,
|
|
458
459
|
Rr as renderedToolName,
|
|
459
460
|
F as roundAngleValue,
|
|
460
461
|
ee as segmentMessage,
|
|
@@ -465,12 +466,12 @@ export {
|
|
|
465
466
|
we as subagentActivityLabel,
|
|
466
467
|
Ve as subagentComposerCopy,
|
|
467
468
|
v as toDegrees,
|
|
468
|
-
|
|
469
|
+
Nm as toast,
|
|
469
470
|
pr as toolPathKey,
|
|
470
471
|
el as tooltipWithHotkey,
|
|
471
472
|
Wr as transformerNotationDiff,
|
|
472
473
|
Xr as transformerNotationHighlight,
|
|
473
|
-
|
|
474
|
+
na as upsertMentionInDoc,
|
|
474
475
|
w as useAutocompleteEnterAction,
|
|
475
476
|
lp as useCellEditMode,
|
|
476
477
|
go as useChat,
|
|
@@ -479,26 +480,26 @@ export {
|
|
|
479
480
|
zr as useCodeHighlighterDefaults,
|
|
480
481
|
ot as useCollapsible,
|
|
481
482
|
it as useComposer,
|
|
482
|
-
|
|
483
|
-
|
|
483
|
+
Rp as useContextMenu,
|
|
484
|
+
gn as useControlledState,
|
|
484
485
|
Bt as useCopyFeedback,
|
|
485
|
-
|
|
486
|
+
dn as useDefaultLayout,
|
|
486
487
|
qt as useFileDrag,
|
|
487
488
|
Zt as useFilePaste,
|
|
488
|
-
|
|
489
|
+
cn as useGroupRef,
|
|
489
490
|
ap as useListHoverHighlight,
|
|
490
491
|
Ae as useMessageStreaming,
|
|
491
492
|
Le as useMessageTurn,
|
|
492
493
|
Tp as useModalContext,
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
494
|
+
Tn as usePanelRef,
|
|
495
|
+
Ia as useScrollChrome,
|
|
496
|
+
ca as useScrollable,
|
|
497
|
+
Oa as useSettingsLayout,
|
|
498
|
+
ka as useSettingsSave,
|
|
499
|
+
Za as useSlotContext,
|
|
500
|
+
ja as useSlotContextProps,
|
|
500
501
|
Jt as useStickToBottom,
|
|
501
502
|
_e as useThoughtDuration,
|
|
502
|
-
|
|
503
|
+
pn as useXterm
|
|
503
504
|
};
|
|
504
505
|
//# sourceMappingURL=index.js.map
|
|
@@ -11,6 +11,8 @@ export type OpenConfirmModalOptions = {
|
|
|
11
11
|
destructive?: boolean;
|
|
12
12
|
onConfirm: () => void | Promise<void>;
|
|
13
13
|
};
|
|
14
|
+
/** Discard dialog for a dirty form. Resolves true only when the person discards. */
|
|
15
|
+
export declare function confirmDiscardChanges(): Promise<boolean>;
|
|
14
16
|
export declare function openConfirmModal(options: OpenConfirmModalOptions, modalOptions?: ModalOptionsRaw): Modal<import("..").ModalOptions<any>>;
|
|
15
17
|
export declare function ConfirmModalContent({ title, message, confirmLabel, cancelLabel, showCancel, destructive, onConfirm, }: OpenConfirmModalOptions): import("react").JSX.Element;
|
|
16
18
|
//# sourceMappingURL=ConfirmModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../src/modals/ConfirmModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAmB,MAAM,UAAU,CAAC;AAKlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzC,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../src/modals/ConfirmModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAmB,MAAM,UAAU,CAAC;AAKlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzC,CAAC;AAgBF,oFAAoF;AACpF,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC,CAsCxD;AAED,wBAAgB,gBAAgB,CAC5B,OAAO,EAAE,uBAAuB,EAChC,YAAY,CAAC,EAAE,eAAe,yCAOjC;AAED,wBAAgB,mBAAmB,CAAC,EAChC,KAAK,EACL,OAAO,EACP,YAAwB,EACxB,WAAsB,EACtB,UAAiB,EACjB,WAAW,EACX,SAAS,GACZ,EAAE,uBAAuB,+BAoFzB"}
|