@yuku123/z-team-component 0.2.76 → 0.2.77
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/{ChangeLogView-BJxIhIPc.js → ChangeLogView-DwuIBDL5.js} +1 -1
- package/dist/{ComponentDoc-B-3eyp4p.js → ComponentDoc-B83ray2w.js} +5 -5
- package/dist/{InvitationManagementPage-i3wrq0OA.js → InvitationManagementPage-CIzCRWPq.js} +1 -1
- package/dist/{OnboardingPage-iq9O9Epu.js → OnboardingPage-BpjNlxUb.js} +2 -2
- package/dist/{ScheduledTasks-MpIpBSW4.js → ScheduledTasks-B87VNnoB.js} +4 -4
- package/dist/{SystemShell-CWZiZk5U.js → SystemShell-B0kCPBz3.js} +4 -4
- package/dist/{api-BGGElt7Q.js → api-CpE2blgj.js} +1 -1
- package/dist/{createWorkspaceWsHandler-C-FS738i.js → createWorkspaceWsHandler-CzfcRs0V.js} +3 -3
- package/dist/index-B2rRYGQK.js +9567 -0
- package/dist/{index-BIIBDEQK.js → index-BBu4pWAN.js} +2 -2
- package/dist/{index-C5QmTUp2.js → index-BHDrnEnt.js} +1 -1
- package/dist/{index-Cc6aOQLa.js → index-BO5y0Gwn.js} +3 -3
- package/dist/{index-WIsi8fln.js → index-B_LJRFsK.js} +73 -73
- package/dist/{index-C5VkXrgj.js → index-BoJxTQwX.js} +67 -67
- package/dist/{index-BADGOdUu.js → index-BydWNuk5.js} +392 -392
- package/dist/{index-BbQ8wWN4.js → index-CW-JDoj9.js} +3 -3
- package/dist/{index-B1jqrWPW.js → index-CpAUbzCH.js} +5 -5
- package/dist/{index-CCsPMzzt.js → index-D1KPGWN9.js} +1 -1
- package/dist/{index-CPvy4SM_.js → index-D6yh1Kok.js} +11 -11
- package/dist/{index-C9YhDxMT.js → index-DCwvhwes.js} +1 -1
- package/dist/{index-BA3lZUmW.js → index-DF2jRLkS.js} +1 -1
- package/dist/{index-rPNKkWaw.js → index-DK6-iytM.js} +1 -1
- package/dist/{index-CfCSq_SC.js → index-DTBIyd4I.js} +2 -2
- package/dist/{index-OGpLvdxS.js → index-DahQUH9c.js} +1 -1
- package/dist/{index-C6S3MIu4.js → index-DhDdFRHC.js} +2 -2
- package/dist/index-LA0c93lD.js +2908 -0
- package/dist/{index-DJ6I-pUk.js → index-Sk6xoy0n.js} +1 -1
- package/dist/{index-CjS3Zp-B.js → index-cDBJpBAd.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{instance-B9aQMplq.js → instance-CDGmSyID.js} +13 -13
- package/dist/{menuPermission-BR4aIUbf.js → menuPermission-Cn3TADR1.js} +1 -1
- package/dist/pages.js +3 -3
- package/dist/{webide-CkUCEvo0.js → webide-BM1A4eJr.js} +2629 -2626
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/index-BDJCIA4p.js +0 -2882
- package/dist/index-BazxRXcl.js +0 -9419
|
@@ -7,7 +7,7 @@ import { message as U, Input as H, Tooltip as se, Button as g, Spin as ce, Empty
|
|
|
7
7
|
import ve from "react-markdown";
|
|
8
8
|
import _e from "rehype-highlight";
|
|
9
9
|
import ge from "remark-gfm";
|
|
10
|
-
import { M as oa } from "./index-
|
|
10
|
+
import { M as oa } from "./index-CpAUbzCH.js";
|
|
11
11
|
function j(a) {
|
|
12
12
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Navigate as t } from "react-router-dom";
|
|
3
3
|
import { lazy as A } from "react";
|
|
4
4
|
import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as p, DashboardOutlined as s, ExperimentOutlined as q, SettingOutlined as d, KeyOutlined as n, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as u, HddOutlined as l, ApartmentOutlined as g, InboxOutlined as k, FileTextOutlined as y, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as f, SearchOutlined as m, DatabaseOutlined as v, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, FundOutlined as N, CloudUploadOutlined as _, TagsOutlined as x, CodeOutlined as B } from "@ant-design/icons";
|
|
5
|
-
import { W as R } from "./index-
|
|
5
|
+
import { W as R } from "./index-BBu4pWAN.js";
|
|
6
6
|
import { ConfigApp as U } from "@yuku123/z-config-component";
|
|
7
7
|
import { MistApp as H } from "@yuku123/z-mist-component";
|
|
8
8
|
import { MetaApp as L } from "@yuku123/z-meta-component";
|
|
@@ -16,7 +16,7 @@ import { MqApp as Z } from "@yuku123/z-mq-component";
|
|
|
16
16
|
import { OssApp as J } from "@yuku123/z-oss-component";
|
|
17
17
|
import { ZkbApp as X } from "@yuku123/z-kb-component";
|
|
18
18
|
import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-B2rRYGQK.js";
|
|
20
20
|
const $ = "/api/graph";
|
|
21
21
|
let O = !1;
|
|
22
22
|
function ee() {
|
package/dist/index.js
CHANGED
|
@@ -69,14 +69,14 @@ async function C(e) {
|
|
|
69
69
|
);
|
|
70
70
|
return c(n, "获取工单信息失败");
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function v(e) {
|
|
73
73
|
return String(e.currentStage ?? e.current_stage ?? "").trim();
|
|
74
74
|
}
|
|
75
75
|
function g(e) {
|
|
76
76
|
const n = e.trim().replace(/[/\\:*?"<>|]/g, "_");
|
|
77
77
|
return n.length > 0 ? n.slice(0, 80) : "workspace";
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function T(e, n) {
|
|
80
80
|
var i;
|
|
81
81
|
const t = e.requirementTitle && e.requirementTitle.trim() || n, s = { ticket_id: n }, a = (i = e.foneUrl) == null ? void 0 : i.trim();
|
|
82
82
|
return a && (s.work_order_url = a), {
|
|
@@ -127,7 +127,7 @@ async function b(e = "") {
|
|
|
127
127
|
};
|
|
128
128
|
return {
|
|
129
129
|
scenario_instance_id: a,
|
|
130
|
-
name: String(s.name ?? "Z-
|
|
130
|
+
name: String(s.name ?? "Z-OPC 自身答疑"),
|
|
131
131
|
scenario_code: String(s.scenario_code ?? "qa_support"),
|
|
132
132
|
workspace_path: String(s.workspace_path ?? ""),
|
|
133
133
|
status: String(s.status ?? "ACTIVE")
|
|
@@ -142,7 +142,7 @@ async function y(e, n = "") {
|
|
|
142
142
|
(l) => u(l)
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
|
-
async function
|
|
145
|
+
async function O(e) {
|
|
146
146
|
const n = await o(
|
|
147
147
|
`${r}/scenario-instances/${e}/close-feedback-tags`,
|
|
148
148
|
{
|
|
@@ -152,7 +152,7 @@ async function A(e) {
|
|
|
152
152
|
);
|
|
153
153
|
return await c(n, "获取关单标签失败");
|
|
154
154
|
}
|
|
155
|
-
async function
|
|
155
|
+
async function P(e) {
|
|
156
156
|
const n = await o(`${r}/scenario-instances/${e}/reopen`, {
|
|
157
157
|
...d,
|
|
158
158
|
method: "POST",
|
|
@@ -160,7 +160,7 @@ async function N(e) {
|
|
|
160
160
|
}), t = await c(n, "重新开启失败");
|
|
161
161
|
return u(t);
|
|
162
162
|
}
|
|
163
|
-
async function
|
|
163
|
+
async function A(e, n) {
|
|
164
164
|
const t = await o(`${r}/scenario-instances/${e}/close`, {
|
|
165
165
|
...d,
|
|
166
166
|
method: "POST",
|
|
@@ -169,7 +169,7 @@ async function O(e, n) {
|
|
|
169
169
|
}), s = await c(t, "关单失败");
|
|
170
170
|
return u(s);
|
|
171
171
|
}
|
|
172
|
-
async function
|
|
172
|
+
async function N(e) {
|
|
173
173
|
const n = await o(
|
|
174
174
|
`${r}/scenario-instances/${e}/retry-init`,
|
|
175
175
|
{
|
|
@@ -199,18 +199,18 @@ async function F(e = "", n = 8) {
|
|
|
199
199
|
}
|
|
200
200
|
export {
|
|
201
201
|
h as a,
|
|
202
|
-
|
|
202
|
+
T as b,
|
|
203
203
|
F as c,
|
|
204
204
|
I as d,
|
|
205
205
|
b as e,
|
|
206
206
|
C as f,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
O as g,
|
|
208
|
+
A as h,
|
|
209
|
+
N as i,
|
|
210
210
|
k as j,
|
|
211
211
|
y as k,
|
|
212
212
|
S as l,
|
|
213
213
|
U as m,
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
v as p,
|
|
215
|
+
P as r
|
|
216
216
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { Alert as h } from "antd";
|
|
3
3
|
import { u as d } from "./useAppStore-DQP0l22d.js";
|
|
4
4
|
import { h as g } from "./schedule-Dt_ZRuce.js";
|
|
5
|
-
import { N as A } from "./index-
|
|
5
|
+
import { N as A } from "./index-B2rRYGQK.js";
|
|
6
6
|
function P() {
|
|
7
7
|
return d((n) => n.permissionState) !== "failed" ? null : /* @__PURE__ */ a(
|
|
8
8
|
h,
|
package/dist/pages.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
2
|
import { BellOutlined as t, ProjectOutlined as o, DesktopOutlined as r, ReadOutlined as a } from "@ant-design/icons";
|
|
3
|
-
import { S as m, P as p, C as i, Z as n } from "./ComponentDoc-
|
|
3
|
+
import { S as m, P as p, C as i, Z as n } from "./ComponentDoc-B83ray2w.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "antd";
|
|
7
7
|
import "@yuku123/z-frontend-common";
|
|
8
8
|
import "@yuku123/z-frontend-common/ui";
|
|
9
|
-
const h = { title: "
|
|
9
|
+
const h = { title: "Z-OPC 一人公司基建", short: "team" }, O = [
|
|
10
10
|
{ path: "/team/subscribe", title: "订阅", order: 1, Component: m },
|
|
11
11
|
{ path: "/team/project", title: "项目", order: 2, Component: p },
|
|
12
12
|
// 组件文档页(lead 008 §7):放在 /team/:rest* 兜底之前,否则会被兜底路由吃掉。
|
|
@@ -17,5 +17,5 @@ e(t), e(o), e(r), e(a);
|
|
|
17
17
|
export {
|
|
18
18
|
i as ComponentDocPage,
|
|
19
19
|
h as appMeta,
|
|
20
|
-
|
|
20
|
+
O as routes
|
|
21
21
|
};
|