@yuku123/z-team-component 0.2.103 → 0.2.105

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.
Files changed (60) hide show
  1. package/dist/ChangeLogView-B0ML82u0.js +542 -0
  2. package/dist/ComponentDoc-C_289lsE.js +8035 -0
  3. package/dist/InvitationManagementPage-D2ezz4ZQ.js +495 -0
  4. package/dist/OnboardingPage-BXsJ-kcJ.js +393 -0
  5. package/dist/ScheduledTasks-Cn8BsDkN.js +12127 -0
  6. package/dist/SystemShell-gcfNlt2L.js +688 -0
  7. package/dist/_commonjsHelpers-B52_cu2H.js +26 -0
  8. package/dist/admin-logs-B6K1DwRL.js +198 -0
  9. package/dist/api-BdP8mK8v.js +101 -0
  10. package/dist/api-DxSgE7qw.js +20 -0
  11. package/dist/browser-jb_PFvU3.js +1538 -0
  12. package/dist/createWorkspaceWsHandler-DcNA1pfi.js +13142 -0
  13. package/dist/ctc-sso-DtJHC-2M.js +117 -0
  14. package/dist/echarts-B1OU1xr4.js +16 -0
  15. package/dist/history-BlrA1eaW.js +41 -0
  16. package/dist/index-54iTaRVW.js +316 -0
  17. package/dist/index-BCw3Oxp1.js +42049 -0
  18. package/dist/index-BDq0ofl2.js +348 -0
  19. package/dist/index-BN-o5nZM.js +8 -0
  20. package/dist/index-B_LJRFsK.js +339 -0
  21. package/dist/index-Bf1K9zpk.js +112 -0
  22. package/dist/index-BfMFQ6RD.js +169 -0
  23. package/dist/index-BohoJQPr.js +7631 -0
  24. package/dist/index-C-8n6xxK.js +93 -0
  25. package/dist/index-C815hPWS.js +430 -0
  26. package/dist/index-C8m8s-SU.js +479 -0
  27. package/dist/index-CXJXSmhB.js +2217 -0
  28. package/dist/index-CdugR2_4.js +5892 -0
  29. package/dist/index-CeCsncoT.js +913 -0
  30. package/dist/index-CgCB0-yK.js +1645 -0
  31. package/dist/index-Cjddvrij.js +2699 -0
  32. package/dist/index-D487Inba.js +315 -0
  33. package/dist/index-DK71mfJn.js +999 -0
  34. package/dist/index-DLHcoHS9.js +189 -0
  35. package/dist/index-DUiFk01c.js +178 -0
  36. package/dist/index-DWsfQMp8.js +208 -0
  37. package/dist/index-DgN13A-E.js +10169 -0
  38. package/dist/index-DhDdFRHC.js +279 -0
  39. package/dist/index-DpLamT1r.js +574 -0
  40. package/dist/index-Dpii3P5J.js +1302 -0
  41. package/dist/index-DszzQwsc.js +956 -0
  42. package/dist/index-HJ3Kt-NT.js +358 -0
  43. package/dist/index-Nj-dlFKY.js +242 -0
  44. package/dist/index-ZuYJoo9E.js +118 -0
  45. package/dist/index-etyS3HY2.js +142 -0
  46. package/dist/index-jIh52A4c.js +132 -0
  47. package/dist/index.js +10 -0
  48. package/dist/index.module-CAa-2T7m.js +72 -0
  49. package/dist/index.module-UI0iz8K0.js +42 -0
  50. package/dist/instance-p-ezisoS.js +216 -0
  51. package/dist/menuPermission-u3Gd_c8S.js +60 -0
  52. package/dist/mobile-client-O3yr9h6t.js +24 -0
  53. package/dist/pages.js +21 -0
  54. package/dist/send-default-agent-team-message-BhIV6T6O.js +35 -0
  55. package/dist/spark-md5-Dld54a-T.js +178 -0
  56. package/dist/sso-user-Ib1jhF7t.js +43 -0
  57. package/dist/training-D3Uy5K_M.js +450 -0
  58. package/dist/webide-BGQnArzY.js +5233 -0
  59. package/dist/z-team-component.css +1 -0
  60. package/package.json +1 -1
@@ -0,0 +1,189 @@
1
+ import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
+ import { useState as h, useCallback as u } from "react";
3
+ import { S as N, P as H } from "./webide-BGQnArzY.js";
4
+ import { L as W, P as $, S as j, C as B, E as O, a as q, W as b, b as g, T as z, c as E } from "./ScheduledTasks-Cn8BsDkN.js";
5
+ import { w as K, p as M } from "./index-DgN13A-E.js";
6
+ import { TodoTab as R } from "@yuku123/z-task-component";
7
+ function V({
8
+ view: s,
9
+ agents: o,
10
+ token: i,
11
+ currentUser: p,
12
+ onOpenChat: d,
13
+ onOpenAgentDetail: m,
14
+ onBackToExtensions: r,
15
+ onOpenTab: a,
16
+ onAgentCreated: T,
17
+ onOpenProject: l,
18
+ onOpenWorkbenchShell: x,
19
+ onOpenHistory: S,
20
+ localLane: n
21
+ }) {
22
+ const [y, k] = h(
23
+ null
24
+ ), [C, P] = h(
25
+ null
26
+ ), A = u(
27
+ (e) => {
28
+ a("notes"), k({ id: e, ts: Date.now() });
29
+ },
30
+ [a]
31
+ ), I = u(
32
+ (e) => {
33
+ a("todo"), P({ id: e, ts: Date.now() });
34
+ },
35
+ [a]
36
+ ), c = s.kind === "chat" ? s.lane === "local" ? `local-${s.sessionId ?? "new"}-${s.ts}` : `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none";
37
+ return /* @__PURE__ */ f("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
38
+ s.kind === "chat" && (s.lane === "local" ? (
39
+ /* 本地车道(合并第 3 步):本机 Agent 会话;
40
+ 本机离线/没有伙伴时给可读空态,不让中间区白屏 */
41
+ n && n.activeLocal && n.localOnline ? /* @__PURE__ */ t(
42
+ "div",
43
+ {
44
+ style: {
45
+ flex: 1,
46
+ minHeight: 0,
47
+ display: "flex",
48
+ flexDirection: "column"
49
+ },
50
+ children: /* @__PURE__ */ t(
51
+ W,
52
+ {
53
+ agent: K(n.activeLocal),
54
+ openSessionId: s.sessionId ? String(s.sessionId) : null,
55
+ onOpenSessionConsumed: () => {
56
+ },
57
+ onSessionsMutated: n.refreshSessions
58
+ },
59
+ c
60
+ )
61
+ }
62
+ ) : /* @__PURE__ */ t(
63
+ "div",
64
+ {
65
+ style: {
66
+ flex: 1,
67
+ display: "flex",
68
+ alignItems: "center",
69
+ justifyContent: "center",
70
+ color: "rgba(0,0,0,0.45)",
71
+ fontSize: 13
72
+ },
73
+ children: "本机 Agent 未连接:启动 Z-OPC 桌面端伴生服务后可用本地车道"
74
+ }
75
+ )
76
+ ) : /* @__PURE__ */ t(
77
+ "div",
78
+ {
79
+ style: {
80
+ flex: 1,
81
+ minHeight: 0,
82
+ display: "flex",
83
+ flexDirection: "column"
84
+ },
85
+ children: /* @__PURE__ */ t(
86
+ $,
87
+ {
88
+ agent: s.agent,
89
+ initialSessionId: s.sessionId,
90
+ draftNoAutoPick: s.draft === !0,
91
+ autoSendDraft: s.autoSendDraft ?? null,
92
+ chromeless: !0,
93
+ agents: o,
94
+ onSwitchAgent: (e) => d(e)
95
+ },
96
+ c
97
+ )
98
+ }
99
+ )),
100
+ s.kind === "schedule" && /* @__PURE__ */ t(
101
+ j,
102
+ {
103
+ localOnline: (n == null ? void 0 : n.localOnline) ?? !1,
104
+ agents: o,
105
+ token: i,
106
+ defaultLane: "cloud"
107
+ }
108
+ ),
109
+ s.kind === "history" && /* @__PURE__ */ t(
110
+ B,
111
+ {
112
+ agents: o,
113
+ token: i,
114
+ onOpenSession: (e, D) => d(e, D),
115
+ onBack: r
116
+ }
117
+ ),
118
+ s.kind === "extensions" && /* @__PURE__ */ t(
119
+ O,
120
+ {
121
+ agents: o,
122
+ loading: !1,
123
+ skillsAgent: M(o),
124
+ token: i,
125
+ currentUser: p,
126
+ onChat: (e) => d(e),
127
+ onConfig: m,
128
+ onCreated: T,
129
+ onOpenPersonalTab: a,
130
+ onOpenWorkbenchShell: x,
131
+ onOpenHistory: S,
132
+ capTabRequest: s.cap ? { tab: s.cap, ts: s.ts } : null
133
+ }
134
+ ),
135
+ s.kind === "agentDetail" && /* @__PURE__ */ t("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ t(
136
+ q,
137
+ {
138
+ agent: s.agent,
139
+ onBack: r
140
+ }
141
+ ) }),
142
+ s.kind === "tab" && /* @__PURE__ */ f("div", { style: { flex: 1, minHeight: 0 }, children: [
143
+ s.tab === "projects" && /* @__PURE__ */ t(
144
+ b,
145
+ {
146
+ activeTab: "projects",
147
+ onActiveTabChange: () => {
148
+ },
149
+ onOpenProject: l,
150
+ hideTabs: !0
151
+ }
152
+ ),
153
+ s.tab === "personal" && /* @__PURE__ */ t(
154
+ b,
155
+ {
156
+ activeTab: "personal",
157
+ onActiveTabChange: () => {
158
+ },
159
+ onOpenProject: l,
160
+ hideTabs: !0
161
+ }
162
+ ),
163
+ s.tab === "business-stats" && /* @__PURE__ */ t(N, { source: "scenario" }),
164
+ s.tab === "tools" && /* @__PURE__ */ t(g, { showTools: !0, showWebsites: !1 }),
165
+ s.tab === "websites" && /* @__PURE__ */ t(g, { showTools: !1, showWebsites: !0 }),
166
+ s.tab === "todo" && /* @__PURE__ */ t(
167
+ R,
168
+ {
169
+ onOpenProject: l,
170
+ onOpenNote: A,
171
+ openTodoId: C
172
+ }
173
+ ),
174
+ s.tab === "notes" && /* @__PURE__ */ t(
175
+ H,
176
+ {
177
+ onOpenProject: l,
178
+ onOpenTodo: I,
179
+ openNoteId: y
180
+ }
181
+ ),
182
+ s.tab === "training" && /* @__PURE__ */ t(z, {}),
183
+ s.tab === "webide" && /* @__PURE__ */ t(E, {})
184
+ ] })
185
+ ] });
186
+ }
187
+ export {
188
+ V as default
189
+ };
@@ -0,0 +1,178 @@
1
+ import { AppLayout as v, ErrorBoundary as z, LoginPage as _, StatusTag as j, defaultStatusMap as F } from "@yuku123/z-frontend-common";
2
+ import { d as y } from "./ComponentDoc-C_289lsE.js";
3
+ import { z as V, E as Q, A as X, D as Y, F as Z, O as $, G as ee, R as te, H as re, I as ae, J as oe, K as ne, L as le, L as ie, N as se } from "./ComponentDoc-C_289lsE.js";
4
+ import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
5
+ import { useState as n, useEffect as R } from "react";
6
+ import { Alert as I, Space as x, Button as l, Tag as c, Result as T } from "antd";
7
+ import { ReloadOutlined as g, UserAddOutlined as E, TeamOutlined as b, PlusOutlined as w, CodeOutlined as A } from "@ant-design/icons";
8
+ import { ListTable as f } from "@yuku123/z-frontend-common/ui";
9
+ const q = y, O = {
10
+ LEADER: "red",
11
+ WORKER: "blue",
12
+ OBSERVER: "default"
13
+ };
14
+ function B() {
15
+ const [i] = n(!1), [s] = n([]);
16
+ return /* @__PURE__ */ r(h, { children: [
17
+ /* @__PURE__ */ e(
18
+ I,
19
+ {
20
+ type: "info",
21
+ showIcon: !0,
22
+ style: { marginBottom: 16 },
23
+ title: "IM 群组 (含 STOMP 实时消息) 后端服务尚未启动",
24
+ description: "当前展示群组列表占位。等 z-agent-team 后端就绪后切换为完整 IM 客户端。"
25
+ }
26
+ ),
27
+ /* @__PURE__ */ e(
28
+ f,
29
+ {
30
+ cardTitle: /* @__PURE__ */ r("span", { children: [
31
+ /* @__PURE__ */ e(b, { style: { marginRight: 8 } }),
32
+ "Agent 群组 IM"
33
+ ] }),
34
+ cardExtra: /* @__PURE__ */ r(x, { children: [
35
+ /* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(g, {}), loading: i, children: "刷新" }),
36
+ /* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(E, {}), disabled: !0, children: "创建群组" })
37
+ ] }),
38
+ rows: s,
39
+ columns: [
40
+ { title: "群组编码", dataIndex: "teamCode", width: 200, ellipsis: !0 },
41
+ { title: "群组名称", dataIndex: "teamName", width: 200 },
42
+ {
43
+ title: "我的角色",
44
+ dataIndex: "role",
45
+ width: 120,
46
+ render: (a) => /* @__PURE__ */ e(c, { color: O[a] || "default", children: a || "-" })
47
+ },
48
+ { title: "成员数", dataIndex: "memberCount", width: 100 },
49
+ { title: "最近消息", dataIndex: "lastMessage", width: 240, ellipsis: !0 },
50
+ { title: "更新时间", dataIndex: "updatedAt", width: 180 }
51
+ ],
52
+ rowKey: "teamCode",
53
+ loading: i,
54
+ searchKeys: ["teamCode", "teamName"],
55
+ searchPlaceholder: "按群组编码 / 名称过滤",
56
+ emptyTitle: "暂无群组",
57
+ emptyDescription: "当前还没有 IM 群组。"
58
+ }
59
+ )
60
+ ] });
61
+ }
62
+ const D = {
63
+ CREATING: { text: "创建中", color: "processing" },
64
+ RUNNING: { text: "运行中", color: "success" },
65
+ STOPPED: { text: "已停止", color: "default" },
66
+ ERROR: { text: "错误", color: "error" }
67
+ }, M = {
68
+ GIT: { text: "GIT 模式", color: "blue" },
69
+ SHARED: { text: "SHARED 模式", color: "purple" }
70
+ };
71
+ function U() {
72
+ const [i, s] = n([]), [d, a] = n(!1), [u, m] = n(null), p = async () => {
73
+ a(!0), m(null);
74
+ try {
75
+ s([]);
76
+ } catch (t) {
77
+ m((t == null ? void 0 : t.message) || "加载失败");
78
+ } finally {
79
+ a(!1);
80
+ }
81
+ };
82
+ return R(() => {
83
+ p();
84
+ }, []), /* @__PURE__ */ r(h, { children: [
85
+ u && /* @__PURE__ */ e(
86
+ I,
87
+ {
88
+ type: "warning",
89
+ showIcon: !0,
90
+ style: { marginBottom: 16 },
91
+ title: "后端 API 暂未连接",
92
+ description: u
93
+ }
94
+ ),
95
+ /* @__PURE__ */ e(
96
+ f,
97
+ {
98
+ cardTitle: /* @__PURE__ */ r("span", { children: [
99
+ /* @__PURE__ */ e(A, { style: { marginRight: 8 } }),
100
+ "WebIDE 容器管理"
101
+ ] }),
102
+ cardExtra: /* @__PURE__ */ r(x, { children: [
103
+ /* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(g, {}), onClick: p, loading: d, children: "刷新" }),
104
+ /* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(w, {}), disabled: !0, children: "新建 WebIDE" })
105
+ ] }),
106
+ rows: i,
107
+ columns: [
108
+ { title: "容器ID", dataIndex: "containerId", width: 220, ellipsis: !0 },
109
+ {
110
+ title: "模式",
111
+ dataIndex: "mode",
112
+ width: 120,
113
+ render: (t) => {
114
+ const o = M[t] || { text: t, color: "default" };
115
+ return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
116
+ }
117
+ },
118
+ { title: "Git URL", dataIndex: "gitUrl", width: 240, ellipsis: !0 },
119
+ { title: "分支", dataIndex: "branch", width: 120 },
120
+ {
121
+ title: "状态",
122
+ dataIndex: "status",
123
+ width: 120,
124
+ render: (t) => {
125
+ const o = D[t] || { text: t, color: "default" };
126
+ return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
127
+ }
128
+ },
129
+ { title: "创建时间", dataIndex: "createdAt", width: 180 }
130
+ ],
131
+ rowKey: "containerId",
132
+ loading: d,
133
+ scroll: { x: 1e3 },
134
+ searchKeys: ["containerId", "branch"],
135
+ searchPlaceholder: "按容器 ID / 分支过滤",
136
+ emptyTitle: "暂无容器",
137
+ emptyDescription: "后端 z-webide 服务尚未启动"
138
+ }
139
+ )
140
+ ] });
141
+ }
142
+ function H() {
143
+ return /* @__PURE__ */ e(
144
+ T,
145
+ {
146
+ title: "Debug Playground",
147
+ subTitle: "AI 调试沙盒功能开发中...",
148
+ extra: /* @__PURE__ */ e(l, { type: "primary", children: "敬请期待" })
149
+ }
150
+ );
151
+ }
152
+ export {
153
+ B as AgentTeamIM,
154
+ v as AppLayout,
155
+ V as CurlImportModal,
156
+ H as DebugPlayground,
157
+ Q as EndpointsTab,
158
+ X as EnvironmentsTab,
159
+ z as ErrorBoundary,
160
+ _ as LoginPage,
161
+ Y as MockPlatform,
162
+ Z as MockTemplateHelper,
163
+ $ as OpenApiImportModal,
164
+ ee as Overview,
165
+ te as RecordingsTab,
166
+ re as RequestLogsTab,
167
+ ae as ScenariosTab,
168
+ j as StatusTag,
169
+ oe as TestCasesTab,
170
+ U as Webide,
171
+ y as authRequest,
172
+ ne as createRequest,
173
+ q as ctcRequest,
174
+ le as default,
175
+ F as defaultStatusMap,
176
+ ie as request,
177
+ se as setupInterceptors
178
+ };
@@ -0,0 +1,208 @@
1
+ import { jsx as l, jsxs as f } from "react/jsx-runtime";
2
+ const d = typeof window < "u" && window.ZTEAM_DOWNLOAD_BASE || "", S = `${d}/latest-mac.json`, L = `${d}/latest-android.json`;
3
+ function T(a) {
4
+ return !a || a <= 0 ? "" : a < 1024 * 1024 ? `${(a / 1024).toFixed(0)} KB` : `${(a / (1024 * 1024)).toFixed(1)} MB`;
5
+ }
6
+ function A(a) {
7
+ if (!a) return "";
8
+ try {
9
+ const r = new Date(a);
10
+ return Number.isNaN(r.getTime()) ? a : `${r.getFullYear()}-${String(r.getMonth() + 1).padStart(
11
+ 2,
12
+ "0"
13
+ )}-${String(r.getDate()).padStart(2, "0")}`;
14
+ } catch {
15
+ return a;
16
+ }
17
+ }
18
+ async function E(a) {
19
+ if (!a) return null;
20
+ try {
21
+ const r = await fetch(a, {
22
+ headers: { Accept: "application/json" }
23
+ });
24
+ if (!r.ok) return null;
25
+ const t = await r.text();
26
+ if (!t.trim().startsWith("{")) return null;
27
+ const e = JSON.parse(t);
28
+ return !e || !e.version || !e.downloadUrl ? null : {
29
+ version: e.version,
30
+ arch: e.arch || "",
31
+ downloadUrl: e.downloadUrl,
32
+ fileName: e.fileName || "",
33
+ fileSize: Number(e.fileSize) || 0,
34
+ changelog: e.changelog || "",
35
+ releaseType: e.releaseType || "stable",
36
+ releaseTime: e.releaseTime || "",
37
+ ...e.windows ? {
38
+ windows: w(e.windows)
39
+ } : {}
40
+ };
41
+ } catch {
42
+ return null;
43
+ }
44
+ }
45
+ function w(a) {
46
+ return {
47
+ version: a.version || "",
48
+ arch: a.arch || "",
49
+ downloadUrl: a.downloadUrl || "",
50
+ fileName: a.fileName || "",
51
+ fileSize: Number(a.fileSize) || 0,
52
+ changelog: a.changelog || "",
53
+ releaseType: a.releaseType || "stable",
54
+ releaseTime: a.releaseTime || ""
55
+ };
56
+ }
57
+ function H(a, r) {
58
+ var t;
59
+ return a ? r === "windows" ? (t = a.windows) != null && t.downloadUrl ? a.windows : null : a.downloadUrl ? a : null : null;
60
+ }
61
+ const v = {
62
+ message: [
63
+ "M21 11.5a8.4 8.4 0 0 1-9 8.4 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.2a8.4 8.4 0 0 1-.9-3.8 8.5 8.5 0 0 1 8.5-8.4h.5a8.5 8.5 0 0 1 8 8z"
64
+ ],
65
+ network: [
66
+ "M18 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
67
+ "M6 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
68
+ "M18 22a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
69
+ "M8.6 13.5l6.8 4",
70
+ "M15.4 6.5l-6.8 4"
71
+ ],
72
+ branch: [
73
+ "M6 3v12",
74
+ "M18 9a9 9 0 0 1-9 9"
75
+ ],
76
+ shield: [
77
+ "M20 13c0 5-3.5 7.5-7.7 9a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.7a1.2 1.2 0 0 1 1.5 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z",
78
+ "m9 12 2 2 4-4"
79
+ ],
80
+ swap: ["M8 3 4 7l4 4", "M4 7h16", "m16 21 4-4-4-4", "M20 17H4"],
81
+ users: [
82
+ "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
83
+ "M22 21v-2a4 4 0 0 0-3-3.9",
84
+ "M16 3.1a4 4 0 0 1 0 7.8"
85
+ ],
86
+ book: [
87
+ "M12 7v14",
88
+ "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"
89
+ ],
90
+ layers: [
91
+ "M12.8 2.2a2 2 0 0 0-1.6 0L2.6 6.1a1 1 0 0 0 0 1.8l8.6 3.9a2 2 0 0 0 1.6 0l8.6-3.9a1 1 0 0 0 0-1.8z",
92
+ "m22 12.5-9.2 4.2a2 2 0 0 1-1.6 0L2 12.5",
93
+ "m22 17.5-9.2 4.2a2 2 0 0 1-1.6 0L2 17.5"
94
+ ],
95
+ laptop: [
96
+ "M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9H4z",
97
+ "M2 17h20l-1.5 1.8a1 1 0 0 1-1.3.4H4.8a1 1 0 0 1-1.3-.4z"
98
+ ],
99
+ phone: [
100
+ "M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z",
101
+ "M11 18h2"
102
+ ],
103
+ globe: [
104
+ "M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20z",
105
+ "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",
106
+ "M2 12h20"
107
+ ],
108
+ terminal: ["m4 17 6-6-6-6", "M12 19h8"],
109
+ bot: [
110
+ "M5 9h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2z",
111
+ "M12 9V5.5",
112
+ "M2.5 12v4",
113
+ "M21.5 12v4",
114
+ "M9.5 13h.01",
115
+ "M14.5 13h.01",
116
+ "M10 16.5h4"
117
+ ],
118
+ zap: ["M13 2 4 14h7l-1 8 9-12h-7z"],
119
+ server: [
120
+ "M4 4h16a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z",
121
+ "M4 14h16a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",
122
+ "M7 7h.01",
123
+ "M7 17h.01"
124
+ ],
125
+ wrench: ["M14.7 6.3a4 4 0 0 0 5 5l-9 9a2.8 2.8 0 0 1-4-4z"],
126
+ search: ["M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16z", "m21 21-4.3-4.3"],
127
+ download: ["M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", "m7 10 5 5 5-5", "M12 15V3"],
128
+ check: ["M20 6 9 17l-5-5"],
129
+ arrow: ["M5 12h14", "m12 5 7 7-7 7"],
130
+ external: ["M15 3h6v6", "M10 14 21 3", "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"],
131
+ sparkle: ["M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z"]
132
+ }, m = {
133
+ windows: [
134
+ "M3 5.6 10 4.3v7.3H3z",
135
+ "M11 4.05 21 2.5v9.1H11z",
136
+ "M3 12.6h7v7.3l-7-1.3z",
137
+ "M11 12.6h10v9.1l-10-1.5z"
138
+ ]
139
+ }, z = {
140
+ branch: [
141
+ [18, 6, 3],
142
+ [6, 18, 3]
143
+ ]
144
+ }, g = {
145
+ bot: [[12, 3.6, 1.15]]
146
+ };
147
+ function N({
148
+ name: a,
149
+ size: r = 20,
150
+ strokeWidth: t = 1.7,
151
+ className: e,
152
+ style: u
153
+ }) {
154
+ const i = m[a], h = v[a], s = z[a], M = g[a];
155
+ return !i && !h ? /* @__PURE__ */ l(
156
+ "svg",
157
+ {
158
+ viewBox: "0 0 24 24",
159
+ width: r,
160
+ height: r,
161
+ className: e,
162
+ style: u,
163
+ "aria-hidden": "true",
164
+ children: /* @__PURE__ */ l("circle", { cx: "12", cy: "12", r: "3", fill: "currentColor" })
165
+ }
166
+ ) : /* @__PURE__ */ f(
167
+ "svg",
168
+ {
169
+ viewBox: "0 0 24 24",
170
+ width: r,
171
+ height: r,
172
+ className: e,
173
+ style: u,
174
+ fill: "none",
175
+ stroke: "currentColor",
176
+ strokeWidth: t,
177
+ strokeLinecap: "round",
178
+ strokeLinejoin: "round",
179
+ "aria-hidden": "true",
180
+ focusable: "false",
181
+ children: [
182
+ i == null ? void 0 : i.map((n) => /* @__PURE__ */ l("path", { d: n, fill: "currentColor", stroke: "none" }, n)),
183
+ h == null ? void 0 : h.map((n) => /* @__PURE__ */ l("path", { d: n }, n)),
184
+ s == null ? void 0 : s.map(([n, o, c]) => /* @__PURE__ */ l("circle", { cx: n, cy: o, r: c }, `${n}-${o}`)),
185
+ M == null ? void 0 : M.map(([n, o, c]) => /* @__PURE__ */ l(
186
+ "circle",
187
+ {
188
+ cx: n,
189
+ cy: o,
190
+ r: c,
191
+ fill: "currentColor",
192
+ stroke: "none"
193
+ },
194
+ `f-${n}-${o}`
195
+ ))
196
+ ]
197
+ }
198
+ );
199
+ }
200
+ export {
201
+ L as A,
202
+ N as L,
203
+ S as M,
204
+ T as a,
205
+ A as b,
206
+ E as f,
207
+ H as p
208
+ };