@yuku123/z-team-component 0.2.56 → 0.2.57

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 (52) hide show
  1. package/dist/{ChangeLogView-R6boINWk.js → ChangeLogView-Cstbioyw.js} +137 -137
  2. package/dist/{ComponentDoc-CXivBlKo.js → ComponentDoc-0L_mpFyu.js} +121 -121
  3. package/dist/{InvitationManagementPage-B2Kow6-8.js → InvitationManagementPage-Ba5yy-Hl.js} +1 -1
  4. package/dist/{OnboardingPage-DbK9iTSY.js → OnboardingPage-rEAorVv0.js} +2 -2
  5. package/dist/{ScheduledTasks-DcM_HA5v.js → ScheduledTasks-Db5a-nxu.js} +2992 -2957
  6. package/dist/{SystemShell-BDSLyt15.js → SystemShell-BbREgRq8.js} +1 -1
  7. package/dist/{admin-logs-DMF0dtG1.js → admin-logs-B9KS6VJz.js} +2 -2
  8. package/dist/{api-BPJ4ZHcq.js → api-B4-sB0Pv.js} +1 -1
  9. package/dist/{api-DhuqONeb.js → api-CALqShkO.js} +228 -210
  10. package/dist/createWorkspaceWsHandler-DP30xvug.js +13035 -0
  11. package/dist/{index-CZ9xxAL0.js → index-4YxdJwFm.js} +3 -3
  12. package/dist/{index-DnXcckr9.js → index-8gCovDDT.js} +6 -6
  13. package/dist/{index-2xlHrS59.js → index-9w4zGIUG.js} +1121 -1123
  14. package/dist/{index-vy0cRfLN.js → index-BVYQ8p6A.js} +5 -5
  15. package/dist/{index-B8eiFO_f.js → index-C2Wkg1b5.js} +3 -3
  16. package/dist/{index-BOcKPM37.js → index-C3B7CbHo.js} +1 -1
  17. package/dist/{index-BkX0I2aB.js → index-C6S3MIu4.js} +56 -56
  18. package/dist/index-C88kp8U2.js +1143 -0
  19. package/dist/{index-DdRJhUqt.js → index-C90C1lUS.js} +3 -3
  20. package/dist/{index-CzePRAbT.js → index-CGWttFLb.js} +4 -4
  21. package/dist/{index-B-XDBODG.js → index-CHb5cxi8.js} +1 -1
  22. package/dist/{index-Ct9MzvZV.js → index-CLWgeKwr.js} +2 -2
  23. package/dist/{index-JMzBzwiO.js → index-CinRd7Nz.js} +618 -617
  24. package/dist/index-CmToF3CG.js +9257 -0
  25. package/dist/{index-BKVWW3ba.js → index-DET70T3j.js} +1 -1
  26. package/dist/{index-D9UhloUj.js → index-DJGEEIGt.js} +2 -2
  27. package/dist/{index-Otx98G8z.js → index-DJOyOVn_.js} +87 -74
  28. package/dist/{index-CbUsvCMy.js → index-DKeYG0Fu.js} +4 -4
  29. package/dist/{index-DactZGbw.js → index-DRQFmqYV.js} +2 -2
  30. package/dist/index-DTGL9OWw.js +1195 -0
  31. package/dist/index-DWsfQMp8.js +208 -0
  32. package/dist/{index-BV5g5lsS.js → index-JpY3wmeg.js} +3 -3
  33. package/dist/index-WIsi8fln.js +339 -0
  34. package/dist/{index-BM6XpIcw.js → index-aw72ID7y.js} +1 -1
  35. package/dist/{index-BP97Ev-W.js → index-lftFkqfI.js} +4 -4
  36. package/dist/{index-CZxihNo5.js → index-m8V5TniT.js} +7 -7
  37. package/dist/index.js +1 -1
  38. package/dist/{instance-Cr4_XM2r.js → instance-f3C-1qYl.js} +1 -1
  39. package/dist/pages.js +1 -1
  40. package/dist/{schedule-BNLns-p4.js → schedule-DfkgwPdE.js} +1 -1
  41. package/dist/{send-default-agent-team-message-C9VWSWKJ.js → send-default-agent-team-message-d_ECdczr.js} +1 -1
  42. package/dist/{sso-user-Cme2tmGq.js → sso-user-HcsSzg8P.js} +1 -1
  43. package/dist/{training-SjRAdtNQ.js → training-DnNQN0An.js} +1 -1
  44. package/dist/{useAppStore-C63xiq3-.js → useAppStore-kRZEA5WZ.js} +1 -1
  45. package/dist/webide-BcRzJX-h.js +8255 -0
  46. package/dist/z-team-component.css +2 -2
  47. package/package.json +1 -1
  48. package/dist/createWorkspaceWsHandler-BJhBWCRa.js +0 -13035
  49. package/dist/index-B30K72xQ.js +0 -1330
  50. package/dist/index-BWgbbHyC.js +0 -8977
  51. package/dist/index-Ba9q3egm.js +0 -1182
  52. package/dist/webide-DDFxSedU.js +0 -7845
@@ -6,10 +6,10 @@ import { useState as F, useRef as fp, useEffect as Y, useMemo as Wp, useCallback
6
6
  import Vp, { defaultUrlTransform as KA } from "react-markdown";
7
7
  import gp from "rehype-highlight";
8
8
  import Jp from "remark-gfm";
9
- import { ap as xa, aq as jA } from "./api-DhuqONeb.js";
10
- import { u as Dp } from "./useAppStore-C63xiq3-.js";
11
- import { u as ia, v as oA, w as fA, x as lA, i as xA, y as iA, z as cA, B as TA, E as vA, G as up, H as Yp, I as mp, J as yp, K as Ip, M as FA, N as dA, O as OA, Q as XA } from "./index-BWgbbHyC.js";
12
- import { u as RA, b as NA, f as kA, d as WA, e as Cp, g as DA, h as qA, r as uA, i as mA, j as wA, k as BA, l as GA, m as LA, n as zA, o as VA } from "./createWorkspaceWsHandler-BJhBWCRa.js";
9
+ import { ap as xa, aq as jA } from "./api-CALqShkO.js";
10
+ import { u as Dp } from "./useAppStore-kRZEA5WZ.js";
11
+ import { u as ia, v as oA, w as fA, x as lA, i as xA, y as iA, z as cA, B as TA, E as vA, G as up, H as Yp, I as mp, J as yp, K as Ip, M as FA, N as dA, O as OA, Q as XA } from "./index-CmToF3CG.js";
12
+ import { b as RA, d as NA, f as kA, e as WA, g as Cp, h as DA, j as qA, r as uA, k as mA, l as wA, m as BA, n as GA, o as LA, p as zA, q as VA } from "./createWorkspaceWsHandler-DP30xvug.js";
13
13
  import { h as r } from "./index.module-CAa-2T7m.js";
14
14
  const gA = "_editorView_as93v_7", JA = "_editorTopBar_as93v_16", bA = "_backBtn_as93v_25", MA = "_titleInput_as93v_39", sA = "_summaryBar_as93v_50", QA = "_summaryInput_as93v_55", hA = "_mdToolbar_as93v_67", YA = "_mdBtn_as93v_77", yA = "_mdSep_as93v_84", IA = "_editorBody_as93v_93", CA = "_tocPanel_as93v_100", ZA = "_tocHeader_as93v_108", EA = "_tocList_as93v_117", _A = "_tocItem_as93v_122", $A = "_tocEmpty_as93v_137", pt = "_textarea_as93v_144", at = "_half_as93v_160", At = "_preview_as93v_163", tt = "_markdown_as93v_173", et = "_videoEmbed_as93v_185", w = {
15
15
  editorView: gA,
@@ -1682,7 +1682,7 @@ const Rt = [
1682
1682
  draftDeleteBtn: T0,
1683
1683
  markdown: v0
1684
1684
  }, F0 = HA(
1685
- () => import("./index-DdRJhUqt.js").then((a) => ({ default: a.MarketContent }))
1685
+ () => import("./index-C90C1lUS.js").then((a) => ({ default: a.MarketContent }))
1686
1686
  );
1687
1687
  function d0(a) {
1688
1688
  const n = [], x = a.split(`
@@ -1,14 +1,14 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
2
  import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as L, h as N, s as T } from "./sso-user-Cme2tmGq.js";
3
+ import { r as L, h as N, s as T } from "./sso-user-HcsSzg8P.js";
4
4
  import { CheckCircleFilled as q } from "@ant-design/icons";
5
5
  import { Spin as R } from "antd";
6
6
  import W from "query-string";
7
7
  import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
8
8
  import { useLocation as F } from "react-router-dom";
9
9
  import { h as H } from "./history-BlrA1eaW.js";
10
- import { c as Y, e as B } from "./api-DhuqONeb.js";
11
- import { u as m } from "./useAppStore-C63xiq3-.js";
10
+ import { c as Y, e as B } from "./api-CALqShkO.js";
11
+ import { u as m } from "./useAppStore-kRZEA5WZ.js";
12
12
  /* empty css */
13
13
  import { b as G } from "./mobile-client-O3yr9h6t.js";
14
14
  function ne() {
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { CopyOutlined as se, ReloadOutlined as Ne, PlusOutlined as xe, DeleteOutlined as $e, ClearOutlined as Le, CloseOutlined as Oe, SendOutlined as Ue, RobotOutlined as ve, CloudServerOutlined as Re, MessageOutlined as De, KeyOutlined as He, ApiOutlined as Fe, ToolOutlined as je, BarChartOutlined as qe } from "@ant-design/icons";
3
3
  import { Tooltip as Q, Tabs as Te, Button as R, Modal as de, Input as Se, Drawer as we, Spin as Y, Statistic as E, Table as Ae, message as G, Tag as J, Select as Ge, Checkbox as Je } from "antd";
4
4
  import { useState as x, useEffect as X, useCallback as j, useRef as me, useMemo as Be, Suspense as We, lazy as Qe } from "react";
5
- import { u as ze } from "./useAppStore-C63xiq3-.js";
5
+ import { u as ze } from "./useAppStore-kRZEA5WZ.js";
6
6
  import { AgentAppList as Ve, McpPage as Ye, SkillMarket as Xe } from "@yuku123/z-agent-component";
7
7
  const re = "ft_gateway_default_ak", Me = "system-default", Z = "", he = "";
8
8
  function ee(a = {}) {
@@ -1,8 +1,8 @@
1
1
  import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
2
  import { FilePptOutlined as P, EditOutlined as O, ScheduleOutlined as A, FileImageOutlined as $, CloseOutlined as F } from "@ant-design/icons";
3
- import { useState as p, useCallback as x } from "react";
4
- import { h as v } from "./history-BlrA1eaW.js";
5
- const R = "_portalRoot_1mw0k_2", q = "_portalHeader_1mw0k_11", B = "_brandRow_1mw0k_15", D = "_brandLogo_1mw0k_21", L = "_brandTitle_1mw0k_25", M = "_brandSubtitle_1mw0k_34", G = "_portalMain_1mw0k_40", H = "_sectionTitle_1mw0k_47", j = "_cardGrid_1mw0k_53", K = "_scenarioCard_1mw0k_59", W = "_cardTop_1mw0k_75", z = "_cardIcon_1mw0k_80", Z = "_cardInfo_1mw0k_84", Q = "_cardTitle_1mw0k_87", J = "_cardTags_1mw0k_93", U = "_tag_1mw0k_98", X = "_cardDesc_1mw0k_106", Y = "_cardAction_1mw0k_112", V = "_btnCreate_1mw0k_117", ee = "_portalFooter_1mw0k_136", ae = "_linkWorkspace_1mw0k_140", oe = "_modalOverlay_1mw0k_154", te = "_modalBox_1mw0k_165", re = "_modalHeader_1mw0k_174", ne = "_modalIcon_1mw0k_187", le = "_modalClose_1mw0k_190", ie = "_modalBody_1mw0k_203", ce = "_modalDesc_1mw0k_206", de = "_fieldGroup_1mw0k_212", se = "_fieldLabel_1mw0k_217", me = "_required_1mw0k_222", _e = "_fieldInput_1mw0k_226", pe = "_fieldInputError_1mw0k_244", ue = "_fieldTextarea_1mw0k_247", fe = "_fieldTextareaError_1mw0k_270", ke = "_fieldError_1mw0k_273", he = "_modalFooter_1mw0k_278", ge = "_btnCancel_1mw0k_284", we = "_btnConfirm_1mw0k_297", e = {
3
+ import { useState as m, useCallback as x } from "react";
4
+ import { h as w } from "./history-BlrA1eaW.js";
5
+ const R = "_portalRoot_1sa2c_7", q = "_portalHeader_1sa2c_47", B = "_brandRow_1sa2c_53", D = "_brandLogo_1sa2c_59", L = "_brandTitle_1sa2c_63", M = "_brandSubtitle_1sa2c_70", G = "_portalMain_1sa2c_76", H = "_sectionTitle_1sa2c_85", j = "_cardGrid_1sa2c_92", K = "_scenarioCard_1sa2c_98", W = "_cardTop_1sa2c_114", z = "_cardIcon_1sa2c_119", Z = "_cardInfo_1sa2c_123", Q = "_cardTitle_1sa2c_127", J = "_cardTags_1sa2c_134", U = "_tag_1sa2c_139", X = "_cardDesc_1sa2c_148", Y = "_cardAction_1sa2c_154", V = "_btnCreate_1sa2c_159", ee = "_portalFooter_1sa2c_184", ae = "_linkWorkspace_1sa2c_190", oe = "_modalOverlay_1sa2c_206", te = "_modalBox_1sa2c_217", re = "_modalHeader_1sa2c_226", ne = "_modalIcon_1sa2c_239", ce = "_modalClose_1sa2c_242", le = "_modalBody_1sa2c_255", ie = "_modalDesc_1sa2c_258", se = "_fieldGroup_1sa2c_264", de = "_fieldLabel_1sa2c_269", _e = "_required_1sa2c_274", pe = "_fieldInput_1sa2c_278", me = "_fieldInputError_1sa2c_298", ue = "_fieldTextarea_1sa2c_301", fe = "_fieldTextareaError_1sa2c_325", he = "_fieldError_1sa2c_328", ge = "_modalFooter_1sa2c_333", Ce = "_btnCancel_1sa2c_339", be = "_btnConfirm_1sa2c_354", e = {
6
6
  portalRoot: R,
7
7
  portalHeader: q,
8
8
  brandRow: B,
@@ -28,21 +28,21 @@ const R = "_portalRoot_1mw0k_2", q = "_portalHeader_1mw0k_11", B = "_brandRow_1m
28
28
  modalBox: te,
29
29
  modalHeader: re,
30
30
  modalIcon: ne,
31
- modalClose: le,
32
- modalBody: ie,
33
- modalDesc: ce,
34
- fieldGroup: de,
35
- fieldLabel: se,
36
- required: me,
37
- fieldInput: _e,
38
- fieldInputError: pe,
31
+ modalClose: ce,
32
+ modalBody: le,
33
+ modalDesc: ie,
34
+ fieldGroup: se,
35
+ fieldLabel: de,
36
+ required: _e,
37
+ fieldInput: pe,
38
+ fieldInputError: me,
39
39
  fieldTextarea: ue,
40
40
  fieldTextareaError: fe,
41
- fieldError: ke,
42
- modalFooter: he,
43
- btnCancel: ge,
44
- btnConfirm: we
45
- }, Ce = window.ZTEAM_USE_KAPI === !0 ? "/kapi/z-team/api" : "/z-team/api", be = [
41
+ fieldError: he,
42
+ modalFooter: ge,
43
+ btnCancel: Ce,
44
+ btnConfirm: be
45
+ }, Ne = window.ZTEAM_USE_KAPI === !0 ? "/kapi/z-team/api" : "/z-team/api", Te = [
46
46
  {
47
47
  key: "ppt-creation",
48
48
  icon: /* @__PURE__ */ a(P, {}),
@@ -122,23 +122,23 @@ const R = "_portalRoot_1mw0k_2", q = "_portalHeader_1mw0k_11", B = "_brandRow_1m
122
122
  }
123
123
  }
124
124
  ];
125
- function Ne({
125
+ function ye({
126
126
  scenario: o,
127
- onClose: l,
128
- onCreated: s
127
+ onClose: c,
128
+ onCreated: d
129
129
  }) {
130
- var h, g, w, C, b;
131
- const [r, d] = p(""), [u, f] = p(!1), [i, c] = p(""), E = !!((h = o.inputConfig) != null && h.multiline), k = x(async () => {
132
- var N, T, y;
130
+ var g, C, b, N, T;
131
+ const [r, s] = m(""), [u, f] = m(!1), [l, i] = m(""), E = !!((g = o.inputConfig) != null && g.multiline), h = x(async () => {
132
+ var y, k, I;
133
133
  const t = r.trim();
134
- if ((N = o.inputConfig) != null && N.required && !t) {
135
- c(`请填写${o.inputConfig.label}`);
134
+ if ((y = o.inputConfig) != null && y.required && !t) {
135
+ i(`请填写${o.inputConfig.label}`);
136
136
  return;
137
137
  }
138
- c(""), f(!0);
138
+ i(""), f(!0);
139
139
  try {
140
- const m = ((T = t.split(`
141
- `)[0]) == null ? void 0 : T.trim()) ?? "", S = m.length > 0 ? m.length > 32 ? `${m.slice(0, 32)}…` : m : `${Date.now()}`, I = `${o.title}-${S}`, _ = await (await fetch(`${Ce}/scenario-instances/`, {
140
+ const _ = ((k = t.split(`
141
+ `)[0]) == null ? void 0 : k.trim()) ?? "", S = _.length > 0 ? _.length > 32 ? `${_.slice(0, 32)}…` : _ : `${Date.now()}`, v = `${o.title}-${S}`, p = await (await fetch(`${Ne}/scenario-instances/`, {
142
142
  method: "POST",
143
143
  credentials: "include",
144
144
  headers: {
@@ -146,9 +146,9 @@ function Ne({
146
146
  "Content-Type": "application/json"
147
147
  },
148
148
  body: JSON.stringify({
149
- name: I,
149
+ name: v,
150
150
  description: `${o.title}:${t.length > 120 ? `${t.slice(0, 120)}…` : t}`,
151
- workspace_path: I,
151
+ workspace_path: v,
152
152
  scenario_code: o.scenarioCode,
153
153
  extend_params: {
154
154
  [o.inputConfig.paramKey]: t,
@@ -156,34 +156,34 @@ function Ne({
156
156
  }
157
157
  })
158
158
  })).json();
159
- _.success && ((y = _.data) != null && y.id) ? s(_.data.id) : c(_.message || "创建失败,请重试");
159
+ p.success && ((I = p.data) != null && I.id) ? d(p.data.id) : i(p.message || "创建失败,请重试");
160
160
  } catch {
161
- c("网络错误,请检查服务是否可用");
161
+ i("网络错误,请检查服务是否可用");
162
162
  } finally {
163
163
  f(!1);
164
164
  }
165
- }, [r, o, s]);
166
- return /* @__PURE__ */ a("div", { className: e.modalOverlay, onClick: l, children: /* @__PURE__ */ n("div", { className: e.modalBox, onClick: (t) => t.stopPropagation(), children: [
165
+ }, [r, o, d]);
166
+ return /* @__PURE__ */ a("div", { className: e.modalOverlay, onClick: c, children: /* @__PURE__ */ n("div", { className: e.modalBox, onClick: (t) => t.stopPropagation(), children: [
167
167
  /* @__PURE__ */ n("div", { className: e.modalHeader, children: [
168
168
  /* @__PURE__ */ a("span", { className: e.modalIcon, children: o.icon }),
169
169
  /* @__PURE__ */ a("h3", { children: o.title }),
170
- /* @__PURE__ */ a("button", { className: e.modalClose, onClick: l, children: /* @__PURE__ */ a(F, {}) })
170
+ /* @__PURE__ */ a("button", { className: e.modalClose, onClick: c, children: /* @__PURE__ */ a(F, {}) })
171
171
  ] }),
172
172
  /* @__PURE__ */ n("div", { className: e.modalBody, children: [
173
173
  /* @__PURE__ */ a("p", { className: e.modalDesc, children: o.description }),
174
174
  /* @__PURE__ */ n("div", { className: e.fieldGroup, children: [
175
175
  /* @__PURE__ */ n("label", { className: e.fieldLabel, children: [
176
- (g = o.inputConfig) == null ? void 0 : g.label,
177
- ((w = o.inputConfig) == null ? void 0 : w.required) && /* @__PURE__ */ a("span", { className: e.required, children: "*" })
176
+ (C = o.inputConfig) == null ? void 0 : C.label,
177
+ ((b = o.inputConfig) == null ? void 0 : b.required) && /* @__PURE__ */ a("span", { className: e.required, children: "*" })
178
178
  ] }),
179
179
  E ? /* @__PURE__ */ a(
180
180
  "textarea",
181
181
  {
182
- className: `${e.fieldTextarea} ${i ? e.fieldTextareaError : ""}`,
182
+ className: `${e.fieldTextarea} ${l ? e.fieldTextareaError : ""}`,
183
183
  value: r,
184
- placeholder: (C = o.inputConfig) == null ? void 0 : C.placeholder,
184
+ placeholder: (N = o.inputConfig) == null ? void 0 : N.placeholder,
185
185
  onChange: (t) => {
186
- d(t.target.value), i && c("");
186
+ s(t.target.value), l && i("");
187
187
  },
188
188
  rows: 5,
189
189
  autoFocus: !0
@@ -191,29 +191,29 @@ function Ne({
191
191
  ) : /* @__PURE__ */ a(
192
192
  "input",
193
193
  {
194
- className: `${e.fieldInput} ${i ? e.fieldInputError : ""}`,
194
+ className: `${e.fieldInput} ${l ? e.fieldInputError : ""}`,
195
195
  type: "text",
196
196
  value: r,
197
- placeholder: (b = o.inputConfig) == null ? void 0 : b.placeholder,
197
+ placeholder: (T = o.inputConfig) == null ? void 0 : T.placeholder,
198
198
  onChange: (t) => {
199
- d(t.target.value), i && c("");
199
+ s(t.target.value), l && i("");
200
200
  },
201
201
  onKeyDown: (t) => {
202
- t.key === "Enter" && k();
202
+ t.key === "Enter" && h();
203
203
  },
204
204
  autoFocus: !0
205
205
  }
206
206
  ),
207
- i && /* @__PURE__ */ a("p", { className: e.fieldError, children: i })
207
+ l && /* @__PURE__ */ a("p", { className: e.fieldError, children: l })
208
208
  ] })
209
209
  ] }),
210
210
  /* @__PURE__ */ n("div", { className: e.modalFooter, children: [
211
- /* @__PURE__ */ a("button", { className: e.btnCancel, onClick: l, children: "取消" }),
211
+ /* @__PURE__ */ a("button", { className: e.btnCancel, onClick: c, children: "取消" }),
212
212
  /* @__PURE__ */ a(
213
213
  "button",
214
214
  {
215
215
  className: e.btnConfirm,
216
- onClick: k,
216
+ onClick: h,
217
217
  disabled: u,
218
218
  children: u ? "创建中..." : "确认并开始"
219
219
  }
@@ -222,10 +222,10 @@ function Ne({
222
222
  ] }) });
223
223
  }
224
224
  function Ee() {
225
- const [o, l] = p(
225
+ const [o, c] = m(
226
226
  null
227
- ), s = x((r) => {
228
- localStorage.setItem("ft_last_project_id", String(r)), localStorage.removeItem("ft_last_file_path"), v.push("/workspace");
227
+ ), d = x((r) => {
228
+ localStorage.setItem("ft_last_project_id", String(r)), localStorage.removeItem("ft_last_file_path"), w.push("/workspace");
229
229
  }, []);
230
230
  return /* @__PURE__ */ n("div", { className: e.portalRoot, children: [
231
231
  /* @__PURE__ */ n("header", { className: e.portalHeader, children: [
@@ -237,12 +237,12 @@ function Ee() {
237
237
  ] }),
238
238
  /* @__PURE__ */ n("main", { className: e.portalMain, children: [
239
239
  /* @__PURE__ */ a("h2", { className: e.sectionTitle, children: "可用场景" }),
240
- /* @__PURE__ */ a("div", { className: e.cardGrid, children: be.map((r) => /* @__PURE__ */ n("div", { className: e.scenarioCard, children: [
240
+ /* @__PURE__ */ a("div", { className: e.cardGrid, children: Te.map((r) => /* @__PURE__ */ n("div", { className: e.scenarioCard, children: [
241
241
  /* @__PURE__ */ n("div", { className: e.cardTop, children: [
242
242
  /* @__PURE__ */ a("span", { className: e.cardIcon, children: r.icon }),
243
243
  /* @__PURE__ */ n("div", { className: e.cardInfo, children: [
244
244
  /* @__PURE__ */ a("h3", { className: e.cardTitle, children: r.title }),
245
- /* @__PURE__ */ a("div", { className: e.cardTags, children: r.tags.map((d) => /* @__PURE__ */ a("span", { className: e.tag, children: d }, d)) })
245
+ /* @__PURE__ */ a("div", { className: e.cardTags, children: r.tags.map((s) => /* @__PURE__ */ a("span", { className: e.tag, children: s }, s)) })
246
246
  ] })
247
247
  ] }),
248
248
  /* @__PURE__ */ a("p", { className: e.cardDesc, children: r.description }),
@@ -250,7 +250,7 @@ function Ee() {
250
250
  "button",
251
251
  {
252
252
  className: e.btnCreate,
253
- onClick: () => l(r),
253
+ onClick: () => c(r),
254
254
  children: "创建"
255
255
  }
256
256
  ) })
@@ -260,16 +260,16 @@ function Ee() {
260
260
  "button",
261
261
  {
262
262
  className: e.linkWorkspace,
263
- onClick: () => v.push("/workspace"),
263
+ onClick: () => w.push("/workspace"),
264
264
  children: "进入工作台 →"
265
265
  }
266
266
  ) }),
267
267
  o && /* @__PURE__ */ a(
268
- Ne,
268
+ ye,
269
269
  {
270
270
  scenario: o,
271
- onClose: () => l(null),
272
- onCreated: s
271
+ onClose: () => c(null),
272
+ onCreated: d
273
273
  }
274
274
  )
275
275
  ] });