@crewlethq/ui 0.190.1 → 0.191.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/README.md +15 -1
- package/dist/AgentHandoffPanel/index.js +11 -7
- package/dist/AgentIdentity/index.js +8 -7
- package/dist/Announcer/index.js +2 -1
- package/dist/AppShell/index.js +4 -3
- package/dist/ArrangeFrame/index.js +3 -2
- package/dist/ArrangeList/index.js +7 -6
- package/dist/ArtifactBar/index.js +6 -5
- package/dist/ArtifactCard/index.js +6 -5
- package/dist/AvatarPicker/index.js +6 -6
- package/dist/Canvas/index.js +3 -2
- package/dist/CanvasBoard/index.js +5 -4
- package/dist/CanvasToolbar/index.js +4 -3
- package/dist/CharacterCount/index.js +3 -2
- package/dist/CheckGrid/index.js +6 -5
- package/dist/Checkbox/index.js +5 -4
- package/dist/ChipField/index.js +3 -2
- package/dist/ColorField/index.js +5 -4
- package/dist/Combobox/index.js +5 -4
- package/dist/CommandPalette/index.js +11 -9
- package/dist/CommentThread/index.js +12 -8
- package/dist/Composer/Composer.d.ts +7 -0
- package/dist/Composer/index.d.ts +1 -0
- package/dist/Composer/index.js +12 -6
- package/dist/{Composer-YO275MFX.css → Composer-YCD6UPMO.css} +3 -2
- package/dist/ConfirmField/index.js +5 -4
- package/dist/ConsequenceList/index.js +6 -5
- package/dist/DataGrid/index.js +8 -7
- package/dist/DataTable/index.js +9 -8
- package/dist/DataView/index.js +13 -11
- package/dist/DatasetSource/index.js +2 -2
- package/dist/Dictation/fake.d.ts +59 -0
- package/dist/Dictation/index.d.ts +8 -0
- package/dist/Dictation/index.js +17 -0
- package/dist/Dictation/labels.d.ts +4 -0
- package/dist/Dictation/machine.d.ts +126 -0
- package/dist/Dictation/microphone.d.ts +5 -0
- package/dist/Dictation/session.d.ts +31 -0
- package/dist/Dictation/slot.d.ts +69 -0
- package/dist/Dictation/types.d.ts +158 -0
- package/dist/Dictation/webSpeech.d.ts +13 -0
- package/dist/Dictation/webSpeechLocal.d.ts +9 -0
- package/dist/Dictation-MGLRANB4.css +141 -0
- package/dist/DocTabsEditor/index.js +6 -5
- package/dist/DurationField/index.js +10 -9
- package/dist/{Editor-2BMSYXKU.js → Editor-ZQUOI3WV.js} +4 -3
- package/dist/EmojiPicker/index.js +5 -4
- package/dist/GraphCanvas/index.js +4 -3
- package/dist/HuePicker/index.js +4 -4
- package/dist/InboxList/index.js +1 -1
- package/dist/InlineEditor/index.js +3 -2
- package/dist/Input/index.js +4 -3
- package/dist/Kbd/index.js +2 -1
- package/dist/KeyValueRows/index.js +5 -4
- package/dist/LinkInterstitial/index.js +8 -7
- package/dist/ListInput/index.js +8 -6
- package/dist/MarkdownEditor/index.js +4 -4
- package/dist/MemberPicker/index.js +6 -5
- package/dist/MergeConflicts/index.js +4 -4
- package/dist/MessageActions/index.js +6 -5
- package/dist/Modal/index.js +7 -6
- package/dist/MoneyField/index.js +5 -4
- package/dist/NewItemsNotice/index.js +3 -2
- package/dist/NumberField/index.js +9 -8
- package/dist/OrgTable/index.js +11 -10
- package/dist/PresetChips/index.js +4 -4
- package/dist/PrincipalPicker/index.js +7 -6
- package/dist/ProposalCard/index.js +9 -8
- package/dist/RailList/index.js +2 -2
- package/dist/ReactionBar/index.js +6 -5
- package/dist/Reorder/index.js +3 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/ScopeList/index.js +6 -5
- package/dist/SegmentedControl/index.js +3 -3
- package/dist/SelectionBar/index.js +3 -2
- package/dist/SendKeys/index.js +3 -2
- package/dist/SettingForm/index.js +5 -4
- package/dist/SetupWizard/index.js +3 -3
- package/dist/ShareDialog/index.js +11 -10
- package/dist/SheetColumnEditor/index.js +12 -10
- package/dist/SheetGrid/index.js +5 -4
- package/dist/SlideFilmstrip/index.js +6 -4
- package/dist/Switcher/index.js +10 -9
- package/dist/Tabs/index.js +2 -2
- package/dist/TagGroup/index.js +3 -2
- package/dist/TagsInput/index.js +3 -2
- package/dist/ThemeSwitcher/index.js +4 -4
- package/dist/TimeRangePicker/index.js +12 -11
- package/dist/TimeWindowPicker/index.js +5 -4
- package/dist/ToolCallLog/index.js +2 -2
- package/dist/TreeCanvas/index.js +4 -3
- package/dist/TreeGrid/index.js +9 -8
- package/dist/ValueField/index.js +6 -5
- package/dist/VendorText/index.js +1 -1
- package/dist/VersionCompare/index.js +5 -5
- package/dist/VersionTimeline/index.js +1 -1
- package/dist/{chunk-VBBLHS2Y.js → chunk-25LIX6UI.js} +0 -1
- package/dist/{chunk-XKC7EJGR.js → chunk-2DFB7NHX.js} +39 -13
- package/dist/{chunk-YHLLBQJA.js → chunk-2EALNWKD.js} +1 -1
- package/dist/{chunk-QRXB3DQI.js → chunk-2LLKFDDB.js} +1 -1
- package/dist/{chunk-TDRWUWGV.js → chunk-2SSTJDRV.js} +1 -1
- package/dist/{chunk-ZLHVKPAQ.js → chunk-4ODGBPYT.js} +2 -2
- package/dist/{chunk-EK5NJV6K.js → chunk-4P24HLY3.js} +2 -2
- package/dist/{chunk-ERNIXJMN.js → chunk-4RQTYNJB.js} +1 -1
- package/dist/{chunk-BE5NESX4.js → chunk-4X33B7RC.js} +1 -1
- package/dist/{chunk-LR56IYSL.js → chunk-5V52XBVL.js} +2 -2
- package/dist/{chunk-CUQN6WSD.js → chunk-6AU73W3Y.js} +2 -2
- package/dist/{chunk-S6ES6MMW.js → chunk-6EJS374X.js} +2 -2
- package/dist/{chunk-C4BENQB3.js → chunk-A24SEWF7.js} +2 -2
- package/dist/{chunk-5F62NQON.js → chunk-A4XJHBMM.js} +1 -1
- package/dist/{chunk-2XC4MYBB.js → chunk-AWBLC4KR.js} +1 -1
- package/dist/{chunk-OAWECVU2.js → chunk-B4TAERAM.js} +1 -1
- package/dist/{chunk-TEXK4RK6.js → chunk-BGVJBX7E.js} +1 -1
- package/dist/{chunk-HWJVQFXQ.js → chunk-BNI2532M.js} +3 -3
- package/dist/chunk-CB6MUWCA.js +206 -0
- package/dist/chunk-CI4HUVNI.js +197 -0
- package/dist/{chunk-FOJ3TVKJ.js → chunk-DON7AM43.js} +1 -1
- package/dist/{chunk-WLYNWP34.js → chunk-DZSDUUH6.js} +1 -1
- package/dist/{chunk-WASYD3IL.js → chunk-E266WLN7.js} +1 -1
- package/dist/{chunk-DDVUPYJW.js → chunk-EDHRJQZT.js} +1 -1
- package/dist/{chunk-2OYEVTF4.js → chunk-ESP65SIP.js} +2 -2
- package/dist/{chunk-H77NQVS7.js → chunk-ETWGKTMC.js} +1 -1
- package/dist/{chunk-237WBIAN.js → chunk-EZO5MYII.js} +1 -1
- package/dist/{chunk-SQPT4UZ4.js → chunk-GEFO45DZ.js} +1 -1
- package/dist/{chunk-2SGJAD7O.js → chunk-HC5Y4ZVY.js} +1 -1
- package/dist/{chunk-WLYAGMZA.js → chunk-HI3AFP34.js} +1 -1
- package/dist/{chunk-IF5RMDDV.js → chunk-HQTBYW7G.js} +4 -4
- package/dist/{chunk-U7AHXPYA.js → chunk-HWFUKEVT.js} +4 -4
- package/dist/{chunk-HUZ27VZ7.js → chunk-IFL6DM5K.js} +1 -1
- package/dist/chunk-JNTOZ5LE.js +49 -0
- package/dist/{chunk-NJBKJF3Q.js → chunk-JXVDEPBK.js} +3 -3
- package/dist/{chunk-YUVQUJND.js → chunk-K657TVMA.js} +1 -1
- package/dist/{chunk-NCQC5Y4E.js → chunk-LIOO7OMN.js} +1 -1
- package/dist/{chunk-R72QM6WV.js → chunk-LJSW7NWJ.js} +1 -1
- package/dist/{chunk-BD2HPIZ2.js → chunk-LN7IMSCU.js} +1 -1
- package/dist/{chunk-QR4LRVWK.js → chunk-MI6QDL4N.js} +2 -2
- package/dist/{chunk-KIPEB2UV.js → chunk-MKOWEHDH.js} +1 -1
- package/dist/{chunk-U2TENSNB.js → chunk-MZAMX65M.js} +1 -1
- package/dist/chunk-MZP5A3NQ.js +1 -0
- package/dist/{chunk-IAOROOL6.js → chunk-N6LUM6AG.js} +4 -4
- package/dist/{chunk-6EHQN4KA.js → chunk-N72QMEEA.js} +1 -1
- package/dist/{chunk-Y5GBXHA6.js → chunk-NB5HDW7O.js} +2 -2
- package/dist/{chunk-NIII72XP.js → chunk-NCXSYDWQ.js} +2 -2
- package/dist/{chunk-ZR276S44.js → chunk-NLYURJUF.js} +2 -2
- package/dist/{chunk-R5UTN5QB.js → chunk-NPKNO4RL.js} +3 -3
- package/dist/chunk-NQ7LG6BU.js +1 -0
- package/dist/{chunk-VNEUVMUR.js → chunk-NXTELLHC.js} +3 -3
- package/dist/{chunk-YSYORPVE.js → chunk-OOKLFQMR.js} +2 -2
- package/dist/{chunk-J6QNUNZD.js → chunk-ORX3PYX3.js} +1 -1
- package/dist/{chunk-QVSG3XSW.js → chunk-QGZPXZHE.js} +2 -2
- package/dist/{chunk-2FWNVZSX.js → chunk-QJEC2XZH.js} +2 -2
- package/dist/{chunk-4RVDOEJR.js → chunk-RTLBWYVV.js} +2 -2
- package/dist/{chunk-7UYWPNFG.js → chunk-RZEUVQJ7.js} +1 -1
- package/dist/{chunk-FTOKCN4I.js → chunk-SFBIOHM3.js} +2 -2
- package/dist/{chunk-2KQGMYAQ.js → chunk-SHU6ZR7Z.js} +1 -1
- package/dist/{chunk-PDQPSTK2.js → chunk-SW7BVEOI.js} +1 -1
- package/dist/{chunk-H7V4QAOV.js → chunk-SXCUNON2.js} +1 -1
- package/dist/{chunk-ZDENBTBY.js → chunk-SXUKSA6U.js} +1 -1
- package/dist/{chunk-G5UBUODG.js → chunk-T2DGBIFD.js} +1 -1
- package/dist/{chunk-MFJYXWN5.js → chunk-UN5BTYDI.js} +5 -5
- package/dist/{chunk-ZQTEBONP.js → chunk-VNCKUYYT.js} +1 -1
- package/dist/{chunk-TN5RHSI5.js → chunk-WM2CPCBH.js} +1 -1
- package/dist/{chunk-V5AZLXR4.js → chunk-WXMSQOBV.js} +2 -2
- package/dist/{chunk-MFRXKQAF.js → chunk-XHQ6BRGS.js} +1 -1
- package/dist/{chunk-RYS3SN7J.js → chunk-XTT2XWVQ.js} +1 -1
- package/dist/{chunk-ZCKC7ENV.js → chunk-Y22OHIVL.js} +2 -2
- package/dist/{chunk-2DESFB7K.js → chunk-YER6BEBM.js} +1 -1
- package/dist/{chunk-M4XBRBZL.js → chunk-YNPIGUJF.js} +1 -1
- package/dist/{chunk-KQTWO46B.js → chunk-YOGPQDXA.js} +1 -1
- package/dist/{chunk-4TLKCRE4.js → chunk-YW3IH3EU.js} +1 -1
- package/dist/{chunk-EPVQ4OZ3.js → chunk-YXRMGI4B.js} +1 -1
- package/dist/{chunk-NHQ3CXFN.js → chunk-ZUTLS4HX.js} +2 -2
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +111 -106
- package/dist/index.js +111 -106
- package/dist/session-XDRRVFVE.js +789 -0
- package/dist/styles.css +148 -3
- package/dist/webSpeech-CJNDQU3D.js +165 -0
- package/package.json +3 -3
- package/dist/{chunk-UIRMNARM.js → chunk-7RFF2FUG.js} +1 -1
- package/dist/{chunk-WGMKERCR.js → chunk-AZQBGKPR.js} +0 -0
- package/dist/{chunk-LE7SVMCB.js → chunk-JJEGPEV7.js} +0 -0
- package/dist/{chunk-MENY4GKL.js → chunk-N2I2WGZN.js} +1 -1
- package/dist/{chunk-Y4A7AYX4.js → chunk-XSJNLTA6.js} +1 -1
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { isApplePlatform, keyGlyph } from './chunk-25LIX6UI.js';
|
|
2
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
3
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
4
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
+
import { useSyncExternalStore, useState, useRef, useEffect, useLayoutEffect } from 'react';
|
|
6
|
+
import { MicGlyph, ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
7
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
var chunk = null;
|
|
10
|
+
var loading = null;
|
|
11
|
+
var version = 0;
|
|
12
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
13
|
+
function notify() {
|
|
14
|
+
version += 1;
|
|
15
|
+
for (const listener of [...listeners]) listener();
|
|
16
|
+
}
|
|
17
|
+
function subscribe(listener) {
|
|
18
|
+
listeners.add(listener);
|
|
19
|
+
return () => listeners.delete(listener);
|
|
20
|
+
}
|
|
21
|
+
function load() {
|
|
22
|
+
loading ??= import('./session-XDRRVFVE.js').then(
|
|
23
|
+
(module) => {
|
|
24
|
+
chunk = module;
|
|
25
|
+
notify();
|
|
26
|
+
return module;
|
|
27
|
+
},
|
|
28
|
+
(error) => {
|
|
29
|
+
loading = null;
|
|
30
|
+
throw error;
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
return loading;
|
|
34
|
+
}
|
|
35
|
+
function preloadDictation() {
|
|
36
|
+
return load().then(
|
|
37
|
+
() => void 0,
|
|
38
|
+
() => void 0
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
var ENTRY_LABELS = {
|
|
42
|
+
dictate: "Dictate",
|
|
43
|
+
chooseMicrophone: "Choose a microphone",
|
|
44
|
+
unsupported: "Dictation needs a newer browser",
|
|
45
|
+
insecure: "Dictation needs this site on https",
|
|
46
|
+
policy: "This page does not allow the microphone"
|
|
47
|
+
};
|
|
48
|
+
var DICTATION_SHORTCUT = ["Mod", "Shift", "Space"];
|
|
49
|
+
function browserBlock() {
|
|
50
|
+
if (typeof window === "undefined") return "unsupported";
|
|
51
|
+
if (!window.isSecureContext) return "insecure";
|
|
52
|
+
if (!navigator.mediaDevices?.getUserMedia || typeof AudioContext === "undefined") return "unsupported";
|
|
53
|
+
const policy = document.permissionsPolicy;
|
|
54
|
+
return policy && !policy.allowsFeature("microphone") ? "policy" : void 0;
|
|
55
|
+
}
|
|
56
|
+
function chordMatches(chord, event, apple) {
|
|
57
|
+
const key = chord[chord.length - 1];
|
|
58
|
+
const has = (name) => chord.includes(name);
|
|
59
|
+
const mod = apple ? event.metaKey : event.ctrlKey;
|
|
60
|
+
const pressed = key === "Space" ? event.code === "Space" || event.key === " " : event.key.toLowerCase() === key.toLowerCase();
|
|
61
|
+
return pressed && mod === has("Mod") && event.shiftKey === has("Shift") && event.altKey === has("Alt") && (apple ? event.ctrlKey === has("Ctrl") : true);
|
|
62
|
+
}
|
|
63
|
+
var LONG_PRESS_MS = 500;
|
|
64
|
+
function useDictationSlot(source, options) {
|
|
65
|
+
useSyncExternalStore(subscribe, () => version, () => version);
|
|
66
|
+
const [open, setOpen] = useState(false);
|
|
67
|
+
const props = useRef({ ...options, source });
|
|
68
|
+
props.current = { ...options, source };
|
|
69
|
+
const ownerRef = useRef(null);
|
|
70
|
+
ownerRef.current ??= { get: () => props.current, caret: null, touched: false };
|
|
71
|
+
const owner = ownerRef.current;
|
|
72
|
+
const press = useRef({ timer: void 0, long: false });
|
|
73
|
+
useEffect(() => () => chunk?.release(owner), [owner]);
|
|
74
|
+
useEffect(() => {
|
|
75
|
+
const field = options.field.current;
|
|
76
|
+
const touch = () => {
|
|
77
|
+
owner.touched = true;
|
|
78
|
+
};
|
|
79
|
+
field?.addEventListener("focus", touch);
|
|
80
|
+
return () => field?.removeEventListener("focus", touch);
|
|
81
|
+
}, [owner, options.field]);
|
|
82
|
+
useLayoutEffect(() => {
|
|
83
|
+
const field = options.field.current;
|
|
84
|
+
const caret = owner.caret;
|
|
85
|
+
if (caret && field && field.value === caret.value) {
|
|
86
|
+
owner.caret = null;
|
|
87
|
+
field.focus();
|
|
88
|
+
field.setSelectionRange(caret.at, caret.at);
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
if (!source) return null;
|
|
92
|
+
const view = chunk?.view(owner);
|
|
93
|
+
const phase = view?.phase ?? null;
|
|
94
|
+
const labels = { ...ENTRY_LABELS, ...source.labels };
|
|
95
|
+
const block = source.microphone ? source.microphone.check() : browserBlock();
|
|
96
|
+
const held = options.heldReason ?? source.unavailableReason ?? (block && labels[block]) ?? view?.held;
|
|
97
|
+
const apple = isApplePlatform();
|
|
98
|
+
const chord = source.shortcut === false ? void 0 : source.shortcut ?? DICTATION_SHORTCUT;
|
|
99
|
+
const start = () => {
|
|
100
|
+
void load().then((c) => c.start(owner), () => void 0);
|
|
101
|
+
};
|
|
102
|
+
const openMenu = (next) => {
|
|
103
|
+
if (!next) setOpen(false);
|
|
104
|
+
else void load().then(() => setOpen(true), () => void 0);
|
|
105
|
+
};
|
|
106
|
+
const waiting = phase === "pending" || phase === "preparing";
|
|
107
|
+
const live = phase !== null && !waiting;
|
|
108
|
+
const bare = options.heldReason ?? ((block || source.unavailableReason) && !source.setup ? held : void 0);
|
|
109
|
+
const mic = live && !view?.resume ? null : /* @__PURE__ */ jsx(
|
|
110
|
+
IconButton,
|
|
111
|
+
{
|
|
112
|
+
label: view?.resume ?? labels.dictate,
|
|
113
|
+
icon: chunk && view?.off ? /* @__PURE__ */ jsx(chunk.MicOffGlyph, {}) : /* @__PURE__ */ jsx(MicGlyph, {}),
|
|
114
|
+
pressed: waiting,
|
|
115
|
+
disabledReason: held,
|
|
116
|
+
tooltip: chord ? `${labels.dictate} (${chord.map((k) => keyGlyph(k, apple).glyph).join(apple ? "" : "+")})` : true,
|
|
117
|
+
className: cx("crewlet-dictation__mic", waiting && "is-pending"),
|
|
118
|
+
onPointerEnter: () => void preloadDictation(),
|
|
119
|
+
onFocus: () => void preloadDictation(),
|
|
120
|
+
onPointerDown: () => {
|
|
121
|
+
press.current.long = false;
|
|
122
|
+
press.current.timer = setTimeout(() => {
|
|
123
|
+
press.current.long = true;
|
|
124
|
+
openMenu(true);
|
|
125
|
+
}, LONG_PRESS_MS);
|
|
126
|
+
},
|
|
127
|
+
onPointerUp: () => clearTimeout(press.current.timer),
|
|
128
|
+
onPointerLeave: () => clearTimeout(press.current.timer),
|
|
129
|
+
onKeyDown: (event) => {
|
|
130
|
+
if (event.key === "ArrowDown") {
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
openMenu(true);
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
onClick: () => {
|
|
136
|
+
if (press.current.long) press.current.long = false;
|
|
137
|
+
else if (view?.resume) chunk?.resumeOwner(owner);
|
|
138
|
+
else if (phase === null) start();
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
const controls = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
143
|
+
live && chunk ? /* @__PURE__ */ jsx(chunk.Wave, { owner }) : null,
|
|
144
|
+
/* @__PURE__ */ jsx(
|
|
145
|
+
Menu,
|
|
146
|
+
{
|
|
147
|
+
label: labels.chooseMicrophone,
|
|
148
|
+
items: chunk ? chunk.menuItems(owner) : [],
|
|
149
|
+
header: chunk && open && chunk.hasHeader(owner) ? /* @__PURE__ */ jsx(chunk.MenuHeader, { owner }) : null,
|
|
150
|
+
open,
|
|
151
|
+
onOpenChange: openMenu,
|
|
152
|
+
align: "end",
|
|
153
|
+
renderTrigger: (trigger) => (
|
|
154
|
+
// A press on a mic held by another composer's session moves focus there.
|
|
155
|
+
/* @__PURE__ */ jsxs("span", { ref: trigger.ref, className: "crewlet-dictation", onClickCapture: () => view?.elsewhere && chunk?.focusActive(), children: [
|
|
156
|
+
mic,
|
|
157
|
+
/* @__PURE__ */ jsx(
|
|
158
|
+
IconButton,
|
|
159
|
+
{
|
|
160
|
+
label: labels.chooseMicrophone,
|
|
161
|
+
icon: /* @__PURE__ */ jsx(ChevronDownGlyph, {}),
|
|
162
|
+
size: "sm",
|
|
163
|
+
className: "crewlet-dictation__more",
|
|
164
|
+
disabledReason: bare,
|
|
165
|
+
"aria-haspopup": trigger["aria-haspopup"],
|
|
166
|
+
"aria-expanded": trigger["aria-expanded"],
|
|
167
|
+
"aria-controls": trigger["aria-controls"],
|
|
168
|
+
onClick: trigger.onClick,
|
|
169
|
+
onKeyDown: trigger.onKeyDown,
|
|
170
|
+
onPointerEnter: () => void preloadDictation(),
|
|
171
|
+
onFocus: () => void preloadDictation()
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
] })
|
|
175
|
+
)
|
|
176
|
+
}
|
|
177
|
+
),
|
|
178
|
+
phase !== null && chunk ? /* @__PURE__ */ jsx(chunk.Swap, { owner }) : null
|
|
179
|
+
] });
|
|
180
|
+
return {
|
|
181
|
+
live,
|
|
182
|
+
active: phase !== null,
|
|
183
|
+
controls,
|
|
184
|
+
layer: live && chunk ? /* @__PURE__ */ jsx(chunk.Layer, { owner }) : null,
|
|
185
|
+
note: view?.note ? /* @__PURE__ */ jsx("div", { className: "crewlet-dictation__note", children: view.note }) : null,
|
|
186
|
+
describe: live ? view?.describe : void 0,
|
|
187
|
+
keyDown: (event) => {
|
|
188
|
+
if (phase !== null) return chunk.keyDown(owner, event);
|
|
189
|
+
if (!chord || !chordMatches(chord, event, apple)) return false;
|
|
190
|
+
event.preventDefault();
|
|
191
|
+
if (held === void 0) start();
|
|
192
|
+
return true;
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export { DICTATION_SHORTCUT, browserBlock, chordMatches, notify, preloadDictation, useDictationSlot };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditingStatus } from './chunk-TDQB6AXC.js';
|
|
2
|
-
import { Kbd } from './chunk-
|
|
2
|
+
import { Kbd } from './chunk-25LIX6UI.js';
|
|
3
3
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
4
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-2DFB7NHX.js';
|
|
4
4
|
import { ArtifactPanel } from './chunk-X2N7XQDN.js';
|
|
5
5
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
6
6
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
@@ -6,7 +6,7 @@ import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
|
6
6
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
7
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
8
8
|
import { AvatarStack } from './chunk-SHVK6EOL.js';
|
|
9
|
-
import { Checkbox } from './chunk-
|
|
9
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './ArtifactKinds-27TE3KJL.css';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import { fitGridColumns } from './chunk-
|
|
2
|
+
import { fitGridColumns } from './chunk-JXVDEPBK.js';
|
|
3
3
|
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-T76E2NIF.js';
|
|
4
4
|
import { LayerNodeBridge } from './chunk-DFFQGGAD.js';
|
|
5
5
|
import { EmptyState } from './chunk-HG7J6I65.js';
|
|
6
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
6
7
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
|
-
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
8
8
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-NCM4VYRF.js';
|
|
10
10
|
import { focusables } from './chunk-EDPMHSLZ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
2
|
-
import { announce } from './chunk-
|
|
2
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
3
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ReorderHandle-CT5OMUSR.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
2
2
|
import { InlineCode } from './chunk-E3XKFND2.js';
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
3
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
4
4
|
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ConsequenceList-EEXTCT6J.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
2
|
-
import { announce } from './chunk-
|
|
2
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LayerNodeBridge } from './chunk-DFFQGGAD.js';
|
|
2
|
-
import { Kbd } from './chunk-
|
|
2
|
+
import { Kbd } from './chunk-25LIX6UI.js';
|
|
3
3
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
4
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
5
|
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
|
-
import { HueSwatch } from './chunk-
|
|
3
|
+
import { HueSwatch } from './chunk-A4XJHBMM.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
6
|
+
import { Kbd } from './chunk-25LIX6UI.js';
|
|
5
7
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
6
|
-
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
7
|
-
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
8
8
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
9
|
-
import { FormField, Input } from './chunk-
|
|
9
|
+
import { FormField, Input } from './chunk-NLYURJUF.js';
|
|
10
10
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -2,11 +2,11 @@ import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
|
2
2
|
import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
4
|
import { Popover } from './chunk-SWZV6R46.js';
|
|
5
|
-
import {
|
|
6
|
-
import { Modal } from './chunk-KQTWO46B.js';
|
|
5
|
+
import { Modal } from './chunk-YOGPQDXA.js';
|
|
7
6
|
import { Text } from './chunk-475DOAWF.js';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
8
|
+
import { Input } from './chunk-NLYURJUF.js';
|
|
9
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
10
10
|
import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
|
|
11
11
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
12
12
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// src/Dictation/labels.ts
|
|
2
|
+
var DICTATION_LABELS = {
|
|
3
|
+
dictate: "Dictate",
|
|
4
|
+
chooseMicrophone: "Choose a microphone",
|
|
5
|
+
unsupported: "Dictation needs a newer browser",
|
|
6
|
+
insecure: "Dictation needs this site on https",
|
|
7
|
+
policy: "This page does not allow the microphone",
|
|
8
|
+
resume: "Resume dictating",
|
|
9
|
+
cancel: "Cancel dictation",
|
|
10
|
+
accept: "Accept dictation",
|
|
11
|
+
listening: "Listening\u2026",
|
|
12
|
+
dictating: "Dictating. Enter to accept, Escape to cancel.",
|
|
13
|
+
pending: "Allow microphone access in your browser to dictate",
|
|
14
|
+
cancelled: "Dictation cancelled",
|
|
15
|
+
inserted: (words) => `Inserted ${words} ${words === 1 ? "word" : "words"}`,
|
|
16
|
+
nothing: "Nothing was heard, so nothing was inserted",
|
|
17
|
+
denied: "Microphone blocked for this site",
|
|
18
|
+
noDevice: "No microphone found",
|
|
19
|
+
busy: "The microphone is in use by another app",
|
|
20
|
+
elsewhere: (composer) => `Dictating in ${composer}`,
|
|
21
|
+
quiet: "Still listening",
|
|
22
|
+
preparing: (progress) => progress === void 0 ? "Preparing dictation\u2026" : `Preparing dictation\u2026 ${Math.round(progress * 100)}%`,
|
|
23
|
+
serviceBusy: "Dictation is busy right now. Try again in a moment.",
|
|
24
|
+
unavailable: "Dictation is not available in this browser",
|
|
25
|
+
browserPicks: "The browser picks the microphone for dictation.",
|
|
26
|
+
stopped: {
|
|
27
|
+
paused: "Paused. Accept, cancel, or resume.",
|
|
28
|
+
unplugged: "Microphone disconnected",
|
|
29
|
+
dropped: "Dictation stopped: connection lost",
|
|
30
|
+
refused: "Dictation stopped: the speech service refused it",
|
|
31
|
+
quota: "Dictation is paused: the company\u2019s spend limit is reached",
|
|
32
|
+
silence: "Stopped after a long silence. Accept, cancel, or resume.",
|
|
33
|
+
length: "Dictation reached its length limit. Accept, then dictate again to add more."
|
|
34
|
+
},
|
|
35
|
+
defaultDevice: "Default microphone",
|
|
36
|
+
allowToChoose: "Allow microphone access to choose",
|
|
37
|
+
deniedHelp: "Allow the microphone in the site settings next to the address bar, then press the mic again.",
|
|
38
|
+
retry: "Try again",
|
|
39
|
+
recheck: "Look for microphones again",
|
|
40
|
+
gone: "Your chosen microphone is not connected, so the default is used.",
|
|
41
|
+
switched: (device) => `Now using ${device}`,
|
|
42
|
+
level: "Input level"
|
|
43
|
+
};
|
|
44
|
+
function dictationLabels(overrides) {
|
|
45
|
+
if (!overrides) return DICTATION_LABELS;
|
|
46
|
+
return { ...DICTATION_LABELS, ...overrides, stopped: { ...DICTATION_LABELS.stopped, ...overrides.stopped } };
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { DICTATION_LABELS, dictationLabels };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-T76E2NIF.js';
|
|
2
2
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
3
|
-
import { useReorder } from './chunk-
|
|
3
|
+
import { useReorder } from './chunk-ETWGKTMC.js';
|
|
4
4
|
import { EmptyState } from './chunk-HG7J6I65.js';
|
|
5
|
-
import {
|
|
6
|
-
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
5
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
7
6
|
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
7
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
8
8
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { keyGlyph, isApplePlatform, Kbd } from './chunk-
|
|
1
|
+
import { keyGlyph, isApplePlatform, Kbd } from './chunk-25LIX6UI.js';
|
|
2
2
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
2
2
|
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-5ZL3PXEL.js';
|
|
3
3
|
import { Document } from './chunk-I4PBFJGX.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-2DFB7NHX.js';
|
|
5
5
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
6
6
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { Count } from './chunk-6YKTRAWI.js';
|
|
@@ -2,7 +2,7 @@ import { Select } from './chunk-DPCXOBXN.js';
|
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
3
|
import { Popover } from './chunk-SWZV6R46.js';
|
|
4
4
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
5
|
-
import { Input } from './chunk-
|
|
5
|
+
import { Input } from './chunk-NLYURJUF.js';
|
|
6
6
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
|
-
import { typedNumber, NumberField } from './chunk-
|
|
3
|
-
import { PresetChips } from './chunk-
|
|
2
|
+
import { typedNumber, NumberField } from './chunk-4ODGBPYT.js';
|
|
3
|
+
import { PresetChips } from './chunk-DZSDUUH6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './DurationField-TJFIAUMW.css';
|
|
6
6
|
import { useId } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { minorUnits, parseMoney } from './chunk-G6DKKJN6.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-NLYURJUF.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MoneyField-4PHZWHJL.css';
|
|
5
5
|
import { forwardRef, useId } from 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
2
|
import { FilterPill } from './chunk-GR6Y53EC.js';
|
|
3
3
|
import { DateTimePicker } from './chunk-LY7XCIMS.js';
|
|
4
|
-
import { DataTable } from './chunk-
|
|
4
|
+
import { DataTable } from './chunk-NXTELLHC.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
6
6
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
7
7
|
import { RelativeTime } from './chunk-5ZL3PXEL.js';
|
|
8
|
-
import { Menu } from './chunk-43N4EHFR.js';
|
|
9
8
|
import { Popover } from './chunk-SWZV6R46.js';
|
|
10
|
-
import { Kbd } from './chunk-
|
|
9
|
+
import { Kbd } from './chunk-25LIX6UI.js';
|
|
10
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
11
11
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
12
|
-
import { Input } from './chunk-
|
|
12
|
+
import { Input } from './chunk-NLYURJUF.js';
|
|
13
13
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
14
14
|
import { Count } from './chunk-6YKTRAWI.js';
|
|
15
15
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-ZQUOI3WV.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
|
-
import { Combobox } from './chunk-
|
|
2
|
+
import { Combobox } from './chunk-YXRMGI4B.js';
|
|
3
3
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
|
-
import { FormField, Textarea, InputAffix } from './chunk-
|
|
4
|
+
import { FormField, Textarea, InputAffix } from './chunk-NLYURJUF.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Input-YVCNNTYT.css';
|
|
7
7
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-AWBLC4KR.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
|
+
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-25LIX6UI.js';
|
|
3
4
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
4
|
-
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
6
6
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
|
|
2
2
|
import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
|
|
3
3
|
import { copyTextStyles } from './chunk-AKLZJTOJ.js';
|
|
4
|
-
import { characterCountState, CharacterCount } from './chunk-
|
|
5
|
-
import { announce } from './chunk-
|
|
4
|
+
import { characterCountState, CharacterCount } from './chunk-BGVJBX7E.js';
|
|
5
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
6
6
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
8
8
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
-
import { Modal } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-AWBLC4KR.js';
|
|
2
|
+
import { Modal } from './chunk-YOGPQDXA.js';
|
|
3
3
|
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
4
4
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
5
|
-
import { FormField, Input } from './chunk-
|
|
5
|
+
import { FormField, Input } from './chunk-NLYURJUF.js';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { ClockGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './Kbd-YO5U2PSZ.css';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EmptyValue } from './chunk-WGLOH33S.js';
|
|
2
2
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
3
|
-
import { Menu } from './chunk-43N4EHFR.js';
|
|
4
3
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
5
|
-
import { Modal } from './chunk-
|
|
6
|
-
import { Checkbox } from './chunk-
|
|
4
|
+
import { Modal } from './chunk-YOGPQDXA.js';
|
|
5
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
6
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
7
7
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
8
8
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
-
import { tabId } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-AWBLC4KR.js';
|
|
3
|
+
import { tabId } from './chunk-XSJNLTA6.js';
|
|
4
4
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './MarkdownEditor-BLCJRGDC.css';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
|
|
2
2
|
import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
|
|
3
|
-
import { Menu } from './chunk-43N4EHFR.js';
|
|
4
3
|
import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
|
|
5
4
|
import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
|
|
6
|
-
import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-
|
|
5
|
+
import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-25LIX6UI.js';
|
|
6
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
7
7
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
8
8
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
9
9
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
@@ -3,13 +3,13 @@ import { List, ListItem } from './chunk-Q7ZP6UPU.js';
|
|
|
3
3
|
import { FileDrop, FilePickButton } from './chunk-ICIWCUDN.js';
|
|
4
4
|
import { StepList, Stepper } from './chunk-2MN3RNRM.js';
|
|
5
5
|
import { Copyable } from './chunk-33KDTRUV.js';
|
|
6
|
-
import { Modal } from './chunk-
|
|
6
|
+
import { Modal } from './chunk-YOGPQDXA.js';
|
|
7
7
|
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
8
8
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
9
9
|
import { Text } from './chunk-475DOAWF.js';
|
|
10
10
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
11
11
|
import { Button, ButtonLink } from './chunk-YVMIT2OW.js';
|
|
12
|
-
import { FormField, Input } from './chunk-
|
|
12
|
+
import { FormField, Input } from './chunk-NLYURJUF.js';
|
|
13
13
|
import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
|
|
14
14
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
15
15
|
import './AgentIdentity-KQWGKBNT.css';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ValueField } from './chunk-
|
|
1
|
+
import { ValueField } from './chunk-NB5HDW7O.js';
|
|
2
2
|
import { RefusalStrip, ReceiptStrip } from './chunk-GMY4DMLJ.js';
|
|
3
3
|
import { StatusCard } from './chunk-WLIODLUL.js';
|
|
4
4
|
import { toInstant, currentNow, formatUntil, useNow, formatExact, toISO } from './chunk-5ZL3PXEL.js';
|
|
5
5
|
import { ChangeList } from './chunk-XXHIU65G.js';
|
|
6
6
|
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
8
8
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
9
9
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
10
10
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DiffView } from './chunk-4YLN5QVL.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-AWBLC4KR.js';
|
|
3
3
|
import { EmptyState } from './chunk-HG7J6I65.js';
|
|
4
4
|
import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|