diff --git a/frontend/package-lock.json b/frontend/package-lock.json index c283828dd..35683ed81 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@ant-design/icons": "^4.8.1", "@craco/craco": "5.5.0", - "antd": "4.17.4", + "antd": "^4.24.14", "axios": "0.27.2", "craco-alias": "3.0.1", "craco-less": "1.17.1", @@ -106,20 +106,28 @@ "integrity": "sha512-4QBZg8ccyC6LPIRii7A0bZUk3+lEDCLnhB+FVsflGdcWPPmV+j3fire4AwwoqHV/BibgvBmR9ZIo4s867smv+g==" }, "node_modules/@ant-design/react-slick": { - "version": "0.28.4", - "resolved": "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-0.28.4.tgz", - "integrity": "sha512-j9eAHTn7GxbXUFNknJoHS2ceAsqrQi2j8XykjZE1IXCD8kJF+t28EvhBLniDpbOsBk/3kjalnhriTfZcjBHNqg==", + "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==", "dependencies": { "@babel/runtime": "^7.10.4", "classnames": "^2.2.5", "json2mq": "^0.2.0", - "lodash": "^4.17.21", - "resize-observer-polyfill": "^1.5.0" + "resize-observer-polyfill": "^1.5.1", + "throttle-debounce": "^5.0.0" }, "peerDependencies": { "react": ">=16.9.0" } }, + "node_modules/@ant-design/react-slick/node_modules/throttle-debounce": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.0.tgz", + "integrity": "sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==", + "engines": { + "node": ">=12.22" + } + }, "node_modules/@babel/code-frame": { "version": "7.22.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", @@ -3362,6 +3370,23 @@ "node": ">= 8" } }, + "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==", + "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/@rollup/plugin-node-resolve": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.3.tgz", @@ -4711,52 +4736,52 @@ } }, "node_modules/antd": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/antd/-/antd-4.17.4.tgz", - "integrity": "sha512-aiWi7TxAc7qAxbL412GSKpkWkL/wIhQe6ABuLLCiE1vqXnGTvav2Z0PiOUdFclZcfz2M2IofsUl2pLVN9I8iCg==", + "version": "4.24.14", + "resolved": "https://registry.npmjs.org/antd/-/antd-4.24.14.tgz", + "integrity": "sha512-hY/MPm7XI0G+9MvjhTlbDkA2sf8oHVbhtrT0XRstlm9+fXYGNXz8oEh3d5qiA3/tY5NL2Kh2tF7Guh01hwWJdg==", "dependencies": { "@ant-design/colors": "^6.0.0", "@ant-design/icons": "^4.7.0", - "@ant-design/react-slick": "~0.28.1", - "@babel/runtime": "^7.12.5", + "@ant-design/react-slick": "~1.0.0", + "@babel/runtime": "^7.18.3", "@ctrl/tinycolor": "^3.4.0", - "array-tree-filter": "^2.1.0", "classnames": "^2.2.6", "copy-to-clipboard": "^3.2.0", "lodash": "^4.17.21", - "memoize-one": "^6.0.0", - "moment": "^2.25.3", - "rc-cascader": "~2.3.0", - "rc-checkbox": "~2.3.0", - "rc-collapse": "~3.1.0", - "rc-dialog": "~8.6.0", - "rc-drawer": "~4.4.2", - "rc-dropdown": "~3.2.0", - "rc-field-form": "~1.21.0", - "rc-image": "~5.2.5", - "rc-input-number": "~7.3.0", - "rc-mentions": "~1.6.1", - "rc-menu": "~9.0.12", - "rc-motion": "^2.4.4", - "rc-notification": "~4.5.7", - "rc-pagination": "~3.1.9", - "rc-picker": "~2.5.17", - "rc-progress": "~3.1.0", + "moment": "^2.29.2", + "rc-cascader": "~3.7.0", + "rc-checkbox": "~3.0.0", + "rc-collapse": "~3.4.2", + "rc-dialog": "~9.0.2", + "rc-drawer": "~6.3.0", + "rc-dropdown": "~4.0.0", + "rc-field-form": "~1.34.0", + "rc-image": "~5.13.0", + "rc-input": "~0.1.4", + "rc-input-number": "~7.3.9", + "rc-mentions": "~1.13.1", + "rc-menu": "~9.8.0", + "rc-motion": "^2.6.1", + "rc-notification": "~4.6.0", + "rc-pagination": "~3.2.0", + "rc-picker": "~2.7.0", + "rc-progress": "~3.4.1", "rc-rate": "~2.9.0", - "rc-resize-observer": "^1.1.2", - "rc-select": "~13.2.1", - "rc-slider": "~9.7.4", - "rc-steps": "~4.1.0", + "rc-resize-observer": "^1.2.0", + "rc-segmented": "~2.1.0", + "rc-select": "~14.1.17", + "rc-slider": "~10.0.0", + "rc-steps": "~5.0.0-alpha.2", "rc-switch": "~3.2.0", - "rc-table": "~7.19.0", - "rc-tabs": "~11.10.0", - "rc-textarea": "~0.3.0", - "rc-tooltip": "~5.1.1", - "rc-tree": "~5.3.0", - "rc-tree-select": "~4.8.0", + "rc-table": "~7.26.0", + "rc-tabs": "~12.5.6", + "rc-textarea": "~0.4.5", + "rc-tooltip": "~5.2.0", + "rc-tree": "~5.7.0", + "rc-tree-select": "~5.5.0", "rc-trigger": "^5.2.10", "rc-upload": "~4.3.0", - "rc-util": "^5.14.0", + "rc-util": "^5.35.1", "scroll-into-view-if-needed": "^2.2.25" }, "funding": { @@ -14295,11 +14320,6 @@ "node": ">= 0.6" } }, - "node_modules/memoize-one": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", - "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==" - }, "node_modules/memory-fs": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", @@ -17433,17 +17453,16 @@ } }, "node_modules/rc-cascader": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-2.3.3.tgz", - "integrity": "sha512-ckD8rKJjS8mdXxylWh1PtIHSFhbj/yf1NimyooqeJlvtLhzRZXIHCj4IuOjwYZ6J1DqoOCCdJfVtc7UeZia38w==", + "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==", "dependencies": { "@babel/runtime": "^7.12.5", "array-tree-filter": "^2.1.0", "classnames": "^2.3.1", - "rc-tree-select": "~4.8.0", - "rc-trigger": "^5.0.4", - "rc-util": "^5.6.1", - "warning": "^4.0.1" + "rc-select": "~14.1.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.6.1" }, "peerDependencies": { "react": ">=16.9.0", @@ -17451,12 +17470,13 @@ } }, "node_modules/rc-checkbox": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-2.3.2.tgz", - "integrity": "sha512-afVi1FYiGv1U0JlpNH/UaEXdh6WUJjcWokj/nUN2TgG80bfG+MDdbfHKlLcNNba94mbjy2/SXJ1HDgrOkXGAjg==", + "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==", "dependencies": { "@babel/runtime": "^7.10.1", - "classnames": "^2.2.1" + "classnames": "^2.3.2", + "rc-util": "^5.25.2" }, "peerDependencies": { "react": ">=16.9.0", @@ -17464,9 +17484,9 @@ } }, "node_modules/rc-collapse": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.1.4.tgz", - "integrity": "sha512-WayrhswKMwuJab9xbqFxXTgV0m6X8uOPEO6zm/GJ5YJiJ/wIh/Dd2VtWeI06HYUEnTFv0HNcYv+zWbB+p6OD2A==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.4.2.tgz", + "integrity": "sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "2.x", @@ -17480,14 +17500,15 @@ } }, "node_modules/rc-dialog": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-8.6.0.tgz", - "integrity": "sha512-GSbkfqjqxpZC5/zc+8H332+q5l/DKUhpQr0vdX2uDsxo5K0PhvaMEVjyoJUTkZ3+JstEADQji1PVLVb/2bJeOQ==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.0.2.tgz", + "integrity": "sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg==", "dependencies": { "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.0.0-8", "classnames": "^2.2.6", "rc-motion": "^2.3.0", - "rc-util": "^5.6.1" + "rc-util": "^5.21.0" }, "peerDependencies": { "react": ">=16.9.0", @@ -17495,13 +17516,15 @@ } }, "node_modules/rc-drawer": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-4.4.3.tgz", - "integrity": "sha512-FYztwRs3uXnFOIf1hLvFxIQP9MiZJA+0w+Os8dfDh/90X7z/HqP/Yg+noLCIeHEbKln1Tqelv8ymCAN24zPcfQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-6.3.0.tgz", + "integrity": "sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==", "dependencies": { "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.1.1", "classnames": "^2.2.6", - "rc-util": "^5.7.0" + "rc-motion": "^2.6.1", + "rc-util": "^5.21.2" }, "peerDependencies": { "react": ">=16.9.0", @@ -17509,44 +17532,47 @@ } }, "node_modules/rc-dropdown": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-3.2.5.tgz", - "integrity": "sha512-dVO2eulOSbEf+F4OyhCY5iGiMVhUYY/qeXxL7Ex2jDBt/xc89jU07mNoowV6aWxwVOc70pxEINff0oM2ogjluA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.0.1.tgz", + "integrity": "sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==", "dependencies": { - "@babel/runtime": "^7.10.1", + "@babel/runtime": "^7.18.3", "classnames": "^2.2.6", - "rc-trigger": "^5.0.4" + "rc-trigger": "^5.3.1", + "rc-util": "^5.17.0" }, "peerDependencies": { - "react": "*", - "react-dom": "*" + "react": ">=16.11.0", + "react-dom": ">=16.11.0" } }, "node_modules/rc-field-form": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.21.2.tgz", - "integrity": "sha512-LR/bURt/Tf5g39mb0wtMtQuWn42d/7kEzpzlC5fNC7yaRVmLTtlPP4sBBlaViETM9uZQKLoaB0Pt9Mubhm9gow==", + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.34.2.tgz", + "integrity": "sha512-BdciU5C7dBO51/9ZKcMvK2f8zaaO12Lt1eBhlAo8nNv+6htlNcgY9DAkUlZ7gfyWjnCc1Oo4hHIXau1m6tLw1A==", "dependencies": { - "@babel/runtime": "^7.8.4", - "async-validator": "^4.0.2", - "rc-util": "^5.8.0" + "@babel/runtime": "^7.18.0", + "async-validator": "^4.1.0", + "rc-util": "^5.32.2" }, "engines": { "node": ">=8.x" }, "peerDependencies": { - "react": ">= 16.9.0", - "react-dom": ">= 16.9.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, "node_modules/rc-image": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-5.2.5.tgz", - "integrity": "sha512-qUfZjYIODxO0c8a8P5GeuclYXZjzW4hV/5hyo27XqSFo1DmTCs2HkVeQObkcIk5kNsJtgsj1KoPThVsSc/PXOw==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-5.13.0.tgz", + "integrity": "sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg==", "dependencies": { "@babel/runtime": "^7.11.2", + "@rc-component/portal": "^1.0.2", "classnames": "^2.2.6", - "rc-dialog": "~8.6.0", + "rc-dialog": "~9.0.0", + "rc-motion": "^2.6.2", "rc-util": "^5.0.6" }, "peerDependencies": { @@ -17554,6 +17580,20 @@ "react-dom": ">=16.9.0" } }, + "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==", + "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", @@ -17569,34 +17609,16 @@ } }, "node_modules/rc-mentions": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-1.6.5.tgz", - "integrity": "sha512-CUU4+q+awG2pA0l/tG2kPB2ytWbKQUkFxVeKwacr63w7crE/yjfzrFXxs/1fxhyEbQUWdAZt/L25QBieukYQ5w==", + "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==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.6", - "rc-menu": "~9.3.2", - "rc-textarea": "^0.3.0", + "rc-menu": "~9.8.0", + "rc-textarea": "^0.4.0", "rc-trigger": "^5.0.4", - "rc-util": "^5.0.1" - }, - "peerDependencies": { - "react": ">=16.9.0", - "react-dom": ">=16.9.0" - } - }, - "node_modules/rc-mentions/node_modules/rc-menu": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.3.2.tgz", - "integrity": "sha512-h3m45oY1INZyqphGELkdT0uiPnFzxkML8m0VMhJnk2fowtqfiT7F5tJLT3znEVaPIY80vMy1bClCkgq8U91CzQ==", - "dependencies": { - "@babel/runtime": "^7.10.1", - "classnames": "2.x", - "rc-motion": "^2.4.3", - "rc-overflow": "^1.2.0", - "rc-trigger": "^5.1.2", - "rc-util": "^5.12.0", - "shallowequal": "^1.1.0" + "rc-util": "^5.22.5" }, "peerDependencies": { "react": ">=16.9.0", @@ -17604,17 +17626,16 @@ } }, "node_modules/rc-menu": { - "version": "9.0.14", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.0.14.tgz", - "integrity": "sha512-CIox5mZeLDAi32SlHrV7UeSjv7tmJJhwRyxQtZCKt351w3q59XlL4WMFOmtT9gwIfP9h0XoxdBZUMe/xzkp78A==", + "version": "9.8.4", + "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.8.4.tgz", + "integrity": "sha512-lmw2j8I2fhdIzHmC9ajfImfckt0WDb2KVJJBBRIsxPEw2kGkEfjLMUoB1NgiNT/Q5cC8PdjGOGQjHJIJMwyNMw==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.4.3", - "rc-overflow": "^1.2.0", + "rc-overflow": "^1.2.8", "rc-trigger": "^5.1.2", - "rc-util": "^5.12.0", - "shallowequal": "^1.1.0" + "rc-util": "^5.27.0" }, "peerDependencies": { "react": ">=16.9.0", @@ -17622,9 +17643,9 @@ } }, "node_modules/rc-motion": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.7.3.tgz", - "integrity": "sha512-2xUvo8yGHdOHeQbdI8BtBsCIrWKchEmFEIskf0nmHtJsou+meLd/JE+vnvSX2JxcBrJtXY2LuBpxAOxrbY/wMQ==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.0.tgz", + "integrity": "sha512-XIU2+xLkdIr1/h6ohPZXyPBMvOmuyFZQ/T0xnawz+Rh+gh4FINcnZmMT5UTIj6hgI0VLDjTaPeRd+smJeSPqiQ==", "dependencies": { "@babel/runtime": "^7.11.1", "classnames": "^2.2.1", @@ -17636,14 +17657,14 @@ } }, "node_modules/rc-notification": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-4.5.7.tgz", - "integrity": "sha512-zhTGUjBIItbx96SiRu3KVURcLOydLUHZCPpYEn1zvh+re//Tnq/wSxN4FKgp38n4HOgHSVxcLEeSxBMTeBBDdw==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-4.6.1.tgz", + "integrity": "sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.2.0", - "rc-util": "^5.0.1" + "rc-util": "^5.20.1" }, "engines": { "node": ">=8.x" @@ -17654,14 +17675,14 @@ } }, "node_modules/rc-overflow": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.3.1.tgz", - "integrity": "sha512-RY0nVBlfP9CkxrpgaLlGzkSoh9JhjJLu6Icqs9E7CW6Ewh9s0peF9OHIex4OhfoPsR92LR0fN6BlCY9Z4VoUtA==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.3.2.tgz", + "integrity": "sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==", "dependencies": { "@babel/runtime": "^7.11.1", "classnames": "^2.2.1", "rc-resize-observer": "^1.0.0", - "rc-util": "^5.19.2" + "rc-util": "^5.37.0" }, "peerDependencies": { "react": ">=16.9.0", @@ -17669,9 +17690,9 @@ } }, "node_modules/rc-pagination": { - "version": "3.1.17", - "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.1.17.tgz", - "integrity": "sha512-/BQ5UxcBnW28vFAcP2hfh+Xg15W0QZn8TWYwdCApchMH1H0CxiaUUcULP8uXcFM1TygcdKWdt3JqsL9cTAfdkQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.2.0.tgz", + "integrity": "sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1" @@ -17682,9 +17703,9 @@ } }, "node_modules/rc-picker": { - "version": "2.5.19", - "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-2.5.19.tgz", - "integrity": "sha512-u6myoCu/qiQ0vLbNzSzNrzTQhs7mldArCpPHrEI6OUiifs+IPXmbesqSm0zilJjfzrZJLgYeyyOMSznSlh0GKA==", + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-2.7.6.tgz", + "integrity": "sha512-H9if/BUJUZBOhPfWcPeT15JUI3/ntrG9muzERrXDkSoWmDj4yzmBvumozpxYrHwjcKnjyDGAke68d+whWwvhHA==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", @@ -17692,7 +17713,7 @@ "dayjs": "1.x", "moment": "^2.24.0", "rc-trigger": "^5.0.4", - "rc-util": "^5.4.0", + "rc-util": "^5.37.0", "shallowequal": "^1.1.0" }, "engines": { @@ -17704,12 +17725,13 @@ } }, "node_modules/rc-progress": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.1.4.tgz", - "integrity": "sha512-XBAif08eunHssGeIdxMXOmRQRULdHaDdIFENQ578CMb4dyewahmmfJRyab+hw4KH4XssEzzYOkAInTLS7JJG+Q==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.4.2.tgz", + "integrity": "sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==", "dependencies": { "@babel/runtime": "^7.10.1", - "classnames": "^2.2.6" + "classnames": "^2.2.6", + "rc-util": "^5.16.1" }, "peerDependencies": { "react": ">=16.9.0", @@ -17734,13 +17756,13 @@ } }, "node_modules/rc-resize-observer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.3.1.tgz", - "integrity": "sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.0.tgz", + "integrity": "sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==", "dependencies": { "@babel/runtime": "^7.20.7", "classnames": "^2.2.1", - "rc-util": "^5.27.0", + "rc-util": "^5.38.0", "resize-observer-polyfill": "^1.5.1" }, "peerDependencies": { @@ -17748,17 +17770,32 @@ "react-dom": ">=16.9.0" } }, + "node_modules/rc-segmented": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.1.2.tgz", + "integrity": "sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ==", + "dependencies": { + "@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": "13.2.1", - "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-13.2.1.tgz", - "integrity": "sha512-L2cJFAjVEeDiNVa/dlOVKE79OUb0J7sUBvWN3Viav3XHcjvv9Ovn4D8J9QhBSlDXeGuczZ81CZI3BbdHD25+Gg==", + "version": "14.1.18", + "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.1.18.tgz", + "integrity": "sha512-4JgY3oG2Yz68ECMUSCON7mtxuJvCSj+LJpHEg/AONaaVBxIIrmI/ZTuMJkyojall/X50YdBe5oMKqHHPNiPzEg==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.0.1", "rc-overflow": "^1.0.0", "rc-trigger": "^5.0.4", - "rc-util": "^5.9.8", + "rc-util": "^5.16.1", "rc-virtual-list": "^3.2.0" }, "engines": { @@ -17770,14 +17807,13 @@ } }, "node_modules/rc-slider": { - "version": "9.7.5", - "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-9.7.5.tgz", - "integrity": "sha512-LV/MWcXFjco1epPbdw1JlLXlTgmWpB9/Y/P2yinf8Pg3wElHxA9uajN21lJiWtZjf5SCUekfSP6QMJfDo4t1hg==", + "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==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.5", - "rc-tooltip": "^5.0.1", - "rc-util": "^5.16.1", + "rc-util": "^5.18.1", "shallowequal": "^1.1.0" }, "engines": { @@ -17789,13 +17825,13 @@ } }, "node_modules/rc-steps": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-4.1.4.tgz", - "integrity": "sha512-qoCqKZWSpkh/b03ASGx1WhpKnuZcRWmvuW+ZUu4mvMdfvFzVxblTwUM+9aBd0mlEUFmt6GW8FXhMpHkK3Uzp3w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-5.0.0.tgz", + "integrity": "sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw==", "dependencies": { - "@babel/runtime": "^7.10.2", + "@babel/runtime": "^7.16.7", "classnames": "^2.2.3", - "rc-util": "^5.0.1" + "rc-util": "^5.16.1" }, "engines": { "node": ">=8.x" @@ -17820,14 +17856,14 @@ } }, "node_modules/rc-table": { - "version": "7.19.2", - "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.19.2.tgz", - "integrity": "sha512-NdpnoM50MK02H5/hGOsObfxCvGFUG5cHB9turE5BKJ81T5Ycbq193w5tLhnpILXe//Oanzr47MdMxkUnVGP+qg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.26.0.tgz", + "integrity": "sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.5", - "rc-resize-observer": "^1.0.0", - "rc-util": "^5.14.0", + "rc-resize-observer": "^1.1.0", + "rc-util": "^5.22.5", "shallowequal": "^1.1.0" }, "engines": { @@ -17839,16 +17875,17 @@ } }, "node_modules/rc-tabs": { - "version": "11.10.8", - "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-11.10.8.tgz", - "integrity": "sha512-uK+x+eJ8WM4jiXoqGa+P+JUQX2Wlkj9f0o/5dyOw42B6YLnHJN80uTVcCeAmtA1N0xjPW0GNSZvUm4SU3jAYpw==", + "version": "12.5.10", + "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-12.5.10.tgz", + "integrity": "sha512-Ay0l0jtd4eXepFH9vWBvinBjqOpqzcsJTerBGwJy435P2S90Uu38q8U/mvc1sxUEVOXX5ZCFbxcWPnfG3dH+tQ==", "dependencies": { "@babel/runtime": "^7.11.2", "classnames": "2.x", - "rc-dropdown": "^3.2.0", - "rc-menu": "~9.3.2", + "rc-dropdown": "~4.0.0", + "rc-menu": "~9.8.0", + "rc-motion": "^2.6.2", "rc-resize-observer": "^1.0.0", - "rc-util": "^5.5.0" + "rc-util": "^5.16.0" }, "engines": { "node": ">=8.x" @@ -17858,33 +17895,15 @@ "react-dom": ">=16.9.0" } }, - "node_modules/rc-tabs/node_modules/rc-menu": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.3.2.tgz", - "integrity": "sha512-h3m45oY1INZyqphGELkdT0uiPnFzxkML8m0VMhJnk2fowtqfiT7F5tJLT3znEVaPIY80vMy1bClCkgq8U91CzQ==", - "dependencies": { - "@babel/runtime": "^7.10.1", - "classnames": "2.x", - "rc-motion": "^2.4.3", - "rc-overflow": "^1.2.0", - "rc-trigger": "^5.1.2", - "rc-util": "^5.12.0", - "shallowequal": "^1.1.0" - }, - "peerDependencies": { - "react": ">=16.9.0", - "react-dom": ">=16.9.0" - } - }, "node_modules/rc-textarea": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-0.3.7.tgz", - "integrity": "sha512-yCdZ6binKmAQB13hc/oehh0E/QRwoPP1pjF21aHBxlgXO3RzPF6dUu4LG2R4FZ1zx/fQd2L1faktulrXOM/2rw==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-0.4.7.tgz", + "integrity": "sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", "rc-resize-observer": "^1.0.0", - "rc-util": "^5.7.0", + "rc-util": "^5.24.4", "shallowequal": "^1.1.0" }, "peerDependencies": { @@ -17893,11 +17912,12 @@ } }, "node_modules/rc-tooltip": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-5.1.1.tgz", - "integrity": "sha512-alt8eGMJulio6+4/uDm7nvV+rJq9bsfxFDCI0ljPdbuoygUscbsMYb6EQgwib/uqsXQUvzk+S7A59uYHmEgmDA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-5.2.2.tgz", + "integrity": "sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==", "dependencies": { "@babel/runtime": "^7.11.2", + "classnames": "^2.3.1", "rc-trigger": "^5.0.0" }, "peerDependencies": { @@ -17906,15 +17926,15 @@ } }, "node_modules/rc-tree": { - "version": "5.3.8", - "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.3.8.tgz", - "integrity": "sha512-YuobEryPymqPmHFUOvsoOrYdm24psaj0CrGEUuDUQUeG/nNcTGw6FA2YmF4NsEaNBvNSJUSzwfZnFHrKa/xv0A==", + "version": "5.7.12", + "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.7.12.tgz", + "integrity": "sha512-LXA5nY2hG5koIAlHW5sgXgLpOMz+bFRbnZZ+cCg0tQs4Wv1AmY7EDi1SK7iFXhslYockbqUerQan82jljoaItg==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.0.1", "rc-util": "^5.16.1", - "rc-virtual-list": "^3.4.1" + "rc-virtual-list": "^3.5.1" }, "engines": { "node": ">=10.x" @@ -17925,15 +17945,15 @@ } }, "node_modules/rc-tree-select": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-4.8.0.tgz", - "integrity": "sha512-evuVIF7GHCGDdvISdBWl4ZYmG/8foof/RDtzCu/WFLA1tFKZD77RRC3khEsjh4WgsB0vllLe7j+ODJ7jHRcDRQ==", + "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==", "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "2.x", - "rc-select": "~13.2.1", - "rc-tree": "~5.3.0", - "rc-util": "^5.7.0" + "rc-select": "~14.1.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.16.1" }, "peerDependencies": { "react": "*", @@ -17974,22 +17994,27 @@ } }, "node_modules/rc-util": { - "version": "5.37.0", - "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.37.0.tgz", - "integrity": "sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ==", + "version": "5.38.0", + "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.38.0.tgz", + "integrity": "sha512-yV/YBNdFn+edyBpBdCqkPE29Su0jWcHNgwx2dJbRqMrMfrUcMJUjCRV+ZPhcvWyKFJ63GzEerPrz9JIVo0zXmA==", "dependencies": { "@babel/runtime": "^7.18.3", - "react-is": "^16.12.0" + "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.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + }, "node_modules/rc-virtual-list": { - "version": "3.10.5", - "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.10.5.tgz", - "integrity": "sha512-Vc89TL3JHfRlLVQXVj5Hmv0dIflgwmHDcbjt9lrZjOG3wNUDkTF5zci8kFDU/CzdmmqgKu+CUktEpT10VUKYSQ==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.11.2.tgz", + "integrity": "sha512-MTFLL2LOHr3+/+r+WjTIs6j8XmJE6EqdOsJvCH8SWig7qyik3aljCEImUtw5tdWR0tQhXUfbv7P7nZaLY91XPg==", "dependencies": { "@babel/runtime": "^7.20.0", "classnames": "^2.2.6", @@ -22378,14 +22403,6 @@ "makeerror": "1.0.12" } }, - "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/watchpack": { "version": "1.7.5", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", @@ -24286,15 +24303,22 @@ "integrity": "sha512-4QBZg8ccyC6LPIRii7A0bZUk3+lEDCLnhB+FVsflGdcWPPmV+j3fire4AwwoqHV/BibgvBmR9ZIo4s867smv+g==" }, "@ant-design/react-slick": { - "version": "0.28.4", - "resolved": "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-0.28.4.tgz", - "integrity": "sha512-j9eAHTn7GxbXUFNknJoHS2ceAsqrQi2j8XykjZE1IXCD8kJF+t28EvhBLniDpbOsBk/3kjalnhriTfZcjBHNqg==", + "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==", "requires": { "@babel/runtime": "^7.10.4", "classnames": "^2.2.5", "json2mq": "^0.2.0", - "lodash": "^4.17.21", - "resize-observer-polyfill": "^1.5.0" + "resize-observer-polyfill": "^1.5.1", + "throttle-debounce": "^5.0.0" + }, + "dependencies": { + "throttle-debounce": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.0.tgz", + "integrity": "sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==" + } } }, "@babel/code-frame": { @@ -26637,6 +26661,16 @@ } } }, + "@rc-component/portal": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz", + "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==", + "requires": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + } + }, "@rollup/plugin-node-resolve": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.3.tgz", @@ -27678,52 +27712,52 @@ } }, "antd": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/antd/-/antd-4.17.4.tgz", - "integrity": "sha512-aiWi7TxAc7qAxbL412GSKpkWkL/wIhQe6ABuLLCiE1vqXnGTvav2Z0PiOUdFclZcfz2M2IofsUl2pLVN9I8iCg==", + "version": "4.24.14", + "resolved": "https://registry.npmjs.org/antd/-/antd-4.24.14.tgz", + "integrity": "sha512-hY/MPm7XI0G+9MvjhTlbDkA2sf8oHVbhtrT0XRstlm9+fXYGNXz8oEh3d5qiA3/tY5NL2Kh2tF7Guh01hwWJdg==", "requires": { "@ant-design/colors": "^6.0.0", "@ant-design/icons": "^4.7.0", - "@ant-design/react-slick": "~0.28.1", - "@babel/runtime": "^7.12.5", + "@ant-design/react-slick": "~1.0.0", + "@babel/runtime": "^7.18.3", "@ctrl/tinycolor": "^3.4.0", - "array-tree-filter": "^2.1.0", "classnames": "^2.2.6", "copy-to-clipboard": "^3.2.0", "lodash": "^4.17.21", - "memoize-one": "^6.0.0", - "moment": "^2.25.3", - "rc-cascader": "~2.3.0", - "rc-checkbox": "~2.3.0", - "rc-collapse": "~3.1.0", - "rc-dialog": "~8.6.0", - "rc-drawer": "~4.4.2", - "rc-dropdown": "~3.2.0", - "rc-field-form": "~1.21.0", - "rc-image": "~5.2.5", - "rc-input-number": "~7.3.0", - "rc-mentions": "~1.6.1", - "rc-menu": "~9.0.12", - "rc-motion": "^2.4.4", - "rc-notification": "~4.5.7", - "rc-pagination": "~3.1.9", - "rc-picker": "~2.5.17", - "rc-progress": "~3.1.0", + "moment": "^2.29.2", + "rc-cascader": "~3.7.0", + "rc-checkbox": "~3.0.0", + "rc-collapse": "~3.4.2", + "rc-dialog": "~9.0.2", + "rc-drawer": "~6.3.0", + "rc-dropdown": "~4.0.0", + "rc-field-form": "~1.34.0", + "rc-image": "~5.13.0", + "rc-input": "~0.1.4", + "rc-input-number": "~7.3.9", + "rc-mentions": "~1.13.1", + "rc-menu": "~9.8.0", + "rc-motion": "^2.6.1", + "rc-notification": "~4.6.0", + "rc-pagination": "~3.2.0", + "rc-picker": "~2.7.0", + "rc-progress": "~3.4.1", "rc-rate": "~2.9.0", - "rc-resize-observer": "^1.1.2", - "rc-select": "~13.2.1", - "rc-slider": "~9.7.4", - "rc-steps": "~4.1.0", + "rc-resize-observer": "^1.2.0", + "rc-segmented": "~2.1.0", + "rc-select": "~14.1.17", + "rc-slider": "~10.0.0", + "rc-steps": "~5.0.0-alpha.2", "rc-switch": "~3.2.0", - "rc-table": "~7.19.0", - "rc-tabs": "~11.10.0", - "rc-textarea": "~0.3.0", - "rc-tooltip": "~5.1.1", - "rc-tree": "~5.3.0", - "rc-tree-select": "~4.8.0", + "rc-table": "~7.26.0", + "rc-tabs": "~12.5.6", + "rc-textarea": "~0.4.5", + "rc-tooltip": "~5.2.0", + "rc-tree": "~5.7.0", + "rc-tree-select": "~5.5.0", "rc-trigger": "^5.2.10", "rc-upload": "~4.3.0", - "rc-util": "^5.14.0", + "rc-util": "^5.35.1", "scroll-into-view-if-needed": "^2.2.25" } }, @@ -35135,11 +35169,6 @@ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" }, - "memoize-one": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", - "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==" - }, "memory-fs": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", @@ -37628,32 +37657,32 @@ } }, "rc-cascader": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-2.3.3.tgz", - "integrity": "sha512-ckD8rKJjS8mdXxylWh1PtIHSFhbj/yf1NimyooqeJlvtLhzRZXIHCj4IuOjwYZ6J1DqoOCCdJfVtc7UeZia38w==", + "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==", "requires": { "@babel/runtime": "^7.12.5", "array-tree-filter": "^2.1.0", "classnames": "^2.3.1", - "rc-tree-select": "~4.8.0", - "rc-trigger": "^5.0.4", - "rc-util": "^5.6.1", - "warning": "^4.0.1" + "rc-select": "~14.1.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.6.1" } }, "rc-checkbox": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-2.3.2.tgz", - "integrity": "sha512-afVi1FYiGv1U0JlpNH/UaEXdh6WUJjcWokj/nUN2TgG80bfG+MDdbfHKlLcNNba94mbjy2/SXJ1HDgrOkXGAjg==", + "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==", "requires": { "@babel/runtime": "^7.10.1", - "classnames": "^2.2.1" + "classnames": "^2.3.2", + "rc-util": "^5.25.2" } }, "rc-collapse": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.1.4.tgz", - "integrity": "sha512-WayrhswKMwuJab9xbqFxXTgV0m6X8uOPEO6zm/GJ5YJiJ/wIh/Dd2VtWeI06HYUEnTFv0HNcYv+zWbB+p6OD2A==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.4.2.tgz", + "integrity": "sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "2.x", @@ -37663,57 +37692,73 @@ } }, "rc-dialog": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-8.6.0.tgz", - "integrity": "sha512-GSbkfqjqxpZC5/zc+8H332+q5l/DKUhpQr0vdX2uDsxo5K0PhvaMEVjyoJUTkZ3+JstEADQji1PVLVb/2bJeOQ==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.0.2.tgz", + "integrity": "sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg==", "requires": { "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.0.0-8", "classnames": "^2.2.6", "rc-motion": "^2.3.0", - "rc-util": "^5.6.1" + "rc-util": "^5.21.0" } }, "rc-drawer": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-4.4.3.tgz", - "integrity": "sha512-FYztwRs3uXnFOIf1hLvFxIQP9MiZJA+0w+Os8dfDh/90X7z/HqP/Yg+noLCIeHEbKln1Tqelv8ymCAN24zPcfQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-6.3.0.tgz", + "integrity": "sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==", "requires": { "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.1.1", "classnames": "^2.2.6", - "rc-util": "^5.7.0" + "rc-motion": "^2.6.1", + "rc-util": "^5.21.2" } }, "rc-dropdown": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-3.2.5.tgz", - "integrity": "sha512-dVO2eulOSbEf+F4OyhCY5iGiMVhUYY/qeXxL7Ex2jDBt/xc89jU07mNoowV6aWxwVOc70pxEINff0oM2ogjluA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.0.1.tgz", + "integrity": "sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==", "requires": { - "@babel/runtime": "^7.10.1", + "@babel/runtime": "^7.18.3", "classnames": "^2.2.6", - "rc-trigger": "^5.0.4" + "rc-trigger": "^5.3.1", + "rc-util": "^5.17.0" } }, "rc-field-form": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.21.2.tgz", - "integrity": "sha512-LR/bURt/Tf5g39mb0wtMtQuWn42d/7kEzpzlC5fNC7yaRVmLTtlPP4sBBlaViETM9uZQKLoaB0Pt9Mubhm9gow==", + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.34.2.tgz", + "integrity": "sha512-BdciU5C7dBO51/9ZKcMvK2f8zaaO12Lt1eBhlAo8nNv+6htlNcgY9DAkUlZ7gfyWjnCc1Oo4hHIXau1m6tLw1A==", "requires": { - "@babel/runtime": "^7.8.4", - "async-validator": "^4.0.2", - "rc-util": "^5.8.0" + "@babel/runtime": "^7.18.0", + "async-validator": "^4.1.0", + "rc-util": "^5.32.2" } }, "rc-image": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-5.2.5.tgz", - "integrity": "sha512-qUfZjYIODxO0c8a8P5GeuclYXZjzW4hV/5hyo27XqSFo1DmTCs2HkVeQObkcIk5kNsJtgsj1KoPThVsSc/PXOw==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-5.13.0.tgz", + "integrity": "sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg==", "requires": { "@babel/runtime": "^7.11.2", + "@rc-component/portal": "^1.0.2", "classnames": "^2.2.6", - "rc-dialog": "~8.6.0", + "rc-dialog": "~9.0.0", + "rc-motion": "^2.6.2", "rc-util": "^5.0.6" } }, + "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==", + "requires": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.18.1" + } + }, "rc-input-number": { "version": "7.3.11", "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-7.3.11.tgz", @@ -37725,52 +37770,35 @@ } }, "rc-mentions": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-1.6.5.tgz", - "integrity": "sha512-CUU4+q+awG2pA0l/tG2kPB2ytWbKQUkFxVeKwacr63w7crE/yjfzrFXxs/1fxhyEbQUWdAZt/L25QBieukYQ5w==", + "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==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.6", - "rc-menu": "~9.3.2", - "rc-textarea": "^0.3.0", + "rc-menu": "~9.8.0", + "rc-textarea": "^0.4.0", "rc-trigger": "^5.0.4", - "rc-util": "^5.0.1" - }, - "dependencies": { - "rc-menu": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.3.2.tgz", - "integrity": "sha512-h3m45oY1INZyqphGELkdT0uiPnFzxkML8m0VMhJnk2fowtqfiT7F5tJLT3znEVaPIY80vMy1bClCkgq8U91CzQ==", - "requires": { - "@babel/runtime": "^7.10.1", - "classnames": "2.x", - "rc-motion": "^2.4.3", - "rc-overflow": "^1.2.0", - "rc-trigger": "^5.1.2", - "rc-util": "^5.12.0", - "shallowequal": "^1.1.0" - } - } + "rc-util": "^5.22.5" } }, "rc-menu": { - "version": "9.0.14", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.0.14.tgz", - "integrity": "sha512-CIox5mZeLDAi32SlHrV7UeSjv7tmJJhwRyxQtZCKt351w3q59XlL4WMFOmtT9gwIfP9h0XoxdBZUMe/xzkp78A==", + "version": "9.8.4", + "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.8.4.tgz", + "integrity": "sha512-lmw2j8I2fhdIzHmC9ajfImfckt0WDb2KVJJBBRIsxPEw2kGkEfjLMUoB1NgiNT/Q5cC8PdjGOGQjHJIJMwyNMw==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.4.3", - "rc-overflow": "^1.2.0", + "rc-overflow": "^1.2.8", "rc-trigger": "^5.1.2", - "rc-util": "^5.12.0", - "shallowequal": "^1.1.0" + "rc-util": "^5.27.0" } }, "rc-motion": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.7.3.tgz", - "integrity": "sha512-2xUvo8yGHdOHeQbdI8BtBsCIrWKchEmFEIskf0nmHtJsou+meLd/JE+vnvSX2JxcBrJtXY2LuBpxAOxrbY/wMQ==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.0.tgz", + "integrity": "sha512-XIU2+xLkdIr1/h6ohPZXyPBMvOmuyFZQ/T0xnawz+Rh+gh4FINcnZmMT5UTIj6hgI0VLDjTaPeRd+smJeSPqiQ==", "requires": { "@babel/runtime": "^7.11.1", "classnames": "^2.2.1", @@ -37778,40 +37806,40 @@ } }, "rc-notification": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-4.5.7.tgz", - "integrity": "sha512-zhTGUjBIItbx96SiRu3KVURcLOydLUHZCPpYEn1zvh+re//Tnq/wSxN4FKgp38n4HOgHSVxcLEeSxBMTeBBDdw==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-4.6.1.tgz", + "integrity": "sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.2.0", - "rc-util": "^5.0.1" + "rc-util": "^5.20.1" } }, "rc-overflow": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.3.1.tgz", - "integrity": "sha512-RY0nVBlfP9CkxrpgaLlGzkSoh9JhjJLu6Icqs9E7CW6Ewh9s0peF9OHIex4OhfoPsR92LR0fN6BlCY9Z4VoUtA==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.3.2.tgz", + "integrity": "sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==", "requires": { "@babel/runtime": "^7.11.1", "classnames": "^2.2.1", "rc-resize-observer": "^1.0.0", - "rc-util": "^5.19.2" + "rc-util": "^5.37.0" } }, "rc-pagination": { - "version": "3.1.17", - "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.1.17.tgz", - "integrity": "sha512-/BQ5UxcBnW28vFAcP2hfh+Xg15W0QZn8TWYwdCApchMH1H0CxiaUUcULP8uXcFM1TygcdKWdt3JqsL9cTAfdkQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.2.0.tgz", + "integrity": "sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1" } }, "rc-picker": { - "version": "2.5.19", - "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-2.5.19.tgz", - "integrity": "sha512-u6myoCu/qiQ0vLbNzSzNrzTQhs7mldArCpPHrEI6OUiifs+IPXmbesqSm0zilJjfzrZJLgYeyyOMSznSlh0GKA==", + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-2.7.6.tgz", + "integrity": "sha512-H9if/BUJUZBOhPfWcPeT15JUI3/ntrG9muzERrXDkSoWmDj4yzmBvumozpxYrHwjcKnjyDGAke68d+whWwvhHA==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", @@ -37819,17 +37847,18 @@ "dayjs": "1.x", "moment": "^2.24.0", "rc-trigger": "^5.0.4", - "rc-util": "^5.4.0", + "rc-util": "^5.37.0", "shallowequal": "^1.1.0" } }, "rc-progress": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.1.4.tgz", - "integrity": "sha512-XBAif08eunHssGeIdxMXOmRQRULdHaDdIFENQ578CMb4dyewahmmfJRyab+hw4KH4XssEzzYOkAInTLS7JJG+Q==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.4.2.tgz", + "integrity": "sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==", "requires": { "@babel/runtime": "^7.10.1", - "classnames": "^2.2.6" + "classnames": "^2.2.6", + "rc-util": "^5.16.1" } }, "rc-rate": { @@ -37843,50 +37872,60 @@ } }, "rc-resize-observer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.3.1.tgz", - "integrity": "sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.0.tgz", + "integrity": "sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==", "requires": { "@babel/runtime": "^7.20.7", "classnames": "^2.2.1", - "rc-util": "^5.27.0", + "rc-util": "^5.38.0", "resize-observer-polyfill": "^1.5.1" } }, + "rc-segmented": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.1.2.tgz", + "integrity": "sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ==", + "requires": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-motion": "^2.4.4", + "rc-util": "^5.17.0" + } + }, "rc-select": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-13.2.1.tgz", - "integrity": "sha512-L2cJFAjVEeDiNVa/dlOVKE79OUb0J7sUBvWN3Viav3XHcjvv9Ovn4D8J9QhBSlDXeGuczZ81CZI3BbdHD25+Gg==", + "version": "14.1.18", + "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.1.18.tgz", + "integrity": "sha512-4JgY3oG2Yz68ECMUSCON7mtxuJvCSj+LJpHEg/AONaaVBxIIrmI/ZTuMJkyojall/X50YdBe5oMKqHHPNiPzEg==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.0.1", "rc-overflow": "^1.0.0", "rc-trigger": "^5.0.4", - "rc-util": "^5.9.8", + "rc-util": "^5.16.1", "rc-virtual-list": "^3.2.0" } }, "rc-slider": { - "version": "9.7.5", - "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-9.7.5.tgz", - "integrity": "sha512-LV/MWcXFjco1epPbdw1JlLXlTgmWpB9/Y/P2yinf8Pg3wElHxA9uajN21lJiWtZjf5SCUekfSP6QMJfDo4t1hg==", + "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==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.5", - "rc-tooltip": "^5.0.1", - "rc-util": "^5.16.1", + "rc-util": "^5.18.1", "shallowequal": "^1.1.0" } }, "rc-steps": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-4.1.4.tgz", - "integrity": "sha512-qoCqKZWSpkh/b03ASGx1WhpKnuZcRWmvuW+ZUu4mvMdfvFzVxblTwUM+9aBd0mlEUFmt6GW8FXhMpHkK3Uzp3w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-5.0.0.tgz", + "integrity": "sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw==", "requires": { - "@babel/runtime": "^7.10.2", + "@babel/runtime": "^7.16.7", "classnames": "^2.2.3", - "rc-util": "^5.0.1" + "rc-util": "^5.16.1" } }, "rc-switch": { @@ -37900,89 +37939,75 @@ } }, "rc-table": { - "version": "7.19.2", - "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.19.2.tgz", - "integrity": "sha512-NdpnoM50MK02H5/hGOsObfxCvGFUG5cHB9turE5BKJ81T5Ycbq193w5tLhnpILXe//Oanzr47MdMxkUnVGP+qg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.26.0.tgz", + "integrity": "sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.5", - "rc-resize-observer": "^1.0.0", - "rc-util": "^5.14.0", + "rc-resize-observer": "^1.1.0", + "rc-util": "^5.22.5", "shallowequal": "^1.1.0" } }, "rc-tabs": { - "version": "11.10.8", - "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-11.10.8.tgz", - "integrity": "sha512-uK+x+eJ8WM4jiXoqGa+P+JUQX2Wlkj9f0o/5dyOw42B6YLnHJN80uTVcCeAmtA1N0xjPW0GNSZvUm4SU3jAYpw==", + "version": "12.5.10", + "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-12.5.10.tgz", + "integrity": "sha512-Ay0l0jtd4eXepFH9vWBvinBjqOpqzcsJTerBGwJy435P2S90Uu38q8U/mvc1sxUEVOXX5ZCFbxcWPnfG3dH+tQ==", "requires": { "@babel/runtime": "^7.11.2", "classnames": "2.x", - "rc-dropdown": "^3.2.0", - "rc-menu": "~9.3.2", + "rc-dropdown": "~4.0.0", + "rc-menu": "~9.8.0", + "rc-motion": "^2.6.2", "rc-resize-observer": "^1.0.0", - "rc-util": "^5.5.0" - }, - "dependencies": { - "rc-menu": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.3.2.tgz", - "integrity": "sha512-h3m45oY1INZyqphGELkdT0uiPnFzxkML8m0VMhJnk2fowtqfiT7F5tJLT3znEVaPIY80vMy1bClCkgq8U91CzQ==", - "requires": { - "@babel/runtime": "^7.10.1", - "classnames": "2.x", - "rc-motion": "^2.4.3", - "rc-overflow": "^1.2.0", - "rc-trigger": "^5.1.2", - "rc-util": "^5.12.0", - "shallowequal": "^1.1.0" - } - } + "rc-util": "^5.16.0" } }, "rc-textarea": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-0.3.7.tgz", - "integrity": "sha512-yCdZ6binKmAQB13hc/oehh0E/QRwoPP1pjF21aHBxlgXO3RzPF6dUu4LG2R4FZ1zx/fQd2L1faktulrXOM/2rw==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-0.4.7.tgz", + "integrity": "sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", "rc-resize-observer": "^1.0.0", - "rc-util": "^5.7.0", + "rc-util": "^5.24.4", "shallowequal": "^1.1.0" } }, "rc-tooltip": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-5.1.1.tgz", - "integrity": "sha512-alt8eGMJulio6+4/uDm7nvV+rJq9bsfxFDCI0ljPdbuoygUscbsMYb6EQgwib/uqsXQUvzk+S7A59uYHmEgmDA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-5.2.2.tgz", + "integrity": "sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==", "requires": { "@babel/runtime": "^7.11.2", + "classnames": "^2.3.1", "rc-trigger": "^5.0.0" } }, "rc-tree": { - "version": "5.3.8", - "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.3.8.tgz", - "integrity": "sha512-YuobEryPymqPmHFUOvsoOrYdm24psaj0CrGEUuDUQUeG/nNcTGw6FA2YmF4NsEaNBvNSJUSzwfZnFHrKa/xv0A==", + "version": "5.7.12", + "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.7.12.tgz", + "integrity": "sha512-LXA5nY2hG5koIAlHW5sgXgLpOMz+bFRbnZZ+cCg0tQs4Wv1AmY7EDi1SK7iFXhslYockbqUerQan82jljoaItg==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "2.x", "rc-motion": "^2.0.1", "rc-util": "^5.16.1", - "rc-virtual-list": "^3.4.1" + "rc-virtual-list": "^3.5.1" } }, "rc-tree-select": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-4.8.0.tgz", - "integrity": "sha512-evuVIF7GHCGDdvISdBWl4ZYmG/8foof/RDtzCu/WFLA1tFKZD77RRC3khEsjh4WgsB0vllLe7j+ODJ7jHRcDRQ==", + "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==", "requires": { "@babel/runtime": "^7.10.1", "classnames": "2.x", - "rc-select": "~13.2.1", - "rc-tree": "~5.3.0", - "rc-util": "^5.7.0" + "rc-select": "~14.1.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.16.1" } }, "rc-trigger": { @@ -38008,18 +38033,25 @@ } }, "rc-util": { - "version": "5.37.0", - "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.37.0.tgz", - "integrity": "sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ==", + "version": "5.38.0", + "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.38.0.tgz", + "integrity": "sha512-yV/YBNdFn+edyBpBdCqkPE29Su0jWcHNgwx2dJbRqMrMfrUcMJUjCRV+ZPhcvWyKFJ63GzEerPrz9JIVo0zXmA==", "requires": { "@babel/runtime": "^7.18.3", - "react-is": "^16.12.0" + "react-is": "^18.2.0" + }, + "dependencies": { + "react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + } } }, "rc-virtual-list": { - "version": "3.10.5", - "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.10.5.tgz", - "integrity": "sha512-Vc89TL3JHfRlLVQXVj5Hmv0dIflgwmHDcbjt9lrZjOG3wNUDkTF5zci8kFDU/CzdmmqgKu+CUktEpT10VUKYSQ==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.11.2.tgz", + "integrity": "sha512-MTFLL2LOHr3+/+r+WjTIs6j8XmJE6EqdOsJvCH8SWig7qyik3aljCEImUtw5tdWR0tQhXUfbv7P7nZaLY91XPg==", "requires": { "@babel/runtime": "^7.20.0", "classnames": "^2.2.6", @@ -41465,14 +41497,6 @@ "makeerror": "1.0.12" } }, - "warning": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", - "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", - "requires": { - "loose-envify": "^1.0.0" - } - }, "watchpack": { "version": "1.7.5", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", diff --git a/frontend/package.json b/frontend/package.json index 00c6097ac..4eae6fc11 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,7 @@ "dependencies": { "@ant-design/icons": "^4.8.1", "@craco/craco": "5.5.0", - "antd": "4.17.4", + "antd": "^4.24.14", "axios": "0.27.2", "craco-alias": "3.0.1", "craco-less": "1.17.1", diff --git a/frontend/src/app/HeaderContent/index.jsx b/frontend/src/app/HeaderContent/index.jsx index 67e2a12ed..1c5755246 100644 --- a/frontend/src/app/HeaderContent/index.jsx +++ b/frontend/src/app/HeaderContent/index.jsx @@ -1,17 +1,10 @@ import React from 'react'; import { useDispatch, useSelector } from 'react-redux'; - +import { Link, useLocation } from 'react-router-dom'; import { Avatar, Menu, Dropdown } from 'antd'; -import Notifications from '@/components/Notification'; +// import Notifications from '@/components/Notification'; -import { - AppstoreOutlined, - SettingOutlined, - UserOutlined, - LogoutOutlined, - BellOutlined, - DeleteOutlined, -} from '@ant-design/icons'; +import { AppstoreOutlined, SettingOutlined, LogoutOutlined } from '@ant-design/icons'; import photo from '@/style/images/photo.png'; import { checkImage } from '@/request'; @@ -30,9 +23,9 @@ export default function HeaderContent() { ? BASE_URL + currentAdmin?.photo : photo; - const profileDropdown = ( -
-
history.push('/profile')} style={{ cursor: 'pointer' }}> + const ProfileDropdown = () => { + return ( +
history.push('/profile')}> {currentAdmin?.name.charAt(0).toUpperCase()} -
+

{currentAdmin?.name} {currentAdmin?.surname}

{currentAdmin?.email}

-
+ ); + }; -
- - } - key={`${uniqueId()}`} - onClick={() => history.push('/profile')} - > - Profil Settings - - } - key={`${uniqueId()}`} - onClick={() => history.push('/settings/')} - > - App Settings - - -
-
-
- - } - key={`${uniqueId()}`} - onClick={() => history.push('/logout')} - > - logout - - -
-
- ); + const DropdownMenu = ({ text }) => { + return {text}; + }; + + const items = [ + { + label: , + key: 'ProfileDropdown', + }, + { + type: 'divider', + }, + { + icon: , + key: 'settingProfile', + label: ( + + + + ), + }, + { + icon: , + key: 'settingApp', + label: App Settings, + }, + + { + type: 'divider', + }, + + { + icon: , + key: 'logout', + label: Logout, + }, + ]; return (
- + {/* */} - } trigger={['click']} placement="bottomRight"> - {/* */} + {/* } trigger={['click']} placement="bottomRight"> } /> - - {/* */} - + */}
); } diff --git a/frontend/src/app/Navigation/index.jsx b/frontend/src/app/Navigation/index.jsx index b41db162c..adfb3a762 100644 --- a/frontend/src/app/Navigation/index.jsx +++ b/frontend/src/app/Navigation/index.jsx @@ -24,30 +24,6 @@ import { FileOutlined, } from '@ant-design/icons'; -const SIDEBAR_MENU = [ - { key: '/', icon: , title: 'Dashboard' }, - { key: '/lead', icon: , title: 'Lead' }, - { key: '/offer', icon: , title: 'Offer' }, - { key: '/customer', icon: , title: 'Customer' }, - // { key: '/order', icon: , title: 'Order' }, - // { key: '/inventory', icon: , title: 'Inventory' }, - // { key: '/kyc', icon: , title: 'Kyc' }, - { key: '/invoice', icon: , title: 'Invoice' }, - { key: '/quote', icon: , title: 'Quote' }, - { key: '/payment', icon: , title: 'Payment Invoice' }, - { key: '/employee', icon: , title: 'Employee' }, - { key: '/admin', icon: , title: 'Admin' }, -]; - -const SETTINGS_SUBMENU = [ - { key: '/settings', title: 'General Settings' }, - - { key: '/email', title: 'Email templates' }, - - { key: '/payment/mode', title: 'Payment Mode' }, - { key: '/settings/advanced', title: 'Advanced Settings' }, -]; - const { Sider } = Layout; const { SubMenu } = Menu; @@ -71,6 +47,49 @@ function Sidebar({ collapsible }) { const [showLogoApp, setLogoApp] = useState(isNavMenuClose); const [currentPath, setCurrentPath] = useState(location.pathname); + const items = [ + { key: 'dashboard', icon: , label: Dashboard }, + { key: 'lead', icon: , label: Lead }, + { key: 'offer', icon: , label: Offer }, + { + key: 'customer', + icon: , + label: Customer, + }, + // { key: 'order', icon: , label: Lead Order }, + // { key: 'inventory', icon: , label: Lead Inventory }, + // { key: 'kyc', icon: , label: Lead Kyc }, + { key: 'invoice', icon: , label: Invoice }, + { key: 'quote', icon: , label: Quote }, + { key: 'payment', icon: , label: Payment }, + { key: 'employee', icon: , label: Employee }, + { key: 'admin', icon: , label: Admin }, + { + label: 'Settings', + key: 'settings', + icon: , + children: [ + { + key: 'generalSettings', + label: General Settings, + }, + { + key: 'emailTemplates', + label: Email templates, + }, + { + key: 'paymentMode', + label: Payment Mode, + }, + { + key: 'advancedSettings', + icon: , + label: Advanced Settings, + }, + ], + }, + ]; + useEffect(() => { if (location) if (currentPath !== location.pathname) setCurrentPath(location.pathname); }, [location, currentPath]); @@ -109,22 +128,12 @@ function Sidebar({ collapsible }) { /> )}
- - {SIDEBAR_MENU.map((menuItem) => ( - - - {menuItem.title} - - ))} - } title={'Settings'}> - {SETTINGS_SUBMENU.map((menuItem) => ( - - - {menuItem.title} - - ))} - - + + ; ); @@ -148,7 +157,7 @@ function MobileSidebar() { placement="left" closable={false} onClose={onClose} - visible={visible} + open={visible} className="mobile-sidebar-wraper" > diff --git a/frontend/src/components/CrudModal/index.jsx b/frontend/src/components/CrudModal/index.jsx index 73bb9a59e..26475024c 100644 --- a/frontend/src/components/CrudModal/index.jsx +++ b/frontend/src/components/CrudModal/index.jsx @@ -43,7 +43,7 @@ export default function DeleteModal({ config, children }) { return ( { + panel.open(); + collapsedBox.close(); + }; -export default function DataTable({ config, DropDownRowMenu, AddNewItem }) { + return ( + + ); +} +export default function DataTable({ config, extra = [] }) { let { entity, dataTableColumns, DATATABLE_TITLE } = config; - // console.log('entity from components->dataTable', entity); - // console.log('config from components->dataTable', config); + const { crudContextAction } = useCrudContext(); + const { panel, collapsedBox, modal, readBox, editBox, advancedBox } = crudContextAction; + + const items = [ + { + label: 'Show', + key: 'read', + icon: , + }, + { + label: 'Edit', + key: 'edit', + icon: , + }, + ...extra, + { + type: 'divider', + }, + + { + label: 'Delete', + key: 'delete', + icon: , + }, + ]; + + const handleRead = (record) => { + dispatch(crud.currentItem({ data: record })); + panel.open(); + collapsedBox.open(); + readBox.open(); + }; + function handleEdit(record) { + dispatch(crud.currentItem({ data: record })); + dispatch(crud.currentAction({ actionType: 'update', data: record })); + editBox.open(); + panel.open(); + collapsedBox.open(); + } + function handleDelete(record) { + dispatch(crud.currentAction({ actionType: 'delete', data: record })); + modal.open(); + } + + function handleUpdatePassword(record) { + dispatch(crud.currentItem({ data: record })); + dispatch(crud.currentAction({ actionType: 'update', data: record })); + advancedBox.open(); + panel.open(); + collapsedBox.open(); + } + dataTableColumns = [ ...dataTableColumns, { - title: '', - render: (row) => ( - - + title: 'Action', + key: 'action', + render: (_, record) => ( + { + switch (key) { + case 'read': + handleRead(record); + break; + case 'edit': + handleEdit(record); + break; + + case 'delete': + handleDelete(record); + break; + case 'updatePassword': + handleUpdatePassword(record); + break; + + default: + break; + } + // else if (key === '2')handleCloseTask + }, + }} + trigger={['click']} + > + e.preventDefault()} + /> ), }, @@ -27,7 +125,7 @@ export default function DataTable({ config, DropDownRowMenu, AddNewItem }) { const { result: listResult, isLoading: listIsLoading } = useSelector(selectListItems); - const { pagination, items } = listResult; + const { pagination, items: dataSource } = listResult; const dispatch = useDispatch(); @@ -36,8 +134,16 @@ export default function DataTable({ config, DropDownRowMenu, AddNewItem }) { dispatch(crud.list({ entity, options })); }, []); - useEffect(() => { + const dispatcher = () => { dispatch(crud.list({ entity })); + }; + + useEffect(() => { + const controller = new AbortController(); + dispatcher(); + return () => { + controller.abort(); + }; }, []); const { expandedRowData, tableColumns, tableHeader } = useResponsiveTable( @@ -66,7 +172,7 @@ export default function DataTable({ config, DropDownRowMenu, AddNewItem }) { item._id} - dataSource={items} + dataSource={dataSource} pagination={pagination} loading={listIsLoading} onChange={handelDataTableLoad} diff --git a/frontend/src/components/DeleteModal/index.jsx b/frontend/src/components/DeleteModal/index.jsx index 624a687b3..8e3e8a6fe 100644 --- a/frontend/src/components/DeleteModal/index.jsx +++ b/frontend/src/components/DeleteModal/index.jsx @@ -51,7 +51,7 @@ export default function DeleteModal({ config }) { return ( { - isSuccess ? setOptions(result) : setOptions([]); - setIsLoading(fetchIsLoading); - }, [fetchIsLoading]); + isSuccess && setOptions(result); + }, [isSuccess]); const labels = (optionField) => { return displayLabels.map((x) => optionField[x]).join(' '); @@ -55,8 +53,8 @@ export default function SelectAsync({ return ( - - - - - - To write a variable name use the convention {`{{variable}}`} for e.g. name - {`{{name}}`} - - - - + + + {/* */} + Available Variables : + {displayLabels(current?.emailVariables)} +
+ + + + + + + + To write a variable name use the convention {`{{variable}}`} for e.g. name - {`{{name}}`} + - + + + + + ); } diff --git a/frontend/src/modules/EmailModule/UpdateEmailModule/index.jsx b/frontend/src/modules/EmailModule/UpdateEmailModule/index.jsx index fe2f25449..a11b5a793 100644 --- a/frontend/src/modules/EmailModule/UpdateEmailModule/index.jsx +++ b/frontend/src/modules/EmailModule/UpdateEmailModule/index.jsx @@ -53,6 +53,7 @@ export default function UpdateEmailModule({ config }) { onClick={() => { history.push(`/${config.entity.toLowerCase()}`); }} + key="emailform404" > Back to Quote Page diff --git a/frontend/src/modules/ErpPanelModule/DataTable.jsx b/frontend/src/modules/ErpPanelModule/DataTable.jsx index 131316f03..e5ae24307 100644 --- a/frontend/src/modules/ErpPanelModule/DataTable.jsx +++ b/frontend/src/modules/ErpPanelModule/DataTable.jsx @@ -1,7 +1,15 @@ -import React, { useCallback, useEffect, useEffectLayout, useRef, useState } from 'react'; -import { Descriptions, Dropdown, Table } from 'antd'; -import { Button, PageHeader } from 'antd'; -import { EllipsisOutlined } from '@ant-design/icons'; +import React, { useEffect } from 'react'; +import { + EyeOutlined, + EditOutlined, + DeleteOutlined, + FilePdfOutlined, + RedoOutlined, + PlusOutlined, + EllipsisOutlined, +} from '@ant-design/icons'; +import { Descriptions, Dropdown, Table, Button, PageHeader } from 'antd'; + import { useSelector, useDispatch } from 'react-redux'; import { selectCurrentLang } from '@/redux/lang/selectors'; import { erp } from '@/redux/erp/actions'; @@ -10,55 +18,147 @@ import { useErpContext } from '@/context/erp'; import uniqueId from '@/utils/uinqueId'; import { useHistory } from 'react-router-dom'; -import { RedoOutlined, PlusOutlined } from '@ant-design/icons'; import useResponsiveTable from '@/hooks/useResponsiveTable'; -function AddNewItem({ config }) { + +import { DOWNLOAD_BASE_URL } from '@/config/serverApiConfig'; + +function AddNewItem({ config, hasCreate = true }) { const history = useHistory(); const { ADD_NEW_ENTITY, entity } = config; - const { erpContextAction } = useErpContext(); - const { createPanel } = erpContextAction; - const handelClick = () => { - // createPanel.open(); + + const handleClick = () => { history.push(`/${entity.toLowerCase()}/create`); }; - return ( - - ); + if (hasCreate) + return ( + + ); + else return null; } -export default function DataTable({ config, DataTableDropMenu }) { +export default function DataTable({ config, extra = [] }) { let { entity, dataTableColumns, create = true } = config; const { DATATABLE_TITLE } = config; + + const { result: listResult, isLoading: listIsLoading } = useSelector(selectListItems); + + const { pagination, items: dataSource } = listResult; + + const { erpContextAction } = useErpContext(); + const { modal } = erpContextAction; + + const items = [ + { + label: 'Show', + key: 'read', + icon: , + }, + { + label: 'Edit', + key: 'edit', + icon: , + }, + { + label: 'Download', + key: 'download', + icon: , + }, + ...extra, + { + type: 'divider', + }, + + { + label: 'Delete', + key: 'delete', + icon: , + }, + ]; + + const history = useHistory(); + + const handleRead = (record) => { + dispatch(erp.currentItem({ data: record })); + history.push(`/${entity}/read/${record._id}`); + }; + const handleEdit = (record) => { + dispatch(erp.currentAction({ actionType: 'update', data: record })); + history.push(`/${entity}/update/${record._id}`); + }; + const handleDownload = (record) => { + window.open(`${DOWNLOAD_BASE_URL}${entity}/${entity}-${record._id}.pdf`, '_blank'); + }; + + const handleDelete = (record) => { + dispatch(erp.currentAction({ actionType: 'delete', data: record })); + modal.open(); + }; + + const handleRecordPayment = (record) => { + dispatch(erp.currentItem({ data: record })); + history.push(`/invoice/pay/${record._id}`); + }; + dataTableColumns = [ ...dataTableColumns, { - title: '', - render: (row) => ( - - + title: 'Action', + key: 'action', + render: (_, record) => ( + { + switch (key) { + case 'read': + handleRead(record); + break; + case 'edit': + handleEdit(record); + break; + case 'download': + handleDownload(record); + break; + case 'delete': + handleDelete(record); + break; + case 'recordPayment': + handleRecordPayment(record); + break; + default: + break; + } + // else if (key === '2')handleCloseTask + }, + }} + trigger={['click']} + > + e.preventDefault()} + /> ), }, ]; - const { result: listResult, isLoading: listIsLoading } = useSelector(selectListItems); - - const { pagination, items } = listResult; - const dispatch = useDispatch(); - const handelDataTableLoad = useCallback((pagination) => { + const handelDataTableLoad = (pagination) => { const options = { page: pagination.current || 1, items: pagination.pageSize || 10 }; dispatch(erp.list({ entity, options })); - }, []); + }; - useEffect(() => { - const controller = new AbortController(); + const dispatcher = () => { dispatch(erp.list({ entity })); + }; + useEffect(() => { + const controller = new AbortController(); + dispatcher(); return () => { controller.abort(); }; @@ -79,7 +179,7 @@ export default function DataTable({ config, DataTableDropMenu }) { , - create ? : <>, + , ]} style={{ padding: '20px 0px', @@ -90,7 +190,7 @@ export default function DataTable({ config, DataTableDropMenu }) {
item._id} - dataSource={items} + dataSource={dataSource} pagination={pagination} loading={listIsLoading} onChange={handelDataTableLoad} diff --git a/frontend/src/modules/ErpPanelModule/DeleteItem.jsx b/frontend/src/modules/ErpPanelModule/DeleteItem.jsx index 77a69db4a..958616773 100644 --- a/frontend/src/modules/ErpPanelModule/DeleteItem.jsx +++ b/frontend/src/modules/ErpPanelModule/DeleteItem.jsx @@ -44,7 +44,7 @@ export default function Delete({ config }) { return ( { - const controller = new AbortController(); if (currentResult) { const { items, invoice, ...others } = currentResult; @@ -114,7 +113,10 @@ export default function ReadItem({ config, selectedItem }) { setCurrentErp({ ...invoice.items, ...others, ...invoice }); } } - return () => controller.abort(); + return () => { + setItemsList([]); + setCurrentErp(resetErp); + }; }, [currentResult]); return ( diff --git a/frontend/src/modules/ErpPanelModule/index.jsx b/frontend/src/modules/ErpPanelModule/index.jsx index b7ae45b07..db71e3a7f 100644 --- a/frontend/src/modules/ErpPanelModule/index.jsx +++ b/frontend/src/modules/ErpPanelModule/index.jsx @@ -9,17 +9,26 @@ import { erp } from '@/redux/erp/actions'; import { useErpContext } from '@/context/erp'; -export default function ErpPanel({ config, DataTableDropMenu }) { +export default function ErpPanel({ config, extra }) { const dispatch = useDispatch(); const { state } = useErpContext(); const { deleteModal } = state; - useLayoutEffect(() => { + + const dispatcher = () => { dispatch(erp.resetState()); + }; + + useLayoutEffect(() => { + const controller = new AbortController(); + dispatcher(); + return () => { + controller.abort(); + }; }, []); return ( <> - + ); diff --git a/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/components/DataTableDropMenu.jsx b/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/components/DataTableDropMenu.jsx deleted file mode 100644 index 61d212a5c..000000000 --- a/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/components/DataTableDropMenu.jsx +++ /dev/null @@ -1,64 +0,0 @@ -import { Menu } from 'antd'; - -import { - EyeOutlined, - EditOutlined, - DeleteOutlined, - FilePdfOutlined, - CreditCardOutlined, -} from '@ant-design/icons'; -import { useSelector, useDispatch } from 'react-redux'; -import { selectCurrentLang } from '@/redux/lang/selectors'; -import { erp } from '@/redux/erp/actions'; -import { selectItemById } from '@/redux/erp/selectors'; -import { useErpContext } from '@/context/erp'; - -import { DOWNLOAD_BASE_URL } from '@/config/serverApiConfig'; -import uniqueId from '@/utils/uinqueId'; -import history from '@/utils/history'; - -export default function DataTableDropMenu({ row, entity }) { - const dispatch = useDispatch(); - - const { erpContextAction } = useErpContext(); - const { modal } = erpContextAction; - const item = useSelector(selectItemById(row._id)); - function Read() { - dispatch(erp.currentItem({ data: item })); - history.push(`/invoice/read/${row._id}`); - } - function RecordPayment() { - dispatch(erp.currentItem({ data: item })); - history.push(`/invoice/pay/${row._id}`); - } - function Edit() { - dispatch(erp.currentAction({ actionType: 'update', data: item })); - history.push(`/invoice/update/${row._id}`); - } - function Delete() { - dispatch(erp.currentAction({ actionType: 'delete', data: item })); - modal.open(); - } - function Download() { - window.open(`${DOWNLOAD_BASE_URL}${entity}/${entity}-${row._id}.pdf`, '_blank'); - } - return ( - - } onClick={Read}> - Show - - } onClick={RecordPayment}> - Record Payment - - } onClick={Edit}> - Edit - - } onClick={Download}> - Download - - } onClick={Delete}> - Delete - - - ); -} diff --git a/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/index.jsx b/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/index.jsx index 75400911f..6b0a4f31d 100644 --- a/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/index.jsx +++ b/frontend/src/modules/InvoiceModule/InvoiceDataTableModule/index.jsx @@ -1,11 +1,21 @@ import { ErpLayout } from '@/layout'; import ErpPanel from '@/modules/ErpPanelModule'; -import DataTableDropMenu from './components/DataTableDropMenu'; + +import { CreditCardOutlined } from '@ant-design/icons'; export default function InvoiceDataTableModule({ config }) { return ( - + , + }, + ]} + > ); } diff --git a/frontend/src/modules/OfferModule/OfferDataTableModule/components/DataTableDropMenu.jsx b/frontend/src/modules/OfferModule/OfferDataTableModule/components/DataTableDropMenu.jsx deleted file mode 100644 index 2c652a408..000000000 --- a/frontend/src/modules/OfferModule/OfferDataTableModule/components/DataTableDropMenu.jsx +++ /dev/null @@ -1,60 +0,0 @@ -import { Menu } from 'antd'; - -import { - EyeOutlined, - EditOutlined, - DeleteOutlined, - FilePdfOutlined, - CreditCardOutlined, -} from '@ant-design/icons'; -import { useSelector, useDispatch } from 'react-redux'; -import { selectCurrentLang } from '@/redux/lang/selectors'; -import { erp } from '@/redux/erp/actions'; -import { selectItemById } from '@/redux/erp/selectors'; -import { useErpContext } from '@/context/erp'; - -import { DOWNLOAD_BASE_URL } from '@/config/serverApiConfig'; -import uniqueId from '@/utils/uinqueId'; -import { useHistory } from 'react-router-dom'; - -export default function DataTableDropMenu({ row, entity }) { - const dispatch = useDispatch(); - const history = useHistory(); - const { erpContextAction } = useErpContext(); - const { recordPanel, modal } = erpContextAction; - const item = useSelector(selectItemById(row._id)); - function Read() { - dispatch(erp.currentItem({ data: item })); - // readPanel.open(); - history.push(`/offer/read/${row._id}`); - } - - function Edit() { - dispatch(erp.currentAction({ actionType: 'update', data: item })); - // updatePanel.open(); - history.push(`/offer/update/${row._id}`); - } - function Delete() { - dispatch(erp.currentAction({ actionType: 'delete', data: item })); - modal.open(); - } - function Download() { - window.open(`${DOWNLOAD_BASE_URL}${entity}/${entity}-${row._id}.pdf`, '_blank'); - } - return ( - - } onClick={Read}> - Show - - } onClick={Edit}> - Edit - - } onClick={Download}> - Download - - } onClick={Delete}> - Delete - - - ); -} diff --git a/frontend/src/modules/OfferModule/OfferDataTableModule/index.jsx b/frontend/src/modules/OfferModule/OfferDataTableModule/index.jsx index 00e08a9d2..26a7628ea 100644 --- a/frontend/src/modules/OfferModule/OfferDataTableModule/index.jsx +++ b/frontend/src/modules/OfferModule/OfferDataTableModule/index.jsx @@ -1,11 +1,10 @@ import { ErpLayout } from '@/layout'; import ErpPanel from '@/modules/ErpPanelModule'; -import DataTableDropMenu from './components/DataTableDropMenu'; export default function OffereDataTableModule({ config }) { return ( - + ); } diff --git a/frontend/src/modules/PaymentModule/CreatePaymentModule/index.jsx b/frontend/src/modules/PaymentModule/CreatePaymentModule/index.jsx deleted file mode 100644 index 9db8f1f6d..000000000 --- a/frontend/src/modules/PaymentModule/CreatePaymentModule/index.jsx +++ /dev/null @@ -1,11 +0,0 @@ -import { ErpLayout } from '@/layout'; -import CreateItem from '@/modules/ErpPanelModule/CreateItem'; -import PaymentForm from '@/modules/PaymentModule/Forms/PaymentForm'; - -export default function CreatePaymentModule({ config }) { - return ( - - - - ); -} diff --git a/frontend/src/modules/PaymentModule/Forms/PaymentForm.jsx b/frontend/src/modules/PaymentModule/Forms/PaymentForm.jsx deleted file mode 100644 index 72f713597..000000000 --- a/frontend/src/modules/PaymentModule/Forms/PaymentForm.jsx +++ /dev/null @@ -1,74 +0,0 @@ -import React, { useState } from 'react'; -import dayjs from 'dayjs'; -import { Form, Input, InputNumber } from 'antd'; -import { DatePicker } from '@/components/CustomAntd'; -import SelectAsync from '@/components/SelectAsync'; -import { useMoney } from '@/settings'; -import { selectCurrentLang } from '@/redux/lang/selectors'; - -export default function PaymentForm({ maxAmount = null, current = null }) { - const { TextArea } = Input; - const money = useMoney(); - return ( - <> - - - - - - - - - - - - - - - - -