@epicbagel/saas-kit 1.7.0 → 1.11.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 +72 -1
- package/THIRD_PARTY_NOTICES.md +14 -0
- package/dist/chunk-2BSFYU22.cjs +71 -0
- package/dist/chunk-5OF6D3GH.js +158 -0
- package/dist/chunk-7QTFYEPE.cjs +153 -0
- package/dist/{chunk-GTVSRRE3.cjs → chunk-BGCNGYPL.cjs} +2 -2
- package/dist/{chunk-QTWJQQDH.cjs → chunk-FBVZRRA4.cjs} +6 -6
- package/dist/chunk-GJ7S3L6R.js +71 -0
- package/dist/chunk-HLAHOVEI.js +412 -0
- package/dist/{chunk-F3B4M6DU.js → chunk-HTPPNW74.js} +1 -1
- package/dist/chunk-KQBXAQAY.cjs +221 -0
- package/dist/{chunk-JN6JOSZG.js → chunk-LQPJGZIE.js} +7 -7
- package/dist/chunk-NKWHDI4C.cjs +158 -0
- package/dist/chunk-T3XMHWYV.js +221 -0
- package/dist/chunk-UOVA4YKW.js +153 -0
- package/dist/chunk-ZZ7ICQR2.cjs +412 -0
- package/dist/hooks/use-agent-audio-visualizer-bar.cjs +8 -0
- package/dist/hooks/use-agent-audio-visualizer-bar.d.cts +4 -0
- package/dist/hooks/use-agent-audio-visualizer-bar.d.ts +4 -0
- package/dist/hooks/use-agent-audio-visualizer-bar.js +8 -0
- package/dist/hooks/use-dictation.cjs +10 -0
- package/dist/hooks/use-dictation.d.cts +61 -0
- package/dist/hooks/use-dictation.d.ts +61 -0
- package/dist/hooks/use-dictation.js +10 -0
- package/dist/primitives/activity-feed.cjs +3 -3
- package/dist/primitives/activity-feed.js +4 -4
- package/dist/primitives/agent-audio-visualizer-bar.cjs +16 -0
- package/dist/primitives/agent-audio-visualizer-bar.d.cts +75 -0
- package/dist/primitives/agent-audio-visualizer-bar.d.ts +75 -0
- package/dist/primitives/agent-audio-visualizer-bar.js +16 -0
- package/dist/primitives/alert.d.cts +1 -1
- package/dist/primitives/alert.d.ts +1 -1
- package/dist/primitives/archive-confirmation-dialog.cjs +2 -2
- package/dist/primitives/archive-confirmation-dialog.js +3 -3
- package/dist/primitives/attachment.d.cts +1 -1
- package/dist/primitives/attachment.d.ts +1 -1
- package/dist/primitives/badge.d.cts +1 -1
- package/dist/primitives/badge.d.ts +1 -1
- package/dist/primitives/board-view.cjs +6 -6
- package/dist/primitives/board-view.js +5 -5
- package/dist/primitives/bubble.d.cts +1 -1
- package/dist/primitives/bubble.d.ts +1 -1
- package/dist/primitives/button.d.cts +2 -2
- package/dist/primitives/button.d.ts +2 -2
- package/dist/primitives/chat.cjs +59 -28
- package/dist/primitives/chat.d.cts +8 -3
- package/dist/primitives/chat.d.ts +8 -3
- package/dist/primitives/chat.js +56 -25
- package/dist/primitives/code-block.cjs +4 -4
- package/dist/primitives/code-block.js +3 -3
- package/dist/primitives/connection.cjs +6 -6
- package/dist/primitives/connection.js +7 -7
- package/dist/primitives/copy-button.cjs +3 -3
- package/dist/primitives/copy-button.js +2 -2
- package/dist/primitives/dictation-provider.cjs +8 -0
- package/dist/primitives/dictation-provider.d.cts +2 -0
- package/dist/primitives/dictation-provider.d.ts +2 -0
- package/dist/primitives/dictation-provider.js +8 -0
- package/dist/primitives/editable-list.cjs +1 -1
- package/dist/primitives/editable-list.js +1 -1
- package/dist/primitives/file-dropzone.cjs +3 -3
- package/dist/primitives/file-dropzone.js +2 -2
- package/dist/primitives/file-preview.cjs +6 -6
- package/dist/primitives/file-preview.js +5 -5
- package/dist/primitives/filter-bar.cjs +4 -4
- package/dist/primitives/filter-bar.js +3 -3
- package/dist/primitives/input-group.d.cts +1 -1
- package/dist/primitives/input-group.d.ts +1 -1
- package/dist/primitives/item.d.cts +2 -2
- package/dist/primitives/item.d.ts +2 -2
- package/dist/primitives/resource-list.cjs +6 -6
- package/dist/primitives/resource-list.js +5 -5
- package/dist/primitives/section-header.d.cts +1 -1
- package/dist/primitives/section-header.d.ts +1 -1
- package/dist/primitives/section.cjs +2 -2
- package/dist/primitives/section.js +3 -3
- package/dist/primitives/sheet.d.cts +1 -1
- package/dist/primitives/sheet.d.ts +1 -1
- package/dist/primitives/switch-field.cjs +2 -2
- package/dist/primitives/switch-field.js +3 -3
- package/dist/primitives/theme-selector.cjs +3 -3
- package/dist/primitives/theme-selector.js +4 -4
- package/dist/primitives/toggle-group.d.cts +2 -2
- package/dist/primitives/toggle-group.d.ts +2 -2
- package/dist/primitives/toggle.d.cts +2 -2
- package/dist/primitives/toggle.d.ts +2 -2
- package/dist/primitives/voice-dictation-button.cjs +5 -2
- package/dist/primitives/voice-dictation-button.d.cts +5 -9
- package/dist/primitives/voice-dictation-button.d.ts +5 -9
- package/dist/primitives/voice-dictation-button.js +4 -1
- package/dist/primitives/voice-session-controls.cjs +12 -0
- package/dist/primitives/voice-session-controls.d.cts +31 -0
- package/dist/primitives/voice-session-controls.d.ts +31 -0
- package/dist/primitives/voice-session-controls.js +12 -0
- package/package.json +51 -1
- package/dist/chunk-LKPM6DQP.cjs +0 -244
- package/dist/chunk-TI57GAQP.js +0 -244
- package/dist/{chunk-HREEZUKL.js → chunk-DILYV4FI.js} +3 -3
- package/dist/{chunk-MU4F3DSW.cjs → chunk-FARCLWLU.cjs} +2 -2
- package/dist/{chunk-CRTH5GJ5.cjs → chunk-MW67PHAQ.cjs} +3 -3
- package/dist/{chunk-KNKV25WS.js → chunk-UFFHGKI7.js} +3 -3
- package/dist/{chunk-HBRVOGLA.js → chunk-WHDHUYS6.js} +3 -3
- package/dist/{chunk-Z3JJSNR5.cjs → chunk-ZLEM2SAU.cjs} +2 -2
package/dist/chunk-TI57GAQP.js
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Button
|
|
4
|
-
} from "./chunk-W326GKML.js";
|
|
5
|
-
import {
|
|
6
|
-
cn
|
|
7
|
-
} from "./chunk-G6SRSWXB.js";
|
|
8
|
-
|
|
9
|
-
// src/primitives/voice-dictation-button.tsx
|
|
10
|
-
import {
|
|
11
|
-
useCallback,
|
|
12
|
-
useEffect,
|
|
13
|
-
useRef,
|
|
14
|
-
useState
|
|
15
|
-
} from "react";
|
|
16
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
17
|
-
import { Mic, X } from "lucide-react";
|
|
18
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
-
function VoiceDictationButton({
|
|
20
|
-
onCommit,
|
|
21
|
-
onCancel,
|
|
22
|
-
title = "Dictate your message",
|
|
23
|
-
caption = "listening",
|
|
24
|
-
lang = "en-US",
|
|
25
|
-
continuous = true,
|
|
26
|
-
className,
|
|
27
|
-
size = "sm",
|
|
28
|
-
showLabel = false,
|
|
29
|
-
children,
|
|
30
|
-
disabled = false,
|
|
31
|
-
visibility = "visible",
|
|
32
|
-
shrink = true
|
|
33
|
-
}) {
|
|
34
|
-
const [supported, setSupported] = useState(false);
|
|
35
|
-
const [open, setOpen] = useState(false);
|
|
36
|
-
const [transcript, setTranscript] = useState("");
|
|
37
|
-
const [interim, setInterim] = useState("");
|
|
38
|
-
const [errored, setErrored] = useState(false);
|
|
39
|
-
const recognitionRef = useRef(null);
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
const w = window;
|
|
42
|
-
const Ctor = w.SpeechRecognition ?? w.webkitSpeechRecognition;
|
|
43
|
-
setSupported(typeof Ctor === "function");
|
|
44
|
-
}, []);
|
|
45
|
-
const stop = useCallback(() => {
|
|
46
|
-
recognitionRef.current?.stop();
|
|
47
|
-
recognitionRef.current = null;
|
|
48
|
-
}, []);
|
|
49
|
-
const startRecognition = useCallback(() => {
|
|
50
|
-
const w = window;
|
|
51
|
-
const Ctor = w.SpeechRecognition ?? w.webkitSpeechRecognition;
|
|
52
|
-
if (!Ctor) return;
|
|
53
|
-
const rec = new Ctor();
|
|
54
|
-
rec.continuous = continuous;
|
|
55
|
-
rec.interimResults = true;
|
|
56
|
-
rec.lang = lang;
|
|
57
|
-
rec.onresult = (event) => {
|
|
58
|
-
let finalChunk = "";
|
|
59
|
-
let interimChunk = "";
|
|
60
|
-
for (let i = event.resultIndex; i < event.results.length; i++) {
|
|
61
|
-
const r = event.results[i];
|
|
62
|
-
if (!r) continue;
|
|
63
|
-
if (r.isFinal) finalChunk += r[0].transcript;
|
|
64
|
-
else interimChunk += r[0].transcript;
|
|
65
|
-
}
|
|
66
|
-
if (finalChunk) {
|
|
67
|
-
setTranscript((prev) => prev ? prev + " " + finalChunk : finalChunk);
|
|
68
|
-
setInterim("");
|
|
69
|
-
} else if (interimChunk) {
|
|
70
|
-
setInterim(interimChunk);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
rec.onerror = () => {
|
|
74
|
-
setErrored(true);
|
|
75
|
-
};
|
|
76
|
-
rec.onend = () => {
|
|
77
|
-
recognitionRef.current = null;
|
|
78
|
-
};
|
|
79
|
-
recognitionRef.current = rec;
|
|
80
|
-
setErrored(false);
|
|
81
|
-
rec.start();
|
|
82
|
-
}, [continuous, lang]);
|
|
83
|
-
const openOverlay = useCallback(() => {
|
|
84
|
-
setTranscript("");
|
|
85
|
-
setInterim("");
|
|
86
|
-
setOpen(true);
|
|
87
|
-
startRecognition();
|
|
88
|
-
}, [startRecognition]);
|
|
89
|
-
const closeOverlay = useCallback(() => {
|
|
90
|
-
stop();
|
|
91
|
-
setOpen(false);
|
|
92
|
-
setInterim("");
|
|
93
|
-
}, [stop]);
|
|
94
|
-
const handleDone = useCallback(() => {
|
|
95
|
-
const final = `${transcript} ${interim}`.trim();
|
|
96
|
-
closeOverlay();
|
|
97
|
-
if (final) onCommit(final);
|
|
98
|
-
else onCancel?.();
|
|
99
|
-
}, [transcript, interim, onCommit, onCancel, closeOverlay]);
|
|
100
|
-
const handleCancel = useCallback(() => {
|
|
101
|
-
closeOverlay();
|
|
102
|
-
onCancel?.();
|
|
103
|
-
}, [closeOverlay, onCancel]);
|
|
104
|
-
useEffect(() => {
|
|
105
|
-
if (!open) return;
|
|
106
|
-
const onKey = (e) => {
|
|
107
|
-
if (e.key === "Enter" && !e.shiftKey) handleDone();
|
|
108
|
-
};
|
|
109
|
-
document.addEventListener("keydown", onKey);
|
|
110
|
-
return () => document.removeEventListener("keydown", onKey);
|
|
111
|
-
}, [open, handleDone]);
|
|
112
|
-
useEffect(() => {
|
|
113
|
-
return () => {
|
|
114
|
-
recognitionRef.current?.abort();
|
|
115
|
-
};
|
|
116
|
-
}, []);
|
|
117
|
-
if (!supported) return null;
|
|
118
|
-
const displayTranscript = `${transcript}${interim ? (transcript ? " " : "") + interim : ""}`;
|
|
119
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
120
|
-
children ? /* @__PURE__ */ jsx(
|
|
121
|
-
"button",
|
|
122
|
-
{
|
|
123
|
-
type: "button",
|
|
124
|
-
onClick: openOverlay,
|
|
125
|
-
disabled,
|
|
126
|
-
"aria-label": "Start dictation",
|
|
127
|
-
className: cn(visibility === "hidden" && "hidden", className),
|
|
128
|
-
children
|
|
129
|
-
}
|
|
130
|
-
) : /* @__PURE__ */ jsx(
|
|
131
|
-
Button,
|
|
132
|
-
{
|
|
133
|
-
type: "button",
|
|
134
|
-
onClick: openOverlay,
|
|
135
|
-
disabled,
|
|
136
|
-
variant: "outline",
|
|
137
|
-
size,
|
|
138
|
-
"aria-label": "Start dictation",
|
|
139
|
-
className: cn("transition-colors", visibility === "hidden" && "hidden", !shrink && "shrink-0", className),
|
|
140
|
-
children: /* @__PURE__ */ jsxs("span", { className: "flex items-center justify-center gap-2", children: [
|
|
141
|
-
/* @__PURE__ */ jsx(Mic, { className: "h-4 w-4" }),
|
|
142
|
-
showLabel && /* @__PURE__ */ jsx("span", { children: "Speak" })
|
|
143
|
-
] })
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
/* @__PURE__ */ jsx(
|
|
147
|
-
DialogPrimitive.Root,
|
|
148
|
-
{
|
|
149
|
-
open,
|
|
150
|
-
onOpenChange: (next) => {
|
|
151
|
-
if (!next) closeOverlay();
|
|
152
|
-
},
|
|
153
|
-
children: /* @__PURE__ */ jsx(DialogPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
154
|
-
DialogPrimitive.Content,
|
|
155
|
-
{
|
|
156
|
-
"aria-label": "Voice dictation",
|
|
157
|
-
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
158
|
-
onMouseDown: (e) => {
|
|
159
|
-
if (e.target === e.currentTarget) handleCancel();
|
|
160
|
-
},
|
|
161
|
-
className: "fixed inset-0 z-[200] flex flex-col bg-background outline-hidden md:items-center md:justify-center md:bg-black/40 md:backdrop-blur-sm",
|
|
162
|
-
children: [
|
|
163
|
-
/* @__PURE__ */ jsx(DialogPrimitive.Title, { className: "sr-only", children: "Voice dictation" }),
|
|
164
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 md:flex-initial w-full md:max-w-lg md:rounded-xl bg-background flex flex-col md:max-h-[80vh] md:shadow-2xl md:border md:border-border", children: [
|
|
165
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-4 py-3 border-b border-border md:rounded-t-xl", children: [
|
|
166
|
-
/* @__PURE__ */ jsx("span", { className: "font-mono text-xs uppercase tracking-wider text-muted-foreground", children: caption }),
|
|
167
|
-
/* @__PURE__ */ jsx(
|
|
168
|
-
"button",
|
|
169
|
-
{
|
|
170
|
-
type: "button",
|
|
171
|
-
onClick: handleCancel,
|
|
172
|
-
"aria-label": "Cancel",
|
|
173
|
-
className: "p-1 -m-1 rounded-sm hover:bg-muted/60 transition-colors",
|
|
174
|
-
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
175
|
-
}
|
|
176
|
-
)
|
|
177
|
-
] }),
|
|
178
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col items-center justify-center px-6 text-center", children: [
|
|
179
|
-
/* @__PURE__ */ jsxs("div", { className: "relative w-24 h-24 mb-10 flex items-center justify-center", children: [
|
|
180
|
-
/* @__PURE__ */ jsx(
|
|
181
|
-
"span",
|
|
182
|
-
{
|
|
183
|
-
"aria-hidden": true,
|
|
184
|
-
className: cn(
|
|
185
|
-
"absolute inset-0 rounded-full",
|
|
186
|
-
errored ? "bg-destructive/20" : "bg-destructive/20 animate-ping"
|
|
187
|
-
)
|
|
188
|
-
}
|
|
189
|
-
),
|
|
190
|
-
/* @__PURE__ */ jsx(
|
|
191
|
-
"span",
|
|
192
|
-
{
|
|
193
|
-
"aria-hidden": true,
|
|
194
|
-
className: cn(
|
|
195
|
-
"absolute inset-2 rounded-full",
|
|
196
|
-
errored ? "bg-destructive/40" : "bg-destructive/40"
|
|
197
|
-
)
|
|
198
|
-
}
|
|
199
|
-
),
|
|
200
|
-
/* @__PURE__ */ jsx(Mic, { className: "relative h-9 w-9 text-destructive-foreground" })
|
|
201
|
-
] }),
|
|
202
|
-
title && /* @__PURE__ */ jsx("div", { className: "text-base font-medium text-muted-foreground mb-3", children: title }),
|
|
203
|
-
/* @__PURE__ */ jsx("p", { className: "text-xl md:text-2xl leading-relaxed min-h-[5rem] max-w-xl text-foreground", children: displayTranscript ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
204
|
-
/* @__PURE__ */ jsx("span", { children: transcript }),
|
|
205
|
-
interim && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
206
|
-
transcript ? " " : "",
|
|
207
|
-
interim
|
|
208
|
-
] })
|
|
209
|
-
] }) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground italic text-base", children: "Start speaking \u2014 I'm listening." }) }),
|
|
210
|
-
errored && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive mt-4", children: "Couldn't access the microphone. Check permissions." })
|
|
211
|
-
] }),
|
|
212
|
-
/* @__PURE__ */ jsxs("div", { className: "border-t border-border px-4 py-4 pb-[calc(1rem+env(safe-area-inset-bottom))] md:pb-4 md:rounded-b-xl flex flex-col items-stretch gap-2", children: [
|
|
213
|
-
/* @__PURE__ */ jsx(
|
|
214
|
-
Button,
|
|
215
|
-
{
|
|
216
|
-
size: "lg",
|
|
217
|
-
className: "h-12 w-full",
|
|
218
|
-
onClick: handleDone,
|
|
219
|
-
disabled: !displayTranscript.trim(),
|
|
220
|
-
children: "Done"
|
|
221
|
-
}
|
|
222
|
-
),
|
|
223
|
-
/* @__PURE__ */ jsx(
|
|
224
|
-
"button",
|
|
225
|
-
{
|
|
226
|
-
type: "button",
|
|
227
|
-
onClick: handleCancel,
|
|
228
|
-
className: "text-sm text-muted-foreground hover:text-foreground py-1",
|
|
229
|
-
children: "Cancel"
|
|
230
|
-
}
|
|
231
|
-
)
|
|
232
|
-
] })
|
|
233
|
-
] })
|
|
234
|
-
]
|
|
235
|
-
}
|
|
236
|
-
) })
|
|
237
|
-
}
|
|
238
|
-
)
|
|
239
|
-
] });
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export {
|
|
243
|
-
VoiceDictationButton
|
|
244
|
-
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Button
|
|
4
4
|
} from "./chunk-W326GKML.js";
|
|
5
|
-
import {
|
|
6
|
-
useCopyToClipboard
|
|
7
|
-
} from "./chunk-ZWZAAGQF.js";
|
|
8
5
|
import {
|
|
9
6
|
cn
|
|
10
7
|
} from "./chunk-G6SRSWXB.js";
|
|
8
|
+
import {
|
|
9
|
+
useCopyToClipboard
|
|
10
|
+
} from "./chunk-ZWZAAGQF.js";
|
|
11
11
|
|
|
12
12
|
// src/primitives/copy-button.tsx
|
|
13
13
|
import { forwardRef } from "react";
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
var _chunkJDEXZGIYcjs = require('./chunk-JDEXZGIY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKWLSBTB2cjs = require('./chunk-KWLSBTB2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4LXN6GLZcjs = require('./chunk-4LXN6GLZ.cjs');
|
|
11
11
|
|
|
12
12
|
// src/primitives/copy-button.tsx
|
|
13
13
|
var _react = require('react');
|
|
@@ -15,9 +15,6 @@ var _chunkWNXVGUBFcjs = require('./chunk-WNXVGUBF.cjs');
|
|
|
15
15
|
var _chunkIQZLUT2Ycjs = require('./chunk-IQZLUT2Y.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var _chunkVOTCYG3Fcjs = require('./chunk-VOTCYG3F.cjs');
|
|
19
|
-
|
|
20
|
-
|
|
21
18
|
var _chunkJH4GAGOQcjs = require('./chunk-JH4GAGOQ.cjs');
|
|
22
19
|
|
|
23
20
|
|
|
@@ -28,6 +25,9 @@ var _chunkJH4GAGOQcjs = require('./chunk-JH4GAGOQ.cjs');
|
|
|
28
25
|
var _chunkV5SPFLKWcjs = require('./chunk-V5SPFLKW.cjs');
|
|
29
26
|
|
|
30
27
|
|
|
28
|
+
var _chunkVOTCYG3Fcjs = require('./chunk-VOTCYG3F.cjs');
|
|
29
|
+
|
|
30
|
+
|
|
31
31
|
var _chunkPQUSJEXLcjs = require('./chunk-PQUSJEXL.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
@@ -13,9 +13,6 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
Label
|
|
15
15
|
} from "./chunk-E2TQMDO7.js";
|
|
16
|
-
import {
|
|
17
|
-
Calendar
|
|
18
|
-
} from "./chunk-H2CCBRVG.js";
|
|
19
16
|
import {
|
|
20
17
|
Checkbox
|
|
21
18
|
} from "./chunk-OICAYRVH.js";
|
|
@@ -26,6 +23,9 @@ import {
|
|
|
26
23
|
SelectTrigger,
|
|
27
24
|
SelectValue
|
|
28
25
|
} from "./chunk-J6NXDZR5.js";
|
|
26
|
+
import {
|
|
27
|
+
Calendar
|
|
28
|
+
} from "./chunk-H2CCBRVG.js";
|
|
29
29
|
import {
|
|
30
30
|
Input
|
|
31
31
|
} from "./chunk-QMA3WVB7.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Text
|
|
4
|
-
} from "./chunk-EIY5LLSP.js";
|
|
5
2
|
import {
|
|
6
3
|
Tooltip,
|
|
7
4
|
TooltipContent,
|
|
8
5
|
TooltipTrigger
|
|
9
6
|
} from "./chunk-ZRLUUZHK.js";
|
|
7
|
+
import {
|
|
8
|
+
Text
|
|
9
|
+
} from "./chunk-EIY5LLSP.js";
|
|
10
10
|
import {
|
|
11
11
|
Button
|
|
12
12
|
} from "./chunk-W326GKML.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunk373W6VADcjs = require('./chunk-373W6VAD.cjs');
|
|
5
4
|
|
|
6
5
|
|
|
6
|
+
var _chunkU2NES7VRcjs = require('./chunk-U2NES7VR.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk373W6VADcjs = require('./chunk-373W6VAD.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkJDEXZGIYcjs = require('./chunk-JDEXZGIY.cjs');
|