diff --git a/eslint.config.js b/eslint.config.js index aaf8f84..f5e6112 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -2,10 +2,4 @@ import { createRequire } from 'node:module' const require = createRequire(import.meta.url) const { defineConfig } = require('@minko-fe/eslint-config') -export default defineConfig([ - { - rules: { - 'no-empty-pattern': 'off', - }, - }, -]) +export default defineConfig([]) diff --git a/package.json b/package.json index de078a5..e4085a6 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,8 @@ "react-resizable": "^3.0.5" }, "devDependencies": { - "@minko-fe/commitlint-config": "^2.1.1", - "@minko-fe/eslint-config": "^3.3.4", + "@minko-fe/commitlint-config": "^2.1.2", + "@minko-fe/eslint-config": "^4.0.0", "@minko-fe/prettier-config": "^2.2.3", "@minko-fe/tsconfig": "^2.1.1", "@testing-library/dom": "^8.20.1", @@ -64,18 +64,18 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.5.2", "@types/lodash.debounce": "^4.0.9", - "@types/node": "^22.5.1", - "@types/react": "^18.3.4", + "@types/node": "^22.5.2", + "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", "@types/react-resizable": "^3.0.8", "@vitest/ui": "^2.0.5", - "antd": "^5.20.3", + "antd": "^5.20.4", "autoprefixer": "^10.4.20", "bumpp": "^9.5.2", "conventional-changelog-cli": "^5.0.0", "eslint": "^9.9.1", "jsdom": "^21.1.2", - "postcss": "^8.4.41", + "postcss": "^8.4.43", "postcss-import": "^16.1.0", "postcss-nested": "^6.2.0", "postcss-simple-vars": "^7.0.1", diff --git a/playground/app/routes/_layout+/$.tsx b/playground/app/routes/_layout+/$.tsx new file mode 100644 index 0000000..122ec54 --- /dev/null +++ b/playground/app/routes/_layout+/$.tsx @@ -0,0 +1,11 @@ +import { useIsomorphicLayoutEffect } from 'ahooks' +import { useNavigate } from 'react-router-dom' + +export default function NotFound() { + const navigate = useNavigate() + useIsomorphicLayoutEffect(() => { + navigate(`/`, { replace: true }) + }, []) + + return null +} diff --git a/playground/app/routes/_layout/_index.tsx b/playground/app/routes/_layout+/_index.tsx similarity index 100% rename from playground/app/routes/_layout/_index.tsx rename to playground/app/routes/_layout+/_index.tsx diff --git a/playground/app/routes/_layout/_layout.tsx b/playground/app/routes/_layout+/_layout.tsx similarity index 100% rename from playground/app/routes/_layout/_layout.tsx rename to playground/app/routes/_layout+/_layout.tsx diff --git a/playground/app/routes/_layout/basic/index.tsx b/playground/app/routes/_layout+/basic/index.tsx similarity index 100% rename from playground/app/routes/_layout/basic/index.tsx rename to playground/app/routes/_layout+/basic/index.tsx diff --git a/playground/app/routes/_layout/fixed/index.module.css b/playground/app/routes/_layout+/fixed/index.module.css similarity index 100% rename from playground/app/routes/_layout/fixed/index.module.css rename to playground/app/routes/_layout+/fixed/index.module.css diff --git a/playground/app/routes/_layout+/fixed/index.tsx b/playground/app/routes/_layout+/fixed/index.tsx new file mode 100644 index 0000000..2a90716 --- /dev/null +++ b/playground/app/routes/_layout+/fixed/index.tsx @@ -0,0 +1,96 @@ +import type { TableColumnsType } from 'antd' +import { Table } from 'antd' +import React from 'react' +import { type ResizableColumnsType, useAntdResizableHeader } from 'use-antd-resizable-header' +import styles from './index.module.css' + +interface DataType { + 'key': React.Key + 'name': string + 'age': number + 'address-1': string + 'address-2': string + 'address-3': string + 'address-4': string + 'address-5': string + 'address-6': string + 'address-7': string + 'address-8': string +} + +const columns: ResizableColumnsType> = [ + { + title: 'Full Name', + width: 100, + dataIndex: 'name', + key: 'name', + fixed: 'left', + }, + { + title: 'Age', + width: 100, + dataIndex: 'age', + key: 'age', + fixed: 'left', + sorter: true, + }, + { title: 'Column 1', dataIndex: 'address-1', key: '1', width: 100 }, + { title: 'Column 2', dataIndex: 'address-2', key: '2', width: 50 }, + { title: 'Column 3', dataIndex: 'address-3', key: '3', width: 200 }, + { title: 'Column 4', dataIndex: 'address-4', key: '4', width: 100 }, + { title: 'Column 5', dataIndex: 'address-5', key: '5', width: 100 }, + { title: 'Column 6', dataIndex: 'address-6', key: '6', width: 100 }, + { title: 'Column 7', dataIndex: 'address-7', key: '7', width: 100 }, + { title: 'Column 8', dataIndex: 'address-8', key: '8', width: 100 }, + { + title: 'Action', + key: 'operation', + fixed: 'right', + render: () => action, + }, +] + +const data: DataType[] = [ + { + 'key': '1', + 'name': 'John Brown', + 'age': 32, + 'address-1': 'New York Park', + 'address-2': 'New York Park', + 'address-3': 'New York Park', + 'address-4': 'New York Park', + 'address-5': 'New York Park', + 'address-6': 'New York Park', + 'address-7': 'New York Park', + 'address-8': 'New York Park', + }, + { + 'key': '2', + 'name': 'Jim Green', + 'age': 40, + 'address-1': 'London Park', + 'address-2': 'London Park', + 'address-3': 'London Park', + 'address-4': 'London Park', + 'address-5': 'London Park', + 'address-6': 'London Park', + 'address-7': 'London Park', + 'address-8': 'London Park', + }, +] + +export const Component: React.FC = () => { + const { components, resizableColumns, tableWidth } = useAntdResizableHeader({ + columns, + }) + + return ( + + ) +} diff --git a/playground/app/routes/_layout/header-group/index.tsx b/playground/app/routes/_layout+/header-group/index.tsx similarity index 100% rename from playground/app/routes/_layout/header-group/index.tsx rename to playground/app/routes/_layout+/header-group/index.tsx diff --git a/playground/app/routes/_layout/pro-table-basic/index.tsx b/playground/app/routes/_layout+/pro-table-basic/index.tsx similarity index 100% rename from playground/app/routes/_layout/pro-table-basic/index.tsx rename to playground/app/routes/_layout+/pro-table-basic/index.tsx diff --git a/playground/app/routes/_layout/fixed/index.tsx b/playground/app/routes/_layout/fixed/index.tsx deleted file mode 100644 index fbcc170..0000000 --- a/playground/app/routes/_layout/fixed/index.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import type { TableColumnsType } from 'antd' -import { Table } from 'antd' -import React from 'react' -import { type ResizableColumnsType, useAntdResizableHeader } from 'use-antd-resizable-header' -import styles from './index.module.css' - -interface DataType { - key: React.Key - name: string - age: number - address: string -} - -const columns: ResizableColumnsType> = [ - { - title: 'Full Name', - width: 100, - dataIndex: 'name', - key: 'name', - fixed: 'left', - }, - { - title: 'Age', - width: 100, - dataIndex: 'age', - key: 'age', - fixed: 'left', - sorter: true, - }, - { title: 'Column 1', dataIndex: 'address', key: '1' }, - { title: 'Column 2', dataIndex: 'address', key: '2' }, - { title: 'Column 3', dataIndex: 'address', key: '3' }, - { title: 'Column 4', dataIndex: 'address', key: '4' }, - { title: 'Column 5', dataIndex: 'address', key: '5' }, - { title: 'Column 6', dataIndex: 'address', key: '6' }, - { title: 'Column 7', dataIndex: 'address', key: '7' }, - { title: 'Column 8', dataIndex: 'address', key: '8' }, - { - title: 'Action', - key: 'operation', - fixed: 'right', - width: 100, - render: () => action, - }, -] - -const data: DataType[] = [ - { - key: '1', - name: 'John Brown', - age: 32, - address: 'New York Park', - }, - { - key: '2', - name: 'Jim Green', - age: 40, - address: 'London Park', - }, -] - -export const Component: React.FC = () => { - const { components, resizableColumns, tableWidth } = useAntdResizableHeader({ - columns, - }) - - return ( -
- ) -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49442c5..f6cdc41 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,11 +16,11 @@ importers: version: 3.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) devDependencies: '@minko-fe/commitlint-config': - specifier: ^2.1.1 - version: 2.1.1 + specifier: ^2.1.2 + version: 2.1.2 '@minko-fe/eslint-config': - specifier: ^3.3.4 - version: 3.3.4(@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(svelte-eslint-parser@0.41.0) + specifier: ^4.0.0 + version: 4.0.0(@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(svelte-eslint-parser@0.41.0) '@minko-fe/prettier-config': specifier: ^2.2.3 version: 2.2.3(prettier@3.3.3) @@ -43,11 +43,11 @@ importers: specifier: ^4.0.9 version: 4.0.9 '@types/node': - specifier: ^22.5.1 - version: 22.5.1 + specifier: ^22.5.2 + version: 22.5.2 '@types/react': - specifier: ^18.3.4 - version: 18.3.4 + specifier: ^18.3.5 + version: 18.3.5 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -58,11 +58,11 @@ importers: specifier: ^2.0.5 version: 2.0.5(vitest@2.0.5) antd: - specifier: ^5.20.3 - version: 5.20.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^5.20.4 + version: 5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) autoprefixer: specifier: ^10.4.20 - version: 10.4.20(postcss@8.4.41) + version: 10.4.20(postcss@8.4.43) bumpp: specifier: ^9.5.2 version: 9.5.2 @@ -76,17 +76,17 @@ importers: specifier: ^21.1.2 version: 21.1.2 postcss: - specifier: ^8.4.41 - version: 8.4.41 + specifier: ^8.4.43 + version: 8.4.43 postcss-import: specifier: ^16.1.0 - version: 16.1.0(postcss@8.4.41) + version: 16.1.0(postcss@8.4.43) postcss-nested: specifier: ^6.2.0 - version: 6.2.0(postcss@8.4.41) + version: 6.2.0(postcss@8.4.43) postcss-simple-vars: specifier: ^7.0.1 - version: 7.0.1(postcss@8.4.41) + version: 7.0.1(postcss@8.4.43) react: specifier: ^18.3.1 version: 18.3.1 @@ -101,7 +101,7 @@ importers: version: 5.31.6 tsup: specifier: ^8.2.4 - version: 8.2.4(jiti@1.21.6)(postcss@8.4.41)(typescript@5.5.4)(yaml@2.5.0) + version: 8.2.4(jiti@1.21.6)(postcss@8.4.43)(typescript@5.5.4)(yaml@2.5.0) tsup-plugin-bundleless: specifier: ^0.4.0 version: 0.4.0 @@ -110,10 +110,10 @@ importers: version: 5.5.4 vite: specifier: ^5.4.2 - version: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + version: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@22.5.1)(@vitest/ui@2.0.5)(jsdom@21.1.2)(less@4.2.0)(terser@5.31.6) + version: 2.0.5(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@21.1.2)(less@4.2.0)(terser@5.31.6) playground: dependencies: @@ -149,7 +149,7 @@ importers: version: link:.. vite-config-preset: specifier: ^1.1.0 - version: 1.1.0(@rollup/pluginutils@5.1.0(rollup@4.21.1))(@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)))(@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)))(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + version: 1.1.0(@rollup/pluginutils@5.1.0(rollup@4.21.1))(@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)))(@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)))(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) devDependencies: '@minko-fe/postcss-config': specifier: ^1.0.1 @@ -171,10 +171,10 @@ importers: version: 5.3.3 '@vitejs/plugin-legacy': specifier: ^5.4.2 - version: 5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + version: 5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + version: 4.3.1(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) postcss: specifier: ^8.4.41 version: 8.4.41 @@ -186,10 +186,10 @@ importers: version: 5.5.4 vite: specifier: ^5.4.2 - version: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + version: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) vite-plugin-remix-flat-routes: specifier: ^2.6.1 - version: 2.6.1(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(react-dom@18.3.1(react@18.3.1))(react-router-dom@6.26.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + version: 2.6.1(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(react-dom@18.3.1(react@18.3.1))(react-router-dom@6.26.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) packages: @@ -1653,10 +1653,6 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/regexpp@4.10.0': - resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint-community/regexpp@4.11.0': resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} @@ -1724,9 +1720,6 @@ packages: '@jridgewell/source-map@0.3.5': resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} - '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} @@ -1746,13 +1739,13 @@ packages: '@mdx-js/mdx@2.3.0': resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==} - '@minko-fe/commitlint-config@2.1.1': - resolution: {integrity: sha512-NkJOulCsxdaFcIPtjHW4J+FQCvdKA8PX9pQTaNTK9rTeatya2mUWQ6xYnzS8AgJg/IHknB8Z0C10E/ZmJ3LXhg==} + '@minko-fe/commitlint-config@2.1.2': + resolution: {integrity: sha512-JMfOgXNGWUtsKEr71Kyogi/79QPGtWdVVIrayjzefZb2+n3dR/LMJpHPT5LS+YdoLXyW3TzZyoG4f0qmgfag/A==} - '@minko-fe/eslint-config@3.3.4': - resolution: {integrity: sha512-9vnqwfFgoOXlz+njYtRsEOFpZWob9QWdsrNA4rc4W8v3XybORj3HuU6cF7kT/ghDow0uiojoVztrL6+njwYoLg==} + '@minko-fe/eslint-config@4.0.0': + resolution: {integrity: sha512-uCdbud3xs35gPXRdzDc3sToTdoaffB0JRX9BhcgWcl/cTUW7GFZdQf1sjsLdIirE6LmCJbe7AUtSZKjoq2PsSQ==} peerDependencies: - eslint: ^8.56.0 || ^9.0.0 + eslint: '>=9' prettier-plugin-astro: '*' prettier-plugin-svelte: '*' peerDependenciesMeta: @@ -1894,6 +1887,13 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' + '@rc-component/tour@1.15.1': + resolution: {integrity: sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==} + engines: {node: '>=8.x'} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + '@rc-component/trigger@2.2.1': resolution: {integrity: sha512-fuU11J8pOt6+U/tU6/CAv8wjCwGaNeRk9f5k8HQth7JBbJ6MMH62WhGycVW75VnXfBZgL/7kO+wbiO2Xc9U9sQ==} engines: {node: '>=8.x'} @@ -2229,8 +2229,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.5.1': - resolution: {integrity: sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==} + '@types/node@22.5.2': + resolution: {integrity: sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==} '@types/normalize-package-data@2.4.3': resolution: {integrity: sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==} @@ -2253,6 +2253,9 @@ packages: '@types/react@18.3.4': resolution: {integrity: sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw==} + '@types/react@18.3.5': + resolution: {integrity: sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==} + '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} @@ -2335,12 +2338,6 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.18.0': - resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - '@typescript-eslint/utils@8.3.0': resolution: {integrity: sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2504,6 +2501,12 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' + antd@5.20.4: + resolution: {integrity: sha512-ZBJYXuiaBUQdv+zrecbQyCX1oUnmQQUkaMd5EeACADeeSfWLAJOqC7cgtsp18420zw8aWTyrJ1TiruW4bHECSA==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} @@ -2520,9 +2523,6 @@ packages: aria-query@5.1.3: resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==} - array-buffer-byte-length@1.0.0: - resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} - array-buffer-byte-length@1.0.1: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'} @@ -2560,10 +2560,6 @@ packages: resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==} engines: {node: '>= 0.4'} - arraybuffer.prototype.slice@1.0.2: - resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} - engines: {node: '>= 0.4'} - arraybuffer.prototype.slice@1.0.3: resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} @@ -3289,10 +3285,6 @@ packages: error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - es-abstract@1.22.3: - resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} - engines: {node: '>= 0.4'} - es-abstract@1.23.3: resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} engines: {node: '>= 0.4'} @@ -3319,10 +3311,6 @@ packages: resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} engines: {node: '>= 0.4'} - es-set-tostringtag@2.0.2: - resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} - engines: {node: '>= 0.4'} - es-set-tostringtag@2.0.3: resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} engines: {node: '>= 0.4'} @@ -3417,11 +3405,11 @@ packages: peerDependencies: eslint: '>=4.19.1' - eslint-plugin-import-x@3.1.0: - resolution: {integrity: sha512-/UbPA+bYY7nIxcjL3kpcDY3UNdoLHFhyBFzHox2M0ypcUoueTn6woZUUmzzi5et/dXChksasYYFeKE2wshOrhg==} - engines: {node: '>=16'} + eslint-plugin-import-x@4.1.1: + resolution: {integrity: sha512-dBEM8fACIFNt4H7GoOaRmnH6evJW6JSTJTYYgmRd3vI4geBTjgDM/JyUDKUwIw0HDSyI+u7Vs3vFRXUo/BOAtA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 || ^9.0.0-0 + eslint: ^8.57.0 || ^9.0.0 eslint-plugin-jsonc@2.16.0: resolution: {integrity: sha512-Af/ZL5mgfb8FFNleH6KlO4/VdmDuTqmM+SPnWcdoWywTetv7kq+vQe99UyQb9XO3b0OWLVuTH7H0d/PXYCMdSg==} @@ -3474,11 +3462,11 @@ packages: eslint-config-prettier: optional: true - eslint-plugin-react-hooks@4.6.2: - resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} + eslint-plugin-react-hooks@5.1.0-rc-a19a8ab4-20240829: + resolution: {integrity: sha512-lWHTnMQqgAvQ4S5VVyXSxdNnfqbSiH4VAb7hbN1scbQaB9DmXkE2r1EOi2RigeA3x994TOcrFb73l1UZD4PvXQ==} engines: {node: '>=10'} peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 eslint-plugin-react-refresh@0.4.11: resolution: {integrity: sha512-wrAKxMbVr8qhXTtIKfXqAn5SAtRZt0aXxe5P23Fh4pUAdC6XEsybGLB8P0PI4j1yYqOgUEUlzKAGDfo7rJOjcw==} @@ -3804,17 +3792,10 @@ packages: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} - get-symbol-description@1.0.0: - resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} - engines: {node: '>= 0.4'} - get-symbol-description@1.0.2: resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} - get-tsconfig@4.7.2: - resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} - get-tsconfig@4.7.6: resolution: {integrity: sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==} @@ -4036,10 +4017,6 @@ packages: inline-style-parser@0.1.1: resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} - internal-slot@1.0.6: - resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} - engines: {node: '>= 0.4'} - internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} @@ -4165,10 +4142,6 @@ packages: is-map@2.0.2: resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} - is-negative-zero@2.0.2: - resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} - engines: {node: '>= 0.4'} - is-negative-zero@2.0.3: resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} engines: {node: '>= 0.4'} @@ -4725,10 +4698,6 @@ packages: resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==} engines: {node: '>=10'} - minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.5: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} @@ -5427,6 +5396,10 @@ packages: resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.43: + resolution: {integrity: sha512-gJAQVYbh5R3gYm33FijzCZj7CHyQ3hWMgJMprLUlIYqCwTeZhBQ19wp0e9mA25BUbEvY5+EXuuaAjqQsrBxQBQ==} + engines: {node: ^10 || ^12 || >=14} + prelude-ls@1.1.2: resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} engines: {node: '>= 0.8.0'} @@ -5657,6 +5630,26 @@ packages: moment: optional: true + rc-picker@4.6.14: + resolution: {integrity: sha512-7DuTfUFdkxmsNpWQ0TWv6FPGna5e6KKC4nxtx3x9xhumLz7jb3fhlDdWQvqEL6tpt9DOb1+N5j+wB+lDOSS9kg==} + engines: {node: '>=8.x'} + peerDependencies: + date-fns: '>= 2.x' + dayjs: '>= 1.x' + luxon: '>= 3.x' + moment: '>= 2.x' + react: '>=16.9.0' + react-dom: '>=16.9.0' + peerDependenciesMeta: + date-fns: + optional: true + dayjs: + optional: true + luxon: + optional: true + moment: + optional: true + rc-progress@4.0.0: resolution: {integrity: sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==} peerDependencies: @@ -5753,6 +5746,12 @@ packages: react: '*' react-dom: '*' + rc-tree-select@5.22.2: + resolution: {integrity: sha512-WHmWCck4+8mf4/KFTjw70AlnoNPkX4C1TOIzzwxfZ7w8hcNO4bzggoeO2Q3fAedjZteN5I3t2dT0BCZAnHedlQ==} + peerDependencies: + react: '*' + react-dom: '*' + rc-tree@5.8.8: resolution: {integrity: sha512-S+mCMWo91m5AJqjz3PdzKilGgbFm7fFJRFiTDOcoRbD7UfMOPnerXwMworiga0O2XIo383UoWuEfeHs1WOltag==} engines: {node: '>=10.x'} @@ -6029,10 +6028,6 @@ packages: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} - safe-array-concat@1.0.1: - resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} - engines: {node: '>=0.4'} - safe-array-concat@1.1.2: resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} @@ -6043,9 +6038,6 @@ packages: safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - safe-regex-test@1.0.0: - resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} - safe-regex-test@1.0.3: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} @@ -6249,23 +6241,13 @@ packages: string.prototype.repeat@1.0.0: resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==} - string.prototype.trim@1.2.8: - resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} - engines: {node: '>= 0.4'} - string.prototype.trim@1.2.9: resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} engines: {node: '>= 0.4'} - string.prototype.trimend@1.0.7: - resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} - string.prototype.trimend@1.0.8: resolution: {integrity: sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==} - string.prototype.trimstart@1.0.7: - resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} - string.prototype.trimstart@1.0.8: resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==} engines: {node: '>= 0.4'} @@ -6502,6 +6484,9 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + tslib@2.7.0: + resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + tsup-plugin-bundleless@0.4.0: resolution: {integrity: sha512-EAPLOWW/FQQVb6ol+CSoOzIaXWFKgE5PppikSp6ThBqQWJlJco15EWtA4T11VJzqUqaiME/dXn6uaCTA8skm4Q==} @@ -6563,33 +6548,18 @@ packages: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} - typed-array-buffer@1.0.0: - resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} - engines: {node: '>= 0.4'} - typed-array-buffer@1.0.2: resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} - typed-array-byte-length@1.0.0: - resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} - engines: {node: '>= 0.4'} - typed-array-byte-length@1.0.1: resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} engines: {node: '>= 0.4'} - typed-array-byte-offset@1.0.0: - resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} - engines: {node: '>= 0.4'} - typed-array-byte-offset@1.0.2: resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==} engines: {node: '>= 0.4'} - typed-array-length@1.0.4: - resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} - typed-array-length@1.0.6: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} @@ -7016,10 +6986,6 @@ packages: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - yaml@2.3.3: - resolution: {integrity: sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==} - engines: {node: '>= 14'} - yaml@2.5.0: resolution: {integrity: sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==} engines: {node: '>= 14'} @@ -8594,8 +8560,6 @@ snapshots: eslint: 9.9.1(jiti@1.21.6) eslint-visitor-keys: 3.4.3 - '@eslint-community/regexpp@4.10.0': {} - '@eslint-community/regexpp@4.11.0': {} '@eslint/config-array@0.18.0': @@ -8652,7 +8616,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 22.5.1 + '@types/node': 22.5.2 '@types/yargs': 17.0.19 chalk: 4.1.2 @@ -8677,8 +8641,6 @@ snapshots: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.19 - '@jridgewell/sourcemap-codec@1.4.15': {} - '@jridgewell/sourcemap-codec@1.5.0': {} '@jridgewell/trace-mapping@0.3.19': @@ -8722,11 +8684,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@minko-fe/commitlint-config@2.1.1': + '@minko-fe/commitlint-config@2.1.2': dependencies: '@commitlint/config-conventional': 19.4.1 - '@minko-fe/eslint-config@3.3.4(@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(svelte-eslint-parser@0.41.0)': + '@minko-fe/eslint-config@4.0.0(@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(svelte-eslint-parser@0.41.0)': dependencies: '@minko-fe/prettier-config': 2.2.3(prettier@3.3.3) astro-eslint-parser: 1.0.2(typescript@5.5.4) @@ -8736,14 +8698,14 @@ snapshots: eslint-plugin-antfu: 2.3.6(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-astro: 1.2.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) eslint-plugin-eslint-comments: 3.2.0(eslint@9.9.1(jiti@1.21.6)) - eslint-plugin-import-x: 3.1.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + eslint-plugin-import-x: 4.1.1(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) eslint-plugin-jsonc: 2.16.0(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-markdown: 5.1.0(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-n: 17.10.2(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-perfectionist: 3.3.0(astro-eslint-parser@1.0.2(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(svelte-eslint-parser@0.41.0)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.9.1(jiti@1.21.6))) eslint-plugin-prettier: 5.2.1(eslint-config-prettier@9.1.0(eslint@9.9.1(jiti@1.21.6)))(eslint@9.9.1(jiti@1.21.6))(prettier@3.3.3) eslint-plugin-react: 7.35.0(eslint@9.9.1(jiti@1.21.6)) - eslint-plugin-react-hooks: 4.6.2(eslint@9.9.1(jiti@1.21.6)) + eslint-plugin-react-hooks: 5.1.0-rc-a19a8ab4-20240829(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-react-refresh: 0.4.11(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-svelte: 2.43.0(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-unicorn: 55.0.0(eslint@9.9.1(jiti@1.21.6)) @@ -8919,6 +8881,16 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@rc-component/tour@1.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.4 + '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/trigger': 2.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + classnames: 2.5.1 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@rc-component/trigger@2.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 @@ -8930,7 +8902,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6))': + '@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6))': dependencies: '@babel/core': 7.25.2 '@babel/generator': 7.25.5 @@ -8947,7 +8919,7 @@ snapshots: '@remix-run/router': 1.19.1 '@remix-run/server-runtime': 2.11.2(typescript@5.5.4) '@types/mdx': 2.0.13 - '@vanilla-extract/integration': 6.5.0(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + '@vanilla-extract/integration': 6.5.0(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) arg: 5.0.2 cacache: 17.1.4 chalk: 4.1.2 @@ -8972,10 +8944,10 @@ snapshots: picocolors: 1.0.1 picomatch: 2.3.1 pidtree: 0.6.0 - postcss: 8.4.41 - postcss-discard-duplicates: 5.1.0(postcss@8.4.41) - postcss-load-config: 4.0.2(postcss@8.4.41) - postcss-modules: 6.0.0(postcss@8.4.41) + postcss: 8.4.43 + postcss-discard-duplicates: 5.1.0(postcss@8.4.43) + postcss-load-config: 4.0.2(postcss@8.4.43) + postcss-modules: 6.0.0(postcss@8.4.43) prettier: 2.8.8 pretty-ms: 7.0.1 react-refresh: 0.14.2 @@ -8988,7 +8960,7 @@ snapshots: ws: 7.5.10 optionalDependencies: typescript: 5.5.4 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -9043,9 +9015,9 @@ snapshots: optionalDependencies: typescript: 5.5.4 - '@remix-run/v1-route-convention@0.1.4(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)))': + '@remix-run/v1-route-convention@0.1.4(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)))': dependencies: - '@remix-run/dev': 2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + '@remix-run/dev': 2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) minimatch: 7.4.6 '@remix-run/web-blob@3.1.0': @@ -9270,7 +9242,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 22.5.1 + '@types/node': 22.5.2 '@types/cookie@0.6.0': {} @@ -9323,7 +9295,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.5.1': + '@types/node@22.5.2': dependencies: undici-types: 6.19.8 @@ -9337,7 +9309,7 @@ snapshots: '@types/react-resizable@3.0.8': dependencies: - '@types/react': 18.3.4 + '@types/react': 18.3.5 '@types/react-router-dom@5.3.3': dependencies: @@ -9348,13 +9320,18 @@ snapshots: '@types/react-router@5.1.20': dependencies: '@types/history': 4.7.11 - '@types/react': 18.3.4 + '@types/react': 18.3.5 '@types/react@18.3.4': dependencies: '@types/prop-types': 15.7.8 csstype: 3.1.2 + '@types/react@18.3.5': + dependencies: + '@types/prop-types': 15.7.8 + csstype: 3.1.3 + '@types/semver@7.5.8': {} '@types/stack-utils@2.0.1': {} @@ -9373,7 +9350,7 @@ snapshots: '@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: - '@eslint-community/regexpp': 4.10.0 + '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) '@typescript-eslint/scope-manager': 8.3.0 '@typescript-eslint/type-utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) @@ -9458,17 +9435,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) - eslint: 9.9.1(jiti@1.21.6) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) @@ -9519,7 +9485,7 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros - '@vanilla-extract/integration@6.5.0(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)': + '@vanilla-extract/integration@6.5.0(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)': dependencies: '@babel/core': 7.25.2 '@babel/plugin-syntax-typescript': 7.25.4(@babel/core@7.25.2) @@ -9532,8 +9498,8 @@ snapshots: lodash: 4.17.21 mlly: 1.7.1 outdent: 0.8.0 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) - vite-node: 1.6.0(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) + vite-node: 1.6.0(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -9548,7 +9514,7 @@ snapshots: '@vanilla-extract/private@1.0.6': {} - '@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6))': + '@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6))': dependencies: '@babel/core': 7.25.2 '@babel/preset-env': 7.25.4(@babel/core@7.25.2) @@ -9559,18 +9525,18 @@ snapshots: regenerator-runtime: 0.14.1 systemjs: 6.15.1 terser: 5.31.6 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6))': + '@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - supports-color @@ -9609,7 +9575,7 @@ snapshots: pathe: 1.1.2 sirv: 2.0.4 tinyrainbow: 1.2.0 - vitest: 2.0.5(@types/node@22.5.1)(@vitest/ui@2.0.5)(jsdom@21.1.2)(less@4.2.0)(terser@5.31.6) + vitest: 2.0.5(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@21.1.2)(less@4.2.0)(terser@5.31.6) '@vitest/utils@2.0.5': dependencies: @@ -9639,10 +9605,6 @@ snapshots: acorn: 8.11.2 acorn-walk: 8.2.0 - acorn-jsx@5.3.2(acorn@8.11.2): - dependencies: - acorn: 8.11.2 - acorn-jsx@5.3.2(acorn@8.12.1): dependencies: acorn: 8.12.1 @@ -9764,6 +9726,64 @@ snapshots: - luxon - moment + antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + '@ant-design/colors': 7.1.0 + '@ant-design/cssinjs': 1.21.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@ant-design/cssinjs-utils': 1.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@ant-design/icons': 5.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@ant-design/react-slick': 1.1.2(react@18.3.1) + '@babel/runtime': 7.25.4 + '@ctrl/tinycolor': 3.6.1 + '@rc-component/color-picker': 2.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/mutate-observer': 1.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/qrcode': 1.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/tour': 1.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/trigger': 2.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + classnames: 2.5.1 + copy-to-clipboard: 3.3.3 + dayjs: 1.11.13 + rc-cascader: 3.27.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-checkbox: 3.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-collapse: 3.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-dialog: 9.5.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-drawer: 7.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-dropdown: 4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-field-form: 2.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-image: 7.9.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-input: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-input-number: 9.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-mentions: 2.15.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-menu: 9.14.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-motion: 2.9.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-notification: 5.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-pagination: 4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-picker: 4.6.14(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-progress: 4.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-rate: 2.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-segmented: 2.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-select: 14.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-slider: 11.1.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-steps: 6.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-switch: 4.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-table: 7.45.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tabs: 15.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-textarea: 1.8.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tooltip: 6.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree: 5.8.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree-select: 5.22.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-upload: 4.7.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + scroll-into-view-if-needed: 3.1.0 + throttle-debounce: 5.0.2 + transitivePeerDependencies: + - date-fns + - luxon + - moment + any-promise@1.3.0: {} anymatch@3.1.3: @@ -9779,11 +9799,6 @@ snapshots: dependencies: deep-equal: 2.2.0 - array-buffer-byte-length@1.0.0: - dependencies: - call-bind: 1.0.5 - is-array-buffer: 3.0.2 - array-buffer-byte-length@1.0.1: dependencies: call-bind: 1.0.7 @@ -9817,16 +9832,16 @@ snapshots: array.prototype.flat@1.3.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.23.3 es-shim-unscopables: 1.0.2 array.prototype.flatmap@1.3.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.23.3 es-shim-unscopables: 1.0.2 array.prototype.tosorted@1.1.4: @@ -9837,16 +9852,6 @@ snapshots: es-errors: 1.3.0 es-shim-unscopables: 1.0.2 - arraybuffer.prototype.slice@1.0.2: - dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - get-intrinsic: 1.2.2 - is-array-buffer: 3.0.2 - is-shared-array-buffer: 1.0.2 - arraybuffer.prototype.slice@1.0.3: dependencies: array-buffer-byte-length: 1.0.1 @@ -9869,7 +9874,7 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) astrojs-compiler-sync: 1.0.0(@astrojs/compiler@2.10.3) - debug: 4.3.4 + debug: 4.3.6 entities: 4.5.0 eslint-scope: 8.0.2 eslint-visitor-keys: 4.0.0 @@ -9898,6 +9903,16 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 + autoprefixer@10.4.20(postcss@8.4.43): + dependencies: + browserslist: 4.23.3 + caniuse-lite: 1.0.30001653 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.0.1 + postcss: 8.4.43 + postcss-value-parser: 4.2.0 + available-typed-arrays@1.0.5: {} available-typed-arrays@1.0.7: @@ -10588,48 +10603,6 @@ snapshots: dependencies: is-arrayish: 0.2.1 - es-abstract@1.22.3: - dependencies: - array-buffer-byte-length: 1.0.0 - arraybuffer.prototype.slice: 1.0.2 - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 - es-set-tostringtag: 2.0.2 - es-to-primitive: 1.2.1 - function.prototype.name: 1.1.6 - get-intrinsic: 1.2.2 - get-symbol-description: 1.0.0 - globalthis: 1.0.3 - gopd: 1.0.1 - has-property-descriptors: 1.0.1 - has-proto: 1.0.1 - has-symbols: 1.0.3 - hasown: 2.0.2 - internal-slot: 1.0.6 - is-array-buffer: 3.0.2 - is-callable: 1.2.7 - is-negative-zero: 2.0.2 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - is-string: 1.0.7 - is-typed-array: 1.1.12 - is-weakref: 1.0.2 - object-inspect: 1.13.1 - object-keys: 1.1.1 - object.assign: 4.1.4 - regexp.prototype.flags: 1.5.1 - safe-array-concat: 1.0.1 - safe-regex-test: 1.0.0 - string.prototype.trim: 1.2.8 - string.prototype.trimend: 1.0.7 - string.prototype.trimstart: 1.0.7 - typed-array-buffer: 1.0.0 - typed-array-byte-length: 1.0.0 - typed-array-byte-offset: 1.0.0 - typed-array-length: 1.0.4 - unbox-primitive: 1.0.2 - which-typed-array: 1.1.13 - es-abstract@1.23.3: dependencies: array-buffer-byte-length: 1.0.1 @@ -10719,12 +10692,6 @@ snapshots: dependencies: es-errors: 1.3.0 - es-set-tostringtag@2.0.2: - dependencies: - get-intrinsic: 1.2.2 - has-tostringtag: 1.0.0 - hasown: 2.0.2 - es-set-tostringtag@2.0.3: dependencies: get-intrinsic: 1.2.4 @@ -10870,13 +10837,13 @@ snapshots: eslint-plugin-astro@1.2.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@typescript-eslint/types': 7.18.0 astro-eslint-parser: 1.0.2(typescript@5.5.4) eslint: 9.9.1(jiti@1.21.6) eslint-compat-utils: 0.5.1(eslint@9.9.1(jiti@1.21.6)) globals: 15.9.0 - postcss: 8.4.41 + postcss: 8.4.43 postcss-selector-parser: 6.1.2 transitivePeerDependencies: - supports-color @@ -10893,21 +10860,22 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 eslint: 9.9.1(jiti@1.21.6) - ignore: 5.2.4 + ignore: 5.3.2 - eslint-plugin-import-x@3.1.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4): + eslint-plugin-import-x@4.1.1(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - debug: 4.3.4 + '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + debug: 4.3.6 doctrine: 3.0.0 eslint: 9.9.1(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 get-tsconfig: 4.7.6 is-glob: 4.0.3 - minimatch: 9.0.3 + minimatch: 9.0.5 semver: 7.6.3 stable-hash: 0.0.4 - tslib: 2.6.2 + tslib: 2.7.0 transitivePeerDependencies: - supports-color - typescript @@ -10936,9 +10904,9 @@ snapshots: enhanced-resolve: 5.17.1 eslint: 9.9.1(jiti@1.21.6) eslint-plugin-es-x: 7.8.0(eslint@9.9.1(jiti@1.21.6)) - get-tsconfig: 4.7.2 + get-tsconfig: 4.7.6 globals: 15.9.0 - ignore: 5.2.4 + ignore: 5.3.2 minimatch: 9.0.5 semver: 7.6.3 @@ -10966,7 +10934,7 @@ snapshots: optionalDependencies: eslint-config-prettier: 9.1.0(eslint@9.9.1(jiti@1.21.6)) - eslint-plugin-react-hooks@4.6.2(eslint@9.9.1(jiti@1.21.6)): + eslint-plugin-react-hooks@5.1.0-rc-a19a8ab4-20240829(eslint@9.9.1(jiti@1.21.6)): dependencies: eslint: 9.9.1(jiti@1.21.6) @@ -10999,14 +10967,14 @@ snapshots: eslint-plugin-svelte@2.43.0(eslint@9.9.1(jiti@1.21.6)): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 eslint: 9.9.1(jiti@1.21.6) eslint-compat-utils: 0.5.1(eslint@9.9.1(jiti@1.21.6)) esutils: 2.0.3 known-css-properties: 0.34.0 - postcss: 8.4.41 - postcss-load-config: 3.1.4(postcss@8.4.41) - postcss-safe-parser: 6.0.0(postcss@8.4.41) + postcss: 8.4.43 + postcss-load-config: 3.1.4(postcss@8.4.43) + postcss-safe-parser: 6.0.0(postcss@8.4.43) postcss-selector-parser: 6.1.2 semver: 7.6.3 svelte-eslint-parser: 0.41.0 @@ -11055,7 +11023,7 @@ snapshots: eslint-plugin-yml@1.14.0(eslint@9.9.1(jiti@1.21.6)): dependencies: - debug: 4.3.4 + debug: 4.3.6 eslint: 9.9.1(jiti@1.21.6) eslint-compat-utils: 0.5.1(eslint@9.9.1(jiti@1.21.6)) lodash: 4.17.21 @@ -11127,8 +11095,8 @@ snapshots: espree@9.6.1: dependencies: - acorn: 8.11.2 - acorn-jsx: 5.3.2(acorn@8.11.2) + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) eslint-visitor-keys: 3.4.3 esprima@4.0.1: {} @@ -11184,7 +11152,7 @@ snapshots: eval@0.1.8: dependencies: - '@types/node': 22.5.1 + '@types/node': 22.5.2 require-like: 0.1.2 event-target-shim@5.0.1: {} @@ -11426,21 +11394,12 @@ snapshots: get-stream@8.0.1: {} - get-symbol-description@1.0.0: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - get-symbol-description@1.0.2: dependencies: call-bind: 1.0.7 es-errors: 1.3.0 get-intrinsic: 1.2.4 - get-tsconfig@4.7.2: - dependencies: - resolve-pkg-maps: 1.0.0 - get-tsconfig@4.7.6: dependencies: resolve-pkg-maps: 1.0.0 @@ -11660,9 +11619,9 @@ snapshots: dependencies: safer-buffer: 2.1.2 - icss-utils@5.1.0(postcss@8.4.41): + icss-utils@5.1.0(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 ieee754@1.2.1: {} @@ -11688,17 +11647,11 @@ snapshots: inline-style-parser@0.1.1: {} - internal-slot@1.0.6: - dependencies: - get-intrinsic: 1.2.2 - hasown: 2.0.2 - side-channel: 1.0.4 - internal-slot@1.0.7: dependencies: es-errors: 1.3.0 hasown: 2.0.2 - side-channel: 1.0.4 + side-channel: 1.0.6 intersection-observer@0.12.2: {} @@ -11738,7 +11691,7 @@ snapshots: is-async-function@2.0.0: dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-bigint@1.0.4: dependencies: @@ -11807,8 +11760,6 @@ snapshots: is-map@2.0.2: {} - is-negative-zero@2.0.2: {} - is-negative-zero@2.0.3: {} is-number-object@1.0.7: @@ -11911,7 +11862,7 @@ snapshots: get-intrinsic: 1.2.4 has-symbols: 1.0.3 reflect.getprototypeof: 1.0.4 - set-function-name: 2.0.1 + set-function-name: 2.0.2 jackspeak@3.4.3: dependencies: @@ -11958,7 +11909,7 @@ snapshots: jest-util@29.3.1: dependencies: '@jest/types': 29.3.1 - '@types/node': 22.5.1 + '@types/node': 22.5.2 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -12033,7 +11984,7 @@ snapshots: jsonc-eslint-parser@2.4.0: dependencies: - acorn: 8.11.2 + acorn: 8.12.1 eslint-visitor-keys: 3.4.3 espree: 9.6.1 semver: 7.6.3 @@ -12050,7 +12001,7 @@ snapshots: dependencies: array-includes: 3.1.8 array.prototype.flat: 1.3.2 - object.assign: 4.1.4 + object.assign: 4.1.5 object.values: 1.2.0 keyv@4.5.4: @@ -12562,10 +12513,6 @@ snapshots: dependencies: brace-expansion: 2.0.1 - minimatch@9.0.3: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.5: dependencies: brace-expansion: 2.0.1 @@ -13046,9 +12993,9 @@ snapshots: postcss: 8.4.41 postcss-selector-parser: 6.1.2 - postcss-discard-duplicates@5.1.0(postcss@8.4.41): + postcss-discard-duplicates@5.1.0(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 postcss-double-position-gradients@4.0.4(postcss@8.4.41): dependencies: @@ -13086,9 +13033,9 @@ snapshots: read-cache: 1.0.0 resolve: 1.22.8 - postcss-import@16.1.0(postcss@8.4.41): + postcss-import@16.1.0(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 @@ -13110,12 +13057,12 @@ snapshots: '@csstools/postcss-progressive-custom-properties': 2.3.0(postcss@8.4.41) postcss: 8.4.41 - postcss-load-config@3.1.4(postcss@8.4.41): + postcss-load-config@3.1.4(postcss@8.4.43): dependencies: lilconfig: 2.1.0 yaml: 1.10.2 optionalDependencies: - postcss: 8.4.41 + postcss: 8.4.43 postcss-load-config@4.0.2(postcss@8.4.41): dependencies: @@ -13124,12 +13071,19 @@ snapshots: optionalDependencies: postcss: 8.4.41 - postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.41)(yaml@2.5.0): + postcss-load-config@4.0.2(postcss@8.4.43): + dependencies: + lilconfig: 3.1.2 + yaml: 2.5.0 + optionalDependencies: + postcss: 8.4.43 + + postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.43)(yaml@2.5.0): dependencies: lilconfig: 3.1.2 optionalDependencies: jiti: 1.21.6 - postcss: 8.4.41 + postcss: 8.4.43 yaml: 2.5.0 postcss-logical@6.2.0(postcss@8.4.41): @@ -13137,37 +13091,37 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - postcss-modules-extract-imports@3.1.0(postcss@8.4.41): + postcss-modules-extract-imports@3.1.0(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 - postcss-modules-local-by-default@4.0.5(postcss@8.4.41): + postcss-modules-local-by-default@4.0.5(postcss@8.4.43): dependencies: - icss-utils: 5.1.0(postcss@8.4.41) - postcss: 8.4.41 + icss-utils: 5.1.0(postcss@8.4.43) + postcss: 8.4.43 postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 - postcss-modules-scope@3.2.0(postcss@8.4.41): + postcss-modules-scope@3.2.0(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 postcss-selector-parser: 6.1.2 - postcss-modules-values@4.0.0(postcss@8.4.41): + postcss-modules-values@4.0.0(postcss@8.4.43): dependencies: - icss-utils: 5.1.0(postcss@8.4.41) - postcss: 8.4.41 + icss-utils: 5.1.0(postcss@8.4.43) + postcss: 8.4.43 - postcss-modules@6.0.0(postcss@8.4.41): + postcss-modules@6.0.0(postcss@8.4.43): dependencies: generic-names: 4.0.0 - icss-utils: 5.1.0(postcss@8.4.41) + icss-utils: 5.1.0(postcss@8.4.43) lodash.camelcase: 4.3.0 - postcss: 8.4.41 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.41) - postcss-modules-local-by-default: 4.0.5(postcss@8.4.41) - postcss-modules-scope: 3.2.0(postcss@8.4.41) - postcss-modules-values: 4.0.0(postcss@8.4.41) + postcss: 8.4.43 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.43) + postcss-modules-local-by-default: 4.0.5(postcss@8.4.43) + postcss-modules-scope: 3.2.0(postcss@8.4.43) + postcss-modules-values: 4.0.0(postcss@8.4.43) string-hash: 1.1.3 postcss-nested@6.2.0(postcss@8.4.41): @@ -13175,6 +13129,11 @@ snapshots: postcss: 8.4.41 postcss-selector-parser: 6.1.2 + postcss-nested@6.2.0(postcss@8.4.43): + dependencies: + postcss: 8.4.43 + postcss-selector-parser: 6.1.2 + postcss-nesting@11.3.0(postcss@8.4.41): dependencies: '@csstools/selector-specificity': 2.2.0(postcss-selector-parser@6.1.2) @@ -13268,13 +13227,13 @@ snapshots: dependencies: postcss: 8.4.41 - postcss-safe-parser@6.0.0(postcss@8.4.41): + postcss-safe-parser@6.0.0(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 - postcss-scss@4.0.9(postcss@8.4.41): + postcss-scss@4.0.9(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 postcss-selector-not@7.0.2(postcss@8.4.41): dependencies: @@ -13286,9 +13245,9 @@ snapshots: cssesc: 3.0.0 util-deprecate: 1.0.2 - postcss-simple-vars@7.0.1(postcss@8.4.41): + postcss-simple-vars@7.0.1(postcss@8.4.43): dependencies: - postcss: 8.4.41 + postcss: 8.4.43 postcss-value-parser@4.2.0: {} @@ -13298,6 +13257,12 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 + postcss@8.4.43: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + prelude-ls@1.1.2: {} prelude-ls@1.2.1: {} @@ -13565,6 +13530,19 @@ snapshots: optionalDependencies: dayjs: 1.11.13 + rc-picker@4.6.14(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + '@babel/runtime': 7.25.4 + '@rc-component/trigger': 2.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + classnames: 2.5.1 + rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + dayjs: 1.11.13 + rc-progress@4.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.4 @@ -13704,6 +13682,16 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + rc-tree-select@5.22.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + '@babel/runtime': 7.25.4 + classnames: 2.5.1 + rc-select: 14.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree: 5.8.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + rc-tree@5.8.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.4 @@ -13961,10 +13949,10 @@ snapshots: mdast-util-to-hast: 12.3.0 unified: 10.1.2 - remix-flat-routes@0.6.5(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6))): + remix-flat-routes@0.6.5(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6))): dependencies: - '@remix-run/dev': 2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) - '@remix-run/v1-route-convention': 0.1.4(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6))) + '@remix-run/dev': 2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) + '@remix-run/v1-route-convention': 0.1.4(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6))) fs-extra: 11.2.0 minimatch: 5.1.6 @@ -14051,13 +14039,6 @@ snapshots: dependencies: mri: 1.2.0 - safe-array-concat@1.0.1: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - has-symbols: 1.0.3 - isarray: 2.0.5 - safe-array-concat@1.1.2: dependencies: call-bind: 1.0.7 @@ -14069,12 +14050,6 @@ snapshots: safe-buffer@5.2.1: {} - safe-regex-test@1.0.0: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-regex: 1.1.4 - safe-regex-test@1.0.3: dependencies: call-bind: 1.0.7 @@ -14301,13 +14276,7 @@ snapshots: string.prototype.repeat@1.0.0: dependencies: define-properties: 1.2.1 - es-abstract: 1.22.3 - - string.prototype.trim@1.2.8: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.23.3 string.prototype.trim@1.2.9: dependencies: @@ -14316,24 +14285,12 @@ snapshots: es-abstract: 1.23.3 es-object-atoms: 1.0.0 - string.prototype.trimend@1.0.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - string.prototype.trimend@1.0.8: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 es-object-atoms: 1.0.0 - string.prototype.trimstart@1.0.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - string.prototype.trimstart@1.0.8: dependencies: call-bind: 1.0.7 @@ -14404,8 +14361,8 @@ snapshots: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - postcss: 8.4.41 - postcss-scss: 4.0.9(postcss@8.4.41) + postcss: 8.4.43 + postcss-scss: 4.0.9(postcss@8.4.43) svg-parser@2.0.4: {} @@ -14583,11 +14540,13 @@ snapshots: tslib@2.6.2: {} + tslib@2.7.0: {} + tsup-plugin-bundleless@0.4.0: dependencies: tsc-alias: 1.8.10 - tsup@8.2.4(jiti@1.21.6)(postcss@8.4.41)(typescript@5.5.4)(yaml@2.5.0): + tsup@8.2.4(jiti@1.21.6)(postcss@8.4.43)(typescript@5.5.4)(yaml@2.5.0): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -14599,14 +14558,14 @@ snapshots: globby: 11.1.0 joycon: 3.1.1 picocolors: 1.0.1 - postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.41)(yaml@2.5.0) + postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.43)(yaml@2.5.0) resolve-from: 5.0.0 rollup: 4.21.1 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.4.41 + postcss: 8.4.43 typescript: 5.5.4 transitivePeerDependencies: - jiti @@ -14641,25 +14600,12 @@ snapshots: media-typer: 0.3.0 mime-types: 2.1.35 - typed-array-buffer@1.0.0: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-typed-array: 1.1.12 - typed-array-buffer@1.0.2: dependencies: call-bind: 1.0.7 es-errors: 1.3.0 is-typed-array: 1.1.13 - typed-array-byte-length@1.0.0: - dependencies: - call-bind: 1.0.5 - for-each: 0.3.3 - has-proto: 1.0.1 - is-typed-array: 1.1.12 - typed-array-byte-length@1.0.1: dependencies: call-bind: 1.0.7 @@ -14668,14 +14614,6 @@ snapshots: has-proto: 1.0.3 is-typed-array: 1.1.13 - typed-array-byte-offset@1.0.0: - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 - for-each: 0.3.3 - has-proto: 1.0.1 - is-typed-array: 1.1.12 - typed-array-byte-offset@1.0.2: dependencies: available-typed-arrays: 1.0.7 @@ -14685,12 +14623,6 @@ snapshots: has-proto: 1.0.3 is-typed-array: 1.1.13 - typed-array-length@1.0.4: - dependencies: - call-bind: 1.0.5 - for-each: 0.3.3 - is-typed-array: 1.1.12 - typed-array-length@1.0.6: dependencies: call-bind: 1.0.7 @@ -14868,7 +14800,7 @@ snapshots: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 - vite-config-preset@1.1.0(@rollup/pluginutils@5.1.0(rollup@4.21.1))(@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)))(@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)))(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)): + vite-config-preset@1.1.0(@rollup/pluginutils@5.1.0(rollup@4.21.1))(@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)))(@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)))(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)): dependencies: debug: 4.3.6 deepmerge: 4.3.1 @@ -14877,27 +14809,27 @@ snapshots: local-pkg: 0.5.0 picologger: 0.0.1 rollup-plugin-visualizer: 5.12.0(rollup@4.21.1) - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) - vite-plugin-json5: 1.1.2(@rollup/pluginutils@5.1.0(rollup@4.21.1))(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) - vite-plugin-svgr: 4.2.0(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) + vite-plugin-json5: 1.1.2(@rollup/pluginutils@5.1.0(rollup@4.21.1))(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) + vite-plugin-svgr: 4.2.0(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) vite-plugin-vconsole: 2.1.1 - vite-tsconfig-paths: 5.0.1(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + vite-tsconfig-paths: 5.0.1(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) optionalDependencies: - '@vitejs/plugin-legacy': 5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) - '@vitejs/plugin-react': 4.3.1(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + '@vitejs/plugin-legacy': 5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) + '@vitejs/plugin-react': 4.3.1(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) transitivePeerDependencies: - '@rollup/pluginutils' - rollup - supports-color - typescript - vite-node@1.6.0(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6): + vite-node@1.6.0(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - less @@ -14909,13 +14841,13 @@ snapshots: - supports-color - terser - vite-node@2.0.5(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6): + vite-node@2.0.5(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - less @@ -14927,15 +14859,15 @@ snapshots: - supports-color - terser - vite-plugin-json5@1.1.2(@rollup/pluginutils@5.1.0(rollup@4.21.1))(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)): + vite-plugin-json5@1.1.2(@rollup/pluginutils@5.1.0(rollup@4.21.1))(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.1) json5: 2.2.3 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) - vite-plugin-remix-flat-routes@2.6.1(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(react-dom@18.3.1(react@18.3.1))(react-router-dom@6.26.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)): + vite-plugin-remix-flat-routes@2.6.1(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(react-dom@18.3.1(react@18.3.1))(react-router-dom@6.26.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)): dependencies: - '@remix-run/dev': 2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)) + '@remix-run/dev': 2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)) change-case: 5.4.4 clone-deep: 4.0.1 context-state: 3.1.1(react@18.3.1) @@ -14945,10 +14877,10 @@ snapshots: lodash.pick: 4.4.0 p-is-promise: 4.0.0 react-router-dom: 6.26.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - remix-flat-routes: 0.6.5(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6))) + remix-flat-routes: 0.6.5(@remix-run/dev@2.11.2(@remix-run/react@2.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6))) semver: 7.6.3 type-fest: 4.25.0 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) optionalDependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -14972,12 +14904,12 @@ snapshots: - utf-8-validate - wrangler - vite-plugin-svgr@4.2.0(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)): + vite-plugin-svgr@4.2.0(rollup@4.21.1)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.1) '@svgr/core': 8.1.0(typescript@5.5.4) '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.5.4)) - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - rollup - supports-color @@ -14985,29 +14917,29 @@ snapshots: vite-plugin-vconsole@2.1.1: {} - vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6)): + vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6)): dependencies: debug: 4.3.6 globrex: 0.1.2 tsconfck: 3.1.1(typescript@5.5.4) optionalDependencies: - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) transitivePeerDependencies: - supports-color - typescript - vite@5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6): + vite@5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6): dependencies: esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.21.1 optionalDependencies: - '@types/node': 22.5.1 + '@types/node': 22.5.2 fsevents: 2.3.3 less: 4.2.0 terser: 5.31.6 - vitest@2.0.5(@types/node@22.5.1)(@vitest/ui@2.0.5)(jsdom@21.1.2)(less@4.2.0)(terser@5.31.6): + vitest@2.0.5(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@21.1.2)(less@4.2.0)(terser@5.31.6): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -15025,11 +14957,11 @@ snapshots: tinybench: 2.9.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.2(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) - vite-node: 2.0.5(@types/node@22.5.1)(less@4.2.0)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) + vite-node: 2.0.5(@types/node@22.5.2)(less@4.2.0)(terser@5.31.6) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.5.1 + '@types/node': 22.5.2 '@vitest/ui': 2.0.5(vitest@2.0.5) jsdom: 21.1.2 transitivePeerDependencies: @@ -15044,7 +14976,7 @@ snapshots: vue-eslint-parser@9.4.3(eslint@9.9.1(jiti@1.21.6)): dependencies: - debug: 4.3.4 + debug: 4.3.6 eslint: 9.9.1(jiti@1.21.6) eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -15109,7 +15041,7 @@ snapshots: which-builtin-type@1.1.3: dependencies: function.prototype.name: 1.1.6 - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-async-function: 2.0.0 is-date-object: 1.0.5 is-finalizationregistry: 1.0.2 @@ -15119,7 +15051,7 @@ snapshots: isarray: 2.0.5 which-boxed-primitive: 1.0.2 which-collection: 1.0.1 - which-typed-array: 1.1.13 + which-typed-array: 1.1.15 which-collection@1.0.1: dependencies: @@ -15195,12 +15127,10 @@ snapshots: dependencies: eslint-visitor-keys: 3.4.3 lodash: 4.17.21 - yaml: 2.3.3 + yaml: 2.5.0 yaml@1.10.2: {} - yaml@2.3.3: {} - yaml@2.5.0: {} yargs-parser@21.1.1: {} diff --git a/src/hooks/useLocalColumns.ts b/src/hooks/useLocalColumns.ts index 042795f..a3295e8 100644 --- a/src/hooks/useLocalColumns.ts +++ b/src/hooks/useLocalColumns.ts @@ -10,7 +10,7 @@ interface LocalColumnsProp { columns?: T[] } -function mergeColumns(src: T, target: T, mergeKey: string): T { +function mergeColumns(src: T, target: T, mergeKey: string): T { const res = src if (Array.isArray(res) && Array.isArray(target)) { diff --git a/src/useAntdResizableHeader.tsx b/src/useAntdResizableHeader.tsx index fc092d5..f277e59 100644 --- a/src/useAntdResizableHeader.tsx +++ b/src/useAntdResizableHeader.tsx @@ -11,7 +11,7 @@ import ResizableHeader from './ResizableHeader' import { type CacheType, type OptionsType, type ResizableColumnType } from './type' import { depthFirstSearchWidthSet, isColHidden, isEmpty, isString, isUndefined } from './utils' import { DefaultWidth } from './utils/constant' -import { validateColumnsFlex } from './utils/validateOptions' +import { validateColumns } from './utils/validateOptions' function useAntdResizableHeader( props: OptionsType, @@ -27,7 +27,7 @@ function useAntdResizableHeader>(new Map()) @@ -47,7 +47,7 @@ function useAntdResizableHeader s + 1, 0) const resetColumns = useMemoizedFn((resetStorage: boolean = true) => { - widthCache.current = new Map() + widthCache.current.clear() resetLocalColumns(resetStorage) }) diff --git a/src/utils/validateOptions.ts b/src/utils/validateOptions.ts index 2995fd7..8e4697a 100644 --- a/src/utils/validateOptions.ts +++ b/src/utils/validateOptions.ts @@ -2,19 +2,52 @@ import { isColHidden } from '.' import { type ResizableColumnType } from '../type' import { logger } from './logger' -function traverseColumnsWidthAll(cols: ResizableColumnType[] | undefined) { +function traverseColumnsWidth(cols: ResizableColumnType[] | undefined) { if (!cols || !cols.length) return false return cols.every((col) => { if (col.children && col.children.length) { - return traverseColumnsWidthAll(col.children) + return traverseColumnsWidth(col.children) } return !!col.width || isColHidden(col) }) } -export function validateColumnsFlex(cols: ResizableColumnType[] | undefined) { - if (traverseColumnsWidthAll(cols) && process.env.NODE_ENV !== 'production') { +function validateColumnsFlex(cols: ResizableColumnType[] | undefined) { + if (traverseColumnsWidth(cols) && process.env.NODE_ENV !== 'production') { logger.errorOnce('[use-antd-resizable-header] 请不要在所有列上添加 `width` 属性,这将导致表格无法自适应') return false } } + +function traverseColumnsDataIndex( + cols: ResizableColumnType[] | undefined, + dataIndexMap: Map = new Map(), +) { + if (!cols || !cols.length) return false + return cols.every((col) => { + if (col.children && col.children.length) { + return traverseColumnsDataIndex(col.children, dataIndexMap) + } + if (col.dataIndex) { + if (dataIndexMap.has(col.dataIndex)) { + if (process.env.NODE_ENV !== 'production') { + logger.errorOnce( + `[use-antd-resizable-header] dataIndex 重复: ${col.dataIndex},请确保每个列的 [dataIndex] 唯一`, + ) + } + return false + } + dataIndexMap.set(col.dataIndex, true) + } + return true + }) +} + +function validateColumnsDataIndex(cols: ResizableColumnType[] | undefined) { + traverseColumnsDataIndex(cols, new Map()) +} + +export function validateColumns(cols: ResizableColumnType[] | undefined) { + validateColumnsFlex(cols) + validateColumnsDataIndex(cols) +}