On the previous version, you supplied the FormValidation.io TypeScript bindings, however I can't see them anywhere in the src -> plugins -> @form-validation folder
Are these still available, if so can you supply and please include in the future releases
Thanks
Hi,
We haven't removed the FormValidation.io TypeScript bindings. The folder structure may have been updated, and you can check within each folder for the TypeScript bindings.
Please refer to the documentation for the most accurate and up-to-date information:
https://formvalidation.io/guide/getting-started/
If you have any further questions or concerns, feel free to reach out. Thank you for your understanding!
Thats not quite true, in Metronic 7, you supplied both the dist and src directories for FormValidation, the source is in TypeScript, the dist is in JS
You supplied the TypeScript bindings previously as a file global.d.ts, however I struggle to determine if this was ever included in the src, but it was supplied by yourselves on request previously in 2021
With regards to the current Metronic 8 distributions, there is no global.d.ts and indeed no .ts files in any part of the current formvaliidation src
Can you determine if the file is available from the developer?
Hi,
Current Metronic 8.2.3 provides the latest version of the form-validation plugin with a full source code. Due to a recent file structure change https://formvalidation.io/updates/ the global.d.ts probably was removed.
I will double-check with the plugin's author and clarify missing global.d.ts.
Regards.
Hi,
Please check the reply from the plugin author:
=============
Hi,
Yes! In the latest release, all the packages are now available on NPM. And each of them comes with a separated TypeScript definition file.
It's easier for me to maintain the TypeScript definitions in that way.
Check 23 Apr, 2023 release: https://formvalidation.io/updates/
Best,
Phuoc
I assume since formvalidation is a paid for component and only you have the required key to download the npm's) and we as purchasers of Metronic don't have access to those npm feeds.
It should therefore be down to keen themes to ensure the files are included as part of the distribution.
Hi,
The TS resources are available for free and you can access them: https://www.npmjs.com/package/@form-validation/bundle
In the next update we will put the packages links in the docs. Appreciate your feedback!
Regards.