@arbidocs/blocks 0.4.108 → 0.4.110
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/{NativeDocxEditor-UAZUKZ77.js → NativeDocxEditor-4PY4YZYC.js} +3 -3
- package/dist/{NativeDocxEditor-UAZUKZ77.js.map → NativeDocxEditor-4PY4YZYC.js.map} +1 -1
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs → NativeDocxEditor-WODZAURG.cjs} +7 -7
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs.map → NativeDocxEditor-WODZAURG.cjs.map} +1 -1
- package/dist/agents/index.cjs +286 -286
- package/dist/agents/index.js +10 -10
- package/dist/agents/tasks/ConversationListView.d.ts +5 -1
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +5 -1
- package/dist/calendar/EventDetails.d.ts +1 -1
- package/dist/calendar/index.cjs +13 -0
- package/dist/calendar/index.cjs.map +1 -1
- package/dist/calendar/index.js +13 -0
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/types.d.ts +3 -0
- package/dist/calls/CallSidePanel.d.ts +17 -0
- package/dist/calls/CallStage.d.ts +57 -0
- package/dist/calls/ControlBar.d.ts +91 -0
- package/dist/calls/ControlButton.d.ts +44 -0
- package/dist/calls/PreJoin.d.ts +31 -0
- package/dist/calls/cards.d.ts +54 -0
- package/dist/calls/hooks.d.ts +20 -0
- package/dist/calls/index.cjs +1853 -0
- package/dist/calls/index.cjs.map +1 -0
- package/dist/calls/index.d.ts +20 -0
- package/dist/calls/index.js +1737 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/join-choices.d.ts +11 -0
- package/dist/calls/layout.d.ts +106 -0
- package/dist/calls/panels.d.ts +55 -0
- package/dist/calls/status.d.ts +69 -0
- package/dist/calls/tiles.d.ts +59 -0
- package/dist/chat/Message.d.ts +17 -2
- package/dist/chat/TranscriptLine.d.ts +50 -0
- package/dist/chat/index.cjs +147 -126
- package/dist/chat/index.d.ts +3 -1
- package/dist/chat/index.js +5 -4
- package/dist/chat/transcript-runs.d.ts +6 -0
- package/dist/{chunk-QT6EGMAJ.cjs → chunk-2NIL2ASF.cjs} +38 -294
- package/dist/chunk-2NIL2ASF.cjs.map +1 -0
- package/dist/{chunk-XMBYDLZQ.cjs → chunk-2UAJVK3C.cjs} +4 -4
- package/dist/{chunk-XMBYDLZQ.cjs.map → chunk-2UAJVK3C.cjs.map} +1 -1
- package/dist/{chunk-TTXK62YI.cjs → chunk-54WBIVHV.cjs} +5 -5
- package/dist/{chunk-TTXK62YI.cjs.map → chunk-54WBIVHV.cjs.map} +1 -1
- package/dist/{chunk-7C35WXYB.js → chunk-5HFPRI3W.js} +5 -5
- package/dist/chunk-5HFPRI3W.js.map +1 -0
- package/dist/{chunk-S7RHJI5Q.js → chunk-6RHHMBZ5.js} +158 -5
- package/dist/chunk-6RHHMBZ5.js.map +1 -0
- package/dist/{chunk-3Y6NQIDE.js → chunk-A35KT2II.js} +37 -19
- package/dist/chunk-A35KT2II.js.map +1 -0
- package/dist/{chunk-PGDL26TQ.js → chunk-AY32GGKU.js} +10 -4
- package/dist/{chunk-PGDL26TQ.js.map → chunk-AY32GGKU.js.map} +1 -1
- package/dist/{chunk-IXALYQT7.cjs → chunk-C2CWWEHO.cjs} +2 -2
- package/dist/chunk-C2CWWEHO.cjs.map +1 -0
- package/dist/{chunk-S55VDTX3.js → chunk-CECWAIHL.js} +3 -3
- package/dist/{chunk-S55VDTX3.js.map → chunk-CECWAIHL.js.map} +1 -1
- package/dist/{chunk-XQDM6T6C.js → chunk-CXZ7FPTQ.js} +3 -3
- package/dist/{chunk-XQDM6T6C.js.map → chunk-CXZ7FPTQ.js.map} +1 -1
- package/dist/{chunk-C2HRZSAT.cjs → chunk-DJM7DLCT.cjs} +5 -5
- package/dist/chunk-DJM7DLCT.cjs.map +1 -0
- package/dist/{chunk-XQKGYGCJ.js → chunk-DQCYCEDR.js} +3 -3
- package/dist/{chunk-XQKGYGCJ.js.map → chunk-DQCYCEDR.js.map} +1 -1
- package/dist/{chunk-ZYSY4L5L.cjs → chunk-ELDUWTRR.cjs} +4 -4
- package/dist/{chunk-ZYSY4L5L.cjs.map → chunk-ELDUWTRR.cjs.map} +1 -1
- package/dist/{chunk-A2MN2ZLX.js → chunk-GKDWQLVU.js} +13 -274
- package/dist/chunk-GKDWQLVU.js.map +1 -0
- package/dist/{chunk-24ND4S6Y.cjs → chunk-HBBJYRGI.cjs} +162 -5
- package/dist/{chunk-S7RHJI5Q.js.map → chunk-HBBJYRGI.cjs.map} +1 -1
- package/dist/{chunk-P2KPDPFF.js → chunk-IXTQYFIF.js} +23 -15
- package/dist/chunk-IXTQYFIF.js.map +1 -0
- package/dist/{chunk-JQVPGMLU.js → chunk-JB32KYAH.js} +3 -3
- package/dist/{chunk-JQVPGMLU.js.map → chunk-JB32KYAH.js.map} +1 -1
- package/dist/{chunk-PBS5MFIY.cjs → chunk-JK45LSIH.cjs} +3 -3
- package/dist/{chunk-PBS5MFIY.cjs.map → chunk-JK45LSIH.cjs.map} +1 -1
- package/dist/chunk-MWDW5UBW.cjs +199 -0
- package/dist/chunk-MWDW5UBW.cjs.map +1 -0
- package/dist/{chunk-ZPLG7QYF.js → chunk-N5YEF3LC.js} +2 -2
- package/dist/chunk-N5YEF3LC.js.map +1 -0
- package/dist/{chunk-EWSEQEPL.js → chunk-NRUPUDWB.js} +17 -7
- package/dist/chunk-NRUPUDWB.js.map +1 -0
- package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-EGDWNEAG.js → chunk-PEHLUB52.js} +3 -3
- package/dist/{chunk-EGDWNEAG.js.map → chunk-PEHLUB52.js.map} +1 -1
- package/dist/{chunk-W7NZRZ54.js → chunk-SQNAJPNR.js} +4 -4
- package/dist/{chunk-W7NZRZ54.js.map → chunk-SQNAJPNR.js.map} +1 -1
- package/dist/{chunk-DTBSGG36.cjs → chunk-U6MPHCEB.cjs} +24 -16
- package/dist/chunk-U6MPHCEB.cjs.map +1 -0
- package/dist/{chunk-MP6FK43E.cjs → chunk-VP4KJ4LK.cjs} +17 -6
- package/dist/chunk-VP4KJ4LK.cjs.map +1 -0
- package/dist/{chunk-LLFW2T6S.cjs → chunk-VZKBI2KJ.cjs} +85 -67
- package/dist/chunk-VZKBI2KJ.cjs.map +1 -0
- package/dist/{chunk-5YXG342J.cjs → chunk-W7ZDBPJ3.cjs} +4 -4
- package/dist/{chunk-5YXG342J.cjs.map → chunk-W7ZDBPJ3.cjs.map} +1 -1
- package/dist/{chunk-SKSE4OT6.cjs → chunk-WPVIOGDG.cjs} +5 -5
- package/dist/{chunk-SKSE4OT6.cjs.map → chunk-WPVIOGDG.cjs.map} +1 -1
- package/dist/{chunk-3US5OIDQ.cjs → chunk-XSUOEJB3.cjs} +9 -3
- package/dist/chunk-XSUOEJB3.cjs.map +1 -0
- package/dist/chunk-Z3AZ7Q5X.js +177 -0
- package/dist/chunk-Z3AZ7Q5X.js.map +1 -0
- package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/citations/index.cjs +10 -10
- package/dist/citations/index.js +1 -1
- package/dist/collaboration/index.cjs +57 -57
- package/dist/collaboration/index.js +3 -3
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +87 -87
- package/dist/connect/index.js +16 -16
- package/dist/databases/index.cjs +2 -2
- package/dist/databases/index.js +1 -1
- package/dist/docx/definitions/fragment.d.ts +2 -6
- package/dist/docx/definitions/port.d.ts +2 -57
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/docx/references/commands.d.ts +3 -31
- package/dist/docx/references/numbering.d.ts +3 -47
- package/dist/facts/index.cjs +5 -5
- package/dist/facts/index.js +4 -4
- package/dist/files/GridView.d.ts +4 -1
- package/dist/files/TagPassagePanel.d.ts +2 -0
- package/dist/files/index.cjs +89 -79
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +88 -78
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +739 -718
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -21
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/FirmPool.d.ts +45 -0
- package/dist/settings/index.cjs +134 -37
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +100 -6
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +12 -12
- package/dist/shell/index.js +4 -4
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/index.cjs +53 -53
- package/dist/workflow-canvas/index.js +10 -10
- package/dist/workspaces/index.cjs +3 -3
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +3 -3
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +356 -0
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js +338 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -0
- package/node_modules/@arbidocs/coedit/package.json +6 -1
- package/package.json +15 -5
- package/src/calls/calls.css +157 -0
- package/dist/chunk-24ND4S6Y.cjs.map +0 -1
- package/dist/chunk-3US5OIDQ.cjs.map +0 -1
- package/dist/chunk-3Y6NQIDE.js.map +0 -1
- package/dist/chunk-7C35WXYB.js.map +0 -1
- package/dist/chunk-A2MN2ZLX.js.map +0 -1
- package/dist/chunk-C2HRZSAT.cjs.map +0 -1
- package/dist/chunk-DTBSGG36.cjs.map +0 -1
- package/dist/chunk-EWSEQEPL.js.map +0 -1
- package/dist/chunk-IXALYQT7.cjs.map +0 -1
- package/dist/chunk-LLFW2T6S.cjs.map +0 -1
- package/dist/chunk-MP6FK43E.cjs.map +0 -1
- package/dist/chunk-P2KPDPFF.js.map +0 -1
- package/dist/chunk-QT6EGMAJ.cjs.map +0 -1
- package/dist/chunk-ZPLG7QYF.js.map +0 -1
package/dist/files/index.js
CHANGED
|
@@ -3,24 +3,24 @@ import { ModalBreadcrumbHeader } from '../chunk-RC6VTY2H.js';
|
|
|
3
3
|
export { DEFAULT_FOLDER_FILTER_LABELS, DEFAULT_FOLDER_PICKER_LABELS, FilesFilterBar, FilesModalFooter, FilesTagsButton, FilesViewCenter, FolderCommandList, FolderFilterButton, FolderPickerRow, FolderTree } from '../chunk-7RJTEWYM.js';
|
|
4
4
|
export { ViewerHeaderEnd, ViewerHeaderStart, ViewerPane, ViewerRenderedPane, ViewerStatusNote } from '../chunk-ODWCTAH7.js';
|
|
5
5
|
export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, ViewToggle } from '../chunk-JJA6GQKH.js';
|
|
6
|
+
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
6
7
|
import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
|
|
7
8
|
export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
|
|
8
9
|
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
10
|
+
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
9
11
|
export { UploadDropzone } from '../chunk-EVUEIBNU.js';
|
|
10
12
|
import { TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
|
|
13
|
+
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
|
|
11
14
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
12
15
|
export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
13
16
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
14
|
-
import {
|
|
17
|
+
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
18
|
+
export { GridView } from '../chunk-N5YEF3LC.js';
|
|
19
|
+
import '../chunk-SLSBJRWW.js';
|
|
15
20
|
import '../chunk-NPLYHR2E.js';
|
|
21
|
+
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
16
22
|
import '../chunk-76JDDMSP.js';
|
|
17
23
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
18
|
-
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
19
|
-
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
|
|
20
|
-
import { GridView } from '../chunk-ZPLG7QYF.js';
|
|
21
|
-
export { GridView } from '../chunk-ZPLG7QYF.js';
|
|
22
|
-
import '../chunk-SLSBJRWW.js';
|
|
23
|
-
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
24
24
|
import '../chunk-VUNV25KB.js';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
|
26
26
|
import { cn, Popover, PopoverTrigger, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, Tooltip, TooltipTrigger, TooltipContent, Button, Progress, Badge, RadioGroup, RadioGroupItem, Label, ScrollArea, Checkbox, Dialog, DialogContent, DialogTitle, DialogDescription, TooltipProvider, IconToggle, Textarea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuSeparator, DropdownMenuItem, DialogTrigger, Input, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, DialogHeader, CommandSeparator, getTagTypeIcon, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, Switch } from '@arbidocs/react/ui';
|
|
@@ -2619,82 +2619,92 @@ function TagPassagePanel({
|
|
|
2619
2619
|
group.tags.map((tag) => {
|
|
2620
2620
|
const hasNote2 = !!tag.note;
|
|
2621
2621
|
const isEditing = editingNoteTagId === tag.id;
|
|
2622
|
-
return /* @__PURE__ */ jsxs(
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2622
|
+
return /* @__PURE__ */ jsxs(
|
|
2623
|
+
"div",
|
|
2624
|
+
{
|
|
2625
|
+
className: "border-b border-border last:border-b-0",
|
|
2626
|
+
"data-testid": prefixedTestId(testIds?.row, tag.id, {
|
|
2627
|
+
testId: `chunk-tag-row-${tag.id}`
|
|
2628
|
+
}),
|
|
2629
|
+
children: [
|
|
2630
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center transition-colors hover:bg-muted", children: [
|
|
2631
|
+
/* @__PURE__ */ jsxs(
|
|
2632
|
+
"button",
|
|
2633
|
+
{
|
|
2634
|
+
onClick: () => onToggle(tag.id),
|
|
2635
|
+
disabled: isBusy,
|
|
2636
|
+
className: "flex flex-1 items-center gap-3 px-4 py-3 disabled:opacity-50 pointer-coarse:min-h-11",
|
|
2637
|
+
children: [
|
|
2638
|
+
/* @__PURE__ */ jsx(
|
|
2639
|
+
"div",
|
|
2640
|
+
{
|
|
2641
|
+
className: "flex size-5 shrink-0 items-center justify-center rounded border-2",
|
|
2642
|
+
style: {
|
|
2643
|
+
borderColor: tag.color,
|
|
2644
|
+
backgroundColor: tag.isApplied ? tag.color : "transparent"
|
|
2645
|
+
},
|
|
2646
|
+
children: tag.isApplied && /* @__PURE__ */ jsx(Check, { className: "size-3 text-white", strokeWidth: 3 })
|
|
2647
|
+
}
|
|
2648
|
+
),
|
|
2649
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
2650
|
+
tag.badge,
|
|
2651
|
+
hasNote2 && !isEditing && /* @__PURE__ */ jsx(StickyNote, { className: "size-3.5 text-muted-foreground" })
|
|
2652
|
+
] }),
|
|
2653
|
+
isBusy && /* @__PURE__ */ jsx(Loader2, { className: "size-4 shrink-0 animate-spin" })
|
|
2654
|
+
]
|
|
2655
|
+
}
|
|
2656
|
+
),
|
|
2657
|
+
tag.isApplied && onViewTagged && /* @__PURE__ */ jsx(
|
|
2658
|
+
"button",
|
|
2659
|
+
{
|
|
2660
|
+
onClick: () => onViewTagged(tag.id),
|
|
2661
|
+
className: "mr-3 shrink-0 rounded p-1 hover:bg-muted pointer-coarse:min-h-11 pointer-coarse:min-w-11",
|
|
2662
|
+
title: l.viewTagged,
|
|
2663
|
+
"data-testid": testIdOr(testIds?.viewTagged, {
|
|
2664
|
+
testId: "view-tagged-chunks-button"
|
|
2665
|
+
}),
|
|
2666
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "size-4 text-muted-foreground" })
|
|
2667
|
+
}
|
|
2668
|
+
)
|
|
2669
|
+
] }),
|
|
2670
|
+
tag.isApplied && /* @__PURE__ */ jsx("div", { className: "px-4 pb-3", children: isEditing ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
2671
|
+
/* @__PURE__ */ jsx(
|
|
2672
|
+
Textarea,
|
|
2673
|
+
{
|
|
2674
|
+
value: noteValue,
|
|
2675
|
+
onChange: (e) => onNoteChange(e.target.value),
|
|
2676
|
+
placeholder: l.notePlaceholder,
|
|
2677
|
+
className: "min-h-[60px] text-sm",
|
|
2678
|
+
autoFocus: true
|
|
2679
|
+
}
|
|
2680
|
+
),
|
|
2681
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
2682
|
+
/* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", onClick: onCancelNote, children: l.cancel }),
|
|
2631
2683
|
/* @__PURE__ */ jsx(
|
|
2632
|
-
|
|
2684
|
+
Button,
|
|
2633
2685
|
{
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
},
|
|
2639
|
-
children: tag.isApplied && /* @__PURE__ */ jsx(Check, { className: "size-3 text-white", strokeWidth: 3 })
|
|
2686
|
+
size: "sm",
|
|
2687
|
+
onClick: () => onSaveNote(tag.id),
|
|
2688
|
+
disabled: isBusy,
|
|
2689
|
+
children: l.save
|
|
2640
2690
|
}
|
|
2641
|
-
)
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
] }),
|
|
2646
|
-
isBusy && /* @__PURE__ */ jsx(Loader2, { className: "size-4 shrink-0 animate-spin" })
|
|
2647
|
-
]
|
|
2648
|
-
}
|
|
2649
|
-
),
|
|
2650
|
-
tag.isApplied && onViewTagged && /* @__PURE__ */ jsx(
|
|
2651
|
-
"button",
|
|
2652
|
-
{
|
|
2653
|
-
onClick: () => onViewTagged(tag.id),
|
|
2654
|
-
className: "mr-3 shrink-0 rounded p-1 hover:bg-muted pointer-coarse:min-h-11 pointer-coarse:min-w-11",
|
|
2655
|
-
title: l.viewTagged,
|
|
2656
|
-
"data-testid": testIdOr(testIds?.viewTagged, {
|
|
2657
|
-
testId: "view-tagged-chunks-button"
|
|
2658
|
-
}),
|
|
2659
|
-
children: /* @__PURE__ */ jsx(ChevronRight, { className: "size-4 text-muted-foreground" })
|
|
2660
|
-
}
|
|
2661
|
-
)
|
|
2662
|
-
] }),
|
|
2663
|
-
tag.isApplied && /* @__PURE__ */ jsx("div", { className: "px-4 pb-3", children: isEditing ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
2664
|
-
/* @__PURE__ */ jsx(
|
|
2665
|
-
Textarea,
|
|
2666
|
-
{
|
|
2667
|
-
value: noteValue,
|
|
2668
|
-
onChange: (e) => onNoteChange(e.target.value),
|
|
2669
|
-
placeholder: l.notePlaceholder,
|
|
2670
|
-
className: "min-h-[60px] text-sm",
|
|
2671
|
-
autoFocus: true
|
|
2672
|
-
}
|
|
2673
|
-
),
|
|
2674
|
-
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
2675
|
-
/* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", onClick: onCancelNote, children: l.cancel }),
|
|
2676
|
-
/* @__PURE__ */ jsx(
|
|
2677
|
-
Button,
|
|
2691
|
+
)
|
|
2692
|
+
] })
|
|
2693
|
+
] }) : /* @__PURE__ */ jsx(
|
|
2694
|
+
"button",
|
|
2678
2695
|
{
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2696
|
+
onClick: () => onStartNote(tag.id),
|
|
2697
|
+
className: cn(
|
|
2698
|
+
"w-full rounded-md bg-muted px-2 py-1.5 text-left text-sm pointer-coarse:min-h-11",
|
|
2699
|
+
hasNote2 ? "text-foreground" : "text-muted-foreground"
|
|
2700
|
+
),
|
|
2701
|
+
children: tag.note || l.addNote
|
|
2683
2702
|
}
|
|
2684
|
-
)
|
|
2685
|
-
]
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
onClick: () => onStartNote(tag.id),
|
|
2690
|
-
className: cn(
|
|
2691
|
-
"w-full rounded-md bg-muted px-2 py-1.5 text-left text-sm pointer-coarse:min-h-11",
|
|
2692
|
-
hasNote2 ? "text-foreground" : "text-muted-foreground"
|
|
2693
|
-
),
|
|
2694
|
-
children: tag.note || l.addNote
|
|
2695
|
-
}
|
|
2696
|
-
) })
|
|
2697
|
-
] }, tag.id);
|
|
2703
|
+
) })
|
|
2704
|
+
]
|
|
2705
|
+
},
|
|
2706
|
+
tag.id
|
|
2707
|
+
);
|
|
2698
2708
|
})
|
|
2699
2709
|
] }, group.id)) }) }),
|
|
2700
2710
|
/* @__PURE__ */ jsx("div", { className: "border-t border-border p-4", children: /* @__PURE__ */ jsx(Button, { variant: "outline", size: "sm", className: "w-full", onClick: onCreate, children: l.createField }) })
|