mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-29 08:14:57 +00:00
- Updated functions.json files in theme_editor, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor packages. - Removed luaScript entries from function definitions, retaining only category and other relevant metadata. - Adjusted documentation in prisma/README.md to remove LuaScript entity reference.
117 lines
2.9 KiB
JSON
117 lines
2.9 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "form_builder",
|
|
"description": "Form field handlers and validation functions",
|
|
"functions": [
|
|
{
|
|
"id": "fields_handle_change",
|
|
"name": "handleChange",
|
|
"exported": true,
|
|
"description": "Handle field value change",
|
|
"category": "handlers"
|
|
},
|
|
{
|
|
"id": "fields_handle_blur",
|
|
"name": "handleBlur",
|
|
"exported": true,
|
|
"description": "Handle field blur event",
|
|
"category": "handlers"
|
|
},
|
|
{
|
|
"id": "fields_handle_search",
|
|
"name": "handleSearch",
|
|
"exported": true,
|
|
"description": "Handle search input change",
|
|
"category": "handlers"
|
|
},
|
|
{
|
|
"id": "fields_clear_search",
|
|
"name": "clearSearch",
|
|
"exported": true,
|
|
"description": "Clear search input",
|
|
"category": "handlers"
|
|
},
|
|
{
|
|
"id": "fields_toggle_password",
|
|
"name": "togglePasswordVisibility",
|
|
"exported": true,
|
|
"description": "Toggle password visibility",
|
|
"category": "handlers"
|
|
},
|
|
{
|
|
"id": "validate_field",
|
|
"name": "validateField",
|
|
"exported": true,
|
|
"description": "Validate a single form field",
|
|
"category": "validation"
|
|
},
|
|
{
|
|
"id": "validate_email",
|
|
"name": "validateEmail",
|
|
"exported": true,
|
|
"description": "Validate email address format",
|
|
"category": "validation"
|
|
},
|
|
{
|
|
"id": "validate_password",
|
|
"name": "validatePassword",
|
|
"exported": true,
|
|
"description": "Validate password strength",
|
|
"category": "validation"
|
|
},
|
|
{
|
|
"id": "validate_required",
|
|
"name": "validateRequired",
|
|
"exported": true,
|
|
"description": "Check if required field has value",
|
|
"category": "validation"
|
|
},
|
|
{
|
|
"id": "validate_form",
|
|
"name": "validateForm",
|
|
"exported": true,
|
|
"description": "Validate entire form",
|
|
"category": "validation"
|
|
},
|
|
{
|
|
"id": "contact_form_handle_submit",
|
|
"name": "handleSubmit",
|
|
"exported": true,
|
|
"description": "Handle contact form submission",
|
|
"category": "forms"
|
|
},
|
|
{
|
|
"id": "contact_form_validate",
|
|
"name": "validate",
|
|
"exported": true,
|
|
"description": "Validate contact form",
|
|
"category": "forms"
|
|
},
|
|
{
|
|
"id": "contact_form_create_state",
|
|
"name": "createInitialState",
|
|
"exported": true,
|
|
"description": "Create initial form state",
|
|
"category": "forms"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"handleChange",
|
|
"handleBlur",
|
|
"handleSearch",
|
|
"clearSearch",
|
|
"togglePasswordVisibility",
|
|
"validateField",
|
|
"validateEmail",
|
|
"validatePassword",
|
|
"validateRequired",
|
|
"validateForm",
|
|
"handleSubmit",
|
|
"validate",
|
|
"createInitialState"
|
|
]
|
|
}
|
|
}
|