chore(deps): upgrade npm dependencies

This commit is contained in:
Fu Diwei
2026-07-13 15:09:48 +08:00
committed by RHQYZ
parent 5b533e7483
commit 5c56666776
10 changed files with 1183 additions and 1097 deletions
+1098 -1063
View File
File diff suppressed because it is too large Load Diff
+26 -26
View File
@@ -16,7 +16,7 @@
"devEngines": {
"runtime": {
"name": "node",
"version": ">=22",
"version": ">=22.12.0",
"onFail": "error"
},
"packageManager": {
@@ -28,39 +28,39 @@
"dependencies": {
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.12.3",
"@codemirror/language": "^6.12.4",
"@codemirror/legacy-modes": "^6.5.3",
"@flowgram.ai/document": "1.0.11",
"@flowgram.ai/fixed-layout-editor": "1.0.11",
"@flowgram.ai/minimap-plugin": "1.0.11",
"@peculiar/asn1-ecc": "^2.7.0",
"@peculiar/asn1-pkcs8": "^2.7.0",
"@peculiar/asn1-rsa": "^2.7.0",
"@peculiar/asn1-schema": "^2.7.0",
"@flowgram.ai/document": "1.0.12",
"@flowgram.ai/fixed-layout-editor": "1.0.12",
"@flowgram.ai/minimap-plugin": "1.0.12",
"@peculiar/asn1-ecc": "^2.8.0",
"@peculiar/asn1-pkcs8": "^2.8.0",
"@peculiar/asn1-rsa": "^2.8.0",
"@peculiar/asn1-schema": "^2.8.0",
"@peculiar/x509": "^2.0.0",
"@tabler/icons-react": "^3.44.0",
"@uiw/codemirror-extensions-basic-setup": "^4.25.10",
"@uiw/codemirror-theme-vscode": "^4.25.10",
"@uiw/react-codemirror": "^4.25.10",
"ahooks": "^3.9.7",
"antd": "^6.4.3",
"antd": "^6.5.0",
"antd-zod": "^8.0.0",
"clsx": "^2.1.1",
"cron-parser": "^5.5.0",
"cron-parser": "^5.6.1",
"dayjs": "^1.11.21",
"file-saver": "^2.0.5",
"i18next": "^26.3.1",
"i18next": "^26.3.2",
"i18next-browser-languagedetector": "^8.2.1",
"immer": "^11.1.8",
"nanoid": "^5.1.11",
"immer": "^11.1.11",
"nanoid": "^5.1.16",
"pocketbase": "^0.27.0",
"radash": "^12.1.1",
"react": "^18.3.1",
"react-copy-to-clipboard": "^5.1.1",
"react-dom": "^18.3.1",
"react-i18next": "^17.0.8",
"react-router": "^7.17.0",
"react-router-dom": "^7.17.0",
"react-router": "^7.18.0",
"react-router-dom": "^7.18.1",
"reflect-metadata": "^0.2.2",
"tailwind-merge": "^3.6.0",
"yaml": "^2.9.0",
@@ -69,29 +69,29 @@
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@tailwindcss/postcss": "^4.3.0",
"@tailwindcss/vite": "^4.3.0",
"@tailwindcss/postcss": "^4.3.2",
"@tailwindcss/vite": "^4.3.2",
"@types/file-saver": "^2.0.7",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.12.4",
"@types/react": "^18.3.29",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-legacy": "^8.0.2",
"@vitejs/plugin-react": "^6.0.2",
"@vitejs/plugin-legacy": "^8.1.0",
"@vitejs/plugin-react": "^6.0.3",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-better-tailwindcss": "^4.5.0",
"eslint-plugin-better-tailwindcss": "^4.6.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"fs-extra": "^11.3.5",
"prettier": "^3.8.3",
"tailwindcss": "^4.3.0",
"eslint-plugin-react-refresh": "^0.5.3",
"fs-extra": "^11.3.6",
"prettier": "^3.9.4",
"tailwindcss": "^4.3.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.60.1",
"typescript-eslint": "^8.62.1",
"vite": "^8.0.16"
}
}
+51 -1
View File
@@ -1,7 +1,20 @@
import "reflect-metadata";
import { useEffect, useState } from "react";
import { RouterProvider } from "react-router-dom";
import { App, ConfigProvider, type ThemeConfig, theme } from "antd";
import {
IconCheck,
IconChevronDown,
IconChevronRight,
IconCircleCheckFilled,
IconCircleXFilled,
IconExclamationCircleFilled,
IconEye,
IconEyeOff,
IconInfoCircleFilled,
IconSearch,
IconX,
} from "@tabler/icons-react";
import { App, ConfigProvider, Empty, type ThemeConfig, theme } from "antd";
import { useBrowserTheme } from "@/hooks";
import { useAntdLocale, useDayjsLocale, useZodLocale } from "@/i18n";
@@ -83,6 +96,43 @@ const RootApp = () => {
},
},
}}
alert={{
closeIcon: <IconX size="1.25em" />,
errorIcon: <IconCircleXFilled size="1em" />,
infoIcon: <IconInfoCircleFilled size="1em" />,
successIcon: <IconCircleCheckFilled size="1em" />,
warningIcon: <IconExclamationCircleFilled size="1em" />,
}}
collapse={{
expandIcon: (panelProps) => {
if (panelProps.showArrow != void 0 && !panelProps.showArrow) return void 0;
return panelProps.isActive ? <IconChevronDown size="1.25em" /> : <IconChevronRight size="1.25em" />;
},
}}
drawer={{
closeIcon: <IconX size="1.25em" />,
}}
empty={{
image: Empty.PRESENTED_IMAGE_SIMPLE,
}}
inputPassword={{
iconRender: (visible) => {
return visible ? <IconEye size="1.25em" /> : <IconEyeOff size="1.25em" />;
},
}}
inputSearch={{
searchIcon: <IconSearch size="1.25em" />,
}}
modal={{
closeIcon: <IconX size="1.25em" />,
}}
notification={{
closeIcon: <IconX size="1.25em" />,
}}
select={{
menuItemSelectedIcon: <IconCheck size="1.25em" />,
removeIcon: <IconX size="1.25em" />,
}}
>
<App>
<RouterProvider router={router} />
+1
View File
@@ -14,6 +14,7 @@ const Tips = ({ className, style, message }: TipsProps) => {
<Alert
className={className}
style={style}
showIcon={false}
title={
<Flex gap="small">
<div style={{ marginTop: "1px" }}>
@@ -132,7 +132,7 @@ const AccessProviderPicker = forwardRef<AccessProviderPickerInstance, AccessProv
</div>
</Show>
<Show when={dataSources.filtered.length > 0} fallback={<Empty description={t("provider.text.nodata")} image={Empty.PRESENTED_IMAGE_SIMPLE} />}>
<Show when={dataSources.filtered.length > 0} fallback={<Empty description={t("provider.text.nodata")} />}>
<div
className={mergeCls("grid w-full gap-2", `grid-cols-${cols}`, {
"gap-4": gap === "large",
@@ -118,7 +118,7 @@ const DeploymentProviderPicker = forwardRef<DeploymentProviderPickerInstance, De
/>
<div className="flex-1">
<Show when={dataSources.filtered.length > 0} fallback={<Empty description={t("provider.text.nodata")} image={Empty.PRESENTED_IMAGE_SIMPLE} />}>
<Show when={dataSources.filtered.length > 0} fallback={<Empty description={t("provider.text.nodata")} />}>
<div
className={mergeCls("grid w-full gap-2", `grid-cols-${cols}`, {
"gap-4": gap === "large",
@@ -79,7 +79,7 @@ const NotificationProviderPicker = forwardRef<NotificationProviderPickerInstance
</div>
</Show>
<Show when={dataSources.filtered.length > 0} fallback={<Empty description={t("provider.text.nodata")} image={Empty.PRESENTED_IMAGE_SIMPLE} />}>
<Show when={dataSources.filtered.length > 0} fallback={<Empty description={t("provider.text.nodata")} />}>
<div
className={mergeCls("grid w-full gap-2", `grid-cols-${cols}`, {
"gap-4": gap === "large",
@@ -457,7 +457,7 @@ const WorkflowRunArtifacts = ({ runData }: { runData: WorkflowRunModel }) => {
dataSource={tableData}
loading={loading}
locale={{
emptyText: <Empty description={t("common.text.nodata")} image={Empty.PRESENTED_IMAGE_SIMPLE} />,
emptyText: <Empty description={t("common.text.nodata")} />,
}}
pagination={false}
rowKey={(record) => record.id}
@@ -1,7 +1,7 @@
import { useEffect, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
import { type FlowNodeEntity, useClientContext, useRefresh } from "@flowgram.ai/fixed-layout-editor";
import { IconChevronDown, IconEye, IconEyeOff, IconX } from "@tabler/icons-react";
import { IconChevronDown, IconPlug, IconPlugOff, IconX } from "@tabler/icons-react";
import { useControllableValue } from "ahooks";
import { Anchor, type AnchorProps, App, Button, Drawer, Dropdown, Flex, type FormInstance, Space, Tooltip, Typography } from "antd";
import { isEqual } from "radash";
@@ -226,7 +226,7 @@ export const NodeConfigDrawer = ({ children, afterClose, anchor, footer = true,
className="ant-drawer-close"
style={{ marginInline: 0 }}
disabled={playground.config.readonlyOrDisabled}
icon={isNodeDisabled ? <IconEyeOff size="1.25em" /> : <IconEye size="1.25em" />}
icon={isNodeDisabled ? <IconPlugOff size="1.25em" /> : <IconPlug size="1.25em" />}
size="small"
type="text"
onClick={handleDisableNodeClick}
@@ -241,7 +241,7 @@ const SettingsDiagnosticsCrons = ({ className, style }: { className?: string; st
loading={loading}
locale={{
emptyText: (
<Empty description={loadError ? unwrapErrMsg(loadError) : t("common.text.nodata")} image={Empty.PRESENTED_IMAGE_SIMPLE}>
<Empty description={loadError ? unwrapErrMsg(loadError) : t("common.text.nodata")}>
{loadError && (
<Button ghost icon={<IconReload size="1.25em" />} type="primary" onClick={handleReloadClick}>
{t("common.button.reload")}