opnform-host-nginx/client/composables
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
..
forms Add regex matching filters to open_filters.json (#722) 2025-03-15 13:55:42 +08:00
lib/vForm Refactor form initialization and data management in OpenForm component (#709) 2025-03-03 14:29:15 +08:00
stores 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
useAlert.js add c ancel button for confirm alert (#407) 2024-05-13 14:33:23 +02:00
useAmplitude.js Pricing Upgrade Flow changes (#514) 2024-08-23 12:23:01 +02:00
useCheckoutUrl.js Billing flow redirect (#713) 2025-03-05 19:16:33 +08:00
useConfetti.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
useCrisp.js 55919 form editor error boundary (#494) 2024-07-17 16:07:19 +02:00
useFeatureFlag.js Feature flags (#543) 2024-08-27 16:49:43 +02:00
useForm.js Migrate to nuxt settings page AND remove axios (#266) 2024-01-02 13:09:41 +01:00
useIsIframe.js fix: opt in to `import.meta.*` properties (#364) 2024-03-28 17:59:41 +01:00
useOpnApi.js Debugging custom domain redirect opnform 2024-07-15 11:58:23 +02:00
useOpnSeoMeta.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
useParseMention.js Fix mentions in front-end + email spam 2024-10-22 11:04:49 +02:00