ai_co_discuss 0.2.4 → 0.2.5
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/docs/architecture.md +1 -1
- package/package.json +1 -1
- package/web/modern.css +1 -1
- package/web/modern.js +391 -377
package/web/modern.js
CHANGED
|
@@ -44092,15 +44092,16 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44092
44092
|
])]))), 128))]);
|
|
44093
44093
|
};
|
|
44094
44094
|
}
|
|
44095
|
-
}, [["__scopeId", "data-v-859a6440"]]), XG =
|
|
44095
|
+
}, [["__scopeId", "data-v-859a6440"]]), XG = { class: "effort-field" }, ZG = {
|
|
44096
|
+
key: 0,
|
|
44097
|
+
class: "effort-caption",
|
|
44098
|
+
"aria-hidden": "true"
|
|
44099
|
+
}, QG = [
|
|
44096
44100
|
"aria-label",
|
|
44097
44101
|
"aria-valuemax",
|
|
44098
44102
|
"aria-valuenow",
|
|
44099
44103
|
"aria-valuetext"
|
|
44100
|
-
],
|
|
44101
|
-
class: "effort-slider-track",
|
|
44102
|
-
"aria-hidden": "true"
|
|
44103
|
-
}, QG = ["title"], $G = 4.5, eK = 6, tK = 8, nK = 1 / 240, rK = .001, iK = .01, aK = .05, oK = 10, sK = 4, cK = /*#__PURE__*/ nH({
|
|
44104
|
+
], $G = ["title"], eK = 4.5, tK = 6, nK = 8, rK = 1 / 240, iK = .001, aK = .01, oK = .05, sK = 10, cK = 4, lK = /*#__PURE__*/ nH({
|
|
44104
44105
|
__name: "EffortSlider",
|
|
44105
44106
|
props: {
|
|
44106
44107
|
items: {
|
|
@@ -44114,6 +44115,10 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44114
44115
|
label: {
|
|
44115
44116
|
type: String,
|
|
44116
44117
|
required: !0
|
|
44118
|
+
},
|
|
44119
|
+
caption: {
|
|
44120
|
+
type: String,
|
|
44121
|
+
default: ""
|
|
44117
44122
|
}
|
|
44118
44123
|
},
|
|
44119
44124
|
emits: ["update:modelValue"],
|
|
@@ -44124,46 +44129,46 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44124
44129
|
target: s.value,
|
|
44125
44130
|
hand: null,
|
|
44126
44131
|
pointer: null
|
|
44127
|
-
}), l = Z(() =>
|
|
44128
|
-
function
|
|
44129
|
-
let t = c.hand ?? c.target, n = c.hand === null ?
|
|
44132
|
+
}), l = Z(() => Math.min(o.value, Math.max(0, c.x)) / o.value), u = Z(() => Math.round(Math.min(o.value, Math.max(0, c.x)))), d = 0, f = 0, p = 0, m = 0, h = !1, g = (e) => Math.min(o.value, Math.max(0, e)), _ = (e, t, n) => -((2 * Math.PI * n) ** 2) * e - 4 * Math.PI * n * t;
|
|
44133
|
+
function v(e) {
|
|
44134
|
+
let t = c.hand ?? c.target, n = c.hand === null ? eK : tK, r = (e, r) => _(e - t, r, n) + (e < 0 || e > o.value ? _(e - g(e), r, nK) : 0), i = c.x, a = c.v, s = r(i, a), l = a + s * e / 2, u = r(i + a * e / 2, l), d = a + u * e / 2, f = r(i + l * e / 2, d), p = a + f * e, m = r(i + d * e, p);
|
|
44130
44135
|
c.x += e * (a + 2 * l + 2 * d + p) / 6, c.v += e * (s + 2 * u + 2 * f + m) / 6;
|
|
44131
44136
|
}
|
|
44132
|
-
function
|
|
44133
|
-
|
|
44134
|
-
let t = Math.min(
|
|
44135
|
-
for (
|
|
44136
|
-
let e = Math.min(
|
|
44137
|
-
|
|
44137
|
+
function y(e) {
|
|
44138
|
+
d = 0;
|
|
44139
|
+
let t = Math.min(oK, (e - f) / 1e3);
|
|
44140
|
+
for (f = e; t > 0;) {
|
|
44141
|
+
let e = Math.min(rK, t);
|
|
44142
|
+
v(e), t -= e;
|
|
44138
44143
|
}
|
|
44139
44144
|
let n = c.hand ?? c.target;
|
|
44140
|
-
Math.abs(c.x - n) <
|
|
44141
|
-
}
|
|
44142
|
-
function y() {
|
|
44143
|
-
i.value ? (cancelAnimationFrame(u), u = 0, c.x = c.hand ?? c.target, c.v = 0) : u ||= (d = performance.now(), requestAnimationFrame(v));
|
|
44145
|
+
Math.abs(c.x - n) < iK && Math.abs(c.v) < aK ? (c.x = n, c.v = 0) : d = requestAnimationFrame(y);
|
|
44144
44146
|
}
|
|
44145
|
-
function b(
|
|
44146
|
-
|
|
44147
|
+
function b() {
|
|
44148
|
+
i.value ? (cancelAnimationFrame(d), d = 0, c.x = c.hand ?? c.target, c.v = 0) : d ||= (f = performance.now(), requestAnimationFrame(y));
|
|
44147
44149
|
}
|
|
44148
44150
|
function x(e) {
|
|
44149
|
-
|
|
44150
|
-
return h((e.clientX - t.left - oK) / Math.max(1, t.width - 20) * o.value);
|
|
44151
|
+
c.target = g(Math.round(e)), r("update:modelValue", n.items[c.target].value), b();
|
|
44151
44152
|
}
|
|
44152
44153
|
function S(e) {
|
|
44153
|
-
|
|
44154
|
+
let t = a.value.getBoundingClientRect();
|
|
44155
|
+
return g((e.clientX - t.left - sK) / Math.max(1, t.width - 20) * o.value);
|
|
44154
44156
|
}
|
|
44155
44157
|
function C(e) {
|
|
44156
|
-
c.pointer ===
|
|
44158
|
+
e.isPrimary && e.button === 0 && c.pointer === null && (e.preventDefault(), a.value.focus(), a.value.setPointerCapture(e.pointerId), c.pointer = e.pointerId, p = e.clientX, h = !1, m = e.target.closest(".effort-slider-thumb") ? c.x - S(e) : 0, c.hand = g(S(e) + m), b());
|
|
44157
44159
|
}
|
|
44158
44160
|
function w(e) {
|
|
44159
|
-
|
|
44160
|
-
let t = m ? c.x + c.v / (4 * Math.PI * $G) : c.hand;
|
|
44161
|
-
c.hand = null, c.pointer = null, b(t);
|
|
44161
|
+
c.pointer === e.pointerId && (h ||= Math.abs(e.clientX - p) > cK, c.hand = g(S(e) + m), b());
|
|
44162
44162
|
}
|
|
44163
44163
|
function T(e) {
|
|
44164
|
-
c.pointer
|
|
44164
|
+
if (c.pointer !== e.pointerId) return;
|
|
44165
|
+
let t = h ? c.x + c.v / (4 * Math.PI * eK) : c.hand;
|
|
44166
|
+
c.hand = null, c.pointer = null, x(t);
|
|
44165
44167
|
}
|
|
44166
44168
|
function E(e) {
|
|
44169
|
+
c.pointer === e.pointerId && (c.hand = null, c.pointer = null, c.target = s.value, b());
|
|
44170
|
+
}
|
|
44171
|
+
function D(e) {
|
|
44167
44172
|
let t = {
|
|
44168
44173
|
ArrowRight: s.value + 1,
|
|
44169
44174
|
ArrowUp: s.value + 1,
|
|
@@ -44172,18 +44177,25 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44172
44177
|
Home: 0,
|
|
44173
44178
|
End: o.value
|
|
44174
44179
|
};
|
|
44175
|
-
e.key in t && (e.preventDefault(),
|
|
44180
|
+
e.key in t && (e.preventDefault(), x(t[e.key]));
|
|
44176
44181
|
}
|
|
44177
44182
|
return R([
|
|
44178
44183
|
s,
|
|
44179
44184
|
o,
|
|
44180
44185
|
i
|
|
44181
44186
|
], () => {
|
|
44182
|
-
c.target = s.value,
|
|
44183
|
-
}), ta(() => cancelAnimationFrame(
|
|
44187
|
+
c.target = s.value, b();
|
|
44188
|
+
}), ta(() => cancelAnimationFrame(d)), (t, n) => (U(), W("div", XG, [e.caption ? (U(), W("div", ZG, [K("span", null, P(e.caption), 1), q(Cc, {
|
|
44189
|
+
name: I(i) ? "" : "effort-value",
|
|
44190
|
+
mode: "out-in"
|
|
44191
|
+
}, {
|
|
44192
|
+
default: L(() => [(U(), W("strong", { key: u.value }, P(e.items[u.value].label), 1))]),
|
|
44193
|
+
_: 1
|
|
44194
|
+
}, 8, ["name"])])) : Y("", !0), K("div", {
|
|
44184
44195
|
ref_key: "track",
|
|
44185
44196
|
ref: a,
|
|
44186
|
-
class: "effort-slider",
|
|
44197
|
+
class: M(["effort-slider", { "is-dragging": c.pointer !== null }]),
|
|
44198
|
+
style: fe({ "--progress": l.value }),
|
|
44187
44199
|
role: "slider",
|
|
44188
44200
|
tabindex: "0",
|
|
44189
44201
|
"aria-label": e.label,
|
|
@@ -44191,60 +44203,61 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44191
44203
|
"aria-valuemax": o.value,
|
|
44192
44204
|
"aria-valuenow": s.value,
|
|
44193
44205
|
"aria-valuetext": e.items[s.value].label,
|
|
44194
|
-
onKeydown:
|
|
44195
|
-
onPointerdown:
|
|
44196
|
-
onPointermove:
|
|
44197
|
-
onPointerup:
|
|
44198
|
-
onPointercancel:
|
|
44199
|
-
onLostpointercapture:
|
|
44200
|
-
}, [
|
|
44201
|
-
K("span", {
|
|
44202
|
-
class: "effort-slider-
|
|
44203
|
-
|
|
44204
|
-
},
|
|
44206
|
+
onKeydown: D,
|
|
44207
|
+
onPointerdown: C,
|
|
44208
|
+
onPointermove: w,
|
|
44209
|
+
onPointerup: T,
|
|
44210
|
+
onPointercancel: E,
|
|
44211
|
+
onLostpointercapture: E
|
|
44212
|
+
}, [
|
|
44213
|
+
n[0] ||= K("span", {
|
|
44214
|
+
class: "effort-slider-track",
|
|
44215
|
+
"aria-hidden": "true"
|
|
44216
|
+
}, [K("span", { class: "effort-slider-fill" })], -1),
|
|
44205
44217
|
(U(!0), W(H, null, B(e.items, (e, t) => (U(), W("span", {
|
|
44206
44218
|
key: e.value,
|
|
44207
44219
|
class: M(["effort-slider-stop", {
|
|
44208
|
-
"is-active": t
|
|
44209
|
-
"is-
|
|
44220
|
+
"is-active": t < u.value,
|
|
44221
|
+
"is-current": t === u.value
|
|
44210
44222
|
}]),
|
|
44211
|
-
|
|
44223
|
+
"aria-hidden": "true",
|
|
44224
|
+
style: fe({ "--at": t / o.value }),
|
|
44212
44225
|
title: e.label
|
|
44213
|
-
}, null, 14,
|
|
44214
|
-
K("span", {
|
|
44226
|
+
}, null, 14, $G))), 128)),
|
|
44227
|
+
n[1] ||= K("span", {
|
|
44215
44228
|
class: "effort-slider-thumb",
|
|
44216
|
-
|
|
44217
|
-
}, null,
|
|
44218
|
-
]
|
|
44229
|
+
"aria-hidden": "true"
|
|
44230
|
+
}, null, -1)
|
|
44231
|
+
], 46, QG)]));
|
|
44219
44232
|
}
|
|
44220
|
-
}, [["__scopeId", "data-v-
|
|
44233
|
+
}, [["__scopeId", "data-v-e358d780"]]), uK = ["data-identity", "data-face"], dK = ["inert", "aria-hidden"], fK = { class: "expert-card-identity" }, pK = {
|
|
44221
44234
|
key: 0,
|
|
44222
44235
|
class: "expert-card-badge"
|
|
44223
|
-
},
|
|
44236
|
+
}, mK = { class: "expert-card-facts" }, hK = ["title"], gK = ["title"], _K = {
|
|
44224
44237
|
key: 0,
|
|
44225
44238
|
class: "expert-card-flip"
|
|
44226
|
-
},
|
|
44239
|
+
}, vK = { class: "expert-card-tools" }, yK = [
|
|
44227
44240
|
"aria-pressed",
|
|
44228
44241
|
"aria-label",
|
|
44229
44242
|
"title"
|
|
44230
|
-
],
|
|
44243
|
+
], bK = ["aria-label"], xK = ["inert", "aria-hidden"], SK = { class: "expert-card-heading" }, CK = ["aria-label"], wK = [
|
|
44231
44244
|
"aria-checked",
|
|
44232
44245
|
"tabindex",
|
|
44233
44246
|
"data-mode",
|
|
44234
44247
|
"onClick"
|
|
44235
|
-
],
|
|
44248
|
+
], TK = {
|
|
44236
44249
|
key: 1,
|
|
44237
44250
|
class: "expert-card-field"
|
|
44238
|
-
},
|
|
44251
|
+
}, EK = { class: "expert-card-field" }, DK = { class: "expert-card-catalog" }, OK = {
|
|
44239
44252
|
key: 0,
|
|
44240
44253
|
class: "expert-card-effort"
|
|
44241
|
-
},
|
|
44254
|
+
}, kK = {
|
|
44242
44255
|
key: 1,
|
|
44243
44256
|
class: "expert-card-note"
|
|
44244
|
-
},
|
|
44257
|
+
}, AK = ["aria-label", "disabled"], jK = {
|
|
44245
44258
|
key: 3,
|
|
44246
44259
|
class: "expert-card-note"
|
|
44247
|
-
},
|
|
44260
|
+
}, MK = ["aria-label"], NK = 180, PK = /*#__PURE__*/ nH({
|
|
44248
44261
|
__name: "ExpertCard",
|
|
44249
44262
|
props: {
|
|
44250
44263
|
name: {
|
|
@@ -44309,7 +44322,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44309
44322
|
});
|
|
44310
44323
|
}
|
|
44311
44324
|
function T(e) {
|
|
44312
|
-
let t = e >=
|
|
44325
|
+
let t = e >= NK / 2;
|
|
44313
44326
|
f.value !== t && (f.value = t, w());
|
|
44314
44327
|
}
|
|
44315
44328
|
let E = o.on("change", T), D = o.on("animationComplete", w);
|
|
@@ -44336,7 +44349,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44336
44349
|
d.value && (e.stopPropagation(), e.preventDefault(), O(!1));
|
|
44337
44350
|
}
|
|
44338
44351
|
return R([d, s], ([e, t]) => {
|
|
44339
|
-
let n = e ?
|
|
44352
|
+
let n = e ? NK : 0;
|
|
44340
44353
|
t ? (o.jump(n), w()) : o.set(n);
|
|
44341
44354
|
}), R(() => [
|
|
44342
44355
|
y.value,
|
|
@@ -44377,7 +44390,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44377
44390
|
onClick: n[0] ||= (e) => O(!0)
|
|
44378
44391
|
}, {
|
|
44379
44392
|
default: L(() => [
|
|
44380
|
-
K("span",
|
|
44393
|
+
K("span", fK, [
|
|
44381
44394
|
q(s, {
|
|
44382
44395
|
src: I(a).identities[e.name]?.icon,
|
|
44383
44396
|
text: I(a).identities[e.name]?.initials,
|
|
@@ -44391,13 +44404,13 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44391
44404
|
"class"
|
|
44392
44405
|
]),
|
|
44393
44406
|
K("strong", null, P(e.name), 1),
|
|
44394
|
-
e.host ? (U(), W("span",
|
|
44407
|
+
e.host ? (U(), W("span", pK, "主持")) : Y("", !0)
|
|
44395
44408
|
]),
|
|
44396
|
-
K("dl",
|
|
44409
|
+
K("dl", mK, [K("div", null, [n[9] ||= K("dt", null, "状态", -1), K("dd", {
|
|
44397
44410
|
class: M(["expert-card-status", `is-${e.status.tone}`]),
|
|
44398
44411
|
title: e.status.text
|
|
44399
|
-
}, [n[8] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(e.status.text), 1)], 10,
|
|
44400
|
-
g.value ? (U(), W("span",
|
|
44412
|
+
}, [n[8] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(e.status.text), 1)], 10, hK)]), (U(!0), W(H, null, B(C.value, (e) => (U(), W("div", { key: e.label }, [K("dt", null, P(e.label), 1), K("dd", { title: e.value }, P(e.value), 9, gK)]))), 128))]),
|
|
44413
|
+
g.value ? (U(), W("span", _K, [q(d, { name: "i-lucide-settings-2" }), n[10] ||= J("设置", -1)])) : Y("", !0)
|
|
44401
44414
|
]),
|
|
44402
44415
|
_: 1
|
|
44403
44416
|
}, 8, [
|
|
@@ -44405,7 +44418,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44405
44418
|
"class",
|
|
44406
44419
|
"aria-label",
|
|
44407
44420
|
"title"
|
|
44408
|
-
])), K("span",
|
|
44421
|
+
])), K("span", vK, [e.hostable ? (U(), W("button", {
|
|
44409
44422
|
key: 0,
|
|
44410
44423
|
type: "button",
|
|
44411
44424
|
class: "expert-card-host",
|
|
@@ -44413,18 +44426,18 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44413
44426
|
"aria-label": e.host ? `${e.name} 是主持人` : `设 ${e.name} 为主持人`,
|
|
44414
44427
|
title: e.host ? "主持人" : "设为主持人",
|
|
44415
44428
|
onClick: n[1] ||= (e) => r("host")
|
|
44416
|
-
}, [q(d, { name: "i-lucide-crown" })], 8,
|
|
44429
|
+
}, [q(d, { name: "i-lucide-crown" })], 8, yK)) : Y("", !0), K("button", {
|
|
44417
44430
|
type: "button",
|
|
44418
44431
|
"aria-label": `移出 ${e.name}`,
|
|
44419
44432
|
title: "移出",
|
|
44420
44433
|
onClick: n[2] ||= (e) => r("remove")
|
|
44421
|
-
}, [q(d, { name: "i-lucide-x" })], 8,
|
|
44434
|
+
}, [q(d, { name: "i-lucide-x" })], 8, bK)])], 8, dK), g.value ? (U(), W("div", {
|
|
44422
44435
|
key: 0,
|
|
44423
44436
|
class: "expert-card-face expert-card-back",
|
|
44424
44437
|
inert: !f.value,
|
|
44425
44438
|
"aria-hidden": !f.value
|
|
44426
44439
|
}, [
|
|
44427
|
-
K("div",
|
|
44440
|
+
K("div", SK, [K("strong", null, [J(P(e.name), 1), n[11] ||= K("span", null, "设置", -1)])]),
|
|
44428
44441
|
e.automatic ? Y("", !0) : (U(), W("div", {
|
|
44429
44442
|
key: 0,
|
|
44430
44443
|
class: "expert-card-modes",
|
|
@@ -44445,8 +44458,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44445
44458
|
tabindex: e.mode === t.value ? 0 : -1,
|
|
44446
44459
|
"data-mode": t.value,
|
|
44447
44460
|
onClick: (e) => r("mode", t.value)
|
|
44448
|
-
}, P(t.label), 9,
|
|
44449
|
-
e.automatic && e.mode === "cli" && m.value.length ? (U(), W("div",
|
|
44461
|
+
}, P(t.label), 9, wK)), 64))], 40, CK)),
|
|
44462
|
+
e.automatic && e.mode === "cli" && m.value.length ? (U(), W("div", TK, [n[12] ||= K("span", null, "软件", -1), q(h, {
|
|
44450
44463
|
"model-value": p.value.adapter || "",
|
|
44451
44464
|
items: m.value,
|
|
44452
44465
|
placeholder: "选择 App / CLI",
|
|
@@ -44460,7 +44473,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44460
44473
|
"aria-label"
|
|
44461
44474
|
])])) : Y("", !0),
|
|
44462
44475
|
y.value ? (U(), W(H, { key: 2 }, [
|
|
44463
|
-
K("div",
|
|
44476
|
+
K("div", EK, [n[13] ||= K("span", null, "模型", -1), q(h, {
|
|
44464
44477
|
"model-value": p.value.model || "__default__",
|
|
44465
44478
|
items: v.value.items,
|
|
44466
44479
|
loading: v.value.loading,
|
|
@@ -44474,12 +44487,13 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44474
44487
|
"loading",
|
|
44475
44488
|
"aria-label"
|
|
44476
44489
|
])]),
|
|
44477
|
-
K("div",
|
|
44490
|
+
K("div", DK, [K("span", null, P(v.value.loading ? "正在读取软件模型列表…" : v.value.error || v.value.source), 1), !v.value.loading && v.value.error && I(i).launch.available ? (U(), W("button", {
|
|
44478
44491
|
key: 0,
|
|
44479
44492
|
type: "button",
|
|
44480
44493
|
onClick: n[5] ||= (t) => I(a).load_launch_models(e.name, !0)
|
|
44481
44494
|
}, "重试")) : Y("", !0)]),
|
|
44482
|
-
x.value ? (U(), W("div",
|
|
44495
|
+
x.value ? (U(), W("div", OK, [q(lK, {
|
|
44496
|
+
caption: "强度",
|
|
44483
44497
|
items: x.value,
|
|
44484
44498
|
"model-value": p.value.effort || "",
|
|
44485
44499
|
label: `${e.name} 的思考强度`,
|
|
@@ -44488,7 +44502,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44488
44502
|
"items",
|
|
44489
44503
|
"model-value",
|
|
44490
44504
|
"label"
|
|
44491
|
-
])])) : (U(), W("p",
|
|
44505
|
+
])])) : (U(), W("p", kK, P(v.value.effort_note), 1)),
|
|
44492
44506
|
K("button", {
|
|
44493
44507
|
type: "button",
|
|
44494
44508
|
class: "expert-card-defaults",
|
|
@@ -44496,8 +44510,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44496
44510
|
"aria-label": `恢复 ${e.name} 的默认模型与强度`,
|
|
44497
44511
|
disabled: !p.value.model && !p.value.effort,
|
|
44498
44512
|
onClick: ee
|
|
44499
|
-
}, "恢复默认", 8,
|
|
44500
|
-
], 64)) : (U(), W("p",
|
|
44513
|
+
}, "恢复默认", 8, AK)
|
|
44514
|
+
], 64)) : (U(), W("p", jK, [q(d, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(b.value), 1)])),
|
|
44501
44515
|
K("button", {
|
|
44502
44516
|
ref_key: "back_button",
|
|
44503
44517
|
ref: u,
|
|
@@ -44505,62 +44519,62 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44505
44519
|
class: "expert-card-flip is-done",
|
|
44506
44520
|
"aria-label": `返回 ${e.name} 角色卡片`,
|
|
44507
44521
|
onClick: n[7] ||= (e) => O(!1)
|
|
44508
|
-
}, [q(d, { name: "i-lucide-check" }), n[
|
|
44509
|
-
], 8,
|
|
44522
|
+
}, [q(d, { name: "i-lucide-check" }), n[14] ||= J("完成", -1)], 8, MK)
|
|
44523
|
+
], 8, xK)) : Y("", !0)]),
|
|
44510
44524
|
_: 1
|
|
44511
|
-
}, 8, ["style"])], 42,
|
|
44525
|
+
}, 8, ["style"])], 42, uK);
|
|
44512
44526
|
};
|
|
44513
44527
|
}
|
|
44514
|
-
}, [["__scopeId", "data-v-
|
|
44528
|
+
}, [["__scopeId", "data-v-26a355bd"]]), FK = { class: "create-discussion" }, IK = {
|
|
44515
44529
|
key: 0,
|
|
44516
44530
|
class: "channel-create-location"
|
|
44517
|
-
},
|
|
44531
|
+
}, LK = { class: "create-section" }, RK = [
|
|
44518
44532
|
"aria-checked",
|
|
44519
44533
|
"tabindex",
|
|
44520
44534
|
"onClick"
|
|
44521
|
-
],
|
|
44535
|
+
], zK = { class: "create-mode-copy" }, BK = { class: "create-section" }, VK = { class: "create-section-heading" }, HK = [
|
|
44522
44536
|
"title",
|
|
44523
44537
|
"aria-checked",
|
|
44524
44538
|
"tabindex",
|
|
44525
44539
|
"onClick"
|
|
44526
|
-
],
|
|
44540
|
+
], UK = { class: "fine-print create-hint" }, WK = {
|
|
44527
44541
|
key: 0,
|
|
44528
44542
|
class: "create-experts",
|
|
44529
44543
|
role: "group",
|
|
44530
44544
|
"aria-label": "参与的 AI"
|
|
44531
|
-
},
|
|
44545
|
+
}, GK = {
|
|
44532
44546
|
key: 1,
|
|
44533
44547
|
class: "create-experts-empty"
|
|
44534
|
-
},
|
|
44548
|
+
}, KK = [
|
|
44535
44549
|
"disabled",
|
|
44536
44550
|
"title",
|
|
44537
44551
|
"aria-label",
|
|
44538
44552
|
"onClick"
|
|
44539
|
-
],
|
|
44553
|
+
], qK = { class: "fine-print create-hint create-host-hint" }, JK = ["aria-pressed"], YK = {
|
|
44540
44554
|
key: 1,
|
|
44541
44555
|
class: "create-section"
|
|
44542
|
-
},
|
|
44556
|
+
}, XK = {
|
|
44543
44557
|
key: 0,
|
|
44544
44558
|
class: "form-two-columns"
|
|
44545
|
-
},
|
|
44559
|
+
}, ZK = { class: "create-host" }, QK = {
|
|
44546
44560
|
class: "create-chips",
|
|
44547
44561
|
role: "radiogroup",
|
|
44548
44562
|
"aria-label": "达到上限后"
|
|
44549
|
-
},
|
|
44563
|
+
}, $K = ["aria-checked", "onClick"], eq = {
|
|
44550
44564
|
class: "create-limit-rule",
|
|
44551
44565
|
"aria-live": "polite"
|
|
44552
|
-
},
|
|
44566
|
+
}, tq = {
|
|
44553
44567
|
key: 2,
|
|
44554
44568
|
class: "create-section"
|
|
44555
|
-
},
|
|
44569
|
+
}, nq = {
|
|
44556
44570
|
key: 0,
|
|
44557
44571
|
role: "alert",
|
|
44558
44572
|
class: "fine-print create-hint"
|
|
44559
|
-
},
|
|
44573
|
+
}, rq = { class: "form-two-columns" }, iq = { class: "create-launch-list" }, aq = { class: "create-footer" }, oq = {
|
|
44560
44574
|
key: 0,
|
|
44561
44575
|
role: "alert",
|
|
44562
44576
|
class: "create-error"
|
|
44563
|
-
},
|
|
44577
|
+
}, sq = { class: "create-footer-row" }, cq = ["title"], lq = "new-expert-modes", uq = /*#__PURE__*/ nH({
|
|
44564
44578
|
__name: "CreateDiscussion",
|
|
44565
44579
|
props: { targetFolder: {
|
|
44566
44580
|
type: Object,
|
|
@@ -44594,7 +44608,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44594
44608
|
icon: "i-lucide-copy",
|
|
44595
44609
|
title: "手动接入",
|
|
44596
44610
|
text: "首次复制指令,之后人工或定时触发"
|
|
44597
|
-
}], h = Z(() => r.value.experts[
|
|
44611
|
+
}], h = Z(() => r.value.experts[lq] || {}), g = Z(() => Object.keys(h.value).filter((e) => h.value[e]).sort((e, t) => s.indexOf(i.platform_of(e)) - s.indexOf(i.platform_of(t)) || e.localeCompare(t, "en", { numeric: !0 }))), _ = (e) => g.value.filter((t) => i.platform_of(t) === e).length, v = /* @__PURE__ */ F(null), y = Z(() => l("host")), b = Z(() => [...f.value ? ["用户"] : [], ...g.value.filter((e) => h.value[e] === "cli")]), x = /* @__PURE__ */ F(null), S = Z(() => [.../* @__PURE__ */ new Set([y.value, ...Object.keys(h.value)])].filter((e) => i.launch_clients[e])), C = (e) => {
|
|
44598
44612
|
let t = r.value.launch.profiles[e] || {};
|
|
44599
44613
|
return !!(t.adapter && (t.adapter === "antigravity" ? t.ipc_directory : t.executable));
|
|
44600
44614
|
}, w = Z(() => d.value && r.value.launch.available && (f.value || r.value.launch.create)), T = Z(() => g.value.length > 0 && (!d.value || g.value.every(C) && r.value.launch.available)), E = /* @__PURE__ */ F(!1);
|
|
@@ -44630,7 +44644,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44630
44644
|
i.focus(), i.click();
|
|
44631
44645
|
}
|
|
44632
44646
|
function k(e, t) {
|
|
44633
|
-
i.write_expert(
|
|
44647
|
+
i.write_expert(lq, e, t), D();
|
|
44634
44648
|
}
|
|
44635
44649
|
function ne(e) {
|
|
44636
44650
|
return h.value[e] === "online" ? {
|
|
@@ -44653,7 +44667,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44653
44667
|
function ie(e) {
|
|
44654
44668
|
if (d.value && !i.launch_clients[e]) return;
|
|
44655
44669
|
let t = i.launch_clients[e] ? "cli" : "online";
|
|
44656
|
-
_(e) ? i.add_instance(
|
|
44670
|
+
_(e) ? i.add_instance(lq, e, t) : k(e, t), D();
|
|
44657
44671
|
}
|
|
44658
44672
|
function ae(e) {
|
|
44659
44673
|
k(e, ""), Qn(() => v.value?.querySelector("button:not(:disabled)")?.focus({ preventScroll: !0 }));
|
|
@@ -44684,13 +44698,13 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44684
44698
|
});
|
|
44685
44699
|
return (t, c) => {
|
|
44686
44700
|
let _ = zk, D = xV, ce = MV, le = FV, ue = Gk, de = AG, j = pV, fe = uA, pe = OG;
|
|
44687
|
-
return U(), W("div",
|
|
44701
|
+
return U(), W("div", FK, [K("form", {
|
|
44688
44702
|
id: "create-discussion-form",
|
|
44689
44703
|
class: "create-scroll dialog-form",
|
|
44690
44704
|
onSubmit: uu(A, ["prevent"])
|
|
44691
44705
|
}, [
|
|
44692
|
-
e.targetFolder?.id ? (U(), W("p",
|
|
44693
|
-
K("section",
|
|
44706
|
+
e.targetFolder?.id ? (U(), W("p", IK, [q(_, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
|
|
44707
|
+
K("section", LK, [
|
|
44694
44708
|
c[12] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
|
|
44695
44709
|
K("div", {
|
|
44696
44710
|
class: "create-modes",
|
|
@@ -44705,7 +44719,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44705
44719
|
"aria-checked": (l("kind") || "brainstorm") === e.value,
|
|
44706
44720
|
tabindex: (l("kind") || "brainstorm") === e.value ? 0 : -1,
|
|
44707
44721
|
onClick: (t) => O(e.value)
|
|
44708
|
-
}, [q(_, { name: e.icon }, null, 8, ["name"]), K("span",
|
|
44722
|
+
}, [q(_, { name: e.icon }, null, 8, ["name"]), K("span", zK, [K("strong", null, P(e.title), 1), K("small", null, P(e.text), 1)])], 10, RK)), 64))], 32),
|
|
44709
44723
|
q(ce, {
|
|
44710
44724
|
label: "话题名称",
|
|
44711
44725
|
required: ""
|
|
@@ -44741,8 +44755,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44741
44755
|
_: 1
|
|
44742
44756
|
}, 8, ["description"])
|
|
44743
44757
|
]),
|
|
44744
|
-
K("section",
|
|
44745
|
-
K("div",
|
|
44758
|
+
K("section", BK, [
|
|
44759
|
+
K("div", VK, [c[13] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1), K("div", {
|
|
44746
44760
|
class: "create-segments",
|
|
44747
44761
|
role: "radiogroup",
|
|
44748
44762
|
"aria-label": "接入方式",
|
|
@@ -44755,9 +44769,9 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44755
44769
|
"aria-checked": l("mode") === e.value,
|
|
44756
44770
|
tabindex: l("mode") === e.value ? 0 : -1,
|
|
44757
44771
|
onClick: (t) => ee(e.value)
|
|
44758
|
-
}, [q(_, { name: e.icon }, null, 8, ["name"]), J(P(e.title), 1)], 8,
|
|
44759
|
-
K("p",
|
|
44760
|
-
g.value.length ? (U(), W("div",
|
|
44772
|
+
}, [q(_, { name: e.icon }, null, 8, ["name"]), J(P(e.title), 1)], 8, HK)), 64))], 32)]),
|
|
44773
|
+
K("p", UK, P(d.value ? "本机服务交付任务并自动接续会话;仅支持已适配的本地软件,网页 AI 请用手动接入。" : "首次复制指令,之后人工或定时触发;本地 AI 可自行提交,网页 AI 由你或授权主持人代发。"), 1),
|
|
44774
|
+
g.value.length ? (U(), W("div", WK, [(U(!0), W(H, null, B(g.value, (e) => (U(), G(PK, {
|
|
44761
44775
|
key: e,
|
|
44762
44776
|
name: e,
|
|
44763
44777
|
mode: h.value[e],
|
|
@@ -44778,7 +44792,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44778
44792
|
"onHost",
|
|
44779
44793
|
"onRemove",
|
|
44780
44794
|
"onMode"
|
|
44781
|
-
]))), 128))])) : (U(), W("p",
|
|
44795
|
+
]))), 128))])) : (U(), W("p", GK, "从下方添加 AI;同一平台可添加多位,各自独立会话。")),
|
|
44782
44796
|
K("div", {
|
|
44783
44797
|
ref_key: "library",
|
|
44784
44798
|
ref: v,
|
|
@@ -44807,19 +44821,19 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44807
44821
|
]),
|
|
44808
44822
|
J(P(e), 1),
|
|
44809
44823
|
q(_, { name: "i-lucide-plus" })
|
|
44810
|
-
], 8,
|
|
44811
|
-
K("div",
|
|
44824
|
+
], 8, KK))), 128))], 512),
|
|
44825
|
+
K("div", qK, [f.value ? (U(), W("button", {
|
|
44812
44826
|
key: 0,
|
|
44813
44827
|
type: "button",
|
|
44814
44828
|
class: "create-host-self",
|
|
44815
44829
|
"aria-pressed": y.value === "用户",
|
|
44816
44830
|
onClick: c[2] ||= (e) => u("host", "用户")
|
|
44817
|
-
}, [q(_, { name: "i-lucide-crown" }), c[15] ||= J("我来主持", -1)], 8,
|
|
44831
|
+
}, [q(_, { name: "i-lucide-crown" }), c[15] ||= J("我来主持", -1)], 8, JK)) : (U(), G(_, {
|
|
44818
44832
|
key: 1,
|
|
44819
44833
|
name: "i-lucide-crown"
|
|
44820
44834
|
})), K("span", null, P(f.value ? "默认由你点名和分配任务;也可点卡片上的皇冠,由一位本地 AI 协助主持。" : b.value.length ? "点卡片上的皇冠指定主持人:须为本地读写 AI,负责补全议题、安排发言与收束,也可同时作为专家。" : "先添加一位本地读写的 AI 担任主持人。"), 1)])
|
|
44821
44835
|
]),
|
|
44822
|
-
f.value ? Y("", !0) : (U(), W("section",
|
|
44836
|
+
f.value ? Y("", !0) : (U(), W("section", YK, [
|
|
44823
44837
|
c[18] ||= K("h3", null, [K("span", null, "3"), J("讨论多久")], -1),
|
|
44824
44838
|
q(YG, {
|
|
44825
44839
|
ref_key: "limit_picker",
|
|
@@ -44830,7 +44844,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44830
44844
|
"onUpdate:minutes": c[4] ||= (e) => u("limit-max_minutes", String(e))
|
|
44831
44845
|
}, null, 8, ["rounds", "minutes"]),
|
|
44832
44846
|
c[19] ||= K("p", { class: "fine-print create-hint" }, "一轮指每位专家各完成一次观点;首次进入讨论或创建安排后计时,暂停期间不计时。", -1),
|
|
44833
|
-
d.value ? (U(), W("div",
|
|
44847
|
+
d.value ? (U(), W("div", XK, [q(ce, {
|
|
44834
44848
|
label: "单次 AI 执行(分钟)",
|
|
44835
44849
|
description: "留空或 0 表示不限"
|
|
44836
44850
|
}, {
|
|
@@ -44846,9 +44860,9 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44846
44860
|
}, null, 8, ["model-value"])]),
|
|
44847
44861
|
_: 1
|
|
44848
44862
|
})])) : Y("", !0),
|
|
44849
|
-
K("div",
|
|
44863
|
+
K("div", ZK, [
|
|
44850
44864
|
c[17] ||= K("span", { class: "create-label" }, "达到任一上限后", -1),
|
|
44851
|
-
K("div",
|
|
44865
|
+
K("div", QK, [(U(), W(H, null, B([{
|
|
44852
44866
|
value: "pause",
|
|
44853
44867
|
label: "暂停保留现场"
|
|
44854
44868
|
}, {
|
|
@@ -44861,7 +44875,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44861
44875
|
"aria-checked": (l("limit-on_limit") || "pause") === e.value,
|
|
44862
44876
|
class: M({ "is-selected": (l("limit-on_limit") || "pause") === e.value }),
|
|
44863
44877
|
onClick: (t) => u("limit-on_limit", e.value)
|
|
44864
|
-
}, P(e.label), 11,
|
|
44878
|
+
}, P(e.label), 11, $K)), 64))]),
|
|
44865
44879
|
l("limit-on_limit") === "summarize" ? (U(), G(D, {
|
|
44866
44880
|
key: 0,
|
|
44867
44881
|
"model-value": l("limit-summary_minutes"),
|
|
@@ -44877,11 +44891,11 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44877
44891
|
_: 1
|
|
44878
44892
|
}, 8, ["model-value"])) : Y("", !0)
|
|
44879
44893
|
]),
|
|
44880
|
-
K("p",
|
|
44894
|
+
K("p", eq, [q(_, { name: "i-lucide-flag" }), J(P(oe.value), 1)])
|
|
44881
44895
|
])),
|
|
44882
|
-
d.value ? (U(), W("section",
|
|
44896
|
+
d.value ? (U(), W("section", tq, [
|
|
44883
44897
|
K("h3", null, [K("span", null, P(f.value ? 3 : 4), 1), c[20] ||= J("启动本机软件", -1)]),
|
|
44884
|
-
f.value && !I(r).launch.available ? (U(), W("p",
|
|
44898
|
+
f.value && !I(r).launch.available ? (U(), W("p", nq, "程序唤醒需要本机服务:请在运行 AI 的电脑打开本机网站,或先运行连接命令。")) : Y("", !0),
|
|
44885
44899
|
I(r).launch.available ? (U(), W(H, { key: 1 }, [f.value ? Y("", !0) : (U(), G(de, {
|
|
44886
44900
|
key: 0,
|
|
44887
44901
|
"model-value": I(r).launch.create,
|
|
@@ -44889,7 +44903,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44889
44903
|
description: "由本机服务创建会话并交付首个主持任务;不勾选则只建房,稍后在「接入」页启动。",
|
|
44890
44904
|
"onUpdate:modelValue": c[7] ||= (e) => I(i).write_launch("create", "", e)
|
|
44891
44905
|
}, null, 8, ["model-value"])), f.value || I(r).launch.create ? (U(), W(H, { key: 1 }, [
|
|
44892
|
-
K("div",
|
|
44906
|
+
K("div", rq, [q(ce, {
|
|
44893
44907
|
label: "项目目录(可选)",
|
|
44894
44908
|
help: "要一起查看的项目;留空时 AI 只在讨论私有目录工作"
|
|
44895
44909
|
}, {
|
|
@@ -44912,7 +44926,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44912
44926
|
}, null, 8, ["model-value"])]),
|
|
44913
44927
|
_: 1
|
|
44914
44928
|
}, 8, ["help"])]),
|
|
44915
|
-
K("ul",
|
|
44929
|
+
K("ul", iq, [(U(!0), W(H, null, B(S.value, (e) => (U(), W("li", { key: e }, [
|
|
44916
44930
|
q(_, {
|
|
44917
44931
|
name: C(e) ? "i-lucide-circle-check" : "i-lucide-circle-alert",
|
|
44918
44932
|
class: M(C(e) ? "is-ready" : "is-warn")
|
|
@@ -44946,11 +44960,11 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44946
44960
|
"model-selection": !1
|
|
44947
44961
|
}, null, 8, ["participants"]))
|
|
44948
44962
|
])) : Y("", !0)
|
|
44949
|
-
], 32), K("footer",
|
|
44963
|
+
], 32), K("footer", aq, [w.value && I(r).launch.error ? (U(), W("p", oq, P(I(r).launch.error), 1)) : Y("", !0), K("div", sq, [
|
|
44950
44964
|
K("span", {
|
|
44951
44965
|
class: "create-summary",
|
|
44952
44966
|
title: se.value
|
|
44953
|
-
}, P(se.value), 9,
|
|
44967
|
+
}, P(se.value), 9, cq),
|
|
44954
44968
|
q(fe, {
|
|
44955
44969
|
label: "取消",
|
|
44956
44970
|
color: "neutral",
|
|
@@ -44974,61 +44988,61 @@ var YG = /*#__PURE__*/ nH({
|
|
|
44974
44988
|
])])]);
|
|
44975
44989
|
};
|
|
44976
44990
|
}
|
|
44977
|
-
}, [["__scopeId", "data-v-44ac648e"]]),
|
|
44991
|
+
}, [["__scopeId", "data-v-44ac648e"]]), dq = {
|
|
44978
44992
|
key: 0,
|
|
44979
44993
|
class: "channel-archive-manager"
|
|
44980
|
-
},
|
|
44994
|
+
}, fq = { class: "channel-archive-toolbar" }, pq = {
|
|
44981
44995
|
key: 0,
|
|
44982
44996
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
44983
44997
|
role: "alert"
|
|
44984
|
-
},
|
|
44998
|
+
}, mq = {
|
|
44985
44999
|
key: 1,
|
|
44986
45000
|
role: "alert",
|
|
44987
45001
|
class: "channel-directory-error"
|
|
44988
|
-
},
|
|
45002
|
+
}, hq = { class: "channel-archive-results" }, gq = {
|
|
44989
45003
|
key: 0,
|
|
44990
45004
|
class: "channel-archive-list",
|
|
44991
45005
|
"aria-label": "已存档频道列表"
|
|
44992
|
-
},
|
|
45006
|
+
}, _q = { class: "channel-archive-row" }, vq = { class: "channel-archive-info" }, yq = [
|
|
44993
45007
|
"title",
|
|
44994
45008
|
"disabled",
|
|
44995
45009
|
"onClick"
|
|
44996
|
-
],
|
|
45010
|
+
], bq = { key: 0 }, xq = ["datetime"], Sq = { class: "channel-archive-actions" }, Cq = {
|
|
44997
45011
|
key: 0,
|
|
44998
45012
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
44999
45013
|
role: "alert"
|
|
45000
|
-
},
|
|
45014
|
+
}, wq = {
|
|
45001
45015
|
key: 1,
|
|
45002
45016
|
class: "channel-archive-empty"
|
|
45003
|
-
},
|
|
45017
|
+
}, Tq = { class: "fine-print" }, Eq = { class: "dialog-actions" }, Dq = { class: "dialog-actions" }, Oq = { class: "channel-management-target" }, kq = {
|
|
45004
45018
|
key: 0,
|
|
45005
45019
|
class: "fine-print"
|
|
45006
|
-
},
|
|
45020
|
+
}, Aq = {
|
|
45007
45021
|
key: 1,
|
|
45008
45022
|
class: "fine-print"
|
|
45009
|
-
},
|
|
45023
|
+
}, jq = {
|
|
45010
45024
|
key: 2,
|
|
45011
45025
|
class: "fine-print"
|
|
45012
|
-
},
|
|
45026
|
+
}, Mq = { class: "dialog-actions" }, Nq = { key: 4 }, Pq = { class: "theme-choices" }, Fq = ["aria-pressed", "onClick"], Iq = { class: "theme-check" }, Lq = { class: "channel-reading-setting" }, Rq = {
|
|
45013
45027
|
class: "channel-reading-options",
|
|
45014
45028
|
role: "group",
|
|
45015
45029
|
"aria-labelledby": "channel-reading-label"
|
|
45016
|
-
},
|
|
45030
|
+
}, zq = { class: "form-two-columns" }, Bq = { class: "advanced-content" }, Vq = { class: "form-two-columns" }, Hq = {
|
|
45017
45031
|
key: 0,
|
|
45018
45032
|
class: "fine-print"
|
|
45019
|
-
},
|
|
45033
|
+
}, Uq = { class: "advanced-content" }, Wq = { class: "expert-fields" }, Gq = { class: "dialog-actions" }, Kq = { class: "dialog-actions" }, qq = {
|
|
45020
45034
|
key: 8,
|
|
45021
45035
|
class: "original-message"
|
|
45022
|
-
},
|
|
45036
|
+
}, Jq = {
|
|
45023
45037
|
key: 0,
|
|
45024
45038
|
role: "alert"
|
|
45025
|
-
},
|
|
45039
|
+
}, Yq = { class: "original-meta" }, Xq = { class: "fine-print" }, Zq = {
|
|
45026
45040
|
key: 0,
|
|
45027
45041
|
class: "channel-answer-summary"
|
|
45028
|
-
},
|
|
45042
|
+
}, Qq = { class: "message-prose" }, $q = { class: "message-prose" }, eJ = ["innerHTML"], tJ = {
|
|
45029
45043
|
key: 2,
|
|
45030
45044
|
class: "fine-print"
|
|
45031
|
-
},
|
|
45045
|
+
}, nJ = "topic-expert-modes", rJ = {
|
|
45032
45046
|
__name: "WorkspaceDialogs",
|
|
45033
45047
|
props: /*@__PURE__*/ Fa({
|
|
45034
45048
|
detailId: {
|
|
@@ -45299,8 +45313,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45299
45313
|
},
|
|
45300
45314
|
"onAfter:leave": be
|
|
45301
45315
|
}, {
|
|
45302
|
-
body: L(() => [i.value === "archives" ? (U(), W("section",
|
|
45303
|
-
K("div",
|
|
45316
|
+
body: L(() => [i.value === "archives" ? (U(), W("section", dq, [
|
|
45317
|
+
K("div", fq, [
|
|
45304
45318
|
q(b, {
|
|
45305
45319
|
modelValue: m.value,
|
|
45306
45320
|
"onUpdate:modelValue": s[0] ||= (e) => m.value = e,
|
|
@@ -45329,7 +45343,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45329
45343
|
}
|
|
45330
45344
|
}, null, 8, ["label", "disabled"])
|
|
45331
45345
|
]),
|
|
45332
|
-
y.value && _.value.length ? (U(), W("div",
|
|
45346
|
+
y.value && _.value.length ? (U(), W("div", pq, [
|
|
45333
45347
|
K("span", null, "将永久删除当前列表中的 " + P(_.value.length) + " 个频道及其全部记录,无法撤销。", 1),
|
|
45334
45348
|
q(ce, {
|
|
45335
45349
|
label: "取消",
|
|
@@ -45345,20 +45359,20 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45345
45359
|
onClick: E
|
|
45346
45360
|
})
|
|
45347
45361
|
])) : Y("", !0),
|
|
45348
|
-
I(a).directory_error ? (U(), W("p",
|
|
45349
|
-
K("div",
|
|
45362
|
+
I(a).directory_error ? (U(), W("p", mq, P(I(a).directory_error), 1)) : Y("", !0),
|
|
45363
|
+
K("div", hq, [_.value.length ? (U(), W("ul", gq, [(U(!0), W(H, null, B(_.value, (e) => (U(), W("li", {
|
|
45350
45364
|
key: e.id,
|
|
45351
45365
|
class: "channel-archive-item"
|
|
45352
|
-
}, [K("div",
|
|
45366
|
+
}, [K("div", _q, [K("div", vq, [K("button", {
|
|
45353
45367
|
class: "channel-archive-title",
|
|
45354
45368
|
title: e.title,
|
|
45355
45369
|
disabled: !!I(l),
|
|
45356
45370
|
onClick: (t) => w(e)
|
|
45357
|
-
}, P(e.title), 9,
|
|
45371
|
+
}, P(e.title), 9, yq), K("small", null, [e.created_at ? (U(), W("span", bq, [
|
|
45358
45372
|
s[25] ||= J("创建于 ", -1),
|
|
45359
|
-
K("time", { datetime: e.created_at }, P(S(e.created_at)), 9,
|
|
45373
|
+
K("time", { datetime: e.created_at }, P(S(e.created_at)), 9, xq),
|
|
45360
45374
|
s[26] ||= J(" · ", -1)
|
|
45361
|
-
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div",
|
|
45375
|
+
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", Sq, [q(ce, {
|
|
45362
45376
|
"aria-label": `彻底删除 ${e.title}`,
|
|
45363
45377
|
title: "彻底删除",
|
|
45364
45378
|
icon: "i-lucide-trash-2",
|
|
@@ -45390,7 +45404,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45390
45404
|
"aria-label",
|
|
45391
45405
|
"disabled",
|
|
45392
45406
|
"onClick"
|
|
45393
|
-
])])]), v.value === e.id ? (U(), W("div",
|
|
45407
|
+
])])]), v.value === e.id ? (U(), W("div", Cq, [
|
|
45394
45408
|
K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
|
|
45395
45409
|
q(ce, {
|
|
45396
45410
|
label: "取消",
|
|
@@ -45406,12 +45420,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45406
45420
|
disabled: C(e),
|
|
45407
45421
|
onClick: T
|
|
45408
45422
|
}, null, 8, ["disabled"])
|
|
45409
|
-
])) : Y("", !0)]))), 128))])) : (U(), W("p",
|
|
45423
|
+
])) : Y("", !0)]))), 128))])) : (U(), W("p", wq, P(p.value.length ? "没有匹配的存档频道" : "暂无已存档频道"), 1))])
|
|
45410
45424
|
])) : i.value === "delete-folder" ? (U(), W("form", {
|
|
45411
45425
|
key: 1,
|
|
45412
45426
|
class: "dialog-form",
|
|
45413
45427
|
onSubmit: uu(ne, ["prevent"])
|
|
45414
|
-
}, [K("p",
|
|
45428
|
+
}, [K("p", Tq, "移除「" + P(e.targetFolder?.name) + "」后,频道不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", Eq, [q(ce, {
|
|
45415
45429
|
label: "取消",
|
|
45416
45430
|
color: "neutral",
|
|
45417
45431
|
variant: "ghost",
|
|
@@ -45442,7 +45456,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45442
45456
|
"modelValue",
|
|
45443
45457
|
"aria-label",
|
|
45444
45458
|
"readonly"
|
|
45445
|
-
]), K("div",
|
|
45459
|
+
]), K("div", Dq, [q(ce, {
|
|
45446
45460
|
label: "取消",
|
|
45447
45461
|
color: "neutral",
|
|
45448
45462
|
variant: "ghost",
|
|
@@ -45467,10 +45481,10 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45467
45481
|
class: "dialog-form",
|
|
45468
45482
|
onSubmit: uu(te, ["prevent"])
|
|
45469
45483
|
}, [
|
|
45470
|
-
K("p",
|
|
45471
|
-
i.value === "archive" ? (U(), W("p",
|
|
45472
|
-
i.value === "restore" ? (U(), W("p",
|
|
45473
|
-
i.value === "delete" ? (U(), W("p",
|
|
45484
|
+
K("p", Oq, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
|
|
45485
|
+
i.value === "archive" ? (U(), W("p", kq, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
|
|
45486
|
+
i.value === "restore" ? (U(), W("p", Aq, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
|
|
45487
|
+
i.value === "delete" ? (U(), W("p", jq, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
|
|
45474
45488
|
i.value === "rename" ? (U(), G(ue, {
|
|
45475
45489
|
key: 3,
|
|
45476
45490
|
label: "频道名称",
|
|
@@ -45487,7 +45501,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45487
45501
|
}, null, 8, ["modelValue"])]),
|
|
45488
45502
|
_: 1
|
|
45489
45503
|
})) : Y("", !0),
|
|
45490
|
-
K("div",
|
|
45504
|
+
K("div", Mq, [q(ce, {
|
|
45491
45505
|
label: "取消",
|
|
45492
45506
|
color: "neutral",
|
|
45493
45507
|
variant: "ghost",
|
|
@@ -45504,7 +45518,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45504
45518
|
"loading",
|
|
45505
45519
|
"disabled"
|
|
45506
45520
|
])])
|
|
45507
|
-
], 32)) : i.value === "settings" ? (U(), W("div",
|
|
45521
|
+
], 32)) : i.value === "settings" ? (U(), W("div", Nq, [K("div", Pq, [(U(), W(H, null, B(he, (e) => K("button", {
|
|
45508
45522
|
key: e.value,
|
|
45509
45523
|
class: M({ chosen: I(a).theme === e.value }),
|
|
45510
45524
|
"aria-pressed": I(a).theme === e.value,
|
|
@@ -45519,11 +45533,11 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45519
45533
|
K("b")
|
|
45520
45534
|
], -1)]], 2),
|
|
45521
45535
|
K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
|
|
45522
|
-
K("span",
|
|
45536
|
+
K("span", Iq, [I(a).theme === e.value ? (U(), G(de, {
|
|
45523
45537
|
key: 0,
|
|
45524
45538
|
name: "i-lucide-check"
|
|
45525
45539
|
})) : Y("", !0)])
|
|
45526
|
-
], 10,
|
|
45540
|
+
], 10, Fq)), 64))]), K("section", Lq, [s[28] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", Rq, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(ce, {
|
|
45527
45541
|
key: e.value,
|
|
45528
45542
|
label: e.label,
|
|
45529
45543
|
color: "neutral",
|
|
@@ -45536,7 +45550,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45536
45550
|
"class",
|
|
45537
45551
|
"aria-pressed",
|
|
45538
45552
|
"onClick"
|
|
45539
|
-
]))), 128))])])])) : i.value === "create" ? (U(), G(
|
|
45553
|
+
]))), 128))])])])) : i.value === "create" ? (U(), G(uq, {
|
|
45540
45554
|
key: 5,
|
|
45541
45555
|
"target-folder": e.targetFolder,
|
|
45542
45556
|
onSubmit: N,
|
|
@@ -45571,7 +45585,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45571
45585
|
}, null, 8, ["model-value"])]),
|
|
45572
45586
|
_: 1
|
|
45573
45587
|
}),
|
|
45574
|
-
K("div",
|
|
45588
|
+
K("div", zq, [q(ue, { label: "主持人" }, {
|
|
45575
45589
|
default: L(() => [q(x, {
|
|
45576
45590
|
"model-value": I(a).fields[ge("host")],
|
|
45577
45591
|
items: I(ie),
|
|
@@ -45605,9 +45619,9 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45605
45619
|
}, null, 8, ["model-value"])]),
|
|
45606
45620
|
_: 1
|
|
45607
45621
|
})) : Y("", !0),
|
|
45608
|
-
K("section",
|
|
45622
|
+
K("section", Bq, [
|
|
45609
45623
|
s[29] ||= K("h3", null, "讨论上限", -1),
|
|
45610
|
-
K("div",
|
|
45624
|
+
K("div", Vq, [
|
|
45611
45625
|
(U(!0), W(H, null, B(le.value, (e) => (U(), G(ue, {
|
|
45612
45626
|
key: e.key,
|
|
45613
45627
|
label: e.label
|
|
@@ -45668,14 +45682,14 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45668
45682
|
})) : Y("", !0)
|
|
45669
45683
|
]),
|
|
45670
45684
|
s[30] ||= K("p", { class: "fine-print" }, "轮次、总时长、单次执行留空或 0 表示不限。一轮指每位专家各完成一次观点;首次进入讨论阶段或创建安排后计时,暂停期间不计时。收束预留计入总时长。", -1),
|
|
45671
|
-
se.value ? (U(), W("p",
|
|
45685
|
+
se.value ? (U(), W("p", Hq, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
|
|
45672
45686
|
]),
|
|
45673
45687
|
q(Se, {
|
|
45674
45688
|
open: oe.value,
|
|
45675
45689
|
"onUpdate:open": s[19] ||= (e) => oe.value = e,
|
|
45676
45690
|
class: "advanced-fields"
|
|
45677
45691
|
}, {
|
|
45678
|
-
content: L(() => [K("div",
|
|
45692
|
+
content: L(() => [K("div", Uq, [
|
|
45679
45693
|
(U(), W(H, null, B([
|
|
45680
45694
|
{
|
|
45681
45695
|
key: "user_request",
|
|
@@ -45702,11 +45716,11 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45702
45716
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
45703
45717
|
_: 2
|
|
45704
45718
|
}, 1032, ["label"])), 64)),
|
|
45705
|
-
K("div",
|
|
45706
|
-
"model-value": I(a).experts[
|
|
45719
|
+
K("div", Wq, [(U(!0), W(H, null, B(I(re), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(x, {
|
|
45720
|
+
"model-value": I(a).experts[nJ]?.[e] || "none",
|
|
45707
45721
|
items: A,
|
|
45708
45722
|
"aria-label": `${e} 参与方式`,
|
|
45709
|
-
"onUpdate:modelValue": (t) => I(o).write_expert(
|
|
45723
|
+
"onUpdate:modelValue": (t) => I(o).write_expert(nJ, e, t === "none" ? "" : t)
|
|
45710
45724
|
}, null, 8, [
|
|
45711
45725
|
"model-value",
|
|
45712
45726
|
"aria-label",
|
|
@@ -45724,7 +45738,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45724
45738
|
}, null, 8, ["trailing-icon"])]),
|
|
45725
45739
|
_: 1
|
|
45726
45740
|
}, 8, ["open"]),
|
|
45727
|
-
K("div",
|
|
45741
|
+
K("div", Gq, [q(ce, {
|
|
45728
45742
|
label: "取消",
|
|
45729
45743
|
color: "neutral",
|
|
45730
45744
|
variant: "ghost",
|
|
@@ -45768,7 +45782,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45768
45782
|
_: 1
|
|
45769
45783
|
}),
|
|
45770
45784
|
s[32] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
|
|
45771
|
-
K("div",
|
|
45785
|
+
K("div", Kq, [q(ce, {
|
|
45772
45786
|
label: "取消",
|
|
45773
45787
|
variant: "ghost",
|
|
45774
45788
|
color: "neutral",
|
|
@@ -45779,8 +45793,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45779
45793
|
label: "创建发言安排",
|
|
45780
45794
|
loading: I(l) === "schedule"
|
|
45781
45795
|
}, null, 8, ["loading"])])
|
|
45782
|
-
], 32)) : i.value === "message" ? (U(), W("div",
|
|
45783
|
-
K("div",
|
|
45796
|
+
], 32)) : i.value === "message" ? (U(), W("div", qq, [fe.value ? (U(), W("p", Jq, P(fe.value), 1)) : j.value ? (U(), W(H, { key: 1 }, [
|
|
45797
|
+
K("div", Yq, [
|
|
45784
45798
|
K("strong", null, P(I(o).display_name(j.value.author)), 1),
|
|
45785
45799
|
K("span", null, "#" + P(j.value.id), 1),
|
|
45786
45800
|
q(Ce, {
|
|
@@ -45791,14 +45805,14 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45791
45805
|
_: 1
|
|
45792
45806
|
})
|
|
45793
45807
|
]),
|
|
45794
|
-
K("p",
|
|
45795
|
-
j.value.summary ? (U(), W("section",
|
|
45796
|
-
K("p",
|
|
45808
|
+
K("p", Xq, P(I(o).provenance(j.value)) + " · " + P(new Date(j.value.created_at).toLocaleString("zh-CN")), 1),
|
|
45809
|
+
j.value.summary ? (U(), W("section", Zq, [K("small", null, "回答摘要 · " + P(I(o).display_name(j.value.summary_by)), 1), K("p", Qq, P(j.value.summary), 1)])) : Y("", !0),
|
|
45810
|
+
K("p", $q, P(j.value.text), 1),
|
|
45797
45811
|
j.value.attachments?.length ? (U(), W("div", {
|
|
45798
45812
|
key: 1,
|
|
45799
45813
|
onClick: ye,
|
|
45800
45814
|
innerHTML: I(o).attachment_markup(j.value.attachments)
|
|
45801
|
-
}, null, 8,
|
|
45815
|
+
}, null, 8, eJ)) : Y("", !0),
|
|
45802
45816
|
j.value.reply_to ? (U(), G(ce, {
|
|
45803
45817
|
key: 2,
|
|
45804
45818
|
label: `查看被回复的原文 #${j.value.reply_to}`,
|
|
@@ -45808,7 +45822,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45808
45822
|
class: "channel-surface-button",
|
|
45809
45823
|
onClick: xe
|
|
45810
45824
|
}, null, 8, ["label"])) : Y("", !0)
|
|
45811
|
-
], 64)) : (U(), W("p",
|
|
45825
|
+
], 64)) : (U(), W("p", tJ, "正在读取原文…"))])) : Y("", !0)]),
|
|
45812
45826
|
_: 1
|
|
45813
45827
|
}, 8, [
|
|
45814
45828
|
"open",
|
|
@@ -45818,7 +45832,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
45818
45832
|
]);
|
|
45819
45833
|
};
|
|
45820
45834
|
}
|
|
45821
|
-
},
|
|
45835
|
+
}, iJ = {
|
|
45822
45836
|
__name: "ContextMenuContent",
|
|
45823
45837
|
props: {
|
|
45824
45838
|
items: {
|
|
@@ -46113,7 +46127,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46113
46127
|
"disabled",
|
|
46114
46128
|
"text-value",
|
|
46115
46129
|
"class"
|
|
46116
|
-
]), q(
|
|
46130
|
+
]), q(iJ, X({
|
|
46117
46131
|
sub: "",
|
|
46118
46132
|
class: r.ui?.content,
|
|
46119
46133
|
ui: e.ui,
|
|
@@ -46224,7 +46238,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46224
46238
|
_: 3
|
|
46225
46239
|
}, 16)], 64));
|
|
46226
46240
|
}
|
|
46227
|
-
},
|
|
46241
|
+
}, aJ = {
|
|
46228
46242
|
slots: {
|
|
46229
46243
|
content: "min-w-32 max-h-(--reka-context-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)] origin-(--reka-context-menu-content-transform-origin) flex flex-col",
|
|
46230
46244
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
@@ -46412,7 +46426,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46412
46426
|
}
|
|
46413
46427
|
],
|
|
46414
46428
|
defaultVariants: { size: "md" }
|
|
46415
|
-
},
|
|
46429
|
+
}, oJ = {
|
|
46416
46430
|
__name: "ContextMenu",
|
|
46417
46431
|
props: {
|
|
46418
46432
|
size: {
|
|
@@ -46482,7 +46496,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46482
46496
|
emits: ["update:open"],
|
|
46483
46497
|
setup(e, { emit: t }) {
|
|
46484
46498
|
let n = e, r = t, i = Aa(), a = cE("contextMenu", n), o = Sm(), s = lE(am(a, "modal"), r), c = /* @__PURE__ */ Sn(() => a.content), l = () => Bm(i, ["default"]), u = Z(() => Rk({
|
|
46485
|
-
extend:
|
|
46499
|
+
extend: aJ,
|
|
46486
46500
|
...o.ui?.contextMenu || {}
|
|
46487
46501
|
})({ size: a.size }));
|
|
46488
46502
|
return (e, t) => (U(), G(I(GS), N(Ss(I(s))), {
|
|
@@ -46494,7 +46508,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46494
46508
|
}, {
|
|
46495
46509
|
default: L(() => [V(e.$slots, "default")]),
|
|
46496
46510
|
_: 3
|
|
46497
|
-
}, 8, ["disabled", "class"])) : Y("", !0), q(
|
|
46511
|
+
}, 8, ["disabled", "class"])) : Y("", !0), q(iJ, X({
|
|
46498
46512
|
class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
|
|
46499
46513
|
ui: u.value,
|
|
46500
46514
|
"ui-override": I(a).ui
|
|
@@ -46524,43 +46538,43 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46524
46538
|
_: 3
|
|
46525
46539
|
}, 16));
|
|
46526
46540
|
}
|
|
46527
|
-
},
|
|
46541
|
+
}, sJ = { class: "channel-directory-manager" }, cJ = { class: "channel-directory-heading" }, lJ = ["aria-expanded"], uJ = { class: "channel-directory-actions" }, dJ = {
|
|
46528
46542
|
"aria-label": "讨论频道列表",
|
|
46529
46543
|
class: "channel-room-list",
|
|
46530
46544
|
"data-room-directory": ""
|
|
46531
|
-
},
|
|
46545
|
+
}, fJ = ["data-room-folder", "data-drag-folder"], pJ = {
|
|
46532
46546
|
key: 0,
|
|
46533
46547
|
class: "channel-folder-row"
|
|
46534
|
-
},
|
|
46548
|
+
}, mJ = [
|
|
46535
46549
|
"disabled",
|
|
46536
46550
|
"aria-label",
|
|
46537
46551
|
"aria-expanded",
|
|
46538
46552
|
"onKeydown",
|
|
46539
46553
|
"onClick"
|
|
46540
|
-
],
|
|
46554
|
+
], hJ = { class: "channel-folder-name" }, gJ = { class: "channel-folder-actions" }, _J = {
|
|
46541
46555
|
class: "channel-directory-count",
|
|
46542
46556
|
"aria-hidden": "true"
|
|
46543
|
-
},
|
|
46557
|
+
}, vJ = ["data-drop-folder"], yJ = {
|
|
46544
46558
|
key: 0,
|
|
46545
46559
|
class: "channel-directory-empty",
|
|
46546
46560
|
role: "status"
|
|
46547
|
-
},
|
|
46561
|
+
}, bJ = ["data-drag-room"], xJ = [
|
|
46548
46562
|
"aria-label",
|
|
46549
46563
|
"disabled",
|
|
46550
46564
|
"onKeydown"
|
|
46551
|
-
],
|
|
46565
|
+
], SJ = [
|
|
46552
46566
|
"title",
|
|
46553
46567
|
"aria-label",
|
|
46554
46568
|
"aria-current",
|
|
46555
46569
|
"onClick"
|
|
46556
|
-
],
|
|
46570
|
+
], CJ = { class: "channel-room-actions" }, wJ = {
|
|
46557
46571
|
key: 0,
|
|
46558
46572
|
class: "channel-directory-empty"
|
|
46559
|
-
},
|
|
46573
|
+
}, TJ = {
|
|
46560
46574
|
key: 0,
|
|
46561
46575
|
role: "alert",
|
|
46562
46576
|
class: "channel-directory-error"
|
|
46563
|
-
},
|
|
46577
|
+
}, EJ = {
|
|
46564
46578
|
__name: "ChannelDirectory",
|
|
46565
46579
|
emits: [
|
|
46566
46580
|
"select",
|
|
@@ -46737,8 +46751,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46737
46751
|
];
|
|
46738
46752
|
}
|
|
46739
46753
|
return (e, t) => {
|
|
46740
|
-
let u = uA, h = zk, v = EV, y = VV, b =
|
|
46741
|
-
return U(), W("div",
|
|
46754
|
+
let u = uA, h = zk, v = EV, y = VV, b = oJ;
|
|
46755
|
+
return U(), W("div", sJ, [
|
|
46742
46756
|
q(u, {
|
|
46743
46757
|
label: "新建对话",
|
|
46744
46758
|
icon: "i-lucide-square-pen",
|
|
@@ -46748,12 +46762,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46748
46762
|
disabled: I(r).directory_pending.includes("create-room"),
|
|
46749
46763
|
onClick: t[0] ||= (e) => n("create", null)
|
|
46750
46764
|
}, null, 8, ["disabled"]),
|
|
46751
|
-
K("div",
|
|
46765
|
+
K("div", cJ, [K("button", {
|
|
46752
46766
|
type: "button",
|
|
46753
46767
|
class: "channel-section-toggle",
|
|
46754
46768
|
"aria-expanded": f.value,
|
|
46755
46769
|
onClick: t[1] ||= (e) => f.value = !f.value
|
|
46756
|
-
}, [q(h, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("讨论频道", -1)], 8,
|
|
46770
|
+
}, [q(h, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("讨论频道", -1)], 8, lJ), K("div", uJ, [q(v, {
|
|
46757
46771
|
items: d.value,
|
|
46758
46772
|
content: {
|
|
46759
46773
|
align: "end",
|
|
@@ -46782,12 +46796,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46782
46796
|
}, null, 8, ["disabled"])]),
|
|
46783
46797
|
_: 1
|
|
46784
46798
|
})])]),
|
|
46785
|
-
vr(K("nav",
|
|
46799
|
+
vr(K("nav", dJ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
|
|
46786
46800
|
key: e.order_id,
|
|
46787
46801
|
class: "channel-folder-section",
|
|
46788
46802
|
"data-room-folder": e.id,
|
|
46789
46803
|
"data-drag-folder": e.order_id
|
|
46790
|
-
}, [e.id ? (U(), W("div",
|
|
46804
|
+
}, [e.id ? (U(), W("div", pJ, [
|
|
46791
46805
|
K("button", {
|
|
46792
46806
|
class: "channel-folder-heading",
|
|
46793
46807
|
"data-drop-folder": "",
|
|
@@ -46809,9 +46823,9 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46809
46823
|
}, [
|
|
46810
46824
|
q(h, { name: p.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
46811
46825
|
q(h, { name: "i-lucide-folder" }),
|
|
46812
|
-
K("span",
|
|
46813
|
-
], 40,
|
|
46814
|
-
K("div",
|
|
46826
|
+
K("span", hJ, P(e.name), 1)
|
|
46827
|
+
], 40, mJ),
|
|
46828
|
+
K("div", gJ, [q(v, {
|
|
46815
46829
|
items: m(e, s),
|
|
46816
46830
|
content: {
|
|
46817
46831
|
align: "start",
|
|
@@ -46845,12 +46859,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46845
46859
|
])]),
|
|
46846
46860
|
_: 2
|
|
46847
46861
|
}, 1032, ["text"])]),
|
|
46848
|
-
K("small",
|
|
46862
|
+
K("small", _J, P(e.pending ? "保存中" : e.rooms.length), 1)
|
|
46849
46863
|
])) : Y("", !0), !e.id || !p.value.has(e.id) ? (U(), W("div", {
|
|
46850
46864
|
key: 1,
|
|
46851
46865
|
class: M(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
|
|
46852
46866
|
"data-drop-folder": e.id ? void 0 : ""
|
|
46853
|
-
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p",
|
|
46867
|
+
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", yJ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(b, {
|
|
46854
46868
|
key: s.id,
|
|
46855
46869
|
items: _(s, c, s.folder_id || null, e.rooms.length),
|
|
46856
46870
|
ui: { content: "channel-menu channel-topic-menu" }
|
|
@@ -46875,7 +46889,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46875
46889
|
direction: 1,
|
|
46876
46890
|
folder_id: s.folder_id || null
|
|
46877
46891
|
}), ["prevent"]), ["down"])]
|
|
46878
|
-
}, [q(h, { name: "i-lucide-grip-vertical" })], 40,
|
|
46892
|
+
}, [q(h, { name: "i-lucide-grip-vertical" })], 40, xJ),
|
|
46879
46893
|
K("button", {
|
|
46880
46894
|
class: "channel-room-select",
|
|
46881
46895
|
"data-drag-title": "",
|
|
@@ -46884,8 +46898,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46884
46898
|
"aria-current": s.id === I(r).room?.id ? "page" : void 0,
|
|
46885
46899
|
onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
|
|
46886
46900
|
onClick: (e) => n("select", s.id)
|
|
46887
|
-
}, [K("span", null, P(s.title), 1)], 40,
|
|
46888
|
-
K("div",
|
|
46901
|
+
}, [K("span", null, P(s.title), 1)], 40, SJ),
|
|
46902
|
+
K("div", CJ, [q(y, {
|
|
46889
46903
|
text: s.archived ? "恢复频道" : "存档频道",
|
|
46890
46904
|
ui: { content: "channel-topic-tooltip" }
|
|
46891
46905
|
}, {
|
|
@@ -46926,9 +46940,9 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46926
46940
|
}, null, 8, ["aria-label"])]),
|
|
46927
46941
|
_: 2
|
|
46928
46942
|
}, 1032, ["items"])])
|
|
46929
|
-
], 10,
|
|
46943
|
+
], 10, bJ)]),
|
|
46930
46944
|
_: 2
|
|
46931
|
-
}, 1032, ["items"]))), 128))], 10,
|
|
46945
|
+
}, 1032, ["items"]))), 128))], 10, vJ)) : Y("", !0)], 8, fJ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", wJ, "暂无讨论频道"))], 512), [[Vc, f.value]]),
|
|
46932
46946
|
vr(q(u, {
|
|
46933
46947
|
icon: "i-lucide-archive",
|
|
46934
46948
|
label: `已存档 · ${c.value}`,
|
|
@@ -46939,61 +46953,61 @@ var YG = /*#__PURE__*/ nH({
|
|
|
46939
46953
|
"aria-haspopup": "dialog",
|
|
46940
46954
|
onClick: t[6] ||= (e) => n("archives")
|
|
46941
46955
|
}, null, 8, ["label"]), [[Vc, f.value]]),
|
|
46942
|
-
I(r).directory_error ? (U(), W("p",
|
|
46956
|
+
I(r).directory_error ? (U(), W("p", TJ, P(I(r).directory_error), 1)) : Y("", !0)
|
|
46943
46957
|
]);
|
|
46944
46958
|
};
|
|
46945
46959
|
}
|
|
46946
|
-
},
|
|
46960
|
+
}, DJ = {
|
|
46947
46961
|
key: 0,
|
|
46948
46962
|
class: "pb-header"
|
|
46949
|
-
},
|
|
46963
|
+
}, OJ = { class: "pb-mode" }, kJ = { class: "pb-status-line" }, AJ = { role: "status" }, jJ = {
|
|
46950
46964
|
key: 0,
|
|
46951
46965
|
class: "pb-mode"
|
|
46952
|
-
},
|
|
46966
|
+
}, MJ = {
|
|
46953
46967
|
key: 0,
|
|
46954
46968
|
class: "pb-status-detail"
|
|
46955
|
-
},
|
|
46969
|
+
}, NJ = {
|
|
46956
46970
|
key: 1,
|
|
46957
46971
|
class: "pb-status-detail"
|
|
46958
|
-
},
|
|
46972
|
+
}, PJ = { class: "pb-error-detail" }, FJ = {
|
|
46959
46973
|
key: 2,
|
|
46960
46974
|
class: "pb-meters"
|
|
46961
|
-
},
|
|
46975
|
+
}, IJ = { class: "pb-meter-label" }, LJ = {
|
|
46962
46976
|
key: 0,
|
|
46963
46977
|
class: "pb-bar"
|
|
46964
|
-
},
|
|
46978
|
+
}, RJ = {
|
|
46965
46979
|
key: 1,
|
|
46966
46980
|
class: "pb-section",
|
|
46967
46981
|
"aria-label": "当前焦点"
|
|
46968
|
-
},
|
|
46982
|
+
}, zJ = {
|
|
46969
46983
|
class: "pb-section",
|
|
46970
46984
|
"aria-label": "参与者"
|
|
46971
|
-
},
|
|
46985
|
+
}, BJ = {
|
|
46972
46986
|
key: 0,
|
|
46973
46987
|
class: "pb-status-detail pb-held"
|
|
46974
|
-
},
|
|
46988
|
+
}, VJ = { class: "pb-members" }, HJ = { class: "pb-member-body" }, UJ = { class: "pb-member-name" }, WJ = {
|
|
46975
46989
|
class: "pb-member-model",
|
|
46976
46990
|
title: "本场启动配置;默认模型与默认强度由对应软件决定"
|
|
46977
|
-
},
|
|
46991
|
+
}, GJ = { key: 0 }, KJ = {
|
|
46978
46992
|
key: 2,
|
|
46979
46993
|
class: "pb-actions",
|
|
46980
46994
|
"aria-label": "操作"
|
|
46981
|
-
},
|
|
46995
|
+
}, qJ = {
|
|
46982
46996
|
key: 3,
|
|
46983
46997
|
class: "pb-section",
|
|
46984
46998
|
"aria-label": "阶段耗时"
|
|
46985
|
-
},
|
|
46999
|
+
}, JJ = { class: "pb-timing-heading" }, YJ = ["aria-label"], XJ = { class: "pb-timing-totals" }, ZJ = ["title"], QJ = { class: "pb-timings" }, $J = { class: "pb-timing-who" }, eY = { class: "pb-timing-stages" }, tY = ["title"], nY = {
|
|
46986
47000
|
key: 0,
|
|
46987
47001
|
class: "pb-note"
|
|
46988
|
-
},
|
|
47002
|
+
}, rY = { class: "pb-connection" }, iY = { class: "fine-print" }, aY = {
|
|
46989
47003
|
key: 0,
|
|
46990
47004
|
role: "status",
|
|
46991
47005
|
class: "fine-print"
|
|
46992
|
-
},
|
|
47006
|
+
}, oY = {
|
|
46993
47007
|
key: 2,
|
|
46994
47008
|
role: "alert",
|
|
46995
47009
|
class: "fine-print"
|
|
46996
|
-
},
|
|
47010
|
+
}, sY = { key: 2 }, cY = { class: "progress-ending" }, lY = ["disabled"], uY = { key: 0 }, dY = ["disabled"], fY = 90, pY = 100, mY = /*#__PURE__*/ nH({
|
|
46997
47011
|
__name: "ProgressBoard",
|
|
46998
47012
|
props: { docked: {
|
|
46999
47013
|
type: Boolean,
|
|
@@ -47030,7 +47044,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47030
47044
|
"initial",
|
|
47031
47045
|
"discussing",
|
|
47032
47046
|
"reviewing"
|
|
47033
|
-
].includes(m.value.phase) && !m.value.archived), w = Z(() => (C.value || m.value.phase === "paused") && !m.value.archived), T = Z(() => C.value || S.value || w.value), E = Z(() => !y.value && m.value.phase !== "preparing" && !m.value.archived && !h.value.closing), D = Z(() => [m.value.host, ...Object.keys(m.value.experts || {}).filter((e) => e !== m.value.host)].filter((e) => e && e !== "用户").map(A)), O = Z(() => D.value.find((e) => e.result)), ee = Z(() => v.value?.question || m.value.focus || m.value.goal || ""), te = Z(() => ee.value.length >
|
|
47047
|
+
].includes(m.value.phase) && !m.value.archived), w = Z(() => (C.value || m.value.phase === "paused") && !m.value.archived), T = Z(() => C.value || S.value || w.value), E = Z(() => !y.value && m.value.phase !== "preparing" && !m.value.archived && !h.value.closing), D = Z(() => [m.value.host, ...Object.keys(m.value.experts || {}).filter((e) => e !== m.value.host)].filter((e) => e && e !== "用户").map(A)), O = Z(() => D.value.find((e) => e.result)), ee = Z(() => v.value?.question || m.value.focus || m.value.goal || ""), te = Z(() => ee.value.length > fY), k = Z(() => g.value.timings || {
|
|
47034
47048
|
items: [],
|
|
47035
47049
|
totals: {},
|
|
47036
47050
|
count: 0
|
|
@@ -47064,7 +47078,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47064
47078
|
if (e.phase === "paused") {
|
|
47065
47079
|
let e = O.value;
|
|
47066
47080
|
if (e) {
|
|
47067
|
-
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length >
|
|
47081
|
+
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length > pY ? `${n.slice(0, pY)}…` : n;
|
|
47068
47082
|
return {
|
|
47069
47083
|
tone: "error",
|
|
47070
47084
|
title: "已暂停",
|
|
@@ -47158,24 +47172,24 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47158
47172
|
return (e, l) => {
|
|
47159
47173
|
let u = Gk, d = zk, O = uA, A = EV, se = pV, j = MV, pe = EG;
|
|
47160
47174
|
return U(), W("div", { class: M(["progress-board", { "is-docked": t.docked }]) }, [
|
|
47161
|
-
t.docked ? (U(), W("header",
|
|
47175
|
+
t.docked ? (U(), W("header", DJ, [l[11] ||= K("strong", null, "讨论进度", -1), K("span", OJ, P(_.value ? "全自动" : "手动"), 1)])) : Y("", !0),
|
|
47162
47176
|
K("section", {
|
|
47163
47177
|
class: M(["pb-status", `is-${ie.value.tone}`]),
|
|
47164
47178
|
"aria-label": "讨论状态"
|
|
47165
47179
|
}, [
|
|
47166
|
-
K("div",
|
|
47180
|
+
K("div", kJ, [
|
|
47167
47181
|
l[12] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
47168
|
-
K("strong",
|
|
47169
|
-
t.docked ? Y("", !0) : (U(), W("span",
|
|
47182
|
+
K("strong", AJ, P(ie.value.title), 1),
|
|
47183
|
+
t.docked ? Y("", !0) : (U(), W("span", jJ, P(_.value ? "全自动" : "手动"), 1))
|
|
47170
47184
|
]),
|
|
47171
|
-
ie.value.detail ? (U(), W("p",
|
|
47172
|
-
ie.value.full_detail ? (U(), W("details",
|
|
47173
|
-
ae.value.length ? (U(), W("div",
|
|
47185
|
+
ie.value.detail ? (U(), W("p", MJ, P(ie.value.detail), 1)) : Y("", !0),
|
|
47186
|
+
ie.value.full_detail ? (U(), W("details", NJ, [l[13] ||= K("summary", null, "查看错误详情", -1), K("pre", PJ, P(ie.value.full_detail), 1)])) : Y("", !0),
|
|
47187
|
+
ae.value.length ? (U(), W("div", FJ, [(U(!0), W(H, null, B(ae.value, (e) => (U(), W("div", {
|
|
47174
47188
|
key: e.label,
|
|
47175
47189
|
class: "pb-meter"
|
|
47176
|
-
}, [K("div",
|
|
47190
|
+
}, [K("div", IJ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", LJ, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])) : Y("", !0)
|
|
47177
47191
|
], 2),
|
|
47178
|
-
ee.value ? (U(), W("section",
|
|
47192
|
+
ee.value ? (U(), W("section", RJ, [
|
|
47179
47193
|
l[14] ||= K("h4", null, "当前焦点", -1),
|
|
47180
47194
|
K("p", { class: M(["pb-focus", { "is-expanded": s.value }]) }, P(ee.value), 3),
|
|
47181
47195
|
te.value ? (U(), W("button", {
|
|
@@ -47185,10 +47199,10 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47185
47199
|
onClick: l[0] ||= (e) => s.value = !s.value
|
|
47186
47200
|
}, P(s.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
47187
47201
|
])) : Y("", !0),
|
|
47188
|
-
K("section",
|
|
47202
|
+
K("section", zJ, [
|
|
47189
47203
|
l[16] ||= K("h4", null, "参与者", -1),
|
|
47190
|
-
m.value.held_since && v.value && !y.value ? (U(), W("p",
|
|
47191
|
-
K("ul",
|
|
47204
|
+
m.value.held_since && v.value && !y.value ? (U(), W("p", BJ, "用户有新操作," + P(I(r).display_name(v.value.expert)) + " 说完后交给主持人", 1)) : Y("", !0),
|
|
47205
|
+
K("ul", VJ, [(U(!0), W(H, null, B(D.value, (e) => (U(), W("li", {
|
|
47192
47206
|
key: e.name,
|
|
47193
47207
|
class: "pb-member"
|
|
47194
47208
|
}, [
|
|
@@ -47204,8 +47218,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47204
47218
|
"alt",
|
|
47205
47219
|
"class"
|
|
47206
47220
|
]),
|
|
47207
|
-
K("div",
|
|
47208
|
-
K("div",
|
|
47221
|
+
K("div", HJ, [
|
|
47222
|
+
K("div", UJ, [
|
|
47209
47223
|
J(P(I(r).display_name(e.name)), 1),
|
|
47210
47224
|
e.is_host ? (U(), G(d, {
|
|
47211
47225
|
key: 0,
|
|
@@ -47214,14 +47228,14 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47214
47228
|
})) : Y("", !0),
|
|
47215
47229
|
K("small", null, P(e.is_host ? `主持 · ${e.mode}` : e.mode), 1)
|
|
47216
47230
|
]),
|
|
47217
|
-
K("div",
|
|
47231
|
+
K("div", WJ, P(e.model), 1),
|
|
47218
47232
|
x.value ? Y("", !0) : (U(), W("div", {
|
|
47219
47233
|
key: 0,
|
|
47220
47234
|
class: M(["pb-member-status", `is-${e.tone}`])
|
|
47221
47235
|
}, [
|
|
47222
47236
|
l[15] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
47223
47237
|
J(P(e.text), 1),
|
|
47224
|
-
e.failures ? (U(), W("small",
|
|
47238
|
+
e.failures ? (U(), W("small", GJ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
|
|
47225
47239
|
], 2))
|
|
47226
47240
|
]),
|
|
47227
47241
|
e.session ? (U(), G(A, {
|
|
@@ -47242,7 +47256,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47242
47256
|
}, 1032, ["items"])) : Y("", !0)
|
|
47243
47257
|
]))), 128))])
|
|
47244
47258
|
]),
|
|
47245
|
-
T.value ? (U(), W("section",
|
|
47259
|
+
T.value ? (U(), W("section", KJ, [
|
|
47246
47260
|
S.value ? (U(), G(O, {
|
|
47247
47261
|
key: 0,
|
|
47248
47262
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -47291,8 +47305,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47291
47305
|
onClick: l[4] ||= (e) => o.value = !0
|
|
47292
47306
|
})) : Y("", !0)
|
|
47293
47307
|
])) : Y("", !0),
|
|
47294
|
-
_.value && k.value.count ? (U(), W("section",
|
|
47295
|
-
K("div",
|
|
47308
|
+
_.value && k.value.count ? (U(), W("section", qJ, [
|
|
47309
|
+
K("div", JJ, [l[17] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(k.value.count) + " 次执行", 1)]),
|
|
47296
47310
|
K("div", {
|
|
47297
47311
|
class: "pb-timing-bar",
|
|
47298
47312
|
role: "img",
|
|
@@ -47301,18 +47315,18 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47301
47315
|
key: e.key,
|
|
47302
47316
|
class: M(`is-${e.key}`),
|
|
47303
47317
|
style: fe({ width: `${e.percent}%` })
|
|
47304
|
-
}, null, 6))), 128))], 8,
|
|
47305
|
-
K("dl",
|
|
47318
|
+
}, null, 6))), 128))], 8, YJ),
|
|
47319
|
+
K("dl", XJ, [(U(!0), W(H, null, B(le.value, (e) => (U(), W("div", {
|
|
47306
47320
|
key: e.key,
|
|
47307
47321
|
title: e.hint
|
|
47308
|
-
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(ue(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8,
|
|
47309
|
-
K("details",
|
|
47322
|
+
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(ue(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8, ZJ))), 128))]),
|
|
47323
|
+
K("details", QJ, [
|
|
47310
47324
|
l[18] ||= K("summary", null, "查看每次执行", -1),
|
|
47311
|
-
K("ol", null, [(U(!0), W(H, null, B(k.value.items, (e) => (U(), W("li", { key: e.id }, [K("span",
|
|
47325
|
+
K("ol", null, [(U(!0), W(H, null, B(k.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", $J, [J("#" + P(e.id) + " " + P(I(r).display_name(e.participant)), 1), K("small", null, P(e.role === "host" ? "主持" : "专家") + " · " + P(p[e.status] || e.status), 1)]), K("span", eY, [(U(), W(H, null, B(f, (t) => K("span", {
|
|
47312
47326
|
key: t.key,
|
|
47313
47327
|
title: t.hint
|
|
47314
|
-
}, P(t.label) + " " + P(ue(e[t.key])), 9,
|
|
47315
|
-
k.value.count > k.value.items.length ? (U(), W("p",
|
|
47328
|
+
}, P(t.label) + " " + P(ue(e[t.key])), 9, tY)), 64))])]))), 128))]),
|
|
47329
|
+
k.value.count > k.value.items.length ? (U(), W("p", nY, "只列出最近 " + P(k.value.items.length) + " 次,共 " + P(k.value.count) + " 次执行。", 1)) : Y("", !0)
|
|
47316
47330
|
])
|
|
47317
47331
|
])) : Y("", !0),
|
|
47318
47332
|
q(pe, {
|
|
@@ -47325,7 +47339,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47325
47339
|
body: "dialog-body"
|
|
47326
47340
|
}
|
|
47327
47341
|
}, {
|
|
47328
|
-
body: L(() => [K("div",
|
|
47342
|
+
body: L(() => [K("div", rY, [g.value.status === "running" ? (U(), W(H, { key: 0 }, [l[19] ||= K("p", null, "切换前需要暂停讨论,当前执行会停止,原发言安排保留。", -1), q(O, {
|
|
47329
47343
|
label: "暂停并读取配置",
|
|
47330
47344
|
icon: "i-lucide-pause",
|
|
47331
47345
|
class: "channel-primary-button",
|
|
@@ -47348,7 +47362,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47348
47362
|
}, null, 8, ["model-value", "disabled"])]),
|
|
47349
47363
|
_: 1
|
|
47350
47364
|
}),
|
|
47351
|
-
K("p",
|
|
47365
|
+
K("p", iY, P(re.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
|
|
47352
47366
|
q(O, {
|
|
47353
47367
|
label: "保存接入方式",
|
|
47354
47368
|
class: "channel-primary-button",
|
|
@@ -47356,7 +47370,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47356
47370
|
disabled: !!I(a),
|
|
47357
47371
|
onClick: l[6] ||= (e) => I(i)("save_room_configuration")
|
|
47358
47372
|
}, null, 8, ["loading", "disabled"]),
|
|
47359
|
-
I(n).launch.repair?.notice ? (U(), W("p",
|
|
47373
|
+
I(n).launch.repair?.notice ? (U(), W("p", aY, P(I(n).launch.repair.notice), 1)) : Y("", !0)
|
|
47360
47374
|
], 64)) : (U(), G(O, {
|
|
47361
47375
|
key: 1,
|
|
47362
47376
|
label: "读取本场配置",
|
|
@@ -47364,7 +47378,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47364
47378
|
color: "neutral",
|
|
47365
47379
|
loading: !!I(a),
|
|
47366
47380
|
onClick: ce
|
|
47367
|
-
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p",
|
|
47381
|
+
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p", oY, P(I(n).launch.repair_error), 1)) : Y("", !0)], 64)) : (U(), W("p", sY, "本场状态已变化,请关闭后重新核对。"))])]),
|
|
47368
47382
|
_: 1
|
|
47369
47383
|
}, 8, ["open"]),
|
|
47370
47384
|
q(pe, {
|
|
@@ -47377,7 +47391,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47377
47391
|
body: "dialog-body"
|
|
47378
47392
|
}
|
|
47379
47393
|
}, {
|
|
47380
|
-
body: L(() => [K("div",
|
|
47394
|
+
body: L(() => [K("div", cY, [K("button", {
|
|
47381
47395
|
type: "button",
|
|
47382
47396
|
class: "progress-ending-option",
|
|
47383
47397
|
disabled: !E.value || !!I(a),
|
|
@@ -47385,19 +47399,19 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47385
47399
|
}, [
|
|
47386
47400
|
l[20] ||= K("strong", null, "请主持人收尾", -1),
|
|
47387
47401
|
K("span", null, "立即进入收束,由 " + P(I(r).display_name(m.value.host)) + " 在 " + P(h.value.summary_minutes || 5) + " 分钟收束预留内根据已有材料总结。", 1),
|
|
47388
|
-
E.value ? Y("", !0) : (U(), W("small",
|
|
47389
|
-
], 8,
|
|
47402
|
+
E.value ? Y("", !0) : (U(), W("small", uY, P(h.value.closing ? "已在收尾中。" : "仅进行中的讨论可以收尾;暂停后可先重启再收尾,或直接结束并保留记录。"), 1))
|
|
47403
|
+
], 8, lY), K("button", {
|
|
47390
47404
|
type: "button",
|
|
47391
47405
|
class: "progress-ending-option",
|
|
47392
47406
|
disabled: b.value || !!I(a),
|
|
47393
47407
|
onClick: l[9] ||= (e) => de("conclude_discussion")
|
|
47394
|
-
}, [...l[21] ||= [K("strong", null, "直接结束(不总结)", -1), K("span", null, "保留全部记录,阶段设为“已收束”,自动运行随之停止。", -1)]], 8,
|
|
47408
|
+
}, [...l[21] ||= [K("strong", null, "直接结束(不总结)", -1), K("span", null, "保留全部记录,阶段设为“已收束”,自动运行随之停止。", -1)]], 8, dY)])]),
|
|
47395
47409
|
_: 1
|
|
47396
47410
|
}, 8, ["open"])
|
|
47397
47411
|
], 2);
|
|
47398
47412
|
};
|
|
47399
47413
|
}
|
|
47400
|
-
}, [["__scopeId", "data-v-9928cf63"]]),
|
|
47414
|
+
}, [["__scopeId", "data-v-9928cf63"]]), hY = { class: "progress-panel-anchor" }, gY = ["aria-expanded", "aria-label"], _Y = { class: "progress-chip-text" }, vY = { class: "progress-chip-rounds" }, yY = {
|
|
47401
47415
|
__name: "ProgressPanel",
|
|
47402
47416
|
setup(e) {
|
|
47403
47417
|
let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
|
|
@@ -47427,7 +47441,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47427
47441
|
}), s = Z(() => a.value.max_rounds ? `${a.value.completed_rounds || 0}/${a.value.max_rounds} 轮` : n.progress_round(i.value)), c = Z(() => `${o.value.title} · ${s.value}`);
|
|
47428
47442
|
return (e, t) => {
|
|
47429
47443
|
let n = VV, a = dV;
|
|
47430
|
-
return U(), W("div",
|
|
47444
|
+
return U(), W("div", hY, [q(n, { text: "查看讨论进度" }, {
|
|
47431
47445
|
default: L(() => [K("button", {
|
|
47432
47446
|
type: "button",
|
|
47433
47447
|
class: M(["progress-chip", `is-${o.value.tone}`]),
|
|
@@ -47435,7 +47449,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47435
47449
|
"aria-expanded": r.value,
|
|
47436
47450
|
"aria-label": `查看讨论进度:${c.value}`,
|
|
47437
47451
|
onClick: t[0] ||= (e) => r.value = !0
|
|
47438
|
-
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span",
|
|
47452
|
+
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", _Y, [J(P(o.value.title), 1), K("span", vY, " · " + P(s.value), 1)])], 10, gY)]),
|
|
47439
47453
|
_: 1
|
|
47440
47454
|
}), q(a, {
|
|
47441
47455
|
open: r.value,
|
|
@@ -47448,98 +47462,98 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47448
47462
|
body: "progress-drawer-body"
|
|
47449
47463
|
}
|
|
47450
47464
|
}, {
|
|
47451
|
-
body: L(() => [q(
|
|
47465
|
+
body: L(() => [q(mY)]),
|
|
47452
47466
|
_: 1
|
|
47453
47467
|
}, 8, ["open", "description"])]);
|
|
47454
47468
|
};
|
|
47455
47469
|
}
|
|
47456
|
-
},
|
|
47470
|
+
}, bY = {
|
|
47457
47471
|
id: "channel-sidebar",
|
|
47458
47472
|
class: "channel-sidebar",
|
|
47459
47473
|
"aria-label": "频道导航"
|
|
47460
|
-
},
|
|
47474
|
+
}, xY = { class: "channel-workspace-heading" }, SY = { class: "channel-brand-icon" }, CY = { class: "channel-sidebar-content" }, wY = { class: "channel-directory-heading channel-tools-heading" }, TY = ["aria-expanded"], EY = { class: "channel-sidebar-footer" }, DY = { class: "channel-self" }, OY = { class: "channel-connection" }, kY = [
|
|
47461
47475
|
"aria-valuemax",
|
|
47462
47476
|
"aria-valuenow",
|
|
47463
47477
|
"aria-valuetext"
|
|
47464
|
-
],
|
|
47478
|
+
], AY = { class: "channel-main" }, jY = { class: "channel-header" }, MY = { class: "channel-title-icon" }, NY = { class: "channel-title" }, PY = { class: "channel-title-copy" }, FY = ["title"], IY = ["title"], LY = {
|
|
47465
47479
|
key: 0,
|
|
47466
47480
|
class: "channel-header-context"
|
|
47467
|
-
},
|
|
47481
|
+
}, RY = { class: "channel-header-actions" }, zY = {
|
|
47468
47482
|
key: 0,
|
|
47469
47483
|
class: "channel-launch-recovery",
|
|
47470
47484
|
"aria-label": "未完成的创建或启动请求"
|
|
47471
|
-
},
|
|
47485
|
+
}, BY = { role: "status" }, VY = { class: "button-row" }, HY = {
|
|
47472
47486
|
key: 1,
|
|
47473
47487
|
class: "channel-tabbar"
|
|
47474
|
-
},
|
|
47488
|
+
}, UY = { class: "channel-brief-inner" }, WY = { class: "channel-brief-heading" }, GY = ["aria-label", "aria-expanded"], KY = {
|
|
47475
47489
|
key: 0,
|
|
47476
47490
|
class: "channel-brief-preview"
|
|
47477
|
-
},
|
|
47491
|
+
}, qY = {
|
|
47478
47492
|
id: "channel-brief-content",
|
|
47479
47493
|
class: "channel-brief-content"
|
|
47480
|
-
},
|
|
47494
|
+
}, JY = ["innerHTML"], YY = { class: "channel-brief-footer" }, XY = { class: "channel-brief-status" }, ZY = { class: "channel-content" }, QY = {
|
|
47481
47495
|
key: 0,
|
|
47482
47496
|
class: "content-page channel-summary",
|
|
47483
47497
|
role: "tabpanel",
|
|
47484
47498
|
"aria-label": "共识"
|
|
47485
|
-
},
|
|
47499
|
+
}, $Y = { class: "page-heading" }, eX = {
|
|
47486
47500
|
key: 0,
|
|
47487
47501
|
class: "info-section"
|
|
47488
|
-
},
|
|
47502
|
+
}, tX = { class: "button-row" }, nX = { class: "form-footer" }, rX = {
|
|
47489
47503
|
key: 4,
|
|
47490
47504
|
class: "channel-empty"
|
|
47491
|
-
},
|
|
47505
|
+
}, iX = ["aria-valuenow", "aria-valuetext"], aX = {
|
|
47492
47506
|
key: 2,
|
|
47493
47507
|
id: "channel-member-rail",
|
|
47494
47508
|
class: "channel-member-rail",
|
|
47495
47509
|
"aria-label": "当前焦点与讨论进度"
|
|
47496
|
-
},
|
|
47510
|
+
}, oX = { class: "channel-rail-board" }, sX = {
|
|
47497
47511
|
key: 0,
|
|
47498
47512
|
class: "progress-board is-docked"
|
|
47499
|
-
},
|
|
47513
|
+
}, cX = { class: "pb-header" }, lX = { class: "pb-mode" }, uX = {
|
|
47500
47514
|
class: "pb-section",
|
|
47501
47515
|
"aria-label": "成员"
|
|
47502
|
-
},
|
|
47516
|
+
}, dX = { class: "pb-members" }, fX = { class: "pb-member-body" }, pX = { class: "pb-member-name" }, mX = {
|
|
47503
47517
|
key: 0,
|
|
47504
47518
|
class: "pb-member-model",
|
|
47505
47519
|
title: "它工作时请不要在原窗口继续操作"
|
|
47506
|
-
},
|
|
47520
|
+
}, hX = {
|
|
47507
47521
|
key: 0,
|
|
47508
47522
|
class: "pb-section",
|
|
47509
47523
|
"aria-label": "提示"
|
|
47510
|
-
},
|
|
47524
|
+
}, gX = {
|
|
47511
47525
|
key: 0,
|
|
47512
47526
|
role: "alert",
|
|
47513
47527
|
class: "pb-free-note is-error"
|
|
47514
|
-
},
|
|
47528
|
+
}, _X = {
|
|
47515
47529
|
key: 1,
|
|
47516
47530
|
role: "status",
|
|
47517
47531
|
class: "pb-free-note"
|
|
47518
|
-
},
|
|
47532
|
+
}, vX = {
|
|
47519
47533
|
key: 2,
|
|
47520
47534
|
role: "alert",
|
|
47521
47535
|
class: "pb-free-note is-error"
|
|
47522
|
-
},
|
|
47536
|
+
}, yX = {
|
|
47523
47537
|
key: 3,
|
|
47524
47538
|
role: "status",
|
|
47525
47539
|
class: "pb-free-note"
|
|
47526
|
-
},
|
|
47540
|
+
}, bX = {
|
|
47527
47541
|
class: "pb-section",
|
|
47528
47542
|
"aria-label": "邀请"
|
|
47529
|
-
},
|
|
47543
|
+
}, xX = {
|
|
47530
47544
|
key: 0,
|
|
47531
47545
|
class: "pb-free-note"
|
|
47532
|
-
},
|
|
47546
|
+
}, SX = {
|
|
47533
47547
|
key: 1,
|
|
47534
47548
|
class: "pb-section",
|
|
47535
47549
|
"aria-label": "头脑风暴"
|
|
47536
|
-
},
|
|
47550
|
+
}, CX = ["onClick"], wX = {
|
|
47537
47551
|
class: "pb-actions",
|
|
47538
47552
|
"aria-label": "操作"
|
|
47539
|
-
},
|
|
47553
|
+
}, TX = {
|
|
47540
47554
|
key: 2,
|
|
47541
47555
|
class: "progress-board is-docked"
|
|
47542
|
-
},
|
|
47556
|
+
}, EX = { class: "channel-detail-title" }, DX = { class: "info-section" }, OX = "ai-codiscuss-channel-layout", kX = 220, AX = 440, jX = 280, MX = 16, NX = 180, PX = 400, FX = 248, IX = 16, LX = 480, RX = 1200, zX = 6, BX = {
|
|
47543
47557
|
__name: "ChannelWorkspace",
|
|
47544
47558
|
setup(e) {
|
|
47545
47559
|
let { view: t, bridge: n, field: r, act: i, pending: a } = xr("discussion"), o = Z(() => t.value.room), s = /* @__PURE__ */ F(""), c = /* @__PURE__ */ F(null), l = /* @__PURE__ */ F(null), u = /* @__PURE__ */ F(null), d = /* @__PURE__ */ F(!1), f = /* @__PURE__ */ F(!0), p = /* @__PURE__ */ F(!1), m = r("state-input"), h = r("brief-input"), g = r("search-input"), _ = r("author-select"), v = {
|
|
@@ -47555,13 +47569,13 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47555
47569
|
label: "宽",
|
|
47556
47570
|
width: 1240
|
|
47557
47571
|
}
|
|
47558
|
-
}, y = Oe(), b = /* @__PURE__ */ F(y.reading), x = /* @__PURE__ */ F(y.rail), S = /* @__PURE__ */ F(y.nav), C = /* @__PURE__ */ F(typeof window > "u" ? 734 : window.innerWidth), w = /* @__PURE__ */ F(y.collapsed), T = /* @__PURE__ */ F(!0), E = /* @__PURE__ */ F(y.rail_collapsed), D = Z(() => C.value >=
|
|
47572
|
+
}, y = Oe(), b = /* @__PURE__ */ F(y.reading), x = /* @__PURE__ */ F(y.rail), S = /* @__PURE__ */ F(y.nav), C = /* @__PURE__ */ F(typeof window > "u" ? 734 : window.innerWidth), w = /* @__PURE__ */ F(y.collapsed), T = /* @__PURE__ */ F(!0), E = /* @__PURE__ */ F(y.rail_collapsed), D = Z(() => C.value >= RX), O = Z(() => t.value.tab === "discussion" && !E.value), ee = Z(() => D.value && t.value.tab === "discussion" ? E.value ? "展开频道概览" : "收起频道概览" : "频道资料与参与者"), te = Z(() => {
|
|
47559
47573
|
let e = document.createElement("template");
|
|
47560
47574
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
47561
|
-
}), k = /* @__PURE__ */ F(null), ne = /* @__PURE__ */ F(null), re = Z(() => Math.min(
|
|
47575
|
+
}), k = /* @__PURE__ */ F(null), ne = /* @__PURE__ */ F(null), re = Z(() => Math.min(PX, Math.max(NX, C.value - LX - zX))), ie = Z(() => Math.min(S.value, re.value)), ae = Z(() => ({
|
|
47562
47576
|
"--channel-reading-width": `${v[b.value].width}px`,
|
|
47563
47577
|
"--channel-rail-width": `${x.value}px`,
|
|
47564
|
-
"--channel-main-columns": w.value ? "minmax(0, 1fr)" : `${ie.value}px ${
|
|
47578
|
+
"--channel-main-columns": w.value ? "minmax(0, 1fr)" : `${ie.value}px ${zX}px minmax(0, 1fr)`
|
|
47565
47579
|
})), A = Object.entries(v).map(([e, t]) => ({
|
|
47566
47580
|
value: e,
|
|
47567
47581
|
label: t.label
|
|
@@ -47695,11 +47709,11 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47695
47709
|
}
|
|
47696
47710
|
function Oe() {
|
|
47697
47711
|
try {
|
|
47698
|
-
let e = JSON.parse(localStorage.getItem(
|
|
47712
|
+
let e = JSON.parse(localStorage.getItem(OX)) || {};
|
|
47699
47713
|
return {
|
|
47700
47714
|
reading: Object.hasOwn(v, e.reading) ? e.reading : "default",
|
|
47701
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
47702
|
-
nav: Number.isFinite(e.nav) ? Math.min(
|
|
47715
|
+
rail: Number.isFinite(e.rail) ? Math.min(AX, Math.max(kX, e.rail)) : jX,
|
|
47716
|
+
nav: Number.isFinite(e.nav) ? Math.min(PX, Math.max(NX, e.nav)) : ke(),
|
|
47703
47717
|
collapsed: e.collapsed === !0,
|
|
47704
47718
|
brief_collapsed: e.brief_collapsed === !0,
|
|
47705
47719
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -47707,7 +47721,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47707
47721
|
} catch {
|
|
47708
47722
|
return {
|
|
47709
47723
|
reading: "default",
|
|
47710
|
-
rail:
|
|
47724
|
+
rail: jX,
|
|
47711
47725
|
nav: ke(),
|
|
47712
47726
|
collapsed: !1,
|
|
47713
47727
|
brief_collapsed: !1,
|
|
@@ -47716,11 +47730,11 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47716
47730
|
}
|
|
47717
47731
|
}
|
|
47718
47732
|
function ke() {
|
|
47719
|
-
return typeof window > "u" ?
|
|
47733
|
+
return typeof window > "u" ? FX : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : FX;
|
|
47720
47734
|
}
|
|
47721
47735
|
function Ae() {
|
|
47722
47736
|
try {
|
|
47723
|
-
localStorage.setItem(
|
|
47737
|
+
localStorage.setItem(OX, JSON.stringify({
|
|
47724
47738
|
reading: b.value,
|
|
47725
47739
|
rail: x.value,
|
|
47726
47740
|
nav: S.value,
|
|
@@ -47750,19 +47764,19 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47750
47764
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
47751
47765
|
}
|
|
47752
47766
|
function Ie(e) {
|
|
47753
|
-
k.value?.pointer === e.pointerId && (x.value = Math.round(Math.min(
|
|
47767
|
+
k.value?.pointer === e.pointerId && (x.value = Math.round(Math.min(AX, Math.max(kX, k.value.width + k.value.x - e.clientX))));
|
|
47754
47768
|
}
|
|
47755
47769
|
function Le(e) {
|
|
47756
47770
|
k.value?.pointer === e.pointerId && (k.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ae());
|
|
47757
47771
|
}
|
|
47758
47772
|
function Re(e) {
|
|
47759
47773
|
let t = {
|
|
47760
|
-
ArrowLeft: x.value +
|
|
47761
|
-
ArrowRight: x.value -
|
|
47762
|
-
Home:
|
|
47763
|
-
End:
|
|
47774
|
+
ArrowLeft: x.value + MX,
|
|
47775
|
+
ArrowRight: x.value - MX,
|
|
47776
|
+
Home: kX,
|
|
47777
|
+
End: AX
|
|
47764
47778
|
};
|
|
47765
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), x.value = Math.min(
|
|
47779
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), x.value = Math.min(AX, Math.max(kX, t[e.key])), Ae());
|
|
47766
47780
|
}
|
|
47767
47781
|
function ze(e) {
|
|
47768
47782
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ne.value = {
|
|
@@ -47772,19 +47786,19 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47772
47786
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
47773
47787
|
}
|
|
47774
47788
|
function Be(e) {
|
|
47775
|
-
ne.value?.pointer === e.pointerId && (S.value = Math.round(Math.min(re.value, Math.max(
|
|
47789
|
+
ne.value?.pointer === e.pointerId && (S.value = Math.round(Math.min(re.value, Math.max(NX, ne.value.width + e.clientX - ne.value.x))));
|
|
47776
47790
|
}
|
|
47777
47791
|
function Ve(e) {
|
|
47778
47792
|
ne.value?.pointer === e.pointerId && (ne.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ae());
|
|
47779
47793
|
}
|
|
47780
47794
|
function He(e) {
|
|
47781
47795
|
let t = {
|
|
47782
|
-
ArrowLeft: ie.value -
|
|
47783
|
-
ArrowRight: ie.value +
|
|
47784
|
-
Home:
|
|
47796
|
+
ArrowLeft: ie.value - IX,
|
|
47797
|
+
ArrowRight: ie.value + IX,
|
|
47798
|
+
Home: NX,
|
|
47785
47799
|
End: re.value
|
|
47786
47800
|
};
|
|
47787
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), S.value = Math.min(re.value, Math.max(
|
|
47801
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), S.value = Math.min(re.value, Math.max(NX, t[e.key])), Ae());
|
|
47788
47802
|
}
|
|
47789
47803
|
return (e, r) => {
|
|
47790
47804
|
let v = zk, y = GV, S = Gk, C = uA, E = VV, se = LV, me = xV, Oe = zV, ke = FV, Ae = MV, Me = EV, Pe = pV, Ue = dV, We = cV;
|
|
@@ -47796,14 +47810,14 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47796
47810
|
}]),
|
|
47797
47811
|
style: fe(ae.value)
|
|
47798
47812
|
}, [
|
|
47799
|
-
K("aside",
|
|
47800
|
-
K("header",
|
|
47801
|
-
K("span",
|
|
47813
|
+
K("aside", bY, [
|
|
47814
|
+
K("header", xY, [
|
|
47815
|
+
K("span", SY, [q(v, { name: "i-lucide-messages-square" })]),
|
|
47802
47816
|
r[26] ||= K("strong", null, "共议", -1),
|
|
47803
47817
|
r[27] ||= K("span", null, "AI CoDiscuss", -1)
|
|
47804
47818
|
]),
|
|
47805
|
-
K("div",
|
|
47806
|
-
q(
|
|
47819
|
+
K("div", CY, [
|
|
47820
|
+
q(EJ, {
|
|
47807
47821
|
onSelect: Se,
|
|
47808
47822
|
onManage: be,
|
|
47809
47823
|
onCreate: we,
|
|
@@ -47812,12 +47826,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47812
47826
|
onDeleteFolder: De,
|
|
47813
47827
|
onArchives: xe
|
|
47814
47828
|
}),
|
|
47815
|
-
K("div",
|
|
47829
|
+
K("div", wY, [K("button", {
|
|
47816
47830
|
type: "button",
|
|
47817
47831
|
class: "channel-section-toggle",
|
|
47818
47832
|
"aria-expanded": f.value,
|
|
47819
47833
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
47820
|
-
}, [q(v, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[28] ||= J("频道工具", -1)], 8,
|
|
47834
|
+
}, [q(v, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[28] ||= J("频道工具", -1)], 8, TY)]),
|
|
47821
47835
|
f.value ? (U(), G(y, {
|
|
47822
47836
|
key: 0,
|
|
47823
47837
|
items: ve.value,
|
|
@@ -47833,7 +47847,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47833
47847
|
}
|
|
47834
47848
|
}, null, 8, ["items"])) : Y("", !0)
|
|
47835
47849
|
]),
|
|
47836
|
-
K("footer",
|
|
47850
|
+
K("footer", EY, [
|
|
47837
47851
|
q(S, {
|
|
47838
47852
|
src: I(n).identities[I(_)]?.icon,
|
|
47839
47853
|
text: I(n).identities[I(_)]?.initials,
|
|
@@ -47846,7 +47860,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47846
47860
|
"alt",
|
|
47847
47861
|
"class"
|
|
47848
47862
|
]),
|
|
47849
|
-
K("div",
|
|
47863
|
+
K("div", DY, [K("strong", null, P(I(n).display_name(I(_))), 1), K("div", OY, [K("span", { class: M({ connected: I(t).connected }) }, null, 2), J(P(I(t).connected ? "网站已连接" : "网站未连接"), 1)])]),
|
|
47850
47864
|
q(E, { text: "外观设置" }, {
|
|
47851
47865
|
default: L(() => [q(C, {
|
|
47852
47866
|
icon: "i-lucide-settings-2",
|
|
@@ -47869,7 +47883,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47869
47883
|
"aria-label": "调整频道栏宽度",
|
|
47870
47884
|
"aria-orientation": "vertical",
|
|
47871
47885
|
"aria-controls": "channel-sidebar",
|
|
47872
|
-
"aria-valuemin":
|
|
47886
|
+
"aria-valuemin": NX,
|
|
47873
47887
|
"aria-valuemax": re.value,
|
|
47874
47888
|
"aria-valuenow": ie.value,
|
|
47875
47889
|
"aria-valuetext": `${ie.value} 像素`,
|
|
@@ -47880,9 +47894,9 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47880
47894
|
onPointercancel: Ve,
|
|
47881
47895
|
onLostpointercapture: Ve,
|
|
47882
47896
|
onKeydown: He
|
|
47883
|
-
}, null, 40,
|
|
47884
|
-
K("main",
|
|
47885
|
-
K("header",
|
|
47897
|
+
}, null, 40, kY)),
|
|
47898
|
+
K("main", AY, [
|
|
47899
|
+
K("header", jY, [
|
|
47886
47900
|
q(E, { text: w.value ? "展开频道栏" : "收起频道栏" }, {
|
|
47887
47901
|
default: L(() => [q(C, {
|
|
47888
47902
|
icon: "i-lucide-panel-left",
|
|
@@ -47907,13 +47921,13 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47907
47921
|
"aria-expanded": d.value,
|
|
47908
47922
|
onClick: r[3] ||= (e) => d.value = !0
|
|
47909
47923
|
}, null, 8, ["aria-expanded"]),
|
|
47910
|
-
K("span",
|
|
47911
|
-
K("div",
|
|
47924
|
+
K("span", MY, [q(v, { name: "i-lucide-hash" })]),
|
|
47925
|
+
K("div", NY, [K("div", PY, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, FY), o.value?.floor && !ce.value ? (U(), W("div", {
|
|
47912
47926
|
key: 0,
|
|
47913
47927
|
class: M(["channel-floor-status", { "is-held": o.value.floor.holder }]),
|
|
47914
47928
|
role: "status",
|
|
47915
47929
|
title: `发言权:${I(n).floor_status(o.value)}`
|
|
47916
|
-
}, [q(v, { name: "i-lucide-mic" }), K("span", null, "发言权:" + P(I(n).floor_status(o.value)), 1)], 10,
|
|
47930
|
+
}, [q(v, { name: "i-lucide-mic" }), K("span", null, "发言权:" + P(I(n).floor_status(o.value)), 1)], 10, IY)) : Y("", !0)]), o.value?.archived ? (U(), G(se, {
|
|
47917
47931
|
key: 0,
|
|
47918
47932
|
color: "neutral",
|
|
47919
47933
|
variant: "subtle",
|
|
@@ -47922,12 +47936,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47922
47936
|
default: L(() => [...r[29] ||= [J("已存档", -1)]]),
|
|
47923
47937
|
_: 1
|
|
47924
47938
|
})) : Y("", !0)]),
|
|
47925
|
-
o.value ? (U(), W("span",
|
|
47939
|
+
o.value ? (U(), W("span", LY, [
|
|
47926
47940
|
J(P(le.value.find((e) => e.value === I(t).tab)?.label), 1),
|
|
47927
47941
|
r[30] ||= K("span", null, "·", -1),
|
|
47928
47942
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
47929
47943
|
])) : Y("", !0),
|
|
47930
|
-
K("div",
|
|
47944
|
+
K("div", RY, [
|
|
47931
47945
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
47932
47946
|
key: 0,
|
|
47933
47947
|
class: "channel-search",
|
|
@@ -47985,7 +47999,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
47985
47999
|
])]),
|
|
47986
48000
|
_: 1
|
|
47987
48001
|
})) : Y("", !0),
|
|
47988
|
-
o.value && !(O.value && D.value) ? (U(), G(
|
|
48002
|
+
o.value && !(O.value && D.value) ? (U(), G(yY, { key: 2 })) : Y("", !0)
|
|
47989
48003
|
]),
|
|
47990
48004
|
q(E, { text: ee.value }, {
|
|
47991
48005
|
default: L(() => [q(C, {
|
|
@@ -48006,12 +48020,12 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48006
48020
|
_: 1
|
|
48007
48021
|
}, 8, ["text"])
|
|
48008
48022
|
]),
|
|
48009
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
48023
|
+
I(t).launch.recoveries.length ? (U(), W("section", zY, [
|
|
48010
48024
|
r[31] ||= K("h2", null, "继续未完成的请求", -1),
|
|
48011
48025
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
48012
48026
|
K("strong", null, P(e.title), 1),
|
|
48013
|
-
K("p",
|
|
48014
|
-
K("div",
|
|
48027
|
+
K("p", BY, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
48028
|
+
K("div", VY, [
|
|
48015
48029
|
q(C, {
|
|
48016
48030
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
48017
48031
|
size: "sm",
|
|
@@ -48044,7 +48058,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48044
48058
|
]))), 128)),
|
|
48045
48059
|
r[32] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
48046
48060
|
])) : Y("", !0),
|
|
48047
|
-
o.value ? (U(), W("div",
|
|
48061
|
+
o.value ? (U(), W("div", HY, [q(Oe, {
|
|
48048
48062
|
modelValue: oe.value,
|
|
48049
48063
|
"onUpdate:modelValue": r[8] ||= (e) => oe.value = e,
|
|
48050
48064
|
items: le.value,
|
|
@@ -48059,7 +48073,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48059
48073
|
key: 2,
|
|
48060
48074
|
class: M(["channel-host-brief", { "is-collapsed": T.value }]),
|
|
48061
48075
|
"aria-label": "主持简报"
|
|
48062
|
-
}, [K("div",
|
|
48076
|
+
}, [K("div", UY, [K("div", WY, [K("button", {
|
|
48063
48077
|
type: "button",
|
|
48064
48078
|
class: "channel-brief-toggle",
|
|
48065
48079
|
"aria-label": T.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -48069,8 +48083,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48069
48083
|
}, [
|
|
48070
48084
|
q(v, { name: T.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
48071
48085
|
K("strong", null, "主持简报" + P(T.value ? ":" : ""), 1),
|
|
48072
|
-
T.value ? (U(), W("span",
|
|
48073
|
-
], 8,
|
|
48086
|
+
T.value ? (U(), W("span", KY, P(te.value), 1)) : Y("", !0)
|
|
48087
|
+
], 8, GY), T.value ? Y("", !0) : (U(), G(C, {
|
|
48074
48088
|
key: 0,
|
|
48075
48089
|
label: "更新简报",
|
|
48076
48090
|
color: "neutral",
|
|
@@ -48078,30 +48092,30 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48078
48092
|
size: "xs",
|
|
48079
48093
|
class: "channel-brief-update",
|
|
48080
48094
|
onClick: r[9] ||= (e) => I(i)("tab", "context")
|
|
48081
|
-
}))]), vr(K("div",
|
|
48095
|
+
}))]), vr(K("div", qY, [K("div", {
|
|
48082
48096
|
class: "channel-brief-text markdown-body",
|
|
48083
48097
|
innerHTML: o.value.rendered_brief
|
|
48084
|
-
}, null, 8,
|
|
48098
|
+
}, null, 8, JY), K("div", YY, [K("span", XY, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !T.value]])])], 2)) : Y("", !0),
|
|
48085
48099
|
o.value ? (U(), W("div", {
|
|
48086
48100
|
key: 3,
|
|
48087
48101
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
48088
|
-
}, [K("div",
|
|
48102
|
+
}, [K("div", ZY, [
|
|
48089
48103
|
vr(q(aW, {
|
|
48090
48104
|
onDetail: Ce,
|
|
48091
48105
|
onEdit: r[10] ||= (e) => s.value = "edit"
|
|
48092
48106
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
48093
|
-
I(t).tab === "context" ? (U(), W("section",
|
|
48094
|
-
K("div",
|
|
48107
|
+
I(t).tab === "context" ? (U(), W("section", QY, [
|
|
48108
|
+
K("div", $Y, [r[33] ||= K("div", null, [K("h2", null, "共识与分歧"), K("p", null, "整理讨论进展,用 #消息编号 保留依据。")], -1), q(se, {
|
|
48095
48109
|
color: "neutral",
|
|
48096
48110
|
variant: "outline"
|
|
48097
48111
|
}, {
|
|
48098
48112
|
default: L(() => [J("截止 #" + P(o.value.state_until), 1)]),
|
|
48099
48113
|
_: 1
|
|
48100
48114
|
})]),
|
|
48101
|
-
Array.isArray(o.value.latest_receipts) && o.value.latest_receipts.length ? (U(), W("section",
|
|
48115
|
+
Array.isArray(o.value.latest_receipts) && o.value.latest_receipts.length ? (U(), W("section", eX, [
|
|
48102
48116
|
r[34] ||= K("h3", null, "最新运行回执", -1),
|
|
48103
48117
|
r[35] ||= K("p", { class: "fine-print" }, "以下回执独立于摘要更新;晚于摘要的回执可能尚未整理,实际运行结果请查看原文。", -1),
|
|
48104
|
-
K("div",
|
|
48118
|
+
K("div", tX, [(U(!0), W(H, null, B(o.value.latest_receipts, (e) => (U(), G(C, {
|
|
48105
48119
|
key: e.id,
|
|
48106
48120
|
label: `${I(n).display_name(e.author)} #${e.id} · ${new Date(e.created_at).toLocaleString("zh-CN")}${e.id > o.value.state_until ? " · 晚于摘要" : ""}`,
|
|
48107
48121
|
variant: "link",
|
|
@@ -48144,7 +48158,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48144
48158
|
}, null, 8, ["modelValue"])]),
|
|
48145
48159
|
_: 1
|
|
48146
48160
|
}),
|
|
48147
|
-
K("div",
|
|
48161
|
+
K("div", nX, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(C, {
|
|
48148
48162
|
type: "submit",
|
|
48149
48163
|
color: "neutral",
|
|
48150
48164
|
icon: "i-lucide-check",
|
|
@@ -48159,7 +48173,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48159
48173
|
onOpen: r[14] ||= (e) => s.value = e,
|
|
48160
48174
|
onDetail: Ce
|
|
48161
48175
|
})) : Y("", !0)
|
|
48162
|
-
])], 2)) : (U(), W("div",
|
|
48176
|
+
])], 2)) : (U(), W("div", rX, [
|
|
48163
48177
|
q(v, { name: "i-lucide-hash" }),
|
|
48164
48178
|
r[36] ||= K("h2", null, "新建一个讨论频道", -1),
|
|
48165
48179
|
r[37] ||= K("p", null, "每个频道围绕一个议题,保留所有人的观点。", -1),
|
|
@@ -48179,8 +48193,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48179
48193
|
"aria-label": "调整右侧栏宽度",
|
|
48180
48194
|
"aria-orientation": "vertical",
|
|
48181
48195
|
"aria-controls": "channel-member-rail",
|
|
48182
|
-
"aria-valuemin":
|
|
48183
|
-
"aria-valuemax":
|
|
48196
|
+
"aria-valuemin": kX,
|
|
48197
|
+
"aria-valuemax": AX,
|
|
48184
48198
|
"aria-valuenow": x.value,
|
|
48185
48199
|
"aria-valuetext": `${x.value} 像素`,
|
|
48186
48200
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -48190,10 +48204,10 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48190
48204
|
onPointercancel: Le,
|
|
48191
48205
|
onLostpointercapture: Le,
|
|
48192
48206
|
onKeydown: Re
|
|
48193
|
-
}, null, 40,
|
|
48194
|
-
O.value ? (U(), W("aside",
|
|
48195
|
-
K("header",
|
|
48196
|
-
K("section",
|
|
48207
|
+
}, null, 40, iX)) : Y("", !0),
|
|
48208
|
+
O.value ? (U(), W("aside", aX, [K("section", oX, [o.value && ce.value ? (U(), W("div", sX, [
|
|
48209
|
+
K("header", cX, [r[38] ||= K("strong", null, "自由协作", -1), K("span", lX, P(he.value ? `${I(n).display_name(he.value.name)} 协助主持` : "你来主持"), 1)]),
|
|
48210
|
+
K("section", uX, [r[40] ||= K("h4", null, "成员", -1), K("ul", dX, [(U(!0), W(H, null, B(o.value.free?.members || [], (e) => (U(), W("li", {
|
|
48197
48211
|
key: e.id,
|
|
48198
48212
|
class: "pb-member"
|
|
48199
48213
|
}, [
|
|
@@ -48209,8 +48223,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48209
48223
|
"alt",
|
|
48210
48224
|
"class"
|
|
48211
48225
|
]),
|
|
48212
|
-
K("div",
|
|
48213
|
-
K("div",
|
|
48226
|
+
K("div", fX, [
|
|
48227
|
+
K("div", pX, [
|
|
48214
48228
|
J(P(I(n).display_name(e.name)), 1),
|
|
48215
48229
|
e.role === "host" ? (U(), G(v, {
|
|
48216
48230
|
key: 0,
|
|
@@ -48223,7 +48237,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48223
48237
|
}[e.access] || "本机自动"), 1)
|
|
48224
48238
|
]),
|
|
48225
48239
|
K("div", { class: M(["pb-member-status", `is-${ge(e)}`]) }, [r[39] ||= K("span", { class: "pb-dot" }, null, -1), J(P(_e(e)), 1)], 2),
|
|
48226
|
-
e.session_mode === "borrowed" ? (U(), W("p",
|
|
48240
|
+
e.session_mode === "borrowed" ? (U(), W("p", mX, "借用你正在使用的会话")) : Y("", !0)
|
|
48227
48241
|
]),
|
|
48228
48242
|
q(Me, {
|
|
48229
48243
|
items: N(e),
|
|
@@ -48241,7 +48255,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48241
48255
|
_: 2
|
|
48242
48256
|
}, 1032, ["items"])
|
|
48243
48257
|
]))), 128))])]),
|
|
48244
|
-
o.value.free?.conflicts?.length || o.value.free?.halted_chains?.length || I(t).free_error || I(t).free_notice || I(t).access?.error || I(t).access?.notice ? (U(), W("section",
|
|
48258
|
+
o.value.free?.conflicts?.length || o.value.free?.halted_chains?.length || I(t).free_error || I(t).free_notice || I(t).access?.error || I(t).access?.notice ? (U(), W("section", hX, [
|
|
48245
48259
|
r[41] ||= K("h4", null, "提示", -1),
|
|
48246
48260
|
(U(!0), W(H, null, B(o.value.free?.conflicts || [], (e) => (U(), W("p", {
|
|
48247
48261
|
key: e.executions.join("-"),
|
|
@@ -48251,10 +48265,10 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48251
48265
|
key: e.chain_id,
|
|
48252
48266
|
class: "pb-free-note"
|
|
48253
48267
|
}, "#" + P(e.chain_id) + " 的任务链已停:" + P(e.reason === "budget" ? `达到 ${o.value.free.max_auto_hops} 次上限` : "派出的成员都失败了") + ";发新消息即重新开始", 1))), 128)),
|
|
48254
|
-
I(t).free_error ? (U(), W("p",
|
|
48255
|
-
I(t).access?.error ? (U(), W("p",
|
|
48268
|
+
I(t).free_error ? (U(), W("p", gX, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", _X, P(I(t).free_notice), 1)) : Y("", !0),
|
|
48269
|
+
I(t).access?.error ? (U(), W("p", vX, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", yX, P(I(t).access.notice), 1)) : Y("", !0)
|
|
48256
48270
|
])) : Y("", !0),
|
|
48257
|
-
K("section",
|
|
48271
|
+
K("section", bX, [
|
|
48258
48272
|
r[42] ||= K("h4", null, "邀请 AI", -1),
|
|
48259
48273
|
K("form", {
|
|
48260
48274
|
class: "pb-free-invite",
|
|
@@ -48289,15 +48303,15 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48289
48303
|
size: "sm",
|
|
48290
48304
|
class: "w-26"
|
|
48291
48305
|
}, null, 8, ["modelValue"])], 32),
|
|
48292
|
-
de.value === "runner" && !I(t).launch.available ? (U(), W("p",
|
|
48306
|
+
de.value === "runner" && !I(t).launch.available ? (U(), W("p", xX, "程序唤醒需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0)
|
|
48293
48307
|
]),
|
|
48294
|
-
o.value.linked_rooms?.length ? (U(), W("section",
|
|
48308
|
+
o.value.linked_rooms?.length ? (U(), W("section", SX, [r[43] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(o.value.linked_rooms, (e) => (U(), W("button", {
|
|
48295
48309
|
key: e.id,
|
|
48296
48310
|
type: "button",
|
|
48297
48311
|
class: "pb-link pb-free-linked",
|
|
48298
48312
|
onClick: (t) => I(i)("room", e.id)
|
|
48299
|
-
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8,
|
|
48300
|
-
K("section",
|
|
48313
|
+
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, CX))), 128))])) : Y("", !0),
|
|
48314
|
+
K("section", wX, [q(C, {
|
|
48301
48315
|
icon: "i-lucide-user-plus",
|
|
48302
48316
|
label: "邀请",
|
|
48303
48317
|
size: "sm",
|
|
@@ -48319,10 +48333,10 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48319
48333
|
title: "用当前成员新建一场讨论房间,收束后可把结论发回这里",
|
|
48320
48334
|
onClick: j
|
|
48321
48335
|
})])
|
|
48322
|
-
])) : o.value ? (U(), G(
|
|
48336
|
+
])) : o.value ? (U(), G(mY, {
|
|
48323
48337
|
key: 1,
|
|
48324
48338
|
docked: ""
|
|
48325
|
-
})) : (U(), W("div",
|
|
48339
|
+
})) : (U(), W("div", TX, [...r[44] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无频道,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
|
|
48326
48340
|
q(Ue, {
|
|
48327
48341
|
open: d.value,
|
|
48328
48342
|
"onUpdate:open": r[21] ||= (e) => d.value = e,
|
|
@@ -48334,7 +48348,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48334
48348
|
body: "channel-drawer-body"
|
|
48335
48349
|
}
|
|
48336
48350
|
}, {
|
|
48337
|
-
body: L(() => [q(
|
|
48351
|
+
body: L(() => [q(EJ, {
|
|
48338
48352
|
onSelect: Se,
|
|
48339
48353
|
onManage: be,
|
|
48340
48354
|
onCreate: we,
|
|
@@ -48365,7 +48379,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48365
48379
|
}
|
|
48366
48380
|
}, {
|
|
48367
48381
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
48368
|
-
K("div",
|
|
48382
|
+
K("div", EX, [q(v, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
48369
48383
|
(U(), W(H, null, B([
|
|
48370
48384
|
{
|
|
48371
48385
|
key: "goal",
|
|
@@ -48392,7 +48406,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48392
48406
|
class: "info-section"
|
|
48393
48407
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
48394
48408
|
q(We),
|
|
48395
|
-
K("section",
|
|
48409
|
+
K("section", DX, [r[45] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(ye.value, (e) => (U(), W("div", {
|
|
48396
48410
|
key: e.name,
|
|
48397
48411
|
class: "expert-row"
|
|
48398
48412
|
}, [
|
|
@@ -48425,7 +48439,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48425
48439
|
], 64)) : Y("", !0)]),
|
|
48426
48440
|
_: 1
|
|
48427
48441
|
}, 8, ["open"]),
|
|
48428
|
-
q(
|
|
48442
|
+
q(rJ, {
|
|
48429
48443
|
modelValue: s.value,
|
|
48430
48444
|
"onUpdate:modelValue": r[24] ||= (e) => s.value = e,
|
|
48431
48445
|
"reading-width": b.value,
|
|
@@ -48445,7 +48459,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48445
48459
|
], 6);
|
|
48446
48460
|
};
|
|
48447
48461
|
}
|
|
48448
|
-
},
|
|
48462
|
+
}, VX = {
|
|
48449
48463
|
__name: "App",
|
|
48450
48464
|
setup(e) {
|
|
48451
48465
|
return br("discussion", oV()), (e, t) => {
|
|
@@ -48456,7 +48470,7 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48456
48470
|
toaster: null
|
|
48457
48471
|
}, {
|
|
48458
48472
|
default: L(() => [q(I(Az), { "reduced-motion": "user" }, {
|
|
48459
|
-
default: L(() => [q(
|
|
48473
|
+
default: L(() => [q(BX)]),
|
|
48460
48474
|
_: 1
|
|
48461
48475
|
})]),
|
|
48462
48476
|
_: 1
|
|
@@ -48466,8 +48480,8 @@ var YG = /*#__PURE__*/ nH({
|
|
|
48466
48480
|
};
|
|
48467
48481
|
//#endregion
|
|
48468
48482
|
//#region frontend/main.js
|
|
48469
|
-
function
|
|
48470
|
-
bu(
|
|
48483
|
+
function HX() {
|
|
48484
|
+
bu(VX).use(fh).mount("#modern-root");
|
|
48471
48485
|
}
|
|
48472
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
48486
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", HX) : HX();
|
|
48473
48487
|
//#endregion
|