diff --git a/app/package-lock.json b/app/package-lock.json index 2d73aa9d..2decbfd6 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -9,6 +9,7 @@ "version": "1.8.0", "license": "GPL-3.0", "dependencies": { + "@ant-design/icons": "^6.2.2", "@babel/polyfill": "^7.0.0", "@geoffcox/react-splitter": "^2.1.2", "@types/tinycolor2": "^1.4.3", @@ -16,7 +17,7 @@ "@typescript-eslint/parser": "^5.57.1", "@ungap/structured-clone": "^1.0.2", "ahooks": "^3.7.6", - "antd": "^3.26.20", + "antd": "^4.24.16", "classnames": "^2.3.2", "core-js": "^3.30.1", "lodash.capitalize": "^4.2.1", @@ -121,37 +122,72 @@ } }, "node_modules/@ant-design/colors": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-3.2.2.tgz", - "integrity": "sha512-YKgNbG2dlzqMhA9NtI3/pbY16m3Yl/EeWBRa+lB1X1YaYxHrxNexiQYCLTWO/uDvAjLFMEDU+zR901waBtMtjQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-8.0.1.tgz", + "integrity": "sha512-foPVl0+SWIslGUtD/xBr1p9U4AKzPhNYEseXYRRo5QSzGACYZrQbe11AYJbYfAWnWSpGBx6JjBmSeugUsD9vqQ==", "license": "MIT", "dependencies": { - "tinycolor2": "^1.4.1" + "@ant-design/fast-color": "^3.0.0" + } + }, + "node_modules/@ant-design/fast-color": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-3.0.1.tgz", + "integrity": "sha512-esKJegpW4nckh0o6kV3Tkb7NPIZYbPnnFxmQDUmL08ukXZAvV85TZBr70eGuke/CIArLaP6aw8lt9KILjnWuOw==", + "license": "MIT", + "engines": { + "node": ">=8.x" } }, - "node_modules/@ant-design/create-react-context": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@ant-design/create-react-context/-/create-react-context-0.2.6.tgz", - "integrity": "sha512-pHUuaE50/WEek4w2Q+QYVieLPIGfXM+nUsGSsg8xO6oHBw7dfd14Ws/6q3/L6eZ60zjUiv3WUlSzpWyCOXLqbQ==", + "node_modules/@ant-design/icons": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-6.2.2.tgz", + "integrity": "sha512-zlJtE7AMbG12TeYVPhtBXwNpFInNy8mjLzcIm+0BPw16/b8ODG87YJ1G37VIF5VFscdgfsf6EweAFPTobu/3iQ==", + "license": "MIT", "dependencies": { - "gud": "^1.0.0", - "warning": "^4.0.3" + "@ant-design/colors": "^8.0.1", + "@ant-design/icons-svg": "^4.4.2", + "@rc-component/util": "^1.10.1", + "clsx": "^2.1.1" + }, + "engines": { + "node": ">=8" }, "peerDependencies": { - "prop-types": ">=15.0.0", - "react": "^0.14.0 || >=15.0.0" + "react": ">=16.0.0", + "react-dom": ">=16.0.0" } }, - "node_modules/@ant-design/css-animation": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@ant-design/css-animation/-/css-animation-1.7.3.tgz", - "integrity": "sha512-LrX0OGZtW+W6iLnTAqnTaoIsRelYeuLZWsrmBJFUXDALQphPsN8cE5DCsmoSlL0QYb94BQxINiuS70Ar/8BNgA==" + "node_modules/@ant-design/icons-svg": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz", + "integrity": "sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==", + "license": "MIT" }, - "node_modules/@ant-design/icons": { + "node_modules/@ant-design/icons/node_modules/clsx": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-2.1.1.tgz", - "integrity": "sha512-jCH+k2Vjlno4YWl6g535nHR09PwCEmTBKAG6VqF+rhkrSPRLfgpU2maagwbZPLjaHuU5Jd1DFQ2KJpQuI6uG8w==", - "peer": true + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@ant-design/react-slick": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-1.0.2.tgz", + "integrity": "sha512-Wj8onxL/T8KQLFFiCA4t8eIRGpRR+UPgOdac2sYzonv+i0n3kXHmvHLLiOYL655DQx2Umii9Y9nNgL7ssu5haQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.10.4", + "classnames": "^2.2.5", + "json2mq": "^0.2.0", + "resize-observer-polyfill": "^1.5.1", + "throttle-debounce": "^5.0.0" + }, + "peerDependencies": { + "react": ">=16.9.0" + } }, "node_modules/@babel/code-frame": { "version": "7.21.4", @@ -3282,6 +3318,15 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@ctrl/tinycolor": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, "node_modules/@electron/get": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@electron/get/-/get-2.0.3.tgz", @@ -3779,6 +3824,44 @@ "url": "https://github.com/sponsors/Boshen" } }, + "node_modules/@rc-component/portal": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz", + "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/util": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@rc-component/util/-/util-1.10.1.tgz", + "integrity": "sha512-q++9S6rUa5Idb/xIBNz6jtvumw5+O5YV5V0g4iK9mn9jWs4oGJheE3ZN1kAnE723AXyaD8v95yeOASmdk8Jnng==", + "license": "MIT", + "dependencies": { + "is-mobile": "^5.0.0", + "react-is": "^18.2.0" + }, + "peerDependencies": { + "react": ">=18.0.0", + "react-dom": ">=18.0.0" + } + }, + "node_modules/@rc-component/util/node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" + }, "node_modules/@react-dnd/asap": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@react-dnd/asap/-/asap-4.0.1.tgz", @@ -4338,12 +4421,14 @@ "node_modules/@types/prop-types": { "version": "15.7.5", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "devOptional": true }, "node_modules/@types/react": { "version": "18.3.28", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.28.tgz", "integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==", + "devOptional": true, "license": "MIT", "peer": true, "dependencies": { @@ -4361,14 +4446,6 @@ "@types/react": "^18.0.0" } }, - "node_modules/@types/react-slick": { - "version": "0.23.10", - "resolved": "https://registry.npmjs.org/@types/react-slick/-/react-slick-0.23.10.tgz", - "integrity": "sha512-ZiqdencANDZy6sWOWJ54LDvebuXFEhDlHtXU9FFipQR2BcYU2QJxZhvJPW6YK7cocibUiNn+YvDTbt1HtCIBVA==", - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/responselike": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.3.tgz", @@ -4984,14 +5061,6 @@ "node": ">=0.4.0" } }, - "node_modules/add-dom-event-listener": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/add-dom-event-listener/-/add-dom-event-listener-1.1.0.tgz", - "integrity": "sha512-WCxx1ixHT0GQU9hb0KI/mhgRQhnU+U3GvwY6ZvVjYq8rsihIGoaIOUbY0yMPBxLH5MDtr0kz3fisWGNcbWW7Jw==", - "dependencies": { - "object-assign": "4.x" - } - }, "node_modules/ahooks": { "version": "3.7.6", "resolved": "https://registry.npmjs.org/ahooks/-/ahooks-3.7.6.tgz", @@ -5071,170 +5140,92 @@ } }, "node_modules/antd": { - "version": "3.26.20", - "resolved": "https://registry.npmjs.org/antd/-/antd-3.26.20.tgz", - "integrity": "sha512-VIous4ofZfxFtd9K1h9MpRX2sDDpj3QcOFi3YgIc9B/uyDli/GlLb8SWKfQfJaMkaxwatIv503dag2Tog+hiEg==", - "dependencies": { - "@ant-design/create-react-context": "^0.2.4", - "@ant-design/icons": "~2.1.1", - "@ant-design/icons-react": "~2.0.1", - "@types/react-slick": "^0.23.4", - "array-tree-filter": "^2.1.0", - "babel-runtime": "6.x", - "classnames": "~2.2.6", - "copy-to-clipboard": "^3.2.0", - "css-animation": "^1.5.0", - "dom-closest": "^0.2.0", - "enquire.js": "^2.1.6", - "is-mobile": "^2.1.0", - "lodash": "^4.17.13", - "moment": "^2.24.0", - "omit.js": "^1.0.2", - "prop-types": "^15.7.2", - "raf": "^3.4.1", - "rc-animate": "^2.10.2", - "rc-calendar": "~9.15.7", - "rc-cascader": "~0.17.4", - "rc-checkbox": "~2.1.6", - "rc-collapse": "~1.11.3", - "rc-dialog": "~7.6.0", - "rc-drawer": "~3.1.1", - "rc-dropdown": "~2.4.1", - "rc-editor-mention": "^1.1.13", - "rc-form": "^2.4.10", - "rc-input-number": "~4.5.0", - "rc-mentions": "~0.4.0", - "rc-menu": "~7.5.1", - "rc-notification": "~3.3.1", - "rc-pagination": "~1.20.11", - "rc-progress": "~2.5.0", - "rc-rate": "~2.5.0", - "rc-resize-observer": "^0.1.0", - "rc-select": "~9.2.0", - "rc-slider": "~8.7.1", - "rc-steps": "~3.5.0", - "rc-switch": "~1.9.0", - "rc-table": "~6.10.5", - "rc-tabs": "~9.7.0", - "rc-time-picker": "~3.7.1", - "rc-tooltip": "~3.7.3", - "rc-tree": "~2.1.0", - "rc-tree-select": "~2.9.1", - "rc-trigger": "^2.6.2", - "rc-upload": "~2.9.1", - "rc-util": "^4.16.1", - "react-lazy-load": "^3.0.13", - "react-lifecycles-compat": "^3.0.4", - "react-slick": "~0.25.2", - "resize-observer-polyfill": "^1.5.1", - "shallowequal": "^1.1.0", - "warning": "~4.0.3" - }, - "peerDependencies": { - "react": ">=16.0.0", - "react-dom": ">=16.0.0" - } - }, - "node_modules/antd/node_modules/@ant-design/icons-react": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@ant-design/icons-react/-/icons-react-2.0.1.tgz", - "integrity": "sha512-r1QfoltMuruJZqdiKcbPim3d8LNsVPB733U0gZEUSxBLuqilwsW28K2rCTWSMTjmFX7Mfpf+v/wdiFe/XCqThw==", + "version": "4.24.16", + "resolved": "https://registry.npmjs.org/antd/-/antd-4.24.16.tgz", + "integrity": "sha512-zZrK4UYxHtU6tGOOf0uG/kBRx1kTvypfuSB3GqE/SBQxFhZ/TZ+yj7Z1qwI8vGfMtUUJdLeuoCAqGDa1zPsXnQ==", "license": "MIT", "dependencies": { - "@ant-design/colors": "^3.1.0", - "babel-runtime": "^6.26.0" - }, - "peerDependencies": { - "@ant-design/icons": "^2.0.0", - "react": "16.x" - } - }, - "node_modules/antd/node_modules/classnames": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", - "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" - }, - "node_modules/antd/node_modules/rc-resize-observer": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-0.1.3.tgz", - "integrity": "sha512-uzOQEwx83xdQSFOkOAM7x7GHIQKYnrDV4dWxtCxyG1BS1pkfJ4EvDeMfsvAJHSYkQXVBu+sgRHGbRtLG3qiuUg==", - "license": "MIT", - "dependencies": { - "classnames": "^2.2.1", - "rc-util": "^4.13.0", - "resize-observer-polyfill": "^1.5.1" + "@ant-design/colors": "^6.0.0", + "@ant-design/icons": "^4.8.2", + "@ant-design/react-slick": "~1.0.2", + "@babel/runtime": "^7.18.3", + "@ctrl/tinycolor": "^3.6.1", + "classnames": "^2.2.6", + "copy-to-clipboard": "^3.2.0", + "lodash": "^4.17.21", + "moment": "^2.29.2", + "rc-cascader": "~3.7.3", + "rc-checkbox": "~3.0.1", + "rc-collapse": "~3.4.2", + "rc-dialog": "~9.0.2", + "rc-drawer": "~6.3.0", + "rc-dropdown": "~4.0.1", + "rc-field-form": "~1.38.2", + "rc-image": "~5.13.0", + "rc-input": "~0.1.4", + "rc-input-number": "~7.3.11", + "rc-mentions": "~1.13.1", + "rc-menu": "~9.8.4", + "rc-motion": "^2.9.0", + "rc-notification": "~4.6.1", + "rc-pagination": "~3.2.0", + "rc-picker": "~2.7.6", + "rc-progress": "~3.4.2", + "rc-rate": "~2.9.3", + "rc-resize-observer": "^1.3.1", + "rc-segmented": "~2.3.0", + "rc-select": "~14.1.18", + "rc-slider": "~10.0.1", + "rc-steps": "~5.0.0", + "rc-switch": "~3.2.2", + "rc-table": "~7.26.0", + "rc-tabs": "~12.5.10", + "rc-textarea": "~0.4.7", + "rc-tooltip": "~5.2.2", + "rc-tree": "~5.7.12", + "rc-tree-select": "~5.5.5", + "rc-trigger": "^5.3.4", + "rc-upload": "~4.3.6", + "rc-util": "^5.37.0", + "scroll-into-view-if-needed": "^2.2.25" }, - "peerDependencies": { - "react": "^16.0.0", - "react-dom": "^16.0.0" - } - }, - "node_modules/antd/node_modules/rc-switch": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-1.9.2.tgz", - "integrity": "sha512-qaK7mY4FLDKy99Hq3A1tf8CcqfzKtHp9LPX8WTnZ0MzdHCTneSARb1XD7Eqeu8BactasYGsi2bF9p18Q+/5JEw==", - "license": "MIT", - "dependencies": { - "classnames": "^2.2.1", - "prop-types": "^15.5.6", - "react-lifecycles-compat": "^3.0.4" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ant-design" }, "peerDependencies": { - "react": "^16.0.0", - "react-dom": "^16.0.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/antd/node_modules/rc-table": { - "version": "6.10.15", - "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-6.10.15.tgz", - "integrity": "sha512-LAr0M/gqt+irOjvPNBLApmQ0CUHNOfKsEBhu1uIuB3OlN1ynA9z+sdoTQyNd9+8NSl0MYnQOOfhtLChAY7nU0A==", + "node_modules/antd/node_modules/@ant-design/colors": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-6.0.0.tgz", + "integrity": "sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==", "license": "MIT", "dependencies": { - "classnames": "^2.2.5", - "component-classes": "^1.2.6", - "lodash": "^4.17.5", - "mini-store": "^2.0.0", - "prop-types": "^15.5.8", - "rc-util": "^4.13.0", - "react-lifecycles-compat": "^3.0.2", - "shallowequal": "^1.0.2" - }, - "peerDependencies": { - "react": "^16.0.0", - "react-dom": "^16.0.0" + "@ctrl/tinycolor": "^3.4.0" } }, - "node_modules/antd/node_modules/react-lazy-load": { - "version": "3.1.14", - "resolved": "https://registry.npmjs.org/react-lazy-load/-/react-lazy-load-3.1.14.tgz", - "integrity": "sha512-7tsOItf2HmEwhEWMaA/a2XlShuya7rBxqWAR0TPMO1XSf6ybxSDI2bMV8M6vtWkveX9TlSpb0qLB7NMMpDHVDQ==", + "node_modules/antd/node_modules/@ant-design/icons": { + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-4.8.3.tgz", + "integrity": "sha512-HGlIQZzrEbAhpJR6+IGdzfbPym94Owr6JZkJ2QCCnOkPVIWMO2xgIVcOKnl8YcpijIo39V7l2qQL5fmtw56cMw==", "license": "MIT", "dependencies": { - "eventlistener": "0.0.1", - "lodash.debounce": "^4.0.0", - "lodash.throttle": "^4.0.0", - "prop-types": "^15.5.8" + "@ant-design/colors": "^6.0.0", + "@ant-design/icons-svg": "^4.3.0", + "@babel/runtime": "^7.11.2", + "classnames": "^2.2.6", + "lodash": "^4.17.15", + "rc-util": "^5.9.4" }, - "peerDependencies": { - "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0", - "react-dom": "^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0" - } - }, - "node_modules/antd/node_modules/react-slick": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/react-slick/-/react-slick-0.25.2.tgz", - "integrity": "sha512-8MNH/NFX/R7zF6W/w+FS5VXNyDusF+XDW1OU0SzODEU7wqYB+ZTGAiNJ++zVNAVqCAHdyCybScaUB+FCZOmBBw==", - "license": "MIT", - "dependencies": { - "classnames": "^2.2.5", - "enquire.js": "^2.1.6", - "json2mq": "^0.2.0", - "lodash.debounce": "^4.0.8", - "resize-observer-polyfill": "^1.5.0" + "engines": { + "node": ">=8" }, "peerDependencies": { - "react": "^0.14.0 || ^15.0.1 || ^16.0.0", - "react-dom": "^0.14.0 || ^15.0.1 || ^16.0.0" + "react": ">=16.0.0", + "react-dom": ">=16.0.0" } }, "node_modules/arg": { @@ -5296,7 +5287,8 @@ "node_modules/array-tree-filter": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-tree-filter/-/array-tree-filter-2.1.0.tgz", - "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==" + "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==", + "license": "MIT" }, "node_modules/array-union": { "version": "2.1.0", @@ -5342,12 +5334,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "license": "MIT" - }, "node_modules/assertion-error": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", @@ -5408,9 +5394,10 @@ "dev": true }, "node_modules/async-validator": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-1.11.5.tgz", - "integrity": "sha512-XNtCsMAeAH1pdLMEg1z8/Bb3a8cdCbui9QbJATRFHHHW5kT6+NPI3zSVQUXgikTFITzsg+kYY5NTWhM2Orwt9w==" + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==", + "license": "MIT" }, "node_modules/autoprefixer": { "version": "8.6.5", @@ -5558,22 +5545,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dependencies": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "node_modules/babel-runtime/node_modules/core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "hasInstallScript": true - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -5887,18 +5858,11 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, - "node_modules/component-classes": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/component-classes/-/component-classes-1.2.6.tgz", - "integrity": "sha512-hPFGULxdwugu1QWW3SvVOCUHLzO34+a2J6Wqy0c5ASQkfi9/8nZcBB0ZohaEbXOQlCflMAEMmEWk7u7BVs4koA==", - "dependencies": { - "component-indexof": "0.0.3" - } - }, - "node_modules/component-indexof": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/component-indexof/-/component-indexof-0.0.3.tgz", - "integrity": "sha512-puDQKvx/64HZXb4hBwIcvQLaLgux8o1CbWl39s41hrIIZDl1lJiD5jc22gj3RBeGK0ovxALDYpIbyjqDUUl0rw==" + "node_modules/compute-scroll-into-view": { + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==", + "license": "MIT" }, "node_modules/concat-map": { "version": "0.0.1", @@ -6003,15 +5967,6 @@ "node": ">=0.10.0" } }, - "node_modules/create-react-class": { - "version": "15.7.0", - "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.7.0.tgz", - "integrity": "sha512-QZv4sFWG9S5RUvkTYWbflxeZX+JG7Cz0Tn33rQBJ+WFQTqTfUTjMjiv9tnfXazjsO5r0KhPs+AqCjyrQX6h2ng==", - "dependencies": { - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" - } - }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", @@ -6047,15 +6002,6 @@ "node": ">=4" } }, - "node_modules/css-animation": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/css-animation/-/css-animation-1.6.1.tgz", - "integrity": "sha512-/48+/BaEaHRY6kNQ2OIPzKf9A6g8WjZYjhiNDNuIVbsm5tXCGIAsHDjB4Xu1C4vXJtUWZo26O68OQkDpNBaPog==", - "dependencies": { - "babel-runtime": "6.x", - "component-classes": "^1.2.5" - } - }, "node_modules/cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -6072,6 +6018,7 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "devOptional": true, "license": "MIT" }, "node_modules/damerau-levenshtein": { @@ -6080,6 +6027,22 @@ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", "dev": true }, + "node_modules/date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.21.0" + }, + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, "node_modules/dayjs": { "version": "1.11.7", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz", @@ -6340,25 +6303,8 @@ "node_modules/dom-align": { "version": "1.12.4", "resolved": "https://registry.npmjs.org/dom-align/-/dom-align-1.12.4.tgz", - "integrity": "sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==" - }, - "node_modules/dom-closest": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/dom-closest/-/dom-closest-0.2.0.tgz", - "integrity": "sha1-69n5HRvyLo1vR3h2u80+yQIWwM8=", - "dependencies": { - "dom-matches": ">=1.0.1" - } - }, - "node_modules/dom-matches": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dom-matches/-/dom-matches-2.0.0.tgz", - "integrity": "sha1-0nKLQWqHUzmA6wibhI0lPPI6dYw=" - }, - "node_modules/dom-scroll-into-view": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/dom-scroll-into-view/-/dom-scroll-into-view-1.2.1.tgz", - "integrity": "sha512-LwNVg3GJOprWDO+QhLL1Z9MMgWe/KAFLxVWKzjRTxNSPn8/LLDIfmuG71YHznXCqaqTjvHJDYO1MEAgX6XCNbQ==" + "integrity": "sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==", + "license": "MIT" }, "node_modules/dot-prop": { "version": "4.2.1", @@ -6417,15 +6363,6 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "license": "MIT", - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, "node_modules/end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", @@ -6435,11 +6372,6 @@ "once": "^1.4.0" } }, - "node_modules/enquire.js": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz", - "integrity": "sha512-/KujNpO+PT63F7Hlpu4h3pE3TokKRHN26JYmQpPyjkRD/N57R7bPDNojMXdi7uveAKjYB7yQnartCxZnFWr0Xw==" - }, "node_modules/env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", @@ -7240,12 +7172,6 @@ "node": ">=0.10.0" } }, - "node_modules/eventlistener": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/eventlistener/-/eventlistener-0.0.1.tgz", - "integrity": "sha512-hXZ5N9hmp3n7ovmVgG+2vIO6KcjSU10/d0A1Ixcf0i29dxCwAGTNGrSJCfLmlvmgQD8FYzyp//S8+Hpq4Nd7uA==", - "license": "MIT" - }, "node_modules/expect-type": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz", @@ -7367,28 +7293,6 @@ "reusify": "^1.0.4" } }, - "node_modules/fbjs": { - "version": "0.8.18", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.18.tgz", - "integrity": "sha512-EQaWFK+fEPSoibjNy8IxUtaFOMXcWsY0JaVrQoZR9zC8N2Ygf9iDITPWjUTVIax95b6I742JFLqASHfsag/vKA==", - "license": "MIT", - "dependencies": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.30" - } - }, - "node_modules/fbjs/node_modules/core-js": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha512-ZiPp9pZlgxpWRu0M+YWbm6+aQ84XEfH1JRXvfOc/fILWI0VKhLC2LX13X1NYq4fULzLMq7Hfh43CSo2/aIaUPA==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "license": "MIT" - }, "node_modules/fd-slicer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", @@ -7727,19 +7631,6 @@ "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" }, - "node_modules/gud": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", - "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" - }, - "node_modules/hammerjs": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz", - "integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -7821,11 +7712,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/hoist-non-react-statics": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz", - "integrity": "sha512-6Bl6XsDT1ntE0lHbIhr4Kp2PGcleGZ66qu5Jqk8lc0Xc/IeG6gVLmwUGs/K0Us+L8VWoKgj0uWdPMataOsm31w==" - }, "node_modules/http2-wrapper": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz", @@ -7853,6 +7739,8 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -7881,15 +7769,6 @@ "node": ">=0.10.0" } }, - "node_modules/immutable": { - "version": "3.7.6", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz", - "integrity": "sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -8197,9 +8076,10 @@ } }, "node_modules/is-mobile": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-2.2.2.tgz", - "integrity": "sha512-wW/SXnYJkTjs++tVK5b6kVITZpAZPtUrt9SF80vvxGiF/Oywal+COk1jlRkiVq15RFNEQKQY31TkV24/1T5cVg==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-5.0.0.tgz", + "integrity": "sha512-Tz/yndySvLAEXh+Uk8liFCxOwVH6YutuR74utvOcu7I9Di+DwM0mtdPVZNaVvvBUM2OXxne/NhOs1zAO7riusQ==", + "license": "MIT" }, "node_modules/is-negative-zero": { "version": "2.0.2", @@ -8315,6 +8195,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -8391,16 +8272,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "node_modules/isomorphic-fetch": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha512-9c4TNAKYXM5PRyVcwUZrF3W09nQ+sO7+jydgs4ZGW9dhsLG2VOlISJABombdQqQRXCwuYG3sYV/puGf5rp0qmA==", - "license": "MIT", - "dependencies": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" - } - }, "node_modules/js-cookie": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz", @@ -8952,11 +8823,6 @@ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=" }, - "node_modules/lodash.throttle": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", - "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" - }, "node_modules/lodash.topairs": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.topairs/-/lodash.topairs-4.3.0.tgz", @@ -9124,17 +8990,6 @@ "node": ">=4" } }, - "node_modules/mini-store": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mini-store/-/mini-store-2.0.0.tgz", - "integrity": "sha512-EG0CuwpQmX+XL4QVS0kxNwHW5ftSbhygu1qxQH0pipugjnPkbvkalCdQbEihMwtQY6d3MTN+MS0q+aurs+RfLQ==", - "dependencies": { - "hoist-non-react-statics": "^2.3.1", - "prop-types": "^15.6.0", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.0.2" - } - }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -9217,19 +9072,14 @@ } }, "node_modules/moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", + "license": "MIT", "engines": { "node": "*" } }, - "node_modules/mutationobserver-shim": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.7.tgz", - "integrity": "sha512-oRIDTyZQU96nAiz2AQyngwx1e89iApl2hN5AOYwyxLUB47UYsU3Wv9lJWqH5y/QdiYkc5HQLi23ZNB3fELdHcQ==", - "license": "MIT" - }, "node_modules/nanoid": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", @@ -9294,16 +9144,6 @@ "dev": true, "optional": true }, - "node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "license": "MIT", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, "node_modules/node-releases": { "version": "2.0.10", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", @@ -9453,14 +9293,6 @@ ], "license": "MIT" }, - "node_modules/omit.js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/omit.js/-/omit.js-1.0.2.tgz", - "integrity": "sha512-/QPc6G2NS+8d4L/cQhbk6Yit1WTB6Us2g84A7A/1+w9d/eRGHyEqC5kkQtHVoHZ5NFWGG7tUGgrhVZwgZanKrQ==", - "dependencies": { - "babel-runtime": "^6.23.0" - } - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -9650,11 +9482,6 @@ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", "dev": true }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -9903,20 +9730,10 @@ "node": ">=0.4.0" } }, - "node_modules/promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "license": "MIT", - "dependencies": { - "asap": "~2.0.3" - } - }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "peer": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -9987,14 +9804,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/raf": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", - "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", - "dependencies": { - "performance-now": "^2.1.0" - } - }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -10012,416 +9821,538 @@ } }, "node_modules/rc-align": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/rc-align/-/rc-align-2.4.5.tgz", - "integrity": "sha512-nv9wYUYdfyfK+qskThf4BQUSIadeI/dCsfaMZfNEoxm9HwOIioQ+LyqmMK6jWHAZQgOzMLaqawhuBXlF63vgjw==", - "dependencies": { - "babel-runtime": "^6.26.0", - "dom-align": "^1.7.0", - "prop-types": "^15.5.8", - "rc-util": "^4.0.4" - } - }, - "node_modules/rc-animate": { - "version": "2.11.1", - "resolved": "https://registry.npmjs.org/rc-animate/-/rc-animate-2.11.1.tgz", - "integrity": "sha512-1NyuCGFJG/0Y+9RKh5y/i/AalUCA51opyyS/jO2seELpgymZm2u9QV3xwODwEuzkmeQ1BDPxMLmYLcTJedPlkQ==", - "dependencies": { - "babel-runtime": "6.x", - "classnames": "^2.2.6", - "css-animation": "^1.3.2", - "prop-types": "15.x", - "raf": "^3.4.0", - "rc-util": "^4.15.3", - "react-lifecycles-compat": "^3.0.4" - } - }, - "node_modules/rc-calendar": { - "version": "9.15.11", - "resolved": "https://registry.npmjs.org/rc-calendar/-/rc-calendar-9.15.11.tgz", - "integrity": "sha512-qv0VXfAAnysMWJigxaP6se4bJHvr17D9qsLbi8BOpdgEocsS0RkgY1IUiFaOVYKJDy/EyLC447O02sV/y5YYBg==", + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/rc-align/-/rc-align-4.0.15.tgz", + "integrity": "sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", + "@babel/runtime": "^7.10.1", "classnames": "2.x", - "moment": "2.x", - "prop-types": "^15.5.8", - "rc-trigger": "^2.2.0", - "rc-util": "^4.1.1", - "react-lifecycles-compat": "^3.0.4" + "dom-align": "^1.7.0", + "rc-util": "^5.26.0", + "resize-observer-polyfill": "^1.5.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-cascader": { - "version": "0.17.5", - "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-0.17.5.tgz", - "integrity": "sha512-WYMVcxU0+Lj+xLr4YYH0+yXODumvNXDcVEs5i7L1mtpWwYkubPV/zbQpn+jGKFCIW/hOhjkU4J1db8/P/UKE7A==", + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.7.3.tgz", + "integrity": "sha512-KBpT+kzhxDW+hxPiNk4zaKa99+Lie2/8nnI11XF+FIOPl4Bj9VlFZi61GrnWzhLGA7VEN+dTxAkNOjkySDa0dA==", + "license": "MIT", "dependencies": { + "@babel/runtime": "^7.12.5", "array-tree-filter": "^2.1.0", - "prop-types": "^15.5.8", - "rc-trigger": "^2.2.0", - "rc-util": "^4.0.4", - "react-lifecycles-compat": "^3.0.4", - "shallow-equal": "^1.0.0", - "warning": "^4.0.1" + "classnames": "^2.3.1", + "rc-select": "~14.1.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.6.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-checkbox": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-2.1.6.tgz", - "integrity": "sha512-+VxQbt2Cwe1PxCvwosrAYXT6EQeGwrbLJB2K+IPGCSRPCKnk9zcub/0eW8A4kxjyyfh60PkwsAUZ7qmB31OmRA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-3.0.1.tgz", + "integrity": "sha512-k7nxDWxYF+jDI0ZcCvuvj71xONmWRVe5+1MKcERRR9MRyP3tZ69b+yUCSXXh+sik4/Hc9P5wHr2nnUoGS2zBjA==", + "license": "MIT", "dependencies": { - "babel-runtime": "^6.23.0", - "classnames": "2.x", - "prop-types": "15.x", - "rc-util": "^4.0.4" + "@babel/runtime": "^7.10.1", + "classnames": "^2.3.2", + "rc-util": "^5.25.2" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-collapse": { - "version": "1.11.8", - "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-1.11.8.tgz", - "integrity": "sha512-8EhfPyScTYljkbRuIoHniSwZagD5UPpZ3CToYgoNYWC85L2qCbPYF7+OaC713FOrIkp6NbfNqXsITNxmDAmxog==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.4.2.tgz", + "integrity": "sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q==", + "license": "MIT", "dependencies": { + "@babel/runtime": "^7.10.1", "classnames": "2.x", - "css-animation": "1.x", - "prop-types": "^15.5.6", - "rc-animate": "2.x", - "react-is": "^16.7.0", - "react-lifecycles-compat": "^3.0.4", + "rc-motion": "^2.3.4", + "rc-util": "^5.2.1", "shallowequal": "^1.1.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-dialog": { - "version": "7.6.1", - "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-7.6.1.tgz", - "integrity": "sha512-KUKf+2eZ4YL+lnXMG3hR4ZtIhC9glfH27NtTVz3gcoDIPAf3uUvaXVRNoDCiSi+OGKLyIb/b6EoidFh6nQC5Wg==", + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.0.4.tgz", + "integrity": "sha512-pmnPRZKd9CGzGgf4a1ysBvMhxm8Afx5fF6M7AzLtJ0qh8X1bshurDlqnK4MBNAB4hAeAMMbz6Ytb1rkGMvKFbQ==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "rc-animate": "2.x", - "rc-util": "^4.16.1" + "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.0.0-8", + "classnames": "^2.2.6", + "rc-motion": "^2.3.0", + "rc-util": "^5.21.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-drawer": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-3.1.3.tgz", - "integrity": "sha512-2z+RdxmzXyZde/1OhVMfDR1e/GBswFeWSZ7FS3Fdd0qhgVdpV1wSzILzzxRaT481ItB5hOV+e8pZT07vdJE8kg==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-6.3.0.tgz", + "integrity": "sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==", + "license": "MIT", "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.1.1", "classnames": "^2.2.6", - "rc-util": "^4.16.1", - "react-lifecycles-compat": "^3.0.4" + "rc-motion": "^2.6.1", + "rc-util": "^5.21.2" }, "peerDependencies": { - "react": "*" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-dropdown": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-2.4.1.tgz", - "integrity": "sha512-p0XYn0wrOpAZ2fUGE6YJ6U8JBNc5ASijznZ6dkojdaEfQJAeZtV9KMEewhxkVlxGSbbdXe10ptjBlTEW9vEwEg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.0.1.tgz", + "integrity": "sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==", + "license": "MIT", "dependencies": { - "babel-runtime": "^6.26.0", + "@babel/runtime": "^7.18.3", "classnames": "^2.2.6", - "prop-types": "^15.5.8", - "rc-trigger": "^2.5.1", - "react-lifecycles-compat": "^3.0.2" + "rc-trigger": "^5.3.1", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.11.0", + "react-dom": ">=16.11.0" } }, - "node_modules/rc-editor-core": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/rc-editor-core/-/rc-editor-core-0.8.10.tgz", - "integrity": "sha512-T3aHpeMCIYA1sdAI7ynHHjXy5fqp83uPlD68ovZ0oClTSc3tbHmyCxXlA+Ti4YgmcpCYv7avF6a+TIbAka53kw==", + "node_modules/rc-field-form": { + "version": "1.38.2", + "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.38.2.tgz", + "integrity": "sha512-O83Oi1qPyEv31Sg+Jwvsj6pXc8uQI2BtIAkURr5lvEYHVggXJhdU/nynK8wY1gbw0qR48k731sN5ON4egRCROA==", + "license": "MIT", "dependencies": { - "babel-runtime": "^6.26.0", - "classnames": "^2.2.5", - "draft-js": "^0.10.0", - "immutable": "^3.7.4", - "lodash": "^4.16.5", - "prop-types": "^15.5.8", - "setimmediate": "^1.0.5" + "@babel/runtime": "^7.18.0", + "async-validator": "^4.1.0", + "rc-util": "^5.32.2" + }, + "engines": { + "node": ">=8.x" }, "peerDependencies": { - "react": ">=15.0.0", - "react-dom": ">=15.0.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-editor-core/node_modules/draft-js": { - "version": "0.10.5", - "resolved": "https://registry.npmjs.org/draft-js/-/draft-js-0.10.5.tgz", - "integrity": "sha512-LE6jSCV9nkPhfVX2ggcRLA4FKs6zWq9ceuO/88BpXdNCS7mjRTgs0NsV6piUCJX9YxMsB9An33wnkMmU2sD2Zg==", - "license": "BSD-3-Clause", + "node_modules/rc-image": { + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-5.13.0.tgz", + "integrity": "sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg==", + "license": "MIT", "dependencies": { - "fbjs": "^0.8.15", - "immutable": "~3.7.4", - "object-assign": "^4.1.0" + "@babel/runtime": "^7.11.2", + "@rc-component/portal": "^1.0.2", + "classnames": "^2.2.6", + "rc-dialog": "~9.0.0", + "rc-motion": "^2.6.2", + "rc-util": "^5.0.6" }, "peerDependencies": { - "react": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0", - "react-dom": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-editor-mention": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/rc-editor-mention/-/rc-editor-mention-1.1.13.tgz", - "integrity": "sha512-3AOmGir91Fi2ogfRRaXLtqlNuIwQpvla7oUnGHS1+3eo7b+fUp5IlKcagqtwUBB5oDNofoySXkLBxzWvSYNp/Q==", + "node_modules/rc-input": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/rc-input/-/rc-input-0.1.4.tgz", + "integrity": "sha512-FqDdNz+fV2dKNgfXzcSLKvC+jEs1709t7nD+WdfjrdSaOcefpgc7BUJYadc3usaING+b7ediMTfKxuJBsEFbXA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.18.1" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/rc-input-number": { + "version": "7.3.11", + "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-7.3.11.tgz", + "integrity": "sha512-aMWPEjFeles6PQnMqP5eWpxzsvHm9rh1jQOWXExUEIxhX62Fyl/ptifLHOn17+waDG1T/YUb6flfJbvwRhHrbA==", + "license": "MIT", "dependencies": { - "babel-runtime": "^6.23.0", + "@babel/runtime": "^7.10.1", "classnames": "^2.2.5", - "dom-scroll-into-view": "^1.2.0", - "draft-js": "~0.10.0", - "immutable": "~3.7.4", - "prop-types": "^15.5.8", - "rc-animate": "^2.3.0", - "rc-editor-core": "~0.8.3" + "rc-util": "^5.23.0" }, "peerDependencies": { - "react": ">=15.x", - "react-dom": ">=15.x" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-editor-mention/node_modules/draft-js": { - "version": "0.10.5", - "resolved": "https://registry.npmjs.org/draft-js/-/draft-js-0.10.5.tgz", - "integrity": "sha512-LE6jSCV9nkPhfVX2ggcRLA4FKs6zWq9ceuO/88BpXdNCS7mjRTgs0NsV6piUCJX9YxMsB9An33wnkMmU2sD2Zg==", - "license": "BSD-3-Clause", + "node_modules/rc-mentions": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-1.13.1.tgz", + "integrity": "sha512-FCkaWw6JQygtOz0+Vxz/M/NWqrWHB9LwqlY2RtcuFqWJNFK9njijOOzTSsBGANliGufVUzx/xuPHmZPBV0+Hgw==", + "license": "MIT", "dependencies": { - "fbjs": "^0.8.15", - "immutable": "~3.7.4", - "object-assign": "^4.1.0" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.6", + "rc-menu": "~9.8.0", + "rc-textarea": "^0.4.0", + "rc-trigger": "^5.0.4", + "rc-util": "^5.22.5" }, "peerDependencies": { - "react": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0", - "react-dom": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-form": { - "version": "2.4.12", - "resolved": "https://registry.npmjs.org/rc-form/-/rc-form-2.4.12.tgz", - "integrity": "sha512-sHfyWRrnjCHkeCYfYAGop2GQBUC6CKMPcJF9h/gL/vTmZB/RN6fNOGKjXrXjFbwFwKXUWBoPtIDDDmXQW9xNdw==", + "node_modules/rc-menu": { + "version": "9.8.4", + "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.8.4.tgz", + "integrity": "sha512-lmw2j8I2fhdIzHmC9ajfImfckt0WDb2KVJJBBRIsxPEw2kGkEfjLMUoB1NgiNT/Q5cC8PdjGOGQjHJIJMwyNMw==", + "license": "MIT", "dependencies": { - "async-validator": "~1.11.3", - "babel-runtime": "6.x", - "create-react-class": "^15.5.3", - "dom-scroll-into-view": "1.x", - "hoist-non-react-statics": "^3.3.0", - "lodash": "^4.17.4", - "rc-util": "^4.15.3", - "react-is": "^16.13.1", - "warning": "^4.0.3" + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.4.3", + "rc-overflow": "^1.2.8", + "rc-trigger": "^5.1.2", + "rc-util": "^5.27.0" }, "peerDependencies": { - "prop-types": "^15.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-form/node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "node_modules/rc-motion": { + "version": "2.9.5", + "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.5.tgz", + "integrity": "sha512-w+XTUrfh7ArbYEd2582uDrEhmBHwK1ZENJiSJVb7uRxdE7qJSYjbO2eksRXmndqyKqKoYPc9ClpPh5242mV1vA==", + "license": "MIT", "dependencies": { - "react-is": "^16.7.0" + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.44.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-hammerjs": { - "version": "0.6.10", - "resolved": "https://registry.npmjs.org/rc-hammerjs/-/rc-hammerjs-0.6.10.tgz", - "integrity": "sha512-Vgh9qIudyN5CHRop4M+v+xUniQBFWXKrsJxQRVtJOi2xgRrCeI52/bkpaL5HWwUhqTK9Ayq0n7lYTItT6ld5rg==", + "node_modules/rc-notification": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-4.6.1.tgz", + "integrity": "sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "hammerjs": "^2.0.8", - "prop-types": "^15.5.9" + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.2.0", + "rc-util": "^5.20.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-input-number": { - "version": "4.5.9", - "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-4.5.9.tgz", - "integrity": "sha512-wAT4EBpLDW4+27c935k4F1JLk+gnhyGBkpzBmtkNvIHLG8yTndZSJ2bFfSYfkA6C82IxmAztXs3ffCeUd/rkbg==", + "node_modules/rc-overflow": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.5.0.tgz", + "integrity": "sha512-Lm/v9h0LymeUYJf0x39OveU52InkdRXqnn2aYXfWmo8WdOonIKB2kfau+GF0fWq6jPgtdO9yMqveGcK6aIhJmg==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "classnames": "^2.2.0", - "prop-types": "^15.5.7", - "rc-util": "^4.5.1", - "rmc-feedback": "^2.0.0" + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.37.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-mentions": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-0.4.2.tgz", - "integrity": "sha512-DTZurQzacLXOfVuiHydGzqkq7cFMHXF18l2jZ9PhWUn2cqvOSY3W4osN0Pq29AOMOBpcxdZCzgc7Lb0r/bgkDw==", + "node_modules/rc-pagination": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.2.0.tgz", + "integrity": "sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==", + "license": "MIT", "dependencies": { - "@ant-design/create-react-context": "^0.2.4", - "classnames": "^2.2.6", - "rc-menu": "^7.4.22", - "rc-trigger": "^2.6.2", - "rc-util": "^4.6.0", - "react-lifecycles-compat": "^3.0.4" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1" }, "peerDependencies": { - "react": "*" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-menu": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-7.5.5.tgz", - "integrity": "sha512-4YJXJgrpUGEA1rMftXN7bDhrV5rPB8oBJoHqT+GVXtIWCanfQxEnM3fmhHQhatL59JoAFMZhJaNzhJIk4FUWCQ==", + "node_modules/rc-picker": { + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-2.7.6.tgz", + "integrity": "sha512-H9if/BUJUZBOhPfWcPeT15JUI3/ntrG9muzERrXDkSoWmDj4yzmBvumozpxYrHwjcKnjyDGAke68d+whWwvhHA==", "license": "MIT", "dependencies": { - "classnames": "2.x", - "dom-scroll-into-view": "1.x", - "mini-store": "^2.0.0", - "mutationobserver-shim": "^0.3.2", - "rc-animate": "^2.10.1", - "rc-trigger": "^2.3.0", - "rc-util": "^4.13.0", - "resize-observer-polyfill": "^1.5.0", + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "date-fns": "2.x", + "dayjs": "1.x", + "moment": "^2.24.0", + "rc-trigger": "^5.0.4", + "rc-util": "^5.37.0", "shallowequal": "^1.1.0" }, + "engines": { + "node": ">=8.x" + }, "peerDependencies": { - "react": "*", - "react-dom": "*" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-notification": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-3.3.1.tgz", - "integrity": "sha512-U5+f4BmBVfMSf3OHSLyRagsJ74yKwlrQAtbbL5ijoA0F2C60BufwnOcHG18tVprd7iaIjzZt1TKMmQSYSvgrig==", + "node_modules/rc-progress": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.4.2.tgz", + "integrity": "sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "classnames": "2.x", - "prop-types": "^15.5.8", - "rc-animate": "2.x", - "rc-util": "^4.0.4" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.6", + "rc-util": "^5.16.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-pagination": { - "version": "1.20.15", - "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-1.20.15.tgz", - "integrity": "sha512-/Xr4/3GOa1DtL8iCYl7qRUroEMrRDhZiiuHwcVFfSiwa9LYloMlUWcOJsnr8LN6A7rLPdm3/CHStUNeYd+2pKw==", + "node_modules/rc-rate": { + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.9.3.tgz", + "integrity": "sha512-2THssUSnRhtqIouQIIXqsZGzRczvp4WsH4WvGuhiwm+LG2fVpDUJliP9O1zeDOZvYfBE/Bup4SgHun/eCkbjgQ==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "classnames": "^2.2.6", - "prop-types": "^15.5.7", - "react-lifecycles-compat": "^3.0.4" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.0.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-progress": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-2.5.3.tgz", - "integrity": "sha512-K2fa4CnqGehLZoMrdmBeZ86ONSTVcdk5FlqetbwJ3R/+42XfqhwQVOjWp2MH4P7XSQOMAGcNOy1SFfCP3415sg==", + "node_modules/rc-resize-observer": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.3.tgz", + "integrity": "sha512-YZLjUbyIWox8E9i9C3Tm7ia+W7euPItNWSPX5sCcQTYbnwDb5uNpnLHQCG1f22oZWUhLw4Mv2tFmeWe68CDQRQ==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "prop-types": "^15.5.8" + "@babel/runtime": "^7.20.7", + "classnames": "^2.2.1", + "rc-util": "^5.44.1", + "resize-observer-polyfill": "^1.5.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-rate": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.5.1.tgz", - "integrity": "sha512-3iJkNJT8xlHklPCdeZtUZmJmRVUbr6AHRlfSsztfYTXVlHrv2TcPn3XkHsH+12j812WVB7gvilS2j3+ffjUHXg==", + "node_modules/rc-segmented": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.3.0.tgz", + "integrity": "sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg==", + "license": "MIT", "dependencies": { - "classnames": "^2.2.5", - "prop-types": "^15.5.8", - "rc-util": "^4.3.0", - "react-lifecycles-compat": "^3.0.4" + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-motion": "^2.4.4", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" } }, "node_modules/rc-select": { - "version": "9.2.3", - "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-9.2.3.tgz", - "integrity": "sha512-WhswxOMWiNnkXRbxyrj0kiIvyCfo/BaRPaYbsDetSIAU2yEDwKHF798blCP5u86KLOBKBvtxWLFCkSsQw1so5w==", + "version": "14.1.18", + "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.1.18.tgz", + "integrity": "sha512-4JgY3oG2Yz68ECMUSCON7mtxuJvCSj+LJpHEg/AONaaVBxIIrmI/ZTuMJkyojall/X50YdBe5oMKqHHPNiPzEg==", + "license": "MIT", "dependencies": { - "babel-runtime": "^6.23.0", + "@babel/runtime": "^7.10.1", "classnames": "2.x", - "component-classes": "1.x", - "dom-scroll-into-view": "1.x", - "prop-types": "^15.5.8", - "raf": "^3.4.0", - "rc-animate": "2.x", - "rc-menu": "^7.3.0", - "rc-trigger": "^2.5.4", - "rc-util": "^4.0.4", - "react-lifecycles-compat": "^3.0.2", - "warning": "^4.0.2" + "rc-motion": "^2.0.1", + "rc-overflow": "^1.0.0", + "rc-trigger": "^5.0.4", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.2.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" } }, "node_modules/rc-slider": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-8.7.1.tgz", - "integrity": "sha512-WMT5mRFUEcrLWwTxsyS8jYmlaMsTVCZIGENLikHsNv+tE8ThU2lCoPfi/xFNUfJFNFSBFP3MwPez9ZsJmNp13g==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-10.0.1.tgz", + "integrity": "sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", + "@babel/runtime": "^7.10.1", "classnames": "^2.2.5", - "prop-types": "^15.5.4", - "rc-tooltip": "^3.7.0", - "rc-util": "^4.0.4", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.1.0", - "warning": "^4.0.3" + "rc-util": "^5.18.1", + "shallowequal": "^1.1.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-steps": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-3.5.0.tgz", - "integrity": "sha512-2Vkkrpa7PZbg7qPsqTNzVDov4u78cmxofjjnIHiGB9+9rqKS8oTLPzbW2uiWDr3Lk+yGwh8rbpGO1E6VAgBCOg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-5.0.0.tgz", + "integrity": "sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw==", + "license": "MIT", "dependencies": { - "babel-runtime": "^6.23.0", + "@babel/runtime": "^7.16.7", "classnames": "^2.2.3", - "lodash": "^4.17.5", - "prop-types": "^15.5.7" + "rc-util": "^5.16.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-switch": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-3.2.2.tgz", + "integrity": "sha512-+gUJClsZZzvAHGy1vZfnwySxj+MjLlGRyXKXScrtCTcmiYNPzxDFOxdQ/3pK1Kt/0POvwJ/6ALOR8gwdXGhs+A==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "rc-util": "^5.0.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-table": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.26.0.tgz", + "integrity": "sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-resize-observer": "^1.1.0", + "rc-util": "^5.22.5", + "shallowequal": "^1.1.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-tabs": { - "version": "9.7.0", - "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-9.7.0.tgz", - "integrity": "sha512-kvmgp8/MfLzFZ06hWHignqomFQ5nF7BqKr5O1FfhE4VKsGrep52YSF/1MvS5oe0NPcI9XGNS2p751C5v6cYDpQ==", + "version": "12.5.10", + "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-12.5.10.tgz", + "integrity": "sha512-Ay0l0jtd4eXepFH9vWBvinBjqOpqzcsJTerBGwJy435P2S90Uu38q8U/mvc1sxUEVOXX5ZCFbxcWPnfG3dH+tQ==", + "license": "MIT", "dependencies": { - "@ant-design/create-react-context": "^0.2.4", - "babel-runtime": "6.x", + "@babel/runtime": "^7.11.2", "classnames": "2.x", - "lodash": "^4.17.5", - "prop-types": "15.x", - "raf": "^3.4.1", - "rc-hammerjs": "~0.6.0", - "rc-util": "^4.0.4", - "react-lifecycles-compat": "^3.0.4", - "resize-observer-polyfill": "^1.5.1", - "warning": "^4.0.3" + "rc-dropdown": "~4.0.0", + "rc-menu": "~9.8.0", + "rc-motion": "^2.6.2", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.16.0" + }, + "engines": { + "node": ">=8.x" }, "peerDependencies": { - "react": ">=15.0.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/rc-time-picker": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/rc-time-picker/-/rc-time-picker-3.7.3.tgz", - "integrity": "sha512-Lv1Mvzp9fRXhXEnRLO4nW6GLNxUkfAZ3RsiIBsWjGjXXvMNjdr4BX/ayElHAFK0DoJqOhm7c5tjmIYpEOwcUXg==", + "node_modules/rc-textarea": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-0.4.7.tgz", + "integrity": "sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==", + "license": "MIT", "dependencies": { - "classnames": "2.x", - "moment": "2.x", - "prop-types": "^15.5.8", - "raf": "^3.4.1", - "rc-trigger": "^2.2.0", - "react-lifecycles-compat": "^3.0.4" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.24.4", + "shallowequal": "^1.1.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-tooltip": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-3.7.3.tgz", - "integrity": "sha512-dE2ibukxxkrde7wH9W8ozHKUO4aQnPZ6qBHtrTH9LoO836PjDdiaWO73fgPB05VfJs9FbZdmGPVEbXCeOP99Ww==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-5.2.2.tgz", + "integrity": "sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", - "prop-types": "^15.5.8", - "rc-trigger": "^2.2.2" + "@babel/runtime": "^7.11.2", + "classnames": "^2.3.1", + "rc-trigger": "^5.0.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-tree": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-2.1.4.tgz", - "integrity": "sha512-Xey794Iavgs8YldFlXcZLOhfcIhlX5Oz/yfKufknBXf2AlZCOkc7aHqSM9uTF7fBPtTGPhPxNEfOqHfY7b7xng==", + "version": "5.7.12", + "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.7.12.tgz", + "integrity": "sha512-LXA5nY2hG5koIAlHW5sgXgLpOMz+bFRbnZZ+cCg0tQs4Wv1AmY7EDi1SK7iFXhslYockbqUerQan82jljoaItg==", "license": "MIT", "dependencies": { - "@ant-design/create-react-context": "^0.2.4", + "@babel/runtime": "^7.10.1", "classnames": "2.x", - "prop-types": "^15.5.8", - "rc-animate": "^2.6.0", - "rc-util": "^4.5.1", - "react-lifecycles-compat": "^3.0.4", - "warning": "^4.0.3" + "rc-motion": "^2.0.1", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.1" + }, + "engines": { + "node": ">=10.x" }, "peerDependencies": { "react": "*", @@ -10429,83 +10360,94 @@ } }, "node_modules/rc-tree-select": { - "version": "2.9.4", - "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-2.9.4.tgz", - "integrity": "sha512-0HQkXAN4XbfBW20CZYh3G+V+VMrjX42XRtDCpyv6PDUm5vikC0Ob682ZBCVS97Ww2a5Hf6Ajmu0ahWEdIEpwhg==", - "dependencies": { - "classnames": "^2.2.1", - "dom-scroll-into-view": "^1.2.1", - "prop-types": "^15.5.8", - "raf": "^3.4.0", - "rc-animate": "^2.8.2", - "rc-tree": "~2.1.0", - "rc-trigger": "^3.0.0", - "rc-util": "^4.5.0", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.0.2", - "warning": "^4.0.1" - } - }, - "node_modules/rc-tree-select/node_modules/rc-trigger": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/rc-trigger/-/rc-trigger-3.0.0.tgz", - "integrity": "sha512-hQxbbJpo23E2QnYczfq3Ec5J5tVl2mUDhkqxrEsQAqk16HfADQg+iKNWzEYXyERSncdxfnzYuaBgy764mNRzTA==", - "dependencies": { - "babel-runtime": "6.x", - "classnames": "^2.2.6", - "prop-types": "15.x", - "raf": "^3.4.0", - "rc-align": "^2.4.1", - "rc-animate": "^3.0.0-rc.1", - "rc-util": "^4.15.7" - } - }, - "node_modules/rc-tree-select/node_modules/rc-trigger/node_modules/rc-animate": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/rc-animate/-/rc-animate-3.1.1.tgz", - "integrity": "sha512-8wg2Zg3EETy0k/9kYuis30NJNQg1D6/WSQwnCiz6SvyxQXNet/rVraRz3bPngwY6rcU2nlRvoShiYOorXyF7Sg==", + "version": "5.5.5", + "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-5.5.5.tgz", + "integrity": "sha512-k2av7jF6tW9bIO4mQhaVdV4kJ1c54oxV3/hHVU+oD251Gb5JN+m1RbJFTMf1o0rAFqkvto33rxMdpafaGKQRJw==", + "license": "MIT", "dependencies": { - "@ant-design/css-animation": "^1.7.2", - "classnames": "^2.2.6", - "raf": "^3.4.0", - "rc-util": "^4.15.3" + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-select": "~14.1.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.16.1" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" } }, "node_modules/rc-trigger": { - "version": "2.6.5", - "resolved": "https://registry.npmjs.org/rc-trigger/-/rc-trigger-2.6.5.tgz", - "integrity": "sha512-m6Cts9hLeZWsTvWnuMm7oElhf+03GOjOLfTuU0QmdB9ZrW7jR2IpI5rpNM7i9MvAAlMAmTx5Zr7g3uu/aMvZAw==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/rc-trigger/-/rc-trigger-5.3.4.tgz", + "integrity": "sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", + "@babel/runtime": "^7.18.3", "classnames": "^2.2.6", - "prop-types": "15.x", - "rc-align": "^2.4.0", - "rc-animate": "2.x", - "rc-util": "^4.4.0", - "react-lifecycles-compat": "^3.0.4" + "rc-align": "^4.0.0", + "rc-motion": "^2.0.0", + "rc-util": "^5.19.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-upload": { - "version": "2.9.4", - "resolved": "https://registry.npmjs.org/rc-upload/-/rc-upload-2.9.4.tgz", - "integrity": "sha512-WXt0HGxXyzLrPV6iec/96Rbl/6dyrAW8pKuY6wwD7yFYwfU5bjgKjv7vC8KNMJ6wzitFrZjnoiogNL3dF9dj3Q==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/rc-upload/-/rc-upload-4.3.6.tgz", + "integrity": "sha512-Bt7ESeG5tT3IY82fZcP+s0tQU2xmo1W6P3S8NboUUliquJLQYLkUcsaExi3IlBVr43GQMCjo30RA2o0i70+NjA==", + "license": "MIT", "dependencies": { - "babel-runtime": "6.x", + "@babel/runtime": "^7.18.3", "classnames": "^2.2.5", - "prop-types": "^15.5.7", - "warning": "4.x" + "rc-util": "^5.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-util": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-4.21.1.tgz", - "integrity": "sha512-Z+vlkSQVc1l8O2UjR3WQ+XdWlhj5q9BMQNLk2iOBch75CqPfrJyGtcWMcnhRlNuDu0Ndtt4kLVO8JI8BrABobg==", - "dependencies": { - "add-dom-event-listener": "^1.1.0", - "prop-types": "^15.5.10", - "react-is": "^16.12.0", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.1.0" + "version": "5.44.4", + "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.44.4.tgz", + "integrity": "sha512-resueRJzmHG9Q6rI/DfK6Kdv9/Lfls05vzMs1Sk3M2P+3cJa+MakaZyWY8IPfehVuhPJFKrIY1IK4GqbiaiY5w==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "react-is": "^18.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-util/node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" + }, + "node_modules/rc-virtual-list": { + "version": "3.19.2", + "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.19.2.tgz", + "integrity": "sha512-Ys6NcjwGkuwkeaWBDqfI3xWuZ7rDiQXlH1o2zLfFzATfEgXcqpk8CkgMfbJD81McqjcJVez25a3kPxCR807evA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.0", + "classnames": "^2.2.6", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.36.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc/node_modules/strip-json-comments": { @@ -10704,11 +10646,6 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, - "node_modules/react-lifecycles-compat": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", - "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" - }, "node_modules/react-measure": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/react-measure/-/react-measure-2.5.2.tgz", @@ -10817,11 +10754,6 @@ "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", "dev": true }, - "node_modules/regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" - }, "node_modules/regexp.prototype.flags": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", @@ -10893,15 +10825,6 @@ "node": ">=0.10.0" } }, - "node_modules/rmc-feedback": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/rmc-feedback/-/rmc-feedback-2.0.0.tgz", - "integrity": "sha512-5PWOGOW7VXks/l3JzlOU9NIxRpuaSS8d9zA3UULUCuTKnpwBHNvv1jSJzxgbbCQeYzROWUpgKI4za3X4C/mKmQ==", - "dependencies": { - "babel-runtime": "6.x", - "classnames": "^2.2.5" - } - }, "node_modules/roarr": { "version": "2.15.4", "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", @@ -11007,7 +10930,9 @@ "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "optional": true }, "node_modules/sax": { "version": "1.2.4", @@ -11036,6 +10961,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/scroll-into-view-if-needed": { + "version": "2.2.31", + "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz", + "integrity": "sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==", + "license": "MIT", + "dependencies": { + "compute-scroll-into-view": "^1.0.20" + } + }, "node_modules/semver": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", @@ -11083,21 +11017,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", - "license": "MIT" - }, - "node_modules/shallow-equal": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.2.1.tgz", - "integrity": "sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==" - }, "node_modules/shallowequal": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==" + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "license": "MIT" }, "node_modules/shebang-command": { "version": "1.2.0", @@ -11472,6 +11396,15 @@ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" }, + "node_modules/throttle-debounce": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.2.tgz", + "integrity": "sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==", + "license": "MIT", + "engines": { + "node": ">=12.22" + } + }, "node_modules/timed-out": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", @@ -11710,32 +11643,6 @@ "node": ">=14.17" } }, - "node_modules/ua-parser-js": { - "version": "0.7.41", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.41.tgz", - "integrity": "sha512-O3oYyCMPYgNNHuO7Jjk3uacJWZF8loBgwrfd/5LE/HyZ3lUIOdniQ7DNXJcIgZbwioZxk0fLfI4EVnetdiX5jg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/ua-parser-js" - }, - { - "type": "paypal", - "url": "https://paypal.me/faisalman" - }, - { - "type": "github", - "url": "https://github.com/sponsors/faisalman" - } - ], - "license": "MIT", - "bin": { - "ua-parser-js": "script/cli.js" - }, - "engines": { - "node": "*" - } - }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", @@ -12140,20 +12047,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/warning": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", - "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/whatwg-fetch": { - "version": "3.6.20", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", - "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", - "license": "MIT" - }, "node_modules/which": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", diff --git a/app/package.json b/app/package.json index 3a12d968..737fdcdd 100644 --- a/app/package.json +++ b/app/package.json @@ -82,6 +82,7 @@ "vitest": "^4.1.4" }, "dependencies": { + "@ant-design/icons": "^6.2.2", "@babel/polyfill": "^7.0.0", "@geoffcox/react-splitter": "^2.1.2", "@types/tinycolor2": "^1.4.3", @@ -89,7 +90,7 @@ "@typescript-eslint/parser": "^5.57.1", "@ungap/structured-clone": "^1.0.2", "ahooks": "^3.7.6", - "antd": "^3.26.20", + "antd": "^4.24.16", "classnames": "^2.3.2", "core-js": "^3.30.1", "lodash.capitalize": "^4.2.1", diff --git a/app/src/components/AiContextPathPicker/AiContextPathPicker.tsx b/app/src/components/AiContextPathPicker/AiContextPathPicker.tsx index 3a8768cf..c29dcc56 100644 --- a/app/src/components/AiContextPathPicker/AiContextPathPicker.tsx +++ b/app/src/components/AiContextPathPicker/AiContextPathPicker.tsx @@ -1,5 +1,6 @@ import React, { Fragment, useEffect, useRef, useState } from 'react'; -import { Alert, Icon, List, Spin } from 'antd'; +import { Alert, List, Spin } from 'antd'; +import { ArrowUpOutlined, FileTextOutlined, FolderAddOutlined, FolderOutlined } from '@ant-design/icons'; import classnames from 'classnames'; import sortBy from 'lodash.sortby'; @@ -20,9 +21,13 @@ type Props = { }; function getItemIcon(item: FileSystemItemType) { - if (item.isFile) return ; - if (item.name === '..') return ; - return ; + if (item.isFile) return ; + if (item.name === '..') return ; + return item.hasChildren ? ( + + ) : ( + + ); } function AiContextPathPicker({ globalModalId, initialPath, onSelectPath }: Props) { diff --git a/app/src/components/AiDraftModal/AiDraftConversationTreePreview.tsx b/app/src/components/AiDraftModal/AiDraftConversationTreePreview.tsx index 30863703..e77b8d2d 100644 --- a/app/src/components/AiDraftModal/AiDraftConversationTreePreview.tsx +++ b/app/src/components/AiDraftModal/AiDraftConversationTreePreview.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useMemo, useRef, useState } from 'react'; -import { Icon } from 'antd'; +import { BranchesOutlined } from '@ant-design/icons'; import { useSize } from 'ahooks'; import { Tree, NodeRendererProps, RowRendererProps, CursorProps, TreeApi } from 'react-arborist'; @@ -166,7 +166,7 @@ export function AiDraftConversationTreePreview({ conversationAsset }: Props) {
- Conversation tree preview + Conversation tree preview Read-only
diff --git a/app/src/components/AiDraftModal/AiDraftModal.css b/app/src/components/AiDraftModal/AiDraftModal.css index eabcfea0..6d0b5919 100644 --- a/app/src/components/AiDraftModal/AiDraftModal.css +++ b/app/src/components/AiDraftModal/AiDraftModal.css @@ -41,7 +41,7 @@ } .ai-draft-modal .ant-input, -.ai-draft-modal .ant-select-selection { +.ai-draft-modal .ant-select:not(.ant-select-customize-input) .ant-select-selector { border-color: #5f6b7a; } @@ -122,23 +122,32 @@ } .ai-draft-modal__reasoning-dropdown .ai-draft-modal__select-option span { - color: #dbe7f3; + color: #d2d2d2; } .ai-draft-modal__reasoning-dropdown .ai-draft-modal__select-option small { - color: #8fb2d2; + color: #2ab0f7; } -.ai-draft-modal__reasoning-dropdown .ant-select-dropdown-menu-item:hover .ai-draft-modal__select-option span, -.ai-draft-modal__reasoning-dropdown .ant-select-dropdown-menu-item-active .ai-draft-modal__select-option span, -.ai-draft-modal__reasoning-dropdown .ant-select-dropdown-menu-item-selected .ai-draft-modal__select-option span { +.ai-draft-modal__reasoning-dropdown .ant-select-item-option:not(.ant-select-item-option-selected):hover .ai-draft-modal__select-option span, +.ai-draft-modal__reasoning-dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected) .ai-draft-modal__select-option span { color: #ffffff; } -.ai-draft-modal__reasoning-dropdown .ant-select-dropdown-menu-item:hover .ai-draft-modal__select-option small, -.ai-draft-modal__reasoning-dropdown .ant-select-dropdown-menu-item-active .ai-draft-modal__select-option small, -.ai-draft-modal__reasoning-dropdown .ant-select-dropdown-menu-item-selected .ai-draft-modal__select-option small { - color: #d7ebff; +.ai-draft-modal__reasoning-dropdown .ant-select-item-option:not(.ant-select-item-option-selected):hover .ai-draft-modal__select-option small, +.ai-draft-modal__reasoning-dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected) .ai-draft-modal__select-option small { + color: #ffffff; +} + +.ai-draft-modal__reasoning-dropdown .ant-select-item-option-selected .ai-draft-modal__select-option span, +.ai-draft-modal__reasoning-dropdown .ant-select-item-option-selected .ai-draft-modal__select-option small { + color: #ffffff; +} + +.ai-draft-modal__reasoning-dropdown .ant-select-item-option-selected:hover, +.ai-draft-modal__reasoning-dropdown .ant-select-item-option-selected.ant-select-item-option-active { + background-color: rgba(42, 176, 247, 0.14); + color: #ffffff; } .ai-draft-modal__field-actions { @@ -296,6 +305,23 @@ min-width: 80px; } +.ai-draft-personalities__search { + min-width: 0; +} + +.ai-draft-personalities__search .ant-input-affix-wrapper { + padding-left: 12px; +} + +.ai-draft-personalities__search .ant-input-affix-wrapper .ant-input-prefix { + margin-right: 12px; + color: #40556c; +} + +.ai-draft-personalities__search .ant-input-affix-wrapper > input.ant-input { + padding-left: 10px !important; +} + .ai-draft-personalities__toolbar .ant-btn, .ai-draft-personalities__list-actions .ant-btn, .ai-draft-personalities__editor-heading .ant-btn { @@ -342,22 +368,25 @@ margin-top: 8px; } -.ai-draft-personalities__item:hover, -.ai-draft-personalities__item:focus { +.ai-draft-personalities__item:not(.ai-draft-personalities__item--active):hover, +.ai-draft-personalities__item:not(.ai-draft-personalities__item--active):focus { outline: none; background: #f6f8fb; box-shadow: 0 0 0 1px rgba(31, 95, 139, 0.3), 0 4px 12px rgba(31, 47, 67, 0.12); } -.ai-draft-personalities__item:active { - transform: scale(0.96); -} - .ai-draft-personalities__item--active { + outline: none; background: #eef6fb; box-shadow: 0 0 0 2px rgba(31, 95, 139, 0.34), 0 4px 12px rgba(31, 47, 67, 0.14); } +.ai-draft-personalities__item--active:hover, +.ai-draft-personalities__item--active:focus { + background: #eef6fb; + box-shadow: 0 0 0 2px rgba(31, 95, 139, 0.42), 0 4px 12px rgba(31, 47, 67, 0.14); +} + .ai-draft-personalities__item--disabled { opacity: 0.58; } @@ -440,36 +469,35 @@ padding-bottom: 4px; } -.ai-draft-personalities__editor .ant-select-selection--multiple { +.ai-draft-personalities__editor .ant-select-multiple .ant-select-selector { min-height: 34px; padding-bottom: 2px; } -.ai-draft-personalities__editor .ant-select-selection--multiple .ant-select-selection__rendered { +.ai-draft-personalities__editor .ant-select-multiple .ant-select-selection-overflow { min-height: 30px; - margin-right: 6px; - margin-bottom: -2px; - margin-left: 6px; + padding-right: 6px; + padding-left: 6px; line-height: 30px; } -.ai-draft-personalities__editor .ant-select-selection__choice { +.ai-draft-personalities__editor .ant-select-selection-item { max-width: 100%; } -.ai-draft-personalities__editor .ant-select-selection--multiple .ant-select-selection__choice { +.ai-draft-personalities__editor .ant-select-multiple .ant-select-selection-item { height: 24px; margin-right: 5px; margin-top: 4px; line-height: 22px; } -.ai-draft-personalities__editor .ant-select-selection--multiple .ant-select-search--inline { +.ai-draft-personalities__editor .ant-select-multiple .ant-select-selection-search { height: 28px; line-height: 28px; } -.ai-draft-personalities__editor .ant-select-selection--multiple .ant-select-search__field { +.ai-draft-personalities__editor .ant-select-multiple .ant-select-selection-search-input { height: 24px; margin-top: 3px; } diff --git a/app/src/components/AiDraftModal/AiDraftModal.tsx b/app/src/components/AiDraftModal/AiDraftModal.tsx index e7b0d176..9538af94 100644 --- a/app/src/components/AiDraftModal/AiDraftModal.tsx +++ b/app/src/components/AiDraftModal/AiDraftModal.tsx @@ -2,7 +2,18 @@ import React, { ChangeEvent, useEffect, useMemo, useState } from 'react'; import { toJS } from 'mobx'; import { runInAction } from 'mobx'; import { observer } from 'mobx-react'; -import { Alert, Button, Checkbox, Col, Form, Icon, Input, message, Radio, Row, Select, Spin, Tabs, Tag, Tooltip } from 'antd'; +import { Alert, Button, Checkbox, Col, Form, Input, message, Radio, Row, Select, Spin, Tabs, Tag, Tooltip } from 'antd'; +import { + CodeOutlined, + CopyOutlined, + DeleteOutlined, + FileTextOutlined, + FolderOpenOutlined, + PlusOutlined, + QuestionCircleOutlined, + ReloadOutlined, + SearchOutlined, +} from '@ant-design/icons'; import classnames from 'classnames'; import { useStore } from 'hooks/useStore'; @@ -50,7 +61,7 @@ import './AiDraftModal.css'; const { TextArea } = Input; const { Option } = Select; -const { TabPane } = Tabs; +type TabsItems = NonNullable['items']>; const AI_DEBUG_PREFIX = '[ConverseTek AI Modal]'; const fallbackReasoningEfforts = [ @@ -219,7 +230,7 @@ function FieldLabel({ label, help }: { label: string; help: string }) { {label} - + ); @@ -825,7 +836,8 @@ function AiDraftModal({ globalModalId, mode, selectedNodeId }: Props) { {getAcceptLabel(mode)}
); - return ( -
- - + const tabsItems: TabsItems = [ + { + children: ( + <> {!canGenerate && (
@@ -1241,13 +1265,13 @@ function AiDraftModal({ globalModalId, mode, selectedNodeId }: Props) {
- - -
@@ -1265,7 +1289,7 @@ function AiDraftModal({ globalModalId, mode, selectedNodeId }: Props) { > Enabled - @@ -1329,8 +1353,16 @@ function AiDraftModal({ globalModalId, mode, selectedNodeId }: Props) { )} - - + + ), + key: 'cast-personalities', + label: 'Cast Personalities', + }, + ]; + + return ( +
+
); } diff --git a/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.css b/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.css index 977f5f99..b15f2752 100644 --- a/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.css +++ b/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.css @@ -517,6 +517,7 @@ } .node-renderer__logic-popover .ant-popover-inner-content { + position: relative; padding: 10px; border: 1px solid rgba(31, 47, 67, 0.14); border-radius: 4px; @@ -525,8 +526,29 @@ } .node-renderer__logic-popover .ant-popover-arrow { + background: transparent; + box-shadow: none; +} + +.node-renderer__logic-popover .ant-popover-arrow-content { + --antd-arrow-background-color: #fff; +} + +.node-renderer__logic-popover .ant-popover-arrow-content::before { + background: #fff; +} + +.node-renderer__logic-popover.ant-popover-placement-top .ant-popover-inner-content::after, +.node-renderer__logic-popover.ant-popover-placement-topLeft .ant-popover-inner-content::after, +.node-renderer__logic-popover.ant-popover-placement-topRight .ant-popover-inner-content::after { + position: absolute; + bottom: -1px; + left: 50%; + width: 18px; + height: 1px; background: #fff; - box-shadow: -1px -1px 0 rgba(31, 47, 67, 0.1); + transform: translateX(-50%); + content: ''; } .rst__rtl.rst__rowLabel { padding-left: 20px; diff --git a/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.tsx b/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.tsx index 7828d885..452031d2 100644 --- a/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.tsx +++ b/app/src/components/DialogEditor/ConverseTekNodeRenderer/ConverseTekNodeRenderer.tsx @@ -3,7 +3,17 @@ import React, { CSSProperties, useEffect, useRef, useState } from 'react'; import classnames from 'classnames'; import { observer } from 'mobx-react'; -import { Icon, Popover, Tooltip } from 'antd'; +import { Popover, Tooltip } from 'antd'; +import { + AntDesignOutlined, + BranchesOutlined, + EnterOutlined, + LockOutlined, + ProfileOutlined, + QuestionCircleFilled, + RightCircleFilled, + VideoCameraOutlined, +} from '@ant-design/icons'; import defer from 'lodash.defer'; import tinycolor from 'tinycolor2'; @@ -159,7 +169,7 @@ function getPromptSpeakerBadge( function getMoveHandleIcon(isRoot: boolean, isNode: boolean, isResponse: boolean): JSX.Element | null { const handleIconStyle = { color: 'white', fontSize: '20px' }; - if (isRoot) return ; + if (isRoot) return ; if (isNode || isResponse) return null; return null; @@ -555,8 +565,8 @@ export const ConverseTekNodeRenderer = observer( {!isLink && (
- {isBaseCore && } - {isIsolatedCore && } + {isBaseCore && } + {isIsolatedCore && } {hasConditions && ( - + )} {hasActions && ( @@ -578,12 +588,11 @@ export const ConverseTekNodeRenderer = observer( destroyTooltipOnHide trigger="hover" > - + )} {!hasNodeTitle && ( - - {cameraBadge.variant !== 'multiple' && } - + {cameraBadge.variant !== 'multiple' && } + {cameraBadge.label} diff --git a/app/src/components/EditableLogic/EditableLogic.tsx b/app/src/components/EditableLogic/EditableLogic.tsx index 1644bad5..098cbd32 100644 --- a/app/src/components/EditableLogic/EditableLogic.tsx +++ b/app/src/components/EditableLogic/EditableLogic.tsx @@ -5,7 +5,8 @@ import React from 'react'; import { observer } from 'mobx-react'; import classnames from 'classnames'; -import { Icon, Tooltip } from 'antd'; +import { Tooltip } from 'antd'; +import { ExclamationCircleOutlined } from '@ant-design/icons'; import { SelectValue } from 'antd/lib/select'; import { useStore } from 'hooks/useStore'; @@ -59,7 +60,7 @@ function EditableLogic({ scope = 'all', category, logic, isEven = false, parentL const tooltipContent = tooltip ? ( - + ) : undefined; @@ -121,7 +122,7 @@ function EditableLogic({ scope = 'all', category, logic, isEven = false, parentL const tooltipContent = tooltip ? ( - + ) : undefined; diff --git a/app/src/components/EditbleInput/EditableInput.tsx b/app/src/components/EditbleInput/EditableInput.tsx index 3dd98116..a0423c8b 100644 --- a/app/src/components/EditbleInput/EditableInput.tsx +++ b/app/src/components/EditbleInput/EditableInput.tsx @@ -3,7 +3,6 @@ import React, { CSSProperties } from 'react'; import { observer } from 'mobx-react'; import { Input, AutoComplete } from 'antd'; import { SelectValue } from 'antd/lib/select'; -import { DataSourceItemType } from 'antd/lib/auto-complete'; type Props = { value: string | null; @@ -56,14 +55,19 @@ function EditableInput({ value = null, options = null, onChange, onBlur, optionL } } + const autoCompleteOptions = options.map((option) => { + if (typeof option === 'object') return { value: option.value, label: option.text }; + return { value: option, label: option }; + }); + return (
{ - const autocompleteValueTitle = option.props.children as string; // Preset Def value strings: 'SimGameScope', 'SimGameFadeValues', 'DoesOrDoesNot', 'has', 'doesn't have' etc + const autocompleteValueTitle = String(option?.label || option?.value || ''); // Preset Def value strings: 'SimGameScope', 'SimGameFadeValues', 'DoesOrDoesNot', 'has', 'doesn't have' etc if (typeof inputValue === 'number') { return autocompleteValueTitle.indexOf(inputValue) !== -1; } else if (typeof inputValue === 'string') { @@ -73,7 +77,7 @@ function EditableInput({ value = null, options = null, onChange, onBlur, optionL return false; }} onChange={onChange} - onBlur={onBlur} + onBlur={() => onBlur?.(value || '')} /> {optionLabelProp && ( diff --git a/app/src/components/FileSystemPicker/FileSystemPicker.tsx b/app/src/components/FileSystemPicker/FileSystemPicker.tsx index 37a63117..cd86dd83 100644 --- a/app/src/components/FileSystemPicker/FileSystemPicker.tsx +++ b/app/src/components/FileSystemPicker/FileSystemPicker.tsx @@ -1,6 +1,7 @@ /* eslint-disable operator-linebreak */ import React, { useState, useEffect, CSSProperties, Fragment, useRef } from 'react'; -import { List, Icon } from 'antd'; +import { List } from 'antd'; +import { BookTwoTone, DesktopOutlined, FileTextOutlined, FolderAddOutlined, FolderOutlined } from '@ant-design/icons'; import classnames from 'classnames'; import remove from 'lodash.remove'; import sortBy from 'lodash.sortby'; @@ -22,9 +23,9 @@ const ListItem = List.Item; const rootDrivePathPattern = /^[a-zA-Z]:[\\/]{1}$/; function getItemIcon(item: FileSystemItemType) { - if (item.isDirectory && item.hasChildren) return ; - if (item.isFile) return ; - return ; + if (item.isDirectory && item.hasChildren) return ; + if (item.isFile) return ; + return ; } let debouncedClickEvents: DebouncedFunc<() => void>[] = []; @@ -244,22 +245,22 @@ export function FileSystemPicker() {
- onDirectNavigation('Desktop')} /> + } onClick={() => onDirectNavigation('Desktop')} />
Desktop
- onDirectNavigation('MyComputer')} /> + } onClick={() => onDirectNavigation('MyComputer')} />
My Computer
- onDirectNavigation('MyDocuments')} /> + } onClick={() => onDirectNavigation('MyDocuments')} />
My Documents
- onDirectNavigation('Favourites')} /> + } onClick={() => onDirectNavigation('Favourites')} />
Favourites
{quickLinks && quickLinks.map(({ title, path }) => ( - onDirectNavigation(path)} /> + } onClick={() => onDirectNavigation(path)} />
{title}
))} @@ -289,7 +290,7 @@ export function FileSystemPicker() { > {getItemIcon(item)} {item.name} - {item.isDirectory && item.isQuickLink && } + {item.isDirectory && item.isQuickLink && }
); diff --git a/app/src/components/FileTree/FileTree.css b/app/src/components/FileTree/FileTree.css index 6ab3d548..23d88a46 100644 --- a/app/src/components/FileTree/FileTree.css +++ b/app/src/components/FileTree/FileTree.css @@ -27,6 +27,10 @@ color: grey; } } + + &__conversation_header > .ant-tree-switcher { + display: none; + } } .ant-tree { diff --git a/app/src/components/FileTree/FileTree.tsx b/app/src/components/FileTree/FileTree.tsx index a4469047..1e8d5d90 100644 --- a/app/src/components/FileTree/FileTree.tsx +++ b/app/src/components/FileTree/FileTree.tsx @@ -1,6 +1,8 @@ /* eslint-disable function-paren-newline */ import React, { CSSProperties } from 'react'; import { Tree } from 'antd'; +import { FileOutlined, FolderOutlined } from '@ant-design/icons'; +import { DataNode } from 'antd/lib/tree'; import classnames from 'classnames'; import { useContextMenu } from 'react-contexify'; import { useStore } from 'hooks/useStore'; @@ -8,21 +10,24 @@ import { DataStore } from 'stores/dataStore/data-store'; import { getId } from 'utils/conversation-utils'; import { observer } from 'mobx-react'; -import type { AntTreeNodeMouseEvent, AntTreeNodeSelectedEvent } from 'antd/lib/tree'; - import './FileTree.css'; +type TreeSelectInfo = Parameters['onSelect']>>[1]; +type TreeRightClickInfo = Parameters['onRightClick']>>[0]; +type TreeData = DataNode[]; + type Props = { title: string; data: { key: string; label: string }[] | null; - onSelected: (selectedKeys: string[], e: AntTreeNodeSelectedEvent) => void; + onSelected: (selectedKeys: string[], e: TreeSelectInfo) => void; selectedKeys: string[]; selectedDirectoryName: string | null; }; -const { TreeNode } = Tree; +const rootTreeKey = '0'; +const expandedRootTreeKeys = [rootTreeKey]; -function renderTreeNodes(dataStore: DataStore, data: { key: string; label: string }[] | null): JSX.Element[] | undefined { +function getConversationTreeData(dataStore: DataStore, data: { key: string; label: string }[] | null): TreeData { const { isConversationDirty, unsavedActiveConversationAsset: conversationAsset } = dataStore; if (data) @@ -43,9 +48,14 @@ function renderTreeNodes(dataStore: DataStore, data: { key: string; label: strin ); - return ; + return { + className: 'file-tree__tree__conversation', + icon: , + key: item.key, + title: label, + }; }); - return undefined; + return []; } const FileTree = ({ title, data = null, onSelected = () => {}, selectedKeys = [], selectedDirectoryName }: Props) => { @@ -58,13 +68,29 @@ const FileTree = ({ title, data = null, onSelected = () => {}, selectedKeys = [] const headerClasses = classnames('file-tree__tree__conversation_header', { 'file-tree__tree__conversation_header--no-data': data == null || data.length <= 0, }); - - const onRightClickTree = ({ event, node }: AntTreeNodeMouseEvent) => { - const { eventKey } = node.props; - if (eventKey === '0') return; + const treeData: TreeData = [ + { + children: getConversationTreeData(dataStore, data), + className: headerClasses, + icon: , + key: rootTreeKey, + title: data && data.length ? selectedDirectoryName : 'No Conversations', + }, + ]; + + const onRightClickTree = ({ event, node }: TreeRightClickInfo) => { + const eventKey = String(node.key); + if (eventKey === rootTreeKey) return; const item = data?.find((conversation) => conversation.key === eventKey); - show({ event, props: { id: eventKey, title: item?.label || String(eventKey), selected: node.props.selected } }); + show({ event, props: { id: eventKey, title: item?.label || String(eventKey), selected: selectedKeys.includes(eventKey) } }); + }; + + const onSelectTree = (nextSelectedKeys: React.Key[], event: TreeSelectInfo) => { + const selectedTreeKeys = nextSelectedKeys.map(String); + if (selectedTreeKeys.includes(rootTreeKey)) return; + + onSelected(selectedTreeKeys, event); }; return ( @@ -72,11 +98,7 @@ const FileTree = ({ title, data = null, onSelected = () => {}, selectedKeys = [] {title &&

{title}

}
- - - {renderTreeNodes(dataStore, data)} - - +
diff --git a/app/src/components/IconButton/IconButton.tsx b/app/src/components/IconButton/IconButton.tsx index 8c8637b9..147fc59a 100644 --- a/app/src/components/IconButton/IconButton.tsx +++ b/app/src/components/IconButton/IconButton.tsx @@ -1,14 +1,15 @@ -import React, { CSSProperties, MouseEvent } from 'react'; +import React, { CSSProperties, MouseEvent, ReactNode } from 'react'; import { Button, Tooltip } from 'antd'; import { TooltipPlacement } from 'antd/lib/tooltip'; +import { getAntdButtonType, isAntdButtonDanger, LegacyButtonType } from 'utils/antd-button-utils'; import './IconButton.css'; type Props = ButtonProps & TooltipProps; type ButtonProps = { - type?: 'link' | 'default' | 'ghost' | 'primary' | 'dashed' | 'danger' | undefined; - icon: string; + type?: LegacyButtonType; + icon: ReactNode; shape?: 'circle' | 'round' | 'circle-outline' | undefined; onClick: (event: MouseEvent) => void; className?: string; @@ -21,7 +22,16 @@ type TooltipProps = { }; export const IconButton = ({ type, icon, shape = 'circle', onClick, className, style = {}, title, placement = 'left' }: Props) => { - let component =
@@ -102,7 +103,7 @@ function ConversationActions({ node }: { node: PromptNodeType | ElementNodeType {displayActions.map((action, index) => renderPanel(action, index))}
diff --git a/app/src/containers/ConversationConditions/ConversationConditions.css b/app/src/containers/ConversationConditions/ConversationConditions.css index b0eb0950..b49150f4 100644 --- a/app/src/containers/ConversationConditions/ConversationConditions.css +++ b/app/src/containers/ConversationConditions/ConversationConditions.css @@ -1,9 +1,10 @@ @import '../../css/constants.css'; .conversation-conditions { - height: calc(100% - 28px); - overflow-y: auto; + height: 100%; + min-height: 0; overflow-x: hidden; + overflow-y: auto; &__panel-header { display: flex; @@ -13,10 +14,28 @@ display: inline-block; } - &-delete-button { - flex: 0 0 $largeSpace; + &-delete-button.ant-btn { + display: inline-flex; + align-items: center; + justify-content: center; + flex: 0 0 26px; + width: 26px; + min-width: 26px; + max-width: 26px; + height: 24px; margin-left: $mediumLargeSpace; - margin-right: $tinySpace; + margin-right: 0; + padding: 0; + line-height: 1; + + .anticon { + font-size: 13px; + line-height: 1; + } + + .anticon svg { + display: block; + } } } @@ -66,6 +85,7 @@ &-header { padding-top: $tinySpace !important; + padding-right: $tinySpace !important; padding-bottom: $tinySpace !important; color: $textColourPrimary !important; diff --git a/app/src/containers/ConversationConditions/ConversationConditions.tsx b/app/src/containers/ConversationConditions/ConversationConditions.tsx index 7202924d..abb1e0e1 100644 --- a/app/src/containers/ConversationConditions/ConversationConditions.tsx +++ b/app/src/containers/ConversationConditions/ConversationConditions.tsx @@ -1,6 +1,7 @@ import React, { useRef, MouseEvent, useEffect } from 'react'; import { observer } from 'mobx-react'; -import { Button, Icon, Collapse, Popconfirm } from 'antd'; +import { Button, Collapse, Popconfirm } from 'antd'; +import { DeleteOutlined, PlusOutlined } from '@ant-design/icons'; import classnames from 'classnames'; import { useUpdate } from 'ahooks'; @@ -49,9 +50,9 @@ function ConversationConditions({ node }: { node: ElementNodeType }) { } }; - const onDeleteCondition = (event: MouseEvent, index: number) => { + const onDeleteCondition = (event: MouseEvent | undefined, index: number) => { nodeStore.removeNodeCondition(node, index); - event.stopPropagation(); + event?.stopPropagation(); }; const renderPanel = (condition: OperationCallType, index: number) => { @@ -70,17 +71,17 @@ function ConversationConditions({ node }: { node: ElementNodeType }) { onDeleteCondition(event, index)} + onConfirm={(event) => onDeleteCondition(event, index)} okText="Yes" cancelText="No" > @@ -100,7 +101,7 @@ function ConversationConditions({ node }: { node: ElementNodeType }) { {displayConditions.map((condition, index) => renderPanel(condition, index))}
diff --git a/app/src/containers/ConversationEditor/ConversationEditor.css b/app/src/containers/ConversationEditor/ConversationEditor.css index adeebafc..36b0b8b6 100644 --- a/app/src/containers/ConversationEditor/ConversationEditor.css +++ b/app/src/containers/ConversationEditor/ConversationEditor.css @@ -78,7 +78,7 @@ flex-direction: column; height: 100%; - &-bar { + &-nav { flex: 0 0 auto; margin: 0; } @@ -104,14 +104,21 @@ .ant-tabs-content { background-color: $backgroundPrimary; + height: 100%; + min-height: 0; + } + + .ant-tabs-content-holder { flex: 1 1 auto; - height: auto; min-height: 0; + overflow: hidden; } .ant-tabs-tabpane { background-color: $backgroundPrimary; height: 100%; + min-height: 0; + overflow: hidden; } } diff --git a/app/src/containers/ConversationEditor/ConversationEditor.tsx b/app/src/containers/ConversationEditor/ConversationEditor.tsx index 8888a4ff..853dd7fc 100644 --- a/app/src/containers/ConversationEditor/ConversationEditor.tsx +++ b/app/src/containers/ConversationEditor/ConversationEditor.tsx @@ -2,7 +2,8 @@ import React, { ChangeEvent, useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import { toJS } from 'mobx'; import { observer } from 'mobx-react'; -import { message, Button, Row, Col, Form, Input, Icon, Tabs, Popconfirm } from 'antd'; +import { message, Button, Row, Col, Form, Input, Tabs, Popconfirm } from 'antd'; +import { ArrowRightOutlined, MenuFoldOutlined, MenuUnfoldOutlined, RetweetOutlined, SaveOutlined } from '@ant-design/icons'; import { Split } from '@geoffcox/react-splitter'; import { updateConversation } from 'services/api'; @@ -22,7 +23,7 @@ import { ConversationActions } from '../ConversationActions'; import './ConversationEditor.css'; const FormItem = Form.Item; -const { TabPane } = Tabs; +type TabsItems = NonNullable['items']>; type Props = { conversationAsset: ConversationAssetType; @@ -118,6 +119,25 @@ function ConversationEditor({ conversationAsset }: Props) { const conversationId = conversation.idRef.id; const { type } = activeNode || { type: null }; const { isRoot, isResponse } = detectType(type); + const detailTabs = activeNode + ? ([ + { + children: , + key: '1', + label: 'General', + }, + (isRoot || isResponse) && { + children: , + key: '2', + label: 'Conditions', + }, + { + children: , + key: '3', + label: 'Actions', + }, + ].filter(Boolean) as TabsItems) + : []; return (
@@ -134,9 +154,7 @@ function ConversationEditor({ conversationAsset }: Props) { okText="Yes" cancelText="No" > - +
@@ -151,9 +169,12 @@ function ConversationEditor({ conversationAsset }: Props) {
- + + icon={} + />
@@ -175,13 +195,9 @@ function ConversationEditor({ conversationAsset }: Props) { okText="Yes" cancelText="No" > - + +
@@ -198,26 +214,13 @@ function ConversationEditor({ conversationAsset }: Props) { type="primary" size="small" onClick={() => nodeStore.scrollToActiveNode()} - > - - + icon={} + /> - - - - - {(isRoot || isResponse) && ( - - - - )} - - - - + diff --git a/app/src/containers/ConversationGeneral/ConversationGeneral.tsx b/app/src/containers/ConversationGeneral/ConversationGeneral.tsx index 0617cede..12fcd958 100644 --- a/app/src/containers/ConversationGeneral/ConversationGeneral.tsx +++ b/app/src/containers/ConversationGeneral/ConversationGeneral.tsx @@ -1,6 +1,7 @@ import React, { useState, useEffect, ChangeEvent } from 'react'; import PropTypes from 'prop-types'; -import { Card, Row, Col, Input, Select, Tooltip, Icon, Checkbox } from 'antd'; +import { Card, Row, Col, Input, Select, Tooltip, Checkbox } from 'antd'; +import { ExclamationCircleOutlined } from '@ant-design/icons'; import { SelectValue } from 'antd/lib/select'; import { CheckboxChangeEvent } from 'antd/lib/checkbox'; import { observer } from 'mobx-react'; @@ -145,7 +146,7 @@ function ConversationGeneral({ node }: Props) {
- +
Speaker
diff --git a/app/src/containers/GlobalModal/GlobalModal.tsx b/app/src/containers/GlobalModal/GlobalModal.tsx index 7eeb6369..f8b1542e 100644 --- a/app/src/containers/GlobalModal/GlobalModal.tsx +++ b/app/src/containers/GlobalModal/GlobalModal.tsx @@ -4,6 +4,7 @@ import { observer } from 'mobx-react'; import { useStore } from 'hooks/useStore'; import { ModalStore } from 'stores/modalStore/modal-store'; +import { getAntdButtonType, isAntdButtonDanger } from 'utils/antd-button-utils'; import './GlobalModal.css'; @@ -39,13 +40,13 @@ function GlobalModal({ id }: { id: string }) { const footer = [ showCancelButton ? ( - ) : null, showOkButton ? ( - ) : null, @@ -54,7 +55,7 @@ function GlobalModal({ id }: { id: string }) { return ( - {content} + {React.isValidElement(content) ? content : null} ); } diff --git a/app/src/containers/Header/Header.css b/app/src/containers/Header/Header.css index ad6ba081..e2a02ebf 100644 --- a/app/src/containers/Header/Header.css +++ b/app/src/containers/Header/Header.css @@ -8,4 +8,8 @@ & * { transition: none; } -} \ No newline at end of file +} + +.header__submenu-popup { + padding-top: $tinySpace; +} diff --git a/app/src/containers/Header/Header.tsx b/app/src/containers/Header/Header.tsx index d59aa807..b38cbbb5 100644 --- a/app/src/containers/Header/Header.tsx +++ b/app/src/containers/Header/Header.tsx @@ -15,8 +15,9 @@ import { updateConversation, exportConversation, exportAllConversations } from ' import './Header.css'; -const MenuItem = Menu.Item; -const { SubMenu } = Menu; +type MenuItems = NonNullable['items']>; + +const headerSubMenuPopupOffset: [number, number] = [0, 0]; export function Header() { const dataStore = useStore('data'); @@ -25,82 +26,105 @@ export function Header() { const { workingDirectory } = dataStore; const hasActiveConversation = dataStore.activeConversationAsset !== null; + const fileMenuItems = [ + { + key: 'open-folder', + label: 'Open Folder', + onClick: () => modalStore.setModelContent(FileSystemPicker, {}, 'global1'), + }, + workingDirectory && { + key: 'new-conversation', + label: 'New Conversation', + onClick: () => dataStore.createNewConversation(), + }, + hasActiveConversation && { + key: 'save-conversation', + label: 'Save Conversation', + onClick: () => { + const { unsavedActiveConversationAsset: conversationAsset } = dataStore; + if (!conversationAsset) return; + + void updateConversation(conversationAsset.conversation.idRef.id, conversationAsset).then(() => { + void message.success('Save successful'); + }); + dataStore.updateActiveConversation(conversationAsset); // local update for speed + }, + }, + hasActiveConversation && { + key: 'save-conversation-as', + label: 'Save Conversation As...', + onClick: () => modalStore.setModelContent(SaveConversationAs, {}, 'global1'), + }, + workingDirectory && { + key: 'import-conversation-json', + label: 'Import Conversation from JSON', + onClick: () => modalStore.setModelContent(FileSystemPicker, { fileMode: true }, 'global1'), + }, + hasActiveConversation && { + key: 'export-conversation-json', + label: 'Export Conversation as JSON', + onClick: () => { + const { unsavedActiveConversationAsset: conversationAsset } = dataStore; + if (!conversationAsset) return; + + void exportConversation(conversationAsset.conversation.idRef.id, conversationAsset).then(() => { + void message.success('Export successful'); + }); + }, + }, + workingDirectory && { + key: 'export-all-conversations-json', + label: 'Export All Conversations as JSON', + onClick: () => { + const { unsavedActiveConversationAsset: conversationAsset } = dataStore; + const id = conversationAsset ? conversationAsset.conversation.idRef.id : '-1'; + + void exportAllConversations(id, conversationAsset).then(() => { + void message.success('Export successful'); + }); + }, + }, + ].filter(Boolean) as MenuItems; + const menuItems = [ + { + children: fileMenuItems, + key: 'file', + label: 'File', + popupClassName: 'header__submenu-popup', + popupOffset: headerSubMenuPopupOffset, + }, + workingDirectory && + aiFeatureEnabled && { + children: [ + { + key: 'draft-conversation', + label: 'Draft Conversation...', + onClick: () => modalStore.setModelContent(AiDraftModal, { mode: 'fullConversation' }, 'global1'), + }, + ], + key: 'draft-assist', + label: 'Draft Assist', + popupClassName: 'header__submenu-popup', + popupOffset: headerSubMenuPopupOffset, + }, + { + children: [ + { + key: 'about', + label: 'About', + onClick: () => modalStore.setModelContent(About, {}, 'global1'), + }, + ], + key: 'help', + label: 'Help', + popupClassName: 'header__submenu-popup', + popupOffset: headerSubMenuPopupOffset, + }, + ].filter(Boolean) as MenuItems; return (
- - - modalStore.setModelContent(FileSystemPicker, {}, 'global1')}>Open Folder - - {workingDirectory && dataStore.createNewConversation()}>New Conversation} - - {hasActiveConversation && ( - { - const { unsavedActiveConversationAsset: conversationAsset } = dataStore; - if (!conversationAsset) return; - - void updateConversation(conversationAsset.conversation.idRef.id, conversationAsset).then(() => { - void message.success('Save successful'); - }); - dataStore.updateActiveConversation(conversationAsset); // local update for speed - }} - > - Save Conversation - - )} - - {hasActiveConversation && ( - modalStore.setModelContent(SaveConversationAs, {}, 'global1')}>Save Conversation As... - )} - - {workingDirectory && ( - modalStore.setModelContent(FileSystemPicker, { fileMode: true }, 'global1')}> - Import Conversation from JSON - - )} - - {hasActiveConversation && ( - { - const { unsavedActiveConversationAsset: conversationAsset } = dataStore; - if (!conversationAsset) return; - - void exportConversation(conversationAsset.conversation.idRef.id, conversationAsset).then(() => { - void message.success('Export successful'); - }); - }} - > - Export Conversation as JSON - - )} - - {workingDirectory && ( - { - const { unsavedActiveConversationAsset: conversationAsset } = dataStore; - const id = conversationAsset ? conversationAsset.conversation.idRef.id : '-1'; - - void exportAllConversations(id, conversationAsset).then(() => { - void message.success('Export successful'); - }); - }} - > - Export All Conversations as JSON - - )} - - {workingDirectory && aiFeatureEnabled && ( - - modalStore.setModelContent(AiDraftModal, { mode: 'fullConversation' }, 'global1')}> - Draft Conversation... - - - )} - - modalStore.setModelContent(About, {}, 'global1')}>About - - +
); } diff --git a/app/src/css/ant-overrides.css b/app/src/css/ant-overrides.css index 6d31ade3..438b3d20 100644 --- a/app/src/css/ant-overrides.css +++ b/app/src/css/ant-overrides.css @@ -119,7 +119,7 @@ } } -.ant-btn-danger { +.ant-btn-dangerous { color: white; background-color: #f5222d; border-color: #f5222d; @@ -142,18 +142,41 @@ } } +.ant-btn-icon-only { + align-items: center; + display: inline-flex; + justify-content: center; + padding: 0; + + .anticon { + line-height: 1; + } + + .anticon svg { + display: block; + } +} + .ant-tree, .ant-tree li .ant-tree-node-content-wrapper { + background: transparent; color: $textColourPrimary; } -.ant-tree.ant-tree-show-line li span.ant-tree-switcher { +.ant-tree .ant-tree-node-content-wrapper { + color: $textColourPrimary; +} + +.ant-tree.ant-tree-show-line li span.ant-tree-switcher, +.ant-tree.ant-tree-show-line .ant-tree-switcher { background-color: $backgroundTertiary; color: white; } .ant-tree li .ant-tree-node-content-wrapper:hover, -.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected { +.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected, +.ant-tree .ant-tree-node-content-wrapper:hover, +.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected { background-color: #2ab0f77d; color: white; } @@ -176,7 +199,7 @@ background: transparent; border-bottom: none; color: white; - line-height: 12px; + line-height: 35px; } .ant-menu-horizontal > .ant-menu-item:hover, @@ -187,8 +210,40 @@ .ant-menu-horizontal > .ant-menu-submenu-open, .ant-menu-horizontal > .ant-menu-item-selected, .ant-menu-horizontal > .ant-menu-submenu-selected { - border-bottom: none; - color: white; + border-bottom-color: transparent !important; + color: white !important; +} + +.ant-menu-horizontal > .ant-menu-item:hover, +.ant-menu-horizontal > .ant-menu-submenu:hover, +.ant-menu-horizontal > .ant-menu-item-active, +.ant-menu-horizontal > .ant-menu-submenu-active { + border-bottom-color: $linkColourPrimary !important; +} + +.ant-menu-horizontal > .ant-menu-item::after, +.ant-menu-horizontal > .ant-menu-submenu::after, +.ant-menu-horizontal > .ant-menu-item-selected::after, +.ant-menu-horizontal > .ant-menu-submenu-selected::after, +.ant-menu-horizontal > .ant-menu-item-open::after, +.ant-menu-horizontal > .ant-menu-submenu-open::after { + border-bottom-color: transparent !important; +} + +.ant-menu-horizontal > .ant-menu-item:hover::after, +.ant-menu-horizontal > .ant-menu-submenu:hover::after, +.ant-menu-horizontal > .ant-menu-item-active::after, +.ant-menu-horizontal > .ant-menu-submenu-active::after { + border-bottom-color: $linkColourPrimary !important; +} + +.ant-menu-horizontal > .ant-menu-item:hover a, +.ant-menu-horizontal > .ant-menu-submenu:hover .ant-menu-submenu-title, +.ant-menu-horizontal > .ant-menu-item-active a, +.ant-menu-horizontal > .ant-menu-submenu-active .ant-menu-submenu-title, +.ant-menu-horizontal > .ant-menu-item-open a, +.ant-menu-horizontal > .ant-menu-submenu-open .ant-menu-submenu-title { + color: white !important; } .ant-menu-item:active { @@ -198,13 +253,35 @@ .ant-menu-horizontal > .ant-menu-item, .ant-menu-horizontal > .ant-menu-submenu { border-bottom: none; - padding: 12px 0; + height: 35px; + line-height: 35px; + margin-top: 0; + padding: 0 12px; +} + +.ant-menu-horizontal > .ant-menu-item:hover, +.ant-menu-horizontal > .ant-menu-submenu:hover, +.ant-menu-horizontal > .ant-menu-item-active, +.ant-menu-horizontal > .ant-menu-submenu-active, +.ant-menu-horizontal > .ant-menu-item-open, +.ant-menu-horizontal > .ant-menu-submenu-open, +.ant-menu-horizontal > .ant-menu-item-selected, +.ant-menu-horizontal > .ant-menu-submenu-selected { + background-color: transparent; } .ant-menu-submenu > .ant-menu { border-radius: 2px; } +.ant-menu-submenu-popup { + padding-top: 0; +} + +.ant-menu-submenu-popup.ant-menu-submenu-placement-bottomLeft { + margin-top: 0; +} + .ant-menu-vertical > .ant-menu-item, .ant-menu-vertical-left > .ant-menu-item, .ant-menu-vertical-right > .ant-menu-item, @@ -217,11 +294,17 @@ height: 32px; } -.ant-menu-item:hover, -.ant-menu-item-active, -.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, -.ant-menu-submenu-active, -.ant-menu-submenu-title:hover { +.ant-menu-vertical .ant-menu-item:hover, +.ant-menu-vertical .ant-menu-item-active, +.ant-menu-vertical-left .ant-menu-item:hover, +.ant-menu-vertical-left .ant-menu-item-active, +.ant-menu-vertical-right .ant-menu-item:hover, +.ant-menu-vertical-right .ant-menu-item-active, +.ant-menu-inline .ant-menu-item:hover, +.ant-menu-inline .ant-menu-item-active, +.ant-menu-submenu-popup .ant-menu-item:hover, +.ant-menu-submenu-popup .ant-menu-item-active, +.ant-menu-submenu-popup .ant-menu-submenu-title:hover { color: $linkColourTertiary; background-color: $backgroundQuaternary; } @@ -239,20 +322,43 @@ padding-bottom: 12px; } -.ant-select-selection { +.ant-select:not(.ant-select-customize-input) .ant-select-selector { background-color: $backgroundTertiary; + border-color: $borderTertiary; color: $textColourPrimary; } -.ant-select-arrow { +.ant-select-single .ant-select-selector .ant-select-selection-item, +.ant-select-single .ant-select-selector .ant-select-selection-placeholder, +.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input { + color: $textColourPrimary; +} + +.ant-select-arrow, +.ant-select-clear { color: $textColourQuaternary; + opacity: 1; +} + +.ant-select-arrow svg { + display: block; +} + +.ant-select-multiple .ant-select-selection-item { + background-color: rgba(255, 255, 255, 0.08); + border-color: $borderTertiary; + color: $textColourPrimary; +} + +.ant-select-multiple .ant-select-selection-item-remove { + color: $textColourPrimary; } .ant-select-dropdown { background-color: $backgroundTertiary; color: $textColourPrimary; - &-menu-item { + .ant-select-item { background-color: $backgroundTertiary; color: $textColourPrimary; @@ -260,20 +366,30 @@ background-color: $highlightColourPrimary; color: white; } + } - &:hover:not(.ant-select-dropdown-menu-item-disabled) { - background-color: $highlightColourPrimary; - } + .ant-select-item-option-content { + color: inherit; + } - &-selected { - background-color: $backgroundTertiary; - color: $textColourTertiary; - } + .ant-select-item-option-active:not(.ant-select-item-option-disabled) { + background-color: $highlightColourPrimary; + color: white; + } - &-active:not(.ant-select-dropdown-menu-item-disabled) { - background-color: $highlightColourPrimary; - color: white; - } + .ant-select-item-option-selected:not(.ant-select-item-option-disabled) { + border-left: 3px solid $linkColourPrimary; + background-color: rgba(42, 176, 247, 0.14); + color: white; + font-weight: 600; + } + + .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state { + color: white; + } + + .ant-select-item-option-disabled { + color: $c2grey6; } } @@ -282,8 +398,11 @@ color: black; } -.ant-tooltip-arrow::before { - background-color: gold; +.ant-tooltip-arrow::before, +.ant-tooltip-arrow-content, +.ant-tooltip-arrow-content::before { + --antd-arrow-background-color: gold; + background: gold; } .ant-input::-webkit-input-placeholder { diff --git a/app/src/css/styles.css b/app/src/css/styles.css index efd4cb18..c8e8e6ed 100644 --- a/app/src/css/styles.css +++ b/app/src/css/styles.css @@ -58,7 +58,7 @@ h3[type='secondary'] { color: $textColourSecondary; } -.ant-select-selection__placeholder { +.ant-select-selection-placeholder { color: #bfbfbf; /* Ant placeholder colour that isn't taking on placeholders */ font-weight: 400; } diff --git a/app/src/stores/defStore/def-store.ts b/app/src/stores/defStore/def-store.ts index 90ca806d..73aadea3 100644 --- a/app/src/stores/defStore/def-store.ts +++ b/app/src/stores/defStore/def-store.ts @@ -34,6 +34,7 @@ class DefStore { operations: observable, presets: observable, tags: observable, + definitionCount: observable, setLogicTypeByConversation: action, setLogicTypeByOperation: action, setDefinitions: action, diff --git a/app/src/stores/modalStore/modal-store.tsx b/app/src/stores/modalStore/modal-store.tsx index 5415b8db..67c8477c 100644 --- a/app/src/stores/modalStore/modal-store.tsx +++ b/app/src/stores/modalStore/modal-store.tsx @@ -1,7 +1,7 @@ /* eslint-disable function-paren-newline */ import React, { MouseEvent, ElementType } from 'react'; import { observable, action, makeObservable } from 'mobx'; -import { ButtonType } from 'antd/lib/button'; +import { LegacyButtonType } from 'utils/antd-button-utils'; import { getDevPreservedStore } from '../dev-preserved-store'; @@ -12,8 +12,6 @@ export type FSModalProps = { fileMode?: boolean; }; -type ModalButtonType = 'link' | 'primary' | 'default' | 'ghost' | 'dashed' | 'danger' | undefined; - type ModalOptions = { props: FSModalProps; @@ -21,13 +19,13 @@ type ModalOptions = { width: string; showOkButton: boolean; - okType: ModalButtonType | undefined; + okType: LegacyButtonType; okLabel: string; disableOk: boolean; onOk: OnOkType; showCancelButton: boolean; - cancelType: ModalButtonType | undefined; + cancelType: LegacyButtonType; cancelLabel: string; onCancel: OnCancelType; @@ -170,7 +168,7 @@ class ModalStore { modalOptions.disableOk = flag; } - setOkType(type: ButtonType, globalModalId: string): void { + setOkType(type: LegacyButtonType, globalModalId: string): void { const modalOptions = this.options.get(globalModalId); if (modalOptions == null) return; @@ -184,7 +182,7 @@ class ModalStore { modalOptions.okLabel = label; } - setCancelType(type: ButtonType, globalModalId: string): void { + setCancelType(type: LegacyButtonType, globalModalId: string): void { const modalOptions = this.options.get(globalModalId); if (modalOptions == null) return; diff --git a/app/src/utils/antd-button-utils.ts b/app/src/utils/antd-button-utils.ts new file mode 100644 index 00000000..a9d234b4 --- /dev/null +++ b/app/src/utils/antd-button-utils.ts @@ -0,0 +1,11 @@ +import { ButtonType } from 'antd/lib/button'; + +export type LegacyButtonType = ButtonType | 'danger' | undefined; + +export function getAntdButtonType(type: LegacyButtonType): ButtonType | undefined { + return type === 'danger' ? 'default' : type; +} + +export function isAntdButtonDanger(type: LegacyButtonType): boolean { + return type === 'danger'; +}