[{"data":1,"prerenderedAt":311},["ShallowReactive",2],{"docs-nav-pkg":3,"docs-page-pkg-\u002Fpkg\u002Fotp-field":133},[4,8,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,121,124,127,130],{"path":5,"title":6,"section":7},"\u002Fpkg","Overview","Start",{"path":9,"title":10,"section":11},"\u002Fpkg\u002Faccordion","Accordion","Components",{"path":13,"title":14,"section":11},"\u002Fpkg\u002Falert-dialog","Alert Dialog",{"path":16,"title":17,"section":11},"\u002Fpkg\u002Fautocomplete","Autocomplete",{"path":19,"title":20,"section":11},"\u002Fpkg\u002Favatar","Avatar",{"path":22,"title":23,"section":11},"\u002Fpkg\u002Fbutton","Button",{"path":25,"title":26,"section":11},"\u002Fpkg\u002Fcheckbox","Checkbox",{"path":28,"title":29,"section":11},"\u002Fpkg\u002Fcheckbox-group","Checkbox Group",{"path":31,"title":32,"section":11},"\u002Fpkg\u002Fcollapsible","Collapsible",{"path":34,"title":35,"section":11},"\u002Fpkg\u002Fcombobox","Combobox",{"path":37,"title":38,"section":11},"\u002Fpkg\u002Fcontext-menu","Context Menu",{"path":40,"title":41,"section":11},"\u002Fpkg\u002Fdialog","Dialog",{"path":43,"title":44,"section":11},"\u002Fpkg\u002Fdrawer","Drawer",{"path":46,"title":47,"section":11},"\u002Fpkg\u002Ffield","Field",{"path":49,"title":50,"section":11},"\u002Fpkg\u002Ffieldset","Fieldset",{"path":52,"title":53,"section":11},"\u002Fpkg\u002Fform","Form",{"path":55,"title":56,"section":11},"\u002Fpkg\u002Ficon-picker","Icon picker",{"path":58,"title":59,"section":11},"\u002Fpkg\u002Finput","Input",{"path":61,"title":62,"section":11},"\u002Fpkg\u002Fmenu","Menu",{"path":64,"title":65,"section":11},"\u002Fpkg\u002Fmenubar","Menubar",{"path":67,"title":68,"section":11},"\u002Fpkg\u002Fmeter","Meter",{"path":70,"title":71,"section":11},"\u002Fpkg\u002Fnavigation-menu","Navigation Menu",{"path":73,"title":74,"section":11},"\u002Fpkg\u002Fnumber-field","Number Field",{"path":76,"title":77,"section":11},"\u002Fpkg\u002Fotp-field","OTP Field",{"path":79,"title":80,"section":11},"\u002Fpkg\u002Fplot","Plot",{"path":82,"title":83,"section":11},"\u002Fpkg\u002Fpopover","Popover",{"path":85,"title":86,"section":11},"\u002Fpkg\u002Fpreview-card","Preview Card",{"path":88,"title":89,"section":11},"\u002Fpkg\u002Fprogress","Progress",{"path":91,"title":92,"section":11},"\u002Fpkg\u002Fradio-group","Radio Group",{"path":94,"title":95,"section":11},"\u002Fpkg\u002Fscroll-area","Scroll Area",{"path":97,"title":98,"section":11},"\u002Fpkg\u002Fselect","Select",{"path":100,"title":101,"section":11},"\u002Fpkg\u002Fseparator","Separator",{"path":103,"title":104,"section":11},"\u002Fpkg\u002Fsidebar","Sidebar",{"path":106,"title":107,"section":11},"\u002Fpkg\u002Fslider","Slider",{"path":109,"title":110,"section":11},"\u002Fpkg\u002Fswitch","Switch",{"path":112,"title":113,"section":11},"\u002Fpkg\u002Ftabs","Tabs",{"path":115,"title":116,"section":11},"\u002Fpkg\u002Ftoast","Toast",{"path":118,"title":119,"section":120},"\u002Fpkg\u002Fapi","Api","Runtime",{"path":122,"title":123,"section":120},"\u002Fpkg\u002Fauth","Auth",{"path":125,"title":126,"section":120},"\u002Fpkg\u002Fblob","Blob",{"path":128,"title":129,"section":120},"\u002Fpkg\u002Fchannels","Channels",{"path":131,"title":132,"section":120},"\u002Fpkg\u002Fdb","Db",{"id":134,"title":77,"body":135,"description":304,"extension":305,"meta":306,"navigation":307,"path":76,"section":11,"seo":308,"stem":309,"__hash__":310},"pkg\u002Fpkg\u002Fotp-field.md",{"type":136,"value":137,"toc":300},"minimark",[138,142,145,150,237,241,289,296],[139,140,141],"p",{},"A one-time password input composed of individual character slots. Each cell matches Input: no border, a color wash, and a lightness shift on hover and focus. The separator is a 1px accent rule. Cells are Regular.",[143,144],"base-otp-field-demo",{},[146,147,149],"h2",{"id":148},"anatomy","Anatomy",[151,152,157],"pre",{"className":153,"code":154,"language":155,"meta":156,"style":156},"language-vue shiki shiki-themes github-light github-dark","\u003CUiOtpFieldRoot :length=\"6\">\n  \u003CUiOtpFieldInput \u002F>\n  \u003CUiOtpFieldInput \u002F>\n  \u003CUiOtpFieldInput \u002F>\n  \u003CUiOtpFieldInput \u002F>\n  \u003CUiOtpFieldInput \u002F>\n  \u003CUiOtpFieldInput \u002F>\n\u003C\u002FUiOtpFieldRoot>\n","vue","",[158,159,160,196,202,207,212,217,222,227],"code",{"__ignoreMap":156},[161,162,165,169,173,176,180,183,187,191,193],"span",{"class":163,"line":164},"line",1,[161,166,168],{"class":167},"sVt8B","\u003C",[161,170,172],{"class":171},"s9eBZ","UiOtpFieldRoot",[161,174,175],{"class":167}," :",[161,177,179],{"class":178},"sScJk","length",[161,181,182],{"class":167},"=",[161,184,186],{"class":185},"sZZnC","\"",[161,188,190],{"class":189},"sj4cs","6",[161,192,186],{"class":185},[161,194,195],{"class":167},">\n",[161,197,199],{"class":163,"line":198},2,[161,200,201],{"class":167},"  \u003CUiOtpFieldInput \u002F>\n",[161,203,205],{"class":163,"line":204},3,[161,206,201],{"class":167},[161,208,210],{"class":163,"line":209},4,[161,211,201],{"class":167},[161,213,215],{"class":163,"line":214},5,[161,216,201],{"class":167},[161,218,220],{"class":163,"line":219},6,[161,221,201],{"class":167},[161,223,225],{"class":163,"line":224},7,[161,226,201],{"class":167},[161,228,230,233,235],{"class":163,"line":229},8,[161,231,232],{"class":167},"\u003C\u002F",[161,234,172],{"class":171},[161,236,195],{"class":167},[146,238,240],{"id":239},"parts","Parts",[242,243,244,275,284],"ul",{},[245,246,247,251,252,254,255,258,259,262,263,266,267,270,271,274],"li",{},[248,249,250],"strong",{},"Root"," — ",[158,253,179],{}," is required. ",[158,256,257],{},"validationType"," defaults to ",[158,260,261],{},"numeric",". ",[158,264,265],{},"value"," \u002F ",[158,268,269],{},"defaultValue",". Emits ",[158,272,273],{},"complete"," when every slot is filled. Paste fills from the start.",[245,276,277,279,280,283],{},[248,278,59],{}," — one character. Auto-advances. Backspace moves to the previous slot. The first input uses the root ",[158,281,282],{},"id"," for the label.",[245,285,286,288],{},[248,287,101],{}," — an optional rule between groups of slots.",[139,290,291,292,295],{},"Give the remaining inputs an accessible name; the primitive adds ",[158,293,294],{},"aria-label=\"Character n of length\""," after the first.",[297,298,299],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}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);}",{"title":156,"searchDepth":198,"depth":198,"links":301},[302,303],{"id":148,"depth":198,"text":149},{"id":239,"depth":198,"text":240},"A one-time password input of character slots","md",{},true,{"title":77,"description":304},"pkg\u002Fotp-field","hjTCJv157blP5CQ6CkJJ9tvhU9vp9p6LIU_53s7HrrE",1791043755056]