[{"data":1,"prerenderedAt":761},["ShallowReactive",2],{"i-ph:magnifying-glass":3,"i-ph:circle":8,"i-ph:moon":10,"i-ph:github-logo":12,"i-ph:brackets-curly":14,"i-ph:file-css":16,"i-ph:rectangle-dashed":18,"i-ph:arrow-left":20,"i-ph:arrow-right":22,"components-textarea":24},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,256,false,"\u003Cpath fill=\"currentColor\" d=\"m229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72a72.08 72.08 0 0 1-72-72\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cpath fill=\"currentColor\" d=\"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"currentColor\" d=\"M233.54 142.23a8 8 0 0 0-8-2a88.08 88.08 0 0 1-109.8-109.8a8 8 0 0 0-10-10a104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88a104.84 104.84 0 0 0 37-52.91a8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104a106 106 0 0 0 14.92-1.06a89 89 0 0 1-26.02 31.4\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cpath fill=\"currentColor\" d=\"M208.31 75.68A59.78 59.78 0 0 0 202.93 28a8 8 0 0 0-6.93-4a59.75 59.75 0 0 0-48 24h-24a59.75 59.75 0 0 0-48-24a8 8 0 0 0-6.93 4a59.78 59.78 0 0 0-5.38 47.68A58.14 58.14 0 0 0 56 104v8a56.06 56.06 0 0 0 48.44 55.47A39.8 39.8 0 0 0 96 192v8H72a24 24 0 0 1-24-24a40 40 0 0 0-40-40a8 8 0 0 0 0 16a24 24 0 0 1 24 24a40 40 0 0 0 40 40h24v16a8 8 0 0 0 16 0v-40a24 24 0 0 1 48 0v40a8 8 0 0 0 16 0v-40a39.8 39.8 0 0 0-8.44-24.53A56.06 56.06 0 0 0 216 112v-8a58.14 58.14 0 0 0-7.69-28.32M200 112a40 40 0 0 1-40 40h-48a40 40 0 0 1-40-40v-8a41.74 41.74 0 0 1 6.9-22.48a8 8 0 0 0 1.1-7.69a43.8 43.8 0 0 1 .79-33.58a43.88 43.88 0 0 1 32.32 20.06a8 8 0 0 0 6.71 3.69h32.35a8 8 0 0 0 6.74-3.69a43.87 43.87 0 0 1 32.32-20.06a43.8 43.8 0 0 1 .77 33.58a8.09 8.09 0 0 0 1 7.65a41.7 41.7 0 0 1 7 22.52Z\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cpath fill=\"currentColor\" d=\"M43.18 128a29.8 29.8 0 0 1 8 10.26c4.8 9.9 4.8 22 4.8 33.74c0 24.31 1 36 24 36a8 8 0 0 1 0 16c-17.48 0-29.32-6.14-35.2-18.26c-4.8-9.9-4.8-22-4.8-33.74c0-24.31-1-36-24-36a8 8 0 0 1 0-16c23 0 24-11.69 24-36c0-11.72 0-23.84 4.8-33.74C50.68 38.14 62.52 32 80 32a8 8 0 0 1 0 16c-23 0-24 11.69-24 36c0 11.72 0 23.84-4.8 33.74A29.8 29.8 0 0 1 43.18 128M240 120c-23 0-24-11.69-24-36c0-11.72 0-23.84-4.8-33.74C205.32 38.14 193.48 32 176 32a8 8 0 0 0 0 16c23 0 24 11.69 24 36c0 11.72 0 23.84 4.8 33.74a29.8 29.8 0 0 0 8 10.26a29.8 29.8 0 0 0-8 10.26c-4.8 9.9-4.8 22-4.8 33.74c0 24.31-1 36-24 36a8 8 0 0 0 0 16c17.48 0 29.32-6.14 35.2-18.26c4.8-9.9 4.8-22 4.8-33.74c0-24.31 1-36 24-36a8 8 0 0 0 0-16\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cpath fill=\"currentColor\" d=\"M48 180c0 11 7.18 20 16 20a14.24 14.24 0 0 0 10.22-4.66a8 8 0 1 1 11.55 11.06A30 30 0 0 1 64 216c-17.65 0-32-16.15-32-36s14.35-36 32-36a30 30 0 0 1 21.77 9.6a8 8 0 1 1-11.55 11.06A14.24 14.24 0 0 0 64 160c-8.82 0-16 9-16 20m79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84c-1.26-.81-1.23-1-1.12-1.9a4.54 4.54 0 0 1 2-3.67c4.6-3.12 15.34-1.73 19.83-.56a8 8 0 0 0 4.07-15.48c-2.12-.55-21-5.22-32.83 2.76a20.55 20.55 0 0 0-9 14.95c-2 15.88 13.64 20.41 23 23.11c12.07 3.49 13.13 4.92 12.78 7.59c-.31 2.41-1.26 3.34-2.14 3.93c-4.6 3.06-15.17 1.56-19.55.36a8 8 0 0 0-4.3 15.41a61.2 61.2 0 0 0 15.18 2c5.83 0 12.3-1 17.49-4.46a20.82 20.82 0 0 0 9.19-15.23c2.25-17.28-14.27-22.11-24.15-24.97m64 0c-4-1.16-8.14-2.35-10.45-3.84c-1.25-.81-1.23-1-1.12-1.9a4.54 4.54 0 0 1 2-3.67c4.6-3.12 15.34-1.73 19.82-.56a8 8 0 0 0 4.07-15.48c-2.11-.55-21-5.22-32.83 2.76a20.58 20.58 0 0 0-8.95 14.95c-2 15.88 13.65 20.41 23 23.11c12.06 3.49 13.12 4.92 12.78 7.59c-.31 2.41-1.26 3.34-2.15 3.93c-4.6 3.06-15.16 1.56-19.54.36a8 8 0 0 0-4.3 15.44a61.3 61.3 0 0 0 15.19 2c5.82 0 12.3-1 17.49-4.46a20.81 20.81 0 0 0 9.18-15.23c2.21-17.31-14.31-22.14-24.2-25ZM40 112V40a16 16 0 0 1 16-16h96a8 8 0 0 1 5.66 2.34l56 56A8 8 0 0 1 216 88v24a8 8 0 1 1-16 0V96h-48a8 8 0 0 1-8-8V40H56v72a8 8 0 0 1-16 0m120-32h28.68L160 51.31Z\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19},"\u003Cpath fill=\"currentColor\" d=\"M80 48a8 8 0 0 1-8 8H40v16a8 8 0 0 1-16 0V56a16 16 0 0 1 16-16h32a8 8 0 0 1 8 8M32 152a8 8 0 0 0 8-8v-32a8 8 0 0 0-16 0v32a8 8 0 0 0 8 8m40 48H40v-16a8 8 0 0 0-16 0v16a16 16 0 0 0 16 16h32a8 8 0 0 0 0-16m72 0h-32a8 8 0 0 0 0 16h32a8 8 0 0 0 0-16m80-24a8 8 0 0 0-8 8v16h-32a8 8 0 0 0 0 16h32a16 16 0 0 0 16-16v-16a8 8 0 0 0-8-8m0-72a8 8 0 0 0-8 8v32a8 8 0 0 0 16 0v-32a8 8 0 0 0-8-8m-8-64h-32a8 8 0 0 0 0 16h32v16a8 8 0 0 0 16 0V56a16 16 0 0 0-16-16m-72 0h-32a8 8 0 0 0 0 16h32a8 8 0 0 0 0-16\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":21},"\u003Cpath fill=\"currentColor\" d=\"M224 128a8 8 0 0 1-8 8H59.31l58.35 58.34a8 8 0 0 1-11.32 11.32l-72-72a8 8 0 0 1 0-11.32l72-72a8 8 0 0 1 11.32 11.32L59.31 120H216a8 8 0 0 1 8 8\"/>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":23},"\u003Cpath fill=\"currentColor\" d=\"m221.66 133.66l-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32\"/>",{"id":25,"title":26,"body":27,"description":37,"extension":755,"meta":756,"navigation":125,"path":757,"seo":758,"stem":759,"__hash__":760},"docs/docs/components/textarea.md","Textarea",{"type":28,"value":29,"toc":749},"minimark",[30,34,38,298,303,604,608,637,641,713,717,745],[31,32,26],"h1",{"id":33},"textarea",[35,36,37],"p",{},"A multi-line text input component that extends the base Input component with textarea-specific functionality. It supports resizing, auto-resizing, and character limits.",[39,40,41],"textarea-example",{},[42,43,48],"pre",{"className":44,"code":45,"language":46,"meta":47,"style":47},"language-vue shiki shiki-themes vitesse-dark vitesse-light vitesse-dark","\u003Cscript setup>\nimport { Textarea } from '@dolanske/vui'\nimport { ref } from 'vue'\n\nconst text = ref('')\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTextarea\n    v-model=\"text\"\n    expand\n    label=\"Description\"\n    hint=\"Let me know what you think about vui\"\n    placeholder=\"Your text...\"\n    :limit=\"280\"\n    required\n  />\n\u003C/template>\n","vue","",[49,50,51,71,100,120,127,152,162,167,177,186,204,210,225,240,255,274,280,289],"code",{"__ignoreMap":47},[52,53,56,60,64,68],"span",{"class":54,"line":55},"line",1,[52,57,59],{"class":58},"sP76a","\u003C",[52,61,63],{"class":62},"sKpE2","script",[52,65,67],{"class":66},"sflEz"," setup",[52,69,70],{"class":58},">\n",[52,72,74,77,80,83,86,89,93,97],{"class":54,"line":73},2,[52,75,76],{"class":62},"import",[52,78,79],{"class":58}," {",[52,81,82],{"class":66}," Textarea",[52,84,85],{"class":58}," }",[52,87,88],{"class":62}," from",[52,90,92],{"class":91},"sBR95"," '",[52,94,96],{"class":95},"sfmH-","@dolanske/vui",[52,98,99],{"class":91},"'\n",[52,101,103,105,107,110,112,114,116,118],{"class":54,"line":102},3,[52,104,76],{"class":62},[52,106,79],{"class":58},[52,108,109],{"class":66}," ref",[52,111,85],{"class":58},[52,113,88],{"class":62},[52,115,92],{"class":91},[52,117,46],{"class":95},[52,119,99],{"class":91},[52,121,123],{"class":54,"line":122},4,[52,124,126],{"emptyLinePlaceholder":125},true,"\n",[52,128,130,134,137,140,143,146,149],{"class":54,"line":129},5,[52,131,133],{"class":132},"sCMWV","const",[52,135,136],{"class":66}," text",[52,138,139],{"class":58}," =",[52,141,109],{"class":142},"sRTv0",[52,144,145],{"class":58},"(",[52,147,148],{"class":91},"''",[52,150,151],{"class":58},")\n",[52,153,155,158,160],{"class":54,"line":154},6,[52,156,157],{"class":58},"\u003C/",[52,159,63],{"class":62},[52,161,70],{"class":58},[52,163,165],{"class":54,"line":164},7,[52,166,126],{"emptyLinePlaceholder":125},[52,168,170,172,175],{"class":54,"line":169},8,[52,171,59],{"class":58},[52,173,174],{"class":62},"template",[52,176,70],{"class":58},[52,178,180,183],{"class":54,"line":179},9,[52,181,182],{"class":58},"  \u003C",[52,184,185],{"class":62},"Textarea\n",[52,187,189,192,195,198,201],{"class":54,"line":188},10,[52,190,191],{"class":142},"    v-model",[52,193,194],{"class":58},"=",[52,196,197],{"class":58},"\"",[52,199,200],{"class":66},"text",[52,202,203],{"class":58},"\"\n",[52,205,207],{"class":54,"line":206},11,[52,208,209],{"class":66},"    expand\n",[52,211,213,216,218,220,223],{"class":54,"line":212},12,[52,214,215],{"class":66},"    label",[52,217,194],{"class":58},[52,219,197],{"class":91},[52,221,222],{"class":95},"Description",[52,224,203],{"class":91},[52,226,228,231,233,235,238],{"class":54,"line":227},13,[52,229,230],{"class":66},"    hint",[52,232,194],{"class":58},[52,234,197],{"class":91},[52,236,237],{"class":95},"Let me know what you think about vui",[52,239,203],{"class":91},[52,241,243,246,248,250,253],{"class":54,"line":242},14,[52,244,245],{"class":66},"    placeholder",[52,247,194],{"class":58},[52,249,197],{"class":91},[52,251,252],{"class":95},"Your text...",[52,254,203],{"class":91},[52,256,258,261,264,266,268,272],{"class":54,"line":257},15,[52,259,260],{"class":58},"    :",[52,262,263],{"class":142},"limit",[52,265,194],{"class":58},[52,267,197],{"class":58},[52,269,271],{"class":270},"socUO","280",[52,273,203],{"class":58},[52,275,277],{"class":54,"line":276},16,[52,278,279],{"class":66},"    required\n",[52,281,283,287],{"class":54,"line":282},17,[52,284,286],{"class":285},"s4DP-","  /",[52,288,70],{"class":58},[52,290,292,294,296],{"class":54,"line":291},18,[52,293,157],{"class":58},[52,295,174],{"class":62},[52,297,70],{"class":58},[299,300,302],"h3",{"id":301},"props","Props",[304,305,306,322],"table",{},[307,308,309],"thead",{},[310,311,312,316,319],"tr",{},[313,314,315],"th",{},"Name",[313,317,318],{},"Default",[313,320,321],{},"Type",[323,324,325,353,371,390,409,427,443,460,478,494,512,530,548,566,586],"tbody",{},[310,326,327,333,338],{},[328,329,330],"td",{},[49,331,332],{},"resize",[328,334,335],{},[49,336,337],{},"vertical",[328,339,340,343,344,343,346,343,349,352],{},[49,341,342],{},"boolean"," ",[49,345,337],{},[49,347,348],{},"horizontal",[350,351],"br",{}," Controls the resize behavior of the textarea",[310,354,355,360,363],{},[328,356,357],{},[49,358,359],{},"cols",[328,361,362],{},"-",[328,364,365,343,368,370],{},[49,366,367],{},"number",[350,369],{}," Modifies the width of the textarea in character count",[310,372,373,378,383],{},[328,374,375],{},[49,376,377],{},"rows",[328,379,380],{},[49,381,382],{},"5",[328,384,385,343,387,389],{},[49,386,367],{},[350,388],{}," Modifies the height of the textarea in row cou",[310,391,392,397,402],{},[328,393,394],{},[49,395,396],{},"autoResize",[328,398,399],{},[49,400,401],{},"false",[328,403,404,343,406,408],{},[49,405,342],{},[350,407],{}," Automatically adjusts the height based on content",[310,410,411,416,419],{},[328,412,413],{},[49,414,415],{},"label",[328,417,418],{},"—",[328,420,421,343,424,426],{},[49,422,423],{},"string",[350,425],{}," Label text for the textarea",[310,428,429,434,436],{},[328,430,431],{},[49,432,433],{},"hint",[328,435,418],{},[328,437,438,343,440,442],{},[49,439,423],{},[350,441],{}," Helper text displayed below the textarea",[310,444,445,449,451],{},[328,446,447],{},[49,448,263],{},[328,450,418],{},[328,452,453,343,455,343,457,459],{},[49,454,367],{},[49,456,423],{},[350,458],{}," Maximum number of characters allowed",[310,461,462,467,471],{},[328,463,464],{},[49,465,466],{},"expand",[328,468,469],{},[49,470,401],{},[328,472,473,343,475,477],{},[49,474,342],{},[350,476],{}," Makes the textarea expand to full width",[310,479,480,485,487],{},[328,481,482],{},[49,483,484],{},"placeholder",[328,486,418],{},[328,488,489,343,491,493],{},[49,490,423],{},[350,492],{}," Placeholder text when textarea is empty",[310,495,496,501,505],{},[328,497,498],{},[49,499,500],{},"required",[328,502,503],{},[49,504,401],{},[328,506,507,343,509,511],{},[49,508,342],{},[350,510],{}," Makes the textarea required",[310,513,514,519,523],{},[328,515,516],{},[49,517,518],{},"modelValue",[328,520,521],{},[49,522,148],{},[328,524,525,343,527,529],{},[49,526,423],{},[350,528],{}," Value of the textarea (for v-model)",[310,531,532,537,541],{},[328,533,534],{},[49,535,536],{},"readonly",[328,538,539],{},[49,540,401],{},[328,542,543,343,545,547],{},[49,544,342],{},[350,546],{}," Makes the textarea readonly",[310,549,550,555,559],{},[328,551,552],{},[49,553,554],{},"focus",[328,556,557],{},[49,558,401],{},[328,560,561,343,563,565],{},[49,562,342],{},[350,564],{}," Focuses the textarea when mounted",[310,567,568,573,578],{},[328,569,570],{},[49,571,572],{},"errors",[328,574,575],{},[49,576,577],{},"[]",[328,579,580,343,583,585],{},[49,581,582],{},"string[]",[350,584],{}," Array of error messages to display",[310,587,588,593,597],{},[328,589,590],{},[49,591,592],{},"disabled",[328,594,595],{},[49,596,401],{},[328,598,599,343,601,603],{},[49,600,342],{},[350,602],{}," Disables the textarea",[299,605,607],{"id":606},"events","Events",[304,609,610,621],{},[307,611,612],{},[310,613,614,616,619],{},[313,615,315],{},[313,617,618],{},"Payload",[313,620,222],{},[323,622,623],{},[310,624,625,630,634],{},[328,626,627],{},[49,628,629],{},"update:modelValue",[328,631,632],{},[49,633,423],{},[328,635,636],{},"Emitted when the textarea value changes",[299,638,640],{"id":639},"slots","Slots",[304,642,643,654],{},[307,644,645],{},[310,646,647,649,652],{},[313,648,315],{},[313,650,651],{},"Accepts",[313,653,222],{},[323,655,656,671,685,699],{},[310,657,658,663,668],{},[328,659,660],{},[49,661,662],{},"before",[328,664,665],{},[49,666,667],{},"any",[328,669,670],{},"Content to be displayed before any of the textarea content",[310,672,673,678,682],{},[328,674,675],{},[49,676,677],{},"start",[328,679,680],{},[49,681,667],{},[328,683,684],{},"Content to be displayed at the start of the textarea",[310,686,687,692,696],{},[328,688,689],{},[49,690,691],{},"end",[328,693,694],{},[49,695,667],{},[328,697,698],{},"Content to be displayed at the end of the textarea",[310,700,701,706,710],{},[328,702,703],{},[49,704,705],{},"after",[328,707,708],{},[49,709,667],{},[328,711,712],{},"Content to be displayed after all the textarea content",[299,714,716],{"id":715},"exposes","Exposes",[304,718,719,729],{},[307,720,721],{},[310,722,723,725,727],{},[313,724,315],{},[313,726,321],{},[313,728,222],{},[323,730,731],{},[310,732,733,737,742],{},[328,734,735],{},[49,736,554],{},[328,738,739],{},[49,740,741],{},"method",[328,743,744],{},"Focuses the textarea element",[746,747,748],"style",{},"html pre.shiki code .sP76a, html code.shiki .sP76a{--shiki-dark:#666666;--shiki-light:#999999;--shiki-default:#666666}html pre.shiki code .sKpE2, html code.shiki .sKpE2{--shiki-dark:#4D9375;--shiki-light:#1E754F;--shiki-default:#4D9375}html pre.shiki code .sflEz, html code.shiki .sflEz{--shiki-dark:#BD976A;--shiki-light:#B07D48;--shiki-default:#BD976A}html pre.shiki code .sBR95, html code.shiki .sBR95{--shiki-dark:#C98A7D77;--shiki-light:#B5695977;--shiki-default:#C98A7D77}html pre.shiki code .sfmH-, html code.shiki .sfmH-{--shiki-dark:#C98A7D;--shiki-light:#B56959;--shiki-default:#C98A7D}html pre.shiki code .sCMWV, html code.shiki .sCMWV{--shiki-dark:#CB7676;--shiki-light:#AB5959;--shiki-default:#CB7676}html pre.shiki code .sRTv0, html code.shiki .sRTv0{--shiki-dark:#80A665;--shiki-light:#59873A;--shiki-default:#80A665}html pre.shiki code .socUO, html code.shiki .socUO{--shiki-dark:#4C9A91;--shiki-light:#2F798A;--shiki-default:#4C9A91}html pre.shiki code .s4DP-, html code.shiki .s4DP-{--shiki-dark:#666666;--shiki-dark-font-style:italic;--shiki-light:#999999;--shiki-light-font-style:italic;--shiki-default:#666666;--shiki-default-font-style:italic}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":47,"searchDepth":73,"depth":73,"links":750},[751,752,753,754],{"id":301,"depth":102,"text":302},{"id":606,"depth":102,"text":607},{"id":639,"depth":102,"text":640},{"id":715,"depth":102,"text":716},"md",{},"/docs/components/textarea",{"title":26,"description":37},"docs/components/textarea","g5Sixjf82IcrZdVkEAqiqUw5qYkgVwHpxRNNrfcarcQ",1777992281273]