{"_id":"@rc-component/form","_rev":"4537505","name":"@rc-component/form","description":"React Form Component","dist-tags":{"latest":"1.8.0"},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"time":{"modified":"2026-04-09T15:01:30.000Z","created":"2025-01-21T06:17:47.981Z","1.8.0":"2026-03-23T07:17:55.040Z","1.7.2":"2026-03-12T10:08:45.626Z","1.7.1":"2026-03-04T07:18:42.923Z","1.7.0":"2026-03-04T02:48:59.536Z","1.6.2":"2026-01-08T07:48:19.094Z","1.6.1":"2026-01-06T08:49:51.528Z","1.6.0":"2025-12-22T14:42:46.919Z","1.5.0":"2025-12-09T03:08:56.315Z","1.4.0":"2025-10-29T08:03:57.706Z","1.3.2":"2025-09-24T14:24:42.007Z","1.3.1":"2025-07-11T06:41:23.439Z","1.3.0":"2025-07-02T03:09:02.728Z","1.2.0":"2025-06-27T07:47:48.480Z","1.1.0":"2025-01-22T10:20:27.875Z","1.0.0":"2025-01-21T06:17:47.981Z"},"users":{},"author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"versions":{"1.8.0":{"name":"@rc-component/form","version":"1.8.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.1.0","@rc-component/util":"^1.6.2","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"713c10312fc73715a5f6b91b20830cd73fb86bd3","_id":"@rc-component/form@1.8.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"ed565337a69ebb6cfa20d1ad0dd58e443a71313a","size":38463,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.8.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.8.0_1774250274860_0.9854949578088448"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-23T07:17:55.040Z","publish_time":1774250275040,"_source_registry_name":"default","_cnpm_publish_time":1774250275040},"1.7.2":{"name":"@rc-component/form","version":"1.7.2","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.1.0","@rc-component/util":"^1.6.2","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"69b271ec8e55a0aade5e064ae0b1168805e80845","_id":"@rc-component/form@1.7.2","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"5e9db42f7fb6a55abff5d4eb0c263ccce6473710","size":38590,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.7.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.7.2_1773310125465_0.05567976920947837"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-12T10:08:45.626Z","publish_time":1773310125626,"_source_registry_name":"default","_cnpm_publish_time":1773310125626},"1.7.1":{"name":"@rc-component/form","version":"1.7.1","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.1.0","@rc-component/util":"^1.6.2","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"fc66fbbd4364d78e301ffcd3ad5d640c686e0607","_id":"@rc-component/form@1.7.1","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"baf18de01e649415c39e895a2c2fc9c61e1f2e23","size":38468,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.7.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.7.1_1772608722755_0.6709656832159527"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-04T07:18:42.923Z","publish_time":1772608722923,"_source_registry_name":"default","_cnpm_publish_time":1772608722923},"1.7.0":{"name":"@rc-component/form","version":"1.7.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.1.0","@rc-component/util":"^1.6.2","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"f914c41e62e8d38f1f9d256d8a0f39d61c7e377e","_id":"@rc-component/form@1.7.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"120dbfc1655fb24a3c4c82d25e8ba6fb1245d752","size":38379,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.7.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.7.0_1772592539387_0.43600369529692795"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-04T02:48:59.536Z","publish_time":1772592539536,"_source_registry_name":"default","_cnpm_publish_time":1772592539536},"1.6.2":{"name":"@rc-component/form","version":"1.6.2","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.1.0","@rc-component/util":"^1.6.2","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"8ff7bb9ddafd5f53ccb72986e250ffdc53bcb4cb","_id":"@rc-component/form@1.6.2","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"6b0737d7a5a91f4e592c3676806741dda67f435a","size":38100,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.6.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.6.2_1767858498951_0.1083457994169581"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-08T07:48:19.094Z","publish_time":1767858499094,"_source_registry_name":"default","_cnpm_publish_time":1767858499094},"1.6.1":{"name":"@rc-component/form","version":"1.6.1","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.6.2","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"d474bf1a74669211a788f903a880735d0909fa08","_id":"@rc-component/form@1.6.1","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"8bb77b09bb5527f6a38a6ef9b2541b9435a4cccb","size":38091,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.6.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.6.1_1767689391364_0.7286915665903841"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-06T08:49:51.528Z","publish_time":1767689391528,"_source_registry_name":"default","_cnpm_publish_time":1767689391528},"1.6.0":{"name":"@rc-component/form","version":"1.6.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.5.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.1.3","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"gitHead":"d2ac4b81ad73c9c5693523511c734f1c0137b5af","_id":"@rc-component/form@1.6.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"d2f9f6be1063886b9a0ccc5168a0411da6e0da15","size":37592,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.6.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.6.0_1766414566763_0.4628843213738123"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-22T14:42:46.919Z","publish_time":1766414566919,"_source_registry_name":"default","_cnpm_publish_time":1766414566919},"1.5.0":{"name":"@rc-component/form","version":"1.5.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.5.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.5.0","gitHead":"3247c6227f0dca4c3f463199d940b3625e389f9b","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"67ea351fde90ff94e1866b430594c9864fb29443","size":37888,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.5.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.5.0_1765249736167_0.7087620431945856"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-09T03:08:56.315Z","publish_time":1765249736315,"_source_registry_name":"default","_cnpm_publish_time":1765249736315},"1.4.0":{"name":"@rc-component/form","version":"1.4.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.4.0","gitHead":"cbf2162ad896621870ece315e6262a46fa59bce1","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"bee504c182bbb768b5fb68809e82b69deef9aec0","size":37801,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.4.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.4.0_1761725037484_0.13521439177088013"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-29T08:03:57.706Z","publish_time":1761725037706,"_source_registry_name":"default","_cnpm_publish_time":1761725037706},"1.3.2":{"name":"@rc-component/form","version":"1.3.2","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.1.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.3.2","gitHead":"64356cdb5b9db6eded862ede0281262564b0046d","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"bf3e4e4c487e5ab22a3958bc502e88be002f639d","size":37367,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.3.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.3.2_1758723881797_0.33242460459417567"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-24T14:24:42.007Z","publish_time":1758723882007,"_source_registry_name":"default","_cnpm_publish_time":1758723882007},"1.3.1":{"name":"@rc-component/form","version":"1.3.1","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.1.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.3.1","gitHead":"0abb90471f919f0ec5da271a1a78a2f24794b58d","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"611612909b4c40d262e124ca9cd59758c30f70db","size":37359,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.3.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.3.1_1752216083262_0.6329587192198172"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-11T06:41:23.439Z","publish_time":1752216083439,"_source_registry_name":"default","_cnpm_publish_time":1752216083439},"1.3.0":{"name":"@rc-component/form","version":"1.3.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.1.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.3.0","gitHead":"b0209d0d2d5e6b25ba9ad862a54e403a2676c8ba","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"cee98d5e62345df284b9662dcfb1c2c15142b197","size":37349,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.3.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com","actor":{"name":"zombiej","email":"smith3816@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.3.0_1751425742529_0.705182555080637"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-02T03:09:02.728Z","publish_time":1751425742728,"_source_registry_name":"default","_cnpm_publish_time":1751425742728},"1.2.0":{"name":"@rc-component/form","version":"1.2.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.1.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.2.0","gitHead":"35e81ea32fc9c77a1d3acf74c2a701040162dad2","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"a55d2ef78df0f7cacf44fdd342b23f4d16db5c88","size":37579,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.2.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com","actor":{"name":"zombiej","email":"smith3816@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.2.0_1751010468290_0.20501155051099618"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-27T07:47:48.480Z","publish_time":1751010468480,"_source_registry_name":"default","_cnpm_publish_time":1751010468480},"1.1.0":{"name":"@rc-component/form","version":"1.1.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.1.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.1.0","gitHead":"6611c318e39714593243ed623e311d6c2990e510","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"9ecb2f2b5f73b827fa2ce2af32c73bb313e198d4","size":37940,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.1.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.1.0_1737541227719_0.8604946410394274"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-22T10:20:27.875Z","publish_time":1737541227875,"_source_registry_name":"default","_cnpm_publish_time":1737541227875},"1.0.0":{"name":"@rc-component/form","version":"1.0.0","description":"React Form Component","typings":"es/index.d.ts","engines":{"node":">=8.x"},"keywords":["react","react-component","react-form","form"],"homepage":"https://github.com/react-component/field-form","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/field-form.git"},"bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","compile":"father build","deploy":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","test":"rc-test","test:coverage":"umi-test --coverage","prepublishOnly":"npm run compile && rc-np","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc -p tsconfig.json --noEmit","now-build":"npm run docs:build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"dependencies":{"@rc-component/async-validator":"^5.0.3","@rc-component/util":"^1.1.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.0","@types/jest":"^29.2.5","@types/lodash":"^4.14.135","@types/node":"^22.0.2","@types/react":"^19.0.6","@types/react-dom":"^19.0.1","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","jest":"^29.0.0","prettier":"^3.1.0","rc-test":"^7.0.15","react":"^18.0.0","react-dnd":"^8.0.3","react-dnd-html5-backend":"^8.0.3","react-dom":"^18.0.0","react-redux":"^9.0.4","redux":"^5.0.0","typescript":"^5.1.6"},"_id":"@rc-component/form@1.0.0","gitHead":"24c7583f51d223fe7db5a059c75a254a17bdc922","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"a32843ea8f31f0e5e231d3809fe946655265ad78","size":37915,"noattachment":false,"key":"/@rc-component/form/-/@rc-component/form-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/form/download/@rc-component/form-1.0.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_1.0.0_1737440267778_0.4083171866472983"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-21T06:17:47.981Z","publish_time":1737440267981,"_source_registry_name":"default","_cnpm_publish_time":1737440267981}},"readme":"# rc-field-form\n\nReact Performance First Form Component.\n\n[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![npm download][download-image]][download-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-field-form.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-field-form\n[github-actions-image]: https://github.com/react-component/field-form/actions/workflows/main.yml/badge.svg\n[github-actions-url]: https://github.com/react-component/field-form/actions/workflows/main.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/field-form/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/field-form/branch/master\n[download-image]: https://img.shields.io/npm/dm/rc-field-form.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-field-form\n\n## Development\n\n```bash\nnpm install\nnpm start\nopen http://localhost:8000\n```\n\n## Feature\n\n- Support react.js and even react-native\n- Validate fields with [@rc-component/async-validator](https://github.com/react-component/async-validator/)\n\n## Install\n\n[![rc-field-form](https://nodei.co/npm/rc-field-form.png)](https://npmjs.org/package/rc-field-form)\n\n## Usage\n\n```js | pure\nimport Form, { Field } from 'rc-field-form';\n\nconst Input = ({ value = '', ...props }) => <input value={value} {...props} />;\n\nconst Demo = () => {\n  return (\n    <Form\n      onFinish={values => {\n        console.log('Finish:', values);\n      }}\n    >\n      <Field name=\"username\">\n        <Input placeholder=\"Username\" />\n      </Field>\n      <Field name=\"password\">\n        <Input placeholder=\"Password\" />\n      </Field>\n\n      <button>Submit</button>\n    </Form>\n  );\n};\n\nexport default Demo;\n```\n\n## ???? API\n\nWe use typescript to create the Type definition. You can view directly in IDE. But you can still check the type definition [here](https://github.com/react-component/field-form/blob/master/src/interface.ts).\n\n### Form\n\n| Prop             | Description                                        | Type                                         | Default          |\n| ---------------- | -------------------------------------------------- | -------------------------------------------- | ---------------- |\n| component        | Customize Form render component                    | string \\| Component \\| false                 | form             |\n| fields           | Control Form fields status. Only use when in Redux | [FieldData](#fielddata)[]                    | -                |\n| form             | Set form instance created by `useForm`             | [FormInstance](#useform)                     | `Form.useForm()` |\n| initialValues    | Initial value of Form                              | Object                                       | -                |\n| name             | Config name with [FormProvider](#formprovider)     | string                                       | -                |\n| preserve         | Preserve value when field removed                  | boolean                                      | false            |\n| validateMessages | Set validate message template                      | [ValidateMessages](#validatemessages)        | -                |\n| onFieldsChange   | Trigger when any value of Field changed            | (changedFields, allFields) => void           | -                |\n| onFinish         | Trigger when form submit and success               | (values) => void                             | -                |\n| onFinishFailed   | Trigger when form submit and failed                | ({ values, errorFields, outOfDate }) => void | -                |\n| onValuesChange   | Trigger when any value of Field changed            | (changedValues, values) => void              | -                |\n\n### Field\n\n| Prop              | Description                                                                   | Type                                           | Default  |\n| ----------------- | ----------------------------------------------------------------------------- | ---------------------------------------------- | -------- |\n| dependencies      | Will re-render if dependencies changed                                        | [NamePath](#namepath)[]                        | -        |\n| getValueFromEvent | Specify how to get value from event                                           | (..args: any[]) => any                         | -        |\n| getValueProps     | Customize additional props with value. This prop will disable `valuePropName` | (value) => any                                 | -        |\n| initialValue      | Field initial value                                                           | any                                            | -        |\n| name              | Field name path                                                               | [NamePath](#namepath)                          | -        |\n| normalize         | Normalize value before update                                                 | (value, prevValue, prevValues) => any          | -        |\n| preserve          | Preserve value when field removed                                             | boolean                                        | false    |\n| rules             | Validate rules                                                                | [Rule](#rule)[]                                | -        |\n| shouldUpdate      | Check if Field should update                                                  | boolean \\| (prevValues, nextValues) => boolean | -        |\n| trigger           | Collect value update by event trigger                                         | string                                         | onChange |\n| validateTrigger   | Config trigger point with rule validate                                       | string \\| string[]                             | onChange |\n| valuePropName     | Config value mapping prop with element                                        | string                                         | value    |\n\n### List\n\n| Prop     | Description                     | Type                                                                                                    | Default |\n| -------- | ------------------------------- | ------------------------------------------------------------------------------------------------------- | ------- |\n| name     | List field name path            | [NamePath](#namepath)[]                                                                                 | -       |\n| children | Render props for listing fields | (fields: { name: [NamePath](#namepath) }[], operations: [ListOperations](#listoperations)) => ReactNode | -       |\n\n### useForm\n\nForm component default create an form instance by `Form.useForm`. But you can create it and pass to Form also. This allow you to call some function on the form instance.\n\n```jsx | pure\nconst Demo = () => {\n  const [form] = Form.useForm();\n  return <Form form={form} />;\n};\n```\n\nFor class component user, you can use `ref` to get form instance:\n\n```jsx | pure\nclass Demo extends React.Component {\n  setRef = form => {\n    // Form instance here\n  };\n\n  render() {\n    return <Form ref={this.setRef} />;\n  }\n}\n```\n\n| Prop              | Description                                | Type                                                                       |\n| ----------------- | ------------------------------------------ | -------------------------------------------------------------------------- |\n| getFieldValue     | Get field value by name path               | (name: [NamePath](#namepath)) => any                                       |\n| getFieldsValue    | Get list of field values by name path list | (nameList?: ([NamePath](#namepath)[]) => any) \\| true                      |\n| getFieldError     | Get field errors by name path              | (name: [NamePath](#namepath)) => string[]                                  |\n| getFieldsError    | Get list of field errors by name path list | (nameList?: [NamePath](#namepath)[]) => FieldError[]                       |\n| isFieldsTouched   | Check if list of fields are touched        | (nameList?: [NamePath](#namepath)[], allTouched?: boolean) => boolean      |\n| isFieldTouched    | Check if a field is touched                | (name: [NamePath](#namepath)) => boolean                                   |\n| isFieldValidating | Check if a field is validating             | (name: [NamePath](#namepath)) => boolean                                   |\n| resetFields       | Reset fields status                        | (fields?: [NamePath](#namepath)[]) => void                                 |\n| setFields         | Set fields status                          | (fields: FieldData[]) => void                                              |\n| setFieldsValue    | Set fields value                           | (values) => void                                                           |\n| submit            | Trigger form submit                        | () => void                                                                 |\n| validateFields    | Trigger fields to validate                 | (nameList?: [NamePath](#namepath)[], options?: ValidateOptions) => Promise |\n\n### FormProvider\n\n| Prop             | Description                               | Type                                     | Default |\n| ---------------- | ----------------------------------------- | ---------------------------------------- | ------- |\n| validateMessages | Config global `validateMessages` template | [ValidateMessages](#validatemessages)    | -       |\n| onFormChange     | Trigger by named form fields change       | (name, { changedFields, forms }) => void | -       |\n| onFormFinish     | Trigger by named form fields finish       | (name, { values, forms }) => void        | -       |\n\n## ???? Interface\n\n### NamePath\n\n| Type                                     |\n| ---------------------------------------- |\n| string \\| number \\| (string \\| number)[] |\n\n### FieldData\n\n| Prop       | Type                                     |\n| ---------- | ---------------------------------------- |\n| touched    | boolean                                  |\n| validating | boolean                                  |\n| errors     | string[]                                 |\n| name       | string \\| number \\| (string \\| number)[] |\n| value      | any                                      |\n\n### Rule\n\n| Prop            | Type                                                                                            |\n| --------------- | ----------------------------------------------------------------------------------------------- |\n| enum            | any[]                                                                                           |\n| len             | number                                                                                          |\n| max             | number                                                                                          |\n| message         | string                                                                                          |\n| min             | number                                                                                          |\n| pattern         | RegExp                                                                                          |\n| required        | boolean                                                                                         |\n| transform       | (value) => any                                                                                  |\n| type            | string                                                                                          |\n| validator       | ([rule](#rule), value, callback: (error?: string) => void, [form](#useform)) => Promise \\| void |\n| whitespace      | boolean                                                                                         |\n| validateTrigger | string \\| string[]                                                                              |\n\n#### validator\n\nTo keep sync with `rc-form` legacy usage of `validator`, we still provides `callback` to trigger validate finished. But in `rc-field-form`, we strongly recommend to return a Promise instead.\n\n### ListOperations\n\n| Prop   | Type                     |\n| ------ | ------------------------ |\n| add    | (initValue: any) => void |\n| remove | (index: number) => void  |\n\n### ValidateMessages\n\nValidate Messages provides a list of error template. You can ref [here](https://github.com/react-component/field-form/blob/master/src/utils/messages.ts) for fully default templates.\n\n| Prop    | Description         |\n| ------- | ------------------- |\n| enum    | Rule `enum` prop    |\n| len     | Rule `len` prop     |\n| max     | Rule `max` prop     |\n| min     | Rule `min` prop     |\n| name    | Field name          |\n| pattern | Rule `pattern` prop |\n| type    | Rule `type` prop    |\n\n## Different with `rc-form`\n\n`rc-field-form` is try to keep sync with `rc-form` in api level, but there still have something to change:\n\n### 1. Field will not keep snyc with `initialValues` when un-touched\n\nIn `rc-form`, field value will get from `initialValues` if user not operate on it.\nIt's a bug but user use as a feature which makes fixing will be a breaking change and we have to keep it.\nIn Field Form, this bug will not exist anymore. If you want to change a field value, use `setFieldsValue` instead.\n\n### 2. Remove Field will not clean up related value\n\nWe do lots of logic to clean up the value when Field removed before. But with user feedback, remove exist value increase the additional work to keep value back with conditional field.\n\n### 3. Nest name use array instead of string\n\nIn `rc-form`, we support like `user.name` to be a name and convert value to `{ user: { name: 'Bamboo' } }`. This makes '.' always be the route of variable, this makes developer have to do additional work if name is real contains a point like `app.config.start` to be `app_config_start` and parse back to point when submit.\n\nField Form will only trade `['user', 'name']` to be `{ user: { name: 'Bamboo' } }`, and `user.name` to be `{ ['user.name']: 'Bamboo' }`.\n\n### 4. Remove `validateFieldsAndScroll`\n\nSince `findDomNode` is marked as warning in [StrictMode](https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage). It seems over control of Form component.\nWe decide to remove `validateFieldsAndScroll` method and you should handle it with you own logic:\n\n```jsx | pure\n<Form>\n  <Field name=\"username\">\n    <input ref={this.inputRef} />\n  </Field>\n</Form>\n```\n\n### 5. `getFieldsError` always return array\n\n`rc-form` returns `null` when no error happen. This makes user have to do some additional code like:\n\n```js | pure\n(form.getFieldsError('fieldName') || []).forEach(() => {\n  // Do something...\n});\n```\n\nNow `getFieldsError` will return `[]` if no errors.\n\n### 6. Remove `callback` with `validateFields`\n\nSince ES8 is support `async/await`, that's no reason not to use it. Now you can easily handle your validate logic:\n\n```js | pure\nasync function() {\n  try {\n    const values = await form.validateFields();\n    console.log(values);\n  } catch (errorList) {\n    errorList.forEach(({ name, errors }) => {\n      // Do something...\n    });\n  }\n}\n```\n\n**Notice: Now if your validator return an `Error(message)`, not need to get error by `e => e.message`. FieldForm will handle this.**\n\n### 7. `preserve` is default to false\n\nIn `rc-form` you should use `preserve` to keep a value cause Form will auto remove a value from Field removed. Field Form will always keep the value in the Form whatever Field removed. But you can still use `preserve=false` to disable value keeping since `1.5.0`.\n\n### 8. `setFields` not trigger `onFieldsChange` and `setFieldsValue` not trigger `onValuesChange`\n\nIn `rc-form`, we hope to help user auto trigger change event by setting to make redux dispatch easier, but it's not good design since it makes code logic couping.\n\nAdditionally, user control update trigger `onFieldsChange` & `onValuesChange` event has potential dead loop risk.\n","_attachments":{},"homepage":"https://github.com/react-component/field-form","bugs":{"url":"https://github.com/react-component/field-form/issues"},"license":"MIT"}