@yuku123/z-team-component 0.2.54 → 0.2.55
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-Cstbioyw.js → ChangeLogView-R6boINWk.js} +137 -137
- package/dist/{ComponentDoc-yvIrAz9-.js → ComponentDoc-DTJyJAy-.js} +121 -121
- package/dist/{InvitationManagementPage-CIouC3Fn.js → InvitationManagementPage-BZOxuoM5.js} +1 -1
- package/dist/{OnboardingPage-DScwVCi-.js → OnboardingPage-Be3MXW9i.js} +2 -2
- package/dist/{ScheduledTasks-Dd2lJrBF.js → ScheduledTasks-CxDbixJe.js} +2957 -2992
- package/dist/{SystemShell-DtvyWy0u.js → SystemShell-BEKwj3WF.js} +1 -1
- package/dist/{admin-logs-B9KS6VJz.js → admin-logs-DMF0dtG1.js} +2 -2
- package/dist/{api-CALqShkO.js → api-DhuqONeb.js} +210 -228
- package/dist/{api-CdVRdA0g.js → api-DqNgdbLm.js} +1 -1
- package/dist/createWorkspaceWsHandler-BKcAIc4B.js +13034 -0
- package/dist/{index-DEx5rtXv.js → index-8Qtz0IKN.js} +2 -2
- package/dist/{index-Pk7OkJrk.js → index-B30K72xQ.js} +517 -320
- package/dist/{index-7Pe_xBrh.js → index-B7cZdoRq.js} +1 -1
- package/dist/{index-C2Wkg1b5.js → index-B8eiFO_f.js} +3 -3
- package/dist/{index-DET70T3j.js → index-BKVWW3ba.js} +1 -1
- package/dist/{index-aw72ID7y.js → index-BM6XpIcw.js} +1 -1
- package/dist/{index-C3B7CbHo.js → index-BOcKPM37.js} +1 -1
- package/dist/{index-lftFkqfI.js → index-BP97Ev-W.js} +4 -4
- package/dist/{index-C6S3MIu4.js → index-BkX0I2aB.js} +56 -56
- package/dist/{index-DC5lxCN8.js → index-C5O0cK8A.js} +6 -6
- package/dist/index-C8Wkx3H_.js +8960 -0
- package/dist/{index-4YxdJwFm.js → index-CZ9xxAL0.js} +3 -3
- package/dist/{index-DLyAy3cr.js → index-CZxihNo5.js} +7 -7
- package/dist/{index-DKeYG0Fu.js → index-CbUsvCMy.js} +4 -4
- package/dist/{index-CLWgeKwr.js → index-Ct9MzvZV.js} +2 -2
- package/dist/{index-CGWttFLb.js → index-CzePRAbT.js} +4 -4
- package/dist/{index-CgQH7-9F.js → index-DQk6Pt6U.js} +3 -3
- package/dist/{index-DOygBsXO.js → index-DQmgOqd1.js} +1123 -1121
- package/dist/{index-D6V-4vNa.js → index-DV8rmjvN.js} +5 -5
- package/dist/{index-CKS65_Dw.js → index-DpNZTqcn.js} +3 -3
- package/dist/{index-usrA11ZG.js → index-JMzBzwiO.js} +617 -618
- package/dist/{index-DJOyOVn_.js → index-Otx98G8z.js} +74 -87
- package/dist/{index-C_2o9qgM.js → index-TPTesErt.js} +2 -2
- package/dist/index-mXMdvUYD.js +1182 -0
- package/dist/index.js +1 -1
- package/dist/{instance-f3C-1qYl.js → instance-Cr4_XM2r.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-DfkgwPdE.js → schedule-BNLns-p4.js} +1 -1
- package/dist/{send-default-agent-team-message-d_ECdczr.js → send-default-agent-team-message-C9VWSWKJ.js} +1 -1
- package/dist/{sso-user-HcsSzg8P.js → sso-user-Cme2tmGq.js} +1 -1
- package/dist/{training-DnNQN0An.js → training-SjRAdtNQ.js} +1 -1
- package/dist/{useAppStore-kRZEA5WZ.js → useAppStore-C63xiq3-.js} +1 -1
- package/dist/{webide-DPjFYxLl.js → webide-DDFxSedU.js} +1526 -1526
- package/dist/z-team-component.css +2 -2
- package/package.json +1 -1
- package/dist/createWorkspaceWsHandler-CL5-4wFp.js +0 -13037
- package/dist/index-DLQoecEe.js +0 -1143
- package/dist/index-DWsfQMp8.js +0 -208
- package/dist/index-TDZM-Zv3.js +0 -9287
- package/dist/index-WIsi8fln.js +0 -339
package/dist/index-DWsfQMp8.js
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
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
|
-
};
|