Merge branch 'front' into devlop
# Conflicts:
# rsf-admin/package-lock.json
| | |
| | | VITE_BASE_IP=192.168.4.24 |
| | | # VITE_BASE_IP=47.76.147.249 |
| | | VITE_BASE_IP=192.168.4.16 |
| | | #VITE_BASE_IP=47.76.147.249 |
| | | VITE_BASE_PORT=8080 |
| | |
| | | "pixi.js": "^7.4.0", |
| | | "prop-types": "^15.8.1", |
| | | "ra-i18n-polyglot": "^5.6.2", |
| | | "ra-language-chinese": "^2.0.10", |
| | | "ra-language-english": "^5.6.2", |
| | | "react": "^18.3.0", |
| | | "react-admin": "^5.6.3", |
| | | "react-barcode": "^1.6.1", |
| | | "react-dom": "^18.3.0", |
| | | "react-hook-form": "^7.53.0", |
| | | "react-router": "^6.22.0", |
| | | "react-router-dom": "^6.26.1", |
| | | "react-syntax-highlighter": "^15.5.0", |
| | | "react-to-print": "^3.0.5", |
| | | "three": "^0.155.0", |
| | | "tweedle.js": "^2.1.0" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/@emotion/babel-plugin": { |
| | | "version": "11.13.5", |
| | | "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz", |
| | | "integrity": "sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { |
| | | "version": "1.9.0", |
| | | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz", |
| | | "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", |
| | | "license": "MIT" |
| | | }, |
| | | "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", |
| | | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", |
| | | "license": "MIT", |
| | | "engines": { |
| | |
| | | }, |
| | | "node_modules/@emotion/react": { |
| | | "version": "11.14.0", |
| | | "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.14.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@emotion/react/-/react-11.14.0.tgz", |
| | | "integrity": "sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@emotion/styled": { |
| | | "version": "11.14.0", |
| | | "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.14.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@emotion/styled/-/styled-11.14.0.tgz", |
| | | "integrity": "sha512-XxfOnXFffatap2IyCeJyNov3kiDQWoR08gPUQxvbL7fxKryGBKUZUkG6Hz48DZwVrJSVh9sJboyV1Ds4OW6SgA==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@emotion/use-insertion-effect-with-fallbacks": { |
| | | "version": "1.2.0", |
| | | "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz", |
| | | "integrity": "sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==", |
| | | "license": "MIT", |
| | | "peerDependencies": { |
| | |
| | | }, |
| | | "node_modules/@mui/private-theming": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/private-theming/-/private-theming-6.4.8.tgz", |
| | | "integrity": "sha512-sWwQoNSn6elsPTAtSqCf+w5aaGoh7AASURNmpy+QTTD/zwJ0Jgwt0ZaaP6mXq2IcgHxYnYloM/+vJgHPMkRKTQ==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@mui/private-theming/node_modules/@mui/utils": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/utils/-/utils-6.4.8.tgz", |
| | | "integrity": "sha512-C86gfiZ5BfZ51KqzqoHi1WuuM2QdSKoFhbkZeAfQRB+jCc4YNhhj11UXFVMMsqBgZ+Zy8IHNJW3M9Wj/LOwRXQ==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@mui/private-theming/node_modules/react-is": { |
| | | "version": "19.0.0", |
| | | "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/react-is/-/react-is-19.0.0.tgz", |
| | | "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==", |
| | | "license": "MIT" |
| | | }, |
| | | "node_modules/@mui/styled-engine": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/styled-engine/-/styled-engine-6.4.8.tgz", |
| | | "integrity": "sha512-oyjx1b1FvUCI85ZMO4trrjNxGm90eLN3Ohy0AP/SqK5gWvRQg1677UjNf7t6iETOKAleHctJjuq0B3aXO2gtmw==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@mui/system": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/system/-/system-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/system/-/system-6.4.8.tgz", |
| | | "integrity": "sha512-gV7iBHoqlsIenU2BP0wq14BefRoZcASZ/4LeyuQglayBl+DfLX5rEd3EYR3J409V2EZpR0NOM1LATAGlNk2cyA==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@mui/system/node_modules/@mui/utils": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/utils/-/utils-6.4.8.tgz", |
| | | "integrity": "sha512-C86gfiZ5BfZ51KqzqoHi1WuuM2QdSKoFhbkZeAfQRB+jCc4YNhhj11UXFVMMsqBgZ+Zy8IHNJW3M9Wj/LOwRXQ==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/@mui/system/node_modules/react-is": { |
| | | "version": "19.0.0", |
| | | "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/react-is/-/react-is-19.0.0.tgz", |
| | | "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==", |
| | | "license": "MIT" |
| | | }, |
| | | "node_modules/@mui/types": { |
| | | "version": "7.2.24", |
| | | "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.24.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/types/-/types-7.2.24.tgz", |
| | | "integrity": "sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==", |
| | | "license": "MIT", |
| | | "peerDependencies": { |
| | |
| | | }, |
| | | "node_modules/@types/parse-json": { |
| | | "version": "4.0.2", |
| | | "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@types/parse-json/-/parse-json-4.0.2.tgz", |
| | | "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==", |
| | | "license": "MIT" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/@types/react-transition-group": { |
| | | "version": "4.4.12", |
| | | "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@types/react-transition-group/-/react-transition-group-4.4.12.tgz", |
| | | "integrity": "sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==", |
| | | "license": "MIT", |
| | | "peerDependencies": { |
| | |
| | | }, |
| | | "node_modules/@types/trusted-types": { |
| | | "version": "2.0.7", |
| | | "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@types/trusted-types/-/trusted-types-2.0.7.tgz", |
| | | "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", |
| | | "license": "MIT", |
| | | "optional": true |
| | |
| | | }, |
| | | "node_modules/attr-accept": { |
| | | "version": "2.2.5", |
| | | "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.5.tgz", |
| | | "resolved": "https://registry.npmmirror.com/attr-accept/-/attr-accept-2.2.5.tgz", |
| | | "integrity": "sha512-0bDNnY/u6pPwHDMoF0FieU354oBi0a8rD9FcsLwzcGWbc8KS8KPIi7y+s13OlVY+gMWc/9xEMUgNE6Qm8ZllYQ==", |
| | | "license": "MIT", |
| | | "engines": { |
| | |
| | | }, |
| | | "node_modules/autosuggest-highlight": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmjs.org/autosuggest-highlight/-/autosuggest-highlight-3.3.4.tgz", |
| | | "resolved": "https://registry.npmmirror.com/autosuggest-highlight/-/autosuggest-highlight-3.3.4.tgz", |
| | | "integrity": "sha512-j6RETBD2xYnrVcoV1S5R4t3WxOlWZKyDQjkwnggDPSjF5L4jV98ZltBpvPvbkM1HtoSe5o+bNrTHyjPbieGeYA==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/babel-plugin-macros": { |
| | | "version": "3.1.0", |
| | | "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", |
| | | "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/babel-plugin-macros/node_modules/resolve": { |
| | | "version": "1.22.10", |
| | | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", |
| | | "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.10.tgz", |
| | | "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/cosmiconfig": { |
| | | "version": "7.1.0", |
| | | "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz", |
| | | "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/css-mediaquery": { |
| | | "version": "0.1.2", |
| | | "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz", |
| | | "resolved": "https://registry.npmmirror.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz", |
| | | "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==", |
| | | "license": "BSD" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/dompurify": { |
| | | "version": "3.2.4", |
| | | "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.4.tgz", |
| | | "resolved": "https://registry.npmmirror.com/dompurify/-/dompurify-3.2.4.tgz", |
| | | "integrity": "sha512-ysFSFEDVduQpyhzAob/kkuJjf5zWkZD8/A9ywSp1byueyuCfHamrCBa14/Oc2iiB0e51B+NpxSl5gmzn+Ms/mg==", |
| | | "license": "(MPL-2.0 OR Apache-2.0)", |
| | | "optionalDependencies": { |
| | |
| | | }, |
| | | "node_modules/error-ex": { |
| | | "version": "1.3.2", |
| | | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", |
| | | "resolved": "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz", |
| | | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/file-selector": { |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-2.1.2.tgz", |
| | | "resolved": "https://registry.npmmirror.com/file-selector/-/file-selector-2.1.2.tgz", |
| | | "integrity": "sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/file-selector/node_modules/tslib": { |
| | | "version": "2.8.1", |
| | | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", |
| | | "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz", |
| | | "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", |
| | | "license": "0BSD" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/find-root": { |
| | | "version": "1.1.0", |
| | | "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz", |
| | | "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", |
| | | "license": "MIT" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/is-arrayish": { |
| | | "version": "0.2.1", |
| | | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", |
| | | "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz", |
| | | "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", |
| | | "license": "MIT" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/is-core-module": { |
| | | "version": "2.16.1", |
| | | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", |
| | | "resolved": "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.16.1.tgz", |
| | | "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | "js-yaml": "bin/js-yaml.js" |
| | | } |
| | | }, |
| | | "node_modules/jsbarcode": { |
| | | "version": "3.11.6", |
| | | "resolved": "https://registry.npmmirror.com/jsbarcode/-/jsbarcode-3.11.6.tgz", |
| | | "integrity": "sha512-G5TKGyKY1zJo0ZQKFM1IIMfy0nF2rs92BLlCz+cU4/TazIc4ZH+X1GYeDRt7TKjrYqmPfTjwTBkU/QnQlsYiuA==", |
| | | "license": "MIT" |
| | | }, |
| | | "node_modules/jsesc": { |
| | | "version": "2.5.2", |
| | | "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz", |
| | |
| | | }, |
| | | "node_modules/json-parse-even-better-errors": { |
| | | "version": "2.3.1", |
| | | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", |
| | | "resolved": "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", |
| | | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", |
| | | "license": "MIT" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/lines-and-columns": { |
| | | "version": "1.2.4", |
| | | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", |
| | | "resolved": "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz", |
| | | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", |
| | | "license": "MIT" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/parse-json": { |
| | | "version": "5.2.0", |
| | | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz", |
| | | "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | "ra-core": "^5.6.3" |
| | | } |
| | | }, |
| | | "node_modules/ra-language-chinese": { |
| | | "version": "2.0.10", |
| | | "resolved": "https://registry.npmmirror.com/ra-language-chinese/-/ra-language-chinese-2.0.10.tgz", |
| | | "integrity": "sha512-k+X6XdkBEZnmpKIJZj9Lb77Lj8LCmterilJTj2ovp3i8/H/dLo9IujASfjFypjHnVUpN7Y63LT19kgPrS6+row==", |
| | | "license": "MIT" |
| | | }, |
| | | "node_modules/ra-language-english": { |
| | | "version": "5.6.3", |
| | | "resolved": "https://registry.npmjs.org/ra-language-english/-/ra-language-english-5.6.3.tgz", |
| | |
| | | }, |
| | | "node_modules/react-admin": { |
| | | "version": "5.6.3", |
| | | "resolved": "https://registry.npmjs.org/react-admin/-/react-admin-5.6.3.tgz", |
| | | "resolved": "https://registry.npmmirror.com/react-admin/-/react-admin-5.6.3.tgz", |
| | | "integrity": "sha512-nZAlX1uRKgQKAQcOxMwugkjbDL7CPuU799lxoaxLK59O7AbkQl161uVqWLNUo4eaZRCpXCVqIe2an4lGlxs10g==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/react-admin/node_modules/@mui/core-downloads-tracker": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.8.tgz", |
| | | "integrity": "sha512-vjP4+A1ybyCRhDZC7r5EPWu/gLseFZxaGyPdDl94vzVvk6Yj6gahdaqcjbhkaCrJjdZj90m3VioltWPAnWF/zw==", |
| | | "license": "MIT", |
| | | "funding": { |
| | |
| | | }, |
| | | "node_modules/react-admin/node_modules/@mui/icons-material": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/icons-material/-/icons-material-6.4.8.tgz", |
| | | "integrity": "sha512-LKGWiLWRyoOw3dWxZQ+lV//mK+4DVTTAiLd2ljmJdD6XV0rDB8JFKjRD9nyn9cJAU5XgWnii7ZR3c93ttUnMKg==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/react-admin/node_modules/@mui/material": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/material/-/material-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/material/-/material-6.4.8.tgz", |
| | | "integrity": "sha512-5S9UTjKZZBd9GfbcYh/nYfD9cv6OXmj5Y7NgKYfk7JcSoshp8/pW5zP4wecRiroBSZX8wcrywSgogpVNO+5W0Q==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/react-admin/node_modules/@mui/utils": { |
| | | "version": "6.4.8", |
| | | "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/@mui/utils/-/utils-6.4.8.tgz", |
| | | "integrity": "sha512-C86gfiZ5BfZ51KqzqoHi1WuuM2QdSKoFhbkZeAfQRB+jCc4YNhhj11UXFVMMsqBgZ+Zy8IHNJW3M9Wj/LOwRXQ==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/react-admin/node_modules/ra-ui-materialui": { |
| | | "version": "5.6.3", |
| | | "resolved": "https://registry.npmjs.org/ra-ui-materialui/-/ra-ui-materialui-5.6.3.tgz", |
| | | "resolved": "https://registry.npmmirror.com/ra-ui-materialui/-/ra-ui-materialui-5.6.3.tgz", |
| | | "integrity": "sha512-3KOCo0JWBJ5BeqVb8g1cdnw00+GMnpI7jlX1VqX7YIyDT3TwDbFx1sDGUOvNiLrN7qZA5dIrZWfdYlutjZT/2Q==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | }, |
| | | "node_modules/react-admin/node_modules/react-is": { |
| | | "version": "19.0.0", |
| | | "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", |
| | | "resolved": "https://registry.npmmirror.com/react-is/-/react-is-19.0.0.tgz", |
| | | "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==", |
| | | "license": "MIT" |
| | | }, |
| | | "node_modules/react-barcode": { |
| | | "version": "1.6.1", |
| | | "resolved": "https://registry.npmmirror.com/react-barcode/-/react-barcode-1.6.1.tgz", |
| | | "integrity": "sha512-pc4ftnO5syHa/UjCruEeRsomlhoxKSugIgTA8T4dH0fvc89UMHL+/1Sp25IAphqG44pJkE5hMXhv89iS09jQyw==", |
| | | "license": "ISC", |
| | | "dependencies": { |
| | | "jsbarcode": "^3.8.0", |
| | | "prop-types": "^15.6.2" |
| | | }, |
| | | "peerDependencies": { |
| | | "react": "16 - 19" |
| | | } |
| | | }, |
| | | "node_modules/react-dom": { |
| | | "version": "18.3.1", |
| | |
| | | }, |
| | | "node_modules/react-dropzone": { |
| | | "version": "14.3.8", |
| | | "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-14.3.8.tgz", |
| | | "resolved": "https://registry.npmmirror.com/react-dropzone/-/react-dropzone-14.3.8.tgz", |
| | | "integrity": "sha512-sBgODnq+lcA4P296DY4wacOZz3JFpD99fp+hb//iBO2HHnyeZU3FwWyXJ6salNpqQdsZrgMrotuko/BdJMV8Ug==", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | |
| | | "react": ">= 0.14.0" |
| | | } |
| | | }, |
| | | "node_modules/react-to-print": { |
| | | "version": "3.0.5", |
| | | "resolved": "https://registry.npmmirror.com/react-to-print/-/react-to-print-3.0.5.tgz", |
| | | "integrity": "sha512-Z15MwMOzYCHWi26CZeFNwflAg7Nr8uWD6FTj+EkfIOjYyjr0MXGbI0c7rF4Fgrbj3XG9hFndb1ourxpPz2RAiA==", |
| | | "license": "MIT", |
| | | "peerDependencies": { |
| | | "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ~19" |
| | | } |
| | | }, |
| | | "node_modules/react-transition-group": { |
| | | "version": "4.4.5", |
| | | "resolved": "https://registry.npmmirror.com/react-transition-group/-/react-transition-group-4.4.5.tgz", |
| | |
| | | }, |
| | | "node_modules/remove-accents": { |
| | | "version": "0.4.4", |
| | | "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.4.tgz", |
| | | "resolved": "https://registry.npmmirror.com/remove-accents/-/remove-accents-0.4.4.tgz", |
| | | "integrity": "sha512-EpFcOa/ISetVHEXqu+VwI96KZBmq+a8LJnGkaeFw45epGlxIZz5dhEEnNZMsQXgORu3qaMoLX4qJCzOik6ytAg==", |
| | | "license": "MIT" |
| | | }, |
| | |
| | | }, |
| | | "node_modules/source-map": { |
| | | "version": "0.5.7", |
| | | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", |
| | | "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz", |
| | | "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", |
| | | "license": "BSD-3-Clause", |
| | | "engines": { |
| | |
| | | }, |
| | | "node_modules/yaml": { |
| | | "version": "1.10.2", |
| | | "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", |
| | | "resolved": "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz", |
| | | "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", |
| | | "license": "ISC", |
| | | "engines": { |
| | |
| | | "react-router": "^6.22.0", |
| | | "react-router-dom": "^6.26.1", |
| | | "react-syntax-highlighter": "^15.5.0", |
| | | "react-to-print": "^3.0.5", |
| | | "three": "^0.155.0", |
| | | "tweedle.js": "^2.1.0" |
| | | }, |
| | |
| | | react-syntax-highlighter: |
| | | specifier: ^15.5.0 |
| | | version: 15.6.1(react@18.3.1) |
| | | react-to-print: |
| | | specifier: ^3.0.5 |
| | | version: 3.0.5(react@18.3.1) |
| | | three: |
| | | specifier: ^0.155.0 |
| | | version: 0.155.0 |
| | |
| | | resolution: {integrity: sha512-OqJ2/vL7lEeV5zTJyG7kmARppUjiB9h9udl4qHQjjgEos66z00Ia0OckwYfRxCSFrW8RJIBnsBwQsHZbVPspqg==} |
| | | peerDependencies: |
| | | react: '>= 0.14.0' |
| | | |
| | | react-to-print@3.0.5: |
| | | resolution: {integrity: sha512-Z15MwMOzYCHWi26CZeFNwflAg7Nr8uWD6FTj+EkfIOjYyjr0MXGbI0c7rF4Fgrbj3XG9hFndb1ourxpPz2RAiA==} |
| | | peerDependencies: |
| | | react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ~19 |
| | | |
| | | react-transition-group@4.4.5: |
| | | resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} |
| | |
| | | react: 18.3.1 |
| | | refractor: 3.6.0 |
| | | |
| | | react-to-print@3.0.5(react@18.3.1): |
| | | dependencies: |
| | | react: 18.3.1 |
| | | |
| | | react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): |
| | | dependencies: |
| | | '@babel/runtime': 7.26.9 |
| | |
| | | }, |
| | | locType: { |
| | | uuid: "uuid", |
| | | code: "code", |
| | | name: "name", |
| | | regex: "regex", |
| | | }, |
| | |
| | | }, |
| | | locType: { |
| | | name: "库位类型", |
| | | code: "编号", |
| | | regex: "规则表达式", |
| | | }, |
| | | locArea: { |
| | |
| | | useCreateController, |
| | | useListContext, |
| | | useRefresh, |
| | | SelectArrayInput |
| | | } from 'react-admin'; |
| | | import { |
| | | Dialog, |
| | |
| | | TableCell, |
| | | Tooltip, |
| | | IconButton, |
| | | styled |
| | | styled, |
| | | |
| | | |
| | | |
| | | } from '@mui/material'; |
| | |
| | | import StatusSelectInput from "../../components/StatusSelectInput"; |
| | | |
| | | |
| | | |
| | | const InitModal = ({ open, setOpen }) => { |
| | | const refresh = useRefresh(); |
| | | const translate = useTranslate(); |
| | |
| | | const notify = useNotify(); |
| | | |
| | | const [formData, setFormData] = useState({ |
| | | "warehouseId": null, |
| | | "areaId": null, |
| | | "type": null, |
| | | 'status': null |
| | |
| | | |
| | | const reset = () => { |
| | | setFormData({ |
| | | "warehouseId": null, |
| | | "areaId": null, |
| | | "type": null, |
| | | "typeIds": null, |
| | | 'status': null |
| | | }) |
| | | } |
| | |
| | | ...prevData, |
| | | [name]: value |
| | | })); |
| | | refresh() |
| | | }; |
| | | |
| | | const removeEmptyKeys = (obj) => { |
| | |
| | | <Grid container spacing={2}> |
| | | <Grid item xs={4}> |
| | | <ReferenceInput |
| | | source="warehouseId" |
| | | reference="warehouse" |
| | | > |
| | | <AutocompleteInput |
| | | label="table.field.loc.warehouseId" |
| | | optionText="name" |
| | | onChange={(value) => handleChange(value, 'warehouseId')} |
| | | value={formData.warehouseId} |
| | | filterToQuery={(val) => ({ name: val })} |
| | | /> |
| | | </ReferenceInput> |
| | | |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | | <ReferenceInput |
| | | source="areaId" |
| | | reference="warehouseAreas" |
| | | filter={{ warehouseId: formData.warehouseId }} |
| | | > |
| | | <AutocompleteInput |
| | | label="table.field.loc.areaId" |
| | |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | | <DictionarySelect |
| | | {/* <DictionarySelect |
| | | label={translate("table.field.loc.type")} |
| | | name="type" |
| | | value={formData.type} |
| | | onChange={(e) => handleChange(e.target.value, 'type')} |
| | | size="small" |
| | | dictTypeCode="sys_loc_type" |
| | | /> |
| | | /> */} |
| | | <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" onChange={(e) => handleChange(e.target.value, 'typeIds')} /> |
| | | </ReferenceArrayInput> |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | |
| | | useCreateController, |
| | | useListContext, |
| | | useRefresh, |
| | | SelectArrayInput |
| | | } from 'react-admin'; |
| | | import { |
| | | Dialog, |
| | |
| | | "startBay": undefined, |
| | | "startLev": undefined, |
| | | "startRow": undefined, |
| | | "type": "" |
| | | "type": "", |
| | | "typeIds": undefined, |
| | | }); |
| | | |
| | | const handleClose = (event, reason) => { |
| | |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | | <DictionarySelect |
| | | label={translate("table.field.loc.type")} |
| | | name="type" |
| | | value={formData.type} |
| | | onChange={(e) => handleChange(e.target.value, 'type')} |
| | | size="small" |
| | | validate={[required()]} |
| | | dictTypeCode="sys_loc_type" |
| | | /> |
| | | <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" onChange={(e) => handleChange(e.target.value, 'typeIds')} /> |
| | | </ReferenceArrayInput> |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | |
| | | notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } }); |
| | | }; |
| | | |
| | | const [warehouseId, setWrehouseId] = useState(); |
| | | |
| | | const warehouseChange = (val) => { |
| | | setWrehouseId(val) |
| | | } |
| | | |
| | | |
| | | return ( |
| | |
| | | label="table.field.loc.warehouseId" |
| | | optionText="name" |
| | | validate={[required()]} |
| | | onChange={warehouseChange} |
| | | filterToQuery={(val) => ({ name: val })} |
| | | /> |
| | | </ReferenceInput> |
| | |
| | | <ReferenceInput |
| | | source="areaId" |
| | | reference="warehouseAreas" |
| | | filter={{ warehouseId }} |
| | | > |
| | | <AutocompleteInput |
| | | label="table.field.loc.areaId" |
| | |
| | | const LocEdit = () => { |
| | | const translate = useTranslate(); |
| | | const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_loc_type')) || []; |
| | | const [warehouseId, setWrehouseId] = useState(); |
| | | |
| | | const warehouseChange = (val) => { |
| | | setWrehouseId(val) |
| | | } |
| | | |
| | | return ( |
| | | <Edit |
| | |
| | | label="table.field.loc.warehouseId" |
| | | optionText="name" |
| | | validate={[required()]} |
| | | onChange={warehouseChange} |
| | | filterToQuery={(val) => ({ name: val })} |
| | | /> |
| | | </ReferenceInput> |
| | |
| | | <ReferenceInput |
| | | source="areaId" |
| | | reference="warehouseAreas" |
| | | filter={{ warehouseId }} |
| | | > |
| | | <AutocompleteInput |
| | | label="table.field.loc.areaId" |
| | |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <TextInput |
| | | label="table.field.locType.code" |
| | | source="code" |
| | | parse={v => v} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <TextInput |
| | | label="table.field.locType.regex" |
| | | source="regex" |
| | | parse={v => v} |
| | |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | | label="table.field.locType.code" |
| | | source="code" |
| | | parse={v => v} |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | | label="table.field.locType.regex" |
| | | source="regex" |
| | | parse={v => v} |
| | |
| | | <NumberField source="id" /> |
| | | {/* <TextField source="uuid" label="table.field.locType.uuid" /> */} |
| | | <TextField source="name" label="table.field.locType.name" /> |
| | | <TextField source="code" label="table.field.locType.code" /> |
| | | <TextField source="regex" label="table.field.locType.regex" /> |
| | | |
| | | <ReferenceField source="updateBy" label="common.field.updateBy" reference="user" link={false} sortable={false}> |
| | |
| | | import { DataGrid } from '@mui/x-data-grid'; |
| | | import StatusSelectInput from "../../components/StatusSelectInput"; |
| | | |
| | | |
| | | |
| | | const InitModal = ({ open, setOpen }) => { |
| | | const refresh = useRefresh(); |
| | | const translate = useTranslate(); |
| | |
| | | <BooleanField key="statusBool" source="statusBool" label="common.field.status" sortable={false} />, |
| | | <TextField key="memo" source="memo" label="common.field.memo" sortable={false} />, |
| | | ] |
| | | const fields = data.map(el => <TextField key={el.fields} source={el.fields} label={el.fieldsAlise} />) |
| | | const fields = data.map(el => <TextField key={el.fields} source={`extendFields.[${el.fields}]`} label={el.fieldsAlise} />) |
| | | const opt = <WrapperField key="opt" cellClassName="opt" label="common.field.opt"> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} /> |
| | | <EnableButton /> |
| | |
| | | TextField, |
| | | Box, |
| | | Button, |
| | | Paper, |
| | | TableContainer, |
| | | Table, |
| | | TableHead, |
| | | TableBody, |
| | | Radio, |
| | | RadioGroup, |
| | | FormControlLabel, |
| | | FormControl, |
| | | FormLabel, |
| | | TableRow, |
| | | TableCell, |
| | | Tooltip, |
| | |
| | | import { DataGrid } from '@mui/x-data-grid'; |
| | | import StatusSelectInput from "../../components/StatusSelectInput"; |
| | | |
| | | |
| | | import { useReactToPrint } from "react-to-print"; |
| | | |
| | | const InitModal = ({ open, setOpen }) => { |
| | | const refresh = useRefresh(); |
| | | const translate = useTranslate(); |
| | | |
| | | |
| | | const notify = useNotify(); |
| | | |
| | | const contentRef = useRef(null); |
| | | const reactToPrintFn = useReactToPrint({ contentRef }); |
| | | |
| | | const handleClose = (event, reason) => { |
| | | if (reason !== "backdropClick") { |
| | |
| | | } |
| | | }; |
| | | |
| | | const [value, setValue] = useState('temp1'); |
| | | |
| | | const handleChange = (event) => { |
| | | setValue(event.target.value); |
| | | }; |
| | | |
| | | const handlePrint = () => { |
| | | // handleClose() |
| | | reactToPrintFn() |
| | | }; |
| | | |
| | | return ( |
| | | <Dialog open={open} maxWidth="sm" fullWidth> |
| | | <DialogCloseButton onClose={handleClose} /> |
| | | <DialogTitle>{translate('toolbar.print')}</DialogTitle> |
| | | <DialogContent sx={{ mt: 2 }}> |
| | | 1 |
| | | <DialogContent > |
| | | <FormControl > |
| | | <RadioGroup |
| | | row |
| | | aria-labelledby="demo-controlled-radio-buttons-group" |
| | | name="controlled-radio-buttons-group" |
| | | value={value} |
| | | onChange={handleChange} |
| | | size="small" |
| | | sx={{ justifyContent: 'center' }} |
| | | > |
| | | <FormControlLabel value="temp1" control={<Radio />} label="模板1" size="small" /> |
| | | </RadioGroup> |
| | | </FormControl> |
| | | |
| | | <Box> |
| | | <div ref={contentRef}> |
| | | 11 |
| | | </div> |
| | | </Box> |
| | | </DialogContent> |
| | | <DialogActions sx={{ position: 'sticky', bottom: 0, backgroundColor: 'background.paper', zIndex: 1000 }}> |
| | | <Box sx={{ width: '100%', display: 'flex', justifyContent: 'space-between' }}> |
| | | <Button onClick={handleClose} variant="contained" startIcon={<SaveIcon />}> |
| | | <Button onClick={handlePrint} variant="contained" startIcon={<SaveIcon />}> |
| | | {translate('toolbar.confirm')} |
| | | </Button> |
| | | </Box> |
| | |
| | | /> |
| | | |
| | | </Grid> |
| | | {/* <Grid item xs={6} display="flex" gap={1}> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <TextInput |
| | | label="table.field.warehouse.code" |
| | | source="code" |
| | | validate={[required()]} |
| | | parse={v => v} |
| | | /> |
| | | </Grid> */} |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <TextInput |
| | | label="table.field.warehouse.name" |
| | |
| | | autoFocus |
| | | /> |
| | | </Stack> |
| | | {/* <Stack direction='row' gap={2}> |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | | label="table.field.warehouse.code" |
| | | source="code" |
| | | validate={[required()]} |
| | | parse={v => v} |
| | | /> |
| | | </Stack> */} |
| | | </Stack> |
| | | |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | |
| | | <NumberField source="id" /> |
| | | <TextField source="factory" label="table.field.warehouse.factory" /> |
| | | <TextField source="name" label="table.field.warehouse.name" /> |
| | | {/* <TextField source="code" label="table.field.warehouse.code" /> */} |
| | | <TextField source="code" label="table.field.warehouse.code" /> |
| | | <TextField source="address" label="table.field.warehouse.address" /> |
| | | <TextField source="longitude" label="table.field.warehouse.longitude" /> |
| | | <TextField source="latgitude" label="table.field.warehouse.latgitude" /> |
| | |
| | | <AutocompleteInput |
| | | label="table.field.warehouseAreas.wareId" |
| | | optionText="name" |
| | | validate={[required()]} |
| | | filterToQuery={(val) => ({ name: val })} |
| | | /> |
| | | </ReferenceInput> |
| | |
| | | <AutocompleteInput |
| | | label="table.field.warehouseAreas.wareId" |
| | | optionText="name" |
| | | validate={[required()]} |
| | | filterToQuery={(val) => ({ name: val })} |
| | | /> |
| | | </ReferenceInput> |