/** * Source code string shown in the Storybook Docs tab for the LoginForm story. * * Demonstrates the minimal Form + Field + useZodForm integration pattern. */ declare const conprehensiveFormSource = "\nimport React, { useCallback, useEffect } from 'react';\nimport { z } from 'zod';\nimport {\n\tBox,\n\tButton,\n\tText,\n\tForm,\n\tField,\n\tFieldControl,\n\tFieldLabel,\n\tFieldArray,\n\tFormGroup,\n\tSelect,\n\tSimpleInput,\n\tuseZodForm\n} from '@jtl-software/platform-ui-react';\n\ninterface IComprehensiveFormWrapperProps {}\n\n/** Zod schema \u2014 personal info, phone numbers, address, and account settings */\nconst comprehensiveFormSchema = z\n .object({\n firstName: z.string().min(1, 'First name is required'),\n lastName: z.string().min(1, 'Last name is required'),\n email: z.string().email('Please enter a valid email'),\n phoneNumbers: z\n .array(\n z.object({\n type: z.enum(['mobile', 'home', 'work']),\n number: z.string().min(1, 'Phone number is required'),\n }),\n )\n .min(1),\n street: z.string().min(1, 'Street is required'),\n city: z.string().min(1, 'City is required'),\n state: z.string().min(1, 'State is required'),\n zipCode: z.string().min(1, 'ZIP code is required'),\n username: z.string().min(3, 'Username must be at least 3 characters'),\n password: z.string().min(8, 'Password must be at least 8 characters'),\n confirmPassword: z.string(),\n })\n .refine(data => data.password === data.confirmPassword, {\n message: 'Passwords do not match',\n path: ['confirmPassword'],\n });\n\n/** Phone type options for the Select inside FieldArray */\nconst phoneTypeOptions = [\n { value: 'mobile', label: 'Mobile' },\n { value: 'home', label: 'Home' },\n { value: 'work', label: 'Work' },\n];\n\n/**\n * Comprehensive form wrapper story component.\n *\n * Demonstrates:\n * - `` for labeled, responsive grid sections\n * - `` with min/max constraints and dynamic append/remove\n * - `\n \n \n \n Number\n \n \n \n \n \n