[{"data":1,"prerenderedAt":6369},["Reactive",2],{"content-query-EDFCXIFajz":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"_empty":6,"title":8,"description":9,"body":10,"_type":6364,"_id":6365,"_source":6366,"_file":6367,"_extension":6368},"/docs/forms/validation/validators","validation",false,"","Form Validation - Validators - Inkline","Validators are configurable functions used to check whether an input value matches a specific criteria.",{"type":11,"children":12,"toc":6349},"root",[13,20,27,41,224,231,1090,1096,1863,1869,2272,2278,2690,2696,3108,3114,3525,3531,3943,3949,4734,4740,5142,5148,5799,5805,6344],{"type":14,"tag":15,"props":16,"children":19},"element","content-heading",{"subtitle":17,"title":18},"Form Validation","Validators",[],{"type":14,"tag":21,"props":22,"children":24},"h2",{"id":23},"validators-are-configurable-functions-used-to-check-whether-an-input-value-matches-a-specific-criteria",[25],{"type":26,"value":9},"text",{"type":14,"tag":28,"props":29,"children":30},"p",{},[31,33,39],{"type":26,"value":32},"There are several validation options that can be used in the ",{"type":14,"tag":34,"props":35,"children":36},"code-inline",{},[37],{"type":26,"value":38},"validators",{"type":26,"value":40}," field of the form field schema.",{"type":14,"tag":42,"props":43,"children":48},"code",{"className":44,"code":46,"language":47,"meta":7},[45],"language-ts","const { schema } = useForm\u003C{ name: string; }>({\n    name: {\n        validators: [\n            { name: 'required' },\n            { name: 'minLength', value: 3 }\n        ]\n    }\n});\n","ts",[49],{"type":14,"tag":50,"props":51,"children":52},"pre",{},[53],{"type":14,"tag":42,"props":54,"children":55},{"__ignoreMap":7},[56,131,140,149,169,197,206,215],{"type":14,"tag":57,"props":58,"children":61},"span",{"class":59,"line":60},"line",1,[62,68,74,80,85,90,95,101,106,112,117,121,126],{"type":14,"tag":57,"props":63,"children":65},{"class":64},"ct-149352",[66],{"type":26,"value":67},"const",{"type":14,"tag":57,"props":69,"children":71},{"class":70},"ct-553616",[72],{"type":26,"value":73}," { ",{"type":14,"tag":57,"props":75,"children":77},{"class":76},"ct-617022",[78],{"type":26,"value":79},"schema",{"type":14,"tag":57,"props":81,"children":82},{"class":70},[83],{"type":26,"value":84}," } ",{"type":14,"tag":57,"props":86,"children":87},{"class":64},[88],{"type":26,"value":89},"=",{"type":14,"tag":57,"props":91,"children":92},{"class":70},[93],{"type":26,"value":94}," ",{"type":14,"tag":57,"props":96,"children":98},{"class":97},"ct-762058",[99],{"type":26,"value":100},"useForm",{"type":14,"tag":57,"props":102,"children":103},{"class":70},[104],{"type":26,"value":105},"\u003C{ ",{"type":14,"tag":57,"props":107,"children":109},{"class":108},"ct-157101",[110],{"type":26,"value":111},"name",{"type":14,"tag":57,"props":113,"children":114},{"class":64},[115],{"type":26,"value":116},":",{"type":14,"tag":57,"props":118,"children":119},{"class":70},[120],{"type":26,"value":94},{"type":14,"tag":57,"props":122,"children":123},{"class":76},[124],{"type":26,"value":125},"string",{"type":14,"tag":57,"props":127,"children":128},{"class":70},[129],{"type":26,"value":130},"; }>({\n",{"type":14,"tag":57,"props":132,"children":134},{"class":59,"line":133},2,[135],{"type":14,"tag":57,"props":136,"children":137},{"class":70},[138],{"type":26,"value":139},"    name: {\n",{"type":14,"tag":57,"props":141,"children":143},{"class":59,"line":142},3,[144],{"type":14,"tag":57,"props":145,"children":146},{"class":70},[147],{"type":26,"value":148},"        validators: [\n",{"type":14,"tag":57,"props":150,"children":152},{"class":59,"line":151},4,[153,158,164],{"type":14,"tag":57,"props":154,"children":155},{"class":70},[156],{"type":26,"value":157},"            { name: ",{"type":14,"tag":57,"props":159,"children":161},{"class":160},"ct-952708",[162],{"type":26,"value":163},"'required'",{"type":14,"tag":57,"props":165,"children":166},{"class":70},[167],{"type":26,"value":168}," },\n",{"type":14,"tag":57,"props":170,"children":172},{"class":59,"line":171},5,[173,177,182,187,192],{"type":14,"tag":57,"props":174,"children":175},{"class":70},[176],{"type":26,"value":157},{"type":14,"tag":57,"props":178,"children":179},{"class":160},[180],{"type":26,"value":181},"'minLength'",{"type":14,"tag":57,"props":183,"children":184},{"class":70},[185],{"type":26,"value":186},", value: ",{"type":14,"tag":57,"props":188,"children":189},{"class":76},[190],{"type":26,"value":191},"3",{"type":14,"tag":57,"props":193,"children":194},{"class":70},[195],{"type":26,"value":196}," }\n",{"type":14,"tag":57,"props":198,"children":200},{"class":59,"line":199},6,[201],{"type":14,"tag":57,"props":202,"children":203},{"class":70},[204],{"type":26,"value":205},"        ]\n",{"type":14,"tag":57,"props":207,"children":209},{"class":59,"line":208},7,[210],{"type":14,"tag":57,"props":211,"children":212},{"class":70},[213],{"type":26,"value":214},"    }\n",{"type":14,"tag":57,"props":216,"children":218},{"class":59,"line":217},8,[219],{"type":14,"tag":57,"props":220,"children":221},{"class":70},[222],{"type":26,"value":223},"});",{"type":14,"tag":225,"props":226,"children":228},"h3",{"id":227},"alpha-validator",[229],{"type":26,"value":230},"Alpha Validator",{"type":14,"tag":232,"props":233,"children":234},"content-tabs",{},[235,244],{"type":14,"tag":236,"props":237,"children":238},"template",{"v-slot:preview":7},[239],{"type":14,"tag":240,"props":241,"children":243},"content-preview",{"src":242},"/stories/forms/validation/validators/alpha",[],{"type":14,"tag":236,"props":245,"children":246},{"v-slot:vue":7},[247],{"type":14,"tag":42,"props":248,"children":253},{"className":249,"code":251,"language":252,"meta":7},[250],"language-vue","\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n    inputSpaces: string;\n    inputDashes: string;\n}>({\n    input: {\n        validators: [{ name: 'alpha' }]\n    },\n    inputSpaces: {\n        validators: [{ name: 'alpha', allowSpaces: true }]\n    },\n    inputDashes: {\n        validators: [{ name: 'alpha', allowDashes: true }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field should contain only letters\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"inputSpaces\"\n                placeholder=\"This field should contain only letters and spaces\"\n            />\n            \u003CIFormError for=\"inputSpaces\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"inputDashes\"\n                placeholder=\"This field should contain only letters and dashes\"\n            />\n            \u003CIFormError for=\"inputDashes\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n","vue",[254],{"type":14,"tag":50,"props":255,"children":256},{},[257],{"type":14,"tag":42,"props":258,"children":259},{"__ignoreMap":7},[260,306,338,346,382,411,439,467,475,484,503,512,521,547,555,564,589,597,606,623,639,676,694,748,782,799,815,828,850,871,880,913,929,945,957,978,999,1007,1040,1056,1073],{"type":14,"tag":57,"props":261,"children":262},{"class":59,"line":60},[263,268,274,278,283,287,292,296,301],{"type":14,"tag":57,"props":264,"children":265},{"class":70},[266],{"type":26,"value":267},"\u003C",{"type":14,"tag":57,"props":269,"children":271},{"class":270},"ct-914029",[272],{"type":26,"value":273},"script",{"type":14,"tag":57,"props":275,"children":276},{"class":70},[277],{"type":26,"value":94},{"type":14,"tag":57,"props":279,"children":280},{"class":97},[281],{"type":26,"value":282},"lang",{"type":14,"tag":57,"props":284,"children":285},{"class":70},[286],{"type":26,"value":89},{"type":14,"tag":57,"props":288,"children":289},{"class":160},[290],{"type":26,"value":291},"\"ts\"",{"type":14,"tag":57,"props":293,"children":294},{"class":70},[295],{"type":26,"value":94},{"type":14,"tag":57,"props":297,"children":298},{"class":97},[299],{"type":26,"value":300},"setup",{"type":14,"tag":57,"props":302,"children":303},{"class":70},[304],{"type":26,"value":305},">\n",{"type":14,"tag":57,"props":307,"children":308},{"class":59,"line":133},[309,314,319,324,328,333],{"type":14,"tag":57,"props":310,"children":311},{"class":64},[312],{"type":26,"value":313},"import",{"type":14,"tag":57,"props":315,"children":316},{"class":70},[317],{"type":26,"value":318}," { useForm } ",{"type":14,"tag":57,"props":320,"children":321},{"class":64},[322],{"type":26,"value":323},"from",{"type":14,"tag":57,"props":325,"children":326},{"class":70},[327],{"type":26,"value":94},{"type":14,"tag":57,"props":329,"children":330},{"class":160},[331],{"type":26,"value":332},"'@inkline/inkline/composables'",{"type":14,"tag":57,"props":334,"children":335},{"class":70},[336],{"type":26,"value":337},";\n",{"type":14,"tag":57,"props":339,"children":340},{"class":59,"line":142},[341],{"type":14,"tag":57,"props":342,"children":343},{},[344],{"type":26,"value":345},"\n",{"type":14,"tag":57,"props":347,"children":348},{"class":59,"line":151},[349,353,357,361,365,369,373,377],{"type":14,"tag":57,"props":350,"children":351},{"class":64},[352],{"type":26,"value":67},{"type":14,"tag":57,"props":354,"children":355},{"class":70},[356],{"type":26,"value":73},{"type":14,"tag":57,"props":358,"children":359},{"class":76},[360],{"type":26,"value":79},{"type":14,"tag":57,"props":362,"children":363},{"class":70},[364],{"type":26,"value":84},{"type":14,"tag":57,"props":366,"children":367},{"class":64},[368],{"type":26,"value":89},{"type":14,"tag":57,"props":370,"children":371},{"class":70},[372],{"type":26,"value":94},{"type":14,"tag":57,"props":374,"children":375},{"class":97},[376],{"type":26,"value":100},{"type":14,"tag":57,"props":378,"children":379},{"class":70},[380],{"type":26,"value":381},"\u003C{\n",{"type":14,"tag":57,"props":383,"children":384},{"class":59,"line":171},[385,390,395,399,403,407],{"type":14,"tag":57,"props":386,"children":387},{"class":70},[388],{"type":26,"value":389},"    ",{"type":14,"tag":57,"props":391,"children":392},{"class":108},[393],{"type":26,"value":394},"input",{"type":14,"tag":57,"props":396,"children":397},{"class":64},[398],{"type":26,"value":116},{"type":14,"tag":57,"props":400,"children":401},{"class":70},[402],{"type":26,"value":94},{"type":14,"tag":57,"props":404,"children":405},{"class":76},[406],{"type":26,"value":125},{"type":14,"tag":57,"props":408,"children":409},{"class":70},[410],{"type":26,"value":337},{"type":14,"tag":57,"props":412,"children":413},{"class":59,"line":199},[414,418,423,427,431,435],{"type":14,"tag":57,"props":415,"children":416},{"class":70},[417],{"type":26,"value":389},{"type":14,"tag":57,"props":419,"children":420},{"class":108},[421],{"type":26,"value":422},"inputSpaces",{"type":14,"tag":57,"props":424,"children":425},{"class":64},[426],{"type":26,"value":116},{"type":14,"tag":57,"props":428,"children":429},{"class":70},[430],{"type":26,"value":94},{"type":14,"tag":57,"props":432,"children":433},{"class":76},[434],{"type":26,"value":125},{"type":14,"tag":57,"props":436,"children":437},{"class":70},[438],{"type":26,"value":337},{"type":14,"tag":57,"props":440,"children":441},{"class":59,"line":208},[442,446,451,455,459,463],{"type":14,"tag":57,"props":443,"children":444},{"class":70},[445],{"type":26,"value":389},{"type":14,"tag":57,"props":447,"children":448},{"class":108},[449],{"type":26,"value":450},"inputDashes",{"type":14,"tag":57,"props":452,"children":453},{"class":64},[454],{"type":26,"value":116},{"type":14,"tag":57,"props":456,"children":457},{"class":70},[458],{"type":26,"value":94},{"type":14,"tag":57,"props":460,"children":461},{"class":76},[462],{"type":26,"value":125},{"type":14,"tag":57,"props":464,"children":465},{"class":70},[466],{"type":26,"value":337},{"type":14,"tag":57,"props":468,"children":469},{"class":59,"line":217},[470],{"type":14,"tag":57,"props":471,"children":472},{"class":70},[473],{"type":26,"value":474},"}>({\n",{"type":14,"tag":57,"props":476,"children":478},{"class":59,"line":477},9,[479],{"type":14,"tag":57,"props":480,"children":481},{"class":70},[482],{"type":26,"value":483},"    input: {\n",{"type":14,"tag":57,"props":485,"children":487},{"class":59,"line":486},10,[488,493,498],{"type":14,"tag":57,"props":489,"children":490},{"class":70},[491],{"type":26,"value":492},"        validators: [{ name: ",{"type":14,"tag":57,"props":494,"children":495},{"class":160},[496],{"type":26,"value":497},"'alpha'",{"type":14,"tag":57,"props":499,"children":500},{"class":70},[501],{"type":26,"value":502}," }]\n",{"type":14,"tag":57,"props":504,"children":506},{"class":59,"line":505},11,[507],{"type":14,"tag":57,"props":508,"children":509},{"class":70},[510],{"type":26,"value":511},"    },\n",{"type":14,"tag":57,"props":513,"children":515},{"class":59,"line":514},12,[516],{"type":14,"tag":57,"props":517,"children":518},{"class":70},[519],{"type":26,"value":520},"    inputSpaces: {\n",{"type":14,"tag":57,"props":522,"children":524},{"class":59,"line":523},13,[525,529,533,538,543],{"type":14,"tag":57,"props":526,"children":527},{"class":70},[528],{"type":26,"value":492},{"type":14,"tag":57,"props":530,"children":531},{"class":160},[532],{"type":26,"value":497},{"type":14,"tag":57,"props":534,"children":535},{"class":70},[536],{"type":26,"value":537},", allowSpaces: ",{"type":14,"tag":57,"props":539,"children":540},{"class":76},[541],{"type":26,"value":542},"true",{"type":14,"tag":57,"props":544,"children":545},{"class":70},[546],{"type":26,"value":502},{"type":14,"tag":57,"props":548,"children":550},{"class":59,"line":549},14,[551],{"type":14,"tag":57,"props":552,"children":553},{"class":70},[554],{"type":26,"value":511},{"type":14,"tag":57,"props":556,"children":558},{"class":59,"line":557},15,[559],{"type":14,"tag":57,"props":560,"children":561},{"class":70},[562],{"type":26,"value":563},"    inputDashes: {\n",{"type":14,"tag":57,"props":565,"children":567},{"class":59,"line":566},16,[568,572,576,581,585],{"type":14,"tag":57,"props":569,"children":570},{"class":70},[571],{"type":26,"value":492},{"type":14,"tag":57,"props":573,"children":574},{"class":160},[575],{"type":26,"value":497},{"type":14,"tag":57,"props":577,"children":578},{"class":70},[579],{"type":26,"value":580},", allowDashes: ",{"type":14,"tag":57,"props":582,"children":583},{"class":76},[584],{"type":26,"value":542},{"type":14,"tag":57,"props":586,"children":587},{"class":70},[588],{"type":26,"value":502},{"type":14,"tag":57,"props":590,"children":592},{"class":59,"line":591},17,[593],{"type":14,"tag":57,"props":594,"children":595},{"class":70},[596],{"type":26,"value":214},{"type":14,"tag":57,"props":598,"children":600},{"class":59,"line":599},18,[601],{"type":14,"tag":57,"props":602,"children":603},{"class":70},[604],{"type":26,"value":605},"});\n",{"type":14,"tag":57,"props":607,"children":609},{"class":59,"line":608},19,[610,615,619],{"type":14,"tag":57,"props":611,"children":612},{"class":70},[613],{"type":26,"value":614},"\u003C/",{"type":14,"tag":57,"props":616,"children":617},{"class":270},[618],{"type":26,"value":273},{"type":14,"tag":57,"props":620,"children":621},{"class":70},[622],{"type":26,"value":305},{"type":14,"tag":57,"props":624,"children":626},{"class":59,"line":625},20,[627,631,635],{"type":14,"tag":57,"props":628,"children":629},{"class":70},[630],{"type":26,"value":267},{"type":14,"tag":57,"props":632,"children":633},{"class":270},[634],{"type":26,"value":236},{"type":14,"tag":57,"props":636,"children":637},{"class":70},[638],{"type":26,"value":305},{"type":14,"tag":57,"props":640,"children":642},{"class":59,"line":641},21,[643,648,654,658,663,667,672],{"type":14,"tag":57,"props":644,"children":645},{"class":70},[646],{"type":26,"value":647},"    \u003C",{"type":14,"tag":57,"props":649,"children":651},{"class":650},"ct-028869",[652],{"type":26,"value":653},"IForm",{"type":14,"tag":57,"props":655,"children":656},{"class":70},[657],{"type":26,"value":94},{"type":14,"tag":57,"props":659,"children":660},{"class":97},[661],{"type":26,"value":662},"v-model",{"type":14,"tag":57,"props":664,"children":665},{"class":70},[666],{"type":26,"value":89},{"type":14,"tag":57,"props":668,"children":669},{"class":160},[670],{"type":26,"value":671},"\"schema\"",{"type":14,"tag":57,"props":673,"children":674},{"class":70},[675],{"type":26,"value":305},{"type":14,"tag":57,"props":677,"children":679},{"class":59,"line":678},22,[680,685,690],{"type":14,"tag":57,"props":681,"children":682},{"class":70},[683],{"type":26,"value":684},"        \u003C",{"type":14,"tag":57,"props":686,"children":687},{"class":650},[688],{"type":26,"value":689},"IFormGroup",{"type":14,"tag":57,"props":691,"children":692},{"class":70},[693],{"type":26,"value":305},{"type":14,"tag":57,"props":695,"children":697},{"class":59,"line":696},23,[698,703,708,712,716,720,725,729,734,738,743],{"type":14,"tag":57,"props":699,"children":700},{"class":70},[701],{"type":26,"value":702},"            \u003C",{"type":14,"tag":57,"props":704,"children":705},{"class":650},[706],{"type":26,"value":707},"IInput",{"type":14,"tag":57,"props":709,"children":710},{"class":70},[711],{"type":26,"value":94},{"type":14,"tag":57,"props":713,"children":714},{"class":97},[715],{"type":26,"value":111},{"type":14,"tag":57,"props":717,"children":718},{"class":70},[719],{"type":26,"value":89},{"type":14,"tag":57,"props":721,"children":722},{"class":160},[723],{"type":26,"value":724},"\"input\"",{"type":14,"tag":57,"props":726,"children":727},{"class":70},[728],{"type":26,"value":94},{"type":14,"tag":57,"props":730,"children":731},{"class":97},[732],{"type":26,"value":733},"placeholder",{"type":14,"tag":57,"props":735,"children":736},{"class":70},[737],{"type":26,"value":89},{"type":14,"tag":57,"props":739,"children":740},{"class":160},[741],{"type":26,"value":742},"\"This field should contain only letters\"",{"type":14,"tag":57,"props":744,"children":745},{"class":70},[746],{"type":26,"value":747}," />\n",{"type":14,"tag":57,"props":749,"children":751},{"class":59,"line":750},24,[752,756,761,765,770,774,778],{"type":14,"tag":57,"props":753,"children":754},{"class":70},[755],{"type":26,"value":702},{"type":14,"tag":57,"props":757,"children":758},{"class":650},[759],{"type":26,"value":760},"IFormError",{"type":14,"tag":57,"props":762,"children":763},{"class":70},[764],{"type":26,"value":94},{"type":14,"tag":57,"props":766,"children":767},{"class":97},[768],{"type":26,"value":769},"for",{"type":14,"tag":57,"props":771,"children":772},{"class":70},[773],{"type":26,"value":89},{"type":14,"tag":57,"props":775,"children":776},{"class":160},[777],{"type":26,"value":724},{"type":14,"tag":57,"props":779,"children":780},{"class":70},[781],{"type":26,"value":747},{"type":14,"tag":57,"props":783,"children":785},{"class":59,"line":784},25,[786,791,795],{"type":14,"tag":57,"props":787,"children":788},{"class":70},[789],{"type":26,"value":790},"        \u003C/",{"type":14,"tag":57,"props":792,"children":793},{"class":650},[794],{"type":26,"value":689},{"type":14,"tag":57,"props":796,"children":797},{"class":70},[798],{"type":26,"value":305},{"type":14,"tag":57,"props":800,"children":802},{"class":59,"line":801},26,[803,807,811],{"type":14,"tag":57,"props":804,"children":805},{"class":70},[806],{"type":26,"value":684},{"type":14,"tag":57,"props":808,"children":809},{"class":650},[810],{"type":26,"value":689},{"type":14,"tag":57,"props":812,"children":813},{"class":70},[814],{"type":26,"value":305},{"type":14,"tag":57,"props":816,"children":818},{"class":59,"line":817},27,[819,823],{"type":14,"tag":57,"props":820,"children":821},{"class":70},[822],{"type":26,"value":702},{"type":14,"tag":57,"props":824,"children":825},{"class":650},[826],{"type":26,"value":827},"IInput\n",{"type":14,"tag":57,"props":829,"children":831},{"class":59,"line":830},28,[832,837,841,845],{"type":14,"tag":57,"props":833,"children":834},{"class":70},[835],{"type":26,"value":836},"                ",{"type":14,"tag":57,"props":838,"children":839},{"class":97},[840],{"type":26,"value":111},{"type":14,"tag":57,"props":842,"children":843},{"class":70},[844],{"type":26,"value":89},{"type":14,"tag":57,"props":846,"children":847},{"class":160},[848],{"type":26,"value":849},"\"inputSpaces\"\n",{"type":14,"tag":57,"props":851,"children":853},{"class":59,"line":852},29,[854,858,862,866],{"type":14,"tag":57,"props":855,"children":856},{"class":70},[857],{"type":26,"value":836},{"type":14,"tag":57,"props":859,"children":860},{"class":97},[861],{"type":26,"value":733},{"type":14,"tag":57,"props":863,"children":864},{"class":70},[865],{"type":26,"value":89},{"type":14,"tag":57,"props":867,"children":868},{"class":160},[869],{"type":26,"value":870},"\"This field should contain only letters and spaces\"\n",{"type":14,"tag":57,"props":872,"children":874},{"class":59,"line":873},30,[875],{"type":14,"tag":57,"props":876,"children":877},{"class":70},[878],{"type":26,"value":879},"            />\n",{"type":14,"tag":57,"props":881,"children":883},{"class":59,"line":882},31,[884,888,892,896,900,904,909],{"type":14,"tag":57,"props":885,"children":886},{"class":70},[887],{"type":26,"value":702},{"type":14,"tag":57,"props":889,"children":890},{"class":650},[891],{"type":26,"value":760},{"type":14,"tag":57,"props":893,"children":894},{"class":70},[895],{"type":26,"value":94},{"type":14,"tag":57,"props":897,"children":898},{"class":97},[899],{"type":26,"value":769},{"type":14,"tag":57,"props":901,"children":902},{"class":70},[903],{"type":26,"value":89},{"type":14,"tag":57,"props":905,"children":906},{"class":160},[907],{"type":26,"value":908},"\"inputSpaces\"",{"type":14,"tag":57,"props":910,"children":911},{"class":70},[912],{"type":26,"value":747},{"type":14,"tag":57,"props":914,"children":916},{"class":59,"line":915},32,[917,921,925],{"type":14,"tag":57,"props":918,"children":919},{"class":70},[920],{"type":26,"value":790},{"type":14,"tag":57,"props":922,"children":923},{"class":650},[924],{"type":26,"value":689},{"type":14,"tag":57,"props":926,"children":927},{"class":70},[928],{"type":26,"value":305},{"type":14,"tag":57,"props":930,"children":932},{"class":59,"line":931},33,[933,937,941],{"type":14,"tag":57,"props":934,"children":935},{"class":70},[936],{"type":26,"value":684},{"type":14,"tag":57,"props":938,"children":939},{"class":650},[940],{"type":26,"value":689},{"type":14,"tag":57,"props":942,"children":943},{"class":70},[944],{"type":26,"value":305},{"type":14,"tag":57,"props":946,"children":948},{"class":59,"line":947},34,[949,953],{"type":14,"tag":57,"props":950,"children":951},{"class":70},[952],{"type":26,"value":702},{"type":14,"tag":57,"props":954,"children":955},{"class":650},[956],{"type":26,"value":827},{"type":14,"tag":57,"props":958,"children":960},{"class":59,"line":959},35,[961,965,969,973],{"type":14,"tag":57,"props":962,"children":963},{"class":70},[964],{"type":26,"value":836},{"type":14,"tag":57,"props":966,"children":967},{"class":97},[968],{"type":26,"value":111},{"type":14,"tag":57,"props":970,"children":971},{"class":70},[972],{"type":26,"value":89},{"type":14,"tag":57,"props":974,"children":975},{"class":160},[976],{"type":26,"value":977},"\"inputDashes\"\n",{"type":14,"tag":57,"props":979,"children":981},{"class":59,"line":980},36,[982,986,990,994],{"type":14,"tag":57,"props":983,"children":984},{"class":70},[985],{"type":26,"value":836},{"type":14,"tag":57,"props":987,"children":988},{"class":97},[989],{"type":26,"value":733},{"type":14,"tag":57,"props":991,"children":992},{"class":70},[993],{"type":26,"value":89},{"type":14,"tag":57,"props":995,"children":996},{"class":160},[997],{"type":26,"value":998},"\"This field should contain only letters and dashes\"\n",{"type":14,"tag":57,"props":1000,"children":1002},{"class":59,"line":1001},37,[1003],{"type":14,"tag":57,"props":1004,"children":1005},{"class":70},[1006],{"type":26,"value":879},{"type":14,"tag":57,"props":1008,"children":1010},{"class":59,"line":1009},38,[1011,1015,1019,1023,1027,1031,1036],{"type":14,"tag":57,"props":1012,"children":1013},{"class":70},[1014],{"type":26,"value":702},{"type":14,"tag":57,"props":1016,"children":1017},{"class":650},[1018],{"type":26,"value":760},{"type":14,"tag":57,"props":1020,"children":1021},{"class":70},[1022],{"type":26,"value":94},{"type":14,"tag":57,"props":1024,"children":1025},{"class":97},[1026],{"type":26,"value":769},{"type":14,"tag":57,"props":1028,"children":1029},{"class":70},[1030],{"type":26,"value":89},{"type":14,"tag":57,"props":1032,"children":1033},{"class":160},[1034],{"type":26,"value":1035},"\"inputDashes\"",{"type":14,"tag":57,"props":1037,"children":1038},{"class":70},[1039],{"type":26,"value":747},{"type":14,"tag":57,"props":1041,"children":1043},{"class":59,"line":1042},39,[1044,1048,1052],{"type":14,"tag":57,"props":1045,"children":1046},{"class":70},[1047],{"type":26,"value":790},{"type":14,"tag":57,"props":1049,"children":1050},{"class":650},[1051],{"type":26,"value":689},{"type":14,"tag":57,"props":1053,"children":1054},{"class":70},[1055],{"type":26,"value":305},{"type":14,"tag":57,"props":1057,"children":1059},{"class":59,"line":1058},40,[1060,1065,1069],{"type":14,"tag":57,"props":1061,"children":1062},{"class":70},[1063],{"type":26,"value":1064},"    \u003C/",{"type":14,"tag":57,"props":1066,"children":1067},{"class":650},[1068],{"type":26,"value":653},{"type":14,"tag":57,"props":1070,"children":1071},{"class":70},[1072],{"type":26,"value":305},{"type":14,"tag":57,"props":1074,"children":1076},{"class":59,"line":1075},41,[1077,1081,1085],{"type":14,"tag":57,"props":1078,"children":1079},{"class":70},[1080],{"type":26,"value":614},{"type":14,"tag":57,"props":1082,"children":1083},{"class":270},[1084],{"type":26,"value":236},{"type":14,"tag":57,"props":1086,"children":1087},{"class":70},[1088],{"type":26,"value":1089},">",{"type":14,"tag":225,"props":1091,"children":1093},{"id":1092},"alphanumeric-validator",[1094],{"type":26,"value":1095},"Alphanumeric Validator",{"type":14,"tag":232,"props":1097,"children":1098},{},[1099,1106],{"type":14,"tag":236,"props":1100,"children":1101},{"v-slot:preview":7},[1102],{"type":14,"tag":240,"props":1103,"children":1105},{"src":1104},"/stories/forms/validation/validators/alphanumeric",[],{"type":14,"tag":236,"props":1107,"children":1108},{"v-slot:vue":7},[1109],{"type":14,"tag":42,"props":1110,"children":1113},{"className":1111,"code":1112,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n    inputSpaces: string;\n    inputDashes: string;\n}>({\n    input: {\n        validators: [{ name: 'alphanumeric' }]\n    },\n    inputSpaces: {\n        validators: [{ name: 'alphanumeric', allowSpaces: true }]\n    },\n    inputDashes: {\n        validators: [{ name: 'alphanumeric', allowDashes: true }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field should contain only letters and numbers\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"inputSpaces\"\n                placeholder=\"This field should contain only letters, numbers and spaces\"\n            />\n            \u003CIFormError for=\"inputSpaces\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"inputDashes\"\n                placeholder=\"This field should contain only letters, numbers and dashes\"\n            />\n            \u003CIFormError for=\"inputDashes\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[1114],{"type":14,"tag":50,"props":1115,"children":1116},{},[1117],{"type":14,"tag":42,"props":1118,"children":1119},{"__ignoreMap":7},[1120,1159,1186,1193,1228,1255,1282,1309,1316,1323,1339,1346,1353,1376,1383,1390,1413,1420,1427,1442,1457,1488,1503,1551,1582,1597,1612,1623,1642,1662,1669,1700,1715,1730,1741,1760,1780,1787,1818,1833,1848],{"type":14,"tag":57,"props":1121,"children":1122},{"class":59,"line":60},[1123,1127,1131,1135,1139,1143,1147,1151,1155],{"type":14,"tag":57,"props":1124,"children":1125},{"class":70},[1126],{"type":26,"value":267},{"type":14,"tag":57,"props":1128,"children":1129},{"class":270},[1130],{"type":26,"value":273},{"type":14,"tag":57,"props":1132,"children":1133},{"class":70},[1134],{"type":26,"value":94},{"type":14,"tag":57,"props":1136,"children":1137},{"class":97},[1138],{"type":26,"value":282},{"type":14,"tag":57,"props":1140,"children":1141},{"class":70},[1142],{"type":26,"value":89},{"type":14,"tag":57,"props":1144,"children":1145},{"class":160},[1146],{"type":26,"value":291},{"type":14,"tag":57,"props":1148,"children":1149},{"class":70},[1150],{"type":26,"value":94},{"type":14,"tag":57,"props":1152,"children":1153},{"class":97},[1154],{"type":26,"value":300},{"type":14,"tag":57,"props":1156,"children":1157},{"class":70},[1158],{"type":26,"value":305},{"type":14,"tag":57,"props":1160,"children":1161},{"class":59,"line":133},[1162,1166,1170,1174,1178,1182],{"type":14,"tag":57,"props":1163,"children":1164},{"class":64},[1165],{"type":26,"value":313},{"type":14,"tag":57,"props":1167,"children":1168},{"class":70},[1169],{"type":26,"value":318},{"type":14,"tag":57,"props":1171,"children":1172},{"class":64},[1173],{"type":26,"value":323},{"type":14,"tag":57,"props":1175,"children":1176},{"class":70},[1177],{"type":26,"value":94},{"type":14,"tag":57,"props":1179,"children":1180},{"class":160},[1181],{"type":26,"value":332},{"type":14,"tag":57,"props":1183,"children":1184},{"class":70},[1185],{"type":26,"value":337},{"type":14,"tag":57,"props":1187,"children":1188},{"class":59,"line":142},[1189],{"type":14,"tag":57,"props":1190,"children":1191},{},[1192],{"type":26,"value":345},{"type":14,"tag":57,"props":1194,"children":1195},{"class":59,"line":151},[1196,1200,1204,1208,1212,1216,1220,1224],{"type":14,"tag":57,"props":1197,"children":1198},{"class":64},[1199],{"type":26,"value":67},{"type":14,"tag":57,"props":1201,"children":1202},{"class":70},[1203],{"type":26,"value":73},{"type":14,"tag":57,"props":1205,"children":1206},{"class":76},[1207],{"type":26,"value":79},{"type":14,"tag":57,"props":1209,"children":1210},{"class":70},[1211],{"type":26,"value":84},{"type":14,"tag":57,"props":1213,"children":1214},{"class":64},[1215],{"type":26,"value":89},{"type":14,"tag":57,"props":1217,"children":1218},{"class":70},[1219],{"type":26,"value":94},{"type":14,"tag":57,"props":1221,"children":1222},{"class":97},[1223],{"type":26,"value":100},{"type":14,"tag":57,"props":1225,"children":1226},{"class":70},[1227],{"type":26,"value":381},{"type":14,"tag":57,"props":1229,"children":1230},{"class":59,"line":171},[1231,1235,1239,1243,1247,1251],{"type":14,"tag":57,"props":1232,"children":1233},{"class":70},[1234],{"type":26,"value":389},{"type":14,"tag":57,"props":1236,"children":1237},{"class":108},[1238],{"type":26,"value":394},{"type":14,"tag":57,"props":1240,"children":1241},{"class":64},[1242],{"type":26,"value":116},{"type":14,"tag":57,"props":1244,"children":1245},{"class":70},[1246],{"type":26,"value":94},{"type":14,"tag":57,"props":1248,"children":1249},{"class":76},[1250],{"type":26,"value":125},{"type":14,"tag":57,"props":1252,"children":1253},{"class":70},[1254],{"type":26,"value":337},{"type":14,"tag":57,"props":1256,"children":1257},{"class":59,"line":199},[1258,1262,1266,1270,1274,1278],{"type":14,"tag":57,"props":1259,"children":1260},{"class":70},[1261],{"type":26,"value":389},{"type":14,"tag":57,"props":1263,"children":1264},{"class":108},[1265],{"type":26,"value":422},{"type":14,"tag":57,"props":1267,"children":1268},{"class":64},[1269],{"type":26,"value":116},{"type":14,"tag":57,"props":1271,"children":1272},{"class":70},[1273],{"type":26,"value":94},{"type":14,"tag":57,"props":1275,"children":1276},{"class":76},[1277],{"type":26,"value":125},{"type":14,"tag":57,"props":1279,"children":1280},{"class":70},[1281],{"type":26,"value":337},{"type":14,"tag":57,"props":1283,"children":1284},{"class":59,"line":208},[1285,1289,1293,1297,1301,1305],{"type":14,"tag":57,"props":1286,"children":1287},{"class":70},[1288],{"type":26,"value":389},{"type":14,"tag":57,"props":1290,"children":1291},{"class":108},[1292],{"type":26,"value":450},{"type":14,"tag":57,"props":1294,"children":1295},{"class":64},[1296],{"type":26,"value":116},{"type":14,"tag":57,"props":1298,"children":1299},{"class":70},[1300],{"type":26,"value":94},{"type":14,"tag":57,"props":1302,"children":1303},{"class":76},[1304],{"type":26,"value":125},{"type":14,"tag":57,"props":1306,"children":1307},{"class":70},[1308],{"type":26,"value":337},{"type":14,"tag":57,"props":1310,"children":1311},{"class":59,"line":217},[1312],{"type":14,"tag":57,"props":1313,"children":1314},{"class":70},[1315],{"type":26,"value":474},{"type":14,"tag":57,"props":1317,"children":1318},{"class":59,"line":477},[1319],{"type":14,"tag":57,"props":1320,"children":1321},{"class":70},[1322],{"type":26,"value":483},{"type":14,"tag":57,"props":1324,"children":1325},{"class":59,"line":486},[1326,1330,1335],{"type":14,"tag":57,"props":1327,"children":1328},{"class":70},[1329],{"type":26,"value":492},{"type":14,"tag":57,"props":1331,"children":1332},{"class":160},[1333],{"type":26,"value":1334},"'alphanumeric'",{"type":14,"tag":57,"props":1336,"children":1337},{"class":70},[1338],{"type":26,"value":502},{"type":14,"tag":57,"props":1340,"children":1341},{"class":59,"line":505},[1342],{"type":14,"tag":57,"props":1343,"children":1344},{"class":70},[1345],{"type":26,"value":511},{"type":14,"tag":57,"props":1347,"children":1348},{"class":59,"line":514},[1349],{"type":14,"tag":57,"props":1350,"children":1351},{"class":70},[1352],{"type":26,"value":520},{"type":14,"tag":57,"props":1354,"children":1355},{"class":59,"line":523},[1356,1360,1364,1368,1372],{"type":14,"tag":57,"props":1357,"children":1358},{"class":70},[1359],{"type":26,"value":492},{"type":14,"tag":57,"props":1361,"children":1362},{"class":160},[1363],{"type":26,"value":1334},{"type":14,"tag":57,"props":1365,"children":1366},{"class":70},[1367],{"type":26,"value":537},{"type":14,"tag":57,"props":1369,"children":1370},{"class":76},[1371],{"type":26,"value":542},{"type":14,"tag":57,"props":1373,"children":1374},{"class":70},[1375],{"type":26,"value":502},{"type":14,"tag":57,"props":1377,"children":1378},{"class":59,"line":549},[1379],{"type":14,"tag":57,"props":1380,"children":1381},{"class":70},[1382],{"type":26,"value":511},{"type":14,"tag":57,"props":1384,"children":1385},{"class":59,"line":557},[1386],{"type":14,"tag":57,"props":1387,"children":1388},{"class":70},[1389],{"type":26,"value":563},{"type":14,"tag":57,"props":1391,"children":1392},{"class":59,"line":566},[1393,1397,1401,1405,1409],{"type":14,"tag":57,"props":1394,"children":1395},{"class":70},[1396],{"type":26,"value":492},{"type":14,"tag":57,"props":1398,"children":1399},{"class":160},[1400],{"type":26,"value":1334},{"type":14,"tag":57,"props":1402,"children":1403},{"class":70},[1404],{"type":26,"value":580},{"type":14,"tag":57,"props":1406,"children":1407},{"class":76},[1408],{"type":26,"value":542},{"type":14,"tag":57,"props":1410,"children":1411},{"class":70},[1412],{"type":26,"value":502},{"type":14,"tag":57,"props":1414,"children":1415},{"class":59,"line":591},[1416],{"type":14,"tag":57,"props":1417,"children":1418},{"class":70},[1419],{"type":26,"value":214},{"type":14,"tag":57,"props":1421,"children":1422},{"class":59,"line":599},[1423],{"type":14,"tag":57,"props":1424,"children":1425},{"class":70},[1426],{"type":26,"value":605},{"type":14,"tag":57,"props":1428,"children":1429},{"class":59,"line":608},[1430,1434,1438],{"type":14,"tag":57,"props":1431,"children":1432},{"class":70},[1433],{"type":26,"value":614},{"type":14,"tag":57,"props":1435,"children":1436},{"class":270},[1437],{"type":26,"value":273},{"type":14,"tag":57,"props":1439,"children":1440},{"class":70},[1441],{"type":26,"value":305},{"type":14,"tag":57,"props":1443,"children":1444},{"class":59,"line":625},[1445,1449,1453],{"type":14,"tag":57,"props":1446,"children":1447},{"class":70},[1448],{"type":26,"value":267},{"type":14,"tag":57,"props":1450,"children":1451},{"class":270},[1452],{"type":26,"value":236},{"type":14,"tag":57,"props":1454,"children":1455},{"class":70},[1456],{"type":26,"value":305},{"type":14,"tag":57,"props":1458,"children":1459},{"class":59,"line":641},[1460,1464,1468,1472,1476,1480,1484],{"type":14,"tag":57,"props":1461,"children":1462},{"class":70},[1463],{"type":26,"value":647},{"type":14,"tag":57,"props":1465,"children":1466},{"class":650},[1467],{"type":26,"value":653},{"type":14,"tag":57,"props":1469,"children":1470},{"class":70},[1471],{"type":26,"value":94},{"type":14,"tag":57,"props":1473,"children":1474},{"class":97},[1475],{"type":26,"value":662},{"type":14,"tag":57,"props":1477,"children":1478},{"class":70},[1479],{"type":26,"value":89},{"type":14,"tag":57,"props":1481,"children":1482},{"class":160},[1483],{"type":26,"value":671},{"type":14,"tag":57,"props":1485,"children":1486},{"class":70},[1487],{"type":26,"value":305},{"type":14,"tag":57,"props":1489,"children":1490},{"class":59,"line":678},[1491,1495,1499],{"type":14,"tag":57,"props":1492,"children":1493},{"class":70},[1494],{"type":26,"value":684},{"type":14,"tag":57,"props":1496,"children":1497},{"class":650},[1498],{"type":26,"value":689},{"type":14,"tag":57,"props":1500,"children":1501},{"class":70},[1502],{"type":26,"value":305},{"type":14,"tag":57,"props":1504,"children":1505},{"class":59,"line":696},[1506,1510,1514,1518,1522,1526,1530,1534,1538,1542,1547],{"type":14,"tag":57,"props":1507,"children":1508},{"class":70},[1509],{"type":26,"value":702},{"type":14,"tag":57,"props":1511,"children":1512},{"class":650},[1513],{"type":26,"value":707},{"type":14,"tag":57,"props":1515,"children":1516},{"class":70},[1517],{"type":26,"value":94},{"type":14,"tag":57,"props":1519,"children":1520},{"class":97},[1521],{"type":26,"value":111},{"type":14,"tag":57,"props":1523,"children":1524},{"class":70},[1525],{"type":26,"value":89},{"type":14,"tag":57,"props":1527,"children":1528},{"class":160},[1529],{"type":26,"value":724},{"type":14,"tag":57,"props":1531,"children":1532},{"class":70},[1533],{"type":26,"value":94},{"type":14,"tag":57,"props":1535,"children":1536},{"class":97},[1537],{"type":26,"value":733},{"type":14,"tag":57,"props":1539,"children":1540},{"class":70},[1541],{"type":26,"value":89},{"type":14,"tag":57,"props":1543,"children":1544},{"class":160},[1545],{"type":26,"value":1546},"\"This field should contain only letters and numbers\"",{"type":14,"tag":57,"props":1548,"children":1549},{"class":70},[1550],{"type":26,"value":747},{"type":14,"tag":57,"props":1552,"children":1553},{"class":59,"line":750},[1554,1558,1562,1566,1570,1574,1578],{"type":14,"tag":57,"props":1555,"children":1556},{"class":70},[1557],{"type":26,"value":702},{"type":14,"tag":57,"props":1559,"children":1560},{"class":650},[1561],{"type":26,"value":760},{"type":14,"tag":57,"props":1563,"children":1564},{"class":70},[1565],{"type":26,"value":94},{"type":14,"tag":57,"props":1567,"children":1568},{"class":97},[1569],{"type":26,"value":769},{"type":14,"tag":57,"props":1571,"children":1572},{"class":70},[1573],{"type":26,"value":89},{"type":14,"tag":57,"props":1575,"children":1576},{"class":160},[1577],{"type":26,"value":724},{"type":14,"tag":57,"props":1579,"children":1580},{"class":70},[1581],{"type":26,"value":747},{"type":14,"tag":57,"props":1583,"children":1584},{"class":59,"line":784},[1585,1589,1593],{"type":14,"tag":57,"props":1586,"children":1587},{"class":70},[1588],{"type":26,"value":790},{"type":14,"tag":57,"props":1590,"children":1591},{"class":650},[1592],{"type":26,"value":689},{"type":14,"tag":57,"props":1594,"children":1595},{"class":70},[1596],{"type":26,"value":305},{"type":14,"tag":57,"props":1598,"children":1599},{"class":59,"line":801},[1600,1604,1608],{"type":14,"tag":57,"props":1601,"children":1602},{"class":70},[1603],{"type":26,"value":684},{"type":14,"tag":57,"props":1605,"children":1606},{"class":650},[1607],{"type":26,"value":689},{"type":14,"tag":57,"props":1609,"children":1610},{"class":70},[1611],{"type":26,"value":305},{"type":14,"tag":57,"props":1613,"children":1614},{"class":59,"line":817},[1615,1619],{"type":14,"tag":57,"props":1616,"children":1617},{"class":70},[1618],{"type":26,"value":702},{"type":14,"tag":57,"props":1620,"children":1621},{"class":650},[1622],{"type":26,"value":827},{"type":14,"tag":57,"props":1624,"children":1625},{"class":59,"line":830},[1626,1630,1634,1638],{"type":14,"tag":57,"props":1627,"children":1628},{"class":70},[1629],{"type":26,"value":836},{"type":14,"tag":57,"props":1631,"children":1632},{"class":97},[1633],{"type":26,"value":111},{"type":14,"tag":57,"props":1635,"children":1636},{"class":70},[1637],{"type":26,"value":89},{"type":14,"tag":57,"props":1639,"children":1640},{"class":160},[1641],{"type":26,"value":849},{"type":14,"tag":57,"props":1643,"children":1644},{"class":59,"line":852},[1645,1649,1653,1657],{"type":14,"tag":57,"props":1646,"children":1647},{"class":70},[1648],{"type":26,"value":836},{"type":14,"tag":57,"props":1650,"children":1651},{"class":97},[1652],{"type":26,"value":733},{"type":14,"tag":57,"props":1654,"children":1655},{"class":70},[1656],{"type":26,"value":89},{"type":14,"tag":57,"props":1658,"children":1659},{"class":160},[1660],{"type":26,"value":1661},"\"This field should contain only letters, numbers and spaces\"\n",{"type":14,"tag":57,"props":1663,"children":1664},{"class":59,"line":873},[1665],{"type":14,"tag":57,"props":1666,"children":1667},{"class":70},[1668],{"type":26,"value":879},{"type":14,"tag":57,"props":1670,"children":1671},{"class":59,"line":882},[1672,1676,1680,1684,1688,1692,1696],{"type":14,"tag":57,"props":1673,"children":1674},{"class":70},[1675],{"type":26,"value":702},{"type":14,"tag":57,"props":1677,"children":1678},{"class":650},[1679],{"type":26,"value":760},{"type":14,"tag":57,"props":1681,"children":1682},{"class":70},[1683],{"type":26,"value":94},{"type":14,"tag":57,"props":1685,"children":1686},{"class":97},[1687],{"type":26,"value":769},{"type":14,"tag":57,"props":1689,"children":1690},{"class":70},[1691],{"type":26,"value":89},{"type":14,"tag":57,"props":1693,"children":1694},{"class":160},[1695],{"type":26,"value":908},{"type":14,"tag":57,"props":1697,"children":1698},{"class":70},[1699],{"type":26,"value":747},{"type":14,"tag":57,"props":1701,"children":1702},{"class":59,"line":915},[1703,1707,1711],{"type":14,"tag":57,"props":1704,"children":1705},{"class":70},[1706],{"type":26,"value":790},{"type":14,"tag":57,"props":1708,"children":1709},{"class":650},[1710],{"type":26,"value":689},{"type":14,"tag":57,"props":1712,"children":1713},{"class":70},[1714],{"type":26,"value":305},{"type":14,"tag":57,"props":1716,"children":1717},{"class":59,"line":931},[1718,1722,1726],{"type":14,"tag":57,"props":1719,"children":1720},{"class":70},[1721],{"type":26,"value":684},{"type":14,"tag":57,"props":1723,"children":1724},{"class":650},[1725],{"type":26,"value":689},{"type":14,"tag":57,"props":1727,"children":1728},{"class":70},[1729],{"type":26,"value":305},{"type":14,"tag":57,"props":1731,"children":1732},{"class":59,"line":947},[1733,1737],{"type":14,"tag":57,"props":1734,"children":1735},{"class":70},[1736],{"type":26,"value":702},{"type":14,"tag":57,"props":1738,"children":1739},{"class":650},[1740],{"type":26,"value":827},{"type":14,"tag":57,"props":1742,"children":1743},{"class":59,"line":959},[1744,1748,1752,1756],{"type":14,"tag":57,"props":1745,"children":1746},{"class":70},[1747],{"type":26,"value":836},{"type":14,"tag":57,"props":1749,"children":1750},{"class":97},[1751],{"type":26,"value":111},{"type":14,"tag":57,"props":1753,"children":1754},{"class":70},[1755],{"type":26,"value":89},{"type":14,"tag":57,"props":1757,"children":1758},{"class":160},[1759],{"type":26,"value":977},{"type":14,"tag":57,"props":1761,"children":1762},{"class":59,"line":980},[1763,1767,1771,1775],{"type":14,"tag":57,"props":1764,"children":1765},{"class":70},[1766],{"type":26,"value":836},{"type":14,"tag":57,"props":1768,"children":1769},{"class":97},[1770],{"type":26,"value":733},{"type":14,"tag":57,"props":1772,"children":1773},{"class":70},[1774],{"type":26,"value":89},{"type":14,"tag":57,"props":1776,"children":1777},{"class":160},[1778],{"type":26,"value":1779},"\"This field should contain only letters, numbers and dashes\"\n",{"type":14,"tag":57,"props":1781,"children":1782},{"class":59,"line":1001},[1783],{"type":14,"tag":57,"props":1784,"children":1785},{"class":70},[1786],{"type":26,"value":879},{"type":14,"tag":57,"props":1788,"children":1789},{"class":59,"line":1009},[1790,1794,1798,1802,1806,1810,1814],{"type":14,"tag":57,"props":1791,"children":1792},{"class":70},[1793],{"type":26,"value":702},{"type":14,"tag":57,"props":1795,"children":1796},{"class":650},[1797],{"type":26,"value":760},{"type":14,"tag":57,"props":1799,"children":1800},{"class":70},[1801],{"type":26,"value":94},{"type":14,"tag":57,"props":1803,"children":1804},{"class":97},[1805],{"type":26,"value":769},{"type":14,"tag":57,"props":1807,"children":1808},{"class":70},[1809],{"type":26,"value":89},{"type":14,"tag":57,"props":1811,"children":1812},{"class":160},[1813],{"type":26,"value":1035},{"type":14,"tag":57,"props":1815,"children":1816},{"class":70},[1817],{"type":26,"value":747},{"type":14,"tag":57,"props":1819,"children":1820},{"class":59,"line":1042},[1821,1825,1829],{"type":14,"tag":57,"props":1822,"children":1823},{"class":70},[1824],{"type":26,"value":790},{"type":14,"tag":57,"props":1826,"children":1827},{"class":650},[1828],{"type":26,"value":689},{"type":14,"tag":57,"props":1830,"children":1831},{"class":70},[1832],{"type":26,"value":305},{"type":14,"tag":57,"props":1834,"children":1835},{"class":59,"line":1058},[1836,1840,1844],{"type":14,"tag":57,"props":1837,"children":1838},{"class":70},[1839],{"type":26,"value":1064},{"type":14,"tag":57,"props":1841,"children":1842},{"class":650},[1843],{"type":26,"value":653},{"type":14,"tag":57,"props":1845,"children":1846},{"class":70},[1847],{"type":26,"value":305},{"type":14,"tag":57,"props":1849,"children":1850},{"class":59,"line":1075},[1851,1855,1859],{"type":14,"tag":57,"props":1852,"children":1853},{"class":70},[1854],{"type":26,"value":614},{"type":14,"tag":57,"props":1856,"children":1857},{"class":270},[1858],{"type":26,"value":236},{"type":14,"tag":57,"props":1860,"children":1861},{"class":70},[1862],{"type":26,"value":1089},{"type":14,"tag":225,"props":1864,"children":1866},{"id":1865},"email-validator",[1867],{"type":26,"value":1868},"Email Validator",{"type":14,"tag":232,"props":1870,"children":1871},{},[1872,1879],{"type":14,"tag":236,"props":1873,"children":1874},{"v-slot:preview":7},[1875],{"type":14,"tag":240,"props":1876,"children":1878},{"src":1877},"/stories/forms/validation/validators/email",[],{"type":14,"tag":236,"props":1880,"children":1881},{"v-slot:vue":7},[1882],{"type":14,"tag":42,"props":1883,"children":1886},{"className":1884,"code":1885,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [{ name: 'email' }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field should contain an email\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[1887],{"type":14,"tag":50,"props":1888,"children":1889},{},[1890],{"type":14,"tag":42,"props":1891,"children":1892},{"__ignoreMap":7},[1893,1932,1959,1966,2001,2028,2035,2042,2058,2065,2072,2087,2102,2133,2148,2196,2227,2242,2257],{"type":14,"tag":57,"props":1894,"children":1895},{"class":59,"line":60},[1896,1900,1904,1908,1912,1916,1920,1924,1928],{"type":14,"tag":57,"props":1897,"children":1898},{"class":70},[1899],{"type":26,"value":267},{"type":14,"tag":57,"props":1901,"children":1902},{"class":270},[1903],{"type":26,"value":273},{"type":14,"tag":57,"props":1905,"children":1906},{"class":70},[1907],{"type":26,"value":94},{"type":14,"tag":57,"props":1909,"children":1910},{"class":97},[1911],{"type":26,"value":282},{"type":14,"tag":57,"props":1913,"children":1914},{"class":70},[1915],{"type":26,"value":89},{"type":14,"tag":57,"props":1917,"children":1918},{"class":160},[1919],{"type":26,"value":291},{"type":14,"tag":57,"props":1921,"children":1922},{"class":70},[1923],{"type":26,"value":94},{"type":14,"tag":57,"props":1925,"children":1926},{"class":97},[1927],{"type":26,"value":300},{"type":14,"tag":57,"props":1929,"children":1930},{"class":70},[1931],{"type":26,"value":305},{"type":14,"tag":57,"props":1933,"children":1934},{"class":59,"line":133},[1935,1939,1943,1947,1951,1955],{"type":14,"tag":57,"props":1936,"children":1937},{"class":64},[1938],{"type":26,"value":313},{"type":14,"tag":57,"props":1940,"children":1941},{"class":70},[1942],{"type":26,"value":318},{"type":14,"tag":57,"props":1944,"children":1945},{"class":64},[1946],{"type":26,"value":323},{"type":14,"tag":57,"props":1948,"children":1949},{"class":70},[1950],{"type":26,"value":94},{"type":14,"tag":57,"props":1952,"children":1953},{"class":160},[1954],{"type":26,"value":332},{"type":14,"tag":57,"props":1956,"children":1957},{"class":70},[1958],{"type":26,"value":337},{"type":14,"tag":57,"props":1960,"children":1961},{"class":59,"line":142},[1962],{"type":14,"tag":57,"props":1963,"children":1964},{},[1965],{"type":26,"value":345},{"type":14,"tag":57,"props":1967,"children":1968},{"class":59,"line":151},[1969,1973,1977,1981,1985,1989,1993,1997],{"type":14,"tag":57,"props":1970,"children":1971},{"class":64},[1972],{"type":26,"value":67},{"type":14,"tag":57,"props":1974,"children":1975},{"class":70},[1976],{"type":26,"value":73},{"type":14,"tag":57,"props":1978,"children":1979},{"class":76},[1980],{"type":26,"value":79},{"type":14,"tag":57,"props":1982,"children":1983},{"class":70},[1984],{"type":26,"value":84},{"type":14,"tag":57,"props":1986,"children":1987},{"class":64},[1988],{"type":26,"value":89},{"type":14,"tag":57,"props":1990,"children":1991},{"class":70},[1992],{"type":26,"value":94},{"type":14,"tag":57,"props":1994,"children":1995},{"class":97},[1996],{"type":26,"value":100},{"type":14,"tag":57,"props":1998,"children":1999},{"class":70},[2000],{"type":26,"value":381},{"type":14,"tag":57,"props":2002,"children":2003},{"class":59,"line":171},[2004,2008,2012,2016,2020,2024],{"type":14,"tag":57,"props":2005,"children":2006},{"class":70},[2007],{"type":26,"value":389},{"type":14,"tag":57,"props":2009,"children":2010},{"class":108},[2011],{"type":26,"value":394},{"type":14,"tag":57,"props":2013,"children":2014},{"class":64},[2015],{"type":26,"value":116},{"type":14,"tag":57,"props":2017,"children":2018},{"class":70},[2019],{"type":26,"value":94},{"type":14,"tag":57,"props":2021,"children":2022},{"class":76},[2023],{"type":26,"value":125},{"type":14,"tag":57,"props":2025,"children":2026},{"class":70},[2027],{"type":26,"value":337},{"type":14,"tag":57,"props":2029,"children":2030},{"class":59,"line":199},[2031],{"type":14,"tag":57,"props":2032,"children":2033},{"class":70},[2034],{"type":26,"value":474},{"type":14,"tag":57,"props":2036,"children":2037},{"class":59,"line":208},[2038],{"type":14,"tag":57,"props":2039,"children":2040},{"class":70},[2041],{"type":26,"value":483},{"type":14,"tag":57,"props":2043,"children":2044},{"class":59,"line":217},[2045,2049,2054],{"type":14,"tag":57,"props":2046,"children":2047},{"class":70},[2048],{"type":26,"value":492},{"type":14,"tag":57,"props":2050,"children":2051},{"class":160},[2052],{"type":26,"value":2053},"'email'",{"type":14,"tag":57,"props":2055,"children":2056},{"class":70},[2057],{"type":26,"value":502},{"type":14,"tag":57,"props":2059,"children":2060},{"class":59,"line":477},[2061],{"type":14,"tag":57,"props":2062,"children":2063},{"class":70},[2064],{"type":26,"value":214},{"type":14,"tag":57,"props":2066,"children":2067},{"class":59,"line":486},[2068],{"type":14,"tag":57,"props":2069,"children":2070},{"class":70},[2071],{"type":26,"value":605},{"type":14,"tag":57,"props":2073,"children":2074},{"class":59,"line":505},[2075,2079,2083],{"type":14,"tag":57,"props":2076,"children":2077},{"class":70},[2078],{"type":26,"value":614},{"type":14,"tag":57,"props":2080,"children":2081},{"class":270},[2082],{"type":26,"value":273},{"type":14,"tag":57,"props":2084,"children":2085},{"class":70},[2086],{"type":26,"value":305},{"type":14,"tag":57,"props":2088,"children":2089},{"class":59,"line":514},[2090,2094,2098],{"type":14,"tag":57,"props":2091,"children":2092},{"class":70},[2093],{"type":26,"value":267},{"type":14,"tag":57,"props":2095,"children":2096},{"class":270},[2097],{"type":26,"value":236},{"type":14,"tag":57,"props":2099,"children":2100},{"class":70},[2101],{"type":26,"value":305},{"type":14,"tag":57,"props":2103,"children":2104},{"class":59,"line":523},[2105,2109,2113,2117,2121,2125,2129],{"type":14,"tag":57,"props":2106,"children":2107},{"class":70},[2108],{"type":26,"value":647},{"type":14,"tag":57,"props":2110,"children":2111},{"class":650},[2112],{"type":26,"value":653},{"type":14,"tag":57,"props":2114,"children":2115},{"class":70},[2116],{"type":26,"value":94},{"type":14,"tag":57,"props":2118,"children":2119},{"class":97},[2120],{"type":26,"value":662},{"type":14,"tag":57,"props":2122,"children":2123},{"class":70},[2124],{"type":26,"value":89},{"type":14,"tag":57,"props":2126,"children":2127},{"class":160},[2128],{"type":26,"value":671},{"type":14,"tag":57,"props":2130,"children":2131},{"class":70},[2132],{"type":26,"value":305},{"type":14,"tag":57,"props":2134,"children":2135},{"class":59,"line":549},[2136,2140,2144],{"type":14,"tag":57,"props":2137,"children":2138},{"class":70},[2139],{"type":26,"value":684},{"type":14,"tag":57,"props":2141,"children":2142},{"class":650},[2143],{"type":26,"value":689},{"type":14,"tag":57,"props":2145,"children":2146},{"class":70},[2147],{"type":26,"value":305},{"type":14,"tag":57,"props":2149,"children":2150},{"class":59,"line":557},[2151,2155,2159,2163,2167,2171,2175,2179,2183,2187,2192],{"type":14,"tag":57,"props":2152,"children":2153},{"class":70},[2154],{"type":26,"value":702},{"type":14,"tag":57,"props":2156,"children":2157},{"class":650},[2158],{"type":26,"value":707},{"type":14,"tag":57,"props":2160,"children":2161},{"class":70},[2162],{"type":26,"value":94},{"type":14,"tag":57,"props":2164,"children":2165},{"class":97},[2166],{"type":26,"value":111},{"type":14,"tag":57,"props":2168,"children":2169},{"class":70},[2170],{"type":26,"value":89},{"type":14,"tag":57,"props":2172,"children":2173},{"class":160},[2174],{"type":26,"value":724},{"type":14,"tag":57,"props":2176,"children":2177},{"class":70},[2178],{"type":26,"value":94},{"type":14,"tag":57,"props":2180,"children":2181},{"class":97},[2182],{"type":26,"value":733},{"type":14,"tag":57,"props":2184,"children":2185},{"class":70},[2186],{"type":26,"value":89},{"type":14,"tag":57,"props":2188,"children":2189},{"class":160},[2190],{"type":26,"value":2191},"\"This field should contain an email\"",{"type":14,"tag":57,"props":2193,"children":2194},{"class":70},[2195],{"type":26,"value":747},{"type":14,"tag":57,"props":2197,"children":2198},{"class":59,"line":566},[2199,2203,2207,2211,2215,2219,2223],{"type":14,"tag":57,"props":2200,"children":2201},{"class":70},[2202],{"type":26,"value":702},{"type":14,"tag":57,"props":2204,"children":2205},{"class":650},[2206],{"type":26,"value":760},{"type":14,"tag":57,"props":2208,"children":2209},{"class":70},[2210],{"type":26,"value":94},{"type":14,"tag":57,"props":2212,"children":2213},{"class":97},[2214],{"type":26,"value":769},{"type":14,"tag":57,"props":2216,"children":2217},{"class":70},[2218],{"type":26,"value":89},{"type":14,"tag":57,"props":2220,"children":2221},{"class":160},[2222],{"type":26,"value":724},{"type":14,"tag":57,"props":2224,"children":2225},{"class":70},[2226],{"type":26,"value":747},{"type":14,"tag":57,"props":2228,"children":2229},{"class":59,"line":591},[2230,2234,2238],{"type":14,"tag":57,"props":2231,"children":2232},{"class":70},[2233],{"type":26,"value":790},{"type":14,"tag":57,"props":2235,"children":2236},{"class":650},[2237],{"type":26,"value":689},{"type":14,"tag":57,"props":2239,"children":2240},{"class":70},[2241],{"type":26,"value":305},{"type":14,"tag":57,"props":2243,"children":2244},{"class":59,"line":599},[2245,2249,2253],{"type":14,"tag":57,"props":2246,"children":2247},{"class":70},[2248],{"type":26,"value":1064},{"type":14,"tag":57,"props":2250,"children":2251},{"class":650},[2252],{"type":26,"value":653},{"type":14,"tag":57,"props":2254,"children":2255},{"class":70},[2256],{"type":26,"value":305},{"type":14,"tag":57,"props":2258,"children":2259},{"class":59,"line":608},[2260,2264,2268],{"type":14,"tag":57,"props":2261,"children":2262},{"class":70},[2263],{"type":26,"value":614},{"type":14,"tag":57,"props":2265,"children":2266},{"class":270},[2267],{"type":26,"value":236},{"type":14,"tag":57,"props":2269,"children":2270},{"class":70},[2271],{"type":26,"value":1089},{"type":14,"tag":225,"props":2273,"children":2275},{"id":2274},"min-validator",[2276],{"type":26,"value":2277},"Min Validator",{"type":14,"tag":232,"props":2279,"children":2280},{},[2281,2288],{"type":14,"tag":236,"props":2282,"children":2283},{"v-slot:preview":7},[2284],{"type":14,"tag":240,"props":2285,"children":2287},{"src":2286},"/stories/forms/validation/validators/min",[],{"type":14,"tag":236,"props":2289,"children":2290},{"v-slot:vue":7},[2291],{"type":14,"tag":42,"props":2292,"children":2295},{"className":2293,"code":2294,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [{ name: 'min', value: 10 }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field accepts a minimum value of 10.\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[2296],{"type":14,"tag":50,"props":2297,"children":2298},{},[2299],{"type":14,"tag":42,"props":2300,"children":2301},{"__ignoreMap":7},[2302,2341,2368,2375,2410,2437,2444,2451,2476,2483,2490,2505,2520,2551,2566,2614,2645,2660,2675],{"type":14,"tag":57,"props":2303,"children":2304},{"class":59,"line":60},[2305,2309,2313,2317,2321,2325,2329,2333,2337],{"type":14,"tag":57,"props":2306,"children":2307},{"class":70},[2308],{"type":26,"value":267},{"type":14,"tag":57,"props":2310,"children":2311},{"class":270},[2312],{"type":26,"value":273},{"type":14,"tag":57,"props":2314,"children":2315},{"class":70},[2316],{"type":26,"value":94},{"type":14,"tag":57,"props":2318,"children":2319},{"class":97},[2320],{"type":26,"value":282},{"type":14,"tag":57,"props":2322,"children":2323},{"class":70},[2324],{"type":26,"value":89},{"type":14,"tag":57,"props":2326,"children":2327},{"class":160},[2328],{"type":26,"value":291},{"type":14,"tag":57,"props":2330,"children":2331},{"class":70},[2332],{"type":26,"value":94},{"type":14,"tag":57,"props":2334,"children":2335},{"class":97},[2336],{"type":26,"value":300},{"type":14,"tag":57,"props":2338,"children":2339},{"class":70},[2340],{"type":26,"value":305},{"type":14,"tag":57,"props":2342,"children":2343},{"class":59,"line":133},[2344,2348,2352,2356,2360,2364],{"type":14,"tag":57,"props":2345,"children":2346},{"class":64},[2347],{"type":26,"value":313},{"type":14,"tag":57,"props":2349,"children":2350},{"class":70},[2351],{"type":26,"value":318},{"type":14,"tag":57,"props":2353,"children":2354},{"class":64},[2355],{"type":26,"value":323},{"type":14,"tag":57,"props":2357,"children":2358},{"class":70},[2359],{"type":26,"value":94},{"type":14,"tag":57,"props":2361,"children":2362},{"class":160},[2363],{"type":26,"value":332},{"type":14,"tag":57,"props":2365,"children":2366},{"class":70},[2367],{"type":26,"value":337},{"type":14,"tag":57,"props":2369,"children":2370},{"class":59,"line":142},[2371],{"type":14,"tag":57,"props":2372,"children":2373},{},[2374],{"type":26,"value":345},{"type":14,"tag":57,"props":2376,"children":2377},{"class":59,"line":151},[2378,2382,2386,2390,2394,2398,2402,2406],{"type":14,"tag":57,"props":2379,"children":2380},{"class":64},[2381],{"type":26,"value":67},{"type":14,"tag":57,"props":2383,"children":2384},{"class":70},[2385],{"type":26,"value":73},{"type":14,"tag":57,"props":2387,"children":2388},{"class":76},[2389],{"type":26,"value":79},{"type":14,"tag":57,"props":2391,"children":2392},{"class":70},[2393],{"type":26,"value":84},{"type":14,"tag":57,"props":2395,"children":2396},{"class":64},[2397],{"type":26,"value":89},{"type":14,"tag":57,"props":2399,"children":2400},{"class":70},[2401],{"type":26,"value":94},{"type":14,"tag":57,"props":2403,"children":2404},{"class":97},[2405],{"type":26,"value":100},{"type":14,"tag":57,"props":2407,"children":2408},{"class":70},[2409],{"type":26,"value":381},{"type":14,"tag":57,"props":2411,"children":2412},{"class":59,"line":171},[2413,2417,2421,2425,2429,2433],{"type":14,"tag":57,"props":2414,"children":2415},{"class":70},[2416],{"type":26,"value":389},{"type":14,"tag":57,"props":2418,"children":2419},{"class":108},[2420],{"type":26,"value":394},{"type":14,"tag":57,"props":2422,"children":2423},{"class":64},[2424],{"type":26,"value":116},{"type":14,"tag":57,"props":2426,"children":2427},{"class":70},[2428],{"type":26,"value":94},{"type":14,"tag":57,"props":2430,"children":2431},{"class":76},[2432],{"type":26,"value":125},{"type":14,"tag":57,"props":2434,"children":2435},{"class":70},[2436],{"type":26,"value":337},{"type":14,"tag":57,"props":2438,"children":2439},{"class":59,"line":199},[2440],{"type":14,"tag":57,"props":2441,"children":2442},{"class":70},[2443],{"type":26,"value":474},{"type":14,"tag":57,"props":2445,"children":2446},{"class":59,"line":208},[2447],{"type":14,"tag":57,"props":2448,"children":2449},{"class":70},[2450],{"type":26,"value":483},{"type":14,"tag":57,"props":2452,"children":2453},{"class":59,"line":217},[2454,2458,2463,2467,2472],{"type":14,"tag":57,"props":2455,"children":2456},{"class":70},[2457],{"type":26,"value":492},{"type":14,"tag":57,"props":2459,"children":2460},{"class":160},[2461],{"type":26,"value":2462},"'min'",{"type":14,"tag":57,"props":2464,"children":2465},{"class":70},[2466],{"type":26,"value":186},{"type":14,"tag":57,"props":2468,"children":2469},{"class":76},[2470],{"type":26,"value":2471},"10",{"type":14,"tag":57,"props":2473,"children":2474},{"class":70},[2475],{"type":26,"value":502},{"type":14,"tag":57,"props":2477,"children":2478},{"class":59,"line":477},[2479],{"type":14,"tag":57,"props":2480,"children":2481},{"class":70},[2482],{"type":26,"value":214},{"type":14,"tag":57,"props":2484,"children":2485},{"class":59,"line":486},[2486],{"type":14,"tag":57,"props":2487,"children":2488},{"class":70},[2489],{"type":26,"value":605},{"type":14,"tag":57,"props":2491,"children":2492},{"class":59,"line":505},[2493,2497,2501],{"type":14,"tag":57,"props":2494,"children":2495},{"class":70},[2496],{"type":26,"value":614},{"type":14,"tag":57,"props":2498,"children":2499},{"class":270},[2500],{"type":26,"value":273},{"type":14,"tag":57,"props":2502,"children":2503},{"class":70},[2504],{"type":26,"value":305},{"type":14,"tag":57,"props":2506,"children":2507},{"class":59,"line":514},[2508,2512,2516],{"type":14,"tag":57,"props":2509,"children":2510},{"class":70},[2511],{"type":26,"value":267},{"type":14,"tag":57,"props":2513,"children":2514},{"class":270},[2515],{"type":26,"value":236},{"type":14,"tag":57,"props":2517,"children":2518},{"class":70},[2519],{"type":26,"value":305},{"type":14,"tag":57,"props":2521,"children":2522},{"class":59,"line":523},[2523,2527,2531,2535,2539,2543,2547],{"type":14,"tag":57,"props":2524,"children":2525},{"class":70},[2526],{"type":26,"value":647},{"type":14,"tag":57,"props":2528,"children":2529},{"class":650},[2530],{"type":26,"value":653},{"type":14,"tag":57,"props":2532,"children":2533},{"class":70},[2534],{"type":26,"value":94},{"type":14,"tag":57,"props":2536,"children":2537},{"class":97},[2538],{"type":26,"value":662},{"type":14,"tag":57,"props":2540,"children":2541},{"class":70},[2542],{"type":26,"value":89},{"type":14,"tag":57,"props":2544,"children":2545},{"class":160},[2546],{"type":26,"value":671},{"type":14,"tag":57,"props":2548,"children":2549},{"class":70},[2550],{"type":26,"value":305},{"type":14,"tag":57,"props":2552,"children":2553},{"class":59,"line":549},[2554,2558,2562],{"type":14,"tag":57,"props":2555,"children":2556},{"class":70},[2557],{"type":26,"value":684},{"type":14,"tag":57,"props":2559,"children":2560},{"class":650},[2561],{"type":26,"value":689},{"type":14,"tag":57,"props":2563,"children":2564},{"class":70},[2565],{"type":26,"value":305},{"type":14,"tag":57,"props":2567,"children":2568},{"class":59,"line":557},[2569,2573,2577,2581,2585,2589,2593,2597,2601,2605,2610],{"type":14,"tag":57,"props":2570,"children":2571},{"class":70},[2572],{"type":26,"value":702},{"type":14,"tag":57,"props":2574,"children":2575},{"class":650},[2576],{"type":26,"value":707},{"type":14,"tag":57,"props":2578,"children":2579},{"class":70},[2580],{"type":26,"value":94},{"type":14,"tag":57,"props":2582,"children":2583},{"class":97},[2584],{"type":26,"value":111},{"type":14,"tag":57,"props":2586,"children":2587},{"class":70},[2588],{"type":26,"value":89},{"type":14,"tag":57,"props":2590,"children":2591},{"class":160},[2592],{"type":26,"value":724},{"type":14,"tag":57,"props":2594,"children":2595},{"class":70},[2596],{"type":26,"value":94},{"type":14,"tag":57,"props":2598,"children":2599},{"class":97},[2600],{"type":26,"value":733},{"type":14,"tag":57,"props":2602,"children":2603},{"class":70},[2604],{"type":26,"value":89},{"type":14,"tag":57,"props":2606,"children":2607},{"class":160},[2608],{"type":26,"value":2609},"\"This field accepts a minimum value of 10.\"",{"type":14,"tag":57,"props":2611,"children":2612},{"class":70},[2613],{"type":26,"value":747},{"type":14,"tag":57,"props":2615,"children":2616},{"class":59,"line":566},[2617,2621,2625,2629,2633,2637,2641],{"type":14,"tag":57,"props":2618,"children":2619},{"class":70},[2620],{"type":26,"value":702},{"type":14,"tag":57,"props":2622,"children":2623},{"class":650},[2624],{"type":26,"value":760},{"type":14,"tag":57,"props":2626,"children":2627},{"class":70},[2628],{"type":26,"value":94},{"type":14,"tag":57,"props":2630,"children":2631},{"class":97},[2632],{"type":26,"value":769},{"type":14,"tag":57,"props":2634,"children":2635},{"class":70},[2636],{"type":26,"value":89},{"type":14,"tag":57,"props":2638,"children":2639},{"class":160},[2640],{"type":26,"value":724},{"type":14,"tag":57,"props":2642,"children":2643},{"class":70},[2644],{"type":26,"value":747},{"type":14,"tag":57,"props":2646,"children":2647},{"class":59,"line":591},[2648,2652,2656],{"type":14,"tag":57,"props":2649,"children":2650},{"class":70},[2651],{"type":26,"value":790},{"type":14,"tag":57,"props":2653,"children":2654},{"class":650},[2655],{"type":26,"value":689},{"type":14,"tag":57,"props":2657,"children":2658},{"class":70},[2659],{"type":26,"value":305},{"type":14,"tag":57,"props":2661,"children":2662},{"class":59,"line":599},[2663,2667,2671],{"type":14,"tag":57,"props":2664,"children":2665},{"class":70},[2666],{"type":26,"value":1064},{"type":14,"tag":57,"props":2668,"children":2669},{"class":650},[2670],{"type":26,"value":653},{"type":14,"tag":57,"props":2672,"children":2673},{"class":70},[2674],{"type":26,"value":305},{"type":14,"tag":57,"props":2676,"children":2677},{"class":59,"line":608},[2678,2682,2686],{"type":14,"tag":57,"props":2679,"children":2680},{"class":70},[2681],{"type":26,"value":614},{"type":14,"tag":57,"props":2683,"children":2684},{"class":270},[2685],{"type":26,"value":236},{"type":14,"tag":57,"props":2687,"children":2688},{"class":70},[2689],{"type":26,"value":1089},{"type":14,"tag":225,"props":2691,"children":2693},{"id":2692},"max-validator",[2694],{"type":26,"value":2695},"Max Validator",{"type":14,"tag":232,"props":2697,"children":2698},{},[2699,2706],{"type":14,"tag":236,"props":2700,"children":2701},{"v-slot:preview":7},[2702],{"type":14,"tag":240,"props":2703,"children":2705},{"src":2704},"/stories/forms/validation/validators/max",[],{"type":14,"tag":236,"props":2707,"children":2708},{"v-slot:vue":7},[2709],{"type":14,"tag":42,"props":2710,"children":2713},{"className":2711,"code":2712,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [{ name: 'max', value: 100 }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field accepts a maximum value of 100.\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[2714],{"type":14,"tag":50,"props":2715,"children":2716},{},[2717],{"type":14,"tag":42,"props":2718,"children":2719},{"__ignoreMap":7},[2720,2759,2786,2793,2828,2855,2862,2869,2894,2901,2908,2923,2938,2969,2984,3032,3063,3078,3093],{"type":14,"tag":57,"props":2721,"children":2722},{"class":59,"line":60},[2723,2727,2731,2735,2739,2743,2747,2751,2755],{"type":14,"tag":57,"props":2724,"children":2725},{"class":70},[2726],{"type":26,"value":267},{"type":14,"tag":57,"props":2728,"children":2729},{"class":270},[2730],{"type":26,"value":273},{"type":14,"tag":57,"props":2732,"children":2733},{"class":70},[2734],{"type":26,"value":94},{"type":14,"tag":57,"props":2736,"children":2737},{"class":97},[2738],{"type":26,"value":282},{"type":14,"tag":57,"props":2740,"children":2741},{"class":70},[2742],{"type":26,"value":89},{"type":14,"tag":57,"props":2744,"children":2745},{"class":160},[2746],{"type":26,"value":291},{"type":14,"tag":57,"props":2748,"children":2749},{"class":70},[2750],{"type":26,"value":94},{"type":14,"tag":57,"props":2752,"children":2753},{"class":97},[2754],{"type":26,"value":300},{"type":14,"tag":57,"props":2756,"children":2757},{"class":70},[2758],{"type":26,"value":305},{"type":14,"tag":57,"props":2760,"children":2761},{"class":59,"line":133},[2762,2766,2770,2774,2778,2782],{"type":14,"tag":57,"props":2763,"children":2764},{"class":64},[2765],{"type":26,"value":313},{"type":14,"tag":57,"props":2767,"children":2768},{"class":70},[2769],{"type":26,"value":318},{"type":14,"tag":57,"props":2771,"children":2772},{"class":64},[2773],{"type":26,"value":323},{"type":14,"tag":57,"props":2775,"children":2776},{"class":70},[2777],{"type":26,"value":94},{"type":14,"tag":57,"props":2779,"children":2780},{"class":160},[2781],{"type":26,"value":332},{"type":14,"tag":57,"props":2783,"children":2784},{"class":70},[2785],{"type":26,"value":337},{"type":14,"tag":57,"props":2787,"children":2788},{"class":59,"line":142},[2789],{"type":14,"tag":57,"props":2790,"children":2791},{},[2792],{"type":26,"value":345},{"type":14,"tag":57,"props":2794,"children":2795},{"class":59,"line":151},[2796,2800,2804,2808,2812,2816,2820,2824],{"type":14,"tag":57,"props":2797,"children":2798},{"class":64},[2799],{"type":26,"value":67},{"type":14,"tag":57,"props":2801,"children":2802},{"class":70},[2803],{"type":26,"value":73},{"type":14,"tag":57,"props":2805,"children":2806},{"class":76},[2807],{"type":26,"value":79},{"type":14,"tag":57,"props":2809,"children":2810},{"class":70},[2811],{"type":26,"value":84},{"type":14,"tag":57,"props":2813,"children":2814},{"class":64},[2815],{"type":26,"value":89},{"type":14,"tag":57,"props":2817,"children":2818},{"class":70},[2819],{"type":26,"value":94},{"type":14,"tag":57,"props":2821,"children":2822},{"class":97},[2823],{"type":26,"value":100},{"type":14,"tag":57,"props":2825,"children":2826},{"class":70},[2827],{"type":26,"value":381},{"type":14,"tag":57,"props":2829,"children":2830},{"class":59,"line":171},[2831,2835,2839,2843,2847,2851],{"type":14,"tag":57,"props":2832,"children":2833},{"class":70},[2834],{"type":26,"value":389},{"type":14,"tag":57,"props":2836,"children":2837},{"class":108},[2838],{"type":26,"value":394},{"type":14,"tag":57,"props":2840,"children":2841},{"class":64},[2842],{"type":26,"value":116},{"type":14,"tag":57,"props":2844,"children":2845},{"class":70},[2846],{"type":26,"value":94},{"type":14,"tag":57,"props":2848,"children":2849},{"class":76},[2850],{"type":26,"value":125},{"type":14,"tag":57,"props":2852,"children":2853},{"class":70},[2854],{"type":26,"value":337},{"type":14,"tag":57,"props":2856,"children":2857},{"class":59,"line":199},[2858],{"type":14,"tag":57,"props":2859,"children":2860},{"class":70},[2861],{"type":26,"value":474},{"type":14,"tag":57,"props":2863,"children":2864},{"class":59,"line":208},[2865],{"type":14,"tag":57,"props":2866,"children":2867},{"class":70},[2868],{"type":26,"value":483},{"type":14,"tag":57,"props":2870,"children":2871},{"class":59,"line":217},[2872,2876,2881,2885,2890],{"type":14,"tag":57,"props":2873,"children":2874},{"class":70},[2875],{"type":26,"value":492},{"type":14,"tag":57,"props":2877,"children":2878},{"class":160},[2879],{"type":26,"value":2880},"'max'",{"type":14,"tag":57,"props":2882,"children":2883},{"class":70},[2884],{"type":26,"value":186},{"type":14,"tag":57,"props":2886,"children":2887},{"class":76},[2888],{"type":26,"value":2889},"100",{"type":14,"tag":57,"props":2891,"children":2892},{"class":70},[2893],{"type":26,"value":502},{"type":14,"tag":57,"props":2895,"children":2896},{"class":59,"line":477},[2897],{"type":14,"tag":57,"props":2898,"children":2899},{"class":70},[2900],{"type":26,"value":214},{"type":14,"tag":57,"props":2902,"children":2903},{"class":59,"line":486},[2904],{"type":14,"tag":57,"props":2905,"children":2906},{"class":70},[2907],{"type":26,"value":605},{"type":14,"tag":57,"props":2909,"children":2910},{"class":59,"line":505},[2911,2915,2919],{"type":14,"tag":57,"props":2912,"children":2913},{"class":70},[2914],{"type":26,"value":614},{"type":14,"tag":57,"props":2916,"children":2917},{"class":270},[2918],{"type":26,"value":273},{"type":14,"tag":57,"props":2920,"children":2921},{"class":70},[2922],{"type":26,"value":305},{"type":14,"tag":57,"props":2924,"children":2925},{"class":59,"line":514},[2926,2930,2934],{"type":14,"tag":57,"props":2927,"children":2928},{"class":70},[2929],{"type":26,"value":267},{"type":14,"tag":57,"props":2931,"children":2932},{"class":270},[2933],{"type":26,"value":236},{"type":14,"tag":57,"props":2935,"children":2936},{"class":70},[2937],{"type":26,"value":305},{"type":14,"tag":57,"props":2939,"children":2940},{"class":59,"line":523},[2941,2945,2949,2953,2957,2961,2965],{"type":14,"tag":57,"props":2942,"children":2943},{"class":70},[2944],{"type":26,"value":647},{"type":14,"tag":57,"props":2946,"children":2947},{"class":650},[2948],{"type":26,"value":653},{"type":14,"tag":57,"props":2950,"children":2951},{"class":70},[2952],{"type":26,"value":94},{"type":14,"tag":57,"props":2954,"children":2955},{"class":97},[2956],{"type":26,"value":662},{"type":14,"tag":57,"props":2958,"children":2959},{"class":70},[2960],{"type":26,"value":89},{"type":14,"tag":57,"props":2962,"children":2963},{"class":160},[2964],{"type":26,"value":671},{"type":14,"tag":57,"props":2966,"children":2967},{"class":70},[2968],{"type":26,"value":305},{"type":14,"tag":57,"props":2970,"children":2971},{"class":59,"line":549},[2972,2976,2980],{"type":14,"tag":57,"props":2973,"children":2974},{"class":70},[2975],{"type":26,"value":684},{"type":14,"tag":57,"props":2977,"children":2978},{"class":650},[2979],{"type":26,"value":689},{"type":14,"tag":57,"props":2981,"children":2982},{"class":70},[2983],{"type":26,"value":305},{"type":14,"tag":57,"props":2985,"children":2986},{"class":59,"line":557},[2987,2991,2995,2999,3003,3007,3011,3015,3019,3023,3028],{"type":14,"tag":57,"props":2988,"children":2989},{"class":70},[2990],{"type":26,"value":702},{"type":14,"tag":57,"props":2992,"children":2993},{"class":650},[2994],{"type":26,"value":707},{"type":14,"tag":57,"props":2996,"children":2997},{"class":70},[2998],{"type":26,"value":94},{"type":14,"tag":57,"props":3000,"children":3001},{"class":97},[3002],{"type":26,"value":111},{"type":14,"tag":57,"props":3004,"children":3005},{"class":70},[3006],{"type":26,"value":89},{"type":14,"tag":57,"props":3008,"children":3009},{"class":160},[3010],{"type":26,"value":724},{"type":14,"tag":57,"props":3012,"children":3013},{"class":70},[3014],{"type":26,"value":94},{"type":14,"tag":57,"props":3016,"children":3017},{"class":97},[3018],{"type":26,"value":733},{"type":14,"tag":57,"props":3020,"children":3021},{"class":70},[3022],{"type":26,"value":89},{"type":14,"tag":57,"props":3024,"children":3025},{"class":160},[3026],{"type":26,"value":3027},"\"This field accepts a maximum value of 100.\"",{"type":14,"tag":57,"props":3029,"children":3030},{"class":70},[3031],{"type":26,"value":747},{"type":14,"tag":57,"props":3033,"children":3034},{"class":59,"line":566},[3035,3039,3043,3047,3051,3055,3059],{"type":14,"tag":57,"props":3036,"children":3037},{"class":70},[3038],{"type":26,"value":702},{"type":14,"tag":57,"props":3040,"children":3041},{"class":650},[3042],{"type":26,"value":760},{"type":14,"tag":57,"props":3044,"children":3045},{"class":70},[3046],{"type":26,"value":94},{"type":14,"tag":57,"props":3048,"children":3049},{"class":97},[3050],{"type":26,"value":769},{"type":14,"tag":57,"props":3052,"children":3053},{"class":70},[3054],{"type":26,"value":89},{"type":14,"tag":57,"props":3056,"children":3057},{"class":160},[3058],{"type":26,"value":724},{"type":14,"tag":57,"props":3060,"children":3061},{"class":70},[3062],{"type":26,"value":747},{"type":14,"tag":57,"props":3064,"children":3065},{"class":59,"line":591},[3066,3070,3074],{"type":14,"tag":57,"props":3067,"children":3068},{"class":70},[3069],{"type":26,"value":790},{"type":14,"tag":57,"props":3071,"children":3072},{"class":650},[3073],{"type":26,"value":689},{"type":14,"tag":57,"props":3075,"children":3076},{"class":70},[3077],{"type":26,"value":305},{"type":14,"tag":57,"props":3079,"children":3080},{"class":59,"line":599},[3081,3085,3089],{"type":14,"tag":57,"props":3082,"children":3083},{"class":70},[3084],{"type":26,"value":1064},{"type":14,"tag":57,"props":3086,"children":3087},{"class":650},[3088],{"type":26,"value":653},{"type":14,"tag":57,"props":3090,"children":3091},{"class":70},[3092],{"type":26,"value":305},{"type":14,"tag":57,"props":3094,"children":3095},{"class":59,"line":608},[3096,3100,3104],{"type":14,"tag":57,"props":3097,"children":3098},{"class":70},[3099],{"type":26,"value":614},{"type":14,"tag":57,"props":3101,"children":3102},{"class":270},[3103],{"type":26,"value":236},{"type":14,"tag":57,"props":3105,"children":3106},{"class":70},[3107],{"type":26,"value":1089},{"type":14,"tag":225,"props":3109,"children":3111},{"id":3110},"min-length-validator",[3112],{"type":26,"value":3113},"Min Length Validator",{"type":14,"tag":232,"props":3115,"children":3116},{},[3117,3124],{"type":14,"tag":236,"props":3118,"children":3119},{"v-slot:preview":7},[3120],{"type":14,"tag":240,"props":3121,"children":3123},{"src":3122},"/stories/forms/validation/validators/min-length",[],{"type":14,"tag":236,"props":3125,"children":3126},{"v-slot:vue":7},[3127],{"type":14,"tag":42,"props":3128,"children":3131},{"className":3129,"code":3130,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [{ name: 'minLength', value: 6 }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field requires at least 6 characters.\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[3132],{"type":14,"tag":50,"props":3133,"children":3134},{},[3135],{"type":14,"tag":42,"props":3136,"children":3137},{"__ignoreMap":7},[3138,3177,3204,3211,3246,3273,3280,3287,3311,3318,3325,3340,3355,3386,3401,3449,3480,3495,3510],{"type":14,"tag":57,"props":3139,"children":3140},{"class":59,"line":60},[3141,3145,3149,3153,3157,3161,3165,3169,3173],{"type":14,"tag":57,"props":3142,"children":3143},{"class":70},[3144],{"type":26,"value":267},{"type":14,"tag":57,"props":3146,"children":3147},{"class":270},[3148],{"type":26,"value":273},{"type":14,"tag":57,"props":3150,"children":3151},{"class":70},[3152],{"type":26,"value":94},{"type":14,"tag":57,"props":3154,"children":3155},{"class":97},[3156],{"type":26,"value":282},{"type":14,"tag":57,"props":3158,"children":3159},{"class":70},[3160],{"type":26,"value":89},{"type":14,"tag":57,"props":3162,"children":3163},{"class":160},[3164],{"type":26,"value":291},{"type":14,"tag":57,"props":3166,"children":3167},{"class":70},[3168],{"type":26,"value":94},{"type":14,"tag":57,"props":3170,"children":3171},{"class":97},[3172],{"type":26,"value":300},{"type":14,"tag":57,"props":3174,"children":3175},{"class":70},[3176],{"type":26,"value":305},{"type":14,"tag":57,"props":3178,"children":3179},{"class":59,"line":133},[3180,3184,3188,3192,3196,3200],{"type":14,"tag":57,"props":3181,"children":3182},{"class":64},[3183],{"type":26,"value":313},{"type":14,"tag":57,"props":3185,"children":3186},{"class":70},[3187],{"type":26,"value":318},{"type":14,"tag":57,"props":3189,"children":3190},{"class":64},[3191],{"type":26,"value":323},{"type":14,"tag":57,"props":3193,"children":3194},{"class":70},[3195],{"type":26,"value":94},{"type":14,"tag":57,"props":3197,"children":3198},{"class":160},[3199],{"type":26,"value":332},{"type":14,"tag":57,"props":3201,"children":3202},{"class":70},[3203],{"type":26,"value":337},{"type":14,"tag":57,"props":3205,"children":3206},{"class":59,"line":142},[3207],{"type":14,"tag":57,"props":3208,"children":3209},{},[3210],{"type":26,"value":345},{"type":14,"tag":57,"props":3212,"children":3213},{"class":59,"line":151},[3214,3218,3222,3226,3230,3234,3238,3242],{"type":14,"tag":57,"props":3215,"children":3216},{"class":64},[3217],{"type":26,"value":67},{"type":14,"tag":57,"props":3219,"children":3220},{"class":70},[3221],{"type":26,"value":73},{"type":14,"tag":57,"props":3223,"children":3224},{"class":76},[3225],{"type":26,"value":79},{"type":14,"tag":57,"props":3227,"children":3228},{"class":70},[3229],{"type":26,"value":84},{"type":14,"tag":57,"props":3231,"children":3232},{"class":64},[3233],{"type":26,"value":89},{"type":14,"tag":57,"props":3235,"children":3236},{"class":70},[3237],{"type":26,"value":94},{"type":14,"tag":57,"props":3239,"children":3240},{"class":97},[3241],{"type":26,"value":100},{"type":14,"tag":57,"props":3243,"children":3244},{"class":70},[3245],{"type":26,"value":381},{"type":14,"tag":57,"props":3247,"children":3248},{"class":59,"line":171},[3249,3253,3257,3261,3265,3269],{"type":14,"tag":57,"props":3250,"children":3251},{"class":70},[3252],{"type":26,"value":389},{"type":14,"tag":57,"props":3254,"children":3255},{"class":108},[3256],{"type":26,"value":394},{"type":14,"tag":57,"props":3258,"children":3259},{"class":64},[3260],{"type":26,"value":116},{"type":14,"tag":57,"props":3262,"children":3263},{"class":70},[3264],{"type":26,"value":94},{"type":14,"tag":57,"props":3266,"children":3267},{"class":76},[3268],{"type":26,"value":125},{"type":14,"tag":57,"props":3270,"children":3271},{"class":70},[3272],{"type":26,"value":337},{"type":14,"tag":57,"props":3274,"children":3275},{"class":59,"line":199},[3276],{"type":14,"tag":57,"props":3277,"children":3278},{"class":70},[3279],{"type":26,"value":474},{"type":14,"tag":57,"props":3281,"children":3282},{"class":59,"line":208},[3283],{"type":14,"tag":57,"props":3284,"children":3285},{"class":70},[3286],{"type":26,"value":483},{"type":14,"tag":57,"props":3288,"children":3289},{"class":59,"line":217},[3290,3294,3298,3302,3307],{"type":14,"tag":57,"props":3291,"children":3292},{"class":70},[3293],{"type":26,"value":492},{"type":14,"tag":57,"props":3295,"children":3296},{"class":160},[3297],{"type":26,"value":181},{"type":14,"tag":57,"props":3299,"children":3300},{"class":70},[3301],{"type":26,"value":186},{"type":14,"tag":57,"props":3303,"children":3304},{"class":76},[3305],{"type":26,"value":3306},"6",{"type":14,"tag":57,"props":3308,"children":3309},{"class":70},[3310],{"type":26,"value":502},{"type":14,"tag":57,"props":3312,"children":3313},{"class":59,"line":477},[3314],{"type":14,"tag":57,"props":3315,"children":3316},{"class":70},[3317],{"type":26,"value":214},{"type":14,"tag":57,"props":3319,"children":3320},{"class":59,"line":486},[3321],{"type":14,"tag":57,"props":3322,"children":3323},{"class":70},[3324],{"type":26,"value":605},{"type":14,"tag":57,"props":3326,"children":3327},{"class":59,"line":505},[3328,3332,3336],{"type":14,"tag":57,"props":3329,"children":3330},{"class":70},[3331],{"type":26,"value":614},{"type":14,"tag":57,"props":3333,"children":3334},{"class":270},[3335],{"type":26,"value":273},{"type":14,"tag":57,"props":3337,"children":3338},{"class":70},[3339],{"type":26,"value":305},{"type":14,"tag":57,"props":3341,"children":3342},{"class":59,"line":514},[3343,3347,3351],{"type":14,"tag":57,"props":3344,"children":3345},{"class":70},[3346],{"type":26,"value":267},{"type":14,"tag":57,"props":3348,"children":3349},{"class":270},[3350],{"type":26,"value":236},{"type":14,"tag":57,"props":3352,"children":3353},{"class":70},[3354],{"type":26,"value":305},{"type":14,"tag":57,"props":3356,"children":3357},{"class":59,"line":523},[3358,3362,3366,3370,3374,3378,3382],{"type":14,"tag":57,"props":3359,"children":3360},{"class":70},[3361],{"type":26,"value":647},{"type":14,"tag":57,"props":3363,"children":3364},{"class":650},[3365],{"type":26,"value":653},{"type":14,"tag":57,"props":3367,"children":3368},{"class":70},[3369],{"type":26,"value":94},{"type":14,"tag":57,"props":3371,"children":3372},{"class":97},[3373],{"type":26,"value":662},{"type":14,"tag":57,"props":3375,"children":3376},{"class":70},[3377],{"type":26,"value":89},{"type":14,"tag":57,"props":3379,"children":3380},{"class":160},[3381],{"type":26,"value":671},{"type":14,"tag":57,"props":3383,"children":3384},{"class":70},[3385],{"type":26,"value":305},{"type":14,"tag":57,"props":3387,"children":3388},{"class":59,"line":549},[3389,3393,3397],{"type":14,"tag":57,"props":3390,"children":3391},{"class":70},[3392],{"type":26,"value":684},{"type":14,"tag":57,"props":3394,"children":3395},{"class":650},[3396],{"type":26,"value":689},{"type":14,"tag":57,"props":3398,"children":3399},{"class":70},[3400],{"type":26,"value":305},{"type":14,"tag":57,"props":3402,"children":3403},{"class":59,"line":557},[3404,3408,3412,3416,3420,3424,3428,3432,3436,3440,3445],{"type":14,"tag":57,"props":3405,"children":3406},{"class":70},[3407],{"type":26,"value":702},{"type":14,"tag":57,"props":3409,"children":3410},{"class":650},[3411],{"type":26,"value":707},{"type":14,"tag":57,"props":3413,"children":3414},{"class":70},[3415],{"type":26,"value":94},{"type":14,"tag":57,"props":3417,"children":3418},{"class":97},[3419],{"type":26,"value":111},{"type":14,"tag":57,"props":3421,"children":3422},{"class":70},[3423],{"type":26,"value":89},{"type":14,"tag":57,"props":3425,"children":3426},{"class":160},[3427],{"type":26,"value":724},{"type":14,"tag":57,"props":3429,"children":3430},{"class":70},[3431],{"type":26,"value":94},{"type":14,"tag":57,"props":3433,"children":3434},{"class":97},[3435],{"type":26,"value":733},{"type":14,"tag":57,"props":3437,"children":3438},{"class":70},[3439],{"type":26,"value":89},{"type":14,"tag":57,"props":3441,"children":3442},{"class":160},[3443],{"type":26,"value":3444},"\"This field requires at least 6 characters.\"",{"type":14,"tag":57,"props":3446,"children":3447},{"class":70},[3448],{"type":26,"value":747},{"type":14,"tag":57,"props":3450,"children":3451},{"class":59,"line":566},[3452,3456,3460,3464,3468,3472,3476],{"type":14,"tag":57,"props":3453,"children":3454},{"class":70},[3455],{"type":26,"value":702},{"type":14,"tag":57,"props":3457,"children":3458},{"class":650},[3459],{"type":26,"value":760},{"type":14,"tag":57,"props":3461,"children":3462},{"class":70},[3463],{"type":26,"value":94},{"type":14,"tag":57,"props":3465,"children":3466},{"class":97},[3467],{"type":26,"value":769},{"type":14,"tag":57,"props":3469,"children":3470},{"class":70},[3471],{"type":26,"value":89},{"type":14,"tag":57,"props":3473,"children":3474},{"class":160},[3475],{"type":26,"value":724},{"type":14,"tag":57,"props":3477,"children":3478},{"class":70},[3479],{"type":26,"value":747},{"type":14,"tag":57,"props":3481,"children":3482},{"class":59,"line":591},[3483,3487,3491],{"type":14,"tag":57,"props":3484,"children":3485},{"class":70},[3486],{"type":26,"value":790},{"type":14,"tag":57,"props":3488,"children":3489},{"class":650},[3490],{"type":26,"value":689},{"type":14,"tag":57,"props":3492,"children":3493},{"class":70},[3494],{"type":26,"value":305},{"type":14,"tag":57,"props":3496,"children":3497},{"class":59,"line":599},[3498,3502,3506],{"type":14,"tag":57,"props":3499,"children":3500},{"class":70},[3501],{"type":26,"value":1064},{"type":14,"tag":57,"props":3503,"children":3504},{"class":650},[3505],{"type":26,"value":653},{"type":14,"tag":57,"props":3507,"children":3508},{"class":70},[3509],{"type":26,"value":305},{"type":14,"tag":57,"props":3511,"children":3512},{"class":59,"line":608},[3513,3517,3521],{"type":14,"tag":57,"props":3514,"children":3515},{"class":70},[3516],{"type":26,"value":614},{"type":14,"tag":57,"props":3518,"children":3519},{"class":270},[3520],{"type":26,"value":236},{"type":14,"tag":57,"props":3522,"children":3523},{"class":70},[3524],{"type":26,"value":1089},{"type":14,"tag":225,"props":3526,"children":3528},{"id":3527},"max-length-validator",[3529],{"type":26,"value":3530},"Max Length Validator",{"type":14,"tag":232,"props":3532,"children":3533},{},[3534,3541],{"type":14,"tag":236,"props":3535,"children":3536},{"v-slot:preview":7},[3537],{"type":14,"tag":240,"props":3538,"children":3540},{"src":3539},"/stories/forms/validation/validators/max-length",[],{"type":14,"tag":236,"props":3542,"children":3543},{"v-slot:vue":7},[3544],{"type":14,"tag":42,"props":3545,"children":3548},{"className":3546,"code":3547,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [{ name: 'maxLength', value: 12 }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field accepts up to 12 characters.\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[3549],{"type":14,"tag":50,"props":3550,"children":3551},{},[3552],{"type":14,"tag":42,"props":3553,"children":3554},{"__ignoreMap":7},[3555,3594,3621,3628,3663,3690,3697,3704,3729,3736,3743,3758,3773,3804,3819,3867,3898,3913,3928],{"type":14,"tag":57,"props":3556,"children":3557},{"class":59,"line":60},[3558,3562,3566,3570,3574,3578,3582,3586,3590],{"type":14,"tag":57,"props":3559,"children":3560},{"class":70},[3561],{"type":26,"value":267},{"type":14,"tag":57,"props":3563,"children":3564},{"class":270},[3565],{"type":26,"value":273},{"type":14,"tag":57,"props":3567,"children":3568},{"class":70},[3569],{"type":26,"value":94},{"type":14,"tag":57,"props":3571,"children":3572},{"class":97},[3573],{"type":26,"value":282},{"type":14,"tag":57,"props":3575,"children":3576},{"class":70},[3577],{"type":26,"value":89},{"type":14,"tag":57,"props":3579,"children":3580},{"class":160},[3581],{"type":26,"value":291},{"type":14,"tag":57,"props":3583,"children":3584},{"class":70},[3585],{"type":26,"value":94},{"type":14,"tag":57,"props":3587,"children":3588},{"class":97},[3589],{"type":26,"value":300},{"type":14,"tag":57,"props":3591,"children":3592},{"class":70},[3593],{"type":26,"value":305},{"type":14,"tag":57,"props":3595,"children":3596},{"class":59,"line":133},[3597,3601,3605,3609,3613,3617],{"type":14,"tag":57,"props":3598,"children":3599},{"class":64},[3600],{"type":26,"value":313},{"type":14,"tag":57,"props":3602,"children":3603},{"class":70},[3604],{"type":26,"value":318},{"type":14,"tag":57,"props":3606,"children":3607},{"class":64},[3608],{"type":26,"value":323},{"type":14,"tag":57,"props":3610,"children":3611},{"class":70},[3612],{"type":26,"value":94},{"type":14,"tag":57,"props":3614,"children":3615},{"class":160},[3616],{"type":26,"value":332},{"type":14,"tag":57,"props":3618,"children":3619},{"class":70},[3620],{"type":26,"value":337},{"type":14,"tag":57,"props":3622,"children":3623},{"class":59,"line":142},[3624],{"type":14,"tag":57,"props":3625,"children":3626},{},[3627],{"type":26,"value":345},{"type":14,"tag":57,"props":3629,"children":3630},{"class":59,"line":151},[3631,3635,3639,3643,3647,3651,3655,3659],{"type":14,"tag":57,"props":3632,"children":3633},{"class":64},[3634],{"type":26,"value":67},{"type":14,"tag":57,"props":3636,"children":3637},{"class":70},[3638],{"type":26,"value":73},{"type":14,"tag":57,"props":3640,"children":3641},{"class":76},[3642],{"type":26,"value":79},{"type":14,"tag":57,"props":3644,"children":3645},{"class":70},[3646],{"type":26,"value":84},{"type":14,"tag":57,"props":3648,"children":3649},{"class":64},[3650],{"type":26,"value":89},{"type":14,"tag":57,"props":3652,"children":3653},{"class":70},[3654],{"type":26,"value":94},{"type":14,"tag":57,"props":3656,"children":3657},{"class":97},[3658],{"type":26,"value":100},{"type":14,"tag":57,"props":3660,"children":3661},{"class":70},[3662],{"type":26,"value":381},{"type":14,"tag":57,"props":3664,"children":3665},{"class":59,"line":171},[3666,3670,3674,3678,3682,3686],{"type":14,"tag":57,"props":3667,"children":3668},{"class":70},[3669],{"type":26,"value":389},{"type":14,"tag":57,"props":3671,"children":3672},{"class":108},[3673],{"type":26,"value":394},{"type":14,"tag":57,"props":3675,"children":3676},{"class":64},[3677],{"type":26,"value":116},{"type":14,"tag":57,"props":3679,"children":3680},{"class":70},[3681],{"type":26,"value":94},{"type":14,"tag":57,"props":3683,"children":3684},{"class":76},[3685],{"type":26,"value":125},{"type":14,"tag":57,"props":3687,"children":3688},{"class":70},[3689],{"type":26,"value":337},{"type":14,"tag":57,"props":3691,"children":3692},{"class":59,"line":199},[3693],{"type":14,"tag":57,"props":3694,"children":3695},{"class":70},[3696],{"type":26,"value":474},{"type":14,"tag":57,"props":3698,"children":3699},{"class":59,"line":208},[3700],{"type":14,"tag":57,"props":3701,"children":3702},{"class":70},[3703],{"type":26,"value":483},{"type":14,"tag":57,"props":3705,"children":3706},{"class":59,"line":217},[3707,3711,3716,3720,3725],{"type":14,"tag":57,"props":3708,"children":3709},{"class":70},[3710],{"type":26,"value":492},{"type":14,"tag":57,"props":3712,"children":3713},{"class":160},[3714],{"type":26,"value":3715},"'maxLength'",{"type":14,"tag":57,"props":3717,"children":3718},{"class":70},[3719],{"type":26,"value":186},{"type":14,"tag":57,"props":3721,"children":3722},{"class":76},[3723],{"type":26,"value":3724},"12",{"type":14,"tag":57,"props":3726,"children":3727},{"class":70},[3728],{"type":26,"value":502},{"type":14,"tag":57,"props":3730,"children":3731},{"class":59,"line":477},[3732],{"type":14,"tag":57,"props":3733,"children":3734},{"class":70},[3735],{"type":26,"value":214},{"type":14,"tag":57,"props":3737,"children":3738},{"class":59,"line":486},[3739],{"type":14,"tag":57,"props":3740,"children":3741},{"class":70},[3742],{"type":26,"value":605},{"type":14,"tag":57,"props":3744,"children":3745},{"class":59,"line":505},[3746,3750,3754],{"type":14,"tag":57,"props":3747,"children":3748},{"class":70},[3749],{"type":26,"value":614},{"type":14,"tag":57,"props":3751,"children":3752},{"class":270},[3753],{"type":26,"value":273},{"type":14,"tag":57,"props":3755,"children":3756},{"class":70},[3757],{"type":26,"value":305},{"type":14,"tag":57,"props":3759,"children":3760},{"class":59,"line":514},[3761,3765,3769],{"type":14,"tag":57,"props":3762,"children":3763},{"class":70},[3764],{"type":26,"value":267},{"type":14,"tag":57,"props":3766,"children":3767},{"class":270},[3768],{"type":26,"value":236},{"type":14,"tag":57,"props":3770,"children":3771},{"class":70},[3772],{"type":26,"value":305},{"type":14,"tag":57,"props":3774,"children":3775},{"class":59,"line":523},[3776,3780,3784,3788,3792,3796,3800],{"type":14,"tag":57,"props":3777,"children":3778},{"class":70},[3779],{"type":26,"value":647},{"type":14,"tag":57,"props":3781,"children":3782},{"class":650},[3783],{"type":26,"value":653},{"type":14,"tag":57,"props":3785,"children":3786},{"class":70},[3787],{"type":26,"value":94},{"type":14,"tag":57,"props":3789,"children":3790},{"class":97},[3791],{"type":26,"value":662},{"type":14,"tag":57,"props":3793,"children":3794},{"class":70},[3795],{"type":26,"value":89},{"type":14,"tag":57,"props":3797,"children":3798},{"class":160},[3799],{"type":26,"value":671},{"type":14,"tag":57,"props":3801,"children":3802},{"class":70},[3803],{"type":26,"value":305},{"type":14,"tag":57,"props":3805,"children":3806},{"class":59,"line":549},[3807,3811,3815],{"type":14,"tag":57,"props":3808,"children":3809},{"class":70},[3810],{"type":26,"value":684},{"type":14,"tag":57,"props":3812,"children":3813},{"class":650},[3814],{"type":26,"value":689},{"type":14,"tag":57,"props":3816,"children":3817},{"class":70},[3818],{"type":26,"value":305},{"type":14,"tag":57,"props":3820,"children":3821},{"class":59,"line":557},[3822,3826,3830,3834,3838,3842,3846,3850,3854,3858,3863],{"type":14,"tag":57,"props":3823,"children":3824},{"class":70},[3825],{"type":26,"value":702},{"type":14,"tag":57,"props":3827,"children":3828},{"class":650},[3829],{"type":26,"value":707},{"type":14,"tag":57,"props":3831,"children":3832},{"class":70},[3833],{"type":26,"value":94},{"type":14,"tag":57,"props":3835,"children":3836},{"class":97},[3837],{"type":26,"value":111},{"type":14,"tag":57,"props":3839,"children":3840},{"class":70},[3841],{"type":26,"value":89},{"type":14,"tag":57,"props":3843,"children":3844},{"class":160},[3845],{"type":26,"value":724},{"type":14,"tag":57,"props":3847,"children":3848},{"class":70},[3849],{"type":26,"value":94},{"type":14,"tag":57,"props":3851,"children":3852},{"class":97},[3853],{"type":26,"value":733},{"type":14,"tag":57,"props":3855,"children":3856},{"class":70},[3857],{"type":26,"value":89},{"type":14,"tag":57,"props":3859,"children":3860},{"class":160},[3861],{"type":26,"value":3862},"\"This field accepts up to 12 characters.\"",{"type":14,"tag":57,"props":3864,"children":3865},{"class":70},[3866],{"type":26,"value":747},{"type":14,"tag":57,"props":3868,"children":3869},{"class":59,"line":566},[3870,3874,3878,3882,3886,3890,3894],{"type":14,"tag":57,"props":3871,"children":3872},{"class":70},[3873],{"type":26,"value":702},{"type":14,"tag":57,"props":3875,"children":3876},{"class":650},[3877],{"type":26,"value":760},{"type":14,"tag":57,"props":3879,"children":3880},{"class":70},[3881],{"type":26,"value":94},{"type":14,"tag":57,"props":3883,"children":3884},{"class":97},[3885],{"type":26,"value":769},{"type":14,"tag":57,"props":3887,"children":3888},{"class":70},[3889],{"type":26,"value":89},{"type":14,"tag":57,"props":3891,"children":3892},{"class":160},[3893],{"type":26,"value":724},{"type":14,"tag":57,"props":3895,"children":3896},{"class":70},[3897],{"type":26,"value":747},{"type":14,"tag":57,"props":3899,"children":3900},{"class":59,"line":591},[3901,3905,3909],{"type":14,"tag":57,"props":3902,"children":3903},{"class":70},[3904],{"type":26,"value":790},{"type":14,"tag":57,"props":3906,"children":3907},{"class":650},[3908],{"type":26,"value":689},{"type":14,"tag":57,"props":3910,"children":3911},{"class":70},[3912],{"type":26,"value":305},{"type":14,"tag":57,"props":3914,"children":3915},{"class":59,"line":599},[3916,3920,3924],{"type":14,"tag":57,"props":3917,"children":3918},{"class":70},[3919],{"type":26,"value":1064},{"type":14,"tag":57,"props":3921,"children":3922},{"class":650},[3923],{"type":26,"value":653},{"type":14,"tag":57,"props":3925,"children":3926},{"class":70},[3927],{"type":26,"value":305},{"type":14,"tag":57,"props":3929,"children":3930},{"class":59,"line":608},[3931,3935,3939],{"type":14,"tag":57,"props":3932,"children":3933},{"class":70},[3934],{"type":26,"value":614},{"type":14,"tag":57,"props":3936,"children":3937},{"class":270},[3938],{"type":26,"value":236},{"type":14,"tag":57,"props":3940,"children":3941},{"class":70},[3942],{"type":26,"value":1089},{"type":14,"tag":225,"props":3944,"children":3946},{"id":3945},"number-validator",[3947],{"type":26,"value":3948},"Number Validator",{"type":14,"tag":232,"props":3950,"children":3951},{},[3952,3959],{"type":14,"tag":236,"props":3953,"children":3954},{"v-slot:preview":7},[3955],{"type":14,"tag":240,"props":3956,"children":3958},{"src":3957},"/stories/forms/validation/validators/number",[],{"type":14,"tag":236,"props":3960,"children":3961},{"v-slot:vue":7},[3962],{"type":14,"tag":42,"props":3963,"children":3966},{"className":3964,"code":3965,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n    inputNegative: string;\n    inputNegativeDecimal: string;\n}>({\n    input: {\n        validators: [{ name: 'number' }]\n    },\n    inputNegative: {\n        validators: [{ name: 'number', allowNegative: true }]\n    },\n    inputNegativeDecimal: {\n        validators: [{ name: 'number', allowNegative: true, allowDecimal: true }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field should contain only numbers\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"inputNegative\"\n                placeholder=\"This field should contain positive or negative numbers\"\n            />\n            \u003CIFormError for=\"inputNegative\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"inputNegativeDecimal\"\n                placeholder=\"This field should contain positive or negative decimal numbers\"\n            />\n            \u003CIFormError for=\"inputNegativeDecimal\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[3967],{"type":14,"tag":50,"props":3968,"children":3969},{},[3970],{"type":14,"tag":42,"props":3971,"children":3972},{"__ignoreMap":7},[3973,4012,4039,4046,4081,4108,4136,4164,4171,4178,4194,4201,4209,4233,4240,4248,4280,4287,4294,4309,4324,4355,4370,4418,4449,4464,4479,4490,4510,4530,4537,4569,4584,4599,4610,4630,4650,4657,4689,4704,4719],{"type":14,"tag":57,"props":3974,"children":3975},{"class":59,"line":60},[3976,3980,3984,3988,3992,3996,4000,4004,4008],{"type":14,"tag":57,"props":3977,"children":3978},{"class":70},[3979],{"type":26,"value":267},{"type":14,"tag":57,"props":3981,"children":3982},{"class":270},[3983],{"type":26,"value":273},{"type":14,"tag":57,"props":3985,"children":3986},{"class":70},[3987],{"type":26,"value":94},{"type":14,"tag":57,"props":3989,"children":3990},{"class":97},[3991],{"type":26,"value":282},{"type":14,"tag":57,"props":3993,"children":3994},{"class":70},[3995],{"type":26,"value":89},{"type":14,"tag":57,"props":3997,"children":3998},{"class":160},[3999],{"type":26,"value":291},{"type":14,"tag":57,"props":4001,"children":4002},{"class":70},[4003],{"type":26,"value":94},{"type":14,"tag":57,"props":4005,"children":4006},{"class":97},[4007],{"type":26,"value":300},{"type":14,"tag":57,"props":4009,"children":4010},{"class":70},[4011],{"type":26,"value":305},{"type":14,"tag":57,"props":4013,"children":4014},{"class":59,"line":133},[4015,4019,4023,4027,4031,4035],{"type":14,"tag":57,"props":4016,"children":4017},{"class":64},[4018],{"type":26,"value":313},{"type":14,"tag":57,"props":4020,"children":4021},{"class":70},[4022],{"type":26,"value":318},{"type":14,"tag":57,"props":4024,"children":4025},{"class":64},[4026],{"type":26,"value":323},{"type":14,"tag":57,"props":4028,"children":4029},{"class":70},[4030],{"type":26,"value":94},{"type":14,"tag":57,"props":4032,"children":4033},{"class":160},[4034],{"type":26,"value":332},{"type":14,"tag":57,"props":4036,"children":4037},{"class":70},[4038],{"type":26,"value":337},{"type":14,"tag":57,"props":4040,"children":4041},{"class":59,"line":142},[4042],{"type":14,"tag":57,"props":4043,"children":4044},{},[4045],{"type":26,"value":345},{"type":14,"tag":57,"props":4047,"children":4048},{"class":59,"line":151},[4049,4053,4057,4061,4065,4069,4073,4077],{"type":14,"tag":57,"props":4050,"children":4051},{"class":64},[4052],{"type":26,"value":67},{"type":14,"tag":57,"props":4054,"children":4055},{"class":70},[4056],{"type":26,"value":73},{"type":14,"tag":57,"props":4058,"children":4059},{"class":76},[4060],{"type":26,"value":79},{"type":14,"tag":57,"props":4062,"children":4063},{"class":70},[4064],{"type":26,"value":84},{"type":14,"tag":57,"props":4066,"children":4067},{"class":64},[4068],{"type":26,"value":89},{"type":14,"tag":57,"props":4070,"children":4071},{"class":70},[4072],{"type":26,"value":94},{"type":14,"tag":57,"props":4074,"children":4075},{"class":97},[4076],{"type":26,"value":100},{"type":14,"tag":57,"props":4078,"children":4079},{"class":70},[4080],{"type":26,"value":381},{"type":14,"tag":57,"props":4082,"children":4083},{"class":59,"line":171},[4084,4088,4092,4096,4100,4104],{"type":14,"tag":57,"props":4085,"children":4086},{"class":70},[4087],{"type":26,"value":389},{"type":14,"tag":57,"props":4089,"children":4090},{"class":108},[4091],{"type":26,"value":394},{"type":14,"tag":57,"props":4093,"children":4094},{"class":64},[4095],{"type":26,"value":116},{"type":14,"tag":57,"props":4097,"children":4098},{"class":70},[4099],{"type":26,"value":94},{"type":14,"tag":57,"props":4101,"children":4102},{"class":76},[4103],{"type":26,"value":125},{"type":14,"tag":57,"props":4105,"children":4106},{"class":70},[4107],{"type":26,"value":337},{"type":14,"tag":57,"props":4109,"children":4110},{"class":59,"line":199},[4111,4115,4120,4124,4128,4132],{"type":14,"tag":57,"props":4112,"children":4113},{"class":70},[4114],{"type":26,"value":389},{"type":14,"tag":57,"props":4116,"children":4117},{"class":108},[4118],{"type":26,"value":4119},"inputNegative",{"type":14,"tag":57,"props":4121,"children":4122},{"class":64},[4123],{"type":26,"value":116},{"type":14,"tag":57,"props":4125,"children":4126},{"class":70},[4127],{"type":26,"value":94},{"type":14,"tag":57,"props":4129,"children":4130},{"class":76},[4131],{"type":26,"value":125},{"type":14,"tag":57,"props":4133,"children":4134},{"class":70},[4135],{"type":26,"value":337},{"type":14,"tag":57,"props":4137,"children":4138},{"class":59,"line":208},[4139,4143,4148,4152,4156,4160],{"type":14,"tag":57,"props":4140,"children":4141},{"class":70},[4142],{"type":26,"value":389},{"type":14,"tag":57,"props":4144,"children":4145},{"class":108},[4146],{"type":26,"value":4147},"inputNegativeDecimal",{"type":14,"tag":57,"props":4149,"children":4150},{"class":64},[4151],{"type":26,"value":116},{"type":14,"tag":57,"props":4153,"children":4154},{"class":70},[4155],{"type":26,"value":94},{"type":14,"tag":57,"props":4157,"children":4158},{"class":76},[4159],{"type":26,"value":125},{"type":14,"tag":57,"props":4161,"children":4162},{"class":70},[4163],{"type":26,"value":337},{"type":14,"tag":57,"props":4165,"children":4166},{"class":59,"line":217},[4167],{"type":14,"tag":57,"props":4168,"children":4169},{"class":70},[4170],{"type":26,"value":474},{"type":14,"tag":57,"props":4172,"children":4173},{"class":59,"line":477},[4174],{"type":14,"tag":57,"props":4175,"children":4176},{"class":70},[4177],{"type":26,"value":483},{"type":14,"tag":57,"props":4179,"children":4180},{"class":59,"line":486},[4181,4185,4190],{"type":14,"tag":57,"props":4182,"children":4183},{"class":70},[4184],{"type":26,"value":492},{"type":14,"tag":57,"props":4186,"children":4187},{"class":160},[4188],{"type":26,"value":4189},"'number'",{"type":14,"tag":57,"props":4191,"children":4192},{"class":70},[4193],{"type":26,"value":502},{"type":14,"tag":57,"props":4195,"children":4196},{"class":59,"line":505},[4197],{"type":14,"tag":57,"props":4198,"children":4199},{"class":70},[4200],{"type":26,"value":511},{"type":14,"tag":57,"props":4202,"children":4203},{"class":59,"line":514},[4204],{"type":14,"tag":57,"props":4205,"children":4206},{"class":70},[4207],{"type":26,"value":4208},"    inputNegative: {\n",{"type":14,"tag":57,"props":4210,"children":4211},{"class":59,"line":523},[4212,4216,4220,4225,4229],{"type":14,"tag":57,"props":4213,"children":4214},{"class":70},[4215],{"type":26,"value":492},{"type":14,"tag":57,"props":4217,"children":4218},{"class":160},[4219],{"type":26,"value":4189},{"type":14,"tag":57,"props":4221,"children":4222},{"class":70},[4223],{"type":26,"value":4224},", allowNegative: ",{"type":14,"tag":57,"props":4226,"children":4227},{"class":76},[4228],{"type":26,"value":542},{"type":14,"tag":57,"props":4230,"children":4231},{"class":70},[4232],{"type":26,"value":502},{"type":14,"tag":57,"props":4234,"children":4235},{"class":59,"line":549},[4236],{"type":14,"tag":57,"props":4237,"children":4238},{"class":70},[4239],{"type":26,"value":511},{"type":14,"tag":57,"props":4241,"children":4242},{"class":59,"line":557},[4243],{"type":14,"tag":57,"props":4244,"children":4245},{"class":70},[4246],{"type":26,"value":4247},"    inputNegativeDecimal: {\n",{"type":14,"tag":57,"props":4249,"children":4250},{"class":59,"line":566},[4251,4255,4259,4263,4267,4272,4276],{"type":14,"tag":57,"props":4252,"children":4253},{"class":70},[4254],{"type":26,"value":492},{"type":14,"tag":57,"props":4256,"children":4257},{"class":160},[4258],{"type":26,"value":4189},{"type":14,"tag":57,"props":4260,"children":4261},{"class":70},[4262],{"type":26,"value":4224},{"type":14,"tag":57,"props":4264,"children":4265},{"class":76},[4266],{"type":26,"value":542},{"type":14,"tag":57,"props":4268,"children":4269},{"class":70},[4270],{"type":26,"value":4271},", allowDecimal: ",{"type":14,"tag":57,"props":4273,"children":4274},{"class":76},[4275],{"type":26,"value":542},{"type":14,"tag":57,"props":4277,"children":4278},{"class":70},[4279],{"type":26,"value":502},{"type":14,"tag":57,"props":4281,"children":4282},{"class":59,"line":591},[4283],{"type":14,"tag":57,"props":4284,"children":4285},{"class":70},[4286],{"type":26,"value":214},{"type":14,"tag":57,"props":4288,"children":4289},{"class":59,"line":599},[4290],{"type":14,"tag":57,"props":4291,"children":4292},{"class":70},[4293],{"type":26,"value":605},{"type":14,"tag":57,"props":4295,"children":4296},{"class":59,"line":608},[4297,4301,4305],{"type":14,"tag":57,"props":4298,"children":4299},{"class":70},[4300],{"type":26,"value":614},{"type":14,"tag":57,"props":4302,"children":4303},{"class":270},[4304],{"type":26,"value":273},{"type":14,"tag":57,"props":4306,"children":4307},{"class":70},[4308],{"type":26,"value":305},{"type":14,"tag":57,"props":4310,"children":4311},{"class":59,"line":625},[4312,4316,4320],{"type":14,"tag":57,"props":4313,"children":4314},{"class":70},[4315],{"type":26,"value":267},{"type":14,"tag":57,"props":4317,"children":4318},{"class":270},[4319],{"type":26,"value":236},{"type":14,"tag":57,"props":4321,"children":4322},{"class":70},[4323],{"type":26,"value":305},{"type":14,"tag":57,"props":4325,"children":4326},{"class":59,"line":641},[4327,4331,4335,4339,4343,4347,4351],{"type":14,"tag":57,"props":4328,"children":4329},{"class":70},[4330],{"type":26,"value":647},{"type":14,"tag":57,"props":4332,"children":4333},{"class":650},[4334],{"type":26,"value":653},{"type":14,"tag":57,"props":4336,"children":4337},{"class":70},[4338],{"type":26,"value":94},{"type":14,"tag":57,"props":4340,"children":4341},{"class":97},[4342],{"type":26,"value":662},{"type":14,"tag":57,"props":4344,"children":4345},{"class":70},[4346],{"type":26,"value":89},{"type":14,"tag":57,"props":4348,"children":4349},{"class":160},[4350],{"type":26,"value":671},{"type":14,"tag":57,"props":4352,"children":4353},{"class":70},[4354],{"type":26,"value":305},{"type":14,"tag":57,"props":4356,"children":4357},{"class":59,"line":678},[4358,4362,4366],{"type":14,"tag":57,"props":4359,"children":4360},{"class":70},[4361],{"type":26,"value":684},{"type":14,"tag":57,"props":4363,"children":4364},{"class":650},[4365],{"type":26,"value":689},{"type":14,"tag":57,"props":4367,"children":4368},{"class":70},[4369],{"type":26,"value":305},{"type":14,"tag":57,"props":4371,"children":4372},{"class":59,"line":696},[4373,4377,4381,4385,4389,4393,4397,4401,4405,4409,4414],{"type":14,"tag":57,"props":4374,"children":4375},{"class":70},[4376],{"type":26,"value":702},{"type":14,"tag":57,"props":4378,"children":4379},{"class":650},[4380],{"type":26,"value":707},{"type":14,"tag":57,"props":4382,"children":4383},{"class":70},[4384],{"type":26,"value":94},{"type":14,"tag":57,"props":4386,"children":4387},{"class":97},[4388],{"type":26,"value":111},{"type":14,"tag":57,"props":4390,"children":4391},{"class":70},[4392],{"type":26,"value":89},{"type":14,"tag":57,"props":4394,"children":4395},{"class":160},[4396],{"type":26,"value":724},{"type":14,"tag":57,"props":4398,"children":4399},{"class":70},[4400],{"type":26,"value":94},{"type":14,"tag":57,"props":4402,"children":4403},{"class":97},[4404],{"type":26,"value":733},{"type":14,"tag":57,"props":4406,"children":4407},{"class":70},[4408],{"type":26,"value":89},{"type":14,"tag":57,"props":4410,"children":4411},{"class":160},[4412],{"type":26,"value":4413},"\"This field should contain only numbers\"",{"type":14,"tag":57,"props":4415,"children":4416},{"class":70},[4417],{"type":26,"value":747},{"type":14,"tag":57,"props":4419,"children":4420},{"class":59,"line":750},[4421,4425,4429,4433,4437,4441,4445],{"type":14,"tag":57,"props":4422,"children":4423},{"class":70},[4424],{"type":26,"value":702},{"type":14,"tag":57,"props":4426,"children":4427},{"class":650},[4428],{"type":26,"value":760},{"type":14,"tag":57,"props":4430,"children":4431},{"class":70},[4432],{"type":26,"value":94},{"type":14,"tag":57,"props":4434,"children":4435},{"class":97},[4436],{"type":26,"value":769},{"type":14,"tag":57,"props":4438,"children":4439},{"class":70},[4440],{"type":26,"value":89},{"type":14,"tag":57,"props":4442,"children":4443},{"class":160},[4444],{"type":26,"value":724},{"type":14,"tag":57,"props":4446,"children":4447},{"class":70},[4448],{"type":26,"value":747},{"type":14,"tag":57,"props":4450,"children":4451},{"class":59,"line":784},[4452,4456,4460],{"type":14,"tag":57,"props":4453,"children":4454},{"class":70},[4455],{"type":26,"value":790},{"type":14,"tag":57,"props":4457,"children":4458},{"class":650},[4459],{"type":26,"value":689},{"type":14,"tag":57,"props":4461,"children":4462},{"class":70},[4463],{"type":26,"value":305},{"type":14,"tag":57,"props":4465,"children":4466},{"class":59,"line":801},[4467,4471,4475],{"type":14,"tag":57,"props":4468,"children":4469},{"class":70},[4470],{"type":26,"value":684},{"type":14,"tag":57,"props":4472,"children":4473},{"class":650},[4474],{"type":26,"value":689},{"type":14,"tag":57,"props":4476,"children":4477},{"class":70},[4478],{"type":26,"value":305},{"type":14,"tag":57,"props":4480,"children":4481},{"class":59,"line":817},[4482,4486],{"type":14,"tag":57,"props":4483,"children":4484},{"class":70},[4485],{"type":26,"value":702},{"type":14,"tag":57,"props":4487,"children":4488},{"class":650},[4489],{"type":26,"value":827},{"type":14,"tag":57,"props":4491,"children":4492},{"class":59,"line":830},[4493,4497,4501,4505],{"type":14,"tag":57,"props":4494,"children":4495},{"class":70},[4496],{"type":26,"value":836},{"type":14,"tag":57,"props":4498,"children":4499},{"class":97},[4500],{"type":26,"value":111},{"type":14,"tag":57,"props":4502,"children":4503},{"class":70},[4504],{"type":26,"value":89},{"type":14,"tag":57,"props":4506,"children":4507},{"class":160},[4508],{"type":26,"value":4509},"\"inputNegative\"\n",{"type":14,"tag":57,"props":4511,"children":4512},{"class":59,"line":852},[4513,4517,4521,4525],{"type":14,"tag":57,"props":4514,"children":4515},{"class":70},[4516],{"type":26,"value":836},{"type":14,"tag":57,"props":4518,"children":4519},{"class":97},[4520],{"type":26,"value":733},{"type":14,"tag":57,"props":4522,"children":4523},{"class":70},[4524],{"type":26,"value":89},{"type":14,"tag":57,"props":4526,"children":4527},{"class":160},[4528],{"type":26,"value":4529},"\"This field should contain positive or negative numbers\"\n",{"type":14,"tag":57,"props":4531,"children":4532},{"class":59,"line":873},[4533],{"type":14,"tag":57,"props":4534,"children":4535},{"class":70},[4536],{"type":26,"value":879},{"type":14,"tag":57,"props":4538,"children":4539},{"class":59,"line":882},[4540,4544,4548,4552,4556,4560,4565],{"type":14,"tag":57,"props":4541,"children":4542},{"class":70},[4543],{"type":26,"value":702},{"type":14,"tag":57,"props":4545,"children":4546},{"class":650},[4547],{"type":26,"value":760},{"type":14,"tag":57,"props":4549,"children":4550},{"class":70},[4551],{"type":26,"value":94},{"type":14,"tag":57,"props":4553,"children":4554},{"class":97},[4555],{"type":26,"value":769},{"type":14,"tag":57,"props":4557,"children":4558},{"class":70},[4559],{"type":26,"value":89},{"type":14,"tag":57,"props":4561,"children":4562},{"class":160},[4563],{"type":26,"value":4564},"\"inputNegative\"",{"type":14,"tag":57,"props":4566,"children":4567},{"class":70},[4568],{"type":26,"value":747},{"type":14,"tag":57,"props":4570,"children":4571},{"class":59,"line":915},[4572,4576,4580],{"type":14,"tag":57,"props":4573,"children":4574},{"class":70},[4575],{"type":26,"value":790},{"type":14,"tag":57,"props":4577,"children":4578},{"class":650},[4579],{"type":26,"value":689},{"type":14,"tag":57,"props":4581,"children":4582},{"class":70},[4583],{"type":26,"value":305},{"type":14,"tag":57,"props":4585,"children":4586},{"class":59,"line":931},[4587,4591,4595],{"type":14,"tag":57,"props":4588,"children":4589},{"class":70},[4590],{"type":26,"value":684},{"type":14,"tag":57,"props":4592,"children":4593},{"class":650},[4594],{"type":26,"value":689},{"type":14,"tag":57,"props":4596,"children":4597},{"class":70},[4598],{"type":26,"value":305},{"type":14,"tag":57,"props":4600,"children":4601},{"class":59,"line":947},[4602,4606],{"type":14,"tag":57,"props":4603,"children":4604},{"class":70},[4605],{"type":26,"value":702},{"type":14,"tag":57,"props":4607,"children":4608},{"class":650},[4609],{"type":26,"value":827},{"type":14,"tag":57,"props":4611,"children":4612},{"class":59,"line":959},[4613,4617,4621,4625],{"type":14,"tag":57,"props":4614,"children":4615},{"class":70},[4616],{"type":26,"value":836},{"type":14,"tag":57,"props":4618,"children":4619},{"class":97},[4620],{"type":26,"value":111},{"type":14,"tag":57,"props":4622,"children":4623},{"class":70},[4624],{"type":26,"value":89},{"type":14,"tag":57,"props":4626,"children":4627},{"class":160},[4628],{"type":26,"value":4629},"\"inputNegativeDecimal\"\n",{"type":14,"tag":57,"props":4631,"children":4632},{"class":59,"line":980},[4633,4637,4641,4645],{"type":14,"tag":57,"props":4634,"children":4635},{"class":70},[4636],{"type":26,"value":836},{"type":14,"tag":57,"props":4638,"children":4639},{"class":97},[4640],{"type":26,"value":733},{"type":14,"tag":57,"props":4642,"children":4643},{"class":70},[4644],{"type":26,"value":89},{"type":14,"tag":57,"props":4646,"children":4647},{"class":160},[4648],{"type":26,"value":4649},"\"This field should contain positive or negative decimal numbers\"\n",{"type":14,"tag":57,"props":4651,"children":4652},{"class":59,"line":1001},[4653],{"type":14,"tag":57,"props":4654,"children":4655},{"class":70},[4656],{"type":26,"value":879},{"type":14,"tag":57,"props":4658,"children":4659},{"class":59,"line":1009},[4660,4664,4668,4672,4676,4680,4685],{"type":14,"tag":57,"props":4661,"children":4662},{"class":70},[4663],{"type":26,"value":702},{"type":14,"tag":57,"props":4665,"children":4666},{"class":650},[4667],{"type":26,"value":760},{"type":14,"tag":57,"props":4669,"children":4670},{"class":70},[4671],{"type":26,"value":94},{"type":14,"tag":57,"props":4673,"children":4674},{"class":97},[4675],{"type":26,"value":769},{"type":14,"tag":57,"props":4677,"children":4678},{"class":70},[4679],{"type":26,"value":89},{"type":14,"tag":57,"props":4681,"children":4682},{"class":160},[4683],{"type":26,"value":4684},"\"inputNegativeDecimal\"",{"type":14,"tag":57,"props":4686,"children":4687},{"class":70},[4688],{"type":26,"value":747},{"type":14,"tag":57,"props":4690,"children":4691},{"class":59,"line":1042},[4692,4696,4700],{"type":14,"tag":57,"props":4693,"children":4694},{"class":70},[4695],{"type":26,"value":790},{"type":14,"tag":57,"props":4697,"children":4698},{"class":650},[4699],{"type":26,"value":689},{"type":14,"tag":57,"props":4701,"children":4702},{"class":70},[4703],{"type":26,"value":305},{"type":14,"tag":57,"props":4705,"children":4706},{"class":59,"line":1058},[4707,4711,4715],{"type":14,"tag":57,"props":4708,"children":4709},{"class":70},[4710],{"type":26,"value":1064},{"type":14,"tag":57,"props":4712,"children":4713},{"class":650},[4714],{"type":26,"value":653},{"type":14,"tag":57,"props":4716,"children":4717},{"class":70},[4718],{"type":26,"value":305},{"type":14,"tag":57,"props":4720,"children":4721},{"class":59,"line":1075},[4722,4726,4730],{"type":14,"tag":57,"props":4723,"children":4724},{"class":70},[4725],{"type":26,"value":614},{"type":14,"tag":57,"props":4727,"children":4728},{"class":270},[4729],{"type":26,"value":236},{"type":14,"tag":57,"props":4731,"children":4732},{"class":70},[4733],{"type":26,"value":1089},{"type":14,"tag":225,"props":4735,"children":4737},{"id":4736},"required-validator",[4738],{"type":26,"value":4739},"Required Validator",{"type":14,"tag":232,"props":4741,"children":4742},{},[4743,4750],{"type":14,"tag":236,"props":4744,"children":4745},{"v-slot:preview":7},[4746],{"type":14,"tag":240,"props":4747,"children":4749},{"src":4748},"/stories/forms/validation/validators/required",[],{"type":14,"tag":236,"props":4751,"children":4752},{"v-slot:vue":7},[4753],{"type":14,"tag":42,"props":4754,"children":4757},{"className":4755,"code":4756,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [{ name: 'required' }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput name=\"input\" placeholder=\"This field is required\" />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[4758],{"type":14,"tag":50,"props":4759,"children":4760},{},[4761],{"type":14,"tag":42,"props":4762,"children":4763},{"__ignoreMap":7},[4764,4803,4830,4837,4872,4899,4906,4913,4928,4935,4942,4957,4972,5003,5018,5066,5097,5112,5127],{"type":14,"tag":57,"props":4765,"children":4766},{"class":59,"line":60},[4767,4771,4775,4779,4783,4787,4791,4795,4799],{"type":14,"tag":57,"props":4768,"children":4769},{"class":70},[4770],{"type":26,"value":267},{"type":14,"tag":57,"props":4772,"children":4773},{"class":270},[4774],{"type":26,"value":273},{"type":14,"tag":57,"props":4776,"children":4777},{"class":70},[4778],{"type":26,"value":94},{"type":14,"tag":57,"props":4780,"children":4781},{"class":97},[4782],{"type":26,"value":282},{"type":14,"tag":57,"props":4784,"children":4785},{"class":70},[4786],{"type":26,"value":89},{"type":14,"tag":57,"props":4788,"children":4789},{"class":160},[4790],{"type":26,"value":291},{"type":14,"tag":57,"props":4792,"children":4793},{"class":70},[4794],{"type":26,"value":94},{"type":14,"tag":57,"props":4796,"children":4797},{"class":97},[4798],{"type":26,"value":300},{"type":14,"tag":57,"props":4800,"children":4801},{"class":70},[4802],{"type":26,"value":305},{"type":14,"tag":57,"props":4804,"children":4805},{"class":59,"line":133},[4806,4810,4814,4818,4822,4826],{"type":14,"tag":57,"props":4807,"children":4808},{"class":64},[4809],{"type":26,"value":313},{"type":14,"tag":57,"props":4811,"children":4812},{"class":70},[4813],{"type":26,"value":318},{"type":14,"tag":57,"props":4815,"children":4816},{"class":64},[4817],{"type":26,"value":323},{"type":14,"tag":57,"props":4819,"children":4820},{"class":70},[4821],{"type":26,"value":94},{"type":14,"tag":57,"props":4823,"children":4824},{"class":160},[4825],{"type":26,"value":332},{"type":14,"tag":57,"props":4827,"children":4828},{"class":70},[4829],{"type":26,"value":337},{"type":14,"tag":57,"props":4831,"children":4832},{"class":59,"line":142},[4833],{"type":14,"tag":57,"props":4834,"children":4835},{},[4836],{"type":26,"value":345},{"type":14,"tag":57,"props":4838,"children":4839},{"class":59,"line":151},[4840,4844,4848,4852,4856,4860,4864,4868],{"type":14,"tag":57,"props":4841,"children":4842},{"class":64},[4843],{"type":26,"value":67},{"type":14,"tag":57,"props":4845,"children":4846},{"class":70},[4847],{"type":26,"value":73},{"type":14,"tag":57,"props":4849,"children":4850},{"class":76},[4851],{"type":26,"value":79},{"type":14,"tag":57,"props":4853,"children":4854},{"class":70},[4855],{"type":26,"value":84},{"type":14,"tag":57,"props":4857,"children":4858},{"class":64},[4859],{"type":26,"value":89},{"type":14,"tag":57,"props":4861,"children":4862},{"class":70},[4863],{"type":26,"value":94},{"type":14,"tag":57,"props":4865,"children":4866},{"class":97},[4867],{"type":26,"value":100},{"type":14,"tag":57,"props":4869,"children":4870},{"class":70},[4871],{"type":26,"value":381},{"type":14,"tag":57,"props":4873,"children":4874},{"class":59,"line":171},[4875,4879,4883,4887,4891,4895],{"type":14,"tag":57,"props":4876,"children":4877},{"class":70},[4878],{"type":26,"value":389},{"type":14,"tag":57,"props":4880,"children":4881},{"class":108},[4882],{"type":26,"value":394},{"type":14,"tag":57,"props":4884,"children":4885},{"class":64},[4886],{"type":26,"value":116},{"type":14,"tag":57,"props":4888,"children":4889},{"class":70},[4890],{"type":26,"value":94},{"type":14,"tag":57,"props":4892,"children":4893},{"class":76},[4894],{"type":26,"value":125},{"type":14,"tag":57,"props":4896,"children":4897},{"class":70},[4898],{"type":26,"value":337},{"type":14,"tag":57,"props":4900,"children":4901},{"class":59,"line":199},[4902],{"type":14,"tag":57,"props":4903,"children":4904},{"class":70},[4905],{"type":26,"value":474},{"type":14,"tag":57,"props":4907,"children":4908},{"class":59,"line":208},[4909],{"type":14,"tag":57,"props":4910,"children":4911},{"class":70},[4912],{"type":26,"value":483},{"type":14,"tag":57,"props":4914,"children":4915},{"class":59,"line":217},[4916,4920,4924],{"type":14,"tag":57,"props":4917,"children":4918},{"class":70},[4919],{"type":26,"value":492},{"type":14,"tag":57,"props":4921,"children":4922},{"class":160},[4923],{"type":26,"value":163},{"type":14,"tag":57,"props":4925,"children":4926},{"class":70},[4927],{"type":26,"value":502},{"type":14,"tag":57,"props":4929,"children":4930},{"class":59,"line":477},[4931],{"type":14,"tag":57,"props":4932,"children":4933},{"class":70},[4934],{"type":26,"value":214},{"type":14,"tag":57,"props":4936,"children":4937},{"class":59,"line":486},[4938],{"type":14,"tag":57,"props":4939,"children":4940},{"class":70},[4941],{"type":26,"value":605},{"type":14,"tag":57,"props":4943,"children":4944},{"class":59,"line":505},[4945,4949,4953],{"type":14,"tag":57,"props":4946,"children":4947},{"class":70},[4948],{"type":26,"value":614},{"type":14,"tag":57,"props":4950,"children":4951},{"class":270},[4952],{"type":26,"value":273},{"type":14,"tag":57,"props":4954,"children":4955},{"class":70},[4956],{"type":26,"value":305},{"type":14,"tag":57,"props":4958,"children":4959},{"class":59,"line":514},[4960,4964,4968],{"type":14,"tag":57,"props":4961,"children":4962},{"class":70},[4963],{"type":26,"value":267},{"type":14,"tag":57,"props":4965,"children":4966},{"class":270},[4967],{"type":26,"value":236},{"type":14,"tag":57,"props":4969,"children":4970},{"class":70},[4971],{"type":26,"value":305},{"type":14,"tag":57,"props":4973,"children":4974},{"class":59,"line":523},[4975,4979,4983,4987,4991,4995,4999],{"type":14,"tag":57,"props":4976,"children":4977},{"class":70},[4978],{"type":26,"value":647},{"type":14,"tag":57,"props":4980,"children":4981},{"class":650},[4982],{"type":26,"value":653},{"type":14,"tag":57,"props":4984,"children":4985},{"class":70},[4986],{"type":26,"value":94},{"type":14,"tag":57,"props":4988,"children":4989},{"class":97},[4990],{"type":26,"value":662},{"type":14,"tag":57,"props":4992,"children":4993},{"class":70},[4994],{"type":26,"value":89},{"type":14,"tag":57,"props":4996,"children":4997},{"class":160},[4998],{"type":26,"value":671},{"type":14,"tag":57,"props":5000,"children":5001},{"class":70},[5002],{"type":26,"value":305},{"type":14,"tag":57,"props":5004,"children":5005},{"class":59,"line":549},[5006,5010,5014],{"type":14,"tag":57,"props":5007,"children":5008},{"class":70},[5009],{"type":26,"value":684},{"type":14,"tag":57,"props":5011,"children":5012},{"class":650},[5013],{"type":26,"value":689},{"type":14,"tag":57,"props":5015,"children":5016},{"class":70},[5017],{"type":26,"value":305},{"type":14,"tag":57,"props":5019,"children":5020},{"class":59,"line":557},[5021,5025,5029,5033,5037,5041,5045,5049,5053,5057,5062],{"type":14,"tag":57,"props":5022,"children":5023},{"class":70},[5024],{"type":26,"value":702},{"type":14,"tag":57,"props":5026,"children":5027},{"class":650},[5028],{"type":26,"value":707},{"type":14,"tag":57,"props":5030,"children":5031},{"class":70},[5032],{"type":26,"value":94},{"type":14,"tag":57,"props":5034,"children":5035},{"class":97},[5036],{"type":26,"value":111},{"type":14,"tag":57,"props":5038,"children":5039},{"class":70},[5040],{"type":26,"value":89},{"type":14,"tag":57,"props":5042,"children":5043},{"class":160},[5044],{"type":26,"value":724},{"type":14,"tag":57,"props":5046,"children":5047},{"class":70},[5048],{"type":26,"value":94},{"type":14,"tag":57,"props":5050,"children":5051},{"class":97},[5052],{"type":26,"value":733},{"type":14,"tag":57,"props":5054,"children":5055},{"class":70},[5056],{"type":26,"value":89},{"type":14,"tag":57,"props":5058,"children":5059},{"class":160},[5060],{"type":26,"value":5061},"\"This field is required\"",{"type":14,"tag":57,"props":5063,"children":5064},{"class":70},[5065],{"type":26,"value":747},{"type":14,"tag":57,"props":5067,"children":5068},{"class":59,"line":566},[5069,5073,5077,5081,5085,5089,5093],{"type":14,"tag":57,"props":5070,"children":5071},{"class":70},[5072],{"type":26,"value":702},{"type":14,"tag":57,"props":5074,"children":5075},{"class":650},[5076],{"type":26,"value":760},{"type":14,"tag":57,"props":5078,"children":5079},{"class":70},[5080],{"type":26,"value":94},{"type":14,"tag":57,"props":5082,"children":5083},{"class":97},[5084],{"type":26,"value":769},{"type":14,"tag":57,"props":5086,"children":5087},{"class":70},[5088],{"type":26,"value":89},{"type":14,"tag":57,"props":5090,"children":5091},{"class":160},[5092],{"type":26,"value":724},{"type":14,"tag":57,"props":5094,"children":5095},{"class":70},[5096],{"type":26,"value":747},{"type":14,"tag":57,"props":5098,"children":5099},{"class":59,"line":591},[5100,5104,5108],{"type":14,"tag":57,"props":5101,"children":5102},{"class":70},[5103],{"type":26,"value":790},{"type":14,"tag":57,"props":5105,"children":5106},{"class":650},[5107],{"type":26,"value":689},{"type":14,"tag":57,"props":5109,"children":5110},{"class":70},[5111],{"type":26,"value":305},{"type":14,"tag":57,"props":5113,"children":5114},{"class":59,"line":599},[5115,5119,5123],{"type":14,"tag":57,"props":5116,"children":5117},{"class":70},[5118],{"type":26,"value":1064},{"type":14,"tag":57,"props":5120,"children":5121},{"class":650},[5122],{"type":26,"value":653},{"type":14,"tag":57,"props":5124,"children":5125},{"class":70},[5126],{"type":26,"value":305},{"type":14,"tag":57,"props":5128,"children":5129},{"class":59,"line":608},[5130,5134,5138],{"type":14,"tag":57,"props":5131,"children":5132},{"class":70},[5133],{"type":26,"value":614},{"type":14,"tag":57,"props":5135,"children":5136},{"class":270},[5137],{"type":26,"value":236},{"type":14,"tag":57,"props":5139,"children":5140},{"class":70},[5141],{"type":26,"value":1089},{"type":14,"tag":225,"props":5143,"children":5145},{"id":5144},"same-as-validator",[5146],{"type":26,"value":5147},"Same As Validator",{"type":14,"tag":232,"props":5149,"children":5150},{},[5151,5158],{"type":14,"tag":236,"props":5152,"children":5153},{"v-slot:preview":7},[5154],{"type":14,"tag":240,"props":5155,"children":5157},{"src":5156},"/stories/forms/validation/validators/same-as",[],{"type":14,"tag":236,"props":5159,"children":5160},{"v-slot:vue":7},[5161],{"type":14,"tag":42,"props":5162,"children":5165},{"className":5163,"code":5164,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    password: string;\n    passwordConfirmation: string;\n}>({\n    password: {\n        validators: [{ name: 'required' }]\n    },\n    passwordConfirmation: {\n        validators: [{ name: 'sameAs', target: 'password', schema: () => schema.value }]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput type=\"password\" name=\"password\" placeholder=\"Enter your password\" />\n            \u003CIFormError for=\"password\" />\n        \u003C/IFormGroup>\n        \u003CIFormGroup>\n            \u003CIInput\n                type=\"password\"\n                name=\"passwordConfirmation\"\n                placeholder=\"Confirm your password\"\n            />\n            \u003CIFormError for=\"passwordConfirmation\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[5166],{"type":14,"tag":50,"props":5167,"children":5168},{},[5169],{"type":14,"tag":42,"props":5170,"children":5171},{"__ignoreMap":7},[5172,5211,5238,5245,5280,5308,5336,5343,5351,5366,5373,5381,5427,5434,5441,5456,5471,5502,5517,5583,5614,5629,5644,5655,5675,5695,5715,5722,5754,5769,5784],{"type":14,"tag":57,"props":5173,"children":5174},{"class":59,"line":60},[5175,5179,5183,5187,5191,5195,5199,5203,5207],{"type":14,"tag":57,"props":5176,"children":5177},{"class":70},[5178],{"type":26,"value":267},{"type":14,"tag":57,"props":5180,"children":5181},{"class":270},[5182],{"type":26,"value":273},{"type":14,"tag":57,"props":5184,"children":5185},{"class":70},[5186],{"type":26,"value":94},{"type":14,"tag":57,"props":5188,"children":5189},{"class":97},[5190],{"type":26,"value":282},{"type":14,"tag":57,"props":5192,"children":5193},{"class":70},[5194],{"type":26,"value":89},{"type":14,"tag":57,"props":5196,"children":5197},{"class":160},[5198],{"type":26,"value":291},{"type":14,"tag":57,"props":5200,"children":5201},{"class":70},[5202],{"type":26,"value":94},{"type":14,"tag":57,"props":5204,"children":5205},{"class":97},[5206],{"type":26,"value":300},{"type":14,"tag":57,"props":5208,"children":5209},{"class":70},[5210],{"type":26,"value":305},{"type":14,"tag":57,"props":5212,"children":5213},{"class":59,"line":133},[5214,5218,5222,5226,5230,5234],{"type":14,"tag":57,"props":5215,"children":5216},{"class":64},[5217],{"type":26,"value":313},{"type":14,"tag":57,"props":5219,"children":5220},{"class":70},[5221],{"type":26,"value":318},{"type":14,"tag":57,"props":5223,"children":5224},{"class":64},[5225],{"type":26,"value":323},{"type":14,"tag":57,"props":5227,"children":5228},{"class":70},[5229],{"type":26,"value":94},{"type":14,"tag":57,"props":5231,"children":5232},{"class":160},[5233],{"type":26,"value":332},{"type":14,"tag":57,"props":5235,"children":5236},{"class":70},[5237],{"type":26,"value":337},{"type":14,"tag":57,"props":5239,"children":5240},{"class":59,"line":142},[5241],{"type":14,"tag":57,"props":5242,"children":5243},{},[5244],{"type":26,"value":345},{"type":14,"tag":57,"props":5246,"children":5247},{"class":59,"line":151},[5248,5252,5256,5260,5264,5268,5272,5276],{"type":14,"tag":57,"props":5249,"children":5250},{"class":64},[5251],{"type":26,"value":67},{"type":14,"tag":57,"props":5253,"children":5254},{"class":70},[5255],{"type":26,"value":73},{"type":14,"tag":57,"props":5257,"children":5258},{"class":76},[5259],{"type":26,"value":79},{"type":14,"tag":57,"props":5261,"children":5262},{"class":70},[5263],{"type":26,"value":84},{"type":14,"tag":57,"props":5265,"children":5266},{"class":64},[5267],{"type":26,"value":89},{"type":14,"tag":57,"props":5269,"children":5270},{"class":70},[5271],{"type":26,"value":94},{"type":14,"tag":57,"props":5273,"children":5274},{"class":97},[5275],{"type":26,"value":100},{"type":14,"tag":57,"props":5277,"children":5278},{"class":70},[5279],{"type":26,"value":381},{"type":14,"tag":57,"props":5281,"children":5282},{"class":59,"line":171},[5283,5287,5292,5296,5300,5304],{"type":14,"tag":57,"props":5284,"children":5285},{"class":70},[5286],{"type":26,"value":389},{"type":14,"tag":57,"props":5288,"children":5289},{"class":108},[5290],{"type":26,"value":5291},"password",{"type":14,"tag":57,"props":5293,"children":5294},{"class":64},[5295],{"type":26,"value":116},{"type":14,"tag":57,"props":5297,"children":5298},{"class":70},[5299],{"type":26,"value":94},{"type":14,"tag":57,"props":5301,"children":5302},{"class":76},[5303],{"type":26,"value":125},{"type":14,"tag":57,"props":5305,"children":5306},{"class":70},[5307],{"type":26,"value":337},{"type":14,"tag":57,"props":5309,"children":5310},{"class":59,"line":199},[5311,5315,5320,5324,5328,5332],{"type":14,"tag":57,"props":5312,"children":5313},{"class":70},[5314],{"type":26,"value":389},{"type":14,"tag":57,"props":5316,"children":5317},{"class":108},[5318],{"type":26,"value":5319},"passwordConfirmation",{"type":14,"tag":57,"props":5321,"children":5322},{"class":64},[5323],{"type":26,"value":116},{"type":14,"tag":57,"props":5325,"children":5326},{"class":70},[5327],{"type":26,"value":94},{"type":14,"tag":57,"props":5329,"children":5330},{"class":76},[5331],{"type":26,"value":125},{"type":14,"tag":57,"props":5333,"children":5334},{"class":70},[5335],{"type":26,"value":337},{"type":14,"tag":57,"props":5337,"children":5338},{"class":59,"line":208},[5339],{"type":14,"tag":57,"props":5340,"children":5341},{"class":70},[5342],{"type":26,"value":474},{"type":14,"tag":57,"props":5344,"children":5345},{"class":59,"line":217},[5346],{"type":14,"tag":57,"props":5347,"children":5348},{"class":70},[5349],{"type":26,"value":5350},"    password: {\n",{"type":14,"tag":57,"props":5352,"children":5353},{"class":59,"line":477},[5354,5358,5362],{"type":14,"tag":57,"props":5355,"children":5356},{"class":70},[5357],{"type":26,"value":492},{"type":14,"tag":57,"props":5359,"children":5360},{"class":160},[5361],{"type":26,"value":163},{"type":14,"tag":57,"props":5363,"children":5364},{"class":70},[5365],{"type":26,"value":502},{"type":14,"tag":57,"props":5367,"children":5368},{"class":59,"line":486},[5369],{"type":14,"tag":57,"props":5370,"children":5371},{"class":70},[5372],{"type":26,"value":511},{"type":14,"tag":57,"props":5374,"children":5375},{"class":59,"line":505},[5376],{"type":14,"tag":57,"props":5377,"children":5378},{"class":70},[5379],{"type":26,"value":5380},"    passwordConfirmation: {\n",{"type":14,"tag":57,"props":5382,"children":5383},{"class":59,"line":514},[5384,5388,5393,5398,5403,5408,5412,5417,5422],{"type":14,"tag":57,"props":5385,"children":5386},{"class":70},[5387],{"type":26,"value":492},{"type":14,"tag":57,"props":5389,"children":5390},{"class":160},[5391],{"type":26,"value":5392},"'sameAs'",{"type":14,"tag":57,"props":5394,"children":5395},{"class":70},[5396],{"type":26,"value":5397},", target: ",{"type":14,"tag":57,"props":5399,"children":5400},{"class":160},[5401],{"type":26,"value":5402},"'password'",{"type":14,"tag":57,"props":5404,"children":5405},{"class":70},[5406],{"type":26,"value":5407},", ",{"type":14,"tag":57,"props":5409,"children":5410},{"class":97},[5411],{"type":26,"value":79},{"type":14,"tag":57,"props":5413,"children":5414},{"class":70},[5415],{"type":26,"value":5416},": () ",{"type":14,"tag":57,"props":5418,"children":5419},{"class":64},[5420],{"type":26,"value":5421},"=>",{"type":14,"tag":57,"props":5423,"children":5424},{"class":70},[5425],{"type":26,"value":5426}," schema.value }]\n",{"type":14,"tag":57,"props":5428,"children":5429},{"class":59,"line":523},[5430],{"type":14,"tag":57,"props":5431,"children":5432},{"class":70},[5433],{"type":26,"value":214},{"type":14,"tag":57,"props":5435,"children":5436},{"class":59,"line":549},[5437],{"type":14,"tag":57,"props":5438,"children":5439},{"class":70},[5440],{"type":26,"value":605},{"type":14,"tag":57,"props":5442,"children":5443},{"class":59,"line":557},[5444,5448,5452],{"type":14,"tag":57,"props":5445,"children":5446},{"class":70},[5447],{"type":26,"value":614},{"type":14,"tag":57,"props":5449,"children":5450},{"class":270},[5451],{"type":26,"value":273},{"type":14,"tag":57,"props":5453,"children":5454},{"class":70},[5455],{"type":26,"value":305},{"type":14,"tag":57,"props":5457,"children":5458},{"class":59,"line":566},[5459,5463,5467],{"type":14,"tag":57,"props":5460,"children":5461},{"class":70},[5462],{"type":26,"value":267},{"type":14,"tag":57,"props":5464,"children":5465},{"class":270},[5466],{"type":26,"value":236},{"type":14,"tag":57,"props":5468,"children":5469},{"class":70},[5470],{"type":26,"value":305},{"type":14,"tag":57,"props":5472,"children":5473},{"class":59,"line":591},[5474,5478,5482,5486,5490,5494,5498],{"type":14,"tag":57,"props":5475,"children":5476},{"class":70},[5477],{"type":26,"value":647},{"type":14,"tag":57,"props":5479,"children":5480},{"class":650},[5481],{"type":26,"value":653},{"type":14,"tag":57,"props":5483,"children":5484},{"class":70},[5485],{"type":26,"value":94},{"type":14,"tag":57,"props":5487,"children":5488},{"class":97},[5489],{"type":26,"value":662},{"type":14,"tag":57,"props":5491,"children":5492},{"class":70},[5493],{"type":26,"value":89},{"type":14,"tag":57,"props":5495,"children":5496},{"class":160},[5497],{"type":26,"value":671},{"type":14,"tag":57,"props":5499,"children":5500},{"class":70},[5501],{"type":26,"value":305},{"type":14,"tag":57,"props":5503,"children":5504},{"class":59,"line":599},[5505,5509,5513],{"type":14,"tag":57,"props":5506,"children":5507},{"class":70},[5508],{"type":26,"value":684},{"type":14,"tag":57,"props":5510,"children":5511},{"class":650},[5512],{"type":26,"value":689},{"type":14,"tag":57,"props":5514,"children":5515},{"class":70},[5516],{"type":26,"value":305},{"type":14,"tag":57,"props":5518,"children":5519},{"class":59,"line":608},[5520,5524,5528,5532,5537,5541,5546,5550,5554,5558,5562,5566,5570,5574,5579],{"type":14,"tag":57,"props":5521,"children":5522},{"class":70},[5523],{"type":26,"value":702},{"type":14,"tag":57,"props":5525,"children":5526},{"class":650},[5527],{"type":26,"value":707},{"type":14,"tag":57,"props":5529,"children":5530},{"class":70},[5531],{"type":26,"value":94},{"type":14,"tag":57,"props":5533,"children":5534},{"class":97},[5535],{"type":26,"value":5536},"type",{"type":14,"tag":57,"props":5538,"children":5539},{"class":70},[5540],{"type":26,"value":89},{"type":14,"tag":57,"props":5542,"children":5543},{"class":160},[5544],{"type":26,"value":5545},"\"password\"",{"type":14,"tag":57,"props":5547,"children":5548},{"class":70},[5549],{"type":26,"value":94},{"type":14,"tag":57,"props":5551,"children":5552},{"class":97},[5553],{"type":26,"value":111},{"type":14,"tag":57,"props":5555,"children":5556},{"class":70},[5557],{"type":26,"value":89},{"type":14,"tag":57,"props":5559,"children":5560},{"class":160},[5561],{"type":26,"value":5545},{"type":14,"tag":57,"props":5563,"children":5564},{"class":70},[5565],{"type":26,"value":94},{"type":14,"tag":57,"props":5567,"children":5568},{"class":97},[5569],{"type":26,"value":733},{"type":14,"tag":57,"props":5571,"children":5572},{"class":70},[5573],{"type":26,"value":89},{"type":14,"tag":57,"props":5575,"children":5576},{"class":160},[5577],{"type":26,"value":5578},"\"Enter your password\"",{"type":14,"tag":57,"props":5580,"children":5581},{"class":70},[5582],{"type":26,"value":747},{"type":14,"tag":57,"props":5584,"children":5585},{"class":59,"line":625},[5586,5590,5594,5598,5602,5606,5610],{"type":14,"tag":57,"props":5587,"children":5588},{"class":70},[5589],{"type":26,"value":702},{"type":14,"tag":57,"props":5591,"children":5592},{"class":650},[5593],{"type":26,"value":760},{"type":14,"tag":57,"props":5595,"children":5596},{"class":70},[5597],{"type":26,"value":94},{"type":14,"tag":57,"props":5599,"children":5600},{"class":97},[5601],{"type":26,"value":769},{"type":14,"tag":57,"props":5603,"children":5604},{"class":70},[5605],{"type":26,"value":89},{"type":14,"tag":57,"props":5607,"children":5608},{"class":160},[5609],{"type":26,"value":5545},{"type":14,"tag":57,"props":5611,"children":5612},{"class":70},[5613],{"type":26,"value":747},{"type":14,"tag":57,"props":5615,"children":5616},{"class":59,"line":641},[5617,5621,5625],{"type":14,"tag":57,"props":5618,"children":5619},{"class":70},[5620],{"type":26,"value":790},{"type":14,"tag":57,"props":5622,"children":5623},{"class":650},[5624],{"type":26,"value":689},{"type":14,"tag":57,"props":5626,"children":5627},{"class":70},[5628],{"type":26,"value":305},{"type":14,"tag":57,"props":5630,"children":5631},{"class":59,"line":678},[5632,5636,5640],{"type":14,"tag":57,"props":5633,"children":5634},{"class":70},[5635],{"type":26,"value":684},{"type":14,"tag":57,"props":5637,"children":5638},{"class":650},[5639],{"type":26,"value":689},{"type":14,"tag":57,"props":5641,"children":5642},{"class":70},[5643],{"type":26,"value":305},{"type":14,"tag":57,"props":5645,"children":5646},{"class":59,"line":696},[5647,5651],{"type":14,"tag":57,"props":5648,"children":5649},{"class":70},[5650],{"type":26,"value":702},{"type":14,"tag":57,"props":5652,"children":5653},{"class":650},[5654],{"type":26,"value":827},{"type":14,"tag":57,"props":5656,"children":5657},{"class":59,"line":750},[5658,5662,5666,5670],{"type":14,"tag":57,"props":5659,"children":5660},{"class":70},[5661],{"type":26,"value":836},{"type":14,"tag":57,"props":5663,"children":5664},{"class":97},[5665],{"type":26,"value":5536},{"type":14,"tag":57,"props":5667,"children":5668},{"class":70},[5669],{"type":26,"value":89},{"type":14,"tag":57,"props":5671,"children":5672},{"class":160},[5673],{"type":26,"value":5674},"\"password\"\n",{"type":14,"tag":57,"props":5676,"children":5677},{"class":59,"line":784},[5678,5682,5686,5690],{"type":14,"tag":57,"props":5679,"children":5680},{"class":70},[5681],{"type":26,"value":836},{"type":14,"tag":57,"props":5683,"children":5684},{"class":97},[5685],{"type":26,"value":111},{"type":14,"tag":57,"props":5687,"children":5688},{"class":70},[5689],{"type":26,"value":89},{"type":14,"tag":57,"props":5691,"children":5692},{"class":160},[5693],{"type":26,"value":5694},"\"passwordConfirmation\"\n",{"type":14,"tag":57,"props":5696,"children":5697},{"class":59,"line":801},[5698,5702,5706,5710],{"type":14,"tag":57,"props":5699,"children":5700},{"class":70},[5701],{"type":26,"value":836},{"type":14,"tag":57,"props":5703,"children":5704},{"class":97},[5705],{"type":26,"value":733},{"type":14,"tag":57,"props":5707,"children":5708},{"class":70},[5709],{"type":26,"value":89},{"type":14,"tag":57,"props":5711,"children":5712},{"class":160},[5713],{"type":26,"value":5714},"\"Confirm your password\"\n",{"type":14,"tag":57,"props":5716,"children":5717},{"class":59,"line":817},[5718],{"type":14,"tag":57,"props":5719,"children":5720},{"class":70},[5721],{"type":26,"value":879},{"type":14,"tag":57,"props":5723,"children":5724},{"class":59,"line":830},[5725,5729,5733,5737,5741,5745,5750],{"type":14,"tag":57,"props":5726,"children":5727},{"class":70},[5728],{"type":26,"value":702},{"type":14,"tag":57,"props":5730,"children":5731},{"class":650},[5732],{"type":26,"value":760},{"type":14,"tag":57,"props":5734,"children":5735},{"class":70},[5736],{"type":26,"value":94},{"type":14,"tag":57,"props":5738,"children":5739},{"class":97},[5740],{"type":26,"value":769},{"type":14,"tag":57,"props":5742,"children":5743},{"class":70},[5744],{"type":26,"value":89},{"type":14,"tag":57,"props":5746,"children":5747},{"class":160},[5748],{"type":26,"value":5749},"\"passwordConfirmation\"",{"type":14,"tag":57,"props":5751,"children":5752},{"class":70},[5753],{"type":26,"value":747},{"type":14,"tag":57,"props":5755,"children":5756},{"class":59,"line":852},[5757,5761,5765],{"type":14,"tag":57,"props":5758,"children":5759},{"class":70},[5760],{"type":26,"value":790},{"type":14,"tag":57,"props":5762,"children":5763},{"class":650},[5764],{"type":26,"value":689},{"type":14,"tag":57,"props":5766,"children":5767},{"class":70},[5768],{"type":26,"value":305},{"type":14,"tag":57,"props":5770,"children":5771},{"class":59,"line":873},[5772,5776,5780],{"type":14,"tag":57,"props":5773,"children":5774},{"class":70},[5775],{"type":26,"value":1064},{"type":14,"tag":57,"props":5777,"children":5778},{"class":650},[5779],{"type":26,"value":653},{"type":14,"tag":57,"props":5781,"children":5782},{"class":70},[5783],{"type":26,"value":305},{"type":14,"tag":57,"props":5785,"children":5786},{"class":59,"line":882},[5787,5791,5795],{"type":14,"tag":57,"props":5788,"children":5789},{"class":70},[5790],{"type":26,"value":614},{"type":14,"tag":57,"props":5792,"children":5793},{"class":270},[5794],{"type":26,"value":236},{"type":14,"tag":57,"props":5796,"children":5797},{"class":70},[5798],{"type":26,"value":1089},{"type":14,"tag":225,"props":5800,"children":5802},{"id":5801},"custom-validator",[5803],{"type":26,"value":5804},"Custom Validator",{"type":14,"tag":232,"props":5806,"children":5807},{},[5808,5815],{"type":14,"tag":236,"props":5809,"children":5810},{"v-slot:preview":7},[5811],{"type":14,"tag":240,"props":5812,"children":5814},{"src":5813},"/stories/forms/validation/validators/custom",[],{"type":14,"tag":236,"props":5816,"children":5817},{"v-slot:vue":7},[5818],{"type":14,"tag":42,"props":5819,"children":5822},{"className":5820,"code":5821,"language":252,"meta":7},[250],"\u003Cscript lang=\"ts\" setup>\nimport { useForm } from '@inkline/inkline/composables';\n\nconst { schema } = useForm\u003C{\n    input: string;\n}>({\n    input: {\n        validators: [\n            {\n                name: 'custom',\n                message: 'Please enter a value containing \"inkline\".',\n                validator: (v: string) => /inkline/.test(v)\n            }\n        ]\n    }\n});\n\u003C/script>\n\u003Ctemplate>\n    \u003CIForm v-model=\"schema\">\n        \u003CIFormGroup>\n            \u003CIInput\n                name=\"input\"\n                placeholder=\"This field is custom validated. It needs to contain 'inkline'\"\n            />\n            \u003CIFormError for=\"input\" />\n        \u003C/IFormGroup>\n    \u003C/IForm>\n\u003C/template>\n\n",[5823],{"type":14,"tag":50,"props":5824,"children":5825},{},[5826],{"type":14,"tag":42,"props":5827,"children":5828},{"__ignoreMap":7},[5829,5868,5895,5902,5937,5964,5971,5978,5985,5993,6011,6028,6105,6113,6120,6127,6134,6149,6164,6195,6210,6221,6241,6261,6268,6299,6314,6329],{"type":14,"tag":57,"props":5830,"children":5831},{"class":59,"line":60},[5832,5836,5840,5844,5848,5852,5856,5860,5864],{"type":14,"tag":57,"props":5833,"children":5834},{"class":70},[5835],{"type":26,"value":267},{"type":14,"tag":57,"props":5837,"children":5838},{"class":270},[5839],{"type":26,"value":273},{"type":14,"tag":57,"props":5841,"children":5842},{"class":70},[5843],{"type":26,"value":94},{"type":14,"tag":57,"props":5845,"children":5846},{"class":97},[5847],{"type":26,"value":282},{"type":14,"tag":57,"props":5849,"children":5850},{"class":70},[5851],{"type":26,"value":89},{"type":14,"tag":57,"props":5853,"children":5854},{"class":160},[5855],{"type":26,"value":291},{"type":14,"tag":57,"props":5857,"children":5858},{"class":70},[5859],{"type":26,"value":94},{"type":14,"tag":57,"props":5861,"children":5862},{"class":97},[5863],{"type":26,"value":300},{"type":14,"tag":57,"props":5865,"children":5866},{"class":70},[5867],{"type":26,"value":305},{"type":14,"tag":57,"props":5869,"children":5870},{"class":59,"line":133},[5871,5875,5879,5883,5887,5891],{"type":14,"tag":57,"props":5872,"children":5873},{"class":64},[5874],{"type":26,"value":313},{"type":14,"tag":57,"props":5876,"children":5877},{"class":70},[5878],{"type":26,"value":318},{"type":14,"tag":57,"props":5880,"children":5881},{"class":64},[5882],{"type":26,"value":323},{"type":14,"tag":57,"props":5884,"children":5885},{"class":70},[5886],{"type":26,"value":94},{"type":14,"tag":57,"props":5888,"children":5889},{"class":160},[5890],{"type":26,"value":332},{"type":14,"tag":57,"props":5892,"children":5893},{"class":70},[5894],{"type":26,"value":337},{"type":14,"tag":57,"props":5896,"children":5897},{"class":59,"line":142},[5898],{"type":14,"tag":57,"props":5899,"children":5900},{},[5901],{"type":26,"value":345},{"type":14,"tag":57,"props":5903,"children":5904},{"class":59,"line":151},[5905,5909,5913,5917,5921,5925,5929,5933],{"type":14,"tag":57,"props":5906,"children":5907},{"class":64},[5908],{"type":26,"value":67},{"type":14,"tag":57,"props":5910,"children":5911},{"class":70},[5912],{"type":26,"value":73},{"type":14,"tag":57,"props":5914,"children":5915},{"class":76},[5916],{"type":26,"value":79},{"type":14,"tag":57,"props":5918,"children":5919},{"class":70},[5920],{"type":26,"value":84},{"type":14,"tag":57,"props":5922,"children":5923},{"class":64},[5924],{"type":26,"value":89},{"type":14,"tag":57,"props":5926,"children":5927},{"class":70},[5928],{"type":26,"value":94},{"type":14,"tag":57,"props":5930,"children":5931},{"class":97},[5932],{"type":26,"value":100},{"type":14,"tag":57,"props":5934,"children":5935},{"class":70},[5936],{"type":26,"value":381},{"type":14,"tag":57,"props":5938,"children":5939},{"class":59,"line":171},[5940,5944,5948,5952,5956,5960],{"type":14,"tag":57,"props":5941,"children":5942},{"class":70},[5943],{"type":26,"value":389},{"type":14,"tag":57,"props":5945,"children":5946},{"class":108},[5947],{"type":26,"value":394},{"type":14,"tag":57,"props":5949,"children":5950},{"class":64},[5951],{"type":26,"value":116},{"type":14,"tag":57,"props":5953,"children":5954},{"class":70},[5955],{"type":26,"value":94},{"type":14,"tag":57,"props":5957,"children":5958},{"class":76},[5959],{"type":26,"value":125},{"type":14,"tag":57,"props":5961,"children":5962},{"class":70},[5963],{"type":26,"value":337},{"type":14,"tag":57,"props":5965,"children":5966},{"class":59,"line":199},[5967],{"type":14,"tag":57,"props":5968,"children":5969},{"class":70},[5970],{"type":26,"value":474},{"type":14,"tag":57,"props":5972,"children":5973},{"class":59,"line":208},[5974],{"type":14,"tag":57,"props":5975,"children":5976},{"class":70},[5977],{"type":26,"value":483},{"type":14,"tag":57,"props":5979,"children":5980},{"class":59,"line":217},[5981],{"type":14,"tag":57,"props":5982,"children":5983},{"class":70},[5984],{"type":26,"value":148},{"type":14,"tag":57,"props":5986,"children":5987},{"class":59,"line":477},[5988],{"type":14,"tag":57,"props":5989,"children":5990},{"class":70},[5991],{"type":26,"value":5992},"            {\n",{"type":14,"tag":57,"props":5994,"children":5995},{"class":59,"line":486},[5996,6001,6006],{"type":14,"tag":57,"props":5997,"children":5998},{"class":70},[5999],{"type":26,"value":6000},"                name: ",{"type":14,"tag":57,"props":6002,"children":6003},{"class":160},[6004],{"type":26,"value":6005},"'custom'",{"type":14,"tag":57,"props":6007,"children":6008},{"class":70},[6009],{"type":26,"value":6010},",\n",{"type":14,"tag":57,"props":6012,"children":6013},{"class":59,"line":505},[6014,6019,6024],{"type":14,"tag":57,"props":6015,"children":6016},{"class":70},[6017],{"type":26,"value":6018},"                message: ",{"type":14,"tag":57,"props":6020,"children":6021},{"class":160},[6022],{"type":26,"value":6023},"'Please enter a value containing \"inkline\".'",{"type":14,"tag":57,"props":6025,"children":6026},{"class":70},[6027],{"type":26,"value":6010},{"type":14,"tag":57,"props":6029,"children":6030},{"class":59,"line":514},[6031,6035,6040,6045,6050,6054,6058,6062,6067,6071,6076,6081,6086,6090,6095,6100],{"type":14,"tag":57,"props":6032,"children":6033},{"class":70},[6034],{"type":26,"value":836},{"type":14,"tag":57,"props":6036,"children":6037},{"class":97},[6038],{"type":26,"value":6039},"validator",{"type":14,"tag":57,"props":6041,"children":6042},{"class":70},[6043],{"type":26,"value":6044},": (",{"type":14,"tag":57,"props":6046,"children":6047},{"class":108},[6048],{"type":26,"value":6049},"v",{"type":14,"tag":57,"props":6051,"children":6052},{"class":64},[6053],{"type":26,"value":116},{"type":14,"tag":57,"props":6055,"children":6056},{"class":70},[6057],{"type":26,"value":94},{"type":14,"tag":57,"props":6059,"children":6060},{"class":76},[6061],{"type":26,"value":125},{"type":14,"tag":57,"props":6063,"children":6064},{"class":70},[6065],{"type":26,"value":6066},") ",{"type":14,"tag":57,"props":6068,"children":6069},{"class":64},[6070],{"type":26,"value":5421},{"type":14,"tag":57,"props":6072,"children":6074},{"class":6073},"ct-672362",[6075],{"type":26,"value":94},{"type":14,"tag":57,"props":6077,"children":6078},{"class":160},[6079],{"type":26,"value":6080},"/",{"type":14,"tag":57,"props":6082,"children":6083},{"class":6073},[6084],{"type":26,"value":6085},"inkline",{"type":14,"tag":57,"props":6087,"children":6088},{"class":160},[6089],{"type":26,"value":6080},{"type":14,"tag":57,"props":6091,"children":6092},{"class":70},[6093],{"type":26,"value":6094},".",{"type":14,"tag":57,"props":6096,"children":6097},{"class":97},[6098],{"type":26,"value":6099},"test",{"type":14,"tag":57,"props":6101,"children":6102},{"class":70},[6103],{"type":26,"value":6104},"(v)\n",{"type":14,"tag":57,"props":6106,"children":6107},{"class":59,"line":523},[6108],{"type":14,"tag":57,"props":6109,"children":6110},{"class":70},[6111],{"type":26,"value":6112},"            }\n",{"type":14,"tag":57,"props":6114,"children":6115},{"class":59,"line":549},[6116],{"type":14,"tag":57,"props":6117,"children":6118},{"class":70},[6119],{"type":26,"value":205},{"type":14,"tag":57,"props":6121,"children":6122},{"class":59,"line":557},[6123],{"type":14,"tag":57,"props":6124,"children":6125},{"class":70},[6126],{"type":26,"value":214},{"type":14,"tag":57,"props":6128,"children":6129},{"class":59,"line":566},[6130],{"type":14,"tag":57,"props":6131,"children":6132},{"class":70},[6133],{"type":26,"value":605},{"type":14,"tag":57,"props":6135,"children":6136},{"class":59,"line":591},[6137,6141,6145],{"type":14,"tag":57,"props":6138,"children":6139},{"class":70},[6140],{"type":26,"value":614},{"type":14,"tag":57,"props":6142,"children":6143},{"class":270},[6144],{"type":26,"value":273},{"type":14,"tag":57,"props":6146,"children":6147},{"class":70},[6148],{"type":26,"value":305},{"type":14,"tag":57,"props":6150,"children":6151},{"class":59,"line":599},[6152,6156,6160],{"type":14,"tag":57,"props":6153,"children":6154},{"class":70},[6155],{"type":26,"value":267},{"type":14,"tag":57,"props":6157,"children":6158},{"class":270},[6159],{"type":26,"value":236},{"type":14,"tag":57,"props":6161,"children":6162},{"class":70},[6163],{"type":26,"value":305},{"type":14,"tag":57,"props":6165,"children":6166},{"class":59,"line":608},[6167,6171,6175,6179,6183,6187,6191],{"type":14,"tag":57,"props":6168,"children":6169},{"class":70},[6170],{"type":26,"value":647},{"type":14,"tag":57,"props":6172,"children":6173},{"class":650},[6174],{"type":26,"value":653},{"type":14,"tag":57,"props":6176,"children":6177},{"class":70},[6178],{"type":26,"value":94},{"type":14,"tag":57,"props":6180,"children":6181},{"class":97},[6182],{"type":26,"value":662},{"type":14,"tag":57,"props":6184,"children":6185},{"class":70},[6186],{"type":26,"value":89},{"type":14,"tag":57,"props":6188,"children":6189},{"class":160},[6190],{"type":26,"value":671},{"type":14,"tag":57,"props":6192,"children":6193},{"class":70},[6194],{"type":26,"value":305},{"type":14,"tag":57,"props":6196,"children":6197},{"class":59,"line":625},[6198,6202,6206],{"type":14,"tag":57,"props":6199,"children":6200},{"class":70},[6201],{"type":26,"value":684},{"type":14,"tag":57,"props":6203,"children":6204},{"class":650},[6205],{"type":26,"value":689},{"type":14,"tag":57,"props":6207,"children":6208},{"class":70},[6209],{"type":26,"value":305},{"type":14,"tag":57,"props":6211,"children":6212},{"class":59,"line":641},[6213,6217],{"type":14,"tag":57,"props":6214,"children":6215},{"class":70},[6216],{"type":26,"value":702},{"type":14,"tag":57,"props":6218,"children":6219},{"class":650},[6220],{"type":26,"value":827},{"type":14,"tag":57,"props":6222,"children":6223},{"class":59,"line":678},[6224,6228,6232,6236],{"type":14,"tag":57,"props":6225,"children":6226},{"class":70},[6227],{"type":26,"value":836},{"type":14,"tag":57,"props":6229,"children":6230},{"class":97},[6231],{"type":26,"value":111},{"type":14,"tag":57,"props":6233,"children":6234},{"class":70},[6235],{"type":26,"value":89},{"type":14,"tag":57,"props":6237,"children":6238},{"class":160},[6239],{"type":26,"value":6240},"\"input\"\n",{"type":14,"tag":57,"props":6242,"children":6243},{"class":59,"line":696},[6244,6248,6252,6256],{"type":14,"tag":57,"props":6245,"children":6246},{"class":70},[6247],{"type":26,"value":836},{"type":14,"tag":57,"props":6249,"children":6250},{"class":97},[6251],{"type":26,"value":733},{"type":14,"tag":57,"props":6253,"children":6254},{"class":70},[6255],{"type":26,"value":89},{"type":14,"tag":57,"props":6257,"children":6258},{"class":160},[6259],{"type":26,"value":6260},"\"This field is custom validated. It needs to contain 'inkline'\"\n",{"type":14,"tag":57,"props":6262,"children":6263},{"class":59,"line":750},[6264],{"type":14,"tag":57,"props":6265,"children":6266},{"class":70},[6267],{"type":26,"value":879},{"type":14,"tag":57,"props":6269,"children":6270},{"class":59,"line":784},[6271,6275,6279,6283,6287,6291,6295],{"type":14,"tag":57,"props":6272,"children":6273},{"class":70},[6274],{"type":26,"value":702},{"type":14,"tag":57,"props":6276,"children":6277},{"class":650},[6278],{"type":26,"value":760},{"type":14,"tag":57,"props":6280,"children":6281},{"class":70},[6282],{"type":26,"value":94},{"type":14,"tag":57,"props":6284,"children":6285},{"class":97},[6286],{"type":26,"value":769},{"type":14,"tag":57,"props":6288,"children":6289},{"class":70},[6290],{"type":26,"value":89},{"type":14,"tag":57,"props":6292,"children":6293},{"class":160},[6294],{"type":26,"value":724},{"type":14,"tag":57,"props":6296,"children":6297},{"class":70},[6298],{"type":26,"value":747},{"type":14,"tag":57,"props":6300,"children":6301},{"class":59,"line":801},[6302,6306,6310],{"type":14,"tag":57,"props":6303,"children":6304},{"class":70},[6305],{"type":26,"value":790},{"type":14,"tag":57,"props":6307,"children":6308},{"class":650},[6309],{"type":26,"value":689},{"type":14,"tag":57,"props":6311,"children":6312},{"class":70},[6313],{"type":26,"value":305},{"type":14,"tag":57,"props":6315,"children":6316},{"class":59,"line":817},[6317,6321,6325],{"type":14,"tag":57,"props":6318,"children":6319},{"class":70},[6320],{"type":26,"value":1064},{"type":14,"tag":57,"props":6322,"children":6323},{"class":650},[6324],{"type":26,"value":653},{"type":14,"tag":57,"props":6326,"children":6327},{"class":70},[6328],{"type":26,"value":305},{"type":14,"tag":57,"props":6330,"children":6331},{"class":59,"line":830},[6332,6336,6340],{"type":14,"tag":57,"props":6333,"children":6334},{"class":70},[6335],{"type":26,"value":614},{"type":14,"tag":57,"props":6337,"children":6338},{"class":270},[6339],{"type":26,"value":236},{"type":14,"tag":57,"props":6341,"children":6342},{"class":70},[6343],{"type":26,"value":1089},{"type":14,"tag":6345,"children":6346},"style",[6347],{"type":26,"value":6348},".ct-149352{color:#D73A49;}\n.dark-theme .ct-149352{color:#F97583;}\n.ct-553616{color:#24292E;}\n.dark-theme .ct-553616{color:#E1E4E8;}\n.ct-617022{color:#005CC5;}\n.dark-theme .ct-617022{color:#79B8FF;}\n.ct-762058{color:#6F42C1;}\n.dark-theme .ct-762058{color:#B392F0;}\n.ct-157101{color:#E36209;}\n.dark-theme .ct-157101{color:#FFAB70;}\n.ct-952708{color:#032F62;}\n.dark-theme .ct-952708{color:#9ECBFF;}\n.ct-914029{color:#22863A;}\n.dark-theme .ct-914029{color:#85E89D;}\n.ct-028869{color:#B31D28;font-style:italic;}\n.dark-theme .ct-028869{color:#FDAEB7;font-style:italic;}\n.ct-672362{color:#032F62;}\n.dark-theme .ct-672362{color:#DBEDFF;}",{"title":7,"searchDepth":133,"depth":133,"links":6350},[6351],{"id":23,"depth":133,"text":9,"children":6352},[6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363],{"id":227,"depth":142,"text":230},{"id":1092,"depth":142,"text":1095},{"id":1865,"depth":142,"text":1868},{"id":2274,"depth":142,"text":2277},{"id":2692,"depth":142,"text":2695},{"id":3110,"depth":142,"text":3113},{"id":3527,"depth":142,"text":3530},{"id":3945,"depth":142,"text":3948},{"id":4736,"depth":142,"text":4739},{"id":5144,"depth":142,"text":5147},{"id":5801,"depth":142,"text":5804},"markdown","content:docs:forms:validation:validators.md","content","docs/forms/validation/validators.md","md",1794582260965]