opnform-host-nginx/client/components/open/forms
Chirag Chhatrala 37a10cbdfa
Add regex matching filters to open_filters.json (#722)
* Add regex matching filters to open_filters.json

- Introduce new regex-based filters: matches_regex and does_not_match_regex
- Add support for string-based regex matching in both API and client filter configurations
- Update filter schemas to include new regex filter options with expected string type

* Add barcode comparators and regex filters to open_filters.json and validatePropertiesLogic.js

- Introduce new barcode comparators: equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty, matches_regex, does_not_match_regex, content_length_equals, content_length_does_not_equal, content_length_greater_than, content_length_greater_than_or_equal_to, content_length_less_than, content_length_less_than_or_equal_to.
- Add regex matching filters: matches_regex and does_not_match_regex to open_filters.json.
- Remove console log statements from validatePropertiesLogic.js and FormPropertyLogicRule.js for cleaner code.

This update enhances the filtering capabilities and improves the validation logic by removing unnecessary debug outputs.

* Refactor Vue Components for Improved Readability and Consistency

- Update CameraUpload.vue to enhance formatting and maintain consistent indentation for better readability.
- Modify OpenFormField.vue to improve tooltip component formatting, ensuring consistent styling across the application.
- Refactor FormSecurityAccess.vue to enhance the layout of the conditional rendering for captcha providers.
- Adjust RegisterForm.vue to improve the formatting of the terms and conditions section, ensuring consistent indentation and readability.

These changes aim to enhance code maintainability and visual consistency across the components, contributing to a cleaner codebase.

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2025-03-15 13:55:42 +08:00
..
components Add regex matching filters to open_filters.json (#722) 2025-03-15 13:55:42 +08:00
fields Billing flow redirect (#713) 2025-03-05 19:16:33 +08:00
FormTimer.vue refactor(FormTimer.vue): change timer variable from let to ref for reactivity 2024-09-19 10:11:34 +02:00
OpenCompleteForm.vue Fix forms 2025-01-28 09:23:11 +01:00
OpenForm.vue Add regex matching filters to open_filters.json (#722) 2025-03-15 13:55:42 +08:00
OpenFormButton.vue 41db1 submission editor theme fix (#501) 2024-07-26 11:54:15 +02:00
OpenFormField.vue Add regex matching filters to open_filters.json (#722) 2025-03-15 13:55:42 +08:00