diff --git a/.eslintignore b/.eslintignore index 62e50cc..3442af4 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,8 +5,8 @@ _test_ __test__ -/node_modules +node_modules jest* -/es -/lib -/docs +es +lib +docs diff --git a/.fatherrc.ts b/.fatherrc.base.ts similarity index 71% rename from .fatherrc.ts rename to .fatherrc.base.ts index f41c83d..5b4b50d 100644 --- a/.fatherrc.ts +++ b/.fatherrc.base.ts @@ -3,5 +3,4 @@ import { defineConfig } from 'father'; export default defineConfig({ cjs: { output: 'lib' }, esm: { output: 'es' }, - umd: { output: 'dist', name: 'easyAntdModal' }, }); diff --git a/.gitignore b/.gitignore index f7979a1..41636f2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,8 +9,8 @@ _roadhog-api-doc # production **/dist /.vscode -/es -/lib +es +lib # misc .DS_Store @@ -44,3 +44,6 @@ techUI* # Symbolic link examples/with-antd4/src/App.tsx + +# turbo +.turbo diff --git a/.releaserc.js b/.releaserc.js index 7a99d7d..2a88d7b 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -11,7 +11,12 @@ module.exports = { changelogFile: 'CHANGELOG.md', }, ], - '@semantic-release/npm', + /** + * using monorepo, use "@semrel-extra/npm" instead of the official package + * https://github.com/dhoulb/multi-semantic-release#npm-invalid-npm-token + */ + // '@semantic-release/npm', + '@semrel-extra/npm', [ '@semantic-release/github', { diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f6506a..e69de29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,69 +0,0 @@ -## [1.5.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.5.0...v1.5.1) (2024-01-12) - -### Bug Fixes - -- 修复部分机器安装依赖失败问题 ([#16](https://github.com/Wxh16144/easy-antd-modal/issues/16)) ([397cb22](https://github.com/Wxh16144/easy-antd-modal/commit/397cb2225b466c7a276ad012be5003926d516edd)) - -# [1.5.0](https://github.com/Wxh16144/easy-antd-modal/compare/v1.4.2...v1.5.0) (2024-01-10) - -### Features - -- 克隆 antd 静态方法 ([#15](https://github.com/Wxh16144/easy-antd-modal/issues/15)) ([2f8cdac](https://github.com/Wxh16144/easy-antd-modal/commit/2f8cdacd48efa318d563302f399947f3b6a2e46b)) - -## [1.4.2](https://github.com/Wxh16144/easy-antd-modal/compare/v1.4.1...v1.4.2) (2023-08-29) - -### Bug Fixes - -- 修复 drawer 类型未导出错误 ([#13](https://github.com/Wxh16144/easy-antd-modal/issues/13)) ([002e26c](https://github.com/Wxh16144/easy-antd-modal/commit/002e26c42282d43d908173b56a299857297454de)) - -# [1.4.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.3.0...v1.4.1) (2023-08-14) - -### Features - -- 补充 prefixCls 逻辑 ([#11](https://github.com/Wxh16144/easy-antd-modal/issues/11)) ([e88e9df](https://github.com/Wxh16144/easy-antd-modal/commit/e88e9df32a8d29c4ce3a65facad1cde24a3fc21b)) - -# [1.4.0-beta.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.3.0...v1.4.0-beta.1) (2023-08-14) - -### Features - -- 补充 prefixCls 逻辑 ([#10](https://github.com/Wxh16144/easy-antd-modal/issues/10)) ([287bfde](https://github.com/Wxh16144/easy-antd-modal/commit/287bfdede391840b3b85d3987667724fa9d29e0f)) - -# [1.3.0](https://github.com/Wxh16144/easy-antd-modal/compare/v1.2.1...v1.3.0) (2023-08-11) - -### Features - -- 调整 package#exports ([#8](https://github.com/Wxh16144/easy-antd-modal/issues/8)) ([8206020](https://github.com/Wxh16144/easy-antd-modal/commit/8206020b4aecf7289a419b57446d096ce0aa257d)) - -## [1.2.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.2.0...v1.2.1) (2023-08-08) - -### Bug Fixes - -- 修复前置依赖版本问题 ([#5](https://github.com/Wxh16144/easy-antd-modal/issues/5)) ([79051f8](https://github.com/Wxh16144/easy-antd-modal/commit/79051f8b1da3f53f10a258656e07a94df2e68fa4)) - -# [1.2.0](https://github.com/Wxh16144/easy-antd-modal/compare/v1.1.1...v1.2.0) (2023-08-01) - -### Features - -- 添加 useEasyAntdModal 导出 ([#4](https://github.com/Wxh16144/easy-antd-modal/issues/4)) ([5464171](https://github.com/Wxh16144/easy-antd-modal/commit/5464171fb50f41feb126f7885d23ec5930878056)) - -# [1.2.0-beta.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.1.1...v1.2.0-beta.1) (2023-08-01) - -### Features - -- 基础功能开发 ([2fb3ac2](https://github.com/Wxh16144/easy-antd-modal/commit/2fb3ac29b479fd27a947b1fef38b17aba3f0ebcb)) -- 导出上下文中的 useEasyAntdModal hook ([e614ead](https://github.com/Wxh16144/easy-antd-modal/commit/e614ead7b310c0fecf547fea9266fbc71d19c032)) -- 添加移动端 & 使用文档 ([4ab7905](https://github.com/Wxh16144/easy-antd-modal/commit/4ab790594c3c250226a798a7fec42b36dcc15caf)) - -## [1.1.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.1.0...v1.1.1) (2023-07-24) - -### Bug Fixes - -- 修复 contentNode 中 props.enhancedAction 未定义错误 ([#3](https://github.com/Wxh16144/easy-antd-modal/issues/3)) ([7394edf](https://github.com/Wxh16144/easy-antd-modal/commit/7394edf066456d054846673a0efa6ae66a2e182d)) - -# [1.1.0](https://github.com/Wxh16144/easy-antd-modal/compare/v1.0.0...v1.1.0) (2023-07-19) - -### Features - -- support antd-mobile & update docs ([#2](https://github.com/Wxh16144/easy-antd-modal/issues/2)) ([3804b6c](https://github.com/Wxh16144/easy-antd-modal/commit/3804b6cd7a50c0dfe3b4b2fa8ab5ee92cd302f10)) - -# Changelog diff --git a/README.md b/README.md index d10dac1..1b65686 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ -# easy-antd-modal +# react-record-hotkey -[![NPM version][npm-image]][npm-url] [![NPM downloads][download-image]][download-url] [![install size][npm-size]][npm-size-url] - [![Test CI status][test-ci]][test-ci-url] [![Deploy CI][release-ci]][release-ci-url] [![Coverage][coverage]][codecov-url] [![contributors][contributors-shield]][contributors-url] [![forks][forks-shield]][forks-url] [![stargazers][stargazers-shield]][stargazers-url] [![issues][issues-shield]][issues-url] @@ -15,37 +13,23 @@ [dumi-url]: https://img.shields.io/badge/docs%20by-dumi-blue [father-url]: https://img.shields.io/badge/build%20with-father-028fe4.svg - - -[npm-image]: http://img.shields.io/npm/v/easy-antd-modal.svg?style=flat-square&color=deepgreen&label=latest -[npm-url]: http://npmjs.org/package/easy-antd-modal -[npm-size]: https://img.shields.io/bundlephobia/minzip/easy-antd-modal?color=deepgreen&label=gizpped%20size&style=flat-square -[npm-size-url]: https://packagephobia.com/result?p=easy-antd-modal - -[coverage]: https://codecov.io/gh/Wxh16144/easy-antd-modal/branch/master/graph/badge.svg -[codecov-url]: https://codecov.io/gh/Wxh16144/easy-antd-modal/branch/master +[coverage]: https://codecov.io/gh/Wxh16144/react-record-hotkey/branch/master/graph/badge.svg +[codecov-url]: https://codecov.io/gh/Wxh16144/react-record-hotkey/branch/master -[test-ci]: https://github.com/Wxh16144/easy-antd-modal/workflows/Test%20CI/badge.svg -[release-ci]: https://github.com/Wxh16144/easy-antd-modal/workflows/Release%20CI/badge.svg -[test-ci-url]: https://github.com/Wxh16144/easy-antd-modal/actions?query=workflow%3ATest%20CI -[release-ci-url]: https://github.com/Wxh16144/easy-antd-modal/actions?query=workflow%3ARelease%20CI -[download-image]: https://img.shields.io/npm/dm/easy-antd-modal.svg?style=flat-square -[download-url]: https://npmjs.org/package/easy-antd-modal +[test-ci]: https://github.com/Wxh16144/react-record-hotkey/workflows/Test%20CI/badge.svg +[release-ci]: https://github.com/Wxh16144/react-record-hotkey/workflows/Release%20CI/badge.svg +[test-ci-url]: https://github.com/Wxh16144/react-record-hotkey/actions?query=workflow%3ATest%20CI +[release-ci-url]: https://github.com/Wxh16144/react-record-hotkey/actions?query=workflow%3ARelease%20CI +[download-image]: https://img.shields.io/npm/dm/react-record-hotkey.svg?style=flat-square +[download-url]: https://npmjs.org/package/react-record-hotkey ## 简介 -基于 Ant Design 的 Modal 组件的二次封装,简化了 Modal 的使用方式 - - 支持 antd4.x 和 antd5.x, API 保持一致 -- 自动绑定打开事件, 无需维护 open 状态 -- content 增强, 支持内部手动关闭 -- 支持拖拽, 类 window 窗口 -- 可直接对接 antd-mobile 的 Mask, Modal, Popup, Dialog 组件 -- 长期维护 (欢迎 PR) ## 快速上手 @@ -54,20 +38,13 @@ 推荐使用 `pnpm` 安装 ```bash -pnpm i easy-antd-modal -S +# todo ``` ### 使用 ```tsx | pure -import { Button } from 'antd'; -import Modal from 'easy-antd-modal'; - -export default () => ( - Click Me}> - I ❤️ antd - -); +// todo ``` ## 迭代记录 @@ -85,20 +62,20 @@ This project is [MIT](./LICENSE) licensed. -[contributors-shield]: https://img.shields.io/github/contributors/Wxh16144/easy-antd-modal.svg?style=flat -[contributors-url]: https://github.com/Wxh16144/easy-antd-modal/graphs/contributors +[contributors-shield]: https://img.shields.io/github/contributors/Wxh16144/react-record-hotkey.svg?style=flat +[contributors-url]: https://github.com/Wxh16144/react-record-hotkey/graphs/contributors -[forks-shield]: https://img.shields.io/github/forks/Wxh16144/easy-antd-modal.svg?style=flat -[forks-url]: https://github.com/Wxh16144/easy-antd-modal/network/members +[forks-shield]: https://img.shields.io/github/forks/Wxh16144/react-record-hotkey.svg?style=flat +[forks-url]: https://github.com/Wxh16144/react-record-hotkey/network/members -[stargazers-shield]: https://img.shields.io/github/stars/Wxh16144/easy-antd-modal.svg?style=flat -[stargazers-url]: https://github.com/Wxh16144/easy-antd-modal/stargazers +[stargazers-shield]: https://img.shields.io/github/stars/Wxh16144/react-record-hotkey.svg?style=flat +[stargazers-url]: https://github.com/Wxh16144/react-record-hotkey/stargazers -[issues-shield]: https://img.shields.io/github/issues/Wxh16144/easy-antd-modal.svg?style=flat -[issues-url]: https://github.com/Wxh16144/easy-antd-modal/issues/new/choose +[issues-shield]: https://img.shields.io/github/issues/Wxh16144/react-record-hotkey.svg?style=flat +[issues-url]: https://github.com/Wxh16144/react-record-hotkey/issues/new/choose diff --git a/docs/index.md b/docs/index.md index 7583739..8dfce61 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ hero: - text: 快速上手 link: /guide - text: 查看源码 - link: https://github.com/Wxh16144/easy-antd-modal + link: https://github.com/Wxh16144/react-record-hotkey features: - title: 兼容 Ant Design 4 & 5 @@ -38,7 +38,7 @@ features: - title: 长期维护 image: 📅 description: 长期维护 (欢迎 PR) - link: https://github.com/Wxh16144/easy-antd-modal/pulse + link: https://github.com/Wxh16144/react-record-hotkey/pulse row: 8 --- diff --git a/examples/react-hooks/.eslintrc.cjs b/examples/react-hooks/.eslintrc.cjs new file mode 100644 index 0000000..1dc7153 --- /dev/null +++ b/examples/react-hooks/.eslintrc.cjs @@ -0,0 +1,27 @@ +/* eslint-env node */ + +module.exports = { + root: true, + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:@typescript-eslint/recommended-requiring-type-checking', + 'plugin:react-hooks/recommended', + ], + parser: '@typescript-eslint/parser', + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + project: true, + tsconfigRootDir: __dirname, + }, + plugins: ['react-refresh'], + rules: { + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + '@typescript-eslint/no-non-null-assertion': 'off', + }, +} diff --git a/examples/react-hooks/.gitignore b/examples/react-hooks/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/examples/react-hooks/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/examples/react-hooks/README.md b/examples/react-hooks/README.md new file mode 100644 index 0000000..9d0b4bc --- /dev/null +++ b/examples/react-hooks/README.md @@ -0,0 +1,30 @@ +# React + TypeScript + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: + +- Configure the top-level `parserOptions` property like this: + +```js +export default { + // other rules... + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + project: ['./tsconfig.json', './tsconfig.node.json'], + tsconfigRootDir: __dirname, + }, +}; +``` + +- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` +- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` +- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list diff --git a/examples/react-hooks/index.html b/examples/react-hooks/index.html new file mode 100644 index 0000000..ee287d5 --- /dev/null +++ b/examples/react-hooks/index.html @@ -0,0 +1,14 @@ + + + + + + + + Vite + React + TS + + +
+ + + diff --git a/examples/react-hooks/package.json b/examples/react-hooks/package.json new file mode 100644 index 0000000..95f4ebb --- /dev/null +++ b/examples/react-hooks/package.json @@ -0,0 +1,30 @@ +{ + "name": "react-hooks", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "build": "tsc && vite build", + "dev": "vite", + "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview" + }, + "dependencies": { + "antd": "^5.12.8", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-use-record-hotkey": "workspace:*" + }, + "devDependencies": { + "@types/react": "^18.2.14", + "@types/react-dom": "^18.2.6", + "@typescript-eslint/eslint-plugin": "^5.61.0", + "@typescript-eslint/parser": "^5.61.0", + "@vitejs/plugin-react": "^4.0.1", + "eslint": "^8.44.0", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.1", + "typescript": "^5.0.2", + "vite": "^4.4.0" + } +} diff --git a/examples/react-hooks/public/vite.svg b/examples/react-hooks/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/examples/react-hooks/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/examples/react-hooks/src/App.tsx b/examples/react-hooks/src/App.tsx new file mode 100644 index 0000000..fdfa9d3 --- /dev/null +++ b/examples/react-hooks/src/App.tsx @@ -0,0 +1,24 @@ +import { useRecordHotkey } from 'react-use-record-hotkey'; + +const App = () => { + const [inputRef, keys, { start, stop, isRecording }] = useRecordHotkey({ + onClean: () => { + console.log('Clean'); + }, + onConfirm: (hotkey) => { + console.log(`Hotkey: ${Array.from(hotkey).join('+')}`); + }, + }); + + return ( +
+ + + +

Recording: {isRecording ? 'Yes' : 'No'}

+

Hotkey: {Array.from(keys).join('+')}

+
+ ); +}; + +export default App; diff --git a/examples/react-hooks/src/main.tsx b/examples/react-hooks/src/main.tsx new file mode 100644 index 0000000..e5775c0 --- /dev/null +++ b/examples/react-hooks/src/main.tsx @@ -0,0 +1,9 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import App from './App.tsx'; + +ReactDOM.createRoot(document.getElementById('root')!).render( + + + , +); diff --git a/examples/react-hooks/src/vite-env.d.ts b/examples/react-hooks/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/examples/react-hooks/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/examples/react-hooks/tsconfig.json b/examples/react-hooks/tsconfig.json new file mode 100644 index 0000000..a7fc6fb --- /dev/null +++ b/examples/react-hooks/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/examples/react-hooks/tsconfig.node.json b/examples/react-hooks/tsconfig.node.json new file mode 100644 index 0000000..97ede7e --- /dev/null +++ b/examples/react-hooks/tsconfig.node.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "strict": true + }, + "include": ["vite.config.ts"] +} diff --git a/examples/react-hooks/vite.config.ts b/examples/react-hooks/vite.config.ts new file mode 100644 index 0000000..4e7004e --- /dev/null +++ b/examples/react-hooks/vite.config.ts @@ -0,0 +1,7 @@ +import react from '@vitejs/plugin-react'; +import { defineConfig } from 'vite'; + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [react()], +}); diff --git a/examples/with-antd4/package.json b/examples/with-antd4/package.json index e37ecae..e8bddb1 100644 --- a/examples/with-antd4/package.json +++ b/examples/with-antd4/package.json @@ -11,9 +11,10 @@ }, "dependencies": { "antd": "^4", - "easy-antd-modal": "workspace:*", + "antd-record-hotkey-input": "workspace:*", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "react-hotkeys-hook": "^4.5.0" }, "devDependencies": { "@types/react": "^18.2.14", diff --git a/examples/with-antd4/src/main.tsx b/examples/with-antd4/src/main.tsx index b873c95..bc822ad 100644 --- a/examples/with-antd4/src/main.tsx +++ b/examples/with-antd4/src/main.tsx @@ -2,6 +2,7 @@ import 'antd/dist/antd.css'; import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App.tsx'; +import './style.css'; ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/examples/with-antd4/src/style.css b/examples/with-antd4/src/style.css new file mode 100644 index 0000000..d7eea5b --- /dev/null +++ b/examples/with-antd4/src/style.css @@ -0,0 +1,19 @@ +.root { + padding: 50px 20px; +} + +.container { + margin-top: 5rem; + width: 500px; + height: 300px; + font-size: 20px; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f0f0; +} + +.container:focus, +.container:focus-within { + outline: 2px solid #1890ff; +} diff --git a/examples/with-antd5/package.json b/examples/with-antd5/package.json index a8ca112..e764803 100644 --- a/examples/with-antd5/package.json +++ b/examples/with-antd5/package.json @@ -10,10 +10,11 @@ "preview": "vite preview" }, "dependencies": { - "antd": "^5.12.8", - "easy-antd-modal": "workspace:*", + "antd": "^5.14.1", + "antd-record-hotkey-input": "workspace:*", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "react-hotkeys-hook": "^4.5.0" }, "devDependencies": { "@types/react": "^18.2.14", diff --git a/examples/with-antd5/src/App.tsx b/examples/with-antd5/src/App.tsx index d91c21d..2e0dc7b 100644 --- a/examples/with-antd5/src/App.tsx +++ b/examples/with-antd5/src/App.tsx @@ -1,49 +1,73 @@ -import { Button, Space, Typography, version } from 'antd'; -import { DragModal, Drawer, Modal } from 'easy-antd-modal'; +import { ConfigProvider, Divider, Empty, Radio, Space, message } from 'antd'; +import RecordShortcutInput from 'antd-record-hotkey-input'; +import { useState } from 'react'; +import { useHotkeys } from 'react-hotkeys-hook'; + +import { Locale } from 'antd/es/locale'; +import enUS from 'antd/locale/en_US'; +import zhCN from 'antd/locale/zh_CN'; + +const WithI18n = ({ children }: React.PropsWithChildren) => { + const [locale, setLocal] = useState(enUS); + + return ( + <> + + setLocal(e.target.value)}> + + English + + + 中文 + + + + + {children} + + ); +}; + +const App = () => { + const [shortcut, setShortcut] = useState(''); + + const shortRef = useHotkeys( + shortcut, + () => { + message.success('快捷键触发'); + }, + { + preventDefault: true, + }, + ); + + return ( + <> +
+ { + console.log('快捷键变更为:', value); + setShortcut(value); + }} + /> + +
+ {shortcut ? ( +
+ 点击聚焦,测试快捷键:{shortcut} +
+ ) : ( + + )} +
+ + ); +}; export default () => ( - <> - antd version: {version} - - Modal}> - I ❤️ antd - - -
-
- - Drawer}> - I ❤️ antd - - -
-
- - DragModal}> - I ❤️ antd - - -
-
- - - - ), - onOk: () => console.log('success'), - }); - }} - > - Static Methods - - + + + ); diff --git a/examples/with-antd5/src/main.tsx b/examples/with-antd5/src/main.tsx index a68876c..68f86b9 100644 --- a/examples/with-antd5/src/main.tsx +++ b/examples/with-antd5/src/main.tsx @@ -2,6 +2,7 @@ import 'antd/dist/reset.css'; import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App.tsx'; +import './style.css'; ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/examples/with-antd5/src/style.css b/examples/with-antd5/src/style.css new file mode 100644 index 0000000..d7eea5b --- /dev/null +++ b/examples/with-antd5/src/style.css @@ -0,0 +1,19 @@ +.root { + padding: 50px 20px; +} + +.container { + margin-top: 5rem; + width: 500px; + height: 300px; + font-size: 20px; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f0f0; +} + +.container:focus, +.container:focus-within { + outline: 2px solid #1890ff; +} diff --git a/package.json b/package.json index b0cc707..cf9e00d 100644 --- a/package.json +++ b/package.json @@ -1,67 +1,22 @@ { - "name": "easy-antd-modal", - "version": "1.5.1", - "description": "二次开发, 简化 Ant Design Modal 的使用方式", - "keywords": [ - "antd", - "Ant Design", - "Modal", - "React", - "drag" - ], - "homepage": "https://github.com/Wxh16144/easy-antd-modal#readme", + "name": "react-record-hotkey", + "private": true, + "homepage": "https://github.com/Wxh16144/react-record-hotkey#readme", "bugs": { - "url": "https://github.com/Wxh16144/easy-antd-modal/issues/new" + "url": "https://github.com/Wxh16144/react-record-hotkey/issues/new" }, "repository": { "type": "git", - "url": "https://github.com/Wxh16144/easy-antd-modal.git" + "url": "https://github.com/Wxh16144/react-record-hotkey.git" }, "license": "MIT", "author": "Wxh16144(wxh1220@gmail.com)", - "sideEffects": false, - "exports": { - ".": { - "types": "./es/index.d.ts", - "import": "./es/index.js", - "require": "./lib/index.js" - }, - "./es/*": "./es/*", - "./lib/*": "./lib/*", - "./dist/*": "./dist/*", - "./mobile": { - "types": "./es/mobile/index.d.ts", - "import": "./es/mobile/index.js", - "require": "./lib/mobile/index.js" - }, - "./drag-modal": { - "types": "./es/drag-modal/index.d.ts", - "import": "./es/drag-modal/index.js", - "require": "./lib/drag-modal/index.js" - }, - "./hooks": { - "types": "./es/hooks/index.d.ts", - "import": "./es/hooks/index.js", - "require": "./lib/hooks/index.js" - }, - "./util": { - "types": "./es/util/index.d.ts", - "import": "./es/util/index.js", - "require": "./lib/util/index.js" - } - }, - "main": "lib/index.js", - "unpkg": "dist/easy-antd-modal.min.js", - "module": "es/index.js", - "types": "es/index.d.ts", - "files": [ - "dist", - "lib", - "es" + "workspaces": [ + "packages/*" ], "scripts": { - "build": "father build", - "build:watch": "father dev", + "build": "turbo build --filter={./packages/*}", + "build:watch": "turbo dev --filter={./packages/*}", "ci": "npm run lint && npm run type-check && npm run doctor && npm run build", "clean": "rm -rf es lib dist coverage .dumi/tmp .eslintcache .doc", "dev": "dumi dev", @@ -71,7 +26,8 @@ "prepare": "husky install && npm run setup", "prepublishOnly": "npm run doctor && npm run build", "prettier": "prettier -c --write \"**/**\"", - "release": "semantic-release", + "release": "multi-semantic-release", + "release:local": "multi-semantic-release --no-ci", "setup": "dumi setup && npm run setup:link", "setup:link": "[ -f examples/with-antd4/src/App.tsx ] || ln -s ../../with-antd5/src/App.tsx examples/with-antd4/src/App.tsx", "start": "dumi dev", @@ -98,6 +54,7 @@ "@commitlint/config-conventional": "^17", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", + "@semrel-extra/npm": "^1.2.2", "@testing-library/jest-dom": "^5", "@testing-library/react": "^14", "@types/react": "^18", @@ -105,6 +62,7 @@ "@types/testing-library__jest-dom": "^5", "@umijs/lint": "^4", "@vitest/coverage-v8": "latest", + "antd": "^5", "antd4": "npm:antd@4", "commitlint": "^17", "concurrently": "^7", @@ -117,25 +75,18 @@ "husky": "^8", "jsdom": "^22", "lint-staged": "^13", + "multi-semantic-release": "^3.0.2", "prettier": "^2", "prettier-plugin-organize-imports": "^3", "prettier-plugin-packagejson": "^2", "react": "^18", "react-dom": "^18", - "semantic-release": "^21", + "semantic-release": "^19", "stylelint": "^15", + "turbo": "^1.12.4", "typescript": "^5", "vitest": "latest" }, - "peerDependencies": { - "@dnd-kit/core": "^6", - "@dnd-kit/modifiers": "^6", - "@dnd-kit/utilities": "^3", - "antd": ">=4.23.0 || >=5.0.0", - "antd-mobile": "^5", - "react": ">=17.0.0", - "react-dom": ">=17.0.0" - }, "packageManager": "pnpm@8.6.2", "publishConfig": { "access": "public", diff --git a/packages/antd-record-hotkey-input/.fatherrc.ts b/packages/antd-record-hotkey-input/.fatherrc.ts new file mode 100644 index 0000000..3305dd5 --- /dev/null +++ b/packages/antd-record-hotkey-input/.fatherrc.ts @@ -0,0 +1,5 @@ +import { defineConfig } from 'father'; + +export default defineConfig({ + extends: '../../.fatherrc.base.ts', +}); diff --git a/packages/antd-record-hotkey-input/package.json b/packages/antd-record-hotkey-input/package.json new file mode 100644 index 0000000..3cd61e0 --- /dev/null +++ b/packages/antd-record-hotkey-input/package.json @@ -0,0 +1,57 @@ +{ + "name": "antd-record-hotkey-input", + "version": "0.0.0", + "description": "", + "keywords": [ + "react", + "hotkey", + "antd", + "Ant Design" + ], + "repository": { + "type": "git", + "url": "https://github.com/Wxh16144/react-record-hotkey.git", + "directory": "packages/antd-record-hotkey-input" + }, + "license": "MIT", + "author": "Wxh16144(wxh1220@gmail.com)", + "exports": { + ".": { + "types": "./es/index.d.ts", + "import": { + "node": "./lib/index.js", + "default": "./es/index.js" + }, + "require": "./lib/index.js" + }, + "./es/*": { + "types": "./es/*.d.ts", + "default": "./es/*" + }, + "./lib/*": { + "types": "./lib/*.d.ts", + "default": "./lib/*" + } + }, + "main": "lib/index.js", + "module": "es/index.js", + "types": "es/index.d.ts", + "files": [ + "lib", + "es" + ], + "scripts": { + "build": "father build", + "dev": "father dev" + }, + "peerDependencies": { + "@ant-design/icons": "^5", + "ahooks": "^3", + "antd": "^5 || ^4", + "rc-util": "^5", + "react": ">16.8.0", + "react-dom": ">16.8.0", + "react-use-record-hotkey": "workspace:^*", + "ua-parser-js": "^1" + } +} diff --git a/packages/antd-record-hotkey-input/readme.md b/packages/antd-record-hotkey-input/readme.md new file mode 100644 index 0000000..57226e4 --- /dev/null +++ b/packages/antd-record-hotkey-input/readme.md @@ -0,0 +1,3 @@ +# antd-record-hotkey-input + +> WIP diff --git a/packages/antd-record-hotkey-input/src/ActionIcon.tsx b/packages/antd-record-hotkey-input/src/ActionIcon.tsx new file mode 100644 index 0000000..51941a8 --- /dev/null +++ b/packages/antd-record-hotkey-input/src/ActionIcon.tsx @@ -0,0 +1,27 @@ +import type { ButtonProps, TooltipProps } from 'antd'; +import { Button, Tooltip } from 'antd'; +import type { CSSProperties } from 'react'; + +export interface ActionIconProps extends Omit { + title?: TooltipProps['title']; + cursor?: CSSProperties['cursor']; + placement?: TooltipProps['placement']; + icon?: ButtonProps['icon']; +} + +const ActionIcon = (props: ActionIconProps) => { + const { placement, title, icon, cursor, onClick, ...restProps } = props; + let iconNode = + * + *

Recording: {isRecording ? 'Yes' : 'No'}

+ *

Hotkey: {Array.from(keys).join('+')}

+ * + * ); + * ``` + **/ +const useRecordHotkey = (opt?: Options) => { + const { onClean, onConfirm } = opt || {}; + const ref = useRef(null); + const [keys, setKeys] = useState>(new Set()); + const [isRecording, setIsRecording] = useState(false); + + const reset = () => { + setKeys(new Set()); + }; + + const start = React.useCallback(() => { + reset(); + setIsRecording(true); + ref.current?.focus?.(); + }, []); + + const stop = React.useCallback(() => { + reset(); + setIsRecording(false); + ref.current?.blur?.(); + }, []); + + const isValid = verify(keys); + + useEventListener( + 'blur', + () => { + setIsRecording(false); + + if (isValid) { + onConfirm?.(keys); + } else { + onClean?.(); + } + }, + { target: ref }, + ); + + // useEventListener('focus', start, { target: ref }); + + useEventListener( + 'keydown', + (event) => { + if (!isRecording) return; + + event.stopPropagation(); + event.preventDefault(); + + const someModifierIsPressed = MODIFIERS.some((key) => event[`${key}Key`]); + const key = mapKey(event.code); + + if (['escape', 'enter'].includes(key) && !someModifierIsPressed) { + setIsRecording(false); + event.target?.blur?.(); + + return; + } + + // Define allowed keys + const keyIsAlphaNum = event.keyCode >= 48 && event.keyCode <= 90; // 48-90 is a-z, A-Z, 0-9 + const keyIsBetweenF1andF12 = event.keyCode >= 112 && event.keyCode <= 123; // 112-123 is F1-F12 + const keyIsAllowedChar = allowedChars.includes(key); + + const modifiers = new Set(MODIFIERS.filter((key) => event[`${key}Key`])); + + if (modifiers.size > 0) { + const normalKey = (keyIsAlphaNum || keyIsBetweenF1andF12 || keyIsAllowedChar) && key; + setKeys(new Set([...Array.from(modifiers), normalKey].filter(Boolean) as string[])); + } else { + reset(); + } + }, + { target: ref }, + ); + + return [ref, keys, { start, stop, reset, isRecording }] as const; +}; + +export default useRecordHotkey; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30d6bb0..e5184df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,22 +7,6 @@ settings: importers: .: - dependencies: - '@dnd-kit/core': - specifier: ^6 - version: 6.0.8(react-dom@18.2.0)(react@18.2.0) - '@dnd-kit/modifiers': - specifier: ^6 - version: 6.0.1(@dnd-kit/core@6.0.8)(react@18.2.0) - '@dnd-kit/utilities': - specifier: ^3 - version: 3.2.1(react@18.2.0) - antd: - specifier: '>=4.23.0 || >=5.0.0' - version: 5.8.2(react-dom@18.2.0)(react@18.2.0) - antd-mobile: - specifier: ^5 - version: 5.32.0(react-dom@18.2.0)(react@18.2.0) devDependencies: '@commitlint/cli': specifier: ^17 @@ -32,10 +16,13 @@ importers: version: 17.6.7 '@semantic-release/changelog': specifier: ^6.0.3 - version: 6.0.3(semantic-release@21.0.7) + version: 6.0.3(semantic-release@19.0.5) '@semantic-release/git': specifier: ^10.0.1 - version: 10.0.1(semantic-release@21.0.7) + version: 10.0.1(semantic-release@19.0.5) + '@semrel-extra/npm': + specifier: ^1.2.2 + version: 1.2.2 '@testing-library/jest-dom': specifier: ^5 version: 5.17.0 @@ -56,7 +43,10 @@ importers: version: 4.0.74(eslint@8.46.0)(styled-components@6.0.7)(stylelint@15.10.2)(typescript@5.1.6) '@vitest/coverage-v8': specifier: latest - version: 1.1.3(vitest@1.1.3) + version: 1.3.1(vitest@1.3.1) + antd: + specifier: ^5 + version: 5.12.8(react-dom@18.2.0)(react@18.2.0) antd4: specifier: npm:antd@4 version: /antd@4.24.13(react-dom@18.2.0)(react@18.2.0) @@ -74,7 +64,7 @@ importers: version: 2.2.4(@babel/core@7.22.10)(@types/node@20.4.8)(@types/react@18.2.19)(eslint@8.46.0)(postcss@8.4.33)(prettier@2.8.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.0.7)(stylelint@15.10.2)(typescript@5.1.6)(webpack@5.88.2) dumi-theme-antd-style: specifier: latest - version: 0.29.7(@types/react@18.2.19)(dumi@2.2.4)(react-dom@18.2.0)(react@18.2.0) + version: 0.29.8(@types/react@18.2.19)(dumi@2.2.4)(react-dom@18.2.0)(react@18.2.0) eslint: specifier: ^8 version: 8.46.0 @@ -93,6 +83,9 @@ importers: lint-staged: specifier: ^13 version: 13.2.3 + multi-semantic-release: + specifier: ^3.0.2 + version: 3.0.2 prettier: specifier: ^2 version: 2.8.8 @@ -109,32 +102,84 @@ importers: specifier: ^18 version: 18.2.0(react@18.2.0) semantic-release: - specifier: ^21 - version: 21.0.7 + specifier: ^19 + version: 19.0.5 stylelint: specifier: ^15 version: 15.10.2 + turbo: + specifier: ^1.12.4 + version: 1.12.4 typescript: specifier: ^5 version: 5.1.6 vitest: specifier: latest - version: 1.1.3(@types/node@20.4.8)(jsdom@22.1.0) + version: 1.3.1(@types/node@20.4.8)(jsdom@22.1.0) + + examples/react-hooks: + dependencies: + antd: + specifier: ^5.12.8 + version: 5.12.8(react-dom@18.2.0)(react@18.2.0) + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) + react-use-record-hotkey: + specifier: workspace:* + version: link:../../packages/react-use-record-hotkey + devDependencies: + '@types/react': + specifier: ^18.2.14 + version: 18.2.19 + '@types/react-dom': + specifier: ^18.2.6 + version: 18.2.7 + '@typescript-eslint/eslint-plugin': + specifier: ^5.61.0 + version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)(typescript@5.1.6) + '@typescript-eslint/parser': + specifier: ^5.61.0 + version: 5.62.0(eslint@8.46.0)(typescript@5.1.6) + '@vitejs/plugin-react': + specifier: ^4.0.1 + version: 4.0.4(vite@4.4.9) + eslint: + specifier: ^8.44.0 + version: 8.46.0 + eslint-plugin-react-hooks: + specifier: ^4.6.0 + version: 4.6.0(eslint@8.46.0) + eslint-plugin-react-refresh: + specifier: ^0.4.1 + version: 0.4.3(eslint@8.46.0) + typescript: + specifier: ^5.0.2 + version: 5.1.6 + vite: + specifier: ^4.4.0 + version: 4.4.9(@types/node@20.4.8) examples/with-antd4: dependencies: antd: specifier: ^4 version: 4.24.13(react-dom@18.2.0)(react@18.2.0) - easy-antd-modal: + antd-record-hotkey-input: specifier: workspace:* - version: link:../.. + version: link:../../packages/antd-record-hotkey-input react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) + react-hotkeys-hook: + specifier: ^4.5.0 + version: 4.5.0(react-dom@18.2.0)(react@18.2.0) devDependencies: '@types/react': specifier: ^18.2.14 @@ -170,17 +215,20 @@ importers: examples/with-antd5: dependencies: antd: - specifier: ^5.12.8 - version: 5.12.8(react-dom@18.2.0)(react@18.2.0) - easy-antd-modal: + specifier: ^5.14.1 + version: 5.14.1(react-dom@18.2.0)(react@18.2.0) + antd-record-hotkey-input: specifier: workspace:* - version: link:../.. + version: link:../../packages/antd-record-hotkey-input react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) + react-hotkeys-hook: + specifier: ^4.5.0 + version: 4.5.0(react-dom@18.2.0)(react@18.2.0) devDependencies: '@types/react': specifier: ^18.2.14 @@ -213,6 +261,45 @@ importers: specifier: ^4.4.0 version: 4.4.9(@types/node@20.4.8) + packages/antd-record-hotkey-input: + dependencies: + '@ant-design/icons': + specifier: ^5 + version: 5.2.6(react-dom@18.2.0)(react@18.2.0) + ahooks: + specifier: ^3 + version: 3.7.8(react@18.2.0) + antd: + specifier: ^5 || ^4 + version: 5.12.8(react-dom@18.2.0)(react@18.2.0) + rc-util: + specifier: ^5 + version: 5.38.1(react-dom@18.2.0)(react@18.2.0) + react: + specifier: '>16.8.0' + version: 18.2.0 + react-dom: + specifier: '>16.8.0' + version: 18.2.0(react@18.2.0) + react-use-record-hotkey: + specifier: workspace:^* + version: link:../react-use-record-hotkey + ua-parser-js: + specifier: ^1 + version: 1.0.37 + + packages/react-use-record-hotkey: + dependencies: + ahooks: + specifier: ^3 + version: 3.7.8(react@18.2.0) + react: + specifier: '>16.8.0' + version: 18.2.0 + react-dom: + specifier: '>16.8.0' + version: 18.2.0(react@18.2.0) + packages: /@aashutoshrathi/word-wrap@1.2.6: @@ -237,19 +324,13 @@ packages: dependencies: '@ctrl/tinycolor': 3.6.1 - /@ant-design/colors@7.0.0: - resolution: {integrity: sha512-iVm/9PfGCbC0dSMBrz7oiEXZaaGH7ceU40OJEfKmyuzR9R5CRimJYPlRiFtMQGQcbNMea/ePcoIebi4ASGYXtg==} - dependencies: - '@ctrl/tinycolor': 3.6.1 - dev: false - /@ant-design/colors@7.0.2: resolution: {integrity: sha512-7KJkhTiPiLHSu+LmMJnehfJ6242OCxSlR3xHVBecYxnMW8MS/878NXct1GqYARyL59fyeFdKRxXTfvR9SnDgJg==} dependencies: '@ctrl/tinycolor': 3.6.1 - /@ant-design/cssinjs@1.16.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-KKVB5Or6BDC1Bo3Y4KMlOkyQU0P+6GTodubrQ9YfrtXG1TgO4wpaEfg9I4ZA49R7M+Ij2KKNwb+5abvmXy6K8w==} + /@ant-design/cssinjs@1.18.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-514V9rjLaFYb3v4s55/8bg2E6fb81b99s3crDZf4nSwtiDLLXs8axnIph+q2TVkY2hbJPZOn/cVsVcnLkzFy7w==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' @@ -263,10 +344,9 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) stylis: 4.3.0 - dev: false - /@ant-design/cssinjs@1.18.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-514V9rjLaFYb3v4s55/8bg2E6fb81b99s3crDZf4nSwtiDLLXs8axnIph+q2TVkY2hbJPZOn/cVsVcnLkzFy7w==} + /@ant-design/cssinjs@1.18.4(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-IrUAOj5TYuMG556C9gdbFuOrigyhzhU5ZYpWb3gYTxAwymVqRbvLzFCZg6OsjLBR6GhzcxYF3AhxKmjB+rA2xA==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' @@ -284,6 +364,9 @@ packages: /@ant-design/icons-svg@4.3.0: resolution: {integrity: sha512-WOgvdH/1Wl8Z7VXigRbCa5djO14zxrNTzvrAQzhWiBQtEKT0uTc8K1ltjKZ8U1gPn/wXhMA8/jE39SJl0WNxSg==} + /@ant-design/icons-svg@4.4.2: + resolution: {integrity: sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==} + /@ant-design/icons@4.8.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-T89P2jG2vM7OJ0IfGx2+9FC5sQjtTzRSz+mCHTXkFn/ELZc2YpfStmYHmqzq2Jx55J0F7+O6i5/ZKFSVNWCKNg==} engines: {node: '>=8'} @@ -292,15 +375,15 @@ packages: react-dom: '>=16.0.0' dependencies: '@ant-design/colors': 6.0.0 - '@ant-design/icons-svg': 4.3.0 + '@ant-design/icons-svg': 4.4.2 '@babel/runtime': 7.23.7 classnames: 2.5.1 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@ant-design/icons@5.2.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-9Jc59v5fl5dzmxqLWtRev3dJwU7Ya9ZheoI6XmZjZiQ7PRtk77rC+Rbt7GJzAPPg43RQ4YO53RE1u8n+Et97vQ==} + /@ant-design/icons@5.2.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-4wn0WShF43TrggskBJPRqCD0fcHbzTYjnaoskdiJrVHg86yxoZ8ZUqsXvyn4WUqehRiFKnaclOhqk9w4Ui2KVw==} engines: {node: '>=8'} peerDependencies: react: '>=16.0.0' @@ -310,21 +393,19 @@ packages: '@ant-design/icons-svg': 4.3.0 '@babel/runtime': 7.23.7 classnames: 2.5.1 - lodash.camelcase: 4.3.0 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /@ant-design/icons@5.2.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-4wn0WShF43TrggskBJPRqCD0fcHbzTYjnaoskdiJrVHg86yxoZ8ZUqsXvyn4WUqehRiFKnaclOhqk9w4Ui2KVw==} + /@ant-design/icons@5.3.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-69FgBsIkeCjw72ZU3fJpqjhmLCPrzKGEllbrAZK7MUdt1BrKsyG6A8YDCBPKea27UQ0tRXi33PcjR4tp/tEXMg==} engines: {node: '>=8'} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: '@ant-design/colors': 7.0.2 - '@ant-design/icons-svg': 4.3.0 + '@ant-design/icons-svg': 4.4.2 '@babel/runtime': 7.23.7 classnames: 2.5.1 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) @@ -420,10 +501,10 @@ packages: '@babel/helper-compilation-targets': 7.22.10 '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.10) '@babel/helpers': 7.22.10 - '@babel/parser': 7.22.10 + '@babel/parser': 7.23.6 '@babel/template': 7.22.5 '@babel/traverse': 7.22.10 - '@babel/types': 7.22.10 + '@babel/types': 7.23.6 convert-source-map: 1.9.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -690,14 +771,6 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser@7.22.10: - resolution: {integrity: sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.23.6 - dev: true - /@babel/parser@7.23.6: resolution: {integrity: sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==} engines: {node: '>=6.0.0'} @@ -1741,6 +1814,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.0 + dev: true /@babel/runtime@7.23.7: resolution: {integrity: sha512-w06OXVOFso7LcbzMiDGt+3X7Rh7Ho8MmgPoWU3rarH+8upf+wSU/grlGbWzQyr3DkdN6ZeuMFjpdwW0Q+HxobA==} @@ -1775,15 +1849,6 @@ packages: - supports-color dev: true - /@babel/types@7.22.10: - resolution: {integrity: sha512-obaoigiLrlDZ7TUQln/8m4mSqIW2QFeOrCQc9r+xsaHGNoplVNYlRVpsfE8Vj35GEm2ZH4ZhrNYogs/3fj85kg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.23.4 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: true - /@babel/types@7.23.6: resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} engines: {node: '>=6.9.0'} @@ -1801,6 +1866,10 @@ packages: resolution: {integrity: sha512-h0OYmPR3A5Dfbetra/GzxBAzQk8sH7LhRkRUTdagX6nrtlUgJGYCTv4bBK33jsTQw9HDd8PE2x1Ma+iRKEDUsw==} dev: true + /@changesets/types@4.1.0: + resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} + dev: true + /@colors/colors@1.5.0: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -2129,58 +2198,10 @@ packages: postcss-selector-parser: 6.0.13 dev: true - /@ctrl/tinycolor@3.6.0: - resolution: {integrity: sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==} - engines: {node: '>=10'} - dev: false - /@ctrl/tinycolor@3.6.1: resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} engines: {node: '>=10'} - /@dnd-kit/accessibility@3.0.1(react@18.2.0): - resolution: {integrity: sha512-HXRrwS9YUYQO9lFRc/49uO/VICbM+O+ZRpFDe9Pd1rwVv2PCNkRiTZRdxrDgng/UkvdC3Re9r2vwPpXXrWeFzg==} - peerDependencies: - react: '>=16.8.0' - dependencies: - react: 18.2.0 - tslib: 2.6.1 - dev: false - - /@dnd-kit/core@6.0.8(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-lYaoP8yHTQSLlZe6Rr9qogouGUz9oRUj4AHhDQGQzq/hqaJRpFo65X+JKsdHf8oUFBzx5A+SJPUvxAwTF2OabA==} - peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' - dependencies: - '@dnd-kit/accessibility': 3.0.1(react@18.2.0) - '@dnd-kit/utilities': 3.2.1(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - tslib: 2.6.1 - dev: false - - /@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.0.8)(react@18.2.0): - resolution: {integrity: sha512-rbxcsg3HhzlcMHVHWDuh9LCjpOVAgqbV78wLGI8tziXY3+qcMQ61qVXIvNKQFuhj75dSfD+o+PYZQ/NUk2A23A==} - peerDependencies: - '@dnd-kit/core': ^6.0.6 - react: '>=16.8.0' - dependencies: - '@dnd-kit/core': 6.0.8(react-dom@18.2.0)(react@18.2.0) - '@dnd-kit/utilities': 3.2.1(react@18.2.0) - react: 18.2.0 - tslib: 2.6.1 - dev: false - - /@dnd-kit/utilities@3.2.1(react@18.2.0): - resolution: {integrity: sha512-OOXqISfvBw/1REtkSK2N3Fi2EQiLMlWUlqnOK/UpOISqBZPWpE6TqL+jcPtMOkE8TqYGiURvRdPSI9hltNUjEA==} - peerDependencies: - react: '>=16.8.0' - dependencies: - react: 18.2.0 - tslib: 2.6.1 - dev: false - /@emotion/babel-plugin@11.11.0: resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==} dependencies: @@ -2976,6 +2997,7 @@ packages: resolution: {integrity: sha512-jk3WqquEJRlcyu7997NtR5PibI+y5bi+LS3hPmguVClypenMsCY3CBa3LAQnozRCtCrYWSEtAdiskpamuJRFOQ==} dependencies: '@floating-ui/utils': 0.1.1 + dev: true /@floating-ui/dom@0.4.5: resolution: {integrity: sha512-b+prvQgJt8pieaKYMSJBXHxX/DYwdLsAWxKYqnO5dO2V4oo/TYBZJAUQCVNjTWWsrs6o4VDrNcP9+E70HAhJdw==} @@ -2988,6 +3010,7 @@ packages: dependencies: '@floating-ui/core': 1.4.1 '@floating-ui/utils': 0.1.1 + dev: true /@floating-ui/react-dom-interactions@0.3.1(@types/react@18.2.19)(react-dom@18.1.0)(react@18.1.0): resolution: {integrity: sha512-tP2KEh7EHJr5hokSBHcPGojb+AorDNUf0NYfZGg/M+FsMvCOOsSEeEF0O1NDfETIzDnpbHnCs0DuvCFhSMSStg==} @@ -3043,6 +3066,7 @@ packages: /@floating-ui/utils@0.1.1: resolution: {integrity: sha512-m0G6wlnhm/AX0H12IOWtK8gASEMffnX08RtKkCgTdHb9JpHKGloI7icFfLg9ZmQeavcvR0PKmzxClyuFPSjKWw==} + dev: true /@formatjs/ecma402-abstract@1.17.0: resolution: {integrity: sha512-6ueQTeJZtwKjmh23bdkq/DMqH4l4bmfvtQH98blOSbiXv/OUiyijSW6jU22IT8BNM1ujCaEvJfTtyCYVH38EMQ==} @@ -3302,6 +3326,26 @@ packages: react: 18.2.0 dev: true + /@manypkg/find-root@1.1.0: + resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} + dependencies: + '@babel/runtime': 7.23.7 + '@types/node': 12.20.55 + find-up: 4.1.0 + fs-extra: 8.1.0 + dev: true + + /@manypkg/get-packages@1.1.3: + resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + dependencies: + '@babel/runtime': 7.23.7 + '@changesets/types': 4.1.0 + '@manypkg/find-root': 1.1.0 + fs-extra: 8.1.0 + globby: 11.1.0 + read-yaml-file: 1.1.0 + dev: true + /@microsoft/api-extractor-model@7.27.5(@types/node@20.4.8): resolution: {integrity: sha512-9/tBzYMJitR+o+zkPr1lQh2+e8ClcaTF6eZo7vZGDqRt2O5XmXWPbYJZmxyM3wb5at6lfJNEeGZrQXLjsQ0Nbw==} dependencies: @@ -3378,101 +3422,112 @@ packages: fastq: 1.15.0 dev: true - /@octokit/auth-token@4.0.0: - resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} - engines: {node: '>= 18'} + /@octokit/auth-token@3.0.4: + resolution: {integrity: sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==} + engines: {node: '>= 14'} dev: true - /@octokit/core@5.0.0: - resolution: {integrity: sha512-YbAtMWIrbZ9FCXbLwT9wWB8TyLjq9mxpKdgB3dUNxQcIVTf9hJ70gRPwAcqGZdY6WdJPZ0I7jLaaNDCiloGN2A==} - engines: {node: '>= 18'} + /@octokit/core@4.2.4: + resolution: {integrity: sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==} + engines: {node: '>= 14'} dependencies: - '@octokit/auth-token': 4.0.0 - '@octokit/graphql': 7.0.1 - '@octokit/request': 8.1.1 - '@octokit/request-error': 5.0.0 - '@octokit/types': 11.1.0 + '@octokit/auth-token': 3.0.4 + '@octokit/graphql': 5.0.6 + '@octokit/request': 6.2.8 + '@octokit/request-error': 3.0.3 + '@octokit/types': 9.3.2 before-after-hook: 2.2.3 universal-user-agent: 6.0.0 + transitivePeerDependencies: + - encoding dev: true - /@octokit/endpoint@9.0.0: - resolution: {integrity: sha512-szrQhiqJ88gghWY2Htt8MqUDO6++E/EIXqJ2ZEp5ma3uGS46o7LZAzSLt49myB7rT+Hfw5Y6gO3LmOxGzHijAQ==} - engines: {node: '>= 18'} + /@octokit/endpoint@7.0.6: + resolution: {integrity: sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg==} + engines: {node: '>= 14'} dependencies: - '@octokit/types': 11.1.0 + '@octokit/types': 9.3.2 is-plain-object: 5.0.0 universal-user-agent: 6.0.0 dev: true - /@octokit/graphql@7.0.1: - resolution: {integrity: sha512-T5S3oZ1JOE58gom6MIcrgwZXzTaxRnxBso58xhozxHpOqSTgDS6YNeEUvZ/kRvXgPrRz/KHnZhtb7jUMRi9E6w==} - engines: {node: '>= 18'} + /@octokit/graphql@5.0.6: + resolution: {integrity: sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw==} + engines: {node: '>= 14'} dependencies: - '@octokit/request': 8.1.1 - '@octokit/types': 11.1.0 + '@octokit/request': 6.2.8 + '@octokit/types': 9.3.2 universal-user-agent: 6.0.0 + transitivePeerDependencies: + - encoding dev: true /@octokit/openapi-types@18.0.0: resolution: {integrity: sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw==} dev: true - /@octokit/plugin-paginate-rest@8.0.0(@octokit/core@5.0.0): - resolution: {integrity: sha512-2xZ+baZWUg+qudVXnnvXz7qfrTmDeYPCzangBVq/1gXxii/OiS//4shJp9dnCCvj1x+JAm9ji1Egwm1BA47lPQ==} - engines: {node: '>= 18'} + /@octokit/plugin-paginate-rest@6.1.2(@octokit/core@4.2.4): + resolution: {integrity: sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ==} + engines: {node: '>= 14'} peerDependencies: - '@octokit/core': '>=5' + '@octokit/core': '>=4' dependencies: - '@octokit/core': 5.0.0 - '@octokit/types': 11.1.0 + '@octokit/core': 4.2.4 + '@octokit/tsconfig': 1.0.2 + '@octokit/types': 9.3.2 dev: true - /@octokit/plugin-retry@6.0.0(@octokit/core@5.0.0): - resolution: {integrity: sha512-a1/A4A+PB1QoAHQfLJxGHhLfSAT03bR1jJz3GgQJZvty2ozawFWs93MiBQXO7SL2YbO7CIq0Goj4qLOBj8JeMQ==} - engines: {node: '>= 18'} + /@octokit/plugin-retry@4.1.6(@octokit/core@4.2.4): + resolution: {integrity: sha512-obkYzIgEC75r8+9Pnfiiqy3y/x1bc3QLE5B7qvv9wi9Kj0R5tGQFC6QMBg1154WQ9lAVypuQDGyp3hNpp15gQQ==} + engines: {node: '>= 14'} peerDependencies: - '@octokit/core': '>=5' + '@octokit/core': '>=3' dependencies: - '@octokit/core': 5.0.0 - '@octokit/request-error': 5.0.0 - '@octokit/types': 11.1.0 + '@octokit/core': 4.2.4 + '@octokit/types': 9.3.2 bottleneck: 2.19.5 dev: true - /@octokit/plugin-throttling@7.0.0(@octokit/core@5.0.0): - resolution: {integrity: sha512-KL2k/d0uANc8XqP5S64YcNFCudR3F5AaKO39XWdUtlJIjT9Ni79ekWJ6Kj5xvAw87udkOMEPcVf9xEge2+ahew==} - engines: {node: '>= 18'} + /@octokit/plugin-throttling@5.2.3(@octokit/core@4.2.4): + resolution: {integrity: sha512-C9CFg9mrf6cugneKiaI841iG8DOv6P5XXkjmiNNut+swePxQ7RWEdAZRp5rJoE1hjsIqiYcKa/ZkOQ+ujPI39Q==} + engines: {node: '>= 14'} peerDependencies: - '@octokit/core': ^5.0.0 + '@octokit/core': ^4.0.0 dependencies: - '@octokit/core': 5.0.0 - '@octokit/types': 11.1.0 + '@octokit/core': 4.2.4 + '@octokit/types': 9.3.2 bottleneck: 2.19.5 dev: true - /@octokit/request-error@5.0.0: - resolution: {integrity: sha512-1ue0DH0Lif5iEqT52+Rf/hf0RmGO9NWFjrzmrkArpG9trFfDM/efx00BJHdLGuro4BR/gECxCU2Twf5OKrRFsQ==} - engines: {node: '>= 18'} + /@octokit/request-error@3.0.3: + resolution: {integrity: sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==} + engines: {node: '>= 14'} dependencies: - '@octokit/types': 11.1.0 + '@octokit/types': 9.3.2 deprecation: 2.3.1 once: 1.4.0 dev: true - /@octokit/request@8.1.1: - resolution: {integrity: sha512-8N+tdUz4aCqQmXl8FpHYfKG9GelDFd7XGVzyN8rc6WxVlYcfpHECnuRkgquzz+WzvHTK62co5di8gSXnzASZPQ==} - engines: {node: '>= 18'} + /@octokit/request@6.2.8: + resolution: {integrity: sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw==} + engines: {node: '>= 14'} dependencies: - '@octokit/endpoint': 9.0.0 - '@octokit/request-error': 5.0.0 - '@octokit/types': 11.1.0 + '@octokit/endpoint': 7.0.6 + '@octokit/request-error': 3.0.3 + '@octokit/types': 9.3.2 is-plain-object: 5.0.0 + node-fetch: 2.7.0 universal-user-agent: 6.0.0 + transitivePeerDependencies: + - encoding dev: true - /@octokit/types@11.1.0: - resolution: {integrity: sha512-Fz0+7GyLm/bHt8fwEqgvRBWwIV1S6wRRyq+V6exRKLVWaKGsuy6H9QFYeBVDV7rK6fO3XwHgQOPxv+cLj2zpXQ==} + /@octokit/tsconfig@1.0.2: + resolution: {integrity: sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==} + dev: true + + /@octokit/types@9.3.2: + resolution: {integrity: sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==} dependencies: '@octokit/openapi-types': 18.0.0 dev: true @@ -3549,20 +3604,6 @@ packages: config-chain: 1.1.13 dev: true - /@rc-component/color-picker@1.4.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-vh5EWqnsayZa/JwUznqDaPJz39jznx/YDbyBuVJntv735tKXKwEUZZb2jYEldOg+NKWZwtALjGMrNeGBmqFoEw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - '@ctrl/tinycolor': 3.6.1 - classnames: 2.5.1 - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /@rc-component/color-picker@1.5.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-onyAFhWKXuG4P162xE+7IgaJkPkwM94XlOYnQuu69XdXWMfxpeFi6tpJBsieIMV7EnyLV5J3lDzdLiFeK0iEBA==} peerDependencies: @@ -3628,14 +3669,14 @@ packages: dependencies: '@babel/runtime': 7.23.7 '@rc-component/portal': 1.1.2(react-dom@18.2.0)(react@18.2.0) - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@rc-component/tour@1.8.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-CsrQnfKgNArxx2j1RNHVLZgVA+rLrEj06lIsl4KSynMqADsqz8eKvVkr0F3p9PA10948M6WEEZt5a/FGAbGR2A==} + /@rc-component/tour@1.12.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-U4mf1FiUxGCwrX4ed8op77Y8VKur+8Y/61ylxtqGbcSoh1EBC7bWd/DkLu0ClTUrKZInqEi1FL7YgFtnT90vHA==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -3643,15 +3684,14 @@ packages: dependencies: '@babel/runtime': 7.23.7 '@rc-component/portal': 1.1.2(react-dom@18.2.0)(react@18.2.0) - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /@rc-component/trigger@1.15.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-U1F9WsIMLXB2JLjLSEa6uWifmTX2vxQ1r0RQCLnor8d/83e3U7TuclNbcWcM/eGcgrT2YUZid3TLDDKbDOHmLg==} + /@rc-component/trigger@1.18.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-jRLYgFgjLEPq3MvS87fIhcfuywFSRDaDrYw1FLku7Cm4esszvzTbA0JBsyacAyLrK9rF3TiHFcvoEDMzoD3CTA==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -3660,16 +3700,14 @@ packages: '@babel/runtime': 7.23.7 '@rc-component/portal': 1.1.2(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 - rc-align: 4.0.15(react-dom@18.2.0)(react@18.2.0) rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /@rc-component/trigger@1.18.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-jRLYgFgjLEPq3MvS87fIhcfuywFSRDaDrYw1FLku7Cm4esszvzTbA0JBsyacAyLrK9rF3TiHFcvoEDMzoD3CTA==} + /@rc-component/trigger@1.18.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Ksr25pXreYe1gX6ayZ1jLrOrl9OAUHUqnuhEx6MeHnNa1zVM5Y2Aj3Q35UrER0ns8D2cJYtmJtVli+i+4eKrvA==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -3684,60 +3722,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@react-spring/animated@9.6.1(react@18.2.0): - resolution: {integrity: sha512-ls/rJBrAqiAYozjLo5EPPLLOb1LM0lNVQcXODTC1SMtS6DbuBCPaKco5svFUQFMP2dso3O+qcC4k9FsKc0KxMQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - '@react-spring/shared': 9.6.1(react@18.2.0) - '@react-spring/types': 9.6.1 - react: 18.2.0 - dev: false - - /@react-spring/core@9.6.1(react@18.2.0): - resolution: {integrity: sha512-3HAAinAyCPessyQNNXe5W0OHzRfa8Yo5P748paPcmMowZ/4sMfaZ2ZB6e5x5khQI8NusOHj8nquoutd6FRY5WQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - '@react-spring/animated': 9.6.1(react@18.2.0) - '@react-spring/rafz': 9.6.1 - '@react-spring/shared': 9.6.1(react@18.2.0) - '@react-spring/types': 9.6.1 - react: 18.2.0 - dev: false - - /@react-spring/rafz@9.6.1: - resolution: {integrity: sha512-v6qbgNRpztJFFfSE3e2W1Uz+g8KnIBs6SmzCzcVVF61GdGfGOuBrbjIcp+nUz301awVmREKi4eMQb2Ab2gGgyQ==} - dev: false - - /@react-spring/shared@9.6.1(react@18.2.0): - resolution: {integrity: sha512-PBFBXabxFEuF8enNLkVqMC9h5uLRBo6GQhRMQT/nRTnemVENimgRd+0ZT4yFnAQ0AxWNiJfX3qux+bW2LbG6Bw==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - '@react-spring/rafz': 9.6.1 - '@react-spring/types': 9.6.1 - react: 18.2.0 - dev: false - - /@react-spring/types@9.6.1: - resolution: {integrity: sha512-POu8Mk0hIU3lRXB3bGIGe4VHIwwDsQyoD1F394OK7STTiX9w4dG3cTLljjYswkQN+hDSHRrj4O36kuVa7KPU8Q==} - dev: false - - /@react-spring/web@9.6.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-X2zR6q2Z+FjsWfGAmAXlQaoUHbPmfuCaXpuM6TcwXPpLE1ZD4A1eys/wpXboFQmDkjnrlTmKvpVna1MjWpZ5Hw==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - '@react-spring/animated': 9.6.1(react@18.2.0) - '@react-spring/core': 9.6.1(react@18.2.0) - '@react-spring/shared': 9.6.1(react@18.2.0) - '@react-spring/types': 9.6.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /@rollup/rollup-android-arm-eabi@4.9.3: resolution: {integrity: sha512-nvh9bB41vXEoKKvlWCGptpGt8EhrEwPQFDCY0VAto+R+qpSbaErPS3OjMZuXR8i/2UVw952Dtlnl2JFxH31Qvg==} cpu: [arm] @@ -3888,7 +3872,7 @@ packages: selderee: 0.6.0 dev: true - /@semantic-release/changelog@6.0.3(semantic-release@21.0.7): + /@semantic-release/changelog@6.0.3(semantic-release@19.0.5): resolution: {integrity: sha512-dZuR5qByyfe3Y03TpmCvAxCyTnp7r5XwtHRf/8vD9EAn4ZWbavUX8adMtXYzE86EVh0gyLA7lm5yW4IV30XUag==} engines: {node: '>=14.17'} peerDependencies: @@ -3898,23 +3882,23 @@ packages: aggregate-error: 3.1.0 fs-extra: 11.1.1 lodash: 4.17.21 - semantic-release: 21.0.7 + semantic-release: 19.0.5 dev: true - /@semantic-release/commit-analyzer@10.0.1(semantic-release@21.0.7): - resolution: {integrity: sha512-9ejHzTAijYs9z246sY/dKBatmOPcd0GQ7lH4MgLCkv1q4GCiDZRkjHJkaQZXZVaK7mJybS+sH3Ng6G8i3pYMGQ==} - engines: {node: '>=18'} + /@semantic-release/commit-analyzer@9.0.2(semantic-release@19.0.5): + resolution: {integrity: sha512-E+dr6L+xIHZkX4zNMe6Rnwg4YQrWNXK+rNsvwOPpdFppvZO1olE2fIgWhv89TkQErygevbjsZFSIxp+u6w2e5g==} + engines: {node: '>=14.17'} peerDependencies: - semantic-release: '>=20.1.0' + semantic-release: '>=18.0.0-beta.1' dependencies: - conventional-changelog-angular: 6.0.0 - conventional-commits-filter: 3.0.0 - conventional-commits-parser: 4.0.0 + conventional-changelog-angular: 5.0.13 + conventional-commits-filter: 2.0.7 + conventional-commits-parser: 3.2.4 debug: 4.3.4 import-from: 4.0.0 - lodash-es: 4.17.21 + lodash: 4.17.21 micromatch: 4.0.5 - semantic-release: 21.0.7 + semantic-release: 19.0.5 transitivePeerDependencies: - supports-color dev: true @@ -3924,12 +3908,7 @@ packages: engines: {node: '>=14.17'} dev: true - /@semantic-release/error@4.0.0: - resolution: {integrity: sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==} - engines: {node: '>=18'} - dev: true - - /@semantic-release/git@10.0.1(semantic-release@21.0.7): + /@semantic-release/git@10.0.1(semantic-release@19.0.5): resolution: {integrity: sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==} engines: {node: '>=14.17'} peerDependencies: @@ -3943,81 +3922,87 @@ packages: lodash: 4.17.21 micromatch: 4.0.5 p-reduce: 2.1.0 - semantic-release: 21.0.7 + semantic-release: 19.0.5 transitivePeerDependencies: - supports-color dev: true - /@semantic-release/github@9.0.4(semantic-release@21.0.7): - resolution: {integrity: sha512-kQCGFAsBErvCR6hzNuzu63cj4erQN2krm9zQlg8vl4j5X0mL0d/Ras0wmL5Gkr1TuSS2lweME7M4J5zvtDDDSA==} - engines: {node: '>=18'} + /@semantic-release/github@8.1.0(semantic-release@19.0.5): + resolution: {integrity: sha512-erR9E5rpdsz0dW1I7785JtndQuMWN/iDcemcptf67tBNOmBUN0b2YNOgcjYUnBpgRpZ5ozfBHrK7Bz+2ets/Dg==} + engines: {node: '>=14.17'} peerDependencies: - semantic-release: '>=20.1.0' + semantic-release: '>=18.0.0-beta.1' dependencies: - '@octokit/core': 5.0.0 - '@octokit/plugin-paginate-rest': 8.0.0(@octokit/core@5.0.0) - '@octokit/plugin-retry': 6.0.0(@octokit/core@5.0.0) - '@octokit/plugin-throttling': 7.0.0(@octokit/core@5.0.0) - '@semantic-release/error': 4.0.0 - aggregate-error: 4.0.1 + '@octokit/core': 4.2.4 + '@octokit/plugin-paginate-rest': 6.1.2(@octokit/core@4.2.4) + '@octokit/plugin-retry': 4.1.6(@octokit/core@4.2.4) + '@octokit/plugin-throttling': 5.2.3(@octokit/core@4.2.4) + '@semantic-release/error': 3.0.0 + aggregate-error: 3.1.0 debug: 4.3.4 dir-glob: 3.0.1 - globby: 13.2.2 + fs-extra: 11.1.1 + globby: 11.1.0 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.1 issue-parser: 6.0.0 - lodash-es: 4.17.21 + lodash: 4.17.21 mime: 3.0.0 - p-filter: 3.0.0 - semantic-release: 21.0.7 - url-join: 5.0.0 + p-filter: 2.1.0 + semantic-release: 19.0.5 + url-join: 4.0.1 transitivePeerDependencies: + - encoding - supports-color dev: true - /@semantic-release/npm@10.0.4(semantic-release@21.0.7): - resolution: {integrity: sha512-6R3timIQ7VoL2QWRkc9DG8v74RQtRp7UOe/2KbNaqwJ815qOibAv65bH3RtTEhs4axEaHoZf7HDgFs5opaZ9Jw==} - engines: {node: '>=18'} + /@semantic-release/npm@9.0.2(semantic-release@19.0.5): + resolution: {integrity: sha512-zgsynF6McdzxPnFet+a4iO9HpAlARXOM5adz7VGVCvj0ne8wtL2ZOQoDV2wZPDmdEotDIbVeJjafhelZjs9j6g==} + engines: {node: '>=16 || ^14.17'} peerDependencies: - semantic-release: '>=20.1.0' + semantic-release: '>=19.0.0' dependencies: - '@semantic-release/error': 4.0.0 - aggregate-error: 4.0.1 - execa: 7.2.0 + '@semantic-release/error': 3.0.0 + aggregate-error: 3.1.0 + execa: 5.1.1 fs-extra: 11.1.1 - lodash-es: 4.17.21 + lodash: 4.17.21 nerf-dart: 1.0.0 - normalize-url: 8.0.0 - npm: 9.8.1 + normalize-url: 6.1.0 + npm: 8.19.4 rc: 1.2.8 - read-pkg: 8.0.0 + read-pkg: 5.2.0 registry-auth-token: 5.0.2 - semantic-release: 21.0.7 + semantic-release: 19.0.5 semver: 7.5.4 - tempy: 3.1.0 + tempy: 1.0.1 dev: true - /@semantic-release/release-notes-generator@11.0.4(semantic-release@21.0.7): - resolution: {integrity: sha512-j0Znnwq9IdWTCGzqSlkLv4MpALTsVDZxcVESzJCNN8pK2BYQlYaKsdZ1Ea/+7RlppI3vjhEi33ZKmjSGY1FLKw==} - engines: {node: '>=18'} + /@semantic-release/release-notes-generator@10.0.3(semantic-release@19.0.5): + resolution: {integrity: sha512-k4x4VhIKneOWoBGHkx0qZogNjCldLPRiAjnIpMnlUh6PtaWXp/T+C9U7/TaNDDtgDa5HMbHl4WlREdxHio6/3w==} + engines: {node: '>=14.17'} peerDependencies: - semantic-release: '>=20.1.0' + semantic-release: '>=18.0.0-beta.1' dependencies: - conventional-changelog-angular: 6.0.0 - conventional-changelog-writer: 6.0.1 - conventional-commits-filter: 3.0.0 - conventional-commits-parser: 4.0.0 + conventional-changelog-angular: 5.0.13 + conventional-changelog-writer: 5.0.1 + conventional-commits-filter: 2.0.7 + conventional-commits-parser: 3.2.4 debug: 4.3.4 - get-stream: 7.0.1 + get-stream: 6.0.1 import-from: 4.0.0 - into-stream: 7.0.0 - lodash-es: 4.17.21 - read-pkg-up: 10.0.0 - semantic-release: 21.0.7 + into-stream: 6.0.0 + lodash: 4.17.21 + read-pkg-up: 7.0.1 + semantic-release: 19.0.5 transitivePeerDependencies: - supports-color dev: true + /@semrel-extra/npm@1.2.2: + resolution: {integrity: sha512-QoOJFUd00ORaqOQUe2wYmwPwa7NRdGGfUhzjZ9UEZqoqymXaBDVmFF2hE3h8mFaTa/iWpAyRrrjTsg8HbSpZyw==} + dev: true + /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true @@ -4037,7 +4022,7 @@ packages: postcss: '>=7.0.0' postcss-syntax: '>=0.36.2' dependencies: - '@babel/core': 7.21.0 + '@babel/core': 7.22.10 postcss: 8.4.27 postcss-syntax: 0.36.2(postcss@8.4.33) transitivePeerDependencies: @@ -4487,7 +4472,7 @@ packages: resolution: {integrity: sha512-1Nq7YrO/vJE/FYnqYyw0FS8LdrjExSgIiHyKg7xPpn+yi8Q4huZryKnkJatN1ZRH89Kw2v33/8ZMB7DuZeSLlA==} dependencies: expect: 29.6.2 - pretty-format: 29.6.2 + pretty-format: 29.7.0 dev: true /@types/js-cookie@2.2.7: @@ -4523,6 +4508,10 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: true + /@types/node@12.20.55: + resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + dev: true + /@types/node@17.0.45: resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} dev: true @@ -4572,7 +4561,7 @@ packages: dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.3 - csstype: 3.1.2 + csstype: 3.1.3 dev: true /@types/responselike@1.0.0: @@ -5336,19 +5325,6 @@ packages: resolution: {integrity: sha512-wvemhQ6R7Ee9z8kdutTZZR2DqzKK6f5H3WbPW9M3imh3nd/KU7/qLuHqeIkU08BnhK5imJHXKNSiYkflGkPa5w==} dev: true - /@use-gesture/core@10.2.20: - resolution: {integrity: sha512-4lFhHc8so4yIHkBEs641DnEsBxPyhJ5GEjB4PURFDH4p/FcZriH6w99knZgI63zN/MBFfylMyb8+PDuj6RIXKQ==} - dev: false - - /@use-gesture/react@10.2.20(react@18.2.0): - resolution: {integrity: sha512-KnJq9ZSqprWA6uNhWTUHZqTCh+rfa0j8ehTzqeBhktUPrmTj7yVOBvEQ/vSFU/7d72cGgWSsJ0f5T6GQCHXnvg==} - peerDependencies: - react: '>= 16.8.0' - dependencies: - '@use-gesture/core': 10.2.20 - react: 18.2.0 - dev: false - /@vercel/ncc@0.33.3: resolution: {integrity: sha512-JGZ11QV+/ZcfudW2Cz2JVp54/pJNXbsuWRgSh2ZmmZdQBKXqBtIGrwI1Wyx8nlbzAiEFe7FHi4K1zX4//jxTnQ==} hasBin: true @@ -5384,10 +5360,10 @@ packages: - supports-color dev: true - /@vitest/coverage-v8@1.1.3(vitest@1.1.3): - resolution: {integrity: sha512-Uput7t3eIcbSTOTQBzGtS+0kah96bX+szW9qQrLeGe3UmgL2Akn8POnyC2lH7XsnREZOds9aCUTxgXf+4HX5RA==} + /@vitest/coverage-v8@1.3.1(vitest@1.3.1): + resolution: {integrity: sha512-UuBnkSJUNE9rdHjDCPyJ4fYuMkoMtnghes1XohYa4At0MS3OQSAo97FrbwSLRshYsXThMZy1+ybD/byK5llyIg==} peerDependencies: - vitest: ^1.0.0 + vitest: 1.3.1 dependencies: '@ampproject/remapping': 2.2.1 '@bcoe/v8-coverage': 0.2.3 @@ -5397,48 +5373,48 @@ packages: istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.6 magic-string: 0.30.5 - magicast: 0.3.2 + magicast: 0.3.3 picocolors: 1.0.0 std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.1.3(@types/node@20.4.8)(jsdom@22.1.0) + vitest: 1.3.1(@types/node@20.4.8)(jsdom@22.1.0) transitivePeerDependencies: - supports-color dev: true - /@vitest/expect@1.1.3: - resolution: {integrity: sha512-MnJqsKc1Ko04lksF9XoRJza0bGGwTtqfbyrsYv5on4rcEkdo+QgUdITenBQBUltKzdxW7K3rWh+nXRULwsdaVg==} + /@vitest/expect@1.3.1: + resolution: {integrity: sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==} dependencies: - '@vitest/spy': 1.1.3 - '@vitest/utils': 1.1.3 + '@vitest/spy': 1.3.1 + '@vitest/utils': 1.3.1 chai: 4.3.10 dev: true - /@vitest/runner@1.1.3: - resolution: {integrity: sha512-Va2XbWMnhSdDEh/OFxyUltgQuuDRxnarK1hW5QNN4URpQrqq6jtt8cfww/pQQ4i0LjoYxh/3bYWvDFlR9tU73g==} + /@vitest/runner@1.3.1: + resolution: {integrity: sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==} dependencies: - '@vitest/utils': 1.1.3 + '@vitest/utils': 1.3.1 p-limit: 5.0.0 pathe: 1.1.1 dev: true - /@vitest/snapshot@1.1.3: - resolution: {integrity: sha512-U0r8pRXsLAdxSVAyGNcqOU2H3Z4Y2dAAGGelL50O0QRMdi1WWeYHdrH/QWpN1e8juWfVKsb8B+pyJwTC+4Gy9w==} + /@vitest/snapshot@1.3.1: + resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} dependencies: magic-string: 0.30.5 pathe: 1.1.1 pretty-format: 29.7.0 dev: true - /@vitest/spy@1.1.3: - resolution: {integrity: sha512-Ec0qWyGS5LhATFQtldvChPTAHv08yHIOZfiNcjwRQbFPHpkih0md9KAbs7TfeIfL7OFKoe7B/6ukBTqByubXkQ==} + /@vitest/spy@1.3.1: + resolution: {integrity: sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==} dependencies: tinyspy: 2.2.0 dev: true - /@vitest/utils@1.1.3: - resolution: {integrity: sha512-Dyt3UMcdElTll2H75vhxfpZu03uFpXRCHxWnzcrFjZxT1kTbq8ALUYIeBgGolo1gldVdI0YSlQRacsqxTwNqwg==} + /@vitest/utils@1.3.1: + resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -5588,8 +5564,8 @@ packages: acorn: 8.10.0 dev: true - /acorn-walk@8.3.1: - resolution: {integrity: sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==} + /acorn-walk@8.3.2: + resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} engines: {node: '>=0.4.0'} dev: true @@ -5639,14 +5615,6 @@ packages: indent-string: 4.0.0 dev: true - /aggregate-error@4.0.1: - resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==} - engines: {node: '>=12'} - dependencies: - clean-stack: 4.2.0 - indent-string: 5.0.0 - dev: true - /ahooks-v3-count@1.0.0: resolution: {integrity: sha512-V7uUvAwnimu6eh/PED4mCDjE7tokeZQLKlxg9lCTMPhN+NjsSbtdacByVlR1oluXQzD3MOw55wylDmQo4+S9ZQ==} @@ -5777,48 +5745,13 @@ packages: resolution: {integrity: sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==} dev: true - /antd-mobile-icons@0.3.0: - resolution: {integrity: sha512-rqINQpJWZWrva9moCd1Ye695MZYWmqLPE+bY8d2xLRy7iSQwPsinCdZYjpUPp2zL/LnKYSyXxP2ut2A+DC+whQ==} - dev: false - - /antd-mobile-v5-count@1.0.1: - resolution: {integrity: sha512-YGsiEDCPUDz3SzfXi6gLZn/HpeSMW+jgPc4qiYUr1fSopg3hkUie2TnooJdExgfiETHefH3Ggs58He0OVfegLA==} - dev: false - - /antd-mobile@5.32.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Wl24NW8rlsEv19n8NV/tD0/86tIYbdSU3agKeZFSzqwxp/E5x5WstHtQmQbLX2cSog9cojP5/wcqd2s2LGcXtg==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - '@floating-ui/dom': 1.5.1 - '@rc-component/mini-decimal': 1.1.0 - '@react-spring/web': 9.6.1(react-dom@18.2.0)(react@18.2.0) - '@use-gesture/react': 10.2.20(react@18.2.0) - ahooks: 3.7.8(react@18.2.0) - antd-mobile-icons: 0.3.0 - antd-mobile-v5-count: 1.0.1 - classnames: 2.3.2 - dayjs: 1.11.9 - lodash: 4.17.21 - rc-field-form: 1.27.4(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.36.0(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-is: 18.2.0 - runes2: 1.1.2 - staged-components: 1.1.3(react@18.2.0) - tslib: 2.6.1 - use-sync-external-store: 1.2.0(react@18.2.0) - transitivePeerDependencies: - - react-dom - dev: false - - /antd-style@3.4.3(@types/react@18.2.19)(antd@5.12.8)(react-dom@18.2.0)(react@18.2.0): + /antd-style@3.4.3(@types/react@18.2.19)(antd@5.14.1)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-lmnyVrDiPsCeBIw6pKxBx79/aY0o2bJ6SoCd26KOwSq211mwioYZG2razl8d2XWSmb+63VTAC9CBtdcp5Ah7+A==} peerDependencies: antd: ^5 react: '>=18' dependencies: - '@ant-design/cssinjs': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@ant-design/cssinjs': 1.18.4(react-dom@18.2.0)(react@18.2.0) '@babel/runtime': 7.23.7 '@emotion/cache': 11.11.0 '@emotion/css': 11.11.2 @@ -5826,7 +5759,7 @@ packages: '@emotion/serialize': 1.1.2 '@emotion/server': 11.11.0(@emotion/css@11.11.2) '@emotion/utils': 1.2.1 - antd: 5.12.8(react-dom@18.2.0)(react@18.2.0) + antd: 5.14.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 use-merge-value: 1.2.0(react@18.2.0) transitivePeerDependencies: @@ -5946,67 +5879,65 @@ packages: - luxon - moment - /antd@5.8.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-kkC2BSBde1JzJxk2wNYj/NXgNZQZ2yu6avJoCKleSi32nsjiadi7FFu1AyGxIzoJ9CrxoLacjGvrwbKJQ6kCvw==} + /antd@5.14.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-P0Bwt9NKSZqnEJ0QAyAb13ay34FjOKsz+KEp/ts+feYsynhUxF7/Ay6d1jS6ZcNpcs+JWTlLKO59YFZ3tX07wQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@ant-design/colors': 7.0.0 - '@ant-design/cssinjs': 1.16.1(react-dom@18.2.0)(react@18.2.0) - '@ant-design/icons': 5.2.5(react-dom@18.2.0)(react@18.2.0) + '@ant-design/colors': 7.0.2 + '@ant-design/cssinjs': 1.18.4(react-dom@18.2.0)(react@18.2.0) + '@ant-design/icons': 5.3.0(react-dom@18.2.0)(react@18.2.0) '@ant-design/react-slick': 1.0.2(react@18.2.0) - '@babel/runtime': 7.22.10 - '@ctrl/tinycolor': 3.6.0 - '@rc-component/color-picker': 1.4.1(react-dom@18.2.0)(react@18.2.0) + '@ctrl/tinycolor': 3.6.1 + '@rc-component/color-picker': 1.5.1(react-dom@18.2.0)(react@18.2.0) '@rc-component/mutate-observer': 1.1.0(react-dom@18.2.0)(react@18.2.0) - '@rc-component/tour': 1.8.1(react-dom@18.2.0)(react@18.2.0) - '@rc-component/trigger': 1.15.1(react-dom@18.2.0)(react@18.2.0) - classnames: 2.3.2 + '@rc-component/tour': 1.12.3(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) + classnames: 2.5.1 copy-to-clipboard: 3.3.3 - dayjs: 1.11.9 + dayjs: 1.11.10 qrcode.react: 3.1.0(react@18.2.0) - rc-cascader: 3.14.1(react-dom@18.2.0)(react@18.2.0) + rc-cascader: 3.21.2(react-dom@18.2.0)(react@18.2.0) rc-checkbox: 3.1.0(react-dom@18.2.0)(react@18.2.0) - rc-collapse: 3.7.1(react-dom@18.2.0)(react@18.2.0) - rc-dialog: 9.1.0(react-dom@18.2.0)(react@18.2.0) - rc-drawer: 6.2.0(react-dom@18.2.0)(react@18.2.0) + rc-collapse: 3.7.2(react-dom@18.2.0)(react@18.2.0) + rc-dialog: 9.3.4(react-dom@18.2.0)(react@18.2.0) + rc-drawer: 7.0.0(react-dom@18.2.0)(react@18.2.0) rc-dropdown: 4.1.0(react-dom@18.2.0)(react@18.2.0) - rc-field-form: 1.36.2(react-dom@18.2.0)(react@18.2.0) - rc-image: 7.1.3(react-dom@18.2.0)(react@18.2.0) - rc-input: 1.1.1(react-dom@18.2.0)(react@18.2.0) - rc-input-number: 8.0.4(react-dom@18.2.0)(react@18.2.0) - rc-mentions: 2.5.0(react-dom@18.2.0)(react@18.2.0) - rc-menu: 9.10.0(react-dom@18.2.0)(react@18.2.0) - rc-motion: 2.7.3(react-dom@18.2.0)(react@18.2.0) - rc-notification: 5.0.5(react-dom@18.2.0)(react@18.2.0) - rc-pagination: 3.5.0(react-dom@18.2.0)(react@18.2.0) - rc-picker: 3.12.0(dayjs@1.11.9)(react-dom@18.2.0)(react@18.2.0) - rc-progress: 3.4.2(react-dom@18.2.0)(react@18.2.0) + rc-field-form: 1.41.0(react-dom@18.2.0)(react@18.2.0) + rc-image: 7.5.1(react-dom@18.2.0)(react@18.2.0) + rc-input: 1.4.3(react-dom@18.2.0)(react@18.2.0) + rc-input-number: 9.0.0(react-dom@18.2.0)(react@18.2.0) + rc-mentions: 2.10.1(react-dom@18.2.0)(react@18.2.0) + rc-menu: 9.12.4(react-dom@18.2.0)(react@18.2.0) + rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) + rc-notification: 5.3.0(react-dom@18.2.0)(react@18.2.0) + rc-pagination: 4.0.4(react-dom@18.2.0)(react@18.2.0) + rc-picker: 4.1.3(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) + rc-progress: 3.5.1(react-dom@18.2.0)(react@18.2.0) rc-rate: 2.12.0(react-dom@18.2.0)(react@18.2.0) - rc-resize-observer: 1.3.1(react-dom@18.2.0)(react@18.2.0) - rc-segmented: 2.2.2(react-dom@18.2.0)(react@18.2.0) - rc-select: 14.7.3(react-dom@18.2.0)(react@18.2.0) - rc-slider: 10.1.1(react-dom@18.2.0)(react@18.2.0) + rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) + rc-segmented: 2.3.0(react-dom@18.2.0)(react@18.2.0) + rc-select: 14.11.0(react-dom@18.2.0)(react@18.2.0) + rc-slider: 10.5.0(react-dom@18.2.0)(react@18.2.0) rc-steps: 6.0.1(react-dom@18.2.0)(react@18.2.0) rc-switch: 4.1.0(react-dom@18.2.0)(react@18.2.0) - rc-table: 7.32.1(react-dom@18.2.0)(react@18.2.0) - rc-tabs: 12.9.0(react-dom@18.2.0)(react@18.2.0) - rc-textarea: 1.3.4(react-dom@18.2.0)(react@18.2.0) - rc-tooltip: 6.0.1(react-dom@18.2.0)(react@18.2.0) - rc-tree: 5.7.9(react-dom@18.2.0)(react@18.2.0) - rc-tree-select: 5.11.1(react-dom@18.2.0)(react@18.2.0) - rc-upload: 4.3.4(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.36.0(react-dom@18.2.0)(react@18.2.0) + rc-table: 7.39.0(react-dom@18.2.0)(react@18.2.0) + rc-tabs: 14.0.0(react-dom@18.2.0)(react@18.2.0) + rc-textarea: 1.6.3(react-dom@18.2.0)(react@18.2.0) + rc-tooltip: 6.1.3(react-dom@18.2.0)(react@18.2.0) + rc-tree: 5.8.5(react-dom@18.2.0)(react@18.2.0) + rc-tree-select: 5.17.0(react-dom@18.2.0)(react@18.2.0) + rc-upload: 4.5.2(react-dom@18.2.0)(react@18.2.0) + rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - scroll-into-view-if-needed: 3.0.10 + scroll-into-view-if-needed: 3.1.0 throttle-debounce: 5.0.0 transitivePeerDependencies: - date-fns - luxon - moment - dev: false /anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} @@ -6433,6 +6364,11 @@ packages: safe-buffer: 5.2.1 dev: true + /blork@9.3.0: + resolution: {integrity: sha512-9naBrHS2bwCQeGqGR9ptcoll6utsox9jtk1E0SwOAFa4RCV/IQHoBJARdi8AhHQTPPoWkjixMrzHvQKAV5Fx2A==} + engines: {node: '>=10.0.0'} + dev: true + /bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true @@ -6864,6 +6800,7 @@ packages: /classnames@2.3.2: resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==} + dev: true /classnames@2.5.1: resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} @@ -6880,13 +6817,6 @@ packages: engines: {node: '>=6'} dev: true - /clean-stack@4.2.0: - resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==} - engines: {node: '>=12'} - dependencies: - escape-string-regexp: 5.0.0 - dev: true - /cli-boxes@1.0.0: resolution: {integrity: sha512-3Fo5wu8Ytle8q9iCzS4D2MWVL2X7JVWRiS1BnXbTFDhS9c/REkM9vd1AmabsoZoY5/dGi5TT9iKL8Kb6DeBRQg==} engines: {node: '>=0.10.0'} @@ -6954,6 +6884,14 @@ packages: - react-dom dev: true + /cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + dev: true + /cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -7201,13 +7139,6 @@ packages: q: 1.5.1 dev: true - /conventional-changelog-angular@6.0.0: - resolution: {integrity: sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==} - engines: {node: '>=14'} - dependencies: - compare-func: 2.0.0 - dev: true - /conventional-changelog-conventionalcommits@5.0.0: resolution: {integrity: sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==} engines: {node: '>=10'} @@ -7217,23 +7148,25 @@ packages: q: 1.5.1 dev: true - /conventional-changelog-writer@6.0.1: - resolution: {integrity: sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==} - engines: {node: '>=14'} + /conventional-changelog-writer@5.0.1: + resolution: {integrity: sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==} + engines: {node: '>=10'} hasBin: true dependencies: - conventional-commits-filter: 3.0.0 + conventional-commits-filter: 2.0.7 dateformat: 3.0.3 handlebars: 4.7.8 json-stringify-safe: 5.0.1 + lodash: 4.17.21 meow: 8.1.2 - semver: 7.5.4 + semver: 6.3.1 split: 1.0.1 + through2: 4.0.2 dev: true - /conventional-commits-filter@3.0.0: - resolution: {integrity: sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==} - engines: {node: '>=14'} + /conventional-commits-filter@2.0.7: + resolution: {integrity: sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==} + engines: {node: '>=10'} dependencies: lodash.ismatch: 4.4.0 modify-values: 1.0.1 @@ -7252,17 +7185,6 @@ packages: through2: 4.0.2 dev: true - /conventional-commits-parser@4.0.0: - resolution: {integrity: sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==} - engines: {node: '>=14'} - hasBin: true - dependencies: - JSONStream: 1.3.5 - is-text-path: 1.0.1 - meow: 8.1.2 - split2: 3.2.2 - dev: true - /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} dev: true @@ -7442,11 +7364,9 @@ packages: engines: {node: '>=4'} dev: true - /crypto-random-string@4.0.0: - resolution: {integrity: sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==} - engines: {node: '>=12'} - dependencies: - type-fest: 1.4.0 + /crypto-random-string@2.0.0: + resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} + engines: {node: '>=8'} dev: true /css-blank-pseudo@3.0.3(postcss@8.4.33): @@ -7609,10 +7529,6 @@ packages: rrweb-cssom: 0.6.0 dev: true - /csstype@3.1.2: - resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} - dev: true - /csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} @@ -7671,10 +7587,6 @@ packages: /dayjs@1.11.10: resolution: {integrity: sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==} - /dayjs@1.11.9: - resolution: {integrity: sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==} - dev: false - /debug@3.1.0: resolution: {integrity: sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==} peerDependencies: @@ -7830,6 +7742,20 @@ packages: object-keys: 1.1.1 dev: true + /del@6.1.1: + resolution: {integrity: sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==} + engines: {node: '>=10'} + dependencies: + globby: 11.1.0 + graceful-fs: 4.2.11 + is-glob: 4.0.3 + is-path-cwd: 2.2.0 + is-path-inside: 3.0.3 + p-map: 4.0.0 + rimraf: 3.0.2 + slash: 3.0.0 + dev: true + /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -7851,6 +7777,11 @@ packages: minimalistic-assert: 1.0.1 dev: true + /detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + dev: true + /detect-indent@7.0.1: resolution: {integrity: sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==} engines: {node: '>=12.20'} @@ -7862,6 +7793,11 @@ packages: hasBin: true dev: true + /detect-newline@3.1.0: + resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} + engines: {node: '>=8'} + dev: true + /detect-newline@4.0.0: resolution: {integrity: sha512-1aXUEPdfGdzVPFpzGJJNgq9o81bGg1s09uxTWsqBlo9PI332uyJRQq13+LK/UN4JfxJbFdCXonUFQ9R/p7yCtw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -8018,8 +7954,8 @@ packages: resolution: {integrity: sha512-a/Y5lf0G6gwsEQ9hop/n03CcjmHsGBk384Cz/AEX6mRYrfSpUx/lQvP9HLoXkCzScl9PL1sSmLPnMkgaXDCZLA==} dev: true - /dumi-theme-antd-style@0.29.7(@types/react@18.2.19)(dumi@2.2.4)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-SQODA/EeveBKcDP6I0fUqUsNg2qRIpOR8t+Jt3GIAhycj6Ddu5WKaUuv5hKnSj75i5j9JdyBT+OneCZcQUxR6A==} + /dumi-theme-antd-style@0.29.8(@types/react@18.2.19)(dumi@2.2.4)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-P5vHIOPL/j34znOXxS/QEgTOUJbO64ZKoEhqLL2txsfU69yh67w89d51uGyJNlS1vNX7erGpDFOc49fj+TR3Gw==} peerDependencies: dumi: ^2.0.0 react: '>=16.8' @@ -8029,8 +7965,8 @@ packages: '@babel/runtime': 7.23.7 '@floating-ui/react': 0.24.8(react-dom@18.2.0)(react@18.2.0) ahooks: 3.7.8(react@18.2.0) - antd: 5.12.8(react-dom@18.2.0)(react@18.2.0) - antd-style: 3.4.3(@types/react@18.2.19)(antd@5.12.8)(react-dom@18.2.0)(react@18.2.0) + antd: 5.14.1(react-dom@18.2.0)(react@18.2.0) + antd-style: 3.4.3(@types/react@18.2.19)(antd@5.14.1)(react-dom@18.2.0)(react@18.2.0) chalk: 4.1.2 chroma-js: 2.4.2 copy-to-clipboard: 3.3.3 @@ -8265,11 +8201,12 @@ packages: engines: {node: '>=0.12'} dev: true - /env-ci@9.1.1: - resolution: {integrity: sha512-Im2yEWeF4b2RAMAaWvGioXk6m0UNaIjD8hj28j2ij5ldnIFrDQT0+pzDvpbRkcjurhXhf/AsBKv8P2rtmGi9Aw==} - engines: {node: ^16.14 || >=18} + /env-ci@5.5.0: + resolution: {integrity: sha512-o0JdWIbOLP+WJKIUt36hz1ImQQFuN92nhsfTkHHap+J8CiI8WgGpH/a9jEGHh4/TU5BUUGjlnKXNoDb57+ne+A==} + engines: {node: '>=10.17'} dependencies: - execa: 7.2.0 + execa: 5.1.1 + fromentries: 1.3.2 java-properties: 1.0.2 dev: true @@ -8772,6 +8709,21 @@ packages: strip-eof: 1.0.0 dev: true + /execa@4.1.0: + resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==} + engines: {node: '>=10'} + dependencies: + cross-spawn: 7.0.3 + get-stream: 5.2.0 + human-signals: 1.1.1 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + dev: true + /execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -8976,12 +8928,11 @@ packages: escape-string-regexp: 1.0.5 dev: true - /figures@5.0.0: - resolution: {integrity: sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==} - engines: {node: '>=14'} + /figures@3.2.0: + resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} + engines: {node: '>=8'} dependencies: - escape-string-regexp: 5.0.0 - is-unicode-supported: 1.3.0 + escape-string-regexp: 1.0.5 dev: true /file-entry-cache@6.0.1: @@ -9086,19 +9037,11 @@ packages: path-exists: 4.0.0 dev: true - /find-up@6.3.0: - resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - locate-path: 7.2.0 - path-exists: 5.0.0 - dev: true - - /find-versions@5.1.0: - resolution: {integrity: sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==} - engines: {node: '>=12'} + /find-versions@4.0.0: + resolution: {integrity: sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==} + engines: {node: '>=10'} dependencies: - semver-regex: 4.0.5 + semver-regex: 3.1.4 dev: true /flat-cache@3.0.4: @@ -9213,6 +9156,10 @@ packages: readable-stream: 2.3.8 dev: true + /fromentries@1.3.2: + resolution: {integrity: sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==} + dev: true + /fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} dev: true @@ -9257,6 +9204,15 @@ packages: universalify: 0.1.2 dev: true + /fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + dev: true + /fs-monkey@1.0.4: resolution: {integrity: sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ==} dev: true @@ -9346,16 +9302,18 @@ packages: engines: {node: '>=4'} dev: true + /get-stream@5.2.0: + resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} + engines: {node: '>=8'} + dependencies: + pump: 3.0.0 + dev: true + /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} dev: true - /get-stream@7.0.1: - resolution: {integrity: sha512-3M8C1EOFN6r8AMUhwUAACIoXZJEOufDU5+0gFFN5uNs6XYOralD2Pqkl7m046va6x77FwposWXbAhPPIOus7mQ==} - engines: {node: '>=16'} - dev: true - /get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} @@ -9531,6 +9489,18 @@ packages: define-properties: 1.2.0 dev: true + /globby@11.0.4: + resolution: {integrity: sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==} + engines: {node: '>=10'} + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.1 + ignore: 5.2.4 + merge2: 1.4.1 + slash: 3.0.0 + dev: true + /globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} @@ -9881,9 +9851,9 @@ packages: parse-passwd: 1.0.0 dev: true - /hook-std@3.0.0: - resolution: {integrity: sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /hook-std@2.0.0: + resolution: {integrity: sha512-zZ6T5WcuBMIUVh49iPQS9t977t7C0l7OtHrpeMb5uk48JdflRX0NSFvCekfYNmGQETnLq9W/isMyHl69kxGi8g==} + engines: {node: '>=8'} dev: true /hosted-git-info@2.8.9: @@ -10089,6 +10059,11 @@ packages: - supports-color dev: true + /human-signals@1.1.1: + resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==} + engines: {node: '>=8.12.0'} + dev: true + /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -10288,9 +10263,9 @@ packages: tslib: 2.6.1 dev: true - /into-stream@7.0.0: - resolution: {integrity: sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==} - engines: {node: '>=12'} + /into-stream@6.0.0: + resolution: {integrity: sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA==} + engines: {node: '>=10'} dependencies: from2: 2.3.0 p-is-promise: 3.0.0 @@ -10573,6 +10548,11 @@ packages: engines: {node: '>=8'} dev: true + /is-path-cwd@2.2.0: + resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==} + engines: {node: '>=6'} + dev: true + /is-path-inside@1.0.1: resolution: {integrity: sha512-qhsCR/Esx4U4hg/9I19OVUAJkGWtjRYHMRgUMZE2TDdj+Ag+kttZanLupfddNyglzz50cUlmWzUaI37GDfNx/g==} engines: {node: '>=0.10.0'} @@ -10682,11 +10662,6 @@ packages: which-typed-array: 1.1.11 dev: true - /is-unicode-supported@1.3.0: - resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==} - engines: {node: '>=12'} - dev: true - /is-weakmap@2.0.1: resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} dev: true @@ -10946,6 +10921,10 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + /js-tokens@8.0.3: + resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==} + dev: true + /js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -11018,11 +10997,6 @@ packages: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} dev: true - /json-parse-even-better-errors@3.0.0: - resolution: {integrity: sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} dev: true @@ -11260,11 +11234,6 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true - /lines-and-columns@2.0.3: - resolution: {integrity: sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: true - /lint-staged@13.2.3: resolution: {integrity: sha512-zVVEXLuQIhr1Y7R7YAWx4TZLdvuzk7DnmrsTNL0fax6Z3jrpFcas+vKbzxhhvp6TA55m1SQuWkpzI1qbfDZbAg==} engines: {node: ^14.13.1 || >=16.0.0} @@ -11379,19 +11348,9 @@ packages: p-locate: 5.0.0 dev: true - /locate-path@7.2.0: - resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - p-locate: 6.0.0 - dev: true - - /lodash-es@4.17.21: - resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} - dev: true - /lodash.camelcase@4.3.0: resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} + dev: true /lodash.capitalize@4.2.1: resolution: {integrity: sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==} @@ -11560,8 +11519,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /magicast@0.3.2: - resolution: {integrity: sha512-Fjwkl6a0syt9TFN0JSYpOybxiMCkYNEeOTnOTNRbjphirLakznZXAqrXgj/7GG3D1dvETONNwrBfinvAbpunDg==} + /magicast@0.3.3: + resolution: {integrity: sha512-ZbrP1Qxnpoes8sz47AM0z08U+jW6TyRgZzcWy3Ma3vDhJttwMwAFDMMQFobwdBxByBD46JYmxRzeF7w2+wJEuw==} dependencies: '@babel/parser': 7.23.6 '@babel/types': 7.23.6 @@ -11632,7 +11591,7 @@ packages: resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} dev: true - /marked-terminal@5.2.0(marked@5.1.2): + /marked-terminal@5.2.0(marked@4.3.0): resolution: {integrity: sha512-Piv6yNwAQXGFjZSaiNljyNFw7jKDdGrw70FSbtxEyldLsyeuV5ZHm/1wW++kWbrOF1VPnUgYOhB2oLL0ZpnekA==} engines: {node: '>=14.13.1 || >=16.0.0'} peerDependencies: @@ -11642,14 +11601,14 @@ packages: cardinal: 2.1.1 chalk: 5.3.0 cli-table3: 0.6.3 - marked: 5.1.2 + marked: 4.3.0 node-emoji: 1.11.0 supports-hyperlinks: 2.3.0 dev: true - /marked@5.1.2: - resolution: {integrity: sha512-ahRPGXJpjMjwSOlBoTMZAK7ATXkli5qCPxZ21TG44rx1KEo44bii4ekgTDQPNRQ4Kh7JMb9Ub1PVk1NxRSsorg==} - engines: {node: '>= 16'} + /marked@4.3.0: + resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==} + engines: {node: '>= 12'} hasBin: true dev: true @@ -12355,6 +12314,34 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true + /multi-semantic-release@3.0.2: + resolution: {integrity: sha512-2q4aKAlfrgm9XRt0hGRSH7Hle1oZoQlotmvK4ur+VFsZTEX33TmFYVfO7An/ywFrq9Ufa1/dFJFTfSEGeDB2KQ==} + engines: {node: '>=16 || ^14.17', yarn: '>=1.0.0'} + hasBin: true + dependencies: + '@manypkg/get-packages': 1.1.3 + blork: 9.3.0 + cosmiconfig: 7.1.0 + debug: 4.3.4 + detect-indent: 6.1.0 + detect-newline: 3.1.0 + execa: 4.1.0 + get-stream: 6.0.1 + git-log-parser: 1.2.0 + globby: 11.0.4 + lodash: 4.17.21 + meow: 8.1.2 + promise-events: 0.2.4 + semantic-release: 19.0.5 + semver: 7.5.4 + signale: 1.4.0 + stream-buffers: 3.0.2 + unixify: 1.0.0 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /multipipe@1.0.2: resolution: {integrity: sha512-6uiC9OvY71vzSGX8lZvSqscE7ft9nPupJ8fMjrCNRAUy2LREUW42UL+V/NTrogr6rFgRydUrCX4ZitfpSNkSCQ==} dependencies: @@ -12448,6 +12435,18 @@ packages: safe-buffer: 5.2.1 dev: true + /node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: 5.0.0 + dev: true + /node-fetch@3.3.2: resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -12512,14 +12511,11 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /normalize-package-data@5.0.0: - resolution: {integrity: sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + /normalize-path@2.1.1: + resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} + engines: {node: '>=0.10.0'} dependencies: - hosted-git-info: 6.1.1 - is-core-module: 2.13.0 - semver: 7.5.4 - validate-npm-package-license: 3.0.4 + remove-trailing-separator: 1.1.0 dev: true /normalize-path@3.0.0: @@ -12532,9 +12528,9 @@ packages: engines: {node: '>=0.10.0'} dev: true - /normalize-url@8.0.0: - resolution: {integrity: sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==} - engines: {node: '>=14.16'} + /normalize-url@6.1.0: + resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} + engines: {node: '>=10'} dev: true /npm-package-arg@5.1.2: @@ -12574,25 +12570,25 @@ packages: path-key: 4.0.0 dev: true - /npm@9.8.1: - resolution: {integrity: sha512-AfDvThQzsIXhYgk9zhbk5R+lh811lKkLAeQMMhSypf1BM7zUafeIIBzMzespeuVEJ0+LvY36oRQYf7IKLzU3rw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + /npm@8.19.4: + resolution: {integrity: sha512-3HANl8i9DKnUA89P4KEgVNN28EjSeDCmvEqbzOAuxCFDzdBZzjUl99zgnGpOUumvW5lvJo2HKcjrsc+tfyv1Hw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} hasBin: true dev: true bundledDependencies: - '@isaacs/string-locale-compare' - '@npmcli/arborist' + - '@npmcli/ci-detect' - '@npmcli/config' - '@npmcli/fs' - '@npmcli/map-workspaces' - '@npmcli/package-json' - - '@npmcli/promise-spawn' - '@npmcli/run-script' - abbrev - archy - cacache - chalk - - ci-info + - chownr - cli-columns - cli-table3 - columnify @@ -12620,6 +12616,8 @@ packages: - minimatch - minipass - minipass-pipeline + - mkdirp + - mkdirp-infer-owner - ms - node-gyp - nopt @@ -12631,16 +12629,19 @@ packages: - npm-registry-fetch - npm-user-validate - npmlog + - opener - p-map - pacote - parse-conflict-json - proc-log - qrcode-terminal - read + - read-package-json + - read-package-json-fast + - readdir-scoped-modules + - rimraf - semver - - sigstore - ssri - - supports-color - tar - text-table - tiny-relative-date @@ -12872,16 +12873,16 @@ packages: os-tmpdir: 1.0.2 dev: true - /p-each-series@3.0.0: - resolution: {integrity: sha512-lastgtAdoH9YaLyDa5i5z64q+kzOcQHsQ5SsZJD3q0VEyI8mq872S3geuNbRUQLVAE9siMfgKrpj7MloKFHruw==} - engines: {node: '>=12'} + /p-each-series@2.2.0: + resolution: {integrity: sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==} + engines: {node: '>=8'} dev: true - /p-filter@3.0.0: - resolution: {integrity: sha512-QtoWLjXAW++uTX67HZQz1dbTpqBfiidsB6VtQUC9iR85S120+s0T5sO6s+B5MLzFcZkrEd/DGMmCjR+f2Qpxwg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /p-filter@2.1.0: + resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} + engines: {node: '>=8'} dependencies: - p-map: 5.5.0 + p-map: 2.1.0 dev: true /p-finally@1.0.0: @@ -12915,13 +12916,6 @@ packages: yocto-queue: 0.1.0 dev: true - /p-limit@4.0.0: - resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - yocto-queue: 1.0.0 - dev: true - /p-limit@5.0.0: resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} engines: {node: '>=18'} @@ -12957,11 +12951,9 @@ packages: p-limit: 3.1.0 dev: true - /p-locate@6.0.0: - resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - p-limit: 4.0.0 + /p-map@2.1.0: + resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} + engines: {node: '>=6'} dev: true /p-map@4.0.0: @@ -12971,23 +12963,11 @@ packages: aggregate-error: 3.1.0 dev: true - /p-map@5.5.0: - resolution: {integrity: sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==} - engines: {node: '>=12'} - dependencies: - aggregate-error: 4.0.1 - dev: true - /p-reduce@2.1.0: resolution: {integrity: sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==} engines: {node: '>=8'} dev: true - /p-reduce@3.0.0: - resolution: {integrity: sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q==} - engines: {node: '>=12'} - dev: true - /p-try@1.0.0: resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} engines: {node: '>=4'} @@ -13131,17 +13111,6 @@ packages: lines-and-columns: 1.2.4 dev: true - /parse-json@7.0.0: - resolution: {integrity: sha512-kP+TQYAzAiVnzOlWOe0diD6L35s9bJh0SCn95PIbZFKrOYuIRQsQkeWEYxzVDuHTt9V9YqvYCJ2Qo4z9wdfZPw==} - engines: {node: '>=16'} - dependencies: - '@babel/code-frame': 7.22.10 - error-ex: 1.3.2 - json-parse-even-better-errors: 3.0.0 - lines-and-columns: 2.0.3 - type-fest: 3.13.1 - dev: true - /parse-node-version@1.0.1: resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} engines: {node: '>= 0.10'} @@ -13190,11 +13159,6 @@ packages: engines: {node: '>=8'} dev: true - /path-exists@5.0.0: - resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: true - /path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} @@ -13874,15 +13838,6 @@ packages: react-is: 17.0.2 dev: true - /pretty-format@29.6.2: - resolution: {integrity: sha512-1q0oC8eRveTg5nnBEWMXAU2qpv65Gnuf2eCQzSjxpWFkPaPARwqZZDGuNE0zPAZfTCHzIk3A8dIjwlQKKLphyg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.6.3 - ansi-styles: 5.2.0 - react-is: 18.2.0 - dev: true - /pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -13927,6 +13882,11 @@ packages: engines: {node: '>= 0.6.0'} dev: true + /promise-events@0.2.4: + resolution: {integrity: sha512-GCM6DmJcSCC8XboZIzYJAlADwkIS1P54XFUJQYhB7dpE7rtXPzPrT13dsV4Qm0FMCKptwMTyF8ZCir803RfKzA==} + engines: {node: '>=8.0.0'} + dev: true + /promise-inflight@1.0.1(bluebird@3.7.2): resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} peerDependencies: @@ -14013,6 +13973,13 @@ packages: once: 1.4.0 dev: true + /pump@3.0.0: + resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} + dependencies: + end-of-stream: 1.4.4 + once: 1.4.0 + dev: true + /pumpify@1.5.1: resolution: {integrity: sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==} dependencies: @@ -14150,8 +14117,8 @@ packages: react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 - /rc-cascader@3.14.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-fCsgjLIQqYZMhFj9UT+x2ZW4uobx7OP5yivcn6Xto5fuxHaldphsryzCeUVmreQOHEo0RP+032Ip9RDzrKVKJA==} + /rc-cascader@3.20.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-lkT9EEwOcYdjZ/jvhLoXGzprK1sijT3/Tp4BLxQQcHDZkkOzzwYQC9HgmKoJz0K7CukMfgvO9KqHeBdgE+pELw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14159,15 +14126,14 @@ packages: '@babel/runtime': 7.23.7 array-tree-filter: 2.1.0 classnames: 2.5.1 - rc-select: 14.7.3(react-dom@18.2.0)(react@18.2.0) - rc-tree: 5.7.9(react-dom@18.2.0)(react@18.2.0) + rc-select: 14.10.0(react-dom@18.2.0)(react@18.2.0) + rc-tree: 5.8.5(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-cascader@3.20.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-lkT9EEwOcYdjZ/jvhLoXGzprK1sijT3/Tp4BLxQQcHDZkkOzzwYQC9HgmKoJz0K7CukMfgvO9KqHeBdgE+pELw==} + /rc-cascader@3.21.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-J7GozpgsLaOtzfIHFJFuh4oFY0ePb1w10twqK6is3pAkqHkca/PsokbDr822KIRZ8/CK8CqevxohuPDVZ1RO/A==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14175,8 +14141,8 @@ packages: '@babel/runtime': 7.23.7 array-tree-filter: 2.1.0 classnames: 2.5.1 - rc-select: 14.10.0(react-dom@18.2.0)(react@18.2.0) - rc-tree: 5.8.2(react-dom@18.2.0)(react@18.2.0) + rc-select: 14.11.0(react-dom@18.2.0)(react@18.2.0) + rc-tree: 5.8.5(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -14234,20 +14200,6 @@ packages: react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 - /rc-collapse@3.7.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-N/7ejyiTf3XElNJBBpxqnZBUuMsQWEOPjB2QkfNvZ/Ca54eAvJXuOD1EGbCWCk2m7v/MSxku7mRpdeaLOCd4Gg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - classnames: 2.5.1 - rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-collapse@3.7.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-ZRw6ipDyOnfLFySxAiCMdbHtb5ePAsB9mT17PA6y1mRD/W6KHRaZeb5qK/X9xDV1CqgyxMpzw0VdS74PCcUk4A==} peerDependencies: @@ -14275,21 +14227,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-dialog@9.1.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-5ry+JABAWEbaKyYsmITtrJbZbJys8CtMyzV8Xn4LYuXMeUx5XVHNyJRoqLFE4AzBuXXzOWeaC49cg+XkxK6kHA==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - '@rc-component/portal': 1.1.2(react-dom@18.2.0)(react@18.2.0) - classnames: 2.5.1 - rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-dialog@9.3.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-975X3018GhR+EjZFbxA2Z57SX5rnu0G0/OxFgMMvZK4/hQWEm3MHaNvP4wXpxYDoJsp+xUvVW+GB9CMMCm81jA==} peerDependencies: @@ -14304,8 +14241,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-drawer@6.2.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-spPkZ3WvP0U0vy5dyzSwlUJ/+vLFtjP/cTwSwejhQRoDBaexSZHsBhELoCZcEggI7LQ7typmtG30lAue2HEhvA==} + /rc-drawer@6.3.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14317,10 +14254,9 @@ packages: rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-drawer@6.3.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==} + /rc-drawer@6.5.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-QckxAnQNdhh4vtmKN0ZwDf3iakO83W9eZcSKWYYTDv4qcD2fHhRAZJJ/OE6v2ZlQ2kSqCJX5gYssF4HJFvsEPQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14333,8 +14269,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-drawer@6.5.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-QckxAnQNdhh4vtmKN0ZwDf3iakO83W9eZcSKWYYTDv4qcD2fHhRAZJJ/OE6v2ZlQ2kSqCJX5gYssF4HJFvsEPQ==} + /rc-drawer@7.0.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-ePcS4KtQnn57bCbVXazHN2iC8nTPCXlWEIA/Pft87Pd9U7ZeDkdRzG47jWG2/TAFXFlFltRAMcslqmUM8NPCGA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14367,26 +14303,12 @@ packages: react-dom: '>=16.11.0' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-field-form@1.27.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-PQColQnZimGKArnOh8V2907+VzDCXcqtFvHgevDLtqWc/P7YASb/FqntSmdS8q3VND5SHX3Y1vgMIzY22/f/0Q==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - async-validator: 4.2.5 - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-field-form@1.34.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-BdciU5C7dBO51/9ZKcMvK2f8zaaO12Lt1eBhlAo8nNv+6htlNcgY9DAkUlZ7gfyWjnCc1Oo4hHIXau1m6tLw1A==} engines: {node: '>=8.x'} @@ -14400,20 +14322,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-field-form@1.36.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-tCF/JjUsnxW80Gk4E4ZH74ONsaQMxVTRtui6XhQB8DJc4FHWLLa5pP8zwhxtPKC5NaO0QZ0Cv79JggDubn6n2g==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - async-validator: 4.2.5 - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-field-form@1.41.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-k9AS0wmxfJfusWDP/YXWTpteDNaQ4isJx9UKxx4/e8Dub4spFeZ54/EuN2sYrMRID/+hUznPgVZeg+Gf7XSYCw==} engines: {node: '>=8.x'} @@ -14454,22 +14362,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-image@7.1.3(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-foMl1rcit1F0+vgxE5kf0c8TygQcHhILsOohQUL+JMUbzOo3OBFRcehJudYbqbCTArzCecS8nA1irUU9vvgQbg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - '@rc-component/portal': 1.1.2(react-dom@18.2.0)(react@18.2.0) - classnames: 2.5.1 - rc-dialog: 9.1.0(react-dom@18.2.0)(react@18.2.0) - rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-image@7.5.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Z9loECh92SQp0nSipc0MBuf5+yVC05H/pzC+Nf8xw1BKDFUJzUeehYBjaWlxly8VGBZJcTHYri61Fz9ng1G3Ag==} peerDependencies: @@ -14497,8 +14389,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-input-number@8.0.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-TP+G5b7mZtbwXJ/YEZXF/OgbEZ6iqD4+RSuxZJ8VGKGXDcdt0FKIvpFoNQr/knspdFC4OxA0OfsWfFWfN4XSyA==} + /rc-input-number@8.4.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-B6rziPOLRmeP7kcS5qbdC5hXvvDHYKV4vUxmahevYx2E6crS2bRi0xLDjhJ0E1HtOWo8rTmaE2EBJAkTCZOLdA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14506,14 +14398,13 @@ packages: '@babel/runtime': 7.23.7 '@rc-component/mini-decimal': 1.1.0 classnames: 2.5.1 - rc-input: 1.1.1(react-dom@18.2.0)(react@18.2.0) + rc-input: 1.3.11(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-input-number@8.4.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-B6rziPOLRmeP7kcS5qbdC5hXvvDHYKV4vUxmahevYx2E6crS2bRi0xLDjhJ0E1HtOWo8rTmaE2EBJAkTCZOLdA==} + /rc-input-number@9.0.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-RfcDBDdWFFetouWFXBA+WPEC8LzBXyngr9b+yTLVIygfFu7HiLRGn/s/v9wwno94X7KFvnb28FNynMGj9XJlDQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14521,7 +14412,7 @@ packages: '@babel/runtime': 7.23.7 '@rc-component/mini-decimal': 1.1.0 classnames: 2.5.1 - rc-input: 1.3.11(react-dom@18.2.0)(react@18.2.0) + rc-input: 1.4.3(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -14538,8 +14429,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-input@1.1.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-NTR1Z4em681L8/ewb2KR80RykSmN8I2mzqzJDCoUmTrV1BB9Hk5d7ha4TnfgdEPPL148N+603sW2LExSXk1IbA==} + /rc-input@1.3.11(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-jhH7QP5rILanSHCGSUkdoFE5DEtpv8FIseYhuYkOZzUBeiVAiwM3q26YqZ6xBB0QFEZ/yUAgms4xW4iuub3xFQ==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' @@ -14549,10 +14440,9 @@ packages: rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-input@1.3.11(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-jhH7QP5rILanSHCGSUkdoFE5DEtpv8FIseYhuYkOZzUBeiVAiwM3q26YqZ6xBB0QFEZ/yUAgms4xW4iuub3xFQ==} + /rc-input@1.4.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-aHyQUAIRmTlOnvk5EcNqEpJ+XMtfMpYRAJayIlJfsvvH9cAKUWboh4egm23vgMA7E+c/qm4BZcnrDcA960GC1w==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' @@ -14578,22 +14468,21 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-mentions@2.5.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-rERXsbUTNVrb5T/iDC0ki/SRGWJnOVraDy6O25Us3FSpuUZ3uq2TPZB4fRk0Hss5kyiEPzz2sprhkI4b+F4jUw==} + /rc-mentions@2.10.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-72qsEcr/7su+a07ndJ1j8rI9n0Ka/ngWOLYnWMMv0p2mi/5zPwPrEDTt6Uqpe8FWjWhueDJx/vzunL6IdKDYMg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 - rc-input: 1.1.1(react-dom@18.2.0)(react@18.2.0) - rc-menu: 9.10.0(react-dom@18.2.0)(react@18.2.0) - rc-textarea: 1.3.4(react-dom@18.2.0)(react@18.2.0) + rc-input: 1.4.3(react-dom@18.2.0)(react@18.2.0) + rc-menu: 9.12.4(react-dom@18.2.0)(react@18.2.0) + rc-textarea: 1.6.3(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false /rc-mentions@2.9.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cZuElWr/5Ws0PXx1uxobxfYh4mqUw2FitfabR62YnWgm+WAfDyXZXqZg5DxXW+M1cgVvntrQgDDd9LrihrXzew==} @@ -14602,7 +14491,7 @@ packages: react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-input: 1.3.11(react-dom@18.2.0)(react@18.2.0) rc-menu: 9.12.4(react-dom@18.2.0)(react@18.2.0) @@ -14611,22 +14500,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-menu@9.10.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-g27kpXaAoJh/fkPZF65/d4V+w4DhDeqomBdPcGnkFAcJnEM4o21TnVccrBUoDedLKzC7wJRw1Q7VTqEsfEufmw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) - classnames: 2.5.1 - rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-overflow: 1.3.1(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-menu@9.11.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-jq9I3XkPKgFpsn8MYko+OAjnrNxzQGQauy0MNysYZ5iw5JGeg5wwCP/toZX2ZWQwxNUfye14mY/uVLE6HCcQlQ==} peerDependencies: @@ -14634,10 +14507,10 @@ packages: react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-overflow: 1.3.1(react-dom@18.2.0)(react@18.2.0) + rc-overflow: 1.3.2(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -14650,10 +14523,10 @@ packages: react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-overflow: 1.3.1(react-dom@18.2.0)(react@18.2.0) + rc-overflow: 1.3.2(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -14684,6 +14557,7 @@ packages: rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: true /rc-motion@2.9.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-XIU2+xLkdIr1/h6ohPZXyPBMvOmuyFZQ/T0xnawz+Rh+gh4FINcnZmMT5UTIj6hgI0VLDjTaPeRd+smJeSPqiQ==} @@ -14711,21 +14585,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-notification@5.0.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-uEz2jggourwv/rR0obe7RHEa63UchqX4k+e+Qt2c3LaY7U9Tc+L6ANhzgCKYSA/afm0ebjmNZHoB5Cv47xEOcA==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - classnames: 2.5.1 - rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-notification@5.3.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-WCf0uCOkZ3HGfF0p1H4Sgt7aWfipxORWTPp7o6prA3vxwtWhtug3GfpYls1pnBp4WA+j8vGIi5c2/hQRpGzPcQ==} engines: {node: '>=8.x'} @@ -14753,29 +14612,29 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-pagination@3.2.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==} + /rc-overflow@1.3.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 + rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) + rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-pagination@3.5.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-lUBVtVVUn7gGsq4mTyVpcZQr+AMcljbMiL/HcCmSdFrcsK0iZVKwwbXDxhz2IV0JXUs9Hzepr5sQFaF+9ad/pQ==} + /rc-pagination@3.2.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false /rc-pagination@4.0.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-GGrLT4NgG6wgJpT/hHIpL9nELv27A1XbSZzECIuQBQTVSf4xGKxWr6I/jhpRPauYEWEbWVw22ObG6tJQqwJqWQ==} @@ -14807,8 +14666,8 @@ packages: react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 - /rc-picker@3.12.0(dayjs@1.11.9)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-SsEhK4hbjAh3pvlqujIQaMcx6mLAwc0KN0TS9dJ0rtwGuUnSDa/mKgna/LjZlOT7U//b+dIH5BLSZttpklRG9A==} + /rc-picker@3.14.6(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-AdKKW0AqMwZsKvIpwUWDUnpuGKZVrbxVTZTNjcO+pViGkjC1EBcjMgxVe8tomOEaIHJL5Gd13vS8Rr3zzxWmag==} engines: {node: '>=8.x'} peerDependencies: date-fns: '>= 2.x' @@ -14828,16 +14687,15 @@ packages: optional: true dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 - dayjs: 1.11.9 + dayjs: 1.11.10 rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-picker@3.14.6(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-AdKKW0AqMwZsKvIpwUWDUnpuGKZVrbxVTZTNjcO+pViGkjC1EBcjMgxVe8tomOEaIHJL5Gd13vS8Rr3zzxWmag==} + /rc-picker@4.1.3(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-zmS64uYgiuWNmaWAxbVoAvSMuyNzGL9iO0Z8SIZzzm8U03taHHP0/jncWuM9v+O/F7Ghm7+IrFL0dDyk7aAqIw==} engines: {node: '>=8.x'} peerDependencies: date-fns: '>= 2.x' @@ -14857,9 +14715,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 dayjs: 1.11.10 + rc-overflow: 1.3.2(react-dom@18.2.0)(react@18.2.0) + rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -14914,8 +14774,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-resize-observer@1.3.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg==} + /rc-resize-observer@1.4.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -14926,23 +14786,22 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 - dev: false - /rc-resize-observer@1.4.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==} + /rc-segmented@2.1.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ==} peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' + react: '>=16.0.0' + react-dom: '>=16.0.0' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 + rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - resize-observer-polyfill: 1.5.1 - /rc-segmented@2.1.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ==} + /rc-segmented@2.2.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Mq52M96QdHMsNdE/042ibT5vkcGcD5jxKp7HgPC2SRofpia99P5fkfHy1pEaajLMF/kj0+2Lkq1UZRvqzo9mSA==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' @@ -14954,8 +14813,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-segmented@2.2.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Mq52M96QdHMsNdE/042ibT5vkcGcD5jxKp7HgPC2SRofpia99P5fkfHy1pEaajLMF/kj0+2Lkq1UZRvqzo9mSA==} + /rc-segmented@2.3.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' @@ -14992,24 +14851,24 @@ packages: react-dom: '*' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) - rc-overflow: 1.3.1(react-dom@18.2.0)(react@18.2.0) + rc-overflow: 1.3.2(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) rc-virtual-list: 3.11.3(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-select@14.7.3(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-s0SQ6voafPXRYLSmHtB8GrkMJsXi2xS5vigzeaRDEgzHyj6xb2omUTinP7nrTCkBveEzrfy7eV/OillDzmcFTw==} + /rc-select@14.11.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-8J8G/7duaGjFiTXCBLWfh5P+KDWyA3KTlZDfV3xj/asMPqB2cmxfM+lH50wRiPIRsCQ6EbkCFBccPuaje3DHIg==} engines: {node: '>=8.x'} peerDependencies: react: '*' react-dom: '*' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) rc-overflow: 1.3.1(react-dom@18.2.0)(react@18.2.0) @@ -15017,7 +14876,6 @@ packages: rc-virtual-list: 3.11.3(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false /rc-slider@10.0.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q==} @@ -15033,20 +14891,6 @@ packages: react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 - /rc-slider@10.1.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-gn8oXazZISEhnmRinI89Z/JD/joAaM35jp+gDtIVSTD/JJMCCBqThqLk1SVJmvtfeiEF/kKaFY0+qt4SDHFUDw==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - classnames: 2.5.1 - rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-slider@10.5.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-xiYght50cvoODZYI43v3Ylsqiw14+D7ELsgzR40boDZaya1HFa1Etnv9MDkQE8X/UrXAffwv2AcNAhslgYuDTw==} engines: {node: '>=8.x'} @@ -15125,8 +14969,8 @@ packages: react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 - /rc-table@7.32.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-fHMQteKMocUC9I9Vex3eBLH7QsiaMR/qtzh3B1Ty2PoNGwVTwVdDFyRL05zch+JU3KnNNczgQeVvtf/p//gdrQ==} + /rc-table@7.36.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-9qMxEm/3Y8ukdW8I8ZvmhX0QImfNKzH0JEUlSbyaUlsYTB+/tQEbfaB8YkG4sHVZ1io4pxqK/BXoZYqebi/TIQ==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -15137,12 +14981,12 @@ packages: classnames: 2.5.1 rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) + rc-virtual-list: 3.11.3(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-table@7.36.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-9qMxEm/3Y8ukdW8I8ZvmhX0QImfNKzH0JEUlSbyaUlsYTB+/tQEbfaB8YkG4sHVZ1io4pxqK/BXoZYqebi/TIQ==} + /rc-table@7.39.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-7fHLMNsm/2DlGwyIMkdH2xIeRzb5I69bLsFaEVtX+gqmGhByy0wtOAgHkiOew3PtXozSJyh+iXifjLgQzWdczw==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -15209,8 +15053,8 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-tabs@12.9.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-2HnVowgMVrq0DfQtyu4mCd9E6pXlWNdM6VaDvOOHMsLYqPmpY+7zBqUC6YrrQ9xYXHciTS0e7TtjOHIvpVCHLQ==} + /rc-tabs@14.0.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-lp1YWkaPnjlyhOZCPrAWxK6/P6nMGX/BAZcAC3nuVwKz0Byfp+vNnQKK8BRCP2g/fzu+SeB5dm9aUigRu3tRkQ==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -15219,13 +15063,12 @@ packages: '@babel/runtime': 7.23.7 classnames: 2.5.1 rc-dropdown: 4.1.0(react-dom@18.2.0)(react@18.2.0) - rc-menu: 9.10.0(react-dom@18.2.0)(react@18.2.0) + rc-menu: 9.12.4(react-dom@18.2.0)(react@18.2.0) rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false /rc-textarea@0.4.7(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==} @@ -15241,30 +15084,29 @@ packages: react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 - /rc-textarea@1.3.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-wn0YjTpvcVolcfXa0HtzL+jgV2QcwtfB29RwNAKj8hMgZOju1V24M3TfEDjABeQEAQbUGbjMbISREOX/YSVKhg==} + /rc-textarea@1.5.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-oH682ghHx++stFNYrosPRBfwsypywrTXpaD0/5Z8MPkUOnyOQUaY9ueL9tMu6BP1LfsuYQ1VLpg5OtshViLNgA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 - rc-input: 1.1.1(react-dom@18.2.0)(react@18.2.0) + rc-input: 1.3.11(react-dom@18.2.0)(react@18.2.0) rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-textarea@1.5.3(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-oH682ghHx++stFNYrosPRBfwsypywrTXpaD0/5Z8MPkUOnyOQUaY9ueL9tMu6BP1LfsuYQ1VLpg5OtshViLNgA==} + /rc-textarea@1.6.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-8k7+8Y2GJ/cQLiClFMg8kUXOOdvcFQrnGeSchOvI2ZMIVvX5a3zQpLxoODL0HTrvU63fPkRmMuqaEcOF9dQemA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 - rc-input: 1.3.11(react-dom@18.2.0)(react@18.2.0) + rc-input: 1.4.3(react-dom@18.2.0)(react@18.2.0) rc-resize-observer: 1.4.0(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 @@ -15282,19 +15124,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-tooltip@6.0.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-MdvPlsD1fDSxKp9+HjXrc/CxLmA/s11QYIh1R7aExxfodKP7CZA++DG1AjrW80F8IUdHYcR43HAm0Y2BYPelHA==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) - classnames: 2.5.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-tooltip@6.1.3(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-HMSbSs5oieZ7XddtINUddBLSVgsnlaSb3bZrzzGWjXa7/B7nNedmsuz72s7EWFEro9mNa7RyF3gOXKYqvJiTcQ==} peerDependencies: @@ -15302,36 +15131,35 @@ packages: react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.23.7 - '@rc-component/trigger': 1.18.2(react-dom@18.2.0)(react@18.2.0) + '@rc-component/trigger': 1.18.3(react-dom@18.2.0)(react@18.2.0) classnames: 2.5.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-tree-select@5.11.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-EDG1rYFu1iD2Y8fg0yEmm0LV3XqWOy+SpgOMvO5396NgAZ67t0zVTNK6FQkIxzdXf5ri742BkB/B8+Ah6+0Kxw==} + /rc-tree-select@5.15.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-YJHfdO6azFnR0/JuNBZLDptGE4/RGfVeHAafUIYcm2T3RBkL1O8aVqiHvwIyLzdK59ry0NLrByd+3TkfpRM+9Q==} peerDependencies: react: '*' react-dom: '*' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 - rc-select: 14.7.3(react-dom@18.2.0)(react@18.2.0) - rc-tree: 5.7.9(react-dom@18.2.0)(react@18.2.0) + rc-select: 14.10.0(react-dom@18.2.0)(react@18.2.0) + rc-tree: 5.8.5(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - dev: false - /rc-tree-select@5.15.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-YJHfdO6azFnR0/JuNBZLDptGE4/RGfVeHAafUIYcm2T3RBkL1O8aVqiHvwIyLzdK59ry0NLrByd+3TkfpRM+9Q==} + /rc-tree-select@5.17.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-7sRGafswBhf7n6IuHyCEFCildwQIgyKiV8zfYyUoWfZEFdhuk7lCH+DN0aHt+oJrdiY9+6Io/LDXloGe01O8XQ==} peerDependencies: react: '*' react-dom: '*' dependencies: '@babel/runtime': 7.23.7 classnames: 2.5.1 - rc-select: 14.10.0(react-dom@18.2.0)(react@18.2.0) - rc-tree: 5.8.2(react-dom@18.2.0)(react@18.2.0) + rc-select: 14.11.0(react-dom@18.2.0)(react@18.2.0) + rc-tree: 5.8.5(react-dom@18.2.0)(react@18.2.0) rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -15380,6 +15208,21 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + /rc-tree@5.8.5(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-PRfcZtVDNkR7oh26RuNe1hpw11c1wfgzwmPFL0lnxGnYefe9lDAO6cg5wJKIAwyXFVt5zHgpjYmaz0CPy1ZtKg==} + engines: {node: '>=10.x'} + peerDependencies: + react: '*' + react-dom: '*' + dependencies: + '@babel/runtime': 7.23.7 + classnames: 2.5.1 + rc-motion: 2.9.0(react-dom@18.2.0)(react@18.2.0) + rc-util: 5.38.1(react-dom@18.2.0)(react@18.2.0) + rc-virtual-list: 3.11.3(react-dom@18.2.0)(react@18.2.0) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + /rc-trigger@5.3.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw==} engines: {node: '>=8.x'} @@ -15419,18 +15262,6 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /rc-util@5.36.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-a4uUvT+UNHvYL+awzbN8H8zAjfduwY4KAp2wQy40wOz3NyBdo3Xhx/EAAPyDkHLoGm535jIACaMhIqExGiAjHw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.23.7 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-is: 16.13.1 - dev: false - /rc-util@5.38.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-e4ZMs7q9XqwTuhIK7zBIVFltUtMSjphuPPQXHoHlzRzNdOwUxDejo0Zls5HYaJfRKNURcsS/ceKVULlhjBrxng==} peerDependencies: @@ -15543,6 +15374,16 @@ packages: shallowequal: 1.1.0 dev: true + /react-hotkeys-hook@4.5.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Samb85GSgAWFQNvVt3PS90LPPGSf9mkH/r4au81ZP1yOIFayLC3QAvqTgGtJ8YEDMXtPmaVBs6NgipHO6h4Mug==} + peerDependencies: + react: '>=16.8.1' + react-dom: '>=16.8.1' + dependencies: + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + /react-intl@6.4.4(react@18.2.0)(typescript@5.1.6): resolution: {integrity: sha512-/C9Sl/5//ohfkNG6AWlJuf4BhTXsbzyk93K62A4zRhSPANyOGpKZ+fWhN+TLfFd5YjDUHy+exU/09y0w1bO4Xw==} peerDependencies: @@ -15568,6 +15409,7 @@ packages: /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} + dev: true /react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} @@ -15663,15 +15505,6 @@ packages: dependencies: loose-envify: 1.4.0 - /read-pkg-up@10.0.0: - resolution: {integrity: sha512-jgmKiS//w2Zs+YbX039CorlkOp8FIVbSAN8r8GJHDsGlmNPXo+VeHkqAwCiQVTTx5/LwLZTcEw59z3DvcLbr0g==} - engines: {node: '>=16'} - dependencies: - find-up: 6.3.0 - read-pkg: 8.0.0 - type-fest: 3.13.1 - dev: true - /read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} @@ -15710,14 +15543,14 @@ packages: type-fest: 1.4.0 dev: true - /read-pkg@8.0.0: - resolution: {integrity: sha512-Ajb9oSjxXBw0YyOiwtQ2dKbAA/vMnUPnY63XcCk+mXo0BwIdQEMgZLZiMWGttQHcUhUgbK0mH85ethMPKXxziw==} - engines: {node: '>=16'} + /read-yaml-file@1.1.0: + resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} + engines: {node: '>=6'} dependencies: - '@types/normalize-package-data': 2.4.1 - normalize-package-data: 5.0.0 - parse-json: 7.0.0 - type-fest: 3.13.1 + graceful-fs: 4.2.11 + js-yaml: 3.14.1 + pify: 4.0.1 + strip-bom: 3.0.0 dev: true /readable-stream@1.0.34: @@ -15980,6 +15813,10 @@ packages: parse-git-config: 1.1.1 dev: true + /remove-trailing-separator@1.1.0: + resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} + dev: true + /rename-keys@1.2.0: resolution: {integrity: sha512-U7XpAktpbSgHTRSNRrjKSrjYkZKuhUukfoBlXWXUExCAqhzh1TU3BDRAfJmarcl5voKS+pbKU9MvyLWKZ4UEEg==} engines: {node: '>= 0.8.0'} @@ -16200,10 +16037,6 @@ packages: aproba: 1.2.0 dev: true - /runes2@1.1.2: - resolution: {integrity: sha512-v6XIdRpUKdFLNhgF2AC9XvntZsDzxyTpVlpQ8HD592XD6vHiW8jEcHFnTV5ztUjWJC5cGOcdi9YKIwxWVh0f9w==} - dev: false - /rxjs@6.6.7: resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} engines: {npm: '>=2.0.0'} @@ -16309,12 +16142,6 @@ packages: dependencies: compute-scroll-into-view: 1.0.20 - /scroll-into-view-if-needed@3.0.10: - resolution: {integrity: sha512-t44QCeDKAPf1mtQH3fYpWz8IM/DyvHLjs8wUvvwMYxk5moOqCzrMSxK6HQVD0QVmVjXFavoFIPRVrMuJPKAvtg==} - dependencies: - compute-scroll-into-view: 3.0.3 - dev: false - /scroll-into-view-if-needed@3.1.0: resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==} dependencies: @@ -16330,40 +16157,41 @@ packages: resolution: {integrity: sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==} dev: true - /semantic-release@21.0.7: - resolution: {integrity: sha512-peRDSXN+hF8EFSKzze90ff/EnAmgITHQ/a3SZpRV3479ny0BIZWEJ33uX6/GlOSKdaSxo9hVRDyv2/u2MuF+Bw==} - engines: {node: '>=18'} + /semantic-release@19.0.5: + resolution: {integrity: sha512-NMPKdfpXTnPn49FDogMBi36SiBfXkSOJqCkk0E4iWOY1tusvvgBwqUmxTX1kmlT6kIYed9YwNKD1sfPpqa5yaA==} + engines: {node: '>=16 || ^14.17'} hasBin: true dependencies: - '@semantic-release/commit-analyzer': 10.0.1(semantic-release@21.0.7) - '@semantic-release/error': 4.0.0 - '@semantic-release/github': 9.0.4(semantic-release@21.0.7) - '@semantic-release/npm': 10.0.4(semantic-release@21.0.7) - '@semantic-release/release-notes-generator': 11.0.4(semantic-release@21.0.7) - aggregate-error: 4.0.1 - cosmiconfig: 8.2.0 + '@semantic-release/commit-analyzer': 9.0.2(semantic-release@19.0.5) + '@semantic-release/error': 3.0.0 + '@semantic-release/github': 8.1.0(semantic-release@19.0.5) + '@semantic-release/npm': 9.0.2(semantic-release@19.0.5) + '@semantic-release/release-notes-generator': 10.0.3(semantic-release@19.0.5) + aggregate-error: 3.1.0 + cosmiconfig: 7.1.0 debug: 4.3.4 - env-ci: 9.1.1 - execa: 7.2.0 - figures: 5.0.0 - find-versions: 5.1.0 + env-ci: 5.5.0 + execa: 5.1.1 + figures: 3.2.0 + find-versions: 4.0.0 get-stream: 6.0.1 git-log-parser: 1.2.0 - hook-std: 3.0.0 - hosted-git-info: 6.1.1 - lodash-es: 4.17.21 - marked: 5.1.2 - marked-terminal: 5.2.0(marked@5.1.2) + hook-std: 2.0.0 + hosted-git-info: 4.1.0 + lodash: 4.17.21 + marked: 4.3.0 + marked-terminal: 5.2.0(marked@4.3.0) micromatch: 4.0.5 - p-each-series: 3.0.0 - p-reduce: 3.0.0 - read-pkg-up: 10.0.0 + p-each-series: 2.2.0 + p-reduce: 2.1.0 + read-pkg-up: 7.0.1 resolve-from: 5.0.0 semver: 7.5.4 - semver-diff: 4.0.0 + semver-diff: 3.1.1 signale: 1.4.0 - yargs: 17.7.2 + yargs: 16.2.0 transitivePeerDependencies: + - encoding - supports-color dev: true @@ -16374,16 +16202,16 @@ packages: semver: 5.7.2 dev: true - /semver-diff@4.0.0: - resolution: {integrity: sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==} - engines: {node: '>=12'} + /semver-diff@3.1.1: + resolution: {integrity: sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==} + engines: {node: '>=8'} dependencies: - semver: 7.5.4 + semver: 6.3.1 dev: true - /semver-regex@4.0.5: - resolution: {integrity: sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==} - engines: {node: '>=12'} + /semver-regex@3.1.4: + resolution: {integrity: sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA==} + engines: {node: '>=8'} dev: true /semver@5.7.2: @@ -16463,6 +16291,7 @@ packages: /shiki-es@0.2.0: resolution: {integrity: sha512-RbRMD+IuJJseSZljDdne9ThrUYrwBwJR04FvN4VXpfsU3MNID5VJGHLAD5je/HGThCyEKNgH+nEkSFEWKD7C3Q==} + deprecated: Please migrate to https://github.com/antfu/shikiji dev: true /shortid@2.2.16: @@ -16779,14 +16608,6 @@ packages: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} dev: true - /staged-components@1.1.3(react@18.2.0): - resolution: {integrity: sha512-9EIswzDqjwlEu+ymkV09TTlJfzSbKgEnNteUnZSTxkpMgr5Wx2CzzA9WcMFWBNCldqVPsHVnRGGrApduq2Se5A==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - react: 18.2.0 - dev: false - /std-env@3.7.0: resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} dev: true @@ -16805,6 +16626,11 @@ packages: readable-stream: 2.3.8 dev: true + /stream-buffers@3.0.2: + resolution: {integrity: sha512-DQi1h8VEBA/lURbSwFtEHnSTb9s2/pwLEaFuNhXwy1Dx3Sa0lOuYT2yNUr4/j2fs8oCAMANtrZ5OrPZtyVs3MQ==} + engines: {node: '>= 0.10.0'} + dev: true + /stream-combiner2@1.1.1: resolution: {integrity: sha512-3PnJbYgS56AeWgtKF5jtJRT6uFJe56Z0Hc5Ngg/6sI6rIt8iiMBTa9cvdyFfpMQjaVHr8dusbNeFGIIonxOvKw==} dependencies: @@ -17005,10 +16831,10 @@ packages: engines: {node: '>=8'} dev: true - /strip-literal@1.3.0: - resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + /strip-literal@2.0.0: + resolution: {integrity: sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==} dependencies: - acorn: 8.10.0 + js-tokens: 8.0.3 dev: true /style-search@0.1.0: @@ -17280,19 +17106,20 @@ packages: xtend: 4.0.2 dev: true - /temp-dir@3.0.0: - resolution: {integrity: sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==} - engines: {node: '>=14.16'} + /temp-dir@2.0.0: + resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} + engines: {node: '>=8'} dev: true - /tempy@3.1.0: - resolution: {integrity: sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==} - engines: {node: '>=14.16'} + /tempy@1.0.1: + resolution: {integrity: sha512-biM9brNqxSc04Ee71hzFbryD11nX7VPhQQY32AdDmjFvodsRFz/3ufeoTZ6uYkRFfGo188tENcASNs3vTdsM0w==} + engines: {node: '>=10'} dependencies: - is-stream: 3.0.0 - temp-dir: 3.0.0 - type-fest: 2.19.0 - unique-string: 3.0.0 + del: 6.1.1 + is-stream: 2.0.1 + temp-dir: 2.0.0 + type-fest: 0.16.0 + unique-string: 2.0.0 dev: true /term-size@1.2.0: @@ -17410,8 +17237,8 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: true - /tinypool@0.8.1: - resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} + /tinypool@0.8.2: + resolution: {integrity: sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==} engines: {node: '>=14.0.0'} dev: true @@ -17469,6 +17296,10 @@ packages: url-parse: 1.5.10 dev: true + /tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + dev: true + /tr46@4.1.1: resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} engines: {node: '>=14'} @@ -17532,7 +17363,7 @@ packages: '@tsconfig/node16': 1.0.4 '@types/node': 20.4.8 acorn: 8.10.0 - acorn-walk: 8.3.1 + acorn-walk: 8.3.2 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 @@ -17586,6 +17417,66 @@ packages: resolution: {integrity: sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==} dev: true + /turbo-darwin-64@1.12.4: + resolution: {integrity: sha512-dBwFxhp9isTa9RS/fz2gDVk5wWhKQsPQMozYhjM7TT4jTrnYn0ZJMzr7V3B/M/T8QF65TbniW7w1gtgxQgX5Zg==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /turbo-darwin-arm64@1.12.4: + resolution: {integrity: sha512-1Uo5iI6xsJ1j9ObsqxYRsa3W26mEbUe6fnj4rQYV6kDaqYD54oAMJ6hM53q9rB8JvFxwdrUXGp3PwTw9A0qqkA==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /turbo-linux-64@1.12.4: + resolution: {integrity: sha512-ONg2aSqKP7LAQOg7ysmU5WpEQp4DGNxSlAiR7um+LKtbmC/UxogbR5+T+Uuq6zGuQ5kJyKjWJ4NhtvUswOqBsA==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /turbo-linux-arm64@1.12.4: + resolution: {integrity: sha512-9FPufkwdgfIKg/9jj87Cdtftw8o36y27/S2vLN7FTR2pp9c0MQiTBOLVYadUr1FlShupddmaMbTkXEhyt9SdrA==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /turbo-windows-64@1.12.4: + resolution: {integrity: sha512-2mOtxHW5Vjh/5rDVu/aFwsMzI+chs8XcEuJHlY1sYOpEymYTz+u6AXbnzRvwZFMrLKr7J7fQOGl+v96sLKbNdA==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /turbo-windows-arm64@1.12.4: + resolution: {integrity: sha512-nOY5wae9qnxPOpT1fRuYO0ks6dTwpKMPV6++VkDkamFDLFHUDVM/9kmD2UTeh1yyrKnrZksbb9zmShhmfj1wog==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /turbo@1.12.4: + resolution: {integrity: sha512-yUJ7elEUSToiGwFZogXpYKJpQ0BvaMbkEuQECIWtkBLcmWzlMOt6bActsIm29oN83mRU0WbzGt4e8H1KHWedhg==} + hasBin: true + optionalDependencies: + turbo-darwin-64: 1.12.4 + turbo-darwin-arm64: 1.12.4 + turbo-linux-64: 1.12.4 + turbo-linux-arm64: 1.12.4 + turbo-windows-64: 1.12.4 + turbo-windows-arm64: 1.12.4 + dev: true + /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -17598,6 +17489,11 @@ packages: engines: {node: '>=4'} dev: true + /type-fest@0.16.0: + resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==} + engines: {node: '>=10'} + dev: true + /type-fest@0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} engines: {node: '>=10'} @@ -17628,11 +17524,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@2.19.0: - resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} - engines: {node: '>=12.20'} - dev: true - /type-fest@3.13.1: resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} engines: {node: '>=14.16'} @@ -17707,6 +17598,10 @@ packages: hasBin: true dev: true + /ua-parser-js@1.0.37: + resolution: {integrity: sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==} + dev: false + /ufo@1.3.2: resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==} dev: true @@ -17838,11 +17733,11 @@ packages: crypto-random-string: 1.0.0 dev: true - /unique-string@3.0.0: - resolution: {integrity: sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==} - engines: {node: '>=12'} + /unique-string@2.0.0: + resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} + engines: {node: '>=8'} dependencies: - crypto-random-string: 4.0.0 + crypto-random-string: 2.0.0 dev: true /unist-util-filter@4.0.1: @@ -17909,6 +17804,13 @@ packages: engines: {node: '>= 10.0.0'} dev: true + /unixify@1.0.0: + resolution: {integrity: sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==} + engines: {node: '>=0.10.0'} + dependencies: + normalize-path: 2.1.1 + dev: true + /unquote@1.1.1: resolution: {integrity: sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==} dev: true @@ -17964,9 +17866,8 @@ packages: punycode: 2.3.0 dev: true - /url-join@5.0.0: - resolution: {integrity: sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /url-join@4.0.1: + resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==} dev: true /url-parse-lax@1.0.0: @@ -18017,6 +17918,7 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: react: 18.2.0 + dev: true /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -18126,8 +18028,8 @@ packages: vfile-message: 3.1.4 dev: true - /vite-node@1.1.3(@types/node@20.4.8): - resolution: {integrity: sha512-BLSO72YAkIUuNrOx+8uznYICJfTEbvBAmWClY3hpath5+h1mbPS5OMn42lrTxXuyCazVyZoDkSRnju78GiVCqA==} + /vite-node@1.3.1(@types/node@20.4.8): + resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -18254,15 +18156,15 @@ packages: fsevents: 2.3.3 dev: true - /vitest@1.1.3(@types/node@20.4.8)(jsdom@22.1.0): - resolution: {integrity: sha512-2l8om1NOkiA90/Y207PsEvJLYygddsOyr81wLQ20Ra8IlLKbyQncWsGZjnbkyG2KwwuTXLQjEPOJuxGMG8qJBQ==} + /vitest@1.3.1(@types/node@20.4.8)(jsdom@22.1.0): + resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': ^1.0.0 - '@vitest/ui': ^1.0.0 + '@vitest/browser': 1.3.1 + '@vitest/ui': 1.3.1 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -18280,13 +18182,12 @@ packages: optional: true dependencies: '@types/node': 20.4.8 - '@vitest/expect': 1.1.3 - '@vitest/runner': 1.1.3 - '@vitest/snapshot': 1.1.3 - '@vitest/spy': 1.1.3 - '@vitest/utils': 1.1.3 - acorn-walk: 8.3.1 - cac: 6.7.14 + '@vitest/expect': 1.3.1 + '@vitest/runner': 1.3.1 + '@vitest/snapshot': 1.3.1 + '@vitest/spy': 1.3.1 + '@vitest/utils': 1.3.1 + acorn-walk: 8.3.2 chai: 4.3.10 debug: 4.3.4 execa: 8.0.1 @@ -18296,11 +18197,11 @@ packages: pathe: 1.1.1 picocolors: 1.0.0 std-env: 3.7.0 - strip-literal: 1.3.0 + strip-literal: 2.0.0 tinybench: 2.5.1 - tinypool: 0.8.1 + tinypool: 0.8.2 vite: 5.0.11(@types/node@20.4.8) - vite-node: 1.1.3(@types/node@20.4.8) + vite-node: 1.3.1(@types/node@20.4.8) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -18352,6 +18253,10 @@ packages: engines: {node: '>= 8'} dev: true + /webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + dev: true + /webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} @@ -18422,6 +18327,13 @@ packages: webidl-conversions: 7.0.0 dev: true + /whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + dev: true + /which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} dependencies: @@ -18648,6 +18560,19 @@ packages: engines: {node: '>=12'} dev: true + /yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + dev: true + /yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e1fec93..1598933 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,3 @@ packages: + - 'packages/*' - 'examples/*' diff --git a/src/context/index.tsx b/src/context/index.tsx deleted file mode 100644 index ca44cc0..0000000 --- a/src/context/index.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import * as React from 'react'; - -export type EasyAntdModalContextType = { - /** - * 触发器的 props - * @default `trigger` - */ - triggerProps?: 'children' | 'trigger'; - /** - * 内容的 props - * @default `content` - */ - contentProps?: 'content' | 'children'; -}; - -export const EasyAntdModalContext = React.createContext({ - triggerProps: 'trigger', - contentProps: 'children', -}); - -export const useEasyAntdModal = () => React.useContext(EasyAntdModalContext); - -export const EasyAntdModalProvider = (props: React.PropsWithChildren) => { - const { - triggerProps: parentTriggerProps = 'trigger', - contentProps: parentContentProps = 'children', - } = useEasyAntdModal(); - - const { children, triggerProps = parentTriggerProps, contentProps = parentContentProps } = props; - - if (triggerProps === contentProps) { - throw new Error(`"triggerProps" and "contentProps" cannot be the same`); - } - - const memoizedContextValue = React.useMemo( - () => ({ - triggerProps, - contentProps, - }), - [triggerProps, contentProps], - ); - - return ( - - {children} - - ); -}; diff --git a/src/drag-modal/BaseModal.tsx b/src/drag-modal/BaseModal.tsx deleted file mode 100644 index f5f4900..0000000 --- a/src/drag-modal/BaseModal.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { useDraggable } from '@dnd-kit/core'; -import { CSS } from '@dnd-kit/utilities'; -import type { DragModalProps } from '.'; -import usePrefixCls from '../hooks/usePrefixCls'; -import Modal from '../modal'; - -export interface BaseModalProps extends DragModalProps { - offsetX?: number; - offsetY?: number; -} - -function BaseModal(props: BaseModalProps) { - const { modalRender, title, offsetX, offsetY, className, ...resetProps } = props; - - const prefixCls = usePrefixCls('drag-modal', props.prefixCls); - - const { attributes, isDragging, listeners, setNodeRef, transform } = useDraggable({ - id: 'easy-antd-modal-draggable-modal', - }); - - const mergeModalRender: typeof modalRender = (rawNode) => ( -
- {modalRender?.(rawNode) ?? rawNode} -
- ); - - // Compliance with BEM norms - const modalCls = [className, isDragging && `${prefixCls}_dragging`].filter(Boolean).join(' '); - - return ( - - {title} - - } - modalRender={mergeModalRender} - /> - ); -} - -export default BaseModal; diff --git a/src/drag-modal/index.tsx b/src/drag-modal/index.tsx deleted file mode 100644 index ee62421..0000000 --- a/src/drag-modal/index.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import { DndContext } from '@dnd-kit/core'; -import { restrictToWindowEdges } from '@dnd-kit/modifiers'; -import type { Coordinates } from '@dnd-kit/utilities'; -import * as React from 'react'; -import type { ModalProps } from '../modal'; -import type { RequireKeys } from '../types'; -import BaseModal from './BaseModal'; - -export type DragModalProps = RequireKeys; - -const defaultCoordinates: Coordinates = { x: 0, y: 0 }; - -function DragModal(props: DragModalProps) { - const [{ x, y }, setCoordinates] = React.useState(defaultCoordinates); - - const handleOpenChange = (open: boolean) => { - if (!open) { - setCoordinates(defaultCoordinates); - } - props.afterOpenChange?.(open); - }; - - return ( - - setCoordinates(({ x, y }) => ({ - x: x + delta.x, - y: y + delta.y, - })) - } - > - - - ); -} - -export default DragModal; diff --git a/src/drawer/index.tsx b/src/drawer/index.tsx deleted file mode 100644 index 21dcfc7..0000000 --- a/src/drawer/index.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import type { DrawerProps as AntdDrawerProps } from 'antd'; -import { Drawer as AntdDrawer } from 'antd'; -import { UseModalEnhancedProps, useModalEnhanced } from '../hooks'; -import usePrefixCls from '../hooks/usePrefixCls'; - -export type DrawerProps = Omit & UseModalEnhancedProps; - -const Modal = (props: DrawerProps) => { - const prefixCls = usePrefixCls('drawer', props.prefixCls); - const [visible, { close }, { trigger, content }, restProps] = useModalEnhanced(props); - - const handleModalCancel: DrawerProps['onClose'] = (event) => { - props.onClose?.(event); - close(); - }; - - return ( - <> - {trigger} - - {content} - - - ); -}; - -export default Modal; diff --git a/src/hooks/index.ts b/src/hooks/index.ts deleted file mode 100644 index 39ed321..0000000 --- a/src/hooks/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './useBoolean'; -export { default as useBoolean } from './useBoolean'; - -export * from './useModalEnhanced'; -export { default as useModalEnhanced } from './useModalEnhanced'; diff --git a/src/hooks/useBoolean.ts b/src/hooks/useBoolean.ts deleted file mode 100644 index 59824bd..0000000 --- a/src/hooks/useBoolean.ts +++ /dev/null @@ -1,25 +0,0 @@ -import * as React from 'react'; - -export interface Actions { - setTrue: () => void; - setFalse: () => void; - toggle: () => void; -} - -export default function useBoolean(defaultValue = false): [boolean, Actions] { - const [state, setState] = React.useState(!!defaultValue); - - const actions: Actions = React.useMemo(() => { - const setTrue = () => setState(true); - const setFalse = () => setState(false); - const toggle = () => setState((prev) => !prev); - - return { - toggle, - setTrue, - setFalse, - }; - }, []); - - return [state, actions]; -} diff --git a/src/hooks/useModalEnhanced.ts b/src/hooks/useModalEnhanced.ts deleted file mode 100644 index d383ce8..0000000 --- a/src/hooks/useModalEnhanced.ts +++ /dev/null @@ -1,80 +0,0 @@ -import React from 'react'; -import { useEasyAntdModal } from '../context'; -import type { AnyFunction, AnyObj } from '../types'; -import { isDOMTypeElement, isElement, omit } from '../util'; -import useBoolean from './useBoolean'; - -// eslint-disable-next-line @typescript-eslint/ban-types -export type PropsWithModalEnhanced = { - enhancedAction?: ModalEnhancedAction; -} & T; - -type TriggerType = React.ReactNode; -type ContentType = - | React.ReactNode - // eslint-disable-next-line @typescript-eslint/ban-types - | (

(props: PropsWithModalEnhanced

) => React.ReactNode); - -export interface UseModalEnhancedProps { - defaultOpen?: boolean; - onClick?: (e: React.MouseEvent, action: ModalEnhancedAction) => void; - actionRef?: React.RefObject; - content?: ContentType; - trigger?: TriggerType; - children?: ContentType | TriggerType; -} - -export interface ModalEnhancedAction { - close: () => void; - open: () => void; -} - -function useModalEnhanced(props: UseModalEnhancedProps = {}) { - const { onClick, actionRef: actionRefProp, defaultOpen } = props; - - const [visible, { setTrue: open, setFalse: close }] = useBoolean(defaultOpen); - const actionRef = React.useRef({ open, close }); - const { triggerProps, contentProps } = useEasyAntdModal(); - - const mergedTrigger = props[triggerProps!] as TriggerType; - const mergedContent = props[contentProps!] as ContentType; - - React.useImperativeHandle(actionRefProp, () => actionRef.current); - - const handleClick = (event: React.MouseEvent) => { - if (onClick) return onClick(event, actionRef.current); - return open(); - }; - - // ======================== Trigger ======================== - let trigger = mergedTrigger; - if (React.isValidElement(mergedTrigger)) - trigger = React.cloneElement(mergedTrigger, { onClick: handleClick }); - - // ======================== Content ======================== - let contentNode: React.ReactNode = mergedContent as React.ReactNode; - if (isElement>(contentNode) && !isDOMTypeElement(contentNode)) { - contentNode = React.cloneElement>(contentNode, { - enhancedAction: actionRef.current, - }); - } else if (typeof mergedContent === 'function') { - contentNode = (mergedContent as AnyFunction)({ - enhancedAction: actionRef.current, - }); - } - - const contextHolder = { trigger, content: contentNode }; - const action = { open, close }; - const resetProps = omit(props, [ - 'defaultOpen', - 'onClick', - 'actionRef', - 'content', - 'trigger', - 'children', - ]); - - return [visible, action, contextHolder, resetProps] as const; -} - -export default useModalEnhanced; diff --git a/src/hooks/usePrefixCls.ts b/src/hooks/usePrefixCls.ts deleted file mode 100644 index 0bb5915..0000000 --- a/src/hooks/usePrefixCls.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ConfigProvider as AntdConfigProvider, version } from 'antd'; -import * as React from 'react'; - -/** @@Internal 仅仅用于内部组件开发 */ -function usePrefixCls(suffixCls: string, customPrefixCls?: string): string { - const { getPrefixCls } = React.useContext(AntdConfigProvider.ConfigContext); - - if (customPrefixCls) { - return customPrefixCls; - } - - /** - * 5.x 版本的 antd 会自动加上 easy- 前缀, 可以和 antd 的样式区分开。 - * 4.x 使用的是 less,不是很好处理,直接复用 antd 的样式即可。可以在稳定后直接删除对 4.x 的支持。 - * 二次开发约定 xxx-(antd 的组件 cls 逻辑), 所以处理 4.x 时可以直接 pop() 获取最后一个即可。 - */ - const _prefixCls = version.startsWith('5') ? 'easy-' : ''; - let _suffixCls = version.startsWith('5') ? suffixCls : suffixCls.split('-').pop() ?? ''; - - return `${_prefixCls}${getPrefixCls()}-${_suffixCls}`; -} - -export default usePrefixCls; diff --git a/src/index.ts b/src/index.ts deleted file mode 100644 index f5c0ba7..0000000 --- a/src/index.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { EasyAntdModalProvider, useEasyAntdModal } from './context'; -import DragModal from './drag-modal'; -import Drawer from './drawer'; -import Modal from './modal'; - -export * from './hooks'; -export * from './types'; -export * from './util'; - -export * from './drag-modal'; -export * from './drawer'; -export * from './modal'; - -export { - DragModal, - Drawer, - EasyAntdModalProvider, - Modal, - // ====== Hooks ====== - useEasyAntdModal, -}; - -export default Modal; - -export * as AntdMobile from './mobile'; -export const Antd = { - Modal, - Drawer, -}; diff --git a/src/mobile/Dialog.tsx b/src/mobile/Dialog.tsx deleted file mode 100644 index 546b5a4..0000000 --- a/src/mobile/Dialog.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { Dialog as AntdMDialog, type DialogProps as AntdMDialogProps } from 'antd-mobile'; -import { useModalEnhanced, type UseModalEnhancedProps } from '../hooks'; - -export type DialogProps = Omit & UseModalEnhancedProps; - -function Modal(props: DialogProps) { - const [visible, { close }, { trigger, content }, restProps] = useModalEnhanced(props); - - const handleClose: AntdMDialogProps['onClose'] = () => { - props?.onClose?.(); - close(); - }; - - return ( - <> - {trigger} - - - ); -} - -export default Modal; diff --git a/src/mobile/Mask.tsx b/src/mobile/Mask.tsx deleted file mode 100644 index d3d0cdb..0000000 --- a/src/mobile/Mask.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { Mask as AntdMMask, type MaskProps as AntdMMaskProps } from 'antd-mobile'; -import { useModalEnhanced, type UseModalEnhancedProps } from '../hooks'; - -export type MaskProps = AntdMMaskProps & UseModalEnhancedProps; - -function Mask(props: MaskProps) { - const [visible, { close }, { trigger, content }, restProps] = useModalEnhanced(props); - - const handleMaskClick: AntdMMaskProps['onMaskClick'] = (e) => { - if (props.onMaskClick) return props.onMaskClick(e); - close(); - }; - - const handleMaskClose: AntdMMaskProps['afterClose'] = () => { - props.afterClose?.(); - close(); - }; - - return ( - <> - {trigger} - - {content} - - - ); -} - -export default Mask; diff --git a/src/mobile/Modal.tsx b/src/mobile/Modal.tsx deleted file mode 100644 index c57b97e..0000000 --- a/src/mobile/Modal.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { Modal as AntdMModal, type ModalProps as AntdMModalProps } from 'antd-mobile'; -import { useModalEnhanced, type UseModalEnhancedProps } from '../hooks'; - -export type ModalProps = Omit & UseModalEnhancedProps; - -function Modal(props: ModalProps) { - const [visible, { close }, { trigger, content }, restProps] = useModalEnhanced(props); - - const handleClose: AntdMModalProps['onClose'] = () => { - props?.onClose?.(); - close(); - }; - - return ( - <> - {trigger} - - - ); -} - -export default Modal; diff --git a/src/mobile/Popup.tsx b/src/mobile/Popup.tsx deleted file mode 100644 index 50af477..0000000 --- a/src/mobile/Popup.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { Popup as AntdMPopup, type PopupProps as AntdMPopupProps } from 'antd-mobile'; -import { useModalEnhanced, type UseModalEnhancedProps } from '../hooks'; - -export type PopupProps = Omit & - UseModalEnhancedProps & { - popupClick?: AntdMPopupProps['onClick']; // antd-mobile Popup onClick - }; - -function Popup(props: PopupProps) { - const { popupClick, ...rawProps } = props; - const [visible, { close }, { trigger, content }, restProps] = useModalEnhanced(rawProps); - - const handleClose: AntdMPopupProps['onClose'] = () => { - props?.onClose?.(); - close(); - }; - - return ( - <> - {trigger} - - {content} - - - ); -} - -export default Popup; diff --git a/src/mobile/index.tsx b/src/mobile/index.tsx deleted file mode 100644 index dfc6a3c..0000000 --- a/src/mobile/index.tsx +++ /dev/null @@ -1,11 +0,0 @@ -export { default as Modal } from './Modal'; -export type { ModalProps } from './Modal'; - -export { default as Mask } from './Mask'; -export type { MaskProps } from './Mask'; - -export { default as Popup } from './Popup'; -export type { PopupProps } from './Popup'; - -export { default as Dialog } from './Dialog'; -export type { DialogProps } from './Dialog'; diff --git a/src/modal/index.tsx b/src/modal/index.tsx deleted file mode 100644 index 957f8c7..0000000 --- a/src/modal/index.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import type { ModalProps as AntdModalProps } from 'antd'; -import { Modal as AntdModal } from 'antd'; -import { UseModalEnhancedProps, useModalEnhanced } from '../hooks'; -import usePrefixCls from '../hooks/usePrefixCls'; - -export type ModalProps = Omit & UseModalEnhancedProps; - -const Modal = (props: ModalProps) => { - const prefixCls = usePrefixCls('modal', props.prefixCls); - - const [visible, { close }, { trigger, content }, restProps] = useModalEnhanced(props); - - const handleModalOk: ModalProps['onOk'] = (event) => { - props.onOk?.(event); - close(); - }; - - const handleModalCancel: ModalProps['onCancel'] = (event) => { - props.onCancel?.(event); - close(); - }; - - return ( - <> - {trigger} - - {content} - - - ); -}; - -/** - * Antd 的一些静态方法(不推荐使用,为什么:https://ant.design/docs/blog/why-not-static-cn) - */ -type _InternalModalType = typeof AntdModal; -let initialized: boolean = false; - -if (!initialized) { - for (const key in AntdModal) { - if (Object.prototype.hasOwnProperty.call(AntdModal, key)) { - (Modal as any)[key] = (AntdModal as any)[key]; - } - } - initialized = true; -} - -// fixme: 类型体操太累了 -export default Modal as typeof Modal & Omit<_InternalModalType, keyof AntdModalProps>; diff --git a/src/types/any.ts b/src/types/any.ts deleted file mode 100644 index 17755eb..0000000 --- a/src/types/any.ts +++ /dev/null @@ -1,2 +0,0 @@ -export type AnyFunction = (...args: any[]) => any; -export type AnyObj = Record; diff --git a/src/types/index.ts b/src/types/index.ts deleted file mode 100644 index 1efbaf8..0000000 --- a/src/types/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './any'; -export * from './require-key'; diff --git a/src/types/require-key.ts b/src/types/require-key.ts deleted file mode 100644 index bdac3e6..0000000 --- a/src/types/require-key.ts +++ /dev/null @@ -1 +0,0 @@ -export type RequireKeys = Required> & Omit; diff --git a/src/util/index.ts b/src/util/index.ts deleted file mode 100644 index 7a535b7..0000000 --- a/src/util/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './omit'; -export * from './react-is'; diff --git a/src/util/omit.ts b/src/util/omit.ts deleted file mode 100644 index c2efd26..0000000 --- a/src/util/omit.ts +++ /dev/null @@ -1,15 +0,0 @@ -// copied from https://github.com/react-component/util/blob/306aff37660b5d48fcb34e34ef12f76711a55c2b/src/omit.ts -export function omit( - obj: T, - fields: K[] | readonly K[], -): Omit { - const clone = { ...obj }; - - if (Array.isArray(fields)) { - fields.forEach((key) => { - delete clone[key]; - }); - } - - return clone; -} diff --git a/src/util/react-is.ts b/src/util/react-is.ts deleted file mode 100644 index 4f88f47..0000000 --- a/src/util/react-is.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { DOMElement, HTMLAttributes, ReactElement, SVGAttributes } from 'react'; -import { isValidElement } from 'react'; - -export function isElement

(element: any): element is ReactElement

{ - return isValidElement(element); -} - -export function isDOMTypeElement

| SVGAttributes, T extends Element>( - element: any, -): element is DOMElement { - return isElement(element) && typeof element.type === 'string'; -} diff --git a/tests/__snapshots__/demo.test.tsx.snap b/tests/__snapshots__/demo.test.tsx.snap deleted file mode 100644 index 7364a32..0000000 --- a/tests/__snapshots__/demo.test.tsx.snap +++ /dev/null @@ -1,465 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`renders advanced-content/ContentForm.tsx correctly 1`] = ` -

-
-
-
-
- -
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
-
-
- - - - - - - - - - -
-
- -
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
-