@arcadeai/design-system 3.41.1 → 3.42.4
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/assets/icons/cursor.js +6 -9
- package/dist/assets/icons/forkable.js +2 -2
- package/dist/assets/icons/mcp.js +2 -5
- package/dist/assets/icons/resend.js +10 -0
- package/dist/assets/icons/squareup.js +7 -11
- package/dist/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/components/index.js +387 -379
- package/dist/components/ui/atoms/compute-flow-paths.d.ts +21 -0
- package/dist/components/ui/atoms/compute-flow-paths.d.ts.map +1 -0
- package/dist/components/ui/atoms/compute-flow-paths.js +38 -0
- package/dist/components/ui/atoms/flow-connector.d.ts +48 -0
- package/dist/components/ui/atoms/flow-connector.d.ts.map +1 -0
- package/dist/components/ui/atoms/flow-connector.js +153 -0
- package/dist/components/ui/atoms/flow-hub.d.ts +26 -0
- package/dist/components/ui/atoms/flow-hub.d.ts.map +1 -0
- package/dist/components/ui/atoms/flow-hub.js +34 -0
- package/dist/components/ui/atoms/flow-tile.d.ts +19 -0
- package/dist/components/ui/atoms/flow-tile.d.ts.map +1 -0
- package/dist/components/ui/atoms/flow-tile.js +49 -0
- package/dist/components/ui/atoms/icons/cursor.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/cursor.js +7 -7
- package/dist/components/ui/atoms/icons/forkable.js +8 -8
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +88 -86
- package/dist/components/ui/atoms/icons/mcp.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/mcp.js +3 -4
- package/dist/components/ui/atoms/icons/resend.d.ts +4 -0
- package/dist/components/ui/atoms/icons/resend.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/resend.js +24 -0
- package/dist/components/ui/atoms/icons/squareup.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/squareup.js +12 -13
- package/dist/components/ui/atoms/index.js +257 -255
- package/dist/components/ui/index.js +387 -379
- package/dist/components/ui/molecules/flow-diagram.d.ts +56 -0
- package/dist/components/ui/molecules/flow-diagram.d.ts.map +1 -0
- package/dist/components/ui/molecules/flow-diagram.js +232 -0
- package/dist/components/ui/molecules/index.d.ts +2 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +42 -40
- package/dist/components/ui/molecules/requirement-badges.js +6 -4
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/templates/gateway-diagram.d.ts +28 -0
- package/dist/components/ui/templates/gateway-diagram.d.ts.map +1 -0
- package/dist/components/ui/templates/gateway-diagram.js +76 -0
- package/dist/components/ui/templates/index.d.ts +2 -0
- package/dist/components/ui/templates/index.d.ts.map +1 -1
- package/dist/components/ui/templates/index.js +31 -27
- package/dist/main.js +410 -400
- package/dist/metadata/index.d.ts +1 -0
- package/dist/metadata/index.d.ts.map +1 -1
- package/dist/metadata/index.js +25 -23
- package/dist/metadata/mcp-clients.d.ts +54 -0
- package/dist/metadata/mcp-clients.d.ts.map +1 -0
- package/dist/metadata/mcp-clients.js +23 -0
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +58 -56
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/{toolkit-card-Dc104Z9e.js → toolkit-card-ryIR325K.js} +22 -20
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { FlowConnectorLineStyle, FlowConnectorVariant } from '../atoms/flow-connector';
|
|
3
|
+
type FlowAnimateMode = "both" | "left" | "right" | "none";
|
|
4
|
+
type FlowSize = "sm" | "md" | "lg";
|
|
5
|
+
type FlowDiagramProps = {
|
|
6
|
+
/** Items rendered on the left side, fanning into the hub. */
|
|
7
|
+
left: ReactNode[];
|
|
8
|
+
/** Items rendered on the right side, fanning out from the hub. */
|
|
9
|
+
right: ReactNode[];
|
|
10
|
+
/**
|
|
11
|
+
* Center mark — typically a `FlowHub` wrapping a logo. Rendered as-is.
|
|
12
|
+
*/
|
|
13
|
+
center: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Which sides animate. `both` is the default; `none` renders static
|
|
16
|
+
* dashed lines.
|
|
17
|
+
*/
|
|
18
|
+
animate?: FlowAnimateMode;
|
|
19
|
+
/**
|
|
20
|
+
* Animation style passed to both `FlowConnector` instances. Defaults
|
|
21
|
+
* to `flow`.
|
|
22
|
+
*/
|
|
23
|
+
animation?: FlowConnectorVariant;
|
|
24
|
+
/**
|
|
25
|
+
* Stroke pattern for the connectors. Defaults to `dashed` for the
|
|
26
|
+
* `flow` animation and `dotted` for `dot`.
|
|
27
|
+
*/
|
|
28
|
+
lineStyle?: FlowConnectorLineStyle;
|
|
29
|
+
/**
|
|
30
|
+
* Overall scale. Defaults to `md`. `sm` reduces the full-layout
|
|
31
|
+
* connector width slightly; the compact layout already uses smaller
|
|
32
|
+
* dimensions.
|
|
33
|
+
*/
|
|
34
|
+
size?: FlowSize;
|
|
35
|
+
/**
|
|
36
|
+
* Override the full-layout visible counts. The compact layout always
|
|
37
|
+
* caps at 3 per side. Pass `{ left: 4 }` to show 4 items on the left
|
|
38
|
+
* at wide container widths instead of the default 5.
|
|
39
|
+
*/
|
|
40
|
+
maxVisible?: {
|
|
41
|
+
left?: number;
|
|
42
|
+
right?: number;
|
|
43
|
+
};
|
|
44
|
+
} & Omit<ComponentProps<"div">, "children">;
|
|
45
|
+
/**
|
|
46
|
+
* Hub-and-spoke flow visualisation. Items fan out from a center mark on
|
|
47
|
+
* both sides via animated SVG connectors. Adapts between a compact and
|
|
48
|
+
* a full layout based on container width (Tailwind's `@container`).
|
|
49
|
+
*
|
|
50
|
+
* Use `GatewayDiagram` for the Arcade-branded preset with default MCP
|
|
51
|
+
* client/server icon catalogues.
|
|
52
|
+
*/
|
|
53
|
+
declare function FlowDiagram({ left, right, center, animate, animation, lineStyle, size, maxVisible, className, "aria-label": ariaLabel, ...props }: FlowDiagramProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export { FlowDiagram };
|
|
55
|
+
export type { FlowAnimateMode, FlowDiagramProps, FlowSize };
|
|
56
|
+
//# sourceMappingURL=flow-diagram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-diagram.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/flow-diagram.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EAC1B,MAAM,sCAAsC,CAAC;AAW9C,KAAK,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAC1D,KAAK,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnC,KAAK,gBAAgB,GAAG;IACtB,6DAA6D;IAC7D,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,kEAAkE;IAClE,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAChD,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAE5C;;;;;;;GAOG;AACH,iBAAS,WAAW,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAgB,EAChB,SAAkB,EAClB,SAAS,EACT,IAAW,EACX,UAAU,EACV,SAAS,EACT,YAAY,EAAE,SAA0B,EACxC,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA+MlB;AAwFD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as f, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { MoreHorizontal as W } from "lucide-react";
|
|
3
|
+
import { computeFlowPaths as g } from "../atoms/compute-flow-paths.js";
|
|
4
|
+
import { FlowConnector as p } from "../atoms/flow-connector.js";
|
|
5
|
+
import { FlowTile as X } from "../atoms/flow-tile.js";
|
|
6
|
+
import { cn as h } from "../../../lib/utils.js";
|
|
7
|
+
const s = 3, k = 2, Y = 5, Z = 8, N = 3;
|
|
8
|
+
function at({
|
|
9
|
+
left: t,
|
|
10
|
+
right: l,
|
|
11
|
+
center: n,
|
|
12
|
+
animate: i = "both",
|
|
13
|
+
animation: c = "flow",
|
|
14
|
+
lineStyle: r,
|
|
15
|
+
size: e = "md",
|
|
16
|
+
maxVisible: d,
|
|
17
|
+
className: _,
|
|
18
|
+
"aria-label": z = "Flow diagram",
|
|
19
|
+
...T
|
|
20
|
+
}) {
|
|
21
|
+
const m = d?.left ?? Y, u = d?.right ?? Z, M = i === "both" || i === "left", L = i === "both" || i === "right", F = t.length > 0, P = l.length > 0, R = Math.min(t.length, m) + (t.length > m ? 1 : 0), U = Math.min(l.length, u) + (l.length > u ? 1 : 0), x = Math.max(1, Math.ceil(R / N)), C = Math.max(
|
|
22
|
+
1,
|
|
23
|
+
Math.ceil(U / N)
|
|
24
|
+
), j = Math.min(t.length, s) + (t.length > s ? 1 : 0), y = Math.min(l.length, s) + (l.length > s ? 1 : 0), E = O(j), $ = O(y), A = g({
|
|
25
|
+
count: E,
|
|
26
|
+
side: "left"
|
|
27
|
+
}), B = g({
|
|
28
|
+
count: $,
|
|
29
|
+
side: "right"
|
|
30
|
+
}), H = g({
|
|
31
|
+
count: x,
|
|
32
|
+
side: "left"
|
|
33
|
+
}), V = g({
|
|
34
|
+
count: C,
|
|
35
|
+
side: "right"
|
|
36
|
+
}), S = "h-[76px] w-12 @md:h-[92px] @md:w-[87px]", b = K(
|
|
37
|
+
e,
|
|
38
|
+
Math.max(x, C)
|
|
39
|
+
), D = {
|
|
40
|
+
width: `${b}px`,
|
|
41
|
+
height: `${v(e, x)}px`
|
|
42
|
+
}, G = {
|
|
43
|
+
width: `${b}px`,
|
|
44
|
+
height: `${v(e, C)}px`
|
|
45
|
+
};
|
|
46
|
+
return /* @__PURE__ */ a(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
"aria-label": z,
|
|
50
|
+
className: h("@container w-full", _),
|
|
51
|
+
"data-slot": "flow-diagram",
|
|
52
|
+
role: "img",
|
|
53
|
+
...T,
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ a(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
"aria-hidden": !0,
|
|
59
|
+
className: h(
|
|
60
|
+
"mx-auto flex @2xl:hidden w-full @md:max-w-md max-w-80 items-center justify-center gap-1",
|
|
61
|
+
// Tile size scales up at @md to fill medium-width containers.
|
|
62
|
+
"@md:[&_[data-slot=flow-tile]]:size-10 [&_[data-slot=flow-tile]]:size-8",
|
|
63
|
+
"@md:[&_[data-slot=flow-tile]]:rounded-xl [&_[data-slot=flow-tile]]:rounded-lg",
|
|
64
|
+
"@md:[&_[data-slot=flow-tile]>svg]:size-5 [&_[data-slot=flow-tile]>svg]:size-4",
|
|
65
|
+
// Hub scales to match the larger tile cluster at @md.
|
|
66
|
+
"@md:[&_[data-slot=flow-hub]]:size-16 [&_[data-slot=flow-hub]]:size-12",
|
|
67
|
+
"@md:[&_[data-slot=flow-hub]_>_span:last-child]:rounded-[12px] [&_[data-slot=flow-hub]_>_span:last-child]:rounded-[8px]",
|
|
68
|
+
"@md:[&_[data-slot=flow-hub]_svg]:size-7 [&_[data-slot=flow-hub]_svg]:size-6"
|
|
69
|
+
),
|
|
70
|
+
children: [
|
|
71
|
+
F ? /* @__PURE__ */ a(f, { children: [
|
|
72
|
+
/* @__PURE__ */ o(
|
|
73
|
+
w,
|
|
74
|
+
{
|
|
75
|
+
columns: 2,
|
|
76
|
+
hasOverflow: t.length > s,
|
|
77
|
+
items: t.slice(0, s),
|
|
78
|
+
overflowSize: e
|
|
79
|
+
}
|
|
80
|
+
),
|
|
81
|
+
/* @__PURE__ */ o(
|
|
82
|
+
p,
|
|
83
|
+
{
|
|
84
|
+
animated: M,
|
|
85
|
+
className: h(S),
|
|
86
|
+
clusterSide: "end",
|
|
87
|
+
lineStyle: r,
|
|
88
|
+
paths: A,
|
|
89
|
+
variant: c
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
] }) : null,
|
|
93
|
+
n,
|
|
94
|
+
P ? /* @__PURE__ */ a(f, { children: [
|
|
95
|
+
/* @__PURE__ */ o(
|
|
96
|
+
p,
|
|
97
|
+
{
|
|
98
|
+
animated: L,
|
|
99
|
+
className: h(S),
|
|
100
|
+
clusterSide: "start",
|
|
101
|
+
lineStyle: r,
|
|
102
|
+
paths: B,
|
|
103
|
+
variant: c
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
/* @__PURE__ */ o(
|
|
107
|
+
w,
|
|
108
|
+
{
|
|
109
|
+
columns: 2,
|
|
110
|
+
hasOverflow: l.length > s,
|
|
111
|
+
items: l.slice(0, s),
|
|
112
|
+
overflowSize: e
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] }) : null
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ a(
|
|
120
|
+
"div",
|
|
121
|
+
{
|
|
122
|
+
"aria-hidden": !0,
|
|
123
|
+
className: "@2xl:grid hidden w-full grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center",
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ o("div", { className: "flex min-w-0 items-center justify-end gap-0", children: F ? /* @__PURE__ */ a(f, { children: [
|
|
126
|
+
/* @__PURE__ */ o(
|
|
127
|
+
w,
|
|
128
|
+
{
|
|
129
|
+
columns: 3,
|
|
130
|
+
hasOverflow: t.length > m,
|
|
131
|
+
items: t.slice(0, m),
|
|
132
|
+
overflowSize: e
|
|
133
|
+
}
|
|
134
|
+
),
|
|
135
|
+
/* @__PURE__ */ o(
|
|
136
|
+
p,
|
|
137
|
+
{
|
|
138
|
+
animated: M,
|
|
139
|
+
clusterSide: "end",
|
|
140
|
+
lineStyle: r,
|
|
141
|
+
paths: H,
|
|
142
|
+
style: D,
|
|
143
|
+
variant: c
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
] }) : null }),
|
|
147
|
+
n,
|
|
148
|
+
/* @__PURE__ */ o("div", { className: "flex min-w-0 items-center justify-start gap-0", children: P ? /* @__PURE__ */ a(f, { children: [
|
|
149
|
+
/* @__PURE__ */ o(
|
|
150
|
+
p,
|
|
151
|
+
{
|
|
152
|
+
animated: L,
|
|
153
|
+
clusterSide: "start",
|
|
154
|
+
lineStyle: r,
|
|
155
|
+
paths: V,
|
|
156
|
+
style: G,
|
|
157
|
+
variant: c
|
|
158
|
+
}
|
|
159
|
+
),
|
|
160
|
+
/* @__PURE__ */ o(
|
|
161
|
+
w,
|
|
162
|
+
{
|
|
163
|
+
columns: 3,
|
|
164
|
+
hasOverflow: l.length > u,
|
|
165
|
+
items: l.slice(0, u),
|
|
166
|
+
overflowSize: e
|
|
167
|
+
}
|
|
168
|
+
)
|
|
169
|
+
] }) : null })
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
)
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
function w({
|
|
178
|
+
items: t,
|
|
179
|
+
columns: l,
|
|
180
|
+
hasOverflow: n,
|
|
181
|
+
overflowSize: i
|
|
182
|
+
}) {
|
|
183
|
+
const c = t.length + (n ? 1 : 0), r = Math.max(1, Math.min(l, c)), e = I[r] ?? I[3];
|
|
184
|
+
return (
|
|
185
|
+
// `shrink-0` keeps the grid at its natural width even when the
|
|
186
|
+
// parent flex slot is narrower than the cloud — without it, the
|
|
187
|
+
// `minmax(0,1fr)` tracks collapse below tile size and tiles
|
|
188
|
+
// overlap their neighbours (visible as icons stacking on top of
|
|
189
|
+
// each other at small viewports).
|
|
190
|
+
/* @__PURE__ */ a(
|
|
191
|
+
"div",
|
|
192
|
+
{
|
|
193
|
+
className: h(
|
|
194
|
+
"grid shrink-0 justify-center gap-2.5 sm:gap-3",
|
|
195
|
+
e
|
|
196
|
+
),
|
|
197
|
+
children: [
|
|
198
|
+
t.map((d, _) => (
|
|
199
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: items are caller-provided ReactNodes; index is stable within the molecule render
|
|
200
|
+
/* @__PURE__ */ o("span", { children: d }, `flow-item-${_}`)
|
|
201
|
+
)),
|
|
202
|
+
n ? /* @__PURE__ */ o(X, { size: i, variant: "muted", children: /* @__PURE__ */ o(W, { "aria-hidden": !0 }) }) : null
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
const I = {
|
|
209
|
+
1: "grid-cols-1",
|
|
210
|
+
2: "grid-cols-2",
|
|
211
|
+
3: "grid-cols-3"
|
|
212
|
+
}, q = {
|
|
213
|
+
sm: 32,
|
|
214
|
+
md: 40,
|
|
215
|
+
lg: 56
|
|
216
|
+
}, J = 12;
|
|
217
|
+
function O(t) {
|
|
218
|
+
if (t <= 0)
|
|
219
|
+
return 1;
|
|
220
|
+
const l = Math.max(1, Math.min(k, t));
|
|
221
|
+
return Math.max(1, Math.ceil(t / l));
|
|
222
|
+
}
|
|
223
|
+
function v(t, l) {
|
|
224
|
+
const n = q[t];
|
|
225
|
+
return l * n + Math.max(0, l - 1) * J;
|
|
226
|
+
}
|
|
227
|
+
function K(t, l) {
|
|
228
|
+
return Math.round(v(t, l) * 0.95);
|
|
229
|
+
}
|
|
230
|
+
export {
|
|
231
|
+
at as FlowDiagram
|
|
232
|
+
};
|
|
@@ -12,6 +12,8 @@ export { DateTimePicker } from './date-time-picker';
|
|
|
12
12
|
export { EmptyState } from './empty-state';
|
|
13
13
|
export type { ErrorStateProps } from './error-state';
|
|
14
14
|
export { ErrorState } from './error-state';
|
|
15
|
+
export type { FlowAnimateMode, FlowDiagramProps, FlowSize, } from './flow-diagram';
|
|
16
|
+
export { FlowDiagram } from './flow-diagram';
|
|
15
17
|
export type { MessageActionProps, MessageActionsProps, MessageAvatarProps, MessageContentProps, MessageProps, } from './message';
|
|
16
18
|
export { Message, MessageAction, MessageActions, MessageAvatar, MessageContent, } from './message';
|
|
17
19
|
export type { PromptInputActionProps, PromptInputActionsProps, PromptInputProps, PromptInputTextareaProps, } from './prompt-input';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,yBAAyB,EACzB,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,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Ac,CAAC;AACzD,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,6BAA6B,EAC7B,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,EAC7B,aAAa,EACb,YAAY,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,yBAAyB,EACzB,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,UAAU,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AO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACzD,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,6BAA6B,EAC7B,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,EAC7B,aAAa,EACb,YAAY,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,59 +1,61 @@
|
|
|
1
1
|
import { ChatHistoryItem as r } from "./chat-history-item.js";
|
|
2
|
-
import { ChatAssistantMessage as a, ChatMessageList as s, ChatMessageListSkeleton as n, ChatStreamingIndicator as i, ChatUserMessage as
|
|
2
|
+
import { ChatAssistantMessage as a, ChatMessageList as s, ChatMessageListSkeleton as n, ChatStreamingIndicator as i, ChatUserMessage as m } from "./chat-message-list.js";
|
|
3
3
|
import { ClientSecretInput as l } from "./client-secret-field.js";
|
|
4
|
-
import { CommandBar as
|
|
5
|
-
import { ConfirmPopover as
|
|
4
|
+
import { CommandBar as f } from "./command-bar.js";
|
|
5
|
+
import { ConfirmPopover as C } from "./confirm-popover.js";
|
|
6
6
|
import { DateTimePicker as u } from "./date-time-picker.js";
|
|
7
7
|
import { EmptyState as c } from "./empty-state.js";
|
|
8
8
|
import { ErrorState as h } from "./error-state.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { FlowDiagram as M } from "./flow-diagram.js";
|
|
10
|
+
import { Message as P, MessageAction as z, MessageActions as k, MessageAvatar as v, MessageContent as y } from "./message.js";
|
|
11
|
+
import { PromptInput as D, PromptInputAction as E, PromptInputActions as H, PromptInputTextarea as L } from "./prompt-input.js";
|
|
12
|
+
import { R as U, T as q } from "../../../toolkit-card-ryIR325K.js";
|
|
13
|
+
import { StepsProgress as F } from "./steps-progress.js";
|
|
13
14
|
import { SuggestionCard as V, SuggestionCardSkeleton as b } from "./suggestion-card.js";
|
|
14
|
-
import { TagsInput as
|
|
15
|
-
import { ToolAuthorization as
|
|
16
|
-
import { ToolCallAccordion as
|
|
17
|
-
import { ToolCard as
|
|
18
|
-
import { UserNav as
|
|
15
|
+
import { TagsInput as G, TagsInputValue as J } from "./tags-input.js";
|
|
16
|
+
import { ToolAuthorization as O, ToolAuthorizationArgs as Q, ToolAuthorizationContent as W, ToolAuthorizationHeader as X, ToolAuthorizationMessage as Y } from "./tool-authorization.js";
|
|
17
|
+
import { ToolCallAccordion as _, ToolCallAccordionContent as $, ToolCallAccordionItem as oo, ToolCallAccordionTrigger as to } from "./tool-call-accordion.js";
|
|
18
|
+
import { ToolCard as eo } from "./tool-card.js";
|
|
19
|
+
import { UserNav as so } from "./user-nav.js";
|
|
19
20
|
export {
|
|
20
21
|
a as ChatAssistantMessage,
|
|
21
22
|
r as ChatHistoryItem,
|
|
22
23
|
s as ChatMessageList,
|
|
23
24
|
n as ChatMessageListSkeleton,
|
|
24
25
|
i as ChatStreamingIndicator,
|
|
25
|
-
|
|
26
|
+
m as ChatUserMessage,
|
|
26
27
|
l as ClientSecretInput,
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
f as CommandBar,
|
|
29
|
+
C as ConfirmPopover,
|
|
29
30
|
u as DateTimePicker,
|
|
30
31
|
c as EmptyState,
|
|
31
32
|
h as ErrorState,
|
|
32
|
-
M as
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
y as
|
|
38
|
-
|
|
39
|
-
E as
|
|
40
|
-
H as
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
M as FlowDiagram,
|
|
34
|
+
P as Message,
|
|
35
|
+
z as MessageAction,
|
|
36
|
+
k as MessageActions,
|
|
37
|
+
v as MessageAvatar,
|
|
38
|
+
y as MessageContent,
|
|
39
|
+
D as PromptInput,
|
|
40
|
+
E as PromptInputAction,
|
|
41
|
+
H as PromptInputActions,
|
|
42
|
+
L as PromptInputTextarea,
|
|
43
|
+
U as RequirementBadges,
|
|
44
|
+
F as StepsProgress,
|
|
43
45
|
V as SuggestionCard,
|
|
44
46
|
b as SuggestionCardSkeleton,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
G as TagsInput,
|
|
48
|
+
J as TagsInputValue,
|
|
49
|
+
O as ToolAuthorization,
|
|
50
|
+
Q as ToolAuthorizationArgs,
|
|
51
|
+
W as ToolAuthorizationContent,
|
|
52
|
+
X as ToolAuthorizationHeader,
|
|
53
|
+
Y as ToolAuthorizationMessage,
|
|
54
|
+
_ as ToolCallAccordion,
|
|
55
|
+
$ as ToolCallAccordionContent,
|
|
56
|
+
oo as ToolCallAccordionItem,
|
|
57
|
+
to as ToolCallAccordionTrigger,
|
|
58
|
+
eo as ToolCard,
|
|
59
|
+
q as ToolkitCard,
|
|
60
|
+
so as UserNav
|
|
59
61
|
};
|
|
@@ -15,12 +15,14 @@ import "../atoms/sidebar.js";
|
|
|
15
15
|
import "../atoms/view-tools-control.js";
|
|
16
16
|
import "./date-time-picker.js";
|
|
17
17
|
import "./prompt-input.js";
|
|
18
|
-
import { O as
|
|
18
|
+
import { O as j, R as k, S as l } from "../../../toolkit-card-ryIR325K.js";
|
|
19
19
|
import "./tool-call-accordion.js";
|
|
20
20
|
import "./tool-card.js";
|
|
21
|
+
import "../../../metadata/oauth-providers.js";
|
|
22
|
+
import "../../../metadata/toolkits.js";
|
|
21
23
|
import "../utils/memo.js";
|
|
22
24
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
j as OAuthBadge,
|
|
26
|
+
k as RequirementBadges,
|
|
27
|
+
l as SecretsBadge
|
|
26
28
|
};
|
|
@@ -6,7 +6,7 @@ import "../atoms/card.js";
|
|
|
6
6
|
import "../atoms/checkbox.js";
|
|
7
7
|
import "../atoms/view-tools-control.js";
|
|
8
8
|
import "../../../lib/utils.js";
|
|
9
|
-
import { T as k } from "../../../toolkit-card-
|
|
9
|
+
import { T as k } from "../../../toolkit-card-ryIR325K.js";
|
|
10
10
|
import "../utils/memo.js";
|
|
11
11
|
export {
|
|
12
12
|
k as ToolkitCard
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { FlowDiagramProps } from '../molecules/flow-diagram';
|
|
3
|
+
import { McpClientId } from '../../../metadata/mcp-clients';
|
|
4
|
+
/**
|
|
5
|
+
* Default client IDs shown on the left when none are provided. These map
|
|
6
|
+
* into `MCP_CLIENT_METADATA` for label + icon resolution.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEFAULT_MCP_CLIENT_IDS: readonly McpClientId[];
|
|
9
|
+
/**
|
|
10
|
+
* Default toolkit IDs shown on the right when none are provided. These
|
|
11
|
+
* map into `TOOLKIT_ICON_MAP` (for the icon) and `TOOLKITS` (for the
|
|
12
|
+
* label).
|
|
13
|
+
*/
|
|
14
|
+
export declare const DEFAULT_MCP_SERVER_IDS: readonly string[];
|
|
15
|
+
type GatewayDiagramProps = {
|
|
16
|
+
/** MCP client identifiers shown on the left. */
|
|
17
|
+
mcpClientIds?: readonly McpClientId[];
|
|
18
|
+
/** Toolkit identifiers shown on the right (MCP servers). */
|
|
19
|
+
mcpServerIds?: readonly string[];
|
|
20
|
+
animate?: FlowDiagramProps["animate"];
|
|
21
|
+
animation?: FlowDiagramProps["animation"];
|
|
22
|
+
lineStyle?: FlowDiagramProps["lineStyle"];
|
|
23
|
+
size?: FlowDiagramProps["size"];
|
|
24
|
+
} & Omit<ComponentProps<"div">, "children">;
|
|
25
|
+
declare function GatewayDiagram({ mcpClientIds, mcpServerIds, animate, animation, lineStyle, size, "aria-label": ariaLabel, ...props }: GatewayDiagramProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export { GatewayDiagram };
|
|
27
|
+
export type { GatewayDiagramProps };
|
|
28
|
+
//# sourceMappingURL=gateway-diagram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway-diagram.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/gateway-diagram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI/E;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,WAAW,EAQxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAYnD,CAAC;AAKF,KAAK,mBAAmB,GAAG;IACzB,gDAAgD;IAChD,YAAY,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;IACtC,4DAA4D;IAC5D,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAsB5C,iBAAS,cAAc,CAAC,EACtB,YAAqC,EACrC,YAAqC,EACrC,OAAgB,EAChB,SAAkB,EAClB,SAAS,EACT,IAAW,EACX,YAAY,EAAE,SAAwC,EACtD,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAmDrB;AAED,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { FlowHub as p } from "../atoms/flow-hub.js";
|
|
3
|
+
import { FlowTile as n } from "../atoms/flow-tile.js";
|
|
4
|
+
import { Arcade as S } from "../atoms/icons/arcade.js";
|
|
5
|
+
import { FlowDiagram as T } from "../molecules/flow-diagram.js";
|
|
6
|
+
import { MCP_CLIENT_METADATA as A } from "../../../metadata/mcp-clients.js";
|
|
7
|
+
import { TOOLKIT_ICON_MAP as E } from "../../../metadata/toolkit-icons.js";
|
|
8
|
+
import { TOOLKITS as I } from "../../../metadata/toolkits.js";
|
|
9
|
+
const w = [
|
|
10
|
+
"claude_code",
|
|
11
|
+
"cursor",
|
|
12
|
+
"vscode",
|
|
13
|
+
"codex",
|
|
14
|
+
"gemini_cli",
|
|
15
|
+
"claude_desktop",
|
|
16
|
+
"windsurf"
|
|
17
|
+
], C = [
|
|
18
|
+
"Gmail",
|
|
19
|
+
"Slack",
|
|
20
|
+
"Github",
|
|
21
|
+
"Linear",
|
|
22
|
+
"Notion",
|
|
23
|
+
"Jira",
|
|
24
|
+
"Hubspot",
|
|
25
|
+
"GoogleCalendar",
|
|
26
|
+
"GoogleDrive",
|
|
27
|
+
"Salesforce",
|
|
28
|
+
"Stripe"
|
|
29
|
+
], D = "shadow-amber-950/25 shadow-xl bg-[linear-gradient(135deg,oklch(from_var(--brand-yellow)_l_c_h_/_0.55),oklch(from_var(--brand-green)_l_c_h_/_0.4),oklch(from_var(--brand-fuchsia)_l_c_h_/_0.45))]", L = {
|
|
30
|
+
sm: "md",
|
|
31
|
+
md: "lg",
|
|
32
|
+
lg: "xl"
|
|
33
|
+
};
|
|
34
|
+
function P({
|
|
35
|
+
mcpClientIds: c = w,
|
|
36
|
+
mcpServerIds: _ = C,
|
|
37
|
+
animate: m = "both",
|
|
38
|
+
animation: s = "flow",
|
|
39
|
+
lineStyle: d,
|
|
40
|
+
size: l = "md",
|
|
41
|
+
"aria-label": f = "Arcade MCP gateway diagram",
|
|
42
|
+
...u
|
|
43
|
+
}) {
|
|
44
|
+
const i = l, h = L[l], b = c.map((r) => {
|
|
45
|
+
const o = A[r];
|
|
46
|
+
if (!o)
|
|
47
|
+
return null;
|
|
48
|
+
const { label: a, Icon: t } = o;
|
|
49
|
+
return /* @__PURE__ */ e(n, { label: a, size: i, children: /* @__PURE__ */ e(t, {}) }, r);
|
|
50
|
+
}).filter((r) => r !== null), g = _.map((r) => {
|
|
51
|
+
const o = E[r];
|
|
52
|
+
if (!o)
|
|
53
|
+
return null;
|
|
54
|
+
const a = I.find((t) => t.id === r)?.label ?? r;
|
|
55
|
+
return /* @__PURE__ */ e(n, { label: a, size: i, children: /* @__PURE__ */ e(o, {}) }, r);
|
|
56
|
+
}).filter((r) => r !== null);
|
|
57
|
+
return /* @__PURE__ */ e(
|
|
58
|
+
T,
|
|
59
|
+
{
|
|
60
|
+
animate: m,
|
|
61
|
+
animation: s,
|
|
62
|
+
"aria-label": f,
|
|
63
|
+
center: /* @__PURE__ */ e(p, { className: D, size: h, children: /* @__PURE__ */ e(S, { "aria-hidden": !0 }) }),
|
|
64
|
+
left: b,
|
|
65
|
+
lineStyle: d,
|
|
66
|
+
right: g,
|
|
67
|
+
size: l,
|
|
68
|
+
...u
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
w as DEFAULT_MCP_CLIENT_IDS,
|
|
74
|
+
C as DEFAULT_MCP_SERVER_IDS,
|
|
75
|
+
P as GatewayDiagram
|
|
76
|
+
};
|
|
@@ -7,4 +7,6 @@ export type { ChatBodySkeletonProps, ChatContentSkeletonProps, ChatFooterSkeleto
|
|
|
7
7
|
export { ChatBodySkeleton, ChatContentSkeleton, ChatFooterSkeleton, ChatHeaderSkeleton, ChatSidebarSkeleton, } from './chat-template-skeletons';
|
|
8
8
|
export type { ErrorTemplateActionsProps, ErrorTemplateContentProps, ErrorTemplateDescriptionProps, ErrorTemplateIconProps, ErrorTemplateLogoProps, ErrorTemplateProps, ErrorTemplateTitleProps, ErrorTemplateUrlProps, } from './error-template';
|
|
9
9
|
export { ErrorTemplate, ErrorTemplateActions, ErrorTemplateContent, ErrorTemplateDescription, ErrorTemplateIcon, ErrorTemplateLogo, ErrorTemplateTitle, ErrorTemplateUrl, } from './error-template';
|
|
10
|
+
export type { GatewayDiagramProps } from './gateway-diagram';
|
|
11
|
+
export { DEFAULT_MCP_CLIENT_IDS, DEFAULT_MCP_SERVER_IDS, GatewayDiagram, } from './gateway-diagram';
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,kCAAkC,EAClC,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,gCAAgC,GACjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,kCAAkC,EAClC,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B,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,GACf,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AuthTemplate as a, AuthTemplateCard as r, AuthTemplateContent as o, AuthTemplateDefaultBackground as l, AuthTemplateDescription as p, AuthTemplateFooter as m, AuthTemplateGridOverlay as T, AuthTemplateHeader as h, AuthTemplateLegal as u, AuthTemplateLegalLink as
|
|
2
|
-
import { ChatTemplate as
|
|
3
|
-
import { ChatBodySkeleton as
|
|
4
|
-
import { ErrorTemplate as
|
|
1
|
+
import { AuthTemplate as a, AuthTemplateCard as r, AuthTemplateContent as o, AuthTemplateDefaultBackground as l, AuthTemplateDescription as p, AuthTemplateFooter as m, AuthTemplateGridOverlay as T, AuthTemplateHeader as h, AuthTemplateLegal as u, AuthTemplateLegalLink as C, AuthTemplateLogo as n, AuthTemplatePrompt as i, AuthTemplatePromptLink as A, AuthTemplateTitle as E, AuthTemplateVideoBackground as d } from "./auth-template.js";
|
|
2
|
+
import { ChatTemplate as g, ChatTemplateBody as k, ChatTemplateFooter as L, ChatTemplateHeader as D, ChatTemplateHeaderGroup as v, ChatTemplateOverview as c, ChatTemplateOverviewSubtitle as f, ChatTemplateOverviewTitle as _, ChatTemplateSuggestions as s } from "./chat-template.js";
|
|
3
|
+
import { ChatBodySkeleton as F, ChatContentSkeleton as w, ChatFooterSkeleton as y, ChatHeaderSkeleton as B, ChatSidebarSkeleton as H } from "./chat-template-skeletons.js";
|
|
4
|
+
import { ErrorTemplate as O, ErrorTemplateActions as P, ErrorTemplateContent as G, ErrorTemplateDescription as U, ErrorTemplateIcon as b, ErrorTemplateLogo as M, ErrorTemplateTitle as R, ErrorTemplateUrl as V } from "./error-template.js";
|
|
5
|
+
import { DEFAULT_MCP_CLIENT_IDS as j, DEFAULT_MCP_SERVER_IDS as q, GatewayDiagram as z } from "./gateway-diagram.js";
|
|
5
6
|
export {
|
|
6
7
|
a as AuthTemplate,
|
|
7
8
|
r as AuthTemplateCard,
|
|
@@ -12,32 +13,35 @@ export {
|
|
|
12
13
|
T as AuthTemplateGridOverlay,
|
|
13
14
|
h as AuthTemplateHeader,
|
|
14
15
|
u as AuthTemplateLegal,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
C as AuthTemplateLegalLink,
|
|
17
|
+
n as AuthTemplateLogo,
|
|
18
|
+
i as AuthTemplatePrompt,
|
|
18
19
|
A as AuthTemplatePromptLink,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
E as AuthTemplateTitle,
|
|
21
|
+
d as AuthTemplateVideoBackground,
|
|
22
|
+
F as ChatBodySkeleton,
|
|
22
23
|
w as ChatContentSkeleton,
|
|
23
24
|
y as ChatFooterSkeleton,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
B as ChatHeaderSkeleton,
|
|
26
|
+
H as ChatSidebarSkeleton,
|
|
27
|
+
g as ChatTemplate,
|
|
28
|
+
k as ChatTemplateBody,
|
|
29
|
+
L as ChatTemplateFooter,
|
|
30
|
+
D as ChatTemplateHeader,
|
|
31
|
+
v as ChatTemplateHeaderGroup,
|
|
32
|
+
c as ChatTemplateOverview,
|
|
33
|
+
f as ChatTemplateOverviewSubtitle,
|
|
34
|
+
_ as ChatTemplateOverviewTitle,
|
|
35
|
+
s as ChatTemplateSuggestions,
|
|
36
|
+
j as DEFAULT_MCP_CLIENT_IDS,
|
|
37
|
+
q as DEFAULT_MCP_SERVER_IDS,
|
|
38
|
+
O as ErrorTemplate,
|
|
36
39
|
P as ErrorTemplateActions,
|
|
37
|
-
|
|
40
|
+
G as ErrorTemplateContent,
|
|
38
41
|
U as ErrorTemplateDescription,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
b as ErrorTemplateIcon,
|
|
43
|
+
M as ErrorTemplateLogo,
|
|
44
|
+
R as ErrorTemplateTitle,
|
|
45
|
+
V as ErrorTemplateUrl,
|
|
46
|
+
z as GatewayDiagram
|
|
43
47
|
};
|