@blade-hq/agent-react 2612.0.0-beta.97 → 2612.0.0-beta.99
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/README.md +3 -2
- package/dist/McpAppCard-ADVDKC2C.js +171 -0
- package/dist/McpAppCard-ADVDKC2C.js.map +1 -0
- package/dist/McpAppFrame-VEOUJL5E.js +9 -0
- package/dist/PlanGraph-3D5PCSIJ.js +189 -0
- package/dist/PlanGraph-3D5PCSIJ.js.map +1 -0
- package/dist/{chunk-FTBMG7TK.js → SessionPluginConfigForm-DWVDFK6A.js} +2 -3
- package/dist/chat/AskUserQuestionBlock.d.ts +2 -1
- package/dist/chat/ChatPanel.d.ts +3 -1
- package/dist/chat/CurrentPlanPanel.d.ts +2 -1
- package/dist/chat/LightComposer.d.ts +1 -1
- package/dist/chat/LiteMessageList.d.ts +9 -0
- package/dist/chat/RelatedWork.d.ts +24 -0
- package/dist/chat/index.d.ts +1 -0
- package/dist/chat/plan/PlanGraph.d.ts +26 -0
- package/dist/chat/plan/PlanSurface.d.ts +9 -0
- package/dist/chat/plan/presentation.d.ts +18 -0
- package/dist/chat/runtime/actions.d.ts +1 -0
- package/dist/chat/runtime/environment.d.ts +5 -0
- package/dist/chat/runtime/session-source.d.ts +2 -0
- package/dist/chat.css +181 -0
- package/dist/{chunk-CJQINCIP.js → chunk-3RFYXI6V.js} +51 -71
- package/dist/chunk-3RFYXI6V.js.map +1 -0
- package/dist/chunk-5JAFIDDP.js +1386 -0
- package/dist/chunk-5JAFIDDP.js.map +1 -0
- package/dist/{chunk-RULD2XDA.js → chunk-67JW6ASD.js} +1561 -1199
- package/dist/chunk-67JW6ASD.js.map +1 -0
- package/dist/chunk-7WR2KG5O.js +50 -0
- package/dist/chunk-7WR2KG5O.js.map +1 -0
- package/dist/chunk-FR3ON5R4.js +30 -0
- package/dist/chunk-FR3ON5R4.js.map +1 -0
- package/dist/chunk-GRUDJLWG.js +8 -0
- package/dist/chunk-GRUDJLWG.js.map +1 -0
- package/dist/{chunk-EM7X2QZ2.js → chunk-GZHQQXYI.js} +19 -16
- package/dist/chunk-GZHQQXYI.js.map +1 -0
- package/dist/{chunk-RHUJ77ZZ.js → chunk-IOIKCFRO.js} +36 -1566
- package/dist/chunk-IOIKCFRO.js.map +1 -0
- package/dist/{chunk-IOKIQSWP.js → chunk-J6BSKVVK.js} +37 -19
- package/dist/chunk-J6BSKVVK.js.map +1 -0
- package/dist/{chunk-4VBPNAAT.js → chunk-MG4RF573.js} +33 -15
- package/dist/chunk-MG4RF573.js.map +1 -0
- package/dist/{chunk-KJDDAZZY.js → chunk-SVCTJ4VS.js} +145 -25
- package/dist/chunk-SVCTJ4VS.js.map +1 -0
- package/dist/{chunk-FXTAY3LE.js → chunk-WEOW475M.js} +17 -17
- package/dist/{chunk-FXTAY3LE.js.map → chunk-WEOW475M.js.map} +1 -1
- package/dist/{chunk-6Z7T6BOB.js → chunk-YBTELD7P.js} +7 -5
- package/dist/{chunk-6Z7T6BOB.js.map → chunk-YBTELD7P.js.map} +1 -1
- package/dist/components/AgentChat.d.ts +3 -0
- package/dist/components/McpAppCard.d.ts +1 -7
- package/dist/components/ReplayBar.d.ts +7 -1
- package/dist/components/lazy-mcp-app-card.d.ts +1 -0
- package/dist/components/lazy-mcp-app-frame.d.ts +1 -0
- package/dist/components/lazy-session-plugin-config-form.d.ts +1 -0
- package/dist/components/mcp-app-context.d.ts +7 -0
- package/dist/connectors.js +3 -3
- package/dist/embed/entry.d.ts +4 -0
- package/dist/embed/load-plan-graph.d.ts +2 -0
- package/dist/embed/plan-graph-chunk.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +14 -9
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +29 -17
- package/dist/internal.js.map +1 -1
- package/dist/questions.js +5 -4
- package/dist/questions.js.map +1 -1
- package/dist/rich-input/ChatInput.d.ts +3 -1
- package/dist/rich-input/ComposerControls.d.ts +21 -0
- package/dist/rich-input/index.d.ts +1 -0
- package/dist/rich-input/model/resolve-model.d.ts +8 -2
- package/dist/rich-input.js +341 -267
- package/dist/rich-input.js.map +1 -1
- package/dist/style.full.css +182 -1
- package/dist/tool-details.js +6 -5
- package/dist/tool-details.js.map +1 -1
- package/package.json +2 -2
- package/public-api.md +31 -2
- package/dist/SessionPluginConfigForm-DWLJEYBY.js +0 -9
- package/dist/chunk-4VBPNAAT.js.map +0 -1
- package/dist/chunk-CJQINCIP.js.map +0 -1
- package/dist/chunk-EM7X2QZ2.js.map +0 -1
- package/dist/chunk-IOKIQSWP.js.map +0 -1
- package/dist/chunk-KJDDAZZY.js.map +0 -1
- package/dist/chunk-RHUJ77ZZ.js.map +0 -1
- package/dist/chunk-RULD2XDA.js.map +0 -1
- /package/dist/{SessionPluginConfigForm-DWLJEYBY.js.map → McpAppFrame-VEOUJL5E.js.map} +0 -0
- /package/dist/{chunk-FTBMG7TK.js.map → SessionPluginConfigForm-DWVDFK6A.js.map} +0 -0
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
dist_exports3 as dist_exports2,
|
|
20
20
|
dist_exports5 as dist_exports3,
|
|
21
21
|
dist_exports6 as dist_exports4
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WEOW475M.js";
|
|
23
23
|
import {
|
|
24
24
|
LoaderCircle
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-J6BSKVVK.js";
|
|
26
26
|
|
|
27
27
|
// src/components/DeviceConnection.tsx
|
|
28
28
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -1410,7 +1410,7 @@ var auditLabels = {
|
|
|
1410
1410
|
"credential.refreshed": "\u672C\u4EBA\u6388\u6743\u5DF2\u7EED\u671F",
|
|
1411
1411
|
"subscription.bound": "\u52A9\u624B\u6D88\u606F\u8BA2\u9605\u5DF2\u63A5\u5165",
|
|
1412
1412
|
"subscription.updated": "\u52A9\u624B\u6D88\u606F\u8BA2\u9605\u5DF2\u66F4\u65B0",
|
|
1413
|
-
"connection.disconnected": "
|
|
1413
|
+
"connection.disconnected": "\u98DE\u4E66\u8FDE\u63A5\u5DF2\u65AD\u5F00",
|
|
1414
1414
|
"tool.started": "\u5F00\u59CB\u5904\u7406\u98DE\u4E66\u64CD\u4F5C",
|
|
1415
1415
|
"tool.failed": "\u98DE\u4E66\u64CD\u4F5C\u672A\u5B8C\u6210",
|
|
1416
1416
|
"tool.completed": "\u98DE\u4E66\u64CD\u4F5C\u5DF2\u5B8C\u6210",
|
|
@@ -1837,7 +1837,7 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
1837
1837
|
start();
|
|
1838
1838
|
}, children: "\u8865\u5145\u6388\u6743" })
|
|
1839
1839
|
] }) },
|
|
1840
|
-
...hasConnection ? [{ id: "disable", description: "\u53EA\u5F71\u54CD\u6B64\u52A9\u624B\
|
|
1840
|
+
...hasConnection ? [{ id: "disable", description: "\u53EA\u5F71\u54CD\u6B64\u52A9\u624B\uFF0C\u98DE\u4E66\u6388\u6743\u548C\u6D88\u606F\u63A5\u6536\u4FDD\u7559", label: view?.enabled === false ? "\u91CD\u65B0\u542F\u7528" : "\u5728\u6B64\u52A9\u624B\u4E2D\u505C\u7528", run: view?.enabled === false ? () => run("finish", { capabilities: view.selected_capabilities ?? selected, enable: true }) : disable, disabled: !onDisable && view?.enabled !== false, confirmation: { title: view?.enabled === false ? "\u91CD\u65B0\u542F\u7528\u98DE\u4E66\uFF1F" : "\u5728\u6B64\u52A9\u624B\u4E2D\u505C\u7528\u98DE\u4E66\uFF1F", description: "\u53EA\u5F71\u54CD\u6B64\u52A9\u624B\u4F7F\u7528\u98DE\u4E66\uFF0C\u98DE\u4E66\u6388\u6743\u548C\u6D88\u606F\u63A5\u6536\u4FDD\u7559\u3002" } }] : [],
|
|
1841
1841
|
{ id: "diagnostics", description: "\u8BCA\u65AD\u4FE1\u606F\u3001\u6700\u8FD1\u4E8B\u4EF6\u548C\u65E5\u5FD7", label: "\u9047\u5230\u95EE\u9898\uFF1F", run: inspect, page: /* @__PURE__ */ jsxs5("div", { className: "space-y-4", children: [
|
|
1842
1842
|
diagnosticContent,
|
|
1843
1843
|
bindDelivery && view && canReceive(view) && subscription !== "paused" && /* @__PURE__ */ jsx6("button", { type: "button", className: button, disabled: busy, onClick: () => void run("bind"), children: "\u66F4\u65B0\u52A9\u624B\u63A5\u6536\u5730\u5740" })
|
|
@@ -1849,7 +1849,7 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
1849
1849
|
start();
|
|
1850
1850
|
}, children: "\u8865\u5145\u6388\u6743" })
|
|
1851
1851
|
] }) },
|
|
1852
|
-
...view?.connection_id ? [{ id: "remove", description: "\u6E05\u9664
|
|
1852
|
+
...view?.connection_id ? [{ id: "remove", description: "\u6E05\u9664\u8FDE\u63A5\u51ED\u636E\u5E76\u505C\u6B62\u63A5\u6536\u6D88\u606F", label: "\u79FB\u9664\u8FDE\u63A5\u5E76\u91CD\u65B0\u8FDE\u63A5", danger: true, confirmation: { title: "\u786E\u8BA4\u79FB\u9664\u5F53\u524D\u98DE\u4E66\u8FDE\u63A5\uFF1F", description: "\u6B64\u8FDE\u63A5\u7684\u51ED\u636E\u5C06\u88AB\u79FB\u9664\uFF0C\u6D88\u606F\u63A5\u6536\u548C\u8F6C\u53D1\u5C06\u505C\u6B62\uFF0C\u5176\u4ED6\u4F9D\u8D56\u6B64\u8FDE\u63A5\u7684\u52A9\u624B\u4E5F\u4F1A\u53D7\u5F71\u54CD\u3002\u5386\u53F2\u6D88\u606F\u4E0E\u6392\u67E5\u65E5\u5FD7\u4F1A\u4FDD\u7559\uFF0C\u98DE\u4E66\u540E\u53F0\u5E94\u7528\u4E0D\u4F1A\u5220\u9664\u3002" }, run: () => removeConnection(view.connection_id) }] : [],
|
|
1853
1853
|
...detail.actions ?? []
|
|
1854
1854
|
];
|
|
1855
1855
|
return /* @__PURE__ */ jsxs5(
|
|
@@ -1889,7 +1889,7 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
1889
1889
|
/* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1890
1890
|
/* @__PURE__ */ jsxs5("div", { className: "min-w-0", children: [
|
|
1891
1891
|
/* @__PURE__ */ jsx6("p", { className: "font-medium", children: "\u5411\u52A9\u624B\u63A8\u9001\u98DE\u4E66\u6D88\u606F" }),
|
|
1892
|
-
/* @__PURE__ */ jsx6("p", { className: "mt-1 text-xs opacity-70", children: "\u6682\u505C\u540E
|
|
1892
|
+
/* @__PURE__ */ jsx6("p", { className: "mt-1 text-xs opacity-70", children: "\u6682\u505C\u540E\u4ECD\u4F1A\u63A5\u6536\u5E76\u4FDD\u5B58\u6D88\u606F\uFF0C\u53EA\u662F\u4E0D\u8F6C\u7ED9\u52A9\u624B\u3002" })
|
|
1893
1893
|
] }),
|
|
1894
1894
|
/* @__PURE__ */ jsx6(Switch, { "aria-label": "\u5411\u52A9\u624B\u63A8\u9001", checked: subscription === "enabled", disabled: busy, onCheckedChange: (checked) => void run(checked ? subscription === "paused" ? "resume" : "bind" : "pause"), className: "relative inline-flex h-6 w-11 shrink-0 items-center rounded-full bg-[color-mix(in_srgb,currentColor_20%,transparent)] transition-colors after:absolute after:-inset-y-2 after:-inset-x-1 data-[state=checked]:bg-[var(--color-accent,hsl(var(--primary)))] disabled:opacity-50", thumbClassName: "pointer-events-none block size-5 translate-x-0.5 rounded-full bg-white shadow-sm transition-transform data-[state=checked]:translate-x-[22px]" })
|
|
1895
1895
|
] }),
|
|
@@ -1930,7 +1930,7 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
1930
1930
|
view.activation_pending === true ? "\u8FDE\u63A5\u5C1A\u672A\u5B8C\u6210" : view.enabled === false && view.app_id ? "\u5DF2\u5728\u6B64\u52A9\u624B\u4E2D\u505C\u7528" : active.length ? "\u98DE\u4E66\u5DF2\u53EF\u4EE5\u4F7F\u7528" : "\u8FD8\u6709\u9879\u76EE\u9700\u8981\u5904\u7406",
|
|
1931
1931
|
view.label ? ` \xB7 ${view.label}` : ""
|
|
1932
1932
|
] }),
|
|
1933
|
-
/* @__PURE__ */ jsx6("p", { className: "mt-1 text-xs opacity-70", children: view.activation_pending === true ? "\u5B8C\u6210\u6388\u6743\u540E\u5373\u53EF\u5F00\u59CB\u4F7F\u7528" : view.enabled === false ? "\
|
|
1933
|
+
/* @__PURE__ */ jsx6("p", { className: "mt-1 text-xs opacity-70", children: view.activation_pending === true ? "\u5B8C\u6210\u6388\u6743\u540E\u5373\u53EF\u5F00\u59CB\u4F7F\u7528" : view.enabled === false ? "\u98DE\u4E66\u6388\u6743\u4E0E\u6D88\u606F\u63A5\u6536\u8BBE\u7F6E\u4FDD\u7559\u3002" : "\u53EF\u4EE5\u8BA9\u52A9\u624B\u5904\u7406\u5DF2\u5F00\u901A\u7684\u98DE\u4E66\u5DE5\u4F5C\u3002" })
|
|
1934
1934
|
] }),
|
|
1935
1935
|
view.activation_pending === true && active.length > 0 && /* @__PURE__ */ jsx6("button", { type: "button", className: button, disabled: busy, onClick: finishExisting, children: "\u5148\u4F7F\u7528\u5DF2\u5F00\u901A\u80FD\u529B\uFF0C\u5176\u4ED6\u7A0D\u540E\u5904\u7406" }),
|
|
1936
1936
|
pending.length > 0 && /* @__PURE__ */ jsxs5("div", { className: "space-y-2 rounded-xl border border-[color-mix(in_srgb,currentColor_18%,transparent)] p-4 text-sm", children: [
|
|
@@ -1984,9 +1984,18 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
1984
1984
|
/* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1985
1985
|
/* @__PURE__ */ jsxs5("div", { children: [
|
|
1986
1986
|
/* @__PURE__ */ jsx6("p", { children: "\u5728\u6B64\u52A9\u624B\u4E2D\u4F7F\u7528\u98DE\u4E66" }),
|
|
1987
|
-
/* @__PURE__ */ jsx6("p", { className: "mt-1 text-xs opacity-70", children: "\u505C\u7528\u53EA\u5F71\u54CD\u6B64\u52A9\u624B\
|
|
1987
|
+
/* @__PURE__ */ jsx6("p", { className: "mt-1 text-xs opacity-70", children: "\u505C\u7528\u53EA\u5F71\u54CD\u6B64\u52A9\u624B\uFF0C\u98DE\u4E66\u6388\u6743\u548C\u6D88\u606F\u63A5\u6536\u4FDD\u7559\u3002" })
|
|
1988
1988
|
] }),
|
|
1989
|
-
view.enabled === false ? /* @__PURE__ */ jsx6(
|
|
1989
|
+
view.enabled === false ? /* @__PURE__ */ jsx6(
|
|
1990
|
+
"button",
|
|
1991
|
+
{
|
|
1992
|
+
type: "button",
|
|
1993
|
+
className: button,
|
|
1994
|
+
disabled: busy,
|
|
1995
|
+
onClick: () => void run("finish", { capabilities: view.selected_capabilities ?? selected, enable: true }),
|
|
1996
|
+
children: "\u91CD\u65B0\u542F\u7528"
|
|
1997
|
+
}
|
|
1998
|
+
) : onDisable ? /* @__PURE__ */ jsx6("button", { type: "button", className: button, disabled: busy, onClick: async () => {
|
|
1990
1999
|
if (inFlight.current) return;
|
|
1991
2000
|
inFlight.current = true;
|
|
1992
2001
|
setBusy(true);
|
|
@@ -2005,8 +2014,17 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
2005
2014
|
] }),
|
|
2006
2015
|
/* @__PURE__ */ jsxs5("div", { className: "space-y-2 pt-4", children: [
|
|
2007
2016
|
/* @__PURE__ */ jsx6("p", { children: "\u5411\u52A9\u624B\u63A8\u9001\u98DE\u4E66\u6D88\u606F" }),
|
|
2008
|
-
/* @__PURE__ */ jsx6("p", { className: "text-xs opacity-70", children: "\
|
|
2009
|
-
["enabled", "paused"].includes(subscription) && /* @__PURE__ */ jsx6(
|
|
2017
|
+
/* @__PURE__ */ jsx6("p", { className: "text-xs opacity-70", children: "\u53EF\u4EE5\u5355\u72EC\u6682\u505C\u63A8\u9001\uFF0C\u98DE\u4E66\u6388\u6743\u548C\u6D88\u606F\u63A5\u6536\u4F1A\u4FDD\u7559\u3002" }),
|
|
2018
|
+
["enabled", "paused"].includes(subscription) && /* @__PURE__ */ jsx6(
|
|
2019
|
+
"button",
|
|
2020
|
+
{
|
|
2021
|
+
type: "button",
|
|
2022
|
+
className: button,
|
|
2023
|
+
disabled: busy,
|
|
2024
|
+
onClick: () => void run(subscription === "paused" ? "resume" : "pause"),
|
|
2025
|
+
children: subscription === "paused" ? "\u6062\u590D\u5411\u52A9\u624B\u63A8\u9001" : "\u6682\u505C\u5411\u52A9\u624B\u63A8\u9001"
|
|
2026
|
+
}
|
|
2027
|
+
),
|
|
2010
2028
|
bindDelivery && canReceive(view) && subscription !== "paused" && /* @__PURE__ */ jsx6("button", { type: "button", className: button, disabled: busy, onClick: () => void run("bind"), children: subscription === "enabled" ? "\u66F4\u65B0\u52A9\u624B\u63A5\u6536\u5730\u5740" : "\u91CD\u65B0\u63A5\u5165\u52A9\u624B\u6D88\u606F" }),
|
|
2011
2029
|
receptionNeedsTest && /* @__PURE__ */ jsx6("p", { className: "text-xs", children: "\u63A5\u6536\u6743\u9650\u5DF2\u6838\u9A8C\uFF0C\u4E8B\u4EF6\u8BA2\u9605\u5C1A\u5F85\u6D4B\u8BD5\u3002\u8BF7\u5411\u673A\u5668\u4EBA\u53D1\u9001\u6D4B\u8BD5\u6D88\u606F\u540E\u5728\u8FDE\u63A5\u5E2E\u52A9\u4E2D\u67E5\u770B\u8BB0\u5F55\u3002" })
|
|
2012
2030
|
] }),
|
|
@@ -2018,14 +2036,14 @@ function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery = fa
|
|
|
2018
2036
|
] }),
|
|
2019
2037
|
view.connection_id && /* @__PURE__ */ jsxs5("div", { className: "space-y-3 rounded-xl border border-red-600/30 p-4 text-sm", children: [
|
|
2020
2038
|
/* @__PURE__ */ jsx6("p", { className: "font-medium", children: "\u79FB\u9664\u65E7\u8FDE\u63A5\uFF0C\u91CD\u65B0\u5F00\u59CB" }),
|
|
2021
|
-
/* @__PURE__ */ jsx6("p", { className: "text-xs opacity-70", children: "\u8FD9\u4F1A\u79FB\u9664
|
|
2039
|
+
/* @__PURE__ */ jsx6("p", { className: "text-xs opacity-70", children: "\u8FD9\u4F1A\u79FB\u9664\u6B64\u8FDE\u63A5\u7684\u51ED\u636E\u5E76\u505C\u6B62\u63A5\u6536\u548C\u8F6C\u53D1\u6D88\u606F\uFF0C\u5176\u4ED6\u4F9D\u8D56\u6B64\u8FDE\u63A5\u7684\u52A9\u624B\u4E5F\u4F1A\u53D7\u5230\u5F71\u54CD\u3002\u5386\u53F2\u6D88\u606F\u4E0E\u6392\u67E5\u65E5\u5FD7\u4FDD\u7559\uFF0C\u98DE\u4E66\u540E\u53F0\u5E94\u7528\u4E0D\u4F1A\u5220\u9664\u3002" }),
|
|
2022
2040
|
/* @__PURE__ */ jsxs5(AlertDialog, { open: removingConnectionID !== null, onOpenChange: (open) => {
|
|
2023
2041
|
if (!open) setRemovingConnectionID(null);
|
|
2024
2042
|
}, children: [
|
|
2025
2043
|
/* @__PURE__ */ jsx6(AlertDialogTrigger, { asChild: true, children: /* @__PURE__ */ jsx6("button", { type: "button", className: `${button} border-red-600/40 text-red-600`, disabled: busy, onClick: () => setRemovingConnectionID(view.connection_id ?? null), children: "\u79FB\u9664\u8FDE\u63A5\u5E76\u91CD\u65B0\u8FDE\u63A5" }) }),
|
|
2026
2044
|
/* @__PURE__ */ jsxs5(AlertDialogContent, { className: "z-[60] w-[calc(100%_-_32px)] max-w-md p-5 sm:max-w-md", overlayClassName: "z-[60] bg-black/40", style: { backgroundColor: "var(--color-canvas, hsl(var(--popover, 0 0% 100%)))", color: "var(--color-copy, hsl(var(--foreground, 0 0% 10%)))" }, children: [
|
|
2027
2045
|
/* @__PURE__ */ jsx6(AlertDialogTitle, { children: "\u786E\u8BA4\u79FB\u9664\u5F53\u524D\u98DE\u4E66\u8FDE\u63A5\uFF1F" }),
|
|
2028
|
-
/* @__PURE__ */ jsx6(AlertDialogDescription, { children: "
|
|
2046
|
+
/* @__PURE__ */ jsx6(AlertDialogDescription, { children: "\u6B64\u8FDE\u63A5\u7684\u51ED\u636E\u5C06\u88AB\u79FB\u9664\uFF0C\u6D88\u606F\u63A5\u6536\u548C\u8F6C\u53D1\u5C06\u505C\u6B62\uFF0C\u5176\u4ED6\u4F9D\u8D56\u6B64\u8FDE\u63A5\u7684\u52A9\u624B\u4E5F\u4F1A\u53D7\u5F71\u54CD\u3002\u5386\u53F2\u6D88\u606F\u4E0E\u6392\u67E5\u65E5\u5FD7\u4F1A\u4FDD\u7559\uFF0C\u98DE\u4E66\u540E\u53F0\u5E94\u7528\u4E0D\u4F1A\u5220\u9664\u3002\u79FB\u9664\u540E\uFF0C\u7531\u4F60\u518D\u6B21\u70B9\u51FB\u201C\u8FDE\u63A5\u98DE\u4E66\u201D\u83B7\u53D6\u65B0\u4E8C\u7EF4\u7801\u3002" }),
|
|
2029
2047
|
/* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap justify-end gap-3", children: [
|
|
2030
2048
|
/* @__PURE__ */ jsx6(AlertDialogCancel, { asChild: true, children: /* @__PURE__ */ jsx6("button", { type: "button", className: button, children: "\u53D6\u6D88" }) }),
|
|
2031
2049
|
/* @__PURE__ */ jsx6(AlertDialogAction, { asChild: true, children: /* @__PURE__ */ jsx6("button", { type: "button", className: `${button} border-red-600 bg-red-600 text-white`, onClick: () => {
|
|
@@ -2093,7 +2111,7 @@ function Input({ className, type, ...props }) {
|
|
|
2093
2111
|
type,
|
|
2094
2112
|
"data-slot": "input",
|
|
2095
2113
|
className: cn(
|
|
2096
|
-
"h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
|
|
2114
|
+
"h-8 w-full min-w-0 rounded-lg border-[length:var(--ui-input-border-width,1px)] [border-color:var(--ui-input-border-color,var(--color-input))] shadow-[var(--ui-input-shadow,none)] bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
|
|
2097
2115
|
className
|
|
2098
2116
|
),
|
|
2099
2117
|
...props
|
|
@@ -2430,4 +2448,4 @@ qrcode.react/lib/esm/index.js:
|
|
|
2430
2448
|
* SPDX-License-Identifier: ISC
|
|
2431
2449
|
*)
|
|
2432
2450
|
*/
|
|
2433
|
-
//# sourceMappingURL=chunk-
|
|
2451
|
+
//# sourceMappingURL=chunk-MG4RF573.js.map
|