@yuku123/z-team-component 0.2.90 → 0.2.92

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 (54) hide show
  1. package/dist/{ChangeLogView-DagOxr6O.js → ChangeLogView-DMVBdFFX.js} +12 -12
  2. package/dist/ComponentDoc-Boc9n2c_.js +8035 -0
  3. package/dist/{InvitationManagementPage-BWeW0h7p.js → InvitationManagementPage-B4UJQBrv.js} +1 -1
  4. package/dist/{OnboardingPage-tW2xXPui.js → OnboardingPage-BuDvSKMx.js} +2 -2
  5. package/dist/ScheduledTasks-DY4iYtX3.js +10851 -0
  6. package/dist/{SystemShell-CSiNt2JL.js → SystemShell-UVZjsfJs.js} +11 -12
  7. package/dist/admin-logs-OIyOdfuC.js +198 -0
  8. package/dist/{api-WqoLUPy-.js → api-mJ7FvgsR.js} +1 -1
  9. package/dist/createWorkspaceWsHandler-9k7O4P-D.js +13135 -0
  10. package/dist/{index-B5dDwxhs.js → index-BMt6Z1yA.js} +1 -1
  11. package/dist/{index-7iEmueKf.js → index-Bi6mbk7-.js} +6 -7
  12. package/dist/{index-B8mikT45.js → index-BxRNZbw5.js} +3 -3
  13. package/dist/{index-DcHrkop2.js → index-C2LwqjZQ.js} +23 -24
  14. package/dist/{index-DKWvNjHa.js → index-COLSSd6V.js} +2 -2
  15. package/dist/{index-pScDd5cp.js → index-CYe2nfiG.js} +90 -91
  16. package/dist/{index-DyFaoD5W.js → index-CeYCMcgX.js} +11 -12
  17. package/dist/index-Ckpc_Z6-.js +3495 -0
  18. package/dist/{index-BMQ6XkO3.js → index-CpA8ev3a.js} +1 -1
  19. package/dist/{index-VGtET31b.js → index-CpwvgQ3b.js} +1 -1
  20. package/dist/{index-DS4IgliO.js → index-CsHpsX_P.js} +2 -2
  21. package/dist/{index-v3WaXkDJ.js → index-CwNtNKwX.js} +8 -9
  22. package/dist/index-D1odHNMR.js +316 -0
  23. package/dist/{index-Pt4RiXWL.js → index-D74FCwtx.js} +3629 -3473
  24. package/dist/{index-NCoTXpQ0.js → index-D83QI-17.js} +4 -4
  25. package/dist/{index-DBEdsfjb.js → index-DeHC7MtX.js} +5 -6
  26. package/dist/{index-B51WSpDM.js → index-FAhDAnIy.js} +1257 -1258
  27. package/dist/{index-ji8TPz9K.js → index-GHQ4Tl6H.js} +10 -11
  28. package/dist/{index-iCpFhLce.js → index-Gk-5X-GO.js} +1 -1
  29. package/dist/{index-BxBGVGKQ.js → index-Hm6ZaRmP.js} +10 -11
  30. package/dist/{index-s_ikMJ2V.js → index-TW4txhve.js} +1 -1
  31. package/dist/{index-Ds6Ac0UE.js → index-kwnNAAM0.js} +19 -18
  32. package/dist/{index-BIbkA-jX.js → index-r4IxoITP.js} +23 -23
  33. package/dist/{index-CGSWoJJv.js → index-s5yeUpMA.js} +19 -19
  34. package/dist/{index-MYohlrH6.js → index-zEqjsTFh.js} +5 -6
  35. package/dist/index.js +1 -1
  36. package/dist/{instance-CI6-4BZ6.js → instance-BpY3BXci.js} +1 -1
  37. package/dist/{menuPermission-BqZsG_Fz.js → menuPermission-DX8KlB6K.js} +11 -11
  38. package/dist/pages.js +8 -8
  39. package/dist/{send-default-agent-team-message-c5oKdQQA.js → send-default-agent-team-message-DVFuAdE9.js} +1 -1
  40. package/dist/{sso-user-DToM5dPy.js → sso-user-BBkFFo35.js} +1 -1
  41. package/dist/{training-B38tnwLL.js → training-BCi9cA6O.js} +1 -1
  42. package/dist/webide-MQ5gD1Go.js +5233 -0
  43. package/dist/z-team-component.css +1 -26
  44. package/package.json +3 -2
  45. package/dist/ComponentDoc-DgjWNYvc.js +0 -3998
  46. package/dist/ScheduledTasks-2X5KfwFi.js +0 -10717
  47. package/dist/api-BftpestH.js +0 -2156
  48. package/dist/createWorkspaceWsHandler-rKc7vc8k.js +0 -13030
  49. package/dist/index-CUVdeb8y.js +0 -638
  50. package/dist/index-ClRT3ECx.js +0 -3488
  51. package/dist/personal-D-eMMf0_.js +0 -294
  52. package/dist/schedule-ChO2xIGd.js +0 -625
  53. package/dist/useAppStore-BFO_h1L2.js +0 -1920
  54. package/dist/webide-DTZ46LPR.js +0 -8399
@@ -1,8 +1,7 @@
1
1
  import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
2
2
  import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
3
- import { u as O } from "./useAppStore-BFO_h1L2.js";
3
+ import { T as O, k as U, d as P } from "./ComponentDoc-Boc9n2c_.js";
4
4
  /* empty css */
5
- import { T as P, g as U } from "./api-BftpestH.js";
6
5
  async function y(o, s) {
7
6
  const n = await o.text().catch(() => "");
8
7
  let t = {};
@@ -21,7 +20,7 @@ async function y(o, s) {
21
20
  if (!o.ok) throw new Error(s);
22
21
  return U(t);
23
22
  }
24
- const m = P;
23
+ const m = O;
25
24
  async function q(o, s) {
26
25
  const n = s ? `?token=${encodeURIComponent(s)}` : "", t = { ...o, extend_params: { skip_init_task: "true" } }, r = await fetch(`${m}/scenario-instances${n}`, {
27
26
  method: "POST",
@@ -91,20 +90,20 @@ async function J(o, s) {
91
90
  return y(t, "Failed to list members");
92
91
  }
93
92
  const L = "dev_brain_scenario";
94
- function ee() {
93
+ function Z() {
95
94
  var M;
96
95
  const [o, s] = d([]), [n, t] = d(
97
96
  null
98
- ), [r, h] = d([]), [u, z] = d([]), [v, b] = d(""), [W, w] = d(!1), [g, S] = d(!1), [A, T] = d(""), C = F(null), { token: f } = O(), I = D(() => {
97
+ ), [r, h] = d([]), [u, z] = d([]), [v, b] = d(""), [W, w] = d(!1), [g, S] = d(!1), [A, T] = d(""), k = F(null), { token: f } = P(), C = D(() => {
99
98
  var e;
100
- (e = C.current) == null || e.scrollIntoView({ behavior: "smooth" });
99
+ (e = k.current) == null || e.scrollIntoView({ behavior: "smooth" });
101
100
  }, []);
102
101
  R(() => {
102
+ C();
103
+ }, [r, C]), R(() => {
103
104
  I();
104
- }, [r, I]), R(() => {
105
- k();
106
105
  }, []);
107
- const k = async () => {
106
+ const I = async () => {
108
107
  try {
109
108
  const e = await K(f || void 0);
110
109
  s(e || []);
@@ -120,7 +119,7 @@ function ee() {
120
119
  { scenario_code: L, name: e },
121
120
  f || void 0
122
121
  );
123
- T(""), await k(), $(c);
122
+ T(""), await I(), $(c);
124
123
  } catch (c) {
125
124
  alert(c instanceof Error ? c.message : "Create failed");
126
125
  } finally {
@@ -360,7 +359,7 @@ function ee() {
360
359
  },
361
360
  e.id
362
361
  )),
363
- /* @__PURE__ */ i("div", { ref: C })
362
+ /* @__PURE__ */ i("div", { ref: k })
364
363
  ]
365
364
  }
366
365
  ),
@@ -431,5 +430,5 @@ function ee() {
431
430
  ] });
432
431
  }
433
432
  export {
434
- ee as default
433
+ Z as default
435
434
  };