@glodon-aiot/agent-cli-ui 3.3.2-beta.14 → 3.3.2-beta.15
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/es/index.mjs +109 -106
- package/dist/es/packages/agent-cli-ui/package.json.mjs +3 -3
- package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
- package/dist/es/src/style15.css +1 -1
- package/dist/es/src/style16.css +1 -1
- package/dist/es/src/style17.css +1 -1
- package/dist/es/src/style20.css +1 -1
- package/dist/es/src/style21.css +1 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style26.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style29.css +1 -1
- package/dist/es/src/style3.css +1 -1
- package/dist/es/src/style4.css +1 -1
- package/dist/es/src/style5.css +1 -1
- package/dist/es/src/style7.css +1 -1
- package/dist/es/src/style8.css +1 -1
- package/dist/lib/index.js +8 -8
- package/package.json +3 -3
package/dist/es/index.mjs
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ei = Object.defineProperty, ti = Object.defineProperties;
|
|
2
|
+
var si = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Y = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var S = (
|
|
4
|
+
var oi = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var S = (d, e, r) => e in d ? ei(d, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : d[e] = r, n = (d, e) => {
|
|
6
6
|
for (var r in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
oi.call(e, r) && S(d, r, e[r]);
|
|
8
8
|
if (Y)
|
|
9
9
|
for (var r of Y(e))
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
}, w = (
|
|
13
|
-
var l = (
|
|
14
|
-
var I = (
|
|
15
|
-
var C = (
|
|
10
|
+
ni.call(e, r) && S(d, r, e[r]);
|
|
11
|
+
return d;
|
|
12
|
+
}, w = (d, e) => ti(d, si(e));
|
|
13
|
+
var l = (d, e, r) => (S(d, typeof e != "symbol" ? e + "" : e, r), r);
|
|
14
|
+
var I = (d, e, r) => new Promise((f, c) => {
|
|
15
|
+
var C = (a) => {
|
|
16
16
|
try {
|
|
17
|
-
v(r.next(
|
|
17
|
+
v(r.next(a));
|
|
18
18
|
} catch (g) {
|
|
19
|
-
|
|
19
|
+
c(g);
|
|
20
20
|
}
|
|
21
|
-
}, b = (
|
|
21
|
+
}, b = (a) => {
|
|
22
22
|
try {
|
|
23
|
-
v(r.throw(
|
|
23
|
+
v(r.throw(a));
|
|
24
24
|
} catch (g) {
|
|
25
|
-
|
|
25
|
+
c(g);
|
|
26
26
|
}
|
|
27
|
-
}, v = (
|
|
28
|
-
v((r = r.apply(
|
|
27
|
+
}, v = (a) => a.done ? f(a.value) : Promise.resolve(a.value).then(C, b);
|
|
28
|
+
v((r = r.apply(d, e)).next());
|
|
29
29
|
});
|
|
30
|
-
import { jsx as U, Fragment as
|
|
30
|
+
import { jsx as U, Fragment as ri } from "react/jsx-runtime";
|
|
31
31
|
import p from "lodash/merge";
|
|
32
32
|
import x from "react-dom";
|
|
33
|
-
import
|
|
33
|
+
import hi from "./AgentClientUI.mjs";
|
|
34
34
|
import { notification as Z } from "antd";
|
|
35
35
|
import ai from "axios";
|
|
36
|
-
import
|
|
37
|
-
import { defaultUIConfig as
|
|
38
|
-
import { ApiUrl as
|
|
39
|
-
/* empty css */import { BotClientApi as
|
|
36
|
+
import gi from "./packages/agent-cli-ui/package.json.mjs";
|
|
37
|
+
import { defaultUIConfig as li, defaultApiUrl as fi, defaultDovViewerUrl as di } from "./constant.mjs";
|
|
38
|
+
import { ApiUrl as ui } from "./types.mjs";
|
|
39
|
+
/* empty css */import { BotClientApi as ci, ApplicationTypes as q } from "@glodon-aiot/apis";
|
|
40
40
|
import { JWT as pi, isExpired as mi } from "./utils/index.mjs";
|
|
41
|
-
import { configuration as Ci, configure as
|
|
41
|
+
import { configuration as Ci, configure as ii, BotClient as bi } from "@glodon-aiot/bot-client-sdk";
|
|
42
42
|
import vi from "./ReactTextGenerationUI/index.mjs";
|
|
43
43
|
const _ = {};
|
|
44
44
|
class Ei {
|
|
@@ -56,42 +56,42 @@ class Ei {
|
|
|
56
56
|
l(this, "service");
|
|
57
57
|
l(this, "rId", 0);
|
|
58
58
|
l(this, "_mode", "float");
|
|
59
|
-
l(this, "uiConfig",
|
|
59
|
+
l(this, "uiConfig", li);
|
|
60
60
|
l(this, "errorHandlers", {});
|
|
61
61
|
l(this, "wrapper", document.createElement("div"));
|
|
62
62
|
l(this, "botClient", null);
|
|
63
|
-
var H, L, z, M, V, A, E, N,
|
|
63
|
+
var H, L, z, M, V, A, E, N, T, D, F, j, R, P, W, $, O, J, K, Q, G, X;
|
|
64
64
|
const {
|
|
65
65
|
env: r,
|
|
66
|
-
token:
|
|
67
|
-
mode:
|
|
66
|
+
token: f,
|
|
67
|
+
mode: c = "float",
|
|
68
68
|
triggerButton: C,
|
|
69
69
|
size: b,
|
|
70
70
|
apiUrl: v,
|
|
71
|
-
docViewerUrl:
|
|
71
|
+
docViewerUrl: a,
|
|
72
72
|
errorHandlers: g,
|
|
73
73
|
features: i,
|
|
74
74
|
sessionId: o,
|
|
75
75
|
icon: t,
|
|
76
76
|
logo: s,
|
|
77
|
-
stream:
|
|
77
|
+
stream: h
|
|
78
78
|
} = e;
|
|
79
79
|
this.uiConfig.icon = t || this.uiConfig.icon, this.uiConfig.logo = s || this.uiConfig.logo, (i == null ? void 0 : i.greeting) !== void 0 && (typeof i.greeting == "object" ? this.uiConfig.features = w(n({}, this.uiConfig.features), {
|
|
80
80
|
greeting: n(n({}, typeof ((H = this.uiConfig.features) == null ? void 0 : H.greeting) != "object" ? {} : (L = this.uiConfig.features) == null ? void 0 : L.greeting), i.greeting)
|
|
81
81
|
}) : this.uiConfig.features = w(n({}, this.uiConfig.features), {
|
|
82
82
|
greeting: i.greeting
|
|
83
|
-
})), this._token =
|
|
84
|
-
const
|
|
85
|
-
sessionOpen:
|
|
86
|
-
sessionList:
|
|
83
|
+
})), this._token = f, this.rId = 0, this._defatulSessionId = o, this.errorHandlers = n(n({}, this.errorHandlers), g);
|
|
84
|
+
const u = {
|
|
85
|
+
sessionOpen: c === "float",
|
|
86
|
+
sessionList: c === "float"
|
|
87
87
|
}, B = (V = (M = (z = i == null ? void 0 : i.botMessageBox) == null ? void 0 : z.footer) == null ? void 0 : M.items) == null ? void 0 : V.find((m) => m.componentName === "AnswerAgain");
|
|
88
88
|
(N = (E = (A = i == null ? void 0 : i.botMessageBox) == null ? void 0 : A.footer) == null ? void 0 : E.items) == null || N.find((m) => m.componentName === "Copy");
|
|
89
89
|
const y = {
|
|
90
90
|
sessionList: i == null ? void 0 : i.sessionList,
|
|
91
91
|
sessionOpen: i == null ? void 0 : i.newSession,
|
|
92
92
|
fileUpload: i == null ? void 0 : i.fileUpload,
|
|
93
|
-
userCopy: (
|
|
94
|
-
userEdit: (
|
|
93
|
+
userCopy: (T = i == null ? void 0 : i.userMessageBox) == null ? void 0 : T.copy,
|
|
94
|
+
userEdit: (D = i == null ? void 0 : i.userMessageBox) == null ? void 0 : D.editAgain,
|
|
95
95
|
userPrompt: i == null ? void 0 : i.fileUpload,
|
|
96
96
|
prompt: i == null ? void 0 : i.prompts,
|
|
97
97
|
relate: (F = i == null ? void 0 : i.botMessageBox) == null ? void 0 : F.relatedQuesions,
|
|
@@ -109,11 +109,11 @@ class Ei {
|
|
|
109
109
|
promptVariables: (i == null ? void 0 : i.promptVariables) === void 0 ? (J = this.uiConfig.transform) == null ? void 0 : J.promptVariables : (i == null ? void 0 : i.promptVariables) === !0 || typeof (i == null ? void 0 : i.promptVariables) == "object" && ((K = i == null ? void 0 : i.promptVariables) == null ? void 0 : K.visible) !== !1 ? (Q = this.uiConfig.transform) == null ? void 0 : Q.promptVariables : !1,
|
|
110
110
|
connectNetwork: (i == null ? void 0 : i.connectNetwork) === void 0 ? (G = this.uiConfig.transform) == null ? void 0 : G.connectNetwork : (i == null ? void 0 : i.connectNetwork) === !0 || (typeof (i == null ? void 0 : i.connectNetwork) == "object" && typeof (i == null ? void 0 : i.connectNetwork.visible) == "boolean" ? i == null ? void 0 : i.connectNetwork.visible : (X = this.uiConfig.transform) == null ? void 0 : X.connectNetwork)
|
|
111
111
|
}, k = {
|
|
112
|
-
sider:
|
|
112
|
+
sider: c === "inlay"
|
|
113
113
|
};
|
|
114
114
|
if (e.header !== void 0 && (k.showHeader = !!e.header), e.sider !== void 0 && (k.sider = !!e.sider), Object.keys(y).forEach((m) => {
|
|
115
115
|
y[m] === void 0 && delete y[m];
|
|
116
|
-
}),
|
|
116
|
+
}), c === "inlay") {
|
|
117
117
|
const m = {
|
|
118
118
|
triggerButton: p({
|
|
119
119
|
visible: !1
|
|
@@ -131,7 +131,7 @@ class Ei {
|
|
|
131
131
|
history: !0
|
|
132
132
|
};
|
|
133
133
|
this.uiConfig = w(n(n(n(n({}, this.uiConfig), e), m), k), {
|
|
134
|
-
transform: n(n(n(n({}, this.uiConfig.transform),
|
|
134
|
+
transform: n(n(n(n({}, this.uiConfig.transform), u), e.transform), y)
|
|
135
135
|
}), this.wrapper = this.uiConfig.getContainer();
|
|
136
136
|
} else {
|
|
137
137
|
const m = {
|
|
@@ -140,12 +140,14 @@ class Ei {
|
|
|
140
140
|
theme: p(this.uiConfig.theme, _)
|
|
141
141
|
};
|
|
142
142
|
this.uiConfig = w(n(n(n(n(n({}, this.uiConfig), e), m), k), y), {
|
|
143
|
-
transform: n(n(n(n({}, this.uiConfig.transform),
|
|
143
|
+
transform: n(n(n(n({}, this.uiConfig.transform), u), e.transform), y)
|
|
144
144
|
}), this.uiConfig.getContainer().append(this.wrapper);
|
|
145
145
|
}
|
|
146
|
-
this._mode =
|
|
146
|
+
this._mode = c, this.env = r || "prod", this.stream = h, ii({
|
|
147
147
|
stream: this.stream
|
|
148
|
-
}), this._applicationId = pi(
|
|
148
|
+
}), this._applicationId = pi(f).rid, this.apiUrl = v || ui[this.env] || fi, this.docViewerUrl = a || di, this.service = this.setService(), this.createBotClientSDK().then(() => {
|
|
149
|
+
this.render();
|
|
150
|
+
});
|
|
149
151
|
}
|
|
150
152
|
get token() {
|
|
151
153
|
return this._token;
|
|
@@ -183,7 +185,7 @@ class Ei {
|
|
|
183
185
|
};
|
|
184
186
|
this.uiConfig = n(n({}, this.uiConfig), r), this._mode === "inlay" && this.wrapper.remove(), this.uiConfig.getContainer().append(this.wrapper);
|
|
185
187
|
}
|
|
186
|
-
this._mode = e;
|
|
188
|
+
this._mode = e, this.render();
|
|
187
189
|
}
|
|
188
190
|
get activeSession() {
|
|
189
191
|
return this._activeSession;
|
|
@@ -192,11 +194,11 @@ class Ei {
|
|
|
192
194
|
return this._applicationId;
|
|
193
195
|
}
|
|
194
196
|
setService() {
|
|
195
|
-
const e = this.apiUrl, r = (
|
|
197
|
+
const e = this.apiUrl, r = (a) => {
|
|
196
198
|
var i;
|
|
197
199
|
const g = this.token;
|
|
198
200
|
if (!g)
|
|
199
|
-
return
|
|
201
|
+
return a;
|
|
200
202
|
if (mi(g)) {
|
|
201
203
|
const o = "token is timeout";
|
|
202
204
|
this.errorHandlers.token ? typeof this.errorHandlers.token == "function" ? this.errorHandlers.token(
|
|
@@ -209,18 +211,18 @@ class Ei {
|
|
|
209
211
|
})
|
|
210
212
|
) : console.error("errorHandlers.token is not a function") : console.error(o);
|
|
211
213
|
}
|
|
212
|
-
return
|
|
214
|
+
return a.headers = (i = a.headers) != null ? i : {}, a.headers = w(n({}, a.headers), {
|
|
213
215
|
Authorization: g ? `Bearer ${g}` : ""
|
|
214
|
-
}),
|
|
216
|
+
}), a;
|
|
215
217
|
};
|
|
216
|
-
function
|
|
217
|
-
const i = `${e}${
|
|
218
|
+
function f(a, g = !0) {
|
|
219
|
+
const i = `${e}${a}`, o = ai.create({
|
|
218
220
|
baseURL: i
|
|
219
221
|
});
|
|
220
222
|
return g && o.interceptors.request.use(r), o;
|
|
221
223
|
}
|
|
222
|
-
const
|
|
223
|
-
if (
|
|
224
|
+
const c = (a, g) => {
|
|
225
|
+
if (a === 401) {
|
|
224
226
|
const i = "token is invalid";
|
|
225
227
|
this.errorHandlers.token ? typeof this.errorHandlers.token == "function" ? this.errorHandlers.token(
|
|
226
228
|
// @ts-ignore
|
|
@@ -232,15 +234,15 @@ class Ei {
|
|
|
232
234
|
})
|
|
233
235
|
) : console.error("errorHandlers.token is not a function") : console.error(i);
|
|
234
236
|
}
|
|
235
|
-
}, C = (
|
|
236
|
-
|
|
237
|
+
}, C = (a, g, i) => {
|
|
238
|
+
a !== 10001 && a !== 10215 && (i || (Z.config({
|
|
237
239
|
getContainer: this.uiConfig.getContainer
|
|
238
240
|
}), Z.error({
|
|
239
241
|
message: g
|
|
240
242
|
})));
|
|
241
|
-
}, b =
|
|
242
|
-
return new
|
|
243
|
-
onHttpStatusError:
|
|
243
|
+
}, b = f("");
|
|
244
|
+
return new ci(b, () => this.token, {
|
|
245
|
+
onHttpStatusError: c,
|
|
244
246
|
onAppStatusError: C
|
|
245
247
|
});
|
|
246
248
|
}
|
|
@@ -251,8 +253,8 @@ class Ei {
|
|
|
251
253
|
});
|
|
252
254
|
}
|
|
253
255
|
getMessageList(e) {
|
|
254
|
-
var r,
|
|
255
|
-
return e || (e = (r = this.activeSession) == null ? void 0 : r.id), !this.applicationId || !e ? Promise.resolve([]) : (
|
|
256
|
+
var r, f;
|
|
257
|
+
return e || (e = (r = this.activeSession) == null ? void 0 : r.id), !this.applicationId || !e ? Promise.resolve([]) : (f = this.service) == null ? void 0 : f.getChatHistorySessionId(this.applicationId, e);
|
|
256
258
|
}
|
|
257
259
|
input(e) {
|
|
258
260
|
this._defaultInputText = e, this.render();
|
|
@@ -267,7 +269,7 @@ class Ei {
|
|
|
267
269
|
return I(this, null, function* () {
|
|
268
270
|
return new Promise((e, r) => {
|
|
269
271
|
if (this.token)
|
|
270
|
-
|
|
272
|
+
ii({
|
|
271
273
|
debug: this.uiConfig.debug,
|
|
272
274
|
env: this.uiConfig.env,
|
|
273
275
|
apiRoot: this.apiUrl
|
|
@@ -282,10 +284,11 @@ class Ei {
|
|
|
282
284
|
// 这里记录应用的名称和版本,以便后期数据分析
|
|
283
285
|
ui: {
|
|
284
286
|
name: "bot-client-ui",
|
|
285
|
-
version:
|
|
287
|
+
version: gi.version
|
|
286
288
|
}
|
|
287
289
|
}), this.botClient.ready ? e(this.botClient) : this.botClient.addEventListener("ready", () => I(this, null, function* () {
|
|
288
|
-
|
|
290
|
+
var f;
|
|
291
|
+
this.botClient ? (((f = this.botClient.application) == null ? void 0 : f.type) === q.Text && (this.mode = "inlay"), e(this.botClient)) : r(this.botClient);
|
|
289
292
|
}), !0);
|
|
290
293
|
else
|
|
291
294
|
throw Error("token is required");
|
|
@@ -294,11 +297,11 @@ class Ei {
|
|
|
294
297
|
}
|
|
295
298
|
render() {
|
|
296
299
|
return I(this, null, function* () {
|
|
297
|
-
var r,
|
|
300
|
+
var r, f, c, C, b, v, a, g, i;
|
|
298
301
|
let e = this.wrapper.getBoundingClientRect().height;
|
|
299
|
-
if (this.wrapper.style.height = `${e}px`,
|
|
302
|
+
if (this.wrapper.style.height = `${e}px`, !((r = this.botClient) != null && r.application))
|
|
300
303
|
throw Error("application is required");
|
|
301
|
-
this.botClient.application.type ===
|
|
304
|
+
this.botClient.application.type === q.Text ? x.render(/* @__PURE__ */ U(vi, {
|
|
302
305
|
rId: this.rId,
|
|
303
306
|
application: this.botClient.application,
|
|
304
307
|
sessionId: this._defatulSessionId,
|
|
@@ -306,7 +309,7 @@ class Ei {
|
|
|
306
309
|
apiUrl: this.apiUrl,
|
|
307
310
|
env: this.uiConfig.env,
|
|
308
311
|
debug: this.uiConfig.debug,
|
|
309
|
-
mode:
|
|
312
|
+
mode: this.mode,
|
|
310
313
|
token: this.token,
|
|
311
314
|
className: this.mode,
|
|
312
315
|
open: this.uiConfig.open,
|
|
@@ -324,7 +327,7 @@ class Ei {
|
|
|
324
327
|
plugins: this.uiConfig.plugins,
|
|
325
328
|
mcp: this.uiConfig.mcp,
|
|
326
329
|
transform: w(n({}, this.uiConfig.transform), {
|
|
327
|
-
knowledges: ((
|
|
330
|
+
knowledges: ((f = this.uiConfig.features) == null ? void 0 : f.knowledges) === !0 || typeof ((c = this.uiConfig.features) == null ? void 0 : c.knowledges) == "object" && ((b = (C = this.uiConfig.features) == null ? void 0 : C.knowledges) == null ? void 0 : b.visible) !== !1
|
|
328
331
|
}),
|
|
329
332
|
features: this.uiConfig.features,
|
|
330
333
|
disabled: this._inputDisabled,
|
|
@@ -334,8 +337,8 @@ class Ei {
|
|
|
334
337
|
var t, s;
|
|
335
338
|
try {
|
|
336
339
|
(s = (t = this.uiConfig.eventListeners) == null ? void 0 : t.comment) == null || s.call(t, o);
|
|
337
|
-
} catch (
|
|
338
|
-
console.error(
|
|
340
|
+
} catch (h) {
|
|
341
|
+
console.error(h);
|
|
339
342
|
}
|
|
340
343
|
},
|
|
341
344
|
agentClient: this.botClient,
|
|
@@ -344,18 +347,18 @@ class Ei {
|
|
|
344
347
|
if (o.message.messageId)
|
|
345
348
|
try {
|
|
346
349
|
(s = (t = this.uiConfig.eventListeners) == null ? void 0 : t.message) == null || s.call(t, o);
|
|
347
|
-
} catch (
|
|
348
|
-
console.error(
|
|
350
|
+
} catch (h) {
|
|
351
|
+
console.error(h);
|
|
349
352
|
}
|
|
350
353
|
},
|
|
351
354
|
beforeMessageSend: (o) => {
|
|
352
|
-
var t, s,
|
|
355
|
+
var t, s, h;
|
|
353
356
|
if (!((t = this.uiConfig.eventListeners) != null && t.beforemessagesend))
|
|
354
357
|
return !0;
|
|
355
358
|
try {
|
|
356
|
-
return ((
|
|
357
|
-
} catch (
|
|
358
|
-
return console.error(
|
|
359
|
+
return ((h = (s = this.uiConfig.eventListeners) == null ? void 0 : s.beforemessagesend) == null ? void 0 : h.call(s, o)) || !1;
|
|
360
|
+
} catch (u) {
|
|
361
|
+
return console.error(u), !1;
|
|
359
362
|
}
|
|
360
363
|
},
|
|
361
364
|
onSessionUnload: (o) => {
|
|
@@ -363,30 +366,30 @@ class Ei {
|
|
|
363
366
|
this._activeSession = null;
|
|
364
367
|
try {
|
|
365
368
|
(s = (t = this.uiConfig.eventListeners) == null ? void 0 : t.sessionunload) == null || s.call(t, o);
|
|
366
|
-
} catch (
|
|
367
|
-
console.error(
|
|
369
|
+
} catch (h) {
|
|
370
|
+
console.error(h);
|
|
368
371
|
}
|
|
369
372
|
},
|
|
370
373
|
onSessionLoad: (o) => {
|
|
371
|
-
var t, s,
|
|
374
|
+
var t, s, h;
|
|
372
375
|
if (((t = this._activeSession) == null ? void 0 : t.id) === o.sessionId)
|
|
373
376
|
this._activeSession = o.session;
|
|
374
377
|
else {
|
|
375
378
|
this._activeSession = o.session;
|
|
376
379
|
try {
|
|
377
|
-
(
|
|
378
|
-
} catch (
|
|
379
|
-
console.error(
|
|
380
|
+
(h = (s = this.uiConfig.eventListeners) == null ? void 0 : s.sessionload) == null || h.call(s, o);
|
|
381
|
+
} catch (u) {
|
|
382
|
+
console.error(u);
|
|
380
383
|
}
|
|
381
384
|
}
|
|
382
385
|
},
|
|
383
386
|
onHistoryLoad: (o) => {
|
|
384
|
-
var t, s,
|
|
387
|
+
var t, s, h;
|
|
385
388
|
if (((t = this._activeSession) == null ? void 0 : t.id) === o.sessionId)
|
|
386
389
|
try {
|
|
387
|
-
(
|
|
388
|
-
} catch (
|
|
389
|
-
console.error(
|
|
390
|
+
(h = (s = this.uiConfig.eventListeners) == null ? void 0 : s.historyload) == null || h.call(s, o);
|
|
391
|
+
} catch (u) {
|
|
392
|
+
console.error(u);
|
|
390
393
|
}
|
|
391
394
|
},
|
|
392
395
|
defaultInput: this._defaultInputText !== void 0 ? {
|
|
@@ -394,7 +397,7 @@ class Ei {
|
|
|
394
397
|
} : void 0,
|
|
395
398
|
bodyStyle: this.uiConfig.bodyStyle,
|
|
396
399
|
stream: this.stream
|
|
397
|
-
}), this.wrapper) : x.render(/* @__PURE__ */ U(
|
|
400
|
+
}), this.wrapper) : x.render(/* @__PURE__ */ U(hi, {
|
|
398
401
|
rId: this.rId,
|
|
399
402
|
application: this.botClient.application,
|
|
400
403
|
agentClient: this.botClient,
|
|
@@ -421,7 +424,7 @@ class Ei {
|
|
|
421
424
|
plugins: this.uiConfig.plugins,
|
|
422
425
|
mcp: this.uiConfig.mcp,
|
|
423
426
|
transform: w(n({}, this.uiConfig.transform), {
|
|
424
|
-
knowledges: ((v = this.uiConfig.features) == null ? void 0 : v.knowledges) === !0 || typeof ((
|
|
427
|
+
knowledges: ((v = this.uiConfig.features) == null ? void 0 : v.knowledges) === !0 || typeof ((a = this.uiConfig.features) == null ? void 0 : a.knowledges) == "object" && ((i = (g = this.uiConfig.features) == null ? void 0 : g.knowledges) == null ? void 0 : i.visible) !== !1
|
|
425
428
|
}),
|
|
426
429
|
features: this.uiConfig.features,
|
|
427
430
|
disabled: this._inputDisabled,
|
|
@@ -431,8 +434,8 @@ class Ei {
|
|
|
431
434
|
var t, s;
|
|
432
435
|
try {
|
|
433
436
|
(s = (t = this.uiConfig.eventListeners) == null ? void 0 : t.comment) == null || s.call(t, o);
|
|
434
|
-
} catch (
|
|
435
|
-
console.error(
|
|
437
|
+
} catch (h) {
|
|
438
|
+
console.error(h);
|
|
436
439
|
}
|
|
437
440
|
},
|
|
438
441
|
onMessage: (o) => {
|
|
@@ -440,18 +443,18 @@ class Ei {
|
|
|
440
443
|
if (o.message.messageId)
|
|
441
444
|
try {
|
|
442
445
|
(s = (t = this.uiConfig.eventListeners) == null ? void 0 : t.message) == null || s.call(t, o);
|
|
443
|
-
} catch (
|
|
444
|
-
console.error(
|
|
446
|
+
} catch (h) {
|
|
447
|
+
console.error(h);
|
|
445
448
|
}
|
|
446
449
|
},
|
|
447
450
|
beforeMessageSend: (o) => {
|
|
448
|
-
var t, s,
|
|
451
|
+
var t, s, h;
|
|
449
452
|
if (!((t = this.uiConfig.eventListeners) != null && t.beforemessagesend))
|
|
450
453
|
return !0;
|
|
451
454
|
try {
|
|
452
|
-
return ((
|
|
453
|
-
} catch (
|
|
454
|
-
return console.error(
|
|
455
|
+
return ((h = (s = this.uiConfig.eventListeners) == null ? void 0 : s.beforemessagesend) == null ? void 0 : h.call(s, o)) || !1;
|
|
456
|
+
} catch (u) {
|
|
457
|
+
return console.error(u), !1;
|
|
455
458
|
}
|
|
456
459
|
},
|
|
457
460
|
onSessionUnload: (o) => {
|
|
@@ -459,30 +462,30 @@ class Ei {
|
|
|
459
462
|
this._activeSession = null;
|
|
460
463
|
try {
|
|
461
464
|
(s = (t = this.uiConfig.eventListeners) == null ? void 0 : t.sessionunload) == null || s.call(t, o);
|
|
462
|
-
} catch (
|
|
463
|
-
console.error(
|
|
465
|
+
} catch (h) {
|
|
466
|
+
console.error(h);
|
|
464
467
|
}
|
|
465
468
|
},
|
|
466
469
|
onSessionLoad: (o) => {
|
|
467
|
-
var t, s,
|
|
470
|
+
var t, s, h;
|
|
468
471
|
if (((t = this._activeSession) == null ? void 0 : t.id) === o.sessionId)
|
|
469
472
|
this._activeSession = o.session;
|
|
470
473
|
else {
|
|
471
474
|
this._activeSession = o.session;
|
|
472
475
|
try {
|
|
473
|
-
(
|
|
474
|
-
} catch (
|
|
475
|
-
console.error(
|
|
476
|
+
(h = (s = this.uiConfig.eventListeners) == null ? void 0 : s.sessionload) == null || h.call(s, o);
|
|
477
|
+
} catch (u) {
|
|
478
|
+
console.error(u);
|
|
476
479
|
}
|
|
477
480
|
}
|
|
478
481
|
},
|
|
479
482
|
onHistoryLoad: (o) => {
|
|
480
|
-
var t, s,
|
|
483
|
+
var t, s, h;
|
|
481
484
|
if (((t = this._activeSession) == null ? void 0 : t.id) === o.sessionId)
|
|
482
485
|
try {
|
|
483
|
-
(
|
|
484
|
-
} catch (
|
|
485
|
-
console.error(
|
|
486
|
+
(h = (s = this.uiConfig.eventListeners) == null ? void 0 : s.historyload) == null || h.call(s, o);
|
|
487
|
+
} catch (u) {
|
|
488
|
+
console.error(u);
|
|
486
489
|
}
|
|
487
490
|
},
|
|
488
491
|
defaultInput: this._defaultInputText !== void 0 ? {
|
|
@@ -494,7 +497,7 @@ class Ei {
|
|
|
494
497
|
});
|
|
495
498
|
}
|
|
496
499
|
destroy(e) {
|
|
497
|
-
x.render(/* @__PURE__ */ U(
|
|
500
|
+
x.render(/* @__PURE__ */ U(ri, {}), this.wrapper, e);
|
|
498
501
|
}
|
|
499
502
|
}
|
|
500
503
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "@glodon-aiot/agent-cli-ui", t = "3.3.2-beta.
|
|
1
|
+
const e = "@glodon-aiot/agent-cli-ui", t = "3.3.2-beta.15", s = "./dist/es/index.mjs", i = "./dist/lib/index.js", o = "./dist/src/index.d.ts", n = {
|
|
2
2
|
import: "./dist/es/index.mjs",
|
|
3
3
|
require: "./dist/lib/index.js",
|
|
4
4
|
types: "./dist/src/index.d.ts"
|
|
@@ -22,8 +22,8 @@ const e = "@glodon-aiot/agent-cli-ui", t = "3.3.2-beta.14", s = "./dist/es/index
|
|
|
22
22
|
webpack: "*"
|
|
23
23
|
}, p = {
|
|
24
24
|
"@ant-design/icons": "^5.3.4",
|
|
25
|
-
"@glodon-aiot/apis": "^3.3.2-beta.
|
|
26
|
-
"@glodon-aiot/bot-client-sdk": "^3.3.2-beta.
|
|
25
|
+
"@glodon-aiot/apis": "^3.3.2-beta.15",
|
|
26
|
+
"@glodon-aiot/bot-client-sdk": "^3.3.2-beta.15",
|
|
27
27
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
28
28
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
29
29
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
try {
|
|
3
3
|
if (typeof document != "undefined") {
|
|
4
4
|
var e = document.createElement("style");
|
|
5
|
-
e.appendChild(document.createTextNode('.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}')), document.head.appendChild(e);
|
|
5
|
+
e.appendChild(document.createTextNode('.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}')), document.head.appendChild(e);
|
|
6
6
|
}
|
|
7
7
|
} catch (o) {
|
|
8
8
|
console.error("vite-plugin-css-injected-by-js", o);
|
package/dist/es/src/style15.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.prompt-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.prompt-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
|
package/dist/es/src/style16.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.footer-upload{display:flex;justify-content:center;align-items:center}.footer-upload .upload-enter{padding:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}.footer-upload .upload-enter.disabled{color:#b8babf;cursor:not-allowed}.footer-upload .upload-enter:hover{background:#ebebeb;border-radius:4px}.file-upload{width:100%;display:flex;flex-direction:column}.file-upload .ant-upload-drag{background-color:#fff;border:unset}.file-upload .ant-upload-drag .ant-upload-btn{padding:0}.file-upload .file-upload-icon{font-size:35px;color:#d3d3d3}.file-upload .file-upload-action{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.file-upload .file-upload-desc{text-align:left;display:flex;flex-direction:column;font-weight:400;font-size:12px;margin:0 auto;color:#84868c;width:232px;line-height:18px;padding-left:20px}.file-upload .file-upload-desc .item-upload-desc{line-height:150%}.file-upload .file-upload-desc .item-upload-desc__1{display:flex;align-items:center}.file-upload .upload-wrapper{height:300px;overflow-y:auto;overflow-x:hidden}.file-upload .upload-wrapper .upload-main{flex:1;width:100%;overflow-y:auto;margin-bottom:16px}.file-upload .upload-wrapper .upload-main .upload-pannel{width:100%}.file-upload .upload-wrapper .upload-main .upload-empty{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-upload .upload-wrapper .upload-main .upload-item{cursor:pointer}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-file-icon{display:inline-block;width:10px}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-name{margin-left:10px;display:inline-block;max-width:230px;word-break:break-all}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-upload-delete{display:inline-block;width:10px;color:#9c24f2;display:none}.file-upload .upload-wrapper .upload-main .upload-item:hover{background:rgba(0,0,0,.04)}.file-upload .upload-wrapper .upload-main .upload-item:hover .upload-item-upload-delete{display:inline-block}.card-title{display:flex;justify-content:space-between;align-items:center;color:#393939;font-size:14px}.card-title .name{font-weight:500}.card-title .actions{font-weight:400;display:flex;gap:12px}.card-title .actions .action{padding:4px 2px;cursor:pointer}.card-title .actions .action .detail{display:flex;gap:6px;align-items:center}.split-line{width:100%;height:1px;border:.5px solid #e8e9eb}.upload-popover{z-index:1}
|