@deep-eye/core 1.2.45 → 1.2.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var WR = Object.defineProperty;
|
|
2
2
|
var VR = (t, A, e) => A in t ? WR(t, A, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[A] = e;
|
|
3
3
|
var de = (t, A, e) => VR(t, typeof A != "symbol" ? A + "" : A, e);
|
|
4
|
-
import { computed as $, unref as _A, ref as uA, shallowRef as tc, defineComponent as oe, watch as Oe, nextTick as Te, onMounted as Ar, onBeforeUnmount as er, openBlock as Y, createElementBlock as P, normalizeStyle as di, createElementVNode as
|
|
4
|
+
import { computed as $, unref as _A, ref as uA, shallowRef as tc, defineComponent as oe, watch as Oe, nextTick as Te, onMounted as Ar, onBeforeUnmount as er, openBlock as Y, createElementBlock as P, normalizeStyle as di, createElementVNode as M, normalizeClass as Be, renderSlot as be, Fragment as Ge, toDisplayString as EA, createCommentVNode as DA, createStaticVNode as fs, inject as Cg, h as eo, createBlock as se, shallowReactive as Pu, Teleport as f0, createVNode as De, renderList as Qt, withModifiers as Gr, toRefs as zR, toValue as WC, watchEffect as E3, onUpdated as v3, onUnmounted as Kv, warn as XR, Transition as Za, withCtx as Je, createTextVNode as qv, TransitionGroup as jR, toRef as $R, provide as m3, resolveDynamicComponent as Jn, withDirectives as d0, vModelText as Pv, useSlots as y3, createSlots as Wo, mergeProps as Vo, normalizeProps as Xr, guardReactiveProps as Bn, render as Iy, vShow as w3, withKeys as A7, useId as e7, defineAsyncComponent as ph, Suspense as t7 } from "vue";
|
|
5
5
|
import * as Ee from "d3";
|
|
6
6
|
import { gsap as i7 } from "gsap";
|
|
7
7
|
import { useManualRefHistory as r7, cloneFnJSON as fy, useResizeObserver as n7 } from "@vueuse/core";
|
|
@@ -819,7 +819,7 @@ const N7 = {
|
|
|
819
819
|
// getLinkStyle,
|
|
820
820
|
getBackgroundStyle: I
|
|
821
821
|
} = u7(() => i.theme, i.nodeStyle, i.linkStyle), f = $(() => `toolbar-${i.toolbarPosition}`), d = $(() => I());
|
|
822
|
-
let B = null, Q = Ee.zoomIdentity, p = !1, E = !1, v = null, y = !1, D = null, k = { vx: 0, vy: 0 }, b = "", S = !1, x = !1, F = null,
|
|
822
|
+
let B = null, Q = Ee.zoomIdentity, p = !1, E = !1, v = null, y = !1, D = null, k = { vx: 0, vy: 0 }, b = "", S = !1, x = !1, F = null, R = null, T = !0, H = !1;
|
|
823
823
|
const U = /* @__PURE__ */ new Set(), G = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), AA = uA(null), eA = uA(null), oA = uA(1), sA = $(() => Math.round(oA.value * 100)), gA = (Z) => i.expandable ? (Z == null ? void 0 : Z.expanded) !== !1 : !0, IA = (Z) => i.expandable && Z.expanded === !1 ? null : Z.children, LA = $(() => {
|
|
824
824
|
if (!eA.value) return 0;
|
|
825
825
|
let Z = 0;
|
|
@@ -1280,7 +1280,7 @@ const N7 = {
|
|
|
1280
1280
|
rA
|
|
1281
1281
|
), qe != null && qe.activated && Ue.classed("is-dragging", (O) => O.data.id === (qe == null ? void 0 : qe.node.data.id));
|
|
1282
1282
|
}, ti = (Z) => {
|
|
1283
|
-
i.expandable && Z.data && (x || (S &&
|
|
1283
|
+
i.expandable && Z.data && (x || (S && R && (R.kill(), R = null, S = !1), F && (clearTimeout(F), F = null), U.clear(), F = setTimeout(() => {
|
|
1284
1284
|
if (x) return;
|
|
1285
1285
|
x = !0, p = !0;
|
|
1286
1286
|
const V = Z.data.expanded !== !1;
|
|
@@ -1473,12 +1473,12 @@ const N7 = {
|
|
|
1473
1473
|
const it = 100, ii = ce - pe + it * 2, dr = ZA - jA + it * 2, Ii = cA / ii, Zi = rA / dr, Ht = Math.min(Ii, Zi, 1.2), ee = Z.x || 0, Ue = Z.y || 0, O = cA / 2 - Ue * Ht, FA = rA / 2 - ee * Ht;
|
|
1474
1474
|
if (B && a.value) {
|
|
1475
1475
|
const $A = Ee.zoomIdentity.translate(O, FA).scale(Ht), Pe = V !== void 0 ? V : nA.centerDuration;
|
|
1476
|
-
|
|
1476
|
+
R && (R.kill(), R = null), R = fe($A, {
|
|
1477
1477
|
duration: Pe,
|
|
1478
1478
|
ease: nA.centerEase,
|
|
1479
1479
|
syncZoom: !0,
|
|
1480
1480
|
onComplete: () => {
|
|
1481
|
-
S = !1,
|
|
1481
|
+
S = !1, R = null;
|
|
1482
1482
|
}
|
|
1483
1483
|
});
|
|
1484
1484
|
}
|
|
@@ -1497,12 +1497,12 @@ const N7 = {
|
|
|
1497
1497
|
const pe = 80, ce = ZA - jA + pe * 2, it = wA - mA + pe * 2, ii = Z / ce, dr = V / it, Ii = Math.min(ii, dr, 1.2), Zi = (mA + wA) / 2, Ht = (jA + ZA) / 2, ee = Z / 2 - Ht * Ii, Ue = V / 2 - Zi * Ii;
|
|
1498
1498
|
if (B && a.value) {
|
|
1499
1499
|
const O = Ee.zoomIdentity.translate(ee, Ue).scale(Ii);
|
|
1500
|
-
|
|
1500
|
+
R && (R.kill(), R = null), R = fe(O, {
|
|
1501
1501
|
duration: nA.centerDuration,
|
|
1502
1502
|
ease: nA.centerEase,
|
|
1503
1503
|
syncZoom: !0,
|
|
1504
1504
|
onComplete: () => {
|
|
1505
|
-
S = !1,
|
|
1505
|
+
S = !1, R = null;
|
|
1506
1506
|
}
|
|
1507
1507
|
});
|
|
1508
1508
|
}
|
|
@@ -1543,7 +1543,7 @@ const N7 = {
|
|
|
1543
1543
|
St();
|
|
1544
1544
|
const rA = nA.centerDuration * 1e3;
|
|
1545
1545
|
setTimeout(() => {
|
|
1546
|
-
S = !1,
|
|
1546
|
+
S = !1, R = null;
|
|
1547
1547
|
}, rA + 80);
|
|
1548
1548
|
}, 50);
|
|
1549
1549
|
});
|
|
@@ -1658,7 +1658,7 @@ const N7 = {
|
|
|
1658
1658
|
});
|
|
1659
1659
|
});
|
|
1660
1660
|
}), er(() => {
|
|
1661
|
-
B && n.value && Ee.select(n.value).on(".zoom", null), B = null, v == null || v.kill(), v = null,
|
|
1661
|
+
B && n.value && Ee.select(n.value).on(".zoom", null), B = null, v == null || v.kill(), v = null, R == null || R.kill(), R = null, F && (clearTimeout(F), F = null), U.clear(), G.clear(), z.clear();
|
|
1662
1662
|
});
|
|
1663
1663
|
const fA = () => {
|
|
1664
1664
|
St();
|
|
@@ -1788,14 +1788,14 @@ const N7 = {
|
|
|
1788
1788
|
style: di(ie.value),
|
|
1789
1789
|
role: "tree"
|
|
1790
1790
|
}, [
|
|
1791
|
-
|
|
1791
|
+
M("g", {
|
|
1792
1792
|
ref_key: "svgGroupRef",
|
|
1793
1793
|
ref: a,
|
|
1794
1794
|
class: "mindmap-group"
|
|
1795
1795
|
}, [...V[0] || (V[0] = [
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1796
|
+
M("g", { class: "links" }, null, -1),
|
|
1797
|
+
M("g", { class: "nodes" }, null, -1),
|
|
1798
|
+
M("g", {
|
|
1799
1799
|
class: "drag-overlay",
|
|
1800
1800
|
"pointer-events": "none"
|
|
1801
1801
|
}, null, -1)
|
|
@@ -1817,12 +1817,12 @@ const N7 = {
|
|
|
1817
1817
|
scale: oA.value,
|
|
1818
1818
|
visibleNodeCount: LA.value
|
|
1819
1819
|
}, void 0, !0) : (Y(), P(Ge, { key: 1 }, [
|
|
1820
|
-
|
|
1820
|
+
M("button", {
|
|
1821
1821
|
class: "toolbar-btn",
|
|
1822
1822
|
title: "缩小",
|
|
1823
1823
|
onClick: Fa
|
|
1824
1824
|
}, [...V[1] || (V[1] = [
|
|
1825
|
-
|
|
1825
|
+
M("svg", {
|
|
1826
1826
|
width: "18",
|
|
1827
1827
|
height: "18",
|
|
1828
1828
|
viewBox: "0 0 24 24",
|
|
@@ -1830,18 +1830,18 @@ const N7 = {
|
|
|
1830
1830
|
stroke: "currentColor",
|
|
1831
1831
|
"stroke-width": "2"
|
|
1832
1832
|
}, [
|
|
1833
|
-
|
|
1833
|
+
M("circle", {
|
|
1834
1834
|
cx: "11",
|
|
1835
1835
|
cy: "11",
|
|
1836
1836
|
r: "8"
|
|
1837
1837
|
}),
|
|
1838
|
-
|
|
1838
|
+
M("line", {
|
|
1839
1839
|
x1: "21",
|
|
1840
1840
|
y1: "21",
|
|
1841
1841
|
x2: "16.65",
|
|
1842
1842
|
y2: "16.65"
|
|
1843
1843
|
}),
|
|
1844
|
-
|
|
1844
|
+
M("line", {
|
|
1845
1845
|
x1: "8",
|
|
1846
1846
|
y1: "11",
|
|
1847
1847
|
x2: "14",
|
|
@@ -1850,20 +1850,20 @@ const N7 = {
|
|
|
1850
1850
|
], -1)
|
|
1851
1851
|
])]),
|
|
1852
1852
|
t.showScale ? (Y(), P("div", N7, EA(sA.value) + "%", 1)) : DA("", !0),
|
|
1853
|
-
|
|
1853
|
+
M("button", {
|
|
1854
1854
|
class: "toolbar-btn",
|
|
1855
1855
|
title: "放大",
|
|
1856
1856
|
onClick: nr
|
|
1857
1857
|
}, [...V[2] || (V[2] = [
|
|
1858
1858
|
fs('<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-dc099d20><circle cx="11" cy="11" r="8" data-v-dc099d20></circle><line x1="21" y1="21" x2="16.65" y2="16.65" data-v-dc099d20></line><line x1="11" y1="8" x2="11" y2="14" data-v-dc099d20></line><line x1="8" y1="11" x2="14" y2="11" data-v-dc099d20></line></svg>', 1)
|
|
1859
1859
|
])]),
|
|
1860
|
-
V[8] || (V[8] =
|
|
1861
|
-
|
|
1860
|
+
V[8] || (V[8] = M("div", { class: "toolbar-divider" }, null, -1)),
|
|
1861
|
+
M("button", {
|
|
1862
1862
|
class: "toolbar-btn",
|
|
1863
1863
|
title: "适应画布",
|
|
1864
1864
|
onClick: Vt
|
|
1865
1865
|
}, [...V[3] || (V[3] = [
|
|
1866
|
-
|
|
1866
|
+
M("svg", {
|
|
1867
1867
|
width: "18",
|
|
1868
1868
|
height: "18",
|
|
1869
1869
|
viewBox: "0 0 24 24",
|
|
@@ -1871,7 +1871,7 @@ const N7 = {
|
|
|
1871
1871
|
stroke: "currentColor",
|
|
1872
1872
|
"stroke-width": "2"
|
|
1873
1873
|
}, [
|
|
1874
|
-
|
|
1874
|
+
M("path", { d: "M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3" })
|
|
1875
1875
|
], -1)
|
|
1876
1876
|
])]),
|
|
1877
1877
|
t.expandable ? (Y(), P("div", x7)) : DA("", !0),
|
|
@@ -1882,30 +1882,30 @@ const N7 = {
|
|
|
1882
1882
|
onClick: Es
|
|
1883
1883
|
}, [
|
|
1884
1884
|
te.value ? (Y(), P("svg", R7, [...V[5] || (V[5] = [
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1885
|
+
M("polyline", { points: "4 14 10 14 10 20" }, null, -1),
|
|
1886
|
+
M("polyline", { points: "20 10 14 10 14 4" }, null, -1),
|
|
1887
|
+
M("line", {
|
|
1888
1888
|
x1: "14",
|
|
1889
1889
|
y1: "10",
|
|
1890
1890
|
x2: "21",
|
|
1891
1891
|
y2: "3"
|
|
1892
1892
|
}, null, -1),
|
|
1893
|
-
|
|
1893
|
+
M("line", {
|
|
1894
1894
|
x1: "3",
|
|
1895
1895
|
y1: "21",
|
|
1896
1896
|
x2: "10",
|
|
1897
1897
|
y2: "14"
|
|
1898
1898
|
}, null, -1)
|
|
1899
1899
|
])])) : (Y(), P("svg", M7, [...V[4] || (V[4] = [
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1900
|
+
M("polyline", { points: "15 3 21 3 21 9" }, null, -1),
|
|
1901
|
+
M("polyline", { points: "9 21 3 21 3 15" }, null, -1),
|
|
1902
|
+
M("line", {
|
|
1903
1903
|
x1: "21",
|
|
1904
1904
|
y1: "3",
|
|
1905
1905
|
x2: "14",
|
|
1906
1906
|
y2: "10"
|
|
1907
1907
|
}, null, -1),
|
|
1908
|
-
|
|
1908
|
+
M("line", {
|
|
1909
1909
|
x1: "3",
|
|
1910
1910
|
y1: "21",
|
|
1911
1911
|
x2: "10",
|
|
@@ -1920,7 +1920,7 @@ const N7 = {
|
|
|
1920
1920
|
title: "导出图片",
|
|
1921
1921
|
onClick: ae
|
|
1922
1922
|
}, [...V[6] || (V[6] = [
|
|
1923
|
-
|
|
1923
|
+
M("svg", {
|
|
1924
1924
|
width: "18",
|
|
1925
1925
|
height: "18",
|
|
1926
1926
|
viewBox: "0 0 24 24",
|
|
@@ -1928,9 +1928,9 @@ const N7 = {
|
|
|
1928
1928
|
stroke: "currentColor",
|
|
1929
1929
|
"stroke-width": "2"
|
|
1930
1930
|
}, [
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1931
|
+
M("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
1932
|
+
M("polyline", { points: "7 10 12 15 17 10" }),
|
|
1933
|
+
M("line", {
|
|
1934
1934
|
x1: "12",
|
|
1935
1935
|
y1: "15",
|
|
1936
1936
|
x2: "12",
|
|
@@ -1939,7 +1939,7 @@ const N7 = {
|
|
|
1939
1939
|
], -1)
|
|
1940
1940
|
])])) : DA("", !0),
|
|
1941
1941
|
t.showCounts ? (Y(), P("div", L7, [
|
|
1942
|
-
V[7] || (V[7] =
|
|
1942
|
+
V[7] || (V[7] = M("svg", {
|
|
1943
1943
|
width: "16",
|
|
1944
1944
|
height: "16",
|
|
1945
1945
|
viewBox: "0 0 24 24",
|
|
@@ -1947,14 +1947,14 @@ const N7 = {
|
|
|
1947
1947
|
stroke: "currentColor",
|
|
1948
1948
|
"stroke-width": "2"
|
|
1949
1949
|
}, [
|
|
1950
|
-
|
|
1950
|
+
M("circle", {
|
|
1951
1951
|
cx: "12",
|
|
1952
1952
|
cy: "12",
|
|
1953
1953
|
r: "3"
|
|
1954
1954
|
}),
|
|
1955
|
-
|
|
1955
|
+
M("path", { d: "M12 1v6m0 6v6M5.64 5.64l4.24 4.24m4.24 4.24l4.24 4.24M1 12h6m6 0h6M5.64 18.36l4.24-4.24m4.24-4.24l4.24-4.24" })
|
|
1956
1956
|
], -1)),
|
|
1957
|
-
|
|
1957
|
+
M("span", T7, EA(LA.value), 1)
|
|
1958
1958
|
])) : DA("", !0)
|
|
1959
1959
|
], 64))
|
|
1960
1960
|
], 2)) : DA("", !0)
|
|
@@ -2536,7 +2536,7 @@ const X6 = [
|
|
|
2536
2536
|
copyFailed: n.value,
|
|
2537
2537
|
copy: g
|
|
2538
2538
|
}, () => [
|
|
2539
|
-
|
|
2539
|
+
M("button", {
|
|
2540
2540
|
class: Be(["chat-actionbar__copy", { "chat-actionbar__copy--failed": n.value }]),
|
|
2541
2541
|
type: "button",
|
|
2542
2542
|
disabled: !o.value,
|
|
@@ -2565,7 +2565,7 @@ const X6 = [
|
|
|
2565
2565
|
"aria-hidden": "true"
|
|
2566
2566
|
}))
|
|
2567
2567
|
], 10, $6),
|
|
2568
|
-
|
|
2568
|
+
M("span", AG, EA(r.value ? "已复制" : n.value ? "复制失败" : ""), 1)
|
|
2569
2569
|
], !0)
|
|
2570
2570
|
]));
|
|
2571
2571
|
}
|
|
@@ -2835,7 +2835,7 @@ const xG = ["src", "alt"], _G = /* @__PURE__ */ oe({
|
|
|
2835
2835
|
"aria-modal": "true",
|
|
2836
2836
|
"aria-label": "图片预览"
|
|
2837
2837
|
}, [
|
|
2838
|
-
|
|
2838
|
+
M("button", {
|
|
2839
2839
|
ref_key: "closeRef",
|
|
2840
2840
|
ref: n,
|
|
2841
2841
|
type: "button",
|
|
@@ -2862,7 +2862,7 @@ const xG = ["src", "alt"], _G = /* @__PURE__ */ oe({
|
|
|
2862
2862
|
"aria-hidden": "true"
|
|
2863
2863
|
})
|
|
2864
2864
|
])) : DA("", !0),
|
|
2865
|
-
|
|
2865
|
+
M("img", {
|
|
2866
2866
|
src: (u = t.images[t.index ?? 0]) == null ? void 0 : u.url,
|
|
2867
2867
|
alt: (C = t.images[t.index ?? 0]) == null ? void 0 : C.fileName
|
|
2868
2868
|
}, null, 8, xG),
|
|
@@ -2919,7 +2919,7 @@ const xG = ["src", "alt"], _G = /* @__PURE__ */ oe({
|
|
|
2919
2919
|
"aria-label": `预览 ${u.fileName}`,
|
|
2920
2920
|
onClick: (C) => g(u)
|
|
2921
2921
|
}, [
|
|
2922
|
-
|
|
2922
|
+
M("img", {
|
|
2923
2923
|
src: s(u),
|
|
2924
2924
|
alt: u.fileName,
|
|
2925
2925
|
loading: "lazy"
|
|
@@ -2931,17 +2931,17 @@ const xG = ["src", "alt"], _G = /* @__PURE__ */ oe({
|
|
|
2931
2931
|
"aria-label": `预览 ${u.fileName}`,
|
|
2932
2932
|
onClick: (C) => i("preview", u)
|
|
2933
2933
|
}, [
|
|
2934
|
-
|
|
2934
|
+
M("img", {
|
|
2935
2935
|
class: "chat-attachments__file-icon",
|
|
2936
2936
|
src: _A(L3)(u.fileType || u.fileName, u.url),
|
|
2937
2937
|
alt: "",
|
|
2938
2938
|
"aria-hidden": "true"
|
|
2939
2939
|
}, null, 8, YG),
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2940
|
+
M("span", UG, [
|
|
2941
|
+
M("span", JG, EA(u.fileName), 1),
|
|
2942
|
+
M("span", OG, EA(l(u.size)), 1)
|
|
2943
2943
|
]),
|
|
2944
|
-
|
|
2944
|
+
M("span", HG, EA(u.fileType.toUpperCase()), 1)
|
|
2945
2945
|
], 8, TG))
|
|
2946
2946
|
], 64))), 128)),
|
|
2947
2947
|
De(MG, {
|
|
@@ -2985,7 +2985,7 @@ const xG = ["src", "alt"], _G = /* @__PURE__ */ oe({
|
|
|
2985
2985
|
onClick: (c) => n(g),
|
|
2986
2986
|
onKeydown: (c) => a(c, g)
|
|
2987
2987
|
}, [
|
|
2988
|
-
|
|
2988
|
+
M("span", VG, EA(g), 1)
|
|
2989
2989
|
], 40, WG))), 128))
|
|
2990
2990
|
])) : DA("", !0);
|
|
2991
2991
|
}
|
|
@@ -3063,15 +3063,15 @@ const iL = { class: "action-bar-wrap" }, rL = ["aria-label"], nL = { class: "act
|
|
|
3063
3063
|
});
|
|
3064
3064
|
}
|
|
3065
3065
|
return (u, C) => (Y(), P("div", iL, [
|
|
3066
|
-
|
|
3066
|
+
M("button", {
|
|
3067
3067
|
type: "button",
|
|
3068
3068
|
class: "action-bar",
|
|
3069
3069
|
"data-testid": "action-bar",
|
|
3070
3070
|
"aria-label": `${a.value}:${r.value}`,
|
|
3071
3071
|
onClick: h
|
|
3072
3072
|
}, [
|
|
3073
|
-
|
|
3074
|
-
|
|
3073
|
+
M("span", nL, [
|
|
3074
|
+
M("span", aL, [
|
|
3075
3075
|
o.value ? (Y(), P("img", {
|
|
3076
3076
|
key: 0,
|
|
3077
3077
|
class: "action-bar__icon-img",
|
|
@@ -3084,9 +3084,9 @@ const iL = { class: "action-bar-wrap" }, rL = ["aria-label"], nL = { class: "act
|
|
|
3084
3084
|
}, null, 8, gL))), 128))
|
|
3085
3085
|
]))
|
|
3086
3086
|
]),
|
|
3087
|
-
|
|
3087
|
+
M("span", lL, EA(r.value), 1)
|
|
3088
3088
|
]),
|
|
3089
|
-
|
|
3089
|
+
M("span", cL, EA(a.value), 1)
|
|
3090
3090
|
], 8, rL)
|
|
3091
3091
|
]));
|
|
3092
3092
|
}
|
|
@@ -3207,46 +3207,46 @@ const EL = { class: "artifact-wrapper" }, vL = { class: "artifact-block" }, mL =
|
|
|
3207
3207
|
});
|
|
3208
3208
|
}
|
|
3209
3209
|
return (I, f) => (Y(), P("div", EL, [
|
|
3210
|
-
|
|
3211
|
-
|
|
3210
|
+
M("div", vL, [
|
|
3211
|
+
M("button", {
|
|
3212
3212
|
type: "button",
|
|
3213
3213
|
class: "artifact-btn-overlay",
|
|
3214
3214
|
"data-testid": "artifact-block",
|
|
3215
3215
|
"aria-label": `View ${r.value}`,
|
|
3216
3216
|
onClick: u
|
|
3217
3217
|
}, null, 8, mL),
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
f[0] || (f[0] =
|
|
3218
|
+
M("div", yL, [
|
|
3219
|
+
M("div", wL, [
|
|
3220
|
+
f[0] || (f[0] = M("div", {
|
|
3221
3221
|
class: "artifact-thumb-wrap",
|
|
3222
3222
|
"aria-hidden": "true"
|
|
3223
3223
|
}, [
|
|
3224
|
-
|
|
3225
|
-
|
|
3224
|
+
M("div", { class: "artifact-thumb" }, [
|
|
3225
|
+
M("svg", {
|
|
3226
3226
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3227
3227
|
width: "20",
|
|
3228
3228
|
height: "20",
|
|
3229
3229
|
fill: "currentColor",
|
|
3230
3230
|
viewBox: "0 0 256 256"
|
|
3231
3231
|
}, [
|
|
3232
|
-
|
|
3232
|
+
M("path", { d: "M67.84,92.61,25.37,128l42.47,35.39a6,6,0,1,1-7.68,9.22l-48-40a6,6,0,0,1,0-9.22l48-40a6,6,0,0,1,7.68,9.22Zm176,30.78-48-40a6,6,0,1,0-7.68,9.22L230.63,128l-42.47,35.39a6,6,0,1,0,7.68,9.22l48-40a6,6,0,0,0,0-9.22Zm-81.79-89A6,6,0,0,0,154.36,38l-64,176A6,6,0,0,0,94,221.64a6.15,6.15,0,0,0,2,.36,6,6,0,0,0,5.64-3.95l64-176A6,6,0,0,0,162.05,34.36Z" })
|
|
3233
3233
|
])
|
|
3234
3234
|
])
|
|
3235
3235
|
], -1)),
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3236
|
+
M("div", DL, [
|
|
3237
|
+
M("div", kL, EA(r.value), 1),
|
|
3238
|
+
M("div", bL, EA(h.value), 1)
|
|
3239
3239
|
])
|
|
3240
3240
|
]),
|
|
3241
|
-
|
|
3242
|
-
|
|
3241
|
+
M("div", SL, [
|
|
3242
|
+
M("button", {
|
|
3243
3243
|
type: "button",
|
|
3244
3244
|
class: "artifact-download-btn",
|
|
3245
3245
|
"data-testid": "artifact-block-download",
|
|
3246
3246
|
"aria-label": `下载 ${r.value}`,
|
|
3247
3247
|
onClick: Gr(C, ["stop"])
|
|
3248
3248
|
}, [...f[1] || (f[1] = [
|
|
3249
|
-
|
|
3249
|
+
M("span", null, "下载", -1)
|
|
3250
3250
|
])], 8, FL)
|
|
3251
3251
|
])
|
|
3252
3252
|
])
|
|
@@ -8073,26 +8073,26 @@ function DY(t, A, e, i, r) {
|
|
|
8073
8073
|
}
|
|
8074
8074
|
A: for (var D = 0; D < n.lines.length; D++) {
|
|
8075
8075
|
for (var k = n.lines[D], b = 0, S = 0, x = 0; x < k.tokens.length; x++) {
|
|
8076
|
-
var F = k.tokens[x],
|
|
8076
|
+
var F = k.tokens[x], R = F.styleName && A.rich[F.styleName] || {}, T = F.textPadding = R.padding, H = T ? T[1] + T[3] : 0, U = F.font = R.font || A.font;
|
|
8077
8077
|
F.contentHeight = nd(U);
|
|
8078
|
-
var G = Ae(
|
|
8079
|
-
if (F.innerHeight = G, T && (G += T[0] + T[2]), F.height = G, F.lineHeight = da(
|
|
8078
|
+
var G = Ae(R.height, F.contentHeight);
|
|
8079
|
+
if (F.innerHeight = G, T && (G += T[0] + T[2]), F.height = G, F.lineHeight = da(R.lineHeight, A.lineHeight, G), F.align = R && R.align || r, F.verticalAlign = R && R.verticalAlign || "middle", E && c != null && B + F.lineHeight > c) {
|
|
8080
8080
|
var z = n.lines.length;
|
|
8081
8081
|
x > 0 ? (k.tokens = k.tokens.slice(0, x), y(k, S, b), n.lines = n.lines.slice(0, D + 1)) : n.lines = n.lines.slice(0, D), n.isTruncated = n.isTruncated || n.lines.length < z;
|
|
8082
8082
|
break A;
|
|
8083
8083
|
}
|
|
8084
|
-
var AA =
|
|
8084
|
+
var AA = R.width, eA = AA == null || AA === "auto";
|
|
8085
8085
|
if (typeof AA == "string" && AA.charAt(AA.length - 1) === "%")
|
|
8086
8086
|
F.percentWidth = AA, d.push(F), F.contentWidth = Qa(Ba(U), F.text);
|
|
8087
8087
|
else {
|
|
8088
8088
|
if (eA) {
|
|
8089
|
-
var oA =
|
|
8089
|
+
var oA = R.backgroundColor, sA = oA && oA.image;
|
|
8090
8090
|
sA && (sA = pY(sA), cd(sA) && (F.width = Math.max(F.width, sA.width * G / sA.height)));
|
|
8091
8091
|
}
|
|
8092
8092
|
var gA = p && l != null ? l - S : null;
|
|
8093
8093
|
gA != null && gA < F.width ? !eA || gA < H ? (F.text = "", F.width = F.contentWidth = 0) : (EY(v, F.text, gA - H, U, A.ellipsis, { minChar: A.truncateMinChar }), F.text = v.text, n.isTruncated = n.isTruncated || v.isTruncated, F.width = F.contentWidth = Qa(Ba(U), F.text)) : F.contentWidth = Qa(Ba(U), F.text);
|
|
8094
8094
|
}
|
|
8095
|
-
F.width += H, S += F.width,
|
|
8095
|
+
F.width += H, S += F.width, R && (b = Math.max(b, F.lineHeight));
|
|
8096
8096
|
}
|
|
8097
8097
|
y(k, S, b);
|
|
8098
8098
|
}
|
|
@@ -8535,8 +8535,8 @@ var kg = function() {
|
|
|
8535
8535
|
break;
|
|
8536
8536
|
}
|
|
8537
8537
|
case Bt.A:
|
|
8538
|
-
var D = A[h++], k = A[h++], b = A[h++], S = A[h++], x = A[h++], F = A[h++],
|
|
8539
|
-
h += 1, C && (o = Ts(x) * b + D, s = Ys(x) * S + k), I = KB(b, S) * ZB(Mo, Math.abs(F)), n = Ts(
|
|
8538
|
+
var D = A[h++], k = A[h++], b = A[h++], S = A[h++], x = A[h++], F = A[h++], R = F + x;
|
|
8539
|
+
h += 1, C && (o = Ts(x) * b + D, s = Ys(x) * S + k), I = KB(b, S) * ZB(Mo, Math.abs(F)), n = Ts(R) * b + D, a = Ys(R) * S + k;
|
|
8540
8540
|
break;
|
|
8541
8541
|
case Bt.R: {
|
|
8542
8542
|
o = n = A[h++], s = a = A[h++];
|
|
@@ -8583,31 +8583,31 @@ var kg = function() {
|
|
|
8583
8583
|
break;
|
|
8584
8584
|
}
|
|
8585
8585
|
case Bt.C: {
|
|
8586
|
-
var
|
|
8586
|
+
var R = i[v++], T = i[v++], H = i[v++], U = i[v++], G = i[v++], z = i[v++];
|
|
8587
8587
|
if (u) {
|
|
8588
8588
|
var S = C[d++];
|
|
8589
8589
|
if (f + S > B) {
|
|
8590
8590
|
var x = (B - f) / S;
|
|
8591
|
-
_I(g,
|
|
8591
|
+
_I(g, R, H, G, x, Gs), _I(l, T, U, z, x, Ls), A.bezierCurveTo(Gs[1], Ls[1], Gs[2], Ls[2], Gs[3], Ls[3]);
|
|
8592
8592
|
break A;
|
|
8593
8593
|
}
|
|
8594
8594
|
f += S;
|
|
8595
8595
|
}
|
|
8596
|
-
A.bezierCurveTo(
|
|
8596
|
+
A.bezierCurveTo(R, T, H, U, G, z), g = G, l = z;
|
|
8597
8597
|
break;
|
|
8598
8598
|
}
|
|
8599
8599
|
case Bt.Q: {
|
|
8600
|
-
var
|
|
8600
|
+
var R = i[v++], T = i[v++], H = i[v++], U = i[v++];
|
|
8601
8601
|
if (u) {
|
|
8602
8602
|
var S = C[d++];
|
|
8603
8603
|
if (f + S > B) {
|
|
8604
8604
|
var x = (B - f) / S;
|
|
8605
|
-
MI(g,
|
|
8605
|
+
MI(g, R, H, x, Gs), MI(l, T, U, x, Ls), A.quadraticCurveTo(Gs[1], Ls[1], Gs[2], Ls[2]);
|
|
8606
8606
|
break A;
|
|
8607
8607
|
}
|
|
8608
8608
|
f += S;
|
|
8609
8609
|
}
|
|
8610
|
-
A.quadraticCurveTo(
|
|
8610
|
+
A.quadraticCurveTo(R, T, H, U), g = H, l = U;
|
|
8611
8611
|
break;
|
|
8612
8612
|
}
|
|
8613
8613
|
case Bt.A:
|
|
@@ -9285,8 +9285,8 @@ var M2 = {
|
|
|
9285
9285
|
}
|
|
9286
9286
|
Q += d / 2, r && (B = J2(a, s, r), g === "top" ? Q += r[0] : g === "bottom" && (Q -= r[2]));
|
|
9287
9287
|
for (var v = 0, y = !1, D = !1, k = U2("fill" in e ? e.fill : (D = !0, n.fill)), b = Y2("stroke" in e ? e.stroke : !u && (!n.autoStroke || D) ? (v = R2, y = !0, n.stroke) : null), S = e.textShadowBlur > 0, x = 0; x < f.length; x++) {
|
|
9288
|
-
var F = this._getOrCreateChild(JI),
|
|
9289
|
-
F.useStyle(
|
|
9288
|
+
var F = this._getOrCreateChild(JI), R = F.createStyle();
|
|
9289
|
+
F.useStyle(R), R.text = f[x], R.x = B, R.y = Q, R.textAlign = s, R.textBaseline = "middle", R.opacity = e.opacity, R.strokeFirst = !0, S && (R.shadowBlur = e.textShadowBlur || 0, R.shadowColor = e.textShadowColor || "transparent", R.shadowOffsetX = e.textShadowOffsetX || 0, R.shadowOffsetY = e.textShadowOffsetY || 0), R.stroke = b, R.fill = k, b && (R.lineWidth = e.lineWidth || v, R.lineDash = e.lineDash, R.lineDashOffset = e.lineDashOffset || 0), R.font = i, L2(R, e), Q += d, F.setBoundingRect(cE(R, c.contentWidth, c.calculatedLineHeight, y ? 0 : null));
|
|
9290
9290
|
}
|
|
9291
9291
|
}, A.prototype._updateRichTexts = function() {
|
|
9292
9292
|
var e = this.style, i = this._defaultStyle, r = e.align || i.align, n = e.verticalAlign || i.verticalAlign, a = e.x || 0, o = e.y || 0;
|
|
@@ -9298,12 +9298,12 @@ var M2 = {
|
|
|
9298
9298
|
var B = f + l;
|
|
9299
9299
|
VB(e) && this._renderBackground(e, e, C, I, c, h);
|
|
9300
9300
|
for (var Q = !!e.backgroundColor, p = 0; p < g.lines.length; p++) {
|
|
9301
|
-
for (var E = g.lines[p], v = E.tokens, y = v.length, D = E.lineHeight, k = E.width, b = 0, S = f, x = B, F = y - 1,
|
|
9302
|
-
this._placeToken(
|
|
9303
|
-
for (; F >= 0 && (
|
|
9304
|
-
this._placeToken(
|
|
9301
|
+
for (var E = g.lines[p], v = E.tokens, y = v.length, D = E.lineHeight, k = E.width, b = 0, S = f, x = B, F = y - 1, R = void 0; b < y && (R = v[b], !R.align || R.align === "left"); )
|
|
9302
|
+
this._placeToken(R, e, D, d, S, "left", Q), k -= R.width, S += R.width, b++;
|
|
9303
|
+
for (; F >= 0 && (R = v[F], R.align === "right"); )
|
|
9304
|
+
this._placeToken(R, e, D, d, x, "right", Q), k -= R.width, x -= R.width, F--;
|
|
9305
9305
|
for (S += (l - (S - f) - (B - x) - k) / 2; b <= F; )
|
|
9306
|
-
|
|
9306
|
+
R = v[b], this._placeToken(R, e, D, d, S + R.width / 2, "center", Q), S += R.width, b++;
|
|
9307
9307
|
d += D;
|
|
9308
9308
|
}
|
|
9309
9309
|
}, A.prototype._placeToken = function(e, i, r, n, a, o, s) {
|
|
@@ -9997,8 +9997,8 @@ function UU(t, A, e, i, r, n, a, o) {
|
|
|
9997
9997
|
return h = (l * (A - n) - c * (t - r)) / h, [t + h * s, A + h * g];
|
|
9998
9998
|
}
|
|
9999
9999
|
function Gh(t, A, e, i, r, n, a) {
|
|
10000
|
-
var o = t - e, s = A - i, g = (a ? n : -n) / A0(o * o + s * s), l = g * s, c = -g * o, h = t + l, u = A + c, C = e + l, I = i + c, f = (h + C) / 2, d = (u + I) / 2, B = C - h, Q = I - u, p = B * B + Q * Q, E = r - n, v = h * I - C * u, y = (Q < 0 ? -1 : 1) * A0(xu(0, E * E * p - v * v)), D = (v * Q - B * y) / p, k = (-v * B - Q * y) / p, b = (v * Q + B * y) / p, S = (-v * B + Q * y) / p, x = D - f, F = k - d,
|
|
10001
|
-
return x * x + F * F >
|
|
10000
|
+
var o = t - e, s = A - i, g = (a ? n : -n) / A0(o * o + s * s), l = g * s, c = -g * o, h = t + l, u = A + c, C = e + l, I = i + c, f = (h + C) / 2, d = (u + I) / 2, B = C - h, Q = I - u, p = B * B + Q * Q, E = r - n, v = h * I - C * u, y = (Q < 0 ? -1 : 1) * A0(xu(0, E * E * p - v * v)), D = (v * Q - B * y) / p, k = (-v * B - Q * y) / p, b = (v * Q + B * y) / p, S = (-v * B + Q * y) / p, x = D - f, F = k - d, R = b - f, T = S - d;
|
|
10001
|
+
return x * x + F * F > R * R + T * T && (D = b, k = S), {
|
|
10002
10002
|
cx: D,
|
|
10003
10003
|
cy: k,
|
|
10004
10004
|
x0: -l,
|
|
@@ -10033,13 +10033,13 @@ function OU(t, A) {
|
|
|
10033
10033
|
else if (u > jB - Yn)
|
|
10034
10034
|
t.moveTo(l + i * il(s), c + i * Os(s)), t.arc(l, c, i, s, g, !h), r > Yn && (t.moveTo(l + r * il(g), c + r * Os(g)), t.arc(l, c, r, g, s, h));
|
|
10035
10035
|
else {
|
|
10036
|
-
var I = void 0, f = void 0, d = void 0, B = void 0, Q = void 0, p = void 0, E = void 0, v = void 0, y = void 0, D = void 0, k = void 0, b = void 0, S = void 0, x = void 0, F = void 0,
|
|
10036
|
+
var I = void 0, f = void 0, d = void 0, B = void 0, Q = void 0, p = void 0, E = void 0, v = void 0, y = void 0, D = void 0, k = void 0, b = void 0, S = void 0, x = void 0, F = void 0, R = void 0, T = i * il(s), H = i * Os(s), U = r * il(g), G = r * Os(g), z = u > Yn;
|
|
10037
10037
|
if (z) {
|
|
10038
10038
|
var AA = A.cornerRadius;
|
|
10039
10039
|
AA && (e = JU(AA), I = e[0], f = e[1], d = e[2], B = e[3]);
|
|
10040
10040
|
var eA = tw(i - r) / 2;
|
|
10041
|
-
if (Q = ra(eA, d), p = ra(eA, B), E = ra(eA, I), v = ra(eA, f), k = y = xu(Q, p), b = D = xu(E, v), (y > Yn || D > Yn) && (S = i * il(g), x = i * Os(g), F = r * il(s),
|
|
10042
|
-
var oA = UU(T, H, F,
|
|
10041
|
+
if (Q = ra(eA, d), p = ra(eA, B), E = ra(eA, I), v = ra(eA, f), k = y = xu(Q, p), b = D = xu(E, v), (y > Yn || D > Yn) && (S = i * il(g), x = i * Os(g), F = r * il(s), R = r * Os(s), u < rF)) {
|
|
10042
|
+
var oA = UU(T, H, F, R, S, x, U, G);
|
|
10043
10043
|
if (oA) {
|
|
10044
10044
|
var sA = T - oA[0], gA = H - oA[1], IA = S - oA[0], LA = x - oA[1], te = 1 / Os(YU((sA * IA + gA * LA) / (A0(sA * sA + gA * gA) * A0(IA * IA + LA * LA))) / 2), XA = A0(oA[0] * oA[0] + oA[1] * oA[1]);
|
|
10045
10045
|
k = ra(y, (i - XA) / (te + 1)), b = ra(D, (r - XA) / (te - 1));
|
|
@@ -10049,14 +10049,14 @@ function OU(t, A) {
|
|
|
10049
10049
|
if (!z)
|
|
10050
10050
|
t.moveTo(l + T, c + H);
|
|
10051
10051
|
else if (k > Yn) {
|
|
10052
|
-
var ie = ra(d, k), nA = ra(B, k), yA = Gh(F,
|
|
10052
|
+
var ie = ra(d, k), nA = ra(B, k), yA = Gh(F, R, T, H, i, ie, h), YA = Gh(S, x, U, G, i, nA, h);
|
|
10053
10053
|
t.moveTo(l + yA.cx + yA.x0, c + yA.cy + yA.y0), k < y && ie === nA ? t.arc(l + yA.cx, c + yA.cy, k, or(yA.y0, yA.x0), or(YA.y0, YA.x0), !h) : (ie > 0 && t.arc(l + yA.cx, c + yA.cy, ie, or(yA.y0, yA.x0), or(yA.y1, yA.x1), !h), t.arc(l, c, i, or(yA.cy + yA.y1, yA.cx + yA.x1), or(YA.cy + YA.y1, YA.cx + YA.x1), !h), nA > 0 && t.arc(l + YA.cx, c + YA.cy, nA, or(YA.y1, YA.x1), or(YA.y0, YA.x0), !h));
|
|
10054
10054
|
} else
|
|
10055
10055
|
t.moveTo(l + T, c + H), t.arc(l, c, i, s, g, !h);
|
|
10056
10056
|
if (!(r > Yn) || !z)
|
|
10057
10057
|
t.lineTo(l + U, c + G);
|
|
10058
10058
|
else if (b > Yn) {
|
|
10059
|
-
var ie = ra(I, b), nA = ra(f, b), yA = Gh(U, G, S, x, r, -nA, h), YA = Gh(T, H, F,
|
|
10059
|
+
var ie = ra(I, b), nA = ra(f, b), yA = Gh(U, G, S, x, r, -nA, h), YA = Gh(T, H, F, R, r, -ie, h);
|
|
10060
10060
|
t.lineTo(l + yA.cx + yA.x0, c + yA.cy + yA.y0), b < D && ie === nA ? t.arc(l + yA.cx, c + yA.cy, b, or(yA.y0, yA.x0), or(YA.y0, YA.x0), !h) : (nA > 0 && t.arc(l + yA.cx, c + yA.cy, nA, or(yA.y0, yA.x0), or(yA.y1, yA.x1), !h), t.arc(l, c, r, or(yA.cy + yA.y1, yA.cx + yA.x1), or(YA.cy + YA.y1, YA.cx + YA.x1), h), ie > 0 && t.arc(l + YA.cx, c + YA.cy, ie, or(YA.y1, YA.x1), or(YA.y0, YA.x0), !h));
|
|
10061
10061
|
} else
|
|
10062
10062
|
t.lineTo(l + U, c + G), t.arc(l, c, r, g, s, h);
|
|
@@ -16250,9 +16250,9 @@ function YE(t, A) {
|
|
|
16250
16250
|
function k() {
|
|
16251
16251
|
for (var S = 1, x = 0, F = Q.length; x < F; ++x)
|
|
16252
16252
|
S = B2(S, Q[x]);
|
|
16253
|
-
for (var
|
|
16254
|
-
|
|
16255
|
-
S *=
|
|
16253
|
+
for (var R = 1, x = 0, F = B.length; x < F; ++x)
|
|
16254
|
+
R = B2(R, B[x].length);
|
|
16255
|
+
S *= R;
|
|
16256
16256
|
var T = p * Q.length * B.length;
|
|
16257
16257
|
if (process.env.NODE_ENV !== "production") {
|
|
16258
16258
|
var H = function(U) {
|
|
@@ -16271,22 +16271,22 @@ function YE(t, A) {
|
|
|
16271
16271
|
S += d[x];
|
|
16272
16272
|
if (S <= 0)
|
|
16273
16273
|
return;
|
|
16274
|
-
for (var F = -p,
|
|
16275
|
-
if (
|
|
16274
|
+
for (var F = -p, R = 0, T = 0, H = 0; F < y.height; ) {
|
|
16275
|
+
if (R % 2 === 0) {
|
|
16276
16276
|
for (var U = T / 2 % B.length, G = 0, z = 0, AA = 0; G < y.width * 2; ) {
|
|
16277
16277
|
for (var eA = 0, x = 0; x < f[H].length; ++x)
|
|
16278
16278
|
eA += f[H][x];
|
|
16279
16279
|
if (eA <= 0)
|
|
16280
16280
|
break;
|
|
16281
16281
|
if (z % 2 === 0) {
|
|
16282
|
-
var oA = (1 - a.symbolSize) * 0.5, sA = G + f[H][z] * oA, gA = F + d[
|
|
16282
|
+
var oA = (1 - a.symbolSize) * 0.5, sA = G + f[H][z] * oA, gA = F + d[R] * oA, IA = f[H][z] * a.symbolSize, LA = d[R] * a.symbolSize, te = AA / 2 % B[U].length;
|
|
16283
16283
|
XA(sA, gA, IA, LA, B[U][te]);
|
|
16284
16284
|
}
|
|
16285
16285
|
G += f[H][z], ++AA, ++z, z === f[H].length && (z = 0);
|
|
16286
16286
|
}
|
|
16287
16287
|
++H, H === f.length && (H = 0);
|
|
16288
16288
|
}
|
|
16289
|
-
F += d[
|
|
16289
|
+
F += d[R], ++T, ++R, R === d.length && (R = 0);
|
|
16290
16290
|
}
|
|
16291
16291
|
function XA(ie, nA, yA, YA, me) {
|
|
16292
16292
|
var fe = r ? 1 : e, tt = en(me, ie * fe, nA * fe, yA * fe, YA * fe, a.color, a.symbolKeepAspect);
|
|
@@ -17023,10 +17023,10 @@ var zs, CQ, zh, _a, Xh, IQ, fQ, ol, sl, hD, CD, dQ, ID, jh, fD, UN, cn, dD, gl,
|
|
|
17023
17023
|
} : D = y[0], this[fi] = !1, !h) {
|
|
17024
17024
|
var F = void 0;
|
|
17025
17025
|
if (d.refineEvent) {
|
|
17026
|
-
var
|
|
17027
|
-
BA(zA(
|
|
17026
|
+
var R = d.refineEvent(k, c, C, this._api).eventContent;
|
|
17027
|
+
BA(zA(R)), F = He({
|
|
17028
17028
|
type: d.refinedEventType
|
|
17029
|
-
},
|
|
17029
|
+
}, R), F.fromAction = c.type, F.fromActionPayload = c, F.escapeConnect = !0;
|
|
17030
17030
|
}
|
|
17031
17031
|
var T = this._messageCenter;
|
|
17032
17032
|
T.trigger(D.type, D), F && T.trigger(F.type, F);
|
|
@@ -17963,8 +17963,8 @@ function r1(t, A) {
|
|
|
17963
17963
|
if (b < 0) {
|
|
17964
17964
|
var S = i[k], x = zA(S) ? S : {
|
|
17965
17965
|
name: S
|
|
17966
|
-
}, F = new cI(),
|
|
17967
|
-
|
|
17966
|
+
}, F = new cI(), R = x.name;
|
|
17967
|
+
R != null && g.get(R) != null && (F.name = F.displayName = R), x.type != null && (F.type = x.type), x.displayName != null && (F.displayName = x.displayName);
|
|
17968
17968
|
var T = n.length;
|
|
17969
17969
|
return h[k] = T, F.storeDimIndex = k, n.push(F), F;
|
|
17970
17970
|
}
|
|
@@ -17980,9 +17980,9 @@ function r1(t, A) {
|
|
|
17980
17980
|
return;
|
|
17981
17981
|
}
|
|
17982
17982
|
var x = c.set(b, []);
|
|
17983
|
-
L(S, function(F,
|
|
17983
|
+
L(S, function(F, R) {
|
|
17984
17984
|
var T = qA(F) ? g.get(F) : F;
|
|
17985
|
-
T != null && T < a && (x[
|
|
17985
|
+
T != null && T < a && (x[R] = T, f(C(T), b, R));
|
|
17986
17986
|
});
|
|
17987
17987
|
});
|
|
17988
17988
|
var I = 0;
|
|
@@ -17992,8 +17992,8 @@ function r1(t, A) {
|
|
|
17992
17992
|
b = k, F = {};
|
|
17993
17993
|
else {
|
|
17994
17994
|
F = k, b = F.name;
|
|
17995
|
-
var
|
|
17996
|
-
F.ordinalMeta = null, F = kA({}, F), F.ordinalMeta =
|
|
17995
|
+
var R = F.ordinalMeta;
|
|
17996
|
+
F.ordinalMeta = null, F = kA({}, F), F.ordinalMeta = R, S = F.dimsDef, x = F.otherDims, F.name = F.coordDim = F.coordDimIndex = F.dimsDef = F.otherDims = null;
|
|
17997
17997
|
}
|
|
17998
17998
|
var T = c.get(b);
|
|
17999
17999
|
if (T !== !1) {
|
|
@@ -18832,13 +18832,13 @@ function UK(t, A, e, i, r, n) {
|
|
|
18832
18832
|
um(D, aY, null), D.sort(function(H, U) {
|
|
18833
18833
|
return H.value - U.value;
|
|
18834
18834
|
});
|
|
18835
|
-
var x = D[0], F = D[D.length - 1],
|
|
18835
|
+
var x = D[0], F = D[D.length - 1], R = aI(i[0], e), T = aI(i[1], e);
|
|
18836
18836
|
return (!x || x.value > i[0]) && D.unshift({
|
|
18837
18837
|
value: i[0],
|
|
18838
18838
|
time: {
|
|
18839
18839
|
level: 0,
|
|
18840
|
-
upperTimeUnit:
|
|
18841
|
-
lowerTimeUnit:
|
|
18840
|
+
upperTimeUnit: R,
|
|
18841
|
+
lowerTimeUnit: R
|
|
18842
18842
|
},
|
|
18843
18843
|
notNice: !0
|
|
18844
18844
|
}), (!F || F.value < i[1]) && D.push({
|
|
@@ -20009,15 +20009,15 @@ function Wq(t, A, e, i, r) {
|
|
|
20009
20009
|
k.push(F), b += F;
|
|
20010
20010
|
}
|
|
20011
20011
|
if (b) {
|
|
20012
|
-
var
|
|
20012
|
+
var R = Math.min(Math.abs(y) / b, D);
|
|
20013
20013
|
if (y > 0)
|
|
20014
20014
|
for (var S = 0; S < n - 1; S++) {
|
|
20015
|
-
var T = k[S] *
|
|
20015
|
+
var T = k[S] * R;
|
|
20016
20016
|
p(T, 0, S + 1);
|
|
20017
20017
|
}
|
|
20018
20018
|
else
|
|
20019
20019
|
for (var S = n - 1; S > 0; S--) {
|
|
20020
|
-
var T = k[S - 1] *
|
|
20020
|
+
var T = k[S - 1] * R;
|
|
20021
20021
|
p(-T, S, n);
|
|
20022
20022
|
}
|
|
20023
20023
|
}
|
|
@@ -20372,17 +20372,17 @@ var BP = oe({
|
|
|
20372
20372
|
});
|
|
20373
20373
|
let E;
|
|
20374
20374
|
function v(x) {
|
|
20375
|
-
const F = {},
|
|
20376
|
-
return
|
|
20375
|
+
const F = {}, R = ((x == null ? void 0 : x.replaceMerge) ?? []).filter((T) => T != null);
|
|
20376
|
+
return R.length > 0 && (F.replaceMerge = [...new Set(R)]), (x == null ? void 0 : x.notMerge) !== void 0 && (F.notMerge = x.notMerge), F;
|
|
20377
20377
|
}
|
|
20378
|
-
function y(x, F,
|
|
20378
|
+
function y(x, F, R, T = !1) {
|
|
20379
20379
|
const H = p(F);
|
|
20380
20380
|
if (T) {
|
|
20381
|
-
x.setOption(H,
|
|
20381
|
+
x.setOption(H, R ?? {}), E = void 0;
|
|
20382
20382
|
return;
|
|
20383
20383
|
}
|
|
20384
20384
|
if (I.value) {
|
|
20385
|
-
const z =
|
|
20385
|
+
const z = R ?? I.value;
|
|
20386
20386
|
x.setOption(H, z), E = void 0;
|
|
20387
20387
|
return;
|
|
20388
20388
|
}
|
|
@@ -20395,12 +20395,12 @@ var BP = oe({
|
|
|
20395
20395
|
d[H] = A[x];
|
|
20396
20396
|
return;
|
|
20397
20397
|
}
|
|
20398
|
-
let F = x.charAt(2).toLowerCase() + x.slice(3),
|
|
20399
|
-
F.indexOf("zr:") === 0 && (
|
|
20398
|
+
let F = x.charAt(2).toLowerCase() + x.slice(3), R;
|
|
20399
|
+
F.indexOf("zr:") === 0 && (R = !0, F = F.substring(3));
|
|
20400
20400
|
let T;
|
|
20401
20401
|
F.substring(F.length - 4) === "Once" && (T = !0, F = F.substring(0, F.length - 4)), B.set({
|
|
20402
20402
|
event: F,
|
|
20403
|
-
zr:
|
|
20403
|
+
zr: R,
|
|
20404
20404
|
once: T
|
|
20405
20405
|
}, A[x]);
|
|
20406
20406
|
});
|
|
@@ -20422,7 +20422,7 @@ var BP = oe({
|
|
|
20422
20422
|
function F() {
|
|
20423
20423
|
x && !x.isDisposed() && x.resize();
|
|
20424
20424
|
}
|
|
20425
|
-
function
|
|
20425
|
+
function R() {
|
|
20426
20426
|
const { option: T } = t;
|
|
20427
20427
|
if (l.value) {
|
|
20428
20428
|
T && y(x, T, void 0, !0);
|
|
@@ -20431,17 +20431,17 @@ var BP = oe({
|
|
|
20431
20431
|
T && y(x, T);
|
|
20432
20432
|
}
|
|
20433
20433
|
g.value ? Te(() => {
|
|
20434
|
-
F(),
|
|
20435
|
-
}) :
|
|
20434
|
+
F(), R();
|
|
20435
|
+
}) : R();
|
|
20436
20436
|
}
|
|
20437
|
-
const k = (x, F,
|
|
20437
|
+
const k = (x, F, R) => {
|
|
20438
20438
|
if (!t.manualUpdate) {
|
|
20439
20439
|
zE("`setOption` is only available when `manual-update` is `true`.");
|
|
20440
20440
|
return;
|
|
20441
20441
|
}
|
|
20442
20442
|
const T = typeof F == "boolean" ? {
|
|
20443
20443
|
notMerge: F,
|
|
20444
|
-
lazyUpdate:
|
|
20444
|
+
lazyUpdate: R
|
|
20445
20445
|
} : F;
|
|
20446
20446
|
n.value && y(n.value, x, T ?? void 0, !0);
|
|
20447
20447
|
};
|
|
@@ -20495,7 +20495,7 @@ const pP = {
|
|
|
20495
20495
|
},
|
|
20496
20496
|
setup(t) {
|
|
20497
20497
|
return (A, e) => (Y(), P("div", pP, [
|
|
20498
|
-
e[0] || (e[0] =
|
|
20498
|
+
e[0] || (e[0] = M("svg", {
|
|
20499
20499
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20500
20500
|
width: "20",
|
|
20501
20501
|
height: "20",
|
|
@@ -20503,9 +20503,9 @@ const pP = {
|
|
|
20503
20503
|
fill: "currentColor",
|
|
20504
20504
|
"aria-hidden": "true"
|
|
20505
20505
|
}, [
|
|
20506
|
-
|
|
20506
|
+
M("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z" })
|
|
20507
20507
|
], -1)),
|
|
20508
|
-
|
|
20508
|
+
M("span", EP, EA(t.message || "图表渲染失败"), 1)
|
|
20509
20509
|
]));
|
|
20510
20510
|
}
|
|
20511
20511
|
}), mP = /* @__PURE__ */ Me(vP, [["__scopeId", "data-v-c9740d87"]]), yP = {
|
|
@@ -20557,7 +20557,7 @@ const pP = {
|
|
|
20557
20557
|
setup(t) {
|
|
20558
20558
|
return (A, e) => (Y(), P("div", yP, [
|
|
20559
20559
|
(Y(), P("svg", wP, [
|
|
20560
|
-
t.type === "bar" ? (Y(), P(Ge, { key: 0 }, Qt([40, 70, 55, 90, 65], (i, r) =>
|
|
20560
|
+
t.type === "bar" ? (Y(), P(Ge, { key: 0 }, Qt([40, 70, 55, 90, 65], (i, r) => M("rect", {
|
|
20561
20561
|
key: r,
|
|
20562
20562
|
x: 20 + r * 40,
|
|
20563
20563
|
y: 130 - i,
|
|
@@ -20572,12 +20572,12 @@ const pP = {
|
|
|
20572
20572
|
[160, 90],
|
|
20573
20573
|
[195, 40],
|
|
20574
20574
|
[210, 100]
|
|
20575
|
-
], (i, r) =>
|
|
20575
|
+
], (i, r) => M("circle", {
|
|
20576
20576
|
key: r,
|
|
20577
20577
|
cx: i[0],
|
|
20578
20578
|
cy: i[1],
|
|
20579
20579
|
r: "6"
|
|
20580
|
-
}, null, 8, FP)), 64)) : t.type === "heatmap" ? (Y(), P(Ge, { key: 5 }, Qt(24, (i) =>
|
|
20580
|
+
}, null, 8, FP)), 64)) : t.type === "heatmap" ? (Y(), P(Ge, { key: 5 }, Qt(24, (i) => M("rect", {
|
|
20581
20581
|
key: i,
|
|
20582
20582
|
x: 20 + i % 6 * 34,
|
|
20583
20583
|
y: 16 + Math.floor(i / 6) * 30,
|
|
@@ -20801,8 +20801,8 @@ var h1 = (
|
|
|
20801
20801
|
this._sizeX = r[0] / 2, this._sizeY = r[1] / 2;
|
|
20802
20802
|
var F = o.ensureState("emphasis");
|
|
20803
20803
|
F.style = g, o.ensureState("select").style = c, o.ensureState("blur").style = l;
|
|
20804
|
-
var
|
|
20805
|
-
F.scaleX = this._sizeX *
|
|
20804
|
+
var R = f == null || f === !0 ? Math.max(1.1, 3 / this._sizeY) : isFinite(f) && f > 0 ? +f : 1;
|
|
20805
|
+
F.scaleX = this._sizeX * R, F.scaleY = this._sizeY * R, this.setSymbolScale(1), Zn(this, h, u, C);
|
|
20806
20806
|
}, A.prototype.setSymbolScale = function(e) {
|
|
20807
20807
|
this.scaleX = this.scaleY = e;
|
|
20808
20808
|
}, A.prototype.fadeOut = function(e, i, r) {
|
|
@@ -21035,8 +21035,8 @@ function OP(t, A, e, i, r, n, a, o) {
|
|
|
21035
21035
|
(isNaN(D) || isNaN(k)) && (D = b, k = S), g.push(D, k), l.push(b, S), c.push(e[v], e[v + 1]), h.push(i[y], i[y + 1]), I.push(A.getRawIndex(p.idx1));
|
|
21036
21036
|
break;
|
|
21037
21037
|
case "+":
|
|
21038
|
-
var x = p.idx, F = f.dataDimsForPoint,
|
|
21039
|
-
y = x * 2, g.push(
|
|
21038
|
+
var x = p.idx, F = f.dataDimsForPoint, R = r.dataToPoint([A.get(F[0], x), A.get(F[1], x)]);
|
|
21039
|
+
y = x * 2, g.push(R[0], R[1]), l.push(B[y], B[y + 1]);
|
|
21040
21040
|
var T = Yx(f, r, A, x);
|
|
21041
21041
|
c.push(T[0], T[1]), h.push(i[y], i[y + 1]), I.push(A.getRawIndex(x));
|
|
21042
21042
|
break;
|
|
@@ -21093,9 +21093,9 @@ function jE(t, A, e, i, r, n, a, o, s) {
|
|
|
21093
21093
|
u = d, C = B;
|
|
21094
21094
|
else {
|
|
21095
21095
|
b = v - g, S = y - l;
|
|
21096
|
-
var
|
|
21096
|
+
var R = d - g, T = v - d, H = B - l, U = y - B, G = void 0, z = void 0;
|
|
21097
21097
|
if (o === "x") {
|
|
21098
|
-
G = Math.abs(
|
|
21098
|
+
G = Math.abs(R), z = Math.abs(T);
|
|
21099
21099
|
var AA = b > 0 ? 1 : -1;
|
|
21100
21100
|
u = d - AA * G * a, C = B, x = d + AA * z * a, F = B;
|
|
21101
21101
|
} else if (o === "y") {
|
|
@@ -21103,7 +21103,7 @@ function jE(t, A, e, i, r, n, a, o, s) {
|
|
|
21103
21103
|
var eA = S > 0 ? 1 : -1;
|
|
21104
21104
|
u = d, C = B - eA * G * a, x = d, F = B + eA * z * a;
|
|
21105
21105
|
} else
|
|
21106
|
-
G = Math.sqrt(
|
|
21106
|
+
G = Math.sqrt(R * R + H * H), z = Math.sqrt(T * T + U * U), k = z / (z + G), u = d - b * a * (1 - k), C = B - S * a * (1 - k), x = d + b * a * k, F = B + S * a * k, x = bo(x, So(v, d)), F = bo(F, So(y, B)), x = So(x, bo(v, d)), F = So(F, bo(y, B)), b = x - d, S = F - B, u = d - b * G / z, C = B - S * G / z, u = bo(u, So(g, d)), C = bo(C, So(l, B)), u = So(u, bo(g, d)), C = So(C, bo(l, B)), b = d - u, S = B - C, x = d + b * z / G, F = B + S * z / G;
|
|
21107
21107
|
}
|
|
21108
21108
|
t.bezierCurveTo(c, h, u, C, d, B), c = x, h = F;
|
|
21109
21109
|
} else
|
|
@@ -21532,9 +21532,9 @@ var iW = (
|
|
|
21532
21532
|
B && !I ? I = this._newPolygon(l, E) : I && !B && (f.remove(I), I = this._polygon = null), c || this._initOrUpdateEndLabel(e, n, Sg(x));
|
|
21533
21533
|
var F = f.getClipPath();
|
|
21534
21534
|
if (F) {
|
|
21535
|
-
var
|
|
21535
|
+
var R = wQ(this, n, !1, e);
|
|
21536
21536
|
Oi(F, {
|
|
21537
|
-
shape:
|
|
21537
|
+
shape: R.shape
|
|
21538
21538
|
}, e);
|
|
21539
21539
|
} else
|
|
21540
21540
|
f.setClipPath(wQ(this, n, !0, e));
|
|
@@ -21731,8 +21731,8 @@ var iW = (
|
|
|
21731
21731
|
x: x[0] + E,
|
|
21732
21732
|
y: x[1] + v
|
|
21733
21733
|
});
|
|
21734
|
-
var F = h.getRawValue(k[0]),
|
|
21735
|
-
a && (S = D5(r, C, F,
|
|
21734
|
+
var F = h.getRawValue(k[0]), R = h.getRawValue(k[1]);
|
|
21735
|
+
a && (S = D5(r, C, F, R, D.t));
|
|
21736
21736
|
}
|
|
21737
21737
|
n.lastFrameIndex = k[0];
|
|
21738
21738
|
} else {
|
|
@@ -22175,7 +22175,7 @@ var ja = (
|
|
|
22175
22175
|
F.targetType = "axisName", F.name = l, Ke(x).eventData = F;
|
|
22176
22176
|
}
|
|
22177
22177
|
n.add(x), x.updateTransform(), A.nameEl = x;
|
|
22178
|
-
var
|
|
22178
|
+
var R = s.nameLayout = ss({
|
|
22179
22179
|
label: x,
|
|
22180
22180
|
priority: x.z2,
|
|
22181
22181
|
defaultAttr: {
|
|
@@ -22183,9 +22183,9 @@ var ja = (
|
|
|
22183
22183
|
},
|
|
22184
22184
|
marginDefault: Ic(c) ? lW[S] : cW[S]
|
|
22185
22185
|
});
|
|
22186
|
-
if (s.nameLocation = c, r.add(x), x.decomposeTransform(), t.shouldNameMoveOverlap &&
|
|
22186
|
+
if (s.nameLocation = c, r.add(x), x.decomposeTransform(), t.shouldNameMoveOverlap && R) {
|
|
22187
22187
|
var T = e.ensureRecord(i);
|
|
22188
|
-
process.env.NODE_ENV !== "production" && BA(T.labelInfoList), e.resolveAxisNameOverlap(t, e, i,
|
|
22188
|
+
process.env.NODE_ENV !== "production" && BA(T.labelInfoList), e.resolveAxisNameOverlap(t, e, i, R, B, T);
|
|
22189
22189
|
}
|
|
22190
22190
|
}
|
|
22191
22191
|
}
|
|
@@ -22343,7 +22343,7 @@ function pW(t, A, e, i, r, n) {
|
|
|
22343
22343
|
var x = C[S];
|
|
22344
22344
|
zA(x) && x.textStyle && (b = new Ut(x.textStyle, l, r.ecModel));
|
|
22345
22345
|
}
|
|
22346
|
-
var F = b.getTextColor() || r.get(["axisLine", "lineStyle", "color"]),
|
|
22346
|
+
var F = b.getTextColor() || r.get(["axisLine", "lineStyle", "color"]), R = b.getShallow("align", !0) || u.textAlign, T = Ae(b.getShallow("alignMinLabel", !0), R), H = Ae(b.getShallow("alignMaxLabel", !0), R), U = b.getShallow("verticalAlign", !0) || b.getShallow("baseline", !0) || u.textVerticalAlign, G = Ae(b.getShallow("verticalAlignMinLabel", !0), U), z = Ae(b.getShallow("verticalAlignMaxLabel", !0), U), AA = 10 + (((v = y.time) === null || v === void 0 ? void 0 : v.level) || 0);
|
|
22347
22347
|
d = Math.min(d, AA), B = Math.max(B, AA);
|
|
22348
22348
|
var eA = new Rt({
|
|
22349
22349
|
// --- transform props start ---
|
|
@@ -22358,7 +22358,7 @@ function pW(t, A, e, i, r, n) {
|
|
|
22358
22358
|
z2: AA,
|
|
22359
22359
|
style: Xi(b, {
|
|
22360
22360
|
text: D,
|
|
22361
|
-
align: E === 0 ? T : E === c.length - 1 ? H :
|
|
22361
|
+
align: E === 0 ? T : E === c.length - 1 ? H : R,
|
|
22362
22362
|
verticalAlign: E === 0 ? G : E === c.length - 1 ? z : U,
|
|
22363
22363
|
fill: Ie(F) ? F(
|
|
22364
22364
|
// (1) In category axis with data zoom, tick is not the original
|
|
@@ -22731,14 +22731,14 @@ function JW(t) {
|
|
|
22731
22731
|
return {
|
|
22732
22732
|
progress: function(Q, p) {
|
|
22733
22733
|
for (var E = Q.count, v = C && qa(E * 3), y = C && s && qa(E * 3), D = C && qa(E), k = i.master.getRect(), b = h ? k.width : k.height, S, x = p.getStore(), F = 0; (S = Q.next()) != null; ) {
|
|
22734
|
-
var
|
|
22735
|
-
c && (U = +
|
|
22734
|
+
var R = x.get(c ? f : a, S), T = x.get(o, S), H = u, U = void 0;
|
|
22735
|
+
c && (U = +R - x.get(a, S));
|
|
22736
22736
|
var G = void 0, z = void 0, AA = void 0, eA = void 0;
|
|
22737
22737
|
if (h) {
|
|
22738
|
-
var oA = i.dataToPoint([
|
|
22738
|
+
var oA = i.dataToPoint([R, T]);
|
|
22739
22739
|
c && (H = i.dataToPoint([U, T])[0]), G = H, z = oA[1] + B, AA = oA[0] - H, eA = d, si(AA) < I && (AA = (AA < 0 ? -1 : 1) * I);
|
|
22740
22740
|
} else {
|
|
22741
|
-
var oA = i.dataToPoint([T,
|
|
22741
|
+
var oA = i.dataToPoint([T, R]);
|
|
22742
22742
|
c && (H = i.dataToPoint([T, U])[1]), G = oA[0] + B, z = H, AA = d, eA = oA[1] - H, si(eA) < I && (eA = (eA <= 0 ? -1 : 1) * I);
|
|
22743
22743
|
}
|
|
22744
22744
|
C ? (v[F] = G, v[F + 1] = z, v[F + 2] = h ? AA : eA, y && (y[F] = h ? k.x : G, y[F + 1] = h ? z : k.y, y[F + 2] = b), D[S] = S) : p.setItemLayout(S, {
|
|
@@ -23061,18 +23061,18 @@ var DQ = Math.max, kQ = Math.min, WW = (
|
|
|
23061
23061
|
o.diff(s).add(function(S) {
|
|
23062
23062
|
var x = o.getItemModel(S), F = sC[g.type](o, S, x);
|
|
23063
23063
|
if (F && (d && D(S), !(!o.hasValue(S) || !i4[g.type](F)))) {
|
|
23064
|
-
var
|
|
23065
|
-
C && (
|
|
23064
|
+
var R = !1;
|
|
23065
|
+
C && (R = $D[g.type](I, F));
|
|
23066
23066
|
var T = A4[g.type](e, o, S, F, c, h, l.model, !1, f);
|
|
23067
23067
|
u && (T.forceLabelAnimation = !0), r4(T, o, S, x, F, e, c, g.type === "polar"), v ? T.attr({
|
|
23068
23068
|
shape: F
|
|
23069
23069
|
}) : u ? e4(u, h, T, F, S, c, !1, !1) : Oi(T, {
|
|
23070
23070
|
shape: F
|
|
23071
|
-
}, e, S), o.setItemGraphicEl(S, T), a.add(T), T.ignore =
|
|
23071
|
+
}, e, S), o.setItemGraphicEl(S, T), a.add(T), T.ignore = R;
|
|
23072
23072
|
}
|
|
23073
23073
|
}).update(function(S, x) {
|
|
23074
|
-
var F = o.getItemModel(S),
|
|
23075
|
-
if (
|
|
23074
|
+
var F = o.getItemModel(S), R = sC[g.type](o, S, F);
|
|
23075
|
+
if (R) {
|
|
23076
23076
|
if (d) {
|
|
23077
23077
|
var T = void 0;
|
|
23078
23078
|
E.length === 0 ? T = D(x) : (T = E[x], T.useStyle(B.getItemStyle()), g.type === "cartesian2d" ? T.setShape("r", Q) : T.setShape("cornerRadius", Q), p[S] = T);
|
|
@@ -23082,25 +23082,25 @@ var DQ = Math.max, kQ = Math.min, WW = (
|
|
|
23082
23082
|
}, h, S);
|
|
23083
23083
|
}
|
|
23084
23084
|
var G = s.getItemGraphicEl(x);
|
|
23085
|
-
if (!o.hasValue(S) || !i4[g.type](
|
|
23085
|
+
if (!o.hasValue(S) || !i4[g.type](R)) {
|
|
23086
23086
|
a.remove(G);
|
|
23087
23087
|
return;
|
|
23088
23088
|
}
|
|
23089
23089
|
var z = !1;
|
|
23090
|
-
C && (z = $D[g.type](I,
|
|
23090
|
+
C && (z = $D[g.type](I, R), z && a.remove(G));
|
|
23091
23091
|
var AA = G && (G.type === "sector" && f || G.type === "sausage" && !f);
|
|
23092
|
-
if (AA && (G && t0(G, e, x), G = null), G ? w0(G) : G = A4[g.type](e, o, S,
|
|
23092
|
+
if (AA && (G && t0(G, e, x), G = null), G ? w0(G) : G = A4[g.type](e, o, S, R, c, h, l.model, !0, f), u && (G.forceLabelAnimation = !0), y) {
|
|
23093
23093
|
var eA = G.getTextContent();
|
|
23094
23094
|
if (eA) {
|
|
23095
23095
|
var oA = th(eA);
|
|
23096
23096
|
oA.prevValue != null && (oA.prevValue = oA.value);
|
|
23097
23097
|
}
|
|
23098
23098
|
} else
|
|
23099
|
-
r4(G, o, S, F,
|
|
23099
|
+
r4(G, o, S, F, R, e, c, g.type === "polar");
|
|
23100
23100
|
v ? G.attr({
|
|
23101
|
-
shape:
|
|
23102
|
-
}) : u ? e4(u, h, G,
|
|
23103
|
-
shape:
|
|
23101
|
+
shape: R
|
|
23102
|
+
}) : u ? e4(u, h, G, R, S, c, !0, y) : ci(G, {
|
|
23103
|
+
shape: R
|
|
23104
23104
|
}, e, S, null), o.setItemGraphicEl(S, G), G.ignore = z, a.add(G);
|
|
23105
23105
|
}
|
|
23106
23106
|
}).remove(function(S) {
|
|
@@ -23793,7 +23793,7 @@ function lV(t) {
|
|
|
23793
23793
|
return !1;
|
|
23794
23794
|
}
|
|
23795
23795
|
A.each(function(v) {
|
|
23796
|
-
var y = A.getItemGraphicEl(v), D = y.shape, k = y.getTextContent(), b = y.getTextGuideLine(), S = A.getItemModel(v), x = S.getModel("label"), F = x.get("position") || S.get(["emphasis", "label", "position"]),
|
|
23796
|
+
var y = A.getItemGraphicEl(v), D = y.shape, k = y.getTextContent(), b = y.getTextGuideLine(), S = A.getItemModel(v), x = S.getModel("label"), F = x.get("position") || S.get(["emphasis", "label", "position"]), R = x.get("distanceToLabelLine"), T = x.get("alignTo"), H = ye(x.get("edgeDistance"), g), U = x.get("bleedMargin");
|
|
23797
23797
|
U == null && (U = Math.min(g, h) > 200 ? 10 : 2);
|
|
23798
23798
|
var G = S.getModel("labelLine"), z = G.get("length");
|
|
23799
23799
|
z = ye(z, g);
|
|
@@ -23812,7 +23812,7 @@ function lV(t) {
|
|
|
23812
23812
|
var ie = (XA ? (D.r + D.r0) / 2 * oA : D.r * oA) + i, nA = (XA ? (D.r + D.r0) / 2 * sA : D.r * sA) + r;
|
|
23813
23813
|
if (gA = ie + oA * 3, IA = nA + sA * 3, !XA) {
|
|
23814
23814
|
var yA = ie + oA * (z + s - D.r), YA = nA + sA * (z + s - D.r), me = yA + (oA < 0 ? -1 : 1) * AA, fe = YA;
|
|
23815
|
-
T === "edge" ? gA = oA < 0 ? l + H : l + g - H : gA = me + (oA < 0 ? -
|
|
23815
|
+
T === "edge" ? gA = oA < 0 ? l + H : l + g - H : gA = me + (oA < 0 ? -R : R), IA = fe, LA = [[ie, nA], [yA, YA], [me, fe]];
|
|
23816
23816
|
}
|
|
23817
23817
|
te = XA ? "center" : T === "edge" ? oA > 0 ? "right" : "left" : oA > 0 ? "left" : "right";
|
|
23818
23818
|
}
|
|
@@ -23851,7 +23851,7 @@ function lV(t) {
|
|
|
23851
23851
|
surfaceNormal: new Ne(oA, sA),
|
|
23852
23852
|
linePoints: LA,
|
|
23853
23853
|
textAlign: te,
|
|
23854
|
-
labelDistance:
|
|
23854
|
+
labelDistance: R,
|
|
23855
23855
|
labelAlignTo: T,
|
|
23856
23856
|
edgeDistance: H,
|
|
23857
23857
|
bleedMargin: U,
|
|
@@ -23899,7 +23899,7 @@ function uV(t, A) {
|
|
|
23899
23899
|
dm(D, !Q), c = D[0], h = D[1];
|
|
23900
23900
|
var b = g_(e);
|
|
23901
23901
|
b.startAngle = c, b.endAngle = h, b.clockwise = Q, b.cx = a, b.cy = o, b.r = s, b.r0 = g;
|
|
23902
|
-
var S = Math.abs(h - c), x = S, F = 0,
|
|
23902
|
+
var S = Math.abs(h - c), x = S, F = 0, R = c;
|
|
23903
23903
|
if (i.setLayout({
|
|
23904
23904
|
viewRect: l,
|
|
23905
23905
|
r: s
|
|
@@ -23919,8 +23919,8 @@ function uV(t, A) {
|
|
|
23919
23919
|
return;
|
|
23920
23920
|
}
|
|
23921
23921
|
p !== "area" ? G = d === 0 && E ? B : H * B : G = S / f, G < I ? (G = I, x -= I) : F += H;
|
|
23922
|
-
var z =
|
|
23923
|
-
u > G ? (AA =
|
|
23922
|
+
var z = R + y * G, AA = 0, eA = 0;
|
|
23923
|
+
u > G ? (AA = R + y * G / 2, eA = AA) : (AA = R + k, eA = z - k), i.setItemLayout(U, {
|
|
23924
23924
|
angle: G,
|
|
23925
23925
|
startAngle: AA,
|
|
23926
23926
|
endAngle: eA,
|
|
@@ -23929,7 +23929,7 @@ function uV(t, A) {
|
|
|
23929
23929
|
cy: o,
|
|
23930
23930
|
r0: g,
|
|
23931
23931
|
r: p ? Wi(H, v, [g, s]) : s
|
|
23932
|
-
}),
|
|
23932
|
+
}), R = z;
|
|
23933
23933
|
}), x < l4 && f)
|
|
23934
23934
|
if (x <= 1e-3) {
|
|
23935
23935
|
var T = S / f;
|
|
@@ -23942,10 +23942,10 @@ function uV(t, A) {
|
|
|
23942
23942
|
}
|
|
23943
23943
|
});
|
|
23944
23944
|
} else
|
|
23945
|
-
B = x / F,
|
|
23945
|
+
B = x / F, R = c, i.each(r, function(H, U) {
|
|
23946
23946
|
if (!isNaN(H)) {
|
|
23947
23947
|
var G = i.getItemLayout(U), z = G.angle === I ? I : H * B, AA = 0, eA = 0;
|
|
23948
|
-
z < u ? (AA =
|
|
23948
|
+
z < u ? (AA = R + y * z / 2, eA = AA) : (AA = R + k, eA = R + y * z - k), G.startAngle = AA, G.endAngle = eA, R += y * z;
|
|
23949
23949
|
}
|
|
23950
23950
|
});
|
|
23951
23951
|
});
|
|
@@ -24672,7 +24672,7 @@ function h_(t, A) {
|
|
|
24672
24672
|
}
|
|
24673
24673
|
process.env.NODE_ENV !== "production" && BA(C >= 1);
|
|
24674
24674
|
var B = r.zoomFixMM, Q = B[0] || B[1], p = [r.fixMM[0] || Q, r.fixMM[1] || Q], E = e.getExtent(), v = o.getExtent(), y = Ax(v, p), D, k, b, S, x, F;
|
|
24675
|
-
function
|
|
24675
|
+
function R(oA) {
|
|
24676
24676
|
for (var sA = 50, gA = 0; gA < sA && !oA(); gA++)
|
|
24677
24677
|
b = n ? b * nt(s, 2) : FK(b), S = Fg(b);
|
|
24678
24678
|
process.env.NODE_ENV !== "production" && gA >= sA && Ti("incorrect impl in `scaleCalcAlign`.");
|
|
@@ -24695,13 +24695,13 @@ function h_(t, A) {
|
|
|
24695
24695
|
S = RT([k, D], AA, 0.5 / C), U(), G(), An(S) && (b = ze(b, S));
|
|
24696
24696
|
} else {
|
|
24697
24697
|
var eA = y[1] - y[0];
|
|
24698
|
-
b = n ? nt(d5(eA), 1) : sm(eA / C, B5), S = Fg(b), p[0] ? (D = y[0],
|
|
24698
|
+
b = n ? nt(d5(eA), 1) : sm(eA / C, B5), S = Fg(b), p[0] ? (D = y[0], R(function() {
|
|
24699
24699
|
if (U(), x = ze(F + b * C, S), H(), k >= y[1])
|
|
24700
24700
|
return !0;
|
|
24701
|
-
})) : p[1] ? (k = y[1],
|
|
24701
|
+
})) : p[1] ? (k = y[1], R(function() {
|
|
24702
24702
|
if (G(), F = ze(x - b * C, S), T(), D <= y[0])
|
|
24703
24703
|
return !0;
|
|
24704
|
-
})) :
|
|
24704
|
+
})) : R(function() {
|
|
24705
24705
|
F = ze(X0(y[0] / b) * b, S), x = ze(wg(y[1] / b) * b, S);
|
|
24706
24706
|
var oA = no((x - F) / b);
|
|
24707
24707
|
if (oA <= C) {
|
|
@@ -25761,13 +25761,13 @@ var jV = (
|
|
|
25761
25761
|
}
|
|
25762
25762
|
b = S.slice().reverse();
|
|
25763
25763
|
}
|
|
25764
|
-
var F = s.getLineStyle(),
|
|
25764
|
+
var F = s.getLineStyle(), R = g.getAreaStyle();
|
|
25765
25765
|
L(d, function(T, H) {
|
|
25766
25766
|
this.group.add(mE(T, {
|
|
25767
25767
|
style: He({
|
|
25768
25768
|
stroke: "none",
|
|
25769
25769
|
fill: I[H % I.length]
|
|
25770
|
-
},
|
|
25770
|
+
}, R),
|
|
25771
25771
|
silent: !0
|
|
25772
25772
|
}));
|
|
25773
25773
|
}, this), L(f, function(T, H) {
|
|
@@ -27002,13 +27002,13 @@ var Xz = (
|
|
|
27002
27002
|
};
|
|
27003
27003
|
this._renderTicks(e, i, r, D, a, g, l, s, f), this._renderTitleAndDetail(e, i, r, D, a), this._renderAnchor(e, a), this._renderPointer(e, i, r, D, a, g, l, s, f);
|
|
27004
27004
|
}, A.prototype._renderTicks = function(e, i, r, n, a, o, s, g, l) {
|
|
27005
|
-
for (var c = this.group, h = a.cx, u = a.cy, C = a.r, I = +e.get("min"), f = +e.get("max"), d = e.getModel("splitLine"), B = e.getModel("axisTick"), Q = e.getModel("axisLabel"), p = e.get("splitNumber"), E = B.get("splitNumber"), v = ye(d.get("length"), C), y = ye(B.get("length"), C), D = o, k = (s - o) / p, b = k / E, S = d.getModel("lineStyle").getLineStyle(), x = B.getModel("lineStyle").getLineStyle(), F = d.get("distance"),
|
|
27006
|
-
if (
|
|
27005
|
+
for (var c = this.group, h = a.cx, u = a.cy, C = a.r, I = +e.get("min"), f = +e.get("max"), d = e.getModel("splitLine"), B = e.getModel("axisTick"), Q = e.getModel("axisLabel"), p = e.get("splitNumber"), E = B.get("splitNumber"), v = ye(d.get("length"), C), y = ye(B.get("length"), C), D = o, k = (s - o) / p, b = k / E, S = d.getModel("lineStyle").getLineStyle(), x = B.getModel("lineStyle").getLineStyle(), F = d.get("distance"), R, T, H = 0; H <= p; H++) {
|
|
27006
|
+
if (R = Math.cos(D), T = Math.sin(D), d.get("show")) {
|
|
27007
27007
|
var U = F ? F + l : l, G = new ma({
|
|
27008
27008
|
shape: {
|
|
27009
|
-
x1:
|
|
27009
|
+
x1: R * (C - U) + h,
|
|
27010
27010
|
y1: T * (C - U) + u,
|
|
27011
|
-
x2:
|
|
27011
|
+
x2: R * (C - v - U) + h,
|
|
27012
27012
|
y2: T * (C - v - U) + u
|
|
27013
27013
|
},
|
|
27014
27014
|
style: S,
|
|
@@ -27023,14 +27023,14 @@ var Xz = (
|
|
|
27023
27023
|
// multiply firstly to avoid rounding error.
|
|
27024
27024
|
ze(H * (f - I) / p + I, bT),
|
|
27025
27025
|
Q.get("formatter")
|
|
27026
|
-
), AA = n(H / p), eA =
|
|
27026
|
+
), AA = n(H / p), eA = R * (C - v - U) + h, oA = T * (C - v - U) + u, sA = Q.get("rotate"), gA = 0;
|
|
27027
27027
|
sA === "radial" ? (gA = -D + 2 * Math.PI, gA > Math.PI / 2 && (gA += Math.PI)) : sA === "tangential" ? gA = -D - Math.PI / 2 : at(sA) && (gA = sA * Math.PI / 180), gA === 0 ? c.add(new Rt({
|
|
27028
27028
|
style: Xi(Q, {
|
|
27029
27029
|
text: z,
|
|
27030
27030
|
x: eA,
|
|
27031
27031
|
y: oA,
|
|
27032
27032
|
verticalAlign: T < -0.8 ? "top" : T > 0.8 ? "bottom" : "middle",
|
|
27033
|
-
align:
|
|
27033
|
+
align: R < -0.4 ? "left" : R > 0.4 ? "right" : "center"
|
|
27034
27034
|
}, {
|
|
27035
27035
|
inheritColor: AA
|
|
27036
27036
|
}),
|
|
@@ -27055,12 +27055,12 @@ var Xz = (
|
|
|
27055
27055
|
var U = B.get("distance");
|
|
27056
27056
|
U = U ? U + l : l;
|
|
27057
27057
|
for (var IA = 0; IA <= E; IA++) {
|
|
27058
|
-
|
|
27058
|
+
R = Math.cos(D), T = Math.sin(D);
|
|
27059
27059
|
var LA = new ma({
|
|
27060
27060
|
shape: {
|
|
27061
|
-
x1:
|
|
27061
|
+
x1: R * (C - U) + h,
|
|
27062
27062
|
y1: T * (C - U) + u,
|
|
27063
|
-
x2:
|
|
27063
|
+
x2: R * (C - y - U) + h,
|
|
27064
27064
|
y2: T * (C - y - U) + u
|
|
27065
27065
|
},
|
|
27066
27066
|
silent: !0,
|
|
@@ -27077,11 +27077,11 @@ var Xz = (
|
|
|
27077
27077
|
}, A.prototype._renderPointer = function(e, i, r, n, a, o, s, g, l) {
|
|
27078
27078
|
var c = this.group, h = this._data, u = this._progressEls, C = [], I = e.get(["pointer", "show"]), f = e.getModel("progress"), d = f.get("show"), B = e.getData(), Q = B.mapDimension("value"), p = +e.get("min"), E = +e.get("max"), v = [p, E], y = [o, s];
|
|
27079
27079
|
function D(b, S) {
|
|
27080
|
-
var x = B.getItemModel(b), F = x.getModel("pointer"),
|
|
27081
|
-
return H ? eA = en(H, G -
|
|
27080
|
+
var x = B.getItemModel(b), F = x.getModel("pointer"), R = ye(F.get("width"), a.r), T = ye(F.get("length"), a.r), H = e.get(["pointer", "icon"]), U = F.get("offsetCenter"), G = ye(U[0], a.r), z = ye(U[1], a.r), AA = F.get("keepAspect"), eA;
|
|
27081
|
+
return H ? eA = en(H, G - R / 2, z - T, R, T, null, AA) : eA = new Vz({
|
|
27082
27082
|
shape: {
|
|
27083
27083
|
angle: -Math.PI / 2,
|
|
27084
|
-
width:
|
|
27084
|
+
width: R,
|
|
27085
27085
|
r: T,
|
|
27086
27086
|
x: G,
|
|
27087
27087
|
y: z
|
|
@@ -27089,7 +27089,7 @@ var Xz = (
|
|
|
27089
27089
|
}), eA.rotation = -(S + Math.PI / 2), eA.x = a.cx, eA.y = a.cy, eA;
|
|
27090
27090
|
}
|
|
27091
27091
|
function k(b, S) {
|
|
27092
|
-
var x = f.get("roundCap"), F = x ? mf : va,
|
|
27092
|
+
var x = f.get("roundCap"), F = x ? mf : va, R = f.get("overlap"), T = R ? f.get("width") : l / B.count(), H = R ? a.r - T : a.r - (b + 1) * T, U = R ? a.r : a.r - b * T, G = new F({
|
|
27093
27093
|
shape: {
|
|
27094
27094
|
startAngle: o,
|
|
27095
27095
|
endAngle: S,
|
|
@@ -27100,7 +27100,7 @@ var Xz = (
|
|
|
27100
27100
|
r: U
|
|
27101
27101
|
}
|
|
27102
27102
|
});
|
|
27103
|
-
return
|
|
27103
|
+
return R && (G.z2 = Wi(B.get(Q, b), [p, E], [100, 0], !0)), G;
|
|
27104
27104
|
}
|
|
27105
27105
|
(d || I) && (B.diff(h).add(function(b) {
|
|
27106
27106
|
var S = B.get(Q, b);
|
|
@@ -27111,18 +27111,18 @@ var Xz = (
|
|
|
27111
27111
|
}, e), c.add(x), B.setItemGraphicEl(b, x);
|
|
27112
27112
|
}
|
|
27113
27113
|
if (d) {
|
|
27114
|
-
var F = k(b, o),
|
|
27114
|
+
var F = k(b, o), R = f.get("clip");
|
|
27115
27115
|
Oi(F, {
|
|
27116
27116
|
shape: {
|
|
27117
|
-
endAngle: Wi(S, v, y,
|
|
27117
|
+
endAngle: Wi(S, v, y, R)
|
|
27118
27118
|
}
|
|
27119
27119
|
}, e), c.add(F), CE(e.seriesIndex, B.dataType, b, F), C[b] = F;
|
|
27120
27120
|
}
|
|
27121
27121
|
}).update(function(b, S) {
|
|
27122
27122
|
var x = B.get(Q, b);
|
|
27123
27123
|
if (I) {
|
|
27124
|
-
var F = h.getItemGraphicEl(S),
|
|
27125
|
-
T.rotation =
|
|
27124
|
+
var F = h.getItemGraphicEl(S), R = F ? F.rotation : o, T = D(b, R);
|
|
27125
|
+
T.rotation = R, ci(T, {
|
|
27126
27126
|
rotation: -((isNaN(+x) ? y[0] : Wi(x, v, y, !0)) + Math.PI / 2)
|
|
27127
27127
|
}, e), c.add(T), B.setItemGraphicEl(b, T);
|
|
27128
27128
|
}
|
|
@@ -27135,7 +27135,7 @@ var Xz = (
|
|
|
27135
27135
|
}, e), c.add(G), CE(e.seriesIndex, B.dataType, b, G), C[b] = G;
|
|
27136
27136
|
}
|
|
27137
27137
|
}).execute(), B.each(function(b) {
|
|
27138
|
-
var S = B.getItemModel(b), x = S.getModel("emphasis"), F = x.get("focus"),
|
|
27138
|
+
var S = B.getItemModel(b), x = S.getModel("emphasis"), F = x.get("focus"), R = x.get("blurScope"), T = x.get("disabled"), H = n(Wi(B.get(Q, b), v, [0, 1], !0));
|
|
27139
27139
|
if (I) {
|
|
27140
27140
|
var U = B.getItemGraphicEl(b), G = B.getItemVisual(b, "style"), z = G.fill;
|
|
27141
27141
|
if (U instanceof Gn) {
|
|
@@ -27149,11 +27149,11 @@ var Xz = (
|
|
|
27149
27149
|
}, G));
|
|
27150
27150
|
} else
|
|
27151
27151
|
U.useStyle(G), U.type !== "pointer" && U.setColor(z);
|
|
27152
|
-
U.setStyle(S.getModel(["pointer", "itemStyle"]).getItemStyle()), U.style.fill === "auto" && U.setStyle("fill", H), U.z2EmphasisLift = 0, Ea(U, S), Zn(U, F,
|
|
27152
|
+
U.setStyle(S.getModel(["pointer", "itemStyle"]).getItemStyle()), U.style.fill === "auto" && U.setStyle("fill", H), U.z2EmphasisLift = 0, Ea(U, S), Zn(U, F, R, T);
|
|
27153
27153
|
}
|
|
27154
27154
|
if (d) {
|
|
27155
27155
|
var eA = C[b];
|
|
27156
|
-
eA.useStyle(B.getItemVisual(b, "style")), eA.setStyle(S.getModel(["progress", "itemStyle"]).getItemStyle()), eA.style.fill === "auto" && eA.setStyle("fill", H), eA.z2EmphasisLift = 0, Ea(eA, S), Zn(eA, F,
|
|
27156
|
+
eA.useStyle(B.getItemVisual(b, "style")), eA.setStyle(S.getModel(["progress", "itemStyle"]).getItemStyle()), eA.style.fill === "auto" && eA.setStyle("fill", H), eA.z2EmphasisLift = 0, Ea(eA, S), Zn(eA, F, R, T);
|
|
27157
27157
|
}
|
|
27158
27158
|
}), this._progressEls = C);
|
|
27159
27159
|
}, A.prototype._renderAnchor = function(e, i) {
|
|
@@ -27191,12 +27191,12 @@ var Xz = (
|
|
|
27191
27191
|
}
|
|
27192
27192
|
var S = B.getModel("detail");
|
|
27193
27193
|
if (S.get("show")) {
|
|
27194
|
-
var x = S.get("offsetCenter"), F = a.cx + ye(x[0], a.r),
|
|
27194
|
+
var x = S.get("offsetCenter"), F = a.cx + ye(x[0], a.r), R = a.cy + ye(x[1], a.r), T = ye(S.get("width"), a.r), H = ye(S.get("height"), a.r), U = e.get(["progress", "show"]) ? s.getItemVisual(d, "style").fill : E, b = C[d], G = S.get("formatter");
|
|
27195
27195
|
b.attr({
|
|
27196
27196
|
z2: f ? 0 : 2,
|
|
27197
27197
|
style: Xi(S, {
|
|
27198
27198
|
x: F,
|
|
27199
|
-
y:
|
|
27199
|
+
y: R,
|
|
27200
27200
|
text: fC(Q, G),
|
|
27201
27201
|
width: isNaN(T) ? null : T,
|
|
27202
27202
|
height: isNaN(H) ? null : H,
|
|
@@ -27548,11 +27548,11 @@ var lo = "sankey", eX = (
|
|
|
27548
27548
|
a.removeAll(), a.x = o.x, a.y = o.y, this._updateViewCoordSys(e, r), Nz(e, r, this._controller, xz(a)), n.eachEdge(function(u) {
|
|
27549
27549
|
var C = new iX(), I = Ke(C);
|
|
27550
27550
|
I.dataIndex = u.dataIndex, I.seriesIndex = e.seriesIndex, I.dataType = "edge";
|
|
27551
|
-
var f = u.getModel(), d = f.getModel("lineStyle"), B = d.get("curveness"), Q = u.node1.getLayout(), p = u.node1.getModel(), E = p.get("localX"), v = p.get("localY"), y = u.node2.getLayout(), D = u.node2.getModel(), k = D.get("localX"), b = D.get("localY"), S = u.getLayout(), x, F,
|
|
27552
|
-
C.shape.extent = Math.max(1, S.dy), C.shape.orient = h, h === "vertical" ? (x = (E != null ? E * s : Q.x) + S.sy, F = (v != null ? v * g : Q.y) + Q.dy,
|
|
27551
|
+
var f = u.getModel(), d = f.getModel("lineStyle"), B = d.get("curveness"), Q = u.node1.getLayout(), p = u.node1.getModel(), E = p.get("localX"), v = p.get("localY"), y = u.node2.getLayout(), D = u.node2.getModel(), k = D.get("localX"), b = D.get("localY"), S = u.getLayout(), x, F, R, T, H, U, G, z;
|
|
27552
|
+
C.shape.extent = Math.max(1, S.dy), C.shape.orient = h, h === "vertical" ? (x = (E != null ? E * s : Q.x) + S.sy, F = (v != null ? v * g : Q.y) + Q.dy, R = (k != null ? k * s : y.x) + S.ty, T = b != null ? b * g : y.y, H = x, U = F * (1 - B) + T * B, G = R, z = F * B + T * (1 - B)) : (x = (E != null ? E * s : Q.x) + Q.dx, F = (v != null ? v * g : Q.y) + S.sy, R = k != null ? k * s : y.x, T = (b != null ? b * g : y.y) + S.ty, H = x * (1 - B) + R * B, U = F, G = x * B + R * (1 - B), z = T), C.setShape({
|
|
27553
27553
|
x1: x,
|
|
27554
27554
|
y1: F,
|
|
27555
|
-
x2:
|
|
27555
|
+
x2: R,
|
|
27556
27556
|
y2: T,
|
|
27557
27557
|
cpx1: H,
|
|
27558
27558
|
cpy1: U,
|
|
@@ -28099,7 +28099,7 @@ var NX = (
|
|
|
28099
28099
|
l = os(C).w + 0.5, c = os(I).w + 0.5, h = C.scale.getExtent(), u = I.scale.getExtent();
|
|
28100
28100
|
}
|
|
28101
28101
|
for (var f = this.group, d = e.getData(), B = e.getModel(["emphasis", "itemStyle"]).getItemStyle(), Q = e.getModel(["blur", "itemStyle"]).getItemStyle(), p = e.getModel(["select", "itemStyle"]).getItemStyle(), E = e.get(["itemStyle", "borderRadius"]), v = ya(e), y = e.getModel("emphasis"), D = y.get("focus"), k = y.get("blurScope"), b = y.get("disabled"), S = s || g ? [d.mapDimension("x"), d.mapDimension("y"), d.mapDimension("value")] : [d.mapDimension("time"), d.mapDimension("value")], x = r; x < n; x++) {
|
|
28102
|
-
var F = void 0,
|
|
28102
|
+
var F = void 0, R = d.getItemVisual(x, "style");
|
|
28103
28103
|
if (s) {
|
|
28104
28104
|
var T = d.get(S[0], x), H = d.get(S[1], x);
|
|
28105
28105
|
if (isNaN(d.get(S[2], x)) || isNaN(T) || isNaN(H) || T < h[0] || T > h[1] || H < u[0] || H > u[1])
|
|
@@ -28112,7 +28112,7 @@ var NX = (
|
|
|
28112
28112
|
width: l,
|
|
28113
28113
|
height: c
|
|
28114
28114
|
},
|
|
28115
|
-
style:
|
|
28115
|
+
style: R
|
|
28116
28116
|
});
|
|
28117
28117
|
} else if (g) {
|
|
28118
28118
|
var G = o.dataToLayout([d.get(S[0], x), d.get(S[1], x)]).rect;
|
|
@@ -28121,7 +28121,7 @@ var NX = (
|
|
|
28121
28121
|
F = new Et({
|
|
28122
28122
|
z2: 1,
|
|
28123
28123
|
shape: G,
|
|
28124
|
-
style:
|
|
28124
|
+
style: R
|
|
28125
28125
|
});
|
|
28126
28126
|
} else {
|
|
28127
28127
|
if (isNaN(d.get(S[1], x)))
|
|
@@ -28132,7 +28132,7 @@ var NX = (
|
|
|
28132
28132
|
F = new Et({
|
|
28133
28133
|
z2: 1,
|
|
28134
28134
|
shape: G,
|
|
28135
|
-
style:
|
|
28135
|
+
style: R
|
|
28136
28136
|
});
|
|
28137
28137
|
}
|
|
28138
28138
|
if (d.hasItemOption) {
|
|
@@ -28144,7 +28144,7 @@ var NX = (
|
|
|
28144
28144
|
oA && oA[2] != null && (sA = oA[2] + ""), so(F, v, {
|
|
28145
28145
|
labelFetcher: e,
|
|
28146
28146
|
labelDataIndex: x,
|
|
28147
|
-
defaultOpacity:
|
|
28147
|
+
defaultOpacity: R.opacity,
|
|
28148
28148
|
defaultText: sA
|
|
28149
28149
|
}), F.ensureState("emphasis").style = B, F.ensureState("blur").style = Q, F.ensureState("select").style = p, Zn(F, D, k, b), F.incremental = hm(e, a), a && (F.states.emphasis.hoverLayer = Qd), f.add(F), d.setItemGraphicEl(x, F), this._progressiveEls && this._progressiveEls.push(F);
|
|
28150
28150
|
}
|
|
@@ -29457,14 +29457,14 @@ var pj = new Et({
|
|
|
29457
29457
|
F.axisDim = Q.axisDim, F.axisIndex = Q.axisIndex, F.axisType = Q.axisType, F.axisId = Q.axisId, F.axisValue = cf(p.axis, {
|
|
29458
29458
|
value: y
|
|
29459
29459
|
}), F.axisValueLabel = D, F.marker = h.makeTooltipMarker("item", Sg(F.color), s);
|
|
29460
|
-
var
|
|
29460
|
+
var R = Mw(S.formatTooltip(x, !0, null)), T = R.frag;
|
|
29461
29461
|
if (T) {
|
|
29462
29462
|
var H = Cu([S], n).get("valueFormatter");
|
|
29463
29463
|
k.blocks.push(H ? kA({
|
|
29464
29464
|
valueFormatter: H
|
|
29465
29465
|
}, T) : T);
|
|
29466
29466
|
}
|
|
29467
|
-
|
|
29467
|
+
R.text && c.push(R.text), g.push(F);
|
|
29468
29468
|
}
|
|
29469
29469
|
});
|
|
29470
29470
|
}
|
|
@@ -30103,11 +30103,11 @@ var xj = function(t, A) {
|
|
|
30103
30103
|
var S = k.legendVisualProvider;
|
|
30104
30104
|
if (!S.containName(d))
|
|
30105
30105
|
return;
|
|
30106
|
-
var x = S.indexOfName(d), F = S.getItemVisual(x, "style"),
|
|
30106
|
+
var x = S.indexOfName(d), F = S.getItemVisual(x, "style"), R = S.getItemVisual(x, "legendIcon"), T = kn(F.fill);
|
|
30107
30107
|
T && T[3] === 0 && (T[3] = 0.2, F = kA(kA({}, F), {
|
|
30108
30108
|
fill: za(T, "rgba")
|
|
30109
30109
|
}));
|
|
30110
|
-
var H = this._createItem(k, d, I, C, i, e, {}, F,
|
|
30110
|
+
var H = this._createItem(k, d, I, C, i, e, {}, F, R, c, n);
|
|
30111
30111
|
H.on("click", Cl(Ak, null, d, n, u)).on("mouseover", Cl(gv, null, d, n, u)).on("mouseout", Cl(lv, null, d, n, u)), r.ssr && H.eachChild(function(U) {
|
|
30112
30112
|
var G = Ke(U);
|
|
30113
30113
|
G.seriesIndex = k.seriesIndex, G.dataIndex = I, G.ssrType = "legend";
|
|
@@ -30200,12 +30200,12 @@ var xj = function(t, A) {
|
|
|
30200
30200
|
// Cannot use 'invisible' because SVG SSR will miss the node
|
|
30201
30201
|
fill: "transparent"
|
|
30202
30202
|
}
|
|
30203
|
-
}),
|
|
30204
|
-
return
|
|
30203
|
+
}), R = n.getModel("tooltip");
|
|
30204
|
+
return R.get("show") && pd({
|
|
30205
30205
|
el: F,
|
|
30206
30206
|
componentModel: a,
|
|
30207
30207
|
itemName: i,
|
|
30208
|
-
itemTooltipOption:
|
|
30208
|
+
itemTooltipOption: R.option
|
|
30209
30209
|
}), E.add(F), E.eachChild(function(T) {
|
|
30210
30210
|
T.silent = !0;
|
|
30211
30211
|
}), F.silent = !c, this.getContentGroup().add(E), QE(E), E.__legendDataIndex = r, E;
|
|
@@ -31816,7 +31816,7 @@ var X_ = function(t) {
|
|
|
31816
31816
|
break;
|
|
31817
31817
|
} else if (s) {
|
|
31818
31818
|
g.copy(p), g.union(b);
|
|
31819
|
-
var x = p.width * p.height, F = b.width * b.height,
|
|
31819
|
+
var x = p.width * p.height, F = b.width * b.height, R = g.width * g.height, T = R - x - F;
|
|
31820
31820
|
T < y && (y = T, D = k);
|
|
31821
31821
|
}
|
|
31822
31822
|
}
|
|
@@ -35960,7 +35960,7 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
35960
35960
|
}), er(() => {
|
|
35961
35961
|
document.body.style.overflow = o, document.removeEventListener("keydown", l), a == null || a.focus();
|
|
35962
35962
|
}), (u, C) => (Y(), se(f0, { to: "body" }, [
|
|
35963
|
-
|
|
35963
|
+
M("div", {
|
|
35964
35964
|
ref_key: "dialogRef",
|
|
35965
35965
|
ref: r,
|
|
35966
35966
|
class: "image-lightbox",
|
|
@@ -35972,13 +35972,13 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
35972
35972
|
onTouchstart: c,
|
|
35973
35973
|
onTouchend: h
|
|
35974
35974
|
}, [
|
|
35975
|
-
|
|
35975
|
+
M("button", {
|
|
35976
35976
|
class: "image-lightbox__close",
|
|
35977
35977
|
type: "button",
|
|
35978
35978
|
"aria-label": "关闭图片预览",
|
|
35979
35979
|
onClick: C[0] || (C[0] = (I) => i("close"))
|
|
35980
35980
|
}, [...C[4] || (C[4] = [
|
|
35981
|
-
|
|
35981
|
+
M("span", { "aria-hidden": "true" }, "✕", -1)
|
|
35982
35982
|
])]),
|
|
35983
35983
|
g.value ? (Y(), P("button", {
|
|
35984
35984
|
key: 0,
|
|
@@ -35987,7 +35987,7 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
35987
35987
|
"aria-label": "查看上一张图片",
|
|
35988
35988
|
onClick: C[1] || (C[1] = (I) => i("previous"))
|
|
35989
35989
|
}, [...C[5] || (C[5] = [
|
|
35990
|
-
|
|
35990
|
+
M("span", { "aria-hidden": "true" }, "❮", -1)
|
|
35991
35991
|
])])) : DA("", !0),
|
|
35992
35992
|
s.value ? (Y(), P("img", {
|
|
35993
35993
|
key: 1,
|
|
@@ -36002,7 +36002,7 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
36002
36002
|
"aria-label": "查看下一张图片",
|
|
36003
36003
|
onClick: C[2] || (C[2] = (I) => i("next"))
|
|
36004
36004
|
}, [...C[6] || (C[6] = [
|
|
36005
|
-
|
|
36005
|
+
M("span", { "aria-hidden": "true" }, "❯", -1)
|
|
36006
36006
|
])])) : DA("", !0),
|
|
36007
36007
|
g.value ? (Y(), P("div", KrA, EA(t.activeIndex + 1) + " / " + EA(t.images.length), 1)) : DA("", !0)
|
|
36008
36008
|
], 544)
|
|
@@ -36095,84 +36095,84 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
36095
36095
|
height: `${c.value.height}px`
|
|
36096
36096
|
})
|
|
36097
36097
|
}, [
|
|
36098
|
-
|
|
36098
|
+
M("button", {
|
|
36099
36099
|
class: "image-stack__single-cover",
|
|
36100
36100
|
type: "button",
|
|
36101
36101
|
"aria-label": y(0),
|
|
36102
|
-
onClick: k[0] || (k[0] = (
|
|
36102
|
+
onClick: k[0] || (k[0] = (R) => f(0))
|
|
36103
36103
|
}, [
|
|
36104
|
-
|
|
36104
|
+
M("img", {
|
|
36105
36105
|
src: I(((b = t.images[0]) == null ? void 0 : b.url) ?? "", hnA),
|
|
36106
36106
|
alt: ((S = t.images[0]) == null ? void 0 : S.alt) ?? "",
|
|
36107
36107
|
onLoad: p
|
|
36108
36108
|
}, null, 40, zrA)
|
|
36109
36109
|
], 8, VrA)
|
|
36110
36110
|
], 4)) : e.value ? (Y(), P("div", inA, [
|
|
36111
|
-
|
|
36111
|
+
M("div", {
|
|
36112
36112
|
class: "image-stack__grid",
|
|
36113
36113
|
style: di({ "--image-stack-columns": String(l.value) })
|
|
36114
36114
|
}, [
|
|
36115
|
-
(Y(!0), P(Ge, null, Qt(a.value, (
|
|
36116
|
-
key:
|
|
36115
|
+
(Y(!0), P(Ge, null, Qt(a.value, (R, T) => (Y(), P("button", {
|
|
36116
|
+
key: R.id,
|
|
36117
36117
|
class: "image-stack__grid-cell",
|
|
36118
36118
|
type: "button",
|
|
36119
36119
|
"aria-label": y(T),
|
|
36120
36120
|
"data-testid": `image-stack-image-${T}`,
|
|
36121
36121
|
onClick: (H) => f(T)
|
|
36122
36122
|
}, [
|
|
36123
|
-
|
|
36124
|
-
src: I(
|
|
36125
|
-
alt:
|
|
36123
|
+
M("img", {
|
|
36124
|
+
src: I(R.url, CnA),
|
|
36125
|
+
alt: R.alt ?? ""
|
|
36126
36126
|
}, null, 8, nnA),
|
|
36127
36127
|
T === a.value.length - 1 && o.value > 0 ? (Y(), P("span", anA, " +" + EA(o.value), 1)) : DA("", !0)
|
|
36128
36128
|
], 8, rnA))), 128))
|
|
36129
36129
|
], 4),
|
|
36130
|
-
|
|
36130
|
+
M("button", {
|
|
36131
36131
|
class: "image-stack__toggle image-stack__toggle--collapse",
|
|
36132
36132
|
type: "button",
|
|
36133
36133
|
"aria-expanded": e.value,
|
|
36134
|
-
onClick: k[3] || (k[3] = (
|
|
36134
|
+
onClick: k[3] || (k[3] = (R) => e.value = !1)
|
|
36135
36135
|
}, [...k[4] || (k[4] = [
|
|
36136
36136
|
qv(" 收起 ", -1),
|
|
36137
|
-
|
|
36137
|
+
M("span", { "aria-hidden": "true" }, "⌃", -1)
|
|
36138
36138
|
])], 8, onA)
|
|
36139
36139
|
])) : (Y(), P("div", XrA, [
|
|
36140
|
-
|
|
36140
|
+
M("button", {
|
|
36141
36141
|
class: "image-stack__toggle",
|
|
36142
36142
|
type: "button",
|
|
36143
36143
|
"aria-expanded": e.value,
|
|
36144
36144
|
"aria-label": `展开 ${t.images.length} 张图片`,
|
|
36145
|
-
onClick: k[1] || (k[1] = (
|
|
36145
|
+
onClick: k[1] || (k[1] = (R) => e.value = !0)
|
|
36146
36146
|
}, " 展开 " + EA(t.images.length) + " 张 ", 9, jrA),
|
|
36147
|
-
|
|
36147
|
+
M("div", {
|
|
36148
36148
|
class: "image-stack__canvas",
|
|
36149
36149
|
style: di({
|
|
36150
36150
|
width: `${u.value.width}px`,
|
|
36151
36151
|
height: `${u.value.height}px`
|
|
36152
36152
|
})
|
|
36153
36153
|
}, [
|
|
36154
|
-
(Y(!0), P(Ge, null, Qt(g.value, (
|
|
36154
|
+
(Y(!0), P(Ge, null, Qt(g.value, (R) => {
|
|
36155
36155
|
var T;
|
|
36156
36156
|
return Y(), P("span", {
|
|
36157
|
-
key:
|
|
36157
|
+
key: R,
|
|
36158
36158
|
class: "image-stack__layer",
|
|
36159
|
-
"data-testid": `image-stack-layer-${
|
|
36159
|
+
"data-testid": `image-stack-layer-${R}`,
|
|
36160
36160
|
style: di({
|
|
36161
36161
|
width: `${h.value.width}px`,
|
|
36162
36162
|
height: `${h.value.height}px`,
|
|
36163
|
-
left: `${
|
|
36164
|
-
top: `${u.value.verticalOffset -
|
|
36165
|
-
transform: `rotate(${E(
|
|
36163
|
+
left: `${R * Wk}px`,
|
|
36164
|
+
top: `${u.value.verticalOffset - R * Vk}px`,
|
|
36165
|
+
transform: `rotate(${E(R)}deg)`
|
|
36166
36166
|
}),
|
|
36167
36167
|
"aria-hidden": "true"
|
|
36168
36168
|
}, [
|
|
36169
|
-
|
|
36170
|
-
src: I(((T = v(
|
|
36169
|
+
M("img", {
|
|
36170
|
+
src: I(((T = v(R)) == null ? void 0 : T.url) ?? "", Pk),
|
|
36171
36171
|
alt: ""
|
|
36172
36172
|
}, null, 8, AnA)
|
|
36173
36173
|
], 12, $rA);
|
|
36174
36174
|
}), 128)),
|
|
36175
|
-
|
|
36175
|
+
M("button", {
|
|
36176
36176
|
class: "image-stack__cover",
|
|
36177
36177
|
type: "button",
|
|
36178
36178
|
style: di({
|
|
@@ -36182,9 +36182,9 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
36182
36182
|
}),
|
|
36183
36183
|
"aria-label": y(0),
|
|
36184
36184
|
"data-testid": "image-stack-cover",
|
|
36185
|
-
onClick: k[2] || (k[2] = (
|
|
36185
|
+
onClick: k[2] || (k[2] = (R) => f(0))
|
|
36186
36186
|
}, [
|
|
36187
|
-
|
|
36187
|
+
M("img", {
|
|
36188
36188
|
src: I(((x = t.images[0]) == null ? void 0 : x.url) ?? "", Pk),
|
|
36189
36189
|
alt: ((F = t.images[0]) == null ? void 0 : F.alt) ?? "",
|
|
36190
36190
|
onLoad: p
|
|
@@ -36252,54 +36252,54 @@ const JrA = { class: "chart-renderer" }, OrA = /* @__PURE__ */ oe({
|
|
|
36252
36252
|
"aria-label": A[t.mediaType],
|
|
36253
36253
|
"data-testid": "media-pending"
|
|
36254
36254
|
}, [
|
|
36255
|
-
i[3] || (i[3] =
|
|
36255
|
+
i[3] || (i[3] = M("div", {
|
|
36256
36256
|
class: "media-pending__shimmer",
|
|
36257
36257
|
"aria-hidden": "true"
|
|
36258
36258
|
}, null, -1)),
|
|
36259
|
-
|
|
36260
|
-
|
|
36259
|
+
M("div", BnA, [
|
|
36260
|
+
M("span", QnA, [
|
|
36261
36261
|
t.mediaType === "image" ? (Y(), P("svg", pnA, [...i[0] || (i[0] = [
|
|
36262
|
-
|
|
36262
|
+
M("rect", {
|
|
36263
36263
|
x: "3",
|
|
36264
36264
|
y: "3",
|
|
36265
36265
|
width: "18",
|
|
36266
36266
|
height: "18",
|
|
36267
36267
|
rx: "2"
|
|
36268
36268
|
}, null, -1),
|
|
36269
|
-
|
|
36269
|
+
M("circle", {
|
|
36270
36270
|
cx: "8.5",
|
|
36271
36271
|
cy: "8.5",
|
|
36272
36272
|
r: "1.5"
|
|
36273
36273
|
}, null, -1),
|
|
36274
|
-
|
|
36274
|
+
M("path", { d: "m21 15-5-5L5 21" }, null, -1)
|
|
36275
36275
|
])])) : t.mediaType === "video" ? (Y(), P("svg", EnA, [...i[1] || (i[1] = [
|
|
36276
|
-
|
|
36276
|
+
M("rect", {
|
|
36277
36277
|
x: "2",
|
|
36278
36278
|
y: "4",
|
|
36279
36279
|
width: "20",
|
|
36280
36280
|
height: "16",
|
|
36281
36281
|
rx: "2"
|
|
36282
36282
|
}, null, -1),
|
|
36283
|
-
|
|
36283
|
+
M("path", {
|
|
36284
36284
|
d: "m10 9 6 3-6 3V9z",
|
|
36285
36285
|
fill: "currentColor",
|
|
36286
36286
|
stroke: "none"
|
|
36287
36287
|
}, null, -1)
|
|
36288
36288
|
])])) : (Y(), P("svg", vnA, [...i[2] || (i[2] = [
|
|
36289
|
-
|
|
36290
|
-
|
|
36289
|
+
M("path", { d: "M9 18V5l12-2v13" }, null, -1),
|
|
36290
|
+
M("circle", {
|
|
36291
36291
|
cx: "6",
|
|
36292
36292
|
cy: "18",
|
|
36293
36293
|
r: "3"
|
|
36294
36294
|
}, null, -1),
|
|
36295
|
-
|
|
36295
|
+
M("circle", {
|
|
36296
36296
|
cx: "18",
|
|
36297
36297
|
cy: "16",
|
|
36298
36298
|
r: "3"
|
|
36299
36299
|
}, null, -1)
|
|
36300
36300
|
])]))
|
|
36301
36301
|
]),
|
|
36302
|
-
|
|
36302
|
+
M("span", mnA, EA(A[t.mediaType]), 1)
|
|
36303
36303
|
])
|
|
36304
36304
|
], 10, dnA));
|
|
36305
36305
|
}
|
|
@@ -41814,14 +41814,14 @@ var W8 = function(A) {
|
|
|
41814
41814
|
height: xA(v),
|
|
41815
41815
|
viewBox: "0 0 " + o + " " + E,
|
|
41816
41816
|
preserveAspectRatio: k[S] + " slice"
|
|
41817
|
-
}),
|
|
41817
|
+
}), R = us([D[S]], [F], e);
|
|
41818
41818
|
if (y === 1)
|
|
41819
41819
|
return {
|
|
41820
|
-
span:
|
|
41820
|
+
span: R,
|
|
41821
41821
|
minWidth: p,
|
|
41822
41822
|
height: v
|
|
41823
41823
|
};
|
|
41824
|
-
|
|
41824
|
+
R.style.height = xA(v), d.push(R);
|
|
41825
41825
|
}
|
|
41826
41826
|
return {
|
|
41827
41827
|
span: vA(["stretchy"], d, e),
|
|
@@ -42747,12 +42747,12 @@ var Yu = function(A, e, i) {
|
|
|
42747
42747
|
i && (b *= r.sizeMultiplier);
|
|
42748
42748
|
var S = k / 2 - b, x = [];
|
|
42749
42749
|
if (c.length > 0) {
|
|
42750
|
-
var F = k - I - Q,
|
|
42750
|
+
var F = k - I - Q, R = Math.round(k * 1e3), T = laA(c, Math.round(F * 1e3)), H = new cs(c, T), U = xA(h / 1e3), G = xA(R / 1e3), z = new co([H], {
|
|
42751
42751
|
width: U,
|
|
42752
42752
|
height: G,
|
|
42753
|
-
viewBox: "0 0 " + h + " " +
|
|
42753
|
+
viewBox: "0 0 " + h + " " + R
|
|
42754
42754
|
}), AA = us([], [z], r);
|
|
42755
|
-
AA.height =
|
|
42755
|
+
AA.height = R / 1e3, AA.style.width = U, AA.style.height = G, x.push({
|
|
42756
42756
|
type: "elem",
|
|
42757
42757
|
elem: AA
|
|
42758
42758
|
});
|
|
@@ -43538,7 +43538,7 @@ var Da = function(A, e) {
|
|
|
43538
43538
|
var b = A.rowGaps[i], S = 0;
|
|
43539
43539
|
b && (S = jt(b, e), S > 0 && (S += B, y < S && (y = S), S = 0)), A.addJot && i < A.body.length - 1 && (y += I), D.height = v, D.depth = y, Q += v, D.pos = Q, Q += y + S, s[i] = D, p(a[i + 1]);
|
|
43540
43540
|
}
|
|
43541
|
-
var x = Q / 2 + e.fontMetrics().axisHeight, F = A.cols || [],
|
|
43541
|
+
var x = Q / 2 + e.fontMetrics().axisHeight, F = A.cols || [], R = [], T, H, U = [];
|
|
43542
43542
|
if (A.tags && A.tags.some((tr) => tr))
|
|
43543
43543
|
for (i = 0; i < n; ++i) {
|
|
43544
43544
|
var G = s[i], z = G.pos - x, AA = A.tags[i], eA = void 0;
|
|
@@ -43557,11 +43557,11 @@ var Da = function(A, e) {
|
|
|
43557
43557
|
) {
|
|
43558
43558
|
for (var oA, sA = F[H], gA = !0; ((IA = sA) == null ? void 0 : IA.type) === "separator"; ) {
|
|
43559
43559
|
var IA;
|
|
43560
|
-
if (gA || (T = vA(["arraycolsep"], []), T.style.width = xA(e.fontMetrics().doubleRuleSep),
|
|
43560
|
+
if (gA || (T = vA(["arraycolsep"], []), T.style.width = xA(e.fontMetrics().doubleRuleSep), R.push(T)), sA.separator === "|" || sA.separator === ":") {
|
|
43561
43561
|
var LA = sA.separator === "|" ? "solid" : "dashed", te = vA(["vertical-separator"], [], e);
|
|
43562
43562
|
te.style.height = xA(Q), te.style.borderRightWidth = xA(l), te.style.borderRightStyle = LA, te.style.margin = "0 " + xA(-l / 2);
|
|
43563
43563
|
var XA = Q - x;
|
|
43564
|
-
XA && (te.style.verticalAlign = xA(-XA)),
|
|
43564
|
+
XA && (te.style.verticalAlign = xA(-XA)), R.push(te);
|
|
43565
43565
|
} else
|
|
43566
43566
|
throw new bA("Invalid separator type: " + sA.separator);
|
|
43567
43567
|
H++, sA = F[H], gA = !1;
|
|
@@ -43570,7 +43570,7 @@ var Da = function(A, e) {
|
|
|
43570
43570
|
var ie = void 0;
|
|
43571
43571
|
if (r > 0 || A.hskipBeforeAndAfter) {
|
|
43572
43572
|
var nA, yA;
|
|
43573
|
-
ie = (nA = (yA = sA) == null ? void 0 : yA.pregap) != null ? nA : h, ie !== 0 && (T = vA(["arraycolsep"], []), T.style.width = xA(ie),
|
|
43573
|
+
ie = (nA = (yA = sA) == null ? void 0 : yA.pregap) != null ? nA : h, ie !== 0 && (T = vA(["arraycolsep"], []), T.style.width = xA(ie), R.push(T));
|
|
43574
43574
|
}
|
|
43575
43575
|
var YA = [];
|
|
43576
43576
|
for (i = 0; i < n; ++i) {
|
|
@@ -43588,13 +43588,13 @@ var Da = function(A, e) {
|
|
|
43588
43588
|
positionType: "individualShift",
|
|
43589
43589
|
children: YA
|
|
43590
43590
|
}), WA = vA(["col-align-" + (((oA = sA) == null ? void 0 : oA.align) || "c")], [GA]);
|
|
43591
|
-
if (
|
|
43591
|
+
if (R.push(WA), r < o - 1 || A.hskipBeforeAndAfter) {
|
|
43592
43592
|
var ne, _e;
|
|
43593
|
-
ie = (ne = (_e = sA) == null ? void 0 : _e.postgap) != null ? ne : h, ie !== 0 && (T = vA(["arraycolsep"], []), T.style.width = xA(ie),
|
|
43593
|
+
ie = (ne = (_e = sA) == null ? void 0 : _e.postgap) != null ? ne : h, ie !== 0 && (T = vA(["arraycolsep"], []), T.style.width = xA(ie), R.push(T));
|
|
43594
43594
|
}
|
|
43595
43595
|
}
|
|
43596
43596
|
}
|
|
43597
|
-
var Se = vA(["mtable"],
|
|
43597
|
+
var Se = vA(["mtable"], R);
|
|
43598
43598
|
if (g.length > 0) {
|
|
43599
43599
|
for (var Ze = pc("hline", e, l), je = pc("hdashline", e, l), ct = [{
|
|
43600
43600
|
type: "elem",
|
|
@@ -48508,7 +48508,7 @@ function MM() {
|
|
|
48508
48508
|
const {
|
|
48509
48509
|
MUSTACHE_EXPR: x,
|
|
48510
48510
|
ERB_EXPR: F,
|
|
48511
|
-
TMPLIT_EXPR:
|
|
48511
|
+
TMPLIT_EXPR: R,
|
|
48512
48512
|
DATA_ATTR: T,
|
|
48513
48513
|
ARIA_ATTR: H,
|
|
48514
48514
|
IS_SCRIPT_OR_DATA: U,
|
|
@@ -48695,7 +48695,7 @@ function MM() {
|
|
|
48695
48695
|
}
|
|
48696
48696
|
return VA(W), !0;
|
|
48697
48697
|
}
|
|
48698
|
-
return W instanceof s && !OA(W) || (JA === "noscript" || JA === "noembed" || JA === "noframes") && Ki(/<\/no(script|embed|frames)/i, W.innerHTML) ? (VA(W), !0) : (me && W.nodeType === pu.text && (fA = W.textContent, du([x, F,
|
|
48698
|
+
return W instanceof s && !OA(W) || (JA === "noscript" || JA === "noembed" || JA === "noframes") && Ki(/<\/no(script|embed|frames)/i, W.innerHTML) ? (VA(W), !0) : (me && W.nodeType === pu.text && (fA = W.textContent, du([x, F, R], (dt) => {
|
|
48699
48699
|
fA = Ql(fA, dt, " ");
|
|
48700
48700
|
}), W.textContent !== fA && (Bu(A.removed, {
|
|
48701
48701
|
element: W.cloneNode()
|
|
@@ -48770,7 +48770,7 @@ function MM() {
|
|
|
48770
48770
|
Ye(Ot, W);
|
|
48771
48771
|
continue;
|
|
48772
48772
|
}
|
|
48773
|
-
me && du([x, F,
|
|
48773
|
+
me && du([x, F, R], (ms) => {
|
|
48774
48774
|
zt = Ql(zt, ms, " ");
|
|
48775
48775
|
});
|
|
48776
48776
|
const Zc = bt(W.nodeName);
|
|
@@ -48836,7 +48836,7 @@ function MM() {
|
|
|
48836
48836
|
if (me) {
|
|
48837
48837
|
fA.normalize();
|
|
48838
48838
|
let Ri = fA.innerHTML;
|
|
48839
|
-
du([x, F,
|
|
48839
|
+
du([x, F, R], (fr) => {
|
|
48840
48840
|
Ri = Ql(Ri, fr, " ");
|
|
48841
48841
|
}), fA.innerHTML = Ri;
|
|
48842
48842
|
}
|
|
@@ -48849,7 +48849,7 @@ function MM() {
|
|
|
48849
48849
|
}
|
|
48850
48850
|
let Ci = tt ? fA.outerHTML : fA.innerHTML;
|
|
48851
48851
|
return tt && eA["!doctype"] && fA.ownerDocument && fA.ownerDocument.doctype && fA.ownerDocument.doctype.name && Ki(_M, fA.ownerDocument.doctype.name) && (Ci = "<!DOCTYPE " + fA.ownerDocument.doctype.name + `>
|
|
48852
|
-
` + Ci), me && du([x, F,
|
|
48852
|
+
` + Ci), me && du([x, F, R], (Ri) => {
|
|
48853
48853
|
Ci = Ql(Ci, Ri, " ");
|
|
48854
48854
|
}), p && Se ? p.createHTML(Ci) : Ci;
|
|
48855
48855
|
}, A.setConfig = function() {
|
|
@@ -49237,7 +49237,7 @@ const msA = ["innerHTML"], ysA = {
|
|
|
49237
49237
|
key: 2,
|
|
49238
49238
|
"media-type": d.mediaType
|
|
49239
49239
|
}, null, 8, ["media-type"])) : d.type === "video" ? (Y(), P("figure", ysA, [
|
|
49240
|
-
|
|
49240
|
+
M("video", {
|
|
49241
49241
|
src: d.url,
|
|
49242
49242
|
poster: d.poster,
|
|
49243
49243
|
controls: "",
|
|
@@ -49245,7 +49245,7 @@ const msA = ["innerHTML"], ysA = {
|
|
|
49245
49245
|
}, null, 8, wsA)
|
|
49246
49246
|
])) : d.type === "audio" ? (Y(), P("figure", DsA, [
|
|
49247
49247
|
d.title ? (Y(), P("figcaption", ksA, EA(d.title), 1)) : DA("", !0),
|
|
49248
|
-
|
|
49248
|
+
M("audio", {
|
|
49249
49249
|
src: d.url,
|
|
49250
49250
|
controls: ""
|
|
49251
49251
|
}, null, 8, bsA)
|
|
@@ -49417,7 +49417,7 @@ const _sA = ["open", "aria-busy"], MsA = ["aria-expanded", "aria-disabled"], RsA
|
|
|
49417
49417
|
"aria-busy": t.streaming ? "true" : void 0,
|
|
49418
49418
|
"aria-label": "思考过程"
|
|
49419
49419
|
}, [
|
|
49420
|
-
|
|
49420
|
+
M("summary", {
|
|
49421
49421
|
class: "chat-reasoning__summary",
|
|
49422
49422
|
"aria-expanded": e.value,
|
|
49423
49423
|
"aria-disabled": u.value ? void 0 : "true",
|
|
@@ -49429,7 +49429,7 @@ const _sA = ["open", "aria-busy"], MsA = ["aria-expanded", "aria-disabled"], RsA
|
|
|
49429
49429
|
"stroke-width": 1.75,
|
|
49430
49430
|
"aria-hidden": "true"
|
|
49431
49431
|
}, null, 8, ["class"]),
|
|
49432
|
-
|
|
49432
|
+
M("span", {
|
|
49433
49433
|
class: Be(["chat-reasoning__label", { "chat-reasoning__label--streaming": t.streaming }])
|
|
49434
49434
|
}, EA(Q.value), 3),
|
|
49435
49435
|
u.value ? (Y(), se(_A(zv), {
|
|
@@ -49447,7 +49447,7 @@ const _sA = ["open", "aria-busy"], MsA = ["aria-expanded", "aria-disabled"], RsA
|
|
|
49447
49447
|
class: Be(["chat-reasoning__viewport", { "chat-reasoning__viewport--fade": g.value }]),
|
|
49448
49448
|
style: di({ height: _A(a) })
|
|
49449
49449
|
}, [
|
|
49450
|
-
|
|
49450
|
+
M("div", {
|
|
49451
49451
|
ref_key: "contentRef",
|
|
49452
49452
|
ref: n,
|
|
49453
49453
|
class: "chat-reasoning__body"
|
|
@@ -49495,21 +49495,21 @@ const _sA = ["open", "aria-busy"], MsA = ["aria-expanded", "aria-disabled"], RsA
|
|
|
49495
49495
|
class: "conversation-chart",
|
|
49496
49496
|
"aria-label": e.value.title
|
|
49497
49497
|
}, [
|
|
49498
|
-
|
|
49499
|
-
|
|
49498
|
+
M("strong", LsA, EA(e.value.title), 1),
|
|
49499
|
+
M("div", TsA, [
|
|
49500
49500
|
(Y(!0), P(Ge, null, Qt(e.value.rows, (o) => (Y(), P("div", {
|
|
49501
49501
|
key: o.label,
|
|
49502
49502
|
class: "conversation-chart__row",
|
|
49503
49503
|
role: "listitem"
|
|
49504
49504
|
}, [
|
|
49505
|
-
|
|
49506
|
-
|
|
49507
|
-
|
|
49505
|
+
M("span", YsA, EA(o.label), 1),
|
|
49506
|
+
M("span", UsA, [
|
|
49507
|
+
M("span", {
|
|
49508
49508
|
class: "conversation-chart__bar",
|
|
49509
49509
|
style: di({ width: i(o.value) })
|
|
49510
49510
|
}, null, 4)
|
|
49511
49511
|
]),
|
|
49512
|
-
|
|
49512
|
+
M("span", JsA, EA(o.value), 1)
|
|
49513
49513
|
]))), 128))
|
|
49514
49514
|
])
|
|
49515
49515
|
], 8, GsA)) : DA("", !0);
|
|
@@ -49550,15 +49550,15 @@ const _sA = ["open", "aria-busy"], MsA = ["aria-expanded", "aria-disabled"], RsA
|
|
|
49550
49550
|
}
|
|
49551
49551
|
return (l, c) => (Y(), P("section", ZsA, [
|
|
49552
49552
|
r.value ? (Y(), P("div", KsA, [
|
|
49553
|
-
|
|
49554
|
-
|
|
49555
|
-
|
|
49553
|
+
M("span", qsA, EA(i.value), 1),
|
|
49554
|
+
M("pre", PsA, [
|
|
49555
|
+
M("code", null, EA(r.value), 1)
|
|
49556
49556
|
])
|
|
49557
49557
|
])) : DA("", !0),
|
|
49558
49558
|
n.value ? (Y(), P("div", WsA, [
|
|
49559
|
-
|
|
49560
|
-
|
|
49561
|
-
|
|
49559
|
+
M("span", VsA, "输出" + EA(a.value === void 0 ? "" : ` (${a.value})`), 1),
|
|
49560
|
+
M("pre", zsA, [
|
|
49561
|
+
M("code", null, EA(n.value), 1)
|
|
49562
49562
|
])
|
|
49563
49563
|
])) : DA("", !0)
|
|
49564
49564
|
]));
|
|
@@ -53706,7 +53706,7 @@ class Jc extends Is {
|
|
|
53706
53706
|
}
|
|
53707
53707
|
v = B - f, D = v - h, b = A.left, x = A.right;
|
|
53708
53708
|
}
|
|
53709
|
-
const
|
|
53709
|
+
const R = $e(r.ticks.maxTicksLimit, c), T = Math.max(1, Math.ceil(c / R));
|
|
53710
53710
|
for (Q = 0; Q < c; Q += T) {
|
|
53711
53711
|
const H = this.getContext(Q), U = n.setContext(H), G = o.setContext(H), z = U.lineWidth, AA = U.color, eA = G.dash || [], oA = G.dashOffset, sA = U.tickWidth, gA = U.tickColor, IA = U.tickBorderDash || [], LA = U.tickBorderDashOffset;
|
|
53712
53712
|
p = McA(this, Q, s), p !== void 0 && (E = tg(i, p, z), g ? v = D = b = x = E : y = k = S = F = E, u.push({
|
|
@@ -53761,17 +53761,17 @@ class Jc extends Is {
|
|
|
53761
53761
|
y = this._getYAxisLabelAlignment(h).textAlign;
|
|
53762
53762
|
}
|
|
53763
53763
|
e === "y" && (s === "start" ? F = "top" : s === "end" && (F = "bottom"));
|
|
53764
|
-
const
|
|
53764
|
+
const R = this._getLabelSizes();
|
|
53765
53765
|
for (d = 0, B = o.length; d < B; ++d) {
|
|
53766
53766
|
Q = o[d], p = Q.label;
|
|
53767
53767
|
const T = n.setContext(this.getContext(d));
|
|
53768
53768
|
D = this.getPixelForTick(d) + n.labelOffset, k = this._resolveTickFontOptions(d), b = k.lineHeight, S = Yi(p) ? p.length : 1;
|
|
53769
53769
|
const H = S / 2, U = T.color, G = T.textStrokeColor, z = T.textStrokeWidth;
|
|
53770
53770
|
let AA = y;
|
|
53771
|
-
a ? (E = D, y === "inner" && (d === B - 1 ? AA = this.options.reverse ? "left" : "right" : d === 0 ? AA = this.options.reverse ? "right" : "left" : AA = "center"), r === "top" ? g === "near" || I !== 0 ? x = -S * b + b / 2 : g === "center" ? x = -
|
|
53771
|
+
a ? (E = D, y === "inner" && (d === B - 1 ? AA = this.options.reverse ? "left" : "right" : d === 0 ? AA = this.options.reverse ? "right" : "left" : AA = "center"), r === "top" ? g === "near" || I !== 0 ? x = -S * b + b / 2 : g === "center" ? x = -R.highest.height / 2 - H * b + b : x = -R.highest.height + b / 2 : g === "near" || I !== 0 ? x = b / 2 : g === "center" ? x = R.highest.height / 2 - H * b : x = R.highest.height - S * b, c && (x *= -1), I !== 0 && !T.showLabelBackdrop && (E += b / 2 * Math.sin(I))) : (v = D, x = (1 - S) * b / 2);
|
|
53772
53772
|
let eA;
|
|
53773
53773
|
if (T.showLabelBackdrop) {
|
|
53774
|
-
const oA = Pn(T.backdropPadding), sA =
|
|
53774
|
+
const oA = Pn(T.backdropPadding), sA = R.heights[d], gA = R.widths[d];
|
|
53775
53775
|
let IA = x - oA.top, LA = 0 - oA.left;
|
|
53776
53776
|
switch (F) {
|
|
53777
53777
|
case "middle":
|
|
@@ -55023,7 +55023,7 @@ function qf(t, A, e, i, r, n) {
|
|
|
55023
55023
|
const T = l > 0 ? l - i : 0, H = c > 0 ? c - i : 0, U = (T + H) / 2, G = U !== 0 ? C * U / (U + i) : C;
|
|
55024
55024
|
u = (C - G) / 2;
|
|
55025
55025
|
}
|
|
55026
|
-
const I = Math.max(1e-3, C * c - e / Yt) / c, f = (C - I) / 2, d = s + f + u, B = r - f - u, { outerStart: Q, outerEnd: p, innerStart: E, innerEnd: v } = uuA(A, h, c, B - d), y = c - Q, D = c - p, k = d + Q / y, b = B - p / D, S = h + E, x = h + v, F = d + E / S,
|
|
55026
|
+
const I = Math.max(1e-3, C * c - e / Yt) / c, f = (C - I) / 2, d = s + f + u, B = r - f - u, { outerStart: Q, outerEnd: p, innerStart: E, innerEnd: v } = uuA(A, h, c, B - d), y = c - Q, D = c - p, k = d + Q / y, b = B - p / D, S = h + E, x = h + v, F = d + E / S, R = B - v / x;
|
|
55027
55027
|
if (t.beginPath(), n) {
|
|
55028
55028
|
const T = (k + b) / 2;
|
|
55029
55029
|
if (t.arc(a, o, c, k, T), t.arc(a, o, c, T, b), p > 0) {
|
|
@@ -55032,8 +55032,8 @@ function qf(t, A, e, i, r, n) {
|
|
|
55032
55032
|
}
|
|
55033
55033
|
const H = El(x, B, a, o);
|
|
55034
55034
|
if (t.lineTo(H.x, H.y), v > 0) {
|
|
55035
|
-
const z = El(x,
|
|
55036
|
-
t.arc(z.x, z.y, v, B + Ni,
|
|
55035
|
+
const z = El(x, R, a, o);
|
|
55036
|
+
t.arc(z.x, z.y, v, B + Ni, R + Math.PI);
|
|
55037
55037
|
}
|
|
55038
55038
|
const U = (B - v / h + (d + E / h)) / 2;
|
|
55039
55039
|
if (t.arc(a, o, h, B - v / h, U, !0), t.arc(a, o, h, U, d + E / h, !0), E > 0) {
|
|
@@ -55429,8 +55429,8 @@ class OS extends Is {
|
|
|
55429
55429
|
if (d(F, x, v), S = ZgA(k, S + C + h, Q ? S + b : this.right, A.rtl), B(s.x(S), x, v), Q)
|
|
55430
55430
|
u.x += b + l;
|
|
55431
55431
|
else if (typeof v.text != "string") {
|
|
55432
|
-
const
|
|
55433
|
-
u.y += pR(v,
|
|
55432
|
+
const R = g.lineHeight;
|
|
55433
|
+
u.y += pR(v, R) + l;
|
|
55434
55434
|
} else
|
|
55435
55435
|
u.y += E;
|
|
55436
55436
|
}), aR(this.ctx, A.textDirection);
|
|
@@ -56772,12 +56772,12 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
56772
56772
|
class: "open-generative-ui-chart",
|
|
56773
56773
|
"aria-label": a.value.title
|
|
56774
56774
|
}, [
|
|
56775
|
-
|
|
56776
|
-
|
|
56775
|
+
M("header", HuA, [
|
|
56776
|
+
M("h3", null, EA(a.value.title), 1),
|
|
56777
56777
|
a.value.description ? (Y(), P("p", ZuA, EA(a.value.description), 1)) : DA("", !0)
|
|
56778
56778
|
]),
|
|
56779
|
-
|
|
56780
|
-
|
|
56779
|
+
M("div", KuA, [
|
|
56780
|
+
M("canvas", {
|
|
56781
56781
|
ref_key: "canvasRef",
|
|
56782
56782
|
ref: e,
|
|
56783
56783
|
"aria-label": a.value.title,
|
|
@@ -56821,15 +56821,15 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
56821
56821
|
return typeof n == "object" && n !== null && !Array.isArray(n);
|
|
56822
56822
|
}
|
|
56823
56823
|
return (n, a) => e.value.approach || e.value.technology || e.value.keyElements.length ? (Y(), P("section", WuA, [
|
|
56824
|
-
|
|
56825
|
-
a[0] || (a[0] =
|
|
56824
|
+
M("header", null, [
|
|
56825
|
+
a[0] || (a[0] = M("strong", null, "执行计划", -1)),
|
|
56826
56826
|
e.value.technology ? (Y(), P("span", VuA, EA(e.value.technology), 1)) : DA("", !0)
|
|
56827
56827
|
]),
|
|
56828
56828
|
e.value.approach ? (Y(), P("p", zuA, EA(e.value.approach), 1)) : DA("", !0),
|
|
56829
56829
|
e.value.keyElements.length ? (Y(), P("ol", XuA, [
|
|
56830
56830
|
(Y(!0), P(Ge, null, Qt(e.value.keyElements, (o, s) => (Y(), P("li", { key: o }, [
|
|
56831
|
-
|
|
56832
|
-
|
|
56831
|
+
M("span", juA, EA(s + 1), 1),
|
|
56832
|
+
M("span", null, EA(o), 1)
|
|
56833
56833
|
]))), 128))
|
|
56834
56834
|
])) : DA("", !0)
|
|
56835
56835
|
])) : DA("", !0);
|
|
@@ -56888,15 +56888,15 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
56888
56888
|
class: "open-generative-ui-schedule",
|
|
56889
56889
|
"aria-label": i.value.title
|
|
56890
56890
|
}, [
|
|
56891
|
-
|
|
56892
|
-
|
|
56893
|
-
l[0] || (l[0] =
|
|
56891
|
+
M("header", null, [
|
|
56892
|
+
M("strong", null, EA(i.value.title), 1),
|
|
56893
|
+
l[0] || (l[0] = M("small", null, "选择合适的会议时间", -1))
|
|
56894
56894
|
]),
|
|
56895
|
-
|
|
56895
|
+
M("ol", null, [
|
|
56896
56896
|
(Y(!0), P(Ge, null, Qt(i.value.slots, (c) => (Y(), P("li", {
|
|
56897
56897
|
key: n(c)
|
|
56898
56898
|
}, [
|
|
56899
|
-
|
|
56899
|
+
M("button", {
|
|
56900
56900
|
type: "button",
|
|
56901
56901
|
class: Be({
|
|
56902
56902
|
"open-generative-ui-schedule__slot--selected": e.value === n(c)
|
|
@@ -56904,9 +56904,9 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
56904
56904
|
"aria-pressed": e.value === n(c),
|
|
56905
56905
|
onClick: (h) => a(c)
|
|
56906
56906
|
}, [
|
|
56907
|
-
|
|
56908
|
-
|
|
56909
|
-
|
|
56907
|
+
M("span", null, [
|
|
56908
|
+
M("strong", null, EA(c.date), 1),
|
|
56909
|
+
M("small", null, EA(c.time), 1)
|
|
56910
56910
|
]),
|
|
56911
56911
|
c.duration ? (Y(), P("small", i0A, EA(c.duration), 1)) : DA("", !0)
|
|
56912
56912
|
], 10, t0A)
|
|
@@ -56931,7 +56931,7 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
56931
56931
|
system: "跟随系统"
|
|
56932
56932
|
}[A.result.theme] ?? A.result.theme}主题` : "主题偏好已更新");
|
|
56933
56933
|
return (i, r) => (Y(), P("p", o0A, [
|
|
56934
|
-
r[0] || (r[0] =
|
|
56934
|
+
r[0] || (r[0] = M("span", { "aria-hidden": "true" }, "◐", -1)),
|
|
56935
56935
|
qv(EA(e.value), 1)
|
|
56936
56936
|
]));
|
|
56937
56937
|
}
|
|
@@ -57026,41 +57026,41 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
57026
57026
|
class: "open-gen-ui-result",
|
|
57027
57027
|
"aria-label": `生成式界面:${n.value}`
|
|
57028
57028
|
}, [
|
|
57029
|
-
|
|
57030
|
-
|
|
57031
|
-
C[0] || (C[0] =
|
|
57032
|
-
|
|
57029
|
+
M("header", c0A, [
|
|
57030
|
+
M("div", null, [
|
|
57031
|
+
C[0] || (C[0] = M("strong", null, "生成式界面", -1)),
|
|
57032
|
+
M("span", u0A, EA(n.value), 1)
|
|
57033
57033
|
]),
|
|
57034
|
-
|
|
57034
|
+
M("span", {
|
|
57035
57035
|
class: Be(["open-gen-ui-result__badge", { "open-gen-ui-result__badge--complete": e.value.generating === !1 }])
|
|
57036
57036
|
}, EA(e.value.generating === !1 ? "完成" : "流式"), 3)
|
|
57037
57037
|
]),
|
|
57038
|
-
|
|
57038
|
+
M("div", h0A, [
|
|
57039
57039
|
(Y(!0), P(Ge, null, Qt(i.value, (I) => (Y(), P("div", {
|
|
57040
57040
|
key: I.id,
|
|
57041
57041
|
class: Be(["open-gen-ui-result__stage", `open-gen-ui-result__stage--${I.state}`]),
|
|
57042
57042
|
role: "listitem"
|
|
57043
57043
|
}, [
|
|
57044
|
-
C[1] || (C[1] =
|
|
57044
|
+
C[1] || (C[1] = M("span", {
|
|
57045
57045
|
class: "open-gen-ui-result__marker",
|
|
57046
57046
|
"aria-hidden": "true"
|
|
57047
57047
|
}, null, -1)),
|
|
57048
|
-
|
|
57049
|
-
|
|
57050
|
-
|
|
57048
|
+
M("span", C0A, [
|
|
57049
|
+
M("span", null, EA(I.label), 1),
|
|
57050
|
+
M("small", null, EA(I.detail), 1)
|
|
57051
57051
|
])
|
|
57052
57052
|
], 2))), 128))
|
|
57053
57053
|
]),
|
|
57054
57054
|
r.value.length ? (Y(), P("details", I0A, [
|
|
57055
|
-
C[2] || (C[2] =
|
|
57056
|
-
|
|
57055
|
+
C[2] || (C[2] = M("summary", null, "查看生成片段", -1)),
|
|
57056
|
+
M("div", f0A, [
|
|
57057
57057
|
(Y(!0), P(Ge, null, Qt(r.value, (I) => (Y(), P("section", {
|
|
57058
57058
|
key: I.label,
|
|
57059
57059
|
class: "open-gen-ui-result__source"
|
|
57060
57060
|
}, [
|
|
57061
|
-
|
|
57062
|
-
|
|
57063
|
-
|
|
57061
|
+
M("span", null, EA(I.label), 1),
|
|
57062
|
+
M("pre", null, [
|
|
57063
|
+
M("code", {
|
|
57064
57064
|
class: Be(`language-${I.language}`)
|
|
57065
57065
|
}, EA(I.content), 3)
|
|
57066
57066
|
])
|
|
@@ -57106,8 +57106,8 @@ const OuA = ["aria-label"], HuA = { class: "open-generative-ui-chart__header" },
|
|
|
57106
57106
|
}
|
|
57107
57107
|
}
|
|
57108
57108
|
return (n, a) => e.value.length ? (Y(), P("section", Q0A, [
|
|
57109
|
-
a[0] || (a[0] =
|
|
57110
|
-
|
|
57109
|
+
a[0] || (a[0] = M("strong", { class: "conversation-sources__title" }, "检索来源", -1)),
|
|
57110
|
+
M("ul", p0A, [
|
|
57111
57111
|
(Y(!0), P(Ge, null, Qt(e.value, (o) => (Y(), P("li", {
|
|
57112
57112
|
key: o.url ?? o.title,
|
|
57113
57113
|
class: "conversation-sources__item"
|
|
@@ -57505,14 +57505,14 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57505
57505
|
function k(nA) {
|
|
57506
57506
|
return f.value ? !1 : ["running", "requires-approval", "requires-action"].includes(nA);
|
|
57507
57507
|
}
|
|
57508
|
-
const b = uA(k(s.value)), S = uA(!1), x = uA(!1), F = uA(null),
|
|
57508
|
+
const b = uA(k(s.value)), S = uA(!1), x = uA(!1), F = uA(null), R = uA(), T = uA(0);
|
|
57509
57509
|
let H;
|
|
57510
57510
|
function U() {
|
|
57511
|
-
const nA =
|
|
57511
|
+
const nA = R.value;
|
|
57512
57512
|
nA && (T.value = nA.scrollHeight);
|
|
57513
57513
|
}
|
|
57514
57514
|
Oe(
|
|
57515
|
-
|
|
57515
|
+
R,
|
|
57516
57516
|
(nA) => {
|
|
57517
57517
|
H == null || H.disconnect(), H = void 0, nA && (U(), typeof ResizeObserver < "u" && (H = new ResizeObserver(U), H.observe(nA)));
|
|
57518
57518
|
},
|
|
@@ -57594,11 +57594,11 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57594
57594
|
"aria-label": `${Q.value}:${p.value}`,
|
|
57595
57595
|
"aria-busy": s.value === "pending" || s.value === "running" ? "true" : "false"
|
|
57596
57596
|
}, [
|
|
57597
|
-
|
|
57598
|
-
|
|
57597
|
+
M("div", U0A, [
|
|
57598
|
+
M("div", {
|
|
57599
57599
|
class: Be(["tool-call-part__line tool-call-part__line--top", { "tool-call-part__line--visible": !t.isFirst }])
|
|
57600
57600
|
}, null, 2),
|
|
57601
|
-
|
|
57601
|
+
M("div", J0A, [
|
|
57602
57602
|
(Y(), se(Jn(E.value), {
|
|
57603
57603
|
class: Be(["tool-call-part__indicator", { "tool-call-part__indicator--running": s.value === "running" }]),
|
|
57604
57604
|
size: 16,
|
|
@@ -57606,19 +57606,19 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57606
57606
|
"aria-hidden": "true"
|
|
57607
57607
|
}, null, 8, ["class"]))
|
|
57608
57608
|
]),
|
|
57609
|
-
|
|
57609
|
+
M("div", {
|
|
57610
57610
|
class: Be(["tool-call-part__line tool-call-part__line--bottom", { "tool-call-part__line--visible": !t.isLast || b.value }])
|
|
57611
57611
|
}, null, 2)
|
|
57612
57612
|
]),
|
|
57613
|
-
|
|
57614
|
-
|
|
57613
|
+
M("div", O0A, [
|
|
57614
|
+
M("button", {
|
|
57615
57615
|
type: "button",
|
|
57616
57616
|
class: "tool-call-part__header",
|
|
57617
57617
|
"aria-expanded": b.value,
|
|
57618
57618
|
"data-testid": "tool-call-header",
|
|
57619
57619
|
onClick: oA
|
|
57620
57620
|
}, [
|
|
57621
|
-
|
|
57621
|
+
M("span", Z0A, EA(Q.value), 1),
|
|
57622
57622
|
D.value ? (Y(), P("span", K0A, EA(D.value), 1)) : v.value && !b.value ? (Y(), P("span", q0A, EA(v.value), 1)) : DA("", !0),
|
|
57623
57623
|
De(_A(zv), {
|
|
57624
57624
|
class: Be(["tool-call-part__chevron", { "tool-call-part__chevron--open": b.value }]),
|
|
@@ -57627,19 +57627,19 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57627
57627
|
"aria-hidden": "true"
|
|
57628
57628
|
}, null, 8, ["class"])
|
|
57629
57629
|
], 8, H0A),
|
|
57630
|
-
|
|
57630
|
+
M("div", {
|
|
57631
57631
|
class: Be(["tool-call-part__body-wrapper", { "tool-call-part__body-wrapper--open": b.value }]),
|
|
57632
57632
|
style: di(G.value),
|
|
57633
57633
|
inert: !b.value,
|
|
57634
57634
|
"aria-hidden": !b.value
|
|
57635
57635
|
}, [
|
|
57636
|
-
|
|
57636
|
+
M("div", {
|
|
57637
57637
|
ref_key: "bodyContentRef",
|
|
57638
|
-
ref:
|
|
57638
|
+
ref: R,
|
|
57639
57639
|
class: "tool-call-part__body"
|
|
57640
57640
|
}, [
|
|
57641
57641
|
u.value ? (Y(), P("div", W0A, [
|
|
57642
|
-
d0(
|
|
57642
|
+
d0(M("textarea", {
|
|
57643
57643
|
"onUpdate:modelValue": yA[0] || (yA[0] = (YA) => n.value = YA),
|
|
57644
57644
|
class: "tool-call-part__editor",
|
|
57645
57645
|
"aria-label": "工具参数 JSON",
|
|
@@ -57649,13 +57649,13 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57649
57649
|
]),
|
|
57650
57650
|
C.value ? DA("", !0) : (Y(), P("p", V0A, " 参数必须是有效的 JSON "))
|
|
57651
57651
|
])) : B.value ? (Y(), P("div", z0A, [
|
|
57652
|
-
|
|
57652
|
+
M("div", {
|
|
57653
57653
|
class: Be(["tool-call-part__details-clamp", {
|
|
57654
57654
|
"tool-call-part__details-clamp--fade": x.value && !S.value,
|
|
57655
57655
|
"tool-call-part__details-clamp--expanded": S.value
|
|
57656
57656
|
}])
|
|
57657
57657
|
}, [
|
|
57658
|
-
|
|
57658
|
+
M("pre", {
|
|
57659
57659
|
ref_key: "detailsPreRef",
|
|
57660
57660
|
ref: z,
|
|
57661
57661
|
class: Be(["tool-call-part__streaming-arguments", { "tool-call-part__streaming-arguments--streaming": y.value }])
|
|
@@ -57679,29 +57679,29 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57679
57679
|
"is-streaming": t.isStreaming === !0
|
|
57680
57680
|
}, null, 8, ["tool-call", "status", "result", "error", "message", "is-streaming"]))
|
|
57681
57681
|
])) : c.value ? (Y(), P("div", $0A, [
|
|
57682
|
-
|
|
57682
|
+
M("pre", AhA, EA(c.value), 1)
|
|
57683
57683
|
])) : DA("", !0),
|
|
57684
57684
|
o.value ? (Y(), P("p", ehA, EA(o.value), 1)) : DA("", !0),
|
|
57685
57685
|
s.value === "requires-approval" ? (Y(), P("div", thA, [
|
|
57686
|
-
|
|
57686
|
+
M("button", {
|
|
57687
57687
|
type: "button",
|
|
57688
57688
|
"data-testid": "tool-deny",
|
|
57689
57689
|
disabled: F.value !== null,
|
|
57690
57690
|
onClick: yA[1] || (yA[1] = (YA) => gA("deny"))
|
|
57691
57691
|
}, EA(F.value === "deny" ? "处理中…" : "拒绝"), 9, ihA),
|
|
57692
|
-
|
|
57692
|
+
M("button", {
|
|
57693
57693
|
type: "button",
|
|
57694
57694
|
"data-testid": "tool-approve",
|
|
57695
57695
|
disabled: F.value !== null || u.value && !C.value,
|
|
57696
57696
|
onClick: yA[2] || (yA[2] = (YA) => gA("approve"))
|
|
57697
57697
|
}, EA(F.value === "approve" ? "处理中…" : "允许"), 9, rhA)
|
|
57698
57698
|
])) : s.value === "requires-action" ? (Y(), P("div", nhA, [
|
|
57699
|
-
|
|
57699
|
+
M("button", {
|
|
57700
57700
|
type: "button",
|
|
57701
57701
|
disabled: F.value !== null,
|
|
57702
57702
|
onClick: yA[3] || (yA[3] = (YA) => gA("cancel"))
|
|
57703
57703
|
}, EA(F.value === "cancel" ? "处理中…" : "取消"), 9, ahA),
|
|
57704
|
-
|
|
57704
|
+
M("button", {
|
|
57705
57705
|
type: "button",
|
|
57706
57706
|
disabled: F.value !== null || u.value && !C.value,
|
|
57707
57707
|
onClick: yA[4] || (yA[4] = (YA) => gA("submit-action"))
|
|
@@ -57825,7 +57825,7 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57825
57825
|
rel: "noreferrer",
|
|
57826
57826
|
"aria-label": `打开${a(g)}`
|
|
57827
57827
|
}, [
|
|
57828
|
-
|
|
57828
|
+
M("img", {
|
|
57829
57829
|
class: "input-content__image",
|
|
57830
57830
|
src: A(g),
|
|
57831
57831
|
alt: a(g)
|
|
@@ -57963,7 +57963,7 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57963
57963
|
z.tool_calls.length > 0 && G.push(z);
|
|
57964
57964
|
}
|
|
57965
57965
|
return G;
|
|
57966
|
-
}),
|
|
57966
|
+
}), R = $(() => F.value.length > 0), T = $(() => e.message.role === "user" || e.message.role === "system" ? e.message.content : ""), H = $(
|
|
57967
57967
|
() => e.message.role === "user" ? e.message.resource_files ?? [] : []
|
|
57968
57968
|
), U = $(() => !a.value || B.value);
|
|
57969
57969
|
return (G, z) => (Y(), P("article", {
|
|
@@ -57980,7 +57980,7 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57980
57980
|
"aria-label": c.value,
|
|
57981
57981
|
"aria-busy": t.streaming ? "true" : void 0
|
|
57982
57982
|
}, [
|
|
57983
|
-
|
|
57983
|
+
M("div", bhA, [
|
|
57984
57984
|
b.value ? (Y(), P("span", ShA, [
|
|
57985
57985
|
be(G.$slots, "assistant-avatar", {}, () => [
|
|
57986
57986
|
t.assistantAvatar ? (Y(), P("img", {
|
|
@@ -57991,7 +57991,7 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57991
57991
|
}, null, 8, FhA)) : DA("", !0)
|
|
57992
57992
|
], !0)
|
|
57993
57993
|
])) : DA("", !0),
|
|
57994
|
-
|
|
57994
|
+
M("div", NhA, [
|
|
57995
57995
|
H.value.length ? (Y(), se(qG, {
|
|
57996
57996
|
key: 0,
|
|
57997
57997
|
class: "conversation-message__attachments",
|
|
@@ -57999,7 +57999,7 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
57999
57999
|
onPreview: z[0] || (z[0] = (AA) => i("attachment-preview", AA))
|
|
58000
58000
|
}, null, 8, ["resources"])) : DA("", !0),
|
|
58001
58001
|
U.value ? (Y(), P("div", xhA, [
|
|
58002
|
-
|
|
58002
|
+
R.value ? (Y(!0), P(Ge, { key: 0 }, Qt(F.value, (AA, eA) => (Y(), P(Ge, {
|
|
58003
58003
|
key: `step-${eA}`
|
|
58004
58004
|
}, [
|
|
58005
58005
|
AA.type === "reasoning" ? (Y(), se(Hb, {
|
|
@@ -58271,11 +58271,11 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
58271
58271
|
fill: "none",
|
|
58272
58272
|
"aria-hidden": "true"
|
|
58273
58273
|
}, [...e[0] || (e[0] = [
|
|
58274
|
-
|
|
58275
|
-
|
|
58276
|
-
|
|
58277
|
-
|
|
58278
|
-
|
|
58274
|
+
M("g", { transform: "translate(-2076.0 -552.0)" }, [
|
|
58275
|
+
M("g", null, [
|
|
58276
|
+
M("g", { transform: "translate(2076.0 552.0)" }, [
|
|
58277
|
+
M("g", { transform: "translate(2.000000000000007 4.0)" }, [
|
|
58278
|
+
M("path", {
|
|
58279
58279
|
d: "M0,4 L4.27639723,8 L12.2763972,0",
|
|
58280
58280
|
stroke: "#2C69F3",
|
|
58281
58281
|
"stroke-width": "2",
|
|
@@ -58303,11 +58303,11 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
58303
58303
|
fill: "none",
|
|
58304
58304
|
"aria-hidden": "true"
|
|
58305
58305
|
}, [...e[0] || (e[0] = [
|
|
58306
|
-
|
|
58307
|
-
|
|
58308
|
-
|
|
58309
|
-
|
|
58310
|
-
|
|
58306
|
+
M("g", { transform: "translate(-2033.0 -549.0)" }, [
|
|
58307
|
+
M("g", null, [
|
|
58308
|
+
M("g", { transform: "translate(2033.0 549.0)" }, [
|
|
58309
|
+
M("g", { transform: "translate(3 2)" }, [
|
|
58310
|
+
M("path", {
|
|
58311
58311
|
d: "M6.61668011,2.02458201 C7.7003286,2.02458201 8.51458579,2.88305563 8.51458579,3.94300909 L8.51458579,5.88861581 C8.79114952,5.74311713 9.10410672,5.66003482 9.44030791,5.66003482 C10.3034439,5.66003482 10.9729508,6.2046739 11.2363119,6.96073341 C11.5369431,6.77732973 11.9008512,6.66981452 12.2813621,6.66981452 C13.1437808,6.66981452 13.8132877,7.21447976 14.0767551,7.97053926 C14.37728,7.78700479 14.68952,7.67951574 15.0701371,7.67951574 L15.121699,7.67951574 C16.2060647,7.67951574 16.9992828,8.5388003 17,9.59864913 L17,13.4363142 C17,17.0610417 16.4877023,20 10.9561619,20 C8.53493425,20 7.3895497,19.5248142 6.39037655,18.7221647 C6.25930696,18.644105 6.13487852,18.5516053 6.02208535,18.4412649 L0.540752061,13.0793951 C-0.393656674,12.1585051 0.0342719774,10.8656544 0.687069711,10.2229175 C1.33989401,9.58004978 2.69633406,9.47326704 3.46266877,10.2229175 L4.65401002,11.3916941 L4.65401002,3.94300909 C4.65401002,2.88376193 5.53303163,2.02458201 6.61668011,2.02458201 Z M6.61739736,3.23639089 C6.10366515,3.23639089 5.68734521,3.64340528 5.68734521,4.14514292 L5.68734521,13.8297257 C5.68734521,13.8297257 5.1655905,13.319434 4.57245679,12.7383025 C4.48988013,12.6574258 4.40590857,12.5751926 4.32175075,12.4927847 L4.06992715,12.2462181 C3.44501444,11.6343992 2.87761068,11.0792199 2.87761068,11.0792199 C2.51441989,10.7245243 1.82448489,10.7374209 1.44904783,11.1072105 C1.0735045,11.4776278 0.957815804,12.0552801 1.41698439,12.5074718 L6.60578864,17.5834191 C7.56854177,18.5251582 8.83917827,18.9894878 10.9554181,18.9894878 C15.766303,18.9894878 15.9580322,16.6835877 15.9656351,13.7738278 L15.9659476,13.4355033 L15.9680462,9.71974107 C15.9680462,8.77525528 15.0678526,8.81111985 15.0678526,8.81111985 C14.5540938,8.81111985 14.1712984,9.21810807 14.1712984,9.71974107 L14.1712984,11.71921 L14.1618414,11.71921 C14.167659,11.7521971 14.1712984,11.7858381 14.1712984,11.8202639 C14.1712984,12.0997511 13.9529642,12.3254807 13.6677138,12.3254807 C13.3824635,12.3254807 13.1510595,12.0990186 13.1510595,11.8207871 C13.1510595,11.7848179 13.1546723,11.7497642 13.1612072,11.71921 L13.1510595,11.71921 L13.1510595,8.79027079 C13.1510595,7.93896485 12.2224419,7.88164956 12.2224419,7.88164956 C11.7086831,7.88164956 11.343314,8.28863779 11.343314,8.79027079 L11.343314,11.1129394 L11.3331398,11.1129394 C11.3396746,11.1458479 11.343314,11.1795674 11.343314,11.2138886 C11.343314,11.4934804 11.11191,11.71921 10.8266597,11.71921 C10.5413828,11.71921 10.3098725,11.4927741 10.3098725,11.2145164 C10.3098725,11.1785472 10.3136181,11.1434936 10.320153,11.1129394 L10.3098725,11.1129394 L10.3098725,7.78056957 C10.3098725,6.85967957 9.40024854,6.8718437 9.40024854,6.8718437 C8.88648976,6.8718437 8.5153296,7.27893657 8.5153296,7.78056957 L8.5153296,10.3052673 L8.50515537,10.3052673 C8.51169025,10.3382805 8.5153296,10.372 8.5153296,10.4063212 C8.5153296,10.6858084 8.28392563,10.911538 7.99867528,10.911538 C7.71339837,10.911538 7.48188815,10.6851021 7.48188815,10.4068444 C7.48188815,10.3709798 7.48563375,10.3358215 7.49216864,10.3052673 L7.48188815,10.3052673 L7.48188815,4.14514292 C7.48188815,3.64340528 7.13115613,3.23639089 6.61739736,3.23639089 Z M6.58836228,0 C8.78897123,0 10.5734462,1.75715427 10.5734462,3.92430511 C10.5734462,4.28839189 10.5174215,4.63879729 10.422772,4.97272227 C10.1782982,4.7283933 9.84281427,4.5764594 9.4709103,4.5621502 C9.51824836,4.35645869 9.54449415,4.14289321 9.54449415,3.9235988 C9.54449415,2.31539626 8.22072852,1.01192477 6.58761848,1.01192477 C4.95453499,1.01192477 3.63087562,2.31539626 3.63087562,3.9235988 C3.63087562,4.34500087 3.72395787,4.74558004 3.88770188,5.10752175 L3.88770188,6.8037769 C3.09884042,6.08706116 2.60253457,5.0637832 2.60325103,3.92430511 C2.60325103,1.75715427 4.38764708,0 6.58836228,0 Z",
|
|
58312
58312
|
fill: "#999999"
|
|
58313
58313
|
})
|
|
@@ -58365,21 +58365,21 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
58365
58365
|
fill: "none",
|
|
58366
58366
|
"aria-hidden": "true"
|
|
58367
58367
|
}, [...e[0] || (e[0] = [
|
|
58368
|
-
|
|
58368
|
+
M("path", {
|
|
58369
58369
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z",
|
|
58370
58370
|
stroke: "currentColor",
|
|
58371
58371
|
"stroke-width": "1.5",
|
|
58372
58372
|
"stroke-linecap": "round",
|
|
58373
58373
|
"stroke-linejoin": "round"
|
|
58374
58374
|
}, null, -1),
|
|
58375
|
-
|
|
58375
|
+
M("path", {
|
|
58376
58376
|
d: "M14 2v6h6",
|
|
58377
58377
|
stroke: "currentColor",
|
|
58378
58378
|
"stroke-width": "1.5",
|
|
58379
58379
|
"stroke-linecap": "round",
|
|
58380
58380
|
"stroke-linejoin": "round"
|
|
58381
58381
|
}, null, -1),
|
|
58382
|
-
|
|
58382
|
+
M("path", {
|
|
58383
58383
|
d: "M12 11v6M9 14h6",
|
|
58384
58384
|
stroke: "currentColor",
|
|
58385
58385
|
"stroke-width": "1.5",
|
|
@@ -58399,12 +58399,12 @@ const Y0A = ["data-tool-call-id", "aria-label", "aria-busy"], U0A = { class: "to
|
|
|
58399
58399
|
},
|
|
58400
58400
|
setup(t) {
|
|
58401
58401
|
return (A, e) => (Y(), P("div", tCA, [
|
|
58402
|
-
|
|
58402
|
+
M("div", iCA, [
|
|
58403
58403
|
De(_A(eCA), {
|
|
58404
58404
|
size: 48,
|
|
58405
58405
|
class: "chat-file-drop-overlay__icon"
|
|
58406
58406
|
}),
|
|
58407
|
-
|
|
58407
|
+
M("p", rCA, EA(t.label), 1)
|
|
58408
58408
|
])
|
|
58409
58409
|
]));
|
|
58410
58410
|
}
|
|
@@ -58695,7 +58695,7 @@ function uCA(t) {
|
|
|
58695
58695
|
} catch {
|
|
58696
58696
|
}
|
|
58697
58697
|
}
|
|
58698
|
-
function
|
|
58698
|
+
function R() {
|
|
58699
58699
|
return !h.value || u.value || t.isDisabled();
|
|
58700
58700
|
}
|
|
58701
58701
|
async function T(GA) {
|
|
@@ -58714,7 +58714,7 @@ function uCA(t) {
|
|
|
58714
58714
|
}
|
|
58715
58715
|
async function H() {
|
|
58716
58716
|
var GA, WA;
|
|
58717
|
-
if (!
|
|
58717
|
+
if (!R()) {
|
|
58718
58718
|
if (A.value)
|
|
58719
58719
|
U();
|
|
58720
58720
|
else {
|
|
@@ -58778,10 +58778,10 @@ function uCA(t) {
|
|
|
58778
58778
|
}
|
|
58779
58779
|
async function oA() {
|
|
58780
58780
|
var GA;
|
|
58781
|
-
|
|
58781
|
+
R() || i.value || (n.value ? await XA(!1) : await LA(), (GA = t.onVoiceRecord) == null || GA.call(t));
|
|
58782
58782
|
}
|
|
58783
58783
|
async function sA() {
|
|
58784
|
-
|
|
58784
|
+
R() || !i.value || (o.value = !0, y(), v = setTimeout(() => {
|
|
58785
58785
|
v = null, !(!o.value || !i.value || n.value) && LA();
|
|
58786
58786
|
}, E));
|
|
58787
58787
|
}
|
|
@@ -59284,7 +59284,7 @@ const NCA = {
|
|
|
59284
59284
|
), x = $(() => i.maxRows * 24 + 24), F = $(() => {
|
|
59285
59285
|
const J = g.value;
|
|
59286
59286
|
return !J || !B.value ? null : Q.value ?? bCA(J);
|
|
59287
|
-
}),
|
|
59287
|
+
}), R = $(() => {
|
|
59288
59288
|
if (i.triggerMenuPlacement === "custom") return;
|
|
59289
59289
|
if (!B.value)
|
|
59290
59290
|
return { position: "fixed", left: "0px", top: "0px", visibility: "hidden" };
|
|
@@ -60043,7 +60043,7 @@ const NCA = {
|
|
|
60043
60043
|
onDragleave: ar,
|
|
60044
60044
|
onDrop: gn
|
|
60045
60045
|
}, [
|
|
60046
|
-
|
|
60046
|
+
M("div", {
|
|
60047
60047
|
class: "chat-sender__inner",
|
|
60048
60048
|
onMousedown: fr,
|
|
60049
60049
|
onClick: vs
|
|
@@ -60060,7 +60060,7 @@ const NCA = {
|
|
|
60060
60060
|
class: "chat-sender__file-card chat-sender__file-card--image",
|
|
60061
60061
|
"aria-label": `${Lt(iA)}, ${nB(iA)}`
|
|
60062
60062
|
}, [
|
|
60063
|
-
|
|
60063
|
+
M("img", {
|
|
60064
60064
|
src: YR(iA),
|
|
60065
60065
|
alt: Lt(iA),
|
|
60066
60066
|
class: "chat-sender__file-image"
|
|
@@ -60071,19 +60071,19 @@ const NCA = {
|
|
|
60071
60071
|
class: "chat-sender__file-card",
|
|
60072
60072
|
"aria-label": `${Lt(iA)}, ${dh(iA)}, ${nB(iA)}`
|
|
60073
60073
|
}, [
|
|
60074
|
-
|
|
60074
|
+
M("img", {
|
|
60075
60075
|
class: "chat-sender__file-type-icon",
|
|
60076
60076
|
src: _A(L3)(Lt(iA)),
|
|
60077
60077
|
alt: "",
|
|
60078
60078
|
"aria-hidden": "true"
|
|
60079
60079
|
}, null, 8, RCA),
|
|
60080
|
-
|
|
60081
|
-
|
|
60082
|
-
|
|
60080
|
+
M("div", GCA, [
|
|
60081
|
+
M("h3", LCA, EA(Lt(iA)), 1),
|
|
60082
|
+
M("p", TCA, EA(nB(iA)), 1)
|
|
60083
60083
|
]),
|
|
60084
|
-
|
|
60085
|
-
|
|
60086
|
-
|
|
60084
|
+
M("div", YCA, [
|
|
60085
|
+
M("div", UCA, [
|
|
60086
|
+
M("p", JCA, EA(dh(iA)), 1)
|
|
60087
60087
|
])
|
|
60088
60088
|
])
|
|
60089
60089
|
], 8, MCA)),
|
|
@@ -60096,7 +60096,7 @@ const NCA = {
|
|
|
60096
60096
|
"aria-valuemax": "100",
|
|
60097
60097
|
"aria-valuenow": iA.progress
|
|
60098
60098
|
}, [
|
|
60099
|
-
|
|
60099
|
+
M("span", {
|
|
60100
60100
|
style: di({ width: `${iA.progress}%` })
|
|
60101
60101
|
}, null, 4)
|
|
60102
60102
|
], 8, OCA)) : DA("", !0),
|
|
@@ -60113,7 +60113,7 @@ const NCA = {
|
|
|
60113
60113
|
"aria-hidden": "true"
|
|
60114
60114
|
})
|
|
60115
60115
|
], 8, HCA)) : DA("", !0),
|
|
60116
|
-
|
|
60116
|
+
M("button", {
|
|
60117
60117
|
type: "button",
|
|
60118
60118
|
class: "chat-sender__file-remove-btn",
|
|
60119
60119
|
"aria-label": `移除 ${Lt(iA)}`,
|
|
@@ -60128,9 +60128,9 @@ const NCA = {
|
|
|
60128
60128
|
], 2))), 128))
|
|
60129
60129
|
])) : DA("", !0),
|
|
60130
60130
|
_A(fe) ? (Y(), P("p", KCA, EA(_A(fe)), 1)) : DA("", !0),
|
|
60131
|
-
|
|
60132
|
-
|
|
60133
|
-
|
|
60131
|
+
M("div", qCA, [
|
|
60132
|
+
M("div", PCA, [
|
|
60133
|
+
M("div", {
|
|
60134
60134
|
ref_key: "editorRef",
|
|
60135
60135
|
ref: g,
|
|
60136
60136
|
class: Be(["chat-sender__editor", { "chat-sender__editor--disabled": i.disabled }]),
|
|
@@ -60161,7 +60161,7 @@ const NCA = {
|
|
|
60161
60161
|
class: Be(["chat-sender__trigger-menu", {
|
|
60162
60162
|
"chat-sender__trigger-menu--custom": i.triggerMenuPlacement === "custom"
|
|
60163
60163
|
}]),
|
|
60164
|
-
style: di(
|
|
60164
|
+
style: di(R.value),
|
|
60165
60165
|
onMousedown: j[0] || (j[0] = Gr(() => {
|
|
60166
60166
|
}, ["prevent"]))
|
|
60167
60167
|
}, [
|
|
@@ -60178,10 +60178,10 @@ const NCA = {
|
|
|
60178
60178
|
})
|
|
60179
60179
|
]))
|
|
60180
60180
|
]),
|
|
60181
|
-
|
|
60182
|
-
|
|
60181
|
+
M("div", VCA, [
|
|
60182
|
+
M("div", zCA, [
|
|
60183
60183
|
i.showAttachment ? (Y(), P("div", XCA, [
|
|
60184
|
-
|
|
60184
|
+
M("button", {
|
|
60185
60185
|
type: "button",
|
|
60186
60186
|
class: Be(["chat-sender__icon-button", { "chat-sender__icon-button--active": sA.value }]),
|
|
60187
60187
|
disabled: i.disabled,
|
|
@@ -60201,14 +60201,14 @@ const NCA = {
|
|
|
60201
60201
|
onClick: j[1] || (j[1] = Gr(() => {
|
|
60202
60202
|
}, ["stop"]))
|
|
60203
60203
|
}, [
|
|
60204
|
-
|
|
60204
|
+
M("button", {
|
|
60205
60205
|
type: "button",
|
|
60206
60206
|
role: "menuitem",
|
|
60207
60207
|
class: "chat-sender__attachment-menu-item",
|
|
60208
60208
|
onClick: OR
|
|
60209
60209
|
}, [
|
|
60210
60210
|
De(_A(jhA), { size: 18 }),
|
|
60211
|
-
j[15] || (j[15] =
|
|
60211
|
+
j[15] || (j[15] = M("span", null, "添加文件或图片", -1))
|
|
60212
60212
|
]),
|
|
60213
60213
|
i.showScreenshot ? (Y(), P("button", {
|
|
60214
60214
|
key: 0,
|
|
@@ -60217,19 +60217,19 @@ const NCA = {
|
|
|
60217
60217
|
class: "chat-sender__attachment-menu-item",
|
|
60218
60218
|
onClick: HR
|
|
60219
60219
|
}, [...j[16] || (j[16] = [
|
|
60220
|
-
|
|
60220
|
+
M("svg", {
|
|
60221
60221
|
width: "18",
|
|
60222
60222
|
height: "18",
|
|
60223
60223
|
viewBox: "0 0 24 24",
|
|
60224
60224
|
fill: "none",
|
|
60225
60225
|
xmlns: "http://www.w3.org/2000/svg"
|
|
60226
60226
|
}, [
|
|
60227
|
-
|
|
60227
|
+
M("path", {
|
|
60228
60228
|
d: "M9 3h2.25L12.4 4.8A.5.5 0 0 0 12.8 5H15.5A1.5 1.5 0 0 1 17 6.5v10a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 16.5v-10A1.5 1.5 0 0 1 4.5 5H7.2a.5.5 0 0 0 .4-.2L8.75 3H9zm3 5.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zm0 1.5a2 2 0 1 1 0 4 2 2 0 0 1 0-4z",
|
|
60229
60229
|
fill: "#333333"
|
|
60230
60230
|
})
|
|
60231
60231
|
], -1),
|
|
60232
|
-
|
|
60232
|
+
M("span", null, "截图", -1)
|
|
60233
60233
|
])])) : DA("", !0),
|
|
60234
60234
|
i.customMenuItems && i.customMenuItems.length > 0 ? (Y(), P("div", $CA)) : DA("", !0),
|
|
60235
60235
|
(Y(!0), P(Ge, null, Qt(i.customMenuItems, (iA) => (Y(), P("button", {
|
|
@@ -60241,7 +60241,7 @@ const NCA = {
|
|
|
60241
60241
|
onClick: (NA) => KR(iA.id)
|
|
60242
60242
|
}, [
|
|
60243
60243
|
(Y(), se(Jn(iA.icon))),
|
|
60244
|
-
|
|
60244
|
+
M("span", null, EA(iA.label), 1)
|
|
60245
60245
|
], 8, AIA))), 128))
|
|
60246
60246
|
])) : DA("", !0)
|
|
60247
60247
|
]),
|
|
@@ -60274,8 +60274,8 @@ const NCA = {
|
|
|
60274
60274
|
"stroke-width": 1.75,
|
|
60275
60275
|
"aria-hidden": "true"
|
|
60276
60276
|
})) : DA("", !0),
|
|
60277
|
-
|
|
60278
|
-
|
|
60277
|
+
M("span", null, EA(LA.value.label), 1),
|
|
60278
|
+
M("button", {
|
|
60279
60279
|
type: "button",
|
|
60280
60280
|
class: "chat-sender__quick-action-remove",
|
|
60281
60281
|
"aria-label": "退出该模式",
|
|
@@ -60301,17 +60301,17 @@ const NCA = {
|
|
|
60301
60301
|
"stroke-width": 1.75,
|
|
60302
60302
|
"aria-hidden": "true"
|
|
60303
60303
|
})) : DA("", !0),
|
|
60304
|
-
|
|
60304
|
+
M("span", null, EA(iA.label), 1)
|
|
60305
60305
|
], 8, nIA))), 128))
|
|
60306
60306
|
]))
|
|
60307
60307
|
], 64)) : DA("", !0)
|
|
60308
60308
|
]),
|
|
60309
|
-
|
|
60310
|
-
|
|
60309
|
+
M("div", oIA, [
|
|
60310
|
+
M("div", sIA, [
|
|
60311
60311
|
J.$slots["toolbar-before-voice"] ? (Y(), P("div", gIA, [
|
|
60312
60312
|
be(J.$slots, "toolbar-before-voice", {}, void 0, !0)
|
|
60313
60313
|
])) : DA("", !0),
|
|
60314
|
-
|
|
60314
|
+
M("div", {
|
|
60315
60315
|
ref_key: "voiceWrapperRef",
|
|
60316
60316
|
ref: UA,
|
|
60317
60317
|
class: Be(["chat-sender__voice-wrapper", {
|
|
@@ -60322,7 +60322,7 @@ const NCA = {
|
|
|
60322
60322
|
onMouseenter: bi,
|
|
60323
60323
|
onMouseleave: Sa
|
|
60324
60324
|
}, [
|
|
60325
|
-
|
|
60325
|
+
M("div", {
|
|
60326
60326
|
class: Be(["chat-sender__voice-group", { "chat-sender__voice-group--menu-open": _A(XA) }])
|
|
60327
60327
|
}, [
|
|
60328
60328
|
Jt.value ? DA("", !0) : (Y(), P("div", {
|
|
@@ -60331,7 +60331,7 @@ const NCA = {
|
|
|
60331
60331
|
"chat-sender__voice-settings-wrapper--visible": _A(nA) || _A(XA)
|
|
60332
60332
|
}])
|
|
60333
60333
|
}, [
|
|
60334
|
-
|
|
60334
|
+
M("button", {
|
|
60335
60335
|
type: "button",
|
|
60336
60336
|
class: Be(["chat-sender__voice-settings", { "chat-sender__voice-settings--active": _A(XA) }]),
|
|
60337
60337
|
disabled: i.disabled,
|
|
@@ -60345,7 +60345,7 @@ const NCA = {
|
|
|
60345
60345
|
De(_A(qhA))
|
|
60346
60346
|
], 10, cIA)
|
|
60347
60347
|
], 2)),
|
|
60348
|
-
|
|
60348
|
+
M("button", {
|
|
60349
60349
|
type: "button",
|
|
60350
60350
|
class: Be(["chat-sender__voice-button", {
|
|
60351
60351
|
"chat-sender__voice-button--recording": _A(yA),
|
|
@@ -60367,7 +60367,7 @@ const NCA = {
|
|
|
60367
60367
|
key: 0,
|
|
60368
60368
|
size: 20
|
|
60369
60369
|
})) : _A(yA) ? (Y(), P("div", hIA, [
|
|
60370
|
-
(Y(), P(Ge, null, Qt(eA, (iA, NA) =>
|
|
60370
|
+
(Y(), P(Ge, null, Qt(eA, (iA, NA) => M("span", {
|
|
60371
60371
|
key: NA,
|
|
60372
60372
|
class: "chat-sender__voice-wave-bar",
|
|
60373
60373
|
style: di({
|
|
@@ -60398,11 +60398,11 @@ const NCA = {
|
|
|
60398
60398
|
onMouseenter: Hi,
|
|
60399
60399
|
onMouseleave: sn
|
|
60400
60400
|
}, [
|
|
60401
|
-
|
|
60401
|
+
M("div", CIA, [
|
|
60402
60402
|
De(_A(xp)),
|
|
60403
|
-
j[17] || (j[17] =
|
|
60403
|
+
j[17] || (j[17] = M("span", { class: "chat-sender__mic-permission-popover-title" }, "尚未获得麦克风权限", -1))
|
|
60404
60404
|
]),
|
|
60405
|
-
|
|
60405
|
+
M("p", IIA, [
|
|
60406
60406
|
j[18] || (j[18] = qv(" 语音输入提问需要开启麦克风权限,请点击前往设置进行开启。 ", -1)),
|
|
60407
60407
|
i.micPermissionGuideUrl ? (Y(), P("a", {
|
|
60408
60408
|
key: 0,
|
|
@@ -60413,10 +60413,10 @@ const NCA = {
|
|
|
60413
60413
|
onClick: j[8] || (j[8] = (iA) => r("mic-permission-guide-click"))
|
|
60414
60414
|
}, " 麦克风权限开启指南 ", 8, fIA)) : DA("", !0)
|
|
60415
60415
|
]),
|
|
60416
|
-
|
|
60416
|
+
M("div", dIA, [
|
|
60417
60417
|
De(_A(xp), { size: 48 })
|
|
60418
60418
|
]),
|
|
60419
|
-
|
|
60419
|
+
M("button", {
|
|
60420
60420
|
type: "button",
|
|
60421
60421
|
class: "chat-sender__mic-permission-popover-dismiss",
|
|
60422
60422
|
onClick: Bo
|
|
@@ -60436,25 +60436,25 @@ const NCA = {
|
|
|
60436
60436
|
onClick: j[13] || (j[13] = Gr(() => {
|
|
60437
60437
|
}, ["stop"]))
|
|
60438
60438
|
}, [
|
|
60439
|
-
|
|
60439
|
+
M("div", BIA, [
|
|
60440
60440
|
De(_A(a3)),
|
|
60441
|
-
j[19] || (j[19] =
|
|
60442
|
-
|
|
60443
|
-
|
|
60441
|
+
j[19] || (j[19] = M("span", { class: "chat-sender__voice-menu-title" }, "麦克风", -1)),
|
|
60442
|
+
M("div", QIA, [
|
|
60443
|
+
M("div", {
|
|
60444
60444
|
class: "chat-sender__voice-level-bar",
|
|
60445
60445
|
style: di({ width: `${_A(YA)}%` })
|
|
60446
60446
|
}, null, 4)
|
|
60447
60447
|
])
|
|
60448
60448
|
]),
|
|
60449
|
-
|
|
60450
|
-
|
|
60449
|
+
M("div", pIA, [
|
|
60450
|
+
M("div", EIA, [
|
|
60451
60451
|
(Y(!0), P(Ge, null, Qt(_A(tt), (iA, NA) => (Y(), P("button", {
|
|
60452
60452
|
key: iA.deviceId,
|
|
60453
60453
|
type: "button",
|
|
60454
60454
|
class: Be(["chat-sender__voice-menu-item", { "chat-sender__voice-menu-item--active": iA.active }]),
|
|
60455
60455
|
onClick: (re) => _A(yi)(NA)
|
|
60456
60456
|
}, [
|
|
60457
|
-
|
|
60457
|
+
M("span", mIA, EA(iA.label), 1),
|
|
60458
60458
|
iA.active ? (Y(), se(_A(WhA), {
|
|
60459
60459
|
key: 0,
|
|
60460
60460
|
class: "chat-sender__voice-menu-check"
|
|
@@ -60462,29 +60462,29 @@ const NCA = {
|
|
|
60462
60462
|
], 10, vIA))), 128))
|
|
60463
60463
|
])
|
|
60464
60464
|
]),
|
|
60465
|
-
|
|
60466
|
-
|
|
60465
|
+
M("div", yIA, [
|
|
60466
|
+
M("button", {
|
|
60467
60467
|
type: "button",
|
|
60468
60468
|
class: "chat-sender__voice-menu-option",
|
|
60469
60469
|
onClick: j[12] || (j[12] = //@ts-ignore
|
|
60470
60470
|
(...iA) => _A(Ve) && _A(Ve)(...iA))
|
|
60471
60471
|
}, [
|
|
60472
|
-
|
|
60472
|
+
M("div", wIA, [
|
|
60473
60473
|
De(_A(zhA)),
|
|
60474
|
-
j[20] || (j[20] =
|
|
60474
|
+
j[20] || (j[20] = M("span", { class: "chat-sender__voice-menu-option-label" }, "长按录音", -1))
|
|
60475
60475
|
]),
|
|
60476
|
-
|
|
60476
|
+
M("label", {
|
|
60477
60477
|
class: "chat-sender__voice-menu-switch",
|
|
60478
60478
|
onClick: j[11] || (j[11] = Gr(() => {
|
|
60479
60479
|
}, ["stop"]))
|
|
60480
60480
|
}, [
|
|
60481
|
-
|
|
60481
|
+
M("input", {
|
|
60482
60482
|
type: "checkbox",
|
|
60483
60483
|
checked: _A(ie),
|
|
60484
60484
|
onChange: j[10] || (j[10] = //@ts-ignore
|
|
60485
60485
|
(...iA) => _A(Ve) && _A(Ve)(...iA))
|
|
60486
60486
|
}, null, 40, DIA),
|
|
60487
|
-
j[21] || (j[21] =
|
|
60487
|
+
j[21] || (j[21] = M("span", { class: "chat-sender__voice-menu-switch-slider" }, null, -1))
|
|
60488
60488
|
])
|
|
60489
60489
|
])
|
|
60490
60490
|
])
|
|
@@ -60493,18 +60493,18 @@ const NCA = {
|
|
|
60493
60493
|
_: 1
|
|
60494
60494
|
})
|
|
60495
60495
|
])),
|
|
60496
|
-
|
|
60496
|
+
M("div", {
|
|
60497
60497
|
class: Be(["chat-sender__send-wrapper", { "chat-sender__send-wrapper--visible": Qo.value }])
|
|
60498
60498
|
}, [
|
|
60499
|
-
|
|
60499
|
+
M("button", {
|
|
60500
60500
|
type: "button",
|
|
60501
60501
|
class: Be(["chat-sender__action-button", Wr.value ? "chat-sender__stop-button" : "chat-sender__send-button"]),
|
|
60502
60502
|
disabled: !Wr.value && i.disabled,
|
|
60503
60503
|
"aria-label": Wr.value ? "停止生成" : "发送消息",
|
|
60504
60504
|
onClick: j[14] || (j[14] = (iA) => Wr.value ? it() : ce())
|
|
60505
60505
|
}, [
|
|
60506
|
-
|
|
60507
|
-
|
|
60506
|
+
M("span", bIA, [
|
|
60507
|
+
M("img", {
|
|
60508
60508
|
src: _A(UhA),
|
|
60509
60509
|
alt: "",
|
|
60510
60510
|
class: Be(["chat-sender__send-icon", { "chat-sender__action-icon--active": !Wr.value }])
|
|
@@ -60522,7 +60522,7 @@ const NCA = {
|
|
|
60522
60522
|
])
|
|
60523
60523
|
])
|
|
60524
60524
|
], 32),
|
|
60525
|
-
|
|
60525
|
+
M("input", {
|
|
60526
60526
|
ref_key: "fileInputRef",
|
|
60527
60527
|
ref: u,
|
|
60528
60528
|
type: "file",
|
|
@@ -60546,11 +60546,11 @@ const NCA = {
|
|
|
60546
60546
|
},
|
|
60547
60547
|
setup(t) {
|
|
60548
60548
|
return (A, e) => (Y(), P("div", _IA, [
|
|
60549
|
-
e[0] || (e[0] =
|
|
60549
|
+
e[0] || (e[0] = M("div", {
|
|
60550
60550
|
class: "chat-empty__icon",
|
|
60551
60551
|
"aria-hidden": "true"
|
|
60552
60552
|
}, [
|
|
60553
|
-
|
|
60553
|
+
M("svg", {
|
|
60554
60554
|
viewBox: "0 0 24 24",
|
|
60555
60555
|
width: "48",
|
|
60556
60556
|
height: "48",
|
|
@@ -60558,11 +60558,11 @@ const NCA = {
|
|
|
60558
60558
|
stroke: "currentColor",
|
|
60559
60559
|
"stroke-width": "1.5"
|
|
60560
60560
|
}, [
|
|
60561
|
-
|
|
60561
|
+
M("path", { d: "M3 12a9 9 0 1 1 18 0c0 4.97-4.03 9-9 9-1.27 0-2.48-.26-3.58-.74L3 21l.74-5.42A8.96 8.96 0 0 1 3 12z" })
|
|
60562
60562
|
])
|
|
60563
60563
|
], -1)),
|
|
60564
|
-
|
|
60565
|
-
|
|
60564
|
+
M("h3", MIA, EA(t.title), 1),
|
|
60565
|
+
M("p", RIA, EA(t.description), 1)
|
|
60566
60566
|
]));
|
|
60567
60567
|
}
|
|
60568
60568
|
}), LIA = /* @__PURE__ */ Me(GIA, [["__scopeId", "data-v-27943bfd"]]), TIA = ["aria-label"], YIA = { class: "ask-form__header" }, UIA = { class: "ask-form__question" }, JIA = {
|
|
@@ -60596,7 +60596,7 @@ const NCA = {
|
|
|
60596
60596
|
},
|
|
60597
60597
|
emits: ["action", "answerChange", "previous", "next", "submitGroup"],
|
|
60598
60598
|
setup(t, { emit: A }) {
|
|
60599
|
-
const e = t, i = A, r = uA(!1), n = uA(""), a = uA([]), o = uA(null), s = $(() => String(e.node.props.question ?? "")), g = $(() => String(e.node.props.id ?? e.node.id)), l = $(() => e.node.props.multiple === !0), c = $(() => e.node.props.required !== !1), h = $(() => !c.value), u = $(() =>
|
|
60599
|
+
const e = t, i = A, r = uA(!1), n = uA(""), a = uA([]), o = uA(null), s = $(() => String(e.node.props.question ?? "")), g = $(() => String(e.node.props.id ?? e.node.id)), l = $(() => e.node.props.multiple === !0), c = $(() => e.node.props.required !== !1), h = $(() => !c.value), u = $(() => e.questionCount > 1), C = $(() => e.questionCount > 1), I = $(() => !C.value || h.value), f = $(() => e.questionIndex === e.questionCount - 1), d = $(() => e.questionIndex > 0), B = $(() => e.questionIndex < e.questionCount - 1), Q = $(
|
|
60600
60600
|
() => e.node.children.filter(
|
|
60601
60601
|
(U) => U.kind === "component" && U.tag === "ask-option" && U.complete
|
|
60602
60602
|
)
|
|
@@ -60626,7 +60626,7 @@ const NCA = {
|
|
|
60626
60626
|
i("answerChange", D());
|
|
60627
60627
|
}
|
|
60628
60628
|
function b() {
|
|
60629
|
-
if (
|
|
60629
|
+
if (C.value) {
|
|
60630
60630
|
if (B.value) {
|
|
60631
60631
|
i("next");
|
|
60632
60632
|
return;
|
|
@@ -60635,7 +60635,7 @@ const NCA = {
|
|
|
60635
60635
|
}
|
|
60636
60636
|
}
|
|
60637
60637
|
function S(U, G) {
|
|
60638
|
-
if (
|
|
60638
|
+
if (C.value) {
|
|
60639
60639
|
i("answerChange", { value: U, label: G });
|
|
60640
60640
|
return;
|
|
60641
60641
|
}
|
|
@@ -60653,19 +60653,19 @@ const NCA = {
|
|
|
60653
60653
|
F(U);
|
|
60654
60654
|
return;
|
|
60655
60655
|
}
|
|
60656
|
-
if (
|
|
60656
|
+
if (C.value) {
|
|
60657
60657
|
a.value = [U], k(), b();
|
|
60658
60658
|
return;
|
|
60659
60659
|
}
|
|
60660
60660
|
S(U, G);
|
|
60661
60661
|
}
|
|
60662
60662
|
function F(U) {
|
|
60663
|
-
a.value.includes(U) ? a.value = a.value.filter((G) => G !== U) : a.value = [...a.value, U],
|
|
60663
|
+
a.value.includes(U) ? a.value = a.value.filter((G) => G !== U) : a.value = [...a.value, U], C.value && k();
|
|
60664
60664
|
}
|
|
60665
|
-
function
|
|
60665
|
+
function R() {
|
|
60666
60666
|
if (a.value.length === 0) return;
|
|
60667
60667
|
const U = a.value.map(E);
|
|
60668
|
-
if (
|
|
60668
|
+
if (C.value) {
|
|
60669
60669
|
i("answerChange", {
|
|
60670
60670
|
value: a.value.join(", "),
|
|
60671
60671
|
label: U.join(", ")
|
|
@@ -60678,10 +60678,10 @@ const NCA = {
|
|
|
60678
60678
|
const U = n.value.trim();
|
|
60679
60679
|
if (U) {
|
|
60680
60680
|
if (l.value) {
|
|
60681
|
-
a.value.includes(U) || (a.value = [...a.value, U]), n.value = "",
|
|
60681
|
+
a.value.includes(U) || (a.value = [...a.value, U]), n.value = "", C.value && k();
|
|
60682
60682
|
return;
|
|
60683
60683
|
}
|
|
60684
|
-
if (
|
|
60684
|
+
if (C.value) {
|
|
60685
60685
|
a.value = [U], k(), b();
|
|
60686
60686
|
return;
|
|
60687
60687
|
}
|
|
@@ -60689,12 +60689,28 @@ const NCA = {
|
|
|
60689
60689
|
}
|
|
60690
60690
|
}
|
|
60691
60691
|
function H() {
|
|
60692
|
-
if (
|
|
60693
|
-
if (a.value = [], n.value = "",
|
|
60692
|
+
if (I.value) {
|
|
60693
|
+
if (a.value = [], n.value = "", C.value) {
|
|
60694
60694
|
i("answerChange", { value: "", label: "跳过", skipped: !0 }), b();
|
|
60695
60695
|
return;
|
|
60696
60696
|
}
|
|
60697
|
-
|
|
60697
|
+
r.value || (r.value = !0, i("action", {
|
|
60698
|
+
type: "submit",
|
|
60699
|
+
value: "",
|
|
60700
|
+
label: "跳过",
|
|
60701
|
+
source: "ask-form",
|
|
60702
|
+
formId: g.value,
|
|
60703
|
+
question: s.value,
|
|
60704
|
+
answers: [
|
|
60705
|
+
{
|
|
60706
|
+
formId: g.value,
|
|
60707
|
+
question: s.value,
|
|
60708
|
+
value: "",
|
|
60709
|
+
label: "跳过",
|
|
60710
|
+
skipped: !0
|
|
60711
|
+
}
|
|
60712
|
+
]
|
|
60713
|
+
}));
|
|
60698
60714
|
}
|
|
60699
60715
|
}
|
|
60700
60716
|
return (U, G) => r.value ? DA("", !0) : (Y(), P("div", {
|
|
@@ -60705,10 +60721,10 @@ const NCA = {
|
|
|
60705
60721
|
role: "group",
|
|
60706
60722
|
"aria-label": s.value
|
|
60707
60723
|
}, [
|
|
60708
|
-
|
|
60709
|
-
|
|
60710
|
-
|
|
60711
|
-
|
|
60724
|
+
M("div", YIA, [
|
|
60725
|
+
M("p", UIA, EA(s.value), 1),
|
|
60726
|
+
u.value ? (Y(), P("div", JIA, [
|
|
60727
|
+
M("button", {
|
|
60712
60728
|
type: "button",
|
|
60713
60729
|
class: "ask-form__nav-button",
|
|
60714
60730
|
"aria-label": "上一题",
|
|
@@ -60716,14 +60732,14 @@ const NCA = {
|
|
|
60716
60732
|
disabled: !d.value,
|
|
60717
60733
|
onClick: G[0] || (G[0] = (z) => i("previous"))
|
|
60718
60734
|
}, [...G[5] || (G[5] = [
|
|
60719
|
-
|
|
60735
|
+
M("svg", {
|
|
60720
60736
|
viewBox: "0 0 16 16",
|
|
60721
60737
|
width: "14",
|
|
60722
60738
|
height: "14",
|
|
60723
60739
|
fill: "none",
|
|
60724
60740
|
"aria-hidden": "true"
|
|
60725
60741
|
}, [
|
|
60726
|
-
|
|
60742
|
+
M("path", {
|
|
60727
60743
|
d: "m9.5 3.5-4 4 4 4",
|
|
60728
60744
|
stroke: "currentColor",
|
|
60729
60745
|
"stroke-width": "1.75",
|
|
@@ -60732,8 +60748,8 @@ const NCA = {
|
|
|
60732
60748
|
})
|
|
60733
60749
|
], -1)
|
|
60734
60750
|
])], 8, OIA),
|
|
60735
|
-
|
|
60736
|
-
|
|
60751
|
+
M("span", HIA, EA(t.questionIndex + 1) + "/" + EA(t.questionCount), 1),
|
|
60752
|
+
M("button", {
|
|
60737
60753
|
type: "button",
|
|
60738
60754
|
class: "ask-form__nav-button",
|
|
60739
60755
|
"aria-label": "下一个问题",
|
|
@@ -60741,14 +60757,14 @@ const NCA = {
|
|
|
60741
60757
|
disabled: !B.value,
|
|
60742
60758
|
onClick: G[1] || (G[1] = (z) => i("next"))
|
|
60743
60759
|
}, [...G[6] || (G[6] = [
|
|
60744
|
-
|
|
60760
|
+
M("svg", {
|
|
60745
60761
|
viewBox: "0 0 16 16",
|
|
60746
60762
|
width: "14",
|
|
60747
60763
|
height: "14",
|
|
60748
60764
|
fill: "none",
|
|
60749
60765
|
"aria-hidden": "true"
|
|
60750
60766
|
}, [
|
|
60751
|
-
|
|
60767
|
+
M("path", {
|
|
60752
60768
|
d: "m6.5 3.5 4 4-4 4",
|
|
60753
60769
|
stroke: "currentColor",
|
|
60754
60770
|
"stroke-width": "1.75",
|
|
@@ -60757,10 +60773,19 @@ const NCA = {
|
|
|
60757
60773
|
})
|
|
60758
60774
|
], -1)
|
|
60759
60775
|
])], 8, ZIA)
|
|
60760
|
-
])) : DA("", !0)
|
|
60776
|
+
])) : DA("", !0),
|
|
60777
|
+
I.value ? (Y(), P("button", {
|
|
60778
|
+
key: 1,
|
|
60779
|
+
type: "button",
|
|
60780
|
+
class: "ask-form__skip",
|
|
60781
|
+
"data-testid": "ask-form-skip",
|
|
60782
|
+
"aria-label": "跳过",
|
|
60783
|
+
title: "跳过,改用输入框回答",
|
|
60784
|
+
onClick: H
|
|
60785
|
+
}, " 跳过 ")) : DA("", !0)
|
|
60761
60786
|
]),
|
|
60762
|
-
|
|
60763
|
-
|
|
60787
|
+
M("div", KIA, [
|
|
60788
|
+
M("div", {
|
|
60764
60789
|
class: "ask-form__options",
|
|
60765
60790
|
role: "listbox",
|
|
60766
60791
|
"aria-label": s.value,
|
|
@@ -60770,7 +60795,7 @@ const NCA = {
|
|
|
60770
60795
|
key: p(z),
|
|
60771
60796
|
class: "ask-form__item"
|
|
60772
60797
|
}, [
|
|
60773
|
-
|
|
60798
|
+
M("button", {
|
|
60774
60799
|
type: "button",
|
|
60775
60800
|
role: "option",
|
|
60776
60801
|
class: Be(["ask-form__option", { "is-active": y(AA, p(z)) }]),
|
|
@@ -60781,21 +60806,21 @@ const NCA = {
|
|
|
60781
60806
|
onBlur: G[3] || (G[3] = (eA) => o.value = null),
|
|
60782
60807
|
onClick: (eA) => x(p(z), String(z.props.label ?? ""))
|
|
60783
60808
|
}, [
|
|
60784
|
-
|
|
60809
|
+
M("span", {
|
|
60785
60810
|
class: Be(["ask-form__index", { "is-active": y(AA, p(z)) }]),
|
|
60786
60811
|
"aria-hidden": "true"
|
|
60787
60812
|
}, EA(AA + 1), 3),
|
|
60788
|
-
|
|
60813
|
+
M("span", {
|
|
60789
60814
|
class: Be(["ask-form__label", { "is-muted": !y(AA, p(z)) }])
|
|
60790
60815
|
}, EA(z.props.label), 3),
|
|
60791
|
-
d0(
|
|
60792
|
-
|
|
60816
|
+
d0(M("span", WIA, [...G[7] || (G[7] = [
|
|
60817
|
+
M("svg", {
|
|
60793
60818
|
viewBox: "0 0 16 16",
|
|
60794
60819
|
width: "14",
|
|
60795
60820
|
height: "14",
|
|
60796
60821
|
fill: "none"
|
|
60797
60822
|
}, [
|
|
60798
|
-
|
|
60823
|
+
M("path", {
|
|
60799
60824
|
d: "M3.5 8h9M8.5 4l4 4-4 4",
|
|
60800
60825
|
stroke: "currentColor",
|
|
60801
60826
|
"stroke-width": "1.75",
|
|
@@ -60814,22 +60839,22 @@ const NCA = {
|
|
|
60814
60839
|
}, null, 2)) : DA("", !0)
|
|
60815
60840
|
]))), 128))
|
|
60816
60841
|
], 8, qIA),
|
|
60817
|
-
|
|
60842
|
+
M("div", {
|
|
60818
60843
|
class: Be(["ask-form__rule", { "is-hidden": o.value === Q.value.length - 1 }]),
|
|
60819
60844
|
"aria-hidden": "true"
|
|
60820
60845
|
}, null, 2),
|
|
60821
|
-
|
|
60822
|
-
G[8] || (G[8] =
|
|
60846
|
+
M("div", VIA, [
|
|
60847
|
+
G[8] || (G[8] = M("span", {
|
|
60823
60848
|
class: "ask-form__other-icon",
|
|
60824
60849
|
"aria-hidden": "true"
|
|
60825
60850
|
}, [
|
|
60826
|
-
|
|
60851
|
+
M("svg", {
|
|
60827
60852
|
viewBox: "0 0 24 24",
|
|
60828
60853
|
width: "14",
|
|
60829
60854
|
height: "14",
|
|
60830
60855
|
fill: "none"
|
|
60831
60856
|
}, [
|
|
60832
|
-
|
|
60857
|
+
M("path", {
|
|
60833
60858
|
d: "M12 20h9M16.45 3.55a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4 12.45-12.45Z",
|
|
60834
60859
|
stroke: "currentColor",
|
|
60835
60860
|
"stroke-width": "1.75",
|
|
@@ -60838,7 +60863,7 @@ const NCA = {
|
|
|
60838
60863
|
})
|
|
60839
60864
|
])
|
|
60840
60865
|
], -1)),
|
|
60841
|
-
d0(
|
|
60866
|
+
d0(M("input", {
|
|
60842
60867
|
"onUpdate:modelValue": G[4] || (G[4] = (z) => n.value = z),
|
|
60843
60868
|
type: "text",
|
|
60844
60869
|
class: "ask-form__other-input",
|
|
@@ -60848,37 +60873,29 @@ const NCA = {
|
|
|
60848
60873
|
}, null, 544), [
|
|
60849
60874
|
[Pv, n.value]
|
|
60850
60875
|
]),
|
|
60851
|
-
|
|
60852
|
-
|
|
60853
|
-
key: 0,
|
|
60854
|
-
type: "button",
|
|
60855
|
-
class: "ask-form__chip-btn",
|
|
60856
|
-
"data-testid": "ask-form-skip",
|
|
60857
|
-
onClick: H
|
|
60858
|
-
}, " 跳过 ")) : DA("", !0),
|
|
60859
|
-
I.value && l.value ? (Y(), P("button", {
|
|
60860
|
-
key: 1,
|
|
60876
|
+
C.value && l.value ? (Y(), P("div", zIA, [
|
|
60877
|
+
M("button", {
|
|
60861
60878
|
type: "button",
|
|
60862
60879
|
class: "ask-form__chip-btn is-primary",
|
|
60863
60880
|
"data-testid": "ask-form-confirm",
|
|
60864
60881
|
"aria-label": "确认",
|
|
60865
60882
|
disabled: a.value.length === 0 || f.value && !t.groupCanSubmit,
|
|
60866
|
-
onClick:
|
|
60867
|
-
}, " 确认 ", 8, XIA)
|
|
60883
|
+
onClick: R
|
|
60884
|
+
}, " 确认 ", 8, XIA)
|
|
60868
60885
|
])) : DA("", !0)
|
|
60869
60886
|
]),
|
|
60870
|
-
l.value && !
|
|
60871
|
-
|
|
60887
|
+
l.value && !C.value ? (Y(), P("div", jIA, [
|
|
60888
|
+
M("button", {
|
|
60872
60889
|
type: "button",
|
|
60873
60890
|
class: "ask-form__chip-btn is-primary",
|
|
60874
60891
|
disabled: a.value.length === 0,
|
|
60875
|
-
onClick:
|
|
60892
|
+
onClick: R
|
|
60876
60893
|
}, " 确认 ", 8, $IA)
|
|
60877
60894
|
])) : DA("", !0)
|
|
60878
60895
|
])
|
|
60879
60896
|
], 8, TIA));
|
|
60880
60897
|
}
|
|
60881
|
-
}), efA = /* @__PURE__ */ Me(AfA, [["__scopeId", "data-v-
|
|
60898
|
+
}), efA = /* @__PURE__ */ Me(AfA, [["__scopeId", "data-v-fffc80f5"]]), tfA = 512 * 1024, ifA = /* @__PURE__ */ new Set(["session", "end"]), rfA = "response.ga.done", nfA = /* @__PURE__ */ new Set([
|
|
60882
60899
|
"response.completed",
|
|
60883
60900
|
"response.incomplete",
|
|
60884
60901
|
"response.failed",
|
|
@@ -60936,9 +60953,9 @@ async function ofA(t, A) {
|
|
|
60936
60953
|
}, f = (F) => {
|
|
60937
60954
|
a.splice(o, Math.max(0, a.length - o), ...Nl(F)), C3(a);
|
|
60938
60955
|
}, d = () => {
|
|
60939
|
-
const F = s,
|
|
60940
|
-
A.onUpdate(_R(a),
|
|
60941
|
-
}, B = (F,
|
|
60956
|
+
const F = s, R = F ? { ...F, output: Rp(a) } : null;
|
|
60957
|
+
A.onUpdate(_R(a), R);
|
|
60958
|
+
}, B = (F, R) => {
|
|
60942
60959
|
var T, H, U;
|
|
60943
60960
|
switch (F.type) {
|
|
60944
60961
|
case "response.created":
|
|
@@ -61027,7 +61044,7 @@ async function ofA(t, A) {
|
|
|
61027
61044
|
h = c ?? "completed";
|
|
61028
61045
|
break;
|
|
61029
61046
|
}
|
|
61030
|
-
if (C3(a), d(), (U = A.onEvent) == null || U.call(A, F,
|
|
61047
|
+
if (C3(a), d(), (U = A.onEvent) == null || U.call(A, F, R), F.type === "response.failed") {
|
|
61031
61048
|
const G = F.response.error;
|
|
61032
61049
|
throw new Mt(
|
|
61033
61050
|
(G == null ? void 0 : G.message) || "Responses stream failed",
|
|
@@ -61040,10 +61057,10 @@ async function ofA(t, A) {
|
|
|
61040
61057
|
F.code ?? void 0
|
|
61041
61058
|
);
|
|
61042
61059
|
}, Q = () => {
|
|
61043
|
-
const F = [...l.keys()].sort((
|
|
61044
|
-
for (const
|
|
61045
|
-
const T = l.get(
|
|
61046
|
-
T && (l.delete(
|
|
61060
|
+
const F = [...l.keys()].sort((R, T) => R - T);
|
|
61061
|
+
for (const R of F) {
|
|
61062
|
+
const T = l.get(R);
|
|
61063
|
+
T && (l.delete(R), B(T.event, T.frame), g = R + 1);
|
|
61047
61064
|
}
|
|
61048
61065
|
}, p = () => {
|
|
61049
61066
|
if (g !== null)
|
|
@@ -61052,10 +61069,10 @@ async function ofA(t, A) {
|
|
|
61052
61069
|
if (!F) break;
|
|
61053
61070
|
l.delete(g), B(F.event, F.frame), g += 1;
|
|
61054
61071
|
}
|
|
61055
|
-
}, E = (F,
|
|
61072
|
+
}, E = (F, R) => {
|
|
61056
61073
|
const T = F.sequence_number;
|
|
61057
61074
|
if (!(typeof T == "number" && Number.isSafeInteger(T) && T >= 0)) {
|
|
61058
|
-
Q(), B(F,
|
|
61075
|
+
Q(), B(F, R);
|
|
61059
61076
|
return;
|
|
61060
61077
|
}
|
|
61061
61078
|
if (F.type === "response.created")
|
|
@@ -61064,27 +61081,27 @@ async function ofA(t, A) {
|
|
|
61064
61081
|
g = T;
|
|
61065
61082
|
else if (T < g)
|
|
61066
61083
|
return;
|
|
61067
|
-
l.set(T, { event: F, frame:
|
|
61084
|
+
l.set(T, { event: F, frame: R }), p(), nfA.has(F.type) && l.size > 0 && Q();
|
|
61068
61085
|
}, v = (F) => {
|
|
61069
|
-
const
|
|
61070
|
-
|
|
61086
|
+
const R = sfA(F);
|
|
61087
|
+
R && E(R, F);
|
|
61071
61088
|
};
|
|
61072
61089
|
try {
|
|
61073
61090
|
for (; !h; ) {
|
|
61074
61091
|
const F = await i.read();
|
|
61075
61092
|
if ((k = A.signal) != null && k.aborted) return { status: "aborted", response: s };
|
|
61076
61093
|
if (F.done) break;
|
|
61077
|
-
const
|
|
61078
|
-
for (const T of n.push(
|
|
61094
|
+
const R = r.decode(F.value, { stream: !0 });
|
|
61095
|
+
for (const T of n.push(R))
|
|
61079
61096
|
if (v(T), h) break;
|
|
61080
61097
|
}
|
|
61081
61098
|
if (!h && !((b = A.signal) != null && b.aborted)) {
|
|
61082
61099
|
const F = r.decode();
|
|
61083
|
-
for (const
|
|
61084
|
-
if (v(
|
|
61100
|
+
for (const R of n.push(F))
|
|
61101
|
+
if (v(R), h) break;
|
|
61085
61102
|
if (!h) {
|
|
61086
|
-
for (const
|
|
61087
|
-
if (v(
|
|
61103
|
+
for (const R of n.finish())
|
|
61104
|
+
if (v(R), h) break;
|
|
61088
61105
|
}
|
|
61089
61106
|
}
|
|
61090
61107
|
if (!h && l.size > 0 && Q(), (S = A.signal) != null && S.aborted) return { status: "aborted", response: s };
|
|
@@ -61499,7 +61516,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
61499
61516
|
() => x.value && k.value.every(
|
|
61500
61517
|
(X) => !E(X) || l.value.has(X.id)
|
|
61501
61518
|
)
|
|
61502
|
-
),
|
|
61519
|
+
), R = $(() => i.status === "streaming"), T = $(() => i.status === "aborted" && !i.responseError), H = $(
|
|
61503
61520
|
() => i.responseError ? LR(i.responseError) : null
|
|
61504
61521
|
), U = $(() => {
|
|
61505
61522
|
var X, lA;
|
|
@@ -61945,9 +61962,9 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
61945
61962
|
class: Be(["ai-conversation", { "ai-conversation--with-ask": !!S.value }]),
|
|
61946
61963
|
style: di(eA.value),
|
|
61947
61964
|
"aria-label": "AI 对话",
|
|
61948
|
-
"aria-busy":
|
|
61965
|
+
"aria-busy": R.value ? "true" : "false"
|
|
61949
61966
|
}, [
|
|
61950
|
-
|
|
61967
|
+
M("div", {
|
|
61951
61968
|
ref_key: "listRef",
|
|
61952
61969
|
ref: oA,
|
|
61953
61970
|
class: "ai-conversation__messages",
|
|
@@ -62012,9 +62029,9 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62012
62029
|
class: "ai-conversation__orphan-tool",
|
|
62013
62030
|
role: "status"
|
|
62014
62031
|
}, [
|
|
62015
|
-
lA[0] || (lA[0] =
|
|
62016
|
-
|
|
62017
|
-
|
|
62032
|
+
lA[0] || (lA[0] = M("strong", null, "未关联的工具结果", -1)),
|
|
62033
|
+
M("span", null, EA(CA.tool_call_id), 1),
|
|
62034
|
+
M("pre", null, EA(CA.content), 1)
|
|
62018
62035
|
]))), 128)),
|
|
62019
62036
|
t.responseError && H.value ? be(X.$slots, "error", {
|
|
62020
62037
|
key: 1,
|
|
@@ -62023,10 +62040,10 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62023
62040
|
hasPartialContent: U.value,
|
|
62024
62041
|
retry: ui
|
|
62025
62042
|
}, void 0, !0) : T.value ? (Y(), P("section", cfA, [...lA[1] || (lA[1] = [
|
|
62026
|
-
|
|
62043
|
+
M("span", null, "已停止生成", -1)
|
|
62027
62044
|
])])) : DA("", !0),
|
|
62028
62045
|
be(X.$slots, "append", {}, void 0, !0),
|
|
62029
|
-
|
|
62046
|
+
M("div", {
|
|
62030
62047
|
ref_key: "turnSpacerRef",
|
|
62031
62048
|
ref: sA,
|
|
62032
62049
|
class: "ai-conversation__turn-spacer",
|
|
@@ -62043,7 +62060,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62043
62060
|
class: "ai-conversation__ask-dock",
|
|
62044
62061
|
"data-testid": "ask-form-dock"
|
|
62045
62062
|
}, [
|
|
62046
|
-
|
|
62063
|
+
M("div", ufA, [
|
|
62047
62064
|
(Y(!0), P(Ge, null, Qt(k.value, (CA, OA) => {
|
|
62048
62065
|
var VA;
|
|
62049
62066
|
return d0((Y(), se(efA, {
|
|
@@ -62076,11 +62093,11 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62076
62093
|
title: "返回最新消息",
|
|
62077
62094
|
onClick: ir
|
|
62078
62095
|
}, [...lA[2] || (lA[2] = [
|
|
62079
|
-
|
|
62096
|
+
M("svg", {
|
|
62080
62097
|
viewBox: "0 0 24 24",
|
|
62081
62098
|
"aria-hidden": "true"
|
|
62082
62099
|
}, [
|
|
62083
|
-
|
|
62100
|
+
M("path", { d: "m6 9 6 6 6-6" })
|
|
62084
62101
|
], -1)
|
|
62085
62102
|
])], 2)) : DA("", !0)
|
|
62086
62103
|
]),
|
|
@@ -62191,7 +62208,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62191
62208
|
src: e.artifact.src
|
|
62192
62209
|
}), o.value = !1);
|
|
62193
62210
|
}
|
|
62194
|
-
function
|
|
62211
|
+
function R(H) {
|
|
62195
62212
|
var U;
|
|
62196
62213
|
!o.value || (U = c.value) != null && U.contains(H.target) || (o.value = !1);
|
|
62197
62214
|
}
|
|
@@ -62200,17 +62217,17 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62200
62217
|
H.key !== "Escape" || !o.value || (o.value = !1, (U = h.value) == null || U.focus());
|
|
62201
62218
|
}
|
|
62202
62219
|
return Ar(() => {
|
|
62203
|
-
document.addEventListener("pointerdown",
|
|
62220
|
+
document.addEventListener("pointerdown", R), document.addEventListener("keydown", T);
|
|
62204
62221
|
}), er(() => {
|
|
62205
|
-
document.removeEventListener("pointerdown",
|
|
62222
|
+
document.removeEventListener("pointerdown", R), document.removeEventListener("keydown", T), C && clearTimeout(C);
|
|
62206
62223
|
}), (H, U) => (Y(), P("section", {
|
|
62207
62224
|
class: "artifact-preview",
|
|
62208
62225
|
"aria-label": `${I.value} preview`
|
|
62209
62226
|
}, [
|
|
62210
|
-
|
|
62211
|
-
|
|
62212
|
-
|
|
62213
|
-
|
|
62227
|
+
M("header", dfA, [
|
|
62228
|
+
M("div", BfA, [
|
|
62229
|
+
M("div", QfA, [
|
|
62230
|
+
M("button", {
|
|
62214
62231
|
ref_key: "previewButtonRef",
|
|
62215
62232
|
ref: g,
|
|
62216
62233
|
type: "button",
|
|
@@ -62230,7 +62247,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62230
62247
|
"aria-hidden": "true"
|
|
62231
62248
|
})
|
|
62232
62249
|
], 42, pfA),
|
|
62233
|
-
|
|
62250
|
+
M("button", {
|
|
62234
62251
|
ref_key: "codeButtonRef",
|
|
62235
62252
|
ref: l,
|
|
62236
62253
|
type: "button",
|
|
@@ -62251,27 +62268,27 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62251
62268
|
})
|
|
62252
62269
|
], 42, EfA)
|
|
62253
62270
|
]),
|
|
62254
|
-
|
|
62271
|
+
M("h2", {
|
|
62255
62272
|
class: "artifact-preview__title",
|
|
62256
62273
|
title: `${I.value} · ${d.value}`
|
|
62257
62274
|
}, [
|
|
62258
|
-
|
|
62259
|
-
U[4] || (U[4] =
|
|
62275
|
+
M("span", null, EA(I.value), 1),
|
|
62276
|
+
U[4] || (U[4] = M("span", {
|
|
62260
62277
|
class: "artifact-preview__title-separator",
|
|
62261
62278
|
"aria-hidden": "true"
|
|
62262
62279
|
}, "·", -1)),
|
|
62263
|
-
|
|
62280
|
+
M("span", mfA, EA(d.value), 1)
|
|
62264
62281
|
], 8, vfA)
|
|
62265
62282
|
]),
|
|
62266
|
-
|
|
62267
|
-
|
|
62283
|
+
M("div", yfA, [
|
|
62284
|
+
M("div", {
|
|
62268
62285
|
ref_key: "menuRootRef",
|
|
62269
62286
|
ref: c,
|
|
62270
62287
|
class: "artifact-preview__split-button",
|
|
62271
62288
|
role: "group",
|
|
62272
62289
|
"aria-label": "More options"
|
|
62273
62290
|
}, [
|
|
62274
|
-
|
|
62291
|
+
M("button", {
|
|
62275
62292
|
type: "button",
|
|
62276
62293
|
class: Be(["artifact-preview__copy-button", { "artifact-preview__copy-button--failed": a.value }]),
|
|
62277
62294
|
disabled: !Q.value,
|
|
@@ -62290,13 +62307,13 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62290
62307
|
"stroke-width": 1.75,
|
|
62291
62308
|
"aria-hidden": "true"
|
|
62292
62309
|
})) : DA("", !0),
|
|
62293
|
-
|
|
62310
|
+
M("span", null, EA(n.value ? "Copied" : a.value ? "Failed" : "Copy"), 1)
|
|
62294
62311
|
], 10, wfA),
|
|
62295
|
-
U[6] || (U[6] =
|
|
62312
|
+
U[6] || (U[6] = M("span", {
|
|
62296
62313
|
class: "artifact-preview__split-divider",
|
|
62297
62314
|
"aria-hidden": "true"
|
|
62298
62315
|
}, null, -1)),
|
|
62299
|
-
|
|
62316
|
+
M("button", {
|
|
62300
62317
|
ref_key: "menuButtonRef",
|
|
62301
62318
|
ref: h,
|
|
62302
62319
|
type: "button",
|
|
@@ -62322,7 +62339,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62322
62339
|
class: "artifact-preview__menu",
|
|
62323
62340
|
role: "menu"
|
|
62324
62341
|
}, [
|
|
62325
|
-
|
|
62342
|
+
M("button", {
|
|
62326
62343
|
ref_key: "downloadButtonRef",
|
|
62327
62344
|
ref: u,
|
|
62328
62345
|
type: "button",
|
|
@@ -62337,14 +62354,14 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62337
62354
|
"stroke-width": 1.75,
|
|
62338
62355
|
"aria-hidden": "true"
|
|
62339
62356
|
}),
|
|
62340
|
-
U[5] || (U[5] =
|
|
62357
|
+
U[5] || (U[5] = M("span", null, "Download", -1))
|
|
62341
62358
|
], 8, bfA)
|
|
62342
62359
|
], 8, kfA)) : DA("", !0)
|
|
62343
62360
|
]),
|
|
62344
62361
|
_: 1
|
|
62345
62362
|
})
|
|
62346
62363
|
], 512),
|
|
62347
|
-
|
|
62364
|
+
M("button", {
|
|
62348
62365
|
type: "button",
|
|
62349
62366
|
class: "artifact-preview__icon-button artifact-preview__expand-button",
|
|
62350
62367
|
"aria-label": t.expanded ? "Collapse" : "Expand",
|
|
@@ -62364,7 +62381,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62364
62381
|
"aria-hidden": "true"
|
|
62365
62382
|
}))
|
|
62366
62383
|
], 8, SfA),
|
|
62367
|
-
|
|
62384
|
+
M("button", {
|
|
62368
62385
|
type: "button",
|
|
62369
62386
|
class: "artifact-preview__icon-button",
|
|
62370
62387
|
"aria-label": "关闭侧边栏",
|
|
@@ -62380,7 +62397,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62380
62397
|
])
|
|
62381
62398
|
])
|
|
62382
62399
|
]),
|
|
62383
|
-
|
|
62400
|
+
M("div", FfA, [
|
|
62384
62401
|
E.value ? (Y(), P("iframe", {
|
|
62385
62402
|
key: 0,
|
|
62386
62403
|
title: `${I.value} preview`,
|
|
@@ -62399,7 +62416,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62399
62416
|
content: t.artifact.content
|
|
62400
62417
|
}, null, 8, ["content"])
|
|
62401
62418
|
])) : r.value === "preview" && t.artifact.content ? (Y(), P("div", MfA, EA(t.artifact.content), 1)) : B.value ? (Y(), P("pre", RfA, [
|
|
62402
|
-
|
|
62419
|
+
M("code", null, EA(B.value), 1)
|
|
62403
62420
|
])) : (Y(), P("div", GfA, "No preview available"))
|
|
62404
62421
|
])
|
|
62405
62422
|
], 8, ffA));
|
|
@@ -62468,11 +62485,11 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62468
62485
|
Q.key === "Enter" && !Q.shiftKey ? (Q.preventDefault(), c()) : Q.key === "Escape" && (Q.preventDefault(), h());
|
|
62469
62486
|
}
|
|
62470
62487
|
return (Q, p) => t.items.length ? (Y(), P("section", YfA, [
|
|
62471
|
-
|
|
62472
|
-
p[1] || (p[1] =
|
|
62473
|
-
|
|
62488
|
+
M("header", UfA, [
|
|
62489
|
+
p[1] || (p[1] = M("span", { class: "chat-queue__label" }, "待发送", -1)),
|
|
62490
|
+
M("span", JfA, EA(t.items.length), 1)
|
|
62474
62491
|
]),
|
|
62475
|
-
|
|
62492
|
+
M("ol", OfA, [
|
|
62476
62493
|
(Y(!0), P(Ge, null, Qt(e.items, (E, v) => (Y(), P("li", {
|
|
62477
62494
|
key: E.id,
|
|
62478
62495
|
class: Be(["chat-queue__item", {
|
|
@@ -62488,7 +62505,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62488
62505
|
onDragend: d
|
|
62489
62506
|
}, [
|
|
62490
62507
|
r.value === E.id ? (Y(), P("div", ZfA, [
|
|
62491
|
-
d0(
|
|
62508
|
+
d0(M("textarea", {
|
|
62492
62509
|
ref_for: !0,
|
|
62493
62510
|
ref_key: "editRef",
|
|
62494
62511
|
ref: a,
|
|
@@ -62500,8 +62517,8 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62500
62517
|
}, null, 544), [
|
|
62501
62518
|
[Pv, n.value]
|
|
62502
62519
|
]),
|
|
62503
|
-
|
|
62504
|
-
|
|
62520
|
+
M("div", KfA, [
|
|
62521
|
+
M("button", {
|
|
62505
62522
|
type: "button",
|
|
62506
62523
|
class: "chat-queue__icon-btn",
|
|
62507
62524
|
"aria-label": "保存",
|
|
@@ -62513,7 +62530,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62513
62530
|
"aria-hidden": "true"
|
|
62514
62531
|
})
|
|
62515
62532
|
]),
|
|
62516
|
-
|
|
62533
|
+
M("button", {
|
|
62517
62534
|
type: "button",
|
|
62518
62535
|
class: "chat-queue__icon-btn",
|
|
62519
62536
|
"aria-label": "取消",
|
|
@@ -62527,19 +62544,19 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62527
62544
|
])
|
|
62528
62545
|
])
|
|
62529
62546
|
])) : (Y(), P(Ge, { key: 1 }, [
|
|
62530
|
-
|
|
62547
|
+
M("span", qfA, [
|
|
62531
62548
|
De(_A(y6), {
|
|
62532
62549
|
size: 14,
|
|
62533
62550
|
"stroke-width": 1.75
|
|
62534
62551
|
})
|
|
62535
62552
|
]),
|
|
62536
|
-
|
|
62537
|
-
|
|
62538
|
-
|
|
62553
|
+
M("span", PfA, EA(v + 1), 1),
|
|
62554
|
+
M("div", WfA, [
|
|
62555
|
+
M("p", VfA, EA(g(E) || "仅附件消息"), 1),
|
|
62539
62556
|
E.payload.attachments.length ? (Y(), P("span", zfA, EA(E.payload.attachments.length) + " 个附件 ", 1)) : DA("", !0)
|
|
62540
62557
|
]),
|
|
62541
|
-
|
|
62542
|
-
|
|
62558
|
+
M("div", XfA, [
|
|
62559
|
+
M("button", {
|
|
62543
62560
|
type: "button",
|
|
62544
62561
|
class: "chat-queue__icon-btn",
|
|
62545
62562
|
"aria-label": "编辑队列消息",
|
|
@@ -62551,7 +62568,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62551
62568
|
"aria-hidden": "true"
|
|
62552
62569
|
})
|
|
62553
62570
|
], 8, jfA),
|
|
62554
|
-
|
|
62571
|
+
M("button", {
|
|
62555
62572
|
type: "button",
|
|
62556
62573
|
class: "chat-queue__icon-btn chat-queue__icon-btn--danger",
|
|
62557
62574
|
"aria-label": "删除队列消息",
|
|
@@ -62620,7 +62637,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62620
62637
|
}, i = $(() => e[A.kind]);
|
|
62621
62638
|
return (r, n) => (Y(), se(t7, null, {
|
|
62622
62639
|
fallback: Je(() => [...n[0] || (n[0] = [
|
|
62623
|
-
|
|
62640
|
+
M("div", {
|
|
62624
62641
|
class: "chat-office-preview__loading",
|
|
62625
62642
|
role: "status"
|
|
62626
62643
|
}, "正在加载预览...", -1)
|
|
@@ -62687,8 +62704,8 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62687
62704
|
renderer: s.value
|
|
62688
62705
|
}, () => [
|
|
62689
62706
|
s.value ? (Y(), se(Jn(s.value), Xr(Vo({ key: 0 }, g.value)), null, 16)) : (Y(), P("div", sdA, [
|
|
62690
|
-
c[0] || (c[0] =
|
|
62691
|
-
|
|
62707
|
+
c[0] || (c[0] = M("p", null, "此文件暂不支持在线预览", -1)),
|
|
62708
|
+
M("a", {
|
|
62692
62709
|
href: t.resource.url,
|
|
62693
62710
|
target: "_blank",
|
|
62694
62711
|
rel: "noopener noreferrer"
|
|
@@ -62724,12 +62741,12 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62724
62741
|
"aria-label": `${t.resource.fileName} 预览`,
|
|
62725
62742
|
onKeydown: a
|
|
62726
62743
|
}, [
|
|
62727
|
-
|
|
62728
|
-
|
|
62729
|
-
|
|
62730
|
-
|
|
62744
|
+
M("header", hdA, [
|
|
62745
|
+
M("div", null, [
|
|
62746
|
+
M("strong", null, EA(t.resource.fileName), 1),
|
|
62747
|
+
M("span", null, EA(t.resource.fileType.toUpperCase()), 1)
|
|
62731
62748
|
]),
|
|
62732
|
-
|
|
62749
|
+
M("a", {
|
|
62733
62750
|
href: t.resource.url,
|
|
62734
62751
|
target: "_blank",
|
|
62735
62752
|
rel: "noopener noreferrer",
|
|
@@ -62741,7 +62758,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62741
62758
|
"aria-hidden": "true"
|
|
62742
62759
|
})
|
|
62743
62760
|
], 8, CdA),
|
|
62744
|
-
|
|
62761
|
+
M("button", {
|
|
62745
62762
|
ref_key: "closeButtonRef",
|
|
62746
62763
|
ref: r,
|
|
62747
62764
|
type: "button",
|
|
@@ -62755,7 +62772,7 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62755
62772
|
})
|
|
62756
62773
|
], 512)
|
|
62757
62774
|
]),
|
|
62758
|
-
|
|
62775
|
+
M("div", IdA, [
|
|
62759
62776
|
be(o.$slots, "default", { resource: t.resource }, () => [
|
|
62760
62777
|
De(cdA, { resource: t.resource }, null, 8, ["resource"])
|
|
62761
62778
|
], !0)
|
|
@@ -62788,11 +62805,11 @@ const lfA = ["aria-busy"], cfA = {
|
|
|
62788
62805
|
"aria-label": t.ariaLabel,
|
|
62789
62806
|
onPointerdown: i
|
|
62790
62807
|
}, [...n[0] || (n[0] = [
|
|
62791
|
-
|
|
62808
|
+
M("span", {
|
|
62792
62809
|
class: "chat-sidebar-resize-handle__line",
|
|
62793
62810
|
"aria-hidden": "true"
|
|
62794
62811
|
}, null, -1),
|
|
62795
|
-
|
|
62812
|
+
M("span", {
|
|
62796
62813
|
class: "chat-sidebar-resize-handle__grip",
|
|
62797
62814
|
"aria-hidden": "true"
|
|
62798
62815
|
}, null, -1)
|
|
@@ -62867,7 +62884,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
62867
62884
|
})), F = $(() => ({
|
|
62868
62885
|
...n.toolRenderers.value,
|
|
62869
62886
|
...i.toolRenderers
|
|
62870
|
-
})),
|
|
62887
|
+
})), R = $(() => ({
|
|
62871
62888
|
...i.senderConfig,
|
|
62872
62889
|
draft: i.draft,
|
|
62873
62890
|
attachments: i.attachments,
|
|
@@ -63024,7 +63041,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63024
63041
|
}
|
|
63025
63042
|
});
|
|
63026
63043
|
const je = $(() => {
|
|
63027
|
-
const aA =
|
|
63044
|
+
const aA = R.value;
|
|
63028
63045
|
return !(aA.showAttachment === !1 || aA.disabled);
|
|
63029
63046
|
});
|
|
63030
63047
|
function ct() {
|
|
@@ -63074,8 +63091,8 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63074
63091
|
onDropCapture: tr
|
|
63075
63092
|
}, [
|
|
63076
63093
|
Se.value ? (Y(), se(kR, { key: 0 })) : DA("", !0),
|
|
63077
|
-
|
|
63078
|
-
|
|
63094
|
+
M("div", kdA, [
|
|
63095
|
+
M("div", bdA, [
|
|
63079
63096
|
De(IfA, Vo({
|
|
63080
63097
|
ref_key: "conversationRef",
|
|
63081
63098
|
ref: u,
|
|
@@ -63159,7 +63176,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63159
63176
|
} : void 0
|
|
63160
63177
|
]), 1040, ["messages", "status", "streaming-message-index", "theme", "response-error", "tool-states", "follow-ups", "pending-ask-form-mdoc"])
|
|
63161
63178
|
]),
|
|
63162
|
-
|
|
63179
|
+
M("div", SdA, [
|
|
63163
63180
|
be(aA.$slots, "sender-prepend", {}, void 0, !0),
|
|
63164
63181
|
t.enableQueue ? (Y(), se(edA, {
|
|
63165
63182
|
key: 0,
|
|
@@ -63172,7 +63189,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63172
63189
|
De(xIA, Vo({
|
|
63173
63190
|
ref_key: "senderRef",
|
|
63174
63191
|
ref: C
|
|
63175
|
-
},
|
|
63192
|
+
}, R.value, {
|
|
63176
63193
|
"enable-file-drop": !1,
|
|
63177
63194
|
onSend: U,
|
|
63178
63195
|
onStop: ie,
|
|
@@ -63237,7 +63254,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63237
63254
|
key: 0,
|
|
63238
63255
|
onResize: ne
|
|
63239
63256
|
})),
|
|
63240
|
-
|
|
63257
|
+
M("div", {
|
|
63241
63258
|
class: Be(["chat-bot__sidebar-content", {
|
|
63242
63259
|
"chat-bot__sidebar-content--artifact": I.value && !aA.$slots.sidebar
|
|
63243
63260
|
}])
|
|
@@ -63265,7 +63282,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63265
63282
|
onClose: WA,
|
|
63266
63283
|
onToggleExpanded: _e
|
|
63267
63284
|
}, null, 8, ["artifact", "expanded"])) : (Y(), P("div", FdA, [...dA[24] || (dA[24] = [
|
|
63268
|
-
|
|
63285
|
+
M("svg", {
|
|
63269
63286
|
viewBox: "0 0 24 24",
|
|
63270
63287
|
fill: "none",
|
|
63271
63288
|
stroke: "currentColor",
|
|
@@ -63273,7 +63290,7 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63273
63290
|
"stroke-linecap": "round",
|
|
63274
63291
|
"stroke-linejoin": "round"
|
|
63275
63292
|
}, [
|
|
63276
|
-
|
|
63293
|
+
M("rect", {
|
|
63277
63294
|
x: "3",
|
|
63278
63295
|
y: "3",
|
|
63279
63296
|
width: "18",
|
|
@@ -63281,21 +63298,21 @@ const DdA = ["data-chat-color-mode"], kdA = { class: "chat-bot__main" }, bdA = {
|
|
|
63281
63298
|
rx: "2",
|
|
63282
63299
|
ry: "2"
|
|
63283
63300
|
}),
|
|
63284
|
-
|
|
63301
|
+
M("line", {
|
|
63285
63302
|
x1: "9",
|
|
63286
63303
|
y1: "3",
|
|
63287
63304
|
x2: "9",
|
|
63288
63305
|
y2: "21"
|
|
63289
63306
|
})
|
|
63290
63307
|
], -1),
|
|
63291
|
-
|
|
63308
|
+
M("p", null, "侧边栏内容", -1)
|
|
63292
63309
|
])]))
|
|
63293
63310
|
], !0)
|
|
63294
63311
|
], 2)
|
|
63295
63312
|
], 2)) : DA("", !0)
|
|
63296
63313
|
], 46, DdA));
|
|
63297
63314
|
}
|
|
63298
|
-
}), $dA = /* @__PURE__ */ Me(NdA, [["__scopeId", "data-v-
|
|
63315
|
+
}), $dA = /* @__PURE__ */ Me(NdA, [["__scopeId", "data-v-a1c5deae"]]), xdA = ["data-chat-color-mode"], _dA = /* @__PURE__ */ oe({
|
|
63299
63316
|
name: "ChatProvider",
|
|
63300
63317
|
__name: "ChatProvider",
|
|
63301
63318
|
props: {
|