{"_id":"@anushase/json-form-builder","_rev":"10-e18b50abc8f1f943e8888c7941e02a7a","name":"@anushase/json-form-builder","dist-tags":{"latest":"1.1.8"},"versions":{"1.0.0":{"name":"@anushase/json-form-builder","version":"1.0.0","keywords":["mosip","form","json","json-form-builder","javascript","json-forms"],"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.0.0","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"homepage":"https://github.com/mosip/mosip-sdk#readme","bugs":{"url":"https://github.com/mosip/mosip-sdk/issues"},"dist":{"shasum":"83790f284be72f7d59590dcae385111878610896","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.0.0.tgz","fileCount":3,"integrity":"sha512-D5AGC18ucrPE4KBbHsJ1KFR73jz/xybb/AUDT7Iob1vu416ctTf3fhGcPBi9Ks/Ca58Ghg+49hMIe+VVrv7MIw==","signatures":[{"sig":"MEQCIHejd90MVCVTwd+TcgBeIe9oh+ie7kP4ohv/KlDFPzE8AiBibb6c5vgNW95qmPqmMBCZ2BAaLPFNbL3KHeF8z6wWDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15350},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","module":"src/JsonFormBuilder.js","gitHead":"a3dd0daae9f9d07d79b7d1e6a1bdbdb47b985c2e","scripts":{"build":"rollup -c","start":"rollup -c -w","verify":"npm run build","prepublishOnly":"npm run build"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"repository":{"url":"git+https://github.com/mosip/mosip-sdk.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible JavaScript library for building json forms","directories":{},"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.39.0","@rollup/plugin-commonjs":"^28.0.3","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.0.0_1744310518678_0.7219914247558092","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@anushase/json-form-builder","version":"1.1.0","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"Anusha Se"},"license":"MIT","_id":"@anushase/json-form-builder@1.1.0","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"42fff7dbf5f41e7fd2abaec29ac412654e987f2a","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.0.tgz","fileCount":16,"integrity":"sha512-uUJU314u6FU6b9uR8dzjeIZGKmdp39W0ekueGVdKpbsQijDX88qQYf74opq1/jPsvlXFLOzMURu8F0+zDMa4Gw==","signatures":[{"sig":"MEUCIQDQGPqXoAR7bGzDOr0Ae7ZrNO3w5elk6gm5w7ryNSrNoQIgJ4F1hcWEKVisYId/VLRhfNAl+Cj4DvSzmylwyKUPVso=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108587},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c7907c35827d1dc1bed409c4c245dc67dbde3e42","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsc","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"9.2.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.4.2","@typescript-eslint/parser":"^7.0.1","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.0_1745828305691_0.3610807397225495","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@anushase/json-form-builder","version":"1.1.1","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"Anusha Se"},"license":"MIT","_id":"@anushase/json-form-builder@1.1.1","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"830dc5d388a04d315295c55fc3660de7d064570b","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.1.tgz","fileCount":10,"integrity":"sha512-q/hPgpjcpk4jQ7tSiy0r9qfbHiwuh7mapbNTouCE+/rope1t6kiHg7UjXrrInu10tZq/vmvbzrDYfuONQLQ7OQ==","signatures":[{"sig":"MEYCIQDH6qq06RxAZBWahXz5HInnB0df56+9dh4lwdHnOSh9tAIhAPRM4rDGXZJJ6Dc3B72GMZRYwWznPKcOTRU5kQ+X7o1P","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130860},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","module":"dist/JsonFormBuilder.esm.js","gitHead":"449651d76de300fda67cdafcb8b6abca4cc20cf5","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"9.2.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"18.19.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.4.2","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.1_1745929009865_0.35060279881396217","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@anushase/json-form-builder","version":"1.1.2","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"Anusha Se"},"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.1.2","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"afe57a4112e9beb6c4da9ebabedf9d7ab7f05d55","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.2.tgz","fileCount":11,"integrity":"sha512-Ixe6rxUJkDSUcFVDg6N7BvOcxEKRAupQqE+/oe06nS8DEduXz32Kaxxzz6aejoyZ9ChZFAxb/njPJ0L9OIyB8w==","signatures":[{"sig":"MEUCIQCU8h6d5u0loBoV+Fnbbg9WBNOUWx4ucV3hmfMpp68BtwIgXGhKxrgWMXBnHkpPZy5dHWeq2cbyPCER+7Rrj/mfoKo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195137},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","module":"dist/JsonFormBuilder.esm.js","gitHead":"c97e58fec8857e85a72080a1bd474ce601853824","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","actor":{"name":"anushase","type":"user","email":"sunkadaeanusha@gmail.com"},"email":"sunkadaeanusha@gmail.com"},"_npmVersion":"11.3.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.2_1750384907153_0.9593393865132274","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@anushase/json-form-builder","version":"1.1.3","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"Anusha Se"},"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.1.3","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"4275329d06d92692efda72f229b753f7ad16cc9f","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.3.tgz","fileCount":11,"integrity":"sha512-JgOofOdVKWxaZTNXuiLzt33Ytsfx4bzHEK45zsbWMKle807k8h0LMD3GeONdkiBEMJA7TyrJmN7ihpoH0i6aYA==","signatures":[{"sig":"MEYCIQCSxXqSqC8nU0tWEzsskuNmuGdWI2WuKjwP14+UWv6INAIhAKZe+Py4Zq5JabTfBNwbZ5qNsmqgHLjw67UeMD49SalM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":225714},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","module":"dist/JsonFormBuilder.esm.js","gitHead":"d15e2dd28d19101c833f54451506d34d31d1d0a1","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"11.3.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.3_1752426910082_0.4670112604429004","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@anushase/json-form-builder","version":"1.1.4","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"MOSIP"},"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.1.4","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"169a9741620123fe43636e4e54a2d2028227ebac","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.4.tgz","fileCount":23,"integrity":"sha512-ld6eVcMLdWLHIZHRMk60GIwV8NqISYNsngmvVRMWmuyR3HkVKTAPNjUc0HYo/ahCoRPFYsHB+ayKz25OFvvr5A==","signatures":[{"sig":"MEQCIA1b8JQEoMQ70/xsdGw0JfMJrQEqbylEdt94jp5bYzUIAiAxkSAyCDn7p8td33e+Ew+7fRNdDCFP5oLDpz9glzvalg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":237836},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","module":"dist/JsonFormBuilder.esm.js","gitHead":"0c3c5c13904ae7182c6cb99b279c27ec17713e78","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"11.3.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.4_1753088580343_0.5579386358182221","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@anushase/json-form-builder","version":"1.1.5","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"MOSIP"},"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.1.5","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"5ba2e456c1868d9a8503482ea8d7d5073b86f501","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.5.tgz","fileCount":24,"integrity":"sha512-1CKEz48s0DHwX5TVzyWdtva7Up6BXVU53qBi+cUrFnlm6Apv0g/277UvRiu0Y9ApePBom8vEmRK9X+jc7iqsSQ==","signatures":[{"sig":"MEQCIF1/sUgz747vCv3srhf7+Q2y0ZMpBroVGOuvi0S2QezFAiAbwg/RtYX6gzpdoM7YhF3VNIYFkP69SFT3qR2PZyFYpg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277608},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","watch":{"build":{"patterns":["src"],"extensions":"ts"}},"module":"dist/JsonFormBuilder.esm.js","gitHead":"bffbc58fba251be98dfd6921197e33884da0e8e7","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","watch":"npm-watch","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"11.3.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","npm-watch":"^0.13.0","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.5_1760446223978_0.0008736453870150651","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@anushase/json-form-builder","version":"1.1.6","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"MOSIP"},"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.1.6","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"2705184ce6a34284d2e9f86f4cd50e2b8f04a964","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.6.tgz","fileCount":24,"integrity":"sha512-jGG+IHXCQBJnXBYL4jFZ2nA2gLwcVyhmeNL2IuVbih2rTCD0Q2g9U90DOAgzwSdms9chEto0XMgytRV6fFeM3Q==","signatures":[{"sig":"MEUCIQCapgI9uv3KJ1GgXQOTNCql35+GBOmuAj/GBJqqOQHM0wIgTfJTvRktNcbC1uBV5FXqbMN1We4jnTKpTlJClOE5xFg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":284290},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","watch":{"build":{"patterns":["src"],"extensions":"ts"}},"module":"dist/JsonFormBuilder.esm.js","gitHead":"a06607bbd9a7e2c4fb64a7b03fa8cd04e743a64e","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","watch":"npm-watch","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"11.3.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","npm-watch":"^0.13.0","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.6_1761219553298_0.5433979033948542","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@anushase/json-form-builder","version":"1.1.7","keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"MOSIP"},"license":"MPL-2.0","_id":"@anushase/json-form-builder@1.1.7","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"dist":{"shasum":"4203cc3d420de92d78c63f32d4ceb7a5e07884bc","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.7.tgz","fileCount":24,"integrity":"sha512-KmqlOAldAVCjNaVo1TblOIFaGpcbEx/r1cj1DDlS+iUUogYFZlyxKy2YxqjKmDx0hrXbCBbf9yJ4Dk0KFdBCJg==","signatures":[{"sig":"MEQCIHP3e+Kqxd2KNKntwmnLfK6vxEPscUJtELHami/XdZt7AiBnAvzi3aYiTYQR3KK1Odzq10O/Q+WSn0L542mhGAqO/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":284038},"main":"dist/JsonFormBuilder.umd.js","types":"dist/JsonFormBuilder.d.ts","watch":{"build":{"patterns":["src"],"extensions":"ts"}},"module":"dist/JsonFormBuilder.esm.js","gitHead":"f2b4c328d34b94d534964700911b74413ce67264","scripts":{"dev":"rollup -c -w","lint":"eslint src/**/*.ts","test":"jest","build":"rimraf dist && rollup -c","watch":"npm-watch","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint"},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"_npmVersion":"11.3.0","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^8.56.0","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","prettier":"^3.2.5","npm-watch":"^0.13.0","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/parser":"^7.0.1","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.1"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/json-form-builder_1.1.7_1761230988439_0.6581061088037181","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"@anushase/json-form-builder","version":"1.1.8","description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","main":"dist/JsonFormBuilder.umd.js","module":"dist/JsonFormBuilder.esm.js","types":"dist/JsonFormBuilder.d.ts","scripts":{"storybook":"storybook dev -p 6006","build-storybook":"build-storybook","build":"rimraf dist && rollup -c","dev":"rollup -c -w","test":"jest","lint":"eslint src/**/*.ts","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","prepublishOnly":"npm run lint","watch":"npm-watch"},"watch":{"build":{"patterns":["src"],"extensions":"ts"}},"keywords":["form","builder","json","multilingual","validation","responsive"],"author":{"name":"MOSIP"},"license":"MPL-2.0","devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@storybook/addon-essentials":"^8.6.14","@storybook/addon-interactions":"^8.6.14","@storybook/cli":"^8.6.14","@storybook/react-vite":"^8.6.14","@testing-library/jest-dom":"^6.6.3","@types/jest":"^29.5.12","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","@typescript-eslint/eslint-plugin":"^7.0.1","@typescript-eslint/parser":"^7.0.1","eslint":"^8.56.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","npm-watch":"^0.13.0","prettier":"^3.2.5","rimraf":"^5.0.5","rollup":"^4.9.6","ts-jest":"^29.1.2","tslib":"^2.8.1","typescript":"^5.3.3","vite":"^6.3.6"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"date-fns":"^4.1.0"},"_id":"@anushase/json-form-builder@1.1.8","gitHead":"5642ed310d88e3c3364c57aedc7ccf53ddfd95d4","_nodeVersion":"24.2.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-hb0pfvToaeXiSNdeeJI0Ps8La0KgjXleTeYF/a+rX0ZAF9hFSHTbjejNyJCRBtSRQfbA1q0JY0VQWtT6vetAlg==","shasum":"3ff82a4cff1efb085b8d61f1d6b2b7a7a48cc9f4","tarball":"https://registry.npmjs.org/@anushase/json-form-builder/-/json-form-builder-1.1.8.tgz","fileCount":25,"unpackedSize":602383,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC18qFH/x7O/Kj7L+5l8dbLXCInm6HfMZGXYJ+erCTiLQIgOdoLIhytgR9omHZtzQUjjjzDtsvGIzf1LEgoQrcfoik="}]},"_npmUser":{"name":"anushase","email":"sunkadaeanusha@gmail.com"},"directories":{},"maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/json-form-builder_1.1.8_1762308072358_0.9224348735960084"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-10T18:41:58.526Z","modified":"2025-11-05T02:01:12.826Z","1.0.0":"2025-04-10T18:41:58.843Z","1.1.0":"2025-04-28T08:18:25.874Z","1.1.1":"2025-04-29T12:16:50.060Z","1.1.2":"2025-06-20T02:01:47.322Z","1.1.3":"2025-07-13T17:15:10.259Z","1.1.4":"2025-07-21T09:03:00.528Z","1.1.5":"2025-10-14T12:50:24.171Z","1.1.6":"2025-10-23T11:39:13.501Z","1.1.7":"2025-10-23T14:49:48.620Z","1.1.8":"2025-11-05T02:01:12.626Z"},"author":{"name":"MOSIP"},"license":"MPL-2.0","keywords":["form","builder","json","multilingual","validation","responsive"],"description":"A dynamic JSON form builder with multi-language support, validation, and responsive design","maintainers":[{"name":"anushase","email":"sunkadaeanusha@gmail.com"}],"readme":"# JSON Form Builder\n\nA flexible and customizable form builder that creates forms from JSON configuration. Supports multiple languages, RTL layouts, and Google reCAPTCHA integration.\n\n## Features\n\n- Create forms from JSON configuration\n- Support for multiple languages\n- RTL language support\n- Responsive design\n- Field validation\n- Google reCAPTCHA integration\n- Customizable styling\n\n## Installation\n\n```bash\nnpm install json-form-builder\n```\n\n## Usage\n\n### Basic Usage\n\n```javascript\nimport { JsonFormBuilder } from \"anushase@json-form-builder\";\n\nconst config = {\n  schema: [\n    {\n      id: \"name\",\n      controlType: \"textbox\",\n      label: {\n        eng: \"Name\",\n        fra: \"Nom\",\n      },\n      placeholder: {\n        eng: \"Enter your name\",\n        fra: \"Entrez votre nom\"\n      },\n      capsLockCheck: true,\n      validator: [\n        {\n          regex: \"^[a-zA-Z]{4,35}$\",\n          error: {\n            eng: \"Name should contain letters and must be of length between 4 to 35\",\n            fra: \"Le nom doit contenir des lettres et doit avoir une longueur comprise entre 4 et 35\"\n          }\n        }\n      ],\n      info: {\n        eng: \"Your name should contain letters only and should be of length between 4 to 35\",\n        fra: \"Votre nom doit contenir uniquement des lettres et doit avoir une longueur comprise entre 4 et 35\"\n      }\n      required: true,\n    },\n    // ... more fields\n  ],\n  errors: {\n    required: {\n      eng: \"This field is required\",\n      fra: \"Ce champ est obligatoire\",\n    },\n    capsLock: {\n      eng: \"Caps Lock is on\",\n      fra: \"Verr Maj activé\"\n    }\n  },\n  language: {\n    mandatory: [\"eng\"],\n    optional: [\"fra\"],\n    langCodeMap: {\n      eng: \"en\",\n      fra: \"fr\",\n    },\n  },\n};\n\nconst additionalConfig = {\n  submitButton: {\n    label: \"Submit\",\n    action: (data) => {\n      console.log(\"Form data:\", data);\n    },\n  },\n  language: {\n    currentLanguage: \"fra\",\n    defaultLanguage: \"eng\",\n    showLanguageSwitcher: true,\n  },\n  recaptcha: {\n    siteKey: \"your-recaptcha-site-key\",\n    enabled: true,\n    language: \"eng\",\n  },\n};\n\nconst formBuilder = JsonFormBuilder(config, \"form-container\", additionalConfig);\nformBuilder.render();\n```\n\n## Configuration\n\n### Form Configuration\n\nThe form configuration object (`config`) has the following structure:\n\n```typescript\ninterface FormConfig {\n  schema: FormField[];\n  language: LanguageSettings;\n  allowedValues?: AllowedValues;\n  errors?: Errors;\n}\n```\n\n### Additional Configuration\n\nThe additional configuration object has the following structure:\n\n```typescript\ninterface AdditionalConfig {\n  submitButton: {\n    label: string;\n    action: (data: FormData) => void;\n  };\n  language?: {\n    currentLanguage?: string;\n    defaultLanguage?: string;\n    showLanguageSwitcher?: boolean;\n    languageSwitcherPosition?: \"top\" | \"bottom\";\n    availableLanguages?: string[];\n    rtlLanguages?: string[];\n  };\n  recaptcha?: {\n    siteKey: string;\n    enabled?: boolean;\n    language?: string;\n  };\n  additionalSchema?: {\n    // additional schema is for passing some schema's label & placeholder on later\n    // stage of form rendering, here id will be the same id given in the schema\n    [id: string]: {\n      label: Label;\n      placeholder: Label;\n    };\n  }\n}\n```\n\n## reCAPTCHA Integration\n\nThe form builder supports Google reCAPTCHA v2 integration. To enable reCAPTCHA:\n\n1. Add the reCAPTCHA configuration to your `additionalConfig`:\n\n```javascript\nrecaptcha: {\n  siteKey: 'your-recaptcha-site-key', // Required\n  enabled: true,                      // Optional, defaults to true\n  language: 'en'                      // Optional, defaults to form's current\n}\n```\n\n2. The reCAPTCHA widget will be automatically rendered in the form\n3. The reCAPTCHA token will be included in the form data as `recaptchaToken`\n4. The widget will automatically update its language when the form language changes\n\n### reCAPTCHA Features\n\n- Responsive design that scales appropriately on different screen sizes\n- Automatic language synchronization with the form\n- Proper cleanup and recreation when language changes\n- Validation before form submission\n- Error handling for failed initialization\n\n## Field Types\n\nThe form builder supports the following field types:\n\n- Textbox (single language)\n- Textbox (multiple languages)\n- Password\n- Date\n- Dropdown\n- Checkbox\n\n## Validation\n\nFields can be validated using regular expressions:\n\n```javascript\n{\n  id: 'email',\n  controlType: 'textbox',\n  label: { eng: 'Email', fra: 'E-mail' },\n  required: true,\n  validators: [\n    {\n      regex: '^[^@]+@[^@]+\\\\.[^@]+$',\n      error: {\n        eng: 'Invalid email format',\n        fra: \"Format d'e-mail invalide\",\n      }\n    }\n  ]\n}\n```\n\n## RTL Support\n\nThe form builder automatically handles RTL layouts for specified languages:\n\n```javascript\nlanguage: {\n  rtlLanguages: [\"ara\", \"ar\", \"he\", \"fa\", \"ur\"];\n}\n```\n\n## Methods\n\n- `render()`: Renders the form\n- `getFormData()`: Returns the current form data\n- `updateLanguage(newLanguage: string, submitButtonLabel: string, additonalSchema?: AdditionalSchema)`: Updates the form fields, submit button and reCAPTCHA language\n\n## Styling\n\nThe form builder comes with default styles but can be customized using CSS. The main classes are:\n\n- `.form`: The main form container\n- `.form-group`: Groups of fields\n- `.form-field`: Individual field container\n- `.form-field-group`: Container for multi-language fields\n- `.input_box`: Input elements\n- `.language-switcher`: Language selection container\n- `.recaptcha-container`: reCAPTCHA widget container\n- `.password-container`: Password container\n- `.password-eye-icon`: Eye icon of password input\n- `.checkbox-container`: Checkbox Container\n- `.info-container`: Info icon container\n- `.info-icon`: Info icon besides Input Label\n- `.info-detail`: Info box open after clicking Info icon\n- `.info-detail-arrow`: Small arrow comes with Info box\n- `.label-div-display`: Label container div which contain label, info icon & caps lock info\n- `.caps-lock-span`: Caps lock container\n- `.caps-lock-icon`: Caps lock icon\n- `.caps-lock-text`: Caps lock text\n\n\n## Browser Support\n\n- Chrome (latest)\n- Firefox (latest)\n- Safari (latest)\n- Edge (latest)\n\n## Development\n\n### Prerequisites\n\n- Node.js (v16 or higher)\n- npm (v7 or higher)\n\n### Setup\n\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n### Build\n\nThe project uses Rollup for building. To build the library:\n\n```bash\nnpm run build\n```\n\nThis will generate:\n\n- UMD bundle (`dist/JsonFormBuilder.umd.js`)\n- ESM bundle (`dist/JsonFormBuilder.esm.js`)\n- Source maps for both bundles\n- TypeScript declaration files\n\n### Development with an actual Application\n#### This should be used only in local for development purpose only\n\n1. First link the current `json-form-builder` library, with below command\n    ```bash\n    npm link\n    ```\n2. Now go to the application, where you want to use `json-form-builder` library, and run the below command\n    ```bash\n    npm link @anushase/json-form-builder\n    ```\n3. This will create a link between the library and application, after that if any changes has been done in the library, just run the below command and it will reflect in the application as well\n    ```bash\n    npm run build\n    ```\n\n### Development Mode\n\nFor development with watch mode:\n\n```bash\nnpm run dev\n```\n\n### Testing\n\n```bash\nnpm test\n```\n\n### Linting\n\n```bash\nnpm run lint\n```\n\n### Formatting\n\n```bash\nnpm run format\n```\n\n## License\n\nMPL\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","readmeFilename":"README.md"}