{"_id":"@bizmate-oss/svelte-formly","_rev":"7-5c556ff53b8d5be92547fad58ad61663","name":"@bizmate-oss/svelte-formly","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.1":{"name":"@bizmate-oss/svelte-formly","version":"2.0.1","keywords":["svelte","sveltejs","svelte-v3","svelte-framework","svelte-formly","svelte-form","svelte-forms","svelte-form-validations","svelte-form-validation","svelte-form-validators","svelte-form-validator","svelte-formly-validations","svelte-formly-validation","svelte-formly-validators","svelte-formly-validator","svelte-validations","svelte-validation","svelte-validators","svelte-validator","form","forms","formly","validations","validation","validators","validator"],"author":{"name":"Kamal Sahmoud"},"license":"MIT","_id":"@bizmate-oss/svelte-formly@2.0.1","maintainers":[{"name":"webfrank","email":"webfrank@gmail.com"}],"contributors":[{"name":"Kamal Sahmoud"}],"homepage":"https://github.com/dyaliCode/svelte-formly#readme","bugs":{"url":"https://github.com/dyaliCode/svelte-formly/issues"},"dist":{"shasum":"d096b37af9770639d36b4f215c8bb8f9a93a774f","tarball":"https://registry.npmjs.org/@bizmate-oss/svelte-formly/-/svelte-formly-2.0.1.tgz","fileCount":61,"integrity":"sha512-984Axvr8LslBm5hhDJ+lPN0k8Qhu+V//QN7NxKAebjdJoWbIzmUe5q3WFaMNPVmW2pQ9ywZcOHRWdHBWS8O/zg==","signatures":[{"sig":"MEUCIHQnZfRAykoX4Ku1JDKYPH8WCIidZ/lq7uOlUj8UTWLZAiEA5lSbC9pFJaT5lavEL9bFO4NwehrQQKeeI3szPG/9twM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi38NTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEcQ/+PrqxAE3BH9xxAVYShaWXoFD0kDdN93c7FMk55kYJXHe1ljQo\r\nTF0F2lVXeyfDEUkq64kIYx4xccrUX2NjEmz3Uo4hubf1iK4kIDqRP1WTB9XV\r\npkmh+pcrkan86L8wrdfnuZEdRJmwJC3OCaiihCgkyh8OkvIT7eObJKw8Gg+D\r\n2LzrZt76vZNCvxkHmmXJXR4KuKVLbwKyZQUumdMDOybCmn1YlI8v0tFDj02Z\r\nU/3GF5t8ukB7ZDORtcmhlj/PwBtud4keGL/YmaBY1QVGJBZxwwSEbBCo9gPv\r\nwEMPi32U0J/clzotqcKylkZuhBBvpYMzJ5hDqzRlRyV+QB5VMlD84+icVHHc\r\nL4WZv7k2+dGOW1+jNWlcgMU73Z+jOeqb596x09OoVwHHw/rGDUZTbvgErLmu\r\n/R8qYuQfli+o+g8N67iIP1BuCG2NIO8DQdHS93qZewt0y8xQiXsY4Hrjqxgv\r\nOGBC5oCAR8YM4Gw2Z6hGQNSD1R7vo/MEbp5EEOoIEZ8sRfRhqXaJXP5ylHPo\r\ncrN7+fe8d8j3Yo891JagKRAuhIR5vSmGxhcy/8g8fTsqct/iXtdsTEMYCN7Z\r\nMOBn3aSCW2LA9CyPKh/ggDixpUhiHY/wRb21V4oaFbKLtWehFs+3sK5Rfrpx\r\nogFDsJETf1aaHIJH5GJTwJXZpebi+F7qlDs=\r\n=hhE7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":"./index.js","./utils":"./utils/index.js","./utils/form":"./utils/form.js","./utils/types":"./utils/types.js","./package.json":"./package.json","./utils/helper":"./utils/helper.js","./utils/stores":"./utils/stores.js","./utils/validation":"./utils/validation/index.js","./components/Tag.svelte":"./components/Tag.svelte","./utils/validation/rules":"./utils/validation/rules/index.js","./components/Dirty.svelte":"./components/Dirty.svelte","./components/Error.svelte":"./components/Error.svelte","./components/Label.svelte":"./components/Label.svelte","./components/Formly.svelte":"./components/Formly.svelte","./components/Message.svelte":"./components/Message.svelte","./utils/validation/rules/max":"./utils/validation/rules/max.js","./utils/validation/rules/min":"./utils/validation/rules/min.js","./utils/validation/rules/url":"./utils/validation/rules/url.js","./utils/validation/rules/file":"./utils/validation/rules/file.js","./utils/validation/rules/email":"./utils/validation/rules/email.js","./utils/validation/rules/equal":"./utils/validation/rules/equal.js","./components/fields/File.svelte":"./components/fields/File.svelte","./components/fields/Input.svelte":"./components/fields/Input.svelte","./components/fields/Radio.svelte":"./components/fields/Radio.svelte","./utils/validation/rules/between":"./utils/validation/rules/between.js","./components/fields/Select.svelte":"./components/fields/Select.svelte","./utils/validation/rules/required":"./utils/validation/rules/required.js","./components/fields/Checkbox.svelte":"./components/fields/Checkbox.svelte","./components/fields/Textarea.svelte":"./components/fields/Textarea.svelte","./components/fields/AutoComplete.svelte":"./components/fields/AutoComplete.svelte"},"gitHead":"b228da447d9677f8d5c584a0fa3160ab4f88e90f","_npmUser":{"name":"webfrank","email":"webfrank@gmail.com"},"repository":{"url":"git+https://github.com/dyaliCode/svelte-formly.git","type":"git"},"_npmVersion":"8.13.2","description":"<p align=\"center\">   <img width=\"100%\" height=\"300\" src=\"./logo.png\" alt=\"Svelte Formly\" /> </p>","directories":{},"_nodeVersion":"18.4.0","dependencies":{"bulma":"^0.9.4","open-props":"^1.4.3","@picocss/pico":"^1.5.3","svelte-formly-light":"^0.0.7"},"_hasShrinkwrap":false,"devDependencies":{"sass":"^1.53.0","vite":"^3.0.0","tslib":"^2.3.1","eslint":"^8.16.0","svelte":"^3.44.0","prettier":"^2.6.2","svelte2tsx":"^0.5.12","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@playwright/test":"^1.22.2","svelte-preprocess":"^4.10.6","eslint-plugin-svelte3":"^4.0.0","@sveltejs/adapter-auto":"next","eslint-config-prettier":"^8.3.0","prettier-plugin-svelte":"^2.7.0","@typescript-eslint/parser":"^5.27.0","@typescript-eslint/eslint-plugin":"^5.27.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-formly_2.0.1_1658831699586_0.8411686231922182","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@bizmate-oss/svelte-formly","version":"2.0.2","keywords":["svelte","sveltejs","svelte-v3","svelte-framework","svelte-formly","svelte-form","svelte-forms","svelte-form-validations","svelte-form-validation","svelte-form-validators","svelte-form-validator","svelte-formly-validations","svelte-formly-validation","svelte-formly-validators","svelte-formly-validator","svelte-validations","svelte-validation","svelte-validators","svelte-validator","form","forms","formly","validations","validation","validators","validator"],"author":{"name":"Kamal Sahmoud"},"license":"MIT","_id":"@bizmate-oss/svelte-formly@2.0.2","maintainers":[{"name":"webfrank","email":"webfrank@gmail.com"}],"contributors":[{"name":"Kamal Sahmoud"}],"homepage":"https://github.com/bizmate-oss/svelte-formly#readme","bugs":{"url":"https://github.com/bizmate-oss/svelte-formly/issues"},"dist":{"shasum":"f9d9755b6888827b552e590d106b1cb08c64a049","tarball":"https://registry.npmjs.org/@bizmate-oss/svelte-formly/-/svelte-formly-2.0.2.tgz","fileCount":61,"integrity":"sha512-UaJLc9XPGamV55fhS6qYpM3i+fa/87wxSzzucIVaho3rT0Wj25hzdFu1ZaRtmHFWn7IM7jN3BhMhaxqfkKsXAg==","signatures":[{"sig":"MEUCIC/VX0SJB4HWBbynCiEMFEAi0fUmasjPoZnaddFMfmlJAiEAuQ92NXGD4IjB1vovx6aY8vujMv4r/IhJ6Kl51hHWL4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3+Y0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9tQ//aTxZfFOIbv/Xlw8TFfjNIlH37+qjhhBSRCMBKnRADm5FtrJL\r\n6B0lvtNLhukHZDVkjtY/9Lne3DJR4gtXVvP4L3ZFzQMbvcr7LKosGWEye4TE\r\nApo5rWyAWsXiVu2av75n1j4iZ4UGywMtv2DaIMlJCencGilFY5DJ5PauZ9K0\r\nhZbS5vNzUiJtR8sBH1kDFkN/MhsU30yGz9vHk21NW76N+huztrApNvMEU+Wg\r\nc7oh7osr2NU/UJO7oMLyNSgpxVgvxWwK5FJ6vxdtoe/wyKHad0N4OviTCVAU\r\nU4rxK6lR6yYEZoznCiB1AB27OswxMCavygWwX+e5cgef7IgWpTGbUlqotpT7\r\nKJpsjMi0lLtAICtGnE6i4Qc4ELEoKj0KIE4lI3UjIEj5/uCQUatKxxI8ZsRv\r\ndbRccs6pMNeCCllLfV7fZfR0bAO/Mc7ox9o9lfYI+/lz109+zAKu2YZ6epKu\r\nUZYNvsiB5bj6zzzHD3YheFO61NR8UW58bnYDtbu7cd0aBnS/uJ3zUtUXhxZC\r\nBW+vHxGdTbh4xW3Jm7eaF30AiqQV5EnO+6KXOFf37L6vbBdl7keXWlJzDo5J\r\nkhmVCY00TXPcqi93EwjMhRoXhnZEkedjLyqtpofCSHtApPvPfdBy5l1cRvaq\r\nOxKWyKwR7XZzXeixaUeCKdSwBG7IOr1OTvg=\r\n=IWOG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":"./index.js","./utils":"./utils/index.js","./utils/form":"./utils/form.js","./utils/types":"./utils/types.js","./package.json":"./package.json","./utils/helper":"./utils/helper.js","./utils/stores":"./utils/stores.js","./utils/validation":"./utils/validation/index.js","./components/Tag.svelte":"./components/Tag.svelte","./utils/validation/rules":"./utils/validation/rules/index.js","./components/Dirty.svelte":"./components/Dirty.svelte","./components/Error.svelte":"./components/Error.svelte","./components/Label.svelte":"./components/Label.svelte","./components/Formly.svelte":"./components/Formly.svelte","./components/Message.svelte":"./components/Message.svelte","./utils/validation/rules/max":"./utils/validation/rules/max.js","./utils/validation/rules/min":"./utils/validation/rules/min.js","./utils/validation/rules/url":"./utils/validation/rules/url.js","./utils/validation/rules/file":"./utils/validation/rules/file.js","./utils/validation/rules/email":"./utils/validation/rules/email.js","./utils/validation/rules/equal":"./utils/validation/rules/equal.js","./components/fields/File.svelte":"./components/fields/File.svelte","./components/fields/Input.svelte":"./components/fields/Input.svelte","./components/fields/Radio.svelte":"./components/fields/Radio.svelte","./utils/validation/rules/between":"./utils/validation/rules/between.js","./components/fields/Select.svelte":"./components/fields/Select.svelte","./utils/validation/rules/required":"./utils/validation/rules/required.js","./components/fields/Checkbox.svelte":"./components/fields/Checkbox.svelte","./components/fields/Textarea.svelte":"./components/fields/Textarea.svelte","./components/fields/AutoComplete.svelte":"./components/fields/AutoComplete.svelte"},"gitHead":"bd17485f4f932e258acce84a9d2d626b754548b5","_npmUser":{"name":"webfrank","email":"webfrank@gmail.com"},"repository":{"url":"git+https://github.com/bizmate-oss/svelte-formly.git","type":"git"},"_npmVersion":"8.13.2","description":"<p align=\"center\">   <img width=\"100%\" height=\"300\" src=\"./logo.png\" alt=\"Svelte Formly\" /> </p>","directories":{},"_nodeVersion":"18.4.0","dependencies":{"bulma":"^0.9.4","open-props":"^1.4.3","@picocss/pico":"^1.5.3"},"_hasShrinkwrap":false,"devDependencies":{"sass":"^1.53.0","vite":"^3.0.0","tslib":"^2.3.1","eslint":"^8.16.0","svelte":"^3.44.0","prettier":"^2.6.2","svelte2tsx":"^0.5.12","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@playwright/test":"^1.22.2","svelte-preprocess":"^4.10.6","eslint-plugin-svelte3":"^4.0.0","@sveltejs/adapter-auto":"next","eslint-config-prettier":"^8.3.0","prettier-plugin-svelte":"^2.7.0","@typescript-eslint/parser":"^5.27.0","@typescript-eslint/eslint-plugin":"^5.27.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-formly_2.0.2_1658840627949_0.7863141807118461","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-07-26T10:34:59.523Z","modified":"2025-11-27T08:43:36.413Z","2.0.1":"2022-07-26T10:34:59.792Z","2.0.2":"2022-07-26T13:03:48.139Z"},"bugs":{"url":"https://github.com/bizmate-oss/svelte-formly/issues"},"author":{"name":"Kamal Sahmoud"},"license":"MIT","homepage":"https://github.com/bizmate-oss/svelte-formly#readme","keywords":["svelte","sveltejs","svelte-v3","svelte-framework","svelte-formly","svelte-form","svelte-forms","svelte-form-validations","svelte-form-validation","svelte-form-validators","svelte-form-validator","svelte-formly-validations","svelte-formly-validation","svelte-formly-validators","svelte-formly-validator","svelte-validations","svelte-validation","svelte-validators","svelte-validator","form","forms","formly","validations","validation","validators","validator"],"repository":{"url":"git+https://github.com/bizmate-oss/svelte-formly.git","type":"git"},"description":"<p align=\"center\">   <img width=\"100%\" height=\"300\" src=\"./logo.png\" alt=\"Svelte Formly\" /> </p>","contributors":[{"name":"Kamal Sahmoud"}],"maintainers":[{"email":"webfrank@gmail.com","name":"webfrank"},{"email":"daniele.invincibile@bizmate.it","name":"daniele.invincibile"}],"readme":"<p align=\"center\">\n  <img width=\"100%\" height=\"300\" src=\"./logo.png\" alt=\"Svelte Formly\" />\n</p>\n\n# Svelte Formly\n\nby [@kamalkech](https://github.com/kamalkech)\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com) [![CircleCI](https://circleci.com/gh/beyonk-adventures/svelte-component-livereload-template.svg?style=shield)](https://circleci.com/gh/beyonk-adventures/svelte-component-livereload-template) [![svelte-v3](https://img.shields.io/badge/svelte-v3-blueviolet.svg)](https://svelte.dev)\n\n## Introduction\n\n- ⚡️ Generate dynamic and reactive forms.\n- 😍 Easy to extend with custom field type, custom validation.\n\n## Documentation\n\n[Link Documentation](https://svelte-formly-ts-documentation.netlify.app)\n\n## Quick Installation\n\n```shell\nnpm install svelte-formly\n```\n\n## Usage\n\n```typescript\n<script lang=\"ts\">\n\timport { Formly, type IField } from 'svelte-formly';\n\n\tconst form_name = 'formly_usage';\n\tconst fields: IField[] = [\n\t\t{\n\t\t\ttype: 'input', // required\n\t\t\tname: 'firstname', // required\n\t\t\tattributes: {\n\t\t\t\ttype: 'text',\n\t\t\t\tid: 'firstname', // required\n\t\t\t\tclasses: ['form-control'],\n\t\t\t\tplaceholder: 'Tap your first name'\n\t\t\t},\n\t\t\trules: ['required', 'min:3', 'max:10'],\n\t\t\tmessages: {\n\t\t\t\trequired: 'The firstname is required',\n\t\t\t\tmin: 'Your firstname is too short min=3',\n\t\t\t\tmax: 'Your firstname is too long max=10'\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\ttype: 'input', // required\n\t\t\tname: 'password', // required\n\t\t\tattributes: {\n\t\t\t\ttype: 'password',\n\t\t\t\tid: 'password', // required\n\t\t\t\tclasses: ['form-control'],\n\t\t\t\tplaceholder: 'Tap your password',\n\t\t\t\tautocomplete: 'off'\n\t\t\t},\n\t\t\trules: ['required', 'min:6', 'max:10'],\n\t\t\tmessages: {\n\t\t\t\trequired: 'The password is required',\n\t\t\t\tmin: 'Your password is too short min=6',\n\t\t\t\tmax: 'Your password is too long max=10'\n\t\t\t}\n\t\t}\n\t];\n\n\tconst onSubmit = ({ detail }: any) => {\n\t\tconsole.log('values:', detail);\n\t};\n</script>\n\n<Formly {fields} {form_name} on:submit={onSubmit} />\n```\n","readmeFilename":"README.md"}