mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
build(deps): bump the npm group in /web with 23 updates (#1750)
This commit is contained in:
parent
63b8519bd9
commit
4ba380b8ea
7 changed files with 707 additions and 761 deletions
|
@ -33,28 +33,28 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@headlessui/react": "^2.1.1",
|
||||
"@headlessui/react": "^2.1.8",
|
||||
"@heroicons/react": "^2.1.4",
|
||||
"@hookform/error-message": "^2.0.1",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@tailwindcss/forms": "^0.5.8",
|
||||
"@tanstack/react-query": "^5.53.2",
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"@tanstack/react-query": "^5.56.2",
|
||||
"@tanstack/react-query-devtools": "^5.29.2",
|
||||
"@tanstack/react-router": "^1.52.3",
|
||||
"@types/node": "^22.5.2",
|
||||
"@types/react": "^18.3.5",
|
||||
"@tanstack/react-router": "^1.58.15",
|
||||
"@types/node": "^22.7.4",
|
||||
"@types/react": "^18.3.10",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-portal": "^4.0.7",
|
||||
"@types/react-table": "^7.7.20",
|
||||
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
||||
"@typescript-eslint/parser": "^8.3.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
||||
"@typescript-eslint/parser": "^8.8.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.1",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"buffer": "^6.0.3",
|
||||
"date-fns": "^3.6.0",
|
||||
"date-fns": "^4.1.0",
|
||||
"formik": "^2.4.6",
|
||||
"http-proxy-middleware": "^3.0.1",
|
||||
"postcss": "^8.4.44",
|
||||
"http-proxy-middleware": "^3.0.2",
|
||||
"postcss": "^8.4.47",
|
||||
"react": "^18.3.1",
|
||||
"react-debounce-input": "^3.3.0",
|
||||
"react-dom": "^18.3.1",
|
||||
|
@ -64,38 +64,38 @@
|
|||
"react-popper-tooltip": "^4.4.2",
|
||||
"react-portal": "^4.2.2",
|
||||
"react-ridge-state": "4.2.9",
|
||||
"react-select": "^5.8.0",
|
||||
"react-select": "^5.8.1",
|
||||
"react-table": "^7.8.0",
|
||||
"react-textarea-autosize": "^8.5.3",
|
||||
"stacktracey": "^2.1.8",
|
||||
"tailwind-lerp-colors": "1.2.6",
|
||||
"tailwindcss": "^3.4.10",
|
||||
"tailwindcss": "^3.4.13",
|
||||
"workbox-window": "^7.1.0",
|
||||
"zod": "^3.23.8",
|
||||
"zod-formik-adapter": "^1.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||
"@rollup/wasm-node": "^4.21.2",
|
||||
"@tanstack/router-devtools": "^1.52.3",
|
||||
"@types/node": "^22.5.2",
|
||||
"@types/react": "^18.3.5",
|
||||
"@rollup/wasm-node": "^4.23.0",
|
||||
"@tanstack/router-devtools": "^1.58.15",
|
||||
"@types/node": "^22.7.4",
|
||||
"@types/react": "^18.3.10",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-portal": "^4.0.7",
|
||||
"@types/react-table": "^7.7.20",
|
||||
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
||||
"@typescript-eslint/parser": "^8.3.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-react": "^7.35.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
||||
"@typescript-eslint/parser": "^8.8.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.1",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-import": "^2.30.0",
|
||||
"eslint-plugin-react": "^7.37.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.11",
|
||||
"eslint-plugin-react-refresh": "^0.4.12",
|
||||
"eslint-watch": "^8.0.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.5.4",
|
||||
"vite": "^5.4.2",
|
||||
"vite-plugin-pwa": "^0.20.2",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.4.8",
|
||||
"vite-plugin-pwa": "^0.20.5",
|
||||
"vite-plugin-svgr": "^4.2.0"
|
||||
}
|
||||
}
|
||||
|
|
1343
web/pnpm-lock.yaml
generated
1343
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
@ -356,7 +356,14 @@ export const SelectFieldWide = ({
|
|||
}
|
||||
})}
|
||||
value={field?.value && field.value.value}
|
||||
onChange={(option) => setFieldValue(field.name, option?.value ?? "")}
|
||||
onChange={(newValue: unknown) => {
|
||||
if (newValue) {
|
||||
setFieldValue(field.name, (newValue as { value: string }).value);
|
||||
}
|
||||
else {
|
||||
setFieldValue(field.name, "")
|
||||
}
|
||||
}}
|
||||
options={options}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -74,12 +74,12 @@ export function SelectFieldCreatable<T>({ name, label, help, placeholder, toolti
|
|||
})}
|
||||
// value={field?.value ? field.value : options.find(o => o.value == field?.value)}
|
||||
value={field?.value ? { value: field.value, label: field.value } : field.value}
|
||||
onChange={(option) => {
|
||||
if (option === null) {
|
||||
setFieldValue(field.name, "");
|
||||
return;
|
||||
} else {
|
||||
setFieldValue(field.name, option.value ?? "");
|
||||
onChange={(newValue: unknown) => {
|
||||
if (newValue) {
|
||||
setFieldValue(field.name, (newValue as { value: string }).value);
|
||||
}
|
||||
else {
|
||||
setFieldValue(field.name, "")
|
||||
}
|
||||
}}
|
||||
options={[...[...options, { value: field.value, label: field.value }].reduce((map, obj) => map.set(obj.value, obj), new Map()).values()]}
|
||||
|
@ -139,12 +139,12 @@ export function SelectField<T>({ name, label, help, placeholder, options }: Sele
|
|||
})}
|
||||
// value={field?.value ? field.value : options.find(o => o.value == field?.value)}
|
||||
value={field?.value ? { value: field.value, label: field.value } : field.value}
|
||||
onChange={(option) => {
|
||||
if (option === null) {
|
||||
setFieldValue(field.name, "");
|
||||
return;
|
||||
} else {
|
||||
setFieldValue(field.name, option.value ?? "");
|
||||
onChange={(newValue: unknown) => {
|
||||
if (newValue) {
|
||||
setFieldValue(field.name, (newValue as { value: string }).value);
|
||||
}
|
||||
else {
|
||||
setFieldValue(field.name, "")
|
||||
}
|
||||
}}
|
||||
options={[...[...options, { value: field.value, label: field.value }].reduce((map, obj) => map.set(obj.value, obj), new Map()).values()]}
|
||||
|
@ -209,12 +209,12 @@ export function SelectFieldBasic<T>({ name, label, help, placeholder, required,
|
|||
})}
|
||||
defaultValue={defaultValue}
|
||||
value={field?.value && options.find(o => o.value == field?.value)}
|
||||
onChange={(option) => {
|
||||
if (option === null) {
|
||||
setFieldValue(field.name, "");
|
||||
return;
|
||||
} else {
|
||||
setFieldValue(field.name, option.value ?? "");
|
||||
onChange={(newValue: unknown) => {
|
||||
if (newValue) {
|
||||
setFieldValue(field.name, (newValue as { value: string }).value);
|
||||
}
|
||||
else {
|
||||
setFieldValue(field.name, "")
|
||||
}
|
||||
}}
|
||||
options={options}
|
||||
|
|
|
@ -519,18 +519,12 @@ export function SelectField<T>({ name, label, options, placeholder }: SelectFiel
|
|||
}
|
||||
})}
|
||||
value={field?.value && options.find(o => o.value == field?.value)}
|
||||
onChange={(option) => {
|
||||
// resetForm();
|
||||
|
||||
if (option !== null) {
|
||||
// const opt = option as SelectOption;
|
||||
// setFieldValue("name", option?.label ?? "")
|
||||
setFieldValue(
|
||||
field.name,
|
||||
option.value ?? ""
|
||||
);
|
||||
} else {
|
||||
setFieldValue(field.name, undefined);
|
||||
onChange={(newValue: unknown) => {
|
||||
if (newValue) {
|
||||
setFieldValue(field.name, (newValue as { value: number }).value);
|
||||
}
|
||||
else {
|
||||
setFieldValue(field.name, 0)
|
||||
}
|
||||
}}
|
||||
options={options}
|
||||
|
|
|
@ -61,8 +61,8 @@ export function Actions() {
|
|||
ignore_rules: false,
|
||||
first_last_piece_prio: false,
|
||||
skip_hash_check: false,
|
||||
content_layout: "" || undefined,
|
||||
priority: "" || undefined,
|
||||
content_layout: "",
|
||||
priority: "",
|
||||
limit_upload_speed: 0,
|
||||
limit_download_speed: 0,
|
||||
limit_ratio: 0,
|
||||
|
|
2
web/src/types/Filter.d.ts
vendored
2
web/src/types/Filter.d.ts
vendored
|
@ -117,7 +117,7 @@ interface Action {
|
|||
filter_id?: number;
|
||||
}
|
||||
|
||||
type ActionContentLayout = "ORIGINAL" | "SUBFOLDER_CREATE" | "SUBFOLDER_NONE";
|
||||
type ActionContentLayout = "ORIGINAL" | "SUBFOLDER_CREATE" | "SUBFOLDER_NONE" | "";
|
||||
|
||||
type ActionPriorityLayout = "MAX" | "MIN" | "";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue