修复无法单击的错误
This commit is contained in:
@@ -232827,9 +232827,7 @@ function qst({ title: e, icon: t, label: n, sub: i, closeNav: r }) {
|
||||
children: [
|
||||
Q.jsx(Fst, {
|
||||
asChild: !0,
|
||||
children: Q.jsx(Lot, {
|
||||
asChild: !0,
|
||||
children: Q.jsx(Nm, {
|
||||
children: Q.jsx(Lot, { asChild: !0, onClick: (e) => (e.stopPropagation(), e.preventDefault()), children: Q.jsx(Nm, {
|
||||
variant: a ? "secondary" : "ghost",
|
||||
size: "icon",
|
||||
className: "h-12 w-12",
|
||||
@@ -235896,9 +235894,7 @@ function vut() {
|
||||
o = r.substring(0, 2).toUpperCase();
|
||||
return Q.jsxs(Not, {
|
||||
children: [
|
||||
Q.jsx(Lot, {
|
||||
asChild: !0,
|
||||
children: Q.jsx(Nm, {
|
||||
Q.jsx(Lot, { asChild: !0, onClick: (e) => (e.stopPropagation(), e.preventDefault()), children: Q.jsx(Nm, {
|
||||
variant: "ghost",
|
||||
className: "relative h-8 w-8 rounded-full",
|
||||
children: Q.jsxs(fut, {
|
||||
@@ -292882,6 +292878,7 @@ function c5t() {
|
||||
v = kv({ resolver: Ov(n), defaultValues: i, mode: "onChange" }),
|
||||
b = T_({ control: v.control, name: "protocol_settings" }),
|
||||
y = H.useRef(new Map()),
|
||||
T = H.useRef(0),
|
||||
x = H.useCallback(async () => {
|
||||
if (!r) return;
|
||||
const [e, t, n] = await Promise.all([eD(), rD(), UL()]);
|
||||
@@ -292899,6 +292896,9 @@ function c5t() {
|
||||
(H.useEffect(() => {
|
||||
x();
|
||||
}, [x]),
|
||||
H.useEffect(() => {
|
||||
r && s && (T.current = Date.now());
|
||||
}, [r, s]),
|
||||
H.useEffect(() => {
|
||||
if (s) {
|
||||
const e =
|
||||
@@ -292939,9 +292939,11 @@ function c5t() {
|
||||
),
|
||||
E = (e) => {
|
||||
if (e) {
|
||||
s && (T.current = Date.now());
|
||||
o(!0);
|
||||
return;
|
||||
}
|
||||
if (s && Date.now() - T.current < 250) return;
|
||||
(o(!1), a(null), v.reset(i));
|
||||
};
|
||||
return Q.jsxs(Jet, {
|
||||
@@ -293992,9 +293994,7 @@ function h5t({ table: e, refetch: t, saveOrder: n, isSortMode: i, groups: r }) {
|
||||
Q.jsxs(Not, {
|
||||
modal: !1,
|
||||
children: [
|
||||
Q.jsx(Lot, {
|
||||
asChild: !0,
|
||||
children: Q.jsx(Nm, {
|
||||
Q.jsx(Lot, { asChild: !0, onClick: (e) => (e.stopPropagation(), e.preventDefault()), children: Q.jsx(Nm, {
|
||||
variant: "outline",
|
||||
size: "sm",
|
||||
className: "h-8 border-dashed",
|
||||
@@ -294097,9 +294097,7 @@ function h5t({ table: e, refetch: t, saveOrder: n, isSortMode: i, groups: r }) {
|
||||
Q.jsxs(Not, {
|
||||
modal: !1,
|
||||
children: [
|
||||
Q.jsx(Lot, {
|
||||
asChild: !0,
|
||||
children: Q.jsx(Nm, {
|
||||
Q.jsx(Lot, { asChild: !0, onClick: (e) => (e.stopPropagation(), e.preventDefault()), children: Q.jsx(Nm, {
|
||||
variant: "outline",
|
||||
size: "sm",
|
||||
className: "h-8 border-dashed",
|
||||
@@ -294399,14 +294397,26 @@ function D5t({ node: e, refetch: t }) {
|
||||
});
|
||||
}
|
||||
function T5t({ node: e, refetch: t, t: n }) {
|
||||
const { setIsOpen: i, setEditingServer: r, setServerType: o } = p4t();
|
||||
const { setIsOpen: i, setEditingServer: r, setServerType: o } = p4t(),
|
||||
[s, a] = H.useState(!1),
|
||||
l = H.useCallback(() => {
|
||||
(a(!1),
|
||||
window.requestAnimationFrame(() => {
|
||||
window.requestAnimationFrame(() => {
|
||||
(o(e.type), r(e), i(!0));
|
||||
});
|
||||
}));
|
||||
}, [e, i, r, o]);
|
||||
return Q.jsx("div", {
|
||||
className: "flex justify-center",
|
||||
children: Q.jsxs(Not, {
|
||||
modal: !1,
|
||||
open: s,
|
||||
onOpenChange: a,
|
||||
children: [
|
||||
Q.jsx(Lot, {
|
||||
asChild: !0,
|
||||
onClick: (e) => (e.stopPropagation(), e.preventDefault()),
|
||||
children: Q.jsx(Nm, {
|
||||
variant: "ghost",
|
||||
className: "h-8 w-8 p-0 hover:bg-muted",
|
||||
@@ -294420,9 +294430,8 @@ function T5t({ node: e, refetch: t, t: n }) {
|
||||
children: [
|
||||
Q.jsx(Rot, {
|
||||
className: "cursor-pointer",
|
||||
onSelect: (t) => {
|
||||
t.preventDefault();
|
||||
(o(e.type), r(e), i(!0));
|
||||
onSelect: (e) => {
|
||||
(e.preventDefault(), e.stopPropagation(), l());
|
||||
},
|
||||
children: Q.jsxs("div", {
|
||||
className: "flex w-full items-center",
|
||||
@@ -302584,9 +302593,7 @@ function P6t({ table: e, refetch: t, subscriptionPlans: n = [] }) {
|
||||
Q.jsxs(Not, {
|
||||
modal: !1,
|
||||
children: [
|
||||
Q.jsx(Lot, {
|
||||
asChild: !0,
|
||||
children: Q.jsx(Nm, {
|
||||
Q.jsx(Lot, { asChild: !0, onClick: (e) => (e.stopPropagation(), e.preventDefault()), children: Q.jsx(Nm, {
|
||||
variant: "outline",
|
||||
size: "sm",
|
||||
className: "h-8 border-dashed",
|
||||
|
||||
Reference in New Issue
Block a user