opnform-host-nginx/client/components/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
validation Form Editor v2.5 (#599) 2024-10-23 10:34:51 +02:00
BarcodeInput.vue Refactor BarcodeInput and CameraUpload Components for Enhanced UI and Functionality 2025-03-15 13:38:38 +08:00
CheckboxInput.vue Matrix Improvements (#606) 2024-11-20 17:06:11 +01:00
CodeInput.client.vue fix disabled input dark mode (#622) 2024-11-21 15:59:04 +01:00
ColorInput.vue Form editor v2 (#579) 2024-09-23 20:02:38 +02:00
DateInput.vue Refactor form components (#659) 2025-01-03 16:15:47 +01:00
FileInput.vue Enhance UI components with dark mode and tooltip improvements 2025-03-04 12:21:30 +08:00
FlatSelectInput.vue Form Translation (#616) 2024-12-04 18:32:14 +01:00
ImageInput.vue fix image input clear (#485) 2024-07-15 10:07:00 +02:00
MatrixInput.vue Refactor form components (#659) 2025-01-03 16:15:47 +01:00
MentionInput.vue Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
PhoneInput.vue Fix phoneinput inputval watcher (#631) 2024-11-25 17:26:43 +01:00
RatingInput.vue Better form themes (#465) 2024-06-27 17:52:49 +02:00
RichTextAreaInput.client.vue Clean up empty HTML and help text in form inputs (#700) 2025-02-14 15:23:09 +00:00
ScaleInput.vue Better form themes (#465) 2024-06-27 17:52:49 +02:00
SelectInput.vue ESC-240: Fix null pointer exception in SelectInput getOptionName method 2024-08-07 17:30:48 +02:00
SignatureInput.vue Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
SliderInput.vue slider input color (#391) 2024-05-07 13:29:19 +02:00
TextAreaInput.vue fix disabled input dark mode (#622) 2024-11-21 15:59:04 +01:00
TextBlock.vue Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
TextInput.vue fix disabled input dark mode (#622) 2024-11-21 15:59:04 +01:00
ToggleSwitchInput.vue Matrix Improvements (#606) 2024-11-20 17:06:11 +01:00
VForm.vue Better form themes (#465) 2024-06-27 17:52:49 +02:00
useFormInput.js Form Translation (#616) 2024-12-04 18:32:14 +01:00